{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/N3MGJJgpCAxAh9Ga4FPB/u0qguf7K6l8Kpkzzsz3A/CheckoutPopup.js"],
  "sourcesContent": ["// import type { ComponentType } from \"react\"\n// import { createStore } from \"https://framer.com/m/framer/store.js@^1.0.0\"\n// import { randomColor } from \"https://framer.com/m/framer/utils.js@^0.9.0\"\n// // Learn more: https://www.framer.com/docs/guides/overrides/\n// const useStore = createStore({\n//     background: \"#0099FF\",\n// })\n// export function withRotate(Component): ComponentType {\n//     return (props) => {\n//         return (\n//             <Component\n//                 {...props}\n//                 animate={{ rotate: 90 }}\n//                 transition={{ duration: 2 }}\n//             />\n//         )\n//     }\n// }\n// export function withHover(Component): ComponentType {\n//     return (props) => {\n//         return <Component {...props} whileHover={{ scale: 1.05 }} />\n//     }\n// }\n// export function withRandomColor(Component): ComponentType {\n//     return (props) => {\n//         const [store, setStore] = useStore()\n//         return (\n//             <Component\n//                 {...props}\n//                 animate={{\n//                     background: store.background,\n//                 }}\n//                 onClick={() => {\n//                     setStore({ background: randomColor() })\n//                 }}\n//             />\n//         )\n//     }\n// }\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";function useEmbed(){useEffect(()=>{var _window;if((_window=window)===null||_window===void 0?void 0:_window.checkoutPage)return;const script=document.createElement(\"script\");script.src=\"https://checkoutpage.co/js/overlay.js\";script.async=true;document.body.appendChild(script);return()=>{document.body.removeChild(script);};},[]);return null;}export function withCheckoutPopup(Component){return props=>{useEmbed();props.className+=\" cp-button\";return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withCheckoutPopup\":{\"type\":\"reactHoc\",\"name\":\"withCheckoutPopup\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CheckoutPopup.map"],
  "mappings": "oFAuCwE,SAASA,GAAU,CAAC,OAAAC,EAAU,IAAI,CAAC,IAAIC,EAAQ,GAAI,GAAAA,EAAQC,KAAU,MAAMD,IAAU,SAAcA,EAAQ,aAAa,OAAO,IAAME,EAAO,SAAS,cAAc,QAAQ,EAAE,OAAAA,EAAO,IAAI,wCAAwCA,EAAO,MAAM,GAAK,SAAS,KAAK,YAAYA,CAAM,EAAQ,IAAI,CAAC,SAAS,KAAK,YAAYA,CAAM,CAAE,CAAE,EAAE,CAAC,CAAC,EAAS,IAAK,CAAQ,SAASC,EAAkBC,EAAU,CAAC,OAAOC,IAAQP,EAAS,EAAEO,EAAM,WAAW,aAAiCC,EAAKF,EAAU,CAAC,GAAGC,CAAK,CAAC,EAAI",
  "names": ["useEmbed", "ue", "_window", "window", "script", "withCheckoutPopup", "Component", "props", "p"]
}
