{"version":3,"file":"Truncle_All_In_One.Ceu-mz2i.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/snBPImPksKI6EFKD5tOF/4iV3q0OBTwKxCJVxxt43/Truncle_All_In_One.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";/**\n * Обрезает текст ровно в одну строку.\n */export function Truncate1Line(props){const{style,...rest}=props;return{style:{...style,display:\"-webkit-box\",WebkitLineClamp:1,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"},...rest};}/**\n * Обрезает текст ровно в две строки.\n */export function Truncate2Lines(props){const{style,...rest}=props;return{style:{...style,display:\"-webkit-box\",WebkitLineClamp:2,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"},...rest};}/**\n * Обрезает текст ровно в три строки.\n */export function Truncate3Lines(props){const{style,...rest}=props;return{style:{...style,display:\"-webkit-box\",WebkitLineClamp:3,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"},...rest};}/**\n * Обрезает текст ровно в четыре строки.\n */export function Truncate4Lines(props){const{style,...rest}=props;return{style:{...style,display:\"-webkit-box\",WebkitLineClamp:4,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"},...rest};}/**\n * Обрезает текст ровно в пять строк.\n */export function Truncate5Lines(props){const{style,...rest}=props;return{style:{...style,display:\"-webkit-box\",WebkitLineClamp:5,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"},...rest};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withTruncate1Line(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...Truncate1Line(props)});};}withTruncate1Line.displayName=\"Truncate1Line\";export function withTruncate2Lines(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...Truncate2Lines(props)});};}withTruncate2Lines.displayName=\"Truncate2Lines\";export function withTruncate3Lines(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...Truncate3Lines(props)});};}withTruncate3Lines.displayName=\"Truncate3Lines\";export function withTruncate4Lines(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...Truncate4Lines(props)});};}withTruncate4Lines.displayName=\"Truncate4Lines\";export function withTruncate5Lines(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...Truncate5Lines(props)});};}withTruncate5Lines.displayName=\"Truncate5Lines\";\nexport const __FramerMetadata__ = {\"exports\":{\"withTruncate1Line\":{\"type\":\"reactHoc\",\"name\":\"withTruncate1Line\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Truncate2Lines\":{\"type\":\"override\",\"name\":\"Truncate2Lines\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Truncate5Lines\":{\"type\":\"override\",\"name\":\"Truncate5Lines\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTruncate2Lines\":{\"type\":\"reactHoc\",\"name\":\"withTruncate2Lines\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Truncate3Lines\":{\"type\":\"override\",\"name\":\"Truncate3Lines\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Truncate1Line\":{\"type\":\"override\",\"name\":\"Truncate1Line\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTruncate3Lines\":{\"type\":\"reactHoc\",\"name\":\"withTruncate3Lines\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Truncate4Lines\":{\"type\":\"override\",\"name\":\"Truncate4Lines\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTruncate4Lines\":{\"type\":\"reactHoc\",\"name\":\"withTruncate4Lines\",\"annotations\":{\"framerContractVersion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