import{__rest as e,__assign as i}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as o}from"react/jsx-runtime";import r from"classnames";import{forwardRef as t}from"react";import s from"./Text.scss.js";var a={36:s.size_36,32:s.size_32,24:s.size_24,20:s.size_20,18:s.size_18,16:s.size_16,14:s.size_14,12:s.size_12},l={bold:s.bold,medium:s.medium,regular:s.regular},m={T1:s.color_t1,T6:s.color_t6,T7:s.color_t7,T8:s.color_t8,T9:s.color_t9},c=t((function(t,c){var d=t.children,_=t.size,n=void 0===_?16:_,z=t.weight,u=void 0===z?"regular":z,f=t.color,g=void 0===f?"T1":f,p=t.italic,v=void 0!==p&&p,T=t.tagName,h=void 0===T?"span":T,N=t.className,b=t.testId,j=e(t,["children","size","weight","color","italic","tagName","className","testId"]);return o(h,i({ref:c,className:r(s.root,a[n],l[u],m[g],v&&s.italic,N),"data-testid":b},j,{children:d}))}));export{c as Text};
