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AAQ,IAAI6G,YAAoB,+BAAgC,CACpE1D,OAAQ,CAAEsK,OAAQ2E,KAEpBrL,cAAc/G,GAEVqS,GACFA,EAAUH,QAIZ,MAAMqD,EAAkBzB,EAAa1Q,QAAQmS,gBACvCC,EAAuE,SAA/C1B,EAAa1Q,QAAQoS,sBAC/CD,IAAoBC,GACtBvC,EAAqBsC,EAEzB,EA3KEE,GACGC,KAAK,KACJ9C,MAEDyC,MAAMhQ,QAAQC,MAEjBvC,iBAAiB,SAAU6P,GAKP1T,SAAS6E,cAA2B,8BAC5ChB,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  }\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\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    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{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;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  }\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 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 {\n  public static get observedAttributes() {\n    return [\n      'data-product-description'\n    ];\n  }\n\n  readonly dataset: {\n    /**\n     * The description of a product\n     */\n    productDescription: string;\n  };\n\n  public shadowRoot!: ShadowRoot;\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    const readMore = this.shadowRoot.querySelector('.read-more');\n    readMore.addEventListener('click', this.onClickReadMoreBound);\n\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 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  private render() {\n    const description = this.shadowRoot.querySelector<HTMLElement>('.description');\n    description.innerHTML = this.dataset.productDescription;\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}@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\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.timeRemainingElement = this.shadowRoot.querySelector<HTMLElement>('.time-remaining');\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.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    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, .sets-product');\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","priceElement","querySelector","previousValue","textContent","replace","toFixed","modalContent","compareAtPriceInfo","content","value","style","customElements","define","ProductVariantSelector","onShowOptionsClickedBound","onShowOptionsClicked","attachShadow","mode","shadowRoot","innerHTML","concat","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","onClickReadMoreBound","onClickReadMore","render","attributeChangedCallback","_name","_oldValue","_newValue","preventDefault","readMore","readMoreLabel","expanded","removeAttribute","productDescription","ProductDetailCountdownTimer","hide","timeRemainingElement","newValue","startTime","parseInt","endTime","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","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":""}