import r from "classnames";
import e from "react";
import { Trans as i } from "react-i18next";
const c = "loadingBarIcon _loadingBarIcon_dc576", _ = "bar _bar_70b4d", t = "loadingBarIconAnimation _loadingBarIconAnimation_a1d90", l = {
  loadingBarIcon: c,
  bar: _,
  loadingBarIconAnimation: t
}, s = ({ className: a }) => /* @__PURE__ */ e.createElement("i", { className: r(a, l.loadingBarIcon) }, /* @__PURE__ */ e.createElement("div", { className: l.bar }), /* @__PURE__ */ e.createElement("div", { className: l.bar }), /* @__PURE__ */ e.createElement("div", { className: l.bar })), d = "loading _loading_6433d", o = "tall _tall_53620", m = "medium _medium_ed692", v = "fullScreen _fullScreen_68762", g = "overlay _overlay_33047", u = "transparent _transparent_4c0a3", p = "spinner _spinner_88db0", I = "spin _spin_0bb25", N = "children _children_7d66f", n = {
  loading: d,
  tall: o,
  medium: m,
  fullScreen: v,
  overlay: g,
  transparent: u,
  spinner: p,
  spin: I,
  children: N
}, b = {
  tall: n.tall,
  medium: n.medium
};
n.overlay, n.fullScreen, n.transparent;
const f = (a) => {
  switch (a) {
    case "BAR":
      return /* @__PURE__ */ e.createElement(s, null);
    case "SPINNER":
      return /* @__PURE__ */ e.createElement("div", { className: n.spinner });
    default:
      return /* @__PURE__ */ e.createElement(s, null);
  }
}, E = (a) => /* @__PURE__ */ e.createElement("div", { className: r(n.loading, a.className) }, f(a.loadingType), a.children && /* @__PURE__ */ e.createElement("div", { className: "children" }, a.children)), S = (a) => /* @__PURE__ */ e.createElement(E, { className: r(b.tall, a.className) }, /* @__PURE__ */ e.createElement(i, { i18nKey: "InitialUserFetchPage.notice" }));
export {
  S as L,
  E as a,
  b,
  s as c
};
