{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/W5DPKEeQuqeSZmy9NBRc/J9eQVqcHHoC6JaHQquqb/Text_5.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import React from\"react\";import{motion}from\"framer-motion\";import{useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function MagText(props){return /*#__PURE__*/_jsx(\"div\",{style:{fontSize:36,...props.font,position:\"relative\",color:props.color,whiteSpace:\"pre-line\",overflowWrap:\"break-word\",overflow:\"visible\"},children:props.text.split(\" \").map((word,idx)=>/*#__PURE__*/_jsxs(React.Fragment,{children:[idx>0&&\" \",\" \",/*#__PURE__*/_jsx(Character,{c:word,outlineColor:props.outlineColor,outlineWidth:props.outlineWidth})]},idx))});}function Character({c,outlineColor,outlineWidth}){const ref=useRef(null);return /*#__PURE__*/_jsx(motion.span,{ref:ref,style:{display:\"inline\",WebkitTextStrokeColor:outlineColor,WebkitTextStrokeWidth:`${outlineWidth}px`},children:c});}MagText.displayName=\"MagText\";MagText.defaultProps={text:\"Colorless green ideas sleep furiously\",color:\"black\",outlineColor:\"#000000\",outlineWidth:1};addPropertyControls(MagText,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"Colorless green ideas sleep furiously\",displayTextArea:true},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000\"},outlineColor:{type:ControlType.Color,title:\"Outline Color\",defaultValue:\"#000000\"},outlineWidth:{type:ControlType.Number,title:\"Outline Width\",defaultValue:1,min:0,max:10,step:.5},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MagText\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Text_5.map"],
  "mappings": "gFAAiN,SAARA,EAAyBC,EAAM,CAAC,OAAoBC,EAAK,MAAM,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