{"version":3,"file":"Truncate.Be3If0O2.mjs","names":[],"sources":["https:/framerusercontent.com/modules/qfXg7KoVs0B2STR59Vg9/1daqmxosp85C3wAb3SlG/Truncate.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";const useStore=createStore({background:\"#0099FF\"});function createTruncate(Component,lines){return props=>{const styles={...props?.style,WebkitLineClamp:`${lines}`,WebkitBoxOrient:\"vertical\",textOverflow:\"ellipsis\",display:\"-webkit-box\",overflow:\"hidden\"};return /*#__PURE__*/_jsx(Component,{...props,style:styles});};}// Default = 2 lines\nexport default function withLineTruncate(Component){return createTruncate(Component,2);}// Alternate = 3 lines\nexport function withLineTruncateThree(Component){return createTruncate(Component,3);}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactHoc\",\"name\":\"withLineTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLineTruncateThree\":{\"type\":\"reactHoc\",\"name\":\"withLineTruncateThree\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Truncate.map"],"mappings":"6MAAmK,SAAS,EAAe,EAAU,EAAM,CAAC,MAAO,IAAO,CAAC,IAAM,EAAO,CAAC,GAAG,GAAO,MAAM,gBAAgB,GAAG,IAAQ,gBAAgB,WAAW,aAAa,WAAW,QAAQ,cAAc,SAAS,SAAS,CAAC,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,EAAO,CAAC,EAC3a,SAAwB,EAAiB,EAAU,CAAC,OAAO,EAAe,EAAU,EAAE,CACtF,SAAgB,EAAsB,EAAU,CAAC,OAAO,EAAe,EAAU,EAAE,kBAFxC,IAAqE,CAAe,EAAY,CAAC,WAAW,UAAU,CAAC"}