import i from "classnames";
import e from "react";
const r = "loadingBarIcon _loadingBarIcon_b486f", s = "bar _bar_ab38f", c = "loadingBarIconAnimation _loadingBarIconAnimation_3d61b", 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_102d1", d = "tall _tall_e7421", o = "medium _medium_e9243", m = "fullScreen _fullScreen_a1bee", v = "overlay _overlay_fab82", g = "transparent _transparent_ec041", u = "spinner _spinner_50bb5", b = "spin _spin_4a0d2", f = "children _children_1c737", n = {
  loading: t,
  tall: d,
  medium: o,
  fullScreen: m,
  overlay: v,
  transparent: g,
  spinner: u,
  spin: b,
  children: f
}, 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
};
