{"version":3,"file":"SByCf0xI7.BLIGZO2R.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/quCTF0tAMtNblP07GUUy/8xzkYgclpBTkL8pyYtmn/Social_Share.js","https:/framerusercontent.com/modules/ovzbYe7Mi7sMERGozgE1/VhuGcJXRZQt2MSlQ0CsG/SByCf0xI7.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function TwitterShare(){return{onTap(){const url=encodeURIComponent(window.location.href);window.open(`https://twitter.com/intent/tweet?url=${url}`,\"_blank\");}};}export function LinkedInShare(){return{onTap(){const url=encodeURIComponent(window.location.href);window.open(`https://www.linkedin.com/sharing/share-offsite/?url=${url}`,\"_blank\");}};}export function FacebookShare(){return{onTap(){const url=encodeURIComponent(window.location.href);window.open(`https://www.facebook.com/sharer/sharer.php?u=${url}`,\"_blank\");}};}import{Data}from\"framer\";// Optional: Creates a state to track if the link was copied\nconst data=Data({isCopied:false});export function MailShare(){return{onTap(){const url=window.location.href;const subject=encodeURIComponent(\"Check out this article\");const body=encodeURIComponent(`I thought you might find this interesting: ${url}`);window.location.href=`mailto:?subject=${subject}&body=${body}`;}};}export function CopyLink(){return{// This changes the text or visual state if you want feedback\ntext:data.isCopied?\"Copied!\":\"Copy Link\",onTap(){navigator.clipboard.writeText(window.location.href);data.isCopied=true;// Reset the \"Copied!\" message after 2 seconds\nsetTimeout(()=>{data.isCopied=false;},2e3);}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withTwitterShare(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...TwitterShare(props)});};}withTwitterShare.displayName=\"TwitterShare\";export function withLinkedInShare(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...LinkedInShare(props)});};}withLinkedInShare.displayName=\"LinkedInShare\";export function withFacebookShare(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...FacebookShare(props)});};}withFacebookShare.displayName=\"FacebookShare\";export function withMailShare(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...MailShare(props)});};}withMailShare.displayName=\"MailShare\";export function withCopyLink(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...CopyLink(props)});};}withCopyLink.displayName=\"CopyLink\";\nexport const __FramerMetadata__ = {\"exports\":{\"withFacebookShare\":{\"type\":\"reactHoc\",\"name\":\"withFacebookShare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLinkedInShare\":{\"type\":\"reactHoc\",\"name\":\"withLinkedInShare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MailShare\":{\"type\":\"override\",\"name\":\"MailShare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FacebookShare\":{\"type\":\"override\",\"name\":\"FacebookShare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMailShare\":{\"type\":\"reactHoc\",\"name\":\"withMailShare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CopyLink\":{\"type\":\"override\",\"name\":\"CopyLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TwitterShare\":{\"type\":\"override\",\"name\":\"TwitterShare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTwitterShare\":{\"type\":\"reactHoc\",\"name\":\"withTwitterShare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LinkedInShare\":{\"type\":\"override\",\"name\":\"LinkedInShare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyLink\":{\"type\":\"reactHoc\",\"name\":\"withCopyLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Social_Share.map","// Generated by Framer (e999480)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-tWybC .framer-styles-preset-1bkb4q6:not(.rich-text-wrapper), .framer-tWybC .framer-styles-preset-1bkb4q6.rich-text-wrapper a { --framer-link-text-color: var(--token-c0874d0e-ebe7-4918-9e04-ca51a4443339, #6e7551); --framer-link-text-decoration: underline; --framer-link-text-decoration-color: var(--token-c5cf4910-1d24-4bd1-95d4-7d0577095b37, #a9af8d); --framer-link-text-decoration-offset: auto; --framer-link-text-decoration-skip-ink: auto; }\"];export const className=\"framer-tWybC\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"uMAA2C,SAAgB,GAAc,CAAC,MAAM,CAAC,OAAO,CAAC,IAAM,EAAI,mBAAmB,EAAO,SAAS,KAAK,CAAC,EAAO,KAAK,wCAAwC,IAAM,SAAS,EAAG,CAAE,SAAgB,GAAe,CAAC,MAAM,CAAC,OAAO,CAAC,IAAM,EAAI,mBAAmB,EAAO,SAAS,KAAK,CAAC,EAAO,KAAK,uDAAuD,IAAM,SAAS,EAAG,CAAE,SAAgB,GAAe,CAAC,MAAM,CAAC,OAAO,CAAC,IAAM,EAAI,mBAAmB,EAAO,SAAS,KAAK,CAAC,EAAO,KAAK,gDAAgD,IAAM,SAAS,EAAG,CAC3hB,SAAgB,GAAW,CAAC,MAAM,CAAC,OAAO,CAAC,IAAM,EAAI,EAAO,SAAS,KAAsE,EAAK,mBAAmB,8CAA8C,IAAM,CAAC,EAAO,SAAS,KAAK,qDAAmC,KAAS,CAAE,SAAgB,GAAU,CAAC,MAAM,CAC9V,KAAK,EAAK,SAAS,UAAU,YAAY,OAAO,CAAC,EAAU,UAAU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