{"version":3,"file":"head.99817a54087bf0abc75c.js","mappings":"uBAOAA,OAAOC,YAAc,SAACC,EAAIC,EAAWC,GAKpC,IAAIC,EAAMC,EAEV,OANKH,IACJA,EAAY,KAKN,WACN,IAAII,EAAUH,GAASI,KACnBC,GAAO,IAAIC,KACXC,EAAOC,UAEPP,GAAQI,EAAMJ,EAAOF,GAExBU,aAAaP,GACbA,EAAaQ,YAAW,WACvBT,EAAOI,EACPP,EAAGa,MAAMR,EAASI,EAClB,GAAER,KAEHE,EAAOI,EACPP,EAAGa,MAAMR,EAASI,GAEnB,CACD,C,GC9BGK,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,CAAC,GAOX,OAHAE,EAAoBL,GAAUI,EAAQA,EAAOD,QAASJ,GAG/CK,EAAOD,OACf,C,mBCbAG,EAAQ,K","sources":["webpack://essence_site/./wp/wp-content/themes/essence/assets/js/utils/throttle.js","webpack://essence_site/webpack/bootstrap","webpack://essence_site/./wp/wp-content/themes/essence/assets/head.js"],"sourcesContent":["/**\n * Throttle a function so that it fires once every { threshold }\n * @param {Function} fn\n * @param {Integer} threshold\n * @param {FunctionContext} scope\n */\n\nwindow.essThrottle = (fn, threshold, scope) => {\n\tif (!threshold) {\n\t\tthreshold = 250;\n\t}\n\n\tvar last, deferTimer;\n\n\treturn function () {\n\t\tvar context = scope || this;\n\t\tvar now = +new Date();\n\t\tvar args = arguments;\n\n\t\tif (last && now < last + threshold) {\n\t\t\t// hold on to it\n\t\t\tclearTimeout(deferTimer);\n\t\t\tdeferTimer = setTimeout(function () {\n\t\t\t\tlast = now;\n\t\t\t\tfn.apply(context, args);\n\t\t\t}, threshold);\n\t\t} else {\n\t\t\tlast = now;\n\t\t\tfn.apply(context, args);\n\t\t}\n\t};\n};\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","/**\n * All frontend scripts that can be in <head> should be included here.\n *\n * This is the file that Webpack is compiling into main-head.[hash].js\n */\n\nimport \"./sass/inline.scss\";\nimport \"./sass/head.scss\";\n\nrequire(\"./js/utils/throttle\");\n"],"names":["window","essThrottle","fn","threshold","scope","last","deferTimer","context","this","now","Date","args","arguments","clearTimeout","setTimeout","apply","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","require"],"sourceRoot":""}