{"version":3,"file":"CustomRedirect.C1-WdsZE.mjs","names":[],"sources":["https:/framerusercontent.com/modules/ql8PxLcISr7l81CiuQqA/rje2pn4Xy1MwbLtbo8H1/CustomRedirect.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";const FALLBACK_URL=\"https://breeze.onelink.me/2oJM/frq1\";export function withCustomRedirect(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const handleClick=()=>{const result_url=AF_SMART_SCRIPT_RESULT.clickURL;if(result_url){window.open(result_url,\"_blank\");}else{window.open(FALLBACK_URL,\"_blank\");}props?.onClick();};return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:handleClick});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withCustomRedirect\":{\"type\":\"reactHoc\",\"name\":\"withCustomRedirect\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CustomRedirect.map"],"mappings":"2HAAkI,SAAgB,EAAmB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,IAAM,MAAgB,CAAC,IAAM,EAAW,uBAAuB,SAAY,EAAY,EAAO,KAAK,EAAW,SAAS,CAAO,EAAO,KAAK,EAAa,SAAS,CAAE,GAAO,SAAS,EAAG,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,QAAQ,EAAY,CAAC,EAAG,wBAApb,IAA8B,CAAM,EAAa"}