{"version":3,"file":"TextTransform.BWHA4UBw.mjs","names":[],"sources":["https:/framerusercontent.com/modules/ZjDfM65HtumAZn8A62nG/A7T0G9fBrg7ymyC8d7Pv/TextTransform.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function withUppercase(Component){return props=>{const transformChildren=node=>{if(!node)return node;if(typeof node===\"string\"){return node.toUpperCase();}if(Array.isArray(node)){return node.map(transformChildren);}if(typeof node===\"object\"&&node.props){const element=node;return{...element,props:{...element.props,style:{...element.props.style,textTransform:\"uppercase\"},children:transformChildren(element.props.children)}};}return node;};return /*#__PURE__*/_jsx(Component,{...props,children:transformChildren(props.children)});};}export function withTruncate(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props,display:\"-webkit-box\",WebkitLineClamp:2,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withUppercase\":{\"type\":\"reactHoc\",\"name\":\"withUppercase\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTruncate\":{\"type\":\"reactHoc\",\"name\":\"withTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TextTransform.map"],"mappings":"oGAAukB,SAAgB,EAAa,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,QAAQ,cAAc,gBAAgB,EAAE,gBAAgB,WAAW,SAAS,SAAS,aAAa,WAAW,CAAC,CAAC,kBAA/vB"}