{"version":3,"file":"CalBookingLaunch.Cp6mc0jG.mjs","names":["g","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/3YbZHAhj4SFshZpyKYNv/ENKy6o2J9iySIWqGBqi7/CalBookingLaunch.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";// ******* UPDATE ICLOSED_LINK WHEN THE BOOKING LINK CHANGES *********\nconst ICLOSED_LINK=\"https://app.iclosed.io/e/outboundleads/5-000-free-outreach-with-outboundleads\";/**\n * Apply this override to any button/link in Framer to open the booking overlay.\n * No third-party script: it asks the BookCall component on the page to open its\n * in-page iframe modal. If no BookCall is present, it falls back to opening the link.\n */export function LaunchCalDotCom(){return{onClick:e=>{if(e&&typeof e.preventDefault===\"function\")e.preventDefault();if(typeof window===\"undefined\")return;const g=globalThis;if(g.__olBookingManager){window.dispatchEvent(new CustomEvent(\"ol:book\",{detail:{link:ICLOSED_LINK}}));}else{window.open(ICLOSED_LINK,\"_blank\",\"noopener\");}}};}/** Same behaviour, clearer name for new uses. */export const LaunchIClosed=LaunchCalDotCom;import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withLaunchCalDotCom(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...LaunchCalDotCom(props)});};}withLaunchCalDotCom.displayName=\"LaunchCalDotCom\";\nexport const __FramerMetadata__ = {\"exports\":{\"LaunchIClosed\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LaunchCalDotCom\":{\"type\":\"override\",\"name\":\"LaunchCalDotCom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLaunchCalDotCom\":{\"type\":\"reactHoc\",\"name\":\"withLaunchCalDotCom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CalBookingLaunch.map"],"mappings":"iLAKG,SAAgB,GAAiB,CAAC,MAAM,CAAC,QAAQ,GAAG,CAAI,GAAG,OAAO,EAAE,gBAAiB,YAAW,EAAE,eAAe,EAAY,IAAS,SAAyCA,WAAE,mBAAoB,EAAO,cAAc,IAAI,YAAY,UAAU,CAAC,OAAO,CAAC,KAAK,CAAY,CAAC,CAAC,CAAC,EAAQ,EAAO,KAAK,EAAa,SAAS,UAAU,EAAG,CAAC,CAAE,CAAgP,SAAgB,EAAoB,EAAE,CAAC,MAAO,KAAQ,EAA+BC,CAAuC,EAASC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAgB,CAAK,CAAC,CAAC,EAAI,uBALxsB,IAKgc,IAAmF,EAJvjB,EAAa,gFAIguB,EAAoB,YAAY"}