2018-11-27 09:32:48 +00:00
! function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var i = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( i . exports , i , i . exports , n ) , i . l = ! 0 , i . exports } n . m = t , n . c = e , n . d = function ( t , e , r ) { n . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : r } ) } , n . r = function ( t ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( t , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , n . t = function ( t , e ) { if ( 1 & e && ( t = n ( t ) ) , 8 & e ) return t ; if ( 4 & e && "object" == typeof t && t && t . _ _esModule ) return t ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var i in t ) n . d ( r , i , function ( e ) { return t [ e ] } . bind ( null , i ) ) ; return r } , n . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return n . d ( e , "a" , e ) , e } , n . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , n . p = "/js/" , n ( n . s = 8 ) } ( [ function ( t , e ) { var n ; n = function ( ) { return this } ( ) ; try { n = n || new Function ( "return this" ) ( ) } catch ( t ) { "object" == typeof window && ( n = window ) } t . exports = n } , function ( t , e , n ) { "use strict" ; ( function ( t , n ) {
2018-06-07 14:23:39 +00:00
/ * !
2018-09-03 11:10:07 +00:00
* Vue . js v2 . 5.17
2018-06-07 14:23:39 +00:00
* ( c ) 2014 - 2018 Evan You
* Released under the MIT License .
* /
2018-11-29 18:53:19 +00:00
var r = Object . freeze ( { } ) ; function i ( t ) { return null == t } function o ( t ) { return null != t } function a ( t ) { return ! 0 === t } function s ( t ) { return "string" == typeof t || "number" == typeof t || "symbol" == typeof t || "boolean" == typeof t } function u ( t ) { return null !== t && "object" == typeof t } var c = Object . prototype . toString ; function l ( t ) { return "[object Object]" === c . call ( t ) } function f ( t ) { return "[object RegExp]" === c . call ( t ) } function p ( t ) { var e = parseFloat ( String ( t ) ) ; return e >= 0 && Math . floor ( e ) === e && isFinite ( t ) } function d ( t ) { return null == t ? "" : "object" == typeof t ? JSON . stringify ( t , null , 2 ) : String ( t ) } function h ( t ) { var e = parseFloat ( t ) ; return isNaN ( e ) ? t : e } function v ( t , e ) { for ( var n = Object . create ( null ) , r = t . split ( "," ) , i = 0 ; i < r . length ; i ++ ) n [ r [ i ] ] = ! 0 ; return e ? function ( t ) { return n [ t . toLowerCase ( ) ] } : function ( t ) { return n [ t ] } } v ( "slot,component" , ! 0 ) ; var m = v ( "key,ref,slot,slot-scope,is" ) ; function g ( t , e ) { if ( t . length ) { var n = t . indexOf ( e ) ; if ( n > - 1 ) return t . splice ( n , 1 ) } } var y = Object . prototype . hasOwnProperty ; function b ( t , e ) { return y . call ( t , e ) } function _ ( t ) { var e = Object . create ( null ) ; return function ( n ) { return e [ n ] || ( e [ n ] = t ( n ) ) } } var w = /-(\w)/g , x = _ ( function ( t ) { return t . replace ( w , function ( t , e ) { return e ? e . toUpperCase ( ) : "" } ) } ) , S = _ ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) , O = /\B([A-Z])/g , C = _ ( function ( t ) { return t . replace ( O , "-$1" ) . toLowerCase ( ) } ) ; var k = Function . prototype . bind ? function ( t , e ) { return t . bind ( e ) } : function ( t , e ) { function n ( n ) { var r = arguments . length ; return r ? r > 1 ? t . apply ( e , arguments ) : t . call ( e , n ) : t . call ( e ) } return n . _length = t . length , n } ; function E ( t , e ) { e = e || 0 ; for ( var n = t . length - e , r = new Array ( n ) ; n -- ; ) r [ n ] = t [ n + e ] ; return r } function T ( t , e ) { for ( var n in e ) t [ n ] = e [ n ] ; return t } function A ( t ) { for ( var e = { } , n = 0 ; n < t . length ; n ++ ) t [ n ] && T ( e , t [ n ] ) ; return e } function D ( t , e , n ) { } var M = function ( t , e , n ) { return ! 1 } , N = function ( t ) { return t } ; function $ ( t , e ) { if ( t === e ) return ! 0 ; var n = u ( t ) , r = u ( e ) ; if ( ! n || ! r ) return ! n && ! r && String ( t ) === String ( e ) ; try { var i = Array . isArray ( t ) , o = Array . isArray ( e ) ; if ( i && o ) return t . length === e . length && t . every ( function ( t , n ) { return $ ( t , e [ n ] ) } ) ; if ( i || o ) return ! 1 ; var a = Object . keys ( t ) , s = Object . keys ( e ) ; return a . length === s . length && a . every ( function ( n ) { return $ ( t [ n ] , e [ n ] ) } ) } catch ( t ) { return ! 1 } } function P ( t , e ) { for ( var n = 0 ; n < t . length ; n ++ ) if ( $ ( t [ n ] , e ) ) return n ; return - 1 } function L ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , t . apply ( this , arguments ) ) } } var j = "data-server-rendered" , I = [ "component" , "directive" , "filter" ] , F = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" ] , R = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : M , isReservedAttr : M , isUnknownElement : M , getTagNamespace : D , parsePlatformTagName : N , mustUseProp : M , _lifecycleHooks : F } ; function B ( t , e , n , r ) { Object . defineProperty ( t , e , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var U = /[^\w.$]/ ; var V , H = "__proto__" in { } , z = "undefined" != typeof window , W = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , Y = W && WXEnvironment . platform . toLowerCase ( ) , G = z && window . navigator . userAgent . toLowerCase ( ) , q = G && /msie|trident/ . test ( G ) , J = G && G . indexOf ( "msie 9.0" ) > 0 , K = G && G . indexOf ( "edge/" ) > 0 , X = ( G && G . indexOf ( "android" ) , G && /iphone|ipad|ipod|ios/ . test ( G ) || "ios" === Y ) , Z = ( G && /chrome\/\d+/ . test ( G ) , { } . watch ) , Q = ! 1 ; if ( z ) try { var tt = { } ; Object . defineProperty ( tt , "passive" , { get : function ( ) { Q = ! 0 } } ) , window . addEventListener ( "test-passive" , null , tt ) } catch ( t ) { } var et = function ( ) { return void 0 === V && ( V = ! z && ! W && void 0 !== t && "server" === t . process . env . VUE _ENV ) , V } , nt = z && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function rt ( t ) { return "function" == typeof t && /native code/ . test ( t . toString ( ) ) } var it , ot = "undefined" != typeof Symbol && rt ( Symbol ) && "undefined" != typeof Reflect && rt ( Reflect . ownKeys ) ; it = "undefined" != typeof Set && rt ( Set ) ? Set : function ( ) { function t ( ) { this . set = Object . create ( null ) } return t . prototype . has = function ( t ) { return ! 0 === this . set [ t ] } , t . prototype . add = function ( t ) { this . set [ t ] = ! 0 } , t . prototype . clear = function ( ) { this . set = Object . create ( null ) } , t } ( ) ; var at = D , st = 0 , ut = function ( ) { this . id = st ++ , t
2018-11-19 09:26:04 +00:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
* @ version 1.14 . 3
* @ license
* Copyright ( c ) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted , free of charge , to any person obtaining a copy
* of this software and associated documentation files ( the "Software" ) , to deal
* in the Software without restriction , including without limitation the rights
* to use , copy , modify , merge , publish , distribute , sublicense , and / or sell
* copies of the Software , and to permit persons to whom the Software is
* furnished to do so , subject to the following conditions :
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software .
*
* THE SOFTWARE IS PROVIDED "AS IS" , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR
* IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY ,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER
* LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM ,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE .
* /
2018-11-29 18:53:19 +00:00
var r = "undefined" != typeof window && "undefined" != typeof document , i = [ "Edge" , "Trident" , "Firefox" ] , o = 0 , a = 0 ; a < i . length ; a += 1 ) if ( r && navigator . userAgent . indexOf ( i [ a ] ) >= 0 ) { o = 1 ; break } var s = r && window . Promise ? function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , window . Promise . resolve ( ) . then ( function ( ) { e = ! 1 , t ( ) } ) ) } } : function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , setTimeout ( function ( ) { e = ! 1 , t ( ) } , o ) ) } } ; function u ( t ) { return t && "[object Function]" === { } . toString . call ( t ) } function c ( t , e ) { if ( 1 !== t . nodeType ) return [ ] ; var n = getComputedStyle ( t , null ) ; return e ? n [ e ] : n } function l ( t ) { return "HTML" === t . nodeName ? t : t . parentNode || t . host } function f ( t ) { if ( ! t ) return document . body ; switch ( t . nodeName ) { case "HTML" : case "BODY" : return t . ownerDocument . body ; case "#document" : return t . body } var e = c ( t ) , n = e . overflow , r = e . overflowX , i = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + i + r ) ? t : f ( l ( t ) ) } var p = r && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , d = r && /MSIE 10/ . test ( navigator . userAgent ) ; function h ( t ) { return 11 === t ? p : 10 === t ? d : p || d } function v ( t ) { if ( ! t ) return document . documentElement ; for ( var e = h ( 10 ) ? document . body : null , n = t . offsetParent ; n === e && t . nextElementSibling ; ) n = ( t = t . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === c ( n , "position" ) ? v ( n ) : n : t ? t . ownerDocument . documentElement : document . documentElement } function m ( t ) { return null !== t . parentNode ? m ( t . parentNode ) : t } function g ( t , e ) { if ( ! ( t && t . nodeType && e && e . nodeType ) ) return document . documentElement ; var n = t . compareDocumentPosition ( e ) & Node . DOCUMENT _POSITION _FOLLOWING , r = n ? t : e , i = n ? e : t , o = document . createRange ( ) ; o . setStart ( r , 0 ) , o . setEnd ( i , 0 ) ; var a , s , u = o . commonAncestorContainer ; if ( t !== u && e !== u || r . contains ( i ) ) return "BODY" === ( s = ( a = u ) . nodeName ) || "HTML" !== s && v ( a . firstElementChild ) !== a ? v ( u ) : u ; var c = m ( t ) ; return c . host ? g ( c . host , e ) : g ( t , m ( e ) . host ) } function y ( t ) { var e = "top" === ( arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" ) ? "scrollTop" : "scrollLeft" , n = t . nodeName ; if ( "BODY" === n || "HTML" === n ) { var r = t . ownerDocument . documentElement ; return ( t . ownerDocument . scrollingElement || r ) [ e ] } return t [ e ] } function b ( t , e ) { var n = "x" === e ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( t [ "border" + n + "Width" ] , 10 ) + parseFloat ( t [ "border" + r + "Width" ] , 10 ) } function _ ( t , e , n , r ) { return Math . max ( e [ "offset" + t ] , e [ "scroll" + t ] , n [ "client" + t ] , n [ "offset" + t ] , n [ "scroll" + t ] , h ( 10 ) ? n [ "offset" + t ] + r [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] + r [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] : 0 ) } function w ( ) { var t = document . body , e = document . documentElement , n = h ( 10 ) && getComputedStyle ( e ) ; return { height : _ ( "Height" , t , e , n ) , width : _ ( "Width" , t , e , n ) } } var x = function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } , S = function ( ) { function t ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var r = e [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( t , r . key , r ) } } return function ( e , n , r ) { return n && t ( e . prototype , n ) , r && t ( e , r ) , e } } ( ) , O = function ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } , C = Object . assign || function ( t ) { for ( var e = 1 ; e < arguments . length ; e ++ ) { var n = arguments [ e ] ; for ( var r in n ) Object . prototype . hasOwnProperty . call ( n , r ) && ( t [ r ] = n [ r ] ) } return t } ; function k ( t ) { return C ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function E ( t ) { var e = { } ; try { if ( h ( 10 ) ) { e = t . getBoundingClientRect ( ) ; var n = y ( t , "top" ) , r = y ( t , "left" ) ; e . top += n , e . left += r , e . bottom += n , e . right += r } else e = t . getBoundingClientRect ( ) } catch ( t ) { } var i = { left : e . left , top : e . top , width : e . right - e . left , height : e . bottom - e . top } , o = "HTML" === t . nodeName ? w ( ) : { } , a = o . width || t . clientWidth || i . right - i . left , s = o . height || t . clientHeight || i . bottom - i . top , u = t . offsetWidth - a , l = t . offsetHeight - s ; if ( u || l ) { var f = c ( t ) ; u -= b ( f , "x" ) , l -= b ( f , "y" ) , i . width -= u , i . height -= l } return k ( i ) } function T ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = h ( 10 ) , i = "HTML" === e . nodeName , o = E ( t ) , a = E ( e ) , s = f ( t ) , u = c ( e ) , l = parseFloat ( u . borderTopWidth , 10 ) , p = parseFloat ( u . borderLeftWidth , 10 ) ; n && "HTML" === e . nodeName && ( a . top = Math . max ( a . top , 0 ) , a . left = Math . max ( a . left , 0 ) ) ; var d = k ( { top : o . top - a . top
2018-11-19 09:26:04 +00:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
2018-11-29 18:53:19 +00:00
* /t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){"use strict";var r=n(16),i=n(307),o=n(309),a=n(310),s=n(311),u=n(125),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(312);t.exports=function(t){return new Promise(function(e,l){var f=t.data,p=t.headers;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",v=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||s(t.url)||(d=new window.XDomainRequest,h="onload",v=!0,d.onprogress=function(){},d.ontimeout=function(){}),t.auth){var m=t.auth.username||"",g=t.auth.password||"";p.Authorization="Basic "+c(m+":"+g)}if(d.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d[h]=function(){if(d&&(4===d.readyState||v)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?d.response:d.responseText,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:t,request:d};i(e,l,r),d=null}},d.onerror=function(){l(u("Network Error",t,null,d)),d=null},d.ontimeout=function(){l(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var y=n(313),b=(t.withCredentials||s(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;b&&(p[t.xsrfHeaderName]=b)}if("setRequestHeader"in d&&r.forEach(p,function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete p[e]:d.setRequestHeader(e,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),l(t),d=null)}),void 0===f&&(f=null),d.send(f)})}},function(t,e,n){"use strict";var r=n(308);t.exports=function(t,e,n,i,o){var a=new Error(t);return r(a,e,n,i,o)}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e){var n={utf8:{stringToBytes:function(t){return n.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(n.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}};t.exports=n},function(t,e,n){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/ ",e(e.s=60)}([function(t,e){var n=t.exports=" undefined "!=typeof window&&window.Math==Math?window:" undefined "!=typeof self&&self.Math==Math?self:Function(" return this ")();" number "==typeof __g&&(__g=n)},function(t,e,n){var r=n(49)(" wks "),i=n(30),o=n(0).Symbol,a=" function "==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)(" Symbol . "+t))}).store=r},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object ! " ) ; return t } } , function ( t , e , n ) { var r = n ( 0 ) , i = n ( 10 ) , o = n ( 8 ) , a = n ( 6 ) , s = n ( 11 ) , u = function ( t , e , n ) { var c , l , f , p , d = t & u . F , h = t & u . G , v = t & u . S , m = t & u . P , g = t & u . B , y = h ? r : v ? r [ e ] || ( r [ e ] = { } ) : ( r [ e ] ||
2018-11-19 09:26:04 +00:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2018-11-29 18:53:19 +00:00
* / m . o p t i o n s . _ _ f i l e = " s r c / c o m p o n e n t s / A p p N a v i g a t i o n / A p p N a v i g a t i o n I t e m . v u e " ; v a r g = c ( { n a m e : " A p p N a v i g a t i o n " , c o m p o n e n t s : { A p p N a v i g a t i o n I t e m : m . e x p o r t s } , d i r e c t i v e s : { C l i c k O u t s i d e : v . a } , p r o p s : { m e n u : { t y p e : O b j e c t , r e q u i r e d : ! 0 , d e f a u l t : f u n c t i o n ( ) { r e t u r n { n e w : { i d : " n e w - i t e m " , a c t i o n : f u n c t i o n ( ) { r e t u r n a l e r t ( " S u c c e s s ! " ) } , i c o n : " i c o n - a d d " , t e x t : " N e w i t e m " } , i t e m s : [ ] } } } } , d a t a : f u n c t i o n ( ) { r e t u r n { o p e n e d : ! 1 } } , m e t h o d s : { t o g g l e M e n u : f u n c t i o n ( ) { t h i s . o p e n e d = ! t h i s . o p e n e d } , c l o s e M e n u : f u n c t i o n ( ) { t h i s . o p e n e d = ! 1 } } } , i , [ ] , ! 1 , n u l l , n u l l , n u l l ) ; g . o p t i o n s . _ _ f i l e = " s r c / c o m p o n e n t s / A p p N a v i g a t i o n / A p p N a v i g a t i o n . v u e " ; v a r y = g . e x p o r t s , b = f u n c t i o n ( t ) { t . m o u n t e d ? A r r a y . i s A r r a y ( t . m o u n t e d ) | | ( t . m o u n t e d = [ t . m o u n t e d ] ) : t . m o u n t e d = [ ] , t . m o u n t e d . p u s h ( f u n c t i o n ( ) { t h i s . $ e l . s e t A t t r i b u t e ( " d a t a - v - " . c o n c a t ( " 4 8 f 0 c 2 8 " ) , " " ) } ) } , _ = n ( 4 9 ) , w = n . n ( _ ) ;
2018-11-19 09:26:04 +00:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2018-11-29 18:53:19 +00:00
* / n ( 3 0 0 ) ,
2018-11-19 09:26:04 +00:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2018-11-29 18:53:19 +00:00
b ( w . a ) , w . a . methods . displayPopup = function ( ) { var t = this . $el . querySelector ( ".mx-datepicker-popup" ) ; t && ! t . classList . contains ( "popovermenu" ) && ( t . className += " popovermenu menu-center open" ) } ; var x = w . a , S = function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "vue-multiselect" , t . _g ( t . _b ( { class : { "icon-loading-small" : t . loading , "multiselect--multiple" : t . multiple , "multiselect--single" : ! t . multiple } , attrs : { value : t . value , limit : t . maxOptions , "close-on-select" : ! t . multiple , multiple : t . multiple , label : t . label , "track-by" : t . trackBy , "tag-placeholder" : "create" } , on : { "update:value" : function ( e ) { t . $emit ( "update:value" , t . value ) } } , scopedSlots : t . _u ( [ { key : "option" , fn : function ( e ) { return [ t . userSelect ? n ( "avatar-select-option" , { attrs : { option : e . option } } ) : t . _t ( "option" , null , null , e ) ] } } , { key : "singleLabel" , fn : function ( e ) { return [ t . _t ( "singleLabel" , null , null , e ) ] } } ] ) } , "vue-multiselect" , t . $attrs , ! 1 ) , t . $listeners ) , [ t . multiple ? n ( "span" , { directives : [ { name : "tooltip" , rawName : "v-tooltip.auto" , value : t . formatLimitTitle ( t . value ) , expression : "formatLimitTitle(value)" , modifiers : { auto : ! 0 } } ] , staticClass : "multiselect__limit" , attrs : { slot : "limit" } , slot : "limit" } , [ t . _v ( "\n\t\t" + t . _s ( t . limitString ) + "\n\t" ) ] ) : t . _e ( ) ] ) } ; S . _withStripped = ! 0 ; var O = n ( 129 ) , C = n . n ( O ) , k = n ( 65 ) , E = function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "span" , { staticClass : "option" } , [ n ( "avatar" , { staticClass : "option__avatar" , attrs : { "display-name" : t . option . displayName , user : t . option . user , "disable-tooltip" : ! 0 } } ) , t . _v ( " " ) , n ( "div" , { staticClass : "option__desc" } , [ n ( "span" , { staticClass : "option__desc--lineone" } , [ t . _v ( t . _s ( t . option . displayName ) ) ] ) , t . _v ( " " ) , t . option . desc ? n ( "span" , { staticClass : "option__desc--linetwo" } , [ t . _v ( t . _s ( t . option . desc ) ) ] ) : t . _e ( ) ] ) , t . _v ( " " ) , t . option . icon ? n ( "span" , { staticClass : "icon option__icon" , class : t . option . icon } ) : t . _e ( ) ] , 1 ) } ; E . _withStripped = ! 0 ; var T = function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "div" , { directives : [ { name : "tooltip" , rawName : "v-tooltip" , value : t . tooltip , expression : "tooltip" } , { name : "click-outside" , rawName : "v-click-outside" , value : t . closeMenu , expression : "closeMenu" } ] , staticClass : "avatardiv popovermenu-wrapper" , class : { "icon-loading" : t . loadingState , unknown : t . userDoesNotExist } , style : t . avatarStyle , on : { click : t . toggleMenu } } , [ t . loadingState || t . userDoesNotExist ? t . _e ( ) : n ( "img" , { attrs : { src : t . avatarUrlLoaded , srcset : t . avatarSrcSetLoaded } } ) , t . _v ( " " ) , t . userDoesNotExist ? n ( "div" , { staticClass : "unknown" } , [ t . _v ( t . _s ( t . initials ) ) ] ) : t . _e ( ) , t . _v ( " " ) , n ( "div" , { directives : [ { name : "show" , rawName : "v-show" , value : t . contactsMenuOpenState , expression : "contactsMenuOpenState" } ] , staticClass : "popovermenu" } , [ n ( "popover-menu" , { attrs : { "is-open" : t . contactsMenuOpenState , menu : t . menu } } ) ] , 1 ) ] ) } ; T . _withStripped = ! 0 ; var A = n ( 130 ) , D = n . n ( A ) , M = n ( 131 ) , N = n . n ( M ) , $ = { name : "Avatar" , directives : { tooltip : k . a , ClickOutside : v . a } , components : { PopoverMenu : p } , props : { url : { type : String , default : void 0 } , user : { type : String , default : void 0 } , displayName : { type : String , default : void 0 } , size : { type : Number , default : 32 } , allowPlaceholder : { type : Boolean , default : ! 0 } , disableTooltip : { type : Boolean , default : ! 1 } , isNoUser : { type : Boolean , default : ! 1 } } , data : function ( ) { return { avatarUrlLoaded : null , avatarSrcSetLoaded : null , userDoesNotExist : ! 1 , loadingState : ! 0 , contactsMenuActions : [ ] , contactsMenuOpenState : ! 1 } } , computed : { getUserIdentifier : function ( ) { return this . isDisplayNameDefined ? this . displayName : this . isUserDefined ? this . user : "" } , isUserDefined : function ( ) { return void 0 !== this . user } , isDisplayNameDefined : function ( ) { return void 0 !== this . displayName } , isUrlDefined : function ( ) { return void 0 !== this . url } , shouldShowPlaceholder : function ( ) { return this . allowPlaceholder && this . userDoesNotExist } , avatarStyle : function ( ) { var t = { width : this . size + "px" , height : this . size + "px" , lineHeight : this . size + "px" , fontSize : Math . round ( . 55 * this . size ) + "px" } ; if ( ! this . shouldShowPlaceholder ) return t ; var e = function ( t ) { var e = t . toLowerCase ( ) ; function n ( t , e , n ) { this . r = t , this . g = e , this . b = n } function r ( t , e , r ) { var i = [ ] ; i . push ( e ) ; for ( var o = function ( t , e ) { var n = new Array ( 3 ) ; return n [ 0 ] = ( e [ 1 ] . r - e [ 0 ] . r ) / t , n [ 1 ] = ( e [ 1 ] . g - e [ 0 ] . g ) / t , n [ 2 ] = ( e [ 1 ] . b - e [ 0 ] . b ) / t , n } ( t , [ e , r ] ) , a = 1 ; a < t ; a ++ ) { var s = parseInt ( e . r + o [ 0 ] * a ) , u = parseInt ( e .
2018-11-19 09:26:04 +00:00
/ * *
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2018-11-29 18:53:19 +00:00
* / I . o p t i o n s . _ _ f i l e = " s r c / c o m p o n e n t s / M u l t i s e l e c t / A v a t a r S e l e c t O p t i o n . v u e " ; v a r F = I . e x p o r t s ; f u n c t i o n R ( t ) { r e t u r n ( R = " f u n c t i o n " = = t y p e o f S y m b o l & & " s y m b o l " = = t y p e o f S y m b o l . i t e r a t o r ? f u n c t i o n ( t ) { r e t u r n t y p e o f t } : f u n c t i o n ( t ) { r e t u r n t & & " f u n c t i o n " = = t y p e o f S y m b o l & & t . c o n s t r u c t o r = = = S y m b o l & & t ! = = S y m b o l . p r o t o t y p e ? " s y m b o l " : t y p e o f t } ) ( t ) } v a r B = c ( { n a m e : " M u l t i s e l e c t " , c o m p o n e n t s : { V u e M u l t i s e l e c t : C . a , A v a t a r S e l e c t O p t i o n : F } , d i r e c t i v e s : { t o o l t i p : k . a } , i n h e r i t A t t r s : ! 1 , p r o p s : { v a l u e : { d e f a u l t : f u n c t i o n ( ) { r e t u r n [ ] } } , m u l t i p l e : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , l i m i t : { t y p e : N u m b e r , d e f a u l t : 9 9 9 9 9 } , l a b e l : { t y p e : S t r i n g } , t r a c k B y : { t y p e : S t r i n g } , u s e r S e l e c t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , l o a d i n g : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , a u t o L i m i t : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , t a g W i d t h : { t y p e : N u m b e r , d e f a u l t : 1 5 0 , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n t > 0 } } } , d a t a : f u n c t i o n ( ) { r e t u r n { e l W i d t h : 0 } } , c o m p u t e d : { m a x O p t i o n s : f u n c t i o n ( ) { i f ( t h i s . a u t o L i m i t & & t h i s . e l W i d t h > 0 & & 0 ! = = t h i s . t a g W i d t h ) { v a r t = M a t h . f l o o r ( t h i s . e l W i d t h / t h i s . t a g W i d t h ) ; r e t u r n t > 0 ? t : 1 } r e t u r n t h i s . l i m i t ? t h i s . l i m i t : 9 9 9 9 } , l i m i t S t r i n g : f u n c t i o n ( ) { r e t u r n " + " . c o n c a t ( t h i s . v a l u e . l e n g t h - t h i s . m a x O p t i o n s ) } } , w a t c h : { v a l u e : f u n c t i o n ( ) { t h i s . u p d a t e W i d t h ( ) } } , m o u n t e d : f u n c t i o n ( ) { t h i s . u p d a t e W i d t h ( ) , w i n d o w . a d d E v e n t L i s t e n e r ( " r e s i z e " , t h i s . u p d a t e W i d t h ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " r e s i z e " , t h i s . u p d a t e W i d t h ) } , m e t h o d s : { f o r m a t L i m i t T i t l e : f u n c t i o n ( t ) { v a r e = t h i s ; i f ( A r r a y . i s A r r a y ( t ) & & t . l e n g t h > 0 ) { v a r n = t ; r e t u r n " o b j e c t " = = = R ( t [ 0 ] ) & & ( n = t . m a p ( f u n c t i o n ( t ) { r e t u r n t [ e . l a b e l ] } ) ) , n . s l i c e ( t h i s . m a x O p t i o n s ) . j o i n ( " , " ) } r e t u r n " " } , u p d a t e W i d t h : f u n c t i o n ( ) { t h i s . e l W i d t h = t h i s . $ e l . q u e r y S e l e c t o r ( " . m u l t i s e l e c t _ _ t a g s - w r a p " ) . o f f s e t W i d t h - 1 0 } } } , S , [ ] , ! 1 , n u l l , n u l l , n u l l ) ; B . o p t i o n s . _ _ f i l e = " s r c / c o m p o n e n t s / M u l t i s e l e c t / M u l t i s e l e c t . v u e " ; v a r U = B . e x p o r t s ; n ( 3 2 6 ) ,
2018-11-19 09:26:04 +00:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2018-11-29 18:53:19 +00:00
b ( U ) ; var V = U , H = function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "action" , t . _g ( t . _b ( { staticClass : "action-item" , class : [ t . isSingleAction ? t . firstAction . icon + " action-item--single" : "action-item--multiple" ] , attrs : { href : t . isSingleAction && t . firstAction . href ? t . firstAction . href : "#" } } , "action" , t . mainActionElement ( ) , ! 1 ) , t . isSingleAction && t . firstAction . action ? { click : t . firstAction . action } : { } ) , [ t . isSingleAction ? t . _e ( ) : [ n ( "div" , { directives : [ { name : "click-outside" , rawName : "v-click-outside" , value : t . closeMenu , expression : "closeMenu" } ] , staticClass : "action-item__menutoggle icon-more" , attrs : { tabindex : "1" } , on : { click : function ( e ) { return e . preventDefault ( ) , t . toggleMenu ( e ) } } } ) , t . _v ( " " ) , n ( "div" , { staticClass : "action-item__menu popovermenu" , class : { open : t . opened } } , [ n ( "popover-menu" , { attrs : { menu : t . actions } } ) ] , 1 ) ] ] , 2 ) } ; H . _withStripped = ! 0 ; var z = { name : "Action" , components : { PopoverMenu : p } , directives : { ClickOutside : v . a } , props : { actions : { type : Array , required : ! 0 , default : function ( ) { return [ { href : "https://nextcloud.com" , icon : "icon-links" , text : "Nextcloud" } , { action : function ( ) { alert ( "Deleted !" ) } , icon : "icon-delete" , text : "Delete" } ] } } } , data : function ( ) { return { opened : ! 1 } } , computed : { isSingleAction : function ( ) { return 1 === this . actions . length } , firstAction : function ( ) { return this . actions [ 0 ] } } , mounted : function ( ) { this . popupItem = this . $el } , methods : { toggleMenu : function ( ) { this . opened = ! this . opened } , closeMenu : function ( ) { this . opened = ! 1 } , mainActionElement : function ( ) { return { is : this . isSingleAction ? "a" : "div" } } } } , W = ( n ( 328 ) , c ( z , H , [ ] , ! 1 , null , "886e6e62" , null ) ) ; W . options . _ _file = "src/components/Action/Action.vue" ; var Y = W . exports ;
2018-11-19 09:26:04 +00:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2018-11-29 18:53:19 +00:00
* / f u n c t i o n G ( t , e , n ) { r e t u r n e i n t ? O b j e c t . d e f i n e P r o p e r t y ( t , e , { v a l u e : n , e n u m e r a b l e : ! 0 , c o n f i g u r a b l e : ! 0 , w r i t a b l e : ! 0 } ) : t [ e ] = n , t }
2018-11-19 09:26:04 +00:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2018-11-29 18:53:19 +00:00
* / f u n c t i o n q ( t ) { O b j e c t . v a l u e s ( r ) . f o r E a c h ( f u n c t i o n ( e ) { t . c o m p o n e n t ( e . n a m e , e ) } ) }
2018-11-19 09:26:04 +00:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2018-11-29 18:53:19 +00:00
* / n . d ( e , " A p p N a v i g a t i o n " , f u n c t i o n ( ) { r e t u r n y } ) , n . d ( e , " P o p o v e r M e n u " , f u n c t i o n ( ) { r e t u r n d } ) , n . d ( e , " D a t e t i m e P i c k e r " , f u n c t i o n ( ) { r e t u r n x } ) , n . d ( e , " M u l t i s e l e c t " , f u n c t i o n ( ) { r e t u r n V } ) , n . d ( e , " A v a t a r " , f u n c t i o n ( ) { r e t u r n L } ) , n . d ( e , " A c t i o n " , f u n c t i o n ( ) { r e t u r n Y } ) , " u n d e f i n e d " ! = t y p e o f w i n d o w & & w i n d o w . V u e & & q ( w i n d o w . V u e ) , e . d e f a u l t = f u n c t i o n ( t ) { f o r ( v a r e = 1 ; e < a r g u m e n t s . l e n g t h ; e + + ) { v a r n = n u l l ! = a r g u m e n t s [ e ] ? a r g u m e n t s [ e ] : { } , r = O b j e c t . k e y s ( n ) ; " f u n c t i o n " = = t y p e o f O b j e c t . g e t O w n P r o p e r t y S y m b o l s & & ( r = r . c o n c a t ( O b j e c t . g e t O w n P r o p e r t y S y m b o l s ( n ) . f i l t e r ( f u n c t i o n ( t ) { r e t u r n O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( n , t ) . e n u m e r a b l e } ) ) ) , r . f o r E a c h ( f u n c t i o n ( e ) { G ( t , e , n [ e ] ) } ) } r e t u r n t } ( { i n s t a l l : q } , r ) } ] ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; ( f u n c t i o n ( t ) { n . d ( e , " a " , f u n c t i o n ( ) { r e t u r n H t } ) ; f o r (
2018-11-19 09:26:04 +00:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
* @ version 1.14 . 3
* @ license
* Copyright ( c ) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted , free of charge , to any person obtaining a copy
* of this software and associated documentation files ( the "Software" ) , to deal
* in the Software without restriction , including without limitation the rights
* to use , copy , modify , merge , publish , distribute , sublicense , and / or sell
* copies of the Software , and to permit persons to whom the Software is
* furnished to do so , subject to the following conditions :
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software .
*
* THE SOFTWARE IS PROVIDED "AS IS" , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR
* IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY ,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER
* LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM ,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE .
* /
2018-12-04 13:21:18 +00:00
var r = "undefined" != typeof window && "undefined" != typeof document , i = [ "Edge" , "Trident" , "Firefox" ] , o = 0 , a = 0 ; a < i . length ; a += 1 ) if ( r && navigator . userAgent . indexOf ( i [ a ] ) >= 0 ) { o = 1 ; break } var s = r && window . Promise ? function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , window . Promise . resolve ( ) . then ( function ( ) { e = ! 1 , t ( ) } ) ) } } : function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , setTimeout ( function ( ) { e = ! 1 , t ( ) } , o ) ) } } ; function u ( t ) { return t && "[object Function]" === { } . toString . call ( t ) } function c ( t , e ) { if ( 1 !== t . nodeType ) return [ ] ; var n = getComputedStyle ( t , null ) ; return e ? n [ e ] : n } function l ( t ) { return "HTML" === t . nodeName ? t : t . parentNode || t . host } function f ( t ) { if ( ! t ) return document . body ; switch ( t . nodeName ) { case "HTML" : case "BODY" : return t . ownerDocument . body ; case "#document" : return t . body } var e = c ( t ) , n = e . overflow , r = e . overflowX , i = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + i + r ) ? t : f ( l ( t ) ) } var p = r && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , d = r && /MSIE 10/ . test ( navigator . userAgent ) ; function h ( t ) { return 11 === t ? p : 10 === t ? d : p || d } function v ( t ) { if ( ! t ) return document . documentElement ; for ( var e = h ( 10 ) ? document . body : null , n = t . offsetParent ; n === e && t . nextElementSibling ; ) n = ( t = t . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === c ( n , "position" ) ? v ( n ) : n : t ? t . ownerDocument . documentElement : document . documentElement } function m ( t ) { return null !== t . parentNode ? m ( t . parentNode ) : t } function g ( t , e ) { if ( ! ( t && t . nodeType && e && e . nodeType ) ) return document . documentElement ; var n = t . compareDocumentPosition ( e ) & Node . DOCUMENT _POSITION _FOLLOWING , r = n ? t : e , i = n ? e : t , o = document . createRange ( ) ; o . setStart ( r , 0 ) , o . setEnd ( i , 0 ) ; var a , s , u = o . commonAncestorContainer ; if ( t !== u && e !== u || r . contains ( i ) ) return "BODY" === ( s = ( a = u ) . nodeName ) || "HTML" !== s && v ( a . firstElementChild ) !== a ? v ( u ) : u ; var c = m ( t ) ; return c . host ? g ( c . host , e ) : g ( t , m ( e ) . host ) } function y ( t ) { var e = "top" === ( arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" ) ? "scrollTop" : "scrollLeft" , n = t . nodeName ; if ( "BODY" === n || "HTML" === n ) { var r = t . ownerDocument . documentElement ; return ( t . ownerDocument . scrollingElement || r ) [ e ] } return t [ e ] } function b ( t , e ) { var n = "x" === e ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( t [ "border" + n + "Width" ] , 10 ) + parseFloat ( t [ "border" + r + "Width" ] , 10 ) } function _ ( t , e , n , r ) { return Math . max ( e [ "offset" + t ] , e [ "scroll" + t ] , n [ "client" + t ] , n [ "offset" + t ] , n [ "scroll" + t ] , h ( 10 ) ? n [ "offset" + t ] + r [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] + r [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] : 0 ) } function w ( ) { var t = document . body , e = document . documentElement , n = h ( 10 ) && getComputedStyle ( e ) ; return { height : _ ( "Height" , t , e , n ) , width : _ ( "Width" , t , e , n ) } } var x = function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } , S = function ( ) { function t ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var r = e [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( t , r . key , r ) } } return function ( e , n , r ) { return n && t ( e . prototype , n ) , r && t ( e , r ) , e } } ( ) , O = function ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } , C = Object . assign || function ( t ) { for ( var e = 1 ; e < arguments . length ; e ++ ) { var n = arguments [ e ] ; for ( var r in n ) Object . prototype . hasOwnProperty . call ( n , r ) && ( t [ r ] = n [ r ] ) } return t } ; function k ( t ) { return C ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function E ( t ) { var e = { } ; try { if ( h ( 10 ) ) { e = t . getBoundingClientRect ( ) ; var n = y ( t , "top" ) , r = y ( t , "left" ) ; e . top += n , e . left += r , e . bottom += n , e . right += r } else e = t . getBoundingClientRect ( ) } catch ( t ) { } var i = { left : e . left , top : e . top , width : e . right - e . left , height : e . bottom - e . top } , o = "HTML" === t . nodeName ? w ( ) : { } , a = o . width || t . clientWidth || i . right - i . left , s = o . height || t . clientHeight || i . bottom - i . top , u = t . offsetWidth - a , l = t . offsetHeight - s ; if ( u || l ) { var f = c ( t ) ; u -= b ( f , "x" ) , l -= b ( f , "y" ) , i . width -= u , i . height -= l } return k ( i ) } function T ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = h ( 10 ) , i = "HTML" === e . nodeName , o = E ( t ) , a = E ( e ) , s = f ( t ) , u = c ( e ) , l = parseFloat ( u . borderTopWidth , 10 ) , p = parseFloat ( u . borderLeftWidth , 10 ) ; n && "HTML" === e . nodeName && ( a . top = Math . max ( a . top , 0 ) , a . left = Math . max ( a . left , 0 ) ) ; var d = k ( { top : o . top - a . top
2018-06-07 14:23:39 +00:00
/ * *
* @ copyright Copyright ( c ) 2018 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/>.
*
2018-11-27 09:32:48 +00:00
* / o . a . m i x i n ( { m e t h o d s : { t : f u n c t i o n ( t , e , n , r , i ) { r e t u r n O C . L 1 0 N . t r a n s l a t e ( t , e , n , r , i ) } , n : f u n c t i o n ( t , e , n , r , i , o ) { r e t u r n O C . L 1 0 N . t r a n s l a t e P l u r a l ( t , e , n , r , i , o ) } } } ) ; n e w o . a ( { r e n d e r : t = > t ( p ) } ) . $ m o u n t ( " # u p d a t e n o t i f i c a t i o n " ) } ] ) ;
2018-06-19 04:26:57 +00:00
//# sourceMappingURL=updatenotification.js.map