{"version":3,"file":"Typography.CaWW10kd.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/yr1KgglvT0E77Z3EIoLD/IWJ1pMozFJB2bLeiT173/Typography.js"],"sourcesContent":["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef}from\"react\";const LINES=3;export default function withLineTruncate(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const styles={...props?.style,WebkitLineClamp:`${LINES}`,WebkitBoxOrient:\"vertical\",textOverflow:\"ellipsis\",display:\"-webkit-box\",overflow:\"hidden\"};return /*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(Component,{ref:ref,...props,style:styles})});});}export function withLineBreaks(Component){return /*#__PURE__*/forwardRef((props,text)=>{const unformatted=props?.text||\"\";const formatted=unformatted.replace(/\\\\n/g,\"\\n\");return /*#__PURE__*/_jsx(Component,{...props,text:formatted});});}export function withVerticalRL(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{writingMode:\"vertical-rl\"}});});}export function withWidthConstraint(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{display:\"block\",maxWidth:\"100%\",width:\"100%\",whiteSpace:\"normal\",wordBreak:\"keep-all\"}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withWidthConstraint\":{\"type\":\"reactHoc\",\"name\":\"withWidthConstraint\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactHoc\",\"name\":\"withLineTruncate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withVerticalRL\":{\"type\":\"reactHoc\",\"name\":\"withVerticalRL\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLineBreaks\":{\"type\":\"reactHoc\",\"name\":\"withLineBreaks\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Typography.map"],"mappings":"yHAA6G,SAAwB,EAAiB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,IAAM,EAAO,CAAC,GAAG,GAAO,MAAM,gBAAgB,GAAG,IAAQ,gBAAgB,WAAW,aAAa,WAAW,QAAQ,cAAc,SAAS,QAAQ,EAAE,OAAoB,EAAKA,EAAU,CAAC,SAAsB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,MAAM,CAAM,CAAC,CAAC,CAAC,CAAE,CAAC,CAAE,CAAC,SAAgB,EAAe,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAO,CAAmC,IAAM,GAAtB,GAAO,MAAM,GAAA,CAA+B,QAAQ,OAAO;CAAI,EAAE,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,KAAK,CAAS,CAAC,CAAE,CAAC,CAAE,CAAC,SAAgB,EAAe,EAAU,CAAC,OAAoB,GAAY,EAAM,IAA2B,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,MAAM,CAAC,YAAY,aAAa,CAAC,CAAC,CAAG,CAAE,CAAC,SAAgB,EAAoB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAA2B,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,MAAM,CAAC,QAAQ,QAAQ,SAAS,OAAO,MAAM,OAAO,WAAW,SAAS,UAAU,UAAU,CAAC,CAAC,CAAG,CAAE,mBAAxiC,IAA8B,EAAO,EAAM"}