"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
var _editorUgcTokenNames = require("./editor-ugc-token-names");
function editorUGCToken(path) {
  var tokens;
  if ((0, _platformFeatureFlags.fg)('platform_editor_typography_ugc')) {
    tokens = _editorUgcTokenNames.editorUGCTokensRefreshed;
  } else {
    tokens = _editorUgcTokenNames.editorUGCTokens;
  }
  return tokens[path];
}
var _default = exports.default = editorUGCToken;