{"version":3,"file":"MDX_EmailCapture.F-SmqtCA.mjs","names":["React.useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/3MJ5wBKQytX7BxioMgdn/xP8R2IGI9UJIVsbXLn6T/MDX_EmailCapture.js"],"sourcesContent":["/*\n * © 2026 MODAX\n * All Rights Reserved.\n * This component is part of the MODAX UI Systems.\n * Unauthorized copying, redistribution, or resale is prohibited.\n */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function MDX_EmailCapture({layout=\"inline\",barPosition=\"bottom\",barBehavior=\"fixed\",glassTint=\"light\",cornerRadius=16,blurStrength=12,transparency=.15,headline=\"Get MODAX updates\",subtext=\"New components, tips, and discounts — straight to your inbox.\",placeholder=\"your@email.com\",buttonText=\"Subscribe →\",enableMinimize=true,minimizedButtonStyle=\"pill\",minimizedButtonText=\"Subscribe\",minimizedIcon=\"email\",minimizedButtonPosition=\"bottom-right\",minimizedButtonBottom=24,minimizedButtonRight=24,minimizedButtonTop=24,minimizedButtonLeft=24,successMessage=\"Thanks for subscribing!\",redirectUrl=\"\",doubleOptIn=false,apiEndpoint=\"https://your-vercel-api.vercel.app/api/subscribe\",showAfterSeconds=5,showOnScrollPercent=50,exitIntent=true,textColor=\"#ffffff\",subtextColor=\"rgba(255,255,255,0.7)\",inputBgColor=\"rgba(255,255,255,0.15)\",inputBorderColor=\"rgba(255,255,255,0.2)\",buttonBgColor=\"#ffffff\",buttonHoverColor=\"#e5e5e5\",buttonTextColor=\"#000000\",onSubscribe}){const[email,setEmail]=React.useState(\"\");const[status,setStatus]=React.useState(\"idle\");const[message,setMessage]=React.useState(\"\");const[isVisible,setIsVisible]=React.useState(layout!==\"popup\"&&layout!==\"bar\");const[isMinimized,setIsMinimized]=React.useState(false);const[hasBeenClosed,setHasBeenClosed]=React.useState(false);const[isMobile,setIsMobile]=React.useState(false);// Detect mobile screen size\nReact.useEffect(()=>{const checkMobile=()=>{setIsMobile(window.innerWidth<768);};checkMobile();window.addEventListener(\"resize\",checkMobile);return()=>window.removeEventListener(\"resize\",checkMobile);},[]);// Detect theme for \"auto\" glass tint\nconst[detectedTint,setDetectedTint]=React.useState(\"light\");React.useEffect(()=>{if(glassTint===\"auto\"){const checkTheme=()=>{const isDark=document.body.classList.contains(\"framer-dark\")||window.matchMedia(\"(prefers-color-scheme: dark)\").matches;setDetectedTint(isDark?\"dark\":\"light\");};checkTheme();const observer=new MutationObserver(checkTheme);observer.observe(document.body,{attributes:true,attributeFilter:[\"class\"]});const mediaQuery=window.matchMedia(\"(prefers-color-scheme: dark)\");mediaQuery.addEventListener(\"change\",checkTheme);return()=>{observer.disconnect();mediaQuery.removeEventListener(\"change\",checkTheme);};}},[glassTint]);const activeTint=glassTint===\"auto\"?detectedTint:glassTint;const getGlassBackground=()=>{if(activeTint===\"dark\"){return`rgba(0, 0, 0, ${transparency})`;}return`rgba(255, 255, 255, ${transparency})`;};const getGlassBorder=()=>{if(activeTint===\"dark\"){return\"1px solid rgba(255, 255, 255, 0.1)\";}return\"1px solid rgba(255, 255, 255, 0.3)\";};// Get icon based on selection\nconst getMinimizedIcon=()=>{switch(minimizedIcon){case\"chat\":return\"💬\";case\"bell\":return\"🔔\";case\"plus\":return\"+\";default:return\"✉️\";}};// Get minimized button position and style\nconst getMinimizedButtonStyle=()=>{const isCircular=minimizedButtonStyle===\"circular\";const basePosition={position:\"fixed\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:isCircular?\"0\":\"8px\",flexDirection:isCircular?\"column\":\"row\",backdropFilter:`blur(${blurStrength}px)`,background:getGlassBackground(),border:getGlassBorder(),color:textColor,cursor:\"pointer\",boxShadow:\"0 4px 12px rgba(0,0,0,0.15)\",transition:\"transform 0.2s, box-shadow 0.2s\",zIndex:9999,fontFamily:\"system-ui, -apple-system, sans-serif\"};const circularStyle={...basePosition,width:\"56px\",height:\"56px\",borderRadius:\"50%\",fontSize:\"12px\",textAlign:\"center\",lineHeight:\"1.2\",padding:\"8px\"};const pillStyle={...basePosition,padding:\"12px 20px\",borderRadius:\"40px\",fontSize:\"14px\",fontWeight:600};const currentStyle=isCircular?circularStyle:pillStyle;switch(minimizedButtonPosition){case\"bottom-left\":return{...currentStyle,bottom:`${minimizedButtonBottom}px`,left:`${minimizedButtonLeft}px`,right:\"auto\",top:\"auto\"};case\"top-right\":return{...currentStyle,top:`${minimizedButtonTop}px`,right:`${minimizedButtonRight}px`,bottom:\"auto\",left:\"auto\"};case\"top-left\":return{...currentStyle,top:`${minimizedButtonTop}px`,left:`${minimizedButtonLeft}px`,bottom:\"auto\",right:\"auto\"};case\"custom\":return{...currentStyle,bottom:minimizedButtonBottom!==24?`${minimizedButtonBottom}px`:\"auto\",right:minimizedButtonRight!==24?`${minimizedButtonRight}px`:\"auto\",top:minimizedButtonTop!==24?`${minimizedButtonTop}px`:\"auto\",left:minimizedButtonLeft!==24?`${minimizedButtonLeft}px`:\"auto\"};default:return{...currentStyle,bottom:`${minimizedButtonBottom}px`,right:`${minimizedButtonRight}px`,top:\"auto\",left:\"auto\"};}};// Auto-show triggers (only for popup and bar)\nReact.useEffect(()=>{if(layout!==\"popup\"&&layout!==\"bar\")return;if(isVisible)return;if(hasBeenClosed&&enableMinimize&&layout===\"popup\")return;let timeout;let scrollHandler;let mouseLeaveHandler;if(showAfterSeconds>0&&!hasBeenClosed){timeout=setTimeout(()=>setIsVisible(true),showAfterSeconds*1e3);}if(showOnScrollPercent>0&&!hasBeenClosed){scrollHandler=()=>{const scrolled=window.scrollY;const total=document.body.scrollHeight-window.innerHeight;const percent=total>0?scrolled/total*100:0;if(percent>=showOnScrollPercent){setIsVisible(true);window.removeEventListener(\"scroll\",scrollHandler);}};window.addEventListener(\"scroll\",scrollHandler);}// Exit intent ONLY for popup layout\nif(exitIntent&&!hasBeenClosed&&layout===\"popup\"){mouseLeaveHandler=e=>{if(e.clientY<=0){setIsVisible(true);document.removeEventListener(\"mouseleave\",mouseLeaveHandler);}};document.addEventListener(\"mouseleave\",mouseLeaveHandler);}return()=>{if(timeout)clearTimeout(timeout);if(scrollHandler)window.removeEventListener(\"scroll\",scrollHandler);if(mouseLeaveHandler)document.removeEventListener(\"mouseleave\",mouseLeaveHandler);};},[layout,showAfterSeconds,showOnScrollPercent,exitIntent,isVisible,hasBeenClosed,enableMinimize]);const handleSubmit=async e=>{e.preventDefault();if(!email||!email.includes(\"@\")||!email.includes(\".\")){setStatus(\"error\");setMessage(\"Please enter a valid email address.\");return;}setStatus(\"loading\");setMessage(\"\");try{const response=await fetch(apiEndpoint,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({email:email.trim().toLowerCase(),doubleOptIn:doubleOptIn,source:\"modax-website\"})});const data=await response.json();if(data.success){setStatus(\"success\");setMessage(data.message||successMessage);setEmail(\"\");if(onSubscribe)onSubscribe(email);if(redirectUrl){setTimeout(()=>{window.location.href=redirectUrl;},1500);}if(layout===\"popup\"){setTimeout(()=>{setIsVisible(false);if(enableMinimize){setIsMinimized(true);setHasBeenClosed(true);}},2e3);}else if(layout===\"bar\"){setTimeout(()=>{setIsVisible(false);},2e3);}}else{setStatus(\"error\");setMessage(data.message||\"Something went wrong. Please try again.\");}}catch(error){console.error(\"Fetch error:\",error);setStatus(\"error\");setMessage(\"Network error. Please check your connection.\");}};const handleClose=()=>{setIsVisible(false);if(layout===\"popup\"&&enableMinimize){setIsMinimized(true);setHasBeenClosed(true);}};const handleOpenMinimized=()=>{setIsMinimized(false);setIsVisible(true);setHasBeenClosed(false);setStatus(\"idle\");setMessage(\"\");};const glassStyle={backdropFilter:`blur(${blurStrength}px)`,background:getGlassBackground(),borderRadius:cornerRadius,border:getGlassBorder(),boxShadow:\"0 8px 32px rgba(0, 0, 0, 0.1)\"};const barGlassStyle={backdropFilter:`blur(${blurStrength}px)`,background:getGlassBackground(),borderTop:barPosition===\"bottom\"?\"none\":getGlassBorder(),borderBottom:barPosition===\"top\"?\"none\":getGlassBorder(),borderLeft:\"none\",borderRight:\"none\",boxShadow:barPosition===\"top\"?\"0 4px 20px rgba(0, 0, 0, 0.1)\":\"0 -4px 20px rgba(0, 0, 0, 0.1)\"};const inlineGlassStyle={background:getGlassBackground(),borderRadius:cornerRadius,border:getGlassBorder()};const getContainerStyles=()=>{const baseStyles={boxSizing:\"border-box\",fontFamily:\"system-ui, -apple-system, sans-serif\"};switch(layout){case\"card\":return{...baseStyles,...glassStyle,padding:\"28px\",maxWidth:\"420px\",width:\"100%\",margin:\"0 auto\"};case\"inline\":return{...baseStyles,...inlineGlassStyle,padding:\"24px\",width:\"100%\"};case\"popup\":if(!isVisible)return{display:\"none\"};return{...baseStyles,...glassStyle,position:\"fixed\",bottom:\"24px\",right:\"24px\",maxWidth:\"380px\",width:\"calc(100% - 48px)\",padding:\"28px\",zIndex:9998,animation:\"slideUp 0.3s ease\"};case\"bar\":if(!isVisible)return{display:\"none\"};const isFixed=barBehavior===\"fixed\";return{...baseStyles,...barGlassStyle,position:isFixed?\"fixed\":\"absolute\",top:barPosition===\"top\"?0:\"auto\",bottom:barPosition===\"bottom\"?0:\"auto\",left:0,right:0,padding:\"16px 24px\",zIndex:isFixed?9999:1,animation:barPosition===\"top\"?\"slideDown 0.3s ease\":\"slideUp 0.3s ease\"};default:return{...baseStyles,...glassStyle,width:\"100%\",padding:\"28px\"};}};const containerStyles=getContainerStyles();// Show minimized button if popup is minimized\nif(layout===\"popup\"&&enableMinimize&&isMinimized&&!isVisible){const buttonStyle=getMinimizedButtonStyle();const isCircular=minimizedButtonStyle===\"circular\";return /*#__PURE__*/_jsxs(\"button\",{onClick:handleOpenMinimized,style:buttonStyle,onMouseEnter:e=>{e.currentTarget.style.transform=\"translateY(-2px)\";e.currentTarget.style.boxShadow=\"0 6px 16px rgba(0,0,0,0.2)\";},onMouseLeave:e=>{e.currentTarget.style.transform=\"translateY(0)\";e.currentTarget.style.boxShadow=\"0 4px 12px rgba(0,0,0,0.15)\";},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:isCircular?\"24px\":\"18px\"},children:getMinimizedIcon()}),!isCircular&&/*#__PURE__*/_jsx(\"span\",{children:minimizedButtonText}),isCircular&&/*#__PURE__*/_jsx(\"span\",{style:{fontSize:\"10px\",marginTop:\"4px\"},children:minimizedButtonText})]});}if((layout===\"popup\"||layout===\"bar\")&&!isVisible){return null;}// For bar and inline layouts on desktop, use two-column grid\nconst isDesktopLayout=(layout===\"inline\"||layout===\"bar\")&&!isMobile;return /*#__PURE__*/_jsxs(\"div\",{style:containerStyles,children:[(layout===\"popup\"||layout===\"bar\")&&/*#__PURE__*/_jsx(\"button\",{onClick:handleClose,style:{position:\"absolute\",top:layout===\"bar\"?\"50%\":\"12px\",right:\"16px\",transform:layout===\"bar\"?\"translateY(-50%)\":\"none\",background:\"rgba(0,0,0,0.1)\",border:\"none\",fontSize:\"18px\",cursor:\"pointer\",color:activeTint===\"dark\"?\"rgba(255,255,255,0.7)\":\"rgba(0,0,0,0.7)\",padding:\"4px 8px\",lineHeight:1,borderRadius:\"8px\",transition:\"background 0.2s\",zIndex:10},onMouseEnter:e=>{e.currentTarget.style.background=\"rgba(0,0,0,0.2)\";},onMouseLeave:e=>{e.currentTarget.style.background=\"rgba(0,0,0,0.1)\";},\"aria-label\":\"Close\",children:\"\\xd7\"}),isDesktopLayout?// Desktop inline/bar: Two-column layout\n/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:\"32px\",flexWrap:\"wrap\",paddingRight:layout===\"bar\"?\"40px\":\"0\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{flex:1,minWidth:\"200px\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{color:textColor},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:\"0 0 4px 0\",fontSize:layout===\"bar\"?\"16px\":\"20px\",fontWeight:600},children:headline}),subtext&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"0\",fontSize:layout===\"bar\"?\"12px\":\"14px\",color:subtextColor,lineHeight:1.4},children:subtext})]})}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,minWidth:\"300px\"},children:[/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,style:{display:\"flex\",gap:\"12px\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"email\",value:email,onChange:e=>setEmail(e.target.value),placeholder:placeholder,disabled:status===\"loading\"||status===\"success\",style:{flex:1,padding:layout===\"bar\"?\"10px 16px\":\"14px 18px\",borderRadius:cornerRadius,border:`1px solid ${inputBorderColor}`,backgroundColor:inputBgColor,color:textColor,fontSize:layout===\"bar\"?\"13px\":\"14px\",outline:\"none\",transition:\"all 0.2s\",boxSizing:\"border-box\"},onFocus:e=>{e.currentTarget.style.borderColor=\"rgba(255,255,255,0.5)\";e.currentTarget.style.backgroundColor=\"rgba(255,255,255,0.25)\";},onBlur:e=>{e.currentTarget.style.borderColor=inputBorderColor;e.currentTarget.style.backgroundColor=inputBgColor;}}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:status===\"loading\"||status===\"success\",style:{padding:layout===\"bar\"?\"10px 20px\":\"14px 24px\",borderRadius:cornerRadius,backgroundColor:buttonBgColor,color:buttonTextColor,border:\"none\",fontSize:layout===\"bar\"?\"13px\":\"14px\",fontWeight:600,cursor:status===\"loading\"||status===\"success\"?\"default\":\"pointer\",transition:\"all 0.2s\",whiteSpace:\"nowrap\",flexShrink:0},onMouseEnter:e=>{if(status!==\"loading\"&&status!==\"success\"){e.currentTarget.style.backgroundColor=buttonHoverColor;e.currentTarget.style.transform=\"translateY(-1px)\";}},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=buttonBgColor;e.currentTarget.style.transform=\"translateY(0)\";},children:status===\"loading\"?\"Subscribing...\":status===\"success\"?\"✓ Subscribed!\":buttonText})]}),message&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"8px 0 0 0\",fontSize:\"11px\",color:status===\"error\"?\"#ff6b6b\":\"#51cf66\"},children:message})]})]}):(layout===\"inline\"||layout===\"bar\")&&isMobile?// Mobile inline/bar: Stacked layout\n/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{color:textColor,textAlign:\"center\",paddingRight:layout===\"bar\"?\"30px\":\"0\"},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:\"0 0 8px 0\",fontSize:\"18px\",fontWeight:600},children:headline}),subtext&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"0 0 16px 0\",fontSize:\"13px\",color:subtextColor,lineHeight:1.4},children:subtext})]}),/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,style:{display:\"flex\",flexDirection:\"column\",gap:\"10px\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"email\",value:email,onChange:e=>setEmail(e.target.value),placeholder:placeholder,disabled:status===\"loading\"||status===\"success\",style:{padding:\"12px 16px\",borderRadius:cornerRadius,border:`1px solid ${inputBorderColor}`,backgroundColor:inputBgColor,color:textColor,fontSize:\"14px\",outline:\"none\",transition:\"all 0.2s\",boxSizing:\"border-box\"},onFocus:e=>{e.currentTarget.style.borderColor=\"rgba(255,255,255,0.5)\";e.currentTarget.style.backgroundColor=\"rgba(255,255,255,0.25)\";},onBlur:e=>{e.currentTarget.style.borderColor=inputBorderColor;e.currentTarget.style.backgroundColor=inputBgColor;}}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:status===\"loading\"||status===\"success\",style:{padding:\"12px 20px\",borderRadius:cornerRadius,backgroundColor:buttonBgColor,color:buttonTextColor,border:\"none\",fontSize:\"14px\",fontWeight:600,cursor:status===\"loading\"||status===\"success\"?\"default\":\"pointer\",transition:\"all 0.2s\"},onMouseEnter:e=>{if(status!==\"loading\"&&status!==\"success\"){e.currentTarget.style.backgroundColor=buttonHoverColor;}},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=buttonBgColor;},children:status===\"loading\"?\"Subscribing...\":status===\"success\"?\"✓ Subscribed!\":buttonText})]}),message&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"12px 0 0 0\",fontSize:\"11px\",color:status===\"error\"?\"#ff6b6b\":\"#51cf66\",textAlign:\"center\"},children:message})]}):layout===\"card\"?// Card layout (vertical, centered)\n/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{color:textColor,textAlign:\"center\"},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:\"0 0 8px 0\",fontSize:\"20px\",fontWeight:600},children:headline}),subtext&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"0 0 20px 0\",fontSize:\"14px\",color:subtextColor,lineHeight:1.5},children:subtext})]}),/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,style:{display:\"flex\",flexDirection:\"column\",gap:\"12px\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"email\",value:email,onChange:e=>setEmail(e.target.value),placeholder:placeholder,disabled:status===\"loading\"||status===\"success\",style:{padding:\"14px 18px\",borderRadius:cornerRadius,border:`1px solid ${inputBorderColor}`,backgroundColor:inputBgColor,color:textColor,fontSize:\"14px\",outline:\"none\",transition:\"all 0.2s\",boxSizing:\"border-box\"},onFocus:e=>{e.currentTarget.style.borderColor=\"rgba(255,255,255,0.5)\";e.currentTarget.style.backgroundColor=\"rgba(255,255,255,0.25)\";},onBlur:e=>{e.currentTarget.style.borderColor=inputBorderColor;e.currentTarget.style.backgroundColor=inputBgColor;}}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:status===\"loading\"||status===\"success\",style:{padding:\"14px 24px\",borderRadius:cornerRadius,backgroundColor:buttonBgColor,color:buttonTextColor,border:\"none\",fontSize:\"14px\",fontWeight:600,cursor:status===\"loading\"||status===\"success\"?\"default\":\"pointer\",transition:\"all 0.2s\"},onMouseEnter:e=>{if(status!==\"loading\"&&status!==\"success\"){e.currentTarget.style.backgroundColor=buttonHoverColor;}},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=buttonBgColor;},children:status===\"loading\"?\"Subscribing...\":status===\"success\"?\"✓ Subscribed!\":buttonText})]}),message&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"16px 0 0 0\",fontSize:\"12px\",color:status===\"error\"?\"#ff6b6b\":\"#51cf66\",textAlign:\"center\"},children:message})]}):// Popup layout (original vertical)\n/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{color:textColor},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:\"0 0 8px 0\",fontSize:\"20px\",fontWeight:600},children:headline}),subtext&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"0 0 20px 0\",fontSize:\"14px\",color:subtextColor,lineHeight:1.5},children:subtext})]}),/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,style:{display:\"flex\",flexDirection:\"column\",gap:\"12px\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"email\",value:email,onChange:e=>setEmail(e.target.value),placeholder:placeholder,disabled:status===\"loading\"||status===\"success\",style:{padding:\"14px 18px\",borderRadius:cornerRadius,border:`1px solid ${inputBorderColor}`,backgroundColor:inputBgColor,color:textColor,fontSize:\"14px\",outline:\"none\",transition:\"all 0.2s\",boxSizing:\"border-box\"},onFocus:e=>{e.currentTarget.style.borderColor=\"rgba(255,255,255,0.5)\";e.currentTarget.style.backgroundColor=\"rgba(255,255,255,0.25)\";},onBlur:e=>{e.currentTarget.style.borderColor=inputBorderColor;e.currentTarget.style.backgroundColor=inputBgColor;}}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:status===\"loading\"||status===\"success\",style:{padding:\"14px 24px\",borderRadius:cornerRadius,backgroundColor:buttonBgColor,color:buttonTextColor,border:\"none\",fontSize:\"14px\",fontWeight:600,cursor:status===\"loading\"||status===\"success\"?\"default\":\"pointer\",transition:\"all 0.2s\"},onMouseEnter:e=>{if(status!==\"loading\"&&status!==\"success\"){e.currentTarget.style.backgroundColor=buttonHoverColor;e.currentTarget.style.transform=\"translateY(-1px)\";}},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=buttonBgColor;e.currentTarget.style.transform=\"translateY(0)\";},children:status===\"loading\"?\"Subscribing...\":status===\"success\"?\"✓ Subscribed!\":buttonText})]}),message&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"16px 0 0 0\",fontSize:\"12px\",color:status===\"error\"?\"#ff6b6b\":\"#51cf66\",textAlign:\"center\"},children:message})]}),/*#__PURE__*/_jsx(\"style\",{children:`\n        @keyframes slideUp {\n          from {\n            opacity: 0;\n            transform: translateY(20px);\n          }\n          to {\n            opacity: 1;\n            transform: translateY(0);\n          }\n        }\n        @keyframes slideDown {\n          from {\n            opacity: 0;\n            transform: translateY(-20px);\n          }\n          to {\n            opacity: 1;\n            transform: translateY(0);\n          }\n        }\n      `})]});}addPropertyControls(MDX_EmailCapture,{layout:{type:ControlType.Enum,title:\"Layout\",options:[\"inline\",\"card\",\"popup\",\"bar\"],optionTitles:[\"Inline (2-column on desktop)\",\"Card (centered, vertical)\",\"Popup (floating)\",\"Bar (sticky top/bottom)\"],defaultValue:\"inline\"},barPosition:{type:ControlType.Enum,title:\"Bar Position\",options:[\"top\",\"bottom\"],optionTitles:[\"Top\",\"Bottom\"],defaultValue:\"bottom\",hidden:props=>props.layout!==\"bar\"},barBehavior:{type:ControlType.Enum,title:\"Bar Behavior\",options:[\"fixed\",\"absolute\"],optionTitles:[\"Fixed to viewport\",\"Stays in container\"],defaultValue:\"fixed\",hidden:props=>props.layout!==\"bar\"},glassTint:{type:ControlType.Enum,title:\"Glass Tint\",options:[\"light\",\"dark\",\"auto\"],optionTitles:[\"Light\",\"Dark\",\"Auto\"],defaultValue:\"light\"},cornerRadius:{type:ControlType.Number,title:\"Corner Radius\",defaultValue:16,min:0,max:32,step:1},blurStrength:{type:ControlType.Number,title:\"Blur Strength\",defaultValue:12,min:0,max:24,step:1},transparency:{type:ControlType.Number,title:\"Glass Opacity\",defaultValue:.15,min:0,max:.5,step:.01},headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"Get MODAX updates\"},subtext:{type:ControlType.String,title:\"Subtext\",defaultValue:\"New components, tips, and discounts — straight to your inbox.\"},placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"your@email.com\"},buttonText:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Subscribe →\"},// Popup minimize settings\nenableMinimize:{type:ControlType.Boolean,title:\"Enable Minimize\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",hidden:props=>props.layout!==\"popup\"},minimizedButtonStyle:{type:ControlType.Enum,title:\"Button Style\",options:[\"pill\",\"circular\"],optionTitles:[\"Pill (with text)\",\"Circular (icon + wrap text)\"],defaultValue:\"pill\",hidden:props=>props.layout!==\"popup\"||!props.enableMinimize},minimizedButtonText:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Subscribe\",hidden:props=>props.layout!==\"popup\"||!props.enableMinimize},minimizedIcon:{type:ControlType.Enum,title:\"Icon\",options:[\"email\",\"chat\",\"bell\",\"plus\"],optionTitles:[\"✉️ Email\",\"💬 Chat\",\"🔔 Bell\",\"➕ Plus\"],defaultValue:\"email\",hidden:props=>props.layout!==\"popup\"||!props.enableMinimize},minimizedButtonPosition:{type:ControlType.Enum,title:\"Button Position\",options:[\"bottom-right\",\"bottom-left\",\"top-right\",\"top-left\",\"custom\"],optionTitles:[\"Bottom Right\",\"Bottom Left\",\"Top Right\",\"Top Left\",\"Custom\"],defaultValue:\"bottom-right\",hidden:props=>props.layout!==\"popup\"||!props.enableMinimize},minimizedButtonBottom:{type:ControlType.Number,title:\"Bottom Offset (px)\",defaultValue:24,min:0,max:200,step:4,hidden:props=>props.layout!==\"popup\"||!props.enableMinimize||props.minimizedButtonPosition!==\"bottom-right\"&&props.minimizedButtonPosition!==\"bottom-left\"&&props.minimizedButtonPosition!==\"custom\"},minimizedButtonRight:{type:ControlType.Number,title:\"Right Offset (px)\",defaultValue:24,min:0,max:200,step:4,hidden:props=>props.layout!==\"popup\"||!props.enableMinimize||props.minimizedButtonPosition!==\"bottom-right\"&&props.minimizedButtonPosition!==\"top-right\"&&props.minimizedButtonPosition!==\"custom\"},minimizedButtonTop:{type:ControlType.Number,title:\"Top Offset (px)\",defaultValue:24,min:0,max:200,step:4,hidden:props=>props.layout!==\"popup\"||!props.enableMinimize||props.minimizedButtonPosition!==\"top-right\"&&props.minimizedButtonPosition!==\"top-left\"&&props.minimizedButtonPosition!==\"custom\"},minimizedButtonLeft:{type:ControlType.Number,title:\"Left Offset (px)\",defaultValue:24,min:0,max:200,step:4,hidden:props=>props.layout!==\"popup\"||!props.enableMinimize||props.minimizedButtonPosition!==\"bottom-left\"&&props.minimizedButtonPosition!==\"top-left\"&&props.minimizedButtonPosition!==\"custom\"},successMessage:{type:ControlType.String,title:\"Success Message\",defaultValue:\"Thanks for subscribing!\"},redirectUrl:{type:ControlType.String,title:\"Redirect URL\",defaultValue:\"\"},doubleOptIn:{type:ControlType.Boolean,title:\"Double Opt-in\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},apiEndpoint:{type:ControlType.String,title:\"API Endpoint\",defaultValue:\"https://your-vercel-api.vercel.app/api/subscribe\"},showAfterSeconds:{type:ControlType.Number,title:\"Show After (seconds)\",defaultValue:5,min:0,max:30,step:1,hidden:props=>props.layout!==\"popup\"&&props.layout!==\"bar\"},showOnScrollPercent:{type:ControlType.Number,title:\"Show at Scroll %\",defaultValue:50,min:0,max:100,step:5,hidden:props=>props.layout!==\"popup\"&&props.layout!==\"bar\"},exitIntent:{type:ControlType.Boolean,title:\"Exit Intent\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",hidden:props=>props.layout!==\"popup\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#ffffff\"},subtextColor:{type:ControlType.Color,title:\"Subtext Color\",defaultValue:\"rgba(255,255,255,0.7)\"},inputBgColor:{type:ControlType.Color,title:\"Input Background\",defaultValue:\"rgba(255,255,255,0.15)\"},inputBorderColor:{type:ControlType.Color,title:\"Input Border\",defaultValue:\"rgba(255,255,255,0.2)\"},buttonBgColor:{type:ControlType.Color,title:\"Button Background\",defaultValue:\"#ffffff\"},buttonHoverColor:{type:ControlType.Color,title:\"Button Hover\",defaultValue:\"#e5e5e5\"},buttonTextColor:{type:ControlType.Color,title:\"Button Text\",defaultValue:\"#000000\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MDX_EmailCapture\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MDX_EmailCapture.map"],"mappings":"wMAKkK,SAAwB,EAAiB,CAAC,SAAO,SAAS,cAAY,SAAS,cAAY,QAAQ,YAAU,QAAQ,eAAa,GAAG,eAAa,GAAG,eAAa,IAAI,WAAS,oBAAoB,UAAQ,gEAAgE,cAAY,iBAAiB,aAAW,cAAc,iBAAe,GAAK,uBAAqB,OAAO,sBAAoB,YAAY,iBAAc,QAAQ,2BAAwB,eAAe,wBAAsB,GAAG,uBAAqB,GAAG,qBAAmB,GAAG,sBAAoB,GAAG,kBAAe,0BAA0B,cAAY,GAAG,eAAY,GAAM,eAAY,mDAAmD,mBAAiB,EAAE,sBAAoB,GAAG,aAAW,GAAK,YAAU,UAAU,eAAa,wBAAwB,eAAa,yBAAyB,mBAAiB,wBAAwB,gBAAc,UAAU,mBAAiB,UAAU,kBAAgB,UAAU,eAAa,CAAC,GAAK,CAAC,EAAM,GAAUA,EAAe,GAAG,CAAM,CAAC,EAAO,GAAWA,EAAe,OAAO,CAAM,CAAC,EAAQ,GAAYA,EAAe,GAAG,CAAM,CAAC,EAAU,GAAcA,EAAe,IAAS,SAAS,IAAS,MAAM,CAAM,CAAC,GAAY,GAAgBA,EAAe,GAAM,CAAM,CAAC,EAAc,GAAkBA,EAAe,GAAM,CAAM,CAAC,EAAS,IAAaA,EAAe,GAAM,CAC7+C,MAAoB,CAAC,IAAM,MAAgB,CAA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