import { globalProps, taxonomies } from '@bigbinary/neeto-commons-frontend/initializers';
import { p as pluralize } from '../pluralize-BoSEafiC.js';
import { includes, keys } from 'ramda';
export { r as refetchMembers } from '../useTeamsApi-CWp4G7JZ.js';
import '../_commonjsHelpers-BFTU3MAI.js';
import '@babel/runtime/helpers/objectWithoutProperties';
import '@babel/runtime/helpers/defineProperty';
import '@tanstack/react-query';
import '@bigbinary/neeto-commons-frontend/react-utils';
import 'axios';
import '@bigbinary/neeto-cist';
import 'qs';
import '../constants-B1L6arSR.js';
import 'i18next';
import '@bigbinary/neeto-commons-frontend/constants';
import '../queryClient-BncpekSV.js';

var pluralizeLabelUsingTaxonomy = function pluralizeLabelUsingTaxonomy(label, count) {
  if (includes(label, keys(taxonomies))) {
    var taxonomyLabel = count > 1 ? taxonomies[label].plural : taxonomies[label].singular;
    return "".concat(count, " ").concat(taxonomyLabel.toLocaleLowerCase());
  }
  return pluralize(label, count, true).toLocaleLowerCase();
};
var isNeetoAuthApp = function isNeetoAuthApp() {
  return ((globalProps === null || globalProps === void 0 ? void 0 : globalProps.appName) || "").trim().toLowerCase() === "neetoauth";
};

export { isNeetoAuthApp, pluralizeLabelUsingTaxonomy };
//# sourceMappingURL=utils.js.map
