{"version":3,"file":"MarketoForm1Step.DwtBCoB4.mjs","names":["useState","useRef","useCallback","_Fragment"],"sources":["https:/framerusercontent.com/modules/sueFx58PufuW4b4CwHkR/eiwJi9m0K77wb0P8BPcT/MarketoForm1Step.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useCallback,useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// ------------------------------\n// Constants\n// ------------------------------\nconst COLORS={primary:\"#FF6600\",text:\"#171717\",textMuted:\"#555\",placeholder:\"#94A3B8\",border:\"#E2E8F0\",error:\"#EF4444\"};const ALL_FIELDS=[\"Company\",\"Lead_Department__c\",\"Title\",\"LastName\",\"FirstName\",\"Email\",\"Phone\",\"Lead_role__c\",\"lead_cloud__c\",\"lead_inquiry__c\"];const DEFAULT_VALUES={Company:\"\",Lead_Department__c:\"\",Title:\"\",LastName:\"\",FirstName:\"\",Email:\"\",Phone:\"\",Lead_role__c:\"\",lead_cloud__c:\"\",lead_inquiry__c:\"\"};const ROLE_OPTIONS=[\"自社の導入を決定する立場\",\"自社の導入を検討する立場\",\"関連企業に提案する立場\",\"顧客に提案する立場\",\"その他（弊社へのご提案など）\"];const CLOUD_OPTIONS=[\"AWS\",\"Google Cloud\",\"Azure\",\"Oracle Cloud\",\"その他クラウド\"];// ------------------------------\n// Validation\n// ------------------------------\nconst EMAIL_RE=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;const PHONE_RE=/^[\\d\\-+() 　]+$/;function validateField(name,value,required){const trimmed=value.trim();if(name===\"Email\"){if(required&&!trimmed){return\"このフィールドは必須です\";}if(trimmed&&!EMAIL_RE.test(trimmed)){return\"有効なメールアドレスを入力してください\";}return null;}if(required&&!trimmed){return\"このフィールドは必須です\";}if(name===\"Phone\"&&trimmed&&!PHONE_RE.test(trimmed)){return\"正しい電話番号を入力してください\";}return null;}// ------------------------------\n// Hook: Marketo shadow form integration\n// ------------------------------\n/**\n * Loads the Marketo Forms2 script and injects fields into a hidden shadow form\n * with the Marketo-required id `mktoForm_<formId>`.\n *\n * It extracts:\n * - which fields exist in the Marketo form\n * - placeholders\n * - which fields are required\n *\n * This allows the Framer UI to match Marketo settings per form ID.\n */function useMarketoShadowForm({baseUrl,munchkinId,formId,containerId,onSuccess}){const[isReady,setIsReady]=useState(false);const[fieldsResolved,setFieldsResolved]=useState(false);const[requiredFieldsResolved,setRequiredFieldsResolved]=useState(false);const[placeholders,setPlaceholders]=useState({});const[availableFields,setAvailableFields]=useState(new Set);const[requiredFields,setRequiredFields]=useState(new Set);const formRef=useRef(null);const onSuccessRef=useRef(onSuccess);onSuccessRef.current=onSuccess;useEffect(()=>{let isMounted=true;let observer=null;let observerTimeout=null;const scriptSrc=`${baseUrl}/js/forms2/js/forms2.min.js`;const resolveFallback=setTimeout(()=>{if(isMounted){setFieldsResolved(true);setRequiredFieldsResolved(true);}},5e3);const extractFieldInfo=()=>{const formEl=document.getElementById(containerId);if(!formEl)return false;const placeholderMap={};const available=new Set;const required=new Set;ALL_FIELDS.forEach(name=>{const el=formEl.querySelector(`[name=\"${name}\"]`);if(!el)return;available.add(name);const fieldWrap=el.closest(\".mktoFieldWrap\");const formRow=el.closest(\".mktoFormRow\");const isRequired=el.required||el.hasAttribute(\"required\")||el.getAttribute(\"aria-required\")===\"true\"||el.classList.contains(\"mktoRequired\")||fieldWrap?.classList.contains(\"mktoRequiredField\")||!!fieldWrap?.querySelector(\".mktoRequiredField\")||formRow?.classList.contains(\"mktoRequiredField\");if(isRequired){required.add(name);}if(el.tagName===\"SELECT\"){const first=el.options[0];if(first&&!first.value&&first.text){placeholderMap[name]=first.text;}}else if(\"placeholder\"in el&&el.placeholder){placeholderMap[name]=el.placeholder;}});if(available.size>0&&isMounted){setPlaceholders(placeholderMap);setAvailableFields(available);setRequiredFields(required);setFieldsResolved(true);setRequiredFieldsResolved(true);return true;}return false;};const startObserving=()=>{const el=document.getElementById(containerId);if(!el)return;observer=new MutationObserver(()=>{if(extractFieldInfo()){observer?.disconnect();observer=null;}});observer.observe(el,{childList:true,subtree:true,attributes:true,attributeFilter:[\"placeholder\",\"required\",\"aria-required\",\"class\"]});observerTimeout=setTimeout(()=>{observer?.disconnect();observer=null;},5e3);};const loadForm=()=>{if(!window.MktoForms2)return;window.MktoForms2.loadForm(baseUrl,munchkinId,formId,form=>{if(!isMounted)return;formRef.current=form;setIsReady(true);if(!extractFieldInfo()){startObserving();setTimeout(extractFieldInfo,300);setTimeout(extractFieldInfo,1e3);}form.onSuccess(()=>{onSuccessRef.current();return false;});});};const existing=document.querySelector(`script[src=\"${scriptSrc}\"]`);if(!window.MktoForms2&&!existing){const s=document.createElement(\"script\");s.src=scriptSrc;s.async=true;s.onload=()=>{if(isMounted)loadForm();};document.body.appendChild(s);}else if(window.MktoForms2){const el=document.getElementById(containerId);if(el)el.innerHTML=\"\";loadForm();}else if(existing){existing.addEventListener(\"load\",()=>{if(isMounted)loadForm();});}return()=>{isMounted=false;formRef.current=null;if(observer)observer.disconnect();if(observerTimeout)clearTimeout(observerTimeout);clearTimeout(resolveFallback);const el=document.getElementById(containerId);if(el)el.innerHTML=\"\";};},[baseUrl,munchkinId,formId,containerId]);return{isReady,fieldsResolved,requiredFieldsResolved,placeholders,availableFields,requiredFields,formRef};}export function MarketoForm1Step({baseUrl=\"//lp.cloudbase.ink\",munchkinId=\"196-EMS-523\",formId=14,redirectUrl=\"https://cloudbase.ink/thanks_service-document\",submitButtonLabel=\"個人情報の取り扱いに同意の上送信\",privacyPolicyUrl=\"https://cloudbase.co.jp/privacy-policy\",privacyStatementUrl=\"https://cloudbase.co.jp/privacy\"}){const[values,setValues]=useState(DEFAULT_VALUES);const[errors,setErrors]=useState({});const[isSubmitting,setIsSubmitting]=useState(false);const[submitError,setSubmitError]=useState(null);const submitTimeoutRef=useRef(null);const containerId=`mktoForm_${formId}`;const{isReady,fieldsResolved,placeholders,availableFields,requiredFields,formRef}=useMarketoShadowForm({baseUrl,munchkinId,formId,containerId,onSuccess:()=>{if(submitTimeoutRef.current){clearTimeout(submitTimeoutRef.current);submitTimeoutRef.current=null;}if(typeof window!==\"undefined\"){window.location.href=redirectUrl;}}});const isFieldVisible=name=>availableFields.size===0||availableFields.has(name);const isFieldRequired=name=>requiredFields.has(name);// ------------------------------\n// Handlers\n// ------------------------------\nconst handleChange=useCallback((name,value)=>{setValues(prev=>({...prev,[name]:value}));setErrors(prev=>{if(!prev[name])return prev;const next={...prev};delete next[name];return next;});},[]);const validateAll=()=>{const newErrors={};let valid=true;ALL_FIELDS.forEach(field=>{if(!isFieldVisible(field))return;const err=validateField(field,values[field],isFieldRequired(field));if(err){newErrors[field]=err;valid=false;}});setErrors(newErrors);return valid;};const handleSubmit=e=>{if(e)e.preventDefault();if(!validateAll())return;const form=formRef.current;if(!form){setSubmitError(\"フォームの読み込みに失敗しました。ページを再読込してください。\");return;}setIsSubmitting(true);setSubmitError(null);form.vals({...values});form.submit();if(submitTimeoutRef.current)clearTimeout(submitTimeoutRef.current);submitTimeoutRef.current=setTimeout(()=>{setIsSubmitting(false);setSubmitError(\"送信に失敗しました。もう一度お試しください。\");submitTimeoutRef.current=null;},15e3);};// ------------------------------\n// Render helpers\n// ------------------------------\nconst renderInput=(name,label,type=\"text\",autoComplete)=>/*#__PURE__*/_jsx(Field,{label:label,error:errors[name],htmlFor:`mfs_${name}`,required:isFieldRequired(name),children:/*#__PURE__*/_jsx(\"input\",{id:`mfs_${name}`,name:name,type:type,value:values[name],onChange:e=>handleChange(name,e.target.value),placeholder:placeholders[name],autoComplete:autoComplete,className:\"mkto-step-input\",style:{...inputStyle,borderColor:errors[name]?COLORS.error:COLORS.border}})});// ------------------------------\n// Render\n// ------------------------------\nreturn /*#__PURE__*/_jsxs(\"div\",{style:wrapperStyle,children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes mkto-step-spin {\n                    0% { transform: rotate(0deg); }\n                    100% { transform: rotate(360deg); }\n                }\n                .mkto-step-input::placeholder {\n                    color: ${COLORS.placeholder};\n                    opacity: 1;\n                }\n                .mkto-step-input:focus,\n                .mkto-step-input:focus-visible {\n                    outline: none;\n                    border-color: #0284C7 !important;\n                    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);\n                }\n            `}),fieldsResolved?/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,noValidate:true,children:[isFieldVisible(\"Company\")&&renderInput(\"Company\",\"企業名\",\"text\",\"organization\"),isFieldVisible(\"Lead_Department__c\")&&renderInput(\"Lead_Department__c\",\"部署\",\"text\",\"organization-title\"),isFieldVisible(\"Title\")&&renderInput(\"Title\",\"職位\",\"text\"),(isFieldVisible(\"LastName\")||isFieldVisible(\"FirstName\"))&&/*#__PURE__*/_jsxs(\"div\",{style:nameRowStyle,children:[isFieldVisible(\"LastName\")&&/*#__PURE__*/_jsx(\"div\",{style:nameColStyle,children:renderInput(\"LastName\",\"姓\",\"text\",\"family-name\")}),isFieldVisible(\"FirstName\")&&/*#__PURE__*/_jsx(\"div\",{style:nameColStyle,children:renderInput(\"FirstName\",\"名\",\"text\",\"given-name\")})]}),isFieldVisible(\"Email\")&&renderInput(\"Email\",\"メールアドレス\",\"email\",\"email\"),isFieldVisible(\"Phone\")&&renderInput(\"Phone\",\"電話番号\",\"tel\",\"tel\"),isFieldVisible(\"Lead_role__c\")&&/*#__PURE__*/_jsx(Field,{label:\"役回り\",error:errors.Lead_role__c,htmlFor:\"mfs_Lead_role__c\",required:isFieldRequired(\"Lead_role__c\"),children:/*#__PURE__*/_jsx(\"div\",{style:selectWrapperStyle,children:/*#__PURE__*/_jsxs(\"select\",{id:\"mfs_Lead_role__c\",name:\"Lead_role__c\",value:values.Lead_role__c,onChange:e=>handleChange(\"Lead_role__c\",e.target.value),className:\"mkto-step-input\",style:{...inputStyle,...selectStyle,color:values.Lead_role__c?COLORS.text:COLORS.placeholder,borderColor:errors.Lead_role__c?COLORS.error:COLORS.border},children:[/*#__PURE__*/_jsx(\"option\",{value:\"\",children:placeholders.Lead_role__c??\"選択してください\"}),ROLE_OPTIONS.map(opt=>/*#__PURE__*/_jsx(\"option\",{value:opt,children:opt},opt))]})})}),isFieldVisible(\"lead_cloud__c\")&&/*#__PURE__*/_jsx(Field,{label:\"利用クラウド\",error:errors.lead_cloud__c,required:isFieldRequired(\"lead_cloud__c\"),children:/*#__PURE__*/_jsx(\"div\",{style:radioListStyle,children:CLOUD_OPTIONS.map(opt=>{const id=`mfs_cloud_${opt}`;const selected=values.lead_cloud__c===opt;return /*#__PURE__*/_jsxs(\"label\",{htmlFor:id,style:radioRowStyle,children:[/*#__PURE__*/_jsx(\"input\",{id:id,type:\"radio\",name:\"lead_cloud__c\",value:opt,checked:selected,onChange:e=>handleChange(\"lead_cloud__c\",e.target.value),style:radioInputStyle}),/*#__PURE__*/_jsx(\"span\",{style:radioLabelStyle,children:opt})]},opt);})})}),isFieldVisible(\"lead_inquiry__c\")&&/*#__PURE__*/_jsx(Field,{label:\"問合せ内容\",error:errors.lead_inquiry__c,htmlFor:\"mfs_lead_inquiry__c\",required:isFieldRequired(\"lead_inquiry__c\"),children:/*#__PURE__*/_jsx(\"textarea\",{id:\"mfs_lead_inquiry__c\",name:\"lead_inquiry__c\",value:values.lead_inquiry__c,onChange:e=>handleChange(\"lead_inquiry__c\",e.target.value),placeholder:placeholders.lead_inquiry__c,rows:5,className:\"mkto-step-input\",style:{...inputStyle,...textareaStyle,borderColor:errors.lead_inquiry__c?COLORS.error:COLORS.border}})}),/*#__PURE__*/_jsxs(\"div\",{style:privacyNoteStyle,children:[/*#__PURE__*/_jsx(\"a\",{href:privacyPolicyUrl,target:\"_blank\",rel:\"noopener noreferrer\",style:linkStyle,children:\"個人情報の取扱い\"}),\"の内容をお読みいただき、同意のうえ送信してください。Cloudbase株式会社の\",/*#__PURE__*/_jsx(\"a\",{href:privacyStatementUrl,target:\"_blank\",rel:\"noopener noreferrer\",style:linkStyle,children:\"個人情報保護方針\"}),\"はこちらからご確認いただけます。\"]}),submitError&&/*#__PURE__*/_jsx(\"div\",{style:submitErrorStyle,role:\"alert\",children:submitError}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:isSubmitting||!isReady,style:{...primaryButtonStyle,opacity:!isReady?.6:1,cursor:isSubmitting||!isReady?\"not-allowed\":\"pointer\"},children:isSubmitting?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{style:spinnerStyle}),/*#__PURE__*/_jsx(\"span\",{children:\"送信中...\"})]}):submitButtonLabel})]}):/*#__PURE__*/_jsx(\"div\",{style:loadingContainerStyle,\"aria-busy\":\"true\",role:\"status\",children:/*#__PURE__*/_jsx(\"span\",{style:loadingSpinnerStyle})}),/*#__PURE__*/_jsx(\"div\",{style:hiddenFormWrapperStyle,\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"form\",{id:containerId})})]});}// ------------------------------\n// Field component\n// ------------------------------\nfunction Field({label,error,htmlFor,required=false,children}){return /*#__PURE__*/_jsxs(\"div\",{style:fieldWrapperStyle,children:[/*#__PURE__*/_jsxs(\"label\",{style:labelStyle,htmlFor:htmlFor,children:[label,required?/*#__PURE__*/_jsx(\"span\",{style:requiredMarkStyle,children:\"必須\"}):/*#__PURE__*/_jsx(\"span\",{style:optionalMarkStyle,children:\"任意\"})]}),children,error&&/*#__PURE__*/_jsx(\"div\",{style:errorTextStyle,children:error})]});}// ------------------------------\n// Styles\n// ------------------------------\nconst wrapperStyle={position:\"relative\",width:\"100%\",maxWidth:\"100%\",boxSizing:\"border-box\",fontFamily:'-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Hiragino Sans\", \"Yu Gothic\", sans-serif',color:COLORS.text};const fieldWrapperStyle={marginBottom:12,width:\"100%\"};const labelStyle={display:\"block\",fontSize:\"0.875rem\",fontWeight:600,color:\"#1E293B\",marginBottom:8};const requiredMarkStyle={display:\"inline-flex\",alignItems:\"center\",marginLeft:8,padding:\"1px 4px\",fontSize:\"0.75rem\",fontWeight:600,color:\"#DC2626\",backgroundColor:\"#fff\",border:\"1px solid #DC2626\",borderRadius:4,lineHeight:1.4,verticalAlign:\"middle\"};const optionalMarkStyle={display:\"inline-flex\",alignItems:\"center\",marginLeft:8,padding:\"1px 4px\",fontSize:\"0.75rem\",fontWeight:600,color:\"#64748B\",backgroundColor:\"#fff\",border:\"1px solid #CBD5E1\",borderRadius:4,lineHeight:1.4,verticalAlign:\"middle\"};const inputStyle={width:\"100%\",maxWidth:\"100%\",padding:\"10px 12px\",fontSize:\"1rem\",lineHeight:1.5,border:`1px solid ${COLORS.border}`,borderRadius:8,boxSizing:\"border-box\",backgroundColor:\"#fff\",color:COLORS.text,fontFamily:\"inherit\",transition:\"border-color 0.15s ease\"};const selectWrapperStyle={position:\"relative\"};const selectStyle={appearance:\"none\",WebkitAppearance:\"none\",MozAppearance:\"none\",paddingRight:40,backgroundImage:\"url(\\\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 2h12z'/%3E%3C/svg%3E\\\")\",backgroundRepeat:\"no-repeat\",backgroundPosition:\"right 16px center\",backgroundSize:\"12px 8px\"};const textareaStyle={minHeight:104,height:104,resize:\"vertical\",fontFamily:\"inherit\"};const radioListStyle={display:\"flex\",flexDirection:\"column\",gap:8};const radioRowStyle={display:\"flex\",alignItems:\"center\",gap:10,padding:\"2px 0\",cursor:\"pointer\",backgroundColor:\"transparent\"};const radioInputStyle={width:20,height:20,margin:0,cursor:\"pointer\",accentColor:\"#2563EB\",flexShrink:0};const radioLabelStyle={fontSize:\"1rem\",color:COLORS.text,fontWeight:400};const nameRowStyle={display:\"flex\",gap:16,width:\"100%\",flexWrap:\"wrap\"};const nameColStyle={flex:\"1 1 160px\",minWidth:0};const privacyNoteStyle={marginTop:4,marginBottom:16,padding:0,fontSize:12,lineHeight:1.6,color:COLORS.textMuted};const linkStyle={color:\"#0284C7\",textDecoration:\"underline\"};const errorTextStyle={marginTop:6,fontSize:13,color:COLORS.error};const submitErrorStyle={marginBottom:16,padding:12,backgroundColor:\"#FEF2F2\",border:`1px solid ${COLORS.error}`,borderRadius:8,color:COLORS.error,fontSize:14};const primaryButtonStyle={width:\"100%\",padding:16,fontSize:\"1rem\",fontWeight:600,border:\"none\",borderRadius:8,backgroundColor:COLORS.primary,color:\"#fff\",cursor:\"pointer\",transition:\"background-color 0.15s ease\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:8,fontFamily:\"inherit\"};const spinnerStyle={width:16,height:16,border:\"2px solid rgba(255, 255, 255, 0.3)\",borderTopColor:\"#fff\",borderRadius:\"50%\",animation:\"mkto-step-spin 1s linear infinite\",display:\"inline-block\"};const hiddenFormWrapperStyle={position:\"absolute\",width:1,height:1,overflow:\"hidden\",opacity:0,pointerEvents:\"none\",left:-9999,top:-9999};const loadingContainerStyle={display:\"flex\",alignItems:\"center\",justifyContent:\"center\",minHeight:320,padding:24};const loadingSpinnerStyle={width:32,height:32,border:`3px solid ${COLORS.border}`,borderTopColor:COLORS.primary,borderRadius:\"50%\",animation:\"mkto-step-spin 1s linear infinite\",display:\"inline-block\"};// ------------------------------\n// Framer property controls\n// ------------------------------\naddPropertyControls(MarketoForm1Step,{baseUrl:{type:ControlType.String,title:\"Base URL\",defaultValue:\"//lp.cloudbase.ink\"},munchkinId:{type:ControlType.String,title:\"Munchkin ID\",defaultValue:\"196-EMS-523\"},formId:{type:ControlType.Number,title:\"Form ID\",defaultValue:14,min:1,step:1,displayStepper:true},redirectUrl:{type:ControlType.String,title:\"Redirect URL\",defaultValue:\"https://cloudbase.ink/thanks_service-document\"},submitButtonLabel:{type:ControlType.String,title:\"送信ボタン\",defaultValue:\"個人情報の取り扱いに同意の上送信\"},privacyPolicyUrl:{type:ControlType.String,title:\"個人情報の取扱い URL\",defaultValue:\"https://cloudbase.co.jp/privacy-policy\"},privacyStatementUrl:{type:ControlType.String,title:\"個人情報保護方針 URL\",defaultValue:\"https://cloudbase.co.jp/privacy\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"MarketoForm1Step\":{\"type\":\"reactComponent\",\"name\":\"MarketoForm1Step\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MarketoForm1Step.map"],"mappings":"2NAM4E,SAAS,EAAc,EAAK,EAAM,EAAS,CAAC,IAAM,EAAQ,EAAM,MAAM,CAA4Q,OAAxQ,IAAO,QAAY,GAAU,CAAC,EAAe,eAAmB,GAAS,CAAC,EAAS,KAAK,EAAQ,CAAQ,sBAA8B,KAAS,GAAU,CAAC,EAAe,eAAmB,IAAO,SAAS,GAAS,CAAC,EAAS,KAAK,EAAQ,CAAQ,mBAA2B,KAala,SAAS,GAAqB,CAAC,UAAQ,aAAW,SAAO,cAAY,aAAW,CAAC,GAAK,CAAC,EAAQ,GAAYA,EAAS,GAAM,CAAM,CAAC,EAAe,GAAmBA,EAAS,GAAM,CAAM,CAAC,EAAuB,GAA2BA,EAAS,GAAM,CAAM,CAAC,EAAa,IAAiBA,EAAS,EAAE,CAAC,CAAM,CAAC,EAAgB,GAAoBA,EAAS,IAAI,IAAI,CAAM,CAAC,EAAe,GAAmBA,EAAS,IAAI,IAAI,CAAO,EAAQC,EAAO,KAAK,CAAO,EAAaA,EAAO,EAAU,CAAixF,MAAhxF,GAAa,QAAQ,EAAU,MAAc,CAAC,IAAI,EAAU,GAAS,EAAS,KAAS,EAAgB,KAAW,EAAU,GAAG,EAAQ,6BAAmC,EAAgB,eAAe,CAAI,IAAW,EAAkB,GAAK,CAAC,EAA0B,GAAK,GAAI,IAAI,CAAO,MAAqB,CAAC,IAAM,EAAO,SAAS,eAAe,EAAY,CAAC,GAAG,CAAC,EAAO,MAAO,GAAM,IAAM,EAAe,EAAE,CAAO,EAAU,IAAI,IAAU,EAAS,IAAI,IAA45B,OAAx5B,EAAW,QAAQ,GAAM,CAAC,IAAM,EAAG,EAAO,cAAc,UAAU,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