{"version":3,"file":"StickyBackButton.CeQLu8pX.mjs","names":[],"sources":["https:/framerusercontent.com/modules/t2gjAV22BeQ10gAgIZRp/kJoOCau6LolH9xBB0Ys3/StickyBackButton.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls}from\"framer\";import{useEffect}from\"react\";export default function StickyBackButton(props){useEffect(()=>{// Hide the site-level navbar on article pages\nconst style=document.createElement(\"style\");style.textContent=`\n            [data-framer-name=\"NavBar\"],\n            nav[style*=\"position: fixed\"],\n            nav[style*=\"position:fixed\"],\n            header[style*=\"position: fixed\"],\n            header[style*=\"position:fixed\"] {\n                display: none !important;\n            }\n        `;document.head.appendChild(style);return()=>{document.head.removeChild(style);};},[]);return /*#__PURE__*/_jsx(\"a\",{href:\"/\",style:{position:\"fixed\",top:20,left:20,zIndex:1e3,display:\"flex\",alignItems:\"center\",gap:6,padding:\"8px 16px\",backgroundColor:\"rgba(28, 28, 28, 0.85)\",backdropFilter:\"blur(8px)\",WebkitBackdropFilter:\"blur(8px)\",borderRadius:20,color:\"rgba(255, 255, 255, 0.8)\",textDecoration:\"none\",fontFamily:\"MiSans VF, MiSans, sans-serif\",fontSize:14,fontWeight:400,border:\"1px solid rgba(255, 255, 255, 0.1)\",cursor:\"pointer\",transition:\"opacity 0.2s ease\",...props.style},onMouseEnter:e=>{e.currentTarget.style.color=\"rgba(255, 255, 255, 1)\";},onMouseLeave:e=>{e.currentTarget.style.color=\"rgba(255, 255, 255, 0.8)\";},children:\"← Back to home\"});}addPropertyControls(StickyBackButton,{});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StickyBackButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StickyBackButton.map"],"mappings":"mKAAgH,SAAwB,EAAiB,EAAM,CAShE,OATiE,MAAc,CAC9K,IAAM,EAAM,SAAS,cAAc,QAAQ,CAQA,MARC,GAAM,YAAY;;;;;;;;UAQpD,SAAS,KAAK,YAAY,EAAM,KAAW,CAAC,SAAS,KAAK,YAAY,EAAM,GAAK,EAAE,CAAC,CAAqB,EAAK,IAAI,CAAC,KAAK,IAAI,MAAM,CAAC,SAAS,QAAQ,IAAI,GAAG,KAAK,GAAG,OAAO,IAAI,QAAQ,OAAO,WAAW,SAAS,IAAI,EAAE,QAAQ,WAAW,gBAAgB,yBAAyB,eAAe,YAAY,qBAAqB,YAAY,aAAa,GAAG,MAAM,2BAA2B,eAAe,OAAO,WAAW,gCAAgC,SAAS,GAAG,WAAW,IAAI,OAAO,qCAAqC,OAAO,UAAU,WAAW,oBAAoB,GAAG,EAAM,MAAM,CAAC,aAAa,GAAG,CAAC,EAAE,cAAc,MAAM,MAAM,0BAA2B,aAAa,GAAG,CAAC,EAAE,cAAc,MAAM,MAAM,4BAA6B,SAAS,iBAAiB,CAAC,kBATptB,IAAwC,IAA6B,CASipB,EAAoB,EAAiB,EAAE,CAAC"}