{"version":3,"file":"TruncateText.BYGhMC5M.mjs","names":[],"sources":["https:/framerusercontent.com/modules/upBRcSYl1CliPE6eJtgv/GUisF7y64GgGGPiv3Spi/TruncateText.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";/**\n * @framerDisableUnlink\n */export function withOneLineTruncate(Component){return props=>{const styles={...props===null||props===void 0?void 0:props.style,WebkitLineClamp:\"1\",WebkitBoxOrient:\"vertical\",textOverflow:\"ellipsis\",display:\"-webkit-box\",overflow:\"hidden\"};return /*#__PURE__*/_jsx(Component,{...props,style:styles});};}export function withTwoLineTruncate(Component){return props=>{const styles={...props===null||props===void 0?void 0:props.style,WebkitLineClamp:\"2\",WebkitBoxOrient:\"vertical\",textOverflow:\"ellipsis\",display:\"-webkit-box\",overflow:\"hidden\"};return /*#__PURE__*/_jsx(Component,{...props,style:styles});};}export function withThreeLineTruncate(Component){return props=>{const styles={...props===null||props===void 0?void 0:props.style,WebkitLineClamp:\"3\",WebkitBoxOrient:\"vertical\",textOverflow:\"ellipsis\",display:\"-webkit-box\",overflow:\"hidden\"};return /*#__PURE__*/_jsx(Component,{...props,style:styles});};}export function withFourLineTruncate(Component){return props=>{const styles={...props===null||props===void 0?void 0:props.style,WebkitLineClamp:\"4\",WebkitBoxOrient:\"vertical\",textOverflow:\"ellipsis\",display:\"-webkit-box\",overflow:\"hidden\"};return /*#__PURE__*/_jsx(Component,{...props,style:styles});};}export function withFiveLineTruncate(Component){return props=>{const styles={...props===null||props===void 0?void 0:props.style,WebkitLineClamp:\"5\",WebkitBoxOrient:\"vertical\",textOverflow:\"ellipsis\",display:\"-webkit-box\",overflow:\"hidden\"};return /*#__PURE__*/_jsx(Component,{...props,style:styles});};}export function withSevenLineTruncate(Component){return props=>{const styles={...props===null||props===void 0?void 0:props.style,WebkitLineClamp:\"7\",WebkitBoxOrient:\"vertical\",textOverflow:\"ellipsis\",display:\"-webkit-box\",overflow:\"hidden\"};return /*#__PURE__*/_jsx(Component,{...props,style:styles});};}export function withTenLineTruncate(Component){return props=>{const styles={...props===null||props===void 0?void 0:props.style,WebkitLineClamp:\"10\",WebkitBoxOrient:\"vertical\",textOverflow:\"ellipsis\",display:\"-webkit-box\",overflow:\"hidden\"};return /*#__PURE__*/_jsx(Component,{...props,style:styles});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withTenLineTruncate\":{\"type\":\"reactHoc\",\"name\":\"withTenLineTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOneLineTruncate\":{\"type\":\"reactHoc\",\"name\":\"withOneLineTruncate\",\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"withSevenLineTruncate\":{\"type\":\"reactHoc\",\"name\":\"withSevenLineTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFiveLineTruncate\":{\"type\":\"reactHoc\",\"name\":\"withFiveLineTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withThreeLineTruncate\":{\"type\":\"reactHoc\",\"name\":\"withThreeLineTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTwoLineTruncate\":{\"type\":\"reactHoc\",\"name\":\"withTwoLineTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFourLineTruncate\":{\"type\":\"reactHoc\",\"name\":\"withFourLineTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TruncateText.map"],"mappings":"oGAEG,SAAgB,EAAoB,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAO,CAAC,GAAG,GAA0C,MAAM,gBAAgB,IAAI,gBAAgB,WAAW,aAAa,WAAW,QAAQ,cAAc,SAAS,QAAQ,EAAE,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAM,CAAC,CAAE,CAAE,CAAC,SAAgB,EAAoB,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAO,CAAC,GAAG,GAA0C,MAAM,gBAAgB,IAAI,gBAAgB,WAAW,aAAa,WAAW,QAAQ,cAAc,SAAS,QAAQ,EAAE,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAM,CAAC,CAAE,CAAE,CAA+rC,SAAgB,EAAoB,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAO,CAAC,GAAG,GAA0C,MAAM,gBAAgB,KAAK,gBAAgB,WAAW,aAAa,WAAW,QAAQ,cAAc,SAAS,QAAQ,EAAE,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAM,CAAC,CAAE,CAAE,iBAFjiE"}