text: webpackJsonp([5],{KsPL:function(t,s,i){(t.exports=i("FZ+f")(!1)).push([t.i,".settings-card .icon{margin-right:.75rem}.settings-card .card-body{padding:0}",""])},eEye:function(t,s,i){var n=i("KsPL");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);i("rjj0")("6a63280e",n,!0,{})},j4WV:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var n={render:function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"row"},[i("div",{staticClass:"col-md-3"},[i("card",{staticClass:"settings-card",attrs:{title:t.$t("settings")}},[i("ul",{staticClass:"nav flex-column nav-pills"},t._l(t.tabs,function(s){return s.adminOnly?t._e():i("li",{key:s.route,staticClass:"nav-item"},[i("router-link",{staticClass:"nav-link",attrs:{to:{name:s.route},"active-class":"active"}},[i("fa",{staticClass:"icon",attrs:{icon:s.icon,"fixed-width":""}}),t._v("\n                        "+t._s(s.name)+"\n                    ")],1)],1)}))]),t._v(" "),t.isAdmin?i("card",{staticClass:"settings-card mt-5",attrs:{title:t.$t("admin_settings")}},[i("ul",{staticClass:"nav flex-column nav-pills"},t._l(t.tabs,function(s){return s.adminOnly?i("li",{key:s.route,staticClass:"nav-item"},[i("router-link",{staticClass:"nav-link",attrs:{to:{name:s.route},"active-class":"active"}},[i("fa",{staticClass:"icon",attrs:{icon:s.icon,"fixed-width":""}}),t._v("\n                        "+t._s(s.name)+"\n                    ")],1)],1):t._e()}))]):t._e()],1),t._v(" "),i("div",{staticClass:"col-md-9"},[i("transition",{attrs:{name:"fade",mode:"out-in"}},[i("router-view")],1)],1)])},staticRenderFns:[]};var e=i("VU/8")({middleware:"auth",computed:{isAdmin:function(){return this.$store.getters["auth/isAdmin"]},tabs:function(){return[{icon:"user",name:this.$t("profile"),route:"settings.profile"},{icon:"lock",name:this.$t("password"),route:"settings.password"},{icon:"envelope",name:this.$t("email"),route:"settings.email",adminOnly:!0},{icon:"users",name:this.$t("users"),route:"settings.users",adminOnly:!0},{icon:"archive",name:this.$t("plex"),route:"settings.plex",adminOnly:!0},{icon:"film",name:this.$t("radarr"),route:"settings.radarr",adminOnly:!0},{icon:"tv",name:this.$t("sonarr"),route:"settings.sonarr",adminOnly:!0}]}}},n,!1,function(t){i("eEye")},null,null);s.default=e.exports}});
  //# sourceMappingURL=5.97b2544a8946946cee0e.js.map