"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("classnames"),t=require("./Text.scss.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(r),o={36:t.size_36,32:t.size_32,24:t.size_24,20:t.size_20,18:t.size_18,16:t.size_16,14:t.size_14,12:t.size_12},a={bold:t.bold,medium:t.medium,regular:t.regular},l={T1:t.color_t1,T6:t.color_t6,T7:t.color_t7,T8:t.color_t8,T9:t.color_t9};exports.Text=function(r){var i=r.children,c=r.size,d=void 0===c?16:c,u=r.weight,_=void 0===u?"regular":u,n=r.color,m=void 0===n?"T1":n,v=r.italic,z=void 0!==v&&v,T=r.tagName,f=void 0===T?"span":T,x=r.className,g=r.testId;return e.jsx(f,{className:s.default(t.root,o[d],a[_],l[m],z&&t.italic,x),"data-testid":g,children:i})};
