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,cAAc,IAAIC,YAAY,mBAAmB,GAClD,KAGHH,EAAEtJ,iBAAiB,SAASuE,IAC3BA,EAAEmF,iBACF7N,KAAKmN,aAAaM,GAElBzN,KAAKiN,QAAQM,SAAQvL,IAEpB,GAAIA,EAAGG,IAAMK,EAAKL,GACjBH,EAAGyC,MAAMC,QAAU,WACb,CACN,MAAMwD,EAAIlG,EAAGC,cAAe,yBACxBiG,IACHlG,EAAGyC,MAAMC,QAAU,GACnBwD,EAAEyF,cAAc,IAAIC,YAAY,kBAElC,IACC,IAIJxG,EAAU0G,YAAYL,EAAE,IAE1B,IAAIM,EAAoBnM,SAASK,cAAc,yBAC/C,MAAO8L,EAAkBC,WACxBD,EAAkBE,YAAYF,EAAkBG,WAEjDH,EAAkBD,YAAY1G,EAC/B,EAGD,gBACKxD,EAAAA,IAAgBhC,SAASK,cAAc,mBAC3C,IAAI4B,C","sources":["webpack://tombras/./js/vue/components/ProductSearchResults.vue","webpack://tombras/./js/vue/search-results.js","webpack://tombras/js/vue/components/ProductSearchResults.vue","webpack://tombras/./js/vue/components/ProductSearchResults.vue?4dc8","webpack://tombras/./js/vue/components/ProductSearchResults.vue?abbc","webpack://tombras/./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://tombras/./js/classes/Card.js","webpack://tombras/./js/components/SearchResults.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.searchText)?_c('div',{staticClass:\"recipe-slider search-slider product\",attrs:{\"id\":\"search-product\"}},[_c('div',{staticClass:\"card-with-arrows\"},[_c('div',{staticClass:\"prev-btn hide\",attrs:{\"aria-label\":\"Previous\",\"role\":\"button\",\"tabindex\":\"-1\"}}),_c('div',{staticClass:\"frow-container\"},[(_vm.products && _vm.products.length)?_c('div',{staticClass:\"frow gutters recipe-slider--title search--title card-container\"},[_vm._m(0)]):_vm._e(),_c('div',{staticClass:\"search-slider-results card-container row-start\"},[(_vm.products && _vm.products.length)?_c('div',{staticClass:\"card-container-inner\"},_vm._l((_vm.products),function(product){return _c('div',{key:product.ID,staticClass:\"sleek-card card\"},[_c('a',{staticClass:\"sleek-card--card normal-size\",attrs:{\"href\":product.link}},[(product.promotion)?_c('div',{staticClass:\"product-listing--item-promotion\"},[_vm._v(\" ON SALE \")]):_vm._e(),(product.bonusProduct)?_c('div',{staticClass:\"promotion-tag promotion-tag-primary\"},[_c('p',{staticClass:\"promotion-tag_line-small\"},[_vm._v(\"Includes a\")]),_c('p',{staticClass:\"promotion-tag_line-large\"},[_vm._v(\"Free\")]),_c('p',{staticClass:\"promotion-tag_line-large\"},[_vm._v(\"Gift!\")])]):_vm._e(),_c('div',{staticClass:\"sleek-card--image\"},[_c('img',{staticClass:\"lazyloaded\",attrs:{\"data-src\":_vm.getImageUrl(product),\"alt\":product.image && product.image.alt ? product.image.alt : `Image of ${product.title}`,\"src\":_vm.getImageUrl(product)}})]),_c('div',{staticClass:\"sleek-card--content\"},[_c('h4',{staticClass:\"h7\"},[_vm._v(\" \"+_vm._s(product.title)+\" \")]),_c('span',{staticClass:\"button-description\"},[_vm._v(\"View product\")])])])])}),0):_vm._e()])]),_c('div',{staticClass:\"next-btn hide\",attrs:{\"aria-label\":\"Next\",\"role\":\"button\",\"tabindex\":\"0\"}})])]):_vm._e()\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"search--title-main\"},[_c('h3',[_vm._v(\"Products\")])])\n}]\n\nexport { render, staticRenderFns }","// Get results category and count\nexport const getSearchResultsFromSlides = () => {\n\treturn new Promise((resolve) => {\n\t\tconst slides = [...document.querySelectorAll(\".search-slider\")];\n\t\tif (slides.length === 0) return [];\n\t\tlet categories = [...slides].map(el => {\n\t\t\tconst title = (el.querySelector(\".search--title-main h3\") && el.querySelector(\".search--title-main h3\").innerText) || \"\";\n\t\t\tif (title === '') return {};\n\t\t\treturn {\n\t\t\t\ttitle,\n\t\t\t\tid: el.id,\n\t\t\t\tcount: el.querySelectorAll(\".card-container-inner .card\").length,\n\t\t\t};\n\t\t});\n\t\tcategories = [...categories].filter((category) => category.title);\n\t\tresolve(categories);\n\t});\n};\n","\n\n\n\n\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductSearchResults.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductSearchResults.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductSearchResults.vue?vue&type=template&id=695962e4&scoped=true\"\nimport script from \"./ProductSearchResults.vue?vue&type=script&lang=js\"\nexport * from \"./ProductSearchResults.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"695962e4\",\n null\n \n)\n\nexport default component.exports","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { DESKTOP_SIZE } from \"../utils\";\nimport gsap from \"gsap\";\nimport { DEFAULT_TIME_SHORT } from \"../animations/config\";\nimport Draggable from \"gsap/Draggable\";\nimport InertiaPlugin from '../vendors/gsap-bonus/InertiaPlugin';\ngsap.registerPlugin(Draggable, InertiaPlugin);\n\n/**\n * Arrows\n * @typedef {{\n * \tprev: HTMLElement,\n * \tnext: HTMLElement,\n * }} Arrows\n */\nclass Cards {\n\tconstructor(el, margin) {\n\t\tthis.el = el;\n\t\tthis.margin = margin;\n\t\tthis.draggable = null;\n\t\tthis.isDragEnabled = false;\n\t\tthis.cardSelector = null;\n\t\tthis.container = null;\n\t}\n\n\t/**\n\t * Converts container into a draggable element based off\n\t * elements matching the selector. Can / will be disabled\n\t * as needed based on scroll sizes\n\t * @param {HTMLElement} container\n\t * @param {string} selector\n\t * @return void\n\t */\n\tmakeDraggable(container, selector = \".card\") {\n\t\t// doing this to make it easier\n\t\tthis.cardSelector = selector;\n\t\tthis.container = container;\n\n\t\t// Added this line because of layout pages sometimes freaking out\n\t\tif (!this.container) return false;\n\t\tconst snapPoints = this.calculateSnapPoints(selector);\n\t\tconst [slider] = Draggable.create(container, {\n\t\t\ttype: \"x\",\n\t\t\tbound: window,\n\t\t\tallowContextMenu: true,\n\t\t\tedgeResistance: 0.9,\n\t\t\tdragClickables: true,\n\t\t\tdragResistance: 0.2,\n\t\t\tthrowResistance: 10000,\n\t\t\tinertia: true,\n\t\t\tsnap: {\n\t\t\t\tx: snapPoints,\n\t\t\t},\n\t\t});\n\n\t\tif (!snapPoints) {\n\t\t\tthis.isDragEnabled = false;\n\t\t\tslider.disable();\n\t\t} else {\n\t\t\tthis.isDragEnabled = true;\n\t\t}\n\t\tthis.draggable = slider;\n\n\t\tconst nextEl = this.container.nextElementSibling;\n\t\tif (nextEl && nextEl.classList.contains(\"mobile-indicator\")) {\n\t\t\tthis.attachIndicatorStatus(nextEl);\n\t\t}\n\n\t\tthis.handleArrows();\n\n\t\tconsole.log(\"DRAG STATUS\", this.isDragEnabled);\n\t\t// setup a kill switch for search page\n\t\tconsole.log(this.container, \"kill draggable setup\");\n\t\tthis.container.addEventListener(\"killDraggable\", e => {\n\t\t\tconsole.log(this.container, \"kill draggable yo\");\n\t\t\tif (this.draggable) this.killDraggable();\n\t\t});\n\t\tthis.container.addEventListener(\"resumeDraggable\", e => {\n\t\t\tconsole.log(this.container, \"resume draggable yo\");\n\t\t\tif (this.draggable) this.resumeDraggable();\n\t\t});\n\t}\n\n\ttoggleDraggable({ status = false } = {}) {\n\t\tconsole.log(status);\n\t\tif (this.draggable) {\n\t\t\tthis.isDragEnabled = status;\n\t\t\tconst dFn = status ? \"enable\" : \"disable\";\n\t\t\tthis.draggable[dFn]();\n\t\t\tconst classFn = status ? \"remove\" : \"add\";\n\t\t\tthis.container.parentNode.classList[classFn](\"no-wrap\");\n\t\t\tif (this.container.closest(\".card-with-arrows\")) {\n\t\t\t\tthis.container\n\t\t\t\t\t.closest(\".card-with-arrows\")\n\t\t\t\t\t.classList[classFn](\"killed\");\n\t\t\t}\n\t\t\tthis.container.style.transform = \"\";\n\n\t\t\tconsole.log(dFn, classFn);\n\t\t}\n\t}\n\n\tkillDraggable() {\n\t\tif (this.draggable) {\n\t\t\tthis.toggleDraggable({ status: false });\n\t\t}\n\t}\n\n\tresumeDraggable() {\n\t\tif (this.draggable && !this.isDragEnabled) {\n\t\t\tthis.toggleDraggable({ status: true });\n\t\t}\n\t}\n\n\t/**\n\t * @return number\n\t */\n\tgetCurrentPosition() {\n\t\tconst { x } = this.draggable;\n\t\tconst snapX = this.draggable.vars.snap.x;\n\t\tif (!(snapX && snapX.findIndex)) {\n\t\t\treturn 0;\n\t\t}\n\t\tconst foundIndex = snapX.findIndex(pt => {\n\t\t\treturn Math.abs(pt) === Math.abs(x);\n\t\t});\n\t\treturn foundIndex;\n\t}\n\n\t/**\n\t *\n\t * @param {HTMLElement} indicatorBar\n\t * @return void\n\t */\n\tattachIndicatorStatus(indicatorBar) {\n\t\tthis.updateIndicatorWidth();\n\t\tthis.draggable.addEventListener(\"throwcomplete\", data => {\n\t\t\tthis.updateIndicatorWidth();\n\t\t});\n\t}\n\n\tupdateIndicatorWidth() {\n\t\tconst nextEl = this.container.nextElementSibling;\n\t\tif (nextEl && nextEl.classList.contains(\"mobile-indicator\")) {\n\t\t\tconst percentageBar = nextEl.querySelector(\".percentage\");\n\t\t\tconst { x } = this.draggable;\n\t\t\tconst snapX = this.draggable.vars.snap.x;\n\t\t\tif (snapX && snapX.findIndex) {\n\t\t\t\tconst foundIndex = snapX.findIndex(pt => pt === x);\n\t\t\t\tpercentageBar.style.width = `${((foundIndex + 1) / snapX.length) *\n\t\t\t\t\t100}%`;\n\t\t\t} else {\n\t\t\t\tpercentageBar.style.width = `0%`;\n\t\t\t}\n\t\t}\n\t}\n\t/**\n\t *\n\t * @param {Arrows} arrows\n\t * @param {number} position\n\t * @param {number} numItems\n\t */\n\tarrowsData({ prev, next }, position, numItems) {\n\t\tconsole.log({ prev, next }, position, numItems);\n\t\tif (position <= 0) {\n\t\t\tprev.classList.add(\"hide\");\n\t\t} else {\n\t\t\tprev.classList.remove(\"hide\");\n\t\t}\n\t\tconsole.log(position, numItems, numItems - 1);\n\t\tif (position < numItems - 1) {\n\t\t\tnext.classList.remove(\"hide\");\n\t\t} else {\n\t\t\tnext.classList.add(\"hide\");\n\t\t}\n\t}\n\n\t/**\n\t *\n\t * @param {number} pos\n\t * @return void\n\t */\n\tprogrammaticallyTweenPosition(pos) {\n\t\tgsap.to(this.draggable.target, DEFAULT_TIME_SHORT, {\n\t\t\tx: pos,\n\t\t\tonComplete: () => {\n\t\t\t\tthis.draggable.update();\n\t\t\t\tthis.updateIndicatorWidth();\n\t\t\t},\n\t\t});\n\t}\n\n\t/**\n\t * If arrows are present, this will hook up all of their functionality\n\t */\n\thandleArrows() {\n\t\tconst arrows = this.container.closest(\".card-with-arrows\");\n\t\tif (!arrows) return false;\n\t\tconst numItems = this.container.querySelectorAll(this.cardSelector).length;\n\t\tconst prev = arrows.querySelector(\".prev-btn\");\n\t\tconst next = arrows.querySelector(\".next-btn\");\n\n\t\tif (arrows) {\n\t\t\tthis.arrowsData(\n\t\t\t\t{ prev, next },\n\t\t\t\tthis.getCurrentPosition(),\n\t\t\t\tthis.draggable.vars.snap.x.length,\n\t\t\t);\n\t\t\tnext.addEventListener(\"click\", e => {\n\t\t\t\tconst pos = this.getCurrentPosition() + 1;\n\t\t\t\tconst { x } = this.draggable.vars.snap;\n\t\t\t\tconst newPos = x[pos];\n\n\t\t\t\tif (pos < numItems) {\n\t\t\t\t\tthis.programmaticallyTweenPosition(newPos);\n\t\t\t\t\tthis.arrowsData({ prev, next }, pos, x.length);\n\t\t\t\t}\n\t\t\t});\n\t\t\tprev.addEventListener(\"click\", e => {\n\t\t\t\tconst pos = this.getCurrentPosition() - 1;\n\t\t\t\tconst { x } = this.draggable.vars.snap;\n\t\t\t\tconst newPos = x[pos];\n\t\t\t\tif (pos >= 0) {\n\t\t\t\t\tthis.programmaticallyTweenPosition(newPos);\n\t\t\t\t\tthis.arrowsData({ prev, next }, pos, x.length);\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis.draggable.addEventListener(\"throwcomplete\", data => {\n\t\t\t\tthis.arrowsData(\n\t\t\t\t\t{ prev, next },\n\t\t\t\t\tthis.getCurrentPosition(),\n\t\t\t\t\tthis.draggable.vars.snap.x.length,\n\t\t\t\t);\n\t\t\t});\n\t\t}\n\t}\n\n\t/**\n\t * Calculates all the x-axis snap points for scrolling\n\t * @param {string} selector\n\t */\n\tcalculateSnapPoints(selector = \".card, .sleek-card\") {\n\t\tconsole.log(this, selector, this.el);\n\t\tif (!this.el) return [];\n\t\tconst cards = this.el.querySelectorAll(selector);\n\t\tif (!cards.length) return [];\n\n\t\t// get the total width\n\t\tconst computedCardStyle = window.getComputedStyle(\n\t\t\tcards.length > 1 ? cards[1] : cards[0],\n\t\t);\n\t\tconst cardMargin =\n\t\t\tparseInt(computedCardStyle.marginLeft, 10) +\n\t\t\tparseInt(computedCardStyle.marginRight, 10);\n\t\tconsole.log(\n\t\t\t\"CARD MARGIN\",\n\t\t\tparseInt(computedCardStyle.marginRight, 10),\n\t\t\tparseInt(computedCardStyle.marginLeft, 10),\n\t\t\tcardMargin,\n\t\t);\n\t\tlet totalWidth = [...cards].reduce((acc, curr, idx) => {\n\t\t\treturn (acc += curr.offsetWidth + cardMargin);\n\t\t}, 0);\n\n\t\t// compare to see if we need to have this enabled\n\t\tconst containerWidth = Math.min(\n\t\t\tcards[0].parentNode.offsetWidth,\n\t\t\tcards[0].parentNode.parentNode.offsetWidth,\n\t\t);\n\t\tconsole.log(totalWidth, containerWidth);\n\t\tif (totalWidth <= containerWidth) {\n\t\t\tconsole.log(243);\n\t\t\treturn false;\n\t\t}\n\n\t\t// now we're calculating how to move the cards around\n\t\tconst cardCount = cards.length;\n\t\tconst cardSize = cards[0].offsetWidth;\n\t\tconst cardsPerPage =\n\t\t\tMath.floor(containerWidth / (cardSize + cardMargin)) || 1;\n\t\tconst sizeArr = Math.ceil(cardCount / cardsPerPage);\n\n\t\t// in case something is hidden, all of our math just fails\n\t\t// and we don't need this anyways, so disable!\n\t\tif (isNaN(sizeArr)) return false;\n\n\t\tconst snapsArr = Array(sizeArr);\n\t\t// const snapsArr = Array(cardCount);\n\n\t\tlet _width = 0;\n\t\tconst positions = [...snapsArr].map((_, idx) => {\n\t\t\tif (idx === 0) return 0; // force to 0 so we always align on left\n\t\t\tlet cardsInSection = [...cards].slice(\n\t\t\t\tidx * cardsPerPage,\n\t\t\t\tidx * cardsPerPage + cardsPerPage,\n\t\t\t).length;\n\n\t\t\t// console.log(227, cardsPerPage, cardCount);\n\t\t\t_width += cardSize * cardsInSection + cardsInSection * cardMargin;\n\t\t\t// _width += cardSize + cardMargin;\n\t\t\t// console.log(`${idx}: -${_width}`);\n\t\t\treturn -_width;\n\t\t});\n\n\t\tconsole.log(`SNAP POSITIONS:`, positions);\n\t\treturn positions;\n\t}\n\n\t/**\n\t * Wraps calculateSnapPoints and sets the object\n\t * @param {*} selector\n\t */\n\tupdateSnapPoints(selector = \".card\") {\n\t\tconst snapPoints = this.calculateSnapPoints(selector);\n\t\tthis.draggable.vars.snap.x = snapPoints;\n\t\treturn snapPoints;\n\t}\n\n\tdebug() {\n\t\tconsole.log(this);\n\t}\n\n\t/**\n\t * Handles turning cards on / off as required by screen sizes\n\t * @param {string} selector\n\t */\n\trecalculate(selector) {\n\t\tconst snapPoints = this.updateSnapPoints(selector);\n\n\t\t// is drag enabled and now we have no snap points?\n\t\t// is drag disabled and we have snap points\n\t\t// is drag enabled and we're now on desktop but we don't want to do that?\n\t\tif (this.disabledOnDesktop && window.innerWidth >= DESKTOP_SIZE) {\n\t\t\tthis.draggable.disable();\n\t\t\tthis.isDragEnabled = false;\n\t\t} else if (this.isDragEnabled && !snapPoints) {\n\t\t\tthis.draggable.disable();\n\t\t\tthis.isDragEnabled = false;\n\t\t} else if (!this.isDragEnabled && snapPoints) {\n\t\t\tthis.draggable.enable();\n\t\t\tthis.isDragEnabled = true;\n\t\t}\n\n\t\tconst arrows = this.container.closest(\".card-with-arrows\");\n\t\tif (arrows) {\n\t\t\tconst prev = arrows.querySelector(\".prev-btn\");\n\t\t\tconst next = arrows.querySelector(\".next-btn\");\n\n\t\t\tthis.arrowsData(\n\t\t\t\t{ prev, next },\n\t\t\t\tthis.getCurrentPosition(),\n\t\t\t\tthis.draggable.vars.snap.x.length,\n\t\t\t);\n\t\t}\n\t}\n}\n\nexport default Cards;\n","import { isLayoutPage } from \"../utils\";\nclass SearchResults {\n\tconstructor() {\n\t\tthis.sliders = [...document.querySelectorAll(\".search-slider\")];\n\t\tif (this.sliders.length) {\n\t\t\tthis.buildFilterList();\n\t\t}\n\t}\n\n\tupdateActive(newActive, force = false) {\n\t\tconst filters = document.querySelectorAll(\".search--page-filters a\");\n\t\tconsole.log(\"FILTERS ARE:\", filters);\n\t\t[...filters].forEach(el => {\n\t\t\tconsole.log(el, newActive, el === newActive);\n\t\t\tel === newActive\n\t\t\t\t? el.classList.add(\"active\")\n\t\t\t\t: el.classList.remove(\"active\");\n\t\t});\n\n\t\t// doing this so we can add it to \"all\"\n\t\tif (force) {\n\t\t\tnewActive.classList.add(\"active\");\n\t\t}\n\t}\n\n\tbuildFilterList() {\n\t\tconst container = document.createElement(\"div\");\n\t\t[{ title: \"All\", id: \"lodge-clear\" }, ...this.sliders]\n\t\t\t.map(el => {\n\t\t\t\tif (el.title === \"All\") {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttitle: \"All\",\n\t\t\t\t\t\tid: el.id,\n\t\t\t\t\t\tcount: null,\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\tconsole.log(el);\n\t\t\t\tconst title =\n\t\t\t\t\t(el.querySelector(\".search--title-main h3\") && el.querySelector(\".search--title-main h3\").innerText) ||\n\t\t\t\t\t\"\"; // \"Unknown Type\"\n\t\t\t\tconst count = el.querySelectorAll(\".card-container-inner .card\").length;\n\t\t\t\tconst id = el.id;\n\t\t\t\treturn {\n\t\t\t\t\ttitle,\n\t\t\t\t\tid,\n\t\t\t\t\tcount,\n\t\t\t\t};\n\t\t\t}).filter((a) => a.title)\n\t\t\t.forEach(data => {\n\t\t\t\tconst a = document.createElement(\"a\");\n\t\t\t\ta.href = `#${data.id}`;\n\t\t\t\tconst count = data.count ? `(${data.count})` : \"\";\n\t\t\t\ta.innerText = `${data.title} ${count}`;\n\t\t\t\tif (data.id === \"lodge-clear\") {\n\t\t\t\t\ta.classList.add(\"active\");\n\t\t\t\t\ta.addEventListener(\"click\", e => {\n\t\t\t\t\t\tthis.sliders.forEach(el => {\n\t\t\t\t\t\t\tthis.updateActive(a, true);\n\n\t\t\t\t\t\t\tel.style.display = \"\";\n\t\t\t\t\t\t\tconst x = el.querySelector(\".card-container-inner\");\n\t\t\t\t\t\t\tx.dispatchEvent(new CustomEvent(\"resumeDraggable\"));\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\ta.addEventListener(\"click\", e => {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\tthis.updateActive(a);\n\n\t\t\t\t\t\tthis.sliders.forEach(el => {\n\t\t\t\t\t\t\tconsole.log(el.id, data.id);\n\t\t\t\t\t\t\tif (el.id != data.id) {\n\t\t\t\t\t\t\t\tel.style.display = \"none\";\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconst x = el.querySelector(`.card-container-inner`);\n\t\t\t\t\t\t\t\tif (x) {\n\t\t\t\t\t\t\t\t\tel.style.display = \"\";\n\t\t\t\t\t\t\t\t\tx.dispatchEvent(new CustomEvent(\"killDraggable\"));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tcontainer.appendChild(a);\n\t\t\t});\n\t\tlet searchPageFilters = document.querySelector(\".search--page-filters\");\n\t\twhile (searchPageFilters.firstChild) {\n\t\t\tsearchPageFilters.removeChild(searchPageFilters.lastChild);\n\t\t}\n\t\tsearchPageFilters.appendChild(container);\n\t}\n}\n\nexport default SearchResults;\nif (!isLayoutPage && document.querySelector(\".search-slider\")) {\n\tnew SearchResults();\n}\n"],"names":["render","_vm","this","_c","_self","searchText","staticClass","attrs","products","length","_m","_e","_l","product","key","ID","link","promotion","_v","bonusProduct","getImageUrl","image","alt","title","_s","staticRenderFns","getSearchResultsFromSlides","Promise","resolve","slides","document","querySelectorAll","categories","map","el","querySelector","innerText","id","count","filter","category","name","data","slider","margin","loadingState","props","methods","reloadPage","window","location","reload","url","builCustomdGTM","gtmCustomEventPush","event","term","watch","immediate","handler","items","Vue","isLayoutPage","SearchResults","recalculate","domSlider","$el","Cards","makeDraggable","addEventListener","debounce","mounted","getProductsSearchResults","encodeURIComponent","closest","style","display","$nextTick","component","normalizeComponent","scriptExports","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","options","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","call","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","exports","gsap","registerPlugin","Draggable","InertiaPlugin","constructor","draggable","isDragEnabled","cardSelector","container","selector","snapPoints","calculateSnapPoints","create","type","bound","allowContextMenu","edgeResistance","dragClickables","dragResistance","throwResistance","inertia","snap","x","disable","nextEl","nextElementSibling","classList","contains","attachIndicatorStatus","handleArrows","e","killDraggable","resumeDraggable","toggleDraggable","status","dFn","classFn","parentNode","transform","getCurrentPosition","snapX","vars","findIndex","foundIndex","pt","Math","abs","indicatorBar","updateIndicatorWidth","percentageBar","width","arrowsData","prev","next","position","numItems","remove","programmaticallyTweenPosition","pos","to","target","DEFAULT_TIME_SHORT","onComplete","update","arrows","newPos","cards","computedCardStyle","getComputedStyle","cardMargin","parseInt","marginLeft","marginRight","totalWidth","reduce","acc","curr","idx","offsetWidth","containerWidth","min","cardCount","cardSize","cardsPerPage","floor","sizeArr","ceil","isNaN","snapsArr","Array","_width","positions","_","cardsInSection","slice","updateSnapPoints","debug","disabledOnDesktop","innerWidth","DESKTOP_SIZE","enable","sliders","buildFilterList","updateActive","newActive","force","filters","forEach","createElement","a","href","dispatchEvent","CustomEvent","preventDefault","appendChild","searchPageFilters","firstChild","removeChild","lastChild"],"sourceRoot":""}