@contentmunch/contentmunch-ui 1.1.5 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import o1, { useState as S, Fragment as s, useRef as d1, useCallback as G, useEffect as Q, useMemo as l1 } from "react";
1
+ import o1, { useState as H, Fragment as s, useRef as h1, useCallback as q, useEffect as Z, useMemo as x1 } from "react";
2
2
  var K = { exports: {} }, B = {};
3
3
  /**
4
4
  * @license React
@@ -14,19 +14,19 @@ function y1() {
14
14
  if (t1) return B;
15
15
  t1 = 1;
16
16
  var n = Symbol.for("react.transitional.element"), l = Symbol.for("react.fragment");
17
- function r(i, c, x) {
17
+ function r(c, t, i) {
18
18
  var o = null;
19
- if (x !== void 0 && (o = "" + x), c.key !== void 0 && (o = "" + c.key), "key" in c) {
20
- x = {};
21
- for (var a in c)
22
- a !== "key" && (x[a] = c[a]);
23
- } else x = c;
24
- return c = x.ref, {
19
+ if (i !== void 0 && (o = "" + i), t.key !== void 0 && (o = "" + t.key), "key" in t) {
20
+ i = {};
21
+ for (var a in t)
22
+ a !== "key" && (i[a] = t[a]);
23
+ } else i = t;
24
+ return t = i.ref, {
25
25
  $$typeof: n,
26
- type: i,
26
+ type: c,
27
27
  key: o,
28
- ref: c !== void 0 ? c : null,
29
- props: x
28
+ ref: t !== void 0 ? t : null,
29
+ props: i
30
30
  };
31
31
  }
32
32
  return B.Fragment = l, B.jsx = r, B.jsxs = r, B;
@@ -41,166 +41,166 @@ var J = {};
41
41
  * This source code is licensed under the MIT license found in the
42
42
  * LICENSE file in the root directory of this source tree.
43
43
  */
