import i from "classnames";
import e from "react";
const r = "loadingBarIcon _loadingBarIcon_069bd", s = "bar _bar_b74a9", c = "loadingBarIconAnimation _loadingBarIconAnimation_5621b", l = {
  loadingBarIcon: r,
  bar: s,
  loadingBarIconAnimation: c
}, _ = ({ className: a }) => /* @__PURE__ */ e.createElement("i", { className: i(a, l.loadingBarIcon) }, /* @__PURE__ */ e.createElement("div", { className: l.bar }), /* @__PURE__ */ e.createElement("div", { className: l.bar }), /* @__PURE__ */ e.createElement("div", { className: l.bar })), t = "loading _loading_cd2f1", d = "tall _tall_15f7b", o = "medium _medium_0c14e", m = "fullScreen _fullScreen_4141b", v = "overlay _overlay_6e6fe", g = "transparent _transparent_9fb32", u = "spinner _spinner_7538d", f = "spin _spin_86e9d", b = "children _children_f8cec", n = {
  loading: t,
  tall: d,
  medium: o,
  fullScreen: m,
  overlay: v,
  transparent: g,
  spinner: u,
  spin: f,
  children: b
}, N = {
  tall: n.tall,
  medium: n.medium
};
n.overlay, n.fullScreen, n.transparent;
const p = (a) => {
  switch (a) {
    case "BAR":
      return /* @__PURE__ */ e.createElement(_, null);
    case "SPINNER":
      return /* @__PURE__ */ e.createElement("div", { className: n.spinner });
    default:
      return /* @__PURE__ */ e.createElement(_, null);
  }
}, E = (a) => /* @__PURE__ */ e.createElement("div", { className: i(n.loading, a.className) }, p(a.loadingType), a.children && /* @__PURE__ */ e.createElement("div", { className: "children" }, a.children));
export {
  E as L,
  N as a,
  _ as b
};
