{"version":3,"file":"AcademiesForm.oIOsnIb4.mjs","names":["useState","__esmMin","window","init_npm_react_18_3_1","init_ssg_sandbox_shims","init_jsx_runtime","c","p","_e","init_framer_DymZktPS","addPropertyControls","ControlType","useLocaleInfo","splitName","parts","full","HeroFormAcademias","props","isEnglish","activeLocale","tr","translations","pick","fallback","value","titleText","title","badgeText","badge","subtitleText","subtitle","submitText","submitLabel","microcopyText","microcopy","priceNoteText","priceNote","footerText","footer","phone","setPhone","name","setName","email","setEmail","company","setCompany","sizeIndex","setSizeIndex","phoneTouched","setPhoneTouched","emailTouched","setEmailTouched","submitting","setSubmitting","error","setError","sent","setSent","isPhoneValid","isEmailValid","showPhoneError","showEmailError","isValid","fireDigaWebhook","webhook_url","handleSubmit","region","HUBSPOT","endpoint","payload","first","last","SIZE_HUBSPOT_VALUES","res","detail","data","err","cardStyle","cardBackground","borderColor","textColor","labelStyle","labelColor","requiredMarkStyle","inputStyle","inputBackground","errorMessageStyle","errorBorderColor","accentColor","selected","i","opt","showPriceNote","privacyUrl","init_AcademiesForm"],"sources":["https:/framerusercontent.com/modules/GI5hG20tiACzHdzcgka3/dKi0svLo5ZFKL9YWzy16/AcademiesForm.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useLocaleInfo}from\"framer\";import{useState}from\"react\";// ---------- i18n ----------\nconst translations={es:{title:\"Tu academia, atendida al tel\\xe9fono 24/7\",badge:\"ACADEMIAS\",subtitle:\"D\\xe9janos tu tel\\xe9fono y te ense\\xf1amos c\\xf3mo tu agente atiende a alumnos y familias.\",phoneLabel:\"Tel\\xe9fono\",phonePlaceholder:\"+34 600 000 000\",phoneError:\"Introduce un n\\xfamero de tel\\xe9fono v\\xe1lido.\",nameLabel:\"Nombre\",namePlaceholder:\"Marta Garc\\xeda\",emailLabel:\"Email\",emailPlaceholder:\"marta@academia.com\",emailError:\"Introduce un correo electr\\xf3nico v\\xe1lido.\",companyLabel:\"Academia\",companyPlaceholder:\"Academia Horizonte\",sizeLabel:\"\\xbfCu\\xe1ntos alumnos tiene tu academia?\",sizeOptions:[\"Menos de 100\",\"100 – 500\",\"M\\xe1s de 500\"],submitLabel:\"Quiero probarlo en mi academia\",submitting:\"Enviando...\",microcopy:\"Te llamamos en 24 h laborables para ense\\xf1arte un caso como el de tu academia.\",priceNote:\"Desde 29 €/mes, todo incluido \\xb7 Sin permanencia\",submitError:\"Hubo un error al enviar. Int\\xe9ntalo de nuevo.\",successTitle:\"\\xa1Recibido! Te llamamos pronto\",successText:\"Te llamaremos en 24 h laborables para ense\\xf1arte c\\xf3mo tu agente atender\\xeda a los alumnos de tu academia.\",footer:\"Al enviar aceptas nuestra pol\\xedtica de privacidad. Sin spam, lo prometemos.\"},en:{title:\"Your academy, answering the phone 24/7\",badge:\"ACADEMIES\",subtitle:\"Leave us your phone number and we'll show you how your agent handles students and families.\",phoneLabel:\"Phone\",phonePlaceholder:\"+34 600 000 000\",phoneError:\"Enter a valid phone number.\",nameLabel:\"Name\",namePlaceholder:\"Marta Garc\\xeda\",emailLabel:\"Email\",emailPlaceholder:\"marta@academy.com\",emailError:\"Enter a valid email address.\",companyLabel:\"Academy\",companyPlaceholder:\"Horizon Academy\",sizeLabel:\"How many students does your academy have?\",sizeOptions:[\"Under 100\",\"100 – 500\",\"Over 500\"],submitLabel:\"I want to try it in my academy\",submitting:\"Submitting...\",microcopy:\"We'll call you within 1 business day to show you a case like your academy's.\",priceNote:\"From €29/month, all included \\xb7 No commitment\",submitError:\"There was an error submitting. Please try again.\",successTitle:\"Got it! We'll call you soon\",successText:\"We'll call you within 1 business day to show you how your agent would handle your academy's students.\",footer:\"By submitting you accept our privacy policy. No spam, we promise.\"}};// ---------- HubSpot config ----------\n// portalId, formId, region and field mapping all stay fixed in code.\nconst HUBSPOT={portalId:\"148719910\",formId:\"68a1db76-a002-4895-b866-388a77cf8758\",region:\"eu1\",fields:{phone:\"mobilephone\",firstName:\"firstname\",lastName:\"lastname\",email:\"email\",company:\"company\",size:\"cuantos_alumnos_tiene_tu_academia\"}};// Values sent to HubSpot for the \"size\" selector, in the same order as\n// `sizeOptions`. They MUST match the internal values of the HubSpot dropdown\n// property `cuantos_alumnos_tiene_tu_academia`, or HubSpot will reject the\n// submission.\nconst SIZE_HUBSPOT_VALUES=[\"Menos de 100 alumnos\",\"Entre 100 y 500 alumnos\",\"M\\xe1s de 500 alumnos\"];// Splits a single \"Nombre\" field into HubSpot firstname / lastname.\nfunction splitName(full){const parts=full.trim().split(/\\s+/);return{first:parts[0]??\"\",last:parts.slice(1).join(\" \")};}/**\n * HERO FORM ACADEMIAS — Custom Framer Code Component\n * Short lead form for the academies landing hero: phone first, then name,\n * email, academy + number of students. Submits to HubSpot and, optionally,\n * fires a Diga webhook with { name, mail, phone, agent_id }.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 440\n * @framerIntrinsicHeight 600\n */export default function HeroFormAcademias(props){const{title,badge,subtitle,submitLabel,microcopy,priceNote,showPriceNote,footer,agent_id,webhook_url,accentColor,cardBackground,inputBackground,borderColor,textColor,labelColor,privacyUrl}=props;// ---------- Locale ----------\nconst{activeLocale}=useLocaleInfo();const isEnglish=(activeLocale?.code??\"\").toLowerCase().startsWith(\"en\")||(activeLocale?.name??\"\").toLowerCase().includes(\"english\");const tr=isEnglish?translations.en:translations.es;// ---------- Editable copy (control overrides locale fallback) ----------\n// In English the locale text is used so the ES defaults don't leak.\nconst pick=(value,fallback)=>isEnglish?fallback:value||fallback;const titleText=pick(title,tr.title);const badgeText=isEnglish&&badge?tr.badge:badge// empty hides it\n;const subtitleText=pick(subtitle,tr.subtitle);const submitText=pick(submitLabel,tr.submitLabel);const microcopyText=pick(microcopy,tr.microcopy);const priceNoteText=pick(priceNote,tr.priceNote);const footerText=pick(footer,tr.footer);// ---------- State ----------\nconst[phone,setPhone]=useState(\"\");const[name,setName]=useState(\"\");const[email,setEmail]=useState(\"\");const[company,setCompany]=useState(\"\");const[sizeIndex,setSizeIndex]=useState(-1);const[phoneTouched,setPhoneTouched]=useState(false);const[emailTouched,setEmailTouched]=useState(false);const[submitting,setSubmitting]=useState(false);const[error,setError]=useState(null);const[sent,setSent]=useState(false);// ---------- Validation ----------\nconst isPhoneValid=phone.trim().length>=6&&/^[+\\d\\s\\-()]+$/.test(phone.trim());const isEmailValid=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(email);const showPhoneError=phoneTouched&&phone.length>0&&!isPhoneValid;const showEmailError=emailTouched&&email.length>0&&!isEmailValid;const isValid=isPhoneValid&&name.trim().length>0&&isEmailValid&&company.trim().length>0&&sizeIndex>=0;// ---------- Diga webhook (fire-and-forget) ----------\n// Sends the core lead fields to a Diga endpoint. It runs in parallel and\n// never blocks or breaks the HubSpot submission if it fails.\nfunction fireDigaWebhook(){if(!webhook_url)return;fetch(webhook_url,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({name:name.trim(),mail:email,phone:phone,agent_id:agent_id})}).catch(e=>console.error(\"Diga webhook failed:\",e));}// ---------- Submission ----------\nasync function handleSubmit(){if(!isValid||submitting)return;setSubmitting(true);setError(null);fireDigaWebhook();const region=HUBSPOT.region.trim().toLowerCase();const host=region&&region!==\"na1\"&&region!==\"us\"?`api-${region}.hsforms.com`:\"api.hsforms.com\";const endpoint=`https://${host}/submissions/v3/integration/submit/${HUBSPOT.portalId}/${HUBSPOT.formId}`;const{first,last}=splitName(name);const fields=[{name:HUBSPOT.fields.phone,value:phone},{name:HUBSPOT.fields.firstName,value:first},// Only sent when the user typed a surname\n...last?[{name:HUBSPOT.fields.lastName,value:last}]:[],{name:HUBSPOT.fields.email,value:email},{name:HUBSPOT.fields.company,value:company},// The HubSpot form asks for the academy as the Company record name\n// (objectTypeId 0-2), which is required there.\n{objectTypeId:\"0-2\",name:\"name\",value:company},{name:HUBSPOT.fields.size,value:SIZE_HUBSPOT_VALUES[sizeIndex]??\"\"}];const payload={fields,context:{pageUri:typeof window!==\"undefined\"?window.location.href:\"\",pageName:typeof document!==\"undefined\"?document.title:\"\"}};try{const res=await fetch(endpoint,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify(payload)});if(!res.ok){let detail=\"\";try{const data=await res.json();detail=(data?.errors||[]).map(e=>e.message).join(\" \\xb7 \")||data?.message||JSON.stringify(data);}catch{detail=await res.text().catch(()=>\"\");}console.error(\"HubSpot submission error:\",res.status,detail);throw new Error(detail||`HTTP ${res.status}`);}setSent(true);}catch(err){setError(`${tr.submitError}${err instanceof Error&&err.message?` (${err.message})`:\"\"}`);}finally{setSubmitting(false);}}// ---------- Styles ----------\nconst cardStyle={width:\"100%\",maxWidth:\"100%\",minWidth:0,boxSizing:\"border-box\",fontFamily:\"Geist, sans-serif\",backgroundColor:cardBackground,border:`1px solid ${borderColor}`,borderRadius:24,padding:24,boxShadow:\"0 10px 40px rgba(4, 11, 83, 0.06)\",display:\"flex\",flexDirection:\"column\",gap:14,color:textColor};const labelStyle={fontSize:11,fontWeight:600,textTransform:\"uppercase\",letterSpacing:\"0.06em\",color:labelColor,marginBottom:6};const requiredMarkStyle={color:\"#DC2626\",marginLeft:2};const inputStyle={width:\"100%\",padding:\"11px 14px\",backgroundColor:inputBackground,border:`1px solid ${borderColor}`,borderRadius:12,fontSize:15,color:textColor,fontFamily:\"Geist, sans-serif\",letterSpacing:\"-0.01em\",outline:\"none\",boxSizing:\"border-box\",transition:\"border-color 0.15s ease\"};const errorMessageStyle={fontSize:13,color:\"#DC2626\",marginTop:4,letterSpacing:\"-0.01em\"};const errorBorderColor=\"#DC2626\";// ---------- Success state (replaces the form, no redirect) ----------\nif(sent){return /*#__PURE__*/_jsxs(\"div\",{role:\"status\",style:{...cardStyle,alignItems:\"center\",textAlign:\"center\",gap:12,padding:\"40px 24px\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:52,height:52,borderRadius:26,backgroundColor:`${accentColor}1A`,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"26\",height:\"26\",viewBox:\"0 0 16 16\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M3.5 8.5L6.5 11.5L12.5 5\",stroke:accentColor,strokeWidth:\"1.8\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:20,fontWeight:700,color:textColor,letterSpacing:\"-0.02em\",lineHeight:1.25},children:tr.successTitle}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,color:labelColor,letterSpacing:\"-0.01em\",lineHeight:1.45,maxWidth:340},children:tr.successText})]});}return /*#__PURE__*/_jsxs(\"div\",{style:cardStyle,children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .diga-hero-academias input::placeholder { color: #9CA3AF; opacity: 1; }\n                .diga-hero-academias input:focus { border-color: ${accentColor} !important; }\n            `}),/*#__PURE__*/_jsxs(\"div\",{className:\"diga-hero-academias\",style:{display:\"contents\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:6},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:12},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:20,fontWeight:700,color:textColor,letterSpacing:\"-0.02em\",lineHeight:1.25},children:titleText}),badgeText&&/*#__PURE__*/_jsx(\"span\",{style:{fontSize:10,fontWeight:700,textTransform:\"uppercase\",letterSpacing:\"0.08em\",color:accentColor,backgroundColor:`${accentColor}1A`,padding:\"4px 8px\",borderRadius:6,whiteSpace:\"nowrap\",flexShrink:0},children:badgeText})]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,color:labelColor,letterSpacing:\"-0.01em\",lineHeight:1.45},children:subtitleText})]}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsxs(\"div\",{style:labelStyle,children:[tr.phoneLabel,/*#__PURE__*/_jsx(\"span\",{style:requiredMarkStyle,children:\"*\"})]}),/*#__PURE__*/_jsx(\"input\",{type:\"tel\",autoComplete:\"tel\",placeholder:tr.phonePlaceholder,value:phone,onChange:e=>setPhone(e.target.value),onBlur:()=>setPhoneTouched(true),style:{...inputStyle,borderColor:showPhoneError?errorBorderColor:borderColor}}),showPhoneError&&/*#__PURE__*/_jsx(\"div\",{style:errorMessageStyle,children:tr.phoneError})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:12},children:[/*#__PURE__*/_jsxs(\"div\",{style:{flex:\"1 1 160px\",minWidth:0},children:[/*#__PURE__*/_jsxs(\"div\",{style:labelStyle,children:[tr.nameLabel,/*#__PURE__*/_jsx(\"span\",{style:requiredMarkStyle,children:\"*\"})]}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",autoComplete:\"name\",placeholder:tr.namePlaceholder,value:name,onChange:e=>setName(e.target.value),style:inputStyle})]}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:\"1 1 160px\",minWidth:0},children:[/*#__PURE__*/_jsxs(\"div\",{style:labelStyle,children:[tr.emailLabel,/*#__PURE__*/_jsx(\"span\",{style:requiredMarkStyle,children:\"*\"})]}),/*#__PURE__*/_jsx(\"input\",{type:\"email\",autoComplete:\"email\",placeholder:tr.emailPlaceholder,value:email,onChange:e=>setEmail(e.target.value),onBlur:()=>setEmailTouched(true),style:{...inputStyle,borderColor:showEmailError?errorBorderColor:borderColor}}),showEmailError&&/*#__PURE__*/_jsx(\"div\",{style:errorMessageStyle,children:tr.emailError})]})]}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsxs(\"div\",{style:labelStyle,children:[tr.companyLabel,/*#__PURE__*/_jsx(\"span\",{style:requiredMarkStyle,children:\"*\"})]}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",autoComplete:\"organization\",placeholder:tr.companyPlaceholder,value:company,onChange:e=>setCompany(e.target.value),style:inputStyle})]}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsxs(\"div\",{style:{...labelStyle,textTransform:\"none\",letterSpacing:\"-0.01em\",fontSize:13},children:[tr.sizeLabel,/*#__PURE__*/_jsx(\"span\",{style:requiredMarkStyle,children:\"*\"})]}),/*#__PURE__*/_jsx(\"div\",{role:\"radiogroup\",\"aria-label\":tr.sizeLabel,style:{display:\"grid\",gridTemplateColumns:`repeat(${tr.sizeOptions.length}, 1fr)`,gap:8},children:tr.sizeOptions.map((opt,i)=>{const selected=i===sizeIndex;return /*#__PURE__*/_jsx(\"button\",{type:\"button\",role:\"radio\",\"aria-checked\":selected,onClick:()=>setSizeIndex(i),style:{padding:\"10px 6px\",borderRadius:12,border:`1px solid ${selected?accentColor:borderColor}`,backgroundColor:selected?`${accentColor}14`:inputBackground,color:selected?accentColor:textColor,fontFamily:\"Geist, sans-serif\",fontSize:14,fontWeight:selected?600:500,cursor:\"pointer\",whiteSpace:\"nowrap\"},children:opt},opt);})})]}),error&&/*#__PURE__*/_jsx(\"div\",{style:{padding:12,backgroundColor:\"#FEE\",border:\"1px solid #FCC\",borderRadius:8,color:\"#900\",fontSize:14},children:error}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:handleSubmit,disabled:!isValid||submitting,style:{width:\"100%\",padding:\"14px 20px\",backgroundColor:accentColor,color:\"#fff\",border:\"none\",borderRadius:12,fontSize:15,fontWeight:600,cursor:isValid&&!submitting?\"pointer\":\"not-allowed\",fontFamily:\"Geist, sans-serif\",letterSpacing:\"-0.01em\",marginTop:2,opacity:isValid&&!submitting?1:.6,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",minHeight:48},children:submitting?tr.submitting:submitText}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8,marginTop:-2},children:[microcopyText&&/*#__PURE__*/_jsx(\"div\",{style:{fontSize:13,color:labelColor,textAlign:\"center\",letterSpacing:\"-0.01em\",lineHeight:1.45},children:microcopyText}),showPriceNote&&priceNoteText&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:6,fontSize:12,fontWeight:500,color:textColor,backgroundColor:`${accentColor}0D`,borderRadius:8,padding:\"7px 10px\",textAlign:\"center\",lineHeight:1.4},children:[/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 16 16\",fill:\"none\",style:{flexShrink:0},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M3.5 8.5L6.5 11.5L12.5 5\",stroke:accentColor,strokeWidth:\"1.8\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})}),/*#__PURE__*/_jsx(\"span\",{children:priceNoteText})]})]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:11,color:\"#9CA3AF\",textAlign:\"center\",letterSpacing:\"-0.01em\",lineHeight:1.5},children:privacyUrl?/*#__PURE__*/_jsx(\"a\",{href:privacyUrl,target:\"_blank\",rel:\"noopener noreferrer\",style:{color:\"inherit\",textDecoration:\"underline\"},children:footerText}):footerText})]})]});}// ---------- Framer Property Controls ----------\naddPropertyControls(HeroFormAcademias,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Tu academia, atendida al tel\\xe9fono 24/7\"},badge:{type:ControlType.String,title:\"Badge\",defaultValue:\"ACADEMIAS\",description:\"Etiqueta superior derecha. D\\xe9jalo vac\\xedo para ocultarlo.\"},subtitle:{type:ControlType.String,title:\"Subtitle\",defaultValue:\"D\\xe9janos tu tel\\xe9fono y te ense\\xf1amos c\\xf3mo tu agente atiende a alumnos y familias.\",displayTextArea:true},submitLabel:{type:ControlType.String,title:\"Submit Label\",defaultValue:\"Quiero probarlo en mi academia\"},microcopy:{type:ControlType.String,title:\"Microcopy\",defaultValue:\"Te llamamos en 24 h laborables para ense\\xf1arte un caso como el de tu academia.\",description:\"Texto bajo el bot\\xf3n. Vac\\xedo = oculto.\",displayTextArea:true},showPriceNote:{type:ControlType.Boolean,title:\"Price Note\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},priceNote:{type:ControlType.String,title:\"Price Text\",defaultValue:\"Desde 29 €/mes, todo incluido \\xb7 Sin permanencia\",displayTextArea:true,hidden:props=>!props.showPriceNote},footer:{type:ControlType.String,title:\"Footer Text\",defaultValue:\"Al enviar aceptas nuestra pol\\xedtica de privacidad. Sin spam, lo prometemos.\",displayTextArea:true},agent_id:{type:ControlType.String,title:\"Agent ID\",defaultValue:\"\",description:\"ID del agente de Diga a lanzar. Se env\\xeda al webhook. Config\\xfaralo por landing.\"},webhook_url:{type:ControlType.String,title:\"Webhook URL\",defaultValue:\"\",description:\"Webhook de Diga. Recibe { name, mail, phone, agent_id } por POST. Vac\\xedo = no se llama.\"},accentColor:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#4A59E1\"},cardBackground:{type:ControlType.Color,title:\"Card Bg\",defaultValue:\"#FFFFFF\"},inputBackground:{type:ControlType.Color,title:\"Field Bg\",defaultValue:\"#FFFFFF\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"#E4E4E4\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#040B53\"},labelColor:{type:ControlType.Color,title:\"Label\",defaultValue:\"#343E96\"},privacyUrl:{type:ControlType.Link,title:\"Privacy URL\",defaultValue:\"https://www.diga.io/politica-de-privacidad\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HeroFormAcademias\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"440\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"600\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AcademiesForm.map"],"mappings":"A,wMAQA,SAASa,GAAU,EAAK,CAAC,IAAMC,EAAMC,EAAK,KAAK,C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