{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/NogVf4VJCzU5CnPAl8gD/OF5KVI2bZcXIlcUSoyOj/TruncateText.js"],
  "sourcesContent": ["// This module provides code overrides to truncate text content to a specified number of lines.\n// Last updated by @joshua on 20241126.\nimport{jsx as _jsx}from\"react/jsx-runtime\";// Code override to truncate text content to one line with an ellipsis.\nexport function withOneLineTextTruncate(WrappedComponent){return props=>{// Define styles to truncate text to one line.\nconst componentStyle={...props.style,display:\"-webkit-box\",WebkitLineClamp:1,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"};return /*#__PURE__*/_jsx(WrappedComponent,{...props,style:componentStyle});};}// Code override to truncate text content to two lines with an ellipsis.\nexport function withTwoLineTextTruncate(WrappedComponent){return props=>{// Define styles to truncate text to two lines.\nconst componentStyle={...props.style,display:\"-webkit-box\",WebkitLineClamp:2,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"};return /*#__PURE__*/_jsx(WrappedComponent,{...props,style:componentStyle});};}// Code override to truncate text content to three lines with an ellipsis.\nexport function withThreeLineTextTruncate(WrappedComponent){return props=>{// Define styles to truncate text to three lines.\nconst componentStyle={...props.style,display:\"-webkit-box\",WebkitLineClamp:3,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"};return /*#__PURE__*/_jsx(WrappedComponent,{...props,style:componentStyle});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withTwoLineTextTruncate\":{\"type\":\"reactHoc\",\"name\":\"withTwoLineTextTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOneLineTextTruncate\":{\"type\":\"reactHoc\",\"name\":\"withOneLineTextTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withThreeLineTextTruncate\":{\"type\":\"reactHoc\",\"name\":\"withThreeLineTextTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TruncateText.map"],
  "mappings": "kFAAAA,IAOO,SAASC,EAA0BC,EAAiB,CAAC,OAAOC,GAAO,CAC1E,IAAMC,EAAe,CAAC,GAAGD,EAAM,MAAM,QAAQ,cAAc,gBAAgB,EAAE,gBAAgB,WAAW,SAAS,SAAS,aAAa,UAAU,EAAE,OAAoBE,EAAKH,EAAiB,CAAC,GAAGC,EAAM,MAAMC,CAAc,CAAC,CAAE,CAAE",
  "names": ["init_ssg_sandbox_shims", "withThreeLineTextTruncate", "WrappedComponent", "props", "componentStyle", "p"]
}
