{"version":3,"file":"TextTruncate.BSV7blRR.mjs","names":[],"sources":["https:/framerusercontent.com/modules/g6bc5GBb5xh0ftHZsc0N/shQK8zlTrDGFBaBQ6s2F/TextTruncate.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function withSingleLineTruncate(Component){return props=>{const newStyle={...props.style,display:\"-webkit-box\",WebkitLineClamp:1,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"};return /*#__PURE__*/_jsx(Component,{...props,style:newStyle});};}export function withThreeLineTruncate(Component){return props=>{const newStyle={...props.style,display:\"-webkit-box\",WebkitLineClamp:3,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"};return /*#__PURE__*/_jsx(Component,{...props,style:newStyle});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withThreeLineTruncate\":{\"type\":\"reactHoc\",\"name\":\"withThreeLineTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSingleLineTruncate\":{\"type\":\"reactHoc\",\"name\":\"withSingleLineTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TextTruncate.map"],"mappings":"0HAA2C,SAAgB,EAAuB,EAAU,CAAC,MAAO,CAAA,GAAO,CAAC,IAAM,EAAS,CAAC,GAAG,EAAM,MAAM,QAAQ,cAAc,gBAAgB,EAAE,gBAAgB,WAAW,SAAS,SAAS,aAAa,UAAW,EAAC,MAAoB,GAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAS,EAAC,AAAE,CAAE,UAAgB,EAAsB,EAAU,CAAC,MAAO,CAAA,GAAO,CAAC,IAAM,EAAS,CAAC,GAAG,EAAM,MAAM,QAAQ,cAAc,gBAAgB,EAAE,gBAAgB,WAAW,SAAS,SAAS,aAAa,UAAW,EAAC,MAAoB,GAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAS,EAAC,AAAE,CAAE,cAAxkB,GAA2C"}