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;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEjDA;UACA;UACA;UACA;UACA;UACA","sources":["webpack://Vision Template/./dev/js/components/header.js","webpack://Vision Template/./dev/js/components/splide.js","webpack://Vision Template/./dev/js/components/totop.js","webpack://Vision Template/./dev/js/fe.js","webpack://Vision Template/./dev/js/script.js","webpack://Vision Template/./dev/scss/style.scss","webpack://Vision Template/webpack/bootstrap","webpack://Vision Template/webpack/runtime/chunk loaded","webpack://Vision Template/webpack/runtime/compat get default export","webpack://Vision Template/webpack/runtime/define property getters","webpack://Vision Template/webpack/runtime/hasOwnProperty shorthand","webpack://Vision Template/webpack/runtime/make namespace object","webpack://Vision Template/webpack/runtime/jsonp chunk loading","webpack://Vision Template/webpack/before-startup","webpack://Vision Template/webpack/startup","webpack://Vision Template/webpack/after-startup"],"sourcesContent":["function nav() {\r\n let navEl = document.getElementById('jsNav'),\r\n navBtnEl = document.getElementById('jsNavBtn'),\r\n navBtnCloseEl = document.getElementById('jsNavBtnClose');\r\n if (navBtnEl) {\r\n navBtnEl.addEventListener('click', function() {\r\n if (navEl.classList.contains('show')) {\r\n navEl.classList.remove('show');\r\n navBtnEl.classList.remove('expand');\r\n } else {\r\n navEl.classList.add('show');\r\n navBtnEl.classList.add('expand');\r\n }\r\n });\r\n }\r\n if (navBtnCloseEl) {\r\n navBtnCloseEl.addEventListener('click', function() {\r\n navEl.classList.remove('show');\r\n });\r\n }\r\n}\r\n\r\nfunction expandParent(className) {\r\n let expandEls = document.querySelectorAll(className);\r\n if (expandEls.length > 0) {\r\n expandEls.forEach(expandEl => {\r\n expandEl.addEventListener('click', function(event) {\r\n if (expandEl.parentElement.classList.contains('expand')) {\r\n expandEl.parentElement.classList.remove('expand');\r\n } else {\r\n expandEl.parentElement.classList.add('expand');\r\n }\r\n event.preventDefault();\r\n });\r\n });\r\n }\r\n}\r\n\r\nlet headerEl = document.getElementById('jsHeader'),\r\n timerScrollHeader;\r\nwindow.addEventListener('load', function() {\r\n headerEl = document.getElementById('jsHeader');\r\n nav();\r\n expandParent('.jsExpand');\r\n});\r\n\r\nfunction timeoutScrollHeader() {}\r\nwindow.addEventListener('scroll', function() {\r\n clearTimeout(timerScrollHeader);\r\n timerScrollHeader = setTimeout(timeoutScrollHeader, 100);\r\n});","window.addEventListener(\"load\", function () {\r\n let carouselBannerEl = document.getElementById(\"jsCarouselBanner\");\r\n if (carouselBannerEl) {\r\n let items = carouselBannerEl.querySelectorAll(\".splide__slide\");\r\n const carouselBanner = new Splide(\"#jsCarouselBanner\", {\r\n autoWidth: false,\r\n perMove: 1,\r\n perPage: 1,\r\n autoplay: items.length > 1 ? true : false,\r\n type: \"fade\",\r\n gap: \"30px\",\r\n speed: 1000,\r\n pagination: items.length > 1 ? true : false,\r\n arrows: items.length > 1 ? true : false,\r\n breakpoints: {\r\n 767: {\r\n arrows: false,\r\n },\r\n },\r\n });\r\n carouselBanner.mount();\r\n }\r\n\r\n let carouselFeedbackEl = document.getElementById(\"jsCarouselFeedback\");\r\n if (carouselFeedbackEl) {\r\n let carouselFeedback = new Splide(carouselFeedbackEl, {\r\n autoWidth: false,\r\n perMove: 1,\r\n perPage: 2,\r\n autoplay: false,\r\n gap: \"30px\",\r\n speed: 500,\r\n pagination: true,\r\n arrows: false,\r\n breakpoints: {\r\n 767: {\r\n perPage: 1,\r\n },\r\n },\r\n });\r\n carouselFeedback.mount();\r\n }\r\n});\r\n","// function toTop() {\r\n// toTopEl = document.getElementById(\"jsToTop\");\r\n// if (toTopEl) {\r\n// if (window.scrollY >= 100) {\r\n// toTopEl.classList.add(\"sticky\");\r\n// } else {\r\n// toTopEl.classList.remove(\"sticky\");\r\n// }\r\n// }\r\n// }\r\n\r\n// let timerScrollToTop,\r\n// toTopEl = document.getElementById(\"jsToTop\");\r\n// window.addEventListener(\"load\", function () {\r\n// if (toTopEl) {\r\n// toTopEl.addEventListener(\"click\", function (e) {\r\n// window.scrollTo({\r\n// top: 0,\r\n// behavior: \"smooth\",\r\n// });\r\n// });\r\n// }\r\n// toTop();\r\n// });\r\n\r\n// function timeoutScrollToTop() {\r\n// toTop();\r\n// }\r\n\r\n// window.addEventListener(\"scroll\", function () {\r\n// clearTimeout(timerScrollToTop);\r\n// timerScrollToTop = setTimeout(timeoutScrollToTop, 100);\r\n// });\r\n","let lightboxEl,\r\n lightboxCloseEl,\r\n lightboxAvatarEl,\r\n lightboxPrevEl,\r\n lightboxNextEl,\r\n lightboxIndex = 0,\r\n toastEl,\r\n toastTtlEl,\r\n toastTxtEl;\r\n\r\nfunction removeClass(arr, className) {\r\n arr.forEach((element) => {\r\n element.classList.remove(className);\r\n });\r\n}\r\n\r\nfunction lightboxShow(el, index) {\r\n el.addEventListener(\"click\", (e) => {\r\n lightboxEl.classList.add(\"show\");\r\n if (lightboxAvatarEl && callLightboxEls) {\r\n lightboxIndex = index;\r\n lightboxAvatarEl.src = el.dataset.src;\r\n console.log(lightboxAvatarEl.src);\r\n }\r\n });\r\n}\r\nfunction lightboxInit() {\r\n if (callLightboxEls) {\r\n callLightboxEls.forEach((callLightboxEl, index) => {\r\n lightboxShow(callLightboxEl, index);\r\n });\r\n }\r\n\r\n if (lightboxEl) {\r\n lightboxEl.addEventListener(\"click\", function (e) {\r\n if (e.target.id === \"jsLightbox\") {\r\n lightboxEl.classList.remove(\"show\");\r\n }\r\n });\r\n }\r\n\r\n if (lightboxCloseEl) {\r\n lightboxCloseEl.addEventListener(\"click\", (e) => {\r\n lightboxEl.classList.remove(\"show\");\r\n lightboxIndex = 0;\r\n });\r\n }\r\n\r\n if (lightboxNextEl) {\r\n lightboxNextEl.addEventListener(\"click\", (e) => {\r\n if (lightboxIndex < callLightboxEls.length - 1) {\r\n lightboxIndex++;\r\n } else {\r\n lightboxIndex = 0;\r\n }\r\n lightboxAvatarEl.src = callLightboxEls[lightboxIndex].dataset.src;\r\n });\r\n }\r\n\r\n if (lightboxPrevEl) {\r\n lightboxPrevEl.addEventListener(\"click\", (e) => {\r\n if (lightboxIndex > 0) {\r\n lightboxIndex--;\r\n } else {\r\n lightboxIndex = callLightboxEls.length - 1;\r\n }\r\n lightboxAvatarEl.src = callLightboxEls[lightboxIndex].dataset.src;\r\n });\r\n }\r\n}\r\n\r\nfunction randomArr(size) {\r\n let arr = [];\r\n for (let i = 0; i < size; i++) {\r\n let phone = Math.floor(1000 + Math.random() * 9000).toString(),\r\n time = Math.floor((Math.random() * 15) + 3).toString();\r\n arr.push({\r\n phone: 'Số điện thoại (0' + phone + 'xxxxx)',\r\n time: 'đã đặt hàng ' + time + ' phút trước',\r\n });\r\n }\r\n return arr;\r\n}\r\n\r\nfunction toast() {\r\n if (toastEl) {\r\n let arr = randomArr(10000),\r\n index = 0;\r\n setInterval(() => {\r\n toastTtlEl.innerHTML = arr[index].phone;\r\n toastTxtEl.innerHTML = arr[index].time;\r\n index++;\r\n setTimeout(() => {\r\n toastEl.classList.add('show');\r\n }, 100);\r\n setTimeout(() => {\r\n toastEl.classList.remove('show');\r\n }, 10000);\r\n }, 15000);\r\n }\r\n}\r\n\r\nwindow.addEventListener(\"load\", function () {\r\n let anchorEls = document.querySelectorAll(\".jsAnchor\");\r\n anchorClick = (anchorEl) => {\r\n anchorEl.addEventListener(\"click\", (e) => {\r\n let anchorTargetEl = document.getElementById(anchorEl.dataset.anchor);\r\n if (anchorTargetEl) {\r\n window.scrollTo({\r\n top: anchorTargetEl.offsetTop - 60,\r\n behavior: \"smooth\",\r\n });\r\n }\r\n e.preventDefault();\r\n });\r\n };\r\n if (anchorEls.length > 0) {\r\n anchorEls.forEach((anchorEl) => {\r\n anchorClick(anchorEl);\r\n });\r\n }\r\n\r\n callLightboxEls = document.querySelectorAll(\".jsCallLightbox\");\r\n lightboxEl = document.getElementById(\"jsLightbox\");\r\n lightboxCloseEl = document.getElementById(\"jsLightboxClose\");\r\n lightboxAvatarEl = document.getElementById(\"jsLightboxAvatar\");\r\n lightboxPrevEl = document.getElementById(\"jsLightboxPrev\");\r\n lightboxNextEl = document.getElementById(\"jsLightboxNext\");\r\n toastEl = document.getElementById('jsToast');\r\n toastTtlEl = document.getElementById('jsToastTtl');\r\n toastTxtEl = document.getElementById('jsToastTxt');\r\n lightboxInit();\r\n toast();\r\n});\r\n","import './components/splide';\r\nimport './components/totop';\r\nimport './components/header';\r\nimport './fe';\r\nimport './be';","// extracted by mini-css-extract-plugin\nexport {};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"/assets/js/bundle.min\": 0,\n\t\"assets/css/bundle.min\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkVision_Template\"] = self[\"webpackChunkVision_Template\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\n__webpack_require__.O(undefined, [\"assets/css/bundle.min\"], () => (__webpack_require__(\"./dev/js/script.js\")))\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"assets/css/bundle.min\"], () => (__webpack_require__(\"./dev/scss/style.scss\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["nav","navEl","document","getElementById","navBtnEl","navBtnCloseEl","addEventListener","classList","contains","remove","add","expandParent","className","expandEls","querySelectorAll","length","forEach","expandEl","event","parentElement","preventDefault","headerEl","timerScrollHeader","window","timeoutScrollHeader","clearTimeout","setTimeout","carouselBannerEl","items","carouselBanner","Splide","autoWidth","perMove","perPage","autoplay","type","gap","speed","pagination","arrows","breakpoints","mount","carouselFeedbackEl","carouselFeedback","lightboxEl","lightboxCloseEl","lightboxAvatarEl","lightboxPrevEl","lightboxNextEl","lightboxIndex","toastEl","toastTtlEl","toastTxtEl","removeClass","arr","element","lightboxShow","el","index","e","callLightboxEls","src","dataset","console","log","lightboxInit","callLightboxEl","target","id","randomArr","size","i","phone","Math","floor","random","toString","time","push","toast","setInterval","innerHTML","anchorEls","anchorClick","anchorEl","anchorTargetEl","anchor","scrollTo","top","offsetTop","behavior"],"sourceRoot":""}