{"version":3,"file":"enF6wR9BG.BAvO2rM9.mjs","names":["React.useRef","__esmMin","init_npm_react_18_3_1","window","de","init_jsx_runtime","c","ce","init_ssg_sandbox_shims","addPropertyControls","init_framer_D1IzEvwH","RenderTarget","fontStore","ControlType","GradientText","props","toRgb","colorString","value","rgbMatch","hexMatch","hex","int","ref","isCanvas","element","speed","frameId","time","speedFactor","animate","x1","y1","x2","y2","x3","y3","start","stop","observer","entries","rgb1","color1","rgb2","color2","rgb3","color3","textAlign","baseColorStart","baseColorEnd","text","init_GradientText","fonts","css","className","init_enF6wR9BG"],"sources":["https:/framerusercontent.com/modules/7lJM0tX2yC7BjkmkXbV3/ljhZQtPlgAI90oSZRxLw/GradientText.js","https:/framerusercontent.com/modules/rIY47FNj0u4E7tWYVo7d/WC24IZk1GoqCV1xQSt3F/enF6wR9BG.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 200\n *\n * COMPONENT: Solid Gradient Text\n * - Fixes clipping by adding internal padding.\n * - Fixes transparency by adding a solid base gradient layer behind the moving blobs.\n *\n * Performance notes (2026 pass):\n * - The rAF loop now stops when the element is off-screen, when speed is 0,\n *   when the visitor prefers reduced motion, and on the Framer canvas.\n * - Nothing about the props, controls or visual output changed.\n */// Flip to true if you want the blobs to animate while you design on the canvas.\nconst ANIMATE_ON_CANVAS=false;export default function GradientText(props){const{text,fontFamily,fontSize,fontWeight,letterSpacing,lineHeight,textAlign,baseColorStart,baseColorEnd,color1,color2,color3,speed}=props;// Helper: Convert generic color strings to RGB numbers for CSS.\n// Handles rgb()/rgba(), 3-, 4-, 6- and 8-digit hex, and Framer color\n// tokens like `var(--token-…, rgb(67, 56, 202))`.\nconst toRgb=colorString=>{if(!colorString)return\"255, 255, 255\";const value=String(colorString);const rgbMatch=value.match(/rgba?\\(\\s*([\\d.]+)[,\\s]+([\\d.]+)[,\\s]+([\\d.]+)/i);if(rgbMatch){return`${Math.round(+rgbMatch[1])}, ${Math.round(+rgbMatch[2])}, ${Math.round(+rgbMatch[3])}`;}const hexMatch=value.match(/#([0-9a-f]{3,8})/i);if(hexMatch){let hex=hexMatch[1];if(hex.length===3||hex.length===4){hex=hex.slice(0,3).split(\"\").map(c=>c+c).join(\"\");}const int=parseInt(hex.slice(0,6),16);if(!Number.isNaN(int)){return`${int>>16&255}, ${int>>8&255}, ${int&255}`;}}return\"255, 255, 255\";};const ref=React.useRef(null);const isCanvas=RenderTarget.current()===RenderTarget.canvas;// Animation Loop\nReact.useEffect(()=>{const element=ref.current;if(!element)return;if(typeof window===\"undefined\")return;if(isCanvas&&!ANIMATE_ON_CANVAS)return;if(!speed)return;const prefersReducedMotion=typeof window.matchMedia===\"function\"&&window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;if(prefersReducedMotion)return;let frameId=0;let time=0;const speedFactor=speed/1e3;const animate=()=>{time+=speedFactor;// Calculate blob positions\nconst x1=50+Math.sin(time)*40;const y1=50+Math.cos(time*.9)*40;const x2=50+Math.cos(time*1.2)*40;const y2=50+Math.sin(time*1.1)*40;const x3=50+Math.sin(time*.7+2)*40;const y3=50+Math.cos(time*.8+2)*40;element.style.setProperty(\"--x1\",`${x1}%`);element.style.setProperty(\"--y1\",`${y1}%`);element.style.setProperty(\"--x2\",`${x2}%`);element.style.setProperty(\"--y2\",`${y2}%`);element.style.setProperty(\"--x3\",`${x3}%`);element.style.setProperty(\"--y3\",`${y3}%`);frameId=requestAnimationFrame(animate);};const start=()=>{if(!frameId)frameId=requestAnimationFrame(animate);};const stop=()=>{if(frameId){cancelAnimationFrame(frameId);frameId=0;}};let observer=null;if(\"IntersectionObserver\"in window){observer=new IntersectionObserver(entries=>{if(entries[0]?.isIntersecting)start();else stop();},{rootMargin:\"150px 0px\",threshold:0});observer.observe(element);}else{start();}return()=>{stop();observer?.disconnect();};},[speed,isCanvas]);const rgb1=toRgb(color1);const rgb2=toRgb(color2);const rgb3=toRgb(color3);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:textAlign===\"left\"?\"flex-start\":textAlign===\"right\"?\"flex-end\":\"center\"},children:/*#__PURE__*/_jsx(\"span\",{ref:ref,style:{margin:0,fontFamily:fontFamily,fontSize:fontSize,fontWeight:fontWeight,letterSpacing:letterSpacing,lineHeight:lineHeight,textAlign:textAlign,whiteSpace:\"pre-wrap\",width:\"100%\",// 1. FIX CLIPPING:\n// We add padding so descenders (g, y, j) aren't cut by the bounding box.\npaddingTop:\"0.1em\",paddingBottom:\"0.2em\",color:\"transparent\",backgroundClip:\"text\",WebkitBackgroundClip:\"text\",// 2. FIX TRANSPARENCY:\n// We stack the gradients.\n// The last item in the list is the BOTTOM layer.\n// We put a solid linear-gradient at the bottom so no transparency ever shows.\nbackgroundImage:`\n                        radial-gradient(circle at var(--x1, 50%) var(--y1, 50%), rgba(${rgb1}, 1) 0%, rgba(${rgb1}, 0) 50%),\n                        radial-gradient(circle at var(--x2, 80%) var(--y2, 20%), rgba(${rgb2}, 1) 0%, rgba(${rgb2}, 0) 50%),\n                        radial-gradient(circle at var(--x3, 20%) var(--y3, 80%), rgba(${rgb3}, 1) 0%, rgba(${rgb3}, 0) 50%),\n                        linear-gradient(to right, ${baseColorStart}, ${baseColorEnd})\n                    `,// Standard blend to mix blobs with the base\nbackgroundBlendMode:\"normal\",backgroundSize:\"150% 150%\"},children:text})});}addPropertyControls(GradientText,{text:{type:ControlType.String,defaultValue:\"Solid Mask\",displayTextArea:true,title:\"Content\"},fontFamily:{type:ControlType.String,defaultValue:\"Inter\",title:\"Font Family\"},fontSize:{type:ControlType.Number,defaultValue:120,min:10,max:500,title:\"Size\"},fontWeight:{type:ControlType.Number,defaultValue:800,min:100,max:900,step:100,title:\"Weight\"},textAlign:{type:ControlType.Enum,options:[\"left\",\"center\",\"right\"],defaultValue:\"center\",title:\"Align\",displaySegmentedControl:true},letterSpacing:{type:ControlType.Number,defaultValue:-2,title:\"Spacing\"},lineHeight:{type:ControlType.Number,defaultValue:1.1,step:.1,title:\"Line Height\"},speed:{type:ControlType.Number,defaultValue:15,min:0,max:100,title:\"Speed\"},// Base Gradient Controls (Ensures opacity)\nbaseColorStart:{type:ControlType.Color,defaultValue:\"#4338ca\",title:\"Base Start\"},baseColorEnd:{type:ControlType.Color,defaultValue:\"#3b82f6\",title:\"Base End\"},// Floating Blob Colors\ncolor1:{type:ControlType.Color,defaultValue:\"rgb(255, 0, 128)\",title:\"Blob 1\"},color2:{type:ControlType.Color,defaultValue:\"rgb(128, 0, 255)\",title:\"Blob 2\"},color3:{type:ControlType.Color,defaultValue:\"rgb(0, 255, 255)\",title:\"Blob 3\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GradientText\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GradientText.map","// Generated by Framer (c0d7099)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOMV2;Satoshi Medium Italic\",\"CUSTOMV2;Satoshi Bold\",\"CUSTOMV2;Satoshi Bold Italic\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Satoshi Medium Italic\",source:\"custom\",style:\"normal\",uiFamilyName:\"Satoshi\",url:\"https://framerusercontent.com/assets/7AZsLJLgcKKOM3D9RhtJptRY.woff2\",weight:\"500\"},{cssFamilyName:\"Satoshi Bold\",source:\"custom\",style:\"normal\",uiFamilyName:\"Satoshi\",url:\"https://framerusercontent.com/assets/49nn5wajwTdLi5telQzvjmGNc.woff2\",weight:\"700\"},{cssFamilyName:\"Satoshi Bold Italic\",source:\"custom\",style:\"italic\",uiFamilyName:\"Satoshi\",url:\"https://framerusercontent.com/assets/CG6kqUPNTBiTqgSzrGvDdU0g3M.woff2\",weight:\"700\"}]}];export const css=['.framer-3ZlxW .framer-styles-preset-440h0o:not(.rich-text-wrapper), .framer-3ZlxW .framer-styles-preset-440h0o.rich-text-wrapper h2 { --framer-font-family: \"Satoshi Medium Italic\", \"Satoshi Medium Italic Placeholder\", sans-serif; --framer-font-family-bold: \"Satoshi Bold\", \"Satoshi Bold Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Satoshi Bold Italic\", \"Satoshi Bold Italic Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 32px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 40px; --framer-text-alignment: left; --framer-text-color: var(--token-c67b86e5-367e-4662-8871-daa0ede9d832, #ffffff); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-3ZlxW .framer-styles-preset-440h0o:not(.rich-text-wrapper), .framer-3ZlxW .framer-styles-preset-440h0o.rich-text-wrapper h2 { --framer-font-family: \"Satoshi Medium Italic\", \"Satoshi Medium Italic Placeholder\", sans-serif; --framer-font-family-bold: \"Satoshi Bold\", \"Satoshi Bold Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Satoshi Bold Italic\", \"Satoshi Bold Italic Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 32px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 40px; --framer-text-alignment: left; --framer-text-color: var(--token-c67b86e5-367e-4662-8871-daa0ede9d832, #ffffff); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-3ZlxW .framer-styles-preset-440h0o:not(.rich-text-wrapper), .framer-3ZlxW .framer-styles-preset-440h0o.rich-text-wrapper h2 { --framer-font-family: \"Satoshi Medium Italic\", \"Satoshi Medium Italic Placeholder\", sans-serif; --framer-font-family-bold: \"Satoshi Bold\", \"Satoshi Bold Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Satoshi Bold Italic\", \"Satoshi Bold Italic Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 20px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 40px; --framer-text-alignment: left; --framer-text-color: var(--token-c67b86e5-367e-4662-8871-daa0ede9d832, #ffffff); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-3ZlxW\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,8MAa8B,SAAwBc,EAAa,EAAM,CAAC,GAAK,CAAC,OAAK,aAAW,WAAS,aAAW,gBAAc,aAAW,YAAU,iBAAe,eAAa,SAAO,SAAO,SAAO,SAAOC,EAGzMC,EAAM,GAAa,CAAC,GAAG,CAACC,EAAY,MAAM,gBAAgB,IAAMC,EAAM,OAAOD,CAAW,EAAQE,EAASD,EAAM,MAAM,iDAAiD,EAAE,GAAGC,EAAU,MAAM,GAAG,KAAK,MAAM,CAACA,EAAS,EAAE,EAAE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