{"version":3,"file":"assets-DIZBGSwt.js","sources":["../../src/core/helpers/config.ts","../../src/core/helpers/assets.ts"],"sourcesContent":["import { computed } from \"vue\";\nimport store from \"@/store/index\";\n\n/**\n * Returns layout config\n * @returns {object}\n */\nexport const config = computed(() => {\n return store.getters.layoutConfig();\n});\n\n/**\n * Set the sidebar display\n * @returns {boolean}\n */\nexport const displaySidebar = computed(() => {\n return store.getters.layoutConfig(\"sidebar.display\");\n});\n\n/**\n * Check if footer container is fluid\n * @returns {boolean}\n */\nexport const footerWidthFluid = computed(() => {\n return store.getters.layoutConfig(\"footer.width\") === \"fluid\";\n});\n\n/**\n * Check if header container is fluid\n * @returns {boolean}\n */\nexport const headerWidthFluid = computed(() => {\n return store.getters.layoutConfig(\"header.width\") === \"fluid\";\n});\n\n/**\n * Returns header left part type\n * @returns {string}\n */\nexport const headerLeft = computed(() => {\n return store.getters.layoutConfig(\"header.left\");\n});\n\n/**\n * Set the aside display\n * @returns {boolean}\n */\nexport const asideDisplay = computed(() => {\n return store.getters.layoutConfig(\"aside.display\") === true;\n});\n\n/**\n * Check if toolbar width is fluid\n * @returns {boolean}\n */\nexport const toolbarWidthFluid = computed(() => {\n return store.getters.layoutConfig(\"toolbar.width\") === \"fluid\";\n});\n\n/**\n * Set the toolbar display\n * @returns {boolean}\n */\nexport const toolbarDisplay = computed(() => {\n return store.getters.layoutConfig(\"toolbar.display\");\n});\n\n/**\n * Check if the page loader is enabled\n * @returns {boolean}\n */\nexport const loaderEnabled = computed(() => {\n return store.getters.layoutConfig(\"loader.display\");\n});\n\n/**\n * Check if container width is fluid\n * @returns {boolean}\n */\nexport const contentWidthFluid = computed(() => {\n return store.getters.layoutConfig(\"content.width\") === \"fluid\";\n});\n\n/**\n * Page loader logo image\n * @returns {string}\n */\nexport const loaderLogo = computed(() => {\n return import.meta.env.BASE_URL + store.getters.layoutConfig(\"loader.logo\");\n});\n\n/**\n * Check if the aside menu is enabled\n * @returns {boolean}\n */\nexport const asideEnabled = computed(() => {\n return !!store.getters.layoutConfig(\"aside.display\");\n});\n\n/**\n * Set the aside theme\n * @returns {string}\n */\nexport const asideTheme = computed(() => {\n return store.getters.layoutConfig(\"aside.theme\");\n});\n\n/**\n * Set the subheader display\n * @returns {boolean}\n */\nexport const subheaderDisplay = computed(() => {\n return store.getters.layoutConfig(\"toolbar.display\");\n});\n\n/**\n * Set the aside menu icon type\n * @returns {string}\n */\nexport const asideMenuIcons = computed(() => {\n return store.getters.layoutConfig(\"aside.menuIcon\");\n});\n\n/**\n * Light theme logo image\n * @returns {string}\n */\nexport const themeLightLogo = computed(() => {\n if (document.location.hostname.indexOf(\"senior\") > -1) {\n return store.getters.layoutConfig(\"main.logo.senior.light\");\n }\n return store.getters.layoutConfig(\"main.logo.hotel.light\");\n});\n\n/**\n * Dark theme logo image\n * @returns {string}\n */\nexport const themeDarkLogo = computed(() => {\n if (document.location.hostname.indexOf(\"senior\") > -1) {\n return store.getters.layoutConfig(\"main.logo.senior.dark\");\n }\n return store.getters.layoutConfig(\"main.logo.hotel.dark\");\n});\n\n/**\n * Set the header menu icon type\n * @returns {string}\n */\nexport const headerMenuIcons = computed(() => {\n return store.getters.layoutConfig(\"header.menuIcon\");\n});\n\n/**\n * Illustrations set\n * @returns {string}\n */\nexport const illustrationsSet = computed(() => {\n return store.getters.layoutConfig(\"illustrations.set\");\n});\n","import { illustrationsSet } from \"@/core/helpers/config\";\n\nexport const getIllustrationsPath = (illustrationName: string): string => {\n return `media/illustrations/${illustrationsSet.value}/${illustrationName}`;\n};\n"],"names":["config","computed","store","footerWidthFluid","headerWidthFluid","headerLeft","asideDisplay","toolbarWidthFluid","toolbarDisplay","loaderEnabled","contentWidthFluid","loaderLogo","asideEnabled","asideTheme","subheaderDisplay","asideMenuIcons","themeLightLogo","themeDarkLogo","headerMenuIcons","illustrationsSet","getIllustrationsPath","illustrationName"],"mappings":"+CAOa,MAAAA,EAASC,EAAS,IACtBC,EAAM,QAAQ,aAAa,CACnC,EAM6BD,EAAS,I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