(window.webpackJsonpSettings=window.webpackJsonpSettings||[]).push([[4],{315:function(t,e,a){vari=a(321);"string"==typeofi&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a(133).default)("abc3afd6",i,!0,{})},316:function(t,e,a){vari=a(325);"string"==typeofi&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a(133).default)("5cbce4f5",i,!0,{})},320:function(t,e,a){"use strict";vari=a(315);a.n(i).a},321:function(t,e,a){(t.exports=a(132)(!1)).push([t.i,"\n.force[data-v-4c2d595a] {\n\tbackground: var(--color-main-background);\n\tborder-color: var(--color-error);\n\tcolor: var(--color-error);\n}\n.force[data-v-4c2d595a]:hover,\n.force[data-v-4c2d595a]:active {\n\tbackground: var(--color-error);\n\tborder-color: var(--color-error) !important;\n\tcolor: var(--color-main-background);\n}\n",""])},324:function(t,e,a){"use strict";vari=a(316);a.n(i).a},325:function(t,e,a){(t.exports=a(132)(!1)).push([t.i,"\n.force[data-v-46598ca8] {\n\tbackground: var(--color-main-background);\n\tborder-color: var(--color-error);\n\tcolor: var(--color-error);\n}\n.force[data-v-46598ca8]:hover,\n.force[data-v-46598ca8]:active {\n\tbackground: var(--color-error);\n\tborder-color: var(--color-error) !important;\n\tcolor: var(--color-main-background);\n}\n",""])},326:function(e,a,i){"use strict";i.r(a);vars=i(122),n={name:"AppScore",props:["score"],computed:{scoreImage:function(){vart="rating/s"+Math.round(10*this.score)+".svg";returnOC.imagePath("core",t)}}},r=i(26),o=Object(r.a)(n,(function(){vart=this.$createElement;return(this._self._c||t)("img",{staticClass:"app-score-image",attrs:{src:this.scoreImage}})}),[],!1,null,null,null).exports,p={computed:{appGroups:function(){returnthis.app.groups.map((function(t){return{id:t,name:t}}))},loading:function(){vart=this;returnfunction(e){returnt.$store.getters.loading(e)}},installing:function(){returnthis.$store.getters.loading("install")},enableButtonText:function(){returnthis.app.needsDownload?t("settings","Download and enable"):t("settings","Enable")},forceEnableButtonText:function(){returnthis.app.needsDownload,t("settings","Enable untested app")},enableButtonTooltip:function(){return!!this.app.needsDownload&&t("settings","The app will be downloaded from the app store")},forceEnableButtonTooltip:function(){vare=t("settings","This app is not marked as compatible with your Nextcloud version. If you continue you will still be able to install the app. Note that the app might not work as expected.");returnthis.app.needsDownload?e+" "+t("settings","The app will be downloaded from the app store"):e}},mounted:function(){this.app.groups.length>0&&(this.groupCheckedAppsData=!0)},methods:{asyncFindGroup:function(t){returnthis.$store.dispatch("getGroups",{search:t,limit:5,offset:0})},isLimitedToGroups:function(t){return!(!this.app.groups.length&&!this.groupCheckedAppsData)},setGroupLimit:function(){this.groupCheckedAppsData||this.$store.dispatch("enableApp",{appId:this.app.id,groups:[]})},canLimitToGroups:function(t){return!(t.types&&t.types.includes("filesystem")||t.types.includes("prelogin")||t.types.includes("authentication")||t.types.includes("logging")||t.types.includes("prevent_group_restriction"))},addGroupLimitation:function(t){vare=this.app.groups.concat([]).concat([t.id]);this.$store.dispatch("enableApp",{appId:this.app.id,groups:e})},removeGroupLimitation:function(t){vare=this.app.groups.concat([]),a=e.indexOf(t.id);a>-1&&e.splice(a,1),this.$store.dispatch("enableApp",{appId:this.app.id,groups:e})},forceEnable:function(t){this.$store.dispatch("forceEnableApp",{appId:t,groups:[]}).then((function(t){OC.Settings.Apps.rebuildNavigation()})).catch((function(t){OC.Notification.show(t)}))},enable:function(t){this.$store.dispatch("enableApp",{appId:t,groups:[]}).then((function(t){OC.Settings.Apps.rebuildNavigation()})).catch((function(t){OC.Notification.show(t)}))},disable:function(t){this.$store.dispatch("disableApp",{appId:t}).then((function(t){OC.Settings.Apps.rebuildNavigation()})).catch((function(t){OC.Notification.show(t)}))},remove:function(t){this.$store.dispatch("uninstallApp"