{"version":3,"file":"HardRedirect.C3VmRfe0.mjs","names":[],"sources":["https:/framerusercontent.com/modules/trR1cc5DD4O8VcklILLu/I7jx0h3xxoPSn3YEe8FZ/HardRedirect.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";export function withHardRedirect(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const redirectionLink=props.link;const origin=window.location.origin??\"https://programiz.pro\";const hardLink=`${origin}${redirectionLink}`;return /*#__PURE__*/_jsx(Component,{ref:ref,...props,link:hardLink,onClick:()=>{window.location.href=hardLink;}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withHardRedirect\":{\"type\":\"reactHoc\",\"name\":\"withHardRedirect\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HardRedirect.map"],"mappings":"2HAAyE,SAAgB,EAAiB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,IAAM,EAAgB,EAAM,KAAwE,EAAS,GAA/D,EAAO,SAAS,QAAQ,0BAAmD,IAAkB,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,KAAK,EAAS,YAAY,CAAC,EAAO,SAAS,KAAK,GAAW,CAAC,EAAG,sBAAtX,IAA8B"}