{"version":3,"file":"shared.BapiTyL2.mjs","names":["useState","useRef","useId"],"sources":["https:/framerusercontent.com/modules/A3xZSuuZYw7w7D9kmy4n/u3NU8NiGJxxjA2IgUvzi/PhoneInput_1.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";import{useState,useRef,useEffect,useId}from\"react\";// ===================================================\n// 🌍 CONFIGURAÇÃO DE PAÍSES E VALIDAÇÃO\n// ===================================================\nconst countries=[{code:\"+55\",flag:\"https://flagcdn.com/w320/br.png\",name:\"Brasil\",placeholder:\"(12) 12345-1234\",maxLength:11,// Brasil aceita Fixo (10) ou Celular (11)\nisValid:n=>n.length===10||n.length===11,mask:n=>{if(n.length<=2)return n;if(n.length<=6)return`(${n.slice(0,2)}) ${n.slice(2)}`;if(n.length<=10)return`(${n.slice(0,2)}) ${n.slice(2,6)}-${n.slice(6)}`;return`(${n.slice(0,2)}) ${n.slice(2,7)}-${n.slice(7,11)}`;}},{code:\"+351\",flag:\"https://flagcdn.com/w320/pt.png\",name:\"Portugal\",placeholder:\"912 345 678\",maxLength:9,isValid:n=>n.length===9,mask:n=>n.replace(/(\\d{3})(\\d{3})(\\d{3})/,\"$1 $2 $3\").trim()},{code:\"+244\",flag:\"https://flagcdn.com/w320/ao.png\",name:\"Angola\",placeholder:\"923 456 789\",maxLength:9,isValid:n=>n.length===9,mask:n=>n.replace(/(\\d{3})(\\d{3})(\\d{3})/,\"$1 $2 $3\").trim()},{code:\"+258\",flag:\"https://flagcdn.com/w320/mz.png\",name:\"Mo\\xe7ambique\",placeholder:\"82 123 4567\",maxLength:9,isValid:n=>n.length===9,mask:n=>n.replace(/(\\d{2})(\\d{3})(\\d{4})/,\"$1 $2 $3\").trim()},{code:\"+52\",flag:\"https://flagcdn.com/w320/mx.png\",name:\"M\\xe9xico\",placeholder:\"55 1234 5678\",maxLength:10,isValid:n=>n.length===10,mask:n=>n.replace(/(\\d{2})(\\d{4})(\\d{4})/,\"$1 $2 $3\").trim()},{code:\"+54\",flag:\"https://flagcdn.com/w320/ar.png\",name:\"Argentina\",placeholder:\"11 1234 5678\",maxLength:10,isValid:n=>n.length===10,mask:n=>n.replace(/(\\d{2})(\\d{4})(\\d{4})/,\"$1 $2 $3\").trim()},{code:\"+56\",flag:\"https://flagcdn.com/w320/cl.png\",name:\"Chile\",placeholder:\"9 1234 5678\",maxLength:9,isValid:n=>n.length===9,mask:n=>n.replace(/(\\d{1})(\\d{4})(\\d{4})/,\"$1 $2 $3\").trim()},{code:\"+57\",flag:\"https://flagcdn.com/w320/co.png\",name:\"Col\\xf4mbia\",placeholder:\"312 345 6789\",maxLength:10,isValid:n=>n.length===10,mask:n=>n.replace(/(\\d{3})(\\d{3})(\\d{4})/,\"$1 $2 $3\").trim()},{code:\"+51\",flag:\"https://flagcdn.com/w320/pe.png\",name:\"Peru\",placeholder:\"912 345 678\",maxLength:9,isValid:n=>n.length===9,mask:n=>n.replace(/(\\d{3})(\\d{3})(\\d{3})/,\"$1 $2 $3\").trim()},{code:\"+593\",flag:\"https://flagcdn.com/w320/ec.png\",name:\"Equador\",placeholder:\"099 123 4567\",maxLength:10,isValid:n=>n.length===10,mask:n=>n.replace(/(\\d{3})(\\d{3})(\\d{4})/,\"$1 $2 $3\").trim()},{code:\"+595\",flag:\"https://flagcdn.com/w320/py.png\",name:\"Paraguai\",placeholder:\"0981 123456\",maxLength:10,isValid:n=>n.length===10,mask:n=>n.replace(/(\\d{4})(\\d{6})/,\"$1 $2\").trim()},{code:\"+598\",flag:\"https://flagcdn.com/w320/uy.png\",name:\"Uruguai\",placeholder:\"094 123 456\",maxLength:9,isValid:n=>n.length===9,mask:n=>n.replace(/(\\d{3})(\\d{3})(\\d{3})/,\"$1 $2 $3\").trim()},{code:\"+591\",flag:\"https://flagcdn.com/w320/bo.png\",name:\"Bol\\xedvia\",placeholder:\"71234567\",maxLength:8,isValid:n=>n.length===8,mask:n=>n.replace(/(\\d{1})(\\d{7})/,\"$1 $2\").trim()},{code:\"+1\",flag:\"https://flagcdn.com/w320/do.png\",name:\"Rep\\xfablica Dominicana\",placeholder:\"809 234 5678\",maxLength:10,isValid:n=>n.length===10,mask:n=>n.replace(/(\\d{3})(\\d{3})(\\d{4})/,\"$1 $2 $3\").trim()},{code:\"+1\",flag:\"https://flagcdn.com/w320/us.png\",name:\"Estados Unidos\",placeholder:\"(123) 456-7890\",maxLength:10,isValid:n=>n.length===10,mask:n=>{if(n.length<=3)return n;if(n.length<=6)return`(${n.slice(0,3)}) ${n.slice(3)}`;return`(${n.slice(0,3)}) ${n.slice(3,6)}-${n.slice(6,10)}`;}},{code:\"+1\",flag:\"https://flagcdn.com/w320/ca.png\",name:\"Canad\\xe1\",placeholder:\"(123) 456-7890\",maxLength:10,isValid:n=>n.length===10,mask:n=>{if(n.length<=3)return n;if(n.length<=6)return`(${n.slice(0,3)}) ${n.slice(3)}`;return`(${n.slice(0,3)}) ${n.slice(3,6)}-${n.slice(6,10)}`;}},{code:\"+34\",flag:\"https://flagcdn.com/w320/es.png\",name:\"Espanha\",placeholder:\"612 34 56 78\",maxLength:9,isValid:n=>n.length===9,mask:n=>n.replace(/(\\d{3})(\\d{2})(\\d{2})(\\d{2})/,\"$1 $2 $3 $4\").trim()},{code:\"+33\",flag:\"https://flagcdn.com/w320/fr.png\",name:\"Fran\\xe7a\",placeholder:\"06 12 34 56 78\",maxLength:10,isValid:n=>n.length===10,mask:n=>n.replace(/(\\d{2})(?=\\d)/g,\"$1 \").trim().slice(0,14)},{code:\"+39\",flag:\"https://flagcdn.com/w320/it.png\",name:\"It\\xe1lia\",placeholder:\"312 345 6789\",maxLength:10,isValid:n=>n.length===10,mask:n=>n.replace(/(\\d{3})(\\d{3})(\\d{4})/,\"$1 $2 $3\").trim()},{code:\"+49\",flag:\"https://flagcdn.com/w320/de.png\",name:\"Alemanha\",placeholder:\"0151 2345678\",maxLength:11,isValid:n=>n.length===11,mask:n=>n.replace(/(\\d{4})(\\d{3,7})?/,\"$1 $2\").trim()},{code:\"+44\",flag:\"https://flagcdn.com/w320/gb.png\",name:\"Reino Unido\",placeholder:\"07123 456789\",maxLength:11,isValid:n=>n.length===11,mask:n=>n.replace(/(\\d{5})(\\d{6})/,\"$1 $2\").trim()},{code:\"+31\",flag:\"https://flagcdn.com/w320/nl.png\",name:\"Pa\\xedses Baixos\",placeholder:\"06 12345678\",maxLength:10,isValid:n=>n.length===10,mask:n=>n.replace(/(\\d{2})(\\d{8})/,\"$1 $2\").trim()},{code:\"+41\",flag:\"https://flagcdn.com/w320/ch.png\",name:\"Su\\xed\\xe7a\",placeholder:\"079 123 45 67\",maxLength:9,isValid:n=>n.length===9,mask:n=>n.replace(/(\\d{3})(\\d{3})(\\d{3})/,\"$1 $2 $3\").trim()},{code:\"+32\",flag:\"https://flagcdn.com/w320/be.png\",name:\"B\\xe9lgica\",placeholder:\"0471 12 34 56\",maxLength:9,isValid:n=>n.length===9,mask:n=>n.replace(/(\\d{4})(\\d{2})(\\d{2})(\\d{1,2})/,\"$1 $2 $3 $4\").trim()},{code:\"+81\",flag:\"https://flagcdn.com/w320/jp.png\",name:\"Jap\\xe3o\",placeholder:\"090-1234-5678\",maxLength:11,isValid:n=>n.length===11,mask:n=>n.replace(/(\\d{3})(\\d{4})(\\d{4})/,\"$1-$2-$3\").trim()}];// Gera lista de nomes de países para o Property Control\nconst countryNames=countries.map(c=>c.name);// --- PADRÕES ---\nconst defaultFont={fontFamily:\"Inter, sans-serif\",fontSize:16,fontWeight:\"400\"};const defaultBorder={width:1,color:\"rgba(0,0,0,0.1)\",style:\"solid\"};const defaultBaseShadow=\"none\";const normalizeBorder=framerBorder=>{if(!framerBorder)return defaultBorder;return{width:framerBorder.borderWidth??framerBorder.width??defaultBorder.width,color:framerBorder.borderColor??framerBorder.color??defaultBorder.color,style:framerBorder.borderStyle??framerBorder.style??defaultBorder.style};};// --- VALORES PADRÃO DAS PROPS ANINHADAS ---\nconst defaultAttributes={customName:\"phone\",customId:\"\",isRequired:true,customPlaceholder:\"Digite seu WhatsApp\"};const defaultDropdown={background:\"#FCFCFC\",hoverColor:\"rgba(0,0,0,0.05)\",dividerColor:\"rgba(0,0,0,0.1)\",scrollbarThumbColor:\"rgba(0,0,0,0.2)\"};const defaultHover={background:undefined,borderColor:undefined,shadow:undefined};const defaultFocus={background:undefined,borderColor:\"#007BFF\",shadow:\"0 0 0 3px rgba(0,123,255,0.2)\"};const defaultInteraction={hover:defaultHover,focus:defaultFocus};// ===================================================\n// 🧱 COMPONENTE PRINCIPAL\n// ===================================================\nexport default function PhoneInput(props){// --- Desestruturação e Mesclagem ---\nconst attributes={...defaultAttributes,...props.attributes};const dropdown={...defaultDropdown,...props.dropdown};const interaction={...defaultInteraction,...props.interaction};const hover={...defaultHover,...interaction.hover};const focus={...defaultFocus,...interaction.focus};const font={...defaultFont,...props.font};const border=normalizeBorder(props.border);const{defaultCountryName=\"Brasil\"}=props;const initialCountry=countries.find(c=>c.name===defaultCountryName)||countries.find(c=>c.name===\"Brasil\")||countries[0];const{textColor=\"#000000\",placeholderColor=\"rgba(0,0,0,0.4)\",background=\"#FCFCFC\",padding=\"8px 12px\",radius=8,style}=props;const baseShadow=props.baseShadow??defaultBaseShadow;const{customName,customId,isRequired,customPlaceholder}=attributes;const{background:dropdownBackground,hoverColor,dividerColor,scrollbarThumbColor}=dropdown;// --- Hooks e Estado ---\nconst[isOpen,setIsOpen]=useState(false);const[selectedCountry,setSelectedCountry]=useState(initialCountry);const[phoneNumber,setPhoneNumber]=useState(\"\");// 1. Nova REF para controlar o Input\nconst inputRef=useRef(null);const handleFocus=()=>{setTimeout(()=>{if(inputRef.current){inputRef.current.scrollIntoView({behavior:\"smooth\",block:\"center\",inline:\"nearest\"});}},300);};const containerRef=useRef(null);const[isHovered,setIsHovered]=useState(false);const[isFocused,setIsFocused]=useState(false);const autoId=useId();const finalId=customId||autoId;// --- UseEffects ---\nuseEffect(()=>{const countryBasedOnProp=countries.find(c=>c.name===defaultCountryName)||countries.find(c=>c.name===\"Brasil\")||countries[0];if(countryBasedOnProp.code!==selectedCountry.code){setSelectedCountry(countryBasedOnProp);setPhoneNumber(\"\");}},[defaultCountryName]);// 2. useEffect de VALIDAÇÃO DO NÚMERO\n// Este efeito monitora o número e diz ao navegador se ele é válido ou não\nuseEffect(()=>{if(!inputRef.current)return;// Remove tudo que não for dígito\nconst cleanNumber=phoneNumber.replace(/\\D/g,\"\");// Se estiver vazio e não for obrigatório, remove erro\nif(cleanNumber.length===0&&!isRequired){inputRef.current.setCustomValidity(\"\");return;}// Valida usando a função modular do país\nconst isNumberValid=selectedCountry.isValid?selectedCountry.isValid(cleanNumber):cleanNumber.length===selectedCountry.maxLength;if(isNumberValid){// Válido: limpa o erro\ninputRef.current.setCustomValidity(\"\");}else{// Inválido: define mensagem e bloqueia envio\ninputRef.current.setCustomValidity(`O n\\xfamero deve ter o formato correto para ${selectedCountry.name}.`);}},[phoneNumber,selectedCountry,isRequired]);useEffect(()=>{const handleClickOutside=event=>{if(containerRef.current&&!containerRef.current.contains(event.target)){setIsOpen(false);}};document.addEventListener(\"mousedown\",handleClickOutside);return()=>document.removeEventListener(\"mousedown\",handleClickOutside);},[containerRef]);useEffect(()=>{const originalOverflow=document.body.style.overflow;if(isOpen)document.body.style.overflow=\"hidden\";else document.body.style.overflow=originalOverflow||\"auto\";return()=>{document.body.style.overflow=originalOverflow||\"auto\";};},[isOpen]);// --- Funções Auxiliares ---\nconst formatLocalNumber=value=>{const numbers=value.replace(/\\D/g,\"\").slice(0,selectedCountry.maxLength);// A função mask precisa existir na definição dos países\nreturn selectedCountry.mask?selectedCountry.mask(numbers):numbers;};// --- Estilos Dinâmicos ---\nconst currentBackground=(isFocused?focus.background:isHovered?hover.background:background)??background;const currentBorderColor=(isFocused?focus.borderColor:isHovered?hover.borderColor:border.color)??border.color;const currentShadow=(isFocused?focus.shadow:isHovered?hover.shadow:baseShadow)??baseShadow;const containerStyle={position:\"relative\",display:\"flex\",alignItems:\"stretch\",backgroundColor:currentBackground,borderTopLeftRadius:radius,borderTopRightRadius:radius,borderBottomLeftRadius:isOpen?0:radius,borderBottomRightRadius:isOpen?0:radius,padding:0,borderWidth:border.width,borderStyle:border.style,borderColor:currentBorderColor,boxShadow:currentShadow,transition:\"border-radius 0.1s ease-in-out, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease\",boxSizing:\"border-box\"};const inputStyle={...font,flex:1,background:\"none\",border:\"none\",color:textColor,padding:padding,paddingLeft:\"16px\",outline:\"none\",\"--placeholder-color\":placeholderColor,boxSizing:\"border-box\",cursor:\"text\",width:\"100%\"};// --- Renderização ---\nreturn /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{position:\"relative\",width:\"100%\",...style},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .custom-scrollbar::-webkit-scrollbar { width: 8px; }\n                .custom-scrollbar::-webkit-scrollbar-track { background: transparent; }\n                .custom-scrollbar::-webkit-scrollbar-thumb { background-color: ${scrollbarThumbColor}; border-radius: 4px; border: 2px solid transparent; background-clip: content-box; }\n                .phone-input::placeholder { color: var(--placeholder-color); opacity: 1; }\n                .phone-input:-ms-input-placeholder { color: var(--placeholder-color); }\n                .phone-input::-ms-input-placeholder { color: var(--placeholder-color); }\n            `}),/*#__PURE__*/_jsxs(\"label\",{htmlFor:finalId,style:containerStyle,onMouseEnter:()=>setIsHovered(true),onMouseLeave:()=>setIsHovered(false),onFocusCapture:()=>setIsFocused(true),onBlurCapture:()=>setIsFocused(false),children:[/*#__PURE__*/_jsxs(motion.div,{style:{display:\"flex\",alignItems:\"center\",gap:\"4px\",cursor:\"pointer\",padding:padding,paddingRight:\"8px\",borderRight:`${border.width}px ${border.style} ${dividerColor}`,flexShrink:0},whileHover:{opacity:.8},onClick:e=>{e.preventDefault();e.stopPropagation();setIsOpen(!isOpen);},children:[/*#__PURE__*/_jsx(\"img\",{src:selectedCountry.flag,alt:selectedCountry.name,style:{width:20,height:14}}),/*#__PURE__*/_jsx(\"span\",{style:{...font,color:textColor,fontSize:font.fontSize?font.fontSize*.9:14},children:selectedCountry.code})]}),/*#__PURE__*/_jsx(\"input\",{ref:inputRef,className:\"phone-input\",onFocus:handleFocus,type:\"tel\",id:finalId,value:phoneNumber,onChange:event=>setPhoneNumber(formatLocalNumber(event.target.value)),placeholder:customPlaceholder||selectedCountry.placeholder,required:isRequired,style:inputStyle})]}),/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:customName||\"telefone\",value:`${selectedCountry.code} ${phoneNumber.trim()}`}),isOpen&&/*#__PURE__*/_jsx(motion.div,{className:\"custom-scrollbar\",initial:{opacity:0,y:-5},animate:{opacity:1,y:0},transition:{duration:.15},style:{position:\"absolute\",top:`calc(100% - ${border.width}px)`,left:0,right:0,backgroundColor:dropdownBackground,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:radius,borderBottomRightRadius:radius,boxShadow:\"0 4px 12px rgba(0,0,0,0.15)\",zIndex:1e3,maxHeight:\"200px\",overflowY:\"auto\",borderWidth:border.width,borderStyle:border.style,borderColor:border.color,borderTop:\"none\"},children:countries.map(country=>/*#__PURE__*/_jsxs(motion.div,{style:{...font,padding:\"8px 12px\",display:\"flex\",alignItems:\"center\",gap:\"8px\",cursor:\"pointer\",color:textColor},whileHover:{backgroundColor:hoverColor},onClick:()=>{setSelectedCountry(country);setIsOpen(false);setPhoneNumber(\"\");},children:[/*#__PURE__*/_jsx(\"img\",{src:country.flag,alt:country.name,style:{width:20,height:14}}),/*#__PURE__*/_jsx(\"span\",{children:country.code}),/*#__PURE__*/_jsx(\"span\",{children:country.name})]},country.name))})]});}PhoneInput.displayName=\"PhoneInput\";// ===================================================\n// ⚙️ PROPERTY CONTROLS\n// ===================================================\naddPropertyControls(PhoneInput,{defaultCountryName:{title:\"Pa\\xeds Inicial\",type:ControlType.Enum,options:countryNames,defaultValue:\"Brasil\"},font:{title:\"Fonte\",type:ControlType.Font,controls:\"extended\",displayFontSize:true,displayTextAlignment:true,defaultValue:defaultFont},textColor:{title:\"Cor da Fonte\",type:ControlType.Color,defaultValue:\"#000000\"},placeholderColor:{title:\"Cor Placeholder\",type:ControlType.Color,defaultValue:\"rgba(0,0,0,0.4)\"},background:{title:\"Background\",type:ControlType.Color,defaultValue:\"#FCFCFC\"},padding:{title:\"Padding\",type:ControlType.Padding,defaultValue:\"8px 12px\"},radius:{title:\"Radius\",type:ControlType.BorderRadius,defaultValue:8},border:{title:\"Borda\",type:ControlType.Border,defaultValue:defaultBorder},baseShadow:{title:\"Shadow\",type:ControlType.BoxShadow,defaultValue:defaultBaseShadow},attributes:{title:\"Atributos\",type:ControlType.Object,defaultValue:defaultAttributes,controls:{customName:{title:\"Name\",type:ControlType.String,defaultValue:\"phone\",tooltip:\"Atributo 'name' para formul\\xe1rios\"},customId:{title:\"ID\",type:ControlType.String,placeholder:\"Opcional (autom\\xe1tico)\",tooltip:\"ID do input. Se vazio, um ID ser\\xe1 gerado para acessibilidade.\"},customPlaceholder:{title:\"Placeholder\",type:ControlType.String,defaultValue:\"Digite seu WhatsApp\"},isRequired:{title:\"Required\",type:ControlType.Boolean,defaultValue:true}}},interaction:{title:\"Intera\\xe7\\xe3o\",type:ControlType.Object,defaultValue:defaultInteraction,controls:{hover:{title:\"Hover\",type:ControlType.Object,defaultValue:defaultHover,controls:{background:{title:\"Background\",type:ControlType.Color},borderColor:{title:\"Cor da Borda\",type:ControlType.Color},shadow:{title:\"Shadow\",type:ControlType.BoxShadow}}},focus:{title:\"Focus\",type:ControlType.Object,defaultValue:defaultFocus,controls:{background:{title:\"Background\",type:ControlType.Color},borderColor:{title:\"Cor da Borda\",type:ControlType.Color,defaultValue:defaultFocus.borderColor},shadow:{title:\"Shadow\",type:ControlType.BoxShadow,defaultValue:defaultFocus.shadow}}}}},dropdown:{title:\"Dropdown\",type:ControlType.Object,defaultValue:defaultDropdown,controls:{background:{title:\"Background\",type:ControlType.Color,defaultValue:\"#FCFCFC\"},hoverColor:{title:\"Hover (Item)\",type:ControlType.Color,defaultValue:\"rgba(0,0,0,0.05)\"},dividerColor:{title:\"Cor Divisor\",type:ControlType.Color,defaultValue:\"rgba(0,0,0,0.1)\"},scrollbarThumbColor:{title:\"Cor Scrollbar\",type:ControlType.Color,defaultValue:\"rgba(0,0,0,0.2)\"}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PhoneInput\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PhoneInput_1.map"],"mappings":"uPAUA,SAAwB,EAAW,EAAM,CACzC,IAAM,EAAW,CAAC,GAAG,EAAkB,GAAG,EAAM,WAAW,CAAO,EAAS,CAAC,GAAG,EAAgB,GAAG,EAAM,SAAS,CAAO,EAAY,CAAC,GAAG,EAAmB,GAAG,EAAM,YAAY,CAAO,EAAM,CAAC,GAAG,EAAa,GAAG,EAAY,MAAM,CAAO,EAAM,CAAC,GAAG,EAAa,GAAG,EAAY,MAAM,CAAO,EAAK,CAAC,GAAG,EAAY,GAAG,EAAM,KAAK,CAAO,EAAO,EAAgB,EAAM,OAAO,CAAM,CAAC,qBAAmB,UAAU,EAAY,EAAe,EAAU,KAAK,GAAG,EAAE,OAAO,EAAmB,EAAE,EAAU,KAAK,GAAG,EAAE,OAAO,SAAS,EAAE,EAAU,GAAQ,CAAC,YAAU,UAAU,mBAAiB,kBAAkB,aAAW,UAAU,UAAQ,WAAW,SAAO,EAAE,UAAO,EAAY,EAAW,EAAM,YAAY,EAAuB,CAAC,aAAW,YAAS,aAAW,qBAAmB,EAAgB,CAAC,WAAW,EAAmB,aAAW,eAAa,uBAAqB,EAC50B,CAAC,EAAO,GAAWA,EAAS,GAAM,CAAM,CAAC,EAAgB,GAAoBA,EAAS,EAAe,CAAM,CAAC,EAAY,GAAgBA,EAAS,GAAG,CACnJ,EAASC,EAAO,KAAK,CAAO,MAAgB,CAAC,eAAe,CAA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