{"version":3,"file":"MailchimpWrapper.DFf3mD4T.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText","e","useRef","useState","React"],"sources":["https:/framerusercontent.com/modules/hHzh8kbmvcse2y6FxDsT/6zTPzaRo0ceqb5rrAe4g/Ui2iRMJ93.js","https:/framerusercontent.com/modules/XfxLJU9Y8LypYZ03rTEd/txr8jioVWGVjMqRwwJIc/MailchimpWrapper.js"],"sourcesContent":["// Generated by Framer (2db7bbf)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionDivWithFX=withFX(motion.div);const enabledGestures={ysJrloaUr:{hover:true,pressed:true}};const cycleOrder=[\"ysJrloaUr\",\"DrCl5wJEY\",\"aJc3RJyz9\",\"huFPDY9WP\",\"BAhxMDJQy\"];const serializationHash=\"framer-pKmIh\";const variantClassNames={aJc3RJyz9:\"framer-v-1ovrd5g\",BAhxMDJQy:\"framer-v-1owhdec\",DrCl5wJEY:\"framer-v-12kl4zn\",huFPDY9WP:\"framer-v-tyvqf9\",ysJrloaUr:\"framer-v-udv9sb\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={delay:0,duration:.2,ease:[.44,0,.56,1],type:\"tween\"};const transition2={delay:0,duration:1,ease:[0,0,1,1],type:\"tween\"};const animation={opacity:1,rotate:360,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const transformTemplate1=(_,t)=>`translateX(-50%) ${t}`;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={Default:\"ysJrloaUr\",Disabled:\"aJc3RJyz9\",Error:\"BAhxMDJQy\",Loading:\"DrCl5wJEY\",Success:\"huFPDY9WP\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"ysJrloaUr\"};};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:\"ysJrloaUr\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"DrCl5wJEY\")return false;return true;};const isDisplayed1=()=>{if(baseVariant===\"DrCl5wJEY\")return true;return false;};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.button,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-udv9sb\",className,classNames),\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"ysJrloaUr\",ref:refBinding,style:{backgroundColor:\"var(--token-4224cf6a-1141-461e-8ef9-7e6db936b9ab, rgb(249, 212, 65))\",borderBottomLeftRadius:3,borderBottomRightRadius:3,borderTopLeftRadius:3,borderTopRightRadius:3,opacity:1,...style},variants:{\"ysJrloaUr-hover\":{opacity:1},\"ysJrloaUr-pressed\":{backgroundColor:\"rgb(16, 227, 51)\",opacity:1},aJc3RJyz9:{opacity:.5},BAhxMDJQy:{backgroundColor:\"rgba(255, 34, 68, 0.15)\",opacity:1},huFPDY9WP:{opacity:1}},...addPropertyOverrides({\"ysJrloaUr-hover\":{\"data-framer-name\":undefined},\"ysJrloaUr-pressed\":{\"data-framer-name\":undefined},aJc3RJyz9:{\"data-framer-name\":\"Disabled\"},BAhxMDJQy:{\"data-framer-name\":\"Error\"},DrCl5wJEY:{\"data-framer-name\":\"Loading\"},huFPDY9WP:{\"data-framer-name\":\"Success\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7U0NIQUJPIENvbmRlbnNlZA==\",\"--framer-font-family\":'\"SCHABO Condensed\", \"SCHABO Condensed Placeholder\", sans-serif',\"--framer-font-size\":\"28px\",\"--framer-line-height\":\"30px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-876164a4-f762-40cf-9e04-0e13307c3394, rgb(15, 15, 15)))\"},children:\"CONTACTEER ONS\"})}),className:\"framer-z631c6\",fonts:[\"CUSTOMV2;SCHABO Condensed\"],layoutDependency:layoutDependency,layoutId:\"OMgRRRnt6\",style:{\"--extracted-r6o4lv\":\"var(--token-876164a4-f762-40cf-9e04-0e13307c3394, rgb(15, 15, 15))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},variants:{\"ysJrloaUr-hover\":{\"--extracted-r6o4lv\":\"var(--token-7f9a09c7-ee67-4f64-8b7c-ead30ea2ee7e, rgb(38, 38, 38))\"},BAhxMDJQy:{\"--extracted-r6o4lv\":\"rgb(255, 34, 68)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({\"ysJrloaUr-hover\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7U0NIQUJPIENvbmRlbnNlZA==\",\"--framer-font-family\":'\"SCHABO Condensed\", \"SCHABO Condensed Placeholder\", sans-serif',\"--framer-font-size\":\"28px\",\"--framer-line-height\":\"30px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-7f9a09c7-ee67-4f64-8b7c-ead30ea2ee7e, rgb(38, 38, 38)))\"},children:\"CONTACTEER ONS\"})})},BAhxMDJQy:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItU2VtaUJvbGQ=\",\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"600\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 34, 68))\"},children:\"Something went wrong\"})}),fonts:[\"Inter-SemiBold\"]},huFPDY9WP:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NVjI7U0NIQUJPIENvbmRlbnNlZA==\",\"--framer-font-family\":'\"SCHABO Condensed\", \"SCHABO Condensed Placeholder\", sans-serif',\"--framer-font-size\":\"26px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-876164a4-f762-40cf-9e04-0e13307c3394, rgb(15, 15, 15)))\"},children:\"We nemen binnenkort contact met je op!\"})})}},baseVariant,gestureVariant)}),isDisplayed1()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-6o393c\",\"data-framer-name\":\"Spinner\",layoutDependency:layoutDependency,layoutId:\"D4ePC0vJg\",style:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"},children:/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation,__framer__loopEffectEnabled:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"loop\",__framer__loopTransition:transition2,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-y56tba\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"zZYxB7Y0C\",style:{background:\"conic-gradient(from 0deg at 50% 50%, var(--token-876164a4-f762-40cf-9e04-0e13307c3394, rgb(15, 15, 15)) 7.208614864864882deg, rgb(255, 255, 255) 342deg)\",mask:\"none\",WebkitMask:\"none\"},variants:{DrCl5wJEY:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"}},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1jlxqug\",\"data-framer-name\":\"Rounding\",layoutDependency:layoutDependency,layoutId:\"FInUrLgnB\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1},transformTemplate:transformTemplate1})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-pKmIh.framer-ikvzsk, .framer-pKmIh .framer-ikvzsk { display: block; }\",\".framer-pKmIh.framer-udv9sb { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: visible; padding: 16px 0px 16px 0px; position: relative; width: 240px; }\",\".framer-pKmIh .framer-z631c6 { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; z-index: 1; }\",\".framer-pKmIh .framer-6o393c { aspect-ratio: 1 / 1; flex: none; gap: 10px; height: var(--framer-aspect-ratio-supported, 20px); overflow: hidden; position: relative; width: 20px; }\",\".framer-pKmIh .framer-y56tba { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-pKmIh .framer-1jlxqug { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 2px); left: 50%; overflow: visible; position: absolute; top: 0px; width: 2px; }\",\".framer-pKmIh.framer-v-12kl4zn.framer-udv9sb, .framer-pKmIh.framer-v-1ovrd5g.framer-udv9sb, .framer-pKmIh.framer-v-1owhdec.framer-udv9sb { cursor: unset; }\",\".framer-pKmIh.framer-v-12kl4zn .framer-y56tba { overflow: hidden; }\",\".framer-pKmIh.framer-v-tyvqf9.framer-udv9sb { cursor: unset; width: 336px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 62\n * @framerIntrinsicWidth 240\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"DrCl5wJEY\":{\"layout\":[\"fixed\",\"auto\"]},\"aJc3RJyz9\":{\"layout\":[\"fixed\",\"auto\"]},\"huFPDY9WP\":{\"layout\":[\"fixed\",\"auto\"]},\"BAhxMDJQy\":{\"layout\":[\"fixed\",\"auto\"]},\"sYdgx0bOb\":{\"layout\":[\"fixed\",\"auto\"]},\"Thdlna_hs\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerUi2iRMJ93=withCSS(Component,css,\"framer-pKmIh\");export default FramerUi2iRMJ93;FramerUi2iRMJ93.displayName=\"Button 2\";FramerUi2iRMJ93.defaultProps={height:62,width:240};addPropertyControls(FramerUi2iRMJ93,{variant:{options:[\"ysJrloaUr\",\"DrCl5wJEY\",\"aJc3RJyz9\",\"huFPDY9WP\",\"BAhxMDJQy\"],optionTitles:[\"Default\",\"Loading\",\"Disabled\",\"Success\",\"Error\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerUi2iRMJ93,[{explicitInter:true,fonts:[{cssFamilyName:\"SCHABO Condensed\",source:\"custom\",style:\"normal\",uiFamilyName:\"SCHABO\",url:\"https://framerusercontent.com/assets/6SppmRVNA1aE26GRZJIIM9JCEW8.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/hyOgCu0Xnghbimh0pE8QTvtt2AU.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/NeGmSOXrPBfEFIy5YZeHq17LEDA.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/oYaAX5himiTPYuN8vLWnqBbfD2s.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/lEJLP4R0yuCaMCjSXYHtJw72M.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",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/cRJyLNuTJR5jbyKzGi33wU9cqIQ.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",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/yDtI2UI8XcEg1W2je9XPN3Noo.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",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/A0Wcc7NgXMjUuFdquHDrIZpzZw0.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerUi2iRMJ93\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"DrCl5wJEY\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"aJc3RJyz9\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"huFPDY9WP\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"BAhxMDJQy\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"sYdgx0bOb\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"Thdlna_hs\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"62\",\"framerIntrinsicWidth\":\"240\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Ui2iRMJ93.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import React,{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";MailchimpWrapper.displayName=\"Mailchimp Connector\";// ==========================================\n// 1. LICENSE SETTINGS (LITE)\n// ==========================================\nconst SUPABASE_URL=\"https://lebrsttspvcclvrnzgty.supabase.co\";const SUPABASE_ANON_KEY=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImxlYnJzdHRzcHZjY2x2cm56Z3R5Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3Njc3MDc3OTQsImV4cCI6MjA4MzI4Mzc5NH0.N225uDQbmDp4d_JDtm3BZfV0NDD_T905XcuFuyI7cMg\";const GLOBAL_KEY=\"__FRAMER_FORMS_LICENSE__\";const LOCAL_STORAGE_KEY=\"framer_forms_license_key\";const CACHE_KEY=\"framer_forms_license_cache\";async function checkLicense(key){if(!key)return false;// 1. Check browser cache\ntry{const cached=JSON.parse(localStorage.getItem(CACHE_KEY)||\"{}\");if(cached.key===key&&Date.now()-cached.ts<2592e5)return cached.isValid;}catch(e){}// 2. Check Database\ntry{const res=await fetch(`${SUPABASE_URL}/rest/v1/licenses?license_key=eq.${key}&select=status`,{headers:{apikey:SUPABASE_ANON_KEY,Authorization:`Bearer ${SUPABASE_ANON_KEY}`}});const data=await res.json();const isValid=data.length>0&&data[0].status===\"active\";localStorage.setItem(CACHE_KEY,JSON.stringify({key,isValid,ts:Date.now()}));return isValid;}catch(e){return false;}}// ==========================================\n// 2. DESIGNED PLACEHOLDER\n// ==========================================\nfunction DesignedPlaceholder({isCanvas,serviceName,icon}){const themeColor=\"#FFE01B\"// Mailchimp Yellow\n;return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:16,width:\"100%\",height:\"100%\",minHeight:240,padding:30,background:\"#ffffff\",borderRadius:24,boxShadow:\"0px 4px 24px rgba(0,0,0,0.06), 0px 1px 4px rgba(0,0,0,0.04)\",border:isCanvas?`2px dashed ${themeColor}`:\"1px solid rgba(0,0,0,0.05)\",position:\"relative\",overflow:\"hidden\",fontFamily:\"Inter, sans-serif\",textAlign:\"center\",color:\"#333\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:-20,right:-20,fontSize:100,opacity:.05,pointerEvents:\"none\"},children:icon}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:26,background:`${themeColor}20`,width:45,height:45,borderRadius:16,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:themeColor},children:icon}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:18,fontWeight:700,marginBottom:6},children:[serviceName,\" is almost ready\"]}),/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:14,color:\"#666\",lineHeight:1.5,textAlign:\"center\"},children:[\"1. Connect your Form using the purple connector.\",/*#__PURE__*/_jsx(\"br\",{}),\"2. Open the Plugin to finish integration\"]}),/*#__PURE__*/_jsx(\"img\",{src:\"https://framerusercontent.com/images/ephXzZG6cglFsi6w5UAlkYvPdzc.png\",alt:\"Instruction\",style:{width:\"100%\",height:\"auto\",maxWidth:320,marginTop:24,objectFit:\"contain\"}})]}),isCanvas&&/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:10,padding:\"8px 16px\",background:themeColor,color:\"#000\",fontSize:12,fontWeight:600,borderRadius:30,display:\"flex\",alignItems:\"center\",gap:6},children:[/*#__PURE__*/_jsx(\"span\",{children:\"👉\"}),\" Connect Form\"]})]});}// ==========================================\n// 3. MAIN COMPONENT\n// ==========================================\nexport default function MailchimpWrapper(props){const{actionUrl,children,showErrorText}=props;const containerRef=useRef(null);const[status,setStatus]=useState(\"idle\");const[errorMsg,setErrorMsg]=useState(\"\");// License State\nconst[isPro,setIsPro]=useState(null);const isCanvas=RenderTarget.current()===RenderTarget.canvas;// 🔥 LICENSE POLLING\nuseEffect(()=>{const verify=async()=>{let key=(typeof window!==\"undefined\"?window[GLOBAL_KEY]:null)||localStorage.getItem(LOCAL_STORAGE_KEY);if(!key){setIsPro(false);return;}const valid=await checkLicense(key);setIsPro(valid);};verify();const interval=setInterval(verify,1e3);return()=>clearInterval(interval);},[]);// --- HELPER: IMPROVE ERROR MESSAGES ---\nconst formatMessage=msg=>{if(!msg)return\"Unknown error\";let cleanMsg=msg.replace(/^\\d+\\s-\\s/,\"\");cleanMsg=cleanMsg.replace(/<\\/?[^>]+(>|$)/g,\"\");const lowerMsg=cleanMsg.toLowerCase();if(lowerMsg.includes(\"please enter a value\"))return\"Missing required field. Check Email/Name settings.\";if(lowerMsg.includes(\"enter a valid email\")||lowerMsg.includes(\"domain\"))return\"Please enter a valid email address.\";if(lowerMsg.includes(\"already subscribed\"))return\"This email is already subscribed.\";if(lowerMsg.includes(\"too many subscribe attempts\"))return\"Too many attempts. Try again later.\";if(lowerMsg.includes(\"captcha\"))return\"Mailchimp requires CAPTCHA. Disable reCAPTCHA in Mailchimp Audience settings.\";return cleanMsg;};// --- JSONP FUNCTION ---\nconst sendJsonp=(url,params,callback)=>{const query=Object.keys(params).map(k=>`${encodeURIComponent(k)}=${encodeURIComponent(params[k])}`).join(\"&\");const script=document.createElement(\"script\");const callbackName=\"jsonp_callback_\"+Math.round(1e5*Math.random());// @ts-ignore\nwindow[callbackName]=data=>{// @ts-ignore\ndelete window[callbackName];document.body.removeChild(script);callback(null,data);};script.src=`${url}&${query}&c=${callbackName}`;document.body.appendChild(script);};// --- SUBMISSION LOGIC ---\nuseEffect(()=>{const container=containerRef.current;if(!container)return;const handleSubmit=e=>{const form=e.target;if(form.tagName!==\"FORM\")return;if(actionUrl){e.preventDefault();setStatus(\"loading\");setErrorMsg(\"\");const formData=new FormData(form);const params={};formData.forEach((value,key)=>{if(key.toLowerCase()===\"email\")params[\"EMAIL\"]=value;else if(key.toLowerCase()===\"name\")params[\"FNAME\"]=value;else params[key]=value;});const jsonpUrl=actionUrl.replace(\"/post?\",\"/post-json?\");sendJsonp(jsonpUrl,params,(err,data)=>{if(err){setStatus(\"error\");setErrorMsg(\"Network error\");}else if(data.result!==\"success\"){setStatus(\"error\");const rawMsg=data.msg||\"Error\";setErrorMsg(formatMessage(rawMsg));}else{setStatus(\"success\");// Clear form on success\nform.reset();}});}};container.addEventListener(\"submit\",handleSubmit);return()=>container.removeEventListener(\"submit\",handleSubmit);},[actionUrl]);const hasChildren=React.Children.count(children)>0;const childrenWithProps=React.Children.map(children,child=>{if(/*#__PURE__*/React.isValidElement(child)){// 🔥 LAYOUT FIX:\nconst newProps={style:{...child.props.style,width:\"auto\",height:\"auto\",minWidth:\"100%\"}};if(status!==\"idle\"){newProps.variant=status===\"loading\"?\"Loading\":status===\"success\"?\"Success\":\"Error\";}return /*#__PURE__*/React.cloneElement(child,newProps);}return child;});return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{width:\"100%\",height:\"100%\",position:\"relative\",// 🔥 FLEX CONTAINER\ndisplay:\"flex\",flexDirection:\"column\"},children:[hasChildren?childrenWithProps:/*#__PURE__*/_jsx(DesignedPlaceholder,{isCanvas:isCanvas,serviceName:\"Mailchimp\",icon:\"🐵\"}),status===\"error\"&&showErrorText&&hasChildren&&/*#__PURE__*/_jsx(\"div\",{style:errorStyle,children:errorMsg}),status===\"success\"&&!hasChildren&&hasChildren&&/*#__PURE__*/_jsx(\"div\",{style:successStyle,children:\"Submitted!\"})]});}addPropertyControls(MailchimpWrapper,{children:{type:ControlType.ComponentInstance,title:\"👉 Connect Form\",description:\"Open the Plugin to finish integration\"},actionUrl:{type:ControlType.String,title:\"Action URL\",defaultValue:\"\",hidden:()=>true},_serviceName:{type:ControlType.String,defaultValue:\"mailchimp\",hidden:()=>true},showErrorText:{type:ControlType.Boolean,title:\"Show Errors\",defaultValue:true,hidden:()=>true},loadingVariantName:{type:ControlType.String,defaultValue:\"Loading\",hidden:()=>true},successVariantName:{type:ControlType.String,defaultValue:\"Success\",hidden:()=>true},errorVariantName:{type:ControlType.String,defaultValue:\"Error\",hidden:()=>true}});const watermarkStyle={position:\"fixed\",bottom:20,left:20,zIndex:9999,padding:\"8px 12px\",background:\"#fff\",borderRadius:8,boxShadow:\"0 4px 12px rgba(0,0,0,0.1)\",border:\"1px solid rgba(0,0,0,0.05)\",fontSize:12,fontWeight:600,color:\"#333\",textDecoration:\"none\",display:\"flex\",alignItems:\"center\",gap:6,fontFamily:\"sans-serif\"};const errorStyle={marginTop:12,color:\"#D32F2F\",fontSize:12,fontFamily:\"monospace\",background:\"#FFEBEE\",padding:\"12px\",borderRadius:8,width:\"100%\"};const successStyle={marginTop:10,color:\"#008000\",fontSize:13,fontWeight:600,textAlign:\"center\",width:\"100%\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MailchimpWrapper\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MailchimpWrapper.map"],"mappings":"+XACgsB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,mDAA/yB,IAA2I,IAAkE,IAA4B,CAAgC,EAAgB,EAAO,EAAO,IAAI,CAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,QAAQ,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,mBAAmB,UAAU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