{"version":3,"file":"CTA_Tracking.eWynHj5G.mjs","names":["React.Fragment","useRef","React.useId","React.useState","useBottomSheetStore","Button"],"sources":["https:/framer.com/m/Button-MhuB.js@A9u0bXlrto79wIgTscCf","https:/framerusercontent.com/modules/dKSVo6QUrRCx3CPsIUpA/4mBk6FxGpAPGJUGvBwzV/CTA_Tracking.js"],"sourcesContent":["// Generated by Framer (64bdc4e)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX,withOptimizedAppearEffect}from\"framer\";import{LayoutGroup,motion}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionAWithFXWithOptimizedAppearEffect=withOptimizedAppearEffect(withFX(motion.a));const enabledGestures={H1kRMNWt0:{hover:true},lsvxLwntr:{hover:true},yt_sCMV7F:{hover:true}};const cycleOrder=[\"H1kRMNWt0\",\"lsvxLwntr\",\"yt_sCMV7F\",\"kHhgEtrI_\",\"AmHq4OLDU\",\"b1tOn5lNN\"];const serializationHash=\"framer-cD0om\";const variantClassNames={AmHq4OLDU:\"framer-v-4owogq\",b1tOn5lNN:\"framer-v-1v3fc1y\",H1kRMNWt0:\"framer-v-1whdf4a\",kHhgEtrI_:\"framer-v-1y0mjjd\",lsvxLwntr:\"framer-v-1iotks1\",yt_sCMV7F:\"framer-v-1o1sioy\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:0,delay:0,duration:.2,type:\"spring\"};const animation={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,transition:transition1,x:0,y:0};const animation1={opacity:.001,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={\"Small/Primary\":\"lsvxLwntr\",\"Small/Secondary\":\"kHhgEtrI_\",\"Small/Tertiary\":\"b1tOn5lNN\",Primary:\"H1kRMNWt0\",Secondary:\"yt_sCMV7F\",Tertiary:\"AmHq4OLDU\"};const getProps=({click,height,id,label,link,width,...props})=>{return{...props,AdM85_T5v:click??props.AdM85_T5v,fpkekKHGC:link??props.fpkekKHGC,PsR8fazFW:label??props.PsR8fazFW??\"Get early access\",variant:humanReadableVariantMap[props.variant]??props.variant??\"H1kRMNWt0\"};};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,fpkekKHGC,PsR8fazFW,AdM85_T5v,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"H1kRMNWt0\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap18s85q5=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(AdM85_T5v){const res=await AdM85_T5v(...args);if(res===false)return false;}});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(Link,{href:fpkekKHGC,motionChild:true,nodeId:\"H1kRMNWt0\",openInNewTab:false,scopeId:\"vxNaGuUug\",smoothScroll:true,children:/*#__PURE__*/_jsx(MotionAWithFXWithOptimizedAppearEffect,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1whdf4a\",className,classNames)} framer-16rghgb`,\"data-framer-appear-id\":\"1whdf4a\",\"data-framer-name\":\"Primary\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"H1kRMNWt0\",onTap:onTap18s85q5,ref:refBinding,style:{\"--border-bottom-width\":\"0px\",\"--border-color\":\"rgba(0, 0, 0, 0)\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0px\",backdropFilter:\"none\",background:\"radial-gradient(228.57142206897865% 228.5714220689786% at 49.99998977882743% -9.329951478065368e-7%, rgb(229, 113, 0) 0%, rgb(173, 29, 1) 100%)\",backgroundColor:\"rgba(0, 0, 0, 0)\",borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8,boxShadow:\"inset 0px 1px 0px 0px rgba(255, 255, 255, 0.2), 0px 1.25px 2.5px 0px rgba(0, 0, 0, 0.4), 0px 0px 0px 1.25px rgb(191, 99, 35)\",WebkitBackdropFilter:\"none\",...style},tabIndex:0,variants:{\"H1kRMNWt0-hover\":{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\",backdropFilter:\"none\",background:\"radial-gradient(79% 135% at 49.99998977882743% -9.329951478065368e-7%, rgb(229, 113, 0) 0%, rgb(173, 29, 1) 100%)\",backgroundColor:\"rgba(0, 0, 0, 0)\",WebkitBackdropFilter:\"none\"},\"lsvxLwntr-hover\":{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\",backdropFilter:\"none\",background:\"radial-gradient(79% 135% at 49.99998977882743% -9.329951478065368e-7%, rgb(229, 113, 0) 0%, rgb(173, 29, 1) 100%)\",backgroundColor:\"rgba(0, 0, 0, 0)\",WebkitBackdropFilter:\"none\"},\"yt_sCMV7F-hover\":{backdropFilter:\"none\",background:\"linear-gradient(180deg, rgb(230, 230, 230) 0%, rgb(255, 255, 255) 100%)\",backgroundColor:\"rgba(0, 0, 0, 0)\",WebkitBackdropFilter:\"none\"},AmHq4OLDU:{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\",backdropFilter:\"blur(9px)\",background:\"radial-gradient(50% 50% at 50% 50%, rgb(245, 245, 245) 0%, rgb(245, 245, 245) 100%)\",backgroundColor:\"rgb(245, 245, 245)\",boxShadow:\"none\",WebkitBackdropFilter:\"blur(9px)\"},b1tOn5lNN:{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\",backdropFilter:\"blur(9px)\",background:\"radial-gradient(50% 50% at 50% 50%, rgb(242, 242, 242) 0%, rgb(242, 242, 242) 100%)\",backgroundColor:\"rgb(242, 242, 242)\",boxShadow:\"none\",WebkitBackdropFilter:\"blur(9px)\"},kHhgEtrI_:{\"--border-bottom-width\":\"1.2941175699234009px\",\"--border-color\":\"rgb(255, 255, 255)\",\"--border-left-width\":\"1.2941175699234009px\",\"--border-right-width\":\"1.2941175699234009px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1.2941175699234009px\",background:\"linear-gradient(180deg, rgb(255, 255, 255) 0%, rgb(239, 239, 239) 100%)\",boxShadow:\"0px 0px 0px 2px rgba(254, 254, 254, 0.32), inset 0px 1.256055235862732px 0px 0px rgb(255, 255, 255), 0px 1px 3.3494806px 0px rgba(0, 0, 0, 0.16)\"},lsvxLwntr:{borderBottomLeftRadius:6,borderBottomRightRadius:6,borderTopLeftRadius:6,borderTopRightRadius:6},yt_sCMV7F:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"rgb(227, 227, 227)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",background:\"linear-gradient(180deg, rgb(242, 242, 242) 0%, rgb(255, 255, 255) 100%)\",boxShadow:\"0px 1px 2.5px 0px rgba(0, 0, 0, 0.12), 0px 0px 0px 2px rgba(254, 254, 254, 0.32), inset 0px 1.3px 0px 0px rgb(255, 255, 255)\"}},...addPropertyOverrides({\"H1kRMNWt0-hover\":{__framer__presenceAnimate:animation,__framer__presenceInitial:animation1,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,\"data-framer-name\":undefined,optimized:true},\"lsvxLwntr-hover\":{\"data-framer-name\":undefined},\"yt_sCMV7F-hover\":{\"data-framer-name\":undefined},AmHq4OLDU:{\"data-framer-name\":\"Tertiary\"},b1tOn5lNN:{\"data-framer-name\":\"Small/Tertiary\"},kHhgEtrI_:{\"data-border\":true,\"data-framer-name\":\"Small/Secondary\"},lsvxLwntr:{\"data-framer-name\":\"Small/Primary\"},yt_sCMV7F:{\"data-border\":true,\"data-framer-name\":\"Secondary\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItTWVkaXVt\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"15px\",\"--framer-font-weight\":\"500\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"20px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Get early access\"})}),className:\"framer-wkc9lj\",\"data-framer-name\":\"Get early access\",fonts:[\"Inter-Medium\"],layoutDependency:layoutDependency,layoutId:\"cVScx9CC4\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-paragraph-spacing\":\"0px\"},text:PsR8fazFW,variants:{kHhgEtrI_:{\"--extracted-r6o4lv\":\"var(--token-6e83f04f-ae68-498b-9618-b81bf1d08615, rgb(71, 71, 71))\"},yt_sCMV7F:{\"--extracted-r6o4lv\":\"var(--token-6e83f04f-ae68-498b-9618-b81bf1d08615, rgb(71, 71, 71))\"}},verticalAlignment:\"center\",withExternalLayout:true,...addPropertyOverrides({AmHq4OLDU:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItTWVkaXVt\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"15px\",\"--framer-font-weight\":\"500\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"20px\",\"--framer-text-alignment\":\"center\"},children:\"Get early access\"})})},b1tOn5lNN:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItTWVkaXVt\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"13px\",\"--framer-font-weight\":\"500\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"20px\",\"--framer-text-alignment\":\"center\"},children:\"Get early access\"})})},kHhgEtrI_:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItTWVkaXVt\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"500\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"20px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-6e83f04f-ae68-498b-9618-b81bf1d08615, rgb(71, 71, 71)))\"},children:\"Get early access\"})})},lsvxLwntr:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItTWVkaXVt\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"500\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"20px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Get early access\"})})},yt_sCMV7F:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItTWVkaXVt\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"15px\",\"--framer-font-weight\":\"500\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"20px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-6e83f04f-ae68-498b-9618-b81bf1d08615, rgb(71, 71, 71)))\"},children:\"Get early access\"})})}},baseVariant,gestureVariant)})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-cD0om.framer-16rghgb, .framer-cD0om .framer-16rghgb { display: block; }\",\".framer-cD0om.framer-1whdf4a { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 12.94117546081543px; height: 36px; justify-content: center; overflow: hidden; padding: 10px; position: relative; text-decoration: none; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-cD0om .framer-wkc9lj { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-cD0om.framer-v-1iotks1.framer-1whdf4a { height: 32px; }\",\".framer-cD0om.framer-v-1o1sioy.framer-1whdf4a, .framer-cD0om.framer-v-1y0mjjd.framer-1whdf4a { gap: 10.352940559387207px; }\",\".framer-cD0om.framer-v-4owogq.framer-1whdf4a { gap: 124117546081543px; height: 42px; padding: 15px; }\",\".framer-cD0om.framer-v-1v3fc1y.framer-1whdf4a { height: min-content; }\",\".framer-cD0om.framer-v-1whdf4a.hover.framer-1whdf4a { overflow: unset; will-change: unset; }\",'.framer-cD0om[data-border=\"true\"]::after, .framer-cD0om [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 36\n * @framerIntrinsicWidth 135\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"lsvxLwntr\":{\"layout\":[\"auto\",\"fixed\"]},\"yt_sCMV7F\":{\"layout\":[\"auto\",\"fixed\"]},\"kHhgEtrI_\":{\"layout\":[\"auto\",\"fixed\"]},\"AmHq4OLDU\":{\"layout\":[\"auto\",\"fixed\"]},\"b1tOn5lNN\":{\"layout\":[\"auto\",\"auto\"]},\"fu_DQAOo7\":{\"layout\":[\"auto\",\"fixed\"]},\"MUWs6Byjw\":{\"layout\":[\"auto\",\"fixed\"]},\"NM55207QY\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"fpkekKHGC\":\"link\",\"PsR8fazFW\":\"label\",\"AdM85_T5v\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramervxNaGuUug=withCSS(Component,css,\"framer-cD0om\");export default FramervxNaGuUug;FramervxNaGuUug.displayName=\"Button\";FramervxNaGuUug.defaultProps={height:36,width:135};addPropertyControls(FramervxNaGuUug,{variant:{options:[\"H1kRMNWt0\",\"lsvxLwntr\",\"yt_sCMV7F\",\"kHhgEtrI_\",\"AmHq4OLDU\",\"b1tOn5lNN\"],optionTitles:[\"Primary\",\"Small/Primary\",\"Secondary\",\"Small/Secondary\",\"Tertiary\",\"Small/Tertiary\"],title:\"Variant\",type:ControlType.Enum},fpkekKHGC:{title:\"Link\",type:ControlType.Link},PsR8fazFW:{defaultValue:\"Get early access\",displayTextArea:false,title:\"Label\",type:ControlType.String},AdM85_T5v:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramervxNaGuUug,[{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/5A3Ce6C9YYmCjpQx9M4inSaKU.woff2\",weight:\"500\"},{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/Qx95Xyt0Ka3SGhinnbXIGpEIyP4.woff2\",weight:\"500\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/6mJuEAguuIuMog10gGvH5d3cl8.woff2\",weight:\"500\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/xYYWaj7wCU5zSQH0eXvSaS19wo.woff2\",weight:\"500\"},{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/otTaNuNpVK4RbdlT7zDDdKvQBA.woff2\",weight:\"500\"},{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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/d3tHnaQIAeqiE5hGcRw4mmgWYU.woff2\",weight:\"500\"},{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/DolVirEGb34pEXEp8t8FQBSK4.woff2\",weight:\"500\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramervxNaGuUug\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"lsvxLwntr\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"yt_sCMV7F\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"kHhgEtrI_\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"AmHq4OLDU\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"b1tOn5lNN\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"fu_DQAOo7\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"MUWs6Byjw\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"NM55207QY\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"fpkekKHGC\\\":\\\"link\\\",\\\"PsR8fazFW\\\":\\\"label\\\",\\\"AdM85_T5v\\\":\\\"click\\\"}\",\"framerIntrinsicHeight\":\"36\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"135\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./vxNaGuUug.map","import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import Button from\"https://framer.com/m/Button-MhuB.js@A9u0bXlrto79wIgTscCf\";import{useStore as useBottomSheetStore}from\"https://framerusercontent.com/modules/DuDRcQGmFcGfO9W3vzz0/h6viMYMfZdILtnMjOBHN/Bottom_Sheet_Overlay.js\";export function CaptureButton(props){const{eventName,propertyKey,propertyValue,label,link}=props;const[isMobile,setIsMobile]=React.useState(false);React.useEffect(()=>{const onResize=()=>setIsMobile(window.innerWidth<768);onResize();window.addEventListener(\"resize\",onResize);return()=>window.removeEventListener(\"resize\",onResize);},[]);const[,setBottomSheetStore]=useBottomSheetStore();const handleClick=e=>{if(isMobile){// e?.preventDefault()\n// e?.stopPropagation()\nif(typeof window!==\"undefined\"&&window.posthog){window.posthog.capture(eventName,{[propertyKey]:propertyValue,platform:\"mobile\"});console.log(\"run tracking\");}// setBottomSheetStore({ open: true })\nreturn;}if(typeof window!==\"undefined\"&&window.posthog){window.posthog.capture(eventName,{[propertyKey]:propertyValue});}// ✅ Push into dataLayer for GTM\nif(typeof window!==\"undefined\"){window.dataLayer=window.dataLayer||[];window.dataLayer.push({event:eventName,[propertyKey]:propertyValue});}// desktop: allow navigation via link prop (no need to push manually)\n};// Don’t hand a link to Button on mobile so it can’t navigate\n// const safeLink = isMobile ? undefined : link\nreturn /*#__PURE__*/_jsx(Button,{onClick:handleClick,link:link,label:label});}addPropertyControls(CaptureButton,{eventName:{type:ControlType.String,title:\"Event Name\",defaultValue:\"clicked_button\"},propertyKey:{type:ControlType.String,title:\"Property Key\",defaultValue:\"clicked_homepage_button\"},propertyValue:{type:ControlType.String,title:\"Property Value\",defaultValue:\"true\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Click me\"},link:{type:ControlType.Link,title:\"Button Link\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"CaptureButton\":{\"type\":\"reactComponent\",\"name\":\"CaptureButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetad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