{
  "version": 3,
  "sources": ["/cdn/shop/t/302/assets/utilities.js?vslyalias=DROOL_ART"],
  "sourcesContent": ["/**\n * Request an idle callback or fallback to setTimeout\n * @returns {function} The requestIdleCallback function\n */\nexport const requestIdleCallback =\n  typeof window.requestIdleCallback == 'function' ? window.requestIdleCallback : setTimeout;\n\n/**\n * Executes a callback in a separate task after the next frame.\n * Using to defer non-critical tasks until after the interaction is complete.\n * @see https://web.dev/articles/optimize-inp#yield_to_allow_rendering_work_to_occur_sooner\n * @param {() => any} callback - The callback to execute\n */\nexport const requestYieldCallback = (callback) => {\n  requestAnimationFrame(() => {\n    setTimeout(callback, 0);\n  });\n};\n\n/**\n * Check if the browser supports View Transitions API\n * @returns {boolean} True if the browser supports View Transitions API, false otherwise\n */\nexport function supportsViewTransitions() {\n  return typeof document.startViewTransition === 'function';\n}\n\n/**\n * The current view transition\n * @type {{ current: Promise<void> | undefined }}\n */\nexport const viewTransition = {\n  current: undefined,\n};\n\n/**\n * Functions to run when a view transition of a given type is started\n * @type {{ [key: string]: () => Promise<(() => void) | undefined> }}\n */\nconst viewTransitionTypes = {\n  'product-grid': async () => {\n    const grid = document.querySelector('.product-grid');\n    const productCards = /** @type {HTMLElement[]} */ ([\n      ...document.querySelectorAll('.product-grid .product-grid__item'),\n    ]);\n\n    if (!grid || !productCards.length) return;\n\n    await new Promise((resolve) =>\n      requestIdleCallback(() => {\n        const cardsToAnimate = getCardsToAnimate(grid, productCards);\n\n        productCards.forEach((card, index) => {\n          if (index < cardsToAnimate) {\n            card.style.setProperty('view-transition-name', `product-card-${card.dataset.productId}`);\n          } else {\n            card.style.setProperty('content-visibility', 'hidden');\n          }\n        });\n\n        resolve(null);\n      })\n    );\n\n    return () =>\n      productCards.forEach((card) => {\n        card.style.removeProperty('view-transition-name');\n        card.style.removeProperty('content-visibility');\n      });\n  },\n};\n\n/**\n * Starts a view transition\n * @param {() => void} callback The callback to call when the view transition starts\n * @param {string[]} [types] The types of view transition to use\n * @returns {Promise<void>} A promise that resolves when the view transition finishes\n */\nexport function startViewTransition(callback, types) {\n  return new Promise(async (resolve) => {\n    // Check if View Transitions API is supported\n    if (supportsViewTransitions() && !prefersReducedMotion()) {\n      let cleanupFunctions = [];\n\n      if (types) {\n        for (const type of types) {\n          if (viewTransitionTypes[type]) {\n            const cleanupFunction = await viewTransitionTypes[type]();\n            if (cleanupFunction) cleanupFunctions.push(cleanupFunction);\n          }\n        }\n      }\n\n      const transition = document.startViewTransition(callback);\n\n      if (!viewTransition.current) {\n        viewTransition.current = transition.finished;\n      }\n\n      if (types) types.forEach((type) => transition.types.add(type));\n\n      transition.finished.then(() => {\n        viewTransition.current = undefined;\n        cleanupFunctions.forEach((cleanupFunction) => cleanupFunction());\n        resolve();\n      });\n\n      return;\n    }\n\n    // Fallback for browsers that don't support this API yet\n    callback();\n    resolve();\n  });\n}\n\n/**\n * @typedef {{ [key: string]: string | undefined }} Headers\n */\n\n/**\n * @typedef {Object} FetchConfig\n * @property {string} method\n * @property {Headers} headers\n * @property {string | FormData | undefined} [body]\n */\n\n/**\n * Creates a fetch configuration object\n * @param {string} [type] The type of response to expect\n * @param {Object} [config] The config of the request\n * @param {FetchConfig['body']} [config.body] The body of the request\n * @param {FetchConfig['headers']} [config.headers] The headers of the request\n * @returns {RequestInit} The fetch configuration object\n */\nexport function fetchConfig(type = 'json', config = {}) {\n  /** @type {Headers} */\n  const headers = { 'Content-Type': 'application/json', Accept: `application/${type}`, ...config.headers };\n\n  if (type === 'javascript') {\n    headers['X-Requested-With'] = 'XMLHttpRequest';\n    delete headers['Content-Type'];\n  }\n\n  return {\n    method: 'POST',\n    headers: /** @type {HeadersInit} */ (headers),\n    body: config.body,\n  };\n}\n\n/**\n * Creates a debounced function that delays calling the provided function (fn)\n * until after wait milliseconds have elapsed since the last time\n * the debounced function was invoked. The returned function has a .cancel()\n * method to cancel any pending calls.\n *\n * @template {(...args: any[]) => any} T\n * @param {T} fn The function to debounce\n * @param {number} wait The time (in milliseconds) to wait before calling fn\n * @returns {T & { cancel(): void }} A debounced version of fn with a .cancel() method\n */\nexport function debounce(fn, wait) {\n  /** @type {number | undefined} */\n  let timeout;\n\n  /** @param {...any} args */\n  function debounced(...args) {\n    clearTimeout(timeout);\n    timeout = setTimeout(() => fn.apply(this, args), wait);\n  }\n\n  // Add the .cancel method:\n  debounced.cancel = () => {\n    clearTimeout(timeout);\n  };\n\n  return /** @type {T & { cancel(): void }} */ (debounced);\n}\n\n/**\n * Creates a throttled function that calls the provided function (fn) at most once per every wait milliseconds\n *\n * @template {(...args: any[]) => any} T\n * @param {T} fn The function to throttle\n * @param {number} delay The time (in milliseconds) to wait before calling fn\n * @returns {T & { cancel(): void }} A throttled version of fn with a .cancel() method\n */\nexport function throttle(fn, delay) {\n  let lastCall = 0;\n\n  /** @param {...any} args */\n  function throttled(...args) {\n    const now = performance.now();\n    // If the time since the last call exceeds the delay, execute the callback\n    if (now - lastCall >= delay) {\n      lastCall = now;\n      fn.apply(this, args);\n    }\n  }\n\n  throttled.cancel = () => {\n    lastCall = performance.now();\n  };\n\n  return /** @type {T & { cancel(): void }} */ (throttled);\n}\n\n/**\n * A media query for reduced motion\n * @type {MediaQueryList}\n */\nconst reducedMotion = matchMedia('(prefers-reduced-motion: reduce)');\n\n/**\n * Check if the user prefers reduced motion\n * @returns {boolean} True if the user prefers reduced motion, false otherwise\n */\nexport function prefersReducedMotion() {\n  return reducedMotion.matches;\n}\n\n/**\n * Normalize a string\n * @param {string} str The string to normalize\n * @returns {string} The normalized string\n */\nexport function normalizeString(str) {\n  return str\n    .normalize('NFD')\n    .replace(/\\p{Diacritic}/gu, '')\n    .toLowerCase();\n}\n\n/**\n * Format a money value\n * @param {string} value The value to format\n * @returns {string} The formatted value\n */\nexport function formatMoney(value) {\n  let valueWithNoSpaces = value.replace(' ', '');\n  if (valueWithNoSpaces.indexOf(',') === -1) return valueWithNoSpaces;\n  if (valueWithNoSpaces.indexOf(',') < valueWithNoSpaces.indexOf('.')) return valueWithNoSpaces.replace(',', '');\n  if (valueWithNoSpaces.indexOf('.') < valueWithNoSpaces.indexOf(','))\n    return valueWithNoSpaces.replace('.', '').replace(',', '.');\n  if (valueWithNoSpaces.indexOf(',') !== -1) return valueWithNoSpaces.replace(',', '.');\n\n  return valueWithNoSpaces;\n}\n\n/**\n * Check if the document is ready/loaded and call the callback when it is.\n * @param {() => void} callback The function to call when the document is ready.\n */\nexport function onDocumentLoaded(callback) {\n  if (document.readyState === 'complete') {\n    callback();\n  } else {\n    window.addEventListener('load', callback);\n  }\n}\n\n/**\n * Wait for all animations to finish before calling the callback.\n * @param {Element | Element[]} elements The element(s) whose animations to wait for.\n * @param {() => void} [callback] The function to call when all animations are finished.\n * @param {Object} [options] The options to pass to `Element.getAnimations`.\n * @returns {Promise<void>} A promise that resolves when all animations are finished.\n */\nexport function onAnimationEnd(elements, callback, options = { subtree: true }) {\n  const animations = Array.isArray(elements)\n    ? elements.flatMap((element) => element.getAnimations(options))\n    : elements.getAnimations(options);\n  const animationPromises = animations.reduce((acc, animation) => {\n    // Ignore ViewTimeline animations\n    if (animation.timeline instanceof DocumentTimeline) {\n      acc.push(animation.finished);\n    }\n\n    return acc;\n  }, /** @type {Promise<Animation>[]} */ ([]));\n\n  return Promise.allSettled(animationPromises).then(callback);\n}\n\n/**\n * Check if the click is outside the element.\n * @param {MouseEvent} event The mouse event.\n * @param {Element} element The element to check.\n * @returns {boolean} True if the click is outside the element, false otherwise.\n */\nexport function isClickedOutside(event, element) {\n  if (event.target instanceof HTMLDialogElement || !(event.target instanceof Element)) {\n    return !isPointWithinElement(event.clientX, event.clientY, element);\n  }\n\n  return !element.contains(event.target);\n}\n\n/**\n * Check if a point is within an element.\n * @param {number} x The x coordinate of the point.\n * @param {number} y The y coordinate of the point.\n * @param {Element} element The element to check.\n * @returns {boolean} True if the point is within the element, false otherwise.\n */\nexport function isPointWithinElement(x, y, element) {\n  const { left, right, top, bottom } = element.getBoundingClientRect();\n\n  return x >= left && x <= right && y >= top && y <= bottom;\n}\n\n/**\n * A media query for large screens\n * @type {MediaQueryList}\n */\nexport const mediaQueryLarge = matchMedia('(min-width: 750px)');\n\n/**\n * Check if the current breakpoint is mobile\n * @returns {boolean} True if the current breakpoint is mobile, false otherwise\n */\nexport function isMobileBreakpoint() {\n  return !mediaQueryLarge.matches;\n}\n\n/**\n * Check if the current breakpoint is desktop\n * @returns {boolean} True if the current breakpoint is desktop, false otherwise\n */\nexport function isDesktopBreakpoint() {\n  return mediaQueryLarge.matches;\n}\n\n/**\n * Clamps a number between a minimum and maximum value.\n * @param {number} value - The input number to clamp.\n * @param {number} min - The minimum value.\n * @param {number} max - The maximum value.\n * @returns {number} The clamped value.\n */\nexport function clamp(value, min, max) {\n  return Math.max(min, Math.min(value, max));\n}\n\n/**\n * Calculates the center point of an element along the specified axis.\n * @param {Element} element - The DOM element to find the center of.\n * @param {'x' | 'y'} [axis] - The axis ('x' or 'y') to get the center for. If not provided, returns both axes.\n * @template {('x' | 'y')} T\n * @param {T} [axis]\n * @returns {T extends ('x' | 'y') ? number : {x: number, y: number}} The center point along the axis or an object with x and y coordinates.\n */\nexport function center(element, axis) {\n  const { left, width, top, height } = element.getBoundingClientRect();\n  const point = {\n    x: left + width / 2,\n    y: top + height / 2,\n  };\n\n  if (axis) return /**  @type {any} */ (point[axis]);\n\n  return /**  @type {any} */ (point);\n}\n\n/**\n * Calculates the start point of an element along the specified axis.\n * @param {Element} element - The DOM element to find the start of.\n * @param {'x' | 'y'} [axis] - The axis ('x' or 'y') to get the start for. If not provided, returns both axes.\n * @returns {number | {x: number, y: number}} The start point along the axis or an object with x and y coordinates.\n */\nexport function start(element, axis) {\n  const { left, top } = element.getBoundingClientRect();\n  const point = { x: left, y: top };\n\n  if (axis) return /**  @type {any} */ (point[axis]);\n\n  return /**  @type {any} */ (point);\n}\n\n/**\n * Finds the value in an array that is closest to a target value.\n * @param {number[]} values - An array of numbers.\n * @param {number} target - The target number to find the closest value to.\n * @returns {number} The value from the array closest to the target.\n */\nexport function closest(values, target) {\n  return values.reduce(function (prev, curr) {\n    return Math.abs(curr - target) < Math.abs(prev - target) ? curr : prev;\n  });\n}\n\n/**\n * Prevents the default action of an event.\n * @param {Event} event - The event to prevent the default action of.\n */\nexport function preventDefault(event) {\n  event.preventDefault();\n}\n\n/**\n * Get the visible elements within a root element.\n * @template {Element} T\n * @param {Element} root - The element within which elements should be visible.\n * @param {T[] | undefined} elements - The elements to check for visibility.\n * @param {number} [ratio=1] - The minimum percentage of the element that must be visible.\n * @param {'x' | 'y'} [axis] - Whether to only check along 'x' axis, 'y' axis, or both if undefined.\n * @returns {T[]} An array containing the visible elements.\n */\nexport function getVisibleElements(root, elements, ratio = 1, axis) {\n  if (!elements?.length) return [];\n  const rootRect = root.getBoundingClientRect();\n\n  return elements.filter((element) => {\n    const { width, height, top, right, left, bottom } = element.getBoundingClientRect();\n\n    if (ratio < 1) {\n      const intersectionLeft = Math.max(rootRect.left, left);\n      const intersectionRight = Math.min(rootRect.right, right);\n      const intersectionWidth = Math.max(0, intersectionRight - intersectionLeft);\n\n      if (axis === 'x') {\n        return width > 0 && intersectionWidth / width >= ratio;\n      }\n\n      const intersectionTop = Math.max(rootRect.top, top);\n      const intersectionBottom = Math.min(rootRect.bottom, bottom);\n      const intersectionHeight = Math.max(0, intersectionBottom - intersectionTop);\n\n      if (axis === 'y') {\n        return height > 0 && intersectionHeight / height >= ratio;\n      }\n\n      const intersectionArea = intersectionWidth * intersectionHeight;\n      const elementArea = width * height;\n\n      // Check that at least the specified ratio of the element is visible\n      return elementArea > 0 && intersectionArea / elementArea >= ratio;\n    }\n\n    const isWithinX = left >= rootRect.left && right <= rootRect.right;\n    if (axis === 'x') {\n      return isWithinX;\n    }\n\n    const isWithinY = top >= rootRect.top && bottom <= rootRect.bottom;\n    if (axis === 'y') {\n      return isWithinY;\n    }\n\n    return isWithinX && isWithinY;\n  });\n}\n\nexport function getIOSVersion() {\n  const { userAgent } = navigator;\n  const isIOS = /(iPhone|iPad)/i.test(userAgent);\n\n  if (!isIOS) return null;\n\n  const version = userAgent.match(/OS ([\\d_]+)/)?.[1];\n  const [major, minor] = version?.split('_') || [];\n  if (!version || !major) return null;\n\n  return {\n    fullString: version.replace('_', '.'),\n    major: parseInt(major, 10),\n    minor: minor ? parseInt(minor, 10) : 0,\n  };\n}\n\n/**\n * Determines which grid items should be animated during a transition.\n * It makes an estimation based on the zoom-out card size because it's\n * the common denominator for both transition states. I.e. transitioning either\n * from 10 to 20 cards the other way around, both need 20 cards to be animated.\n * @param {Element} grid - The grid element\n * @param {Element[]} cards - The cards to animate\n * @returns {number} - Number of cards that should be animated\n */\nfunction getCardsToAnimate(grid, cards) {\n  if (!grid || !cards || cards.length === 0) return 0;\n\n  const itemSample = cards[0];\n  if (!itemSample) return 0;\n\n  // Calculate the visible area of the grid for the Y axis. Assume X is always fully visible:\n  const gridRect = grid.getBoundingClientRect();\n  const visibleArea = {\n    top: Math.max(0, gridRect.top),\n    bottom: Math.min(window.innerHeight, gridRect.bottom),\n  };\n\n  const visibleHeight = Math.round(visibleArea.bottom - visibleArea.top);\n  if (visibleHeight <= 0) return 0;\n\n  /** @type {import('product-card').ProductCard | null} */\n  const cardSample = itemSample.querySelector('product-card');\n  const gridStyle = getComputedStyle(grid);\n\n  const galleryAspectRatio = cardSample?.refs?.cardGallery?.style.getPropertyValue('--gallery-aspect-ratio') || '';\n  let aspectRatio = parseFloat(galleryAspectRatio) || 0.5;\n  if (galleryAspectRatio?.includes('/')) {\n    const [width = '1', height = '2'] = galleryAspectRatio.split('/');\n    aspectRatio = parseInt(width, 10) / parseInt(height, 10);\n  }\n\n  const cardGap = parseInt(cardSample?.refs?.productCardLink?.style.getPropertyValue('--product-card-gap') || '') || 12;\n  const gridGap = parseInt(gridStyle.getPropertyValue('--product-grid-gap')) || 12;\n\n  // Assume only a couple of lines of text in the card details (title and price).\n  // If the title wraps into more lines, we might just animate more cards, but that's fine.\n  const detailsSize = ((parseInt(gridStyle.fontSize) || 16) + 2) * 2;\n\n  const isMobile = window.innerWidth < 750;\n\n  // Always use the zoom-out state card width\n  const cardWidth = isMobile ? Math.round((gridRect.width - gridGap) / 2) : 100;\n  const cardHeight = Math.round(cardWidth / aspectRatio) + cardGap + detailsSize;\n\n  // Calculate the number of cards that fit in the visible area:\n  // - The width estimation is pretty accurate, we can ignore decimals.\n  // - The height estimation needs to account for peeking rows, so we round up.\n  const columnsInGrid = isMobile ? 2 : Math.floor((gridRect.width + gridGap) / (cardWidth + gridGap));\n  const rowsInGrid = Math.ceil((visibleHeight - gridGap) / (cardHeight + gridGap));\n\n  return columnsInGrid * rowsInGrid;\n}\n\n/**\n * Preloads an image\n * @param {string} src - The source of the image to preload\n */\nexport function preloadImage(src) {\n  const image = new Image();\n  image.src = src;\n}\n\nexport class TextComponent extends HTMLElement {\n  shimmer() {\n    this.setAttribute('shimmer', '');\n  }\n}\n\nif (!customElements.get('text-component')) {\n  customElements.define('text-component', TextComponent);\n}\n\n/**\n * Resets the shimmer attribute on all elements in the container.\n * @param {Element} [container] - The container to reset the shimmer attribute on.\n */\nexport function resetShimmer(container = document.body) {\n  const shimmer = container.querySelectorAll('[shimmer]');\n  shimmer.forEach((item) => item.removeAttribute('shimmer'));\n}\n\n/**\n * Change the meta theme color of the header.\n * @param {Element} colorSourceElement - The HTML element whose background-color will determine the new theme-color.\n */\nexport function changeMetaThemeColor(colorSourceElement) {\n  const metaThemeColor = document.head.querySelector('meta[name=\"theme-color\"]');\n  const containerStyle = window.getComputedStyle(colorSourceElement);\n  if (metaThemeColor) metaThemeColor.setAttribute('content', containerStyle.backgroundColor);\n}\n\nclass Scheduler {\n  /** @type {Set<() => void>} */\n  #queue = new Set();\n  /** @type {boolean} */\n  #scheduled = false;\n\n  /** @param {() => void} task */\n  schedule = async (task) => {\n    this.#queue.add(task);\n\n    if (!this.#scheduled) {\n      this.#scheduled = true;\n\n      // Wait for any in-progress view transitions to finish\n      if (viewTransition.current) await viewTransition.current;\n\n      requestAnimationFrame(this.flush);\n    }\n  };\n\n  flush = () => {\n    for (const task of this.#queue) {\n      task();\n    }\n\n    this.#queue.clear();\n    this.#scheduled = false;\n  };\n}\n\nexport const scheduler = new Scheduler();\n\nTheme.utilities = {\n  ...Theme.utilities,\n  scheduler: scheduler,\n};\n"],
  "mappings": "AAIO,aAAM,oBACX,OAAO,OAAO,qBAAuB,WAAa,OAAO,oBAAsB,WAQpE,qBAAwB,UAAa,CAChD,sBAAsB,IAAM,CAC1B,WAAW,SAAU,CAAC,CACxB,CAAC,CACH,EAMO,gBAAS,yBAA0B,CACxC,OAAO,OAAO,SAAS,qBAAwB,UACjD,CAMO,aAAM,eAAiB,CAC5B,QAAS,MACX,EAMA,MAAM,oBAAsB,CAC1B,eAAgB,SAAY,CAC1B,MAAM,KAAO,SAAS,cAAc,eAAe,EAC7C,aAA6C,CACjD,GAAG,SAAS,iBAAiB,mCAAmC,CAClE,EAEA,GAAI,GAAC,MAAQ,CAAC,aAAa,QAE3B,aAAM,IAAI,QAAS,SACjB,oBAAoB,IAAM,CACxB,MAAM,eAAiB,kBAAkB,KAAM,YAAY,EAE3D,aAAa,QAAQ,CAAC,KAAM,QAAU,CAChC,MAAQ,eACV,KAAK,MAAM,YAAY,uBAAwB,gBAAgB,KAAK,QAAQ,SAAS,EAAE,EAEvF,KAAK,MAAM,YAAY,qBAAsB,QAAQ,CAEzD,CAAC,EAED,QAAQ,IAAI,CACd,CAAC,CACH,EAEO,IACL,aAAa,QAAS,MAAS,CAC7B,KAAK,MAAM,eAAe,sBAAsB,EAChD,KAAK,MAAM,eAAe,oBAAoB,CAChD,CAAC,CACL,CACF,EAQO,gBAAS,oBAAoB,SAAU,MAAO,CACnD,OAAO,IAAI,QAAQ,MAAO,SAAY,CAEpC,GAAI,wBAAwB,GAAK,CAAC,qBAAqB,EAAG,CACxD,IAAI,iBAAmB,CAAC,EAExB,GAAI,OACF,UAAW,QAAQ,MACjB,GAAI,oBAAoB,IAAI,EAAG,CAC7B,MAAM,gBAAkB,MAAM,oBAAoB,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