{"version":3,"file":"shared.CSS9Iv7P.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText"],"sources":["https:/framerusercontent.com/modules/xIgqiG4bQ4xSSZDTKZIC/7jGiyWAKwDvRvwND1qYl/oRGwwvFxy.js"],"sourcesContent":["// Generated by Framer (7b363e7)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"AteyQ896M\",\"Fbx5gF8o4\"];const serializationHash=\"framer-ab8Q0\";const variantClassNames={AteyQ896M:\"framer-v-1bjvbn0\",Fbx5gF8o4:\"framer-v-1ivl7h1\"};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={\"Variant 1\":\"AteyQ896M\",\"Variant 2\":\"Fbx5gF8o4\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"AteyQ896M\"};};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:\"AteyQ896M\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onMouseEnterq0v2bi=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});setVariant(\"Fbx5gF8o4\");});const onMouseLeave1oloipk=activeVariantCallback(async(...args)=>{setGestureState({isHovered:false});setVariant(\"AteyQ896M\");});const sharedStyleClassNames=[];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__*/_jsx(Link,{href:{webPageId:\"OwBgrBzsy\"},motionChild:true,nodeId:\"AteyQ896M\",openInNewTab:false,scopeId:\"oRGwwvFxy\",children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1bjvbn0\",className,classNames)} framer-1ak65ak`,\"data-border\":true,\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"AteyQ896M\",onMouseEnter:onMouseEnterq0v2bi,ref:refBinding,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"rgb(245, 6, 80)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"rgb(233, 41, 33)\",borderBottomLeftRadius:2,borderBottomRightRadius:2,borderTopLeftRadius:2,borderTopRightRadius:2,...style},variants:{Fbx5gF8o4:{\"--border-color\":\"var(--token-3b75617d-53d6-40a4-869a-c24562fc81ee, rgb(233, 41, 33))\",backgroundColor:\"var(--token-208f9d07-dbce-4757-a3fd-7cfc40244bef, rgb(255, 255, 255))\"}},...addPropertyOverrides({Fbx5gF8o4:{\"data-framer-name\":\"Variant 2\",onMouseLeave:onMouseLeave1oloipk}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7Q2hpdm8tNTAw\",\"--framer-font-family\":'\"Chivo\", \"Chivo Placeholder\", sans-serif',\"--framer-font-size\":\"26px\",\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"23.4px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\",\"--framer-text-transform\":\"uppercase\"},children:\"EARN with us\"})}),className:\"framer-4j25d6\",fonts:[\"GF;Chivo-500\"],layoutDependency:layoutDependency,layoutId:\"DGF1qY_sk\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"},variants:{Fbx5gF8o4:{\"--extracted-r6o4lv\":\"var(--token-3b75617d-53d6-40a4-869a-c24562fc81ee, rgb(233, 41, 33))\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({Fbx5gF8o4:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7Q2hpdm8tNTAw\",\"--framer-font-family\":'\"Chivo\", \"Chivo Placeholder\", sans-serif',\"--framer-font-size\":\"26px\",\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"23.4px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-3b75617d-53d6-40a4-869a-c24562fc81ee, rgb(233, 41, 33)))\",\"--framer-text-transform\":\"uppercase\"},children:\"EARN with us\"})})}},baseVariant,gestureVariant)})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-ab8Q0.framer-1ak65ak, .framer-ab8Q0 .framer-1ak65ak { display: block; }\",\".framer-ab8Q0.framer-1bjvbn0 { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 85px; justify-content: center; padding: 15px 30px 15px 30px; position: relative; text-decoration: none; width: 275px; }\",\".framer-ab8Q0 .framer-4j25d6 { -webkit-user-select: none; flex: none; height: auto; pointer-events: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",'.framer-ab8Q0[data-border=\"true\"]::after, .framer-ab8Q0 [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 85\n * @framerIntrinsicWidth 275\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"Fbx5gF8o4\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FrameroRGwwvFxy=withCSS(Component,css,\"framer-ab8Q0\");export default FrameroRGwwvFxy;FrameroRGwwvFxy.displayName=\"Earn With Us Button\";FrameroRGwwvFxy.defaultProps={height:85,width:275};addPropertyControls(FrameroRGwwvFxy,{variant:{options:[\"AteyQ896M\",\"Fbx5gF8o4\"],optionTitles:[\"Variant 1\",\"Variant 2\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FrameroRGwwvFxy,[{explicitInter:true,fonts:[{family:\"Chivo\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/chivo/v21/va9b4kzIxd1KFppkaRKvDRPJVDf_jh_ukmDSFXjQiQ.woff2\",weight:\"500\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FrameroRGwwvFxy\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"Fbx5gF8o4\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"275\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"85\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./oRGwwvFxy.map"],"mappings":"gVAC2e,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,yCAAxmB,IAAkK,IAAkE,IAA4B,CAAgC,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,mBAAmB,CAA8L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAS,EAAO,OAAOC,EAAe,CAAO,EAAwB,CAAC,YAAY,YAAY,YAAY,YAAY,CAAO,GAAU,CAAC,SAAO,KAAG,QAAM,GAAG,MA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