{"version":3,"file":"DigitalTypewriter_Prod.d3ymnGIP.mjs","names":["React.useContext","React.useMemo","_jsx","React.Fragment","React.forwardRef","React.useRef","React.useId","_jsxs","_jsx","UtilsComponentMessage","useState","useId","useMemo","_jsx","_Fragment","_jsxs","useEffect","useRef","__esmMin","ie","pe","init_ssg_sandbox_shims","init_npm_react_18_3_1","oe","x","de","window","init_jsx_runtime","l","J","c","ce","_e","RichText","addPropertyControls","withCSS","useLocaleInfo","addFonts","useComponentViewport","useVariantState","ControlType","SVG","RenderTarget","init_framer_BWzg2IRg","cx","useAnimationFrame","motion","LayoutGroup","MotionConfigContext","init_framer_motion_1EwlFBEG","serializationHash","variantClassNames","transition1","Transition","Variants","getProps","createLayoutDependency","FramerW7oLCU4_B","init_W7oLCU4_B","value","children","config","transition","contextValue","height","id","subtitle","title","width","props","variants","ref","activeLocale","setLocale","style","className","layoutId","variant","yeAnKbEUZ","WuF2iG84P","restProps","baseVariant","classNames","clearLoadingGesture","gestureHandlers","gestureVariant","isLoading","setGestureState","setVariant","layoutDependency","ref1","defaultLayoutId","sharedStyleClassNames","init_Utils_Component_Message_ZVoG","ComponentMessage","init_Utils","init_Utils_FINc","DigitalTypewriter","areTextsEmpty","inOnFramerCanvas","currentTextIndex","setCurrentTextIndex","currentText","currentCursorColor","currentContentColor","reactId","safeId","cursorHighlightName","contentHighlightName","typewriterId","useTypewriterColors","isPaused","pRef","useTypewriter","baseStyle","fontSize","letterSpacingReserve","longestText","texts","longest","current","_","index","random","init_DigitalTypewriter_Prod","cursorColor","contentColor","min","max","step","delta","steps","delay","probability","setIsPaused","indexRef","fpsRef","accRef","nodeRef","cursorRangeRef","contentRangeRef","highlightsInitializedRef","pause","unpause","moveToNextText","prevIndex","node","cursorRange","contentRange","p","cursorHighlight","contentHighlight","startTimeout"],"sources":["https:/framerusercontent.com/modules/fMDE7Cqb2uOvQFAHEP2m/cRfVFRl0izzBulKFjOAe/W7oLCU4_B.js","https:/framer.com/m/Utils-Component-Message-ZVoG.js@cRfVFRl0izzBulKFjOAe","https:/framerusercontent.com/modules/aej5zpwxBpkMdzOteBwy/DWeAZ5wauvGM5oFwVdgS/Utils.js","https:/framer.com/m/Utils-FINc.js","https:/framerusercontent.com/modules/TF2OTM1gSYVYv74IUyyJ/4iyab4lCZk1XhXQdaUBM/DigitalTypewriter_Prod.js"],"sourcesContent":["// Generated by Framer (0b8b5e5)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,SVG,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const serializationHash=\"framer-q8Ttd\";const variantClassNames={XvqTw0Be9:\"framer-v-jjcw9a\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion(React.Fragment);const getProps=({height,id,subtitle,title,width,...props})=>{var _ref,_ref1;return{...props,WuF2iG84P:(_ref=subtitle!==null&&subtitle!==void 0?subtitle:props.WuF2iG84P)!==null&&_ref!==void 0?_ref:\"Set up the component by adding background and bouncer elements to the component properties.\",yeAnKbEUZ:(_ref1=title!==null&&title!==void 0?title:props.yeAnKbEUZ)!==null&&_ref1!==void 0?_ref1:\"Screen Saver\"};};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,yeAnKbEUZ,WuF2iG84P,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"XvqTw0Be9\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(serializationHash,...sharedStyleClassNames,\"framer-jjcw9a\",className,classNames),\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"XvqTw0Be9\",ref:ref!==null&&ref!==void 0?ref:ref1,style:{backgroundColor:\"rgba(136, 85, 255, 0.1)\",...style},children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-uh2i08\",layoutDependency:layoutDependency,layoutId:\"aM7oiNoFL\",children:[/*#__PURE__*/_jsx(SVG,{className:\"framer-flw0dh\",\"data-framer-name\":\"Logo\",layout:\"position\",layoutDependency:layoutDependency,layoutId:\"GthLmGmBt\",opacity:1,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 28 28\"><g id=\"ss11036020200_1\"><path d=\"M 0 0 L 28 0 L 28 28 L 0 28 Z\" fill=\"transparent\"></path><path d=\"M 21 7.113 C 21 7.041 21.029 6.971 21.079 6.921 L 27.534 0.465 C 27.613 0.388 27.73 0.365 27.831 0.407 C 27.933 0.449 28 0.548 28 0.658 L 28 13.888 C 28 13.96 27.971 14.028 27.921 14.079 L 21 21 Z M 7 21 L 7 7.658 C 7 7.548 6.933 7.449 6.831 7.407 C 6.73 7.365 6.613 7.388 6.534 7.465 L 0.079 13.921 C 0.028 13.972 0 14.041 0 14.113 L 0 27.728 C 0 27.877 0.122 28 0.273 28 L 13.888 28 C 13.96 28 14.028 27.971 14.079 27.921 L 21 21 Z\" fill=\"rgb(153, 102, 255)\"></path></g></svg>',svgContentId:11036020200,withExternalLayout:true}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-k3ullq\",layoutDependency:layoutDependency,layoutId:\"E3DQBYSAf\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItQm9sZA==\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"11px\",\"--framer-font-weight\":\"700\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(153, 102, 255))\"},children:\"Screen Saver\"})}),className:\"framer-q0gs4u\",\"data-framer-name\":\"Title\",fonts:[\"Inter-Bold\"],layoutDependency:layoutDependency,layoutId:\"UqJwZqJjg\",style:{\"--extracted-r6o4lv\":\"rgb(153, 102, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:yeAnKbEUZ,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--framer-font-size\":\"11px\",\"--framer-letter-spacing\":\"-0.03em\",\"--framer-line-height\":\"1.4em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgba(153, 102, 255, 0.7))\"},children:\"Set up the component by adding background and bouncer elements to the component properties.\"})}),className:\"framer-g5dqhc\",\"data-framer-name\":\"Subtitle\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"RJ7UF99m8\",style:{\"--extracted-r6o4lv\":\"rgba(153, 102, 255, 0.7)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:WuF2iG84P,verticalAlignment:\"top\",withExternalLayout:true})]})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-q8Ttd.framer-qanqo2, .framer-q8Ttd .framer-qanqo2 { display: block; }\",\".framer-q8Ttd.framer-jjcw9a { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 200px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 400px; }\",\".framer-q8Ttd .framer-uh2i08 { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: center; overflow: hidden; padding: 0px 20px 0px 20px; position: relative; width: 1px; }\",\".framer-q8Ttd .framer-flw0dh { flex: none; height: 28px; position: relative; width: 28px; }\",\".framer-q8Ttd .framer-k3ullq { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 12px; height: min-content; justify-content: center; max-width: 200px; overflow: hidden; padding: 0px; position: relative; width: 100%; }\",\".framer-q8Ttd .framer-q0gs4u, .framer-q8Ttd .framer-g5dqhc { 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-q8Ttd.framer-jjcw9a, .framer-q8Ttd .framer-uh2i08, .framer-q8Ttd .framer-k3ullq { gap: 0px; } .framer-q8Ttd.framer-jjcw9a > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-q8Ttd.framer-jjcw9a > :first-child { margin-left: 0px; } .framer-q8Ttd.framer-jjcw9a > :last-child { margin-right: 0px; } .framer-q8Ttd .framer-uh2i08 > * { margin: 0px; margin-bottom: calc(16px / 2); margin-top: calc(16px / 2); } .framer-q8Ttd .framer-uh2i08 > :first-child, .framer-q8Ttd .framer-k3ullq > :first-child { margin-top: 0px; } .framer-q8Ttd .framer-uh2i08 > :last-child, .framer-q8Ttd .framer-k3ullq > :last-child { margin-bottom: 0px; } .framer-q8Ttd .framer-k3ullq > * { margin: 0px; margin-bottom: calc(12px / 2); margin-top: calc(12px / 2); } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 200\n * @framerIntrinsicWidth 400\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"yeAnKbEUZ\":\"title\",\"WuF2iG84P\":\"subtitle\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerW7oLCU4_B=withCSS(Component,css,\"framer-q8Ttd\");export default FramerW7oLCU4_B;FramerW7oLCU4_B.displayName=\"Utils/Component Message\";FramerW7oLCU4_B.defaultProps={height:200,width:400};addPropertyControls(FramerW7oLCU4_B,{yeAnKbEUZ:{defaultValue:\"Screen Saver\",displayTextArea:false,title:\"Title\",type:ControlType.String},WuF2iG84P:{defaultValue:\"Set up the component by adding background and bouncer elements to the component properties.\",displayTextArea:false,title:\"Subtitle\",type:ControlType.String}});addFonts(FramerW7oLCU4_B,[{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/DpPBYI0sL4fYLgAkX8KXOPVt7c.woff2\",weight:\"700\"},{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/4RAEQdEOrcnDkhHiiCbJOw92Lk.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/1K3W8DizY3v4emK8Mb08YHxTbs.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/tUSCtfYVM1I1IchuyCwz9gDdQ.woff2\",weight:\"700\"},{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/VgYFWiwsAC5OYxAycRXXvhze58.woff2\",weight:\"700\"},{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/DXD0Q7LSl7HEvDzucnyLnGBHM.woff2\",weight:\"700\"},{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/GIryZETIX4IFypco5pYZONKhJIo.woff2\",weight:\"700\"},{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\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerW7oLCU4_B\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerVariables\":\"{\\\"yeAnKbEUZ\\\":\\\"title\\\",\\\"WuF2iG84P\\\":\\\"subtitle\\\"}\",\"framerIntrinsicWidth\":\"400\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"200\",\"framerDisplayContentsDiv\":\"false\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./W7oLCU4_B.map","/*\n * Utils/Component Message\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/fMDE7Cqb2uOvQFAHEP2m/cRfVFRl0izzBulKFjOAe/W7oLCU4_B.js\"\nexport { default } from \"https://framerusercontent.com/modules/fMDE7Cqb2uOvQFAHEP2m/cRfVFRl0izzBulKFjOAe/W7oLCU4_B.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{cloneElement}from\"react\";import UtilsComponentMessage from\"https://framer.com/m/Utils-Component-Message-ZVoG.js@cRfVFRl0izzBulKFjOAe\";export const ComponentMessage=({title,subtitle,style})=>{return /*#__PURE__*/_jsx(UtilsComponentMessage,{yeAnKbEUZ:title,WuF2iG84P:subtitle,style:{width:\"100%\",height:\"100%\",...style}});};/* \n    This function is also used many times to make sure components work even if we set a color style like \"Accent\" on their color properties. We can make this into a utility function.\n*/export const extractRGBColorFromString=str=>{const rgbRegex=/(rgba|rgb)\\(.*?\\)/g;const match=str.match(rgbRegex);return match?match[0]:str;};/*\n    This function makes a connected layer use the sizing of the component it is inside,\n    preventing it from being larger or smaller than the component's size.\n    Use this on layers connected with ControlType.ComponentInstance.\n*/export function styleLayer(layer,style={}){layer=Array.isArray(layer)?layer[0]:layer;let newLayer=layer;const{width,height,...otherStyle}=style;if(layer&&layer.props&&style&&(width||height)){if(typeof layer.type===\"function\"&&typeof layer.props.children===\"object\"){newLayer=/*#__PURE__*/cloneElement(layer,{children:{...layer.props.children,props:{...layer.props.children.props,style:{...layer.props.children.props.style,...width&&{width},...height&&{height},...otherStyle}}}});}else{newLayer=/*#__PURE__*/cloneElement(layer,{style:{...layer.props.style,...width&&{width},...height&&{height},...otherStyle}});}}return newLayer;}\nexport const __FramerMetadata__ = {\"exports\":{\"ComponentMessage\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"extractRGBColorFromString\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"styleLayer\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Utils.map","/*\n * Utils\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/aej5zpwxBpkMdzOteBwy/DWeAZ5wauvGM5oFwVdgS/Utils.js\"\n","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useRef,useState,useId,useMemo}from\"react\";import{useAnimationFrame}from\"framer-motion\";import{ControlType,addPropertyControls,RenderTarget}from\"framer\";import{ComponentMessage}from\"https://framer.com/m/Utils-FINc.js\";// ------------------------------------------------------------ //\n// PROPERTY CONTROLS\n// ------------------------------------------------------------ //\naddPropertyControls(DigitalTypewriter,{texts:{type:ControlType.Array,control:{type:ControlType.Object,controls:{text:{type:ControlType.String},cursorColor:{type:ControlType.Color,title:\"Cursor\"},contentColor:{type:ControlType.Color,title:\"Words\"}}}},font:{type:ControlType.Font,defaultFontType:\"monospace\",controls:\"extended\",defaultValue:{letterSpacing:\"1px\",lineHeight:\"1.5em\",textAlign:\"left\",fontSize:32}},probability:{type:ControlType.Number,min:0,max:1,step:.1,defaultValue:.1,description:\"Probability of pausing when a space character is typed.\"},delay:{type:ControlType.Number,min:0,max:10,step:.1,defaultValue:1,unit:\"s\",description:\"More components at [Framer University](https://frameruni.link/cc).\"}});// ------------------------------------------------------------ //\n// DEFAULT PROPS\n// ------------------------------------------------------------ //\nDigitalTypewriter.defaultProps={delay:1,font:{fontFamily:\"monospace\",fontWeight:300,letterSpacing:\"1px\",lineHeight:\"1.5em\",textAlign:\"left\",fontSize:\"32px\"},probability:.1,texts:[{text:\"Framer University\",cursorColor:\"#999999\",contentColor:\"#999999\"},{text:\"Learn Framer\",cursorColor:\"#895BE4\",contentColor:\"#895BE4\"}]};// ------------------------------------------------------------ //\n// MAIN COMPONENT\n// ------------------------------------------------------------ //\n/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 200\n * @framerDisableUnlink\n */export default function DigitalTypewriter(props){const areTextsEmpty=props.texts.length===0||!props.texts;const inOnFramerCanvas=RenderTarget.hasRestrictions();const[currentTextIndex,setCurrentTextIndex]=useState(0);// Get current text item's colors\nconst currentText=props.texts[currentTextIndex];const currentCursorColor=currentText?.cursorColor;const currentContentColor=currentText?.contentColor;// Unique id to avoid clashes between multiple component instances\nconst reactId=useId();const safeId=useMemo(()=>reactId.replace(/[^a-zA-Z0-9_-]/g,\"-\"),[reactId]);const cursorHighlightName=`cursor-${safeId}`;const contentHighlightName=`content-${safeId}`;const typewriterId=useTypewriterColors({cursorColor:currentCursorColor,contentColor:currentContentColor});const{isPaused,pRef}=useTypewriter({texts:props.texts,currentTextIndex,setCurrentTextIndex,delay:props.delay,probability:props.probability,cursorHighlightName,contentHighlightName});const baseStyle=`\n    @layer demo {\n      @property --alpha {\n        syntax: \"<number>\";\n        inherits: true;\n        initial-value: 1;\n      }\n      #mainDigitalTypewriter-${safeId} {\n        animation: cursor-blink 0.8s infinite steps(1) paused;\n        position: relative;\n      }\n      [data-paused=\"false\"] {\n        animation: none;\n      }\n      [data-paused=\"false\"] [data-type] {\n        --alpha: 0;\n      }\n      /* \"{mainDigitalTypewriter\" element will itself carry the data-paused attribute. */\n      #mainDigitalTypewriter-${safeId}[data-paused=\"true\"] {\n        animation-play-state: running;\n      }\n      @keyframes cursor-blink { 50% { --alpha: 0; } }\n      ::highlight(__CURSOR__) { color: transparent; }\n      [data-type] {\n        --cursor-blink: color-mix(in hsl, var(--cursor), #0000 calc(var(--alpha) * 100%));\n      }\n      ::highlight(__CONTENT__) { color: var(--content); }\n      ::highlight(__CURSOR__) { background-color: var(--cursor-blink); }\n      [data-type] {\n        width: 100%;\n        color: transparent;\n        white-space: break-spaces;\n        font-family: ${props.font.fontFamily};\n        font-weight: ${props.font.fontWeight};\n        margin: 0;\n        letter-spacing: ${props.font.letterSpacing};\n        font-size: ${props.font.fontSize};\n        line-height: ${props.font.lineHeight};\n        text-align: ${props.font.textAlign};\n      }\n      /* Handle text wrapping based on parent width */\n      .typewriter-container:has(+ [data-type=\"hidden\"]:not(:empty)) {\n        white-space: nowrap;\n      }\n      .typewriter-container:has(+ [data-type=\"hidden\"]:empty) {\n        white-space: break-spaces;\n      }\n    }\n`;// Generate style string with unique highlight names to avoid collisions\nconst style=useMemo(()=>{return baseStyle.replace(/__CURSOR__/g,cursorHighlightName).replace(/__CONTENT__/g,contentHighlightName);},[cursorHighlightName,contentHighlightName,props.font.fontFamily,props.font.fontWeight,props.font.fontSize,props.font.letterSpacing,props.font.lineHeight,props.font.textAlign]);// get the 20% of the font size\nconst fontSize=Number(props.font.fontSize?.replace(\"px\",\"\"));const letterSpacingReserve=fontSize?`${fontSize*.15}px`:\"3px\";const findLongestText=texts=>{return texts.reduce((longest,current)=>{return current.text.length>longest.text.length?current:longest;},texts[0]);};const longestText=findLongestText(props.texts);if(areTextsEmpty){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\"},children:/*#__PURE__*/_jsx(ComponentMessage,{title:\"Digital Typewriter\",subtitle:\"Set up the component by adding texts to the component properties.\"})});}return /*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsxs(\"div\",{id:`mainDigitalTypewriter-${safeId}`,\"data-paused\":isPaused,\"data-typewriter-id\":typewriterId,style:{width:\"100%\",height:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:style}),/*#__PURE__*/_jsxs(\"div\",{className:\"typewriter-container\",style:{position:\"relative\",width:\"fit-content\",height:\"100%\",minWidth:\"100%\"},children:[props.texts.map((_,index)=>/*#__PURE__*/_jsx(\"p\",{className:`typewriter-text-${safeId}`,\"data-type\":index===currentTextIndex?\"\":null,ref:index===currentTextIndex?pRef:null,style:{position:\"absolute\",top:0,left:0,opacity:index===currentTextIndex?1:0,pointerEvents:\"none\",width:\"100%\",whiteSpace:\"inherit\"}},index)),!inOnFramerCanvas&&/*#__PURE__*/_jsx(\"p\",{\"data-type\":\"hidden\",style:{position:\"relative\",opacity:0,pointerEvents:\"none\",width:\"100%\",whiteSpace:\"inherit\",letterSpacing:letterSpacingReserve},\"aria-hidden\":\"true\",children:currentText?.text})]}),inOnFramerCanvas&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"p\",{style:{opacity:0,color:\"transparent\",margin:0,whiteSpace:\"nowrap\",fontFamily:props.font.fontFamily,fontWeight:props.font.fontWeight,letterSpacing:props.font.letterSpacing,fontSize:props.font.fontSize,lineHeight:props.font.lineHeight,textAlign:props.font.textAlign,width:\"100%\"},children:longestText.text}),/*#__PURE__*/_jsx(\"p\",{style:{position:\"absolute\",top:0,left:0,color:props.texts[0].contentColor,margin:0,whiteSpace:\"break-spaces\",fontFamily:props.font.fontFamily,fontWeight:props.font.fontWeight,letterSpacing:props.font.letterSpacing,fontSize:props.font.fontSize,lineHeight:props.font.lineHeight,textAlign:props.font.textAlign,width:\"100%\"},children:props.texts[0].text})]})]})});}const useTypewriterColors=({cursorColor,contentColor})=>{const reactId=useId();const safeId=useMemo(()=>reactId.replace(/[^a-zA-Z0-9_-]/g,\"-\"),[reactId]);useEffect(()=>{if(typeof document===\"undefined\")return;const style=document.createElement(\"style\");style.textContent=`\n      [data-typewriter-id=\"${safeId}\"] {\n        --cursor: ${cursorColor};\n        --content: ${contentColor};\n      }\n    `;document.head.appendChild(style);return()=>{document.head.removeChild(style);};},[cursorColor,contentColor,safeId]);return safeId;};const random=(min,max,step=1)=>{const delta=max-min;const steps=Math.round(delta/step);const rand=Math.floor(Math.random()*(steps+1));return min+rand*step;};const useTypewriter=({texts,currentTextIndex,setCurrentTextIndex,delay,probability,cursorHighlightName,contentHighlightName})=>{const[isPaused,setIsPaused]=useState(true);const pRef=useRef(null);const indexRef=useRef(0);const fpsRef=useRef(12);const accRef=useRef(0);const nodeRef=useRef(null);const cursorRangeRef=useRef(null);const contentRangeRef=useRef(null);const highlightsInitializedRef=useRef(false);const pause=()=>{setIsPaused(true);};const unpause=()=>{setIsPaused(false);};const moveToNextText=()=>{setCurrentTextIndex(prevIndex=>(prevIndex+1)%texts.length);indexRef.current=0;if(nodeRef.current&&contentRangeRef.current&&cursorRangeRef.current){contentRangeRef.current.setEnd(nodeRef.current,0);cursorRangeRef.current.setStart(nodeRef.current,0);cursorRangeRef.current.setEnd(nodeRef.current,1);}window.setTimeout(()=>{unpause();},delay*1e3);};const update=(_,delta)=>{if(!highlightsInitializedRef.current||isPaused)return;const node=nodeRef.current;const cursorRange=cursorRangeRef.current;const contentRange=contentRangeRef.current;if(!node||!cursorRange||!contentRange)return;accRef.current+=delta;if(accRef.current<1e3/fpsRef.current)return;accRef.current=0;const index=indexRef.current;if(index>node.textContent.length-1){pause();window.setTimeout(()=>{moveToNextText();},1e3);return;}cursorRange.setStart(node,index);cursorRange.setEnd(node,index+1);contentRange.setEnd(node,index);indexRef.current+=1;if(Math.random()>1-probability&&node.textContent.charAt(index-1)===\" \"){pause();fpsRef.current=random(8,22,1);window.setTimeout(()=>{fpsRef.current=12;unpause();},random(200,2e3,100));}};useAnimationFrame(update);useEffect(()=>{if(!pRef.current||typeof window===\"undefined\"||!window.CSS?.highlights){return;}highlightsInitializedRef.current=false;indexRef.current=0;fpsRef.current=12;accRef.current=0;const p=pRef.current;const currentText=texts[currentTextIndex];p.innerHTML=`${currentText.text.replace(/\\s+/g,\" \").trim()}&nbsp;`;const treeWalker=document.createTreeWalker(p,NodeFilter.SHOW_TEXT);const node=treeWalker.nextNode();if(!node)return;nodeRef.current=node;const cursorRange=new Range;const contentRange=new Range;cursorRange.setStart(node,0);cursorRange.setEnd(node,1);contentRange.setStart(node,0);contentRange.setEnd(node,0);cursorRangeRef.current=cursorRange;contentRangeRef.current=contentRange;const cursorHighlight=new window.Highlight(cursorRange);const contentHighlight=new window.Highlight(contentRange);window.CSS.highlights.set(cursorHighlightName,cursorHighlight);window.CSS.highlights.set(contentHighlightName,contentHighlight);const startTimeout=window.setTimeout(()=>{highlightsInitializedRef.current=true;unpause();},delay*1e3);return()=>{window.clearTimeout(startTimeout);window.CSS.highlights.delete(cursorHighlightName);window.CSS.highlights.delete(contentHighlightName);highlightsInitializedRef.current=false;};},[texts,currentTextIndex,delay,probability,cursorHighlightName,contentHighlightName]);return{isPaused,pRef,highlightsInitialized:highlightsInitializedRef.current};};DigitalTypewriter.displayName=\"Digital Typewriter\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DigitalTypewriter\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"400\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerIntrinsicHeight\":\"200\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DigitalTypewriter_Prod.map"],"mappings":"A,ocACqSkD,EAAkB,eAAqBC,EAAkB,CAAC,UAAU,iBAAiB,EAAwOC,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQC,GAAY,CAACM,QAAMC,cAAY,CAAC,IAAMC,EAAO7D,EAAiBgD,CAAmB,EAAQc,EAAWH,GAAmCE,EAAO,WAAiBE,EAAa9D,OAAmB,CAAC,GAAG4D,EAAOC,YAAU,GAAG,CAAC,KAAK,UAAUA,CAAU,CAAC,CAAC,EAAE,MAAoB5D,gBAAK8C,EAAoB,SAAS,CAAC,MAAMe,EAAsBH,UAAQ,CAAC,CAAE,EAAQN,EA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