{"version":3,"file":"Text_effect.CM94oamE.mjs","names":["useRef","useRef","useState","useMemo"],"sources":["https:/framerusercontent.com/modules/fKlk89ZXjKPAUDq7JN9r/az7BqVnBG5mogPOghLqO/LhCvC4rWn.js","https:/framerusercontent.com/modules/CZxQzJaDKGURQfx5KD3e/HKqZZn7Tik3FEqhWV89L/Text_effect_code_override.js","https:/framerusercontent.com/modules/LGUhGSkvRw4JvQ0gi7YT/RBeGbLfOfYmuuDpotlXJ/Text_effect.js"],"sourcesContent":["// Generated by Framer (686ceb7)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FR;InterDisplay-Medium\",\"Inter-Bold\",\"Inter-BoldItalic\",\"Inter-Italic\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Inter Display\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter Display\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/ePuN3mCjzajIHnyCdvKBFiZkyY0.woff2\",weight:\"500\"},{cssFamilyName:\"Inter Display\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter Display\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/V3j1L0o5vPFKe26Sw4HcpXCfHo.woff2\",weight:\"500\"},{cssFamilyName:\"Inter Display\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter Display\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/F3kdpd2N0cToWV5huaZjjgM.woff2\",weight:\"500\"},{cssFamilyName:\"Inter Display\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter Display\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/0iDmxkizU9goZoclqIqsV5rvETU.woff2\",weight:\"500\"},{cssFamilyName:\"Inter Display\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter Display\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/r0mv3NegmA0akcQsNFotG32Las.woff2\",weight:\"500\"},{cssFamilyName:\"Inter Display\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter Display\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/iwWTDc49ENF2tCHbqlNARXw6Ug.woff2\",weight:\"500\"},{cssFamilyName:\"Inter Display\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter Display\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/Ii21jnSJkulBKsHHXKlapi7fv9w.woff2\",weight:\"500\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/DpPBYI0sL4fYLgAkX8KXOPVt7c.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/4RAEQdEOrcnDkhHiiCbJOw92Lk.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/1K3W8DizY3v4emK8Mb08YHxTbs.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/tUSCtfYVM1I1IchuyCwz9gDdQ.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/VgYFWiwsAC5OYxAycRXXvhze58.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/syRNPWzAMIrcJ3wIlPIP43KjQs.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/GIryZETIX4IFypco5pYZONKhJIo.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/H89BbHkbHDzlxZzxi8uPzTsp90.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/u6gJwDuwB143kpNK1T1MDKDWkMc.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/43sJ6MfOPh1LCJt46OvyDuSbA6o.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/wccHG0r4gBDAIRhfHiOlq6oEkqw.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/WZ367JPwf9bRW6LdTHN8rXgSjw.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/ia3uin3hQWqDrVloC1zEtYHWw.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/2A4Xx7CngadFGlVV4xrO06OBHY.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/CfMzU8w2e7tHgF4T4rATMPuWosA.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/867QObYax8ANsfX4TGEVU9YiCM.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Oyn2ZbENFdnW7mt2Lzjk1h9Zb9k.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/cdAe8hgZ1cMyLu9g005pAW3xMo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/DOfvtmE1UplCq161m6Hj8CSQYg.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/pKRFNWFoZl77qYCAIp84lN1h944.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/tKtBcDnBMevsEEJKdNGhhkLzYo.woff2\",weight:\"400\"}]}];export const css=['.framer-bGinE .framer-styles-preset-42jjxe:not(.rich-text-wrapper), .framer-bGinE .framer-styles-preset-42jjxe.rich-text-wrapper p { --framer-font-family: \"Inter Display\", \"Inter Display Placeholder\", sans-serif; --framer-font-family-bold: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-family-italic: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-open-type-features: \\'salt\\' on; --framer-font-size: 20px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-4916dfc5-c869-4cd0-b6fe-662286d539c1, rgba(0, 0, 0, 0.6)); --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-bGinE .framer-styles-preset-42jjxe:not(.rich-text-wrapper), .framer-bGinE .framer-styles-preset-42jjxe.rich-text-wrapper p { --framer-font-family: \"Inter Display\", \"Inter Display Placeholder\", sans-serif; --framer-font-family-bold: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-family-italic: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-open-type-features: \\'salt\\' on; --framer-font-size: 18px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-4916dfc5-c869-4cd0-b6fe-662286d539c1, rgba(0, 0, 0, 0.6)); --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-bGinE .framer-styles-preset-42jjxe:not(.rich-text-wrapper), .framer-bGinE .framer-styles-preset-42jjxe.rich-text-wrapper p { --framer-font-family: \"Inter Display\", \"Inter Display Placeholder\", sans-serif; --framer-font-family-bold: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-family-italic: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-open-type-features: \\'salt\\' on; --framer-font-size: 18px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-4916dfc5-c869-4cd0-b6fe-662286d539c1, rgba(0, 0, 0, 0.6)); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-bGinE\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{useRef}from\"react\";import{useScroll,useTransform,useMotionTemplate}from\"framer-motion\";// ─────────────────────────────────────────────────────────────\n// CONFIG — overrides can't show property controls, so tune here.\n// ─────────────────────────────────────────────────────────────\nconst CONFIG={angle:115,softness:40,dimmedOpacity:.12,scrollStart:.15,scrollEnd:.65};// ─────────────────────────────────────────────────────────────\nexport function withDiagonalReveal(Component){return props=>{const ref=useRef(null);// 0 = element top hits viewport bottom (just entering)\n// 1 = element bottom hits viewport top (just leaving)\nconst{scrollYProgress}=useScroll({target:ref,offset:[\"start end\",\"end start\"]});// Map the active scroll range to 0–1 reveal progress.\nconst revealProgress=useTransform(scrollYProgress,[CONFIG.scrollStart,CONFIG.scrollEnd],[0,1],{clamp:true});// The gradient's end stop sweeps across; the start stop trails it\n// by `softness` to create the smooth transition band.\nconst endStop=useTransform(revealProgress,[0,1],[-10,140]);const startStop=useTransform(endStop,v=>v-CONFIG.softness);const maskImage=useMotionTemplate`linear-gradient(${CONFIG.angle}deg, rgba(0,0,0,1) ${startStop}%, rgba(0,0,0,${CONFIG.dimmedOpacity}) ${endStop}%)`;return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,WebkitMaskImage:maskImage,maskImage:maskImage,WebkitMaskRepeat:\"no-repeat\",maskRepeat:\"no-repeat\",WebkitMaskSize:\"100% 100%\",maskSize:\"100% 100%\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withDiagonalReveal\":{\"type\":\"reactHoc\",\"name\":\"withDiagonalReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Text_effect_code_override.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion,useScroll,useTransform,useSpring}from\"framer-motion\";import{useRef,useMemo,useState,useLayoutEffect}from\"react\";/**\n * DIAGONAL SCROLL REVEAL TEXT — PER CHARACTER\n * Each character fades in individually based on its position along a\n * diagonal sweep, tied to scroll progress. Use \"---\" on its own line\n * to separate paragraphs.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */function smootherstep(t){const x=Math.min(1,Math.max(0,t));return x*x*x*(x*(x*6-15)+10);}// One character. Its opacity is derived from the shared progress value\n// and its own normalized position (d) along the diagonal.\nfunction Char({char,d,progress,band,dimmedOpacity}){const opacity=useTransform(progress,p=>{if(d===null)return dimmedOpacity// not measured yet\n;const edge=p*(1+band);const t=smootherstep((edge-d)/band);return dimmedOpacity+(1-dimmedOpacity)*t;});return /*#__PURE__*/_jsx(motion.span,{\"data-char\":\"\",style:{opacity,display:\"inline-block\"},children:char===\" \"?\"\\xa0\":char});}export default function DiagonalScrollReveal(props){const{content,paragraphGap,tag,font,color,textAlign,textTransform,textWrap,angle,softness,dimmedOpacity,smoothing,scrollStart,scrollEnd}=props;const ref=useRef(null);const[positions,setPositions]=useState([]);const{scrollYProgress}=useScroll({target:ref,offset:[\"start end\",\"end start\"]});const rawProgress=useTransform(scrollYProgress,[scrollStart,scrollEnd],[0,1],{clamp:true});const progress=useSpring(rawProgress,{stiffness:220-smoothing*1.6,damping:40,mass:.6});const band=Math.max(.05,softness/100);// Split content into paragraphs, paragraphs into words,\n// words into characters.\nconst paragraphs=useMemo(()=>{if(!content)return[];return content.split(/\\n?\\s*---\\s*\\n?/).map(p=>p.trim()).filter(p=>p.length>0).map(p=>p.split(/\\s+/));},[content]);// Measure every character's center, project it onto the diagonal\n// direction, and normalize 0–1. Re-runs on resize / content / font.\nuseLayoutEffect(()=>{const el=ref.current;if(!el)return;const measure=()=>{const containerRect=el.getBoundingClientRect();const chars=el.querySelectorAll(\"[data-char]\");if(!chars.length)return;const rad=angle*Math.PI/180;// CSS gradient convention: 0deg = up, 90deg = right\nconst dx=Math.sin(rad);const dy=-Math.cos(rad);const raw=[];chars.forEach(c=>{const r=c.getBoundingClientRect();const x=r.left+r.width/2-containerRect.left;const y=r.top+r.height/2-containerRect.top;raw.push(x*dx+y*dy);});const min=Math.min(...raw);const max=Math.max(...raw);const span=max-min||1;setPositions(raw.map(v=>(v-min)/span));};measure();// Re-measure once webfonts finish loading (metrics change)\nif(document.fonts?.ready)document.fonts.ready.then(measure);const ro=new ResizeObserver(measure);ro.observe(el);return()=>ro.disconnect();},[content,angle,font,textTransform,textWrap,paragraphGap,tag]);const Tag=tag||\"div\";const tagStyle={margin:0,padding:0,color,textAlign,textTransform,textWrap,...font};// Global running index so each char maps to its measured position\nlet charIndex=-1;return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",gap:`${paragraphGap}px`},children:paragraphs.map((words,pi)=>/*#__PURE__*/_jsx(Tag,{style:tagStyle,children:words.map((word,wi)=>/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-block\",whiteSpace:\"nowrap\"},children:[word.split(\"\").map((ch,ci)=>{charIndex++;return /*#__PURE__*/_jsx(Char,{char:ch,d:positions[charIndex]??null,progress:progress,band:band,dimmedOpacity:dimmedOpacity},ci);}),wi<words.length-1&&(()=>{charIndex++;return /*#__PURE__*/_jsx(Char,{char:\" \",d:positions[charIndex]??null,progress:progress,band:band,dimmedOpacity:dimmedOpacity});})()]},wi))},pi))});}DiagonalScrollReveal.defaultProps={content:\"Great founders changing the world deserve a presence as powerful as what they're building. Most founders we work with are building something significant but their presence doesn't show it yet.\\n---\\nThat gap costs more than revenue. It costs the certainty that your brand is finally being understood.\",paragraphGap:32,tag:\"h2\",color:\"#F1EBDD\",textAlign:\"left\",textTransform:\"none\",textWrap:\"balance\",angle:105,softness:35,dimmedOpacity:.12,smoothing:50,scrollStart:.1,scrollEnd:.7};addPropertyControls(DiagonalScrollReveal,{content:{type:ControlType.String,title:\"Content\",displayTextArea:true,description:\"Use --- on a new line to start a new paragraph\"},paragraphGap:{type:ControlType.Number,title:\"Gap\",min:0,max:200,step:1,unit:\"px\",defaultValue:32},tag:{type:ControlType.Enum,title:\"Tag\",options:[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"p\",\"span\",\"div\"],optionTitles:[\"H1\",\"H2\",\"H3\",\"H4\",\"H5\",\"H6\",\"P\",\"Span\",\"Div\"],defaultValue:\"h2\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:64,variant:\"Bold\",lineHeight:\"1.1em\",letterSpacing:\"-0.02em\"}},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#F1EBDD\"},textAlign:{type:ControlType.Enum,title:\"Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],displaySegmentedControl:true,defaultValue:\"left\"},textTransform:{type:ControlType.Enum,title:\"Transform\",options:[\"none\",\"uppercase\",\"lowercase\",\"capitalize\"],optionTitles:[\"None\",\"AA\",\"aa\",\"Aa\"],displaySegmentedControl:true,defaultValue:\"none\"},textWrap:{type:ControlType.Enum,title:\"Wrap\",options:[\"wrap\",\"balance\",\"pretty\",\"nowrap\"],optionTitles:[\"Default\",\"Balance\",\"Pretty\",\"No Wrap\"],defaultValue:\"balance\"},angle:{type:ControlType.Number,title:\"Reveal Angle\",min:0,max:360,step:1,unit:\"\\xb0\",defaultValue:105},softness:{type:ControlType.Number,title:\"Softness\",description:\"How many characters are mid-fade at once\",min:5,max:100,step:1,unit:\"%\",defaultValue:35},dimmedOpacity:{type:ControlType.Number,title:\"Dimmed Opacity\",min:0,max:1,step:.01,defaultValue:.12},smoothing:{type:ControlType.Number,title:\"Smoothing\",description:\"How much the reveal lags/glides behind scroll\",min:0,max:100,step:1,defaultValue:50},scrollStart:{type:ControlType.Number,title:\"Scroll Start\",min:0,max:1,step:.01,defaultValue:.1},scrollEnd:{type:ControlType.Number,title:\"Scroll End\",min:0,max:1,step:.01,defaultValue:.7}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DiagonalScrollReveal\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Text_effect.map"],"mappings":"gTAC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