(window.webpackJsonp=window.webpackJsonp||[]).push([[92],{AeaU:function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return 0<e.selectableModules.length?n("div",{staticClass:"px-4",attrs:{id:"module-container"}},[n("v-select",{attrs:{"background-color":""+e.menuColor,items:e.selectableModules,value:e.selectedModule,label:e.$t("navigation.module.select"),"item-text":"label","return-object":"",solo:"",flat:"","hide-details":""},on:{change:function(t){return e.onChangeModule(t)}}})],1):e._e()};o._withStripped=!0;n("pNMO"),n("4Brf"),n("0oug"),n("TeQF"),n("4mDm"),n("2B1R"),n("DQNa"),n("sMBO"),n("uL8W"),n("eoL8"),n("5DmW"),n("NBAS"),n("ExoC"),n("07d7"),n("SuFq"),n("JfAA"),n("PKPk"),n("3bBZ");var r=n("KZrk"),u=n("Avq9"),i=n("G0B5");function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a(e,t,n){return t=f(t),function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){return!1}}()?Reflect.construct(t,n||[],f(e).constructor):t.apply(e,n))}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d=function(e,t,n,o){var r,u=arguments.length,i=u<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===("undefined"==typeof Reflect?"undefined":p(Reflect))&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(i=(u<3?r(i):u>3?r(t,n,i):r(t,n))||i);return u>3&&i&&Object.defineProperty(t,n,i),i},m=function(e){function t(){var e;return l(this,t),(e=a(this,t,arguments)).menuColor=u.c,e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),n=t,(o=[{key:"roleSite",get:function(){return this.$store.getters["navigation/getActiveRoleSite"]}},{key:"module",get:function(){return this.$store.getters["navigation/getActiveModule"]}},{key:"selectedModule",get:function(){return this.module?this.getSelectElementFromModule(this.module):null}},{key:"onChangeModule",value:function(e){var t=e.module;!this.roleSite||!t||this.module&&t.name===this.module.name||this.$router.push({name:r.nb,params:{roleSiteIri:this.roleSite.iri,moduleName:t.name}})}},{key:"selectableModules",get:function(){var e=this;return this.$store.getters["navigation/getModules"].filter((function(e){return e.selectable})).map((function(t){return e.getSelectElementFromModule(t)}))}},{key:"getSelectElementFromModule",value:function(e){return{label:this.$t(e.label).toString(),module:e}}}])&&c(n.prototype,o),i&&c(n,i),n;var n,o,i}(i.g),b=m=d([Object(i.a)({components:{}})],m),y=(n("GZQi"),n("KHd+")),h=n("ZUTo"),g=n.n(h),v=n("uXRr"),w=Object(y.a)(b,o,[],!1,null,"ed6faf10",null);g()(w,{VSelect:v.a}),w.options.__file="assets/webapp/components/navigation/context/WebappContextModule.vue";t.default=w.exports},GZQi:function(e,t,n){"use strict";n("mGUj")},mGUj:function(e,t,n){}}]);