{"version":3,"file":"Converter_With_Data_Fetch.D1FdXGxv.mjs","names":["React.forwardRef","useState","useRef"],"sources":["https:/framerusercontent.com/modules/GnROezUT9EwtffXCwZp2/xR6aL9hoDrxK8GwOmdHQ/ZyIMERyRH.js","https:/framerusercontent.com/modules/MSgn7HNS7BwtrVbpHitU/8B99nxQQOJB56JXFTH5l/Converter_With_Data_Fetch.js"],"sourcesContent":["// Generated by Framer (6ca5d98)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 0 15 L 0 0 L 9 0 L 9 15 Z\" fill-opacity=\"var(--1m6trwb, 0)\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"15px\" id=\"eCJjCoEfx\" transform=\"translate(7.5 4.5)\" width=\"9px\"/><path d=\"M 6 0 L 3 3 L 0 0\" fill=\"transparent\" height=\"3px\" id=\"LFXhP2Xc8\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(4.5 16.5)\" width=\"6px\"/><path d=\"M 0 0 L 0 15\" fill=\"transparent\" height=\"15px\" id=\"Rv5hdtlYJ\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(7.5 4.5)\" width=\"1px\"/><path d=\"M 0 3 L 3 0 L 6 3\" fill=\"transparent\" height=\"3px\" id=\"gS1OI4oVG\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(13.5 4.5)\" width=\"6px\"/><path d=\"M 0 15 L 0 0\" fill=\"transparent\" height=\"15px\" id=\"j_adJY5px\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(16.5 4.5)\" width=\"1px\"/></svg>';const getProps=({alpha,color,height,id,width,width1,...props})=>{return{...props,ezTt3ayMo:color??props.ezTt3ayMo??\"rgb(0, 0, 0)\",lschgej4H:width1??props.lschgej4H??1.5,qxTvv_EBh:alpha??props.qxTvv_EBh};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,ezTt3ayMo,lschgej4H,qxTvv_EBh,...restProps}=getProps(props);const href=useSVGTemplate(\"997057770\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-nOjqJ\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m6trwb\":qxTvv_EBh,\"--21h8s6\":ezTt3ayMo,\"--pgex8v\":lschgej4H,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-nOjqJ { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"ezTt3ayMo\":\"color\",\"lschgej4H\":\"width1\",\"qxTvv_EBh\":\"alpha\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Arrows Down Up\",\"color\":{\"type\":\"variable\",\"value\":\"21h8s6\"},\"set\":{\"localId\":\"vectorSet/NGVKdicsm\",\"id\":\"NGVKdicsm\",\"moduleId\":\"omX0gWFPqDwhaiWwf6ab\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-nOjqJ\");Icon.displayName=\"Arrows Down Up\";export default Icon;addPropertyControls(Icon,{ezTt3ayMo:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},lschgej4H:{defaultValue:1.5,displayStepper:true,hidden:false,max:6,min:0,step:.5,title:\"Width\",type:ControlType.Number},qxTvv_EBh:{defaultValue:0,displayStepper:true,hidden:false,max:1,min:0,step:.1,title:\"Alpha\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"24\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"true\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerVector\":\"{\\\"name\\\":\\\"Arrows Down Up\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"21h8s6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/NGVKdicsm\\\",\\\"id\\\":\\\"NGVKdicsm\\\",\\\"moduleId\\\":\\\"omX0gWFPqDwhaiWwf6ab\\\"}}\",\"framerVariables\":\"{\\\"ezTt3ayMo\\\":\\\"color\\\",\\\"lschgej4H\\\":\\\"width1\\\",\\\"qxTvv_EBh\\\":\\\"alpha\\\"}\",\"framerIntrinsicHeight\":\"24\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const API_ENDPOINT=\"https://api.tryspeed.com/exchange-rates/latest\";const API_TOKEN=\"rk_live_m0nghlsrDPTxFXHBm10gz5grdRicdQRZm10gz5gsFrFWSTeJ\";// Inject keyframe animation once into <head>\nconst STYLE_ID=\"crypto-converter-styles\";if(typeof document!==\"undefined\"&&!document.getElementById(STYLE_ID)){const style=document.createElement(\"style\");style.id=STYLE_ID;style.textContent=`\n        @keyframes swapPulse {\n            0%   { opacity: 1; transform: scale(1); }\n            50%  { opacity: 0.4; transform: scale(1.08); }\n            100% { opacity: 1; transform: scale(1); }\n        }\n    `;document.head.appendChild(style);}function SearchableSelect({value,options,onChange}){const[isOpen,setIsOpen]=useState(false);const[searchTerm,setSearchTerm]=useState(\"\");const dropdownRef=useRef(null);const filteredOptions=options.filter(option=>option.toLowerCase().includes(searchTerm.toLowerCase()));useEffect(()=>{const handleClickOutside=event=>{if(dropdownRef.current&&!dropdownRef.current.contains(event.target)){setIsOpen(false);setSearchTerm(\"\");}};document.addEventListener(\"mousedown\",handleClickOutside);return()=>document.removeEventListener(\"mousedown\",handleClickOutside);},[]);const handleSelect=option=>{onChange(option);setIsOpen(false);setSearchTerm(\"\");};return /*#__PURE__*/_jsxs(\"div\",{ref:dropdownRef,style:{position:\"relative\"},children:[/*#__PURE__*/_jsxs(\"button\",{onClick:()=>setIsOpen(!isOpen),type:\"button\",style:{background:\"transparent\",border:\"none\",color:\"#0a193e\",fontSize:\"16px\",fontWeight:\"500\",fontFamily:\"Manrope, sans-serif\",cursor:\"pointer\",padding:\"0\",display:\"flex\",alignItems:\"center\",gap:\"4px\",lineHeight:1.5,whiteSpace:\"nowrap\"},children:[value,/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"#0a193e\",strokeWidth:\"2\",style:{flexShrink:0},children:/*#__PURE__*/_jsx(\"polyline\",{points:\"6 9 12 15 18 9\"})})]}),isOpen&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:\"calc(100% + 0.5rem)\",right:0,background:\"white\",borderRadius:\"12px\",boxShadow:\"0 8px 24px rgba(0,0,0,0.15)\",zIndex:1e3,minWidth:\"200px\",maxHeight:\"300px\",display:\"flex\",flexDirection:\"column\",overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"text\",placeholder:\"Search currency...\",value:searchTerm,onChange:e=>setSearchTerm(e.target.value),autoFocus:true,style:{width:\"100%\",padding:\"0.75rem\",border:\"none\",borderBottom:\"1px solid #e5e5e5\",fontSize:\"0.9rem\",outline:\"none\",boxSizing:\"border-box\"}}),/*#__PURE__*/_jsx(\"div\",{style:{overflowY:\"auto\",maxHeight:\"250px\"},children:filteredOptions.length>0?filteredOptions.map(option=>/*#__PURE__*/_jsx(\"div\",{onClick:()=>handleSelect(option),style:{padding:\"0.75rem 1rem\",cursor:\"pointer\",fontSize:\"0.9rem\",backgroundColor:option===value?\"#e8e8ff\":\"transparent\",color:option===value?\"#5b5ff5\":\"#333\",fontWeight:option===value?\"600\":\"normal\"},onMouseEnter:e=>{if(option!==value)e.currentTarget.style.backgroundColor=\"#f5f5f5\";},onMouseLeave:e=>{if(option!==value)e.currentTarget.style.backgroundColor=\"transparent\";},children:option},option)):/*#__PURE__*/_jsx(\"div\",{style:{padding:\"1rem\",textAlign:\"center\",color:\"#999\",fontSize:\"0.9rem\"},children:\"No currencies found\"})})]})]});}export default function CryptoConverter(props){const{defaultFromCurrency=\"BTC\",defaultToCurrency=\"USD\",fromAmountFontSize=28,toAmountFontSize=28}=props;const[currencies,setCurrencies]=useState([]);const[fromCurrency,setFromCurrency]=useState(defaultFromCurrency);const[toCurrency,setToCurrency]=useState(defaultToCurrency);const[fromAmount,setFromAmount]=useState(\"1\");const[toAmount,setToAmount]=useState(\"0\");const[exchangeRates,setExchangeRates]=useState({});const[loading,setLoading]=useState(true);const[error,setError]=useState(null);useEffect(()=>{fetchExchangeRates();const intervalId=setInterval(()=>fetchExchangeRates(true),6e4);const handleCurrencyPairClick=event=>{const target=event.target.closest(\"[data-currency-from][data-currency-to]\");if(target){const from=target.getAttribute(\"data-currency-from\");const to=target.getAttribute(\"data-currency-to\");if(from&&to){setFromCurrency(from);setToCurrency(to);setFromAmount(\"1\");const converter=document.querySelector('[data-converter=\"crypto-converter\"]');if(converter){converter.scrollIntoView({behavior:\"smooth\",block:\"center\"});}}}};document.addEventListener(\"click\",handleCurrencyPairClick);return()=>{clearInterval(intervalId);document.removeEventListener(\"click\",handleCurrencyPairClick);};},[]);useEffect(()=>{if(Object.keys(exchangeRates).length>0){convertCurrency(fromAmount,fromCurrency,toCurrency);}},[fromAmount,fromCurrency,toCurrency,exchangeRates]);const fetchExchangeRates=async(silent=false)=>{try{if(!silent)setLoading(true);setError(null);const basicAuth=btoa(`${API_TOKEN}:`);const response=await fetch(API_ENDPOINT,{method:\"GET\",headers:{Accept:\"application/json\",Authorization:`Basic ${basicAuth}`}});if(!response.ok)throw new Error(`HTTP error! status: ${response.status}`);const data=await response.json();setExchangeRates(data.rates||{});setCurrencies(Object.keys(data.rates||{}));if(!silent)setLoading(false);}catch(err){if(!silent){setError(err.message);setLoading(false);}}};const convertCurrency=(amount,from,to)=>{if(!amount||isNaN(amount)||!exchangeRates[from]||!exchangeRates[to]){setToAmount(\"0\");return;}const fromRate=exchangeRates[from];const toRate=exchangeRates[to];const result=parseFloat(amount)*toRate/fromRate;setToAmount(result.toFixed(12));};const handleFromAmountChange=e=>setFromAmount(e.target.value);const handleToAmountChange=e=>{const value=e.target.value;if(!value||isNaN(value)||!exchangeRates[fromCurrency]||!exchangeRates[toCurrency]){setFromAmount(\"0\");return;}const fromRate=exchangeRates[fromCurrency];const toRate=exchangeRates[toCurrency];const result=parseFloat(value)*fromRate/toRate;setFromAmount(result.toFixed(12));setToAmount(value);};const swapCurrencies=()=>{setFromCurrency(toCurrency);setToCurrency(fromCurrency);setFromAmount(toAmount);setToAmount(fromAmount);};if(loading)return /*#__PURE__*/_jsx(\"div\",{style:loadingStyle,children:\"Loading exchange rates...\"});if(error){return /*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsxs(\"div\",{style:errorStyle,children:[\"Error: \",error]}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>fetchExchangeRates(),style:retryBtnStyle,children:\"Retry\"})]});}return /*#__PURE__*/_jsxs(\"div\",{style:{...wrapperStyle,...props.style},\"data-converter\":\"crypto-converter\",children:[/*#__PURE__*/_jsxs(\"div\",{style:cardWrapperStyle,children:[/*#__PURE__*/_jsxs(\"div\",{style:topPanelStyle,children:[/*#__PURE__*/_jsxs(\"div\",{style:panelContentStyle,children:[/*#__PURE__*/_jsx(\"label\",{style:labelStyle,children:\"You Spend\"}),/*#__PURE__*/_jsx(\"input\",{type:\"number\",value:fromAmount,onChange:handleFromAmountChange,style:{...amountInputStyle,fontSize:`${fromAmountFontSize}px`},placeholder:\"1\"})]}),/*#__PURE__*/_jsx(\"div\",{style:currencyPickerStyle,children:/*#__PURE__*/_jsx(SearchableSelect,{value:fromCurrency,options:currencies,onChange:setFromCurrency})})]}),/*#__PURE__*/_jsxs(\"button\",{onClick:swapCurrencies,\"aria-label\":\"Swap currencies\",style:swapBtnWrapStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:swapOuterRingStyle}),/*#__PURE__*/_jsx(\"div\",{style:swapInnerCircleStyle,children:/*#__PURE__*/_jsx(\"svg\",{width:\"30\",height:\"30\",viewBox:\"8 8 46 46\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M28.1642 31.6423C27.9516 31.6423 27.7735 31.5704 27.6299 31.4266C27.4864 31.2829 27.4146 31.1048 27.4146 30.8923V24.3615L25.0972 26.6788C24.962 26.8173 24.7929 26.8865 24.59 26.8865C24.3871 26.8865 24.2081 26.8148 24.053 26.6713C23.8979 26.5148 23.8203 26.3359 23.8203 26.1346C23.8203 25.9333 23.8979 25.7551 24.053 25.6L27.5222 22.1308C27.6158 22.0372 27.715 21.9712 27.8197 21.9327C27.9244 21.8942 28.0365 21.875 28.1562 21.875C28.2759 21.875 28.3895 21.8944 28.4972 21.9331C28.6049 21.9719 28.7049 22.0378 28.7972 22.1308L32.2914 25.625C32.4402 25.7737 32.5136 25.9462 32.5116 26.1423C32.5097 26.3385 32.4312 26.5148 32.2761 26.6713C32.1209 26.8148 31.9453 26.8891 31.7492 26.8942C31.553 26.8993 31.3774 26.8243 31.2222 26.6692L28.9145 24.3615V30.9019C28.9145 31.1117 28.8426 31.2875 28.6988 31.4294C28.555 31.5713 28.3768 31.6423 28.1642 31.6423ZM33.8459 40.1115C33.7263 40.1115 33.6126 40.0921 33.5049 40.0533C33.3972 40.0146 33.2972 39.9487 33.2049 39.8557L29.7107 36.3615C29.562 36.2128 29.4886 36.0404 29.4905 35.8442C29.4924 35.6481 29.5709 35.4717 29.7261 35.3152C29.8812 35.1717 30.0568 35.0974 30.253 35.0923C30.4491 35.0872 30.6248 35.1622 30.7799 35.3173L33.0876 37.625V31.0846C33.0876 30.8748 33.1595 30.699 33.3033 30.5571C33.4471 30.4152 33.6253 30.3442 33.8379 30.3442C34.0505 30.3442 34.2286 30.4161 34.3722 30.5598C34.5158 30.7036 34.5876 30.8817 34.5876 31.0942V37.625L36.9049 35.3077C37.0402 35.1692 37.2092 35.1 37.4121 35.1C37.615 35.1 37.794 35.1717 37.9491 35.3152C38.1042 35.4717 38.1818 35.6506 38.1818 35.8519C38.1818 36.0532 38.1042 36.2314 37.9491 36.3865L34.4799 39.8557C34.3863 39.9493 34.2872 40.0153 34.1825 40.0538C34.0778 40.0922 33.9656 40.1115 33.8459 40.1115Z\",fill:\"white\"})})})]}),/*#__PURE__*/_jsxs(\"div\",{style:bottomPanelStyle,children:[/*#__PURE__*/_jsxs(\"div\",{style:panelContentStyle,children:[/*#__PURE__*/_jsx(\"label\",{style:labelStyle,children:\"You Receive\"}),/*#__PURE__*/_jsx(\"input\",{type:\"number\",value:toAmount,onChange:handleToAmountChange,style:{...amountInputStyle,fontSize:`${toAmountFontSize}px`},placeholder:\"0\"})]}),/*#__PURE__*/_jsx(\"div\",{style:currencyPickerStyle,children:/*#__PURE__*/_jsx(SearchableSelect,{value:toCurrency,options:currencies,onChange:setToCurrency})})]})]}),exchangeRates[fromCurrency]&&exchangeRates[toCurrency]&&/*#__PURE__*/_jsxs(\"div\",{style:rateInfoStyle,children:[\"1 \",fromCurrency,\" =\",\" \",(()=>{const rate=exchangeRates[toCurrency]/exchangeRates[fromCurrency];if(rate<.01){return rate.toLocaleString(\"en-US\",{minimumFractionDigits:2,maximumFractionDigits:8});}return rate.toLocaleString(\"en-US\",{minimumFractionDigits:2,maximumFractionDigits:2});})(),\" \",toCurrency]})]});}/* ─── Styles ─────────────────────────────────────────────────────────────── */const wrapperStyle={display:\"flex\",flexDirection:\"column\",gap:\"1.25rem\",fontFamily:\"Manrope, sans-serif\",width:\"100%\"};const cardWrapperStyle={position:\"relative\",width:\"100%\"};const panelBase={background:\"#ffffff\",border:\"1px solid #cdd5df\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",padding:\"30px 20px\",width:\"100%\",boxSizing:\"border-box\"};const topPanelStyle={...panelBase,borderRadius:\"16px 16px 0 0\",marginBottom:\"-1px\"};const bottomPanelStyle={...panelBase,borderRadius:\"0 0 16px 16px\"};const panelContentStyle={display:\"flex\",flexDirection:\"column\",gap:\"4px\",flex:1,minWidth:0};const labelStyle={display:\"block\",fontSize:\"14px\",fontWeight:500,lineHeight:1.4,color:\"#697586\",fontFamily:\"Manrope, sans-serif\"};// fontSize is intentionally omitted here — applied dynamically per instance\nconst amountInputStyle={border:\"none\",background:\"transparent\",fontWeight:600,color:\"#0a193e\",outline:\"none\",padding:\"0\",width:\"100%\",lineHeight:1.5,fontFamily:\"Manrope, sans-serif\"};const currencyPickerStyle={display:\"flex\",alignItems:\"center\",borderLeft:\"1px solid #cdd5df\",paddingLeft:\"12px\",height:\"32px\",flexShrink:0};const swapBtnWrapStyle={position:\"absolute\",left:\"50%\",top:\"50%\",transform:\"translate(-50%, -50%)\",zIndex:10,background:\"transparent\",border:\"none\",padding:\"0\",margin:\"0\",cursor:\"pointer\",width:\"46px\",height:\"46px\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"};const swapOuterRingStyle={position:\"absolute\",inset:\"-8px\",borderRadius:\"50%\",border:\"8px solid rgba(42, 103, 255, 0.13)\",pointerEvents:\"none\",animation:\"swapPulse 2.2s ease-in-out infinite\"};const swapInnerCircleStyle={width:\"46px\",height:\"46px\",borderRadius:\"50%\",background:\"#2A67FF\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0};const rateInfoStyle={textAlign:\"center\",fontSize:\"18px\",fontWeight:500,lineHeight:1.5,color:\"#0A193E\",fontFamily:\"Manrope, sans-serif\",padding:\"0.5rem\"};const loadingStyle={textAlign:\"center\",padding:\"2rem\",fontSize:\"1.125rem\",color:\"#0a193e\"};const errorStyle={textAlign:\"center\",padding:\"2rem\",fontSize:\"1.125rem\",color:\"#fc8181\"};const retryBtnStyle={marginTop:\"1rem\",padding:\"0.75rem 1.5rem\",background:\"#2a67ff\",color:\"white\",border:\"none\",borderRadius:\"8px\",fontWeight:600,cursor:\"pointer\"};addPropertyControls(CryptoConverter,{defaultFromCurrency:{type:ControlType.String,title:\"Default From Currency\",defaultValue:\"USD\"},defaultToCurrency:{type:ControlType.String,title:\"Default To Currency\",defaultValue:\"BTC\"},fromAmountFontSize:{type:ControlType.Number,title:\"You Spend Font Size\",defaultValue:28,min:12,max:64,step:1,displayStepper:true},toAmountFontSize:{type:ControlType.Number,title:\"You Receive Font Size\",defaultValue:28,min:12,max:64,step:1,displayStepper:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CryptoConverter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"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