{"version":3,"file":"FormTrigger.DepqEnWD.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/Y2E3DfuqKBZnWhi72gXL/Utq55aL8uMxUmGb7bPdJ/FormTrigger.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function withPopupTrigger(){return{onTap(){// Ye line aapke main form ko signal bhejti hai\nwindow.dispatchEvent(new CustomEvent(\"open-fieldhive-form\"));}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withwithPopupTrigger(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...withPopupTrigger(props)});};}withwithPopupTrigger.displayName=\"withPopupTrigger\";\nexport const __FramerMetadata__ = {\"exports\":{\"withPopupTrigger\":{\"type\":\"override\",\"name\":\"withPopupTrigger\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withwithPopupTrigger\":{\"type\":\"reactHoc\",\"name\":\"withwithPopupTrigger\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormTrigger.map"],"mappings":"4KAA2C,SAAgB,GAAkB,CAAC,MAAM,CAAC,OAAO,CAC5F,EAAO,cAAc,IAAI,YAAY,sBAAsB,CAAC,EAAG,CAAqJ,SAAgB,EAAqB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAiB,EAAM,CAAC,CAAC,uBAD5V,IACsF,IAAmF,CAAuL,EAAqB,YAAY"}