"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/objectWithoutProperties"),t=require("react/jsx-runtime"),i=require("classnames"),o=require("react"),s=require("./Text.scss.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=c(e),a=c(r),l=c(i),u=["children","size","weight","color","italic","tagName","className","testId"];function d(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,i)}return t}function f(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?d(Object(t),!0).forEach((function(r){n.default(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var p={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,10:s.size_10,inherit:s.size_inherit},b={bold:s.bold,medium:s.medium,regular:s.regular},O={T1:s.color_t1,T6:s.color_t6,T7:s.color_t7,T8:s.color_t8,T9:s.color_t9,inherit:s.color_inherit},_=o.forwardRef((function(e,r){var i=e.children,o=e.size,c=void 0===o?16:o,n=e.weight,d=void 0===n?"regular":n,_=e.color,j=void 0===_?"T1":_,h=e.italic,m=void 0!==h&&h,g=e.tagName,v=void 0===g?"span":g,y=e.className,z=e.testId,P=a.default(e,u);return t.jsx(v,f(f({ref:r,className:l.default(s.root,p[c],b[d],O[j],m&&s.italic,y),"data-testid":z},P),{},{children:i}))}));exports.Text=_;
//# sourceMappingURL=Text.js.map
