{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/HC8v9nnGxXwfQVNwPBJF/GVDHvRPUcvqY8TDT66Md/SocialShares.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";// Helper function to safely get window location\nconst getWindowLocation=()=>{if(typeof window!==\"undefined\"){return window.location.href;}return\"\";};// Helper function to safely get document title\nconst getDocumentTitle=()=>{if(typeof document!==\"undefined\"){return document.title||\"an awesome blog post\";}return\"an awesome blog post\";};// Twitter Share Override\nexport function ShareToTwitter(){return{onClick:()=>{const url=getWindowLocation();const title=getDocumentTitle();const shareMessage=`Hey, I just read \"${title}\" on fibr.ai/blogs! Check it out: ${url}`;const twitterURL=`https://twitter.com/intent/tweet?text=${encodeURIComponent(shareMessage)}`;if(typeof window!==\"undefined\"){window.open(twitterURL,\"_blank\",\"width=600,height=600\");}},style:{cursor:\"pointer\"}};}// Pinterest Share Override\nexport function ShareToPinterest(){return{onClick:()=>{const url=getWindowLocation();const title=getDocumentTitle();const pinterestURL=`https://www.pinterest.com/pin/create/button/?url=${encodeURIComponent(url)}&description=${encodeURIComponent(title)}`;if(typeof window!==\"undefined\"){window.open(pinterestURL,\"_blank\",\"width=600,height=600\");}},style:{cursor:\"pointer\"}};}// Quora Share Override\nexport function ShareToQuora(){return{onClick:()=>{const url=getWindowLocation();const quoraURL=`https://www.quora.com/share?url=${encodeURIComponent(url)}`;if(typeof window!==\"undefined\"){window.open(quoraURL,\"_blank\",\"width=600,height=600\");}},style:{cursor:\"pointer\"}};}// SlideShare Share Override\nexport function ShareToSlideShare(){return{onClick:()=>{if(typeof window!==\"undefined\"){// SlideShare doesn't have a direct URL for creating posts, so we'll just open the homepage for uploads\nconst slideshareURL=`https://www.slideshare.net/`;window.open(slideshareURL,\"_blank\",\"width=800,height=600\");}},style:{cursor:\"pointer\"}};}// LinkedIn Share Override\nexport function ShareToLinkedIn(){return{onClick:()=>{const url=getWindowLocation();const title=getDocumentTitle();const shareMessage=`Hey, I just read \"${title}\" on fibr.ai/blogs! Check it out: ${url}`;const linkedInURL=`https://www.linkedin.com/shareArticle?mini=true&url=${encodeURIComponent(url)}&title=${encodeURIComponent(title)}&summary=${encodeURIComponent(shareMessage)}`;if(typeof window!==\"undefined\"){window.open(linkedInURL,\"_blank\",\"width=800,height=600\");}},style:{cursor:\"pointer\"}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withShareToTwitter(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ShareToTwitter(props)});};}withShareToTwitter.displayName=\"ShareToTwitter\";export function withShareToPinterest(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ShareToPinterest(props)});};}withShareToPinterest.displayName=\"ShareToPinterest\";export function withShareToQuora(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ShareToQuora(props)});};}withShareToQuora.displayName=\"ShareToQuora\";export function withShareToSlideShare(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ShareToSlideShare(props)});};}withShareToSlideShare.displayName=\"ShareToSlideShare\";export function withShareToLinkedIn(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ShareToLinkedIn(props)});};}withShareToLinkedIn.displayName=\"ShareToLinkedIn\";\nexport const __FramerMetadata__ = {\"exports\":{\"withShareToSlideShare\":{\"type\":\"reactHoc\",\"name\":\"withShareToSlideShare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShareToQuora\":{\"type\":\"reactHoc\",\"name\":\"withShareToQuora\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShareToPinterest\":{\"type\":\"reactHoc\",\"name\":\"withShareToPinterest\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShareToQuora\":{\"type\":\"override\",\"name\":\"ShareToQuora\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShareToTwitter\":{\"type\":\"override\",\"name\":\"ShareToTwitter\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShareToLinkedIn\":{\"type\":\"reactHoc\",\"name\":\"withShareToLinkedIn\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShareToSlideShare\":{\"type\":\"override\",\"name\":\"ShareToSlideShare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShareToLinkedIn\":{\"type\":\"override\",\"name\":\"ShareToLinkedIn\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShareToTwitter\":{\"type\":\"reactHoc\",\"name\":\"withShareToTwitter\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShareToPinterest\":{\"type\":\"override\",\"name\":\"ShareToPinterest\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SocialShares.map"],
  "mappings": "oKACA,IAAMA,EAAkB,IAAQ,OAAOC,EAAS,IAAoBA,EAAO,SAAS,KAAY,GAC1FC,EAAiB,IAAQ,OAAO,SAAW,KAAoB,SAAS,OAAO,uBAC9E,SAASC,GAAgB,CAAC,MAAM,CAAC,QAAQ,IAAI,CAAC,IAAMC,EAAIJ,EAAkB,EAAuCK,EAAa,qBAAtCH,EAAiB,CAA+C,qCAAqCE,CAAG,GAASE,EAAW,yCAAyC,mBAAmBD,CAAY,CAAC,GAAM,OAAOJ,EAAS,KAAaA,EAAO,KAAKK,EAAW,SAAS,sBAAsB,CAAG,EAAE,MAAM,CAAC,OAAO,SAAS,CAAC,CAAE,CACrZ,SAASC,GAAkB,CAAC,MAAM,CAAC,QAAQ,IAAI,CAAC,IAAMH,EAAIJ,EAAkB,EAAQQ,EAAMN,EAAiB,EAAQO,EAAa,oDAAoD,mBAAmBL,CAAG,CAAC,gBAAgB,mBAAmBI,CAAK,CAAC,GAAM,OAA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uC,EAASC,EAAKJ,EAAE,CAAC,GAAGC,EAAM,GAAGP,EAAaO,CAAK,CAAC,CAAC,EAAI,CAACK,EAAiB,YAAY,eAAsB,SAASC,EAAsBP,EAAE,CAAC,OAAOC,IAAQC,EAA+BC,CAAuC,EAASC,EAAKJ,EAAE,CAAC,GAAGC,EAAM,GAAGL,EAAkBK,CAAK,CAAC,CAAC,EAAI,CAACM,EAAsB,YAAY,oBAA2B,SAASC,EAAoBR,EAAE,CAAC,OAAOC,IAAQC,EAA+BC,CAAuC,EAASC,EAAKJ,EAAE,CAAC,GAAGC,EAAM,GAAGJ,EAAgBI,CAAK,CAAC,CAAC,EAAI,CAACO,EAAoB,YAAY",
  "names": ["getWindowLocation", "window", "getDocumentTitle", "ShareToTwitter", "url", "shareMessage", "twitterURL", "ShareToPinterest", "title", "pinterestURL", "ShareToQuora", "quoraURL", "ShareToSlideShare", "ShareToLinkedIn", "linkedInURL", "withShareToTwitter", "C", "props", "re", "DataObserverContext", "p", "withShareToPinterest", "withShareToQuora", "withShareToSlideShare", "withShareToLinkedIn"]
}
