{"version":3,"file":"TextHighlighter.DaazHAdc.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","className","RichText","Image","sharedStyle.css","sharedStyle.fonts"],"sources":["https:/framerusercontent.com/modules/dc1O8Z0KuBElV2YoSbX9/HwpvcxynlC6gx3IFQYnZ/uMZLIGX9l.js","https:/framerusercontent.com/modules/bqw6S7x7KiVhKwuZb92T/FHXXU25F9GQB1ovHOPAa/TextHighlighter.js"],"sourcesContent":["// Generated by Framer (1b27997)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getFontsFromSharedStyle,getLoadingLazyAtYPosition,Image,Link,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import TextGlitch from\"https://framerusercontent.com/modules/BYKGUbAHdDSCZHjUWrvm/3sxhWSqiH0SFCBtR1iZk/TextGlitch_Prod.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/kFg6DujKLTdEYaPJQMn3/Auiywv9ouV9DFmbz2SxV/n79HuCwHE.js\";const TextGlitchFonts=getFonts(TextGlitch);const enabledGestures={EjQyRcR5g:{hover:true},UL_tYncrN:{hover:true}};const cycleOrder=[\"EjQyRcR5g\",\"UL_tYncrN\",\"kwcp3yh0v\",\"I2ghuZrik\"];const serializationHash=\"framer-iTC9g\";const variantClassNames={EjQyRcR5g:\"framer-v-gpyw7\",I2ghuZrik:\"framer-v-af8br1\",kwcp3yh0v:\"framer-v-1nz5uny\",UL_tYncrN:\"framer-v-1jescgw\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:0,delay:0,duration:.4,type:\"spring\"};const transformTemplate1=(_,t)=>`translate(-50%, -50%) ${t}`;const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};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={\"Button Icon - Phone\":\"kwcp3yh0v\",\"Button Icon Left - Phone\":\"I2ghuZrik\",\"Button Icon Left\":\"UL_tYncrN\",\"Button Icon\":\"EjQyRcR5g\"};const getProps=({content,height,icon,id,link,newTab,width,...props})=>{return{...props,kLiIF3ZJm:newTab??props.kLiIF3ZJm,variant:humanReadableVariantMap[props.variant]??props.variant??\"EjQyRcR5g\",whuStnAXw:content??props.whuStnAXw??\"Button\",yj7rI0TEZ:link??props.yj7rI0TEZ,Z87XcVnjt:icon??props.Z87XcVnjt??{pixelHeight:18,pixelWidth:17,src:\"https://framerusercontent.com/images/Ks5GBMlG9zJuQpWfVeSjgyOqq40.svg\"}};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,whuStnAXw,Z87XcVnjt,yj7rI0TEZ,kLiIF3ZJm,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"EjQyRcR5g\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:yj7rI0TEZ,motionChild:true,nodeId:\"EjQyRcR5g\",openInNewTab:kLiIF3ZJm,scopeId:\"uMZLIGX9l\",smoothScroll:true,children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-gpyw7\",className,classNames)} framer-jnnfse`,\"data-border\":true,\"data-framer-name\":\"Button Icon\",layoutDependency:layoutDependency,layoutId:\"EjQyRcR5g\",ref:refBinding,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-b27274e2-de54-43d6-8799-8e6bd428bb87, rgb(43, 43, 43))\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",...style},...addPropertyOverrides({\"EjQyRcR5g-hover\":{\"data-framer-name\":undefined},\"UL_tYncrN-hover\":{\"data-framer-name\":undefined},I2ghuZrik:{\"data-framer-name\":\"Button Icon Left - Phone\"},kwcp3yh0v:{\"data-framer-name\":\"Button Icon - Phone\"},UL_tYncrN:{\"data-framer-name\":\"Button Icon Left\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1rlk12p\",\"data-framer-name\":\"Title\",layoutDependency:layoutDependency,layoutId:\"JpUZIlo9q\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-16uvw23\",\"data-styles-preset\":\"n79HuCwHE\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-46065619-aad6-4fce-8466-4e7c73aa7bef, rgb(255, 255, 255)))\"},children:\"Button\"})}),className:\"framer-bv0o4w\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"vg6rYa5QP\",style:{\"--extracted-r6o4lv\":\"var(--token-46065619-aad6-4fce-8466-4e7c73aa7bef, rgb(255, 255, 255))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",opacity:0},text:whuStnAXw,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-r253ic-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"e03BORuzf-container\",nodeId:\"e03BORuzf\",rendersWithMotion:true,scopeId:\"uMZLIGX9l\",transformTemplate:transformTemplate1,children:/*#__PURE__*/_jsx(TextGlitch,{color:\"var(--token-46065619-aad6-4fce-8466-4e7c73aa7bef, rgb(255, 255, 255))\",duration:500,font:{fontFamily:'\"IBM Plex Mono\", monospace',fontSize:\"14px\",fontStyle:\"normal\",fontWeight:600,letterSpacing:\"0em\",lineHeight:\"1.2em\"},glitch:false,height:\"100%\",id:\"e03BORuzf\",layoutId:\"e03BORuzf\",scrambleChars:\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()_+-=[]{}|;:,.<>?\",scrambleColor:\"var(--token-46065619-aad6-4fce-8466-4e7c73aa7bef, rgb(255, 255, 255))\",scramblePercent:60,speed:20,text:whuStnAXw,variable:{optical:22,weight:600},width:\"100%\",...addPropertyOverrides({\"EjQyRcR5g-hover\":{glitch:true},\"UL_tYncrN-hover\":{glitch:true},I2ghuZrik:{font:{fontFamily:'\"IBM Plex Mono\", monospace',fontSize:\"13px\",fontStyle:\"normal\",fontWeight:600,letterSpacing:\"0em\",lineHeight:\"1.2em\"}},kwcp3yh0v:{font:{fontFamily:'\"IBM Plex Mono\", monospace',fontSize:\"13px\",fontStyle:\"normal\",fontWeight:600,letterSpacing:\"0em\",lineHeight:\"1.2em\"}}},baseVariant,gestureVariant)})})})]}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1tm2cs6\",\"data-framer-name\":\"Icon Wrap\",layoutDependency:layoutDependency,layoutId:\"q64U3agyp\",style:{backgroundColor:\"var(--token-b27274e2-de54-43d6-8799-8e6bd428bb87, rgb(43, 43, 43))\"},children:/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fit\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||42)-0-42)/2)+13),pixelHeight:18,pixelWidth:17,sizes:\"16px\",...toResponsiveImage(Z87XcVnjt),...{positionX:\"center\",positionY:\"center\"}},className:\"framer-100fhx0\",\"data-framer-name\":\"Icon\",layoutDependency:layoutDependency,layoutId:\"zbtn0bi7m\",...addPropertyOverrides({I2ghuZrik:{background:{alt:\"\",fit:\"fit\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||32)-0-323)/2)+153.5),pixelHeight:18,pixelWidth:17,sizes:\"12px\",...toResponsiveImage(Z87XcVnjt),...{positionX:\"center\",positionY:\"center\"}}},kwcp3yh0v:{background:{alt:\"\",fit:\"fit\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||32)-0-323)/2)+153.5),pixelHeight:18,pixelWidth:17,sizes:\"12px\",...toResponsiveImage(Z87XcVnjt),...{positionX:\"center\",positionY:\"center\"}}}},baseVariant,gestureVariant)})})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-iTC9g.framer-jnnfse, .framer-iTC9g .framer-jnnfse { display: block; }\",\".framer-iTC9g.framer-gpyw7 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 20px; height: min-content; justify-content: center; overflow: visible; padding: 0px 0px 0px 20px; position: relative; text-decoration: none; width: min-content; }\",\".framer-iTC9g .framer-1rlk12p { 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: 0px; position: relative; width: min-content; }\",\".framer-iTC9g .framer-bv0o4w { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-iTC9g .framer-r253ic-container { -webkit-user-select: none; flex: none; height: auto; left: 50%; position: absolute; top: 50%; user-select: none; width: auto; z-index: 1; }\",\".framer-iTC9g .framer-1tm2cs6 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 42px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 42px; }\",\".framer-iTC9g .framer-100fhx0 { flex: none; height: 16px; overflow: hidden; position: relative; width: 16px; }\",\".framer-iTC9g.framer-v-1jescgw.framer-gpyw7 { padding: 0px 20px 0px 0px; }\",\".framer-iTC9g.framer-v-1jescgw .framer-1rlk12p, .framer-iTC9g.framer-v-af8br1 .framer-1rlk12p { order: 1; }\",\".framer-iTC9g.framer-v-1jescgw .framer-1tm2cs6 { order: 0; }\",\".framer-iTC9g.framer-v-1nz5uny.framer-gpyw7 { cursor: unset; gap: 16px; padding: 0px 0px 0px 16px; }\",\".framer-iTC9g.framer-v-1nz5uny .framer-1tm2cs6 { aspect-ratio: 1 / 1; height: var(--framer-aspect-ratio-supported, 32px); width: 32px; }\",\".framer-iTC9g.framer-v-1nz5uny .framer-100fhx0, .framer-iTC9g.framer-v-af8br1 .framer-100fhx0 { aspect-ratio: 1 / 1; height: var(--framer-aspect-ratio-supported, 12px); width: 12px; }\",\".framer-iTC9g.framer-v-af8br1.framer-gpyw7 { cursor: unset; gap: 16px; padding: 0px 16px 0px 0px; }\",\".framer-iTC9g.framer-v-af8br1 .framer-1tm2cs6 { aspect-ratio: 1 / 1; height: var(--framer-aspect-ratio-supported, 32px); order: 0; width: 32px; }\",...sharedStyle.css,'.framer-iTC9g[data-border=\"true\"]::after, .framer-iTC9g [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 42\n * @framerIntrinsicWidth 132\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"UL_tYncrN\":{\"layout\":[\"auto\",\"auto\"]},\"kwcp3yh0v\":{\"layout\":[\"auto\",\"auto\"]},\"I2ghuZrik\":{\"layout\":[\"auto\",\"auto\"]},\"nOhna4k0I\":{\"layout\":[\"auto\",\"auto\"]},\"PuP0KzwVE\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"whuStnAXw\":\"content\",\"Z87XcVnjt\":\"icon\",\"yj7rI0TEZ\":\"link\",\"kLiIF3ZJm\":\"newTab\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FrameruMZLIGX9l=withCSS(Component,css,\"framer-iTC9g\");export default FrameruMZLIGX9l;FrameruMZLIGX9l.displayName=\"Button Icon\";FrameruMZLIGX9l.defaultProps={height:42,width:132};addPropertyControls(FrameruMZLIGX9l,{variant:{options:[\"EjQyRcR5g\",\"UL_tYncrN\",\"kwcp3yh0v\",\"I2ghuZrik\"],optionTitles:[\"Button Icon\",\"Button Icon Left\",\"Button Icon - Phone\",\"Button Icon Left - Phone\"],title:\"Variant\",type:ControlType.Enum},whuStnAXw:{defaultValue:\"Button\",displayTextArea:true,title:\"Content\",type:ControlType.String},Z87XcVnjt:{__defaultAssetReference:\"data:framer/asset-reference,Ks5GBMlG9zJuQpWfVeSjgyOqq40.svg?originalFilename=icon-06.svg&preferredSize=auto\",title:\"Icon\",type:ControlType.ResponsiveImage},yj7rI0TEZ:{title:\"Link\",type:ControlType.Link},kLiIF3ZJm:{defaultValue:false,title:\"New Tab\",type:ControlType.Boolean}});addFonts(FrameruMZLIGX9l,[{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+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/GrgcKwrN6d3Uz8EwcLHZxwEfC4.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\"},{family:\"IBM Plex Mono\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/ibmplexmono/v19/-F6qfjptAgt5VM-kVkqdyU8n3vAO8lJPg-IUDNg.woff2\",weight:\"600\"}]},...TextGlitchFonts,...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FrameruMZLIGX9l\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"42\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"UL_tYncrN\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"kwcp3yh0v\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"I2ghuZrik\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"nOhna4k0I\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"PuP0KzwVE\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"whuStnAXw\\\":\\\"content\\\",\\\"Z87XcVnjt\\\":\\\"icon\\\",\\\"yj7rI0TEZ\\\":\\\"link\\\",\\\"kLiIF3ZJm\\\":\\\"newTab\\\"}\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"132\",\"framerAutoSizeImages\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./uMZLIGX9l.map","// Two text fields: one for default text, one for highlight text. Highlighted words in the default text are wrapped in a styled span.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * TextHighlighter\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */function TextHighlighter(props){const{text,highlight,highlightColor,highlightBg,font,style,textColor}=props;// Split highlight by comma or space, trim, remove empty\nconst highlights=highlight.split(/[,\\n]/).map(s=>s.trim()).filter(Boolean).sort((a,b)=>b.length-a.length)// longest first to avoid partial matches\n;// Escape regex special chars\nfunction escapeRegExp(string){return string.replace(/[.*+?^${}()|[\\]\\\\]/g,\"\\\\$&\");}// Build regex for all highlights\nconst regex=highlights.length?new RegExp(`(${highlights.map(escapeRegExp).join(\"|\")})`,\"gi\"):null;// Split and wrap\nfunction renderText(){if(!regex)return text;const parts=text.split(regex);return parts.map((part,i)=>{if(highlights.some(h=>h&&part&&part.toLowerCase()===h.toLowerCase())){return /*#__PURE__*/_jsx(\"span\",{style:{background:highlightBg,color:highlightColor,padding:\"0 2px\",fontWeight:\"inherit\"},children:part},i);}return part;});}return /*#__PURE__*/_jsx(\"div\",{style:{...style,...font,width:props.width===\"fixed\"?400:props.width===\"relative\"?\"80%\":props.width===\"fill\"?\"100%\":props.width===\"fit-content\"?\"fit-content\":undefined,minWidth:0,wordBreak:\"break-word\",whiteSpace:\"pre-wrap\",display:\"block\",boxSizing:\"border-box\",padding:0,color:textColor},children:renderText()});}addPropertyControls(TextHighlighter,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"I’m a UI/UX Designer and Front-End Developer with a passion for crafting visually appealing and highly functional digital experiences. With a strong foundation in design principles and an eye for detail, I create intuitive interfaces that are both user-friendly and conversion-focused.\",displayTextArea:true},highlight:{type:ControlType.String,title:\"Highlight\",defaultValue:\"\",placeholder:\"Comma or line separated\",displayTextArea:true},highlightColor:{type:ControlType.Color,title:\"Highlight Color\",defaultValue:\"#111\"},highlightBg:{type:ControlType.Color,title:\"Highlight BG\",defaultValue:\"#FFEB3B\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"monospace\",defaultValue:{fontSize:\"18px\",variant:\"Regular\",letterSpacing:\"0em\",lineHeight:\"1.2em\"}},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},width:{type:ControlType.Enum,title:\"Width\",defaultValue:\"fit\",options:[\"fit\",\"fixed\",\"relative\",\"fill\",\"fit-content\"],optionTitles:[\"Fit\",\"Fixed\",\"Relative\",\"Fill\",\"Fit Content\"],displaySegmentedControl:false}});export default TextHighlighter;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TextHighlighter\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TextHighlighter.map"],"mappings":"0fAC6gC,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,iDAA5nC,IAAkQ,IAAkE,IAA4B,IAAqJ,IAAyH,CAAM,EAAgB,EAAS,EAAW,CAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,iBAAiB,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,mBAAmB,CAA8L,EAAY,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAoB,EAAE,IAAI,yBAAyB,IAAU,EAAkB,GAAW,OAAO,GAAQ,UAAU,GAAc,OAAO,EAAM,KAAM,SAAiB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