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MAAM,IAAOH,EAAoB,OACpLA,EAAoBQ,OAAEL,EAAW,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,MAAM,IAAOH,EAAoB,OACpL,IAAIyC,EAAsBzC,EAAoBQ,OAAEL,EAAW,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,MAAM,IAAOH,EAAoB,OAC9MyC,EAAsBzC,EAAoBQ,EAAEiC,I","sources":["webpack://evolve-boilerplate/webpack/runtime/chunk loaded","webpack://evolve-boilerplate/./src/scripts/app.ts","webpack://evolve-boilerplate/./src/scripts/components/_button.ts","webpack://evolve-boilerplate/./src/scripts/components/_scrollto.ts","webpack://evolve-boilerplate/webpack/bootstrap","webpack://evolve-boilerplate/webpack/runtime/hasOwnProperty shorthand","webpack://evolve-boilerplate/webpack/runtime/jsonp chunk loading","webpack://evolve-boilerplate/webpack/startup"],"sourcesContent":["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};","import Button from \"./components/_button\";\nimport { scrollToElement } from \"./components/_scrollto\";\n\n\n\nclass Main {\n button: Button;\n\n constructor() {\n this.button = new Button();\n this.button.state('.js-collapse');\n this.button.state('.js-toc');\n this.generateTitles();\n this.anchorsScroll();\n this.activeScroll();\n this.hideScroll();\n this.showMore();\n }\n\n activeScroll() {\n\n let menuSection = document.querySelectorAll('.st__list li a') as any;\n menuSection.forEach((link) => {\n link.addEventListener('click', () => {\n setTimeout(() => {\n menuSection.forEach(j => j.classList.remove('active'))\n link.classList.add('active')\n }, 300)\n })\n })\n\n document.onscroll = (() => {\n let mainSection = document.querySelectorAll('.st__table h1, .st__table h2, .st__table h3, .st__table h4, .st__table h5, .st__table h6') as any;\n\n mainSection.forEach((v, i) => {\n let rect = v.getBoundingClientRect().y\n if (rect < window.innerHeight - 500) {\n menuSection.forEach(v => v.classList.remove('active'))\n menuSection[i].classList.add('active')\n }\n })\n })\n }\n\n hideScroll() {\n window.addEventListener('scroll', () => {\n if(window.scrollY > 500) {\n document.querySelector('.scroll__btn').classList.remove('opacity-0', 'pointer-events-none');\n } else {\n document.querySelector('.scroll__btn').classList.add('opacity-0', 'pointer-events-none');\n }\n })\n }\n\n anchorsScroll() {\n const anchors = document.querySelectorAll('.js-anchor');\n anchors.forEach(anchor => {\n anchor.addEventListener('click', (e) => {\n const href = (anchor as HTMLLinkElement).getAttribute('href');\n const element = document.querySelector(href);\n if (element) {\n e.preventDefault();\n // this.body.classList.remove('mso');\n scrollToElement(href);\n }\n })\n });\n }\n\n generateTitles() {\n\n let stickyModules = [].slice.call(document.querySelectorAll(\".st\"))\n\n if(!stickyModules) return;\n var level = 0;\n\n stickyModules.forEach((table, i, a) => {\n var toc = \"\";\n\n table.querySelector('.st__table').innerHTML = table.querySelector('.st__table').innerHTML.replace(\n /([^<]+)<\\/h([\\d])>/gi,\n\n function (str, openLevel, titleText, closeLevel) {\n if (openLevel != closeLevel) {\n return str;\n }\n\n level = parseInt(openLevel);\n\n var anchor = titleText.replace(/ /g, \"_\");\n anchor = anchor.replace('?', '');\n\n toc += `
  • ${titleText}
  • `;\n\n return `${titleText}`;\n }\n\n )\n\n table.querySelector(\".st__list\").innerHTML += toc;\n\n if (level) {\n toc += (new Array(level + 1)).join(\"\");\n }\n });\n }\n\n showMore() {\n document.querySelectorAll('.js-showmore').forEach(btn => {\n btn.addEventListener('click', (e) => {\n (e.target as HTMLElement).classList.add('hidden');\n document.querySelector('.more-content').classList.add('block');\n document.querySelector('.more-content').classList.remove('hidden');\n })\n })\n }\n}\n\nnew Main;","export default class Button {\n\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n constructor() { }\n\n state(selector: string) : void {\n const elements = [].slice.call(document.querySelectorAll(selector));\n\n elements.forEach((btn: HTMLElement) => {\n btn.addEventListener('click', () => {\n const parentSelector = btn.dataset.parent;\n const parentClass = btn.dataset.class;\n\n // console.log(parentSelector);\n // console.log(parentClass);\n\n if (btn.classList.contains('active')) {\n btn.classList.remove('active');\n } else {\n btn.classList.add('active');\n }\n\n if (parentSelector) {\n const parent = btn.closest(parentSelector);\n let addClass = 'active';\n\n if (parentClass) {\n addClass = parentClass;\n }\n\n if (parent.classList.contains(addClass)) {\n parent.classList.remove(addClass);\n } else {\n parent.classList.add(addClass);\n }\n }\n });\n });\n }\n}\n","const easeInOutQuad = (t: number, b: number, c: number, d: number) => {\r\n if ((t /= d / 2) < 1) return c / 2 * t * t + b;\r\n\r\n return -c / 2 * ((--t) * (t - 2) - 1) + b;\r\n};\r\n\r\nconst requestAnimFrame = (\r\n () => window.requestAnimationFrame ||\r\n window.webkitRequestAnimationFrame || (callback => window.setTimeout(callback, 1000 / 60))\r\n)();\r\n\r\nexport function scrollTo(to: number, offset = 0, duration = 800, callback: any = null): void {\r\n const move = (amount: number) => {\r\n document.documentElement.scrollTop = amount;\r\n (document.body.parentNode as HTMLElement).scrollTop = amount;\r\n document.body.scrollTop = amount;\r\n };\r\n const start = document.documentElement.scrollTop ||\r\n (document.body.parentNode as HTMLElement).scrollTop ||\r\n document.body.scrollTop;\r\n const change = to - start + 10 - offset;\r\n const increment = 20;\r\n let currentTime = 0;\r\n\r\n const animateScroll = () => {\r\n currentTime += increment;\r\n const val = easeInOutQuad(currentTime, start, change, duration);\r\n move(val);\r\n if (currentTime < duration) {\r\n requestAnimFrame(animateScroll);\r\n } else if (typeof callback === 'function') {\r\n callback();\r\n }\r\n };\r\n animateScroll();\r\n}\r\n\r\nexport function scrollToElement(selectior: string, offset = 0, duration = 800): void {\r\n const element = document.querySelector(selectior) as HTMLElement;\r\n if (!element) return;\r\n\r\n scrollTo(element.offsetTop, offset, duration);\r\n}","// 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","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// 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\t742: 0,\n\t941: 0,\n\t974: 0,\n\t452: 0,\n\t850: 0,\n\t692: 0,\n\t252: 0,\n\t401: 0,\n\t433: 0,\n\t368: 0,\n\t193: 0,\n\t500: 0,\n\t731: 0,\n\t87: 0,\n\t313: 0,\n\t944: 0,\n\t126: 0,\n\t717: 0,\n\t807: 0,\n\t61: 0,\n\t913: 0,\n\t957: 0,\n\t522: 0,\n\t75: 0,\n\t565: 0,\n\t237: 0,\n\t756: 0,\n\t866: 0,\n\t701: 0,\n\t926: 0,\n\t965: 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[\"webpackChunkevolve_boilerplate\"] = self[\"webpackChunkevolve_boilerplate\"] || [];\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, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(87)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(348)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(945)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(702)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(622)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(659)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(212)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(296)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(114)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(707)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(86)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(55)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(474)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(336)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(846)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(948)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(481)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(146)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(49)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(865)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(616)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(419)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(300)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(199)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(329)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(883)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(886)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(492)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(433)))\n__webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(100)))\nvar __webpack_exports__ = __webpack_require__.O(undefined, [941,974,452,850,692,252,401,433,368,193,500,731,87,313,944,126,717,807,61,913,957,522,75,565,237,756,866,701,926,965], () => (__webpack_require__(151)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","this","button","state","generateTitles","anchorsScroll","activeScroll","hideScroll","showMore","menuSection","document","querySelectorAll","forEach","link","addEventListener","setTimeout","j","classList","remove","add","onscroll","v","i","getBoundingClientRect","y","window","innerHeight","scrollY","querySelector","anchor","e","href","getAttribute","preventDefault","scrollToElement","stickyModules","slice","call","level","table","a","toc","innerHTML","replace","str","openLevel","titleText","closeLevel","parseInt","Array","join","btn","target","selector","parentSelector","dataset","parent","parentClass","contains","closest","addClass","requestAnimFrame","requestAnimationFrame","webkitRequestAnimationFrame","callback","scrollTo","to","offset","duration","start","documentElement","scrollTop","body","parentNode","change","currentTime","animateScroll","t","b","c","amount","val","selectior","element","offsetTop","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","O","result","chunkIds","fn","priority","notFulfilled","Infinity","length","fulfilled","Object","keys","every","key","splice","r","o","obj","prop","prototype","hasOwnProperty","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","id","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""}