{"version":3,"file":"Text.B-2NPIPY.mjs","names":["useRef","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/lfxfxkambq1ewqAIWXu2/u7dWBnrkNnfQjCqOYBQx/Text.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";export function ChangePeriodColor(){const ref=useRef(null);useEffect(()=>{const el=ref.current;if(!el)return;const walk=node=>{if(node.nodeType===3){// Replace . in text nodes only\nconst fragments=node.textContent.split(\".\");if(fragments.length>1){const parent=node.parentNode;fragments.forEach((text,index)=>{parent.insertBefore(document.createTextNode(text),node);if(index<fragments.length-1){const span=document.createElement(\"span\");span.textContent=\".\";span.style.color=\"#FE6F61\"// Your desired period color\n;parent.insertBefore(span,node);}});parent.removeChild(node);}}else if(node.nodeType===1&&node.childNodes){node.childNodes.forEach(walk);}};walk(el);},[]);return{ref};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withChangePeriodColor(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ChangePeriodColor(props)});};}withChangePeriodColor.displayName=\"ChangePeriodColor\";\nexport const __FramerMetadata__ = {\"exports\":{\"ChangePeriodColor\":{\"type\":\"override\",\"name\":\"ChangePeriodColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withChangePeriodColor\":{\"type\":\"reactHoc\",\"name\":\"withChangePeriodColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Text.map"],"mappings":"uKAA+E,SAAgB,GAAmB,CAAC,IAAM,EAAIA,EAAO,KAAK,CAEkB,OAFjB,MAAc,CAAC,IAAM,EAAG,EAAI,QAAQ,GAAG,CAAC,EAAG,OAAO,IAAM,EAAK,GAAM,CAAC,GAAG,EAAK,WAAW,EAAE,CACnO,IAAM,EAAU,EAAK,YAAY,MAAM,IAAI,CAAC,GAAG,EAAU,OAAO,EAAE,CAAC,IAAM,EAAO,EAAK,WAAW,EAAU,SAAS,EAAK,IAAQ,CAAyD,GAAxD,EAAO,aAAa,SAAS,eAAe,EAAK,CAAC,EAAK,CAAI,EAAM,EAAU,OAAO,EAAE,CAAC,IAAM,EAAK,SAAS,cAAc,OAAO,CAAC,EAAK,YAAY,IAAI,EAAK,MAAM,MAAM,UACrS,EAAO,aAAa,EAAK,EAAK,GAAI,CAAC,EAAO,YAAY,EAAK,OAAW,EAAK,WAAW,GAAG,EAAK,YAAY,EAAK,WAAW,QAAQ,EAAK,EAAI,EAAK,EAAG,EAAG,EAAE,CAAC,CAAO,CAAC,MAAI,CAAqJ,SAAgB,EAAsB,EAAE,CAAC,MAAO,KAAQ,EAA+BC,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAkB,EAAM,CAAC,CAAC,mBAFrc,IAAoC,IAE4O,CAAyL,EAAsB,YAAY"}