{"version":3,"file":"ShareButton.COLd42Iv.mjs","names":[],"sources":["https:/framerusercontent.com/modules/dS3bFwTf2GUAmV1uF3an/zRdf9aIlG1OVLKw6hAoI/ShareButton.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function withNativeShare(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,onClick:async()=>{if(navigator.share){try{await navigator.share({title:document.title,url:window.location.href});}catch(error){console.log(\"Sharing failed\",error);}}else{// Fallback: Copy to clipboard\nnavigator.clipboard.writeText(window.location.href);alert(\"Link copied to clipboard!\");}}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withNativeShare\":{\"type\":\"reactHoc\",\"name\":\"withNativeShare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ShareButton.map"],"mappings":"yHAA2C,SAAgB,EAAgB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,SAAS,CAAC,GAAG,EAAU,MAAO,GAAG,CAAC,MAAM,EAAU,MAAM,CAAC,MAAM,SAAS,MAAM,IAAI,EAAO,SAAS,KAAK,CAAC,OAAQ,EAAM,CAAC,QAAQ,IAAI,iBAAiB,EAAM,MACpT,EAAU,UAAU,UAAU,EAAO,SAAS,KAAK,CAAC,MAAM,4BAA4B,EAAI,CAAC,sBADhD"}