{"version":3,"file":"Back.Cl0htlaf.mjs","names":["__esmMin","init_ssg_sandbox_shims","window","c","init_jsx_runtime","withBackButton","Component","props","init_Back"],"sources":["https:/framerusercontent.com/modules/NtlkXtQASCvR0oZnzYxC/iddpI7O3tZXXNhRM5ZIq/Back.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function withBackButton(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{if(window.history.length>1){window.history.back();}else{window.location.href=\"/\"// fallback al home\n;}},style:{...props.style,cursor:\"pointer\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withBackButton\":{\"type\":\"reactHoc\",\"name\":\"withBackButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Back.map"],"mappings":"A,kHAA2C,SAAgBK,EAAe,EAAU,CAAC,MAAO,IAA4B,gBAAKC,EAAU,CAAC,GAAGC,EAAM,YAAY,CAAIL,EAAO,QAAQ,OAAO,EAAGA,EAAO,QAAQ,KAAK,EAAQ,EAAO,SAAS,KAAK,GACzO,EAAE,MAAM,CAAC,GAAGK,EAAM,MAAM,OAAO,SAAS,CAAC,CAAC,CAAI,C"}