{"version":3,"file":"F6mD4rB1d.BzqZ1u_O.mjs","names":["Button","useRef","className"],"sources":["https:/framerusercontent.com/modules/6LZApr7vgkBXjyb3tSTn/Fkwg9KiBTiIn72zNwrV9/F6mD4rB1d.js"],"sourcesContent":["// Generated by Framer (b9489e0)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getFontsFromSharedStyle,Link,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCodeBoundaryForOverrides,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{OFFER_CODE_HERO_CTA}from\"https://framerusercontent.com/modules/Nc51EhAaFSFAe0b7nCp9/yMUb13X9iqt4MT4RMAlV/ClickEvents.js\";import*as sharedStyle1 from\"https://framerusercontent.com/modules/ytM0dK95rxV5WcUWjQIl/rjUiMNIuna2mv4y1Takg/KTLAvvvcl.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/lep6tHgLg4fi84HbgBH3/YWhWO57SL1TcZ5GAbBJu/tNTpVkiUO.js\";import Button from\"https://framerusercontent.com/modules/w1s8ltXPwQqSSK8M0DgK/KopQvYcJOAHpbdzFRdsi/Qyim_r3FF.js\";const ButtonFonts=getFonts(Button);const RichTextOFFER_CODE_HERO_CTA1yvalps=withCodeBoundaryForOverrides(RichText,{nodeId:\"mLRP6MFnr\",override:OFFER_CODE_HERO_CTA,scopeId:\"F6mD4rB1d\"});const cycleOrder=[\"xpi0Mryy6\",\"X6CZr2qqN\"];const serializationHash=\"framer-n0inv\";const variantClassNames={X6CZr2qqN:\"framer-v-cxal10\",xpi0Mryy6:\"framer-v-1vse7qr\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={\"product page\":\"X6CZr2qqN\",homepage:\"xpi0Mryy6\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"xpi0Mryy6\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"xpi0Mryy6\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className,sharedStyle1.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1vse7qr\",className,classNames),\"data-framer-name\":\"homepage\",layoutDependency:layoutDependency,layoutId:\"xpi0Mryy6\",ref:refBinding,style:{...style},...addPropertyOverrides({X6CZr2qqN:{\"data-framer-name\":\"product page\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{height:56,y:(componentViewport?.y||0)+0+(((componentViewport?.height||152)-0-152)/2+0+0),children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1ery6k4-container\",layoutDependency:layoutDependency,layoutId:\"vNa3yqU5g-container\",nodeId:\"vNa3yqU5g\",rendersWithMotion:true,scopeId:\"F6mD4rB1d\",children:/*#__PURE__*/_jsx(Button,{dvR7XocSq:\"Check my rate\",height:\"100%\",id:\"vNa3yqU5g\",layoutId:\"vNa3yqU5g\",tcWBJDCV3:\"https://rocketloans.com/inq/index.html#/\",variant:\"vAcVm8Quo\",width:\"100%\",...addPropertyOverrides({X6CZr2qqN:{dvR7XocSq:\"Check loan offers\"}},baseVariant,gestureVariant)})})}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-9hqo6m\",\"data-styles-preset\":\"tNTpVkiUO\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-0e6bf179-eae5-4ed0-a82d-f70395868e1a, rgb(84, 84, 84)))\"},children:\"Checking won’t impact your credit score\"})}),className:\"framer-16r1125\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"jhVKc2f2w\",style:{\"--extracted-r6o4lv\":\"var(--token-0e6bf179-eae5-4ed0-a82d-f70395868e1a, rgb(84, 84, 84))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichTextOFFER_CODE_HERO_CTA1yvalps,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-9hqo6m\",\"data-styles-preset\":\"tNTpVkiUO\",children:/*#__PURE__*/_jsx(Link,{href:\"https://www.rocketloans.com/inq/index.html#/?personalizedCode=true\",motionChild:true,nodeId:\"mLRP6MFnr\",openInNewTab:false,relValues:[],scopeId:\"F6mD4rB1d\",smoothScroll:false,children:/*#__PURE__*/_jsx(motion.a,{className:\"framer-styles-preset-pwym6r\",\"data-styles-preset\":\"KTLAvvvcl\",children:\"I have a mailer code\"})})})}),className:\"framer-1yvalps\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"mLRP6MFnr\",verticalAlignment:\"top\",withExternalLayout:true})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-n0inv.framer-1d4wwoc, .framer-n0inv .framer-1d4wwoc { display: block; }\",\".framer-n0inv.framer-1vse7qr { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 24px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 768px; }\",\".framer-n0inv .framer-1ery6k4-container { flex: none; height: auto; position: relative; width: auto; }\",\".framer-n0inv .framer-16r1125, .framer-n0inv .framer-1yvalps { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-n0inv.framer-v-cxal10.framer-1vse7qr { align-content: flex-start; align-items: flex-start; }\",...sharedStyle.css,...sharedStyle1.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 152\n * @framerIntrinsicWidth 768\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"X6CZr2qqN\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerF6mD4rB1d=withCSS(Component,css,\"framer-n0inv\");export default FramerF6mD4rB1d;FramerF6mD4rB1d.displayName=\"Button + DM CTA\";FramerF6mD4rB1d.defaultProps={height:152,width:768};addPropertyControls(FramerF6mD4rB1d,{variant:{options:[\"xpi0Mryy6\",\"X6CZr2qqN\"],optionTitles:[\"homepage\",\"product page\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerF6mD4rB1d,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...ButtonFonts,...getFontsFromSharedStyle(sharedStyle.fonts),...getFontsFromSharedStyle(sharedStyle1.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerF6mD4rB1d\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"X6CZr2qqN\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"768\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"152\",\"framerAutoSizeImages\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./F6mD4rB1d.map"],"mappings":"0/BACkvC,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,KAAkB,CAAe,4EAA/gB,EAAY,EAASA,GAAc,EAAmC,EAA6B,EAAS,CAAC,OAAO,YAAY,SAAS,EAAoB,QAAQ,YAAY,EAAQ,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,CAA8L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,WAAS,GAAG,CAAC,IAAM,EAAA,EAAwB,GAA2B,EAAW,GAAO,EAAO,WAAiB,EAAA,OAAgC,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UA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