\n\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./newsPanel.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./newsPanel.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./newsPanel.vue?vue&type=template&id=3b7f8c39&scoped=true\"\nimport script from \"./newsPanel.vue?vue&type=script&lang=js\"\nexport * from \"./newsPanel.vue?vue&type=script&lang=js\"\nimport style0 from \"./newsPanel.vue?vue&type=style&index=0&id=3b7f8c39&prod&lang=less&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3b7f8c39\",\n null\n \n)\n\nexport default component.exports","export default {\n isDateBetweenDec17AndJan5(inputDate = new Date()) {\n // Extract the day and month from the input date\n const day = inputDate.getDate()\n const month = inputDate.getMonth() // 0 = January, 11 = December\n\n // Check if the date is between December 17th and December 31st\n const inDecember = month === 11 && day >= 17\n\n // Check if the date is between January 1st and January 5th\n const inJanuary = month === 0 && day <= 5\n\n // Return true if the date is in the specified range\n return inDecember || inJanuary\n },\n\n getLogoPath(root) {\n if (this.isDateBetweenDec17AndJan5()) {\n return `${root}assets/img/christmas-logo-terraindex.svg`\n }\n\n return `${root}assets/img/logo-terraindex.svg`\n },\n\n getNewsItemIcon() {\n if (this.isDateBetweenDec17AndJan5()) {\n return `fa-solid fa-tree`\n }\n\n return `fa-solid fa-gift`\n }\n}\n","\n \n \n