{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///../storefront-reference-architecture/node_modules/lodash/isObject.js","webpack:///../storefront-reference-architecture/node_modules/lodash/_root.js","webpack:///../storefront-reference-architecture/node_modules/lodash/_Symbol.js","webpack:///../storefront-reference-architecture/node_modules/lodash/debounce.js","webpack:///../storefront-reference-architecture/node_modules/lodash/now.js","webpack:///../storefront-reference-architecture/node_modules/lodash/_freeGlobal.js","webpack:///../storefront-reference-architecture/node_modules/lodash/toNumber.js","webpack:///../storefront-reference-architecture/node_modules/lodash/isSymbol.js","webpack:///../storefront-reference-architecture/node_modules/lodash/_baseGetTag.js","webpack:///../storefront-reference-architecture/node_modules/lodash/_getRawTag.js","webpack:///../storefront-reference-architecture/node_modules/lodash/_objectToString.js","webpack:///../storefront-reference-architecture/node_modules/lodash/isObjectLike.js","webpack:///./cartridges/app_custom_core/cartridge/client/default/js/carousel.js","webpack:///(webpack)/buildin/global.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","type","freeGlobal","freeSelf","self","root","Function","isObject","now","toNumber","nativeMax","Math","max","nativeMin","min","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","undefined","apply","leadingEdge","setTimeout","timerExpired","shouldInvoke","timeSinceLastCall","trailingEdge","timeWaiting","remainingWait","debounced","isInvoking","arguments","this","clearTimeout","cancel","flush","Date","global","isSymbol","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","other","valueOf","replace","isBinary","test","slice","baseGetTag","isObjectLike","getRawTag","objectToString","symToStringTag","objectProto","nativeObjectToString","toString","isOwn","tag","unmasked","e","debounce","carouselMobile","document","getElementsByClassName","$","length","hasClass","style","display","divCollapse","createElement","classList","add","btn","innerHTML","carouselTitle","textContent","textAlign","appendChild","addEventListener","on","wppIcon","collapse","experienceComponent","experienceComponentRow","querySelector","mainContent","getElementById","col12","screenSize","element","itemsToDisplay","sufficientSlides","viewSize","window","width","extraSmallDisplay","data","smallDisplay","mediumDisplay","numberOfSlides","hiddenSlides","carousel","lastDisplayedElement","elementToBeDisplayed","find","removeAttr","attr","carouselInit","observer","map","displayControls","dataset","current","identifier","interval","controlsXs","controlsSm","controlsMd","hide","querySelectorAll","md","touchStartEvent","xClick","originalEvent","touches","pageX","one","touchMoveEvent","xMove","floor","off","activeCarouselPosition","relatedTarget","removeClass","addClass","arrayOfSlidesToDisplay","push","carouselItem","elementIndex","index","carouselInner","it","direction","eq","appendTo","disconnect","position","bottom","zIndex","padding","ready","target","MutationObserver","mutations","obs","forEach","mutation","newNodes","addedNodes","$nodes","observe","attributes","childList","subtree","onload","mediumBp","matchMedia","changeSize","mql","matches","addListener","g"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,E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B,GAAiB,OAAbD,EAAmB,CACnB,IAAIE,EAAShG,EAAE8F,GACfE,EAAOlD,IAAIvI,IACHyF,EAAEgG,EAAOzL,IAAM2F,SAAS,mCACxB0C,EAAa+C,YAexBM,QAAQT,EAPJ,CACTU,YAAY,EACZC,WAAW,EACXC,SAAS,IAMbxD,OAIJ,IAAI3B,EAAUnB,SAASC,uBAAuB,iBAC9C,GAAIkB,EAAQ,GAAI,CACZa,OAAOuE,OAAS,WACEvG,SAASC,uBAAuB,8BAElD,IAAIuG,EAAWC,WAAW,sBACtBC,EAAaC,IACTA,EAAIC,SACJzF,EAAQ,GAAGd,MAAMiF,OAAS,MAC1BtD,OAAOuE,OAAS,WACEvG,SAASC,uBAAuB,6BACtC,GAAGI,MAAMiF,OAAS,QAEvBpF,EAAEH,EAAeA,EAAeI,OAAS,IAAIC,SAAS,iCAC7De,EAAQ,GAAGd,MAAMiF,OAAS,OAC1BtD,OAAOuE,OAAS,WACEvG,SAASC,uBAAuB,6BACtC,GAAGI,MAAMiF,OAAS,UAG9BnE,EAAQ,GAAGd,MAAMiF,OAAS,MAC1BtD,OAAOuE,OAAS,WACEvG,SAASC,uBAAuB,6BACtC,GAAGI,MAAMiF,OAAS,SAKtCkB,EAASK,YAAYH,GACrBA,EAAWF,K,gBC3Xf,IAAIM,EAGJA,EAAI,WACH,OAAO/I,KADJ,GAIJ,IAEC+I,EAAIA,GAAK,IAAIvL,SAAS,cAAb,GACR,MAAOsE,GAEc,iBAAXmC,SAAqB8E,EAAI9E,QAOrC/I,EAAOD,QAAU8N","file":"default/js/carousel.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 58);\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","/* eslint-disable array-callback-return */\n'use strict';\nvar debounce = require('lodash/debounce');\n\n/**\n * Get display information related to screen size\n * @param {jQuery} element - the current carousel that is being used\n * @returns {Object} an object with display information\n */\n\n/* getting the categories-carousel-collapse */\nlet carouselMobile = document.getElementsByClassName('categories-carousel-collapse');\n\n/* starts with hidden carousel */\nif ($(carouselMobile[carouselMobile.length - 1]).hasClass('categories-carousel-collapse')) {\n carouselMobile[carouselMobile.length - 1].style.display = 'none';\n}\n\n/* Collapse Container */\nlet divCollapse = document.createElement('div');\ndivCollapse.classList.add('divCollapse');\n/* Collapse Button */\nlet btn = document.createElement('div');\nbtn.classList.add('btnCollapse');\nbtn.innerHTML = \"\";\n\n/* To display the collapse you must write a text in the 'Carousel Title' section but it will not be shown because of the null value */\nlet carouselTitle = document.getElementsByClassName('carousel-title');\nif ($(carouselMobile[carouselMobile.length - 1]).hasClass('categories-carousel-collapse')) {\n carouselTitle[carouselTitle.length - 1].textContent = null;\n carouselTitle[carouselTitle.length - 1].style.textAlign = 'center';\n}\n\n/* append */\nif ($(carouselMobile[carouselMobile.length - 1]).hasClass('categories-carousel-collapse')) {\n carouselTitle[carouselTitle.length - 1].appendChild(divCollapse);\n divCollapse.appendChild(btn);\n}\n\n\n/* Collapse Event */\nbtn.addEventListener('click', () => {\n $('.categories-carousel-collapse').on('hidden.bs.collapse', function () {\n carouselMobile[carouselMobile.length - 1].style.display = 'none';\n btn.innerHTML = \"\";\n wppIcon[0].style.display = 'block';\n let wcxChat = document.getElementsByClassName('styles_button_main__2rvIi');\n wcxChat[0].style.display = 'block';\n });\n $('.categories-carousel-collapse').on('shown.bs.collapse', function () {\n carouselMobile[carouselMobile.length - 1].style.display = 'block';\n btn.innerHTML = \"\";\n wppIcon[0].style.display = 'none';\n let wcxChat = document.getElementsByClassName('styles_button_main__2rvIi');\n wcxChat[0].style.display = 'none';\n });\n $('.categories-carousel-collapse').collapse('toggle');\n});\n\n\nlet experienceComponent = document.getElementsByClassName('experience-commerce_layouts-carousel');\nlet experienceComponentRow = experienceComponent[experienceComponent.length - 1].querySelector('.row');\nlet mainContent = document.getElementById('maincontent');\nlet col12 = document.getElementsByClassName('col-12');\nlet categCarouselItem = document.getElementsByClassName('carousel-item');\n\n/* position:fixed; the whole component + mainContent padding fix*/\nif ($(carouselMobile[carouselMobile.length - 1]).hasClass('categories-carousel-collapse')) {\n experienceComponent[experienceComponent.length - 1].style.position = 'sticky';\n experienceComponent[experienceComponent.length - 1].style.bottom = 0;\n experienceComponent[experienceComponent.length - 1].style.width = '100%';\n experienceComponent[experienceComponent.length - 1].style.zIndex = '2';\n mainContent.style.padding = '0px';\n col12[col12.length - 2].style.padding = '0px';\n experienceComponentRow.classList.add('mx-0');\n}\n\nfunction screenSize(element) {\n var result = {\n itemsToDisplay: null,\n sufficientSlides: true\n };\n var viewSize = $(window).width();\n var extraSmallDisplay = element.data('xs');\n var smallDisplay = element.data('sm');\n var mediumDisplay = element.data('md');\n var numberOfSlides = element.data('number-of-slides');\n\n if (viewSize <= 575.98) {\n result.itemsToDisplay = extraSmallDisplay;\n } else if (viewSize >= 576 && viewSize <= 768.98) {\n result.itemsToDisplay = smallDisplay;\n } else if (viewSize >= 769) {\n result.itemsToDisplay = mediumDisplay;\n }\n if (result.itemsToDisplay && numberOfSlides <= result.itemsToDisplay) {\n result.sufficientSlides = false;\n }\n\n return result;\n}\n\n/**\n * Makes the next element to be displayed next unreachable for screen readers and keyboard nav\n * @param {jQuery} element - the current carousel that is being used\n */\nfunction hiddenSlides(element) {\n var carousel;\n\n if (element) {\n carousel = element;\n } else {\n carousel = $(\n '.experience-commerce_layouts-carousel .carousel, .experience-einstein-einsteinCarousel .carousel, .experience-einstein-einsteinCarouselCategory .carousel, .experience-einstein-einsteinCarouselProduct .carousel, #carouselRecommendedProducts'\n );\n }\n\n var screenSizeInfo = screenSize(carousel);\n\n var lastDisplayedElement;\n var elementToBeDisplayed;\n\n switch (screenSizeInfo.itemsToDisplay) {\n case 2:\n lastDisplayedElement = carousel.find(\n '.active.carousel-item + .carousel-item'\n );\n elementToBeDisplayed = carousel.find(\n '.active.carousel-item + .carousel-item + .carousel-item'\n );\n break;\n case 3:\n lastDisplayedElement = carousel.find(\n '.active.carousel-item + .carousel-item + .carousel-item'\n );\n elementToBeDisplayed = carousel.find(\n '.active.carousel-item + .carousel-item + .carousel-item + .carousel-item'\n );\n break;\n case 4:\n lastDisplayedElement = carousel.find(\n '.active.carousel-item + .carousel-item + .carousel-item + .carousel-item'\n );\n elementToBeDisplayed = carousel.find(\n '.active.carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item'\n );\n break;\n case 6:\n lastDisplayedElement = carousel.find(\n '.active.carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item'\n );\n elementToBeDisplayed = carousel.find(\n '.active.carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item'\n );\n break;\n default:\n break;\n }\n\n carousel\n .find('.active.carousel-item')\n .removeAttr('tabindex')\n .removeAttr('aria-hidden');\n carousel\n .find('.active.carousel-item')\n .find('a, button, details, input, textarea, select')\n .removeAttr('tabindex')\n .removeAttr('aria-hidden');\n\n if (lastDisplayedElement) {\n lastDisplayedElement.removeAttr('tabindex').removeAttr('aria-hidden');\n lastDisplayedElement\n .find('a, button, details, input, textarea, select')\n .removeAttr('tabindex')\n .removeAttr('aria-hidden');\n }\n\n if (elementToBeDisplayed) {\n elementToBeDisplayed.attr('tabindex', -1).attr('aria-hidden', true);\n elementToBeDisplayed\n .find('a, button, details, input, textarea, select')\n .attr('tabindex', -1)\n .attr('aria-hidden', true);\n }\n}\n\nfunction carouselInit(observer) {\n $('body').on('carousel:setup', function () {\n hiddenSlides();\n });\n var carousel = $(\n '.container .main_lottery, .experience-commerce_layouts-carousel .carousel, .experience-einstein-einsteinCarousel .carousel, .experience-einstein-einsteinCarouselCategory .carousel, .experience-einstein-einsteinCarouselProduct .carousel, #carouselRecommendedProducts'\n );\n\n\n if (carousel.length > 0) {\n carousel.map((key) => {\n var dataset = carousel[key].dataset;\n var current = $('.' + dataset.identifier);\n var interval = current[0].dataset.interval;\n var viewSize = $(window).width();\n var controlsXs = current[0].dataset.controlsXs;\n var controlsSm = current[0].dataset.controlsSm;\n var controlsMd = current[0].dataset.controlsMd;\n var displayControls;\n if (viewSize <= 575.98) {\n displayControls = controlsXs;\n } else if (viewSize >= 576 && viewSize <= 768.98) {\n displayControls = controlsSm;\n } else if (viewSize >= 769) {\n displayControls = controlsMd;\n }\n\n if (displayControls === 'false') {\n current.find('.carousel-control-prev').hide();\n current.find('.carousel-control-next').hide();\n }\n if (\n current[0].querySelectorAll('.carousel-item').length <=\n dataset.md\n ) {\n current.carousel('pause');\n } else {\n current.carousel('cycle');\n current.carousel({ interval: interval });\n }\n });\n }\n carousel.on('touchstart', function (touchStartEvent) {\n var screenSizeInfo = screenSize($(this));\n\n if (screenSizeInfo.sufficientSlides) {\n var xClick = touchStartEvent.originalEvent.touches[0].pageX;\n $(this).one('touchmove', function (touchMoveEvent) {\n var xMove = touchMoveEvent.originalEvent.touches[0].pageX;\n if (Math.floor(xClick - xMove) > 5) {\n $(this).carousel('next');\n } else if (Math.floor(xClick - xMove) < -5) {\n $(this).carousel('prev');\n }\n });\n carousel.on('touchend', function () {\n $(this).off('touchmove');\n });\n }\n });\n\n carousel.on('slide.bs.carousel', function (e) {\n var activeCarouselPosition = $(e.relatedTarget).data('position');\n $(this).find('.pd-carousel-indicators .active').removeClass('active');\n $(this)\n .find(\n \".pd-carousel-indicators [data-slide-to='\" +\n activeCarouselPosition +\n \"']\"\n )\n .addClass('active');\n\n var extraSmallDisplay = $(this).data('xs');\n var smallDisplay = $(this).data('sm');\n var mediumDisplay = $(this).data('md');\n\n var arrayOfSlidesToDisplay = [];\n\n if (!$(this).hasClass('insufficient-xs-slides')) {\n arrayOfSlidesToDisplay.push(extraSmallDisplay);\n }\n\n if (!$(this).hasClass('insufficient-sm-slides')) {\n arrayOfSlidesToDisplay.push(smallDisplay);\n }\n\n if (!$(this).hasClass('insufficient-md-slides')) {\n arrayOfSlidesToDisplay.push(mediumDisplay);\n }\n\n var itemsToDisplay = Math.max.apply(Math, arrayOfSlidesToDisplay);\n\n var elementIndex = $(e.relatedTarget).index();\n var numberOfSlides = $('.carousel-item', this).length;\n var carouselInner = $(this).find('.carousel-inner');\n var carouselItem;\n\n if (elementIndex >= numberOfSlides - (itemsToDisplay - 1)) {\n var it = itemsToDisplay - (numberOfSlides - elementIndex);\n for (var i = 0; i < it; i++) {\n // append slides to end\n if (e.direction === 'left') {\n carouselItem = $('.carousel-item', this).eq(i);\n\n $(carouselItem).appendTo($(carouselInner));\n } else {\n carouselItem = $('.carousel-item', this).eq(0);\n\n $(carouselItem).appendTo($(carouselInner));\n }\n }\n }\n });\n\n carousel.on('slide.bs.carousel', function () {\n hiddenSlides($(this));\n });\n\n // Later, you can stop observing\n if (observer) observer.disconnect();\n}\n\n$(document).ready(function () {\n hiddenSlides();\n\n $(window).on(\n 'resize',\n debounce(function () {\n hiddenSlides();\n }, 500)\n );\n\n // The node to be monitored\n var target = $('#maincontent')[0];\n\n // Create an observer instance\n var observer = new MutationObserver(function (mutations, obs) {\n mutations.forEach(function (mutation) {\n var newNodes = mutation.addedNodes; // DOM NodeList\n if (newNodes !== null) { // If there are new nodes added\n var $nodes = $(newNodes); // jQuery set\n $nodes.map(key => {\n if ($($nodes[key]).hasClass('product-recommendation-listing')) {\n carouselInit(obs);\n }\n });\n }\n });\n });\n\n // Configuration of the observer:\n var config = {\n attributes: true,\n childList: true,\n subtree: true\n };\n\n // Pass in the target node, as well as the observer options\n observer.observe(target, config);\n\n carouselInit();\n});\n\n/* wpp icon & wcx chat style modifications */\nlet wppIcon = document.getElementsByClassName('whatsapp_icon');\nif (wppIcon[0]) {\n window.onload = function () {\n let wcxChat = document.getElementsByClassName('styles_button_main__2rvIi');\n };\n let mediumBp = matchMedia('(min-width: 543px)');\n let changeSize = mql => {\n if (mql.matches) {\n wppIcon[0].style.bottom = '7px';\n window.onload = function () {\n let wcxChat = document.getElementsByClassName('styles_button_main__2rvIi');\n wcxChat[0].style.bottom = '0px';\n };\n } else if ($(carouselMobile[carouselMobile.length - 1]).hasClass('categories-carousel-collapse')) {\n wppIcon[0].style.bottom = '20px';\n window.onload = function () {\n let wcxChat = document.getElementsByClassName('styles_button_main__2rvIi');\n wcxChat[0].style.bottom = '10px';\n };\n } else {\n wppIcon[0].style.bottom = '7px';\n window.onload = function () {\n let wcxChat = document.getElementsByClassName('styles_button_main__2rvIi');\n wcxChat[0].style.bottom = '0px';\n };\n }\n };\n\n mediumBp.addListener(changeSize);\n changeSize(mediumBp);\n}\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n"],"sourceRoot":""}