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,GAAGwF,EAASgC,MAAMC,GAAgC,IAAxBP,EAAgBO,KAAa,CACtD,IAAIzC,KAAYsC,EACZvC,EAAoB0B,EAAEa,EAAatC,KACrCD,EAAoBM,EAAEL,GAAYsC,EAAYtC,IAGhD,GAAGuC,EAAS,IAAIhC,EAASgC,EAAQxC,EAClC,CAEA,IADGsC,GAA4BA,EAA2B/E,GACrDtC,EAAIwF,EAASnH,OAAQ2B,IACzBmH,EAAU3B,EAASxF,GAChB+E,EAAoB0B,EAAES,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOpC,EAAoBO,EAAEC,EAAO,EAGjCmC,EAAqBC,KAAoC,8BAAIA,KAAoC,+BAAK,GAC1GD,EAAmBE,QAAQR,EAAqBS,KAAK,KAAM,IAC3DH,EAAmBnE,KAAO6D,EAAqBS,KAAK,KAAMH,EAAmBnE,KAAKsE,KAAKH,G,KC7CvF,IAAII,EAAsB/C,EAAoBO,OAAEJ,EAAW,CAAC,MAAM,IAAOH,EAAoB,OAC7F+C,EAAsB/C,EAAoBO,EAAEwC,E","sources":["webpack://scoopaway-dot-com/webpack/runtime/chunk loaded","webpack://scoopaway-dot-com/./js/src/pages/products.js","webpack://scoopaway-dot-com/external var \"jQuery\"","webpack://scoopaway-dot-com/webpack/bootstrap","webpack://scoopaway-dot-com/webpack/runtime/compat get default export","webpack://scoopaway-dot-com/webpack/runtime/define property getters","webpack://scoopaway-dot-com/webpack/runtime/global","webpack://scoopaway-dot-com/webpack/runtime/hasOwnProperty shorthand","webpack://scoopaway-dot-com/webpack/runtime/jsonp chunk loading","webpack://scoopaway-dot-com/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};","// TODO: review these disabled settings & related issues\n/* eslint-disable eqeqeq */\n/* eslint-disable no-loop-func */\n// TODL: Add a Clear button; reconsider use of cookies\n\nimport 'jquery.cookie';\n\n(function ($) {\n Electro.Products = (function () {\n return {\n productSelectorExpanded: false,\n scentSelected: null,\n scentNoneSelected: true,\n defaultSet: false,\n productAtts: {},\n\n init() {\n if ($('#catProductFilterForm').length) {\n Electro.Products.getProductAtts();\n }\n\n $('#product-grid .product-container').each(function () {\n $(this).show();\n if (Electro.ScoopAway.isIE()) {\n $(this).css('display', 'inline');\n $(this).css('float', 'left');\n } else {\n $(this).css('display', 'inline-block');\n }\n });\n\n // open and close product selector upon initial load.\n Electro.Products.productSelectorExpand();\n setTimeout(() => {\n Electro.Products.productSelectorExpand();\n }, 3000);\n\n $('.selectorFormColumn #smellHowContainer input:radio').each(function () {\n $(this).hide();\n $('
').insertAfter(this);\n });\n\n $('.selectorFormColumn #dumpOutContainer input:radio').each(function () {\n $(this).hide();\n $('
').insertAfter(this);\n });\n\n $('.selectorFormColumn #scoopableContainer input:radio').each(function () {\n $(this).hide();\n $('
').insertAfter(this);\n });\n\n $('.selectorFormColumn #smellHowContainer .radio-fx').click(function (e) {\n e.preventDefault();\n $('.selectorFormColumn #smellHowContainer input:radio').each(function () {\n $(this).removeAttr('checked');\n });\n const $check = $(this).prev('input');\n $('#smellHowContainer .radio-fx div').attr('class', 'radio');\n $(this).find('div').attr('class', 'radio-checked');\n $check.attr('checked', true);\n });\n\n $('.selectorFormColumn #dumpOutContainer .radio-fx').click(function (e) {\n e.preventDefault();\n const $check = $(this).prev('input');\n $('#dumpOutContainer .radio-fx div').attr('class', 'radio');\n $(this).find('div').attr('class', 'radio-checked');\n $check.attr('checked', true);\n });\n\n $('.selectorFormColumn #scoopableContainer .radio-fx').click(function (e) {\n e.preventDefault();\n const $check = $(this).prev('input');\n $('#scoopableContainer .radio-fx div').attr('class', 'radio');\n $(this).find('div').attr('class', 'radio-checked');\n $check.attr('checked', true);\n });\n\n $('#product-selector-close-button').css('cursor', 'pointer');\n $('#product-selector-close-button').click(() => {\n Electro.Products.productSelectorExpand();\n });\n\n $('#product-open-arrow-button, .product-selector-closed').css('cursor', 'pointer');\n\n $('.product-selector-closed').on('click', 'img, div', (event) => {\n event.preventDefault();\n Electro.Products.productSelectorExpand();\n });\n\n // if ($('#numcats').length) {\n // $('#numcats').selectToUISlider({ tooltip: false });\n // }\n // if ($('#numboxes').length) {\n // $('#numboxes').selectToUISlider({ tooltip: false });\n // }\n\n if (Electro.Products.isItNull($.cookie('scentNoneSelected'))) {\n $.cookie('scentNoneSelected', Electro.Products.scentNoneSelected, { path: '/', expires: 7 });\n // Electro.Products.defaultSet = true;\n }\n\n // fill in cookie values\n if (!Electro.Products.isItNull($.cookie('numCats'))) {\n const len = $('#selector-form #numcats option').length;\n for (let i = 0; i < len; i += 1) {\n if (\n $('#selector-form #numcats option').eq(i).attr('value') ==\n Electro.Products.getCleanCookie($.cookie('numCats'))\n ) {\n $('#selector-form #numcats').val(\n Electro.Products.getCleanCookie($.cookie('numCats')).toString()\n );\n $('#selector-form #numcats').change();\n }\n }\n // $.cookie('numCats',null);\n Electro.Products.defaultSet = true;\n }\n\n if (!Electro.Products.isItNull($.cookie('numBoxes'))) {\n const len = $('#selector-form #numboxes option').length;\n for (let i = 0; i < len; i += 1) {\n if (\n $('#selector-form #numboxes option').eq(i).attr('value') ==\n Electro.Products.getCleanCookie($.cookie('numBoxes'))\n ) {\n $('#selector-form #numboxes').val(\n Electro.Products.getCleanCookie($.cookie('numBoxes')).toString()\n );\n $('#selector-form #numboxes').change();\n }\n }\n // $.cookie('numBoxes',null);\n Electro.Products.defaultSet = true;\n }\n\n if (\n Electro.Products.getCleanCookie($.cookie('scentNoneSelected')) == 'false' ||\n !$.cookie('scentNoneSelected')\n ) {\n if (Electro.Products.getCleanCookie($.cookie('scented')) == 'true') {\n $('#smellToggleScented').css(\n 'background',\n \"url('/wp-content/themes/electro/img/products/fresh-scent-selected.jpg') 3px 0 no-repeat\"\n );\n $('#smellToggleUnscented').css(\n 'background',\n \"url('/wp-content/themes/electro/img/products/no-scent-unselected.jpg') 3px 0 no-repeat\"\n );\n Electro.Products.scentSelected = true;\n Electro.Products.scentNoneSelected = false;\n } else if (Electro.Products.getCleanCookie($.cookie('scented')) == 'false') {\n $('#smellToggleScented').css(\n 'background',\n \"url('/wp-content/themes/electro/img/products/fresh-scent-unselected.jpg') 3px 0 no-repeat\"\n );\n $('#smellToggleUnscented').css(\n 'background',\n \"url('/wp-content/themes/electro/img/products/no-scent-selected.jpg') 3px 0 no-repeat\"\n );\n Electro.Products.scentSelected = false;\n Electro.Products.scentNoneSelected = false;\n } else if (Electro.Products.getCleanCookie($.cookie('scented')) == '') {\n $('#smellToggleScented').css(\n 'background',\n \"url('/wp-content/themes/electro/img/products/fresh-scent-unselected.jpg') 3px 0 no-repeat\"\n );\n $('#smellToggleUnscented').css(\n 'background',\n \"url('/wp-content/themes/electro/img/products/no-scent-unselected.jpg') 3px 0 no-repeat\"\n );\n Electro.Products.scentSelected = false;\n Electro.Products.scentNoneSelected = true;\n }\n // $.cookie('scented',null);\n Electro.Products.defaultSet = true;\n }\n\n if (!Electro.Products.isItNull($.cookie('scoopCount'))) {\n const scoopCount = Electro.Products.getCleanCookie($.cookie('scoopCount'));\n switch (scoopCount) {\n case 'daily':\n $('#scoopa').prop('checked', true);\n $('#scoopa').parent().find('.radio-fx').trigger('click');\n break;\n case '2-3 times\\\\wk':\n $('#scoopb').prop('checked', true);\n $('#scoopb').parent().find('.radio-fx').trigger('click');\n break;\n case '1 or less times\\\\week':\n $('#scoopc').prop('checked', true);\n $('#scoopc').parent().find('.radio-fx').trigger('click');\n break;\n default:\n console.log(`unexpected scoopCount = ${scoopCount}`);\n }\n // $.cookie('scoopCount',null);\n Electro.Products.defaultSet = true;\n }\n\n if (!Electro.Products.isItNull($.cookie('scoopDump'))) {\n const scoopDump = Electro.Products.getCleanCookie($.cookie('scoopDump'));\n switch (scoopDump) {\n case 'always':\n $('#dumpa').prop('checked', true);\n $('#dumpa').parent().find('.radio-fx').trigger('click');\n break;\n case 'allthetime':\n $('#dumpb').prop('checked', true);\n $('#dumpb').parent().find('.radio-fx').trigger('click');\n break;\n case '247':\n $('#dumpc').prop('checked', true);\n $('#dumpc').parent().find('.radio-fx').trigger('click');\n break;\n default:\n console.log(`unexpected scoopDump = ${scoopDump}`);\n }\n // $.cookie('scoopDump',null);\n Electro.Products.defaultSet = true;\n }\n\n if (!Electro.Products.isItNull($.cookie('scoopableProp'))) {\n const scoopableProp = Electro.Products.getCleanCookie($.cookie('scoopableProp'));\n switch (scoopableProp) {\n case 'maximum':\n $('#scoopablea').prop('checked', true);\n $('#scoopablea').parent().find('.radio-fx').trigger('click');\n break;\n case 'tight':\n $('#scoopableb').prop('checked', true);\n $('#scoopableb').parent().find('.radio-fx').trigger('click');\n break;\n case 'crystals':\n $('#scoopablec').prop('checked', true);\n $('#scoopablec').parent().find('.radio-fx').trigger('click');\n break;\n case 'dust':\n $('#scoopabled').prop('checked', true);\n $('#scoopabled').parent().find('.radio-fx').trigger('click');\n break;\n case 'any':\n $('#scoopablee').prop('checked', true);\n $('#scoopablee').parent().find('.radio-fx').trigger('click');\n break;\n default:\n console.log(`1 unexpected scoopableProp = ${scoopableProp}`);\n }\n // $.cookie('scoopableProp',null);\n Electro.Products.defaultSet = true;\n }\n\n $('.product-container').css('cursor', 'pointer');\n $('.product-container').click(function () {\n Electro.Products.onProductSelected($(this));\n });\n\n $('#smellToggleScented').css('cursor', 'pointer');\n $('#smellToggleScented').click(() => {\n Electro.Products.onSmellToggleClicked();\n });\n\n $('#smellToggleUnscented').css('cursor', 'pointer');\n $('#smellToggleUnscented').click(() => {\n Electro.Products.onUnscentedToggleClicked();\n });\n\n $('#catProductFilterForm .sliderDropDown').change(() => {\n Electro.Products.filterProducts();\n });\n\n $('#catProductFilterForm .radio-fx').click(function () {\n const $input = $(this).parent().find('input');\n $('#scoopableContainer').find('input').removeAttr('checked');\n $input.attr('checked', 'checked');\n Electro.Products.filterProducts();\n });\n\n $('.product-container .product-rollover').fadeTo(0, 0);\n\n // Highlight product page product in bottom grid\n $('.product-container').each(function () {\n const productId = $(this).attr('id');\n if ($('body').hasClass(productId)) {\n Electro.Products.onProductRollover($(this));\n }\n });\n\n $('.product-container').hover(\n function () {\n Electro.Products.onProductRollover($(this));\n },\n function () {\n const productId = $(this).attr('id');\n if ($('body').hasClass(productId)) {\n // stay highlighted\n } else {\n Electro.Products.onProductRollout($(this));\n }\n }\n );\n\n $.cookie('numCats', null, { path: '/', expires: 7 });\n $.cookie('numBoxes', null, { path: '/', expires: 7 });\n $.cookie('scented', null, { path: '/', expires: 7 });\n $.cookie('scoopCount', null, { path: '/', expires: 7 });\n $.cookie('scoopDump', null, { path: '/', expires: 7 });\n $.cookie('scoopableProp', null, { path: '/', expires: 7 });\n $.cookie('scentNoneSelected', null, { path: '/', expires: 7 });\n\n // Need to force slider to read '3+'\n $('ol.ui-slider-scale.ui-helper-reset li:nth-last-child(1) span').text('3+');\n\n // Scroll down to product results from selector box\n $('.btn-see-results').click((e) => {\n e.preventDefault();\n Electro.Products.filterProducts();\n $('html, body').animate({ scrollTop: $(document).height() - 100 }, 2000);\n });\n },\n\n isItNull(obj) {\n let rtn = false;\n if (!obj || obj === 'null') {\n rtn = true;\n }\n return rtn;\n },\n\n productSelectorExpand() {\n if (!Electro.Products.productSelectorExpanded) {\n $('.product-selector-closed').css('display', 'none');\n $('.product-selector-open').css('display', 'block');\n Electro.Products.productSelectorExpanded = true;\n } else {\n $('.product-selector-closed').css('display', 'block');\n $('.product-selector-open').css('display', 'none');\n Electro.Products.productSelectorExpanded = false;\n $('.product-selector-open').css('visibility', 'visible');\n }\n },\n\n onProductSelected(scope) {\n const link = scope.attr('link');\n document.location = link;\n },\n\n onSmellToggleClicked() {\n if (!Electro.Products.scentSelected) {\n $('#smellToggleScented').css(\n 'background',\n \"url('/wp-content/themes/electro/img/products/fresh-scent-selected.jpg') 3px 0 no-repeat\"\n );\n $('#smellToggleUnscented').css(\n 'background',\n \"url('/wp-content/themes/electro/img/products/no-scent-unselected.jpg') 3px 0 no-repeat\"\n );\n Electro.Products.scentSelected = true;\n Electro.Products.scentNoneSelected = false;\n Electro.Products.filterProducts();\n }\n },\n\n onUnscentedToggleClicked() {\n if (Electro.Products.scentSelected || Electro.Products.scentNoneSelected) {\n $('#smellToggleScented').css(\n 'background',\n \"url('/wp-content/themes/electro/img/products/fresh-scent-unselected.jpg') 3px 0 no-repeat\"\n );\n $('#smellToggleUnscented').css(\n 'background',\n \"url('/wp-content/themes/electro/img/products/no-scent-selected.jpg') 3px 0 no-repeat\"\n );\n Electro.Products.scentSelected = false;\n Electro.Products.scentNoneSelected = false;\n Electro.Products.filterProducts();\n }\n },\n\n getProductAtts() {\n $.get(\n '/wp-json/scoopaway/v1/product/list/',\n (response) => {\n if (response.data.length == 0) {\n // Error\n } else if (response.status == 0) {\n // Success\n Electro.Products.productAtts = response.data;\n if (Electro.Products.defaultSet) {\n Electro.Products.filterProducts();\n }\n }\n },\n 'json'\n ).fail((jqXHR, textStatus) => {\n // Error\n if (Electro.jsDebug) {\n alert(textStatus);\n console.log(jqXHR);\n }\n });\n },\n\n filterProducts() {\n if ($('#catProductFilterForm').length) {\n const numCats = $('#catProductFilterForm #numcats').val();\n const numBoxes = $('#catProductFilterForm #numboxes').val();\n const scented = Electro.Products.scentSelected;\n const scoopCount = $('input[name=scoop]:checked', '#catProductFilterForm').val();\n const scoopDump = $('input[name=dump]:checked', '#catProductFilterForm').val();\n const scoopableProp = $('input[name=scoopable]:checked', '#catProductFilterForm').val();\n\n $.cookie('scentNoneSelected', Electro.Products.scentNoneSelected, { path: '/', expires: 7 });\n $.cookie('numCats', numCats, { path: '/', expires: 7 });\n $.cookie('numBoxes', numBoxes, { path: '/', expires: 7 });\n $.cookie('scented', scented, { path: '/', expires: 7 });\n $.cookie('scoopCount', scoopCount, { path: '/', expires: 7 });\n $.cookie('scoopDump', scoopDump, { path: '/', expires: 7 });\n $.cookie('scoopableProp', scoopableProp, { path: '/', expires: 7 });\n\n let len = Electro.Products.productAtts.length;\n let products = [];\n\n for (let i = 0; i < len; i += 1) {\n const obj = Electro.Products.productAtts[i];\n const { name } = obj;\n\n // numCat filter\n const numCatData = obj.numCats;\n let counter = 1;\n $.each(numCatData, (key, value) => {\n if (counter == numCats && value == 1) {\n products.push(name);\n }\n counter += 1;\n });\n }\n\n products = Electro.Products.removeDuplicates(products);\n\n len = Electro.Products.productAtts.length;\n for (let i = 0; i < len; i += 1) {\n const obj = Electro.Products.productAtts[i];\n\n const { name } = obj;\n // scented filter\n if (Electro.Products.existsInArray(products, name) && !Electro.Products.scentNoneSelected) {\n let scentBool;\n if (scented) {\n scentBool = obj.scented == 1 ? 1 : 0;\n } else if (!scented) {\n scentBool = obj.scented == 0 ? 1 : 0;\n }\n if (scentBool == 0) {\n Electro.Products.removeStringInArray(products, name);\n }\n }\n }\n\n products = Electro.Products.removeDuplicates(products);\n\n len = Electro.Products.productAtts.length;\n for (let i = 0; i < len; i += 1) {\n const obj = Electro.Products.productAtts[i];\n const { name } = obj;\n\n // scoop filter\n if (Electro.Products.existsInArray(products, name)) {\n const concernData = obj.concern;\n $.each(concernData, (key, value) => {\n switch (scoopableProp) {\n case 'maximum':\n if (key == 'concern1' && value == 0) {\n Electro.Products.removeStringInArray(products, name);\n }\n break;\n case 'tight':\n if (key == 'concern2' && value == 0) {\n Electro.Products.removeStringInArray(products, name);\n }\n break;\n case 'dust':\n if (key == 'concern3' && value == 0) {\n Electro.Products.removeStringInArray(products, name);\n }\n break;\n case 'any':\n if (key == 'concern4' && value == 0) {\n Electro.Products.removeStringInArray(products, name);\n }\n break;\n default:\n // console.log(`2 unexpected scoopableProp = ${scoopableProp}`);\n }\n });\n }\n }\n\n products = Electro.Products.removeDuplicates(products);\n\n $('#product-grid .product-container').each(function () {\n if (Electro.ScoopAway.isIE()) {\n $(this).css('display', 'inline');\n $(this).css('float', 'left');\n } else {\n $(this).css('display', 'inline-block');\n }\n\n $(this).hide();\n });\n\n len = products.length;\n // First test if no products, and if so show no results image\n if (len > 0) {\n $('.no-results').hide();\n $('.product-results h2').show();\n for (let i = 0; i < len; i += 1) {\n $(`#${products[i]}`).show();\n }\n } else {\n $('.product-results h2').hide();\n $('.no-results').fadeIn('slow');\n }\n }\n },\n\n removeDuplicates(arr) {\n const uniqueArr = [];\n $.each(arr, (i, el) => {\n if ($.inArray(el, uniqueArr) === -1) uniqueArr.push(el);\n });\n\n return uniqueArr;\n },\n\n existsInArray(arr, find) {\n let exists = false;\n const len = arr.length;\n for (let i = 0; i < len; i += 1) {\n if (arr[i].toLowerCase() == find.toLowerCase()) {\n exists = true;\n break;\n }\n }\n return exists;\n },\n\n removeStringInArray(arr, find) {\n const len = arr.length;\n for (let i = 0; i < len; i += 1) {\n if (arr[i].toLowerCase() === find.toLowerCase()) {\n arr.splice(i, 1);\n break;\n }\n }\n return arr;\n },\n\n getCleanCookie(cook) {\n if (cook != null) {\n const clean = cook.split('/');\n return decodeURIComponent(clean[0]);\n }\n\n return null;\n },\n\n onProductRollover(scope) {\n scope.find('.product-rollover').fadeTo('normal', 1);\n scope.find('.product-shot h3').css('color', '#57d3f6');\n },\n\n onProductRollout(scope) {\n scope.find('.product-rollover').fadeTo('normal', 0);\n scope.find('.product-shot h3').css('color', '#6D1F7E');\n },\n };\n })();\n\n $(document).ready(() => {\n Electro.Products.init();\n });\n})(jQuery);\n","module.exports = jQuery;","// 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].call(module.exports, 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","// 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__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\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\t983: 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[\"webpackChunkscoopaway_dot_com\"] = self[\"webpackChunkscoopaway_dot_com\"] || [];\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\nvar __webpack_exports__ = __webpack_require__.O(undefined, [121], () => (__webpack_require__(592)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","$","jQuery","Electro","Products","productSelectorExpanded","scentSelected","scentNoneSelected","defaultSet","productAtts","init","length","getProductAtts","each","this","show","ScoopAway","isIE","css","productSelectorExpand","setTimeout","hide","insertAfter","click","e","preventDefault","removeAttr","$check","prev","attr","find","on","event","isItNull","cookie","path","expires","len","i","eq","getCleanCookie","val","toString","change","scoopCount","prop","parent","trigger","console","log","concat","scoopDump","scoopableProp","onProductSelected","onSmellToggleClicked","onUnscentedToggleClicked","filterProducts","$input","fadeTo","productId","hasClass","onProductRollover","hover","onProductRollout","text","animate","scrollTop","document","height","obj","rtn","scope","link","location","get","response","data","status","fail","jqXHR","textStatus","jsDebug","alert","numCats","numBoxes","scented","products","_loop","name","numCatData","counter","key","value","push","removeDuplicates","existsInArray","scentBool","removeStringInArray","_loop2","concernData","concern","fadeIn","arr","uniqueArr","el","inArray","exists","toLowerCase","splice","cook","clean","split","decodeURIComponent","ready","module","exports","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","call","m","O","result","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","g","globalThis","Function","window","prototype","hasOwnProperty","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","id","chunkLoadingGlobal","self","forEach","bind","__webpack_exports__"],"sourceRoot":""}