!function(e){vart={};functionn(r){if(t[r])returnt[r].exports;vari=t[r]={i:r,l:!1,exports:{}};returne[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"!=typeofSymbol&&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)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;varr=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(variine)n.d(r,i,function(t){returne[t]}.bind(null,i));returnr},n.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returnn.d(t,"a",t),t},n.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=7)}([function(e,t,n){"use strict";functionr(e,t,n,r,i,o,a,s){varc,u="function"==typeofe?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof__VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;varl=u.render;u.render=function(e,t){returnc.call(t),l(e,t)}}else{varf=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}n.d(t,"a",function(){returnr})},function(module,__webpack_exports__,__webpack_require__){"use strict";varvue_select__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(6),vue_select__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(vue_select__WEBPACK_IMPORTED_MODULE_0__),_popoverMenu__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:{vSelect:vue_select__WEBPACK_IMPORTED_MODULE_0___default(),popoverMenu:_popoverMenu__WEBPACK_IMPORTED_MODULE_1__.a},directives:{ClickOutside:vue_click_outside__WEBPACK_IMPORTED_MODULE_2___default()},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(e){if(this.enableChangeWatcher){vart=[];_.each(e,function(e){t.push(e.value)}),OCP.AppConfig.setValue("updatenotification","notify_groups",JSON.stringify(t))}},isNewVersionAvailable:function(){this.isNewVersionAvailable&&$.ajax({url:OC.linkToOCS("apps/updatenotification/api/v1/applist",2)+this.newVersionString,type:"GET",beforeSend:function(e){e.setRequestHeader("Accept","application/json")},success:function(e){this.availableAppUpdates=e.ocs.data.available,this.missingAppUpdates=e.ocs.data.missing,this.isListFetched=!0,this.appStoreFailed=!1}.bind(this),error:function(e){this.availableAppUpdates=[],this.missingAppUpdates=[],this.appStoreDisabled=e.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})},status