{"version":3,"file":"Text_Gradient_2.BAxcEPc8.mjs","names":["useRef","useCallback"],"sources":["https:/framerusercontent.com/modules/112SdCdEh8ExKwnwp3RQ/VRKDTJbzjiZ1EVBAP5Um/Text_Gradient_2.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useEffect,useRef,useCallback}from\"react\";export function withGradientTextServices(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const localRef=useRef(null);const mergedRef=useCallback(node=>{localRef.current=node;if(typeof ref===\"function\")ref(node);else if(ref)ref.current=node;},[ref]);useEffect(()=>{try{const node=localRef.current;if(!node)return;const textEl=node.querySelector(\"p, span, h1, h2, h3, h4\")||node;textEl.style.background=\"linear-gradient(70deg, #06D6C3 0%, #2E9BD4 50%, #4779E0 100%)\";textEl.style.setProperty(\"-webkit-background-clip\",\"text\");textEl.style.setProperty(\"background-clip\",\"text\");textEl.style.setProperty(\"-webkit-text-fill-color\",\"transparent\");textEl.style.color=\"transparent\";}catch(err){console.error(\"withGradientTextServices error:\",err);}},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:mergedRef});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withGradientTextServices\":{\"type\":\"reactHoc\",\"name\":\"withGradientTextServices\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Text_Gradient_2.map"],"mappings":"uIAAsG,SAAgB,EAAyB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,IAAM,EAASA,EAAO,IAAI,EAAQ,EAAUC,EAAY,GAAM,CAAC,EAAS,QAAQ,EAAQ,OAAO,GAAM,WAAW,EAAI,CAAI,EAAU,IAAI,EAAI,QAAQ,EAAK,EAAE,CAAC,CAAG,CAAC,EAAmf,OAAjf,MAAc,CAAC,GAAG,CAAC,IAAM,EAAK,EAAS,QAAQ,GAAG,CAAC,EAAK,OAAO,IAAM,EAAO,EAAK,cAAc,yBAAyB,GAAG,EAAK,EAAO,MAAM,WAAW,gEAAgE,EAAO,MAAM,YAAY,0BAA0B,MAAM,EAAE,EAAO,MAAM,YAAY,kBAAkB,MAAM,EAAE,EAAO,MAAM,YAAY,0BAA0B,aAAa,EAAE,EAAO,MAAM,MAAM,aAAc,OAAO,EAAI,CAAC,QAAQ,MAAM,kCAAkC,CAAG,CAAE,CAAC,EAAE,CAAC,CAAC,EAAsB,EAAK,EAAU,CAAC,GAAG,EAAM,IAAI,CAAS,CAAC,CAAE,CAAC,CAAE,iBAA92B,IAA2D"}