(window.webpackJsonpSettings=window.webpackJsonpSettings||[]).push([[7],{655:function(t,e,a){varn=a(680);"string"==typeofn&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,a(173).default)("40ef6940",n,!0,{})},656:function(t,e,a){varn=a(686);"string"==typeofn&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,a(173).default)("057c3eaa",n,!0,{})},679:function(t,e,a){"use strict";varn=a(655);a.n(n).a},680:function(t,e,a){(e=a(172)(!1)).push([t.i,"\n.force[data-v-67095980] {\n\tbackground: var(--color-main-background);\n\tborder-color: var(--color-error);\n\tcolor: var(--color-error);\n}\n.force[data-v-67095980]:hover,\n.force[data-v-67095980]:active {\n\tbackground: var(--color-error);\n\tborder-color: var(--color-error) !important;\n\tcolor: var(--color-main-background);\n}\n",""]),t.exports=e},685:function(t,e,a){"use strict";varn=a(656);a.n(n).a},686:function(t,e,a){(e=a(172)(!1)).push([t.i,"\n.force[data-v-5c5177a5] {\n\tbackground: var(--color-main-background);\n\tborder-color: var(--color-error);\n\tcolor: var(--color-error);\n}\n.force[data-v-5c5177a5]:hover,\n.force[data-v-5c5177a5]:active {\n\tbackground: var(--color-error);\n\tborder-color: var(--color-error) !important;\n\tcolor: var(--color-main-background);\n}\n",""]),t.exports=e},687:function(e,a,n){"use strict";n.r(a);vari=n(657),s=n.n(i),r=n(658),o=n.n(r),p=n(659),c=n.n(p),l=n(660),u=n.n(l),d=n(677),g=n.n(d),h=n(678),v=n.n(h),f=n(661),m=n.n(f),_=n(16),b=n(662),y=n.n(b),A=n(11),C={name:"AppScore",props:["score"],computed:{scoreImage:function(){vart="rating/s"+Math.round(10*this.score)+".svg";returnObject(A.imagePath)("core",t)}}},w=n(41),k=Object(w.a)(C,(function(){vart=this.$createElement;return(this._self._c||t)("img",{staticClass:"app-score-image",attrs:{src:this.scoreImage}})}),[],!1,null,null,null).exports,x={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",{app