{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/8J1tQP362ViF5ykqgCBX/RxNfUy0GD3dXsKTrxOiF/Text_component_3.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export function TextWithImages(props){const{text,fontSize,fontWeight,color,fontFamily,items,settings,textAlign}=props;const containerStyle={display:\"flex\",justifyContent:textAlign,flexWrap:\"wrap\",fontSize:fontSize,fontWeight:fontWeight,color:color,fontFamily:fontFamily,width:\"100%\"};const textStyle={margin:\"0 4px\",whiteSpace:\"nowrap\"};const content=[];const words=text.split(\" \");words.forEach((word,index)=>{content.push(/*#__PURE__*/_jsx(\"span\",{style:textStyle,children:word},`word-${index}`));items.forEach((item,itemIndex)=>{const{position,offset,verticalOffset}=settings[itemIndex];if(index===position){content.push(/*#__PURE__*/_jsx(\"img\",{src:item,alt:`icon-${itemIndex}`,style:{width:fontSize,height:fontSize,margin:`0 ${offset}px`,position:\"relative\",top:`${verticalOffset}px`}},`image-${itemIndex}`));}});});return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:content});}addPropertyControls(TextWithImages,{text:{type:ControlType.String,title:\"Text\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16},fontWeight:{type:ControlType.Enum,title:\"Font Weight\",options:[\"normal\",\"bold\",\"bolder\",\"lighter\",\"100\",\"200\",\"300\",\"400\",\"500\",\"600\",\"700\",\"800\",\"900\",\"italic\",\"bold italic\"],optionTitles:[\"Normal\",\"Bold\",\"Bolder\",\"Lighter\",\"100\",\"200\",\"300\",\"400\",\"500\",\"600\",\"700\",\"800\",\"900\",\"Italic\",\"Bold Italic\"],defaultValue:\"normal\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},fontFamily:{type:ControlType.String,title:\"Font Family\"},textAlign:{type:ControlType.Enum,title:\"Text Align\",options:[\"flex-start\",\"center\",\"flex-end\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"flex-start\"},items:{type:ControlType.Array,title:\"Items\",propertyControl:{type:ControlType.Image}},settings:{type:ControlType.Array,title:\"Settings\",propertyControl:{type:ControlType.Object,controls:{position:{type:ControlType.Number,title:\"Position\",min:0,displayStepper:true},offset:{type:ControlType.Number,title:\"Offset\",defaultValue:4},verticalOffset:{type:ControlType.Number,title:\"Vertical Offset\",defaultValue:0}}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"TextWithImages\":{\"type\":\"reactComponent\",\"name\":\"TextWithImages\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Text_component_3.map"],
  "mappings": "yFAAsG,SAASA,EAAeC,EAAM,CAAC,GAAK,CAAC,KAAAC,EAAK,SAAAC,EAAS,WAAAC,EAAW,MAAAC,EAAM,WAAAC,EAAW,MAAAC,EAAM,SAAAC,EAAS,UAAAC,CAAS,EAAER,EAAYS,EAAe,CAAC,QAAQ,OAAO,eAAeD,EAAU,SAAS,OAAO,SAASN,EAAS,WAAWC,EAAW,MAAMC,EAAM,WAAWC,EAAW,MAAM,MAAM,EAAQK,EAAU,CAAC,OAAO,QAAQ,WAAW,QAAQ,EAAQC,EAAQ,CAAC,EAA8B,OAAhBV,EAAK,MAAM,GAAG,EAAQ,QAAQ,CAACW,EAAKC,IAAQ,CAACF,EAAQ,KAAkBG,EAAK,OAAO,CAAC,MAAMJ,EAAU,SAASE,CAAI,EAAE,QAAQC,CAAK,EAAE,CAAC,EAAEP,EAAM,QAAQ,CAACS,EAAKC,IAAY,CAAC,GAAK,CAAC,SAAAC,EAAS,OAAAC,EAAO,eAAAC,CAAc,EAAEZ,EAASS,CAAS,EAAKH,IAAQI,GAAUN,EAAQ,KAAkBG,EAAK,MAAM,CAAC,IAAIC,EAAK,IAAI,QAAQC,CAAS,GAAG,MAAM,CAAC,MAAMd,EAAS,OAAOA,EAAS,OAAO,KAAKgB,CAAM,KAAK,SAAS,WAAW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ages", "props", "text", "fontSize", "fontWeight", "color", "fontFamily", "items", "settings", "textAlign", "containerStyle", "textStyle", "content", "word", "index", "p", "item", "itemIndex", "position", "offset", "verticalOffset", "addPropertyControls", "ControlType"]
}
