{"version":3,"file":"Text_highlight.8SWXODPs.mjs","names":["X","Image","className","useRef"],"sources":["https:/framerusercontent.com/modules/9MQ6SXKuLRlQOyh2zixz/3ha8NBcrxE45yyrmDnEN/LVsoY9Suj.js","https:/framerusercontent.com/modules/1ktSSXMvrZFHLWnFDBr2/T1nGubnH0WE90yWhJp5U/Text_highlight.js"],"sourcesContent":["// Generated by Framer (c563d2c)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getFontsFromSharedStyle,getLoadingLazyAtYPosition,Image,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/5K6O9Btd106GqDBfH54N/hssyknn0QSyX5x0z4ieU/jhrfQgOSZ.js\";import X from\"https://framerusercontent.com/modules/MSvd5GeecLfjz6xcCqtV/ilFVtYZ7eoDhyk2P0bc4/XXLxkQqyE.js\";const XFonts=getFonts(X);const cycleOrder=[\"WQYWv0gDA\",\"FXJBZqT_A\",\"gX0hNOaiy\",\"IVPhWqhNE\"];const serializationHash=\"framer-FuJbB\";const variantClassNames={FXJBZqT_A:\"framer-v-kflmcw\",gX0hNOaiy:\"framer-v-15wi0pr\",IVPhWqhNE:\"framer-v-r1kukx\",WQYWv0gDA:\"framer-v-i8xz0u\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const transition1={bounce:.1,delay:0,duration:1,type:\"spring\"};const transition2={duration:0,type:\"tween\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={\"Variant 1\":\"WQYWv0gDA\",\"Variant 2\":\"FXJBZqT_A\",\"Variant 4\":\"IVPhWqhNE\",tab:\"gX0hNOaiy\"};const getProps=({bodyText,height,id,image,title,width,...props})=>{return{...props,N7c8Xj8pY:bodyText??props.N7c8Xj8pY??\"Led by Happy Crew founder Amy Mays, our signature workshops help teams discover deeper meaning in their work. Drawing from 30+ years of experience, Amy guides organizations in strengthening connection, enhancing retention, and unlocking team potential.\",RdXyqxpVe:image??props.RdXyqxpVe??{src:\"https://framerusercontent.com/images/EkYBoSPE0RQh1nHNS68AZ1V8wLo.jpg?scale-down-to=1024\",srcSet:\"https://framerusercontent.com/images/EkYBoSPE0RQh1nHNS68AZ1V8wLo.jpg?scale-down-to=1024 682w,https://framerusercontent.com/images/EkYBoSPE0RQh1nHNS68AZ1V8wLo.jpg?scale-down-to=2048 1365w,https://framerusercontent.com/images/EkYBoSPE0RQh1nHNS68AZ1V8wLo.jpg 2624w\"},variant:humanReadableVariantMap[props.variant]??props.variant??\"WQYWv0gDA\",WxbQguNX4:title??props.WxbQguNX4??\"Team Transformation\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,RdXyqxpVe,WxbQguNX4,N7c8Xj8pY,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"WQYWv0gDA\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onMouseEnter17bezsl=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});setVariant(\"FXJBZqT_A\");});const onMouseLeavenzrhf6=activeVariantCallback(async(...args)=>{setGestureState({isHovered:false});setVariant(\"WQYWv0gDA\");});const onTap1ypruua=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});setVariant(\"IVPhWqhNE\");});const onTaprnqtnm=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});setVariant(\"gX0hNOaiy\");});const XbeEp2Wvx1thgv4p=activeVariantCallback(async(...args)=>{setVariant(\"gX0hNOaiy\");});const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,...addPropertyOverrides({gX0hNOaiy:{value:transition2}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(Image,{...restProps,...gestureHandlers,background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:3936,pixelWidth:2624,sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(RdXyqxpVe)},className:cx(scopingClassNames,\"framer-i8xz0u\",className,classNames),\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"WQYWv0gDA\",onMouseEnter:onMouseEnter17bezsl,ref:ref??ref1,style:{borderBottomLeftRadius:16,borderBottomRightRadius:16,borderTopLeftRadius:16,borderTopRightRadius:16,...style},...addPropertyOverrides({FXJBZqT_A:{\"data-framer-name\":\"Variant 2\",onMouseLeave:onMouseLeavenzrhf6},gX0hNOaiy:{\"data-framer-name\":\"tab\",onMouseEnter:undefined,onTap:onTap1ypruua},IVPhWqhNE:{\"data-framer-name\":\"Variant 4\",onMouseEnter:undefined,onTap:onTaprnqtnm}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-6fu1d1\",layoutDependency:layoutDependency,layoutId:\"EW_teyMCz\",style:{backdropFilter:\"blur(0px)\",backgroundColor:\"rgba(54, 54, 54, 0.3)\",borderBottomLeftRadius:16,borderBottomRightRadius:16,borderTopLeftRadius:16,borderTopRightRadius:16,filter:\"blur(0px)\",WebkitBackdropFilter:\"blur(0px)\",WebkitFilter:\"blur(0px)\"},variants:{FXJBZqT_A:{backdropFilter:\"blur(9px)\",backgroundColor:\"rgba(69, 69, 69, 0.8)\",WebkitBackdropFilter:\"blur(9px)\"},IVPhWqhNE:{backdropFilter:\"blur(9px)\",backgroundColor:\"rgba(69, 69, 69, 0.8)\",WebkitBackdropFilter:\"blur(9px)\"}},children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1dak1ql\",\"data-framer-name\":\"Top\",layoutDependency:layoutDependency,layoutId:\"lMk7yuVy1\",children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-19hsw73\",\"data-border\":true,\"data-framer-name\":\"Title\",layoutDependency:layoutDependency,layoutId:\"DPQy8gJQO\",style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-4d0d4f98-3ebf-426d-bada-45279dcf84ce, rgb(244, 152, 73))\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"rgba(244, 152, 72, 0)\",borderBottomLeftRadius:50,borderBottomRightRadius:50,borderTopLeftRadius:50,borderTopRightRadius:50},variants:{FXJBZqT_A:{backgroundColor:\"rgb(244, 152, 72)\"},IVPhWqhNE:{backgroundColor:\"rgb(244, 152, 72)\"}},children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-bc096c20-a81a-486c-a609-6842c03ff7ee, rgb(251, 250, 247)))\"},children:\"Team Transformation\"})}),className:\"framer-s8hy9y\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"h87PqmI_6\",style:{\"--extracted-r6o4lv\":\"var(--token-bc096c20-a81a-486c-a609-6842c03ff7ee, rgb(251, 250, 247))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:WxbQguNX4,verticalAlignment:\"top\",withExternalLayout:true})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1tvql4j\",\"data-framer-name\":\"+\",layoutDependency:layoutDependency,layoutId:\"WWFeMsoFo\",style:{backgroundColor:\"var(--token-6e2150ce-de84-46b5-bc15-2b06bcea0aa5, rgb(95, 119, 83))\",borderBottomLeftRadius:40,borderBottomRightRadius:40,borderTopLeftRadius:40,borderTopRightRadius:40},children:/*#__PURE__*/_jsx(ComponentViewportProvider,{height:43,y:(componentViewport?.y||0)+0+0+24+(0+0+(Math.max(0,((componentViewport?.height||550)-0-0)/1)*1-48-215.2)/1*0)+.10000000000000142+8+0,...addPropertyOverrides({gX0hNOaiy:{y:(componentViewport?.y||0)+0+0+24+(0+0+(Math.max(0,((componentViewport?.height||300)-0-0)/1)*1-48-215.2)/1*0)+.10000000000000142+8+0},IVPhWqhNE:{y:(componentViewport?.y||0)+0+0+24+(0+0+(Math.max(0,((componentViewport?.height||300)-0-0)/1)*1-48-215.2)/1*0)+.10000000000000142+8+0}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-imene7-container\",layoutDependency:layoutDependency,layoutId:\"A2A6NA0O5-container\",style:{rotate:0},variants:{FXJBZqT_A:{rotate:-45},gX0hNOaiy:{rotate:0},IVPhWqhNE:{rotate:-45}},children:/*#__PURE__*/_jsx(X,{height:\"100%\",id:\"A2A6NA0O5\",layoutId:\"A2A6NA0O5\",variant:\"GTWf7cHHB\",width:\"100%\",...addPropertyOverrides({IVPhWqhNE:{XbeEp2Wvx:XbeEp2Wvx1thgv4p}},baseVariant,gestureVariant)})})})})]}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1y6cl1m\",\"data-styles-preset\":\"jhrfQgOSZ\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-bc096c20-a81a-486c-a609-6842c03ff7ee, rgb(251, 250, 247)))\"},children:\"Led by Happy Crew founder Amy Mays, our signature workshops help teams discover deeper meaning in their work. Drawing from 30+ years of experience, Amy guides organizations in strengthening connection, enhancing retention, and unlocking team potential.\"})}),className:\"framer-ib2ir6\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"aa5MC9DNC\",style:{\"--extracted-r6o4lv\":\"var(--token-bc096c20-a81a-486c-a609-6842c03ff7ee, rgb(251, 250, 247))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",opacity:0},text:N7c8Xj8pY,variants:{FXJBZqT_A:{opacity:1},IVPhWqhNE:{opacity:1}},verticalAlignment:\"top\",withExternalLayout:true})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-FuJbB.framer-1vlcvj2, .framer-FuJbB .framer-1vlcvj2 { display: block; }\",\".framer-FuJbB.framer-i8xz0u { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 550px; justify-content: flex-start; padding: 0px; position: relative; width: 432px; }\",\".framer-FuJbB .framer-6fu1d1 { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; height: 1px; justify-content: space-between; overflow: visible; padding: 24px; position: relative; width: 100%; z-index: 1; }\",\".framer-FuJbB .framer-1dak1ql { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; height: min-content; justify-content: space-between; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-FuJbB .framer-19hsw73 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: 20px 25px 20px 25px; position: relative; width: min-content; }\",\".framer-FuJbB .framer-s8hy9y { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-FuJbB .framer-1tvql4j { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: 8px; position: relative; width: min-content; }\",\".framer-FuJbB .framer-imene7-container { flex: none; height: auto; position: relative; width: auto; }\",\".framer-FuJbB .framer-ib2ir6 { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-FuJbB.framer-i8xz0u, .framer-FuJbB .framer-19hsw73, .framer-FuJbB .framer-1tvql4j { gap: 0px; } .framer-FuJbB.framer-i8xz0u > *, .framer-FuJbB .framer-1tvql4j > * { margin: 0px; margin-bottom: calc(10px / 2); margin-top: calc(10px / 2); } .framer-FuJbB.framer-i8xz0u > :first-child, .framer-FuJbB .framer-1tvql4j > :first-child { margin-top: 0px; } .framer-FuJbB.framer-i8xz0u > :last-child, .framer-FuJbB .framer-1tvql4j > :last-child { margin-bottom: 0px; } .framer-FuJbB .framer-19hsw73 > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-FuJbB .framer-19hsw73 > :first-child { margin-left: 0px; } .framer-FuJbB .framer-19hsw73 > :last-child { margin-right: 0px; } }\",\".framer-FuJbB.framer-v-15wi0pr.framer-i8xz0u { cursor: pointer; height: 300px; width: 539px; }\",\".framer-FuJbB.framer-v-r1kukx.framer-i8xz0u { cursor: pointer; height: 300px; width: 592px; }\",...sharedStyle.css,'.framer-FuJbB[data-border=\"true\"]::after, .framer-FuJbB [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 550\n * @framerIntrinsicWidth 432\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"FXJBZqT_A\":{\"layout\":[\"fixed\",\"fixed\"]},\"gX0hNOaiy\":{\"layout\":[\"fixed\",\"fixed\"]},\"IVPhWqhNE\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"RdXyqxpVe\":\"image\",\"WxbQguNX4\":\"title\",\"N7c8Xj8pY\":\"bodyText\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerLVsoY9Suj=withCSS(Component,css,\"framer-FuJbB\");export default FramerLVsoY9Suj;FramerLVsoY9Suj.displayName=\"Membership Benefit Card\";FramerLVsoY9Suj.defaultProps={height:550,width:432};addPropertyControls(FramerLVsoY9Suj,{variant:{options:[\"WQYWv0gDA\",\"FXJBZqT_A\",\"gX0hNOaiy\",\"IVPhWqhNE\"],optionTitles:[\"Variant 1\",\"Variant 2\",\"tab\",\"Variant 4\"],title:\"Variant\",type:ControlType.Enum},RdXyqxpVe:{__defaultAssetReference:\"data:framer/asset-reference,EkYBoSPE0RQh1nHNS68AZ1V8wLo.jpg?originalFilename=toa-heftiba-QnUywvDdI1o-unsplash.jpg&preferredSize=auto\",title:\"Image\",type:ControlType.ResponsiveImage},WxbQguNX4:{defaultValue:\"Team Transformation\",displayTextArea:false,title:\"Title\",type:ControlType.String},N7c8Xj8pY:{defaultValue:\"Led by Happy Crew founder Amy Mays, our signature workshops help teams discover deeper meaning in their work. Drawing from 30+ years of experience, Amy guides organizations in strengthening connection, enhancing retention, and unlocking team potential.\",displayTextArea:false,title:\"body text\",type:ControlType.String}});addFonts(FramerLVsoY9Suj,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",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/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",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/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...XFonts,...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerLVsoY9Suj\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"550\",\"framerVariables\":\"{\\\"RdXyqxpVe\\\":\\\"image\\\",\\\"WxbQguNX4\\\":\\\"title\\\",\\\"N7c8Xj8pY\\\":\\\"bodyText\\\"}\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"432\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"FXJBZqT_A\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"gX0hNOaiy\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"IVPhWqhNE\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerImmutableVariables\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Get Started: https://www.framer.com/developers\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion,useScroll,useTransform}from\"framer-motion\";import{useRef}from\"react\";const EachWord=({word,starting,ending,progress})=>{const ref=useRef();const progressVal=useTransform(progress,[starting,ending],[.2,1],{clamp:true,ease:t=>t*t});return /*#__PURE__*/_jsxs(motion.span,{style:{opacity:progressVal},children:[word,\" \"]});};/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function Text_Opacity_Words(props){const text=props.text;const words=text.split(\" \");const totalWords=words.length;const ref=useRef(null);const{scrollYProgress}=useScroll({target:ref,offset:[\"start 0.90\",\"start 0.10\"]});return /*#__PURE__*/_jsx(\"p\",{ref:ref,style:{...props.font,color:props.textColor},children:words.map((word,idx)=>{const starting=idx/totalWords;const ending=(idx+1)/totalWords;return /*#__PURE__*/_jsx(EachWord,{word:word,starting:starting,ending:ending,progress:scrollYProgress});})});}addPropertyControls(Text_Opacity_Words,{text:{title:\"Text\",type:ControlType.String,defaultValue:\"Hello\"},font:{type:\"font\",controls:\"extended\"},textColor:{type:ControlType.Color}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Text_Opacity_Words\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Text_highlight.map"],"mappings":"i2BACk4B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,KAAkB,CAAe,qEAA/b,EAAO,EAASA,GAAS,EAAW,CAAC,YAAY,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,kBAAkB,UAAU,kBAAkB,CAA8L,EAAkB,GAAW,OAAO,GAAQ,UAAU,GAAc,OAAO,EAAM,KAAM,SAAiB,EAAc,OAAO,GAAQ,SAAS,CAAC,IAAI,EAAM,CAAC,IAAA,GAAkB,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,EAAE,KAAK,SAAS,CAAO,EAAY,CAAC,SAAS,EAAE,KAAK,QAAQ,CAAO,GAAY,CAAC,QAAM,WAAS,GAAG,CAAC,IAAM,EAAA,EAAwB,GAA2B,EAAW,GAAO,EAA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