import { default as p } from "./providers/IntlProvider.js";
import { default as u } from "./providers/Provider.js";
const r = "@@intl/UPDATE", a = ({ locale: e, formats: t, messages: o }) => ({
  type: r,
  payload: { locale: e, formats: t, messages: o }
}), n = {
  locale: "en",
  messages: {}
};
function l(e = n, t) {
  return t.type !== r ? e : { ...e, ...t.payload };
}
export {
  p as IntlProvider,
  u as Provider,
  r as UPDATE,
  n as initialState,
  l as intlReducer,
  a as updateIntl
};
