!function(t){vare={};functionn(r){if(e[r])returne[r].exports;vari=e[r]={i:r,l:!1,exports:{}};returnt[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"!=typeofSymbol&&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)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;varr=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(variint)n.d(r,i,function(e){returnt[e]}.bind(null,i));returnr},n.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnn.d(e,"a",e),e},n.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},n.p="/js/",n(n.s=9)}([function(t,e){varn;n=function(){returnthis}();try{n=n||newFunction("return this")()}catch(t){"object"==typeofwindow&&(n=window)}t.exports=n},function(module,__webpack_exports__,__webpack_require__){"use strict";varnextcloud_vue__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3),nextcloud_vue__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(nextcloud_vue__WEBPACK_IMPORTED_MODULE_0__),v_tooltip__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(4),vue_click_outside__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(5),vue_click_outside__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(vue_click_outside__WEBPACK_IMPORTED_MODULE_2__);__webpack_exports__.a={name:"root",components:{Multiselect:nextcloud_vue__WEBPACK_IMPORTED_MODULE_0__.Multiselect,PopoverMenu:nextcloud_vue__WEBPACK_IMPORTED_MODULE_0__.PopoverMenu},directives:{ClickOutside:vue_click_outside__WEBPACK_IMPORTED_MODULE_2___default(),tooltip:v_tooltip__WEBPACK_IMPORTED_MODULE_1__.a},data:function(){return{newVersionString:"",lastCheckedDate:"",isUpdateChecked:!1,updaterEnabled:!0,versionIsEol:!1,downloadLink:"",isNewVersionAvailable:!1,updateServerURL:"",changelogURL:"",whatsNewData:[],currentChannel:"",channels:[],notifyGroups:"",availableGroups:[],isDefaultUpdateServerURL:!0,enableChangeWatcher:!1,availableAppUpdates:[],missingAppUpdates:[],appStoreFailed:!1,appStoreDisabled:!1,isListFetched:!1,hideMissingUpdates:!1,hideAvailableUpdates:!0,openedWhatsNew:!1}},_$el:null,_$releaseChannel:null,_$notifyGroups:null,watch:{notifyGroups:function(t){if(this.enableChangeWatcher){vare=[];_.each(t,function(t){e.push(t.value)}),OCP.AppConfig.setValue("updatenotification","notify_groups",JSON.stringify(e))}},isNewVersionAvailable:function(){this.isNewVersionAvailable&&$.ajax({url:OC.linkToOCS("apps/updatenotification/api/v1/applist",2)+this.newVersion,type:"GET",beforeSend:function(t){t.setRequestHeader("Accept","application/json")},success:function(t){this.availableAppUpdates=t.ocs.data.available,this.missingAppUpdates=t.ocs.data.missing,this.isListFetched=!0,this.appStoreFailed=!1}.bind(this),error:function(t){this.availableAppUpdates=[],this.missingAppUpdates=[],this.appStoreDisabled=t.responseJSON.ocs.data.appstore_disabled,this.isListFetched=!0,this.appStoreFailed=!0}.bind(this)})}},computed:{newVersionAvailableString:function(){returnt("updatenotification","A new version is available: <strong>{newVersionString}</strong>",{newVersionString:this.newVersionString})},lastCheckedOnString:function(){returnt("updatenotification","Checked on {lastCheckedDate}",{lastCheckedDate:this.lastCheckedDate})},statusText:function(){returnthis.isListFetched?this.appStoreDisabled?t("updatenotification","Please make sure your config.php does not set <samp>appstoreenabled</samp> to false."):this.appStoreFailed?t("updatenotification","Could not connect to the appstore or the appstore returned no updates at all. Search manually for updates or make sure your server has access to the internet and can connect to the appstore."):0===this.missingAppUpdates.length?t("updatenotification","<strong>All</strong> apps have an update for this version available",this):n("updatenotifi
varr="undefined"!=typeofwindow&&"undefined"!=typeofdocument,i=["Edge","Trident","Firefox"],o=0,a=0;a<i.length;a+=1)if(r&&navigator.userAgent.indexOf(i[a])>=0){o=1;break}vars=r&&window.Promise?function(t){vare=!1;returnfunction(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){vare=!1;returnfunction(){e||(e=!0,setTimeout(function(){e=!1,t()},o))}};functionu(t){returnt&&"[object Function]"==={}.toString.call(t)}functionc(t,e){if(1!==t.nodeType)return[];varn=getComputedStyle(t,null);returne?n[e]:n}functionl(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}functionf(t){if(!t)returndocument.body;switch(t.nodeName){case"HTML":case"BODY":returnt.ownerDocument.body;case"#document":returnt.body}vare=c(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:f(l(t))}varp=r&&!(!window.MSInputMethodContext||!document.documentMode),d=r&&/MSIE 10/.test(navigator.userAgent);functionh(t){return11===t?p:10===t?d:p||d}functionv(t){if(!t)returndocument.documentElement;for(vare=h(10)?document.body:null,n=t.offsetParent;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;varr=n&&n.nodeName;returnr&&"BODY"!==r&&"HTML"!==r?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===c(n,"position")?v(n):n:t?t.ownerDocument.documentElement:document.documentElement}functionm(t){returnnull!==t.parentNode?m(t.parentNode):t}functiong(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))returndocument.documentElement;varn=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);vara=o.commonAncestorContainer;if(t!==a&&e!==a||r.contains(i))returnfunction(t){vare=t.nodeName;return"BODY"!==e&&("HTML"===e||v(t.firstElementChild)===t)}(a)?a:v(a);vars=m(t);returns.host?g(s.host,e):g(t,m(e).host)}functiony(t){vare="top"===(arguments.length>1&&void0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){varr=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[e]}returnt[e]}function_(t,e){varn="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";returnparseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}functionb(t,e,n,r){returnMath.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)}functionw(){vart=document.body,e=document.documentElement,n=h(10)&&getComputedStyle(e);return{height:b("Height",t,e,n),width:b("Width",t,e,n)}}varx=function(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")},O=function(){functiont(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}returnfunction(e,n,r){returnn&&t(e.prototype,n),r&&t(e,r),e}}(),S=function(t,e,n){returneint?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},C=Object.assign||function(t){for(vare=1;e<arguments.length;e++){varn=arguments[e];for(varrinn)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}returnt};functionk(t){returnC({},t,{right:t.left+t.width,bottom:t.top+t.height})}functionE(t){vare={};try{if(h(10)){e=t.getBoundingClientRect();varn=y(t,"top"),r=y(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}elsee=t.getBoundingClientRect()}catch(t){}vari={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){varf=c(t);u-=_(f,"x"),l-=_(f,"y"),i.width-=u,i.height-=l}returnk(i)}functionT(t,e){varn=arguments.length>2&&void0!==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
varr="undefined"!=typeofwindow&&"undefined"!=typeofdocument,i=["Edge","Trident","Firefox"],o=0,a=0;a<i.length;a+=1)if(r&&navigator.userAgent.indexOf(i[a])>=0){o=1;break}vars=r&&window.Promise?function(t){vare=!1;returnfunction(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){vare=!1;returnfunction(){e||(e=!0,setTimeout(function(){e=!1,t()},o))}};functionu(t){returnt&&"[object Function]"==={}.toString.call(t)}functionc(t,e){if(1!==t.nodeType)return[];varn=getComputedStyle(t,null);returne?n[e]:n}functionl(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}functionf(t){if(!t)returndocument.body;switch(t.nodeName){case"HTML":case"BODY":returnt.ownerDocument.body;case"#document":returnt.body}vare=c(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:f(l(t))}varp=r&&!(!window.MSInputMethodContext||!document.documentMode),d=r&&/MSIE 10/.test(navigator.userAgent);functionh(t){return11===t?p:10===t?d:p||d}functionv(t){if(!t)returndocument.documentElement;for(vare=h(10)?document.body:null,n=t.offsetParent;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;varr=n&&n.nodeName;returnr&&"BODY"!==r&&"HTML"!==r?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===c(n,"position")?v(n):n:t?t.ownerDocument.documentElement:document.documentElement}functionm(t){returnnull!==t.parentNode?m(t.parentNode):t}functiong(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))returndocument.documentElement;varn=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);vara,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;varc=m(t);returnc.host?g(c.host,e):g(t,m(e).host)}functiony(t){vare="top"===(arguments.length>1&&void0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){varr=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[e]}returnt[e]}function_(t,e){varn="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";returnparseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}functionb(t,e,n,r){returnMath.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)}functionw(){vart=document.body,e=document.documentElement,n=h(10)&&getComputedStyle(e);return{height:b("Height",t,e,n),width:b("Width",t,e,n)}}varx=function(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")},O=function(){functiont(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}returnfunction(e,n,r){returnn&&t(e.prototype,n),r&&t(e,r),e}}(),S=function(t,e,n){returneint?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},C=Object.assign||function(t){for(vare=1;e<arguments.length;e++){varn=arguments[e];for(varrinn)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}returnt};functionk(t){returnC({},t,{right:t.left+t.width,bottom:t.top+t.height})}functionE(t){vare={};try{if(h(10)){e=t.getBoundingClientRect();varn=y(t,"top"),r=y(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}elsee=t.getBoundingClientRect()}catch(t){}vari={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){varf=c(t);u-=_(f,"x"),l-=_(f,"y"),i.width-=u,i.height-=l}returnk(i)}functionT(t,e){varn=arguments.length>2&&void0!==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));vard=k({top:o.top-a.top