{"version":3,"file":"GoBack.OSLEp5kM.mjs","names":[],"sources":["https:/framerusercontent.com/modules/cnJesyzYrak8eJ1jeebi/jp1wnueqQN0JrdIcf162/GoBack.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function goBack(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{const referrer=document.referrer;const currentHost=window.location.hostname;if(referrer&&new URL(referrer).hostname===currentHost){window.history.back();}else{window.location.href=\"/\";}},style:{...props.style,cursor:\"pointer\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"goBack\":{\"type\":\"reactHoc\",\"name\":\"goBack\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GoBack.map"],"mappings":"kHAA2C,SAAgB,EAAO,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,YAAY,CAAC,IAAM,EAAS,SAAS,SAAe,EAAY,EAAO,SAAS,SAAY,GAAU,IAAI,IAAI,EAAS,CAAC,WAAW,EAAa,EAAO,QAAQ,MAAM,CAAO,EAAO,SAAS,KAAK,KAAO,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,UAAU,CAAC,CAAC,sBAA/U"}