{
  "version": 3,
  "sources": ["/cdn/shop/t/98/assets/pkm-slider-one-time-preorder.js?pkm_hotfix=micro-friday-28-20260825"],
  "sourcesContent": ["(() => {\n  // Emergency republish token 2026-08-16: keep until Shopify's German PDP shards have all\n  // invalidated the pre-idempotence asset that could retrigger the reservation-card observer.\n  document.documentElement.dataset.pkmPreorderRevision = 'flow-ring-dispatch-28-september-2026-09-23';\n  // Stoq patches window.fetch later in the page lifecycle. Keep the browser-native function so\n  // these exact checkout paths cannot be rewritten back into selling-plan requests.\n  const nativeFetch = window.fetch.bind(window);\n  const PREORDER_TARGETS = {\n    // Slider Necklace, 27 cm.\n    '9971886424406': {\n      variants: {\n        '54533167546710': {\n          dateKey: 'date19',\n          buttonKey: 'sliderButtonWednesday',\n          sharedReservation: true,\n        },\n      },\n    },\n    // Silver Slider Necklace, 27 cm.\n    '9972180517206': {\n      variants: {\n        '54533487853910': {\n          dateKey: 'date21',\n          buttonKey: 'silverSliderButton21',\n          sharedReservation: true,\n        },\n      },\n    },\n    // Slider Bracelets. All three finishes and both lengths dispatch Wednesday.\n    '11137023967574': {\n      variants: {\n        '54786025357654': { dateKey: 'date19', buttonKey: 'braceletButtonWednesday', sharedReservation: true, inventoryReservation: true },\n        '54992295821654': { dateKey: 'date19', buttonKey: 'braceletButtonWednesday', sharedReservation: true, inventoryReservation: true },\n      },\n    },\n    '11137116504406': {\n      variants: {\n        '54786185167190': { dateKey: 'date19', buttonKey: 'braceletButtonWednesday', sharedReservation: true, inventoryReservation: true },\n        '54992296018262': { dateKey: 'date19', buttonKey: 'braceletButtonWednesday', sharedReservation: true, inventoryReservation: true },\n      },\n    },\n    '11137245905238': {\n      variants: {\n        '54786849440086': { dateKey: 'date19', buttonKey: 'braceletButtonWednesday', sharedReservation: true, inventoryReservation: true },\n        '54992296182102': { dateKey: 'date19', buttonKey: 'braceletButtonWednesday', sharedReservation: true, inventoryReservation: true },\n      },\n    },\n    // Echo Drop gold. Crystal switches at real stockout to expected dispatch 24 September.\n    // Lab-grown retains the same dispatch date and its separate finite batch:\n    // DENY with the finite-preorder flag makes Shopify stop the sale at zero.\n    '11174583501142': {\n      variants: {\n        '54961865523542': {\n          dateKey: 'date24September',\n          buttonKey: 'echoCrystalButton24September',\n          inventoryReservation: true,\n          sharedReservation: true,\n        },\n        '54961866408278': {\n          dateKey: 'date24September',\n          buttonKey: 'echoDiamondButton24September',\n          inventoryReservation: true,\n          nativePreorderButton: true,\n        },\n      },\n    },\n    // Mercury Brooch gold. Silver is a separate product and stays in normal stock, so only the\n    // gold variant is listed here. `inventoryReservation` keeps this self-closing: the entry is\n    // inert until the variant is actually CONTINUE + qty <= 0, and it stops on its own the moment\n    // the batch lands.\n    '10294859891030': {\n      variants: {\n        '52941222838614': {\n          dateKey: 'date16September',\n          buttonKey: 'mercuryButton16September',\n          inventoryReservation: true,\n          sharedReservation: true,\n        },\n      },\n    },\n    // Flow Ring. One variant; the 210-ring batch from Yiwu lands ahead of dispatch Monday\n    // 28 September. Same self-closing rule as Mercury: inert until CONTINUE + qty <= 0, back to\n    // the normal buy button on its own once the received batch makes stock positive.\n    '10952403157334': {\n      variants: {\n        '54472803451222': {\n          dateKey: 'date28September',\n          buttonKey: 'flowRingButton28September',\n          inventoryReservation: true,\n          sharedReservation: true,\n        },\n      },\n    },\n    // Echo Drop silver-coloured. Both stones are expected to dispatch Monday 28 September: they\n    // travel in the same parcel, and lab-grown followed crystal there once that parcel was held in\n    // Guangzhou. Crystal switches at real stockout; lab-grown keeps its separate finite batch and\n    // stays unavailable at zero.\n    '11193141920086': {\n      variants: {\n        '55046078169430': {\n          dateKey: 'date28September',\n          buttonKey: 'echoSilverCrystalButton28September',\n          inventoryReservation: true,\n          sharedReservation: true,\n        },\n        // No `sharedReservation` on purpose: this mirrors the gold lab-grown entry exactly, so the\n        // two metals of the same product cannot present differently. Whether both lab-grown\n        // variants should also carry the shared green-check card is a separate call.\n        '55046078202198': {\n          dateKey: 'date28September',\n          buttonKey: 'echoSilverDiamondButton28September',\n          inventoryReservation: true,\n          nativePreorderButton: true,\n        },\n      },\n    },\n    // Chunky Half Stud. Each finish becomes a one-time preorder only after its own genuine\n    // stockout, so the remaining finish is never put on preorder prematurely.\n    '10242668462422': {\n      variants: {\n        '52745345663318': {\n          dateKey: 'date15September',\n          buttonKey: 'chunkyHalfStudButton15September',\n          inventoryReservation: true,\n          sharedReservation: true,\n        },\n      },\n    },\n    '10963613057366': {\n      variants: {\n        '54511522316630': {\n          dateKey: 'date15September',\n          buttonKey: 'chunkyHalfStudButton15September',\n          inventoryReservation: true,\n          sharedReservation: true,\n        },\n      },\n    },\n    // Mikro Pearl Necklace. Every length becomes a one-time preorder only after real stockout.\n    '10549154513238': {\n      variants: {\n        '54073020842326': {\n          dateKey: 'date3September', buttonKey: 'microButtonDate3SeptemberTemplate', mobileButtonKey: 'microButtonDate3SeptemberShort', buttonLength: '36.5 cm', microReservation: true, sharedReservation: true,\n        },\n        '54073020875094': {\n          dateKey: 'date3September', buttonKey: 'microButtonDate3SeptemberTemplate', mobileButtonKey: 'microButtonDate3SeptemberShort', buttonLength: '41 cm', microReservation: true, sharedReservation: true,\n        },\n        '54877813539158': {\n          dateKey: 'date3September',\n          buttonKey: 'microButtonDate3SeptemberTemplate',\n          mobileButtonKey: 'microButtonDate3SeptemberShort',\n          buttonLength: '45 cm',\n          microReservation: true,\n          sharedReservation: true,\n        },\n      },\n    },\n    // Mikro Pearl Bracelet without gold details. Both lengths join the 3 September batch.\n    '10875882275158': {\n      variants: {\n        '54431922323798': {\n          dateKey: 'date3September', buttonKey: 'microButtonDate3SeptemberTemplate', mobileButtonKey: 'microButtonDate3SeptemberShort', buttonLength: '15 cm', microReservation: true, sharedReservation: true,\n        },\n        '54431922356566': {\n          dateKey: 'date3September', buttonKey: 'microButtonDate3SeptemberTemplate', mobileButtonKey: 'microButtonDate3SeptemberShort', buttonLength: '18 cm', microReservation: true, sharedReservation: true,\n        },\n      },\n    },\n    // Mikro Pearl Necklace with gold details. Every length uses the 3 September batch after stockout.\n    '10599598621014': {\n      variants: {\n        '54072916640086': {\n          dateKey: 'date3September', buttonKey: 'microButtonDate3SeptemberTemplate', mobileButtonKey: 'microButtonDate3SeptemberShort', buttonLength: '36.5 cm', microReservation: true, sharedReservation: true,\n        },\n        '54072916672854': {\n          dateKey: 'date3September',\n          buttonKey: 'microButtonDate3SeptemberTemplate',\n          mobileButtonKey: 'microButtonDate3SeptemberShort',\n          buttonLength: '41 cm',\n          microReservation: true,\n          sharedReservation: true,\n        },\n        '54882953560406': {\n          dateKey: 'date3September', buttonKey: 'microButtonDate3SeptemberTemplate', mobileButtonKey: 'microButtonDate3SeptemberShort', buttonLength: '45 cm', microReservation: true, sharedReservation: true,\n        },\n      },\n    },\n  };\n  const trackedForms = new WeakSet();\n\n  const copy = (() => {\n    try {\n      return JSON.parse(document.getElementById('pkm-one-time-preorder-copy')?.textContent || '{}');\n    } catch (error) {\n      console.error('Could not parse the one-time preorder copy.', error);\n      return {};\n    }\n  })();\n\n  const dispatchProperty = (target) => {\n    return [copy.dispatchPropertyName || 'Dispatch date', target.dispatchLabel || copy[target.dateKey] || ''];\n  };\n\n  const isMicroQa = () => {\n    return copy.themeRole === 'unpublished'\n      && new URLSearchParams(window.location.search).get('pkm_micro_preorder_qa') === '1';\n  };\n\n  const isInventoryPreorderQa = (productId, variantId) => {\n    if (copy.themeRole !== 'unpublished') return false;\n    const qaMode = new URLSearchParams(window.location.search);\n\n    if (qaMode.get('pkm_echo_preorder_qa') === '1') {\n      return (\n        (productId === '11174583501142' && variantId === '54961865523542')\n        || (productId === '11193141920086' && variantId === '55046078169430')\n      );\n    }\n\n    return (\n      qaMode.get('pkm_chunky_half_stud_preorder_qa') === '1'\n      && (\n        (productId === '10242668462422' && variantId === '52745345663318')\n        || (productId === '10963613057366' && variantId === '54511522316630')\n      )\n    );\n  };\n\n  const isInventoryReservationActive = (variantId) => {\n    return String(copy.inventoryPreorderVariantIds || '').includes(`|${variantId}|`);\n  };\n\n  const nextBatchVariants = () => (Array.isArray(copy.nextBatchVariants) ? copy.nextBatchVariants : [])\n    // The batch date is Shopify data (variant metafield); Liquid renders its labels. Without a valid\n    // date and both labels the batch fails closed, so no line can be sold with a blank promise.\n    .filter((batch) => /^\\d{4}-\\d{2}-\\d{2}$/.test(String(batch.dispatchDate || ''))\n      && String(batch.dispatchLabel || '').trim() && String(batch.buttonLabel || '').trim() && (\n      (batch.productId === '11174583501142' && batch.parentVariantId === '54961866408278')\n      || (batch.productId === '11193141920086' && batch.parentVariantId === '55046078202198')\n    ));\n\n  const resolveNextBatchTarget = (productId, variantId) => {\n    const batch = nextBatchVariants().find((candidate) => candidate.productId === productId\n      && candidate.variantId === variantId && candidate.active === true);\n    return batch ? {\n      dispatchLabel: batch.dispatchLabel, buttonLabel: batch.buttonLabel,\n      dispatchIso: batch.dispatchDate, inventoryReservation: true, nativePreorderButton: true,\n    } : null;\n  };\n\n  const nextBatchRedirectUrl = () => {\n    const batch = nextBatchVariants().find((candidate) => candidate.parentVariantId === copy.selectedVariantId\n      && candidate.parentAvailable === false && candidate.available === true);\n    if (!batch) return null;\n    const nextUrl = new URL(window.location.href);\n    if (nextUrl.searchParams.get('variant') === batch.variantId) return null;\n    nextUrl.searchParams.set('variant', batch.variantId);\n    return nextUrl.href;\n  };\n\n  const resolveTarget = (form) => {\n    if (!(form instanceof HTMLFormElement)) return null;\n\n    const productId = form.querySelector('input[name=\"product-id\"]')?.value;\n    const variantId = form.querySelector('input[name=\"id\"]')?.value;\n    const productTarget = PREORDER_TARGETS[productId];\n    const target = productTarget?.variants?.[variantId] || resolveNextBatchTarget(productId, variantId);\n\n    if (!target) return null;\n    if (\n      (productId === '9971886424406' || productId === '9972180517206')\n      && !document.querySelector(`[data-pkm-slider-preorder-active=\"${variantId}\"]`)\n    ) return null;\n    if (\n      target.microReservation\n      && !document.querySelector(`[data-pkm-micro-preorder-active=\"${variantId}\"]`)\n      && !isMicroQa()\n    ) return null;\n    if (\n      target.inventoryReservation\n      && !isInventoryReservationActive(variantId)\n      && !isInventoryPreorderQa(productId, variantId)\n    ) return null;\n\n    // The stocked silver lab-grown allocation can be held for documentation without moving stock\n    // to a new SKU. Its one date is supplied by Liquid, just like the separate finite batches.\n    const finiteVariant = productId === '11193141920086' && variantId === '55046078202198'\n      && (Array.isArray(copy.finiteVariants) ? copy.finiteVariants : []).find((candidate) =>\n        candidate.variantId === variantId\n        && /^\\d{4}-\\d{2}-\\d{2}$/.test(String(candidate.dispatchDate || ''))\n        && String(candidate.dispatchLabel || '').trim() && String(candidate.buttonLabel || '').trim());\n    return { ...target, productId, variantId, ...(finiteVariant ? {\n      dispatchIso: finiteVariant.dispatchDate,\n      dispatchLabel: finiteVariant.dispatchLabel,\n      buttonLabel: finiteVariant.buttonLabel,\n    } : {}) };\n  };\n\n  const setStyles = (element, styles) => {\n    Object.assign(element.style, styles);\n    return element;\n  };\n\n  const buildSharedReservationDescription = (form) => {\n    let description = form.querySelector('.restock-rocket-preorder-description');\n    if (!description) {\n      description = document.createElement('div');\n      description.className = 'restock-rocket-preorder-description';\n      form.querySelector('.restock-rocket-preorder-button')?.after(description);\n    }\n    if (!description.isConnected) return;\n    if (description.querySelector('[data-pkm-shared-reservation-content]')) return;\n\n    description.dataset.pkmSharedReservation = 'true';\n    setStyles(description, { backgroundColor: 'rgb(255, 255, 255)', borderRadius: '0px' });\n    description.replaceChildren();\n\n    const text = setStyles(document.createElement('div'), { color: 'rgb(21, 21, 21)' });\n    text.className = 'preorder-description-text';\n    const shell = setStyles(document.createElement('div'), {\n      margin: '-4px 0 10px 0',\n      fontFamily: 'inherit',\n    });\n    shell.dataset.pkmSharedReservationContent = 'true';\n    const lockLine = setStyles(document.createElement('div'), {\n      display: 'flex', alignItems: 'center', justifyContent: 'center', gap: '6px',\n      margin: '0 0 10px 0', fontSize: '11px', lineHeight: '1.3', color: '#222',\n    });\n    const lock = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n    lock.setAttribute('viewBox', '0 0 24 24');\n    lock.setAttribute('width', '12');\n    lock.setAttribute('height', '12');\n    lock.setAttribute('fill', 'none');\n    lock.setAttribute('role', 'presentation');\n    lock.setAttribute('focusable', 'false');\n    lock.style.cssText = 'color:#8a8f98;display:inline-block;vertical-align:-1px;flex:0 0 auto';\n    lock.innerHTML = '<rect x=\"4\" y=\"10.5\" width=\"16\" height=\"11\" rx=\"2\" fill=\"currentColor\"></rect><path d=\"M8 10.5V7a4 4 0 0 1 8 0v3.5\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"></path>';\n    const intro = document.createElement('span');\n    intro.textContent = copy.microReservationIntro || '';\n    lockLine.append(lock, intro);\n\n    const guarantees = setStyles(document.createElement('div'), {\n      border: '1px solid #eeeeee', borderRadius: '6px', padding: '12px 14px', margin: '0',\n    });\n    const makeGuarantee = (prefix, strongText, suffix, last = false) => {\n      const row = setStyles(document.createElement('div'), {\n        display: 'flex', alignItems: 'center', gap: '12px',\n        margin: last ? '0' : '0 0 9px 0', fontSize: '13px', lineHeight: '1.35',\n      });\n      const bullet = setStyles(document.createElement('span'), {\n        width: '24px', height: '24px', borderRadius: '50%', background: '#1f8f3a',\n        color: '#ffffff', display: 'inline-flex', alignItems: 'center', justifyContent: 'center',\n        fontSize: '15px', lineHeight: '1', flex: '0 0 auto',\n      });\n      bullet.textContent = '\u2713';\n      const label = document.createElement('span');\n      if (prefix) label.append(document.createTextNode(`${prefix} `));\n      const strong = document.createElement('strong');\n      strong.textContent = strongText;\n      label.append(strong);\n      if (suffix) label.append(document.createTextNode(` ${suffix}`));\n      row.append(bullet, label);\n      return row;\n    };\n    guarantees.append(\n      makeGuarantee(copy.microGuaranteePrefix, copy.microGuaranteeStrong, '', false),\n      makeGuarantee('', copy.microCancelStrong, copy.microCancelSuffix, true)\n    );\n    shell.append(lockLine, guarantees);\n    text.append(shell);\n    description.append(text);\n  };\n\n  // Echo Drop still uses Stoq's own card. This fallback must be idempotent: changing the same\n  // German label repeatedly would retrigger the document MutationObserver and lock the page.\n  const syncSharedGermanGuaranteeCopy = (form) => {\n    const description = form.querySelector('.restock-rocket-preorder-description');\n    if (!description || copy.microGuaranteePrefix !== 'Garantiert') return;\n\n    const guaranteeStrong = Array.from(description.querySelectorAll('strong')).find((element) => {\n      return element.textContent.includes('n\u00E4chsten Lieferung');\n    });\n    const guaranteeLabel = guaranteeStrong?.parentElement;\n    if (!guaranteeLabel || guaranteeLabel.tagName !== 'SPAN') return;\n\n    const desiredText = `${copy.microGuaranteePrefix} ${copy.microGuaranteeStrong}`.trim();\n    if (\n      guaranteeLabel.textContent.trim() === desiredText\n      && guaranteeStrong.textContent.trim() === copy.microGuaranteeStrong\n    ) return;\n\n    guaranteeLabel.replaceChildren(document.createTextNode(`${copy.microGuaranteePrefix} `));\n    const strong = document.createElement('strong');\n    strong.textContent = copy.microGuaranteeStrong;\n    guaranteeLabel.append(strong);\n  };\n\n  const updatePreorderButton = (form) => {\n    const target = resolveTarget(form);\n    const buttonKey = target?.mobileButtonKey && window.matchMedia('(max-width: 699px)').matches\n      ? target.mobileButtonKey\n      : target?.buttonKey;\n    const buttonTemplate = target?.buttonLabel || (buttonKey ? copy[buttonKey] : '');\n    const buttonText = target?.buttonLength\n      ? String(buttonTemplate).replace('__LENGTH__', target.buttonLength)\n      : buttonTemplate;\n    if (!buttonText) return;\n\n    const linkedBuyButtons = Array.from(document.querySelectorAll('buy-buttons[form]'))\n      .filter((element) => element.getAttribute('form') === form.getAttribute('id') && !form.contains(element));\n\n    if (target.sharedReservation || target.nativePreorderButton) {\n      const preorderButton = form.querySelector('buy-buttons button[type=\"submit\"]');\n      if (preorderButton && !preorderButton.matches('.restock-rocket-preorder-button')) {\n        preorderButton.disabled = false;\n        preorderButton.classList.add('restock-rocket-preorder-button');\n        const content = preorderButton.querySelector(':scope > div') || preorderButton;\n        const label = document.createElement('span');\n        label.className = 'cart-icon';\n        label.style.cssText = 'display:flex;justify-content:center;white-space:nowrap';\n        content.replaceChildren(label);\n      }\n\n      linkedBuyButtons.forEach((element) => {\n        const linkedButton = element.querySelector('button[type=\"submit\"]');\n        if (!linkedButton || linkedButton.matches('.restock-rocket-preorder-button')) return;\n        linkedButton.disabled = false;\n        linkedButton.classList.add('restock-rocket-preorder-button');\n        const content = linkedButton.querySelector(':scope > div') || linkedButton;\n        const label = document.createElement('span');\n        label.className = 'cart-icon';\n        label.style.cssText = 'display:flex;justify-content:center;white-space:nowrap';\n        content.replaceChildren(label);\n      });\n    }\n\n    form.querySelectorAll('.restock-rocket-preorder-button .cart-icon').forEach((label) => {\n      if (label.textContent !== buttonText) label.textContent = buttonText;\n    });\n    linkedBuyButtons.forEach((element) => {\n      const label = element.querySelector('.restock-rocket-preorder-button .cart-icon');\n      if (!label) return;\n      if (label.textContent !== buttonText) label.textContent = buttonText;\n    });\n\n    if (target.sharedReservation) buildSharedReservationDescription(form);\n    syncSharedGermanGuaranteeCopy(form);\n  };\n\n  const updateSliderStockCard = () => {\n    const stockCopy = document.querySelector('[data-pkm-slider-stock-delivery]');\n    if (!stockCopy) return;\n\n    const generic = copy.sliderCardDeliveryGeneric || '';\n    const prefix = copy.sliderCardDeliveryPrefix || '';\n    const weekdays = String(copy.sliderCardWeekdays || '').split(',');\n    const nowParts = {};\n    const qaTime = copy.themeRole === 'unpublished'\n      ? new URLSearchParams(window.location.search).get('pkm_slider_card_time')\n      : '';\n    const qaMatch = qaTime?.match(/^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2})$/);\n    if (qaMatch) {\n      const qaDate = new Date(Date.UTC(Number(qaMatch[1]), Number(qaMatch[2]) - 1, Number(qaMatch[3])));\n      nowParts.weekday = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'][qaDate.getUTCDay()];\n      nowParts.hour = qaMatch[4];\n      nowParts.minute = qaMatch[5];\n      nowParts.second = '00';\n    } else {\n      new Intl.DateTimeFormat('en-GB', {\n        timeZone: 'Europe/Copenhagen', hour12: false,\n        weekday: 'short', year: 'numeric', month: '2-digit', day: '2-digit',\n        hour: '2-digit', minute: '2-digit', second: '2-digit',\n      }).formatToParts(new Date()).forEach((part) => {\n        if (part.type !== 'literal') nowParts[part.type] = part.value;\n      });\n    }\n\n    const weekdayIndex = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'].indexOf(nowParts.weekday);\n    const seconds = Number(nowParts.hour === '24' ? 0 : nowParts.hour) * 3600\n      + Number(nowParts.minute) * 60 + Number(nowParts.second);\n    let deliveryIndex = null;\n\n    // DK/GLS keeps the precise next-day promise through Friday's 14:45 cutoff. DHL markets use\n    // each locale's delivery interval (2\u20134 working days for DE/NL/BE).\n    if (Shopify.country === 'DK' && weekdays.length === 7) {\n      const cutoffSeconds = 14 * 3600 + 45 * 60;\n      if (weekdayIndex >= 1 && weekdayIndex <= 4 && seconds < cutoffSeconds) deliveryIndex = weekdayIndex + 1;\n      if (weekdayIndex === 5 && seconds < cutoffSeconds) deliveryIndex = 6;\n    }\n\n    stockCopy.textContent = deliveryIndex == null ? generic : `${prefix} ${weekdays[deliveryIndex]}`;\n  };\n\n  const removeSellingPlan = (form) => {\n    if (!resolveTarget(form)) return;\n\n    form.querySelectorAll('input[name=\"selling_plan\"]').forEach((input) => input.remove());\n  };\n\n  const makeOneTimePreorder = (event) => {\n    const form = event.currentTarget;\n    const target = resolveTarget(form);\n    if (!target) return;\n\n    const [propertyName, propertyValue] = dispatchProperty(target);\n\n    event.formData.delete('selling_plan');\n    event.formData.set(`properties[${propertyName}]`, propertyValue);\n    event.formData.set('properties[_pkm_one_time_preorder]', 'true');\n    if (target.dispatchIso) event.formData.set('properties[_pkm_preorder_dispatch]', target.dispatchIso);\n  };\n\n  const addOneTimePreorder = async (form) => {\n    const target = resolveTarget(form);\n    if (!target) return;\n\n    if (!form.checkValidity()) {\n      form.reportValidity();\n      return;\n    }\n\n    const submitButtons = Array.from(form.elements).filter((element) => element.type === 'submit');\n    submitButtons.forEach((button) => {\n      button.setAttribute('disabled', 'disabled');\n      button.setAttribute('aria-busy', 'true');\n    });\n\n    const sectionsToBundle = ['variant-added'];\n    document.documentElement.dispatchEvent(\n      new CustomEvent('cart:prepare-bundled-sections', {\n        bubbles: true,\n        detail: { sections: sectionsToBundle },\n      })\n    );\n\n    try {\n      const [propertyName, propertyValue] = dispatchProperty(target);\n      const formData = new FormData(form);\n\n      // Stoq listens to `formdata` and may add the plan again after our listener. Build a pristine\n      // JSON line item from the finished FormData so a selling-plan field can never cross the\n      // request boundary. Preserve legitimate line-item properties added by the theme/A-B test.\n      const properties = {};\n      for (const [key, value] of formData.entries()) {\n        const propertyMatch = key.match(/^properties\\[(.+)]$/);\n        if (propertyMatch && typeof value === 'string') properties[propertyMatch[1]] = value;\n      }\n      properties[propertyName] = propertyValue;\n      properties._pkm_one_time_preorder = 'true';\n      if (target.dispatchIso) properties._pkm_preorder_dispatch = target.dispatchIso;\n\n      const requestBody = {\n        items: [{\n          id: Number(target.variantId),\n          quantity: Number(formData.get('quantity')) || 1,\n          properties,\n        }],\n        sections: sectionsToBundle,\n        sections_url: `${Shopify.routes.root}variants/${target.variantId}`,\n      };\n\n      const response = await nativeFetch(`${Shopify.routes.root}cart/add.js`, {\n        body: JSON.stringify(requestBody),\n        method: 'POST',\n        headers: {\n          'Content-Type': 'application/json',\n          'X-Requested-With': 'XMLHttpRequest',\n        },\n      });\n      const responseJson = await response.json();\n\n      if (!response.ok) {\n        form.dispatchEvent(\n          new CustomEvent('cart:error', {\n            bubbles: true,\n            detail: { error: responseJson.description || responseJson.message },\n          })\n        );\n        document.dispatchEvent(new CustomEvent('cart:refresh'));\n        return;\n      }\n\n      if (\n        window.themeVariables.settings.cartType === 'page' ||\n        window.themeVariables.settings.pageType === 'cart'\n      ) {\n        window.location.href = `${Shopify.routes.root}cart`;\n        return;\n      }\n\n      const cartContent = await (await nativeFetch(`${Shopify.routes.root}cart.js`)).json();\n      cartContent.sections = responseJson.sections || {};\n      const addedItems = Object.prototype.hasOwnProperty.call(responseJson, 'items')\n        ? responseJson.items\n        : [responseJson];\n\n      form.dispatchEvent(\n        new CustomEvent('variant:add', {\n          bubbles: true,\n          detail: { items: addedItems, cart: cartContent },\n        })\n      );\n      document.documentElement.dispatchEvent(\n        new CustomEvent('cart:change', {\n          bubbles: true,\n          detail: { baseEvent: 'variant:add', cart: cartContent },\n        })\n      );\n    } catch (error) {\n      console.error('Could not add the one-time preorder.', error);\n      form.dispatchEvent(\n        new CustomEvent('cart:error', {\n          bubbles: true,\n          detail: { error: 'Could not add this item to the cart.' },\n        })\n      );\n    } finally {\n      submitButtons.forEach((button) => {\n        button.removeAttribute('disabled');\n        button.removeAttribute('aria-busy');\n      });\n    }\n  };\n\n  const prepareForm = (form) => {\n    if (!resolveTarget(form)) return;\n\n    removeSellingPlan(form);\n    updatePreorderButton(form);\n\n    if (!trackedForms.has(form)) {\n      form.addEventListener('formdata', makeOneTimePreorder);\n      trackedForms.add(form);\n    }\n  };\n\n  const isConfiguredProductForm = (form) => {\n    if (!(form instanceof HTMLFormElement)) return false;\n\n    const productId = form.querySelector('input[name=\"product-id\"]')?.value;\n    return Boolean(PREORDER_TARGETS[productId]);\n  };\n\n  const scan = (root = document) => {\n    if (root instanceof HTMLFormElement) prepareForm(root);\n    if (root instanceof Element) root.closest('form') && prepareForm(root.closest('form'));\n\n    root.querySelectorAll?.('form').forEach(prepareForm);\n  };\n\n  const scheduleProductRerenderScan = (form) => {\n    if (!isConfiguredProductForm(form)) return;\n\n    // The theme emits product:rerender before its product blocks have all been swapped. Stoq can\n    // then patch the replacement button once more. Re-scan the exact configured product through\n    // those render passes; resolveTarget() still requires the exact live preorder marker, so a\n    // stocked length or unrelated product can never inherit the preorder CTA.\n    [0, 80, 220, 500, 1000, 1800].forEach((delay) => {\n      window.setTimeout(() => scan(document), delay);\n    });\n  };\n\n  document.addEventListener(\n    'submit',\n    (event) => {\n      const form = event.target instanceof HTMLFormElement ? event.target : event.target.closest?.('form');\n      if (!form) return;\n\n      prepareForm(form);\n      removeSellingPlan(form);\n\n      if (resolveTarget(form)) {\n        event.preventDefault();\n        event.stopImmediatePropagation();\n        void addOneTimePreorder(form);\n      }\n    },\n    true\n  );\n\n  document.addEventListener(\n    'change',\n    (event) => {\n      if (event.target instanceof HTMLInputElement && event.target.name === 'id') {\n        queueMicrotask(() => prepareForm(event.target.form));\n      }\n    },\n    true\n  );\n\n  document.addEventListener(\n    'product:rerender',\n    (event) => {\n      const form = event.target instanceof HTMLFormElement ? event.target : null;\n      scheduleProductRerenderScan(form);\n    },\n    true\n  );\n\n  const observer = new MutationObserver((mutations) => {\n    let sliderCardWasRendered = false;\n    const configuredFormsToRescan = new Set();\n\n    mutations.forEach((mutation) => {\n      const mutationElement = mutation.target instanceof Element\n        ? mutation.target\n        : mutation.target.parentElement;\n      const mutationForm = mutationElement?.closest('form');\n      if (isConfiguredProductForm(mutationForm)) configuredFormsToRescan.add(mutationForm);\n\n      mutation.addedNodes.forEach((node) => {\n        scan(node);\n        if (\n          node instanceof Element\n          && (node.matches('[data-pkm-slider-length-card]') || node.querySelector('[data-pkm-slider-length-card]'))\n        ) sliderCardWasRendered = true;\n      });\n    });\n\n    // Stoq sometimes wins the mobile cold-load race by replacing only the existing button's\n    // text node after the scheduled scans. That is a childList mutation on the button, not a new\n    // form. Re-scan that exact allowlisted form. The text write above is value-guarded, so our own\n    // restoration settles after one observer pass instead of creating a feedback loop.\n    configuredFormsToRescan.forEach(prepareForm);\n\n    if (sliderCardWasRendered) updateSliderStockCard();\n  });\n\n  const start = () => {\n    const nextUrl = nextBatchRedirectUrl();\n    if (nextUrl) {\n      window.location.replace(nextUrl);\n      return;\n    }\n    scan(document);\n    updateSliderStockCard();\n    observer.observe(document.documentElement, { childList: true, subtree: true });\n\n    // Stoq can finish by changing only an existing button's text/class, which does not add an\n    // element for the MutationObserver to scan. Re-apply the exact target copy after its normal\n    // render passes; unrelated forms still fail closed in resolveTarget().\n    [150, 500, 1200].forEach((delay) => window.setTimeout(() => scan(document), delay));\n  };\n\n  if (document.readyState === 'loading') {\n    document.addEventListener('DOMContentLoaded', start, { once: true });\n  } else {\n    start();\n  }\n})();\n"],
  "mappings": "CAAC,IAAM,CAGL,SAAS,gBAAgB,QAAQ,oBAAsB,6CAGvD,MAAM,YAAc,OAAO,MAAM,KAAK,MAAM,EACtC,iBAAmB,CAEvB,gBAAiB,CACf,SAAU,CACR,iBAAkB,CAChB,QAAS,SACT,UAAW,wBACX,kBAAmB,EACrB,CACF,CACF,EAEA,gBAAiB,CACf,SAAU,CACR,iBAAkB,CAChB,QAAS,SACT,UAAW,uBACX,kBAAmB,EACrB,CACF,CACF,EAEA,iBAAkB,CAChB,SAAU,CACR,iBAAkB,CAAE,QAAS,SAAU,UAAW,0BAA2B,kBAAmB,GAAM,qBAAsB,EAAK,EACjI,iBAAkB,CAAE,QAAS,SAAU,UAAW,0BAA2B,kBAAmB,GAAM,qBAAsB,EAAK,CACnI,CACF,EACA,iBAAkB,CAChB,SAAU,CACR,iBAAkB,CAAE,QAAS,SAAU,UAAW,0BAA2B,kBAAmB,GAAM,qBAAsB,EAAK,EACjI,iBAAkB,CAAE,QAAS,SAAU,UAAW,0BAA2B,kBAAmB,GAAM,qBAAsB,EAAK,CACnI,CACF,EACA,iBAAkB,CAChB,SAAU,CACR,iBAAkB,CAAE,QAAS,SAAU,UAAW,0BAA2B,kBAAmB,GAAM,qBAAsB,EAAK,EACjI,iBAAkB,CAAE,QAAS,SAAU,UAAW,0BAA2B,kBAAmB,GAAM,qBAAsB,EAAK,CACnI,CACF,EAIA,iBAAkB,CAChB,SAAU,CACR,iBAAkB,CAChB,QAAS,kBACT,UAAW,+BACX,qBAAsB,GACtB,kBAAmB,EACrB,EACA,iBAAkB,CAChB,QAAS,kBACT,UAAW,+BACX,qBAAsB,GACtB,qBAAsB,EACxB,CACF,CACF,EAKA,iBAAkB,CAChB,SAAU,CACR,iBAAkB,CAChB,QAAS,kBACT,UAAW,2BACX,qBAAsB,GACtB,kBAAmB,EACrB,CACF,CACF,EAIA,iBAAkB,CAChB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