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H,EAEF,IAAK,CACHF,QAAQ,OAOhB9B,EAAW9D,GAAG,OAAQ,CAACqG,EAAUC,KAC/BpC,IACA,MAAMqC,EAAoBzC,EAAWc,WAAW/D,OAAO2F,MAAMF,GACvDG,EAAyB,MAAjBF,OAAiB,EAAjBA,EAAmBzB,MAAM3P,cAAc,SACjDsR,IAAUA,EAAMC,QAClBD,EAAME,UAKV7C,EAAW9D,GAAG,QAAS,CAACqG,EAAUC,EAAWM,KAC3C1C,IACA,MAAM2C,EAAoB/C,EAAWc,WAAW/D,OAAO2F,MAAMI,GACvDH,EAAyB,MAAjBI,OAAiB,EAAjBA,EAAmB/B,MAAM3P,cAAc,SAChD,MAALsR,GAAAA,EAAOK,OAAOC,MAAMjQ,QAAQC,QAM1BgN,GACFD,EAAWkD,KAAKjD,GAGlBD,EAAWF,MAAM,CACf5E,wBAAuBA,IAIzB,MAAM9N,EAAQ,IAAIoH,YAAoB,+BAAgC,CACpEjE,OAAQ,CAAE4K,OAAQ6E,KAEpBtL,cAActH,GAEV6S,GACFA,EAAUH,QAIZ,MAAMqD,EAAkBzB,EAAalR,QAAQ2S,gBACvCC,EAAuE,SAA/C1B,EAAalR,QAAQ4S,sBAC/CD,IAAoBC,GACtBvC,EAAqBsC,EAEzB,EA3KEE,GACGC,KAAK,KACJ9C,MAEDyC,MAAMjQ,QAAQC,MAEjB9C,iBAAiB,SAAUqQ,GAKPlU,SAAS+E,cAA2B,eAC5ClB,iBAAiB,kBAAmBF,EAClD,E","sources":["webpack://lange/webpack/runtime/load script","webpack://lange/webpack/bootstrap","webpack://lange/webpack/runtime/define property getters","webpack://lange/webpack/runtime/ensure chunk","webpack://lange/webpack/runtime/get javascript chunk filename","webpack://lange/webpack/runtime/get mini-css chunk filename","webpack://lange/webpack/runtime/hasOwnProperty shorthand","webpack://lange/webpack/runtime/publicPath","webpack://lange/webpack/runtime/jsonp chunk loading","webpack://lange/./scripts/sections/product-details/product-details/index.ts","webpack://lange/./scripts/sections/product-details/product-variant-selector/index.ts","webpack://lange/./scripts/sections/product-details/product-variant-selector/index.scss","webpack://lange/./scripts/sections/product-details/product-variant-selector/index.html","webpack://lange/./scripts/sections/product-details/sticky-cta/index.ts","webpack://lange/./scripts/sections/product-details/sticky-cta/index.scss","webpack://lange/./scripts/sections/product-details/sets-subproduct/index.ts","webpack://lange/./scripts/sections/product-details/sets-subproduct/index.scss","webpack://lange/./scripts/sections/product-details/sets-subproduct/index.html","webpack://lange/./scripts/sections/product-details/product-description/index.ts","webpack://lange/./scripts/sections/product-details/product-description/index.scss","webpack://lange/./scripts/sections/product-details/product-description/index.html","webpack://lange/./scripts/sections/product-details/product-detail-countdown-timer/index.ts","webpack://lange/./scripts/sections/product-details/product-detail-countdown-timer/index.scss","webpack://lange/./scripts/sections/product-details/product-detail-countdown-timer/index.html","webpack://lange/./scripts/sections/product-details/zoomable-image/index.ts","webpack://lange/./scripts/sections/product-details/zoomable-image/index.scss","webpack://lange/./scripts/sections/product-details/zoomable-image/index.html","webpack://lange/./scripts/lib/splide-slidebar-extension.ts","webpack://lange/./scripts/sections/product-details/product-gallery.ts","webpack://lange/./scripts/lib/webpack-path.ts"],"sourcesContent":["var inProgress = {};\nvar dataWebpackPrefix = \"lange:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\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","// define getter functions for harmony exports\n__webpack_require__.d = function(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__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \"-\" + \"4c2b34155a625ff7db66\" + \".min.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"\";","// 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\t\"product-details-section\": 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\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\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\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(function(id) { return 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\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunklange\"] = self[\"webpackChunklange\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","import { CustomElement } from '@integrabeauty/custom-elements';\n\n/**\n * A custom element that manages logic related to displaying product details on PDP.\n */\nclass ProductDetails extends HTMLElement implements CustomElement {\n  readonly dataset: {\n    /**\n     * Boolean represented as a string that indicates whether the product description is set\n     * (not bundle or default product).\n     */\n    isSet: 'false' | 'true';\n  };\n\n  private onVariantChangedBound = this.onVariantChanged.bind(this);\n\n  public constructor() {\n    super();\n  }\n\n  public connectedCallback() {\n    this.addEventListener('variant-changed', this.onVariantChangedBound);\n  }\n\n  public disconnectedCallback() {\n    this.removeEventListener('variant-changed', this.onVariantChangedBound);\n  }\n\n  private onVariantChanged(event: WindowEventMap['variant-changed']) {\n    const { variant } = event.detail;\n    // Don't update prices for sets. Sets have their own price not dependent on a selected variant.\n    if (this.dataset.isSet === 'true') {\n      return;\n    }\n\n    this.updatePrice(variant.price);\n    this.updateCompareAtPrice(variant.compareAtPrice, variant.compareAtPriceModalContent);\n    this.updateTopBadge(variant.topBadge, variant.topBadgeStyle);\n    this.updateProductDescription(variant.categoryDescription);\n  }\n\n  private updatePrice(price: number) {\n    const priceElement = this.querySelector('.price__final');\n    const previousValue = priceElement.textContent || '';\n    priceElement.textContent =\n      previousValue.replace(/\\d+/g, (price / 100).toFixed(0));\n  }\n\n  private updateCompareAtPrice(price: string, modalContent: string) {\n    const compareAtPrice = this.querySelector('.price__compare-at');\n    compareAtPrice.textContent = price || '';\n\n    // create a compare at price info button if needed\n    if (modalContent) {\n      const compareAtPriceInfo = document.createElement('compare-at-price-info');\n      compareAtPriceInfo.dataset.content = modalContent;\n      compareAtPrice.appendChild(compareAtPriceInfo);\n    }\n  }\n\n  private updateTopBadge(value: string, style: string) {\n    type ProductTopBadge = HTMLElementTagNameMap['product-top-badge'];\n    const topBadge = this.querySelector<ProductTopBadge>('product-top-badge');\n    if (!topBadge) {\n      return;\n    }\n\n    topBadge.dataset.value = value;\n    topBadge.dataset.style = style;\n  }\n\n  /**\n   * Updates the product description element with the provided description.\n   * This should cover the variant category alternative description feature. When a variant is\n   * selected that belongs to a category with an alternative description, this description will be\n   * shown instead of the main product description. If there's no alternative description,\n   * the description parameter will be null, and the original product description will be shown.\n   * The original product description is stored in the product-description element's data attribute.\n   */\n  private updateProductDescription(description: string | null) {\n    const descriptionElement = this.querySelector('product-description');\n    if (!descriptionElement) {\n      return;\n    }\n\n    if (description) {\n      descriptionElement.dataset.productDescription = description;\n    } else {\n      const description = descriptionElement.dataset.originalDescription;\n      descriptionElement.dataset.productDescription = description;\n    }\n  }\n}\n\ndeclare global {\n  interface HTMLElementTagNameMap {\n    'product-details': ProductDetails;\n  }\n}\n\nif (!customElements.get('product-details')) {\n  customElements.define('product-details', ProductDetails);\n}\n","import type { CustomElement } from '@integrabeauty/custom-elements';\nimport html from './index.html';\nimport styles from './index.scss';\n\n/**\n * A custom element that manages displaying the selected variant's details and the functionality\n * for the dropdown variant selector on PDP.\n */\nexport class ProductVariantSelector extends HTMLElement implements CustomElement {\n  readonly dataset!: {\n    /**\n     * Boolean represented as string indicates whether the URL should be updated or not.\n     *\n     * Controls whether this component is allowed to update the url with a new variant parameter\n     * when a new variant is selected. For Lange this happens all the time, but for other brands\n     * where we eventually plan to share this code, this is not always true. For example, on one of\n     * our other brands you can change the selected variant on certain collection pages.\n     *\n     * This is not an observed attribute. We only set this in the connected callback during init and\n     * do not update its value again later. We do not expect it to ever change.\n     */\n    shouldUpdateUrl: 'false' | 'true';\n  };\n\n  private onVariantChangedBound = this.onVariantChanged.bind(this);\n  private onShowOptionsClickedBound = this.onShowOptionsClicked.bind(this);\n\n  constructor() {\n    super();\n    this.attachShadow({ mode: 'open' });\n    this.shadowRoot.innerHTML = `<style>${styles}</style>${html}`;\n  }\n\n  public connectedCallback() {\n    this.render();\n  }\n\n  private render() {\n    const button = this.shadowRoot.querySelector('.show-options');\n    button.addEventListener('click', this.onShowOptionsClickedBound);\n\n    for (const event of product_variant_selector_event_queue) {\n      if (isVariantChangedEvent(event)) {\n        try {\n          this.onVariantChangedBound(event);\n        } catch (error) {\n          console.warn(error);\n        }\n      }\n    }\n\n    this.addEventListener('variant-changed', this.onVariantChangedBound);\n\n    this.shadowRoot.host.classList.remove('hidden');\n  }\n\n  public disconnectedCallback() {\n    const button = this.shadowRoot.querySelector('.show-options');\n    button.removeEventListener('click', this.onShowOptionsClickedBound);\n\n    this.removeEventListener('variant-changed', this.onVariantChangedBound);\n  }\n\n  private onShowOptionsClicked() {\n    const button = this.shadowRoot.querySelector('.show-options');\n    const optionsContainer = this.shadowRoot.querySelector('slot[name=\"variant-selector\"]');\n    const isExpanded = button?.getAttribute('aria-expanded') === 'true';\n\n    if (isExpanded) {\n      button.setAttribute('aria-expanded', 'false');\n      optionsContainer.classList.add('collapsed');\n      optionsContainer.classList.remove('expanded');\n    } else {\n      button.setAttribute('aria-expanded', 'true');\n      optionsContainer.classList.add('expanded');\n      optionsContainer.classList.remove('collapsed');\n    }\n  }\n\n  private onVariantChanged(event: WindowEventMap['variant-changed']) {\n    const variantId = event.detail.variant.id;\n\n    this.updateVariantTitle(event.detail.variant.option);\n    this.updateColorSwatch(event.detail.variant.color);\n\n    if (this.dataset.shouldUpdateUrl === 'true') {\n      updateUrl(variantId.toString());\n    }\n  }\n\n  /**\n   * Updates the selected variant title in the dropdown button on mobile.\n   */\n  private updateVariantTitle(selectedOption: string) {\n    const dropdownText =\n      this.shadowRoot.querySelector<HTMLElement>('.selected-variant');\n\n    dropdownText.textContent = selectedOption;\n    dropdownText.setAttribute('aria-label', `Selected variant: ${selectedOption}`);\n  }\n\n  /**\n   * Updates the color title in the dropdown button on mobile.\n   */\n  private updateColorSwatch(color: string) {\n    const swatch = this.shadowRoot.querySelector<HTMLElement>('.swatch');\n\n    if (color) {\n      swatch.style.backgroundColor = color;\n      swatch.classList.remove('hidden');\n    } else {\n      swatch.style.backgroundColor = null;\n      swatch.classList.add('hidden');\n    }\n  }\n}\n\nfunction updateUrl(variantId: string) {\n  const url = new URL(location.href);\n  const variantSearchParam = url.searchParams.get('variant');\n  if (variantSearchParam === variantId) {\n    // When the page loads, there might be a \"variant\" search parameter. If it matches the\n    // currently selected variant ID, don’t do anything.\n    return;\n  }\n\n  url.searchParams.set('variant', variantId.toString());\n  window.history.replaceState({}, '', url);\n\n  const historyEvent = new CustomEvent('history-change', { cancelable: true });\n  dispatchEvent(historyEvent);\n}\n\nfunction isVariantChangedEvent(value: any): value is WindowEventMap['variant-changed'] {\n  return value?.type === 'variant-changed';\n}\n\ndeclare global {\n  interface HTMLElementTagNameMap {\n    'product-variant-selector': ProductVariantSelector;\n  }\n\n  // eslint-disable-next-line @typescript-eslint/naming-convention\n  var product_variant_selector_event_queue: Event[];\n  // eslint-disable-next-line @typescript-eslint/naming-convention\n  var product_variant_selector_event_listener: (event: Event)=> void;\n}\n\nif (!customElements.get('product-variant-selector')) {\n  customElements.define('product-variant-selector', ProductVariantSelector);\n}\n","export default \"*{box-sizing:border-box}:host{display:inline-flex;flex-direction:column-reverse}@media only screen and (min-width:992px){:host{flex-direction:column}}.show-options{align-items:center;appearance:none;background-color:#0000;border:1px solid #1e1e1e;color:#1e1e1e;column-gap:4px;cursor:pointer;display:flex;flex-grow:1;font-family:inherit;font-size:.875rem;justify-content:space-between;line-height:1;min-height:48px;padding:8px;text-align:left}@media only screen and (min-width:768px){.show-options{display:none}}.show-options:focus{outline:2px solid #000;outline-offset:1px}.show-options svg{flex-shrink:0;transform:rotate(180deg);width:10px}@media only screen and (min-width:768px){.show-options svg{width:auto}}@media only screen and (min-width:992px){.show-options svg{transform:rotate(0)}}.show-options[aria-expanded=true] svg{transform:rotate(0)}@media only screen and (min-width:992px){.show-options[aria-expanded=true] svg{transform:rotate(180deg)}}.swatch{border-radius:100px;display:inline-block;flex-shrink:0;height:18px;width:18px}@media only screen and (min-width:768px){.swatch{height:24px;width:24px}}.selected-variant{line-height:1.3;margin-right:auto;max-width:100%;overflow:hidden;overflow-wrap:break-word}slot[name=variant-selector]{animation-duration:.2s;animation-fill-mode:forwards;animation-timing-function:ease;border:1px solid #1e1e1e;display:block;margin-bottom:16px;overflow:hidden;padding:8px 12px;width:calc(200% + 8px)}@media only screen and (min-width:768px){slot[name=variant-selector]{border:none;border-top:1px solid #dbdbdb;font-size:.875rem;margin-bottom:32px;margin-top:24px;overflow:visible;padding:24px 0 0;width:auto}}@media only screen and (min-width:992px){slot[name=variant-selector]{font-size:1rem;margin-bottom:0;margin-top:16px}}slot[name=variant-selector].expanded{animation-name:expand}slot[name=variant-selector].collapsed{animation-name:collapse}.hidden{display:none}@keyframes expand{0%{max-height:0;transform:scaleY(0);visibility:hidden}to{max-height:500px;transform:scaleY(1);visibility:visible}}@keyframes collapse{0%{max-height:500px;transform:scaleY(1);visibility:visible}to{border-width:0;margin:0;max-height:0;padding:0;transform:scaleY(0);visibility:hidden}}\";","// Module\nvar code = \"<button class=\\\"show-options\\\" aria-expanded=\\\"true\\\" aria-controls=\\\"variant-selector\\\"><span class=\\\"swatch hidden\\\" role=\\\"img\\\"></span><span class=\\\"selected-variant\\\" role=\\\"img\\\"></span><svg role=\\\"presentation\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"9\\\" viewBox=\\\"0 0 14 9\\\" fill=\\\"none\\\"><path d=\\\"M13 1L7 8L1 0.999998\\\" stroke=\\\"#1E1E1E\\\" stroke-linecap=\\\"square\\\" stroke-linejoin=\\\"round\\\"/></svg></button><slot id=\\\"variant-selector\\\" name=\\\"variant-selector\\\"></slot>\";\n// Exports\nexport default code;","/*\n* This component simply positions its contents `fixed` on the bottom, full width,\n* and only when less than 768px; otherwise, its flow is `static`.\n*/\nimport type { CustomElement } from '@integrabeauty/custom-elements';\nimport styles from './index.scss';\n\nclass OfirStickyCTA extends HTMLElement implements CustomElement {\n  private mediaQuery: MediaQueryList;\n  private matchesMediaQuery: boolean;\n\n  private onVariantChangedBound = this.onVariantChanged.bind(this);\n  private onDOMContentLoadedBound = this.onDOMContentLoaded.bind(this);\n  private updateElementsBasedOnViewportBound = this.updateElementsBasedOnViewport.bind(this);\n\n  constructor() {\n    super();\n    this.mediaQuery = window.matchMedia('(max-width: 767px)');\n    this.matchesMediaQuery = false;\n    this.updateElementsBasedOnViewport();\n  }\n\n  connectedCallback() {\n    const styleElement = document.createElement('style');\n    styleElement.textContent = styles;\n    this.append(styleElement);\n    this.addEventListener('DOMContentLoaded', this.onDOMContentLoadedBound);\n    this.addEventListener('variant-changed', this.onVariantChangedBound);\n  }\n\n  public disconnectedCallback() {\n    this.removeEventListener('variant-changed', this.onVariantChangedBound);\n    this.mediaQuery.removeEventListener('change', this.updateElementsBasedOnViewportBound);\n    this.removeEventListener('DOMContentLoaded', this.onDOMContentLoadedBound);\n  }\n\n  private onDOMContentLoaded(_event: Event) {\n    this.mediaQuery.addEventListener('change', this.updateElementsBasedOnViewportBound);\n    this.updateElementsBasedOnViewport();\n    this.removeEventListener('DOMContentLoaded', this.onDOMContentLoadedBound);\n  }\n\n  private updateElementsBasedOnViewport() {\n    if (this.mediaQuery.matches === this.matchesMediaQuery) {\n      return;\n    }\n\n    this.matchesMediaQuery = this.mediaQuery.matches;\n    if (this.matchesMediaQuery) {\n      document.querySelector<HTMLElement>('#shopify-section-footer').style.paddingBottom =\n        this.offsetHeight + 'px';\n    } else {\n      document.querySelector<HTMLElement>('#shopify-section-footer').style.paddingBottom =\n        '';\n    }\n  }\n\n  private onVariantChanged(event: WindowEventMap['variant-changed']) {\n    const discountMessage = this.querySelector('discount-message');\n    if (!discountMessage) {\n      return;\n    }\n\n    discountMessage.dataset.message = event.detail.variant.discountMessage;\n  }\n}\n\nif (!customElements.get('ofir-sticky-cta')) {\n  customElements.define('ofir-sticky-cta', OfirStickyCTA);\n}\n","export default \"ofir-sticky-cta{display:flex;flex-wrap:wrap;gap:16px;width:100%}@media only screen and (min-width:768px){ofir-sticky-cta{flex-direction:column;max-width:670px}}@media(max-width:767px){ofir-sticky-cta{align-items:flex-end;background-color:#fff;border-top:1px solid #0003;bottom:0;column-gap:8px;display:flex;left:0;padding:16px;position:fixed;z-index:50}#shopify-section-footer{padding-bottom:100px}}@media(min-width:768px){ofir-sticky-cta{align-items:flex-end}}@media(min-width:992px){ofir-sticky-cta{align-items:flex-start}}ofir-sticky-cta .product-v2__backorder{color:#616161;display:block;font-size:.75rem;margin-bottom:-8px;text-align:center;width:100%}@media only screen and (min-width:768px){ofir-sticky-cta .product-v2__backorder{font-size:.875rem;margin-bottom:0}}.product-v2__actions{width:100%}ofir-sticky-cta product-variant-selector,ofir-sticky-cta product-variant-selector~.product-v2__actions{width:calc(50% - 4px)}@media only screen and (min-width:768px){ofir-sticky-cta product-variant-selector,ofir-sticky-cta product-variant-selector~.product-v2__actions{width:100%}}\";","import html from './index.html';\nimport styles from './index.scss';\n\n/**\n * Custom element that renders a set's subproduct and handles image updates based on the selected\n * variant.\n */\nclass SetsSubproduct extends HTMLElement {\n  private onVariantChangedBound = this.onVariantChanged.bind(this);\n  public shadowRoot!: ShadowRoot;\n\n  public constructor() {\n    super();\n    this.attachShadow({ mode: 'open' });\n    this.shadowRoot.innerHTML = `<style>${styles}</style>${html}`;\n  }\n\n  public connectedCallback() {\n    this.addEventListener('variant-changed', this.onVariantChangedBound);\n  }\n\n  public disconnectedCallback() {\n    this.removeEventListener('variant-changed', this.onVariantChangedBound);\n  }\n\n  private onVariantChanged(event: WindowEventMap['variant-changed']) {\n    const imageSrc = event.detail.variant.image;\n    const image = this.querySelector('img[slot=\"image\"]');\n    image.setAttribute('src', imageSrc);\n  }\n}\n\ndeclare global {\n  interface HTMLElementTagNameMap {\n    'sets-subproduct': SetsSubproduct;\n  }\n}\n\nif (!customElements.get('sets-subproduct')) {\n  customElements.define('sets-subproduct', SetsSubproduct);\n}\n","export default \":host{display:flex;min-height:112px;padding-bottom:12px;padding-top:8px;text-align:left;width:100%}slot[name=image]{display:block;flex-shrink:0;height:100px;width:100px}::slotted([slot=image]){object-fit:contain;object-position:center}.main{flex-grow:1;padding-left:4px}.header{align-items:center;display:flex;justify-content:space-between;margin-bottom:4px}.title{font-size:.875rem;margin-bottom:0;margin-top:0}slot[name=rating]{display:block;margin-top:-7px}slot[name=subtitle]{font-size:.875rem}slot[name=variant-selector]{display:block;font-size:.875rem;margin-top:12px}\";","// Module\nvar code = \"<slot name=\\\"image\\\"></slot><div class=\\\"main\\\"><div class=\\\"header\\\"><h3 class=\\\"title\\\"><slot name=\\\"title\\\"></slot></h3><slot name=\\\"rating\\\"></slot></div><slot name=\\\"subtitle\\\"></slot><slot name=\\\"variant-selector\\\"></slot></div>\";\n// Exports\nexport default code;","import type { CustomElement } from '@integrabeauty/custom-elements';\nimport html from './index.html';\nimport styles from './index.scss';\n\n/**\n * This component renders a product description. If in mobile view and the description visually\n * spans more than two lines, it will be truncated with an option to expand the view.\n */\nclass ProductDescription extends HTMLElement implements CustomElement {\n  public static get observedAttributes() {\n    return [\n      'data-product-description'\n    ];\n  }\n\n  readonly dataset: {\n    /**\n     * The original description of a product.\n     * Used to reset the description if needed. It's a possible case when variant categories are\n     * used and one of the categories misses a description, so the original product description\n     * should be restored. Also, it's technically possible that there are be variants without\n     * categories among other variants with categories. We don't expect this to happen, but just in\n     * case.\n     */\n    originalDescription: string;\n\n    /**\n     * The description of a product.\n     * Can be updated dynamically when the variant changes.\n     */\n    productDescription: string;\n  };\n\n  public shadowRoot!: ShadowRoot;\n  private listenersInitialized = false;\n\n  private onClickReadMoreBound = this.onClickReadMore.bind(this);\n\n  constructor() {\n    super();\n    this.attachShadow({ mode: 'open' });\n    this.shadowRoot.innerHTML = `<style>${styles}</style>${html}`;\n  }\n\n  public connectedCallback() {\n    this.render();\n  }\n\n  public disconnectedCallback() {\n    const readMore = this.shadowRoot.querySelector('.read-more');\n    readMore.removeEventListener('click', this.onClickReadMoreBound);\n  }\n\n  public attributeChangedCallback(_name: string, _oldValue: string, _newValue: string) {\n    this.render();\n  }\n\n  private render() {\n    if (!this.listenersInitialized) {\n      this.listenersInitialized = true;\n\n      const readMore = this.shadowRoot.querySelector('.read-more');\n      readMore.addEventListener('click', this.onClickReadMoreBound);\n    }\n\n    const description = this.shadowRoot.querySelector<HTMLElement>('.description');\n    description.innerHTML = this.dataset.productDescription;\n  }\n\n  private onClickReadMore(event: Event) {\n    event.preventDefault();\n\n    const host = <HTMLElement>this.shadowRoot.host;\n    const readMore = this.shadowRoot.querySelector<HTMLElement>('.read-more');\n    const readMoreLabel = readMore.querySelector('span');\n\n    if (host.dataset.expanded === 'true') {\n      host.removeAttribute('data-expanded');\n      readMore.setAttribute('aria-expanded', 'false');\n      readMoreLabel.textContent = 'Read More';\n    } else {\n      host.setAttribute('data-expanded', 'true');\n      readMore.setAttribute('aria-expanded', 'true');\n      readMoreLabel.textContent = 'Read Less';\n    }\n  }\n}\n\ndeclare global {\n  interface HTMLElementTagNameMap {\n    'product-description': ProductDescription;\n  }\n}\n\nif (!customElements.get('product-description')) {\n  customElements.define('product-description', ProductDescription);\n}\n","export default \":host{font-size:.875rem;line-height:1.5}:host([data-expanded=true]) .description{max-height:none;overflow:initial}:host([data-expanded=true]) .read-more{display:flex}:host([data-expanded=true]) svg{transform:rotate(180deg)}strong{font-weight:600}.description{display:flex;flex-direction:column;gap:1em;max-height:3em;overflow:hidden}.description *{margin:0;padding:0}.description a{color:currentcolor;text-decoration:underline}.description a:hover{text-decoration:none}@media screen and (min-width:1024px){.description{max-height:none;overflow:initial}}.read-more{align-items:center;background-color:#0000;border:none;border-radius:0;color:#7c0d3f;cursor:pointer;display:flex;font-size:inherit;font-weight:600;justify-content:space-between;margin-top:4px;padding:0;text-decoration:underline;width:100%}@media screen and (min-width:1024px){.read-more{display:none}}\";","// Module\nvar code = \"<div id=\\\"description\\\" class=\\\"description\\\"></div><button class=\\\"read-more\\\" aria-expanded=\\\"false\\\" aria-controls=\\\"description\\\"><span>Read More</span><svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"9\\\" viewBox=\\\"0 0 14 9\\\" fill=\\\"none\\\"><path d=\\\"M13 1L7 8L1 0.999998\\\" stroke=\\\"#1E1E1E\\\" stroke-linecap=\\\"square\\\" stroke-linejoin=\\\"round\\\"/></svg></button>\";\n// Exports\nexport default code;","import html from './index.html';\nimport styles from './index.scss';\n\n/**\n * Renders product related countdown timer. It is used in a product template context.\n */\nclass ProductDetailCountdownTimer extends HTMLElement {\n  public static get observedAttributes() {\n    return [\n      'data-end-time',\n      'data-start-time'\n    ];\n  }\n\n  readonly dataset!: {\n    /**\n     * Stop time as unix epoch time.\n     *\n     * @see https://www.epochconverter.com\n     */\n    endTime: string;\n\n    /**\n     * Start time as unix epoch time.\n     *\n     * @see https://www.epochconverter.com\n     */\n    startTime: string;\n  };\n\n  public shadowRoot!: ShadowRoot;\n  private endTime?: number;\n  private startTime?: number;\n  private timer?: ReturnType<typeof setInterval>;\n  private timeRemainingElement?: HTMLElement;\n  private listenersInitialized = false;\n\n  constructor() {\n    super();\n    this.hide();\n    this.attachShadow({ mode: 'open' });\n    this.shadowRoot.innerHTML = `<style>${styles}</style>${html}`;\n  }\n\n  public connectedCallback() {\n    this.render();\n  }\n\n  public attributeChangedCallback(name: string, _oldValue: string, newValue: string) {\n    switch (name) {\n      case 'data-start-time':\n        this.startTime = parseInt(newValue, 10) * 1000;\n        break;\n      case 'data-end-time':\n        this.endTime = parseInt(newValue, 10) * 1000;\n        break;\n    }\n\n    this.render();\n  }\n\n  private render() {\n    if (!this.listenersInitialized) {\n      this.listenersInitialized = true;\n\n      this.timeRemainingElement = this.shadowRoot.querySelector<HTMLElement>('.time-remaining');\n    }\n\n    if (!this.isConnected || !this.startTime || !this.endTime) {\n      return;\n    }\n\n    const nowTime = Date.now();\n\n    if (nowTime < this.startTime) {\n      return;\n    }\n\n    if (nowTime >= this.endTime) {\n      return;\n    }\n\n    this.show();\n    clearInterval(this.timer);\n    this.timer = setInterval(this.renderTime.bind(this), 100);\n  }\n\n  private renderTime() {\n    const nowTime = Date.now();\n    if (this.endTime - nowTime < 0) {\n      this.hide();\n      clearInterval(this.timer);\n      return;\n    }\n\n    const remaining = getTimeRemaining(this.endTime, nowTime);\n    const daysRemaining = remaining.days > 0 ?\n      `${remaining.days} ${remaining.days === 1 ? 'day' : 'days'}` :\n      '';\n    const timeRemaining = formatTime(remaining.hours, remaining.minutes,\n      remaining.seconds);\n\n    this.timeRemainingElement.textContent = `${daysRemaining} ${timeRemaining}`;\n  }\n\n  /**\n   * Hide the whole component.\n   */\n  private hide() {\n    this.style.display = 'none';\n  }\n\n  /**\n   * Show the whole component.\n   */\n  private show() {\n    this.style.display = null;\n  }\n}\n\nfunction formatTime(hours: number, minutes: number, seconds: number) {\n  const h = hours.toString();\n  const m = minutes.toString();\n  const s = seconds.toString();\n  return `${h}h ${m}m ${s}s`;\n}\n\nfunction getTimeRemaining(endingMs: number, currentMs: number) {\n  let timeRemainingSeconds = (endingMs - currentMs) / 1000;\n\n  const days = Math.floor(timeRemainingSeconds / 86400);\n  timeRemainingSeconds -= days * 86400;\n\n  const hours = Math.floor(timeRemainingSeconds / 3600) % 24;\n  timeRemainingSeconds -= hours * 3600;\n\n  const minutes = Math.floor(timeRemainingSeconds / 60) % 60;\n  timeRemainingSeconds -= minutes * 60;\n\n  const seconds = Math.floor(timeRemainingSeconds % 60);\n\n  return {\n    days,\n    hours,\n    minutes,\n    seconds\n  };\n}\n\ndeclare global {\n  interface HTMLElementTagNameMap {\n    'product-detail-countdown-timer': ProductDetailCountdownTimer;\n  }\n}\n\nif (!customElements.get('product-detail-countdown-timer')) {\n  customElements.define('product-detail-countdown-timer', ProductDetailCountdownTimer);\n}\n","export default \":host{display:block;font-size:.875rem}.time-remaining{color:#7c0d3f;font-weight:600;margin-left:8px}\";","// Module\nvar code = \"Sale Ends in<time class=\\\"time-remaining\\\"></time>\";\n// Exports\nexport default code;","import { CustomElement } from '@integrabeauty/custom-elements';\nimport html from './index.html';\nimport styles from './index.scss';\n\n/**\n * A custom element that displays a zoomable image when clicked.\n *\n * It should only be used on devices that support hover and have a minimum width of 768px. We don't\n * need this feature on mobile devices as users can pinch to zoom.\n */\nclass ZoomableImage extends HTMLElement implements CustomElement {\n  readonly dataset!: {\n    /**\n     * The scale coefficient of the zoomable image, number represented as a string, e.g. \"1.5\"\n     * Defaults to \"2\" if not set or invalid.\n     */\n    scale: string;\n\n    /**\n     * The URL of the large zoomable image.\n     */\n    zoomableImage: string;\n  };\n\n  private onClickedBound = this.onClicked.bind(this);\n  private onMouseEnterBound = this.onMouseEnter.bind(this);\n  private onMouseLeaveBound = this.onMouseLeave.bind(this);\n  private onMouseMoveBound = this.onMouseMove.bind(this);\n  private onMediaQueryChangeBound = this.onMediaQueryChange.bind(this);\n\n  public shadowRoot!: ShadowRoot;\n  private animationFrameId: number | null = null;\n  private isPreloaded = false;\n  private state: 'zoomedIn' | 'zoomedOut' = 'zoomedOut';\n  private imageContainer: HTMLDivElement | null = null;\n  private mediaQuery = matchMedia('(hover: hover) and (min-width: 768px)');\n\n  public constructor() {\n    super();\n    this.attachShadow({ mode: 'open' });\n    this.shadowRoot.innerHTML = `<style>${styles}</style>${html}`;\n  }\n\n  public connectedCallback() {\n    if (this.mediaQuery.matches) {\n      this.addEventListeners();\n    }\n\n    this.mediaQuery.addEventListener('change', this.onMediaQueryChangeBound);\n  }\n\n  public disconnectedCallback() {\n    this.removeEventListeners();\n  }\n\n  private addEventListeners() {\n    this.addEventListener('click', this.onClickedBound);\n    this.addEventListener('mouseenter', this.onMouseEnterBound);\n    this.addEventListener('mouseleave', this.onMouseLeaveBound);\n    this.addEventListener('mousemove', this.onMouseMoveBound);\n  }\n\n  private removeEventListeners() {\n    this.removeEventListener('click', this.onClickedBound);\n    this.removeEventListener('mouseenter', this.onMouseEnterBound);\n    this.removeEventListener('mouseleave', this.onMouseLeaveBound);\n  }\n\n  private onMediaQueryChange(event: MediaQueryListEvent) {\n    if (event.matches) {\n      this.addEventListeners();\n    } else {\n      this.removeEventListeners();\n      if (this.state === 'zoomedIn') {\n        this.hideImage();\n      }\n    }\n  }\n\n  private onClicked(_event: Event) {\n    if (this.state === 'zoomedOut') {\n      this.showImage();\n    } else if (this.state === 'zoomedIn') {\n      this.hideImage();\n    }\n  }\n\n  /**\n   * Preload the zoomable image on mouse enter. It improves user experience by reducing the delay\n   * when the user clicks to zoom in and sees the large image.\n   */\n  private onMouseEnter(_event: Event) {\n    // preload only once\n    if (this.isPreloaded) {\n      return;\n    }\n\n    preloadImage(this.dataset.zoomableImage);\n    this.removeEventListener('mouseenter', this.onMouseEnter);\n  }\n\n  private onMouseLeave(_event: Event) {\n    if (this.state === 'zoomedIn') {\n      this.hideImage();\n    }\n  }\n\n  private onMouseMove(event: MouseEvent) {\n    if (!this.imageContainer) {\n      return;\n    }\n\n    if (this.animationFrameId) {\n      cancelAnimationFrame(this.animationFrameId);\n    }\n\n    this.animationFrameId = requestAnimationFrame(() => {\n      // it's possible that the imageContainer is null when the animation frame is executed\n      if (!this.imageContainer) {\n        return;\n      }\n\n      const translateX = (event.offsetX * 100) / this.offsetWidth;\n      const translateY = (event.offsetY * 100) / this.offsetHeight;\n      this.imageContainer.style.backgroundPosition =\n        `${translateX.toFixed(2)}% ${translateY.toFixed(2)}%`;\n    });\n  }\n\n  private showImage() {\n    this.state = 'zoomedIn';\n\n    if (!this.dataset.zoomableImage) {\n      return;\n    }\n\n    const div = document.createElement('div');\n    div.style.backgroundImage = `url(${this.dataset.zoomableImage})`;\n\n    // default to 2 if not a valid number\n    const scale = parseFloat(this.dataset.scale) || 2;\n    div.style.backgroundSize = `${scale * 100}%`;\n\n    this.shadowRoot.appendChild(div);\n    this.imageContainer = div;\n  }\n\n  private hideImage() {\n    this.state = 'zoomedOut';\n\n    const imageContainer = this.shadowRoot.querySelector('div');\n    if (imageContainer) {\n      this.shadowRoot.removeChild(imageContainer);\n    }\n\n    this.imageContainer = null;\n  }\n}\n\nfunction preloadImage(src: string) {\n  const img = new Image();\n  img.src = src;\n}\n\ndeclare global {\n  interface HTMLElementTagNameMap {\n    'zoomable-image': ZoomableImage;\n  }\n}\n\nif (!customElements.get('zoomable-image')) {\n  customElements.define('zoomable-image', ZoomableImage);\n}\n","export default \":host{display:block;position:relative}@media only screen and (min-width:768px)and (hover:hover){:host{cursor:zoom-in}}div{background-position:50% 50%;background-repeat:no-repeat;background-size:150%;cursor:zoom-out;display:block;height:100%;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}\";","// Module\nvar code = \"<slot></slot>\";\n// Exports\nexport default code;","import type { Splide, Components, Options } from '@splidejs/splide';\n\n/**\n * Extension to add a custom slidebar to the Splide slider for visualizing and controlling the\n * slide position.\n *\n * If you want to render a sidebar in a specific place in the HTML, add the sidebar's markup\n * directly to your template. If no markup is provided, the sidebar will be automatically created\n * and inserted right before the closing tag of the Splide root element.\n *\n * This library was copy-paged from Lange.\n *\n * @param splide The main Splide instance\n * @param components Splide components\n * @param options Splide options object, containing customization options\n *\n * @see https://splidejs.com/components/\n * @see https://splidejs.com/guides/options/\n * @see https://splidejs.com/guides/extension/\n */\nexport function splideSlidebarExtension(splide: Splide, components: Components, options: Options) {\n  /**\n   * Root slidebar element\n   */\n  let slidebar: HTMLElement;\n\n  /**\n   * Indicates whether the sidebar markup is already present in the HTML or not.\n   */\n  let hasSlidebarMarkup = false;\n\n  /**\n   * Slide bar handle element\n   */\n  let handle: HTMLElement;\n\n  /**\n   * Slidebar current position\n   */\n  let position = 0;\n\n  /**\n   * Maximum allowable position value for the slidebar handle\n   */\n  let maxPosition: number;\n\n  /**\n   * Maximum allowable position value for the Splide's track. Store the value to not calculate all\n   * the time when the slider is dragged.\n   */\n  let maxTrackPosition: number;\n\n  /**\n   * Previous x-coordinate of the touch, needed to calculate the touch movement distance.\n   */\n  let previousTouchX = 0;\n\n  /**\n   * Mounts the extension, setting up the slidebar and initializing event listeners. Splide call\n   * this method automatically when the slider is ready.\n   *\n   * @see https://splidejs.com/guides/extension/\n   */\n  function mount() {\n    slidebar = components.Elements.root.querySelector('.splide__slider');\n    handle = components.Elements.root.querySelector('.splide__slider-handle');\n\n    if (slidebar && handle) {\n      hasSlidebarMarkup = true;\n    } else {\n      renderSlidebar();\n    }\n\n    splide.on('ready', onSplideReady);\n    splide.on('updated', onSplideOptionsUpdated);\n    splide.on('overflow', onSplideOverflowed);\n  }\n\n  /**\n   * Enables the slidebar functionality, adding the necessary event listeners.\n   */\n  function enable() {\n    if (!hasSlidebarMarkup) {\n      components.Elements.root.appendChild(slidebar);\n    }\n\n    slidebar.classList.remove('hidden');\n\n    // Without this delay, the first page of the carousel is not clickable. There’s an issue with\n    // calling the components.Controller.go() method immediately when the extension is mounted.\n    setTimeout(onSplideResized);\n\n    if (!splide.is('fade')) {\n      splide.on('dragging.slidebar', onSplideDragging);\n    }\n\n    splide.on('move.slidebar', onSplideMoveStarted);\n    splide.on('resized.slidebar', onSplideResized);\n    handle.addEventListener('mousedown', onMousedown);\n    handle.addEventListener('touchstart', onTouchstart, { passive: true });\n    handle.addEventListener('transitionend', onTransitionend);\n    slidebar.addEventListener('click', onSlidebarClicked);\n  }\n\n  /**\n   * Disables the slidebar functionality, removing the event listeners and slidebar element.\n   */\n  function disable() {\n    slidebar.classList.add('hidden');\n\n    splide.off('move.slidebar');\n    splide.off('resized.slidebar');\n    splide.off('dragging.slidebar');\n    handle.removeEventListener('mousedown', onMousedown);\n    handle.removeEventListener('touchstart', onTouchstart);\n    handle.removeEventListener('transitionend', onTransitionend);\n    slidebar.removeEventListener('click', onSlidebarClicked);\n  }\n\n  /**\n   * Creates elements, calculates, and sets the handle width based on the number of slides, but does\n   * not append the element to the DOM.\n   */\n  function renderSlidebar() {\n    slidebar = document.createElement('div');\n    slidebar.classList.add('splide__slider');\n\n    handle = document.createElement('div');\n    handle.classList.add('splide__slider-handle');\n\n    handle.style.width = calculateHandleWidth();\n\n    slidebar.appendChild(handle);\n  }\n\n  /**\n   * Calculates the width of the handle.\n   *\n   * The function works depending upon the 'mode' the Splide is in. If it's in 'fade' mode, the\n   * width is calculated based on the proportion of 'perPage' option to the total number of slides,\n   * scaled to fit a percentage scale (0-100).\n   *\n   * For other modes, the handle width is determined by the ratio of list size\n   * to slider size, also expressed as a percentage.\n   *\n   * @returns The calculated width of the handle.\n   */\n  function calculateHandleWidth() {\n    let handleWidth;\n    if (splide.is('fade')) {\n      handleWidth = (options.perPage / components.Slides.getLength()) * 100;\n    } else {\n      handleWidth = (components.Layout.listSize() / components.Layout.sliderSize()) * 100;\n    }\n\n    return `${handleWidth}%`;\n  }\n\n  /**\n   * Calculates maximum values for the slidebar and track, ensuring they stay in sync.\n   */\n  function recalculateSlidebarAndTrackPosition() {\n    maxPosition = slidebar.offsetWidth - handle.offsetWidth;\n    maxTrackPosition = components.Layout.sliderSize() - components.Layout.listSize();\n\n    components.Controller.go(splide.index, true);\n  }\n\n  /**\n   * Processes and restricts handle movement within the slidebar bounds.\n   *\n   * @param toPosition Desired new position of the handle.\n   */\n  function processHandleMove(toPosition: number) {\n    const newPosition = getHandlePositionWithinBounds(toPosition);\n\n    // avoid position update if handle position hasn't changed.\n    if (position === newPosition) {\n      return;\n    }\n\n    position = getHandlePositionWithinBounds(toPosition);\n\n    if (!splide.is('fade')) {\n      const newSplidePosition = getCalculatedTrackPosition(position);\n      components.Move.translate(newSplidePosition);\n    }\n\n    // it ensures the DOM updates are synchronized with the browser's refresh rate, avoiding\n    // unnecessary reflows and keeping animations smooth\n    requestAnimationFrame(() => {\n      handle.style.transform = `translateX(${position}px)`;\n    });\n  }\n\n  /**\n   * Adjusts and returns the intended position of the handle within the boundaries of a slider.\n   * Checks whether the new position is within the range [0, maxPosition]. If the intended position\n   * is less than 0, it will be set to 0. If it's larger than maxPosition, it will be set\n   * to maxPosition. If it's the same as the current position, it will return this value without\n   * changes.\n   *\n   * @param toPosition - The intended new position.\n   * @returns newPosition - The adjusted position within the range [0, maxPosition].\n   */\n  function getHandlePositionWithinBounds(toPosition: number) {\n    let newPosition = toPosition;\n    if (newPosition <= 0) {\n      newPosition = 0;\n    } else if (newPosition >= maxPosition) {\n      newPosition = maxPosition;\n    }\n\n    return newPosition;\n  }\n\n  /**\n   * Aligns the track position based on the current position of the handle.\n   */\n  function alignTrackPosition() {\n    let index: number;\n\n    if (splide.is('fade')) {\n      index = Math.round(position / (maxPosition / components.Slides.getLength()));\n    } else {\n      const currentSplidePosition = components.Move.getPosition();\n      index = components.Move.toIndex(currentSplidePosition);\n    }\n\n    components.Controller.go(index, true);\n  }\n\n  function onSplideOptionsUpdated(_options: Options) {\n    toggleSlidebar();\n  }\n\n  function onSplideReady() {\n    toggleSlidebar();\n  }\n\n  function toggleSlidebar() {\n    // We need to both check isEnough() and isOverflow(). Depending on the Splide options or due\n    // to some Splide bugs, solely relying on one of these methods has led to issues.\n    if (options.slidebar && components.Slides.isEnough() && components.Layout.isOverflow()) {\n      enable();\n    } else {\n      disable();\n    }\n  }\n\n  function onMousedown() {\n    addEventListener('mousemove', onMousemove);\n    addEventListener('mouseup', onMouseup);\n  }\n\n  function onMouseup() {\n    // TODO: \"mouseup\" event is fired on touch devices right after \"touchend\". Need to investigate,\n    // if we can replace mouse and touch events with \"pointerdown\" and \"pointerup\" events.\n\n    alignTrackPosition();\n\n    removeEventListener('mousemove', onMousemove);\n    removeEventListener('mouseup', onMouseup);\n  }\n\n  function onMousemove(event: MouseEvent) {\n    const newPosition = position + event.movementX;\n    processHandleMove(newPosition);\n  }\n\n  function onTouchstart(event: TouchEvent) {\n    const touch = event.touches[0];\n    previousTouchX = touch.clientX;\n\n    addEventListener('touchmove', onTouchmove);\n    addEventListener('touchend', onTouchend);\n  }\n\n  function onTouchend(_event: TouchEvent) {\n    previousTouchX = 0;\n\n    alignTrackPosition();\n\n    removeEventListener('touchmove', onTouchmove);\n    removeEventListener('touchend', onTouchend);\n  }\n\n  function onTouchmove(event: TouchEvent) {\n    const touch = event.touches[0];\n    const movementX = touch.clientX - previousTouchX;\n    const newPosition = position + movementX;\n    previousTouchX = touch.clientX;\n\n    processHandleMove(newPosition);\n  }\n\n  /**\n   * Resets handle transition style once transition ends\n   */\n  function onTransitionend() {\n    handle.style.transition = '';\n  }\n\n  function onSlidebarClicked(event: MouseEvent) {\n    if (event.target !== event.currentTarget) {\n      return;\n    }\n\n    const newSlidebarPosition = event.offsetX - handle.offsetWidth / 2;\n    let index: number;\n\n    if (splide.is('fade')) {\n      index = Math.round(newSlidebarPosition / (maxPosition / components.Slides.getLength()));\n    } else {\n      const newTrackPosition = getCalculatedTrackPosition(newSlidebarPosition);\n      index = components.Move.toIndex(newTrackPosition);\n    }\n\n    components.Controller.go(index, true);\n  }\n\n  function onSplideResized() {\n    handle.style.width = calculateHandleWidth();\n\n    recalculateSlidebarAndTrackPosition();\n  }\n\n  function onSplideOverflowed(isOverflow: boolean) {\n    if (isOverflow) {\n      enable();\n    } else {\n      disable();\n    }\n  }\n\n  /**\n   * Sets the handle position based on the active slide's position.\n   *\n   * @param index Active Slide index.\n   */\n  function onSplideMoveStarted(index: number) {\n    let newSlidebarPosition;\n    if (splide.is('fade')) {\n      newSlidebarPosition = (options.perPage / (components.Slides.getLength() - 1)) * maxPosition *\n        index;\n    } else {\n      const newTrackPosition = components.Move.toPosition(index);\n      newSlidebarPosition = getCalculatedSlidebarPosition(newTrackPosition);\n    }\n\n    position = getHandlePositionWithinBounds(newSlidebarPosition);\n    handle.style.transform = `translateX(${position}px)`;\n    handle.style.transition = 'transform 400ms cubic-bezier(0.25, 1, 0.5, 1)';\n  }\n\n  function onSplideDragging() {\n    const newPosition = getCalculatedSlidebarPosition();\n    position = getHandlePositionWithinBounds(newPosition);\n    handle.style.transform = `translateX(${position}px)`;\n  }\n\n  /**\n   * Calculates the handle's position based on the current track position.\n   *\n   * @param trackPosition Optional track position for calculation. If not provided the value from\n   *   the Move component is taken. We don't need to pass a new track position if this function used\n   *   to get the slidebar position when the slider is dragged, but it's necessary if used when\n   *   the slider is moved to a certain slide because the position at the end of moving should be\n   *   taken instead of the current Splide's track position.\n   */\n  function getCalculatedSlidebarPosition(trackPosition?: number) {\n    // Use the max track position for the last reachable slide index rather than computing from\n    // layout dimensions. The arithmetic below doesn't work if the last slide is reached. It's good\n    // enough for the slide position in the middle of the slider but causes the slidebar handle to\n    // never fully reach the end.\n    const endIndex = components.Controller.getEnd();\n    const currentIndex = components.Controller.getIndex();\n    if (endIndex === currentIndex) {\n      return maxPosition;\n    }\n\n    const currentTrackPosition = -1 * (trackPosition ?? components.Move.getPosition());\n    const ratio = currentTrackPosition / maxTrackPosition;\n    const newSlideBarPosition = ratio * maxPosition;\n    return newSlideBarPosition;\n  }\n\n  /**\n   * Calculates the track's position based on the handle's position.\n   *\n   * @param slidebarPosition Position of the slidebar handle.\n   */\n  function getCalculatedTrackPosition(slidebarPosition: number) {\n    const ratio = slidebarPosition / maxPosition;\n    const newTrackPosition = -1 * ratio * maxTrackPosition;\n    return newTrackPosition;\n  }\n\n  return {\n    mount\n  };\n}\n","import '../../lib/webpack-path';\nimport type Splide from '@splidejs/splide';\nimport { splideSlidebarExtension } from '../../lib/splide-slidebar-extension';\n\nlet productId: number;\nlet mainSplide: Splide;\nlet navSplide: Splide;\nlet mainImages: HTMLElement;\nlet navImages: HTMLElement;\n\nfunction showAndFadeOutCountIndicator() {\n  const elems = document.querySelectorAll('.splide__count-indicator');\n  if (elems.length === 0) {\n    return;\n  }\n\n  for (const elem of elems) {\n    elem.classList.remove('fade-out');\n  }\n\n  setTimeout(() => {\n    for (const elem of elems) {\n      elem.classList.add('fade-out');\n    }\n  }, 1000);\n}\n\nfunction recalculateCarousel() {\n  const gallery = document.getElementById('product-image-gallery');\n  if (!gallery) {\n    return;\n  }\n\n  gallery.style.cssText = '';\n}\n\nfunction onDOMContentLoaded() {\n  const mainCarousel = document.querySelector('.splide--product-gallery-main-carousel');\n  if (!mainCarousel) {\n    return;\n  }\n\n  const gallery = document.querySelector<HTMLElement>('#product-image-gallery');\n  productId = parseInt(gallery.dataset.productId, 10);\n  if (!productId) {\n    return;\n  }\n\n  initCarousel()\n    .then(() => {\n      recalculateCarousel();\n    })\n    .catch(console.warn);\n\n  addEventListener('resize', recalculateCarousel);\n\n  // Listen only to events from the PDP variant selector. It prevents collisions between a product\n  // card with the same product on the page, e.g. in the predictive search or recommended products,\n  // and the product details.\n  const productPage = document.querySelector<HTMLElement>('.product-v2');\n  productPage.addEventListener('variant-changed', onVariantChanged);\n}\n\nfunction onVariantChanged(event: WindowEventMap['variant-changed']) {\n  const detail = event.detail;\n  // This extra conditional is just paranoia, might not be needed\n  if (detail.variant.product_id !== productId) {\n    return;\n  }\n\n  updateCarouselImages(detail.variant.id.toString());\n}\n\nfunction updateCarouselImages(variantId: string) {\n  // Update images per variant on main carousel\n  mainSplide.Components.Slides.remove(item => item.slide.dataset.variantId);\n  let index = 0;\n  const variantMainImages =\n    mainImages.querySelectorAll(`[data-variant-id=\"${variantId}\"]`);\n  for (const slide of variantMainImages) {\n    const newSlide = <HTMLElement>(slide.cloneNode(true));\n    mainSplide.Components.Slides.add(newSlide, index++);\n  }\n\n  const singleImage = variantMainImages.length <= 1;\n  const mainSliderFooter = mainSplide.Components.Elements.root.querySelector('.splide__footer');\n  if (singleImage) {\n    mainSliderFooter.classList.add('hidden');\n  } else {\n    mainSliderFooter.classList.remove('hidden');\n  }\n\n  // Update images per variant on nav carousel\n  if (navSplide) {\n    if (singleImage) {\n      navSplide.Components.Elements.root.classList.add('hidden');\n    } else {\n      navSplide.Components.Elements.root.classList.remove('hidden');\n    }\n\n    navSplide.Components.Slides.remove(item => item.slide.dataset.variantId);\n    let index = 0;\n    const variantNavImages =\n      navImages.querySelectorAll(`[data-variant-id=\"${variantId}\"]`);\n    for (const slide of variantNavImages) {\n      const newSlide = <HTMLElement>(slide.cloneNode(true));\n      navSplide.Components.Slides.add(newSlide, index++);\n    }\n  }\n\n  // Scroll to first slide\n  mainSplide.go(0);\n}\n\nasync function initCarousel() {\n  const { Splide } = await import('@splidejs/splide');\n  const mainCarousel =\n    document.querySelector<HTMLElement>('.splide--product-gallery-main-carousel');\n\n  // Cache main carousel markup\n  mainImages = document.createElement('div');\n  mainImages.innerHTML = mainCarousel.innerHTML;\n\n  // Init main carousel\n  mainSplide = new Splide(mainCarousel, {\n    type: 'fade',\n    perPage: 1,\n    perMove: 1,\n    rewind: true,\n    pagination: false,\n    arrows: true,\n    lazyLoad: 'nearby',\n    mediaQuery: 'min',\n    slidebar: true,\n    breakpoints: {\n      768: {\n        arrows: false,\n        slidebar: false\n      }\n    }\n  });\n\n  const navCarousel = document.querySelector('.splide--product-gallery-nav-carousel');\n  if (navCarousel) {\n    // Cache nav carousel markup\n    navImages = document.createElement('div');\n    navImages.innerHTML = navCarousel.innerHTML;\n\n    navSplide = new Splide(<HTMLElement>navCarousel, {\n      fixedWidth: 85,\n      fixedHeight: 85,\n      gap: 12,\n      perMove: 1,\n      rewind: true,\n      pagination: false,\n      isNavigation: true,\n      arrows: true,\n      lazyLoad: 'nearby',\n      keyboard: true,\n      breakpoints: {\n        767: {\n          // SPLIDE BUG regarding `destroy: true`\n          // @see https://github.com/Splidejs/splide/issues/1268\n          // I reported this bug, but temporarily we are leveraging CSS to hide\n          // the nav carousel so it doesn't break syncing after resize.\n          // destroy: true\n        },\n        768: {\n          arrows: false\n        }\n      }\n    });\n  }\n\n  // Pause video when slide is not active\n  mainSplide.on('move', (newIndex, prevIndex) => {\n    showAndFadeOutCountIndicator();\n    const oldSlideContainer = mainSplide.Components.Slides.getAt(prevIndex);\n    const video = oldSlideContainer?.slide.querySelector('video');\n    if (video && !video.paused) {\n      video.pause();\n    }\n  });\n\n  // Start to play video when slide became active\n  mainSplide.on('moved', (newIndex, prevIndex, destIndex) => {\n    showAndFadeOutCountIndicator();\n    const newSlideContainer = mainSplide.Components.Slides.getAt(destIndex);\n    const video = newSlideContainer?.slide.querySelector('video');\n    video?.play().catch(console.warn);\n  });\n\n  // Mount carousels\n  // Order specific per\n  // @see https://splidejs.com/guides/apis/#sync\n  if (navSplide) {\n    mainSplide.sync(navSplide);\n  }\n\n  mainSplide.mount({\n    splideSlidebarExtension\n  });\n\n  type Detail = WindowEventMap['product-carousel-initialized']['detail'];\n  const event = new CustomEvent<Detail>('product-carousel-initialized', {\n    detail: { splide: mainSplide }\n  });\n  dispatchEvent(event);\n\n  if (navSplide) {\n    navSplide.mount();\n  }\n\n  // set initial carousel state\n  const selectedVariant = mainCarousel.dataset.selectedVariant;\n  const hasOnlyDefaultVariant = mainCarousel.dataset.hasOnlyDefaultVariant === 'true';\n  if (selectedVariant && !hasOnlyDefaultVariant) {\n    updateCarouselImages(selectedVariant);\n  }\n}\n\n/**\n * Occurs when a product image gallery is initialized on a PDP page.\n */\ntype ProductCarouselInitializedEvent = CustomEvent<{\n  splide: Splide;\n}>;\n\ndeclare global {\n  interface WindowEventMap {\n    'product-carousel-initialized': ProductCarouselInitializedEvent;\n  }\n}\n\naddEventListener('DOMContentLoaded', onDOMContentLoaded);\n","export {};\n\n// See webpack.md for help. This MUST be included in any module that performs dynamic imports.\n\ndeclare global {\n  /**\n   * This is a global that is defined in a liquid snippet to point to the Shopify asset path.\n   * Webpack compilation is transpiled to point the variable to the global. Because Webpack\n   * compilation involves raw string replacement, this variable has to actually exist. Because we\n   * do not know the public path at compile time this is basically a hack that allows to define the\n   * public path at runtime. This public path is needed for webpack to perform its dynamic module\n   * loading, e.g. to support dynamic imports.\n   */\n  // eslint-disable-next-line @typescript-eslint/naming-convention\n  var __webpack_public_path__: string;\n}\n\n__webpack_public_path__ = window.__webpack_public_path__;\n"],"names":["inProgress","dataWebpackPrefix","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","d","definition","key","o","Object","defineProperty","enumerable","get","f","e","chunkId","Promise","all","keys","reduce","promises","u","miniCssF","obj","prop","prototype","hasOwnProperty","call","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","p","installedChunks","j","installedChunkData","promise","resolve","reject","error","Error","errorType","realSrc","message","name","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","id","chunkLoadingGlobal","self","ProductDetails","HTMLElement","constructor","super","onVariantChangedBound","this","onVariantChanged","connectedCallback","addEventListener","disconnectedCallback","removeEventListener","variant","detail","dataset","isSet","updatePrice","price","updateCompareAtPrice","compareAtPrice","compareAtPriceModalContent","updateTopBadge","topBadge","topBadgeStyle","updateProductDescription","categoryDescription","priceElement","querySelector","previousValue","textContent","replace","toFixed","modalContent","compareAtPriceInfo","content","value","style","description","descriptionElement","productDescription","originalDescription","customElements","define","ProductVariantSelector","onShowOptionsClickedBound","onShowOptionsClicked","attachShadow","mode","shadowRoot","innerHTML","concat","render","product_variant_selector_event_queue","isVariantChangedEvent","console","warn","host","classList","remove","button","optionsContainer","add","variantId","updateVariantTitle","option","updateColorSwatch","color","shouldUpdateUrl","URL","location","href","searchParams","set","toString","window","history","replaceState","historyEvent","CustomEvent","cancelable","dispatchEvent","updateUrl","selectedOption","dropdownText","swatch","backgroundColor","OfirStickyCTA","onDOMContentLoadedBound","onDOMContentLoaded","updateElementsBasedOnViewportBound","updateElementsBasedOnViewport","mediaQuery","matchMedia","matchesMediaQuery","styleElement","append","_event","matches","paddingBottom","offsetHeight","discountMessage","SetsSubproduct","imageSrc","image","ProductDescription","observedAttributes","listenersInitialized","onClickReadMoreBound","onClickReadMore","attributeChangedCallback","_name","_oldValue","_newValue","preventDefault","readMore","readMoreLabel","expanded","removeAttribute","ProductDetailCountdownTimer","hide","newValue","startTime","parseInt","endTime","timeRemainingElement","isConnected","nowTime","Date","now","show","clearInterval","timer","setInterval","renderTime","remaining","endingMs","currentMs","timeRemainingSeconds","days","Math","floor","hours","minutes","seconds","getTimeRemaining","daysRemaining","timeRemaining","h","formatTime","display","ZoomableImage","onClickedBound","onClicked","onMouseEnterBound","onMouseEnter","onMouseLeaveBound","onMouseLeave","onMouseMoveBound","onMouseMove","onMediaQueryChangeBound","onMediaQueryChange","animationFrameId","isPreloaded","state","imageContainer","addEventListeners","removeEventListeners","hideImage","showImage","zoomableImage","Image","cancelAnimationFrame","requestAnimationFrame","translateX","offsetX","offsetWidth","translateY","offsetY","backgroundPosition","div","backgroundImage","scale","parseFloat","backgroundSize","splideSlidebarExtension","splide","components","options","slidebar","handle","maxPosition","maxTrackPosition","hasSlidebarMarkup","position","previousTouchX","enable","Elements","root","onSplideResized","is","on","onSplideDragging","onSplideMoveStarted","onMousedown","onTouchstart","passive","onTransitionend","onSlidebarClicked","disable","off","calculateHandleWidth","handleWidth","perPage","Slides","getLength","Layout","listSize","sliderSize","processHandleMove","toPosition","newPosition","getHandlePositionWithinBounds","newSplidePosition","getCalculatedTrackPosition","Move","translate","transform","alignTrackPosition","index","round","currentSplidePosition","getPosition","toIndex","Controller","go","onSplideOptionsUpdated","_options","toggleSlidebar","onSplideReady","isEnough","isOverflow","onMousemove","onMouseup","movementX","touch","touches","clientX","onTouchmove","onTouchend","transition","currentTarget","newSlidebarPosition","newTrackPosition","width","onSplideOverflowed","getCalculatedSlidebarPosition","trackPosition","getEnd","getIndex","slidebarPosition","mount","productId","mainSplide","navSplide","mainImages","navImages","showAndFadeOutCountIndicator","elems","querySelectorAll","elem","recalculateCarousel","gallery","getElementById","cssText","product_id","updateCarouselImages","Components","item","slide","variantMainImages","newSlide","cloneNode","singleImage","mainSliderFooter","variantNavImages","__webpack_public_path__","async","Splide","mainCarousel","perMove","rewind","pagination","arrows","lazyLoad","breakpoints","navCarousel","fixedWidth","fixedHeight","gap","isNavigation","keyboard","newIndex","prevIndex","oldSlideContainer","getAt","video","paused","pause","destIndex","newSlideContainer","play","catch","sync","selectedVariant","hasOnlyDefaultVariant","initCarousel","then"],"sourceRoot":""}