44
- var c1;
45
- function u1() {
46
- return c1 || (c1 = 1, process.env.NODE_ENV !== "production" && function() {
47
- function n(t) {
48
- if (t == null) return null;
49
- if (typeof t == "function")
50
- return t.$$typeof === z ? null : t.displayName || t.name || null;
51
- if (typeof t == "string") return t;
52
- switch (t) {
44
+ var i1;
45
+ function p1() {
46
+ return i1 || (i1 = 1, process.env.NODE_ENV !== "production" && function() {
47
+ function n(x) {
48
+ if (x == null) return null;
49
+ if (typeof x == "function")
50
+ return x.$$typeof === A ? null : x.displayName || x.name || null;
51
+ if (typeof x == "string") return x;
52
+ switch (x) {
53
53
  case g:
54
54
  return "Fragment";
55
55
  case f:
56
56
  return "Profiler";
57
57
  case _:
58
58
  return "StrictMode";
59
- case b:
59
+ case M:
60
60
  return "Suspense";
61
- case H:
61
+ case S:
62
62
  return "SuspenseList";
63
63
  case k:
64
64
  return "Activity";
65
65
  }
66
- if (typeof t == "object")
67
- switch (typeof t.tag == "number" && console.error(
66
+ if (typeof x == "object")
67
+ switch (typeof x.tag == "number" && console.error(
68
68
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
69
- ), t.$$typeof) {
69
+ ), x.$$typeof) {
70
70
  case N:
71
71
  return "Portal";
72
72
  case C:
73
- return (t.displayName || "Context") + ".Provider";
73
+ return (x.displayName || "Context") + ".Provider";
74
74
  case E:
75
- return (t._context.displayName || "Context") + ".Consumer";
76
- case A:
77
- var u = t.render;
78
- return t = t.displayName, t || (t = u.displayName || u.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
75
+ return (x._context.displayName || "Context") + ".Consumer";
76
+ case z:
77
+ var p = x.render;
78
+ return x = x.displayName, x || (x = p.displayName || p.name || "", x = x !== "" ? "ForwardRef(" + x + ")" : "ForwardRef"), x;
79
79
  case P:
80
- return u = t.displayName || null, u !== null ? u : n(t.type) || "Memo";
80
+ return p = x.displayName || null, p !== null ? p : n(x.type) || "Memo";
81
81
  case m:
82
- u = t._payload, t = t._init;
82
+ p = x._payload, x = x._init;
83
83
  try {
84
- return n(t(u));
84
+ return n(x(p));
85
85
  } catch {
86
86
  }
87
87
  }
88
88
  return null;
89
89
  }
90
- function l(t) {
91
- return "" + t;
90
+ function l(x) {
91
+ return "" + x;
92
92
  }
93
- function r(t) {
93
+ function r(x) {
94
94
  try {
95
- l(t);
96
- var u = !1;
95
+ l(x);
96
+ var p = !1;
97
97
  } catch {
98
- u = !0;
98
+ p = !0;
99
99
  }
100
- if (u) {
101
- u = console;
102
- var M = u.error, R = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object";
103
- return M.call(
104
- u,
100
+ if (p) {
101
+ p = console;
102
+ var b = p.error, R = typeof Symbol == "function" && Symbol.toStringTag && x[Symbol.toStringTag] || x.constructor.name || "Object";
103
+ return b.call(
104
+ p,
105
105
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
106
106
  R
107
- ), l(t);
107
+ ), l(x);
108
108
  }
109
109
  }
110
- function i(t) {
111
- if (t === g) return "<>";
112
- if (typeof t == "object" && t !== null && t.$$typeof === m)
110
+ function c(x) {
111
+ if (x === g) return "<>";
112
+ if (typeof x == "object" && x !== null && x.$$typeof === m)
113
113
  return "<...>";
114
114
  try {
115
- var u = n(t);
116
- return u ? "<" + u + ">" : "<...>";
115
+ var p = n(x);
116
+ return p ? "<" + p + ">" : "<...>";
117
117
  } catch {
118
118
  return "<...>";
119
119
  }
120
120
  }
121
- function c() {
122
- var t = O.A;
123
- return t === null ? null : t.getOwner();
121
+ function t() {
122
+ var x = O.A;
123
+ return x === null ? null : x.getOwner();
124
124
  }
125
- function x() {
125
+ function i() {
126
126
  return Error("react-stack-top-frame");
127
127
  }
128
- function o(t) {
129
- if (X.call(t, "key")) {
130
- var u = Object.getOwnPropertyDescriptor(t, "key").get;
131
- if (u && u.isReactWarning) return !1;
128
+ function o(x) {
129
+ if (X.call(x, "key")) {
130
+ var p = Object.getOwnPropertyDescriptor(x, "key").get;
131
+ if (p && p.isReactWarning) return !1;
132
132
  }
133
- return t.key !== void 0;
133
+ return x.key !== void 0;
134
134
  }
135
- function a(t, u) {
136
- function M() {
135
+ function a(x, p) {
136
+ function b() {
137
137
  $ || ($ = !0, console.error(
138
138
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
139
- u
139
+ p
140
140
  ));
141
141
  }
142
- M.isReactWarning = !0, Object.defineProperty(t, "key", {
143
- get: M,
142
+ b.isReactWarning = !0, Object.defineProperty(x, "key", {
143
+ get: b,
144
144
  configurable: !0
145
145
  });
146
146
  }
147
- function j() {
148
- var t = n(this.type);
149
- return Y[t] || (Y[t] = !0, console.error(
147
+ function d() {
148
+ var x = n(this.type);
149
+ return Y[x] || (Y[x] = !0, console.error(
150
150
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
151
- )), t = this.props.ref, t !== void 0 ? t : null;
151
+ )), x = this.props.ref, x !== void 0 ? x : null;
152
152
  }
153
- function y(t, u, M, R, D, L, e1, s1) {
154
- return M = L.ref, t = {
153
+ function y(x, p, b, R, D, L, s1, n1) {
154
+ return b = L.ref, x = {
155
155
  $$typeof: v,
156
- type: t,
157
- key: u,
156
+ type: x,
157
+ key: p,
158
158
  props: L,
159
159
  _owner: D
160
- }, (M !== void 0 ? M : null) !== null ? Object.defineProperty(t, "ref", {
160
+ }, (b !== void 0 ? b : null) !== null ? Object.defineProperty(x, "ref", {
161
161
  enumerable: !1,
162
- get: j
163
- }) : Object.defineProperty(t, "ref", { enumerable: !1, value: null }), t._store = {}, Object.defineProperty(t._store, "validated", {
162
+ get: d
163
+ }) : Object.defineProperty(x, "ref", { enumerable: !1, value: null }), x._store = {}, Object.defineProperty(x._store, "validated", {
164
164
  configurable: !1,
165
165
  enumerable: !1,
166
166
  writable: !0,
167
167
  value: 0
168
- }), Object.defineProperty(t, "_debugInfo", {
168
+ }), Object.defineProperty(x, "_debugInfo", {
169
169
  configurable: !1,
170
170
  enumerable: !1,
171
171
  writable: !0,
172
172
  value: null
173
- }), Object.defineProperty(t, "_debugStack", {
173
+ }), Object.defineProperty(x, "_debugStack", {
174
174
  configurable: !1,
175
175
  enumerable: !1,
176
176
  writable: !0,
177
- value: e1
178
- }), Object.defineProperty(t, "_debugTask", {
177
+ value: s1
178
+ }), Object.defineProperty(x, "_debugTask", {
179
179
  configurable: !1,
180
180
  enumerable: !1,
181
181
  writable: !0,
182
- value: s1
183
- }), Object.freeze && (Object.freeze(t.props), Object.freeze(t)), t;
182
+ value: n1
183
+ }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
184
184
  }
185
- function d(t, u, M, R, D, L, e1, s1) {
186
- var T = u.children;
185
+ function h(x, p, b, R, D, L, s1, n1) {
186
+ var T = p.children;
187
187
  if (T !== void 0)
188
188
  if (R)
189
- if (Z(T)) {
189
+ if (e1(T)) {
190
190
  for (R = 0; R < T.length; R++)
191
- h(T[R]);
191
+ j(T[R]);
192
192
  Object.freeze && Object.freeze(T);
193
193
  } else
194
194
  console.error(
195
195
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
196
196
  );
197
- else h(T);
198
- if (X.call(u, "key")) {
199
- T = n(t);
200
- var F = Object.keys(u).filter(function(j1) {
201
- return j1 !== "key";
197
+ else j(T);
198
+ if (X.call(p, "key")) {
199
+ T = n(x);
200
+ var F = Object.keys(p).filter(function(d1) {
201
+ return d1 !== "key";
202
202
  });
203
- R = 0 < F.length ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}", r1[T + R] || (F = 0 < F.length ? "{" + F.join(": ..., ") + ": ...}" : "{}", console.error(
203
+ R = 0 < F.length ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}", l1[T + R] || (F = 0 < F.length ? "{" + F.join(": ..., ") + ": ...}" : "{}", console.error(
204
204
  `A props object containing a "key" prop is being spread into JSX:
205
205
  let props = %s;
206
206
  <%s {...props} />
@@ -211,116 +211,119 @@ React keys must be passed directly to JSX without using spread:
211
211
  T,
212
212
  F,
213
213
  T
214
- ), r1[T + R] = !0);
214
+ ), l1[T + R] = !0);
215
215
  }
216
- if (T = null, M !== void 0 && (r(M), T = "" + M), o(u) && (r(u.key), T = "" + u.key), "key" in u) {
217
- M = {};
218
- for (var n1 in u)
219
- n1 !== "key" && (M[n1] = u[n1]);
220
- } else M = u;
216
+ if (T = null, b !== void 0 && (r(b), T = "" + b), o(p) && (r(p.key), T = "" + p.key), "key" in p) {
217
+ b = {};
218
+ for (var r1 in p)
219
+ r1 !== "key" && (b[r1] = p[r1]);
220
+ } else b = p;
221
221
  return T && a(
222
- M,
223
- typeof t == "function" ? t.displayName || t.name || "Unknown" : t
222
+ b,
223
+ typeof x == "function" ? x.displayName || x.name || "Unknown" : x
224
224
  ), y(
225
- t,
225
+ x,
226
226
  T,
227
227
  L,
228
228
  D,
229
- c(),
230
- M,
231
- e1,
232
- s1
229
+ t(),
230
+ b,
231
+ s1,
232
+ n1
233
233
  );
234
234
  }
235
- function h(t) {
236
- typeof t == "object" && t !== null && t.$$typeof === v && t._store && (t._store.validated = 1);
235
+ function j(x) {
236
+ typeof x == "object" && x !== null && x.$$typeof === v && x._store && (x._store.validated = 1);
237
237
  }
238
- var p = o1, v = Symbol.for("react.transitional.element"), N = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), E = Symbol.for("react.consumer"), C = Symbol.for("react.context"), A = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), H = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), k = Symbol.for("react.activity"), z = Symbol.for("react.client.reference"), O = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, X = Object.prototype.hasOwnProperty, Z = Array.isArray, I = console.createTask ? console.createTask : function() {
238
+ var u = o1, v = Symbol.for("react.transitional.element"), N = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), E = Symbol.for("react.consumer"), C = Symbol.for("react.context"), z = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), S = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), k = Symbol.for("react.activity"), A = Symbol.for("react.client.reference"), O = u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, X = Object.prototype.hasOwnProperty, e1 = Array.isArray, I = console.createTask ? console.createTask : function() {
239
239
  return null;
240
240
  };
241
- p = {
242
- "react-stack-bottom-frame": function(t) {
243
- return t();
241
+ u = {
242
+ "react-stack-bottom-frame": function(x) {
243
+ return x();
244
244
  }
245
245
  };
246
- var $, Y = {}, U = p["react-stack-bottom-frame"].bind(
247
- p,
248
- x
249
- )(), W = I(i(x)), r1 = {};
250
- J.Fragment = g, J.jsx = function(t, u, M, R, D) {
246
+ var $, Y = {}, U = u["react-stack-bottom-frame"].bind(
247
+ u,
248
+ i
249
+ )(), W = I(c(i)), l1 = {};
250
+ J.Fragment = g, J.jsx = function(x, p, b, R, D) {
251
251
  var L = 1e4 > O.recentlyCreatedOwnerStacks++;
252
- return d(
253
- t,
254
- u,
255
- M,
252
+ return h(
253
+ x,
254
+ p,
255
+ b,
256
256
  !1,
257
257
  R,
258
258
  D,
259
259
  L ? Error("react-stack-top-frame") : U,
260
- L ? I(i(t)) : W
260
+ L ? I(c(x)) : W
261
261
  );
262
- }, J.jsxs = function(t, u, M, R, D) {
262
+ }, J.jsxs = function(x, p, b, R, D) {
263
263
  var L = 1e4 > O.recentlyCreatedOwnerStacks++;
264
- return d(
265
- t,
266
- u,
267
- M,
264
+ return h(
265
+ x,
266
+ p,
267
+ b,
268
268
  !0,
269
269
  R,
270
270
  D,
271
271
  L ? Error("react-stack-top-frame") : U,
272
- L ? I(i(t)) : W
272
+ L ? I(c(x)) : W
273
273
  );
274
274
  };
275
275
  }()), J;
276
276
  }
277
- var i1;
278
- function p1() {
279
- return i1 || (i1 = 1, process.env.NODE_ENV === "production" ? K.exports = y1() : K.exports = u1()), K.exports;
277
+ var c1;
278
+ function u1() {
279
+ return c1 || (c1 = 1, process.env.NODE_ENV === "production" ? K.exports = y1() : K.exports = p1()), K.exports;
280
280
  }
281
- var e = p1();
282
- const A1 = ({ variant: n, collapsed: l, children: r }) => {
283
- const { folds: i } = r, [c, x] = S(l ? -1 : 0), o = (d) => d === c ? "fold active" : "fold", a = (d) => "fold-button" + (n ? " fold-button--" + n : "") + (i[d].foldColor ? " fold-button--primary fold-button--" + i[d].foldColor : ""), j = (d) => {
284
- const h = d.which.toString(), p = d.ctrlKey && h.match(/33|34/);
285
- if (h.match(/38|40/) || p) {
286
- const v = h.match(/34|40/) ? 1 : -1, N = i.length, g = (c + N + v) % N;
287
- x(g);
281
+ var e = u1();
282
+ const z1 = ({ variant: n, collapsed: l, children: r }) => {
283
+ const { folds: c } = r, [t, i] = H(l ? -1 : 0), o = (h) => h === t ? "fold active" : "fold", a = (h) => "fold-button" + (n ? " fold-button--" + n : "") + (c[h].foldColor ? " fold-button--primary fold-button--" + c[h].foldColor : ""), d = (h) => {
284
+ const j = h.which.toString(), u = h.ctrlKey && j.match(/33|34/);
285
+ if (j.match(/38|40/) || u) {
286
+ const v = j.match(/34|40/) ? 1 : -1, N = c.length, g = (t + N + v) % N;
287
+ i(g);
288
288
  } else
289
- h === "36" && x(0), h === "35" && x(i.length - 1);
290
- d.preventDefault();
291
- }, y = (d) => {
292
- x(c === d ? -1 : d);
289
+ j === "36" && i(0), j === "35" && i(c.length - 1);
290
+ h.preventDefault();
291
+ }, y = (h) => {
292
+ i(t === h ? -1 : h);
293
293
  };
294
- return /* @__PURE__ */ e.jsx("div", { className: "muncher-accordion", children: i.map(
295
- (d, h) => /* @__PURE__ */ e.jsxs(
294
+ return /* @__PURE__ */ e.jsx("div", { className: "muncher-accordion", children: c.map(
295
+ (h, j) => /* @__PURE__ */ e.jsxs(
296
296
  "div",
297
297
  {
298
- className: o(h),
299
- "aria-expanded": c === h,
298
+ className: o(j),
299
+ "aria-expanded": t === j,
300
300
  children: [
301
301
  /* @__PURE__ */ e.jsx(
302
302
  "button",
303
303
  {
304
- className: a(h),
305
- onKeyDown: j,
306
- onClick: () => y(h),
307
- children: /* @__PURE__ */ e.jsx("span", { children: d.heading })
304
+ className: a(j),
305
+ onKeyDown: d,
306
+ onClick: () => y(j),
307
+ children: /* @__PURE__ */ e.jsx("span", { children: h.heading })
308
308
  }
309
309
  ),
310
- /* @__PURE__ */ e.jsx("section", { className: "fold-content", children: d.body })
310
+ /* @__PURE__ */ e.jsx("section", { className: "fold-content", children: h.body })
311
311
  ]
312
312
  },
313
- "muncher-accordion-fold-" + h
313
+ "muncher-accordion-fold-" + j
314
314
  )
315
315
  ) });
316
316
  }, m1 = ({
317
317
  show: n = !1,
318
318
  backdropClickHandler: l,
319
319
  ...r
320
- }) => n ? /* @__PURE__ */ e.jsx("div", { className: "muncher-backdrop", onClick: l, ...r }) : null, f1 = ({ variant: n, rounded: l, border: r, children: i, ...c }) => {
321
- const x = "muncher-badge" + (n ? " muncher-badge--" + n : "") + (l ? " muncher-badge--rounded" : "") + (r ? " muncher-badge--border" : "");
322
- return /* @__PURE__ */ e.jsx("div", { className: x, ...c, children: i });
323
- }, x1 = {
320
+ }) => n ? /* @__PURE__ */ e.jsx("div", { className: "muncher-backdrop", onClick: l, ...r }) : null, f1 = ({ variant: n, rounded: l, border: r, children: c, ...t }) => {
321
+ const i = "muncher-badge" + (n ? " muncher-badge--" + n : "") + (l ? " muncher-badge--rounded" : "") + (r ? " muncher-badge--border" : "");
322
+ return /* @__PURE__ */ e.jsx("div", { className: i, ...t, children: c });
323
+ }, Q = {
324
+ // Navigation & Movement (Anything related to direction, traversal, layout movement)
325
+ // Actions & Controls (Generic system actions and state changes)
326
+ // Content & Creation
324
327
  "align-center": /* @__PURE__ */ e.jsxs(s, { children: [
325
328
  /* @__PURE__ */ e.jsx("line", { x1: "18", y1: "10", x2: "6", y2: "10" }),
326
329
  /* @__PURE__ */ e.jsx("line", { x1: "21", y1: "6", x2: "3", y2: "6" }),
@@ -350,6 +353,19 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
350
353
  /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "20", x2: "15", y2: "20" }),
351
354
  /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "4", x2: "12", y2: "20" })
352
355
  ] }),
356
+ italic: /* @__PURE__ */ e.jsxs(s, { children: [
357
+ /* @__PURE__ */ e.jsx("line", { x1: "19", y1: "4", x2: "10", y2: "4" }),
358
+ /* @__PURE__ */ e.jsx("line", { x1: "14", y1: "20", x2: "5", y2: "20" }),
359
+ /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "4", x2: "9", y2: "20" })
360
+ ] }),
361
+ bold: /* @__PURE__ */ e.jsxs(s, { children: [
362
+ /* @__PURE__ */ e.jsx("path", { d: "M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z" }),
363
+ /* @__PURE__ */ e.jsx("path", { d: "M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z" })
364
+ ] }),
365
+ underline: /* @__PURE__ */ e.jsxs(s, { children: [
366
+ /* @__PURE__ */ e.jsx("path", { d: "M6 3v7a6 6 0 0 0 6 6 6 6 0 0 0 6-6V3" }),
367
+ /* @__PURE__ */ e.jsx("line", { x1: "4", y1: "21", x2: "20", y2: "21" })
368
+ ] }),
353
369
  "ordered-list": /* @__PURE__ */ e.jsxs(s, { children: [
354
370
  /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "5", x2: "21", y2: "5" }),
355
371
  /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "12", x2: "21", y2: "12" }),
@@ -366,16 +382,6 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
366
382
  /* @__PURE__ */ e.jsx("circle", { cx: "4", cy: "5", r: "1" }),
367
383
  /* @__PURE__ */ e.jsx("circle", { cx: "4", cy: "19", r: "1" })
368
384
  ] }),
369
- table: /* @__PURE__ */ e.jsxs(s, { children: [
370
- /* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
371
- /* @__PURE__ */ e.jsx("line", { x1: "3", y1: "9", x2: "21", y2: "9" }),
372
- /* @__PURE__ */ e.jsx("line", { x1: "3", y1: "15", x2: "21", y2: "15" }),
373
- /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "3", x2: "12", y2: "21" })
374
- ] }),
375
- "split-view": /* @__PURE__ */ e.jsxs(s, { children: [
376
- /* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
377
- /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "3", x2: "12", y2: "21" })
378
- ] }),
379
385
  undo: /* @__PURE__ */ e.jsxs(s, { children: [
380
386
  /* @__PURE__ */ e.jsx("polyline", { points: "2 10 2 16 8 16" }),
381
387
  /* @__PURE__ */ e.jsx("path", { d: "m22 16c-1.8136-6.5424-9.5593-9.4823-15.36-4.36l-4.64 4.36" })
@@ -396,31 +402,6 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
396
402
  /* @__PURE__ */ e.jsx("line", { x1: "16", y1: "19", x2: "16", y2: "22" }),
397
403
  /* @__PURE__ */ e.jsx("line", { x1: "19", y1: "16", x2: "22", y2: "16" })
398
404
  ] }),
399
- "arrow-left": /* @__PURE__ */ e.jsxs(s, { children: [
400
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
401
- /* @__PURE__ */ e.jsx("polyline", { points: "12 8 8 12 12 16" }),
402
- /* @__PURE__ */ e.jsx("line", { x1: "16", y1: "12", x2: "8", y2: "12" })
403
- ] }),
404
- "arrow-right": /* @__PURE__ */ e.jsxs(s, { children: [
405
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
406
- /* @__PURE__ */ e.jsx("polyline", { points: "12 16 16 12 12 8" }),
407
- /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
408
- ] }),
409
- "arrow-down": /* @__PURE__ */ e.jsxs(s, { children: [
410
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
411
- /* @__PURE__ */ e.jsx("polyline", { points: "8 12 12 16 16 12" }),
412
- /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" })
413
- ] }),
414
- "arrow-up": /* @__PURE__ */ e.jsxs(s, { children: [
415
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
416
- /* @__PURE__ */ e.jsx("polyline", { points: "16 12 12 8 8 12" }),
417
- /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "16", x2: "12", y2: "8" })
418
- ] }),
419
- anchor: /* @__PURE__ */ e.jsxs(s, { children: [
420
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "5", r: "3" }),
421
- /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "22", x2: "12", y2: "8" }),
422
- /* @__PURE__ */ e.jsx("path", { d: "M5 12H2a10 10 0 0 0 20 0h-3" })
423
- ] }),
424
405
  hamburger: /* @__PURE__ */ e.jsxs(s, { children: [
425
406
  /* @__PURE__ */ e.jsx("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
426
407
  /* @__PURE__ */ e.jsx("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
@@ -475,10 +456,7 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
475
456
  ),
476
457
  /* @__PURE__ */ e.jsx("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" })
477
458
  ] }),
478
- clock: /* @__PURE__ */ e.jsxs(s, { children: [
479
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
480
- /* @__PURE__ */ e.jsx("polyline", { points: "12 6 12 12 16 14" })
481
- ] }),
459
+ moon: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("path", { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" }) }),
482
460
  cloud: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("path", { d: "M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z" }) }),
483
461
  "cloud-drizzle": /* @__PURE__ */ e.jsxs(s, { children: [
484
462
  /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "19", x2: "8", y2: "21" }),
@@ -493,6 +471,12 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
493
471
  /* @__PURE__ */ e.jsx("path", { d: "M19 16.9A5 5 0 0 0 18 7h-1.26a8 8 0 1 0-11.62 9" }),
494
472
  /* @__PURE__ */ e.jsx("polyline", { points: "13 11 9 17 15 17 11 23" })
495
473
  ] }),
474
+ server: /* @__PURE__ */ e.jsxs(s, { children: [
475
+ /* @__PURE__ */ e.jsx("rect", { x: "2", y: "2", width: "20", height: "8", rx: "2", ry: "2" }),
476
+ /* @__PURE__ */ e.jsx("rect", { x: "2", y: "14", width: "20", height: "8", rx: "2", ry: "2" }),
477
+ /* @__PURE__ */ e.jsx("line", { x1: "6", y1: "6", x2: "6.01", y2: "6" }),
478
+ /* @__PURE__ */ e.jsx("line", { x1: "6", y1: "18", x2: "6.01", y2: "18" })
479
+ ] }),
496
480
  camera: /* @__PURE__ */ e.jsxs(s, { children: [
497
481
  /* @__PURE__ */ e.jsx("path", { d: "M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z" }),
498
482
  /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "13", r: "4" })
@@ -513,24 +497,16 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
513
497
  /* @__PURE__ */ e.jsx("line", { x1: "10", y1: "1", x2: "10", y2: "4" }),
514
498
  /* @__PURE__ */ e.jsx("line", { x1: "14", y1: "1", x2: "14", y2: "4" })
515
499
  ] }),
516
- compass: /* @__PURE__ */ e.jsxs(s, { children: [
517
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
518
- /* @__PURE__ */ e.jsx("polygon", { points: "16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76" })
519
- ] }),
520
500
  eye: /* @__PURE__ */ e.jsxs(s, { children: [
521
501
  /* @__PURE__ */ e.jsx("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
522
502
  /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "3" })
523
503
  ] }),
504
+ droplet: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("path", { d: "M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z" }) }),
524
505
  feather: /* @__PURE__ */ e.jsxs(s, { children: [
525
506
  /* @__PURE__ */ e.jsx("path", { d: "M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z" }),
526
507
  /* @__PURE__ */ e.jsx("line", { x1: "16", y1: "8", x2: "2", y2: "22" }),
527
508
  /* @__PURE__ */ e.jsx("line", { x1: "17.5", y1: "15", x2: "9", y2: "15" })
528
509
  ] }),
529
- globe: /* @__PURE__ */ e.jsxs(s, { children: [
530
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
531
- /* @__PURE__ */ e.jsx("line", { x1: "2", y1: "12", x2: "22", y2: "12" }),
532
- /* @__PURE__ */ e.jsx("path", { d: "M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" })
533
- ] }),
534
510
  headphone: /* @__PURE__ */ e.jsxs(s, { children: [
535
511
  /* @__PURE__ */ e.jsx("path", { d: "M3 18v-6a9 9 0 0 1 18 0v6" }),
536
512
  /* @__PURE__ */ e.jsx(
@@ -540,12 +516,20 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
540
516
  }
541
517
  )
542
518
  ] }),
519
+ slash: /* @__PURE__ */ e.jsxs(s, { children: [
520
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
521
+ /* @__PURE__ */ e.jsx("line", { x1: "4.93", y1: "4.93", x2: "19.07", y2: "19.07" })
522
+ ] }),
523
+ circle: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }) }),
524
+ triangle: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }) }),
525
+ square: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }) }),
543
526
  hexagon: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx(
544
527
  "path",
545
528
  {
546
529
  d: "M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"
547
530
  }
548
531
  ) }),
532
+ octagon: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("polygon", { points: "7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2" }) }),
549
533
  package: /* @__PURE__ */ e.jsxs(s, { children: [
550
534
  /* @__PURE__ */ e.jsx("line", { x1: "16.5", y1: "9.4", x2: "7.5", y2: "4.21" }),
551
535
  /* @__PURE__ */ e.jsx(
@@ -599,10 +583,35 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
599
583
  ),
600
584
  /* @__PURE__ */ e.jsx("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
601
585
  ] }),
586
+ speaker: /* @__PURE__ */ e.jsxs(s, { children: [
587
+ /* @__PURE__ */ e.jsx("rect", { x: "4", y: "2", width: "16", height: "20", rx: "2", ry: "2" }),
588
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "14", r: "4" }),
589
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "6", x2: "12.01", y2: "6" })
590
+ ] }),
602
591
  tv: /* @__PURE__ */ e.jsxs(s, { children: [
603
592
  /* @__PURE__ */ e.jsx("rect", { x: "2", y: "7", width: "20", height: "15", rx: "2", ry: "2" }),
604
593
  /* @__PURE__ */ e.jsx("polyline", { points: "17 2 12 7 7 2" })
605
594
  ] }),
595
+ film: /* @__PURE__ */ e.jsxs(s, { children: [
596
+ /* @__PURE__ */ e.jsx("rect", { x: "2", y: "2", width: "20", height: "20", rx: "2.18", ry: "2.18" }),
597
+ /* @__PURE__ */ e.jsx("line", { x1: "7", y1: "2", x2: "7", y2: "22" }),
598
+ /* @__PURE__ */ e.jsx("line", { x1: "17", y1: "2", x2: "17", y2: "22" }),
599
+ /* @__PURE__ */ e.jsx("line", { x1: "2", y1: "12", x2: "22", y2: "12" }),
600
+ /* @__PURE__ */ e.jsx("line", { x1: "2", y1: "7", x2: "7", y2: "7" }),
601
+ /* @__PURE__ */ e.jsx("line", { x1: "2", y1: "17", x2: "7", y2: "17" }),
602
+ /* @__PURE__ */ e.jsx("line", { x1: "17", y1: "17", x2: "22", y2: "17" }),
603
+ /* @__PURE__ */ e.jsx("line", { x1: "17", y1: "7", x2: "22", y2: "7" })
604
+ ] }),
605
+ monitor: /* @__PURE__ */ e.jsxs(s, { children: [
606
+ /* @__PURE__ */ e.jsx("rect", { x: "2", y: "3", width: "20", height: "14", rx: "2", ry: "2" }),
607
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "21", x2: "16", y2: "21" }),
608
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "17", x2: "12", y2: "21" })
609
+ ] }),
610
+ music: /* @__PURE__ */ e.jsxs(s, { children: [
611
+ /* @__PURE__ */ e.jsx("path", { d: "M9 18V5l12-2v13" }),
612
+ /* @__PURE__ */ e.jsx("circle", { cx: "6", cy: "18", r: "3" }),
613
+ /* @__PURE__ */ e.jsx("circle", { cx: "18", cy: "16", r: "3" })
614
+ ] }),
606
615
  truck: /* @__PURE__ */ e.jsxs(s, { children: [
607
616
  /* @__PURE__ */ e.jsx("rect", { x: "1", y: "3", width: "15", height: "13" }),
608
617
  /* @__PURE__ */ e.jsx("polygon", { points: "16 8 20 8 23 11 23 16 16 16 16 8" }),
@@ -658,12 +667,44 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
658
667
  /* @__PURE__ */ e.jsx("line", { x1: "23", y1: "9", x2: "17", y2: "15" }),
659
668
  /* @__PURE__ */ e.jsx("line", { x1: "17", y1: "9", x2: "23", y2: "15" })
660
669
  ] }),
670
+ mic: /* @__PURE__ */ e.jsxs(s, { children: [
671
+ /* @__PURE__ */ e.jsx("path", { d: "M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z" }),
672
+ /* @__PURE__ */ e.jsx("path", { d: "M19 10v2a7 7 0 0 1-14 0v-2" }),
673
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "19", x2: "12", y2: "23" }),
674
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "23", x2: "16", y2: "23" })
675
+ ] }),
676
+ "mic-off": /* @__PURE__ */ e.jsxs(s, { children: [
677
+ /* @__PURE__ */ e.jsx("line", { x1: "1", y1: "1", x2: "23", y2: "23" }),
678
+ /* @__PURE__ */ e.jsx("path", { d: "M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V4a3 3 0 0 0-5.94-.6" }),
679
+ /* @__PURE__ */ e.jsx("path", { d: "M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23" }),
680
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "19", x2: "12", y2: "23" }),
681
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "23", x2: "16", y2: "23" })
682
+ ] }),
683
+ "arrow-left": /* @__PURE__ */ e.jsxs(s, { children: [
684
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
685
+ /* @__PURE__ */ e.jsx("polyline", { points: "12 8 8 12 12 16" }),
686
+ /* @__PURE__ */ e.jsx("line", { x1: "16", y1: "12", x2: "8", y2: "12" })
687
+ ] }),
688
+ "arrow-right": /* @__PURE__ */ e.jsxs(s, { children: [
689
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
690
+ /* @__PURE__ */ e.jsx("polyline", { points: "12 16 16 12 12 8" }),
691
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
692
+ ] }),
693
+ "arrow-down": /* @__PURE__ */ e.jsxs(s, { children: [
694
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
695
+ /* @__PURE__ */ e.jsx("polyline", { points: "8 12 12 16 16 12" }),
696
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" })
697
+ ] }),
698
+ "arrow-up": /* @__PURE__ */ e.jsxs(s, { children: [
699
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
700
+ /* @__PURE__ */ e.jsx("polyline", { points: "16 12 12 8 8 12" }),
701
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "16", x2: "12", y2: "8" })
702
+ ] }),
661
703
  alert: /* @__PURE__ */ e.jsxs(s, { children: [
662
704
  /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
663
705
  /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "12" }),
664
706
  /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "16", x2: "12.01", y2: "16" })
665
707
  ] }),
666
- "simple-check": /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("polyline", { points: "20 6 9 17 4 12" }) }),
667
708
  check: /* @__PURE__ */ e.jsxs(s, { children: [
668
709
  /* @__PURE__ */ e.jsx("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }),
669
710
  /* @__PURE__ */ e.jsx("polyline", { points: "22 4 12 14.01 9 11.01" })
@@ -683,6 +724,71 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
683
724
  /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "9", y2: "15" }),
684
725
  /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "15", y2: "15" })
685
726
  ] }),
727
+ plus: /* @__PURE__ */ e.jsxs(s, { children: [
728
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
729
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" }),
730
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
731
+ ] }),
732
+ minus: /* @__PURE__ */ e.jsxs(s, { children: [
733
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
734
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
735
+ ] }),
736
+ divide: /* @__PURE__ */ e.jsxs(s, { children: [
737
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" }),
738
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "16", x2: "12", y2: "16" }),
739
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "8" }),
740
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" })
741
+ ] }),
742
+ disc: /* @__PURE__ */ e.jsxs(s, { children: [
743
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
744
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "3" })
745
+ ] }),
746
+ target: /* @__PURE__ */ e.jsxs(s, { children: [
747
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
748
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "6" }),
749
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "2" })
750
+ ] }),
751
+ clock: /* @__PURE__ */ e.jsxs(s, { children: [
752
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
753
+ /* @__PURE__ */ e.jsx("polyline", { points: "12 6 12 12 16 14" })
754
+ ] }),
755
+ compass: /* @__PURE__ */ e.jsxs(s, { children: [
756
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
757
+ /* @__PURE__ */ e.jsx("polygon", { points: "16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76" })
758
+ ] }),
759
+ globe: /* @__PURE__ */ e.jsxs(s, { children: [
760
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
761
+ /* @__PURE__ */ e.jsx("line", { x1: "2", y1: "12", x2: "22", y2: "12" }),
762
+ /* @__PURE__ */ e.jsx("path", { d: "M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" })
763
+ ] }),
764
+ dribble: /* @__PURE__ */ e.jsxs(s, { children: [
765
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
766
+ /* @__PURE__ */ e.jsx(
767
+ "path",
768
+ {
769
+ d: "M8.56 2.75c4.37 6.03 6.02 9.42 8.03 17.72m2.54-15.38c-3.72 4.35-8.94 5.66-16.88 5.85m19.5 1.9c-3.5-.93-6.63-.82-8.94 0-2.58.92-5.01 2.86-7.44 6.32"
770
+ }
771
+ )
772
+ ] }),
773
+ smile: /* @__PURE__ */ e.jsxs(s, { children: [
774
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
775
+ /* @__PURE__ */ e.jsx("path", { d: "M8 14s1.5 2 4 2 4-2 4-2" }),
776
+ /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
777
+ /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
778
+ ] }),
779
+ frown: /* @__PURE__ */ e.jsxs(s, { children: [
780
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
781
+ /* @__PURE__ */ e.jsx("path", { d: "M16 16s-1.5-2-4-2-4 2-4 2" }),
782
+ /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
783
+ /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
784
+ ] }),
785
+ meh: /* @__PURE__ */ e.jsxs(s, { children: [
786
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
787
+ /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "15", x2: "16", y2: "15" }),
788
+ /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
789
+ /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
790
+ ] }),
791
+ "simple-check": /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("polyline", { points: "20 6 9 17 4 12" }) }),
686
792
  code: /* @__PURE__ */ e.jsxs(s, { children: [
687
793
  /* @__PURE__ */ e.jsx("polyline", { points: "16 18 22 12 16 6" }),
688
794
  /* @__PURE__ */ e.jsx("polyline", { points: "8 6 2 12 8 18" })
@@ -740,15 +846,6 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
740
846
  /* @__PURE__ */ e.jsx("line", { x1: "4.22", y1: "19.78", x2: "5.64", y2: "18.36" }),
741
847
  /* @__PURE__ */ e.jsx("line", { x1: "18.36", y1: "5.64", x2: "19.78", y2: "4.22" })
742
848
  ] }),
743
- plus: /* @__PURE__ */ e.jsxs(s, { children: [
744
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
745
- /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" }),
746
- /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
747
- ] }),
748
- minus: /* @__PURE__ */ e.jsxs(s, { children: [
749
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
750
- /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
751
- ] }),
752
849
  "external-link": /* @__PURE__ */ e.jsxs(s, { children: [
753
850
  /* @__PURE__ */ e.jsx("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
754
851
  /* @__PURE__ */ e.jsx("polyline", { points: "15 3 21 3 21 9" }),
@@ -793,18 +890,39 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
793
890
  /* @__PURE__ */ e.jsx("line", { x1: "14.47", y1: "14.48", x2: "20", y2: "20" }),
794
891
  /* @__PURE__ */ e.jsx("line", { x1: "8.12", y1: "8.12", x2: "12", y2: "12" })
795
892
  ] }),
796
- slash: /* @__PURE__ */ e.jsxs(s, { children: [
797
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
798
- /* @__PURE__ */ e.jsx("line", { x1: "4.93", y1: "4.93", x2: "19.07", y2: "19.07" })
893
+ table: /* @__PURE__ */ e.jsxs(s, { children: [
894
+ /* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
895
+ /* @__PURE__ */ e.jsx("line", { x1: "3", y1: "9", x2: "21", y2: "9" }),
896
+ /* @__PURE__ */ e.jsx("line", { x1: "3", y1: "15", x2: "21", y2: "15" }),
897
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "3", x2: "12", y2: "21" })
898
+ ] }),
899
+ layout: /* @__PURE__ */ e.jsxs(s, { children: [
900
+ /* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
901
+ /* @__PURE__ */ e.jsx("line", { x1: "3", y1: "9", x2: "21", y2: "9" }),
902
+ /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "21", x2: "9", y2: "9" })
799
903
  ] }),
800
904
  sidebar: /* @__PURE__ */ e.jsxs(s, { children: [
801
905
  /* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
802
906
  /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "3", x2: "9", y2: "21" })
803
907
  ] }),
908
+ "split-view": /* @__PURE__ */ e.jsxs(s, { children: [
909
+ /* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
910
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "3", x2: "12", y2: "21" })
911
+ ] }),
912
+ hash: /* @__PURE__ */ e.jsxs(s, { children: [
913
+ /* @__PURE__ */ e.jsx("line", { x1: "4", y1: "9", x2: "20", y2: "9" }),
914
+ /* @__PURE__ */ e.jsx("line", { x1: "4", y1: "15", x2: "20", y2: "15" }),
915
+ /* @__PURE__ */ e.jsx("line", { x1: "10", y1: "3", x2: "8", y2: "21" }),
916
+ /* @__PURE__ */ e.jsx("line", { x1: "16", y1: "3", x2: "14", y2: "21" })
917
+ ] }),
804
918
  dollar: /* @__PURE__ */ e.jsxs(s, { children: [
805
919
  /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "1", x2: "12", y2: "23" }),
806
920
  /* @__PURE__ */ e.jsx("path", { d: "M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6" })
807
921
  ] }),
922
+ "credit-card": /* @__PURE__ */ e.jsxs(s, { children: [
923
+ /* @__PURE__ */ e.jsx("rect", { x: "1", y: "4", width: "22", height: "16", rx: "2", ry: "2" }),
924
+ /* @__PURE__ */ e.jsx("line", { x1: "1", y1: "10", x2: "23", y2: "10" })
925
+ ] }),
808
926
  box: /* @__PURE__ */ e.jsxs(s, { children: [
809
927
  /* @__PURE__ */ e.jsx(
810
928
  "path",
@@ -974,6 +1092,19 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
974
1092
  /* @__PURE__ */ e.jsx("circle", { cx: "6.5", cy: "16.5", r: "2.5" }),
975
1093
  /* @__PURE__ */ e.jsx("circle", { cx: "16.5", cy: "16.5", r: "2.5" })
976
1094
  ] }),
1095
+ anchor: /* @__PURE__ */ e.jsxs(s, { children: [
1096
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "5", r: "3" }),
1097
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "22", x2: "12", y2: "8" }),
1098
+ /* @__PURE__ */ e.jsx("path", { d: "M5 12H2a10 10 0 0 0 20 0h-3" })
1099
+ ] }),
1100
+ book: /* @__PURE__ */ e.jsxs(s, { children: [
1101
+ /* @__PURE__ */ e.jsx("path", { d: "M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z" }),
1102
+ /* @__PURE__ */ e.jsx("path", { d: "M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z" })
1103
+ ] }),
1104
+ briefcase: /* @__PURE__ */ e.jsxs(s, { children: [
1105
+ /* @__PURE__ */ e.jsx("rect", { x: "2", y: "7", width: "20", height: "14", rx: "2", ry: "2" }),
1106
+ /* @__PURE__ */ e.jsx("path", { d: "M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16" })
1107
+ ] }),
977
1108
  more: /* @__PURE__ */ e.jsxs(s, { children: [
978
1109
  /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "1" }),
979
1110
  /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "5", r: "1" }),
@@ -1008,6 +1139,10 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1008
1139
  /* @__PURE__ */ e.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
1009
1140
  /* @__PURE__ */ e.jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
1010
1141
  ] }),
1142
+ crop: /* @__PURE__ */ e.jsxs(s, { children: [
1143
+ /* @__PURE__ */ e.jsx("path", { d: "M6.13 1L6 16a2 2 0 0 0 2 2h15" }),
1144
+ /* @__PURE__ */ e.jsx("path", { d: "M1 6.13L16 6a2 2 0 0 1 2 2v15" })
1145
+ ] }),
1011
1146
  clipboard: /* @__PURE__ */ e.jsxs(s, { children: [
1012
1147
  /* @__PURE__ */ e.jsx("path", { d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" }),
1013
1148
  /* @__PURE__ */ e.jsx("rect", { x: "8", y: "2", width: "8", height: "4", rx: "1", ry: "1" })
@@ -1028,10 +1163,21 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1028
1163
  /* @__PURE__ */ e.jsx("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
1029
1164
  /* @__PURE__ */ e.jsx("polyline", { points: "22,6 12,13 2,6" })
1030
1165
  ] }),
1166
+ message: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx(
1167
+ "path",
1168
+ {
1169
+ d: "M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"
1170
+ }
1171
+ ) }),
1031
1172
  phone: /* @__PURE__ */ e.jsxs(s, { children: [
1032
1173
  /* @__PURE__ */ e.jsx("rect", { x: "5", y: "2", width: "14", height: "20", rx: "2", ry: "2" }),
1033
1174
  /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "18", x2: "12.01", y2: "18" })
1034
1175
  ] }),
1176
+ voicemail: /* @__PURE__ */ e.jsxs(s, { children: [
1177
+ /* @__PURE__ */ e.jsx("circle", { cx: "5.5", cy: "11.5", r: "4.5" }),
1178
+ /* @__PURE__ */ e.jsx("circle", { cx: "18.5", cy: "11.5", r: "4.5" }),
1179
+ /* @__PURE__ */ e.jsx("line", { x1: "5.5", y1: "16", x2: "18.5", y2: "16" })
1180
+ ] }),
1035
1181
  inbox: /* @__PURE__ */ e.jsxs(s, { children: [
1036
1182
  /* @__PURE__ */ e.jsx("polyline", { points: "22 12 16 12 14 15 10 15 8 12 2 12" }),
1037
1183
  /* @__PURE__ */ e.jsx(
@@ -1138,24 +1284,6 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1138
1284
  /* @__PURE__ */ e.jsx("rect", { x: "1", y: "5", width: "22", height: "14", rx: "7", ry: "7" }),
1139
1285
  /* @__PURE__ */ e.jsx("circle", { cx: "16", cy: "12", r: "3", color: "green" })
1140
1286
  ] }),
1141
- smile: /* @__PURE__ */ e.jsxs(s, { children: [
1142
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
1143
- /* @__PURE__ */ e.jsx("path", { d: "M8 14s1.5 2 4 2 4-2 4-2" }),
1144
- /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
1145
- /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
1146
- ] }),
1147
- frown: /* @__PURE__ */ e.jsxs(s, { children: [
1148
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
1149
- /* @__PURE__ */ e.jsx("path", { d: "M16 16s-1.5-2-4-2-4 2-4 2" }),
1150
- /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
1151
- /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
1152
- ] }),
1153
- meh: /* @__PURE__ */ e.jsxs(s, { children: [
1154
- /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
1155
- /* @__PURE__ */ e.jsx("line", { x1: "8", y1: "15", x2: "16", y2: "15" }),
1156
- /* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
1157
- /* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
1158
- ] }),
1159
1287
  at: /* @__PURE__ */ e.jsxs(s, { children: [
1160
1288
  /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "4" }),
1161
1289
  /* @__PURE__ */ e.jsx("path", { d: "M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94" })
@@ -1178,6 +1306,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1178
1306
  /* @__PURE__ */ e.jsx("path", { d: "M21.21 15.89A10 10 0 1 1 8 2.83" }),
1179
1307
  /* @__PURE__ */ e.jsx("path", { d: "M22 12A10 10 0 0 0 12 2v10z" })
1180
1308
  ] }),
1309
+ "trending-up": /* @__PURE__ */ e.jsxs(s, { children: [
1310
+ /* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
1311
+ /* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
1312
+ ] }),
1313
+ "trending-down": /* @__PURE__ */ e.jsxs(s, { children: [
1314
+ /* @__PURE__ */ e.jsx("polyline", { points: "23 18 13.5 8.5 8.5 13.5 1 6" }),
1315
+ /* @__PURE__ */ e.jsx("polyline", { points: "17 18 23 18 23 12" })
1316
+ ] }),
1181
1317
  gift: /* @__PURE__ */ e.jsxs(s, { children: [
1182
1318
  /* @__PURE__ */ e.jsx("polyline", { points: "20 12 20 22 4 22 4 12" }),
1183
1319
  /* @__PURE__ */ e.jsx("rect", { x: "2", y: "7", width: "20", height: "5" }),
@@ -1200,39 +1336,39 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1200
1336
  /* @__PURE__ */ e.jsx("path", { d: "M20.49 15a9 9 0 1 1-2.12-9.36L23 10" }),
1201
1337
  /* @__PURE__ */ e.jsx("text", { x: "6", y: "14", fontSize: "6", fontFamily: "'Lucida Grande', sans-serif", children: "360" })
1202
1338
  ] })
1203
- }, w = ({ color: n, name: l, size: r = "small", weight: i = 2, onClick: c, iconString: x, orientation: o, children: a }) => {
1204
- const j = r ? "muncher-icon--" + r : "muncher-icon--small";
1339
+ }, w = ({ color: n, name: l, size: r = "small", weight: c = 2, onClick: t, iconString: i, orientation: o, children: a }) => {
1340
+ const d = `muncher-icon--${r}`, y = l ? Q[l] : i && i in Q ? Q[i] : (process.env.NODE_ENV === "development" && console.warn("Unknown icon:", i), Q.muncher);
1205
1341
  return /* @__PURE__ */ e.jsxs("span", { className: "muncher-icon", children: [
1206
1342
  a && o && o === "right" ? /* @__PURE__ */ e.jsx("span", { className: "content-left", children: a }) : "",
1207
1343
  /* @__PURE__ */ e.jsx(
1208
1344
  "svg",
1209
1345
  {
1210
- className: j,
1346
+ className: d,
1211
1347
  stroke: n || "currentColor",
1212
1348
  xmlns: "http://www.w3.org/2000/svg",
1213
1349
  viewBox: "0 0 24 24",
1214
1350
  fill: "none",
1215
- strokeWidth: i || 2,
1351
+ strokeWidth: c || 2,
1216
1352
  strokeLinecap: "round",
1217
1353
  strokeLinejoin: "round",
1218
- onClick: c,
1219
- children: l ? x1[l] : x ? Object(x1)[x] : ""
1354
+ onClick: t,
1355
+ children: y
1220
1356
  }
1221
1357
  ),
1222
- a && (!o || o === "left") ? /* @__PURE__ */ e.jsx("span", { className: "content-right", children: a }) : ""
1358
+ a && o === "left" && /* @__PURE__ */ e.jsx("span", { className: "content-left", children: a })
1223
1359
  ] });
1224
- }, z1 = ({
1360
+ }, A1 = ({
1225
1361
  variant: n = "primary",
1226
1362
  icon: l = "bell",
1227
1363
  text: r,
1228
- onClick: i,
1229
- ...c
1364
+ onClick: c,
1365
+ ...t
1230
1366
  }) => /* @__PURE__ */ e.jsxs(
1231
1367
  "div",
1232
1368
  {
1233
1369
  className: "muncher-icon-badge",
1234
- onClick: i,
1235
- ...c,
1370
+ onClick: c,
1371
+ ...t,
1236
1372
  children: [
1237
1373
  /* @__PURE__ */ e.jsx(w, { name: l }),
1238
1374
  r === "" ? "" : /* @__PURE__ */ e.jsx(f1, { variant: n, children: r })
@@ -1242,78 +1378,78 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1242
1378
  type: n = "button",
1243
1379
  variant: l,
1244
1380
  size: r = "medium",
1245
- title: i,
1246
- active: c,
1247
- disabled: x,
1381
+ title: c,
1382
+ active: t,
1383
+ disabled: i,
1248
1384
  rounded: o,
1249
1385
  onClick: a,
1250
- onMouseDown: j,
1386
+ onMouseDown: d,
1251
1387
  onMouseEnter: y,
1252
- onMouseLeave: d,
1253
- children: h,
1254
- ...p
1388
+ onMouseLeave: h,
1389
+ children: j,
1390
+ ...u
1255
1391
  }) => {
1256
- const v = "muncher-button" + (n && n === "nav" ? " muncher-button--nav" : "") + (l ? " muncher-button--" + l : "") + (r ? " muncher-button--" + r : "") + (c ? " muncher-button--active" : "") + (o ? " muncher-button--rounded" : "");
1392
+ const v = "muncher-button" + (n && n === "nav" ? " muncher-button--nav" : "") + (l ? " muncher-button--" + l : "") + (r ? " muncher-button--" + r : "") + (t ? " muncher-button--active" : "") + (o ? " muncher-button--rounded" : "");
1257
1393
  return /* @__PURE__ */ e.jsx(
1258
1394
  "button",
1259
1395
  {
1260
1396
  type: n && n !== "nav" ? n : "button",
1261
1397
  className: v,
1262
- disabled: !!x,
1263
- title: i,
1398
+ disabled: !!i,
1399
+ title: c,
1264
1400
  onClick: a,
1265
- onMouseDown: j,
1401
+ onMouseDown: d,
1266
1402
  onMouseEnter: y,
1267
- onMouseLeave: d,
1268
- ...p,
1269
- children: h
1403
+ onMouseLeave: h,
1404
+ ...u,
1405
+ children: j
1270
1406
  }
1271
1407
  );
1272
1408
  }, v1 = ({
1273
1409
  variant: n,
1274
1410
  size: l = "medium",
1275
1411
  title: r,
1276
- active: i,
1277
- disabled: c,
1278
- element: x,
1412
+ active: c,
1413
+ disabled: t,
1414
+ element: i,
1279
1415
  onMouseDown: o,
1280
1416
  rounded: a,
1281
- drop: j,
1417
+ drop: d,
1282
1418
  onClick: y,
1283
- onClose: d,
1284
- showContent: h,
1285
- setShowContent: p,
1419
+ onClose: h,
1420
+ showContent: j,
1421
+ setShowContent: u,
1286
1422
  withDropIcon: v,
1287
1423
  children: N,
1288
1424
  ...g
1289
1425
  }) => {
1290
- const _ = d1(null), f = (b) => {
1291
- b.preventDefault(), y && y(b), p && p(!0);
1292
- }, E = G(() => {
1293
- p(!1), d && d();
1294
- }, [d, p]), C = G((b) => {
1295
- b.keyCode === 27 && E();
1426
+ const _ = h1(null), f = (M) => {
1427
+ M.preventDefault(), y && y(M), u && u(!0);
1428
+ }, E = q(() => {
1429
+ u(!1), h && h();
1430
+ }, [h, u]), C = q((M) => {
1431
+ M.keyCode === 27 && E();
1296
1432
  }, [E]);
1297
- Q(() => {
1298
- const b = (H) => {
1299
- _ && _.current && H.target instanceof HTMLElement && !_.current.contains(H.target) && E();
1433
+ Z(() => {
1434
+ const M = (S) => {
1435
+ _ && _.current && S.target instanceof HTMLElement && !_.current.contains(S.target) && E();
1300
1436
  };
1301
- return document.addEventListener("keydown", C, !1), document.addEventListener("mousedown", b), () => {
1437
+ return document.addEventListener("keydown", C, !1), document.addEventListener("mousedown", M), () => {
1302
1438
  document.removeEventListener("keydown", C, !1);
1303
1439
  };
1304
1440
  }, [C, E]);
1305
- const A = () => {
1441
+ const z = () => {
1306
1442
  var P;
1307
- const b = (P = _.current) == null ? void 0 : P.offsetLeft, H = window.innerWidth;
1308
- if (b) {
1309
- if (b < 100) return "muncher-dropdown--content";
1310
- if (H - b < 150) return "muncher-dropdown--content drop-left";
1311
- if (H - b < 250) {
1312
- const m = Math.round((H - b) / H * 100);
1443
+ const M = (P = _.current) == null ? void 0 : P.offsetLeft, S = window.innerWidth;
1444
+ if (M) {
1445
+ if (M < 100) return "muncher-dropdown--content";
1446
+ if (S - M < 150) return "muncher-dropdown--content drop-left";
1447
+ if (S - M < 250) {
1448
+ const m = Math.round((S - M) / S * 100);
1313
1449
  if (m > 40 || m < 60) return "muncher-dropdown--content drop-middle";
1314
1450
  }
1315
1451
  }
1316
- switch (j) {
1452
+ switch (d) {
1317
1453
  case "left":
1318
1454
  return "muncher-dropdown--content drop-left";
1319
1455
  case "middle":
@@ -1328,14 +1464,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1328
1464
  {
1329
1465
  onMouseDown: f,
1330
1466
  title: r,
1331
- disabled: c,
1467
+ disabled: t,
1332
1468
  rounded: a,
1333
- active: i,
1469
+ active: c,
1334
1470
  variant: n,
1335
1471
  size: l,
1336
1472
  ...g,
1337
1473
  children: [
1338
- x,
1474
+ i,
1339
1475
  v ? /* @__PURE__ */ e.jsx(
1340
1476
  "span",
1341
1477
  {
@@ -1346,41 +1482,41 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1346
1482
  ]
1347
1483
  }
1348
1484
  ),
1349
- h ? /* @__PURE__ */ e.jsx("div", { className: A(), children: N }) : ""
1485
+ j ? /* @__PURE__ */ e.jsx("div", { className: z(), children: N }) : ""
1350
1486
  ] });
1351
1487
  }, R1 = ({
1352
1488
  title: n,
1353
1489
  active: l,
1354
1490
  disabled: r,
1355
- element: i,
1356
- rounded: c,
1357
- dropLeft: x,
1491
+ element: c,
1492
+ rounded: t,
1493
+ dropLeft: i,
1358
1494
  children: o,
1359
1495
  ...a
1360
- }) => /* @__PURE__ */ e.jsxs("div", { className: `muncher-dropdown-nav ${x ? "drop-left" : ""}`, children: [
1496
+ }) => /* @__PURE__ */ e.jsxs("div", { className: `muncher-dropdown-nav ${i ? "drop-left" : ""}`, children: [
1361
1497
  /* @__PURE__ */ e.jsx(
1362
1498
  V,
1363
1499
  {
1364
1500
  type: "nav",
1365
1501
  title: n,
1366
1502
  disabled: r,
1367
- rounded: c,
1503
+ rounded: t,
1368
1504
  active: l,
1369
1505
  ...a,
1370
- children: i
1506
+ children: c
1371
1507
  }
1372
1508
  ),
1373
1509
  /* @__PURE__ */ e.jsx("div", { className: "muncher-dropdown-nav--content", children: o })
1374
1510
  ] }), g1 = (n) => {
1375
1511
  navigator.clipboard.writeText(n);
1376
- }, b1 = ({
1512
+ }, M1 = ({
1377
1513
  text: n,
1378
1514
  variant: l = "secondary",
1379
1515
  size: r = "small"
1380
1516
  }) => {
1381
- const [i, c] = S(), [x, o] = S("copy"), [a, j] = S("copy link"), y = () => {
1382
- g1(n), c("green"), o("check"), j("copied!"), setTimeout(function() {
1383
- c(""), o("copy");
1517
+ const [c, t] = H(), [i, o] = H("copy"), [a, d] = H("copy link"), y = () => {
1518
+ g1(n), t("green"), o("check"), d("copied!"), setTimeout(function() {
1519
+ t(""), o("copy");
1384
1520
  }, 2e3);
1385
1521
  };
1386
1522
  return /* @__PURE__ */ e.jsx(
@@ -1390,7 +1526,7 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1390
1526
  variant: l,
1391
1527
  title: a,
1392
1528
  onClick: y,
1393
- children: /* @__PURE__ */ e.jsx(w, { name: x, color: i })
1529
+ children: /* @__PURE__ */ e.jsx(w, { name: i, color: c })
1394
1530
  }
1395
1531
  );
1396
1532
  }, T1 = ({
@@ -1398,13 +1534,13 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1398
1534
  size: l = "medium",
1399
1535
  title: r
1400
1536
  }) => {
1401
- const [i, c] = S(!1);
1537
+ const [c, t] = H(!1);
1402
1538
  return /* @__PURE__ */ e.jsx("div", { className: "muncher-share", children: /* @__PURE__ */ e.jsxs(
1403
1539
  v1,
1404
1540
  {
1405
1541
  title: "Share to Social Media",
1406
- showContent: i,
1407
- setShowContent: c,
1542
+ showContent: c,
1543
+ setShowContent: t,
1408
1544
  variant: n,
1409
1545
  size: l,
1410
1546
  element: /* @__PURE__ */ e.jsx(w, { name: "share", orientation: "right", children: "Share" }),
@@ -1436,43 +1572,43 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1436
1572
  children: /* @__PURE__ */ e.jsx(w, { name: "mail" })
1437
1573
  }
1438
1574
  ) }),
1439
- /* @__PURE__ */ e.jsx(b1, { text: window.location.href })
1575
+ /* @__PURE__ */ e.jsx(M1, { text: window.location.href })
1440
1576
  ]
1441
1577
  }
1442
1578
  ) });
1443
- }, M1 = ({
1579
+ }, b1 = ({
1444
1580
  header: n,
1445
1581
  data: l,
1446
1582
  filename: r,
1447
- variant: i,
1448
- size: c,
1449
- title: x,
1583
+ variant: c,
1584
+ size: t,
1585
+ title: i,
1450
1586
  active: o,
1451
1587
  disabled: a,
1452
- rounded: j
1588
+ rounded: d
1453
1589
  }) => {
1454
1590
  const y = encodeURI("data:text/csv;charset=utf-8," + n.join(",") + `
1455
- ` + l.map((d) => d.join(",")).join(`
1591
+ ` + l.map((h) => h.join(",")).join(`
1456
1592
  `));
1457
- return /* @__PURE__ */ e.jsx("div", { className: "muncher-csv", children: /* @__PURE__ */ e.jsx(V, { variant: i, size: c, active: o, disabled: a, rounded: j, children: /* @__PURE__ */ e.jsx("a", { href: y, download: r + ".csv", children: /* @__PURE__ */ e.jsx(w, { name: "download", children: x || "Download" }) }) }) });
1593
+ return /* @__PURE__ */ e.jsx("div", { className: "muncher-csv", children: /* @__PURE__ */ e.jsx(V, { variant: c, size: t, active: o, disabled: a, rounded: d, children: /* @__PURE__ */ e.jsx("a", { href: y, download: r + ".csv", children: /* @__PURE__ */ e.jsx(w, { name: "download", children: i || "Download" }) }) }) });
1458
1594
  }, w1 = ({
1459
1595
  variant: n = "transparent",
1460
1596
  size: l = "small",
1461
1597
  title: r,
1462
- sortAsc: i = "true",
1463
- active: c,
1464
- rounded: x,
1598
+ sortAsc: c = "true",
1599
+ active: t,
1600
+ rounded: i,
1465
1601
  onClick: o,
1466
1602
  children: a
1467
1603
  }) => {
1468
- const [j, y] = S(!1), d = () => !c || c && !j ? i ? /* @__PURE__ */ e.jsx(w, { name: "sort-asc" }) : /* @__PURE__ */ e.jsx(w, { name: "sort-desc" }) : i ? /* @__PURE__ */ e.jsx(w, { name: "sort-desc" }) : /* @__PURE__ */ e.jsx(w, { name: "sort-asc" });
1604
+ const [d, y] = H(!1), h = () => !t || t && !d ? c ? /* @__PURE__ */ e.jsx(w, { name: "sort-asc" }) : /* @__PURE__ */ e.jsx(w, { name: "sort-desc" }) : c ? /* @__PURE__ */ e.jsx(w, { name: "sort-desc" }) : /* @__PURE__ */ e.jsx(w, { name: "sort-asc" });
1469
1605
  return /* @__PURE__ */ e.jsxs(
1470
1606
  V,
1471
1607
  {
1472
1608
  variant: n,
1473
1609
  size: l,
1474
1610
  title: r,
1475
- rounded: x,
1611
+ rounded: i,
1476
1612
  onMouseEnter: () => {
1477
1613
  y(!0);
1478
1614
  },
@@ -1482,7 +1618,7 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1482
1618
  onClick: o,
1483
1619
  children: [
1484
1620
  a,
1485
- c || j ? /* @__PURE__ */ e.jsx(d, {}) : ""
1621
+ t || d ? /* @__PURE__ */ e.jsx(h, {}) : ""
1486
1622
  ]
1487
1623
  }
1488
1624
  );
@@ -1490,13 +1626,13 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1490
1626
  direction: n,
1491
1627
  size: l = "small",
1492
1628
  weight: r,
1493
- isDisabled: i,
1494
- variant: c = "primary",
1495
- navIcon: x = "chevron",
1629
+ isDisabled: c,
1630
+ variant: t = "primary",
1631
+ navIcon: i = "chevron",
1496
1632
  onClick: o
1497
1633
  }) => {
1498
1634
  const a = () => {
1499
- switch (x) {
1635
+ switch (i) {
1500
1636
  case "arrow":
1501
1637
  return n === "left" ? "arrow-left" : "arrow-right";
1502
1638
  case "skip":
@@ -1515,27 +1651,27 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1515
1651
  V,
1516
1652
  {
1517
1653
  onClick: o,
1518
- disabled: i,
1654
+ disabled: c,
1519
1655
  size: "small",
1520
- variant: c,
1656
+ variant: t,
1521
1657
  title: n === "left" ? "Navigate Left" : "Navigate Right",
1522
1658
  children: /* @__PURE__ */ e.jsx(w, { name: a(), size: l, weight: r })
1523
1659
  }
1524
1660
  )
1525
1661
  }
1526
1662
  );
1527
- }, q = ({ label: n, onClick: l, id: r, required: i = !1 }) => /* @__PURE__ */ e.jsxs("label", { htmlFor: r, onClick: l, children: [
1663
+ }, G = ({ label: n, onClick: l, id: r, required: c = !1 }) => /* @__PURE__ */ e.jsxs("label", { htmlFor: r, onClick: l, children: [
1528
1664
  n,
1529
- i ? /* @__PURE__ */ e.jsx("span", { className: "required", children: "*" }) : ""
1665
+ c ? /* @__PURE__ */ e.jsx("span", { className: "required", children: "*" }) : ""
1530
1666
  ] }), _1 = ({
1531
1667
  name: n,
1532
1668
  required: l = !1,
1533
1669
  onChange: r,
1534
- checked: i = !1,
1535
- label: c,
1536
- ...x
1670
+ checked: c = !1,
1671
+ label: t,
1672
+ ...i
1537
1673
  }) => {
1538
- const [o, a] = S(i || !1);
1674
+ const [o, a] = H(c || !1);
1539
1675
  return /* @__PURE__ */ e.jsx("div", { className: "muncher-input--div", children: /* @__PURE__ */ e.jsxs("div", { className: "muncher-checkbox", children: [
1540
1676
  /* @__PURE__ */ e.jsx(
1541
1677
  "input",
@@ -1543,27 +1679,27 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1543
1679
  type: "checkbox",
1544
1680
  id: n,
1545
1681
  name: n,
1546
- onChange: (j) => {
1547
- a(j.target.checked), r && r();
1682
+ onChange: (d) => {
1683
+ a(d.target.checked), r && r();
1548
1684
  },
1549
1685
  checked: o,
1550
1686
  required: l,
1551
- ...x
1687
+ ...i
1552
1688
  }
1553
1689
  ),
1554
- c ? /* @__PURE__ */ e.jsx(
1555
- q,
1690
+ t ? /* @__PURE__ */ e.jsx(
1691
+ G,
1556
1692
  {
1557
- label: c,
1693
+ label: t,
1558
1694
  required: l,
1559
1695
  id: n,
1560
- onClick: (j) => {
1561
- j.preventDefault(), a(!o), r && r();
1696
+ onClick: (d) => {
1697
+ d.preventDefault(), a(!o), r && r();
1562
1698
  }
1563
1699
  }
1564
1700
  ) : ""
1565
1701
  ] }) });
1566
- }, h1 = ({ size: n, ...l }) => /* @__PURE__ */ e.jsx(
1702
+ }, j1 = ({ size: n, ...l }) => /* @__PURE__ */ e.jsx(
1567
1703
  "div",
1568
1704
  {
1569
1705
  className: n ? "muncher-spinner muncher-spinner-" + n : "muncher-spinner",
@@ -1573,25 +1709,25 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1573
1709
  name: n,
1574
1710
  label: l,
1575
1711
  variant: r = "secondary",
1576
- size: i = "medium",
1577
- required: c,
1578
- active: x,
1712
+ size: c = "medium",
1713
+ required: t,
1714
+ active: i,
1579
1715
  isUploading: o,
1580
1716
  handleOnChange: a,
1581
- warningMessage: j,
1717
+ warningMessage: d,
1582
1718
  successMessage: y,
1583
- ...d
1719
+ ...h
1584
1720
  }) => {
1585
- const h = "muncher-button" + (r ? " muncher-button--" + r : "") + (i ? " muncher-button--" + i : "") + (x ? " muncher-button--active" : ""), p = (v) => {
1721
+ const j = "muncher-button" + (r ? " muncher-button--" + r : "") + (c ? " muncher-button--" + c : "") + (i ? " muncher-button--active" : ""), u = (v) => {
1586
1722
  a && a(v.currentTarget.files[0]);
1587
1723
  };
1588
1724
  return /* @__PURE__ */ e.jsx("div", { className: "muncher-file-input--div", children: /* @__PURE__ */ e.jsxs("div", { className: "file-input-element", children: [
1589
- /* @__PURE__ */ e.jsxs("label", { htmlFor: n, className: h, children: [
1725
+ /* @__PURE__ */ e.jsxs("label", { htmlFor: n, className: j, children: [
1590
1726
  /* @__PURE__ */ e.jsx(w, { name: "upload" }),
1591
1727
  " ",
1592
1728
  l || "Upload CSV",
1593
- c ? /* @__PURE__ */ e.jsx("span", { className: "required", children: " *" }) : "",
1594
- o ? /* @__PURE__ */ e.jsx(h1, { size: "tiny" }) : ""
1729
+ t ? /* @__PURE__ */ e.jsx("span", { className: "required", children: " *" }) : "",
1730
+ o ? /* @__PURE__ */ e.jsx(j1, { size: "tiny" }) : ""
1595
1731
  ] }),
1596
1732
  /* @__PURE__ */ e.jsx(
1597
1733
  "input",
@@ -1599,34 +1735,34 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1599
1735
  id: n,
1600
1736
  type: "file",
1601
1737
  className: "muncher-file-input",
1602
- required: c,
1603
- onChange: p,
1738
+ required: t,
1739
+ onChange: u,
1604
1740
  accept: "text/csv",
1605
- ...d
1741
+ ...h
1606
1742
  }
1607
1743
  ),
1608
- j && j !== "" ? /* @__PURE__ */ e.jsx("p", { className: "text-danger", children: j }) : "",
1744
+ d && d !== "" ? /* @__PURE__ */ e.jsx("p", { className: "text-danger", children: d }) : "",
1609
1745
  y && y !== "" ? /* @__PURE__ */ e.jsx("p", { className: "text-success", children: y }) : ""
1610
1746
  ] }) });
1611
- }, S1 = ({
1747
+ }, H1 = ({
1612
1748
  name: n,
1613
1749
  label: l,
1614
1750
  variant: r = "secondary",
1615
- size: i = "large",
1616
- required: c,
1617
- active: x,
1751
+ size: c = "large",
1752
+ required: t,
1753
+ active: i,
1618
1754
  setFiles: o,
1619
1755
  error: a,
1620
- multiple: j = !1,
1756
+ multiple: d = !1,
1621
1757
  maxFiles: y,
1622
- ...d
1758
+ ...h
1623
1759
  }) => {
1624
- const [h, p] = S(""), [v, N] = S(""), g = y || 3, _ = "muncher-button" + (r ? " muncher-button--" + r : "") + (i ? " muncher-button--" + i : "") + (x ? " muncher-button--active" : ""), f = (C) => {
1625
- if (j) {
1626
- let A = Array.from(C.currentTarget.files);
1627
- A.length > g && (A = A.slice(0, g), N("Only first " + g + " files included")), o(A), p(A.map((b) => b.name).join(", "));
1760
+ const [j, u] = H(""), [v, N] = H(""), g = y || 3, _ = "muncher-button" + (r ? " muncher-button--" + r : "") + (c ? " muncher-button--" + c : "") + (i ? " muncher-button--active" : ""), f = (C) => {
1761
+ if (d) {
1762
+ let z = Array.from(C.currentTarget.files);
1763
+ z.length > g && (z = z.slice(0, g), N("Only first " + g + " files included")), o(z), u(z.map((M) => M.name).join(", "));
1628
1764
  } else
1629
- o(Array.from(C.currentTarget.files[0])), p(C.currentTarget.files[0].name);
1765
+ o(Array.from(C.currentTarget.files[0])), u(C.currentTarget.files[0].name);
1630
1766
  }, E = () => a && a !== "";
1631
1767
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-file-input--div", children: [
1632
1768
  /* @__PURE__ */ e.jsxs("div", { className: "file-input-element", children: [
@@ -1634,9 +1770,9 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1634
1770
  /* @__PURE__ */ e.jsx(w, { name: "image" }),
1635
1771
  " ",
1636
1772
  l,
1637
- c ? /* @__PURE__ */ e.jsx("span", { className: "required", children: " *" }) : ""
1773
+ t ? /* @__PURE__ */ e.jsx("span", { className: "required", children: " *" }) : ""
1638
1774
  ] }),
1639
- /* @__PURE__ */ e.jsx("span", { className: "span-file-name", children: h }),
1775
+ /* @__PURE__ */ e.jsx("span", { className: "span-file-name", children: j }),
1640
1776
  /* @__PURE__ */ e.jsx(
1641
1777
  "input",
1642
1778
  {
@@ -1645,9 +1781,9 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1645
1781
  className: "muncher-file-input",
1646
1782
  name: n,
1647
1783
  onChange: f,
1648
- multiple: j,
1784
+ multiple: d,
1649
1785
  accept: "image/*",
1650
- ...d
1786
+ ...h
1651
1787
  }
1652
1788
  )
1653
1789
  ] }),
@@ -1658,16 +1794,16 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1658
1794
  name: n,
1659
1795
  label: l,
1660
1796
  required: r,
1661
- readOnly: i,
1662
- icon: c,
1663
- hoverIcon: x,
1797
+ readOnly: c,
1798
+ icon: t,
1799
+ hoverIcon: i,
1664
1800
  onHoverIconClick: o,
1665
1801
  type: a = "text",
1666
- list: j,
1802
+ list: d,
1667
1803
  onBlur: y,
1668
- labelPosition: d = "top",
1669
- onKeyDown: h,
1670
- error: p,
1804
+ labelPosition: h = "top",
1805
+ onKeyDown: j,
1806
+ error: u,
1671
1807
  focus: v = !1,
1672
1808
  placeholder: N,
1673
1809
  onChange: g,
@@ -1675,22 +1811,22 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1675
1811
  value: f,
1676
1812
  maxLength: E,
1677
1813
  onEnterPress: C,
1678
- displayLoader: A,
1679
- ...b
1814
+ displayLoader: z,
1815
+ ...M
1680
1816
  }) => {
1681
- const H = () => p && p !== "", P = () => {
1682
- let z = "muncher-input";
1683
- return (c || x) && (z += " muncher-input-icon"), H() && (z += " muncher-input-error"), d === "side" && (z += " muncher-label-side"), z;
1684
- }, m = () => l ? /* @__PURE__ */ e.jsx(q, { label: l, required: r, id: n }) : "", k = (z) => {
1685
- z.key === "Enter" && C && C(), h && h(z);
1817
+ const S = () => u && u !== "", P = () => {
1818
+ let A = "muncher-input";
1819
+ return (t || i) && (A += " muncher-input-icon"), S() && (A += " muncher-input-error"), h === "side" && (A += " muncher-label-side"), A;
1820
+ }, m = () => l ? /* @__PURE__ */ e.jsx(G, { label: l, required: r, id: n }) : "", k = (A) => {
1821
+ A.key === "Enter" && C && C(), j && j(A);
1686
1822
  };
1687
1823
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-input--div", children: [
1688
- d !== "side" ? m() : "",
1824
+ h !== "side" ? m() : "",
1689
1825
  /* @__PURE__ */ e.jsxs("div", { className: "muncher-input-element", children: [
1690
- d === "side" ? m() : "",
1691
- c ? /* @__PURE__ */ e.jsx(w, { name: c }) : "",
1692
- x ? /* @__PURE__ */ e.jsxs("span", { className: "muncher-icon-hover", children: [
1693
- /* @__PURE__ */ e.jsx(w, { name: x, onClick: o }),
1826
+ h === "side" ? m() : "",
1827
+ t ? /* @__PURE__ */ e.jsx(w, { name: t }) : "",
1828
+ i ? /* @__PURE__ */ e.jsxs("span", { className: "muncher-icon-hover", children: [
1829
+ /* @__PURE__ */ e.jsx(w, { name: i, onClick: o }),
1694
1830
  " "
1695
1831
  ] }) : "",
1696
1832
  /* @__PURE__ */ e.jsxs("div", { className: "muncher-input-wrapper", children: [
@@ -1707,35 +1843,35 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1707
1843
  placeholder: N,
1708
1844
  onChange: g,
1709
1845
  required: r,
1710
- readOnly: i,
1711
- list: j,
1846
+ readOnly: c,
1847
+ list: d,
1712
1848
  onKeyDown: k,
1713
1849
  onBlur: y,
1714
1850
  step: _,
1715
1851
  maxLength: E,
1716
- ...b
1852
+ ...M
1717
1853
  }
1718
1854
  ),
1719
- A ? /* @__PURE__ */ e.jsx(h1, { size: "tiny" }) : ""
1855
+ z ? /* @__PURE__ */ e.jsx(j1, { size: "tiny" }) : ""
1720
1856
  ] })
1721
1857
  ] }),
1722
- H() ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ e.jsx(w, { name: "alert", children: p }) }) : ""
1858
+ S() ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ e.jsx(w, { name: "alert", children: u }) }) : ""
1723
1859
  ] });
1724
- }, H1 = ({ name: n, required: l = !1, onChange: r, checked: i = !1, label: c, ...x }) => /* @__PURE__ */ e.jsx("div", { className: "muncher-input--div", children: /* @__PURE__ */ e.jsxs("div", { className: "muncher-radio", children: [
1860
+ }, S1 = ({ name: n, required: l = !1, onChange: r, checked: c = !1, label: t, ...i }) => /* @__PURE__ */ e.jsx("div", { className: "muncher-input--div", children: /* @__PURE__ */ e.jsxs("div", { className: "muncher-radio", children: [
1725
1861
  /* @__PURE__ */ e.jsx(
1726
1862
  "input",
1727
1863
  {
1728
1864
  type: "radio",
1729
1865
  name: n,
1730
1866
  onChange: r,
1731
- checked: i,
1732
- ...x
1867
+ checked: c,
1868
+ ...i
1733
1869
  }
1734
1870
  ),
1735
- c ? /* @__PURE__ */ e.jsx(
1736
- q,
1871
+ t ? /* @__PURE__ */ e.jsx(
1872
+ G,
1737
1873
  {
1738
- label: c,
1874
+ label: t,
1739
1875
  required: l,
1740
1876
  onClick: () => {
1741
1877
  r && r();
@@ -1746,77 +1882,77 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1746
1882
  name: n,
1747
1883
  options: l,
1748
1884
  label: r,
1749
- required: i,
1750
- multiple: c,
1751
- error: x,
1885
+ required: c,
1886
+ multiple: t,
1887
+ error: i,
1752
1888
  onChange: o,
1753
1889
  value: a,
1754
- ...j
1890
+ ...d
1755
1891
  }) => {
1756
- const y = () => x && x !== "", d = () => {
1757
- let h = "muncher-input";
1758
- return y() && (h += " muncher-input-error"), h;
1892
+ const y = () => i && i !== "", h = () => {
1893
+ let j = "muncher-input";
1894
+ return y() && (j += " muncher-input-error"), j;
1759
1895
  };
1760
1896
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-input--div", children: [
1761
- r ? /* @__PURE__ */ e.jsx(q, { label: r, required: i, id: n }) : "",
1897
+ r ? /* @__PURE__ */ e.jsx(G, { label: r, required: c, id: n }) : "",
1762
1898
  /* @__PURE__ */ e.jsx("div", { className: "muncher-input-element", children: /* @__PURE__ */ e.jsxs(
1763
1899
  "select",
1764
1900
  {
1765
1901
  id: n,
1766
- className: d(),
1902
+ className: h(),
1767
1903
  name: n,
1768
1904
  value: a,
1769
1905
  onChange: o,
1770
- required: i,
1771
- multiple: c,
1772
- ...j,
1906
+ required: c,
1907
+ multiple: t,
1908
+ ...d,
1773
1909
  children: [
1774
- i ? /* @__PURE__ */ e.jsx("option", { value: "", children: "-- Select --" }) : "",
1910
+ c ? /* @__PURE__ */ e.jsx("option", { value: "", children: "-- Select --" }) : "",
1775
1911
  l.map(
1776
- (h, p) => /* @__PURE__ */ e.jsx("option", { value: h.value, children: h.label }, `select-option-${p}`)
1912
+ (j, u) => /* @__PURE__ */ e.jsx("option", { value: j.value, children: j.label }, `select-option-${u}`)
1777
1913
  )
1778
1914
  ]
1779
1915
  }
1780
1916
  ) }),
1781
- y() ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ e.jsx(w, { name: "alert", children: x }) }) : ""
1917
+ y() ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ e.jsx(w, { name: "alert", children: i }) }) : ""
1782
1918
  ] });
1783
1919
  }, V1 = ({
1784
1920
  name: n,
1785
1921
  label: l,
1786
1922
  required: r,
1787
- readOnly: i = !1,
1788
- rows: c = 6,
1789
- maxLength: x = 1e3,
1923
+ readOnly: c = !1,
1924
+ rows: t = 6,
1925
+ maxLength: i = 1e3,
1790
1926
  focus: o = !1,
1791
1927
  placeholder: a,
1792
- onChange: j,
1928
+ onChange: d,
1793
1929
  value: y,
1794
- ...d
1930
+ ...h
1795
1931
  }) => {
1796
- const [h, p] = S(y), v = (N) => {
1797
- p(N.target.value), j && j(N);
1932
+ const [j, u] = H(y), v = (N) => {
1933
+ u(N.target.value), d && d(N);
1798
1934
  };
1799
1935
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-input--div", children: [
1800
- l ? /* @__PURE__ */ e.jsx(q, { label: l, required: r, id: n }) : "",
1936
+ l ? /* @__PURE__ */ e.jsx(G, { label: l, required: r, id: n }) : "",
1801
1937
  /* @__PURE__ */ e.jsx(
1802
1938
  "textarea",
1803
1939
  {
1804
1940
  id: n,
1805
1941
  className: "muncher-textarea",
1806
- rows: c,
1807
- maxLength: x,
1942
+ rows: t,
1943
+ maxLength: i,
1808
1944
  name: n,
1809
1945
  autoFocus: o,
1810
1946
  value: y,
1811
1947
  placeholder: a,
1812
1948
  onChange: v,
1813
1949
  required: r,
1814
- readOnly: i,
1815
- ...d
1950
+ readOnly: c,
1951
+ ...h
1816
1952
  }
1817
1953
  ),
1818
1954
  /* @__PURE__ */ e.jsxs("p", { children: [
1819
- h ? x ? x - h.length : 1e3 : x,
1955
+ j ? i ? i - j.length : 1e3 : i,
1820
1956
  " characters left"
1821
1957
  ] })
1822
1958
  ] });
@@ -1824,31 +1960,31 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1824
1960
  name: n = "query",
1825
1961
  focus: l = !1,
1826
1962
  inputPlaceHolder: r,
1827
- handleInputChange: i,
1828
- showContent: c = !1,
1829
- setShowContent: x,
1963
+ handleInputChange: c,
1964
+ showContent: t = !1,
1965
+ setShowContent: i,
1830
1966
  readOnly: o,
1831
1967
  value: a,
1832
- label: j,
1968
+ label: d,
1833
1969
  error: y,
1834
- required: d,
1835
- onEnterPress: h,
1836
- list: p,
1970
+ required: h,
1971
+ onEnterPress: j,
1972
+ list: u,
1837
1973
  displayLoader: v,
1838
1974
  children: N
1839
1975
  }) => {
1840
- const g = d1(null), _ = (C) => {
1841
- x(!0), i(C.target.value);
1842
- }, f = G(() => {
1843
- x(!1);
1844
- }, [x]), E = G((C) => {
1976
+ const g = h1(null), _ = (C) => {
1977
+ i(!0), c(C.target.value);
1978
+ }, f = q(() => {
1979
+ i(!1);
1980
+ }, [i]), E = q((C) => {
1845
1981
  C.keyCode === 27 && f();
1846
1982
  }, [f]);
1847
- return Q(() => {
1848
- const C = (A) => {
1983
+ return Z(() => {
1984
+ const C = (z) => {
1849
1985
  if (g && g !== null) {
1850
- const b = g.current;
1851
- b && !b.contains(A.target) && f();
1986
+ const M = g.current;
1987
+ M && !M.contains(z.target) && f();
1852
1988
  }
1853
1989
  };
1854
1990
  return document.addEventListener("keydown", E, !1), document.addEventListener("mousedown", C), () => {
@@ -1862,34 +1998,34 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1862
1998
  placeholder: r,
1863
1999
  name: n,
1864
2000
  onChange: _,
1865
- onEnterPress: h,
1866
- list: p,
2001
+ onEnterPress: j,
2002
+ list: u,
1867
2003
  displayLoader: v,
1868
2004
  readOnly: o,
1869
2005
  value: a,
1870
- label: j,
1871
- required: d,
2006
+ label: d,
2007
+ required: h,
1872
2008
  error: y
1873
2009
  }
1874
2010
  ),
1875
- c ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-drop-down--content", children: N }) : ""
2011
+ t ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-drop-down--content", children: N }) : ""
1876
2012
  ] });
1877
- }, O1 = ({ children: n }) => /* @__PURE__ */ e.jsx("ul", { className: "muncher-ul", children: n }), P1 = ({ isFeatured: n, bulletIcon: l = "arrow-right", bulletWeight: r = 2, bulletSize: i = "small", bulletColor: c, children: x }) => /* @__PURE__ */ e.jsx("li", { className: n ? "muncher-li featured" : "muncher-li", children: /* @__PURE__ */ e.jsx(
2013
+ }, O1 = ({ children: n }) => /* @__PURE__ */ e.jsx("ul", { className: "muncher-ul", children: n }), P1 = ({ isFeatured: n, bulletIcon: l = "arrow-right", bulletWeight: r = 2, bulletSize: c = "small", bulletColor: t, children: i }) => /* @__PURE__ */ e.jsx("li", { className: n ? "muncher-li featured" : "muncher-li", children: /* @__PURE__ */ e.jsx(
1878
2014
  w,
1879
2015
  {
1880
2016
  name: l,
1881
2017
  weight: r,
1882
- size: i,
1883
- color: c,
1884
- children: x
2018
+ size: c,
2019
+ color: t,
2020
+ children: i
1885
2021
  }
1886
- ) }), D1 = ({ show: n = !1, setShow: l, children: r, ...i }) => {
1887
- const c = G((x) => {
1888
- x.keyCode === 27 && l(!1);
2022
+ ) }), D1 = ({ show: n = !1, setShow: l, children: r, ...c }) => {
2023
+ const t = q((i) => {
2024
+ i.keyCode === 27 && l(!1);
1889
2025
  }, [l]);
1890
- return Q(() => (document.addEventListener("keydown", c, !1), () => {
1891
- document.removeEventListener("keydown", c, !1);
1892
- }), [c]), Q(() => {
2026
+ return Z(() => (document.addEventListener("keydown", t, !1), () => {
2027
+ document.removeEventListener("keydown", t, !1);
2028
+ }), [t]), Z(() => {
1893
2029
  n ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset";
1894
2030
  }, [n]), /* @__PURE__ */ e.jsxs(o1.Fragment, { children: [
1895
2031
  /* @__PURE__ */ e.jsx(m1, { show: n, backdropClickHandler: () => l(!1) }),
@@ -1901,14 +2037,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1901
2037
  transform: n ? "translateY(0)" : "translateY(-100vh)",
1902
2038
  opacity: n ? "1" : "0"
1903
2039
  },
1904
- ...i,
2040
+ ...c,
1905
2041
  children: r
1906
2042
  }
1907
2043
  )
1908
2044
  ] });
1909
2045
  }, F1 = ({ showHoverEffect: n, onClick: l, children: r }) => {
1910
- const i = () => n ? "muncher-paper muncher-paper-hover" : "muncher-paper";
1911
- return /* @__PURE__ */ e.jsx("section", { className: i(), onClick: l, children: r });
2046
+ const c = () => n ? "muncher-paper muncher-paper-hover" : "muncher-paper";
2047
+ return /* @__PURE__ */ e.jsx("section", { className: c(), onClick: l, children: r });
1912
2048
  }, I1 = ({ pillCloseHandler: n, children: l, ...r }) => /* @__PURE__ */ e.jsxs("div", { className: "muncher-pill", ...r, children: [
1913
2049
  /* @__PURE__ */ e.jsx("div", { className: "close", onClick: n, children: /* @__PURE__ */ e.jsx(w, { name: "close" }) }),
1914
2050
  /* @__PURE__ */ e.jsxs("div", { className: "content", children: [
@@ -1916,83 +2052,83 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
1916
2052
  l
1917
2053
  ] })
1918
2054
  ] }), $1 = ({ value: n, max: l, label: r }) => {
1919
- const i = () => {
1920
- const c = Math.round(n / l * 100) + "%";
1921
- return r ? r + " " + c : c;
2055
+ const c = () => {
2056
+ const t = Math.round(n / l * 100) + "%";
2057
+ return r ? r + " " + t : t;
1922
2058
  };
1923
2059
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-progress", children: [
1924
- /* @__PURE__ */ e.jsx("label", { htmlFor: "progress", children: i() }),
1925
- /* @__PURE__ */ e.jsx("progress", { id: "progress", value: n, max: l, children: i() })
2060
+ /* @__PURE__ */ e.jsx("label", { htmlFor: "progress", children: c() }),
2061
+ /* @__PURE__ */ e.jsx("progress", { id: "progress", value: n, max: l, children: c() })
1926
2062
  ] });
1927
2063
  }, Y1 = ({ variant: n, size: l, style: r }) => {
1928
- const i = "muncher-hr" + (n ? " muncher-hr--" + n : "") + (l ? " muncher-hr--" + l : "") + (r ? " muncher-hr--" + r : "");
1929
- return /* @__PURE__ */ e.jsx("hr", { className: i });
1930
- }, U1 = ({ sliderItems: n, navButtonSize: l = "large", navButtonWeight: r = 2, variant: i, navIcon: c, navButtonPlacement: x = "inside" }) => {
1931
- const [o, a] = S(0), [j, y] = S(0), d = () => n.length > 1 && o > 0 ? /* @__PURE__ */ e.jsx(
2064
+ const c = "muncher-hr" + (n ? " muncher-hr--" + n : "") + (l ? " muncher-hr--" + l : "") + (r ? " muncher-hr--" + r : "");
2065
+ return /* @__PURE__ */ e.jsx("hr", { className: c });
2066
+ }, U1 = ({ sliderItems: n, navButtonSize: l = "large", navButtonWeight: r = 2, variant: c, navIcon: t, navButtonPlacement: i = "inside" }) => {
2067
+ const [o, a] = H(0), [d, y] = H(0), h = () => n.length > 1 && o > 0 ? /* @__PURE__ */ e.jsx(
1932
2068
  a1,
1933
2069
  {
1934
2070
  direction: "left",
1935
2071
  size: l,
1936
- variant: i,
1937
- navIcon: c,
2072
+ variant: c,
2073
+ navIcon: t,
1938
2074
  weight: r,
1939
2075
  onClick: () => {
1940
- o === 0 ? (y(-(n.length - 1) * 100), a(n.length - 1)) : (y(j + 100), a(o - 1));
2076
+ o === 0 ? (y(-(n.length - 1) * 100), a(n.length - 1)) : (y(d + 100), a(o - 1));
1941
2077
  }
1942
2078
  }
1943
- ) : "", h = () => n.length > 1 && o < n.length - 1 ? /* @__PURE__ */ e.jsx(
2079
+ ) : "", j = () => n.length > 1 && o < n.length - 1 ? /* @__PURE__ */ e.jsx(
1944
2080
  a1,
1945
2081
  {
1946
2082
  direction: "right",
1947
2083
  size: l,
1948
2084
  weight: r,
1949
- navIcon: c,
1950
- variant: i,
2085
+ navIcon: t,
2086
+ variant: c,
1951
2087
  onClick: () => {
1952
- o === n.length - 1 ? (a(0), y(0)) : (y(j - 100), a(o + 1));
2088
+ o === n.length - 1 ? (a(0), y(0)) : (y(d - 100), a(o + 1));
1953
2089
  }
1954
2090
  }
1955
2091
  ) : "";
1956
- return /* @__PURE__ */ e.jsxs("div", { className: "muncher-item-slider-wrapper--" + x, children: [
1957
- x === "outside" ? d() : "",
2092
+ return /* @__PURE__ */ e.jsxs("div", { className: "muncher-item-slider-wrapper--" + i, children: [
2093
+ i === "outside" ? h() : "",
1958
2094
  /* @__PURE__ */ e.jsxs("div", { className: "muncher-item-slider", children: [
1959
- x === "inside" ? d() : "",
2095
+ i === "inside" ? h() : "",
1960
2096
  /* @__PURE__ */ e.jsx("div", { className: "slider-container", style: { width: `${100 * n.length}%` }, children: n.map(
1961
- (p, v) => /* @__PURE__ */ e.jsx(
2097
+ (u, v) => /* @__PURE__ */ e.jsx(
1962
2098
  "div",
1963
2099
  {
1964
2100
  className: "slider-item",
1965
- style: { transform: `translateX(${j}%)` },
1966
- children: p
2101
+ style: { transform: `translateX(${d}%)` },
2102
+ children: u
1967
2103
  },
1968
2104
  "slider-item" + v
1969
2105
  )
1970
2106
  ) }),
1971
- x === "inside" ? h() : ""
2107
+ i === "inside" ? j() : ""
1972
2108
  ] }),
1973
- x === "outside" ? h() : ""
2109
+ i === "outside" ? j() : ""
1974
2110
  ] });
1975
2111
  }, W1 = ({
1976
2112
  min: n,
1977
2113
  max: l,
1978
2114
  minValue: r,
1979
- maxValue: i,
1980
- setMinValue: c,
1981
- setMaxValue: x,
2115
+ maxValue: c,
2116
+ setMinValue: t,
2117
+ setMaxValue: i,
1982
2118
  numberFormatter: o = (a) => new Intl.NumberFormat("en-US", {
1983
2119
  style: "currency",
1984
2120
  currency: "USD"
1985
2121
  }).format(a)
1986
2122
  }) => {
1987
- const a = (d) => {
1988
- const h = +d.target.value, p = h < i - 1 ? h : r;
1989
- c(p);
1990
- }, j = (d) => {
1991
- const h = +d.target.value, p = h > r + 1 ? h : i;
1992
- x(p);
1993
- }, y = (d) => o && d ? o(d) : d;
2123
+ const a = (h) => {
2124
+ const j = +h.target.value, u = j < c - 1 ? j : r;
2125
+ t(u);
2126
+ }, d = (h) => {
2127
+ const j = +h.target.value, u = j > r + 1 ? j : c;
2128
+ i(u);
2129
+ }, y = (h) => o && h ? o(h) : h;
1994
2130
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-slider", children: [
1995
- /* @__PURE__ */ e.jsx("div", { className: "slider-header", children: /* @__PURE__ */ e.jsx("p", { children: y(r) + " - " + y(i) }) }),
2131
+ /* @__PURE__ */ e.jsx("div", { className: "slider-header", children: /* @__PURE__ */ e.jsx("p", { children: y(r) + " - " + y(c) }) }),
1996
2132
  /* @__PURE__ */ e.jsx(
1997
2133
  "input",
1998
2134
  {
@@ -2011,8 +2147,8 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2011
2147
  type: "range",
2012
2148
  min: n,
2013
2149
  max: l,
2014
- value: i,
2015
- onChange: j
2150
+ value: c,
2151
+ onChange: d
2016
2152
  }
2017
2153
  ),
2018
2154
  /* @__PURE__ */ e.jsxs("div", { className: "slider-values", children: [
@@ -2024,18 +2160,18 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2024
2160
  min: n,
2025
2161
  max: l,
2026
2162
  value: r,
2027
- setValue: i,
2028
- numberFormatter: c = (x) => new Intl.NumberFormat("en-US", {
2163
+ setValue: c,
2164
+ numberFormatter: t = (i) => new Intl.NumberFormat("en-US", {
2029
2165
  style: "currency",
2030
2166
  currency: "USD"
2031
- }).format(x)
2167
+ }).format(i)
2032
2168
  }) => {
2033
- const x = (a) => c ? c(a) : a, o = (a) => {
2034
- const j = +a.target.value;
2035
- i(j);
2169
+ const i = (a) => t ? t(a) : a, o = (a) => {
2170
+ const d = +a.target.value;
2171
+ c(d);
2036
2172
  };
2037
2173
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-slider", children: [
2038
- /* @__PURE__ */ e.jsx("div", { className: "slider-header", children: /* @__PURE__ */ e.jsx("p", { children: x(r) }) }),
2174
+ /* @__PURE__ */ e.jsx("div", { className: "slider-header", children: /* @__PURE__ */ e.jsx("p", { children: i(r) }) }),
2039
2175
  /* @__PURE__ */ e.jsx(
2040
2176
  "input",
2041
2177
  {
@@ -2048,24 +2184,24 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2048
2184
  }
2049
2185
  ),
2050
2186
  /* @__PURE__ */ e.jsxs("div", { className: "slider-values", children: [
2051
- /* @__PURE__ */ e.jsx("div", { className: "slider-min", children: x(n) }),
2052
- /* @__PURE__ */ e.jsx("div", { className: "slider-max", children: x(l) })
2187
+ /* @__PURE__ */ e.jsx("div", { className: "slider-min", children: i(n) }),
2188
+ /* @__PURE__ */ e.jsx("div", { className: "slider-max", children: i(l) })
2053
2189
  ] })
2054
2190
  ] });
2055
- }, J1 = ({ isFeatured: n, onClick: l }) => /* @__PURE__ */ e.jsx("span", { className: "span-featured", children: /* @__PURE__ */ e.jsx("span", { className: n ? "featured-star" : "un-featured-star", onClick: l }) }), G1 = ({ rating: n, color: l, size: r, ...i }) => {
2056
- const c = {
2191
+ }, J1 = ({ isFeatured: n, onClick: l }) => /* @__PURE__ */ e.jsx("span", { className: "span-featured", children: /* @__PURE__ */ e.jsx("span", { className: n ? "featured-star" : "un-featured-star", onClick: l }) }), q1 = ({ rating: n, color: l, size: r, ...c }) => {
2192
+ const t = {
2057
2193
  "--r": n
2058
- }, x = () => {
2194
+ }, i = () => {
2059
2195
  let o = "muncher-star";
2060
2196
  return l && (o += " star-" + l), r && (o += " star-" + r), o;
2061
2197
  };
2062
- return /* @__PURE__ */ e.jsx("span", { className: x(), style: c, ...i });
2063
- }, q1 = ({ handleTabSelected: n, children: l }) => {
2064
- const [r, i] = S(0), { tabs: c } = l, x = (o) => {
2065
- i(o), n && n(o);
2198
+ return /* @__PURE__ */ e.jsx("span", { className: i(), style: t, ...c });
2199
+ }, G1 = ({ handleTabSelected: n, children: l }) => {
2200
+ const [r, c] = H(0), { tabs: t } = l, i = (o) => {
2201
+ c(o), n && n(o);
2066
2202
  };
2067
2203
  return /* @__PURE__ */ e.jsxs("section", { className: "muncher-tabs", children: [
2068
- /* @__PURE__ */ e.jsx("header", { children: c.map(
2204
+ /* @__PURE__ */ e.jsx("header", { children: t.map(
2069
2205
  (o, a) => /* @__PURE__ */ e.jsxs("div", { className: "muncher-tab-header--item", children: [
2070
2206
  /* @__PURE__ */ e.jsx(
2071
2207
  V,
@@ -2075,15 +2211,15 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2075
2211
  size: "small",
2076
2212
  title: o.headerTitle,
2077
2213
  onClick: () => {
2078
- x(a);
2214
+ i(a);
2079
2215
  },
2080
2216
  children: o.header
2081
2217
  }
2082
2218
  ),
2083
- a !== c.length - 1 ? /* @__PURE__ */ e.jsx("span", { className: "spacer", children: "|" }) : ""
2219
+ a !== t.length - 1 ? /* @__PURE__ */ e.jsx("span", { className: "spacer", children: "|" }) : ""
2084
2220
  ] }, "muncher-tab-header" + a)
2085
2221
  ) }),
2086
- c.map(
2222
+ t.map(
2087
2223
  (o, a) => /* @__PURE__ */ e.jsx(
2088
2224
  "section",
2089
2225
  {
@@ -2098,34 +2234,34 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2098
2234
  fileName: n,
2099
2235
  defaultPageSize: l = 50,
2100
2236
  skeleton: r,
2101
- handleOnUpload: i,
2102
- sortBy: c,
2103
- excludeDownload: x,
2237
+ handleOnUpload: c,
2238
+ sortBy: t,
2239
+ excludeDownload: i,
2104
2240
  includeUpload: o,
2105
2241
  isUploading: a,
2106
- uploadWarningMessage: j,
2242
+ uploadWarningMessage: d,
2107
2243
  uploadSuccessMessage: y,
2108
- excludePagination: d,
2109
- footer: h,
2110
- children: p
2244
+ excludePagination: h,
2245
+ footer: j,
2246
+ children: u
2111
2247
  }) => {
2112
- const { header: v, rows: N } = p, [g, _] = S(c ?? { index: 0 }), [f, E] = S({ num: 0, size: l }), C = (m) => {
2248
+ const { header: v, rows: N } = u, [g, _] = H(t ?? { index: 0 }), [f, E] = H({ num: 0, size: l }), C = (m) => {
2113
2249
  _(
2114
2250
  (k) => k.index === m ? { ...k, desc: !k.desc } : { index: m }
2115
2251
  );
2116
- }, A = l1(() => {
2117
- var z;
2118
- const m = [...N], k = (z = v[g.index]) == null ? void 0 : z.sort;
2252
+ }, z = x1(() => {
2253
+ var A;
2254
+ const m = [...N], k = (A = v[g.index]) == null ? void 0 : A.sort;
2119
2255
  return k ? m.sort(k) : m.sort((O, X) => {
2120
2256
  var $, Y, U, W;
2121
- const Z = ((Y = ($ = O[g.index]) == null ? void 0 : $.value) == null ? void 0 : Y.toString().toLowerCase()) ?? "", I = ((W = (U = X[g.index]) == null ? void 0 : U.value) == null ? void 0 : W.toString().toLowerCase()) ?? "";
2122
- return Z.localeCompare(I);
2257
+ const e1 = ((Y = ($ = O[g.index]) == null ? void 0 : $.value) == null ? void 0 : Y.toString().toLowerCase()) ?? "", I = ((W = (U = X[g.index]) == null ? void 0 : U.value) == null ? void 0 : W.toString().toLowerCase()) ?? "";
2258
+ return e1.localeCompare(I);
2123
2259
  }), g.desc ? m.reverse() : m;
2124
- }, [N, g, v]), b = l1(
2125
- () => A.slice(f.num * f.size, (f.num + 1) * f.size),
2126
- [A, f]
2127
- ), H = v.filter((m) => !m.csvExclude).map((m) => typeof m.name == "string" ? m.name : ""), P = N.map(
2128
- (m) => m.filter((k, z) => !v[z].csvExclude).map((k) => k.csv ?? k.value ?? "")
2260
+ }, [N, g, v]), M = x1(
2261
+ () => z.slice(f.num * f.size, (f.num + 1) * f.size),
2262
+ [z, f]
2263
+ ), S = v.filter((m) => !m.csvExclude).map((m) => typeof m.name == "string" ? m.name : ""), P = N.map(
2264
+ (m) => m.filter((k, A) => !v[A].csvExclude).map((k) => k.csv ?? k.value ?? "")
2129
2265
  );
2130
2266
  return /* @__PURE__ */ e.jsxs("section", { className: "muncher-table", children: [
2131
2267
  /* @__PURE__ */ e.jsx("div", { className: "row head", children: v.map(
@@ -2147,26 +2283,26 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2147
2283
  `row-head-${k}`
2148
2284
  )
2149
2285
  ) }),
2150
- r || b.map((m, k) => /* @__PURE__ */ e.jsx("div", { className: "row", children: m.map(
2151
- (z, O) => v[O].visibility === "hidden" ? null : /* @__PURE__ */ e.jsx(
2286
+ r || M.map((m, k) => /* @__PURE__ */ e.jsx("div", { className: "row", children: m.map(
2287
+ (A, O) => v[O].visibility === "hidden" ? null : /* @__PURE__ */ e.jsx(
2152
2288
  "div",
2153
2289
  {
2154
2290
  className: v[O].visibility ? "col main" : "col",
2155
- children: z.content
2291
+ children: A.content
2156
2292
  },
2157
2293
  `row-col-${k}-${O}`
2158
2294
  )
2159
2295
  ) }, `row-${k}`)),
2160
- h ?? null,
2296
+ j ?? null,
2161
2297
  /* @__PURE__ */ e.jsxs("div", { className: "row-footer", children: [
2162
2298
  /* @__PURE__ */ e.jsxs("div", { className: "row-footer-buttons", children: [
2163
- !x && /* @__PURE__ */ e.jsx(
2164
- M1,
2299
+ !i && /* @__PURE__ */ e.jsx(
2300
+ b1,
2165
2301
  {
2166
2302
  filename: n ?? "download",
2167
2303
  variant: "secondary",
2168
2304
  title: "Download",
2169
- header: H,
2305
+ header: S,
2170
2306
  data: P
2171
2307
  }
2172
2308
  ),
@@ -2174,14 +2310,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2174
2310
  N1,
2175
2311
  {
2176
2312
  name: "csv-input-file",
2177
- handleOnChange: i,
2313
+ handleOnChange: c,
2178
2314
  isUploading: a,
2179
- warningMessage: j,
2315
+ warningMessage: d,
2180
2316
  successMessage: y
2181
2317
  }
2182
2318
  )
2183
2319
  ] }),
2184
- !d && /* @__PURE__ */ e.jsxs("div", { className: "pagination", children: [
2320
+ !h && /* @__PURE__ */ e.jsxs("div", { className: "pagination", children: [
2185
2321
  /* @__PURE__ */ e.jsxs("div", { className: "left", children: [
2186
2322
  "Rows:",
2187
2323
  /* @__PURE__ */ e.jsx(
@@ -2232,40 +2368,40 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
2232
2368
  ] });
2233
2369
  };
2234
2370
  export {
2235
- A1 as Accordion,
2371
+ z1 as Accordion,
2236
2372
  m1 as Backdrop,
2237
2373
  f1 as Badge,
2238
2374
  V as Button,
2239
2375
  _1 as Checkbox,
2240
- b1 as CopyButton,
2241
- M1 as CsvButton,
2376
+ M1 as CopyButton,
2377
+ b1 as CsvButton,
2242
2378
  N1 as CsvInput,
2243
2379
  v1 as DropdownButton,
2244
2380
  R1 as DropdownNavButton,
2245
2381
  J1 as Featured,
2246
2382
  Y1 as Hr,
2247
2383
  w as Icon,
2248
- z1 as IconBadge,
2249
- S1 as ImageInput,
2384
+ A1 as IconBadge,
2385
+ H1 as ImageInput,
2250
2386
  k1 as Input,
2251
2387
  U1 as ItemSlider,
2252
- q as Label,
2388
+ G as Label,
2253
2389
  P1 as Li,
2254
2390
  D1 as Modal,
2255
2391
  a1 as NavigateButton,
2256
2392
  F1 as Paper,
2257
2393
  I1 as Pill,
2258
2394
  $1 as Progress,
2259
- H1 as Radio,
2395
+ S1 as Radio,
2260
2396
  W1 as RangeSlider,
2261
2397
  C1 as Select,
2262
2398
  T1 as ShareButton,
2263
2399
  B1 as Slider,
2264
2400
  w1 as SortButton,
2265
- h1 as Spinner,
2266
- G1 as Star,
2401
+ j1 as Spinner,
2402
+ q1 as Star,
2267
2403
  X1 as Table,
2268
- q1 as Tabs,
2404
+ G1 as Tabs,
2269
2405
  L1 as TextInputDropdown,
2270
2406
  V1 as Textarea,
2271
2407
  O1 as Ul,