{"version":3,"file":"utils.mjs","names":[],"sources":["../../../src/i18n/utils.ts"],"sourcesContent":["import { createDefaultTranslatorFunction } from '@stream-io/i18n';\n\nimport type { StreamTFunction } from './types';\n\n/**\n * The `t` in force before i18next initializes and outside `<Chat>`. It renders the inline\n * `defaultValue` of each call site, so raw dotted keys never show.\n */\nexport const defaultTranslatorFunction: StreamTFunction =\n  createDefaultTranslatorFunction() as StreamTFunction;\n\n// Re-exported from `@stream-io/i18n` so the internal module path stays stable.\nexport {\n  asDynamicKey,\n  defaultDateTimeParser,\n  getDateString,\n  getDateStringForA11y,\n  isDate,\n  isDayOrMoment,\n  isNumberOrString,\n  predefinedFormatters,\n} from '@stream-io/i18n';\n"],"mappings":";;;;;;AAQA,IAAa,4BACX,gCAAgC"}