{
  "version": 3,
  "sources": ["/cdn/shop/t/94/assets/fab-unified-cta.js?flyaway_refresh=20260703-01"],
  "sourcesContent": ["(function () {\n  if (window.__fabUnifiedCtaBound) return;\n  window.__fabUnifiedCtaBound = true;\n\n  var mobileQuery = window.matchMedia('(max-width: 767px)');\n  var bottomBar = null;\n  var bottomBarPlaceholder = null;\n  var bottomBarOriginalParent = null;\n  var retryTimer = null;\n  var stickyTopTicking = false;\n  var mobileBottomTicking = false;\n  var observedVoucherSections = new WeakSet();\n  var visibleVoucherSections = new Set();\n  var voucherObserver = typeof IntersectionObserver === 'function'\n    ? new IntersectionObserver(function (entries) {\n        entries.forEach(function (entry) {\n          if (entry.isIntersecting) visibleVoucherSections.add(entry.target);\n          else visibleVoucherSections.delete(entry.target);\n        });\n        document.body.classList.toggle('fab-vouchers-visible', visibleVoucherSections.size > 0);\n      })\n    : null;\n\n  function observeVoucherSections() {\n    if (!voucherObserver) return;\n    document.querySelectorAll('.voucher-types-section').forEach(function (section) {\n      if (observedVoucherSections.has(section)) return;\n      observedVoucherSections.add(section);\n      voucherObserver.observe(section);\n    });\n  }\n\n  function clamp(value, min, max) {\n    return Math.min(Math.max(value, min), max);\n  }\n\n  function isMobile() {\n    return mobileQuery.matches;\n  }\n\n  function syncMobileBottomLayout() {\n    mobileBottomTicking = false;\n    document.documentElement.style.removeProperty('--fab-mobile-bottom-offset');\n    document.documentElement.style.removeProperty('--fab-unified-body-pad');\n  }\n\n  function queueMobileBottomLayout() {\n    if (!isMobile()) return;\n    if (mobileBottomTicking) return;\n    mobileBottomTicking = true;\n    window.requestAnimationFrame(syncMobileBottomLayout);\n  }\n\n  function isPinnedToBody(bar) {\n    return bar && bar.parentNode === document.body;\n  }\n\n  function getSectionRoot(bar) {\n    if (!bar) return null;\n    var sectionId = bar.getAttribute('data-fab-section-id');\n    if (sectionId) {\n      return document.getElementById(sectionId);\n    }\n    return bar.closest('[id^=\"shopify-section-\"]');\n  }\n\n  function getHeaderBottom() {\n    var header = document.getElementById('shopify-section-header');\n    if (!header) return 116;\n\n    var rect = header.getBoundingClientRect();\n    var style = window.getComputedStyle(header);\n    var isFixed = header.classList.contains('fixed') || style.position === 'fixed';\n\n    if (isFixed) {\n      return Math.max(0, Math.round(rect.bottom));\n    }\n\n    return Math.max(0, Math.round(header.offsetHeight || rect.height || 116));\n  }\n\n  function syncUnifiedStickyTop() {\n    stickyTopTicking = false;\n\n    if (isMobile()) {\n      document.documentElement.style.removeProperty('--fab-unified-sticky-top');\n      return;\n    }\n\n    document.documentElement.style.setProperty('--fab-unified-sticky-top', getHeaderBottom() + 'px');\n  }\n\n  function queueStickyTopSync() {\n    if (stickyTopTicking) return;\n    stickyTopTicking = true;\n    window.requestAnimationFrame(syncUnifiedStickyTop);\n  }\n\n  function restoreBarToSection(bar) {\n    if (!bar || !isPinnedToBody(bar)) {\n      if (bar) {\n        bar.classList.remove('is-bottom-fixed');\n        bar.dataset.fabPinned = '';\n      }\n      document.body.classList.remove('fab-unified-bottom-bar-active');\n      return;\n    }\n\n    if (bottomBarPlaceholder && bottomBarPlaceholder.parentNode && bottomBarOriginalParent) {\n      bottomBarOriginalParent.insertBefore(bar, bottomBarPlaceholder);\n      bottomBarPlaceholder.remove();\n    } else {\n      var sectionRoot = getSectionRoot(bar);\n      if (sectionRoot) {\n        sectionRoot.appendChild(bar);\n      }\n    }\n\n    bottomBarPlaceholder = null;\n    bottomBarOriginalParent = null;\n    bar.dataset.fabPinned = '';\n    bar.classList.remove('is-bottom-fixed');\n    document.body.classList.remove('fab-unified-bottom-bar-active');\n  }\n\n  function ensureDesktopPlacement() {\n    var bars = document.querySelectorAll('[data-fab-unified-cta]');\n    if (!bars.length) return;\n\n    bottomBar = bars[0];\n    for (var i = 1; i < bars.length; i += 1) {\n      bars[i].remove();\n    }\n\n    restoreBarToSection(bottomBar);\n  }\n\n  function pinBottomBar() {\n    var bars = document.querySelectorAll('[data-fab-unified-cta]');\n    if (!bars.length) return;\n\n    bottomBar = bars[0];\n    for (var i = 1; i < bars.length; i += 1) {\n      bars[i].remove();\n    }\n\n    if (isMobile()) {\n      if (!isPinnedToBody(bottomBar)) {\n        bottomBarOriginalParent = bottomBar.parentNode;\n        bottomBarPlaceholder = document.createElement('span');\n        bottomBarPlaceholder.className = 'fab-unified-sticky-cta-placeholder';\n        bottomBarOriginalParent.insertBefore(bottomBarPlaceholder, bottomBar);\n        document.body.appendChild(bottomBar);\n      }\n      bottomBar.classList.add('is-bottom-fixed');\n      bottomBar.dataset.fabPinned = 'true';\n      document.body.classList.add('fab-unified-bottom-bar-active');\n    } else {\n      ensureDesktopPlacement();\n    }\n    syncMobileBottomLayout();\n  }\n\n  function scheduleRetry() {\n    if (retryTimer) return;\n    retryTimer = window.setTimeout(function () {\n      retryTimer = null;\n      pinBottomBar();\n    }, 120);\n  }\n\n  document.addEventListener('click', function (event) {\n    var trigger = event.target.closest('[data-fab-unified-open]');\n    if (!trigger) return;\n\n    event.preventDefault();\n\n    var opener = document.querySelector('.fab-availability-widget [data-fab-open]');\n    if (opener) {\n      opener.click();\n      return;\n    }\n\n    var widget = document.querySelector('.fab-availability-widget');\n    if (widget) {\n      widget.scrollIntoView({ behavior: 'smooth', block: 'center' });\n    }\n  });\n\n  function init() {\n    pinBottomBar();\n    observeVoucherSections();\n    syncUnifiedStickyTop();\n    queueMobileBottomLayout();\n    if (isMobile() && !document.querySelector('[data-fab-unified-cta]')) {\n      scheduleRetry();\n    }\n  }\n\n  if (typeof mobileQuery.addEventListener === 'function') {\n    mobileQuery.addEventListener('change', init);\n  } else if (typeof mobileQuery.addListener === 'function') {\n    mobileQuery.addListener(init);\n  }\n\n  window.addEventListener('resize', init);\n  window.addEventListener('scroll', function () {\n    queueStickyTopSync();\n    queueMobileBottomLayout();\n  }, { passive: true });\n  window.addEventListener('orientationchange', function () {\n    window.setTimeout(init, 150);\n  });\n  window.addEventListener('pageshow', init);\n  document.addEventListener('visibilitychange', function () {\n    if (!document.hidden) init();\n  });\n\n  if (window.visualViewport) {\n    window.visualViewport.addEventListener('resize', queueMobileBottomLayout);\n    window.visualViewport.addEventListener('scroll', queueMobileBottomLayout);\n  }\n  window.addEventListener('load', init, { once: true });\n\n  if (typeof MutationObserver === 'function') {\n    var observer = new MutationObserver(function () {\n      if (!document.querySelector('[data-fab-unified-cta]')) return;\n      observeVoucherSections();\n      if (isMobile()) {\n        scheduleRetry();\n        queueMobileBottomLayout();\n      } else {\n        pinBottomBar();\n        queueStickyTopSync();\n      }\n    });\n    observer.observe(document.documentElement, { childList: true, subtree: true });\n  }\n\n  if (document.readyState === 'loading') {\n    document.addEventListener('DOMContentLoaded', init, { once: true });\n  } else {\n    init();\n  }\n\n  [250, 800, 1800].forEach(function (delay) {\n    window.setTimeout(init, delay);\n  });\n})();\n"],
  "mappings": "CAAC,UAAY,CACX,GAAI,OAAO,qBAAsB,OACjC,OAAO,qBAAuB,GAE9B,IAAI,YAAc,OAAO,WAAW,oBAAoB,EACpD,UAAY,KACZ,qBAAuB,KACvB,wBAA0B,KAC1B,WAAa,KACb,iBAAmB,GACnB,oBAAsB,GACtB,wBAA0B,IAAI,QAC9B,uBAAyB,IAAI,IAC7B,gBAAkB,OAAO,sBAAyB,WAClD,IAAI,qBAAqB,SAAU,QAAS,CAC1C,QAAQ,QAAQ,SAAU,MAAO,CAC3B,MAAM,eAAgB,uBAAuB,IAAI,MAAM,MAAM,EAC5D,uBAAuB,OAAO,MAAM,MAAM,CACjD,CAAC,EACD,SAAS,KAAK,UAAU,OAAO,uBAAwB,uBAAuB,KAAO,CAAC,CACxF,CAAC,EACD,KAEJ,SAAS,wBAAyB,CAC3B,iBACL,SAAS,iBAAiB,wBAAwB,EAAE,QAAQ,SAAU,QAAS,CACzE,wBAAwB,IAAI,OAAO,IACvC,wBAAwB,IAAI,OAAO,EACnC,gBAAgB,QAAQ,OAAO,EACjC,CAAC,CACH,CAEA,SAAS,MAAM,MAAO,IAAK,IAAK,CAC9B,OAAO,KAAK,IAAI,KAAK,IAAI,MAAO,GAAG,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