{"version":3,"sources":["webpack:///./src/core/helpers/config.ts","webpack:///./src/views/crafted/authentication/Error404.vue?92dd","webpack:///./src/views/crafted/authentication/Error404.vue?950a","webpack:///./src/views/crafted/authentication/Error404.vue","webpack:///./src/core/helpers/assets.ts"],"names":["config","getters","layoutConfig","footerWidthFluid","headerWidthFluid","headerLeft","asideDisplay","toolbarWidthFluid","toolbarDisplay","loaderEnabled","contentWidthFluid","loaderLogo","asideEnabled","asideTheme","subheaderDisplay","asideMenuIcons","themeLightLogo","themeDarkLogo","illustrationsSet","_hoisted_1","class","_hoisted_2","_hoisted_3","style","render","_ctx","_cache","$props","$setup","$data","$options","_component_router_link","src","getIllustrationsPath","alt","$t","currentLanguage","to","default","_","name","components","setup","store","getCurrentLanguage","localStorage","getItem","dispatch","ADD_BODY_CLASSNAME","REMOVE_BODY_CLASSNAME","__exports__","illustrationName","value"],"mappings":"gHAAA,8lBAOaA,EAAS,uBAAS,WAC7B,OAAO,OAAMC,QAAQC,kBAeVC,GARiB,uBAAS,WACrC,OAAO,OAAMF,QAAQC,aAAa,sBAOJ,uBAAS,WACvC,MAAsD,UAA/C,OAAMD,QAAQC,aAAa,oBAOvBE,EAAmB,uBAAS,WACvC,MAAsD,UAA/C,OAAMH,QAAQC,aAAa,mBAOvBG,EAAa,uBAAS,WACjC,OAAO,OAAMJ,QAAQC,aAAa,kBAOvBI,EAAe,uBAAS,WACnC,OAAuD,IAAhD,OAAML,QAAQC,aAAa,oBAOvBK,EAAoB,uBAAS,WACxC,MAAuD,UAAhD,OAAMN,QAAQC,aAAa,oBAOvBM,EAAiB,uBAAS,WACrC,OAAO,OAAMP,QAAQC,aAAa,sBAOvBO,EAAgB,uBAAS,WACpC,OAAO,OAAMR,QAAQC,aAAa,qBAOvBQ,EAAoB,uBAAS,WACxC,MAAuD,UAAhD,OAAMT,QAAQC,aAAa,oBAOvBS,EAAa,uBAAS,WACjC,MAAO,IAAuB,OAAMV,QAAQC,aAAa,kBAO9CU,EAAe,uBAAS,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L,EAAMI,SAAS,OAAQE,sBAAuB,cAGzC,CACLhB,qBAAoB,OACpBG,gBAAe,M,qBCtBrB,MAAMc,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS1B,KAErD,gB,oCCPf,kDAEaS,EAAuB,SAACkB,GACnC,MAAO,uBAAuB,OAAiBC,MAAK,IAAID","file":"js/chunk-1c688b15.2d6dbc67.js","sourcesContent":["import { computed } from \"vue\";\r\nimport store from \"@/store/index\";\r\n\r\n/**\r\n * Returns layout config\r\n * @returns {object}\r\n */\r\nexport const config = computed(() => {\r\n return store.getters.layoutConfig();\r\n});\r\n\r\n/**\r\n * Set the sidebar display\r\n * @returns {boolean}\r\n */\r\nexport const displaySidebar = computed(() => {\r\n return store.getters.layoutConfig(\"sidebar.display\");\r\n});\r\n\r\n/**\r\n * Check if footer container is fluid\r\n * @returns {boolean}\r\n */\r\nexport const footerWidthFluid = computed(() => {\r\n return store.getters.layoutConfig(\"footer.width\") === \"fluid\";\r\n});\r\n\r\n/**\r\n * Check if header container is fluid\r\n * @returns {boolean}\r\n */\r\nexport const headerWidthFluid = computed(() => {\r\n return store.getters.layoutConfig(\"header.width\") === \"fluid\";\r\n});\r\n\r\n/**\r\n * Returns header left part type\r\n * @returns {string}\r\n */\r\nexport const headerLeft = computed(() => {\r\n return store.getters.layoutConfig(\"header.left\");\r\n});\r\n\r\n/**\r\n * Set the aside display\r\n * @returns {boolean}\r\n */\r\nexport const asideDisplay = computed(() => {\r\n return store.getters.layoutConfig(\"aside.display\") === true;\r\n});\r\n\r\n/**\r\n * Check if toolbar width is fluid\r\n * @returns {boolean}\r\n */\r\nexport const toolbarWidthFluid = computed(() => {\r\n return store.getters.layoutConfig(\"toolbar.width\") === \"fluid\";\r\n});\r\n\r\n/**\r\n * Set the toolbar display\r\n * @returns {boolean}\r\n */\r\nexport const toolbarDisplay = computed(() => {\r\n return store.getters.layoutConfig(\"toolbar.display\");\r\n});\r\n\r\n/**\r\n * Check if the page loader is enabled\r\n * @returns {boolean}\r\n */\r\nexport const loaderEnabled = computed(() => {\r\n return store.getters.layoutConfig(\"loader.display\");\r\n});\r\n\r\n/**\r\n * Check if container width is fluid\r\n * @returns {boolean}\r\n */\r\nexport const contentWidthFluid = computed(() => {\r\n return store.getters.layoutConfig(\"content.width\") === \"fluid\";\r\n});\r\n\r\n/**\r\n * Page loader logo image\r\n * @returns {string}\r\n */\r\nexport const loaderLogo = computed(() => {\r\n return process.env.BASE_URL + store.getters.layoutConfig(\"loader.logo\");\r\n});\r\n\r\n/**\r\n * Check if the aside menu is enabled\r\n * @returns {boolean}\r\n */\r\nexport const asideEnabled = computed(() => {\r\n return !!store.getters.layoutConfig(\"aside.display\");\r\n});\r\n\r\n/**\r\n * Set the aside theme\r\n * @returns {string}\r\n */\r\nexport const asideTheme = computed(() => {\r\n return store.getters.layoutConfig(\"aside.theme\");\r\n});\r\n\r\n/**\r\n * Set the subheader display\r\n * @returns {boolean}\r\n */\r\nexport const subheaderDisplay = computed(() => {\r\n return store.getters.layoutConfig(\"toolbar.display\");\r\n});\r\n\r\n/**\r\n * Set the aside menu icon type\r\n * @returns {string}\r\n */\r\nexport const asideMenuIcons = computed(() => {\r\n return store.getters.layoutConfig(\"aside.menuIcon\");\r\n});\r\n\r\n/**\r\n * Light theme logo image\r\n * @returns {string}\r\n */\r\nexport const themeLightLogo = computed(() => {\r\n return store.getters.layoutConfig(\"main.logo.light\");\r\n});\r\n\r\n/**\r\n * Dark theme logo image\r\n * @returns {string}\r\n */\r\nexport const themeDarkLogo = computed(() => {\r\n return store.getters.layoutConfig(\"main.logo.dark\");\r\n});\r\n\r\n/**\r\n * Set the header menu icon type\r\n * @returns {string}\r\n */\r\nexport const headerMenuIcons = computed(() => {\r\n return store.getters.layoutConfig(\"header.menuIcon\");\r\n});\r\n\r\n/**\r\n * Illustrations set\r\n * @returns {string}\r\n */\r\nexport const illustrationsSet = computed(() => {\r\n return store.getters.layoutConfig(\"illustrations.set\");\r\n});\r\n","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"d-flex flex-column flex-center flex-column-fluid p-10\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = {\n class: \"fw-bold mb-10\",\n style: {\"color\":\"#a3a3c7\"}\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n src: _ctx.getIllustrationsPath('18.png'),\n alt: \"\",\n class: \"mw-100 mb-10 h-lg-450px\"\n }, null, 8, _hoisted_2),\n _createElementVNode(\"h1\", _hoisted_3, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.seems_there_is_nothing_here`)), 1),\n _createVNode(_component_router_link, {\n to: \"/dashboard\",\n class: \"btn btn-primary\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.return_home`)), 1)\n ]),\n _: 1\n })\n ]))\n}","\r\nimport {computed, defineComponent, onMounted, onUnmounted} from \"vue\";\r\nimport { useStore } from \"vuex\";\r\nimport { Actions } from \"@/store/enums/StoreEnums\";\r\nimport { getIllustrationsPath } from \"@/core/helpers/assets\";\r\nimport {useI18n} from \"vue-i18n\";\r\n\r\nexport default defineComponent({\r\n name: \"error-404\",\r\n components: {},\r\n setup() {\r\n const store = useStore();\r\n const { t } = useI18n();\r\n\r\n const currentLanguage = computed(() => store.getters.getCurrentLanguage || localStorage.getItem('currentLanguage'));\r\n\r\n\r\n onMounted(() => {\r\n store.dispatch(Actions.ADD_BODY_CLASSNAME, \"bg-body\");\r\n });\r\n\r\n onUnmounted(() => {\r\n store.dispatch(Actions.REMOVE_BODY_CLASSNAME, \"bg-body\");\r\n });\r\n\r\n return {\r\n getIllustrationsPath,\r\n currentLanguage\r\n };\r\n },\r\n});\r\n","import { render } from \"./Error404.vue?vue&type=template&id=2fc1e603&ts=true\"\nimport script from \"./Error404.vue?vue&type=script&lang=ts\"\nexport * from \"./Error404.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src791094775/src/hackingclub-spa/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { illustrationsSet } from \"@/core/helpers/config\";\r\n\r\nexport const getIllustrationsPath = (illustrationName: string): string => {\r\n return `media/illustrations/${illustrationsSet.value}/${illustrationName}`;\r\n};\r\n"],"sourceRoot":""}