{
  "version": 3,
  "sources": ["/cdn/shop/t/19/assets/mgs-mobile-form-teaser.js?cachebust=20260801c"],
  "sourcesContent": ["(() => {\n  const formTag = 'shopify-forms-embed';\n  const styleId = 'mgs-mobile-teaser-offset';\n  const globalStyleId = 'mgs-mobile-floating-widget-offsets';\n  const googleWidgetId = 'google-merchantwidget-iframe-wrapper';\n  const mobileMediaQuery = '(max-width: 749px)';\n\n  const applyGoogleWidgetOffset = () => {\n    const widget = document.getElementById(googleWidgetId);\n\n    if (!widget || !window.matchMedia(mobileMediaQuery).matches) return;\n\n    widget.style.setProperty('bottom', '96px', 'important');\n  };\n\n  const applyGlobalWidgetOffsets = () => {\n    if (document.getElementById(globalStyleId)) return;\n\n    const style = document.createElement('style');\n    style.id = globalStyleId;\n    style.textContent = `\n      @media screen and (max-width: 749px) {\n        #google-merchantwidget-iframe-wrapper {\n          bottom: 96px !important;\n        }\n      }\n    `;\n\n    document.head.appendChild(style);\n  };\n\n  const applyMobileTeaserOffset = () => {\n    document.querySelectorAll(formTag).forEach((formEmbed) => {\n      const root = formEmbed.shadowRoot;\n\n      if (!root || root.getElementById(styleId)) return;\n\n      const style = document.createElement('style');\n      style.id = styleId;\n      style.textContent = `\n        @media screen and (max-width: 749px) {\n          #app-embed[data-current-step='tease'][data-position='bottom-left'] {\n            bottom: 96px !important;\n          }\n        }\n      `;\n\n      root.appendChild(style);\n    });\n  };\n\n  const start = () => {\n    applyGlobalWidgetOffsets();\n    applyGoogleWidgetOffset();\n    applyMobileTeaserOffset();\n\n    const observer = new MutationObserver(() => {\n      applyGoogleWidgetOffset();\n      applyMobileTeaserOffset();\n    });\n    observer.observe(document.documentElement, { childList: true, subtree: true });\n\n    if (window.customElements) {\n      customElements.whenDefined(formTag).then(applyMobileTeaserOffset);\n    }\n  };\n\n  if (document.readyState === 'loading') {\n    document.addEventListener('DOMContentLoaded', start, { once: true });\n  } else {\n    start();\n  }\n})();\n"],
  "mappings": "CAAC,IAAM,CACL,MAAM,QAAU,sBACV,QAAU,2BACV,cAAgB,qCAChB,eAAiB,uCACjB,iBAAmB,qBAEnB,wBAA0B,IAAM,CACpC,MAAM,OAAS,SAAS,eAAe,cAAc,EAEjD,CAAC,QAAU,CAAC,OAAO,WAAW,gBAAgB,EAAE,SAEpD,OAAO,MAAM,YAAY,SAAU,OAAQ,WAAW,CACxD,EAEM,yBAA2B,IAAM,CACrC,GAAI,SAAS,eAAe,aAAa,EAAG,OAE5C,MAAM,MAAQ,SAAS,cAAc,OAAO,EAC5C,MAAM,GAAK,cACX,MAAM,YAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAQpB,SAAS,KAAK,YAAY,KAAK,CACjC,EAEM,wBAA0B,IAAM,CACpC,SAAS,iBAAiB,OAAO,EAAE,QAAS,WAAc,CACxD,MAAM,KAAO,UAAU,WAEvB,GAAI,CAAC,MAAQ,KAAK,eAAe,OAAO,EAAG,OAE3C,MAAM,MAAQ,SAAS,cAAc,OAAO,EAC5C,MAAM,GAAK,QACX,MAAM,YAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAQpB,KAAK,YAAY,KAAK,CACxB,CAAC,CACH,EAEM,MAAQ,IAAM,CAClB,yBAAyB,EACzB,wBAAwB,EACxB,wBAAwB,EAEP,IAAI,iBAAiB,IAAM,CAC1C,wBAAwB,EACxB,wBAAwB,CAC1B,CAAC,EACQ,QAAQ,SAAS,gBAAiB,CAAE,UAAW,GAAM,QAAS,EAAK,CAAC,EAEzE,OAAO,gBACT,eAAe,YAAY,OAAO,EAAE,KAAK,uBAAuB,CAEpE,EAEI,SAAS,aAAe,UAC1B,SAAS,iBAAiB,mBAAoB,MAAO,CAAE,KAAM,EAAK,CAAC,EAEnE,MAAM,CAEV,GAAG",
  "names": []
}
