import{jsx as e}from"react/jsx-runtime";import r from"classnames";import{TextEndTruncated as a}from"../../TextEndTruncated/TextEndTruncated.js";import{AppHeaderTestIds as t}from"../AppHeader.constants.js";import o from"./AppBadge.scss.js";import{PACKAGE_LABELS as s,TEXT_FOR_PACKAGE_LABELS as n}from"../../../constants/appPackages.js";var p=function(p){var c=p.app,m=(null==c?void 0:c.package)||{},d=m.label,i=m.version,l=m.package_code_version||i;return d!==s.PROD&&(d&&n[d]||l)?e(a,{className:r(o.root,d===s.DEV&&o.dev,d===s.BETA&&o.beta),testId:t.AppBadgeTestId,children:d?n[d]:"v".concat(l)}):null};export{p as AppBadge};
//# sourceMappingURL=AppBadge.js.map
