{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/i6WbIXGHD4yeSXZqDC5H/8KxMTONuf5oD7eRiWe2X/Gradient_Headlines.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";// HOC to apply full gradient effect to all text\nexport function withFullGradientText(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style||{},background:\"radial-gradient(100% 454.89% at 0% 0%, #F97316 10%, rgba(255, 0, 174, 0.5) 40%, rgba(194, 143, 204, 0) 55%), radial-gradient(50% 227.45% at 50% 100%, #AD8FCC 0%, #330066 100%)\",WebkitBackgroundClip:\"text\",WebkitTextFillColor:\"transparent\",backgroundClip:\"text\",color:\"transparent\",display:\"inline-block\"}});};}// HOC to apply gradient to a specific phrase\nexport function withPartialGradientText(Component,targetPhrase=\"full-stack dev team\"){return props=>{// Function to process text node\nconst processTextNode=text=>{if(!text||typeof text!==\"string\")return text;const parts=text.split(targetPhrase);if(parts.length===1)return text;const result=[];for(let i=0;i<parts.length;i++){if(i>0){result.push(/*#__PURE__*/_jsx(\"span\",{style:{background:\"linear-gradient(77deg, #FFA64D 20%, #CA979F 50%, #FFA64D 80%)\",WebkitBackgroundClip:\"text\",WebkitTextFillColor:\"transparent\",backgroundClip:\"text\",color:\"transparent\"},children:targetPhrase},`gradient-${i}`));}if(parts[i]){result.push(parts[i]);}}return result;};// Create wrapper that applies processTextNode to text in children\nreturn /*#__PURE__*/_jsx(Component,{...props,children:typeof props.children===\"string\"?processTextNode(props.children):props.children});};}// Usage example:\n// const GradientHeading = withFullGradientText(Text)\n// const PartialGradientText = withPartialGradientText(Text, \"key phrase\")\n\nexport const __FramerMetadata__ = {\"exports\":{\"withFullGradientText\":{\"type\":\"reactHoc\",\"name\":\"withFullGradientText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPartialGradientText\":{\"type\":\"reactHoc\",\"name\":\"withPartialGradientText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Gradient_Headlines.map"],
  "mappings": "yCACO,SAASA,EAAqBC,EAAU,CAAC,OAAOC,GAA4BC,EAAKF,EAAU,CAAC,GAAGC,EAAM,MAAM,CAAC,GAAGA,EAAM,OAAO,CAAC,EAAE,WAAW,kLAAkL,qBAAqB,OAAO,oBAAoB,cAAc,eAAe,OAAO,MAAM,cAAc,QAAQ,cAAc,CAAC,CAAC,CAAI,CAChc,SAASE,EAAwBH,EAAUI,EAAa,sBAAsB,CAAC,OAAOH,GAAO,CACpG,IAAMI,EAAgBC,GAAM,CAAC,GAAG,CAACA,GAAM,OAAOA,GAAO,SAAS,OAAOA,EAAK,IAAMC,EAAMD,EAAK,MAAMF,CAAY,EAAE,GAAGG,EAAM,SAAS,EAAE,OAAOD,EAAK,IAAME,EAAO,CAAC,EAAE,QAAQC,EAAE,EAAEA,EAAEF,EAAM,OAAOE,IAAQA,EAAE,GAAGD,EAAO,KAAkBN,EAAK,OAAO,CAAC,MAAM,CAAC,WAAW,gEAAgE,qBAAqB,OAAO,oBAAoB,cAAc,eAAe,OAAO,MAAM,aAAa,EAAE,SAASE,CAAY,EAAE,YAAYK,CAAC,EAAE,CAAC,EAAMF,EAAME,CAAC,GAAGD,EAAO,KAAKD,EAAME,CAAC,CAAC,EAAI,OAAOD,CAAO,EACrgB,OAAoBN,EAAKF,EAAU,CAAC,GAAGC,EAAM,SAAS,OAAOA,EAAM,UAAW,SAASI,EAAgBJ,EAAM,QAAQ,EAAEA,EAAM,QAAQ,CAAC,CAAE,CAAE",
  "names": ["withFullGradientText", "Component", "props", "p", "withPartialGradientText", "targetPhrase", "processTextNode", "text", "parts", "result", "i"]
}
