{"version":3,"file":"CopyPromptGA.DjAM_rHE.mjs","names":[],"sources":["https:/framerusercontent.com/modules/hL9JZRJMg4CSXvbvEchg/0GlIKLuVmGsMoWHeaMo2/CopyPromptGA.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";// GA4 event for the shot-page prompt (mcp repo docs/23). The shot is the last part of the URL.\nexport function withPromptCopyEvent(Component){return props=>/*#__PURE__*/_jsx(Component,{...props,onClick:e=>{const shot=window.location.pathname.split(\"/\").filter(Boolean).pop()??\"\";window.gtag?.(\"event\",\"prompt_copy\",{shot});props.onClick?.(e);}});}\nexport const __FramerMetadata__ = {\"exports\":{\"withPromptCopyEvent\":{\"type\":\"reactHoc\",\"name\":\"withPromptCopyEvent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CopyPromptGA.map"],"mappings":"kHACA,SAAgB,EAAoB,EAAU,CAAC,MAAO,IAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,GAAG,CAAC,IAAM,EAAK,EAAO,SAAS,SAAS,MAAM,GAAG,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,IAAI,GAAG,GAAG,EAAO,OAAO,QAAQ,cAAc,CAAC,MAAI,CAAC,EAAE,EAAM,UAAU,CAAC,CAAE,CAAC,CAAC,CAAE,qBADjN"}