{"version":3,"file":"ClickEvents.3NjGhEYe.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Nc51EhAaFSFAe0b7nCp9/XvPTMXsj6AcWnn7vzBXu/ClickEvents.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// ==== BUTTONS ====\n// TO MAKE A NEW BUTTON:\n// 1. Duplicate one of the functions below.\n//   - It would be nice if they were alphabetical.\n// 2. Change the name of the function (after `export function`) to the button name\n//   - This name will define how it appears in the overrides list here in Framer.\n// 3. Change the string inside makeHandler() to the button name\n//   - This string is what gets sent to Fullstory. It's handy if it matches Framer.\nexport function CHECK_LOAN_OFFERS(Component){return makeHandler(\"CHECK_LOAN_OFFERS\",Component);}export function CHECK_MY_RATE(Component){return makeHandler(\"CHECK_LOAN_OFFERS\",Component);}export function CONFIRMATION_CODE_BANNER(Component){return makeHandler(\"CONFIRMATION_CODE_BANNER\",Component);}// My Rocket Hero Section\nexport function MY_ROCKET_CHECK_MY_RATE(Component){return makeHandler(\"MY_ROCKET_CHECK_MY_RATE\",Component);}// \"Why our clients love us\" section \"Apply Now\"\nexport function MY_ROCKET_APPLY_NOW_CLIENTS_LOVE_US(Component){return makeHandler(\"MY_ROCKET_APPLY_NOW_CLIENTS_LOVE_US\",Component);}// \"Take the first step toward your financial goals\" section \"Apply Now\"\nexport function MY_ROCKET_APPLY_NOW_TAKE_FIRST_STEP(Component){return makeHandler(\"MY_ROCKET_APPLY_NOW_TAKE_FIRST_STEP\",Component);}export function OFFER_CODE_HERO_CTA(Component){return makeHandler(\"OFFER_CODE_HERO_CTA\",Component);}export function LOGIN_PAGE_SIGN_IN(Component){return makeHandler(\"LOGIN_PAGE_SIGN_IN\",Component);}// ==== END BUTTONS ====\n// ==== Authorized Personnel Only ====\nfunction makeHandler(buttonName,Component){return /*#__PURE__*/forwardRef((props,ref)=>{function handleOnClick(){if(window.FS){window.FS(\"trackEvent\",{name:buttonName,properties:{event_name:\"CLICK\",page:{path:window.location.pathname}}});}props?.onClick?.();}return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:handleOnClick});});}\nexport const __FramerMetadata__ = {\"exports\":{\"LOGIN_PAGE_SIGN_IN\":{\"type\":\"reactHoc\",\"name\":\"LOGIN_PAGE_SIGN_IN\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CONFIRMATION_CODE_BANNER\":{\"type\":\"reactHoc\",\"name\":\"CONFIRMATION_CODE_BANNER\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CHECK_LOAN_OFFERS\":{\"type\":\"reactHoc\",\"name\":\"CHECK_LOAN_OFFERS\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MY_ROCKET_CHECK_MY_RATE\":{\"type\":\"reactHoc\",\"name\":\"MY_ROCKET_CHECK_MY_RATE\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MY_ROCKET_APPLY_NOW_CLIENTS_LOVE_US\":{\"type\":\"reactHoc\",\"name\":\"MY_ROCKET_APPLY_NOW_CLIENTS_LOVE_US\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CHECK_MY_RATE\":{\"type\":\"reactHoc\",\"name\":\"CHECK_MY_RATE\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OFFER_CODE_HERO_CTA\":{\"type\":\"reactHoc\",\"name\":\"OFFER_CODE_HERO_CTA\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MY_ROCKET_APPLY_NOW_TAKE_FIRST_STEP\":{\"type\":\"reactHoc\",\"name\":\"MY_ROCKET_APPLY_NOW_TAKE_FIRST_STEP\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ClickEvents.map"],"mappings":"gIASA,SAAgB,EAAwB,EAAU,CAAC,OAAO,EAAY,0BAA0B,EAAU,CAC1G,SAAgB,EAAoC,EAAU,CAAC,OAAO,EAAY,sCAAsC,EAAU,CAClI,SAAgB,EAAoC,EAAU,CAAC,OAAO,EAAY,sCAAsC,EAAU,CAAE,SAAgB,EAAoB,EAAU,CAAC,OAAO,EAAY,sBAAsB,EAAU,CAEtO,SAAS,EAAY,EAAW,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,SAAS,GAAe,CAAI,EAAO,IAAI,EAAO,GAAG,aAAa,CAAC,KAAK,EAAW,WAAW,CAAC,WAAW,QAAQ,KAAK,CAAC,KAAK,EAAO,SAAS,SAAS,CAAC,CAAC,CAAC,CAAE,GAAO,WAAW,CAAE,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,QAAQ,EAAc,CAAC,EAAG,sBAbvS,IAA8B"}