{"version":3,"file":"Trunctuate_Text_2.D-KXHEMa.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/QeAylU9gHhYxQXyvBTgS/GQfBdMImeSBQGk2HcHPs/Trunctuate_Text_2.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";export function withTextTruncate(Component){return props=>{const styles=`.${props.className} > * {\n    white-space: nowrap;\n    overflow: hidden;\n    text-overflow: ellipsis;\n}`;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:styles}),/*#__PURE__*/_jsx(Component,{...props})]});};}const LINES=2;export function withTextLineTruncate(Component){return props=>{const styles=`.${props.className} > * {\n         overflow: hidden;\n          -webkit-box-orient: vertical;\n         -webkit-line-clamp: ${LINES};\n         display: -webkit-box;\n}`;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:styles}),/*#__PURE__*/_jsx(Component,{...props})]});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withTextTruncate\":{\"type\":\"reactHoc\",\"name\":\"withTextTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTextLineTruncate\":{\"type\":\"reactHoc\",\"name\":\"withTextLineTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Trunctuate_Text_2.map"],"mappings":"kHAI2J,SAAgB,EAAqB,EAAU,CAAC,MAAO,IAK3L,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,IALqJ,EAAM,UAAU;;;+BAG5N,EAAM;;EAEuD,CAAC,EAAe,EAAK,EAAU,CAAC,GAAG,CAAK,CAAC,CAAC,CAAC,CAAC,CAAI,mBAT9D,EAIqE,EAAM"}