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KACA,MAIF,QAAe0B,EAAiB,O,kBChBhC,IAAIgB,EAAU,EAAQ,OACnBA,EAAQC,aAAYD,EAAUA,EAAQD,SACnB,kBAAZC,IAAsBA,EAAU,CAAC,CAAC/D,EAAOC,GAAI8D,EAAS,MAC7DA,EAAQE,SAAQjE,EAAOkE,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,WACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G,kBCN5E,IAAIA,EAAU,EAAQ,IACnBA,EAAQC,aAAYD,EAAUA,EAAQD,SACnB,kBAAZC,IAAsBA,EAAU,CAAC,CAAC/D,EAAOC,GAAI8D,EAAS,MAC7DA,EAAQE,SAAQjE,EAAOkE,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,WACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://website-js/./src/components/navigation/CustomCategoryNavigation.vue?b8b7","webpack://website-js/./src/components/navigation/CustomCategoryNavigationIcon.vue?7b32","webpack://website-js/./src/components/navigation/CustomCategoryNavigation.vue","webpack://website-js/./src/components/navigation/CustomCategoryNavigation.vue?3a06","webpack://website-js/./src/components/navigation/CustomCategoryNavigation.vue?b587","webpack://website-js/./src/components/navigation/CustomCategoryNavigation.vue?a326","webpack://website-js/./src/components/navigation/CustomCategoryNavigationIcon.vue","webpack://website-js/./src/components/navigation/CustomCategoryNavigationIcon.vue?a94a","webpack://website-js/./src/components/navigation/CustomCategoryNavigationIcon.vue?4348","webpack://website-js/./src/components/navigation/CustomCategoryNavigationIcon.vue?81c9","webpack://website-js/./src/components/navigation/CustomCategoryNavigation.vue?4a0a","webpack://website-js/./src/components/navigation/CustomCategoryNavigationIcon.vue?330d"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.customCatNavWrapper{box-shadow:0 2px #0000000f}.customCatNavWrapper .customCatNav{display:flex;padding:10px;box-sizing:border-box;background:none!important;justify-content:space-between}.customCatNavWrapper .customCatNav .catLink{display:flex;flex-direction:column;justify-content:space-between;width:100%;padding:0;color:#3a3a3a!important;text-align:center;font-weight:700;font-size:13px}.customCatNavWrapper .customCatNav .catLink .catTitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.catIcon{display:flex;flex:1 0 100%;color:var(--black-color)!important;max-width:50px}.catIcon.isActive{color:var(--primary-color)!important}.catIcon.isActive .st0{fill:var(--primary-color)!important}.catIcon.smallIcon{color:#fff!important;display:inline-block}.catIcon.smallIcon .st0{fill:#fff!important}.catIcon .st0{fill:var(--black-color)!important}.catIcon svg{flex:1 0 100%;height:100%}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.translationsReady && !_vm.isMobile)?_c('div',{staticClass:\"customCatNavWrapper\"},[_c('nav',{staticClass:\"customCatNav uk-container uk-container-large\"},_vm._l((_vm.items),function(item){return _c('a',{key:item.id,staticClass:\"catLink\",attrs:{\"href\":item.link}},[_c('div',{staticClass:\"catIconWrapper uk-flex uk-flex-center\"},[_c('CustomCategoryNavigationIcon',{attrs:{\"navItem\":item}})],1),_c('div',{staticClass:\"catTitle\"},[_c('span',[_vm._v(_vm._s(item.title))])])])}),0)]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport CategoryService from \"@/services/CategoryService\";\r\nimport ContentService from \"@/services/ContentService\";\r\nimport { NavigationItemResponse, NavigationItem } from '@/models/Navigation';\r\nimport CustomCategoryNavigationIcon from '@/components/navigation/CustomCategoryNavigationIcon.vue';\r\n\r\n@Component({\r\n name: 'CustomCategoryNavigation',\r\n components: {\r\n CustomCategoryNavigationIcon\r\n }\r\n})\r\nexport default class CustomCategoryNavigation extends Vue {\r\n \r\n private categoryService: CategoryService = new CategoryService();\r\n private contentService: ContentService = new ContentService();\r\n private items: NavigationItem[] = [];\r\n\r\n get translationsReady(): boolean {\r\n return this.$root.$data.translationsLoaded === true;\r\n }\r\n\r\n get isMobile() {\r\n return this.$screen.breakpoint === 'mobile';\r\n }\r\n\r\n private async created() {\r\n const catsResp: NavigationItemResponse = await this.categoryService.getChildrenWithParent();\r\n this.items = catsResp.children;\r\n\r\n const contentResp: NavigationItemResponse = await this.contentService.getCustomNavigationContentItems();\r\n this.items.push(...contentResp.children);\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./CustomCategoryNavigation.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./CustomCategoryNavigation.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CustomCategoryNavigation.vue?vue&type=template&id=23b03142&\"\nimport script from \"./CustomCategoryNavigation.vue?vue&type=script&lang=ts&\"\nexport * from \"./CustomCategoryNavigation.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CustomCategoryNavigation.vue?vue&type=style&index=0&id=23b03142&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.navItem.icon)?_c('span',{class:`\n uk-preserve\n catIcon\n ${_vm.isActive ? 'isActive' : ''}\n ${_vm.small ? 'smallIcon' : ''}\n `,attrs:{\"uk-icon\":`icon: ${_vm.navItem.icon}`}}):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\r\nimport { NavigationItem } from '@/models/Navigation';\r\n\r\n@Component({\r\n name: 'CustomCategoryNavigationIcon',\r\n})\r\nexport default class CustomCategoryNavigationIcon extends Vue {\r\n \r\n @Prop({ type: Object, required: true }) private navItem: NavigationItem;\r\n @Prop({ type: Boolean, required: false, default: false }) private small: boolean;\r\n\r\n get isActive(): boolean {\r\n if (this.navItem.type == 0) {\r\n // Content\r\n return (window as any).CbxCurrentContentId == this.navItem.id;\r\n }\r\n else if (this.navItem.type == 1) {\r\n // Category\r\n return (window as any).CbxCurrentCategoryPath.includes(this.navItem.id);\r\n }\r\n else {\r\n return false;\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./CustomCategoryNavigationIcon.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./CustomCategoryNavigationIcon.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CustomCategoryNavigationIcon.vue?vue&type=template&id=52a0f9e6&\"\nimport script from \"./CustomCategoryNavigationIcon.vue?vue&type=script&lang=ts&\"\nexport * from \"./CustomCategoryNavigationIcon.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CustomCategoryNavigationIcon.vue?vue&type=style&index=0&id=52a0f9e6&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./CustomCategoryNavigation.vue?vue&type=style&index=0&id=23b03142&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"50f29a0d\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./CustomCategoryNavigationIcon.vue?vue&type=style&index=0&id=52a0f9e6&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"13afb73a\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["___CSS_LOADER_EXPORT___","push","module","id","render","_vm","this","_c","_self","_setupProxy","translationsReady","isMobile","staticClass","_l","items","item","key","attrs","link","_v","_s","title","_e","staticRenderFns","CustomCategoryNavigation","Vue","constructor","args","_defineProperty","CategoryService","ContentService","$root","$data","translationsLoaded","$screen","breakpoint","async","catsResp","categoryService","getChildrenWithParent","children","contentResp","contentService","getCustomNavigationContentItems","__decorate","Component","name","components","CustomCategoryNavigationIcon","component","navItem","icon","class","isActive","small","type","window","CbxCurrentContentId","CbxCurrentCategoryPath","includes","Prop","Object","required","Boolean","default","content","__esModule","locals","exports","add"],"sourceRoot":""}