{
  "version": 3,
  "sources": ["/cdn/shop/t/1/assets/morph.js?v=35457747882330740861768528522"],
  "sourcesContent": ["import { Component } from '@theme/component';\n\n/**\n * @typedef {Object} Options\n * @property {boolean} [childrenOnly] - Only update children\n * @property {(node: Node | undefined) => string|number|undefined} [getNodeKey] - Get node key for matching\n * @property {(oldNode: Node, newNode: Node) => void} [onBeforeUpdate] - Pre-update hook\n * @property {(node: Node) => void} [onAfterUpdate] - Post-update hook\n * @property {(oldNode: Node, newNode: Node) => boolean} [reject] - Reject a node from being morphed\n */\n\n/**\n * The options for the morph\n * @type {Options}\n */\nexport const MORPH_OPTIONS = {\n  childrenOnly: true,\n  reject(oldNode, newNode) {\n    if (newNode.nodeType === Node.TEXT_NODE && newNode.nodeValue?.trim() === '') {\n      return true;\n    }\n\n    if (\n      newNode instanceof HTMLTemplateElement &&\n      newNode.shadowRootMode === 'open' &&\n      oldNode.parentElement &&\n      newNode.parentElement &&\n      oldNode.parentElement.tagName === newNode.parentElement.tagName &&\n      oldNode.parentElement?.shadowRoot != null\n    ) {\n      // Ignore template elements of components that are already initialized\n      return true;\n    }\n\n    if (newNode.nodeType === Node.COMMENT_NODE && newNode.nodeValue === 'shopify:rendered_by_section_api') {\n      // Remove a comment node injected by the Section Rendering API in the Theme Editor\n      return true;\n    }\n\n    return false;\n  },\n  onBeforeUpdate(oldNode, newNode) {\n    if (oldNode instanceof Element && newNode instanceof Element) {\n      const attributes = ['product-grid-view', 'data-current-checked', 'data-previous-checked', 'cart-summary-sticky'];\n\n      for (const attribute of attributes) {\n        const oldValue = oldNode.getAttribute(attribute);\n        const newValue = newNode.getAttribute(attribute);\n\n        if (oldValue && oldValue !== newValue) {\n          newNode.setAttribute(attribute, oldValue);\n        }\n      }\n\n      // Special case for elements that need to keep their style\n      const elements = ['floating-panel-component', 'fieldset.variant-option'];\n      const ids = ['account-popover'];\n\n      for (const element of elements) {\n        if (oldNode.matches(element) && newNode.matches(element)) {\n          const oldStyle = oldNode.getAttribute('style');\n          if (oldStyle) newNode.setAttribute('style', oldStyle);\n        }\n      }\n      for (const id of ids) {\n        if (oldNode.id === id && newNode.id === id) {\n          const oldStyle = oldNode.getAttribute('style');\n          if (oldStyle) newNode.setAttribute('style', oldStyle);\n        }\n      }\n\n      // Preserve temporary view transition name\n      if (oldNode instanceof HTMLElement && newNode instanceof HTMLElement && oldNode.style.viewTransitionName) {\n        newNode.style.viewTransitionName = oldNode.style.viewTransitionName;\n      }\n    }\n  },\n  onAfterUpdate(node) {\n    if (node instanceof Component) {\n      queueMicrotask(() => node.updatedCallback());\n    }\n  },\n};\n\n/**\n * Morphs one DOM tree into another by comparing nodes and applying minimal changes\n * @param {Node} oldTree - The existing DOM tree\n * @param {Node | string} newTree - The new DOM tree to morph to\n * @param {Options} [options] - Configuration options\n * @returns {Node} The morphed DOM tree\n */\nexport function morph(oldTree, newTree, options = MORPH_OPTIONS) {\n  if (!oldTree || !newTree) {\n    throw new Error('Both oldTree and newTree must be provided');\n  }\n\n  if (typeof newTree === 'string') {\n    const parsedNewTree = new DOMParser().parseFromString(newTree, 'text/html').body.firstChild;\n    if (!parsedNewTree) {\n      throw new Error('newTree string is not valid HTML');\n    }\n    newTree = parsedNewTree;\n  }\n\n  if (options.childrenOnly) {\n    updateChildren(newTree, oldTree, options);\n    return oldTree;\n  }\n\n  if (newTree.nodeType === 11) {\n    throw new Error('newTree should have one root node (not a DocumentFragment)');\n  }\n\n  return walk(newTree, oldTree, options);\n}\n\n/**\n * Walk and morph a dom tree\n * @param {Node} newNode - The new node to morph to\n * @param {Node} oldNode - The old node to morph from\n * @param {Options} options - The options object\n * @returns {Node} The new node or the morphed old node\n */\nfunction walk(newNode, oldNode, options) {\n  // Skip morphing if there is no old or new node\n  if (!oldNode) return newNode;\n  if (!newNode) return oldNode;\n\n  // Skip morphing if nodes are identical\n  if (newNode.isSameNode?.(oldNode)) return oldNode;\n\n  // Check node type and tag name first\n  if (newNode.nodeType !== oldNode.nodeType) return newNode;\n  if (newNode instanceof Element && oldNode instanceof Element) {\n    // Skip morphing if the node is shopify-accelerated-checkout-cart https://shopify.dev/docs/storefronts/themes/pricing-payments/accelerated-checkout#implement-accelerated-checkout-buttons-on-cart\n    if (oldNode.tagName === 'SHOPIFY-ACCELERATED-CHECKOUT-CART') return oldNode;\n\n    if (newNode.tagName !== oldNode.tagName) return newNode;\n\n    // Only check keys for elements, and only if both nodes have keys\n    const newKey = getNodeKey(newNode, options);\n    const oldKey = getNodeKey(oldNode, options);\n    if (newKey && oldKey && newKey !== oldKey) return newNode;\n  }\n\n  // We can morph, update the node and its children\n  if (\n    oldNode instanceof Element &&\n    oldNode.hasAttribute('data-skip-node-update') &&\n    newNode instanceof Element &&\n    newNode.hasAttribute('data-skip-node-update')\n  ) {\n    // This is a special case where we don't want to morph the node, but we want to morph the children\n    updateChildren(newNode, oldNode, options);\n  } else {\n    updateNode(newNode, oldNode, options);\n    updateChildren(newNode, oldNode, options);\n  }\n\n  options.onAfterUpdate?.(newNode);\n\n  return oldNode;\n}\n\n/**\n * Core morphing function that updates attributes and special elements\n * @param {Node} newNode - Source node with desired state\n * @param {Node} oldNode - Target node to update\n * @param {Options} options - The options object\n */\nfunction updateNode(newNode, oldNode, options) {\n  options.onBeforeUpdate?.(oldNode, newNode);\n\n  if (\n    (newNode instanceof HTMLDetailsElement && oldNode instanceof HTMLDetailsElement) ||\n    (newNode instanceof HTMLDialogElement && oldNode instanceof HTMLDialogElement)\n  ) {\n    if (!newNode.hasAttribute('declarative-open')) {\n      newNode.open = oldNode.open;\n    }\n  }\n\n  if (oldNode instanceof HTMLElement && newNode instanceof HTMLElement) {\n    for (const attr of ['slot', 'sizes']) {\n      const oldValue = oldNode.getAttribute(attr);\n      const newValue = newNode.getAttribute(attr);\n\n      if (oldValue !== newValue) {\n        oldValue == null ? newNode.removeAttribute(attr) : newNode.setAttribute(attr, oldValue);\n      }\n    }\n  }\n\n  if (newNode instanceof Element && oldNode instanceof Element) {\n    if (!oldNode.isEqualNode(newNode)) {\n      copyAttributes(newNode, oldNode);\n    }\n  } else if (newNode instanceof Text || newNode instanceof Comment) {\n    if (oldNode.nodeValue !== newNode.nodeValue) {\n      oldNode.nodeValue = newNode.nodeValue;\n    }\n  }\n\n  // Handle special elements\n  if (newNode instanceof HTMLInputElement && oldNode instanceof HTMLInputElement) {\n    updateInput(newNode, oldNode);\n  } else if (newNode instanceof HTMLOptionElement && oldNode instanceof HTMLOptionElement) {\n    updateAttribute(newNode, oldNode, 'selected');\n  } else if (newNode instanceof HTMLTextAreaElement && oldNode instanceof HTMLTextAreaElement) {\n    updateTextarea(newNode, oldNode);\n  }\n}\n\n/**\n * Gets a node's key using the getNodeKey option if provided\n * @param {Node | undefined} node - The node to get the key from\n * @param {Options} [options] - The options object that may contain getNodeKey\n * @returns {string|number|undefined} The node's key if one exists\n */\nfunction getNodeKey(node, options) {\n  return options?.getNodeKey?.(node) ?? (node instanceof Element ? node.id : undefined);\n}\n\n/**\n * Updates a boolean attribute and its corresponding property on an element\n * @param {any} newNode - The new element\n * @param {any} oldNode - The existing element to update\n * @param {string} name - The name of the attribute/property to update\n */\nfunction updateAttribute(newNode, oldNode, name) {\n  if (newNode[name] !== oldNode[name]) {\n    oldNode[name] = newNode[name];\n    if (newNode[name] != null) {\n      oldNode.setAttribute(name, '');\n    } else {\n      oldNode.removeAttribute(name);\n    }\n  }\n}\n\n/**\n * Copies attributes from a new node to an old node, handling namespaced attributes\n * @param {Element} newNode - The new node to copy attributes from\n * @param {Element} oldNode - The existing node to update attributes on\n */\nfunction copyAttributes(newNode, oldNode) {\n  const oldAttrs = oldNode.attributes;\n  const newAttrs = newNode.attributes;\n\n  // Update or add new attributes\n  for (const attr of Array.from(newAttrs)) {\n    const { name: attrName, namespaceURI: attrNamespaceURI, value: attrValue } = attr;\n    const localName = attr.localName || attrName;\n\n    if (attrName === 'src' || attrName === 'href' || attrName === 'srcset' || attrName === 'poster') {\n      // Skip updating resource attributes when the value hasn't changed\n      // to prevent unnecessary network requests\n      if (oldNode.getAttribute(attrName) === attrValue) continue;\n    }\n\n    if (attrNamespaceURI) {\n      const fromValue = oldNode.getAttributeNS(attrNamespaceURI, localName);\n      if (fromValue !== attrValue) {\n        oldNode.setAttributeNS(attrNamespaceURI, localName, attrValue);\n      }\n    } else {\n      if (!oldNode.hasAttribute(attrName)) {\n        oldNode.setAttribute(attrName, attrValue);\n      } else {\n        const fromValue = oldNode.getAttribute(attrName);\n        if (fromValue !== attrValue) {\n          if (attrValue === 'null' || attrValue === 'undefined') {\n            oldNode.removeAttribute(attrName);\n          } else {\n            oldNode.setAttribute(attrName, attrValue);\n          }\n        }\n      }\n    }\n  }\n\n  // Remove old attributes not present in new node\n  for (const attr of Array.from(oldAttrs)) {\n    if (attr.specified === false) continue;\n\n    const { name: attrName, namespaceURI: attrNamespaceURI } = attr;\n    const localName = attr.localName || attrName;\n\n    if (attrNamespaceURI) {\n      if (!newNode.hasAttributeNS(attrNamespaceURI, localName)) {\n        oldNode.removeAttributeNS(attrNamespaceURI, localName);\n      }\n    } else if (!newNode.hasAttribute(attrName)) {\n      oldNode.removeAttribute(attrName);\n    }\n  }\n}\n\n/**\n * Updates special properties and attributes on input elements\n * Handles checked, disabled, indeterminate states and value\n * @param {HTMLInputElement} newNode - The new input element\n * @param {HTMLInputElement} oldNode - The existing input element to update\n */\nfunction updateInput(newNode, oldNode) {\n  const newValue = newNode.value;\n\n  updateAttribute(newNode, oldNode, 'checked');\n  updateAttribute(newNode, oldNode, 'disabled');\n\n  // Handle indeterminate state (cannot be set via HTML attribute)\n  if (newNode.indeterminate !== oldNode.indeterminate) {\n    oldNode.indeterminate = newNode.indeterminate;\n  }\n\n  // Skip file inputs since they can't be changed programmatically\n  if (oldNode.type === 'file') return;\n\n  if (newValue !== oldNode.value) {\n    oldNode.setAttribute('value', newValue);\n    oldNode.value = newValue;\n  }\n\n  if (newValue === 'null') {\n    oldNode.value = '';\n    oldNode.removeAttribute('value');\n  }\n\n  if (!newNode.hasAttributeNS(null, 'value')) {\n    oldNode.removeAttribute('value');\n  } else if (oldNode.type === 'range') {\n    // Update range input UI\n    oldNode.value = newValue;\n  }\n}\n\n/**\n * Updates the value of a textarea element\n * @param {HTMLTextAreaElement} newNode - The new textarea element\n * @param {HTMLTextAreaElement} oldNode - The existing textarea element to update\n */\nfunction updateTextarea(newNode, oldNode) {\n  const newValue = newNode.value;\n  if (newValue !== oldNode.value) {\n    oldNode.value = newValue;\n  }\n\n  const firstChild = oldNode.firstChild;\n  if (firstChild?.nodeType === Node.TEXT_NODE) {\n    if (newValue === '' && firstChild.nodeValue === oldNode.placeholder) {\n      return;\n    }\n    firstChild.nodeValue = newValue;\n  }\n}\n\n/**\n * Update the children of elements\n * @param {Node} newNode - The new node to update children on\n * @param {Node} oldNode - The existing node to update children on\n * @param {Options} options - The options object\n */\nfunction updateChildren(newNode, oldNode, options) {\n  if (\n    oldNode instanceof Element &&\n    oldNode.hasAttribute('data-skip-subtree-update') &&\n    newNode instanceof Element &&\n    newNode.hasAttribute('data-skip-subtree-update')\n  ) {\n    return;\n  }\n\n  let oldChild, newChild, morphed, oldMatch;\n  let offset = 0;\n\n  for (let i = 0; ; i++) {\n    oldChild = oldNode.childNodes[i];\n    newChild = newNode.childNodes[i - offset];\n\n    // Both nodes are empty, do nothing\n    if (!oldChild && !newChild) {\n      break;\n    }\n\n    // There is no new child, remove old\n    if (!newChild) {\n      oldChild && oldNode.removeChild(oldChild);\n      i--;\n      continue;\n    }\n\n    // There is no old child, add new\n    if (!oldChild) {\n      oldNode.appendChild(newChild);\n      offset++;\n      continue;\n    }\n\n    // Both nodes are the same, morph\n    if (same(newChild, oldChild, options)) {\n      morphed = walk(newChild, oldChild, options);\n      if (morphed !== oldChild) {\n        oldNode.replaceChild(morphed, oldChild);\n        offset++;\n      }\n      continue;\n    }\n\n    if (options.reject?.(oldChild, newChild)) {\n      newNode.removeChild(newChild);\n      i--;\n      continue;\n    }\n\n    // Try to find a matching node to reorder\n    oldMatch = null;\n    for (let j = i; j < oldNode.childNodes.length; j++) {\n      const potentialOldNode = oldNode.childNodes[j];\n\n      if (potentialOldNode && same(potentialOldNode, newChild, options)) {\n        oldMatch = potentialOldNode;\n        break;\n      }\n    }\n\n    if (oldMatch) {\n      morphed = walk(newChild, oldMatch, options);\n      if (morphed !== oldMatch) offset++;\n      oldNode.insertBefore(morphed, oldChild);\n    } else if (!getNodeKey(newChild, options) && !getNodeKey(oldChild, options)) {\n      // Safe to morph in-place if neither has a key\n      morphed = walk(newChild, oldChild, options);\n      if (morphed !== oldChild) {\n        oldNode.replaceChild(morphed, oldChild);\n        offset++;\n      }\n    } else {\n      // Insert the node if we couldn't morph or find a match\n      oldNode.insertBefore(newChild, oldChild);\n      offset++;\n    }\n  }\n}\n\n/**\n * Check if two nodes are the same\n * @param {Node} a - The first node\n * @param {Node} b - The second node\n * @param {Options} options - The options object\n * @returns {boolean} True if the nodes are the same, false otherwise\n */\nfunction same(a, b, options) {\n  // If node types don't match, they're not the same\n  if (a.nodeType !== b.nodeType) return false;\n\n  // For elements, check tag name first\n  if (a.nodeType === Node.ELEMENT_NODE) {\n    if (a instanceof Element && b instanceof Element && a.tagName !== b.tagName) return false;\n\n    // Only compare keys if both nodes have them\n    const aKey = getNodeKey(a, options);\n    const bKey = getNodeKey(b, options);\n    if (aKey && bKey && aKey !== bKey) return false;\n  }\n\n  // For text/comment nodes, compare content\n  if (a.nodeType === Node.TEXT_NODE && b.nodeType === Node.TEXT_NODE)\n    // Trim whitespace to avoid false negatives\n    return a.nodeValue?.trim() === b.nodeValue?.trim();\n  if (a.nodeType === Node.COMMENT_NODE && b.nodeType === Node.COMMENT_NODE) return a.nodeValue === b.nodeValue;\n\n  // If we get here and nodes are elements with same tag (and compatible keys), they're the same\n  return true;\n}\n"],
  "mappings": "AAAA,OAAS,cAAiB,mBAenB,aAAM,cAAgB,CAC3B,aAAc,GACd,OAAO,QAAS,QAAS,CAiBvB,MAhBI,WAAQ,WAAa,KAAK,WAAa,QAAQ,WAAW,KAAK,IAA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