@sirsluginston/sharedui 2.0.10 → 2.0.13
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/index.d.ts +1 -6
- package/dist/sharedui.js +655 -613
- package/dist/sharedui.umd.cjs +13 -13
- package/package.json +1 -1
package/dist/sharedui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import ue, { useEffect as N, useState as P, useRef as Ae, useCallback as
|
|
1
|
+
import ue, { useEffect as N, useState as P, useRef as Ae, useCallback as Cr } from "react";
|
|
2
2
|
var de = { exports: {} }, $ = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
@@ -9,17 +9,17 @@ var de = { exports: {} }, $ = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
var o = ue, t = Symbol.for("react.element"), s = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty,
|
|
12
|
+
var Le;
|
|
13
|
+
function Sr() {
|
|
14
|
+
if (Le) return $;
|
|
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
17
|
function c(u, f, j) {
|
|
18
|
-
var p,
|
|
18
|
+
var p, x = {}, b = null, I = null;
|
|
19
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) && !
|
|
21
|
-
if (u && u.defaultProps) for (p in f = u.defaultProps, f)
|
|
22
|
-
return { $$typeof: t, type: u, key: b, ref: I, props:
|
|
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 };
|
|
23
23
|
}
|
|
24
24
|
return $.Fragment = s, $.jsx = c, $.jsxs = c, $;
|
|
25
25
|
}
|
|
@@ -33,11 +33,11 @@ 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
|
|
37
|
-
function
|
|
38
|
-
return
|
|
39
|
-
var o = ue, t = Symbol.for("react.element"), s = Symbol.for("react.portal"), i = Symbol.for("react.fragment"),
|
|
40
|
-
function
|
|
36
|
+
var Be;
|
|
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";
|
|
40
|
+
function Ye(r) {
|
|
41
41
|
if (r === null || typeof r != "object")
|
|
42
42
|
return null;
|
|
43
43
|
var a = C && r[C] || r[_];
|
|
@@ -48,34 +48,34 @@ function Tr() {
|
|
|
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];
|
|
51
|
-
|
|
51
|
+
Ne("error", r, d);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Ne(r, a, d) {
|
|
55
55
|
{
|
|
56
|
-
var v = W.ReactDebugCurrentFrame,
|
|
57
|
-
|
|
58
|
-
var
|
|
56
|
+
var v = W.ReactDebugCurrentFrame, y = v.getStackAddendum();
|
|
57
|
+
y !== "" && (a += "%s", d = d.concat([y]));
|
|
58
|
+
var h = d.map(function(m) {
|
|
59
59
|
return String(m);
|
|
60
60
|
});
|
|
61
|
-
|
|
61
|
+
h.unshift("Warning: " + a), Function.prototype.apply.call(console[r], console, h);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
var
|
|
64
|
+
var Ue = !1, He = !1, Ve = !1, Xe = !1, qe = !1, fe;
|
|
65
65
|
fe = Symbol.for("react.module.reference");
|
|
66
|
-
function
|
|
67
|
-
return !!(typeof r == "string" || typeof r == "function" || r === i || r ===
|
|
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
|
|
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
71
|
r.$$typeof === fe || r.getModuleId !== void 0));
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function Ke(r, a, d) {
|
|
74
74
|
var v = r.displayName;
|
|
75
75
|
if (v)
|
|
76
76
|
return v;
|
|
77
|
-
var
|
|
78
|
-
return
|
|
77
|
+
var y = a.displayName || a.name || "";
|
|
78
|
+
return y !== "" ? d + "(" + y + ")" : d;
|
|
79
79
|
}
|
|
80
80
|
function ve(r) {
|
|
81
81
|
return r.displayName || "Context";
|
|
@@ -92,9 +92,9 @@ function Tr() {
|
|
|
92
92
|
return "Fragment";
|
|
93
93
|
case s:
|
|
94
94
|
return "Portal";
|
|
95
|
-
case l:
|
|
96
|
-
return "Profiler";
|
|
97
95
|
case n:
|
|
96
|
+
return "Profiler";
|
|
97
|
+
case l:
|
|
98
98
|
return "StrictMode";
|
|
99
99
|
case j:
|
|
100
100
|
return "Suspense";
|
|
@@ -110,14 +110,14 @@ function Tr() {
|
|
|
110
110
|
var d = r;
|
|
111
111
|
return ve(d._context) + ".Provider";
|
|
112
112
|
case f:
|
|
113
|
-
return
|
|
114
|
-
case
|
|
113
|
+
return Ke(r, r.render, "ForwardRef");
|
|
114
|
+
case x:
|
|
115
115
|
var v = r.displayName || null;
|
|
116
116
|
return v !== null ? v : M(r.type) || "Memo";
|
|
117
117
|
case b: {
|
|
118
|
-
var
|
|
118
|
+
var y = r, h = y._payload, m = y._init;
|
|
119
119
|
try {
|
|
120
|
-
return M(m(
|
|
120
|
+
return M(m(h));
|
|
121
121
|
} catch {
|
|
122
122
|
return null;
|
|
123
123
|
}
|
|
@@ -125,14 +125,14 @@ function Tr() {
|
|
|
125
125
|
}
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
|
-
var D = Object.assign,
|
|
128
|
+
var D = Object.assign, B = 0, pe, ge, me, ye, he, xe, be;
|
|
129
129
|
function je() {
|
|
130
130
|
}
|
|
131
131
|
je.__reactDisabledLog = !0;
|
|
132
|
-
function
|
|
132
|
+
function Ge() {
|
|
133
133
|
{
|
|
134
|
-
if (
|
|
135
|
-
pe = console.log, ge = console.info, me = console.warn,
|
|
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;
|
|
136
136
|
var r = {
|
|
137
137
|
configurable: !0,
|
|
138
138
|
enumerable: !0,
|
|
@@ -149,12 +149,12 @@ function Tr() {
|
|
|
149
149
|
groupEnd: r
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
|
-
|
|
152
|
+
B++;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Qe() {
|
|
156
156
|
{
|
|
157
|
-
if (
|
|
157
|
+
if (B--, B === 0) {
|
|
158
158
|
var r = {
|
|
159
159
|
configurable: !0,
|
|
160
160
|
enumerable: !0,
|
|
@@ -171,20 +171,20 @@ function Tr() {
|
|
|
171
171
|
value: me
|
|
172
172
|
}),
|
|
173
173
|
error: D({}, r, {
|
|
174
|
-
value:
|
|
174
|
+
value: ye
|
|
175
175
|
}),
|
|
176
176
|
group: D({}, r, {
|
|
177
|
-
value:
|
|
177
|
+
value: he
|
|
178
178
|
}),
|
|
179
179
|
groupCollapsed: D({}, r, {
|
|
180
|
-
value:
|
|
180
|
+
value: xe
|
|
181
181
|
}),
|
|
182
182
|
groupEnd: D({}, r, {
|
|
183
183
|
value: be
|
|
184
184
|
})
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
B < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
var oe = W.ReactCurrentDispatcher, te;
|
|
@@ -193,8 +193,8 @@ function Tr() {
|
|
|
193
193
|
if (te === void 0)
|
|
194
194
|
try {
|
|
195
195
|
throw Error();
|
|
196
|
-
} catch (
|
|
197
|
-
var v =
|
|
196
|
+
} catch (y) {
|
|
197
|
+
var v = y.stack.trim().match(/\n( *(at )?)/);
|
|
198
198
|
te = v && v[1] || "";
|
|
199
199
|
}
|
|
200
200
|
return `
|
|
@@ -203,8 +203,8 @@ function Tr() {
|
|
|
203
203
|
}
|
|
204
204
|
var ae = !1, K;
|
|
205
205
|
{
|
|
206
|
-
var
|
|
207
|
-
K = new
|
|
206
|
+
var Ze = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
K = new Ze();
|
|
208
208
|
}
|
|
209
209
|
function ke(r, a) {
|
|
210
210
|
if (!r || ae)
|
|
@@ -216,10 +216,10 @@ function Tr() {
|
|
|
216
216
|
}
|
|
217
217
|
var v;
|
|
218
218
|
ae = !0;
|
|
219
|
-
var
|
|
219
|
+
var y = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
|
-
var
|
|
222
|
-
|
|
221
|
+
var h;
|
|
222
|
+
h = oe.current, oe.current = null, Ge();
|
|
223
223
|
try {
|
|
224
224
|
if (a) {
|
|
225
225
|
var m = function() {
|
|
@@ -272,15 +272,15 @@ function Tr() {
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
ae = !1, oe.current =
|
|
275
|
+
ae = !1, oe.current = h, Qe(), Error.prepareStackTrace = y;
|
|
276
276
|
}
|
|
277
|
-
var
|
|
277
|
+
var L = r ? r.displayName || r.name : "", z = L ? J(L) : "";
|
|
278
278
|
return typeof r == "function" && K.set(r, z), z;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function er(r, a, d) {
|
|
281
281
|
return ke(r, !1);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function rr(r) {
|
|
284
284
|
var a = r.prototype;
|
|
285
285
|
return !!(a && a.isReactComponent);
|
|
286
286
|
}
|
|
@@ -288,7 +288,7 @@ function Tr() {
|
|
|
288
288
|
if (r == null)
|
|
289
289
|
return "";
|
|
290
290
|
if (typeof r == "function")
|
|
291
|
-
return ke(r,
|
|
291
|
+
return ke(r, rr(r));
|
|
292
292
|
if (typeof r == "string")
|
|
293
293
|
return J(r);
|
|
294
294
|
switch (r) {
|
|
@@ -300,13 +300,13 @@ function Tr() {
|
|
|
300
300
|
if (typeof r == "object")
|
|
301
301
|
switch (r.$$typeof) {
|
|
302
302
|
case f:
|
|
303
|
-
return
|
|
304
|
-
case
|
|
303
|
+
return er(r.render);
|
|
304
|
+
case x:
|
|
305
305
|
return G(r.type, a, d);
|
|
306
306
|
case b: {
|
|
307
|
-
var v = r,
|
|
307
|
+
var v = r, y = v._payload, h = v._init;
|
|
308
308
|
try {
|
|
309
|
-
return G(
|
|
309
|
+
return G(h(y), a, d);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
}
|
|
@@ -321,11 +321,11 @@ function Tr() {
|
|
|
321
321
|
} else
|
|
322
322
|
Ce.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function or(r, a, d, v, y) {
|
|
325
325
|
{
|
|
326
|
-
var
|
|
326
|
+
var h = Function.call.bind(O);
|
|
327
327
|
for (var m in r)
|
|
328
|
-
if (
|
|
328
|
+
if (h(r, m)) {
|
|
329
329
|
var g = void 0;
|
|
330
330
|
try {
|
|
331
331
|
if (typeof r[m] != "function") {
|
|
@@ -336,21 +336,21 @@ function Tr() {
|
|
|
336
336
|
} catch (k) {
|
|
337
337
|
g = k;
|
|
338
338
|
}
|
|
339
|
-
g && !(g instanceof Error) && (Q(
|
|
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));
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
var
|
|
343
|
+
var tr = Array.isArray;
|
|
344
344
|
function ne(r) {
|
|
345
|
-
return
|
|
345
|
+
return tr(r);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function ar(r) {
|
|
348
348
|
{
|
|
349
349
|
var a = typeof Symbol == "function" && Symbol.toStringTag, d = a && r[Symbol.toStringTag] || r.constructor.name || "Object";
|
|
350
350
|
return d;
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function nr(r) {
|
|
354
354
|
try {
|
|
355
355
|
return Se(r), !1;
|
|
356
356
|
} catch {
|
|
@@ -361,16 +361,16 @@ function Tr() {
|
|
|
361
361
|
return "" + r;
|
|
362
362
|
}
|
|
363
363
|
function Re(r) {
|
|
364
|
-
if (
|
|
365
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
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);
|
|
366
366
|
}
|
|
367
|
-
var Te = W.ReactCurrentOwner,
|
|
367
|
+
var Te = W.ReactCurrentOwner, sr = {
|
|
368
368
|
key: !0,
|
|
369
369
|
ref: !0,
|
|
370
370
|
__self: !0,
|
|
371
371
|
__source: !0
|
|
372
372
|
}, Ee, Fe;
|
|
373
|
-
function
|
|
373
|
+
function ir(r) {
|
|
374
374
|
if (O.call(r, "ref")) {
|
|
375
375
|
var a = Object.getOwnPropertyDescriptor(r, "ref").get;
|
|
376
376
|
if (a && a.isReactWarning)
|
|
@@ -378,7 +378,7 @@ function Tr() {
|
|
|
378
378
|
}
|
|
379
379
|
return r.ref !== void 0;
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function lr(r) {
|
|
382
382
|
if (O.call(r, "key")) {
|
|
383
383
|
var a = Object.getOwnPropertyDescriptor(r, "key").get;
|
|
384
384
|
if (a && a.isReactWarning)
|
|
@@ -386,10 +386,10 @@ function Tr() {
|
|
|
386
386
|
}
|
|
387
387
|
return r.key !== void 0;
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function cr(r, a) {
|
|
390
390
|
typeof r.ref == "string" && Te.current;
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function dr(r, a) {
|
|
393
393
|
{
|
|
394
394
|
var d = function() {
|
|
395
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));
|
|
@@ -400,7 +400,7 @@ function Tr() {
|
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function ur(r, a) {
|
|
404
404
|
{
|
|
405
405
|
var d = function() {
|
|
406
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));
|
|
@@ -411,7 +411,7 @@ function Tr() {
|
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
var
|
|
414
|
+
var fr = function(r, a, d, v, y, h, m) {
|
|
415
415
|
var g = {
|
|
416
416
|
// This tag allows us to uniquely identify this as a React Element
|
|
417
417
|
$$typeof: t,
|
|
@@ -421,7 +421,7 @@ function Tr() {
|
|
|
421
421
|
ref: d,
|
|
422
422
|
props: m,
|
|
423
423
|
// Record the component responsible for creating this element.
|
|
424
|
-
_owner:
|
|
424
|
+
_owner: h
|
|
425
425
|
};
|
|
426
426
|
return g._store = {}, Object.defineProperty(g._store, "validated", {
|
|
427
427
|
configurable: !1,
|
|
@@ -437,25 +437,25 @@ function Tr() {
|
|
|
437
437
|
configurable: !1,
|
|
438
438
|
enumerable: !1,
|
|
439
439
|
writable: !1,
|
|
440
|
-
value:
|
|
440
|
+
value: y
|
|
441
441
|
}), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
|
|
442
442
|
};
|
|
443
|
-
function
|
|
443
|
+
function vr(r, a, d, v, y) {
|
|
444
444
|
{
|
|
445
|
-
var
|
|
446
|
-
d !== void 0 && (Re(d), g = "" + d),
|
|
447
|
-
for (
|
|
448
|
-
O.call(a,
|
|
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));
|
|
447
|
+
for (h in a)
|
|
448
|
+
O.call(a, h) && !sr.hasOwnProperty(h) && (m[h] = a[h]);
|
|
449
449
|
if (r && r.defaultProps) {
|
|
450
450
|
var k = r.defaultProps;
|
|
451
|
-
for (
|
|
452
|
-
m[
|
|
451
|
+
for (h in k)
|
|
452
|
+
m[h] === void 0 && (m[h] = k[h]);
|
|
453
453
|
}
|
|
454
454
|
if (g || R) {
|
|
455
455
|
var w = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
|
|
456
|
-
g &&
|
|
456
|
+
g && dr(m, w), R && ur(m, w);
|
|
457
457
|
}
|
|
458
|
-
return
|
|
458
|
+
return fr(r, g, R, y, v, Te.current, m);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
var se = W.ReactCurrentOwner, _e = W.ReactDebugCurrentFrame;
|
|
@@ -483,11 +483,11 @@ Check the render method of \`` + r + "`.";
|
|
|
483
483
|
return "";
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function pr(r) {
|
|
487
487
|
return "";
|
|
488
488
|
}
|
|
489
489
|
var Me = {};
|
|
490
|
-
function
|
|
490
|
+
function gr(r) {
|
|
491
491
|
{
|
|
492
492
|
var a = Ie();
|
|
493
493
|
if (!a) {
|
|
@@ -504,7 +504,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
504
504
|
if (!r._store || r._store.validated || r.key != null)
|
|
505
505
|
return;
|
|
506
506
|
r._store.validated = !0;
|
|
507
|
-
var d =
|
|
507
|
+
var d = gr(a);
|
|
508
508
|
if (Me[d])
|
|
509
509
|
return;
|
|
510
510
|
Me[d] = !0;
|
|
@@ -524,14 +524,14 @@ Check the top-level render call using <` + d + ">.");
|
|
|
524
524
|
else if (le(r))
|
|
525
525
|
r._store && (r._store.validated = !0);
|
|
526
526
|
else if (r) {
|
|
527
|
-
var
|
|
528
|
-
if (typeof
|
|
529
|
-
for (var
|
|
527
|
+
var y = Ye(r);
|
|
528
|
+
if (typeof y == "function" && y !== r.entries)
|
|
529
|
+
for (var h = y.call(r), m; !(m = h.next()).done; )
|
|
530
530
|
le(m.value) && De(m.value, a);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function mr(r) {
|
|
535
535
|
{
|
|
536
536
|
var a = r.type;
|
|
537
537
|
if (a == null || typeof a == "string")
|
|
@@ -541,22 +541,22 @@ Check the top-level render call using <` + d + ">.");
|
|
|
541
541
|
d = a.propTypes;
|
|
542
542
|
else if (typeof a == "object" && (a.$$typeof === f || // Note: Memo only checks outer props here.
|
|
543
543
|
// Inner props are checked in the reconciler.
|
|
544
|
-
a.$$typeof ===
|
|
544
|
+
a.$$typeof === x))
|
|
545
545
|
d = a.propTypes;
|
|
546
546
|
else
|
|
547
547
|
return;
|
|
548
548
|
if (d) {
|
|
549
549
|
var v = M(a);
|
|
550
|
-
|
|
550
|
+
or(d, r.props, "prop", v, r);
|
|
551
551
|
} else if (a.PropTypes !== void 0 && !ie) {
|
|
552
552
|
ie = !0;
|
|
553
|
-
var
|
|
554
|
-
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
553
|
+
var y = M(a);
|
|
554
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
555
555
|
}
|
|
556
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.");
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function yr(r) {
|
|
560
560
|
{
|
|
561
561
|
for (var a = Object.keys(r.props), d = 0; d < a.length; d++) {
|
|
562
562
|
var v = a[d];
|
|
@@ -569,18 +569,18 @@ Check the top-level render call using <` + d + ">.");
|
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
var Pe = {};
|
|
572
|
-
function We(r, a, d, v,
|
|
572
|
+
function We(r, a, d, v, y, h) {
|
|
573
573
|
{
|
|
574
|
-
var m =
|
|
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 =
|
|
578
|
+
var R = pr();
|
|
579
579
|
R ? g += R : g += Ie();
|
|
580
580
|
var k;
|
|
581
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);
|
|
582
582
|
}
|
|
583
|
-
var w =
|
|
583
|
+
var w = vr(r, a, d, y, h);
|
|
584
584
|
if (w == null)
|
|
585
585
|
return w;
|
|
586
586
|
if (m) {
|
|
@@ -588,8 +588,8 @@ Check the top-level render call using <` + d + ">.");
|
|
|
588
588
|
if (E !== void 0)
|
|
589
589
|
if (v)
|
|
590
590
|
if (ne(E)) {
|
|
591
|
-
for (var
|
|
592
|
-
ze(E[
|
|
591
|
+
for (var L = 0; L < E.length; L++)
|
|
592
|
+
ze(E[L], r);
|
|
593
593
|
Object.freeze && Object.freeze(E);
|
|
594
594
|
} else
|
|
595
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.");
|
|
@@ -597,41 +597,41 @@ Check the top-level render call using <` + d + ">.");
|
|
|
597
597
|
ze(E, r);
|
|
598
598
|
}
|
|
599
599
|
if (O.call(a, "key")) {
|
|
600
|
-
var z = M(r), T = Object.keys(a).filter(function(
|
|
601
|
-
return
|
|
600
|
+
var z = M(r), T = Object.keys(a).filter(function(wr) {
|
|
601
|
+
return wr !== "key";
|
|
602
602
|
}), ce = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
603
|
if (!Pe[z + ce]) {
|
|
604
|
-
var
|
|
604
|
+
var kr = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
|
|
605
605
|
S(`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,
|
|
610
|
+
<%s key={someKey} {...props} />`, ce, z, kr, z), Pe[z + ce] = !0;
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
return r === i ?
|
|
613
|
+
return r === i ? yr(w) : mr(w), w;
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
function
|
|
616
|
+
function hr(r, a, d) {
|
|
617
617
|
return We(r, a, d, !0);
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function xr(r, a, d) {
|
|
620
620
|
return We(r, a, d, !1);
|
|
621
621
|
}
|
|
622
|
-
var
|
|
623
|
-
Y.Fragment = i, Y.jsx =
|
|
622
|
+
var br = xr, jr = hr;
|
|
623
|
+
Y.Fragment = i, Y.jsx = br, Y.jsxs = jr;
|
|
624
624
|
}()), Y;
|
|
625
625
|
}
|
|
626
|
-
process.env.NODE_ENV === "production" ? de.exports =
|
|
626
|
+
process.env.NODE_ENV === "production" ? de.exports = Sr() : de.exports = Rr();
|
|
627
627
|
var e = de.exports;
|
|
628
|
-
const
|
|
628
|
+
const Hr = ({
|
|
629
629
|
variant: o = "primary",
|
|
630
630
|
size: t = "md",
|
|
631
631
|
loading: s = !1,
|
|
632
632
|
icon: i,
|
|
633
|
-
children:
|
|
634
|
-
disabled:
|
|
633
|
+
children: l,
|
|
634
|
+
disabled: n,
|
|
635
635
|
...c
|
|
636
636
|
}) => {
|
|
637
637
|
const u = {
|
|
@@ -675,8 +675,8 @@ const Xr = ({
|
|
|
675
675
|
borderRadius: "var(--radius-md)",
|
|
676
676
|
fontFamily: "var(--font-sans)",
|
|
677
677
|
fontWeight: 600,
|
|
678
|
-
cursor:
|
|
679
|
-
opacity:
|
|
678
|
+
cursor: n || s ? "not-allowed" : "pointer",
|
|
679
|
+
opacity: n ? 0.5 : 1,
|
|
680
680
|
display: "inline-flex",
|
|
681
681
|
alignItems: "center",
|
|
682
682
|
justifyContent: "center",
|
|
@@ -688,27 +688,27 @@ const Xr = ({
|
|
|
688
688
|
"button",
|
|
689
689
|
{
|
|
690
690
|
...c,
|
|
691
|
-
disabled:
|
|
691
|
+
disabled: n || s,
|
|
692
692
|
style: { ...j, ...c.style },
|
|
693
693
|
onMouseDown: (p) => {
|
|
694
|
-
var
|
|
695
|
-
!
|
|
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);
|
|
696
696
|
},
|
|
697
697
|
onMouseUp: (p) => {
|
|
698
|
-
var
|
|
699
|
-
p.currentTarget.style.transform = "translate(0, 0)", p.currentTarget.style.boxShadow = f[o].boxShadow || "none", (
|
|
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);
|
|
700
700
|
},
|
|
701
701
|
onMouseLeave: (p) => {
|
|
702
|
-
var
|
|
703
|
-
p.currentTarget.style.transform = "translate(0, 0)", p.currentTarget.style.boxShadow = f[o].boxShadow || "none", (
|
|
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);
|
|
704
704
|
},
|
|
705
705
|
children: [
|
|
706
|
-
s ? /* @__PURE__ */ e.jsx(
|
|
707
|
-
|
|
706
|
+
s ? /* @__PURE__ */ e.jsx(Tr, { size: 16 }) : i,
|
|
707
|
+
l
|
|
708
708
|
]
|
|
709
709
|
}
|
|
710
710
|
);
|
|
711
|
-
},
|
|
711
|
+
}, Tr = ({ size: o }) => /* @__PURE__ */ e.jsxs("svg", { width: o, height: o, viewBox: "0 0 24 24", style: { animation: "spin 0.8s linear infinite" }, children: [
|
|
712
712
|
/* @__PURE__ */ e.jsx(
|
|
713
713
|
"circle",
|
|
714
714
|
{
|
|
@@ -723,13 +723,13 @@ const Xr = ({
|
|
|
723
723
|
}
|
|
724
724
|
),
|
|
725
725
|
/* @__PURE__ */ e.jsx("style", { children: "@keyframes spin { to { transform: rotate(360deg); } }" })
|
|
726
|
-
] }),
|
|
726
|
+
] }), Vr = ({
|
|
727
727
|
title: o,
|
|
728
728
|
subtitle: t,
|
|
729
729
|
children: s,
|
|
730
730
|
hoverable: i = !1,
|
|
731
|
-
padding:
|
|
732
|
-
className:
|
|
731
|
+
padding: l = "lg",
|
|
732
|
+
className: n,
|
|
733
733
|
style: c,
|
|
734
734
|
onClick: u
|
|
735
735
|
}) => {
|
|
@@ -742,12 +742,12 @@ const Xr = ({
|
|
|
742
742
|
return /* @__PURE__ */ e.jsxs(
|
|
743
743
|
"div",
|
|
744
744
|
{
|
|
745
|
-
className:
|
|
745
|
+
className: n,
|
|
746
746
|
onClick: u,
|
|
747
747
|
style: {
|
|
748
748
|
backgroundColor: "var(--bg-color)",
|
|
749
749
|
borderRadius: "var(--radius-md)",
|
|
750
|
-
padding: f[
|
|
750
|
+
padding: f[l],
|
|
751
751
|
border: "2px solid var(--border-color)",
|
|
752
752
|
display: "flex",
|
|
753
753
|
flexDirection: "column",
|
|
@@ -783,7 +783,7 @@ const Xr = ({
|
|
|
783
783
|
]
|
|
784
784
|
}
|
|
785
785
|
);
|
|
786
|
-
},
|
|
786
|
+
}, Xr = ({
|
|
787
787
|
children: o,
|
|
788
788
|
variant: t = "default",
|
|
789
789
|
size: s = "md"
|
|
@@ -791,7 +791,7 @@ const Xr = ({
|
|
|
791
791
|
const i = {
|
|
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 = {
|
|
795
795
|
default: {
|
|
796
796
|
backgroundColor: "var(--secondary-color)",
|
|
797
797
|
color: "var(--surface-light)"
|
|
@@ -827,7 +827,7 @@ const Xr = ({
|
|
|
827
827
|
{
|
|
828
828
|
style: {
|
|
829
829
|
...i[s],
|
|
830
|
-
...
|
|
830
|
+
...l[t],
|
|
831
831
|
borderRadius: "var(--radius-full)",
|
|
832
832
|
fontFamily: "var(--font-sans)",
|
|
833
833
|
fontWeight: 600,
|
|
@@ -842,14 +842,14 @@ const Xr = ({
|
|
|
842
842
|
children: o
|
|
843
843
|
}
|
|
844
844
|
);
|
|
845
|
-
},
|
|
845
|
+
}, qr = ({
|
|
846
846
|
label: o,
|
|
847
847
|
error: t,
|
|
848
848
|
hint: s,
|
|
849
849
|
icon: i,
|
|
850
|
-
...
|
|
850
|
+
...l
|
|
851
851
|
}) => {
|
|
852
|
-
const
|
|
852
|
+
const n = !!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",
|
|
@@ -871,12 +871,12 @@ const Xr = ({
|
|
|
871
871
|
/* @__PURE__ */ e.jsx(
|
|
872
872
|
"input",
|
|
873
873
|
{
|
|
874
|
-
...
|
|
874
|
+
...l,
|
|
875
875
|
style: {
|
|
876
876
|
width: "100%",
|
|
877
877
|
padding: i ? "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 ${
|
|
879
|
+
border: `2px solid ${n ? "var(--danger-color)" : "var(--border-color)"}`,
|
|
880
880
|
fontFamily: "var(--font-sans)",
|
|
881
881
|
fontSize: "1rem",
|
|
882
882
|
backgroundColor: "var(--bg-color)",
|
|
@@ -884,15 +884,15 @@ const Xr = ({
|
|
|
884
884
|
boxSizing: "border-box",
|
|
885
885
|
transition: "border-color var(--transition-fast), box-shadow var(--transition-fast)",
|
|
886
886
|
outline: "none",
|
|
887
|
-
...
|
|
887
|
+
...l.style
|
|
888
888
|
},
|
|
889
889
|
onFocus: (c) => {
|
|
890
890
|
var u;
|
|
891
|
-
c.currentTarget.style.borderColor =
|
|
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);
|
|
892
892
|
},
|
|
893
893
|
onBlur: (c) => {
|
|
894
894
|
var u;
|
|
895
|
-
c.currentTarget.style.borderColor =
|
|
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);
|
|
896
896
|
}
|
|
897
897
|
}
|
|
898
898
|
)
|
|
@@ -906,13 +906,13 @@ const Xr = ({
|
|
|
906
906
|
}, children: t || s })
|
|
907
907
|
] });
|
|
908
908
|
};
|
|
909
|
-
function
|
|
909
|
+
function Jr({
|
|
910
910
|
columns: o,
|
|
911
911
|
data: t,
|
|
912
912
|
keyExtractor: s,
|
|
913
913
|
onRowClick: i,
|
|
914
|
-
emptyMessage:
|
|
915
|
-
striped:
|
|
914
|
+
emptyMessage: l = "No data available",
|
|
915
|
+
striped: n = !0
|
|
916
916
|
}) {
|
|
917
917
|
return /* @__PURE__ */ e.jsx("div", { style: {
|
|
918
918
|
overflowX: "auto",
|
|
@@ -949,14 +949,14 @@ function Gr({
|
|
|
949
949
|
color: "var(--text-color)",
|
|
950
950
|
opacity: 0.6
|
|
951
951
|
},
|
|
952
|
-
children:
|
|
952
|
+
children: l
|
|
953
953
|
}
|
|
954
954
|
) }) : t.map((c, u) => /* @__PURE__ */ e.jsx(
|
|
955
955
|
"tr",
|
|
956
956
|
{
|
|
957
957
|
onClick: () => i == null ? void 0 : i(c),
|
|
958
958
|
style: {
|
|
959
|
-
backgroundColor:
|
|
959
|
+
backgroundColor: n && u % 2 === 1 ? "var(--secondary-color)" : "transparent",
|
|
960
960
|
cursor: i ? "pointer" : "default",
|
|
961
961
|
transition: "background-color var(--transition-fast)"
|
|
962
962
|
},
|
|
@@ -964,7 +964,7 @@ function Gr({
|
|
|
964
964
|
i && (f.currentTarget.style.backgroundColor = "var(--accent-color)");
|
|
965
965
|
},
|
|
966
966
|
onMouseLeave: (f) => {
|
|
967
|
-
f.currentTarget.style.backgroundColor =
|
|
967
|
+
f.currentTarget.style.backgroundColor = n && u % 2 === 1 ? "var(--secondary-color)" : "transparent";
|
|
968
968
|
},
|
|
969
969
|
children: o.map((f) => /* @__PURE__ */ e.jsx(
|
|
970
970
|
"td",
|
|
@@ -984,13 +984,13 @@ function Gr({
|
|
|
984
984
|
)) })
|
|
985
985
|
] }) });
|
|
986
986
|
}
|
|
987
|
-
const
|
|
987
|
+
const Kr = ({
|
|
988
988
|
open: o,
|
|
989
989
|
onClose: t,
|
|
990
990
|
title: s,
|
|
991
991
|
children: i,
|
|
992
|
-
size:
|
|
993
|
-
showCloseButton:
|
|
992
|
+
size: l = "md",
|
|
993
|
+
showCloseButton: n = !0
|
|
994
994
|
}) => {
|
|
995
995
|
if (N(() => {
|
|
996
996
|
const u = (f) => {
|
|
@@ -1036,7 +1036,7 @@ const Qr = ({
|
|
|
1036
1036
|
border: "2px solid var(--border-color)",
|
|
1037
1037
|
boxShadow: "var(--shadow-lg)",
|
|
1038
1038
|
width: "100%",
|
|
1039
|
-
maxWidth: c[
|
|
1039
|
+
maxWidth: c[l],
|
|
1040
1040
|
maxHeight: "90vh",
|
|
1041
1041
|
overflow: "hidden",
|
|
1042
1042
|
display: "flex",
|
|
@@ -1045,7 +1045,7 @@ const Qr = ({
|
|
|
1045
1045
|
},
|
|
1046
1046
|
onClick: (u) => u.stopPropagation(),
|
|
1047
1047
|
children: [
|
|
1048
|
-
(s ||
|
|
1048
|
+
(s || n) && /* @__PURE__ */ e.jsxs("div", { style: {
|
|
1049
1049
|
display: "flex",
|
|
1050
1050
|
alignItems: "center",
|
|
1051
1051
|
justifyContent: "space-between",
|
|
@@ -1066,7 +1066,7 @@ const Qr = ({
|
|
|
1066
1066
|
children: s
|
|
1067
1067
|
}
|
|
1068
1068
|
),
|
|
1069
|
-
|
|
1069
|
+
n && /* @__PURE__ */ e.jsx(
|
|
1070
1070
|
"button",
|
|
1071
1071
|
{
|
|
1072
1072
|
onClick: t,
|
|
@@ -1108,12 +1108,12 @@ const Qr = ({
|
|
|
1108
1108
|
]
|
|
1109
1109
|
}
|
|
1110
1110
|
);
|
|
1111
|
-
},
|
|
1111
|
+
}, Gr = ({
|
|
1112
1112
|
children: o,
|
|
1113
1113
|
variant: t = "info",
|
|
1114
1114
|
title: s,
|
|
1115
1115
|
dismissible: i = !1,
|
|
1116
|
-
onDismiss:
|
|
1116
|
+
onDismiss: l
|
|
1117
1117
|
}) => {
|
|
1118
1118
|
const c = {
|
|
1119
1119
|
info: {
|
|
@@ -1179,7 +1179,7 @@ const Qr = ({
|
|
|
1179
1179
|
i && /* @__PURE__ */ e.jsx(
|
|
1180
1180
|
"button",
|
|
1181
1181
|
{
|
|
1182
|
-
onClick:
|
|
1182
|
+
onClick: l,
|
|
1183
1183
|
"aria-label": "Dismiss",
|
|
1184
1184
|
style: {
|
|
1185
1185
|
background: "none",
|
|
@@ -1199,13 +1199,13 @@ const Qr = ({
|
|
|
1199
1199
|
]
|
|
1200
1200
|
}
|
|
1201
1201
|
);
|
|
1202
|
-
},
|
|
1202
|
+
}, Qr = ({
|
|
1203
1203
|
tabs: o,
|
|
1204
1204
|
activeTab: t,
|
|
1205
1205
|
onTabChange: s,
|
|
1206
1206
|
variant: i = "underline"
|
|
1207
1207
|
}) => {
|
|
1208
|
-
const
|
|
1208
|
+
const l = i === "underline";
|
|
1209
1209
|
return /* @__PURE__ */ e.jsxs("div", { style: { width: "100%" }, children: [
|
|
1210
1210
|
/* @__PURE__ */ e.jsx(
|
|
1211
1211
|
"div",
|
|
@@ -1213,76 +1213,76 @@ const Qr = ({
|
|
|
1213
1213
|
role: "tablist",
|
|
1214
1214
|
style: {
|
|
1215
1215
|
display: "flex",
|
|
1216
|
-
gap:
|
|
1217
|
-
borderBottom:
|
|
1218
|
-
padding:
|
|
1219
|
-
backgroundColor:
|
|
1220
|
-
borderRadius:
|
|
1216
|
+
gap: l ? "var(--space-md)" : "var(--space-xs)",
|
|
1217
|
+
borderBottom: l ? "2px solid var(--border-color)" : "none",
|
|
1218
|
+
padding: l ? "0" : "var(--space-xs)",
|
|
1219
|
+
backgroundColor: l ? "transparent" : "var(--secondary-color)",
|
|
1220
|
+
borderRadius: l ? "0" : "var(--radius-md)"
|
|
1221
1221
|
},
|
|
1222
|
-
children: o.map((
|
|
1223
|
-
const c =
|
|
1222
|
+
children: o.map((n) => {
|
|
1223
|
+
const c = n.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-${
|
|
1230
|
-
disabled:
|
|
1231
|
-
onClick: () => !
|
|
1229
|
+
"aria-controls": `panel-${n.id}`,
|
|
1230
|
+
disabled: n.disabled,
|
|
1231
|
+
onClick: () => !n.disabled && s(n.id),
|
|
1232
1232
|
style: {
|
|
1233
|
-
background:
|
|
1233
|
+
background: l ? "none" : c ? "var(--primary-color)" : "transparent",
|
|
1234
1234
|
border: "none",
|
|
1235
|
-
borderBottom:
|
|
1236
|
-
marginBottom:
|
|
1235
|
+
borderBottom: l && c ? "3px solid var(--primary-color)" : "none",
|
|
1236
|
+
marginBottom: l ? "-2px" : "0",
|
|
1237
1237
|
padding: "var(--space-sm) var(--space-md)",
|
|
1238
|
-
borderRadius:
|
|
1238
|
+
borderRadius: l ? "0" : "var(--radius-sm)",
|
|
1239
1239
|
fontFamily: "var(--font-sans)",
|
|
1240
1240
|
fontWeight: 600,
|
|
1241
1241
|
fontSize: "0.95rem",
|
|
1242
|
-
color: c ?
|
|
1243
|
-
opacity:
|
|
1244
|
-
cursor:
|
|
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",
|
|
1245
1245
|
transition: "all var(--transition-fast)"
|
|
1246
1246
|
},
|
|
1247
1247
|
onMouseEnter: (u) => {
|
|
1248
|
-
!
|
|
1248
|
+
!n.disabled && !c && (u.currentTarget.style.backgroundColor = l ? "rgba(0,0,0,0.05)" : "var(--accent-color)");
|
|
1249
1249
|
},
|
|
1250
1250
|
onMouseLeave: (u) => {
|
|
1251
|
-
!
|
|
1251
|
+
!n.disabled && !c && (u.currentTarget.style.backgroundColor = "transparent");
|
|
1252
1252
|
},
|
|
1253
|
-
children:
|
|
1253
|
+
children: n.label
|
|
1254
1254
|
},
|
|
1255
|
-
|
|
1255
|
+
n.id
|
|
1256
1256
|
);
|
|
1257
1257
|
})
|
|
1258
1258
|
}
|
|
1259
1259
|
),
|
|
1260
|
-
/* @__PURE__ */ e.jsx("div", { style: { marginTop: "var(--space-lg)" }, children: o.map((
|
|
1260
|
+
/* @__PURE__ */ e.jsx("div", { style: { marginTop: "var(--space-lg)" }, children: o.map((n) => /* @__PURE__ */ e.jsx(
|
|
1261
1261
|
"div",
|
|
1262
1262
|
{
|
|
1263
|
-
id: `panel-${
|
|
1263
|
+
id: `panel-${n.id}`,
|
|
1264
1264
|
role: "tabpanel",
|
|
1265
|
-
hidden:
|
|
1265
|
+
hidden: n.id !== t,
|
|
1266
1266
|
style: {
|
|
1267
|
-
display:
|
|
1267
|
+
display: n.id === t ? "block" : "none"
|
|
1268
1268
|
},
|
|
1269
|
-
children:
|
|
1269
|
+
children: n.content
|
|
1270
1270
|
},
|
|
1271
|
-
|
|
1271
|
+
n.id
|
|
1272
1272
|
)) })
|
|
1273
1273
|
] });
|
|
1274
|
-
},
|
|
1274
|
+
}, Zr = ({
|
|
1275
1275
|
content: o,
|
|
1276
1276
|
children: t,
|
|
1277
1277
|
position: s = "top",
|
|
1278
1278
|
delay: i = 200
|
|
1279
1279
|
}) => {
|
|
1280
|
-
const [
|
|
1280
|
+
const [l, n] = P(!1), c = Ae(null), u = Ae(), f = () => {
|
|
1281
1281
|
u.current = window.setTimeout(() => {
|
|
1282
|
-
|
|
1282
|
+
n(!0);
|
|
1283
1283
|
}, i);
|
|
1284
1284
|
}, j = () => {
|
|
1285
|
-
u.current && clearTimeout(u.current),
|
|
1285
|
+
u.current && clearTimeout(u.current), n(!1);
|
|
1286
1286
|
};
|
|
1287
1287
|
N(() => () => {
|
|
1288
1288
|
u.current && clearTimeout(u.current);
|
|
@@ -1304,7 +1304,7 @@ const Qr = ({
|
|
|
1304
1304
|
onBlur: j,
|
|
1305
1305
|
children: [
|
|
1306
1306
|
t,
|
|
1307
|
-
|
|
1307
|
+
l && /* @__PURE__ */ e.jsxs(
|
|
1308
1308
|
"span",
|
|
1309
1309
|
{
|
|
1310
1310
|
role: "tooltip",
|
|
@@ -1337,7 +1337,7 @@ const Qr = ({
|
|
|
1337
1337
|
]
|
|
1338
1338
|
}
|
|
1339
1339
|
);
|
|
1340
|
-
},
|
|
1340
|
+
}, Er = ({
|
|
1341
1341
|
size: o = "md",
|
|
1342
1342
|
color: t = "var(--primary-color)"
|
|
1343
1343
|
}) => {
|
|
@@ -1376,7 +1376,7 @@ const Qr = ({
|
|
|
1376
1376
|
]
|
|
1377
1377
|
}
|
|
1378
1378
|
);
|
|
1379
|
-
},
|
|
1379
|
+
}, eo = ({
|
|
1380
1380
|
message: o = "Loading..."
|
|
1381
1381
|
}) => /* @__PURE__ */ e.jsxs("div", { style: {
|
|
1382
1382
|
position: "fixed",
|
|
@@ -1392,7 +1392,7 @@ const Qr = ({
|
|
|
1392
1392
|
gap: "var(--space-md)",
|
|
1393
1393
|
zIndex: 1e3
|
|
1394
1394
|
}, children: [
|
|
1395
|
-
/* @__PURE__ */ e.jsx(
|
|
1395
|
+
/* @__PURE__ */ e.jsx(Er, { size: "lg", color: "var(--surface-light)" }),
|
|
1396
1396
|
/* @__PURE__ */ e.jsx("span", { style: {
|
|
1397
1397
|
fontFamily: "var(--font-sans)",
|
|
1398
1398
|
fontSize: "1rem",
|
|
@@ -1404,11 +1404,11 @@ const Qr = ({
|
|
|
1404
1404
|
variant: s = "text",
|
|
1405
1405
|
animation: i = "wave"
|
|
1406
1406
|
}) => {
|
|
1407
|
-
const
|
|
1407
|
+
const l = {
|
|
1408
1408
|
text: { borderRadius: "var(--radius-sm)" },
|
|
1409
1409
|
rect: { borderRadius: "var(--radius-md)" },
|
|
1410
1410
|
circle: { borderRadius: "50%" }
|
|
1411
|
-
},
|
|
1411
|
+
}, n = {
|
|
1412
1412
|
pulse: {
|
|
1413
1413
|
animation: "skeletonPulse 1.5s ease-in-out infinite"
|
|
1414
1414
|
},
|
|
@@ -1426,8 +1426,8 @@ const Qr = ({
|
|
|
1426
1426
|
width: o,
|
|
1427
1427
|
height: t,
|
|
1428
1428
|
backgroundColor: i === "wave" ? void 0 : "var(--secondary-color)",
|
|
1429
|
-
...
|
|
1430
|
-
...
|
|
1429
|
+
...l[s],
|
|
1430
|
+
...n[i]
|
|
1431
1431
|
},
|
|
1432
1432
|
children: /* @__PURE__ */ e.jsx("style", { children: `
|
|
1433
1433
|
@keyframes skeletonPulse {
|
|
@@ -1441,14 +1441,14 @@ const Qr = ({
|
|
|
1441
1441
|
` })
|
|
1442
1442
|
}
|
|
1443
1443
|
);
|
|
1444
|
-
},
|
|
1444
|
+
}, Fr = ({ lines: o = 3 }) => /* @__PURE__ */ e.jsx("div", { style: { display: "flex", flexDirection: "column", gap: "var(--space-sm)" }, children: Array.from({ length: o }).map((t, s) => /* @__PURE__ */ e.jsx(
|
|
1445
1445
|
$e,
|
|
1446
1446
|
{
|
|
1447
1447
|
width: s === o - 1 ? "60%" : "100%",
|
|
1448
1448
|
height: 16
|
|
1449
1449
|
},
|
|
1450
1450
|
s
|
|
1451
|
-
)) }),
|
|
1451
|
+
)) }), ro = () => /* @__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)",
|
|
@@ -1457,20 +1457,20 @@ const Qr = ({
|
|
|
1457
1457
|
gap: "var(--space-md)"
|
|
1458
1458
|
}, children: [
|
|
1459
1459
|
/* @__PURE__ */ e.jsx($e, { height: 24, width: "50%" }),
|
|
1460
|
-
/* @__PURE__ */ e.jsx(
|
|
1461
|
-
] }),
|
|
1460
|
+
/* @__PURE__ */ e.jsx(Fr, { lines: 3 })
|
|
1461
|
+
] }), _r = ({
|
|
1462
1462
|
brand: o,
|
|
1463
1463
|
darkMode: t,
|
|
1464
1464
|
onThemeToggle: s,
|
|
1465
1465
|
onAccountClick: i,
|
|
1466
|
-
onNotificationClick:
|
|
1466
|
+
onNotificationClick: l
|
|
1467
1467
|
}) => {
|
|
1468
|
-
const [
|
|
1468
|
+
const [n, c] = P(!1), [u, f] = P(!1), [j, p] = P(null);
|
|
1469
1469
|
N(() => {
|
|
1470
1470
|
const b = () => c(window.innerWidth < 768);
|
|
1471
1471
|
return b(), window.addEventListener("resize", b), () => window.removeEventListener("resize", b);
|
|
1472
1472
|
}, []);
|
|
1473
|
-
const
|
|
1473
|
+
const x = o.navItems.filter((b) => b.inNavbar !== !1);
|
|
1474
1474
|
return /* @__PURE__ */ e.jsxs("header", { style: {
|
|
1475
1475
|
backgroundColor: "var(--primary-color)",
|
|
1476
1476
|
borderBottom: "4px solid var(--accent-color)",
|
|
@@ -1505,20 +1505,20 @@ const Qr = ({
|
|
|
1505
1505
|
/* @__PURE__ */ e.jsx("h1", { style: {
|
|
1506
1506
|
margin: 0,
|
|
1507
1507
|
fontFamily: "var(--font-serif)",
|
|
1508
|
-
fontSize:
|
|
1508
|
+
fontSize: n ? "1.1rem" : "1.4rem",
|
|
1509
1509
|
fontWeight: 700,
|
|
1510
1510
|
color: "var(--surface-light)",
|
|
1511
1511
|
whiteSpace: "nowrap",
|
|
1512
1512
|
flexShrink: 0
|
|
1513
1513
|
}, children: o.name }),
|
|
1514
|
-
!
|
|
1514
|
+
!n && /* @__PURE__ */ e.jsx("nav", { style: {
|
|
1515
1515
|
display: "flex",
|
|
1516
1516
|
alignItems: "center",
|
|
1517
1517
|
gap: "var(--space-sm)",
|
|
1518
1518
|
flex: 1,
|
|
1519
1519
|
justifyContent: "center"
|
|
1520
|
-
}, children:
|
|
1521
|
-
|
|
1520
|
+
}, children: x.map((b) => /* @__PURE__ */ e.jsx(
|
|
1521
|
+
Ir,
|
|
1522
1522
|
{
|
|
1523
1523
|
item: b,
|
|
1524
1524
|
isActive: j === b.label,
|
|
@@ -1527,24 +1527,24 @@ const Qr = ({
|
|
|
1527
1527
|
},
|
|
1528
1528
|
b.label
|
|
1529
1529
|
)) }),
|
|
1530
|
-
|
|
1530
|
+
n && /* @__PURE__ */ e.jsx("div", { style: { flex: 1 } }),
|
|
1531
1531
|
/* @__PURE__ */ e.jsxs("div", { style: {
|
|
1532
1532
|
display: "flex",
|
|
1533
1533
|
alignItems: "center",
|
|
1534
1534
|
gap: "var(--space-xs)",
|
|
1535
1535
|
flexShrink: 0
|
|
1536
1536
|
}, children: [
|
|
1537
|
-
|
|
1538
|
-
/* @__PURE__ */ e.jsx(Z, { onClick: s, label: "Toggle theme", size: 36, children: t ? /* @__PURE__ */ e.jsx(
|
|
1539
|
-
!
|
|
1540
|
-
/* @__PURE__ */ e.jsx(Z, { onClick: i, label: "Account", size: 40, children: /* @__PURE__ */ e.jsx(
|
|
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, {}) })
|
|
1541
1541
|
] })
|
|
1542
1542
|
] }),
|
|
1543
|
-
|
|
1543
|
+
n && u && /* @__PURE__ */ e.jsx("div", { style: {
|
|
1544
1544
|
backgroundColor: "var(--bg-color)",
|
|
1545
1545
|
borderTop: "1px solid var(--border-color)",
|
|
1546
1546
|
padding: "var(--space-sm)"
|
|
1547
|
-
}, children:
|
|
1547
|
+
}, children: x.map((b) => /* @__PURE__ */ e.jsx(Mr, { item: b, onClose: () => f(!1) }, b.label)) })
|
|
1548
1548
|
] });
|
|
1549
1549
|
}, Z = ({ onClick: o, label: t, size: s = 36, children: i }) => /* @__PURE__ */ e.jsx(
|
|
1550
1550
|
"button",
|
|
@@ -1564,114 +1564,168 @@ const Qr = ({
|
|
|
1564
1564
|
transition: "background var(--transition-fast)",
|
|
1565
1565
|
color: "var(--surface-light)"
|
|
1566
1566
|
},
|
|
1567
|
-
onMouseEnter: (
|
|
1568
|
-
onMouseLeave: (
|
|
1567
|
+
onMouseEnter: (l) => l.currentTarget.style.backgroundColor = "rgba(255,255,255,0.2)",
|
|
1568
|
+
onMouseLeave: (l) => l.currentTarget.style.backgroundColor = "rgba(255,255,255,0.1)",
|
|
1569
1569
|
children: i
|
|
1570
1570
|
}
|
|
1571
|
-
),
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1571
|
+
), Ir = ({ item: o, isActive: t, onHover: s, onLeave: i }) => {
|
|
1572
|
+
const l = () => {
|
|
1573
|
+
o.onClick ? o.onClick() : o.path && (window.location.href = o.path);
|
|
1574
|
+
};
|
|
1575
|
+
return /* @__PURE__ */ e.jsxs(
|
|
1576
|
+
"div",
|
|
1577
|
+
{
|
|
1578
|
+
onMouseEnter: () => o.children && s(o.label),
|
|
1579
|
+
onMouseLeave: i,
|
|
1580
|
+
style: { position: "relative" },
|
|
1581
|
+
children: [
|
|
1582
|
+
o.path && !o.onClick && !o.children ? /* @__PURE__ */ e.jsx(
|
|
1583
|
+
"a",
|
|
1584
|
+
{
|
|
1585
|
+
href: o.path,
|
|
1586
|
+
style: {
|
|
1587
|
+
background: "none",
|
|
1588
|
+
border: "none",
|
|
1589
|
+
color: "var(--surface-light)",
|
|
1590
|
+
cursor: "pointer",
|
|
1591
|
+
fontFamily: "var(--font-sans)",
|
|
1592
|
+
fontWeight: 500,
|
|
1593
|
+
fontSize: "0.9rem",
|
|
1594
|
+
padding: "var(--space-xs) var(--space-sm)",
|
|
1595
|
+
borderRadius: "var(--radius-sm)",
|
|
1596
|
+
transition: "background var(--transition-fast)",
|
|
1597
|
+
textDecoration: "none",
|
|
1598
|
+
display: "inline-block"
|
|
1599
|
+
},
|
|
1600
|
+
onMouseEnter: (n) => n.currentTarget.style.backgroundColor = "rgba(255,255,255,0.1)",
|
|
1601
|
+
onMouseLeave: (n) => n.currentTarget.style.backgroundColor = "transparent",
|
|
1602
|
+
children: o.label
|
|
1603
|
+
}
|
|
1604
|
+
) : /* @__PURE__ */ e.jsxs(
|
|
1605
|
+
"button",
|
|
1606
|
+
{
|
|
1607
|
+
onClick: l,
|
|
1608
|
+
style: {
|
|
1609
|
+
background: "none",
|
|
1610
|
+
border: "none",
|
|
1611
|
+
color: "var(--surface-light)",
|
|
1612
|
+
cursor: "pointer",
|
|
1613
|
+
fontFamily: "var(--font-sans)",
|
|
1614
|
+
fontWeight: 500,
|
|
1615
|
+
fontSize: "0.9rem",
|
|
1616
|
+
padding: "var(--space-xs) var(--space-sm)",
|
|
1617
|
+
borderRadius: "var(--radius-sm)",
|
|
1618
|
+
transition: "background var(--transition-fast)"
|
|
1619
|
+
},
|
|
1620
|
+
onMouseEnter: (n) => n.currentTarget.style.backgroundColor = "rgba(255,255,255,0.1)",
|
|
1621
|
+
onMouseLeave: (n) => n.currentTarget.style.backgroundColor = "transparent",
|
|
1622
|
+
children: [
|
|
1623
|
+
o.label,
|
|
1624
|
+
" ",
|
|
1625
|
+
o.children && "▾"
|
|
1626
|
+
]
|
|
1627
|
+
}
|
|
1628
|
+
),
|
|
1629
|
+
o.children && t && /* @__PURE__ */ e.jsx("div", { style: {
|
|
1630
|
+
position: "absolute",
|
|
1631
|
+
top: "100%",
|
|
1632
|
+
left: "50%",
|
|
1633
|
+
transform: "translateX(-50%)",
|
|
1634
|
+
backgroundColor: "var(--bg-color)",
|
|
1635
|
+
minWidth: 160,
|
|
1636
|
+
boxShadow: "var(--shadow-lg)",
|
|
1637
|
+
borderRadius: "var(--radius-md)",
|
|
1638
|
+
padding: "var(--space-xs) 0",
|
|
1639
|
+
zIndex: 200,
|
|
1640
|
+
marginTop: 4
|
|
1641
|
+
}, children: o.children.map((n) => n.path ? /* @__PURE__ */ e.jsx(
|
|
1642
|
+
"a",
|
|
1643
|
+
{
|
|
1644
|
+
href: n.path,
|
|
1645
|
+
style: {
|
|
1646
|
+
display: "block",
|
|
1647
|
+
width: "100%",
|
|
1648
|
+
padding: "var(--space-sm) var(--space-md)",
|
|
1649
|
+
border: "none",
|
|
1650
|
+
background: "none",
|
|
1651
|
+
textAlign: "left",
|
|
1652
|
+
cursor: "pointer",
|
|
1653
|
+
fontFamily: "var(--font-sans)",
|
|
1654
|
+
fontSize: "0.9rem",
|
|
1655
|
+
color: "var(--text-color)",
|
|
1656
|
+
transition: "background var(--transition-fast)",
|
|
1657
|
+
textDecoration: "none"
|
|
1658
|
+
},
|
|
1659
|
+
onMouseEnter: (c) => c.currentTarget.style.backgroundColor = "var(--secondary-color)",
|
|
1660
|
+
onMouseLeave: (c) => c.currentTarget.style.backgroundColor = "transparent",
|
|
1661
|
+
children: n.label
|
|
1593
1662
|
},
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
}, children: o.children.map((n) => /* @__PURE__ */ e.jsx(
|
|
1616
|
-
"button",
|
|
1617
|
-
{
|
|
1618
|
-
onClick: n.onClick,
|
|
1619
|
-
style: {
|
|
1620
|
-
display: "block",
|
|
1621
|
-
width: "100%",
|
|
1622
|
-
padding: "var(--space-sm) var(--space-md)",
|
|
1623
|
-
border: "none",
|
|
1624
|
-
background: "none",
|
|
1625
|
-
textAlign: "left",
|
|
1626
|
-
cursor: "pointer",
|
|
1627
|
-
fontFamily: "var(--font-sans)",
|
|
1628
|
-
fontSize: "0.9rem",
|
|
1629
|
-
color: "var(--text-color)",
|
|
1630
|
-
transition: "background var(--transition-fast)"
|
|
1663
|
+
n.label
|
|
1664
|
+
) : /* @__PURE__ */ e.jsx(
|
|
1665
|
+
"button",
|
|
1666
|
+
{
|
|
1667
|
+
onClick: n.onClick,
|
|
1668
|
+
style: {
|
|
1669
|
+
display: "block",
|
|
1670
|
+
width: "100%",
|
|
1671
|
+
padding: "var(--space-sm) var(--space-md)",
|
|
1672
|
+
border: "none",
|
|
1673
|
+
background: "none",
|
|
1674
|
+
textAlign: "left",
|
|
1675
|
+
cursor: "pointer",
|
|
1676
|
+
fontFamily: "var(--font-sans)",
|
|
1677
|
+
fontSize: "0.9rem",
|
|
1678
|
+
color: "var(--text-color)",
|
|
1679
|
+
transition: "background var(--transition-fast)"
|
|
1680
|
+
},
|
|
1681
|
+
onMouseEnter: (c) => c.currentTarget.style.backgroundColor = "var(--secondary-color)",
|
|
1682
|
+
onMouseLeave: (c) => c.currentTarget.style.backgroundColor = "transparent",
|
|
1683
|
+
children: n.label
|
|
1631
1684
|
},
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
)
|
|
1685
|
+
n.label
|
|
1686
|
+
)) })
|
|
1687
|
+
]
|
|
1688
|
+
}
|
|
1689
|
+
);
|
|
1690
|
+
}, Mr = ({ item: o, onClose: t }) => {
|
|
1691
|
+
const s = {
|
|
1692
|
+
display: "block",
|
|
1693
|
+
width: "100%",
|
|
1694
|
+
padding: "var(--space-sm) var(--space-md)",
|
|
1695
|
+
border: "none",
|
|
1696
|
+
background: "none",
|
|
1697
|
+
textAlign: "left",
|
|
1698
|
+
cursor: "pointer",
|
|
1699
|
+
fontFamily: "var(--font-sans)",
|
|
1700
|
+
fontWeight: 500,
|
|
1701
|
+
fontSize: "0.95rem",
|
|
1702
|
+
color: "var(--text-color)",
|
|
1703
|
+
borderRadius: "var(--radius-sm)",
|
|
1704
|
+
textDecoration: "none"
|
|
1705
|
+
};
|
|
1706
|
+
return o.path && !o.onClick ? /* @__PURE__ */ e.jsx("a", { href: o.path, style: s, onClick: t, children: o.label }) : /* @__PURE__ */ e.jsx(
|
|
1707
|
+
"button",
|
|
1708
|
+
{
|
|
1709
|
+
onClick: () => {
|
|
1710
|
+
var i;
|
|
1711
|
+
(i = o.onClick) == null || i.call(o), t();
|
|
1712
|
+
},
|
|
1713
|
+
style: s,
|
|
1714
|
+
children: o.label
|
|
1715
|
+
}
|
|
1716
|
+
);
|
|
1717
|
+
}, Dr = () => /* @__PURE__ */ e.jsxs("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
|
|
1664
1718
|
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "5" }),
|
|
1665
1719
|
/* @__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" })
|
|
1666
|
-
] }),
|
|
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: [
|
|
1667
1721
|
/* @__PURE__ */ e.jsx("path", { d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" }),
|
|
1668
1722
|
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "7", r: "4" })
|
|
1669
|
-
] }),
|
|
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 = ({
|
|
1670
1724
|
copyrightBrand: o,
|
|
1671
1725
|
yearCreated: t,
|
|
1672
1726
|
poweredBy: s
|
|
1673
1727
|
}) => {
|
|
1674
|
-
const i = (/* @__PURE__ */ new Date()).getFullYear(),
|
|
1728
|
+
const i = (/* @__PURE__ */ new Date()).getFullYear(), l = t === i ? i.toString() : `${t}-${i}`;
|
|
1675
1729
|
return /* @__PURE__ */ e.jsx("footer", { style: {
|
|
1676
1730
|
backgroundColor: "var(--primary-color)",
|
|
1677
1731
|
color: "var(--bg-color)",
|
|
@@ -1693,7 +1747,7 @@ const Qr = ({
|
|
|
1693
1747
|
opacity: 0.8
|
|
1694
1748
|
}, children: [
|
|
1695
1749
|
"© ",
|
|
1696
|
-
|
|
1750
|
+
l,
|
|
1697
1751
|
" ",
|
|
1698
1752
|
o,
|
|
1699
1753
|
". All rights reserved."
|
|
@@ -1709,67 +1763,24 @@ const Qr = ({
|
|
|
1709
1763
|
/* @__PURE__ */ e.jsx("span", { style: { color: "var(--org-color)", fontWeight: 600 }, children: s })
|
|
1710
1764
|
] })
|
|
1711
1765
|
] }) });
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
|
-
.mobile-ad-banner {
|
|
1715
|
-
display: none;
|
|
1716
|
-
}
|
|
1717
|
-
@media (max-width: 1200px) {
|
|
1718
|
-
.mobile-ad-banner {
|
|
1719
|
-
display: block;
|
|
1720
|
-
position: sticky;
|
|
1721
|
-
bottom: 0;
|
|
1722
|
-
left: 0;
|
|
1723
|
-
right: 0;
|
|
1724
|
-
padding: 8px;
|
|
1725
|
-
background-color: var(--bg-color);
|
|
1726
|
-
border-top: 2px solid var(--border-color);
|
|
1727
|
-
text-align: center;
|
|
1728
|
-
margin-top: auto;
|
|
1729
|
-
}
|
|
1730
|
-
}
|
|
1731
|
-
` }),
|
|
1732
|
-
/* @__PURE__ */ e.jsx("div", { className: "mobile-ad-banner", children: /* @__PURE__ */ e.jsx(
|
|
1733
|
-
"div",
|
|
1734
|
-
{
|
|
1735
|
-
"data-ad-slot": "mobile-banner",
|
|
1736
|
-
style: {
|
|
1737
|
-
width: "100%",
|
|
1738
|
-
maxWidth: 468,
|
|
1739
|
-
height: 60,
|
|
1740
|
-
margin: "0 auto",
|
|
1741
|
-
backgroundColor: "var(--secondary-color)",
|
|
1742
|
-
border: "2px dashed var(--border-color)",
|
|
1743
|
-
borderRadius: "4px",
|
|
1744
|
-
display: "flex",
|
|
1745
|
-
alignItems: "center",
|
|
1746
|
-
justifyContent: "center",
|
|
1747
|
-
fontFamily: "var(--font-sans)",
|
|
1748
|
-
fontSize: "0.8rem",
|
|
1749
|
-
color: "var(--text-color)",
|
|
1750
|
-
opacity: 0.6
|
|
1751
|
-
},
|
|
1752
|
-
children: "Ad (468×60)"
|
|
1753
|
-
}
|
|
1754
|
-
) })
|
|
1755
|
-
] });
|
|
1756
|
-
function $r(o) {
|
|
1766
|
+
};
|
|
1767
|
+
function Br(o) {
|
|
1757
1768
|
const [t, s] = P(() => {
|
|
1758
1769
|
if (typeof window > "u") return !1;
|
|
1759
|
-
const
|
|
1760
|
-
return
|
|
1770
|
+
const l = localStorage.getItem("theme-mode");
|
|
1771
|
+
return l ? l === "dark" : o.theme.defaultTheme === "dark" ? !0 : o.theme.defaultTheme === "auto" ? window.matchMedia("(prefers-color-scheme: dark)").matches : !1;
|
|
1761
1772
|
});
|
|
1762
1773
|
N(() => {
|
|
1763
|
-
|
|
1774
|
+
Or(o.theme);
|
|
1764
1775
|
}, [o.theme]), N(() => {
|
|
1765
1776
|
document.body.classList.toggle("dark-mode", t), localStorage.setItem("theme-mode", t ? "dark" : "light");
|
|
1766
1777
|
}, [t]);
|
|
1767
|
-
const i =
|
|
1768
|
-
s((
|
|
1778
|
+
const i = Cr(() => {
|
|
1779
|
+
s((l) => !l);
|
|
1769
1780
|
}, []);
|
|
1770
1781
|
return { darkMode: t, toggleDarkMode: i };
|
|
1771
1782
|
}
|
|
1772
|
-
function
|
|
1783
|
+
function Or(o) {
|
|
1773
1784
|
const t = document.documentElement;
|
|
1774
1785
|
t.style.setProperty("--primary-color", o.primaryColor), t.style.setProperty("--secondary-color", o.secondaryColor), t.style.setProperty("--accent-color", o.accentColor), o.surfaceLight && t.style.setProperty("--surface-light", o.surfaceLight), o.surfaceDark && t.style.setProperty("--surface-dark", o.surfaceDark), o.textLight && t.style.setProperty("--text-light", o.textLight), o.textDark && t.style.setProperty("--text-dark", o.textDark);
|
|
1775
1786
|
}
|
|
@@ -1779,25 +1790,22 @@ const U = ({
|
|
|
1779
1790
|
onAccountClick: s,
|
|
1780
1791
|
onNotificationClick: i
|
|
1781
1792
|
}) => {
|
|
1782
|
-
const { darkMode:
|
|
1793
|
+
const { darkMode: l, toggleDarkMode: n } = Br(o);
|
|
1783
1794
|
return /* @__PURE__ */ e.jsxs("div", { className: "shell", style: { display: "flex", flexDirection: "column", minHeight: "100vh" }, children: [
|
|
1784
1795
|
/* @__PURE__ */ e.jsx(
|
|
1785
|
-
|
|
1796
|
+
_r,
|
|
1786
1797
|
{
|
|
1787
1798
|
brand: o,
|
|
1788
|
-
darkMode:
|
|
1789
|
-
onThemeToggle:
|
|
1799
|
+
darkMode: l,
|
|
1800
|
+
onThemeToggle: n,
|
|
1790
1801
|
onAccountClick: s,
|
|
1791
1802
|
onNotificationClick: i
|
|
1792
1803
|
}
|
|
1793
1804
|
),
|
|
1794
|
-
/* @__PURE__ */ e.
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
}, children: t }),
|
|
1799
|
-
/* @__PURE__ */ e.jsx(Or, {})
|
|
1800
|
-
] }),
|
|
1805
|
+
/* @__PURE__ */ e.jsx("div", { style: { flex: 1, display: "flex", flexDirection: "column" }, children: /* @__PURE__ */ e.jsx("main", { style: {
|
|
1806
|
+
flex: 1,
|
|
1807
|
+
backgroundColor: "var(--bg-color)"
|
|
1808
|
+
}, children: t }) }),
|
|
1801
1809
|
/* @__PURE__ */ e.jsx(
|
|
1802
1810
|
Lr,
|
|
1803
1811
|
{
|
|
@@ -1826,20 +1834,20 @@ const U = ({
|
|
|
1826
1834
|
fontFamily: "var(--font-sans)",
|
|
1827
1835
|
fontSize: "0.9rem",
|
|
1828
1836
|
fontWeight: 600
|
|
1829
|
-
}, children: s.map((
|
|
1830
|
-
|
|
1831
|
-
|
|
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: "/" }),
|
|
1839
|
+
l.path ? /* @__PURE__ */ e.jsx(
|
|
1832
1840
|
"a",
|
|
1833
1841
|
{
|
|
1834
|
-
href:
|
|
1842
|
+
href: l.path,
|
|
1835
1843
|
style: {
|
|
1836
1844
|
color: "var(--accent-color)",
|
|
1837
1845
|
textDecoration: "none"
|
|
1838
1846
|
},
|
|
1839
|
-
children:
|
|
1847
|
+
children: l.label
|
|
1840
1848
|
}
|
|
1841
|
-
) : /* @__PURE__ */ e.jsx("span", { style: { color: "var(--surface-light)", opacity: 0.8 }, children:
|
|
1842
|
-
] },
|
|
1849
|
+
) : /* @__PURE__ */ e.jsx("span", { style: { color: "var(--surface-light)", opacity: 0.8 }, children: l.label })
|
|
1850
|
+
] }, l.label)) }),
|
|
1843
1851
|
/* @__PURE__ */ e.jsx("h1", { style: {
|
|
1844
1852
|
margin: 0,
|
|
1845
1853
|
fontFamily: "var(--font-serif)",
|
|
@@ -1943,10 +1951,10 @@ const U = ({
|
|
|
1943
1951
|
gridTemplateColumns: `repeat(${t}, 1fr)`,
|
|
1944
1952
|
gap: "var(--space-md)"
|
|
1945
1953
|
},
|
|
1946
|
-
children: s.map((i) => /* @__PURE__ */ e.jsx(
|
|
1954
|
+
children: s.map((i) => /* @__PURE__ */ e.jsx($r, { ...i }, i.label))
|
|
1947
1955
|
}
|
|
1948
1956
|
) });
|
|
1949
|
-
},
|
|
1957
|
+
}, $r = ({
|
|
1950
1958
|
label: o,
|
|
1951
1959
|
value: t,
|
|
1952
1960
|
icon: s
|
|
@@ -1997,12 +2005,12 @@ const ee = ({
|
|
|
1997
2005
|
items: t,
|
|
1998
2006
|
basePath: s,
|
|
1999
2007
|
emptyMessage: i = "No items found",
|
|
2000
|
-
showSearch:
|
|
2001
|
-
initialLimit:
|
|
2008
|
+
showSearch: l = !0,
|
|
2009
|
+
initialLimit: n = 30
|
|
2002
2010
|
}) => {
|
|
2003
2011
|
const [c, u] = P(""), [f, j] = P(!1), p = t.filter(
|
|
2004
2012
|
(C) => C.name.toLowerCase().includes(c.toLowerCase())
|
|
2005
|
-
),
|
|
2013
|
+
), x = f || c.length > 0, b = x ? p : p.slice(0, n), I = p.length > n && !x;
|
|
2006
2014
|
return /* @__PURE__ */ e.jsx("section", { style: {
|
|
2007
2015
|
marginBottom: "var(--space-lg)"
|
|
2008
2016
|
}, children: /* @__PURE__ */ e.jsxs("div", { children: [
|
|
@@ -2031,7 +2039,7 @@ const ee = ({
|
|
|
2031
2039
|
")"
|
|
2032
2040
|
] })
|
|
2033
2041
|
] }),
|
|
2034
|
-
|
|
2042
|
+
l && t.length > 10 && /* @__PURE__ */ e.jsx(
|
|
2035
2043
|
"input",
|
|
2036
2044
|
{
|
|
2037
2045
|
type: "text",
|
|
@@ -2137,7 +2145,7 @@ const ee = ({
|
|
|
2137
2145
|
onMouseLeave: (C) => {
|
|
2138
2146
|
C.currentTarget.style.opacity = "1";
|
|
2139
2147
|
},
|
|
2140
|
-
children: f ? "Show less" : `+${p.length -
|
|
2148
|
+
children: f ? "Show less" : `+${p.length - n} more`
|
|
2141
2149
|
}
|
|
2142
2150
|
)
|
|
2143
2151
|
] }) })
|
|
@@ -2181,15 +2189,15 @@ const ee = ({
|
|
|
2181
2189
|
display: "flex",
|
|
2182
2190
|
flexDirection: "column",
|
|
2183
2191
|
gap: "var(--space-sm)"
|
|
2184
|
-
}, children: t.map((
|
|
2185
|
-
|
|
2192
|
+
}, children: t.map((l) => /* @__PURE__ */ e.jsx(
|
|
2193
|
+
Yr,
|
|
2186
2194
|
{
|
|
2187
|
-
event:
|
|
2195
|
+
event: l,
|
|
2188
2196
|
showAgencyBadge: i
|
|
2189
2197
|
},
|
|
2190
|
-
|
|
2198
|
+
l.eventId
|
|
2191
2199
|
)) })
|
|
2192
|
-
] }) }),
|
|
2200
|
+
] }) }), Yr = ({
|
|
2193
2201
|
event: o,
|
|
2194
2202
|
showAgencyBadge: t
|
|
2195
2203
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -2249,7 +2257,7 @@ const ee = ({
|
|
|
2249
2257
|
fontSize: "0.85rem",
|
|
2250
2258
|
color: "var(--text-color)",
|
|
2251
2259
|
opacity: 0.6
|
|
2252
|
-
}, children:
|
|
2260
|
+
}, children: Nr(o.eventDate) }),
|
|
2253
2261
|
(o.city || o.state) && /* @__PURE__ */ e.jsx("span", { style: {
|
|
2254
2262
|
fontFamily: "var(--font-sans)",
|
|
2255
2263
|
fontSize: "0.85rem",
|
|
@@ -2280,7 +2288,7 @@ const ee = ({
|
|
|
2280
2288
|
] })
|
|
2281
2289
|
}
|
|
2282
2290
|
);
|
|
2283
|
-
function
|
|
2291
|
+
function Nr(o) {
|
|
2284
2292
|
try {
|
|
2285
2293
|
return new Date(o).toLocaleDateString("en-US", {
|
|
2286
2294
|
year: "numeric",
|
|
@@ -2291,7 +2299,7 @@ function Hr(o) {
|
|
|
2291
2299
|
return o;
|
|
2292
2300
|
}
|
|
2293
2301
|
}
|
|
2294
|
-
const
|
|
2302
|
+
const oo = ({
|
|
2295
2303
|
position: o,
|
|
2296
2304
|
width: t,
|
|
2297
2305
|
height: s
|
|
@@ -2301,14 +2309,14 @@ const Ye = ({
|
|
|
2301
2309
|
"left-sidebar": { width: t ?? "100%", height: s ?? 200 },
|
|
2302
2310
|
banner: { width: t ?? "100%", height: s ?? 90 },
|
|
2303
2311
|
inline: { width: t ?? "100%", height: s ?? 120 }
|
|
2304
|
-
}, { width:
|
|
2312
|
+
}, { width: l, height: n } = i[o];
|
|
2305
2313
|
return /* @__PURE__ */ e.jsxs(
|
|
2306
2314
|
"div",
|
|
2307
2315
|
{
|
|
2308
2316
|
"data-ad-slot": o,
|
|
2309
2317
|
style: {
|
|
2310
|
-
width:
|
|
2311
|
-
height:
|
|
2318
|
+
width: l,
|
|
2319
|
+
height: n,
|
|
2312
2320
|
backgroundColor: "var(--secondary-color)",
|
|
2313
2321
|
border: "2px dashed var(--border-color)",
|
|
2314
2322
|
borderRadius: "var(--radius-md)",
|
|
@@ -2328,196 +2336,230 @@ const Ye = ({
|
|
|
2328
2336
|
}
|
|
2329
2337
|
);
|
|
2330
2338
|
}, X = ({
|
|
2331
|
-
meta: o
|
|
2332
|
-
showAd: t = !0
|
|
2339
|
+
meta: o
|
|
2333
2340
|
}) => {
|
|
2334
|
-
if (!o
|
|
2335
|
-
const
|
|
2341
|
+
if (!o) return null;
|
|
2342
|
+
const t = o ? [
|
|
2336
2343
|
o.population && { label: "Population", value: o.population.toLocaleString() },
|
|
2337
2344
|
o.industry && { label: "Industry", value: o.industry },
|
|
2338
2345
|
o.founded && { label: "Founded", value: o.founded },
|
|
2339
2346
|
o.headquarters && { label: "HQ", value: o.headquarters }
|
|
2340
2347
|
].filter(Boolean) : [];
|
|
2341
|
-
return /* @__PURE__ */ e.
|
|
2348
|
+
return /* @__PURE__ */ e.jsx("aside", { className: "page-sidebar", style: {
|
|
2342
2349
|
display: "flex",
|
|
2343
2350
|
flexDirection: "column",
|
|
2344
2351
|
gap: "var(--space-md)"
|
|
2352
|
+
}, children: t.length > 0 && /* @__PURE__ */ e.jsxs("div", { style: {
|
|
2353
|
+
padding: "var(--space-lg)",
|
|
2354
|
+
backgroundColor: "var(--bg-color)",
|
|
2355
|
+
border: "2px solid var(--border-color)",
|
|
2356
|
+
borderRadius: "var(--radius-md)"
|
|
2345
2357
|
}, children: [
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
borderRadius: "var(--radius-md)"
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
}
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
}
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
/* @__PURE__ */ e.jsx("dl", { style: { margin: 0 }, children: s.map(({ label: i, value: n }) => /* @__PURE__ */ e.jsxs(
|
|
2388
|
-
"div",
|
|
2389
|
-
{
|
|
2390
|
-
style: {
|
|
2391
|
-
padding: "var(--space-sm) 0",
|
|
2392
|
-
borderBottom: "1px solid var(--border-color)"
|
|
2393
|
-
},
|
|
2394
|
-
children: [
|
|
2395
|
-
/* @__PURE__ */ e.jsx("dt", { style: {
|
|
2396
|
-
fontFamily: "var(--font-sans)",
|
|
2397
|
-
fontSize: "0.75rem",
|
|
2398
|
-
color: "var(--text-color)",
|
|
2399
|
-
opacity: 0.6,
|
|
2400
|
-
textTransform: "uppercase",
|
|
2401
|
-
letterSpacing: "0.5px",
|
|
2402
|
-
marginBottom: "2px"
|
|
2403
|
-
}, children: i }),
|
|
2404
|
-
/* @__PURE__ */ e.jsx("dd", { style: {
|
|
2405
|
-
margin: 0,
|
|
2406
|
-
fontFamily: "var(--font-sans)",
|
|
2407
|
-
fontSize: "0.9rem",
|
|
2408
|
-
fontWeight: 600,
|
|
2409
|
-
color: "var(--text-color)"
|
|
2410
|
-
}, children: n })
|
|
2411
|
-
]
|
|
2358
|
+
(o == null ? void 0 : o.logoUrl) && /* @__PURE__ */ e.jsx("div", { style: {
|
|
2359
|
+
width: 80,
|
|
2360
|
+
height: 80,
|
|
2361
|
+
margin: "0 auto var(--space-md)",
|
|
2362
|
+
borderRadius: "var(--radius-md)",
|
|
2363
|
+
overflow: "hidden",
|
|
2364
|
+
backgroundColor: "white",
|
|
2365
|
+
display: "flex",
|
|
2366
|
+
alignItems: "center",
|
|
2367
|
+
justifyContent: "center"
|
|
2368
|
+
}, children: /* @__PURE__ */ e.jsx(
|
|
2369
|
+
"img",
|
|
2370
|
+
{
|
|
2371
|
+
src: o.logoUrl,
|
|
2372
|
+
alt: "",
|
|
2373
|
+
style: { maxWidth: "100%", maxHeight: "100%" }
|
|
2374
|
+
}
|
|
2375
|
+
) }),
|
|
2376
|
+
(o == null ? void 0 : o.flagUrl) && /* @__PURE__ */ e.jsx("div", { style: {
|
|
2377
|
+
width: "100%",
|
|
2378
|
+
margin: "0 auto var(--space-md)",
|
|
2379
|
+
borderRadius: "var(--radius-sm)",
|
|
2380
|
+
overflow: "hidden",
|
|
2381
|
+
display: "flex",
|
|
2382
|
+
alignItems: "center",
|
|
2383
|
+
justifyContent: "center",
|
|
2384
|
+
border: "1px solid var(--border-color)"
|
|
2385
|
+
}, children: /* @__PURE__ */ e.jsx(
|
|
2386
|
+
"img",
|
|
2387
|
+
{
|
|
2388
|
+
src: o.flagUrl,
|
|
2389
|
+
alt: "",
|
|
2390
|
+
style: { width: "100%", height: "auto", display: "block" }
|
|
2391
|
+
}
|
|
2392
|
+
) }),
|
|
2393
|
+
/* @__PURE__ */ e.jsx("dl", { style: { margin: 0 }, children: t.map(({ label: s, value: i }) => /* @__PURE__ */ e.jsxs(
|
|
2394
|
+
"div",
|
|
2395
|
+
{
|
|
2396
|
+
style: {
|
|
2397
|
+
padding: "var(--space-sm) 0",
|
|
2398
|
+
borderBottom: "1px solid var(--border-color)"
|
|
2412
2399
|
},
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2400
|
+
children: [
|
|
2401
|
+
/* @__PURE__ */ e.jsx("dt", { style: {
|
|
2402
|
+
fontFamily: "var(--font-sans)",
|
|
2403
|
+
fontSize: "0.75rem",
|
|
2404
|
+
color: "var(--text-color)",
|
|
2405
|
+
opacity: 0.6,
|
|
2406
|
+
textTransform: "uppercase",
|
|
2407
|
+
letterSpacing: "0.5px",
|
|
2408
|
+
marginBottom: "2px"
|
|
2409
|
+
}, children: s }),
|
|
2410
|
+
/* @__PURE__ */ e.jsx("dd", { style: {
|
|
2411
|
+
margin: 0,
|
|
2412
|
+
fontFamily: "var(--font-sans)",
|
|
2413
|
+
fontSize: "0.9rem",
|
|
2414
|
+
fontWeight: 600,
|
|
2415
|
+
color: "var(--text-color)"
|
|
2416
|
+
}, children: i })
|
|
2417
|
+
]
|
|
2418
|
+
},
|
|
2419
|
+
s
|
|
2420
|
+
)) })
|
|
2421
|
+
] }) });
|
|
2422
|
+
}, q = () => /* @__PURE__ */ e.jsx("aside", { className: "page-filters", style: {
|
|
2421
2423
|
display: "flex",
|
|
2422
2424
|
flexDirection: "column",
|
|
2423
2425
|
gap: "var(--space-md)"
|
|
2426
|
+
}, children: /* @__PURE__ */ e.jsxs("div", { style: {
|
|
2427
|
+
padding: "var(--space-md)",
|
|
2428
|
+
backgroundColor: "var(--bg-color)",
|
|
2429
|
+
border: "2px solid var(--border-color)",
|
|
2430
|
+
borderRadius: "var(--radius-md)"
|
|
2424
2431
|
}, children: [
|
|
2425
|
-
/* @__PURE__ */ e.
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
}, children:
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
fontSize: "
|
|
2432
|
+
/* @__PURE__ */ e.jsx("h3", { style: {
|
|
2433
|
+
margin: "0 0 var(--space-md)",
|
|
2434
|
+
fontFamily: "var(--font-serif)",
|
|
2435
|
+
fontSize: "1.1rem",
|
|
2436
|
+
color: "var(--text-color)"
|
|
2437
|
+
}, children: "Filters" }),
|
|
2438
|
+
/* @__PURE__ */ e.jsxs("div", { style: { marginBottom: "var(--space-md)" }, children: [
|
|
2439
|
+
/* @__PURE__ */ e.jsx("label", { style: {
|
|
2440
|
+
display: "block",
|
|
2441
|
+
fontSize: "0.85rem",
|
|
2442
|
+
fontWeight: 500,
|
|
2443
|
+
marginBottom: "var(--space-xs)",
|
|
2435
2444
|
color: "var(--text-color)"
|
|
2436
|
-
}, children: "
|
|
2437
|
-
/* @__PURE__ */ e.jsxs("
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2445
|
+
}, children: "Date Range" }),
|
|
2446
|
+
/* @__PURE__ */ e.jsxs("select", { style: {
|
|
2447
|
+
width: "100%",
|
|
2448
|
+
padding: "var(--space-sm)",
|
|
2449
|
+
borderRadius: "var(--radius-sm)",
|
|
2450
|
+
border: "1px solid var(--border-color)",
|
|
2451
|
+
backgroundColor: "var(--bg-color)",
|
|
2452
|
+
color: "var(--text-color)",
|
|
2453
|
+
fontSize: "0.9rem"
|
|
2454
|
+
}, children: [
|
|
2455
|
+
/* @__PURE__ */ e.jsx("option", { children: "All Time" }),
|
|
2456
|
+
/* @__PURE__ */ e.jsx("option", { children: "Last Year" }),
|
|
2457
|
+
/* @__PURE__ */ e.jsx("option", { children: "Last 5 Years" }),
|
|
2458
|
+
/* @__PURE__ */ e.jsx("option", { children: "Last 10 Years" })
|
|
2459
|
+
] })
|
|
2460
|
+
] }),
|
|
2461
|
+
/* @__PURE__ */ e.jsxs("div", { style: { marginBottom: "var(--space-md)" }, children: [
|
|
2462
|
+
/* @__PURE__ */ e.jsx("label", { style: {
|
|
2463
|
+
display: "block",
|
|
2464
|
+
fontSize: "0.85rem",
|
|
2465
|
+
fontWeight: 500,
|
|
2466
|
+
marginBottom: "var(--space-xs)",
|
|
2467
|
+
color: "var(--text-color)"
|
|
2468
|
+
}, children: "Severity" }),
|
|
2469
|
+
/* @__PURE__ */ e.jsx("div", { style: { display: "flex", flexDirection: "column", gap: "var(--space-xs)" }, children: ["All", "Fatalities", "Hospitalizations", "Amputations"].map((o) => /* @__PURE__ */ e.jsxs("label", { style: {
|
|
2470
|
+
display: "flex",
|
|
2471
|
+
alignItems: "center",
|
|
2472
|
+
gap: "var(--space-xs)",
|
|
2473
|
+
fontSize: "0.85rem",
|
|
2474
|
+
cursor: "pointer"
|
|
2475
|
+
}, children: [
|
|
2476
|
+
/* @__PURE__ */ e.jsx(
|
|
2477
|
+
"input",
|
|
2478
|
+
{
|
|
2479
|
+
type: "checkbox",
|
|
2480
|
+
defaultChecked: o === "All",
|
|
2481
|
+
style: { accentColor: "var(--primary-color)" }
|
|
2482
|
+
}
|
|
2483
|
+
),
|
|
2484
|
+
o
|
|
2485
|
+
] }, o)) })
|
|
2486
|
+
] }),
|
|
2487
|
+
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
2488
|
+
/* @__PURE__ */ e.jsx("label", { style: {
|
|
2489
|
+
display: "block",
|
|
2490
|
+
fontSize: "0.85rem",
|
|
2491
|
+
fontWeight: 500,
|
|
2492
|
+
marginBottom: "var(--space-xs)",
|
|
2493
|
+
color: "var(--text-color)"
|
|
2494
|
+
}, children: "Sort By" }),
|
|
2495
|
+
/* @__PURE__ */ e.jsxs("select", { style: {
|
|
2496
|
+
width: "100%",
|
|
2497
|
+
padding: "var(--space-sm)",
|
|
2498
|
+
borderRadius: "var(--radius-sm)",
|
|
2499
|
+
border: "1px solid var(--border-color)",
|
|
2500
|
+
backgroundColor: "var(--bg-color)",
|
|
2501
|
+
color: "var(--text-color)",
|
|
2502
|
+
fontSize: "0.9rem"
|
|
2503
|
+
}, children: [
|
|
2504
|
+
/* @__PURE__ */ e.jsx("option", { children: "Most Incidents" }),
|
|
2505
|
+
/* @__PURE__ */ e.jsx("option", { children: "Most Recent" }),
|
|
2506
|
+
/* @__PURE__ */ e.jsx("option", { children: "Highest Fines" }),
|
|
2507
|
+
/* @__PURE__ */ e.jsx("option", { children: "Alphabetical" })
|
|
2508
|
+
] })
|
|
2509
|
+
] })
|
|
2510
|
+
] }) }), to = () => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2511
|
+
/* @__PURE__ */ e.jsx("style", { children: `
|
|
2512
|
+
.mobile-ad-banner {
|
|
2513
|
+
display: none;
|
|
2514
|
+
}
|
|
2515
|
+
@media (max-width: 1200px) {
|
|
2516
|
+
.mobile-ad-banner {
|
|
2517
|
+
display: block;
|
|
2518
|
+
position: sticky;
|
|
2519
|
+
bottom: 0;
|
|
2520
|
+
left: 0;
|
|
2521
|
+
right: 0;
|
|
2522
|
+
padding: 8px;
|
|
2523
|
+
background-color: var(--bg-color);
|
|
2524
|
+
border-top: 2px solid var(--border-color);
|
|
2525
|
+
text-align: center;
|
|
2526
|
+
margin-top: auto;
|
|
2527
|
+
}
|
|
2528
|
+
}
|
|
2529
|
+
` }),
|
|
2530
|
+
/* @__PURE__ */ e.jsx("div", { className: "mobile-ad-banner", children: /* @__PURE__ */ e.jsx(
|
|
2531
|
+
"div",
|
|
2532
|
+
{
|
|
2533
|
+
"data-ad-slot": "mobile-banner",
|
|
2534
|
+
style: {
|
|
2446
2535
|
width: "100%",
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
backgroundColor: "var(--
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
}, children: [
|
|
2454
|
-
/* @__PURE__ */ e.jsx("option", { children: "All Time" }),
|
|
2455
|
-
/* @__PURE__ */ e.jsx("option", { children: "Last Year" }),
|
|
2456
|
-
/* @__PURE__ */ e.jsx("option", { children: "Last 5 Years" }),
|
|
2457
|
-
/* @__PURE__ */ e.jsx("option", { children: "Last 10 Years" })
|
|
2458
|
-
] })
|
|
2459
|
-
] }),
|
|
2460
|
-
/* @__PURE__ */ e.jsxs("div", { style: { marginBottom: "var(--space-md)" }, children: [
|
|
2461
|
-
/* @__PURE__ */ e.jsx("label", { style: {
|
|
2462
|
-
display: "block",
|
|
2463
|
-
fontSize: "0.85rem",
|
|
2464
|
-
fontWeight: 500,
|
|
2465
|
-
marginBottom: "var(--space-xs)",
|
|
2466
|
-
color: "var(--text-color)"
|
|
2467
|
-
}, children: "Severity" }),
|
|
2468
|
-
/* @__PURE__ */ e.jsx("div", { style: { display: "flex", flexDirection: "column", gap: "var(--space-xs)" }, children: ["All", "Fatalities", "Hospitalizations", "Amputations"].map((t) => /* @__PURE__ */ e.jsxs("label", { style: {
|
|
2536
|
+
maxWidth: 468,
|
|
2537
|
+
height: 60,
|
|
2538
|
+
margin: "0 auto",
|
|
2539
|
+
backgroundColor: "var(--secondary-color)",
|
|
2540
|
+
border: "2px dashed var(--border-color)",
|
|
2541
|
+
borderRadius: "4px",
|
|
2469
2542
|
display: "flex",
|
|
2470
2543
|
alignItems: "center",
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
}, children: [
|
|
2475
|
-
/* @__PURE__ */ e.jsx(
|
|
2476
|
-
"input",
|
|
2477
|
-
{
|
|
2478
|
-
type: "checkbox",
|
|
2479
|
-
defaultChecked: t === "All",
|
|
2480
|
-
style: { accentColor: "var(--primary-color)" }
|
|
2481
|
-
}
|
|
2482
|
-
),
|
|
2483
|
-
t
|
|
2484
|
-
] }, t)) })
|
|
2485
|
-
] }),
|
|
2486
|
-
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
2487
|
-
/* @__PURE__ */ e.jsx("label", { style: {
|
|
2488
|
-
display: "block",
|
|
2489
|
-
fontSize: "0.85rem",
|
|
2490
|
-
fontWeight: 500,
|
|
2491
|
-
marginBottom: "var(--space-xs)",
|
|
2492
|
-
color: "var(--text-color)"
|
|
2493
|
-
}, children: "Sort By" }),
|
|
2494
|
-
/* @__PURE__ */ e.jsxs("select", { style: {
|
|
2495
|
-
width: "100%",
|
|
2496
|
-
padding: "var(--space-sm)",
|
|
2497
|
-
borderRadius: "var(--radius-sm)",
|
|
2498
|
-
border: "1px solid var(--border-color)",
|
|
2499
|
-
backgroundColor: "var(--bg-color)",
|
|
2544
|
+
justifyContent: "center",
|
|
2545
|
+
fontFamily: "var(--font-sans)",
|
|
2546
|
+
fontSize: "0.8rem",
|
|
2500
2547
|
color: "var(--text-color)",
|
|
2501
|
-
|
|
2502
|
-
},
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
/* @__PURE__ */ e.jsx("option", { children: "Alphabetical" })
|
|
2507
|
-
] })
|
|
2508
|
-
] })
|
|
2509
|
-
] }),
|
|
2510
|
-
o && /* @__PURE__ */ e.jsx(Ye, { position: "left-sidebar" })
|
|
2548
|
+
opacity: 0.6
|
|
2549
|
+
},
|
|
2550
|
+
children: "Ad (468×60)"
|
|
2551
|
+
}
|
|
2552
|
+
) })
|
|
2511
2553
|
] }), ao = ({
|
|
2512
2554
|
brand: o,
|
|
2513
2555
|
data: t,
|
|
2514
2556
|
onAccountClick: s,
|
|
2515
2557
|
onNotificationClick: i
|
|
2516
2558
|
}) => {
|
|
2517
|
-
const
|
|
2559
|
+
const l = [
|
|
2518
2560
|
{ label: "Home", path: "/" },
|
|
2519
2561
|
{ label: t.name }
|
|
2520
|
-
],
|
|
2562
|
+
], n = o.scoreConfig && t.stats.score !== void 0 ? {
|
|
2521
2563
|
value: t.stats.score,
|
|
2522
2564
|
label: o.scoreConfig.name,
|
|
2523
2565
|
betaDisclaimer: o.scoreConfig.betaDisclaimer
|
|
@@ -2534,12 +2576,12 @@ const Ye = ({
|
|
|
2534
2576
|
{
|
|
2535
2577
|
title: t.name,
|
|
2536
2578
|
subtitle: o.tagline || "Explore worker safety data across the nation",
|
|
2537
|
-
breadcrumbs:
|
|
2538
|
-
score:
|
|
2579
|
+
breadcrumbs: l,
|
|
2580
|
+
score: n
|
|
2539
2581
|
}
|
|
2540
2582
|
),
|
|
2541
2583
|
/* @__PURE__ */ e.jsxs("div", { className: "page-layout", children: [
|
|
2542
|
-
/* @__PURE__ */ e.jsx(q, {
|
|
2584
|
+
/* @__PURE__ */ e.jsx(q, {}),
|
|
2543
2585
|
/* @__PURE__ */ e.jsxs("main", { className: "page-main", children: [
|
|
2544
2586
|
/* @__PURE__ */ e.jsx(V, { stats: t.stats, columns: 4 }),
|
|
2545
2587
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2552,7 +2594,7 @@ const Ye = ({
|
|
|
2552
2594
|
}
|
|
2553
2595
|
)
|
|
2554
2596
|
] }),
|
|
2555
|
-
/* @__PURE__ */ e.jsx(X, { meta: t.meta
|
|
2597
|
+
/* @__PURE__ */ e.jsx(X, { meta: t.meta })
|
|
2556
2598
|
] })
|
|
2557
2599
|
]
|
|
2558
2600
|
}
|
|
@@ -2563,11 +2605,11 @@ const Ye = ({
|
|
|
2563
2605
|
onAccountClick: s,
|
|
2564
2606
|
onNotificationClick: i
|
|
2565
2607
|
}) => {
|
|
2566
|
-
const
|
|
2608
|
+
const l = [
|
|
2567
2609
|
{ label: "Home", path: "/" },
|
|
2568
2610
|
{ label: "USA", path: "/usa" },
|
|
2569
2611
|
{ label: t.name }
|
|
2570
|
-
],
|
|
2612
|
+
], n = o.scoreConfig && t.stats.score !== void 0 ? {
|
|
2571
2613
|
value: t.stats.score,
|
|
2572
2614
|
label: o.scoreConfig.name,
|
|
2573
2615
|
betaDisclaimer: o.scoreConfig.betaDisclaimer
|
|
@@ -2584,12 +2626,12 @@ const Ye = ({
|
|
|
2584
2626
|
{
|
|
2585
2627
|
title: t.name,
|
|
2586
2628
|
subtitle: `Worker safety data for ${t.name}`,
|
|
2587
|
-
breadcrumbs:
|
|
2588
|
-
score:
|
|
2629
|
+
breadcrumbs: l,
|
|
2630
|
+
score: n
|
|
2589
2631
|
}
|
|
2590
2632
|
),
|
|
2591
2633
|
/* @__PURE__ */ e.jsxs("div", { className: "page-layout", children: [
|
|
2592
|
-
/* @__PURE__ */ e.jsx(q, {
|
|
2634
|
+
/* @__PURE__ */ e.jsx(q, {}),
|
|
2593
2635
|
/* @__PURE__ */ e.jsxs("main", { className: "page-main", children: [
|
|
2594
2636
|
/* @__PURE__ */ e.jsx(V, { stats: t.stats }),
|
|
2595
2637
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2611,7 +2653,7 @@ const Ye = ({
|
|
|
2611
2653
|
u
|
|
2612
2654
|
))
|
|
2613
2655
|
] }),
|
|
2614
|
-
/* @__PURE__ */ e.jsx(X, { meta: t.meta
|
|
2656
|
+
/* @__PURE__ */ e.jsx(X, { meta: t.meta })
|
|
2615
2657
|
] })
|
|
2616
2658
|
]
|
|
2617
2659
|
}
|
|
@@ -2622,12 +2664,12 @@ const Ye = ({
|
|
|
2622
2664
|
onAccountClick: s,
|
|
2623
2665
|
onNotificationClick: i
|
|
2624
2666
|
}) => {
|
|
2625
|
-
const
|
|
2667
|
+
const l = [
|
|
2626
2668
|
{ label: "Home", path: "/" },
|
|
2627
2669
|
{ label: "USA", path: "/usa" },
|
|
2628
2670
|
{ label: t.stateName, path: `/state/${t.state.toLowerCase()}` },
|
|
2629
2671
|
{ label: t.name }
|
|
2630
|
-
],
|
|
2672
|
+
], n = o.scoreConfig && t.stats.score !== void 0 ? {
|
|
2631
2673
|
value: t.stats.score,
|
|
2632
2674
|
label: o.scoreConfig.name,
|
|
2633
2675
|
betaDisclaimer: o.scoreConfig.betaDisclaimer
|
|
@@ -2644,12 +2686,12 @@ const Ye = ({
|
|
|
2644
2686
|
{
|
|
2645
2687
|
title: `${t.name}, ${t.state}`,
|
|
2646
2688
|
subtitle: `Worker safety data for ${t.name}`,
|
|
2647
|
-
breadcrumbs:
|
|
2648
|
-
score:
|
|
2689
|
+
breadcrumbs: l,
|
|
2690
|
+
score: n
|
|
2649
2691
|
}
|
|
2650
2692
|
),
|
|
2651
2693
|
/* @__PURE__ */ e.jsxs("div", { className: "page-layout", children: [
|
|
2652
|
-
/* @__PURE__ */ e.jsx(q, {
|
|
2694
|
+
/* @__PURE__ */ e.jsx(q, {}),
|
|
2653
2695
|
/* @__PURE__ */ e.jsxs("main", { className: "page-main", children: [
|
|
2654
2696
|
/* @__PURE__ */ e.jsx(V, { stats: t.stats }),
|
|
2655
2697
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2671,7 +2713,7 @@ const Ye = ({
|
|
|
2671
2713
|
f
|
|
2672
2714
|
))
|
|
2673
2715
|
] }),
|
|
2674
|
-
/* @__PURE__ */ e.jsx(X, { meta: t.meta
|
|
2716
|
+
/* @__PURE__ */ e.jsx(X, { meta: t.meta })
|
|
2675
2717
|
] })
|
|
2676
2718
|
]
|
|
2677
2719
|
}
|
|
@@ -2683,11 +2725,11 @@ const Ye = ({
|
|
|
2683
2725
|
onNotificationClick: i
|
|
2684
2726
|
}) => {
|
|
2685
2727
|
var u;
|
|
2686
|
-
const
|
|
2728
|
+
const l = [
|
|
2687
2729
|
{ label: "Home", path: "/" },
|
|
2688
2730
|
{ label: "USA", path: "/usa" },
|
|
2689
2731
|
{ label: t.name }
|
|
2690
|
-
],
|
|
2732
|
+
], n = o.scoreConfig && t.stats.score !== void 0 ? {
|
|
2691
2733
|
value: t.stats.score,
|
|
2692
2734
|
label: o.scoreConfig.name,
|
|
2693
2735
|
betaDisclaimer: o.scoreConfig.betaDisclaimer
|
|
@@ -2704,12 +2746,12 @@ const Ye = ({
|
|
|
2704
2746
|
{
|
|
2705
2747
|
title: t.name,
|
|
2706
2748
|
subtitle: (u = t.meta) != null && u.industry ? `${t.meta.industry}` : void 0,
|
|
2707
|
-
breadcrumbs:
|
|
2708
|
-
score:
|
|
2749
|
+
breadcrumbs: l,
|
|
2750
|
+
score: n
|
|
2709
2751
|
}
|
|
2710
2752
|
),
|
|
2711
2753
|
/* @__PURE__ */ e.jsxs("div", { className: "page-layout", children: [
|
|
2712
|
-
/* @__PURE__ */ e.jsx(q, {
|
|
2754
|
+
/* @__PURE__ */ e.jsx(q, {}),
|
|
2713
2755
|
/* @__PURE__ */ e.jsxs("main", { className: "page-main", children: [
|
|
2714
2756
|
/* @__PURE__ */ e.jsx(V, { stats: t.stats }),
|
|
2715
2757
|
c && /* @__PURE__ */ e.jsx(
|
|
@@ -2730,7 +2772,7 @@ const Ye = ({
|
|
|
2730
2772
|
}
|
|
2731
2773
|
)
|
|
2732
2774
|
] }),
|
|
2733
|
-
/* @__PURE__ */ e.jsx(X, { meta: t.meta
|
|
2775
|
+
/* @__PURE__ */ e.jsx(X, { meta: t.meta })
|
|
2734
2776
|
] })
|
|
2735
2777
|
]
|
|
2736
2778
|
}
|
|
@@ -2741,12 +2783,12 @@ const Ye = ({
|
|
|
2741
2783
|
onAccountClick: s,
|
|
2742
2784
|
onNotificationClick: i
|
|
2743
2785
|
}) => {
|
|
2744
|
-
const
|
|
2786
|
+
const l = [
|
|
2745
2787
|
{ label: "Home", path: "/" },
|
|
2746
2788
|
{ label: "USA", path: "/usa" },
|
|
2747
2789
|
{ label: t.companyName, path: `/company/${t.companySlug}` },
|
|
2748
2790
|
{ label: `#${t.siteId}` }
|
|
2749
|
-
],
|
|
2791
|
+
], n = o.scoreConfig && t.stats.score !== void 0 ? {
|
|
2750
2792
|
value: t.stats.score,
|
|
2751
2793
|
label: o.scoreConfig.name,
|
|
2752
2794
|
betaDisclaimer: o.scoreConfig.betaDisclaimer
|
|
@@ -2763,12 +2805,12 @@ const Ye = ({
|
|
|
2763
2805
|
{
|
|
2764
2806
|
title: t.name,
|
|
2765
2807
|
subtitle: `Location #${t.siteId} of ${t.companyName}`,
|
|
2766
|
-
breadcrumbs:
|
|
2767
|
-
score:
|
|
2808
|
+
breadcrumbs: l,
|
|
2809
|
+
score: n
|
|
2768
2810
|
}
|
|
2769
2811
|
),
|
|
2770
2812
|
/* @__PURE__ */ e.jsxs("div", { className: "page-layout", children: [
|
|
2771
|
-
/* @__PURE__ */ e.jsx(q, {
|
|
2813
|
+
/* @__PURE__ */ e.jsx(q, {}),
|
|
2772
2814
|
/* @__PURE__ */ e.jsxs("main", { className: "page-main", children: [
|
|
2773
2815
|
/* @__PURE__ */ e.jsx(V, { stats: t.stats }),
|
|
2774
2816
|
t.siblings && t.siblings.length > 0 && /* @__PURE__ */ e.jsxs("section", { style: {
|
|
@@ -2834,43 +2876,43 @@ const Ye = ({
|
|
|
2834
2876
|
}
|
|
2835
2877
|
)
|
|
2836
2878
|
] }),
|
|
2837
|
-
/* @__PURE__ */ e.jsx(X, { meta: t.meta
|
|
2879
|
+
/* @__PURE__ */ e.jsx(X, { meta: t.meta })
|
|
2838
2880
|
] })
|
|
2839
2881
|
]
|
|
2840
2882
|
}
|
|
2841
2883
|
);
|
|
2842
2884
|
};
|
|
2843
2885
|
export {
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2886
|
+
oo as AdSlot,
|
|
2887
|
+
Gr as Alert,
|
|
2888
|
+
Xr as Badge,
|
|
2889
|
+
Hr as Button,
|
|
2890
|
+
Vr as Card,
|
|
2849
2891
|
so as CityPage,
|
|
2850
2892
|
io as CompanyPage,
|
|
2851
2893
|
ee as Directory,
|
|
2852
2894
|
q as FilterSidebar,
|
|
2853
2895
|
Lr as Footer,
|
|
2854
|
-
|
|
2896
|
+
_r as Header,
|
|
2855
2897
|
H as Hero,
|
|
2856
2898
|
X as InfoSidebar,
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2899
|
+
qr as Input,
|
|
2900
|
+
eo as LoadingOverlay,
|
|
2901
|
+
to as MobileAdBanner,
|
|
2902
|
+
Kr as Modal,
|
|
2861
2903
|
ao as NationPage,
|
|
2862
2904
|
re as RecentEvents,
|
|
2863
2905
|
U as Shell,
|
|
2864
2906
|
lo as SitePage,
|
|
2865
2907
|
$e as Skeleton,
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2908
|
+
ro as SkeletonCard,
|
|
2909
|
+
Fr as SkeletonText,
|
|
2910
|
+
Er as Spinner,
|
|
2869
2911
|
V as StatGrid,
|
|
2870
2912
|
no as StatePage,
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2913
|
+
Jr as Table,
|
|
2914
|
+
Qr as Tabs,
|
|
2915
|
+
Zr as Tooltip,
|
|
2916
|
+
Or as applyTheme,
|
|
2917
|
+
Br as useTheme
|
|
2876
2918
|
};
|