@sirsluginston/sharedui 2.0.14 → 2.0.15

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/dist/sharedui.js CHANGED
@@ -1,5 +1,5 @@
1
- import ue, { useEffect as N, useState as P, useRef as Ae, useCallback as Cr } from "react";
2
- var de = { exports: {} }, $ = {};
1
+ import de, { useEffect as N, useState as z, useRef as We, useCallback as Cr } from "react";
2
+ var ce = { exports: {} }, $ = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -13,13 +13,13 @@ var Le;
13
13
  function Sr() {
14
14
  if (Le) return $;
15
15
  Le = 1;
16
- var o = ue, t = Symbol.for("react.element"), s = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, l = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function c(u, f, j) {
18
- var p, x = {}, b = null, I = null;
19
- j !== void 0 && (b = "" + j), f.key !== void 0 && (b = "" + f.key), f.ref !== void 0 && (I = f.ref);
20
- for (p in f) i.call(f, p) && !n.hasOwnProperty(p) && (x[p] = f[p]);
21
- if (u && u.defaultProps) for (p in f = u.defaultProps, f) x[p] === void 0 && (x[p] = f[p]);
22
- return { $$typeof: t, type: u, key: b, ref: I, props: x, _owner: l.current };
16
+ var o = de, t = Symbol.for("react.element"), s = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, l = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ function c(u, p, b) {
18
+ var f, x = {}, F = null, P = null;
19
+ b !== void 0 && (F = "" + b), p.key !== void 0 && (F = "" + p.key), p.ref !== void 0 && (P = p.ref);
20
+ for (f in p) n.call(p, f) && !i.hasOwnProperty(f) && (x[f] = p[f]);
21
+ if (u && u.defaultProps) for (f in p = u.defaultProps, p) x[f] === void 0 && (x[f] = p[f]);
22
+ return { $$typeof: t, type: u, key: F, ref: P, props: x, _owner: l.current };
23
23
  }
24
24
  return $.Fragment = s, $.jsx = c, $.jsxs = c, $;
25
25
  }
@@ -33,18 +33,18 @@ var Y = {};
33
33
  * This source code is licensed under the MIT license found in the
34
34
  * LICENSE file in the root directory of this source tree.
35
35
  */
36
- var Be;
36
+ var Ae;
37
37
  function Rr() {
38
- return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
39
- var o = ue, t = Symbol.for("react.element"), s = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), C = Symbol.iterator, _ = "@@iterator";
38
+ return Ae || (Ae = 1, process.env.NODE_ENV !== "production" && function() {
39
+ var o = de, t = Symbol.for("react.element"), s = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), u = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), w = Symbol.iterator, _ = "@@iterator";
40
40
  function Ye(r) {
41
41
  if (r === null || typeof r != "object")
42
42
  return null;
43
- var a = C && r[C] || r[_];
43
+ var a = w && r[w] || r[_];
44
44
  return typeof a == "function" ? a : null;
45
45
  }
46
46
  var W = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
- function S(r) {
47
+ function C(r) {
48
48
  {
49
49
  for (var a = arguments.length, d = new Array(a > 1 ? a - 1 : 0), v = 1; v < a; v++)
50
50
  d[v - 1] = arguments[v];
@@ -61,14 +61,14 @@ function Rr() {
61
61
  h.unshift("Warning: " + a), Function.prototype.apply.call(console[r], console, h);
62
62
  }
63
63
  }
64
- var Ue = !1, He = !1, Ve = !1, Xe = !1, qe = !1, fe;
65
- fe = Symbol.for("react.module.reference");
64
+ var Ue = !1, He = !1, Ve = !1, Xe = !1, qe = !1, ue;
65
+ ue = Symbol.for("react.module.reference");
66
66
  function Je(r) {
67
- return !!(typeof r == "string" || typeof r == "function" || r === i || r === n || qe || r === l || r === j || r === p || Xe || r === I || Ue || He || Ve || typeof r == "object" && r !== null && (r.$$typeof === b || r.$$typeof === x || r.$$typeof === c || r.$$typeof === u || r.$$typeof === f || // This needs to include all possible module reference object
67
+ return !!(typeof r == "string" || typeof r == "function" || r === n || r === i || qe || r === l || r === b || r === f || Xe || r === P || Ue || He || Ve || typeof r == "object" && r !== null && (r.$$typeof === F || r.$$typeof === x || r.$$typeof === c || r.$$typeof === u || r.$$typeof === p || // This needs to include all possible module reference object
68
68
  // types supported by any Flight configuration anywhere since
69
69
  // we don't know which Flight build this will end up being used
70
70
  // with.
71
- r.$$typeof === fe || r.getModuleId !== void 0));
71
+ r.$$typeof === ue || r.getModuleId !== void 0));
72
72
  }
73
73
  function Ke(r, a, d) {
74
74
  var v = r.displayName;
@@ -77,47 +77,47 @@ function Rr() {
77
77
  var y = a.displayName || a.name || "";
78
78
  return y !== "" ? d + "(" + y + ")" : d;
79
79
  }
80
- function ve(r) {
80
+ function fe(r) {
81
81
  return r.displayName || "Context";
82
82
  }
83
- function M(r) {
83
+ function I(r) {
84
84
  if (r == null)
85
85
  return null;
86
- if (typeof r.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function")
86
+ if (typeof r.tag == "number" && C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function")
87
87
  return r.displayName || r.name || null;
88
88
  if (typeof r == "string")
89
89
  return r;
90
90
  switch (r) {
91
- case i:
91
+ case n:
92
92
  return "Fragment";
93
93
  case s:
94
94
  return "Portal";
95
- case n:
95
+ case i:
96
96
  return "Profiler";
97
97
  case l:
98
98
  return "StrictMode";
99
- case j:
99
+ case b:
100
100
  return "Suspense";
101
- case p:
101
+ case f:
102
102
  return "SuspenseList";
103
103
  }
104
104
  if (typeof r == "object")
105
105
  switch (r.$$typeof) {
106
106
  case u:
107
107
  var a = r;
108
- return ve(a) + ".Consumer";
108
+ return fe(a) + ".Consumer";
109
109
  case c:
110
110
  var d = r;
111
- return ve(d._context) + ".Provider";
112
- case f:
111
+ return fe(d._context) + ".Provider";
112
+ case p:
113
113
  return Ke(r, r.render, "ForwardRef");
114
114
  case x:
115
115
  var v = r.displayName || null;
116
- return v !== null ? v : M(r.type) || "Memo";
117
- case b: {
116
+ return v !== null ? v : I(r.type) || "Memo";
117
+ case F: {
118
118
  var y = r, h = y._payload, m = y._init;
119
119
  try {
120
- return M(m(h));
120
+ return I(m(h));
121
121
  } catch {
122
122
  return null;
123
123
  }
@@ -125,18 +125,18 @@ function Rr() {
125
125
  }
126
126
  return null;
127
127
  }
128
- var D = Object.assign, B = 0, pe, ge, me, ye, he, xe, be;
129
- function je() {
128
+ var M = Object.assign, O = 0, ve, pe, ge, me, ye, he, xe;
129
+ function be() {
130
130
  }
131
- je.__reactDisabledLog = !0;
131
+ be.__reactDisabledLog = !0;
132
132
  function Ge() {
133
133
  {
134
- if (B === 0) {
135
- pe = console.log, ge = console.info, me = console.warn, ye = console.error, he = console.group, xe = console.groupCollapsed, be = console.groupEnd;
134
+ if (O === 0) {
135
+ ve = console.log, pe = console.info, ge = console.warn, me = console.error, ye = console.group, he = console.groupCollapsed, xe = console.groupEnd;
136
136
  var r = {
137
137
  configurable: !0,
138
138
  enumerable: !0,
139
- value: je,
139
+ value: be,
140
140
  writable: !0
141
141
  };
142
142
  Object.defineProperties(console, {
@@ -149,65 +149,65 @@ function Rr() {
149
149
  groupEnd: r
150
150
  });
151
151
  }
152
- B++;
152
+ O++;
153
153
  }
154
154
  }
155
155
  function Qe() {
156
156
  {
157
- if (B--, B === 0) {
157
+ if (O--, O === 0) {
158
158
  var r = {
159
159
  configurable: !0,
160
160
  enumerable: !0,
161
161
  writable: !0
162
162
  };
163
163
  Object.defineProperties(console, {
164
- log: D({}, r, {
164
+ log: M({}, r, {
165
+ value: ve
166
+ }),
167
+ info: M({}, r, {
165
168
  value: pe
166
169
  }),
167
- info: D({}, r, {
170
+ warn: M({}, r, {
168
171
  value: ge
169
172
  }),
170
- warn: D({}, r, {
173
+ error: M({}, r, {
171
174
  value: me
172
175
  }),
173
- error: D({}, r, {
176
+ group: M({}, r, {
174
177
  value: ye
175
178
  }),
176
- group: D({}, r, {
179
+ groupCollapsed: M({}, r, {
177
180
  value: he
178
181
  }),
179
- groupCollapsed: D({}, r, {
182
+ groupEnd: M({}, r, {
180
183
  value: xe
181
- }),
182
- groupEnd: D({}, r, {
183
- value: be
184
184
  })
185
185
  });
186
186
  }
187
- B < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
187
+ O < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
188
  }
189
189
  }
190
- var oe = W.ReactCurrentDispatcher, te;
190
+ var re = W.ReactCurrentDispatcher, oe;
191
191
  function J(r, a, d) {
192
192
  {
193
- if (te === void 0)
193
+ if (oe === void 0)
194
194
  try {
195
195
  throw Error();
196
196
  } catch (y) {
197
197
  var v = y.stack.trim().match(/\n( *(at )?)/);
198
- te = v && v[1] || "";
198
+ oe = v && v[1] || "";
199
199
  }
200
200
  return `
201
- ` + te + r;
201
+ ` + oe + r;
202
202
  }
203
203
  }
204
- var ae = !1, K;
204
+ var te = !1, K;
205
205
  {
206
206
  var Ze = typeof WeakMap == "function" ? WeakMap : Map;
207
207
  K = new Ze();
208
208
  }
209
- function ke(r, a) {
210
- if (!r || ae)
209
+ function je(r, a) {
210
+ if (!r || te)
211
211
  return "";
212
212
  {
213
213
  var d = K.get(r);
@@ -215,11 +215,11 @@ function Rr() {
215
215
  return d;
216
216
  }
217
217
  var v;
218
- ae = !0;
218
+ te = !0;
219
219
  var y = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
221
  var h;
222
- h = oe.current, oe.current = null, Ge();
222
+ h = re.current, re.current = null, Ge();
223
223
  try {
224
224
  if (a) {
225
225
  var m = function() {
@@ -232,53 +232,53 @@ function Rr() {
232
232
  }), typeof Reflect == "object" && Reflect.construct) {
233
233
  try {
234
234
  Reflect.construct(m, []);
235
- } catch (T) {
236
- v = T;
235
+ } catch (R) {
236
+ v = R;
237
237
  }
238
238
  Reflect.construct(r, [], m);
239
239
  } else {
240
240
  try {
241
241
  m.call();
242
- } catch (T) {
243
- v = T;
242
+ } catch (R) {
243
+ v = R;
244
244
  }
245
245
  r.call(m.prototype);
246
246
  }
247
247
  } else {
248
248
  try {
249
249
  throw Error();
250
- } catch (T) {
251
- v = T;
250
+ } catch (R) {
251
+ v = R;
252
252
  }
253
253
  r();
254
254
  }
255
- } catch (T) {
256
- if (T && v && typeof T.stack == "string") {
257
- for (var g = T.stack.split(`
258
- `), R = v.stack.split(`
259
- `), k = g.length - 1, w = R.length - 1; k >= 1 && w >= 0 && g[k] !== R[w]; )
260
- w--;
261
- for (; k >= 1 && w >= 0; k--, w--)
262
- if (g[k] !== R[w]) {
263
- if (k !== 1 || w !== 1)
255
+ } catch (R) {
256
+ if (R && v && typeof R.stack == "string") {
257
+ for (var g = R.stack.split(`
258
+ `), S = v.stack.split(`
259
+ `), j = g.length - 1, k = S.length - 1; j >= 1 && k >= 0 && g[j] !== S[k]; )
260
+ k--;
261
+ for (; j >= 1 && k >= 0; j--, k--)
262
+ if (g[j] !== S[k]) {
263
+ if (j !== 1 || k !== 1)
264
264
  do
265
- if (k--, w--, w < 0 || g[k] !== R[w]) {
266
- var E = `
267
- ` + g[k].replace(" at new ", " at ");
268
- return r.displayName && E.includes("<anonymous>") && (E = E.replace("<anonymous>", r.displayName)), typeof r == "function" && K.set(r, E), E;
265
+ if (j--, k--, k < 0 || g[j] !== S[k]) {
266
+ var T = `
267
+ ` + g[j].replace(" at new ", " at ");
268
+ return r.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", r.displayName)), typeof r == "function" && K.set(r, T), T;
269
269
  }
270
- while (k >= 1 && w >= 0);
270
+ while (j >= 1 && k >= 0);
271
271
  break;
272
272
  }
273
273
  }
274
274
  } finally {
275
- ae = !1, oe.current = h, Qe(), Error.prepareStackTrace = y;
275
+ te = !1, re.current = h, Qe(), Error.prepareStackTrace = y;
276
276
  }
277
- var L = r ? r.displayName || r.name : "", z = L ? J(L) : "";
278
- return typeof r == "function" && K.set(r, z), z;
277
+ var A = r ? r.displayName || r.name : "", D = A ? J(A) : "";
278
+ return typeof r == "function" && K.set(r, D), D;
279
279
  }
280
280
  function er(r, a, d) {
281
- return ke(r, !1);
281
+ return je(r, !1);
282
282
  }
283
283
  function rr(r) {
284
284
  var a = r.prototype;
@@ -288,22 +288,22 @@ function Rr() {
288
288
  if (r == null)
289
289
  return "";
290
290
  if (typeof r == "function")
291
- return ke(r, rr(r));
291
+ return je(r, rr(r));
292
292
  if (typeof r == "string")
293
293
  return J(r);
294
294
  switch (r) {
295
- case j:
295
+ case b:
296
296
  return J("Suspense");
297
- case p:
297
+ case f:
298
298
  return J("SuspenseList");
299
299
  }
300
300
  if (typeof r == "object")
301
301
  switch (r.$$typeof) {
302
- case f:
302
+ case p:
303
303
  return er(r.render);
304
304
  case x:
305
305
  return G(r.type, a, d);
306
- case b: {
306
+ case F: {
307
307
  var v = r, y = v._payload, h = v._init;
308
308
  try {
309
309
  return G(h(y), a, d);
@@ -313,35 +313,35 @@ function Rr() {
313
313
  }
314
314
  return "";
315
315
  }
316
- var O = Object.prototype.hasOwnProperty, we = {}, Ce = W.ReactDebugCurrentFrame;
316
+ var B = Object.prototype.hasOwnProperty, ke = {}, we = W.ReactDebugCurrentFrame;
317
317
  function Q(r) {
318
318
  if (r) {
319
319
  var a = r._owner, d = G(r.type, r._source, a ? a.type : null);
320
- Ce.setExtraStackFrame(d);
320
+ we.setExtraStackFrame(d);
321
321
  } else
322
- Ce.setExtraStackFrame(null);
322
+ we.setExtraStackFrame(null);
323
323
  }
324
324
  function or(r, a, d, v, y) {
325
325
  {
326
- var h = Function.call.bind(O);
326
+ var h = Function.call.bind(B);
327
327
  for (var m in r)
328
328
  if (h(r, m)) {
329
329
  var g = void 0;
330
330
  try {
331
331
  if (typeof r[m] != "function") {
332
- var R = Error((v || "React class") + ": " + d + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
- throw R.name = "Invariant Violation", R;
332
+ var S = Error((v || "React class") + ": " + d + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
+ throw S.name = "Invariant Violation", S;
334
334
  }
335
335
  g = r[m](a, m, v, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
- } catch (k) {
337
- g = k;
336
+ } catch (j) {
337
+ g = j;
338
338
  }
339
- g && !(g instanceof Error) && (Q(y), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", d, m, typeof g), Q(null)), g instanceof Error && !(g.message in we) && (we[g.message] = !0, Q(y), S("Failed %s type: %s", d, g.message), Q(null));
339
+ g && !(g instanceof Error) && (Q(y), C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", d, m, typeof g), Q(null)), g instanceof Error && !(g.message in ke) && (ke[g.message] = !0, Q(y), C("Failed %s type: %s", d, g.message), Q(null));
340
340
  }
341
341
  }
342
342
  }
343
343
  var tr = Array.isArray;
344
- function ne(r) {
344
+ function ae(r) {
345
345
  return tr(r);
346
346
  }
347
347
  function ar(r) {
@@ -352,26 +352,26 @@ function Rr() {
352
352
  }
353
353
  function nr(r) {
354
354
  try {
355
- return Se(r), !1;
355
+ return Ce(r), !1;
356
356
  } catch {
357
357
  return !0;
358
358
  }
359
359
  }
360
- function Se(r) {
360
+ function Ce(r) {
361
361
  return "" + r;
362
362
  }
363
- function Re(r) {
363
+ function Se(r) {
364
364
  if (nr(r))
365
- return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ar(r)), Se(r);
365
+ return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ar(r)), Ce(r);
366
366
  }
367
- var Te = W.ReactCurrentOwner, sr = {
367
+ var Re = W.ReactCurrentOwner, sr = {
368
368
  key: !0,
369
369
  ref: !0,
370
370
  __self: !0,
371
371
  __source: !0
372
- }, Ee, Fe;
372
+ }, Te, Ee;
373
373
  function ir(r) {
374
- if (O.call(r, "ref")) {
374
+ if (B.call(r, "ref")) {
375
375
  var a = Object.getOwnPropertyDescriptor(r, "ref").get;
376
376
  if (a && a.isReactWarning)
377
377
  return !1;
@@ -379,7 +379,7 @@ function Rr() {
379
379
  return r.ref !== void 0;
380
380
  }
381
381
  function lr(r) {
382
- if (O.call(r, "key")) {
382
+ if (B.call(r, "key")) {
383
383
  var a = Object.getOwnPropertyDescriptor(r, "key").get;
384
384
  if (a && a.isReactWarning)
385
385
  return !1;
@@ -387,12 +387,12 @@ function Rr() {
387
387
  return r.key !== void 0;
388
388
  }
389
389
  function cr(r, a) {
390
- typeof r.ref == "string" && Te.current;
390
+ typeof r.ref == "string" && Re.current;
391
391
  }
392
392
  function dr(r, a) {
393
393
  {
394
394
  var d = function() {
395
- Ee || (Ee = !0, S("%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://reactjs.org/link/special-props)", a));
395
+ Te || (Te = !0, C("%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://reactjs.org/link/special-props)", a));
396
396
  };
397
397
  d.isReactWarning = !0, Object.defineProperty(r, "key", {
398
398
  get: d,
@@ -403,7 +403,7 @@ function Rr() {
403
403
  function ur(r, a) {
404
404
  {
405
405
  var d = function() {
406
- Fe || (Fe = !0, S("%s: `ref` 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://reactjs.org/link/special-props)", a));
406
+ Ee || (Ee = !0, C("%s: `ref` 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://reactjs.org/link/special-props)", a));
407
407
  };
408
408
  d.isReactWarning = !0, Object.defineProperty(r, "ref", {
409
409
  get: d,
@@ -442,39 +442,39 @@ function Rr() {
442
442
  };
443
443
  function vr(r, a, d, v, y) {
444
444
  {
445
- var h, m = {}, g = null, R = null;
446
- d !== void 0 && (Re(d), g = "" + d), lr(a) && (Re(a.key), g = "" + a.key), ir(a) && (R = a.ref, cr(a, y));
445
+ var h, m = {}, g = null, S = null;
446
+ d !== void 0 && (Se(d), g = "" + d), lr(a) && (Se(a.key), g = "" + a.key), ir(a) && (S = a.ref, cr(a, y));
447
447
  for (h in a)
448
- O.call(a, h) && !sr.hasOwnProperty(h) && (m[h] = a[h]);
448
+ B.call(a, h) && !sr.hasOwnProperty(h) && (m[h] = a[h]);
449
449
  if (r && r.defaultProps) {
450
- var k = r.defaultProps;
451
- for (h in k)
452
- m[h] === void 0 && (m[h] = k[h]);
450
+ var j = r.defaultProps;
451
+ for (h in j)
452
+ m[h] === void 0 && (m[h] = j[h]);
453
453
  }
454
- if (g || R) {
455
- var w = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
456
- g && dr(m, w), R && ur(m, w);
454
+ if (g || S) {
455
+ var k = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
456
+ g && dr(m, k), S && ur(m, k);
457
457
  }
458
- return fr(r, g, R, y, v, Te.current, m);
458
+ return fr(r, g, S, y, v, Re.current, m);
459
459
  }
460
460
  }
461
- var se = W.ReactCurrentOwner, _e = W.ReactDebugCurrentFrame;
462
- function A(r) {
461
+ var ne = W.ReactCurrentOwner, Fe = W.ReactDebugCurrentFrame;
462
+ function L(r) {
463
463
  if (r) {
464
464
  var a = r._owner, d = G(r.type, r._source, a ? a.type : null);
465
- _e.setExtraStackFrame(d);
465
+ Fe.setExtraStackFrame(d);
466
466
  } else
467
- _e.setExtraStackFrame(null);
467
+ Fe.setExtraStackFrame(null);
468
468
  }
469
- var ie;
470
- ie = !1;
471
- function le(r) {
469
+ var se;
470
+ se = !1;
471
+ function ie(r) {
472
472
  return typeof r == "object" && r !== null && r.$$typeof === t;
473
473
  }
474
- function Ie() {
474
+ function _e() {
475
475
  {
476
- if (se.current) {
477
- var r = M(se.current.type);
476
+ if (ne.current) {
477
+ var r = I(ne.current.type);
478
478
  if (r)
479
479
  return `
480
480
 
@@ -486,10 +486,10 @@ Check the render method of \`` + r + "`.";
486
486
  function pr(r) {
487
487
  return "";
488
488
  }
489
- var Me = {};
489
+ var Ie = {};
490
490
  function gr(r) {
491
491
  {
492
- var a = Ie();
492
+ var a = _e();
493
493
  if (!a) {
494
494
  var d = typeof r == "string" ? r : r.displayName || r.name;
495
495
  d && (a = `
@@ -499,35 +499,35 @@ Check the top-level render call using <` + d + ">.");
499
499
  return a;
500
500
  }
501
501
  }
502
- function De(r, a) {
502
+ function Me(r, a) {
503
503
  {
504
504
  if (!r._store || r._store.validated || r.key != null)
505
505
  return;
506
506
  r._store.validated = !0;
507
507
  var d = gr(a);
508
- if (Me[d])
508
+ if (Ie[d])
509
509
  return;
510
- Me[d] = !0;
510
+ Ie[d] = !0;
511
511
  var v = "";
512
- r && r._owner && r._owner !== se.current && (v = " It was passed a child from " + M(r._owner.type) + "."), A(r), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, v), A(null);
512
+ r && r._owner && r._owner !== ne.current && (v = " It was passed a child from " + I(r._owner.type) + "."), L(r), C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, v), L(null);
513
513
  }
514
514
  }
515
- function ze(r, a) {
515
+ function De(r, a) {
516
516
  {
517
517
  if (typeof r != "object")
518
518
  return;
519
- if (ne(r))
519
+ if (ae(r))
520
520
  for (var d = 0; d < r.length; d++) {
521
521
  var v = r[d];
522
- le(v) && De(v, a);
522
+ ie(v) && Me(v, a);
523
523
  }
524
- else if (le(r))
524
+ else if (ie(r))
525
525
  r._store && (r._store.validated = !0);
526
526
  else if (r) {
527
527
  var y = Ye(r);
528
528
  if (typeof y == "function" && y !== r.entries)
529
529
  for (var h = y.call(r), m; !(m = h.next()).done; )
530
- le(m.value) && De(m.value, a);
530
+ ie(m.value) && Me(m.value, a);
531
531
  }
532
532
  }
533
533
  }
@@ -539,21 +539,21 @@ Check the top-level render call using <` + d + ">.");
539
539
  var d;
540
540
  if (typeof a == "function")
541
541
  d = a.propTypes;
542
- else if (typeof a == "object" && (a.$$typeof === f || // Note: Memo only checks outer props here.
542
+ else if (typeof a == "object" && (a.$$typeof === p || // Note: Memo only checks outer props here.
543
543
  // Inner props are checked in the reconciler.
544
544
  a.$$typeof === x))
545
545
  d = a.propTypes;
546
546
  else
547
547
  return;
548
548
  if (d) {
549
- var v = M(a);
549
+ var v = I(a);
550
550
  or(d, r.props, "prop", v, r);
551
- } else if (a.PropTypes !== void 0 && !ie) {
552
- ie = !0;
553
- var y = M(a);
554
- S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
551
+ } else if (a.PropTypes !== void 0 && !se) {
552
+ se = !0;
553
+ var y = I(a);
554
+ C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
555
555
  }
556
- typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
556
+ typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
557
  }
558
558
  }
559
559
  function yr(r) {
@@ -561,84 +561,84 @@ Check the top-level render call using <` + d + ">.");
561
561
  for (var a = Object.keys(r.props), d = 0; d < a.length; d++) {
562
562
  var v = a[d];
563
563
  if (v !== "children" && v !== "key") {
564
- A(r), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), A(null);
564
+ L(r), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), L(null);
565
565
  break;
566
566
  }
567
567
  }
568
- r.ref !== null && (A(r), S("Invalid attribute `ref` supplied to `React.Fragment`."), A(null));
568
+ r.ref !== null && (L(r), C("Invalid attribute `ref` supplied to `React.Fragment`."), L(null));
569
569
  }
570
570
  }
571
- var Pe = {};
572
- function We(r, a, d, v, y, h) {
571
+ var ze = {};
572
+ function Pe(r, a, d, v, y, h) {
573
573
  {
574
574
  var m = Je(r);
575
575
  if (!m) {
576
576
  var g = "";
577
577
  (r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
578
- var R = pr();
579
- R ? g += R : g += Ie();
580
- var k;
581
- r === null ? k = "null" : ne(r) ? k = "array" : r !== void 0 && r.$$typeof === t ? (k = "<" + (M(r.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : k = typeof r, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", k, g);
578
+ var S = pr();
579
+ S ? g += S : g += _e();
580
+ var j;
581
+ r === null ? j = "null" : ae(r) ? j = "array" : r !== void 0 && r.$$typeof === t ? (j = "<" + (I(r.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : j = typeof r, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, g);
582
582
  }
583
- var w = vr(r, a, d, y, h);
584
- if (w == null)
585
- return w;
583
+ var k = vr(r, a, d, y, h);
584
+ if (k == null)
585
+ return k;
586
586
  if (m) {
587
- var E = a.children;
588
- if (E !== void 0)
587
+ var T = a.children;
588
+ if (T !== void 0)
589
589
  if (v)
590
- if (ne(E)) {
591
- for (var L = 0; L < E.length; L++)
592
- ze(E[L], r);
593
- Object.freeze && Object.freeze(E);
590
+ if (ae(T)) {
591
+ for (var A = 0; A < T.length; A++)
592
+ De(T[A], r);
593
+ Object.freeze && Object.freeze(T);
594
594
  } else
595
- S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
595
+ C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
596
596
  else
597
- ze(E, r);
597
+ De(T, r);
598
598
  }
599
- if (O.call(a, "key")) {
600
- var z = M(r), T = Object.keys(a).filter(function(wr) {
599
+ if (B.call(a, "key")) {
600
+ var D = I(r), R = Object.keys(a).filter(function(wr) {
601
601
  return wr !== "key";
602
- }), ce = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
603
- if (!Pe[z + ce]) {
604
- var kr = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
605
- S(`A props object containing a "key" prop is being spread into JSX:
602
+ }), le = R.length > 0 ? "{key: someKey, " + R.join(": ..., ") + ": ...}" : "{key: someKey}";
603
+ if (!ze[D + le]) {
604
+ var kr = R.length > 0 ? "{" + R.join(": ..., ") + ": ...}" : "{}";
605
+ C(`A props object containing a "key" prop is being spread into JSX:
606
606
  let props = %s;
607
607
  <%s {...props} />
608
608
  React keys must be passed directly to JSX without using spread:
609
609
  let props = %s;
610
- <%s key={someKey} {...props} />`, ce, z, kr, z), Pe[z + ce] = !0;
610
+ <%s key={someKey} {...props} />`, le, D, kr, D), ze[D + le] = !0;
611
611
  }
612
612
  }
613
- return r === i ? yr(w) : mr(w), w;
613
+ return r === n ? yr(k) : mr(k), k;
614
614
  }
615
615
  }
616
616
  function hr(r, a, d) {
617
- return We(r, a, d, !0);
617
+ return Pe(r, a, d, !0);
618
618
  }
619
619
  function xr(r, a, d) {
620
- return We(r, a, d, !1);
620
+ return Pe(r, a, d, !1);
621
621
  }
622
622
  var br = xr, jr = hr;
623
- Y.Fragment = i, Y.jsx = br, Y.jsxs = jr;
623
+ Y.Fragment = n, Y.jsx = br, Y.jsxs = jr;
624
624
  }()), Y;
625
625
  }
626
- process.env.NODE_ENV === "production" ? de.exports = Sr() : de.exports = Rr();
627
- var e = de.exports;
628
- const Hr = ({
626
+ process.env.NODE_ENV === "production" ? ce.exports = Sr() : ce.exports = Rr();
627
+ var e = ce.exports;
628
+ const Ur = ({
629
629
  variant: o = "primary",
630
630
  size: t = "md",
631
631
  loading: s = !1,
632
- icon: i,
632
+ icon: n,
633
633
  children: l,
634
- disabled: n,
634
+ disabled: i,
635
635
  ...c
636
636
  }) => {
637
637
  const u = {
638
638
  sm: { padding: "var(--space-xs) var(--space-sm)", fontSize: "0.85rem" },
639
639
  md: { padding: "var(--space-sm) var(--space-md)", fontSize: "1rem" },
640
640
  lg: { padding: "var(--space-md) var(--space-lg)", fontSize: "1.1rem" }
641
- }, f = {
641
+ }, p = {
642
642
  primary: {
643
643
  backgroundColor: "var(--primary-color)",
644
644
  color: "var(--surface-light)",
@@ -669,14 +669,14 @@ const Hr = ({
669
669
  border: "2px solid var(--danger-color)",
670
670
  boxShadow: "2px 2px 0 rgba(0,0,0,0.2)"
671
671
  }
672
- }, j = {
672
+ }, b = {
673
673
  ...u[t],
674
- ...f[o],
674
+ ...p[o],
675
675
  borderRadius: "var(--radius-md)",
676
676
  fontFamily: "var(--font-sans)",
677
677
  fontWeight: 600,
678
- cursor: n || s ? "not-allowed" : "pointer",
679
- opacity: n ? 0.5 : 1,
678
+ cursor: i || s ? "not-allowed" : "pointer",
679
+ opacity: i ? 0.5 : 1,
680
680
  display: "inline-flex",
681
681
  alignItems: "center",
682
682
  justifyContent: "center",
@@ -688,22 +688,22 @@ const Hr = ({
688
688
  "button",
689
689
  {
690
690
  ...c,
691
- disabled: n || s,
692
- style: { ...j, ...c.style },
693
- onMouseDown: (p) => {
691
+ disabled: i || s,
692
+ style: { ...b, ...c.style },
693
+ onMouseDown: (f) => {
694
694
  var x;
695
- !n && !s && (p.currentTarget.style.transform = "translate(2px, 2px)", p.currentTarget.style.boxShadow = "none"), (x = c.onMouseDown) == null || x.call(c, p);
695
+ !i && !s && (f.currentTarget.style.transform = "translate(2px, 2px)", f.currentTarget.style.boxShadow = "none"), (x = c.onMouseDown) == null || x.call(c, f);
696
696
  },
697
- onMouseUp: (p) => {
697
+ onMouseUp: (f) => {
698
698
  var x;
699
- p.currentTarget.style.transform = "translate(0, 0)", p.currentTarget.style.boxShadow = f[o].boxShadow || "none", (x = c.onMouseUp) == null || x.call(c, p);
699
+ f.currentTarget.style.transform = "translate(0, 0)", f.currentTarget.style.boxShadow = p[o].boxShadow || "none", (x = c.onMouseUp) == null || x.call(c, f);
700
700
  },
701
- onMouseLeave: (p) => {
701
+ onMouseLeave: (f) => {
702
702
  var x;
703
- p.currentTarget.style.transform = "translate(0, 0)", p.currentTarget.style.boxShadow = f[o].boxShadow || "none", (x = c.onMouseLeave) == null || x.call(c, p);
703
+ f.currentTarget.style.transform = "translate(0, 0)", f.currentTarget.style.boxShadow = p[o].boxShadow || "none", (x = c.onMouseLeave) == null || x.call(c, f);
704
704
  },
705
705
  children: [
706
- s ? /* @__PURE__ */ e.jsx(Tr, { size: 16 }) : i,
706
+ s ? /* @__PURE__ */ e.jsx(Tr, { size: 16 }) : n,
707
707
  l
708
708
  ]
709
709
  }
@@ -723,17 +723,17 @@ const Hr = ({
723
723
  }
724
724
  ),
725
725
  /* @__PURE__ */ e.jsx("style", { children: "@keyframes spin { to { transform: rotate(360deg); } }" })
726
- ] }), Vr = ({
726
+ ] }), Hr = ({
727
727
  title: o,
728
728
  subtitle: t,
729
729
  children: s,
730
- hoverable: i = !1,
730
+ hoverable: n = !1,
731
731
  padding: l = "lg",
732
- className: n,
732
+ className: i,
733
733
  style: c,
734
734
  onClick: u
735
735
  }) => {
736
- const f = {
736
+ const p = {
737
737
  none: "0",
738
738
  sm: "var(--space-sm)",
739
739
  md: "var(--space-md)",
@@ -742,12 +742,12 @@ const Hr = ({
742
742
  return /* @__PURE__ */ e.jsxs(
743
743
  "div",
744
744
  {
745
- className: n,
745
+ className: i,
746
746
  onClick: u,
747
747
  style: {
748
748
  backgroundColor: "var(--bg-color)",
749
749
  borderRadius: "var(--radius-md)",
750
- padding: f[l],
750
+ padding: p[l],
751
751
  border: "2px solid var(--border-color)",
752
752
  display: "flex",
753
753
  flexDirection: "column",
@@ -756,11 +756,11 @@ const Hr = ({
756
756
  cursor: u ? "pointer" : "default",
757
757
  ...c
758
758
  },
759
- onMouseEnter: (j) => {
760
- i && (j.currentTarget.style.transform = "translateY(-4px)", j.currentTarget.style.boxShadow = "var(--shadow-lg)");
759
+ onMouseEnter: (b) => {
760
+ n && (b.currentTarget.style.transform = "translateY(-4px)", b.currentTarget.style.boxShadow = "var(--shadow-lg)");
761
761
  },
762
- onMouseLeave: (j) => {
763
- i && (j.currentTarget.style.transform = "translateY(0)", j.currentTarget.style.boxShadow = "none");
762
+ onMouseLeave: (b) => {
763
+ n && (b.currentTarget.style.transform = "translateY(0)", b.currentTarget.style.boxShadow = "none");
764
764
  },
765
765
  children: [
766
766
  (o || t) && /* @__PURE__ */ e.jsxs("div", { style: { borderBottom: "1px solid var(--border-color)", paddingBottom: "var(--space-sm)" }, children: [
@@ -783,12 +783,12 @@ const Hr = ({
783
783
  ]
784
784
  }
785
785
  );
786
- }, Xr = ({
786
+ }, Vr = ({
787
787
  children: o,
788
788
  variant: t = "default",
789
789
  size: s = "md"
790
790
  }) => {
791
- const i = {
791
+ const n = {
792
792
  sm: { padding: "2px var(--space-xs)", fontSize: "0.7rem" },
793
793
  md: { padding: "var(--space-xs) var(--space-sm)", fontSize: "0.8rem" }
794
794
  }, l = {
@@ -826,7 +826,7 @@ const Hr = ({
826
826
  "span",
827
827
  {
828
828
  style: {
829
- ...i[s],
829
+ ...n[s],
830
830
  ...l[t],
831
831
  borderRadius: "var(--radius-full)",
832
832
  fontFamily: "var(--font-sans)",
@@ -842,14 +842,14 @@ const Hr = ({
842
842
  children: o
843
843
  }
844
844
  );
845
- }, qr = ({
845
+ }, Xr = ({
846
846
  label: o,
847
847
  error: t,
848
848
  hint: s,
849
- icon: i,
849
+ icon: n,
850
850
  ...l
851
851
  }) => {
852
- const n = !!t;
852
+ const i = !!t;
853
853
  return /* @__PURE__ */ e.jsxs("div", { style: { marginBottom: "var(--space-md)", width: "100%" }, children: [
854
854
  o && /* @__PURE__ */ e.jsx("label", { style: {
855
855
  display: "block",
@@ -860,23 +860,23 @@ const Hr = ({
860
860
  color: "var(--text-color)"
861
861
  }, children: o }),
862
862
  /* @__PURE__ */ e.jsxs("div", { style: { position: "relative" }, children: [
863
- i && /* @__PURE__ */ e.jsx("span", { style: {
863
+ n && /* @__PURE__ */ e.jsx("span", { style: {
864
864
  position: "absolute",
865
865
  left: "var(--space-sm)",
866
866
  top: "50%",
867
867
  transform: "translateY(-50%)",
868
868
  color: "var(--text-color)",
869
869
  opacity: 0.5
870
- }, children: i }),
870
+ }, children: n }),
871
871
  /* @__PURE__ */ e.jsx(
872
872
  "input",
873
873
  {
874
874
  ...l,
875
875
  style: {
876
876
  width: "100%",
877
- padding: i ? "var(--space-sm) var(--space-sm) var(--space-sm) var(--space-xl)" : "var(--space-sm) var(--space-md)",
877
+ padding: n ? "var(--space-sm) var(--space-sm) var(--space-sm) var(--space-xl)" : "var(--space-sm) var(--space-md)",
878
878
  borderRadius: "var(--radius-md)",
879
- border: `2px solid ${n ? "var(--danger-color)" : "var(--border-color)"}`,
879
+ border: `2px solid ${i ? "var(--danger-color)" : "var(--border-color)"}`,
880
880
  fontFamily: "var(--font-sans)",
881
881
  fontSize: "1rem",
882
882
  backgroundColor: "var(--bg-color)",
@@ -888,11 +888,11 @@ const Hr = ({
888
888
  },
889
889
  onFocus: (c) => {
890
890
  var u;
891
- c.currentTarget.style.borderColor = n ? "var(--danger-color)" : "var(--primary-color)", c.currentTarget.style.boxShadow = `0 0 0 3px ${n ? "rgba(229, 62, 62, 0.2)" : "rgba(26, 54, 93, 0.2)"}`, (u = l.onFocus) == null || u.call(l, c);
891
+ c.currentTarget.style.borderColor = i ? "var(--danger-color)" : "var(--primary-color)", c.currentTarget.style.boxShadow = `0 0 0 3px ${i ? "rgba(229, 62, 62, 0.2)" : "rgba(26, 54, 93, 0.2)"}`, (u = l.onFocus) == null || u.call(l, c);
892
892
  },
893
893
  onBlur: (c) => {
894
894
  var u;
895
- c.currentTarget.style.borderColor = n ? "var(--danger-color)" : "var(--border-color)", c.currentTarget.style.boxShadow = "none", (u = l.onBlur) == null || u.call(l, c);
895
+ c.currentTarget.style.borderColor = i ? "var(--danger-color)" : "var(--border-color)", c.currentTarget.style.boxShadow = "none", (u = l.onBlur) == null || u.call(l, c);
896
896
  }
897
897
  }
898
898
  )
@@ -906,13 +906,13 @@ const Hr = ({
906
906
  }, children: t || s })
907
907
  ] });
908
908
  };
909
- function Jr({
909
+ function qr({
910
910
  columns: o,
911
911
  data: t,
912
912
  keyExtractor: s,
913
- onRowClick: i,
913
+ onRowClick: n,
914
914
  emptyMessage: l = "No data available",
915
- striped: n = !0
915
+ striped: i = !0
916
916
  }) {
917
917
  return /* @__PURE__ */ e.jsx("div", { style: {
918
918
  overflowX: "auto",
@@ -954,47 +954,47 @@ function Jr({
954
954
  ) }) : t.map((c, u) => /* @__PURE__ */ e.jsx(
955
955
  "tr",
956
956
  {
957
- onClick: () => i == null ? void 0 : i(c),
957
+ onClick: () => n == null ? void 0 : n(c),
958
958
  style: {
959
- backgroundColor: n && u % 2 === 1 ? "var(--secondary-color)" : "transparent",
960
- cursor: i ? "pointer" : "default",
959
+ backgroundColor: i && u % 2 === 1 ? "var(--secondary-color)" : "transparent",
960
+ cursor: n ? "pointer" : "default",
961
961
  transition: "background-color var(--transition-fast)"
962
962
  },
963
- onMouseEnter: (f) => {
964
- i && (f.currentTarget.style.backgroundColor = "var(--accent-color)");
963
+ onMouseEnter: (p) => {
964
+ n && (p.currentTarget.style.backgroundColor = "var(--accent-color)");
965
965
  },
966
- onMouseLeave: (f) => {
967
- f.currentTarget.style.backgroundColor = n && u % 2 === 1 ? "var(--secondary-color)" : "transparent";
966
+ onMouseLeave: (p) => {
967
+ p.currentTarget.style.backgroundColor = i && u % 2 === 1 ? "var(--secondary-color)" : "transparent";
968
968
  },
969
- children: o.map((f) => /* @__PURE__ */ e.jsx(
969
+ children: o.map((p) => /* @__PURE__ */ e.jsx(
970
970
  "td",
971
971
  {
972
972
  style: {
973
973
  padding: "var(--space-md)",
974
- textAlign: f.align || "left",
974
+ textAlign: p.align || "left",
975
975
  color: "var(--text-color)",
976
976
  borderBottom: "1px solid var(--border-color)"
977
977
  },
978
- children: f.render ? f.render(c) : String(c[f.key] ?? "")
978
+ children: p.render ? p.render(c) : String(c[p.key] ?? "")
979
979
  },
980
- String(f.key)
980
+ String(p.key)
981
981
  ))
982
982
  },
983
983
  s(c)
984
984
  )) })
985
985
  ] }) });
986
986
  }
987
- const Kr = ({
987
+ const Jr = ({
988
988
  open: o,
989
989
  onClose: t,
990
990
  title: s,
991
- children: i,
991
+ children: n,
992
992
  size: l = "md",
993
- showCloseButton: n = !0
993
+ showCloseButton: i = !0
994
994
  }) => {
995
995
  if (N(() => {
996
- const u = (f) => {
997
- f.key === "Escape" && t();
996
+ const u = (p) => {
997
+ p.key === "Escape" && t();
998
998
  };
999
999
  return o && (document.addEventListener("keydown", u), document.body.style.overflow = "hidden"), () => {
1000
1000
  document.removeEventListener("keydown", u), document.body.style.overflow = "";
@@ -1045,7 +1045,7 @@ const Kr = ({
1045
1045
  },
1046
1046
  onClick: (u) => u.stopPropagation(),
1047
1047
  children: [
1048
- (s || n) && /* @__PURE__ */ e.jsxs("div", { style: {
1048
+ (s || i) && /* @__PURE__ */ e.jsxs("div", { style: {
1049
1049
  display: "flex",
1050
1050
  alignItems: "center",
1051
1051
  justifyContent: "space-between",
@@ -1066,7 +1066,7 @@ const Kr = ({
1066
1066
  children: s
1067
1067
  }
1068
1068
  ),
1069
- n && /* @__PURE__ */ e.jsx(
1069
+ i && /* @__PURE__ */ e.jsx(
1070
1070
  "button",
1071
1071
  {
1072
1072
  onClick: t,
@@ -1091,7 +1091,7 @@ const Kr = ({
1091
1091
  padding: "var(--space-lg)",
1092
1092
  overflowY: "auto",
1093
1093
  flex: 1
1094
- }, children: i })
1094
+ }, children: n })
1095
1095
  ]
1096
1096
  }
1097
1097
  ),
@@ -1108,11 +1108,11 @@ const Kr = ({
1108
1108
  ]
1109
1109
  }
1110
1110
  );
1111
- }, Gr = ({
1111
+ }, Kr = ({
1112
1112
  children: o,
1113
1113
  variant: t = "info",
1114
1114
  title: s,
1115
- dismissible: i = !1,
1115
+ dismissible: n = !1,
1116
1116
  onDismiss: l
1117
1117
  }) => {
1118
1118
  const c = {
@@ -1176,7 +1176,7 @@ const Kr = ({
1176
1176
  lineHeight: 1.5
1177
1177
  }, children: o })
1178
1178
  ] }),
1179
- i && /* @__PURE__ */ e.jsx(
1179
+ n && /* @__PURE__ */ e.jsx(
1180
1180
  "button",
1181
1181
  {
1182
1182
  onClick: l,
@@ -1199,13 +1199,13 @@ const Kr = ({
1199
1199
  ]
1200
1200
  }
1201
1201
  );
1202
- }, Qr = ({
1202
+ }, Gr = ({
1203
1203
  tabs: o,
1204
1204
  activeTab: t,
1205
1205
  onTabChange: s,
1206
- variant: i = "underline"
1206
+ variant: n = "underline"
1207
1207
  }) => {
1208
- const l = i === "underline";
1208
+ const l = n === "underline";
1209
1209
  return /* @__PURE__ */ e.jsxs("div", { style: { width: "100%" }, children: [
1210
1210
  /* @__PURE__ */ e.jsx(
1211
1211
  "div",
@@ -1219,16 +1219,16 @@ const Kr = ({
1219
1219
  backgroundColor: l ? "transparent" : "var(--secondary-color)",
1220
1220
  borderRadius: l ? "0" : "var(--radius-md)"
1221
1221
  },
1222
- children: o.map((n) => {
1223
- const c = n.id === t;
1222
+ children: o.map((i) => {
1223
+ const c = i.id === t;
1224
1224
  return /* @__PURE__ */ e.jsx(
1225
1225
  "button",
1226
1226
  {
1227
1227
  role: "tab",
1228
1228
  "aria-selected": c,
1229
- "aria-controls": `panel-${n.id}`,
1230
- disabled: n.disabled,
1231
- onClick: () => !n.disabled && s(n.id),
1229
+ "aria-controls": `panel-${i.id}`,
1230
+ disabled: i.disabled,
1231
+ onClick: () => !i.disabled && s(i.id),
1232
1232
  style: {
1233
1233
  background: l ? "none" : c ? "var(--primary-color)" : "transparent",
1234
1234
  border: "none",
@@ -1240,54 +1240,54 @@ const Kr = ({
1240
1240
  fontWeight: 600,
1241
1241
  fontSize: "0.95rem",
1242
1242
  color: c ? l ? "var(--primary-color)" : "var(--surface-light)" : "var(--text-color)",
1243
- opacity: n.disabled ? 0.5 : 1,
1244
- cursor: n.disabled ? "not-allowed" : "pointer",
1243
+ opacity: i.disabled ? 0.5 : 1,
1244
+ cursor: i.disabled ? "not-allowed" : "pointer",
1245
1245
  transition: "all var(--transition-fast)"
1246
1246
  },
1247
1247
  onMouseEnter: (u) => {
1248
- !n.disabled && !c && (u.currentTarget.style.backgroundColor = l ? "rgba(0,0,0,0.05)" : "var(--accent-color)");
1248
+ !i.disabled && !c && (u.currentTarget.style.backgroundColor = l ? "rgba(0,0,0,0.05)" : "var(--accent-color)");
1249
1249
  },
1250
1250
  onMouseLeave: (u) => {
1251
- !n.disabled && !c && (u.currentTarget.style.backgroundColor = "transparent");
1251
+ !i.disabled && !c && (u.currentTarget.style.backgroundColor = "transparent");
1252
1252
  },
1253
- children: n.label
1253
+ children: i.label
1254
1254
  },
1255
- n.id
1255
+ i.id
1256
1256
  );
1257
1257
  })
1258
1258
  }
1259
1259
  ),
1260
- /* @__PURE__ */ e.jsx("div", { style: { marginTop: "var(--space-lg)" }, children: o.map((n) => /* @__PURE__ */ e.jsx(
1260
+ /* @__PURE__ */ e.jsx("div", { style: { marginTop: "var(--space-lg)" }, children: o.map((i) => /* @__PURE__ */ e.jsx(
1261
1261
  "div",
1262
1262
  {
1263
- id: `panel-${n.id}`,
1263
+ id: `panel-${i.id}`,
1264
1264
  role: "tabpanel",
1265
- hidden: n.id !== t,
1265
+ hidden: i.id !== t,
1266
1266
  style: {
1267
- display: n.id === t ? "block" : "none"
1267
+ display: i.id === t ? "block" : "none"
1268
1268
  },
1269
- children: n.content
1269
+ children: i.content
1270
1270
  },
1271
- n.id
1271
+ i.id
1272
1272
  )) })
1273
1273
  ] });
1274
- }, Zr = ({
1274
+ }, Qr = ({
1275
1275
  content: o,
1276
1276
  children: t,
1277
1277
  position: s = "top",
1278
- delay: i = 200
1278
+ delay: n = 200
1279
1279
  }) => {
1280
- const [l, n] = P(!1), c = Ae(null), u = Ae(), f = () => {
1280
+ const [l, i] = z(!1), c = We(null), u = We(), p = () => {
1281
1281
  u.current = window.setTimeout(() => {
1282
- n(!0);
1283
- }, i);
1284
- }, j = () => {
1285
- u.current && clearTimeout(u.current), n(!1);
1282
+ i(!0);
1283
+ }, n);
1284
+ }, b = () => {
1285
+ u.current && clearTimeout(u.current), i(!1);
1286
1286
  };
1287
1287
  N(() => () => {
1288
1288
  u.current && clearTimeout(u.current);
1289
1289
  }, []);
1290
- const p = {
1290
+ const f = {
1291
1291
  top: { bottom: "100%", left: "50%", transform: "translateX(-50%) translateY(-8px)" },
1292
1292
  bottom: { top: "100%", left: "50%", transform: "translateX(-50%) translateY(8px)" },
1293
1293
  left: { right: "100%", top: "50%", transform: "translateY(-50%) translateX(-8px)" },
@@ -1298,10 +1298,10 @@ const Kr = ({
1298
1298
  {
1299
1299
  ref: c,
1300
1300
  style: { position: "relative", display: "inline-block" },
1301
- onMouseEnter: f,
1302
- onMouseLeave: j,
1303
- onFocus: f,
1304
- onBlur: j,
1301
+ onMouseEnter: p,
1302
+ onMouseLeave: b,
1303
+ onFocus: p,
1304
+ onBlur: b,
1305
1305
  children: [
1306
1306
  t,
1307
1307
  l && /* @__PURE__ */ e.jsxs(
@@ -1310,7 +1310,7 @@ const Kr = ({
1310
1310
  role: "tooltip",
1311
1311
  style: {
1312
1312
  position: "absolute",
1313
- ...p[s],
1313
+ ...f[s],
1314
1314
  backgroundColor: "var(--secondary-color)",
1315
1315
  color: "var(--surface-light)",
1316
1316
  padding: "var(--space-xs) var(--space-sm)",
@@ -1341,7 +1341,7 @@ const Kr = ({
1341
1341
  size: o = "md",
1342
1342
  color: t = "var(--primary-color)"
1343
1343
  }) => {
1344
- const i = {
1344
+ const n = {
1345
1345
  sm: 20,
1346
1346
  md: 32,
1347
1347
  lg: 48
@@ -1349,8 +1349,8 @@ const Kr = ({
1349
1349
  return /* @__PURE__ */ e.jsxs(
1350
1350
  "svg",
1351
1351
  {
1352
- width: i,
1353
- height: i,
1352
+ width: n,
1353
+ height: n,
1354
1354
  viewBox: "0 0 50 50",
1355
1355
  style: { animation: "spinnerRotate 0.8s linear infinite" },
1356
1356
  children: [
@@ -1376,7 +1376,7 @@ const Kr = ({
1376
1376
  ]
1377
1377
  }
1378
1378
  );
1379
- }, eo = ({
1379
+ }, Zr = ({
1380
1380
  message: o = "Loading..."
1381
1381
  }) => /* @__PURE__ */ e.jsxs("div", { style: {
1382
1382
  position: "fixed",
@@ -1402,13 +1402,13 @@ const Kr = ({
1402
1402
  width: o = "100%",
1403
1403
  height: t = 20,
1404
1404
  variant: s = "text",
1405
- animation: i = "wave"
1405
+ animation: n = "wave"
1406
1406
  }) => {
1407
1407
  const l = {
1408
1408
  text: { borderRadius: "var(--radius-sm)" },
1409
1409
  rect: { borderRadius: "var(--radius-md)" },
1410
1410
  circle: { borderRadius: "50%" }
1411
- }, n = {
1411
+ }, i = {
1412
1412
  pulse: {
1413
1413
  animation: "skeletonPulse 1.5s ease-in-out infinite"
1414
1414
  },
@@ -1425,9 +1425,9 @@ const Kr = ({
1425
1425
  style: {
1426
1426
  width: o,
1427
1427
  height: t,
1428
- backgroundColor: i === "wave" ? void 0 : "var(--secondary-color)",
1428
+ backgroundColor: n === "wave" ? void 0 : "var(--secondary-color)",
1429
1429
  ...l[s],
1430
- ...n[i]
1430
+ ...i[n]
1431
1431
  },
1432
1432
  children: /* @__PURE__ */ e.jsx("style", { children: `
1433
1433
  @keyframes skeletonPulse {
@@ -1448,7 +1448,7 @@ const Kr = ({
1448
1448
  height: 16
1449
1449
  },
1450
1450
  s
1451
- )) }), ro = () => /* @__PURE__ */ e.jsxs("div", { style: {
1451
+ )) }), eo = () => /* @__PURE__ */ e.jsxs("div", { style: {
1452
1452
  padding: "var(--space-lg)",
1453
1453
  border: "2px solid var(--border-color)",
1454
1454
  borderRadius: "var(--radius-md)",
@@ -1461,16 +1461,14 @@ const Kr = ({
1461
1461
  ] }), _r = ({
1462
1462
  brand: o,
1463
1463
  darkMode: t,
1464
- onThemeToggle: s,
1465
- onAccountClick: i,
1466
- onNotificationClick: l
1464
+ onThemeToggle: s
1467
1465
  }) => {
1468
- const [n, c] = P(!1), [u, f] = P(!1), [j, p] = P(null);
1466
+ const [n, l] = z(!1), [i, c] = z(!1), [u, p] = z(null);
1469
1467
  N(() => {
1470
- const b = () => c(window.innerWidth < 768);
1471
- return b(), window.addEventListener("resize", b), () => window.removeEventListener("resize", b);
1468
+ const f = () => l(window.innerWidth < 768);
1469
+ return f(), window.addEventListener("resize", f), () => window.removeEventListener("resize", f);
1472
1470
  }, []);
1473
- const x = o.navItems.filter((b) => b.inNavbar !== !1);
1471
+ const b = o.navItems.filter((f) => f.inNavbar !== !1);
1474
1472
  return /* @__PURE__ */ e.jsxs("header", { style: {
1475
1473
  backgroundColor: "var(--primary-color)",
1476
1474
  borderBottom: "4px solid var(--accent-color)",
@@ -1517,15 +1515,15 @@ const Kr = ({
1517
1515
  gap: "var(--space-sm)",
1518
1516
  flex: 1,
1519
1517
  justifyContent: "center"
1520
- }, children: x.map((b) => /* @__PURE__ */ e.jsx(
1518
+ }, children: b.map((f) => /* @__PURE__ */ e.jsx(
1521
1519
  Ir,
1522
1520
  {
1523
- item: b,
1524
- isActive: j === b.label,
1525
- onHover: (I) => p(I),
1521
+ item: f,
1522
+ isActive: u === f.label,
1523
+ onHover: (x) => p(x),
1526
1524
  onLeave: () => p(null)
1527
1525
  },
1528
- b.label
1526
+ f.label
1529
1527
  )) }),
1530
1528
  n && /* @__PURE__ */ e.jsx("div", { style: { flex: 1 } }),
1531
1529
  /* @__PURE__ */ e.jsxs("div", { style: {
@@ -1534,19 +1532,31 @@ const Kr = ({
1534
1532
  gap: "var(--space-xs)",
1535
1533
  flexShrink: 0
1536
1534
  }, children: [
1537
- n && /* @__PURE__ */ e.jsx(Z, { onClick: () => f(!u), label: "Menu", size: 36, children: /* @__PURE__ */ e.jsx(Ar, {}) }),
1538
- /* @__PURE__ */ e.jsx(Z, { onClick: s, label: "Toggle theme", size: 36, children: t ? /* @__PURE__ */ e.jsx(zr, {}) : /* @__PURE__ */ e.jsx(Dr, {}) }),
1539
- !n && l && /* @__PURE__ */ e.jsx(Z, { onClick: l, label: "Notifications", size: 36, children: /* @__PURE__ */ e.jsx(Pr, {}) }),
1540
- /* @__PURE__ */ e.jsx(Z, { onClick: i, label: "Account", size: 40, children: /* @__PURE__ */ e.jsx(Wr, {}) })
1535
+ n && /* @__PURE__ */ e.jsx(Oe, { onClick: () => c(!i), label: "Menu", size: 36, children: /* @__PURE__ */ e.jsx(Wr, {}) }),
1536
+ /* @__PURE__ */ e.jsx(Oe, { onClick: s, label: "Toggle theme", size: 36, children: t ? /* @__PURE__ */ e.jsx(zr, {}) : /* @__PURE__ */ e.jsx(Dr, {}) }),
1537
+ /* @__PURE__ */ e.jsx("a", { href: "/account", "aria-label": "Account", style: {
1538
+ width: 40,
1539
+ height: 40,
1540
+ borderRadius: "var(--radius-full)",
1541
+ backgroundColor: "rgba(255,255,255,0.1)",
1542
+ border: "none",
1543
+ cursor: "pointer",
1544
+ display: "flex",
1545
+ alignItems: "center",
1546
+ justifyContent: "center",
1547
+ transition: "background var(--transition-fast)",
1548
+ color: "var(--surface-light)",
1549
+ textDecoration: "none"
1550
+ }, children: /* @__PURE__ */ e.jsx(Pr, {}) })
1541
1551
  ] })
1542
1552
  ] }),
1543
- n && u && /* @__PURE__ */ e.jsx("div", { style: {
1553
+ n && i && /* @__PURE__ */ e.jsx("div", { style: {
1544
1554
  backgroundColor: "var(--bg-color)",
1545
1555
  borderTop: "1px solid var(--border-color)",
1546
1556
  padding: "var(--space-sm)"
1547
- }, children: x.map((b) => /* @__PURE__ */ e.jsx(Mr, { item: b, onClose: () => f(!1) }, b.label)) })
1557
+ }, children: b.map((f) => /* @__PURE__ */ e.jsx(Mr, { item: f, onClose: () => c(!1) }, f.label)) })
1548
1558
  ] });
1549
- }, Z = ({ onClick: o, label: t, size: s = 36, children: i }) => /* @__PURE__ */ e.jsx(
1559
+ }, Oe = ({ onClick: o, label: t, size: s = 36, children: n }) => /* @__PURE__ */ e.jsx(
1550
1560
  "button",
1551
1561
  {
1552
1562
  onClick: o,
@@ -1566,9 +1576,9 @@ const Kr = ({
1566
1576
  },
1567
1577
  onMouseEnter: (l) => l.currentTarget.style.backgroundColor = "rgba(255,255,255,0.2)",
1568
1578
  onMouseLeave: (l) => l.currentTarget.style.backgroundColor = "rgba(255,255,255,0.1)",
1569
- children: i
1579
+ children: n
1570
1580
  }
1571
- ), Ir = ({ item: o, isActive: t, onHover: s, onLeave: i }) => {
1581
+ ), Ir = ({ item: o, isActive: t, onHover: s, onLeave: n }) => {
1572
1582
  const l = () => {
1573
1583
  o.onClick ? o.onClick() : o.path && (window.location.href = o.path);
1574
1584
  };
@@ -1576,7 +1586,7 @@ const Kr = ({
1576
1586
  "div",
1577
1587
  {
1578
1588
  onMouseEnter: () => o.children && s(o.label),
1579
- onMouseLeave: i,
1589
+ onMouseLeave: n,
1580
1590
  style: { position: "relative" },
1581
1591
  children: [
1582
1592
  o.path && !o.onClick && !o.children ? /* @__PURE__ */ e.jsx(
@@ -1597,8 +1607,8 @@ const Kr = ({
1597
1607
  textDecoration: "none",
1598
1608
  display: "inline-block"
1599
1609
  },
1600
- onMouseEnter: (n) => n.currentTarget.style.backgroundColor = "rgba(255,255,255,0.1)",
1601
- onMouseLeave: (n) => n.currentTarget.style.backgroundColor = "transparent",
1610
+ onMouseEnter: (i) => i.currentTarget.style.backgroundColor = "rgba(255,255,255,0.1)",
1611
+ onMouseLeave: (i) => i.currentTarget.style.backgroundColor = "transparent",
1602
1612
  children: o.label
1603
1613
  }
1604
1614
  ) : /* @__PURE__ */ e.jsxs(
@@ -1617,8 +1627,8 @@ const Kr = ({
1617
1627
  borderRadius: "var(--radius-sm)",
1618
1628
  transition: "background var(--transition-fast)"
1619
1629
  },
1620
- onMouseEnter: (n) => n.currentTarget.style.backgroundColor = "rgba(255,255,255,0.1)",
1621
- onMouseLeave: (n) => n.currentTarget.style.backgroundColor = "transparent",
1630
+ onMouseEnter: (i) => i.currentTarget.style.backgroundColor = "rgba(255,255,255,0.1)",
1631
+ onMouseLeave: (i) => i.currentTarget.style.backgroundColor = "transparent",
1622
1632
  children: [
1623
1633
  o.label,
1624
1634
  " ",
@@ -1638,10 +1648,10 @@ const Kr = ({
1638
1648
  padding: "var(--space-xs) 0",
1639
1649
  zIndex: 200,
1640
1650
  marginTop: 4
1641
- }, children: o.children.map((n) => n.path ? /* @__PURE__ */ e.jsx(
1651
+ }, children: o.children.map((i) => i.path ? /* @__PURE__ */ e.jsx(
1642
1652
  "a",
1643
1653
  {
1644
- href: n.path,
1654
+ href: i.path,
1645
1655
  style: {
1646
1656
  display: "block",
1647
1657
  width: "100%",
@@ -1658,13 +1668,13 @@ const Kr = ({
1658
1668
  },
1659
1669
  onMouseEnter: (c) => c.currentTarget.style.backgroundColor = "var(--secondary-color)",
1660
1670
  onMouseLeave: (c) => c.currentTarget.style.backgroundColor = "transparent",
1661
- children: n.label
1671
+ children: i.label
1662
1672
  },
1663
- n.label
1673
+ i.label
1664
1674
  ) : /* @__PURE__ */ e.jsx(
1665
1675
  "button",
1666
1676
  {
1667
- onClick: n.onClick,
1677
+ onClick: i.onClick,
1668
1678
  style: {
1669
1679
  display: "block",
1670
1680
  width: "100%",
@@ -1680,9 +1690,9 @@ const Kr = ({
1680
1690
  },
1681
1691
  onMouseEnter: (c) => c.currentTarget.style.backgroundColor = "var(--secondary-color)",
1682
1692
  onMouseLeave: (c) => c.currentTarget.style.backgroundColor = "transparent",
1683
- children: n.label
1693
+ children: i.label
1684
1694
  },
1685
- n.label
1695
+ i.label
1686
1696
  )) })
1687
1697
  ]
1688
1698
  }
@@ -1707,8 +1717,8 @@ const Kr = ({
1707
1717
  "button",
1708
1718
  {
1709
1719
  onClick: () => {
1710
- var i;
1711
- (i = o.onClick) == null || i.call(o), t();
1720
+ var n;
1721
+ (n = o.onClick) == null || n.call(o), t();
1712
1722
  },
1713
1723
  style: s,
1714
1724
  children: o.label
@@ -1717,15 +1727,15 @@ const Kr = ({
1717
1727
  }, Dr = () => /* @__PURE__ */ e.jsxs("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
1718
1728
  /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "5" }),
1719
1729
  /* @__PURE__ */ e.jsx("path", { d: "M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42" })
1720
- ] }), zr = () => /* @__PURE__ */ e.jsx("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ e.jsx("path", { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" }) }), Pr = () => /* @__PURE__ */ e.jsx("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ e.jsx("path", { d: "M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9M13.73 21a2 2 0 0 1-3.46 0" }) }), Wr = () => /* @__PURE__ */ e.jsxs("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
1730
+ ] }), zr = () => /* @__PURE__ */ e.jsx("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ e.jsx("path", { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" }) }), Pr = () => /* @__PURE__ */ e.jsxs("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
1721
1731
  /* @__PURE__ */ e.jsx("path", { d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" }),
1722
1732
  /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "7", r: "4" })
1723
- ] }), Ar = () => /* @__PURE__ */ e.jsx("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ e.jsx("path", { d: "M3 12h18M3 6h18M3 18h18" }) }), Lr = ({
1733
+ ] }), Wr = () => /* @__PURE__ */ e.jsx("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ e.jsx("path", { d: "M3 12h18M3 6h18M3 18h18" }) }), Lr = ({
1724
1734
  copyrightBrand: o,
1725
1735
  yearCreated: t,
1726
1736
  poweredBy: s
1727
1737
  }) => {
1728
- const i = (/* @__PURE__ */ new Date()).getFullYear(), l = t === i ? i.toString() : `${t}-${i}`;
1738
+ const n = (/* @__PURE__ */ new Date()).getFullYear(), l = t === n ? n.toString() : `${t}-${n}`;
1729
1739
  return /* @__PURE__ */ e.jsx("footer", { style: {
1730
1740
  backgroundColor: "var(--primary-color)",
1731
1741
  color: "var(--bg-color)",
@@ -1764,8 +1774,8 @@ const Kr = ({
1764
1774
  ] })
1765
1775
  ] }) });
1766
1776
  };
1767
- function Br(o) {
1768
- const [t, s] = P(() => {
1777
+ function Ar(o) {
1778
+ const [t, s] = z(() => {
1769
1779
  if (typeof window > "u") return !1;
1770
1780
  const l = localStorage.getItem("theme-mode");
1771
1781
  return l ? l === "dark" : o.theme.defaultTheme === "dark" ? !0 : o.theme.defaultTheme === "auto" ? window.matchMedia("(prefers-color-scheme: dark)").matches : !1;
@@ -1775,10 +1785,10 @@ function Br(o) {
1775
1785
  }, [o.theme]), N(() => {
1776
1786
  document.body.classList.toggle("dark-mode", t), localStorage.setItem("theme-mode", t ? "dark" : "light");
1777
1787
  }, [t]);
1778
- const i = Cr(() => {
1788
+ const n = Cr(() => {
1779
1789
  s((l) => !l);
1780
1790
  }, []);
1781
- return { darkMode: t, toggleDarkMode: i };
1791
+ return { darkMode: t, toggleDarkMode: n };
1782
1792
  }
1783
1793
  function Or(o) {
1784
1794
  const t = document.documentElement;
@@ -1786,20 +1796,16 @@ function Or(o) {
1786
1796
  }
1787
1797
  const U = ({
1788
1798
  brand: o,
1789
- children: t,
1790
- onAccountClick: s,
1791
- onNotificationClick: i
1799
+ children: t
1792
1800
  }) => {
1793
- const { darkMode: l, toggleDarkMode: n } = Br(o);
1801
+ const { darkMode: s, toggleDarkMode: n } = Ar(o);
1794
1802
  return /* @__PURE__ */ e.jsxs("div", { className: "shell", style: { display: "flex", flexDirection: "column", minHeight: "100vh" }, children: [
1795
1803
  /* @__PURE__ */ e.jsx(
1796
1804
  _r,
1797
1805
  {
1798
1806
  brand: o,
1799
- darkMode: l,
1800
- onThemeToggle: n,
1801
- onAccountClick: s,
1802
- onNotificationClick: i
1807
+ darkMode: s,
1808
+ onThemeToggle: n
1803
1809
  }
1804
1810
  ),
1805
1811
  /* @__PURE__ */ e.jsx("div", { style: { flex: 1, display: "flex", flexDirection: "column" }, children: /* @__PURE__ */ e.jsx("main", { style: {
@@ -1819,7 +1825,7 @@ const U = ({
1819
1825
  title: o,
1820
1826
  subtitle: t,
1821
1827
  breadcrumbs: s,
1822
- score: i
1828
+ score: n
1823
1829
  }) => /* @__PURE__ */ e.jsxs("section", { style: {
1824
1830
  backgroundColor: "var(--secondary-color)",
1825
1831
  padding: "var(--space-lg) var(--space-lg)",
@@ -1834,8 +1840,8 @@ const U = ({
1834
1840
  fontFamily: "var(--font-sans)",
1835
1841
  fontSize: "0.9rem",
1836
1842
  fontWeight: 600
1837
- }, children: s.map((l, n) => /* @__PURE__ */ e.jsxs(ue.Fragment, { children: [
1838
- n > 0 && /* @__PURE__ */ e.jsx("span", { style: { color: "var(--surface-light)", opacity: 0.4 }, children: "/" }),
1843
+ }, children: s.map((l, i) => /* @__PURE__ */ e.jsxs(de.Fragment, { children: [
1844
+ i > 0 && /* @__PURE__ */ e.jsx("span", { style: { color: "var(--surface-light)", opacity: 0.4 }, children: "/" }),
1839
1845
  l.path ? /* @__PURE__ */ e.jsx(
1840
1846
  "a",
1841
1847
  {
@@ -1863,7 +1869,7 @@ const U = ({
1863
1869
  color: "var(--text-dark)",
1864
1870
  opacity: 0.8
1865
1871
  }, children: t }),
1866
- i && /* @__PURE__ */ e.jsxs("div", { style: {
1872
+ n && /* @__PURE__ */ e.jsxs("div", { style: {
1867
1873
  marginTop: "var(--space-md)",
1868
1874
  display: "inline-flex",
1869
1875
  flexDirection: "column",
@@ -1883,10 +1889,10 @@ const U = ({
1883
1889
  gap: "var(--space-sm)",
1884
1890
  boxShadow: "var(--shadow-md)"
1885
1891
  }, children: [
1886
- /* @__PURE__ */ e.jsx("span", { children: i.value }),
1887
- /* @__PURE__ */ e.jsx("span", { style: { fontSize: "0.9rem", fontWeight: 500 }, children: i.label })
1892
+ /* @__PURE__ */ e.jsx("span", { children: n.value }),
1893
+ /* @__PURE__ */ e.jsx("span", { style: { fontSize: "0.9rem", fontWeight: 500 }, children: n.label })
1888
1894
  ] }),
1889
- i.betaDisclaimer && /* @__PURE__ */ e.jsx("span", { style: {
1895
+ n.betaDisclaimer && /* @__PURE__ */ e.jsx("span", { style: {
1890
1896
  fontFamily: "var(--font-sans)",
1891
1897
  fontSize: "0.75rem",
1892
1898
  color: "var(--text-dark)",
@@ -1894,7 +1900,7 @@ const U = ({
1894
1900
  fontStyle: "italic"
1895
1901
  }, children: "Score algorithm is a work in progress" })
1896
1902
  ] })
1897
- ] }), F = {
1903
+ ] }), E = {
1898
1904
  violations: /* @__PURE__ */ e.jsxs("svg", { width: "28", height: "28", viewBox: "0 0 24 24", fill: "none", stroke: "var(--warning-color)", strokeWidth: "2", children: [
1899
1905
  /* @__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" }),
1900
1906
  /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "9", x2: "12", y2: "13" }),
@@ -1928,18 +1934,18 @@ const U = ({
1928
1934
  columns: t = 4
1929
1935
  }) => {
1930
1936
  const s = [
1931
- { label: "Total Events", value: o.totalEvents, icon: F.violations },
1932
- o.totalCompanies !== void 0 && { label: "Companies", value: o.totalCompanies, icon: F.avgFine },
1933
- o.totalCities !== void 0 && { label: "Cities", value: o.totalCities, icon: F.avgFine },
1934
- o.totalStates !== void 0 && { label: "States", value: o.totalStates, icon: F.avgFine },
1935
- o.totalInjuries !== void 0 && { label: "Injuries", value: o.totalInjuries, icon: F.injuries },
1936
- o.totalFatalities !== void 0 && { label: "Fatalities", value: o.totalFatalities, icon: F.fatalities },
1937
- o.totalFines !== void 0 && { label: "Total Fines", value: Oe(o.totalFines), icon: F.fines },
1938
- o.avgFines !== void 0 && { label: "Avg Fine", value: Oe(o.avgFines), icon: F.avgFine },
1937
+ { label: "Total Events", value: o.totalEvents, icon: E.violations },
1938
+ o.totalCompanies !== void 0 && { label: "Companies", value: o.totalCompanies, icon: E.avgFine },
1939
+ o.totalCities !== void 0 && { label: "Cities", value: o.totalCities, icon: E.avgFine },
1940
+ o.totalStates !== void 0 && { label: "States", value: o.totalStates, icon: E.avgFine },
1941
+ o.totalInjuries !== void 0 && { label: "Injuries", value: o.totalInjuries, icon: E.injuries },
1942
+ o.totalFatalities !== void 0 && { label: "Fatalities", value: o.totalFatalities, icon: E.fatalities },
1943
+ o.totalFines !== void 0 && { label: "Total Fines", value: Be(o.totalFines), icon: E.fines },
1944
+ o.avgFines !== void 0 && { label: "Avg Fine", value: Be(o.avgFines), icon: E.avgFine },
1939
1945
  o.trend && {
1940
1946
  label: "YoY Change",
1941
1947
  value: `${o.trend.direction === "up" ? "↑" : o.trend.direction === "down" ? "↓" : "→"} ${o.trend.percentage}%`,
1942
- icon: o.trend.direction === "down" ? F.trendDown : F.trendUp
1948
+ icon: o.trend.direction === "down" ? E.trendDown : E.trendUp
1943
1949
  }
1944
1950
  ].filter(Boolean);
1945
1951
  return /* @__PURE__ */ e.jsx("section", { style: { marginBottom: "var(--space-lg)" }, children: /* @__PURE__ */ e.jsx(
@@ -1951,10 +1957,10 @@ const U = ({
1951
1957
  gridTemplateColumns: `repeat(${t}, 1fr)`,
1952
1958
  gap: "var(--space-md)"
1953
1959
  },
1954
- children: s.map((i) => /* @__PURE__ */ e.jsx($r, { ...i }, i.label))
1960
+ children: s.map((n) => /* @__PURE__ */ e.jsx(Br, { ...n }, n.label))
1955
1961
  }
1956
1962
  ) });
1957
- }, $r = ({
1963
+ }, Br = ({
1958
1964
  label: o,
1959
1965
  value: t,
1960
1966
  icon: s
@@ -1972,11 +1978,11 @@ const U = ({
1972
1978
  transition: "transform var(--transition-fast), box-shadow var(--transition-fast)",
1973
1979
  cursor: "default"
1974
1980
  },
1975
- onMouseEnter: (i) => {
1976
- i.currentTarget.style.transform = "translateY(-2px)", i.currentTarget.style.boxShadow = "var(--shadow-md)";
1981
+ onMouseEnter: (n) => {
1982
+ n.currentTarget.style.transform = "translateY(-2px)", n.currentTarget.style.boxShadow = "var(--shadow-md)";
1977
1983
  },
1978
- onMouseLeave: (i) => {
1979
- i.currentTarget.style.transform = "translateY(0)", i.currentTarget.style.boxShadow = "none";
1984
+ onMouseLeave: (n) => {
1985
+ n.currentTarget.style.transform = "translateY(0)", n.currentTarget.style.boxShadow = "none";
1980
1986
  },
1981
1987
  children: [
1982
1988
  /* @__PURE__ */ e.jsx("span", { style: { display: "flex", alignItems: "center", justifyContent: "center" }, children: s }),
@@ -1997,20 +2003,20 @@ const U = ({
1997
2003
  ]
1998
2004
  }
1999
2005
  );
2000
- function Oe(o) {
2006
+ function Be(o) {
2001
2007
  return o >= 1e6 ? `$${(o / 1e6).toFixed(1)}M` : o >= 1e3 ? `$${(o / 1e3).toFixed(0)}K` : `$${o.toLocaleString()}`;
2002
2008
  }
2003
- const ee = ({
2009
+ const Z = ({
2004
2010
  title: o,
2005
2011
  items: t,
2006
2012
  basePath: s,
2007
- emptyMessage: i = "No items found",
2013
+ emptyMessage: n = "No items found",
2008
2014
  showSearch: l = !0,
2009
- initialLimit: n = 30
2015
+ initialLimit: i = 30
2010
2016
  }) => {
2011
- const [c, u] = P(""), [f, j] = P(!1), p = t.filter(
2012
- (C) => C.name.toLowerCase().includes(c.toLowerCase())
2013
- ), x = f || c.length > 0, b = x ? p : p.slice(0, n), I = p.length > n && !x;
2017
+ const [c, u] = z(""), [p, b] = z(!1), f = t.filter(
2018
+ (w) => w.name.toLowerCase().includes(c.toLowerCase())
2019
+ ), x = p || c.length > 0, F = x ? f : f.slice(0, i), P = f.length > i && !x;
2014
2020
  return /* @__PURE__ */ e.jsx("section", { style: {
2015
2021
  marginBottom: "var(--space-lg)"
2016
2022
  }, children: /* @__PURE__ */ e.jsxs("div", { children: [
@@ -2045,7 +2051,7 @@ const ee = ({
2045
2051
  type: "text",
2046
2052
  placeholder: "Search...",
2047
2053
  value: c,
2048
- onChange: (C) => u(C.target.value),
2054
+ onChange: (w) => u(w.target.value),
2049
2055
  style: {
2050
2056
  padding: "var(--space-sm) var(--space-md)",
2051
2057
  borderRadius: "var(--radius-md)",
@@ -2066,18 +2072,18 @@ const ee = ({
2066
2072
  padding: "var(--space-md)",
2067
2073
  border: "2px solid var(--border-color)",
2068
2074
  borderRadius: "var(--radius-md)"
2069
- }, children: p.length === 0 ? /* @__PURE__ */ e.jsx("p", { style: {
2075
+ }, children: f.length === 0 ? /* @__PURE__ */ e.jsx("p", { style: {
2070
2076
  width: "100%",
2071
2077
  textAlign: "center",
2072
2078
  color: "var(--text-color)",
2073
2079
  opacity: 0.6,
2074
2080
  margin: 0,
2075
2081
  padding: "var(--space-lg)"
2076
- }, children: i }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2077
- b.map((C) => /* @__PURE__ */ e.jsxs(
2082
+ }, children: n }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2083
+ F.map((w) => /* @__PURE__ */ e.jsxs(
2078
2084
  "a",
2079
2085
  {
2080
- href: `${s}/${C.slug}`,
2086
+ href: `${s}/${w.slug}`,
2081
2087
  style: {
2082
2088
  display: "inline-flex",
2083
2089
  alignItems: "center",
@@ -2100,11 +2106,11 @@ const ee = ({
2100
2106
  _.currentTarget.style.backgroundColor = "var(--bg-color)", _.currentTarget.style.color = "var(--text-color)", _.currentTarget.style.borderColor = "var(--border-color)";
2101
2107
  },
2102
2108
  children: [
2103
- /* @__PURE__ */ e.jsx("span", { style: { fontWeight: 500 }, children: C.name }),
2109
+ /* @__PURE__ */ e.jsx("span", { style: { fontWeight: 500 }, children: w.name }),
2104
2110
  /* @__PURE__ */ e.jsx(
2105
2111
  "span",
2106
2112
  {
2107
- title: `${C.count.toLocaleString()} incidents`,
2113
+ title: `${w.count.toLocaleString()} incidents`,
2108
2114
  style: {
2109
2115
  backgroundColor: "var(--secondary-color)",
2110
2116
  color: "var(--surface-light)",
@@ -2113,17 +2119,17 @@ const ee = ({
2113
2119
  fontSize: "0.75rem",
2114
2120
  fontWeight: 600
2115
2121
  },
2116
- children: C.count.toLocaleString()
2122
+ children: w.count.toLocaleString()
2117
2123
  }
2118
2124
  )
2119
2125
  ]
2120
2126
  },
2121
- C.slug
2127
+ w.slug
2122
2128
  )),
2123
- (I || f) && /* @__PURE__ */ e.jsx(
2129
+ (P || p) && /* @__PURE__ */ e.jsx(
2124
2130
  "button",
2125
2131
  {
2126
- onClick: () => j(!f),
2132
+ onClick: () => b(!p),
2127
2133
  style: {
2128
2134
  display: "inline-flex",
2129
2135
  alignItems: "center",
@@ -2139,22 +2145,22 @@ const ee = ({
2139
2145
  cursor: "pointer",
2140
2146
  transition: "all var(--transition-fast)"
2141
2147
  },
2142
- onMouseEnter: (C) => {
2143
- C.currentTarget.style.opacity = "0.8";
2148
+ onMouseEnter: (w) => {
2149
+ w.currentTarget.style.opacity = "0.8";
2144
2150
  },
2145
- onMouseLeave: (C) => {
2146
- C.currentTarget.style.opacity = "1";
2151
+ onMouseLeave: (w) => {
2152
+ w.currentTarget.style.opacity = "1";
2147
2153
  },
2148
- children: f ? "Show less" : `+${p.length - n} more`
2154
+ children: p ? "Show less" : `+${f.length - i} more`
2149
2155
  }
2150
2156
  )
2151
2157
  ] }) })
2152
2158
  ] }) });
2153
- }, re = ({
2159
+ }, ee = ({
2154
2160
  title: o,
2155
2161
  events: t,
2156
2162
  viewMorePath: s,
2157
- showAgencyBadge: i = !1
2163
+ showAgencyBadge: n = !1
2158
2164
  }) => t.length === 0 ? null : /* @__PURE__ */ e.jsx("section", { style: {
2159
2165
  marginBottom: "var(--space-lg)"
2160
2166
  }, children: /* @__PURE__ */ e.jsxs("div", { children: [
@@ -2190,14 +2196,14 @@ const ee = ({
2190
2196
  flexDirection: "column",
2191
2197
  gap: "var(--space-sm)"
2192
2198
  }, children: t.map((l) => /* @__PURE__ */ e.jsx(
2193
- Yr,
2199
+ $r,
2194
2200
  {
2195
2201
  event: l,
2196
- showAgencyBadge: i
2202
+ showAgencyBadge: n
2197
2203
  },
2198
2204
  l.eventId
2199
2205
  )) })
2200
- ] }) }), Yr = ({
2206
+ ] }) }), $r = ({
2201
2207
  event: o,
2202
2208
  showAgencyBadge: t
2203
2209
  }) => /* @__PURE__ */ e.jsx(
@@ -2257,7 +2263,7 @@ const ee = ({
2257
2263
  fontSize: "0.85rem",
2258
2264
  color: "var(--text-color)",
2259
2265
  opacity: 0.6
2260
- }, children: Nr(o.eventDate) }),
2266
+ }, children: Yr(o.eventDate) }),
2261
2267
  (o.city || o.state) && /* @__PURE__ */ e.jsx("span", { style: {
2262
2268
  fontFamily: "var(--font-sans)",
2263
2269
  fontSize: "0.85rem",
@@ -2288,7 +2294,7 @@ const ee = ({
2288
2294
  ] })
2289
2295
  }
2290
2296
  );
2291
- function Nr(o) {
2297
+ function Yr(o) {
2292
2298
  try {
2293
2299
  return new Date(o).toLocaleDateString("en-US", {
2294
2300
  year: "numeric",
@@ -2299,24 +2305,24 @@ function Nr(o) {
2299
2305
  return o;
2300
2306
  }
2301
2307
  }
2302
- const oo = ({
2308
+ const ro = ({
2303
2309
  position: o,
2304
2310
  width: t,
2305
2311
  height: s
2306
2312
  }) => {
2307
- const i = {
2313
+ const n = {
2308
2314
  sidebar: { width: t ?? 280, height: s ?? 250 },
2309
2315
  "left-sidebar": { width: t ?? "100%", height: s ?? 200 },
2310
2316
  banner: { width: t ?? "100%", height: s ?? 90 },
2311
2317
  inline: { width: t ?? "100%", height: s ?? 120 }
2312
- }, { width: l, height: n } = i[o];
2318
+ }, { width: l, height: i } = n[o];
2313
2319
  return /* @__PURE__ */ e.jsxs(
2314
2320
  "div",
2315
2321
  {
2316
2322
  "data-ad-slot": o,
2317
2323
  style: {
2318
2324
  width: l,
2319
- height: n,
2325
+ height: i,
2320
2326
  backgroundColor: "var(--secondary-color)",
2321
2327
  border: "2px dashed var(--border-color)",
2322
2328
  borderRadius: "var(--radius-md)",
@@ -2390,7 +2396,7 @@ const oo = ({
2390
2396
  style: { width: "100%", height: "auto", display: "block" }
2391
2397
  }
2392
2398
  ) }),
2393
- /* @__PURE__ */ e.jsx("dl", { style: { margin: 0 }, children: t.map(({ label: s, value: i }) => /* @__PURE__ */ e.jsxs(
2399
+ /* @__PURE__ */ e.jsx("dl", { style: { margin: 0 }, children: t.map(({ label: s, value: n }) => /* @__PURE__ */ e.jsxs(
2394
2400
  "div",
2395
2401
  {
2396
2402
  style: {
@@ -2413,7 +2419,7 @@ const oo = ({
2413
2419
  fontSize: "0.9rem",
2414
2420
  fontWeight: 600,
2415
2421
  color: "var(--text-color)"
2416
- }, children: i })
2422
+ }, children: n })
2417
2423
  ]
2418
2424
  },
2419
2425
  s
@@ -2507,7 +2513,7 @@ const oo = ({
2507
2513
  /* @__PURE__ */ e.jsx("option", { children: "Alphabetical" })
2508
2514
  ] })
2509
2515
  ] })
2510
- ] }) }), to = () => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2516
+ ] }) }), oo = () => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2511
2517
  /* @__PURE__ */ e.jsx("style", { children: `
2512
2518
  .mobile-ad-banner {
2513
2519
  display: none;
@@ -2550,13 +2556,11 @@ const oo = ({
2550
2556
  children: "Ad (468×60)"
2551
2557
  }
2552
2558
  ) })
2553
- ] }), ao = ({
2559
+ ] }), to = ({
2554
2560
  brand: o,
2555
- data: t,
2556
- onAccountClick: s,
2557
- onNotificationClick: i
2561
+ data: t
2558
2562
  }) => {
2559
- const l = [
2563
+ const s = [
2560
2564
  { label: "Home", path: "/" },
2561
2565
  { label: t.name }
2562
2566
  ], n = o.scoreConfig && t.stats.score !== void 0 ? {
@@ -2568,15 +2572,13 @@ const oo = ({
2568
2572
  U,
2569
2573
  {
2570
2574
  brand: o,
2571
- onAccountClick: s,
2572
- onNotificationClick: i,
2573
2575
  children: [
2574
2576
  /* @__PURE__ */ e.jsx(
2575
2577
  H,
2576
2578
  {
2577
2579
  title: t.name,
2578
2580
  subtitle: o.tagline || "Explore worker safety data across the nation",
2579
- breadcrumbs: l,
2581
+ breadcrumbs: s,
2580
2582
  score: n
2581
2583
  }
2582
2584
  ),
@@ -2585,7 +2587,7 @@ const oo = ({
2585
2587
  /* @__PURE__ */ e.jsxs("main", { className: "page-main", children: [
2586
2588
  /* @__PURE__ */ e.jsx(V, { stats: t.stats, columns: 4 }),
2587
2589
  /* @__PURE__ */ e.jsx(
2588
- ee,
2590
+ Z,
2589
2591
  {
2590
2592
  title: "States & Territories",
2591
2593
  items: t.directory,
@@ -2599,13 +2601,11 @@ const oo = ({
2599
2601
  ]
2600
2602
  }
2601
2603
  );
2602
- }, no = ({
2604
+ }, ao = ({
2603
2605
  brand: o,
2604
- data: t,
2605
- onAccountClick: s,
2606
- onNotificationClick: i
2606
+ data: t
2607
2607
  }) => {
2608
- const l = [
2608
+ const s = [
2609
2609
  { label: "Home", path: "/" },
2610
2610
  { label: "USA", path: "/usa" },
2611
2611
  { label: t.name }
@@ -2613,20 +2613,18 @@ const oo = ({
2613
2613
  value: t.stats.score,
2614
2614
  label: o.scoreConfig.name,
2615
2615
  betaDisclaimer: o.scoreConfig.betaDisclaimer
2616
- } : void 0, c = Object.keys(t.recentByAgency);
2616
+ } : void 0, l = Object.keys(t.recentByAgency);
2617
2617
  return /* @__PURE__ */ e.jsxs(
2618
2618
  U,
2619
2619
  {
2620
2620
  brand: o,
2621
- onAccountClick: s,
2622
- onNotificationClick: i,
2623
2621
  children: [
2624
2622
  /* @__PURE__ */ e.jsx(
2625
2623
  H,
2626
2624
  {
2627
2625
  title: t.name,
2628
2626
  subtitle: `Worker safety data for ${t.name}`,
2629
- breadcrumbs: l,
2627
+ breadcrumbs: s,
2630
2628
  score: n
2631
2629
  }
2632
2630
  ),
@@ -2635,22 +2633,22 @@ const oo = ({
2635
2633
  /* @__PURE__ */ e.jsxs("main", { className: "page-main", children: [
2636
2634
  /* @__PURE__ */ e.jsx(V, { stats: t.stats }),
2637
2635
  /* @__PURE__ */ e.jsx(
2638
- ee,
2636
+ Z,
2639
2637
  {
2640
2638
  title: "Cities",
2641
2639
  items: t.directory,
2642
2640
  basePath: "/city"
2643
2641
  }
2644
2642
  ),
2645
- c.map((u) => /* @__PURE__ */ e.jsx(
2646
- re,
2643
+ l.map((i) => /* @__PURE__ */ e.jsx(
2644
+ ee,
2647
2645
  {
2648
- title: `Recent ${u} Incidents`,
2649
- events: t.recentByAgency[u],
2650
- viewMorePath: `/${t.slug.toLowerCase()}/events/${u.toLowerCase()}`,
2646
+ title: `Recent ${i} Incidents`,
2647
+ events: t.recentByAgency[i],
2648
+ viewMorePath: `/${t.slug.toLowerCase()}/events/${i.toLowerCase()}`,
2651
2649
  showAgencyBadge: !1
2652
2650
  },
2653
- u
2651
+ i
2654
2652
  ))
2655
2653
  ] }),
2656
2654
  /* @__PURE__ */ e.jsx(X, { meta: t.meta })
@@ -2658,13 +2656,11 @@ const oo = ({
2658
2656
  ]
2659
2657
  }
2660
2658
  );
2661
- }, so = ({
2659
+ }, no = ({
2662
2660
  brand: o,
2663
- data: t,
2664
- onAccountClick: s,
2665
- onNotificationClick: i
2661
+ data: t
2666
2662
  }) => {
2667
- const l = [
2663
+ const s = [
2668
2664
  { label: "Home", path: "/" },
2669
2665
  { label: "USA", path: "/usa" },
2670
2666
  { label: t.stateName, path: `/state/${t.state.toLowerCase()}` },
@@ -2673,20 +2669,18 @@ const oo = ({
2673
2669
  value: t.stats.score,
2674
2670
  label: o.scoreConfig.name,
2675
2671
  betaDisclaimer: o.scoreConfig.betaDisclaimer
2676
- } : void 0, c = Object.keys(t.recentByAgency), u = `/${t.state.toLowerCase()}/${t.slug}`;
2672
+ } : void 0, l = Object.keys(t.recentByAgency), i = `/${t.state.toLowerCase()}/${t.slug}`;
2677
2673
  return /* @__PURE__ */ e.jsxs(
2678
2674
  U,
2679
2675
  {
2680
2676
  brand: o,
2681
- onAccountClick: s,
2682
- onNotificationClick: i,
2683
2677
  children: [
2684
2678
  /* @__PURE__ */ e.jsx(
2685
2679
  H,
2686
2680
  {
2687
2681
  title: `${t.name}, ${t.state}`,
2688
2682
  subtitle: `Worker safety data for ${t.name}`,
2689
- breadcrumbs: l,
2683
+ breadcrumbs: s,
2690
2684
  score: n
2691
2685
  }
2692
2686
  ),
@@ -2695,22 +2689,22 @@ const oo = ({
2695
2689
  /* @__PURE__ */ e.jsxs("main", { className: "page-main", children: [
2696
2690
  /* @__PURE__ */ e.jsx(V, { stats: t.stats }),
2697
2691
  /* @__PURE__ */ e.jsx(
2698
- ee,
2692
+ Z,
2699
2693
  {
2700
2694
  title: "Companies",
2701
2695
  items: t.directory,
2702
2696
  basePath: "/company"
2703
2697
  }
2704
2698
  ),
2705
- c.map((f) => /* @__PURE__ */ e.jsx(
2706
- re,
2699
+ l.map((c) => /* @__PURE__ */ e.jsx(
2700
+ ee,
2707
2701
  {
2708
- title: `Recent ${f} Incidents`,
2709
- events: t.recentByAgency[f],
2710
- viewMorePath: `${u}/events/${f.toLowerCase()}`,
2702
+ title: `Recent ${c} Incidents`,
2703
+ events: t.recentByAgency[c],
2704
+ viewMorePath: `${i}/events/${c.toLowerCase()}`,
2711
2705
  showAgencyBadge: !1
2712
2706
  },
2713
- f
2707
+ c
2714
2708
  ))
2715
2709
  ] }),
2716
2710
  /* @__PURE__ */ e.jsx(X, { meta: t.meta })
@@ -2718,14 +2712,12 @@ const oo = ({
2718
2712
  ]
2719
2713
  }
2720
2714
  );
2721
- }, io = ({
2715
+ }, so = ({
2722
2716
  brand: o,
2723
- data: t,
2724
- onAccountClick: s,
2725
- onNotificationClick: i
2717
+ data: t
2726
2718
  }) => {
2727
- var u;
2728
- const l = [
2719
+ var i;
2720
+ const s = [
2729
2721
  { label: "Home", path: "/" },
2730
2722
  { label: "USA", path: "/usa" },
2731
2723
  { label: t.name }
@@ -2733,20 +2725,18 @@ const oo = ({
2733
2725
  value: t.stats.score,
2734
2726
  label: o.scoreConfig.name,
2735
2727
  betaDisclaimer: o.scoreConfig.betaDisclaimer
2736
- } : void 0, c = t.sites && t.sites.length > 0;
2728
+ } : void 0, l = t.sites && t.sites.length > 0;
2737
2729
  return /* @__PURE__ */ e.jsxs(
2738
2730
  U,
2739
2731
  {
2740
2732
  brand: o,
2741
- onAccountClick: s,
2742
- onNotificationClick: i,
2743
2733
  children: [
2744
2734
  /* @__PURE__ */ e.jsx(
2745
2735
  H,
2746
2736
  {
2747
2737
  title: t.name,
2748
- subtitle: (u = t.meta) != null && u.industry ? `${t.meta.industry}` : void 0,
2749
- breadcrumbs: l,
2738
+ subtitle: (i = t.meta) != null && i.industry ? `${t.meta.industry}` : void 0,
2739
+ breadcrumbs: s,
2750
2740
  score: n
2751
2741
  }
2752
2742
  ),
@@ -2754,8 +2744,8 @@ const oo = ({
2754
2744
  /* @__PURE__ */ e.jsx(q, {}),
2755
2745
  /* @__PURE__ */ e.jsxs("main", { className: "page-main", children: [
2756
2746
  /* @__PURE__ */ e.jsx(V, { stats: t.stats }),
2757
- c && /* @__PURE__ */ e.jsx(
2758
- ee,
2747
+ l && /* @__PURE__ */ e.jsx(
2748
+ Z,
2759
2749
  {
2760
2750
  title: "Locations",
2761
2751
  items: t.sites,
@@ -2763,10 +2753,10 @@ const oo = ({
2763
2753
  }
2764
2754
  ),
2765
2755
  /* @__PURE__ */ e.jsx(
2766
- re,
2756
+ ee,
2767
2757
  {
2768
2758
  title: "Recent Incidents",
2769
- events: t.recentEvents.slice(0, c ? 5 : 10),
2759
+ events: t.recentEvents.slice(0, l ? 5 : 10),
2770
2760
  viewMorePath: `/company/${t.slug}/events`,
2771
2761
  showAgencyBadge: !0
2772
2762
  }
@@ -2777,13 +2767,11 @@ const oo = ({
2777
2767
  ]
2778
2768
  }
2779
2769
  );
2780
- }, lo = ({
2770
+ }, io = ({
2781
2771
  brand: o,
2782
- data: t,
2783
- onAccountClick: s,
2784
- onNotificationClick: i
2772
+ data: t
2785
2773
  }) => {
2786
- const l = [
2774
+ const s = [
2787
2775
  { label: "Home", path: "/" },
2788
2776
  { label: "USA", path: "/usa" },
2789
2777
  { label: t.companyName, path: `/company/${t.companySlug}` },
@@ -2797,15 +2785,13 @@ const oo = ({
2797
2785
  U,
2798
2786
  {
2799
2787
  brand: o,
2800
- onAccountClick: s,
2801
- onNotificationClick: i,
2802
2788
  children: [
2803
2789
  /* @__PURE__ */ e.jsx(
2804
2790
  H,
2805
2791
  {
2806
2792
  title: t.name,
2807
2793
  subtitle: `Location #${t.siteId} of ${t.companyName}`,
2808
- breadcrumbs: l,
2794
+ breadcrumbs: s,
2809
2795
  score: n
2810
2796
  }
2811
2797
  ),
@@ -2830,10 +2816,10 @@ const oo = ({
2830
2816
  display: "flex",
2831
2817
  flexWrap: "wrap",
2832
2818
  gap: "var(--space-sm)"
2833
- }, children: t.siblings.slice(0, 10).map((c) => /* @__PURE__ */ e.jsxs(
2819
+ }, children: t.siblings.slice(0, 10).map((l) => /* @__PURE__ */ e.jsxs(
2834
2820
  "a",
2835
2821
  {
2836
- href: `/company/${t.companySlug}/site/${c.slug}`,
2822
+ href: `/company/${t.companySlug}/site/${l.slug}`,
2837
2823
  style: {
2838
2824
  padding: "var(--space-sm) var(--space-md)",
2839
2825
  backgroundColor: "var(--secondary-color)",
@@ -2847,12 +2833,12 @@ const oo = ({
2847
2833
  gap: "var(--space-xs)",
2848
2834
  transition: "background var(--transition-fast)"
2849
2835
  },
2850
- onMouseEnter: (u) => u.currentTarget.style.backgroundColor = "var(--accent-color)",
2851
- onMouseLeave: (u) => u.currentTarget.style.backgroundColor = "var(--secondary-color)",
2836
+ onMouseEnter: (i) => i.currentTarget.style.backgroundColor = "var(--accent-color)",
2837
+ onMouseLeave: (i) => i.currentTarget.style.backgroundColor = "var(--secondary-color)",
2852
2838
  children: [
2853
2839
  /* @__PURE__ */ e.jsxs("span", { children: [
2854
2840
  "#",
2855
- c.name
2841
+ l.name
2856
2842
  ] }),
2857
2843
  /* @__PURE__ */ e.jsx("span", { style: {
2858
2844
  backgroundColor: "var(--primary-color)",
@@ -2860,14 +2846,14 @@ const oo = ({
2860
2846
  padding: "2px 6px",
2861
2847
  borderRadius: "var(--radius-sm)",
2862
2848
  fontSize: "0.75rem"
2863
- }, children: c.count })
2849
+ }, children: l.count })
2864
2850
  ]
2865
2851
  },
2866
- c.slug
2852
+ l.slug
2867
2853
  )) })
2868
2854
  ] }),
2869
2855
  /* @__PURE__ */ e.jsx(
2870
- re,
2856
+ ee,
2871
2857
  {
2872
2858
  title: "Recent Incidents",
2873
2859
  events: t.recentEvents,
@@ -2883,36 +2869,36 @@ const oo = ({
2883
2869
  );
2884
2870
  };
2885
2871
  export {
2886
- oo as AdSlot,
2887
- Gr as Alert,
2888
- Xr as Badge,
2889
- Hr as Button,
2890
- Vr as Card,
2891
- so as CityPage,
2892
- io as CompanyPage,
2893
- ee as Directory,
2872
+ ro as AdSlot,
2873
+ Kr as Alert,
2874
+ Vr as Badge,
2875
+ Ur as Button,
2876
+ Hr as Card,
2877
+ no as CityPage,
2878
+ so as CompanyPage,
2879
+ Z as Directory,
2894
2880
  q as FilterSidebar,
2895
2881
  Lr as Footer,
2896
2882
  _r as Header,
2897
2883
  H as Hero,
2898
2884
  X as InfoSidebar,
2899
- qr as Input,
2900
- eo as LoadingOverlay,
2901
- to as MobileAdBanner,
2902
- Kr as Modal,
2903
- ao as NationPage,
2904
- re as RecentEvents,
2885
+ Xr as Input,
2886
+ Zr as LoadingOverlay,
2887
+ oo as MobileAdBanner,
2888
+ Jr as Modal,
2889
+ to as NationPage,
2890
+ ee as RecentEvents,
2905
2891
  U as Shell,
2906
- lo as SitePage,
2892
+ io as SitePage,
2907
2893
  $e as Skeleton,
2908
- ro as SkeletonCard,
2894
+ eo as SkeletonCard,
2909
2895
  Fr as SkeletonText,
2910
2896
  Er as Spinner,
2911
2897
  V as StatGrid,
2912
- no as StatePage,
2913
- Jr as Table,
2914
- Qr as Tabs,
2915
- Zr as Tooltip,
2898
+ ao as StatePage,
2899
+ qr as Table,
2900
+ Gr as Tabs,
2901
+ Qr as Tooltip,
2916
2902
  Or as applyTheme,
2917
- Br as useTheme
2903
+ Ar as useTheme
2918
2904
  };