anima-ds-nucleus 1.0.14 → 1.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/anima-ds.cjs.js +37 -41
- package/dist/anima-ds.esm.js +1019 -819
- package/package.json +1 -1
- package/src/components/Layout/Sidebar/SidebarCore.jsx +246 -50
package/dist/anima-ds.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import
|
|
3
|
-
import { useTranslation as
|
|
2
|
+
import x5, { useState as S, useEffect as v0, useRef as d5, useMemo as q0 } from "react";
|
|
3
|
+
import { useTranslation as x0, initReactI18next as S5, I18nextProvider as D5 } from "react-i18next";
|
|
4
4
|
import { DataGrid as N5 } from "@mui/x-data-grid";
|
|
5
5
|
import { Box as P5 } from "@mui/material";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
var
|
|
9
|
-
var
|
|
6
|
+
import G0 from "react-apexcharts";
|
|
7
|
+
import l5 from "i18next";
|
|
8
|
+
var t5 = { exports: {} }, Q0 = {};
|
|
9
|
+
var h5;
|
|
10
10
|
function W5() {
|
|
11
|
-
if (
|
|
12
|
-
|
|
13
|
-
var a =
|
|
11
|
+
if (h5) return Q0;
|
|
12
|
+
h5 = 1;
|
|
13
|
+
var a = x5, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, c = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
14
14
|
function d(s, i, f) {
|
|
15
15
|
var w, v = {}, p = null, m = null;
|
|
16
16
|
f !== void 0 && (p = "" + f), i.key !== void 0 && (p = "" + i.key), i.ref !== void 0 && (m = i.ref);
|
|
@@ -18,50 +18,50 @@ function W5() {
|
|
|
18
18
|
if (s && s.defaultProps) for (w in i = s.defaultProps, i) v[w] === void 0 && (v[w] = i[w]);
|
|
19
19
|
return { $$typeof: r, type: s, key: p, ref: m, props: v, _owner: c.current };
|
|
20
20
|
}
|
|
21
|
-
return
|
|
21
|
+
return Q0.Fragment = t, Q0.jsx = d, Q0.jsxs = d, Q0;
|
|
22
22
|
}
|
|
23
|
-
var
|
|
24
|
-
var
|
|
23
|
+
var J0 = {};
|
|
24
|
+
var m5;
|
|
25
25
|
function T5() {
|
|
26
|
-
return
|
|
27
|
-
var a =
|
|
26
|
+
return m5 || (m5 = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
27
|
+
var a = x5, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), s = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), C = Symbol.iterator, $ = "@@iterator";
|
|
28
28
|
function L(o) {
|
|
29
29
|
if (o === null || typeof o != "object")
|
|
30
30
|
return null;
|
|
31
31
|
var h = C && o[C] || o[$];
|
|
32
32
|
return typeof h == "function" ? h : null;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
35
|
-
function
|
|
34
|
+
var Z = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
35
|
+
function x(o) {
|
|
36
36
|
{
|
|
37
|
-
for (var h = arguments.length, g = new Array(h > 1 ? h - 1 : 0),
|
|
38
|
-
g[
|
|
37
|
+
for (var h = arguments.length, g = new Array(h > 1 ? h - 1 : 0), M = 1; M < h; M++)
|
|
38
|
+
g[M - 1] = arguments[M];
|
|
39
39
|
N("error", o, g);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
function N(o, h, g) {
|
|
43
43
|
{
|
|
44
|
-
var
|
|
44
|
+
var M = Z.ReactDebugCurrentFrame, H = M.getStackAddendum();
|
|
45
45
|
H !== "" && (h += "%s", g = g.concat([H]));
|
|
46
|
-
var
|
|
46
|
+
var V = g.map(function(O) {
|
|
47
47
|
return String(O);
|
|
48
48
|
});
|
|
49
|
-
|
|
49
|
+
V.unshift("Warning: " + h), Function.prototype.apply.call(console[o], console, V);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
|
|
54
|
-
function
|
|
55
|
-
return !!(typeof o == "string" || typeof o == "function" || o === n || o === u ||
|
|
52
|
+
var T = !1, A = !1, P = !1, i0 = !1, r0 = !1, Q;
|
|
53
|
+
Q = Symbol.for("react.module.reference");
|
|
54
|
+
function X(o) {
|
|
55
|
+
return !!(typeof o == "string" || typeof o == "function" || o === n || o === u || r0 || o === c || o === f || o === w || i0 || o === m || T || A || P || typeof o == "object" && o !== null && (o.$$typeof === p || o.$$typeof === v || o.$$typeof === d || o.$$typeof === s || o.$$typeof === i || // This needs to include all possible module reference object
|
|
56
56
|
// types supported by any Flight configuration anywhere since
|
|
57
57
|
// we don't know which Flight build this will end up being used
|
|
58
58
|
// with.
|
|
59
|
-
o.$$typeof ===
|
|
59
|
+
o.$$typeof === Q || o.getModuleId !== void 0));
|
|
60
60
|
}
|
|
61
|
-
function
|
|
62
|
-
var
|
|
63
|
-
if (
|
|
64
|
-
return
|
|
61
|
+
function c0(o, h, g) {
|
|
62
|
+
var M = o.displayName;
|
|
63
|
+
if (M)
|
|
64
|
+
return M;
|
|
65
65
|
var H = h.displayName || h.name || "";
|
|
66
66
|
return H !== "" ? g + "(" + H + ")" : g;
|
|
67
67
|
}
|
|
@@ -71,7 +71,7 @@ function T5() {
|
|
|
71
71
|
function F(o) {
|
|
72
72
|
if (o == null)
|
|
73
73
|
return null;
|
|
74
|
-
if (typeof o.tag == "number" &&
|
|
74
|
+
if (typeof o.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
|
|
75
75
|
return o.displayName || o.name || null;
|
|
76
76
|
if (typeof o == "string")
|
|
77
77
|
return o;
|
|
@@ -98,14 +98,14 @@ function T5() {
|
|
|
98
98
|
var g = o;
|
|
99
99
|
return q(g._context) + ".Provider";
|
|
100
100
|
case i:
|
|
101
|
-
return
|
|
101
|
+
return c0(o, o.render, "ForwardRef");
|
|
102
102
|
case v:
|
|
103
|
-
var
|
|
104
|
-
return
|
|
103
|
+
var M = o.displayName || null;
|
|
104
|
+
return M !== null ? M : F(o.type) || "Memo";
|
|
105
105
|
case p: {
|
|
106
|
-
var H = o,
|
|
106
|
+
var H = o, V = H._payload, O = H._init;
|
|
107
107
|
try {
|
|
108
|
-
return F(O(
|
|
108
|
+
return F(O(V));
|
|
109
109
|
} catch {
|
|
110
110
|
return null;
|
|
111
111
|
}
|
|
@@ -113,18 +113,18 @@ function T5() {
|
|
|
113
113
|
}
|
|
114
114
|
return null;
|
|
115
115
|
}
|
|
116
|
-
var
|
|
117
|
-
function
|
|
116
|
+
var W = Object.assign, n0 = 0, Y, E, k, G, t0, s0, g0;
|
|
117
|
+
function u0() {
|
|
118
118
|
}
|
|
119
|
-
|
|
119
|
+
u0.__reactDisabledLog = !0;
|
|
120
120
|
function E0() {
|
|
121
121
|
{
|
|
122
|
-
if (
|
|
123
|
-
|
|
122
|
+
if (n0 === 0) {
|
|
123
|
+
Y = console.log, E = console.info, k = console.warn, G = console.error, t0 = console.group, s0 = console.groupCollapsed, g0 = console.groupEnd;
|
|
124
124
|
var o = {
|
|
125
125
|
configurable: !0,
|
|
126
126
|
enumerable: !0,
|
|
127
|
-
value:
|
|
127
|
+
value: u0,
|
|
128
128
|
writable: !0
|
|
129
129
|
};
|
|
130
130
|
Object.defineProperties(console, {
|
|
@@ -137,77 +137,77 @@ function T5() {
|
|
|
137
137
|
groupEnd: o
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
|
-
|
|
140
|
+
n0++;
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function f0() {
|
|
144
144
|
{
|
|
145
|
-
if (
|
|
145
|
+
if (n0--, n0 === 0) {
|
|
146
146
|
var o = {
|
|
147
147
|
configurable: !0,
|
|
148
148
|
enumerable: !0,
|
|
149
149
|
writable: !0
|
|
150
150
|
};
|
|
151
151
|
Object.defineProperties(console, {
|
|
152
|
-
log:
|
|
153
|
-
value:
|
|
152
|
+
log: W({}, o, {
|
|
153
|
+
value: Y
|
|
154
154
|
}),
|
|
155
|
-
info:
|
|
156
|
-
value:
|
|
155
|
+
info: W({}, o, {
|
|
156
|
+
value: E
|
|
157
157
|
}),
|
|
158
|
-
warn:
|
|
158
|
+
warn: W({}, o, {
|
|
159
159
|
value: k
|
|
160
160
|
}),
|
|
161
|
-
error:
|
|
162
|
-
value:
|
|
161
|
+
error: W({}, o, {
|
|
162
|
+
value: G
|
|
163
163
|
}),
|
|
164
|
-
group:
|
|
164
|
+
group: W({}, o, {
|
|
165
165
|
value: t0
|
|
166
166
|
}),
|
|
167
|
-
groupCollapsed:
|
|
168
|
-
value:
|
|
167
|
+
groupCollapsed: W({}, o, {
|
|
168
|
+
value: s0
|
|
169
169
|
}),
|
|
170
|
-
groupEnd:
|
|
171
|
-
value:
|
|
170
|
+
groupEnd: W({}, o, {
|
|
171
|
+
value: g0
|
|
172
172
|
})
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
|
-
|
|
175
|
+
n0 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
var
|
|
179
|
-
function
|
|
178
|
+
var J = Z.ReactCurrentDispatcher, Z0;
|
|
179
|
+
function p0(o, h, g) {
|
|
180
180
|
{
|
|
181
|
-
if (
|
|
181
|
+
if (Z0 === void 0)
|
|
182
182
|
try {
|
|
183
183
|
throw Error();
|
|
184
184
|
} catch (H) {
|
|
185
|
-
var
|
|
186
|
-
|
|
185
|
+
var M = H.stack.trim().match(/\n( *(at )?)/);
|
|
186
|
+
Z0 = M && M[1] || "";
|
|
187
187
|
}
|
|
188
188
|
return `
|
|
189
|
-
` +
|
|
189
|
+
` + Z0 + o;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
var
|
|
192
|
+
var M0 = !1, b0;
|
|
193
193
|
{
|
|
194
|
-
var
|
|
195
|
-
|
|
194
|
+
var _0 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
195
|
+
b0 = new _0();
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
if (!o ||
|
|
197
|
+
function I0(o, h) {
|
|
198
|
+
if (!o || M0)
|
|
199
199
|
return "";
|
|
200
200
|
{
|
|
201
|
-
var g =
|
|
201
|
+
var g = b0.get(o);
|
|
202
202
|
if (g !== void 0)
|
|
203
203
|
return g;
|
|
204
204
|
}
|
|
205
|
-
var
|
|
206
|
-
|
|
205
|
+
var M;
|
|
206
|
+
M0 = !0;
|
|
207
207
|
var H = Error.prepareStackTrace;
|
|
208
208
|
Error.prepareStackTrace = void 0;
|
|
209
|
-
var
|
|
210
|
-
|
|
209
|
+
var V;
|
|
210
|
+
V = J.current, J.current = null, E0();
|
|
211
211
|
try {
|
|
212
212
|
if (h) {
|
|
213
213
|
var O = function() {
|
|
@@ -220,167 +220,167 @@ function T5() {
|
|
|
220
220
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
221
221
|
try {
|
|
222
222
|
Reflect.construct(O, []);
|
|
223
|
-
} catch (
|
|
224
|
-
|
|
223
|
+
} catch (o0) {
|
|
224
|
+
M = o0;
|
|
225
225
|
}
|
|
226
226
|
Reflect.construct(o, [], O);
|
|
227
227
|
} else {
|
|
228
228
|
try {
|
|
229
229
|
O.call();
|
|
230
|
-
} catch (
|
|
231
|
-
|
|
230
|
+
} catch (o0) {
|
|
231
|
+
M = o0;
|
|
232
232
|
}
|
|
233
233
|
o.call(O.prototype);
|
|
234
234
|
}
|
|
235
235
|
} else {
|
|
236
236
|
try {
|
|
237
237
|
throw Error();
|
|
238
|
-
} catch (
|
|
239
|
-
|
|
238
|
+
} catch (o0) {
|
|
239
|
+
M = o0;
|
|
240
240
|
}
|
|
241
241
|
o();
|
|
242
242
|
}
|
|
243
|
-
} catch (
|
|
244
|
-
if (
|
|
245
|
-
for (var B =
|
|
246
|
-
`),
|
|
247
|
-
`), U = B.length - 1, z =
|
|
243
|
+
} catch (o0) {
|
|
244
|
+
if (o0 && M && typeof o0.stack == "string") {
|
|
245
|
+
for (var B = o0.stack.split(`
|
|
246
|
+
`), a0 = M.stack.split(`
|
|
247
|
+
`), U = B.length - 1, z = a0.length - 1; U >= 1 && z >= 0 && B[U] !== a0[z]; )
|
|
248
248
|
z--;
|
|
249
249
|
for (; U >= 1 && z >= 0; U--, z--)
|
|
250
|
-
if (B[U] !==
|
|
250
|
+
if (B[U] !== a0[z]) {
|
|
251
251
|
if (U !== 1 || z !== 1)
|
|
252
252
|
do
|
|
253
|
-
if (U--, z--, z < 0 || B[U] !==
|
|
253
|
+
if (U--, z--, z < 0 || B[U] !== a0[z]) {
|
|
254
254
|
var d0 = `
|
|
255
255
|
` + B[U].replace(" at new ", " at ");
|
|
256
|
-
return o.displayName && d0.includes("<anonymous>") && (d0 = d0.replace("<anonymous>", o.displayName)), typeof o == "function" &&
|
|
256
|
+
return o.displayName && d0.includes("<anonymous>") && (d0 = d0.replace("<anonymous>", o.displayName)), typeof o == "function" && b0.set(o, d0), d0;
|
|
257
257
|
}
|
|
258
258
|
while (U >= 1 && z >= 0);
|
|
259
259
|
break;
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
} finally {
|
|
263
|
-
|
|
263
|
+
M0 = !1, J.current = V, f0(), Error.prepareStackTrace = H;
|
|
264
264
|
}
|
|
265
|
-
var
|
|
266
|
-
return typeof o == "function" &&
|
|
265
|
+
var U0 = o ? o.displayName || o.name : "", H0 = U0 ? p0(U0) : "";
|
|
266
|
+
return typeof o == "function" && b0.set(o, H0), H0;
|
|
267
267
|
}
|
|
268
|
-
function
|
|
269
|
-
return
|
|
268
|
+
function y0(o, h, g) {
|
|
269
|
+
return I0(o, !1);
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function k0(o) {
|
|
272
272
|
var h = o.prototype;
|
|
273
273
|
return !!(h && h.isReactComponent);
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function w0(o, h, g) {
|
|
276
276
|
if (o == null)
|
|
277
277
|
return "";
|
|
278
278
|
if (typeof o == "function")
|
|
279
|
-
return
|
|
279
|
+
return I0(o, k0(o));
|
|
280
280
|
if (typeof o == "string")
|
|
281
|
-
return
|
|
281
|
+
return p0(o);
|
|
282
282
|
switch (o) {
|
|
283
283
|
case f:
|
|
284
|
-
return
|
|
284
|
+
return p0("Suspense");
|
|
285
285
|
case w:
|
|
286
|
-
return
|
|
286
|
+
return p0("SuspenseList");
|
|
287
287
|
}
|
|
288
288
|
if (typeof o == "object")
|
|
289
289
|
switch (o.$$typeof) {
|
|
290
290
|
case i:
|
|
291
|
-
return
|
|
291
|
+
return y0(o.render);
|
|
292
292
|
case v:
|
|
293
|
-
return
|
|
293
|
+
return w0(o.type, h, g);
|
|
294
294
|
case p: {
|
|
295
|
-
var
|
|
295
|
+
var M = o, H = M._payload, V = M._init;
|
|
296
296
|
try {
|
|
297
|
-
return
|
|
297
|
+
return w0(V(H), h, g);
|
|
298
298
|
} catch {
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
return "";
|
|
303
303
|
}
|
|
304
|
-
var
|
|
305
|
-
function
|
|
304
|
+
var R0 = Object.prototype.hasOwnProperty, V0 = {}, S0 = Z.ReactDebugCurrentFrame;
|
|
305
|
+
function A0(o) {
|
|
306
306
|
if (o) {
|
|
307
|
-
var h = o._owner, g =
|
|
308
|
-
|
|
307
|
+
var h = o._owner, g = w0(o.type, o._source, h ? h.type : null);
|
|
308
|
+
S0.setExtraStackFrame(g);
|
|
309
309
|
} else
|
|
310
|
-
|
|
310
|
+
S0.setExtraStackFrame(null);
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function X0(o, h, g, M, H) {
|
|
313
313
|
{
|
|
314
|
-
var
|
|
314
|
+
var V = Function.call.bind(R0);
|
|
315
315
|
for (var O in o)
|
|
316
|
-
if (
|
|
316
|
+
if (V(o, O)) {
|
|
317
317
|
var B = void 0;
|
|
318
318
|
try {
|
|
319
319
|
if (typeof o[O] != "function") {
|
|
320
|
-
var
|
|
321
|
-
throw
|
|
320
|
+
var a0 = Error((M || "React class") + ": " + g + " type `" + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[O] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
321
|
+
throw a0.name = "Invariant Violation", a0;
|
|
322
322
|
}
|
|
323
|
-
B = o[O](h, O,
|
|
323
|
+
B = o[O](h, O, M, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
324
324
|
} catch (U) {
|
|
325
325
|
B = U;
|
|
326
326
|
}
|
|
327
|
-
B && !(B instanceof Error) && (
|
|
327
|
+
B && !(B instanceof Error) && (A0(H), x("%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).", M || "React class", g, O, typeof B), A0(null)), B instanceof Error && !(B.message in V0) && (V0[B.message] = !0, A0(H), x("Failed %s type: %s", g, B.message), A0(null));
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
|
-
var
|
|
332
|
-
function
|
|
333
|
-
return
|
|
331
|
+
var Y0 = Array.isArray;
|
|
332
|
+
function B0(o) {
|
|
333
|
+
return Y0(o);
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function a5(o) {
|
|
336
336
|
{
|
|
337
337
|
var h = typeof Symbol == "function" && Symbol.toStringTag, g = h && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
338
338
|
return g;
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
function
|
|
341
|
+
function r5(o) {
|
|
342
342
|
try {
|
|
343
|
-
return
|
|
343
|
+
return L0(o), !1;
|
|
344
344
|
} catch {
|
|
345
345
|
return !0;
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function L0(o) {
|
|
349
349
|
return "" + o;
|
|
350
350
|
}
|
|
351
|
-
function
|
|
352
|
-
if (
|
|
353
|
-
return
|
|
351
|
+
function D(o) {
|
|
352
|
+
if (r5(o))
|
|
353
|
+
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", a5(o)), L0(o);
|
|
354
354
|
}
|
|
355
|
-
var
|
|
355
|
+
var I = Z.ReactCurrentOwner, h0 = {
|
|
356
356
|
key: !0,
|
|
357
357
|
ref: !0,
|
|
358
358
|
__self: !0,
|
|
359
359
|
__source: !0
|
|
360
|
-
},
|
|
361
|
-
function
|
|
362
|
-
if (
|
|
360
|
+
}, C0, O0;
|
|
361
|
+
function D0(o) {
|
|
362
|
+
if (R0.call(o, "ref")) {
|
|
363
363
|
var h = Object.getOwnPropertyDescriptor(o, "ref").get;
|
|
364
364
|
if (h && h.isReactWarning)
|
|
365
365
|
return !1;
|
|
366
366
|
}
|
|
367
367
|
return o.ref !== void 0;
|
|
368
368
|
}
|
|
369
|
-
function
|
|
370
|
-
if (
|
|
369
|
+
function N0(o) {
|
|
370
|
+
if (R0.call(o, "key")) {
|
|
371
371
|
var h = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
372
372
|
if (h && h.isReactWarning)
|
|
373
373
|
return !1;
|
|
374
374
|
}
|
|
375
375
|
return o.key !== void 0;
|
|
376
376
|
}
|
|
377
|
-
function
|
|
378
|
-
typeof o.ref == "string" &&
|
|
377
|
+
function R(o, h) {
|
|
378
|
+
typeof o.ref == "string" && I.current;
|
|
379
379
|
}
|
|
380
|
-
function
|
|
380
|
+
function P0(o, h) {
|
|
381
381
|
{
|
|
382
382
|
var g = function() {
|
|
383
|
-
|
|
383
|
+
C0 || (C0 = !0, x("%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)", h));
|
|
384
384
|
};
|
|
385
385
|
g.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
386
386
|
get: g,
|
|
@@ -388,10 +388,10 @@ function T5() {
|
|
|
388
388
|
});
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
|
-
function
|
|
391
|
+
function K0(o, h) {
|
|
392
392
|
{
|
|
393
393
|
var g = function() {
|
|
394
|
-
|
|
394
|
+
O0 || (O0 = !0, x("%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)", h));
|
|
395
395
|
};
|
|
396
396
|
g.isReactWarning = !0, Object.defineProperty(o, "ref", {
|
|
397
397
|
get: g,
|
|
@@ -399,7 +399,7 @@ function T5() {
|
|
|
399
399
|
});
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
|
-
var
|
|
402
|
+
var W0 = function(o, h, g, M, H, V, O) {
|
|
403
403
|
var B = {
|
|
404
404
|
// This tag allows us to uniquely identify this as a React Element
|
|
405
405
|
$$typeof: r,
|
|
@@ -409,7 +409,7 @@ function T5() {
|
|
|
409
409
|
ref: g,
|
|
410
410
|
props: O,
|
|
411
411
|
// Record the component responsible for creating this element.
|
|
412
|
-
_owner:
|
|
412
|
+
_owner: V
|
|
413
413
|
};
|
|
414
414
|
return B._store = {}, Object.defineProperty(B._store, "validated", {
|
|
415
415
|
configurable: !1,
|
|
@@ -420,7 +420,7 @@ function T5() {
|
|
|
420
420
|
configurable: !1,
|
|
421
421
|
enumerable: !1,
|
|
422
422
|
writable: !1,
|
|
423
|
-
value:
|
|
423
|
+
value: M
|
|
424
424
|
}), Object.defineProperty(B, "_source", {
|
|
425
425
|
configurable: !1,
|
|
426
426
|
enumerable: !1,
|
|
@@ -428,41 +428,41 @@ function T5() {
|
|
|
428
428
|
value: H
|
|
429
429
|
}), Object.freeze && (Object.freeze(B.props), Object.freeze(B)), B;
|
|
430
430
|
};
|
|
431
|
-
function
|
|
431
|
+
function $0(o, h, g, M, H) {
|
|
432
432
|
{
|
|
433
|
-
var
|
|
434
|
-
g !== void 0 && (
|
|
435
|
-
for (
|
|
436
|
-
|
|
433
|
+
var V, O = {}, B = null, a0 = null;
|
|
434
|
+
g !== void 0 && (D(g), B = "" + g), N0(h) && (D(h.key), B = "" + h.key), D0(h) && (a0 = h.ref, R(h, H));
|
|
435
|
+
for (V in h)
|
|
436
|
+
R0.call(h, V) && !h0.hasOwnProperty(V) && (O[V] = h[V]);
|
|
437
437
|
if (o && o.defaultProps) {
|
|
438
438
|
var U = o.defaultProps;
|
|
439
|
-
for (
|
|
440
|
-
O[
|
|
439
|
+
for (V in U)
|
|
440
|
+
O[V] === void 0 && (O[V] = U[V]);
|
|
441
441
|
}
|
|
442
|
-
if (B ||
|
|
442
|
+
if (B || a0) {
|
|
443
443
|
var z = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
444
|
-
B &&
|
|
444
|
+
B && P0(O, z), a0 && K0(O, z);
|
|
445
445
|
}
|
|
446
|
-
return
|
|
446
|
+
return W0(o, B, a0, H, M, I.current, O);
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
|
-
var
|
|
450
|
-
function
|
|
449
|
+
var _ = Z.ReactCurrentOwner, j0 = Z.ReactDebugCurrentFrame;
|
|
450
|
+
function K(o) {
|
|
451
451
|
if (o) {
|
|
452
|
-
var h = o._owner, g =
|
|
453
|
-
|
|
452
|
+
var h = o._owner, g = w0(o.type, o._source, h ? h.type : null);
|
|
453
|
+
j0.setExtraStackFrame(g);
|
|
454
454
|
} else
|
|
455
|
-
|
|
455
|
+
j0.setExtraStackFrame(null);
|
|
456
456
|
}
|
|
457
|
-
var
|
|
458
|
-
|
|
459
|
-
function
|
|
457
|
+
var F0;
|
|
458
|
+
F0 = !1;
|
|
459
|
+
function e0(o) {
|
|
460
460
|
return typeof o == "object" && o !== null && o.$$typeof === r;
|
|
461
461
|
}
|
|
462
|
-
function
|
|
462
|
+
function l0() {
|
|
463
463
|
{
|
|
464
|
-
if (
|
|
465
|
-
var o = F(
|
|
464
|
+
if (_.current) {
|
|
465
|
+
var o = F(_.current.type);
|
|
466
466
|
if (o)
|
|
467
467
|
return `
|
|
468
468
|
|
|
@@ -471,13 +471,13 @@ Check the render method of \`` + o + "`.";
|
|
|
471
471
|
return "";
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function T0(o) {
|
|
475
475
|
return "";
|
|
476
476
|
}
|
|
477
|
-
var
|
|
478
|
-
function
|
|
477
|
+
var j = {};
|
|
478
|
+
function n5(o) {
|
|
479
479
|
{
|
|
480
|
-
var h =
|
|
480
|
+
var h = l0();
|
|
481
481
|
if (!h) {
|
|
482
482
|
var g = typeof o == "string" ? o : o.displayName || o.name;
|
|
483
483
|
g && (h = `
|
|
@@ -487,35 +487,35 @@ Check the top-level render call using <` + g + ">.");
|
|
|
487
487
|
return h;
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function s5(o, h) {
|
|
491
491
|
{
|
|
492
492
|
if (!o._store || o._store.validated || o.key != null)
|
|
493
493
|
return;
|
|
494
494
|
o._store.validated = !0;
|
|
495
|
-
var g =
|
|
496
|
-
if (
|
|
495
|
+
var g = n5(h);
|
|
496
|
+
if (j[g])
|
|
497
497
|
return;
|
|
498
|
-
|
|
499
|
-
var
|
|
500
|
-
o && o._owner && o._owner !==
|
|
498
|
+
j[g] = !0;
|
|
499
|
+
var M = "";
|
|
500
|
+
o && o._owner && o._owner !== _.current && (M = " It was passed a child from " + F(o._owner.type) + "."), K(o), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, M), K(null);
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function u5(o, h) {
|
|
504
504
|
{
|
|
505
505
|
if (typeof o != "object")
|
|
506
506
|
return;
|
|
507
|
-
if (
|
|
507
|
+
if (B0(o))
|
|
508
508
|
for (var g = 0; g < o.length; g++) {
|
|
509
|
-
var
|
|
510
|
-
|
|
509
|
+
var M = o[g];
|
|
510
|
+
e0(M) && s5(M, h);
|
|
511
511
|
}
|
|
512
|
-
else if (
|
|
512
|
+
else if (e0(o))
|
|
513
513
|
o._store && (o._store.validated = !0);
|
|
514
514
|
else if (o) {
|
|
515
515
|
var H = L(o);
|
|
516
516
|
if (typeof H == "function" && H !== o.entries)
|
|
517
|
-
for (var
|
|
518
|
-
|
|
517
|
+
for (var V = H.call(o), O; !(O = V.next()).done; )
|
|
518
|
+
e0(O.value) && s5(O.value, h);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
521
|
}
|
|
@@ -534,89 +534,89 @@ Check the top-level render call using <` + g + ">.");
|
|
|
534
534
|
else
|
|
535
535
|
return;
|
|
536
536
|
if (g) {
|
|
537
|
-
var
|
|
538
|
-
|
|
539
|
-
} else if (h.PropTypes !== void 0 && !
|
|
540
|
-
|
|
537
|
+
var M = F(h);
|
|
538
|
+
X0(g, o.props, "prop", M, o);
|
|
539
|
+
} else if (h.PropTypes !== void 0 && !F0) {
|
|
540
|
+
F0 = !0;
|
|
541
541
|
var H = F(h);
|
|
542
|
-
|
|
542
|
+
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", H || "Unknown");
|
|
543
543
|
}
|
|
544
|
-
typeof h.getDefaultProps == "function" && !h.getDefaultProps.isReactClassApproved &&
|
|
544
|
+
typeof h.getDefaultProps == "function" && !h.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
function B5(o) {
|
|
548
548
|
{
|
|
549
549
|
for (var h = Object.keys(o.props), g = 0; g < h.length; g++) {
|
|
550
|
-
var
|
|
551
|
-
if (
|
|
552
|
-
|
|
550
|
+
var M = h[g];
|
|
551
|
+
if (M !== "children" && M !== "key") {
|
|
552
|
+
K(o), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", M), K(null);
|
|
553
553
|
break;
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
o.ref !== null && (
|
|
556
|
+
o.ref !== null && (K(o), x("Invalid attribute `ref` supplied to `React.Fragment`."), K(null));
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
var
|
|
560
|
-
function
|
|
559
|
+
var f5 = {};
|
|
560
|
+
function w5(o, h, g, M, H, V) {
|
|
561
561
|
{
|
|
562
|
-
var O =
|
|
562
|
+
var O = X(o);
|
|
563
563
|
if (!O) {
|
|
564
564
|
var B = "";
|
|
565
565
|
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (B += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
566
|
-
var
|
|
567
|
-
|
|
566
|
+
var a0 = T0();
|
|
567
|
+
a0 ? B += a0 : B += l0();
|
|
568
568
|
var U;
|
|
569
|
-
o === null ? U = "null" :
|
|
569
|
+
o === null ? U = "null" : B0(o) ? U = "array" : o !== void 0 && o.$$typeof === r ? (U = "<" + (F(o.type) || "Unknown") + " />", B = " Did you accidentally export a JSX literal instead of a component?") : U = typeof o, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", U, B);
|
|
570
570
|
}
|
|
571
|
-
var z =
|
|
571
|
+
var z = $0(o, h, g, H, V);
|
|
572
572
|
if (z == null)
|
|
573
573
|
return z;
|
|
574
574
|
if (O) {
|
|
575
575
|
var d0 = h.children;
|
|
576
576
|
if (d0 !== void 0)
|
|
577
|
-
if (
|
|
578
|
-
if (
|
|
579
|
-
for (var
|
|
580
|
-
|
|
577
|
+
if (M)
|
|
578
|
+
if (B0(d0)) {
|
|
579
|
+
for (var U0 = 0; U0 < d0.length; U0++)
|
|
580
|
+
u5(d0[U0], o);
|
|
581
581
|
Object.freeze && Object.freeze(d0);
|
|
582
582
|
} else
|
|
583
|
-
|
|
583
|
+
x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
584
584
|
else
|
|
585
|
-
|
|
585
|
+
u5(d0, o);
|
|
586
586
|
}
|
|
587
|
-
if (
|
|
588
|
-
var
|
|
587
|
+
if (R0.call(h, "key")) {
|
|
588
|
+
var H0 = F(o), o0 = Object.keys(h).filter(function(V5) {
|
|
589
589
|
return V5 !== "key";
|
|
590
|
-
}),
|
|
591
|
-
if (!
|
|
592
|
-
var I5 =
|
|
593
|
-
|
|
590
|
+
}), i5 = o0.length > 0 ? "{key: someKey, " + o0.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
591
|
+
if (!f5[H0 + i5]) {
|
|
592
|
+
var I5 = o0.length > 0 ? "{" + o0.join(": ..., ") + ": ...}" : "{}";
|
|
593
|
+
x(`A props object containing a "key" prop is being spread into JSX:
|
|
594
594
|
let props = %s;
|
|
595
595
|
<%s {...props} />
|
|
596
596
|
React keys must be passed directly to JSX without using spread:
|
|
597
597
|
let props = %s;
|
|
598
|
-
<%s key={someKey} {...props} />`,
|
|
598
|
+
<%s key={someKey} {...props} />`, i5, H0, I5, H0), f5[H0 + i5] = !0;
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
601
|
return o === n ? B5(z) : k5(z), z;
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
604
|
function L5(o, h, g) {
|
|
605
|
-
return
|
|
605
|
+
return w5(o, h, g, !0);
|
|
606
606
|
}
|
|
607
607
|
function O5(o, h, g) {
|
|
608
|
-
return
|
|
608
|
+
return w5(o, h, g, !1);
|
|
609
609
|
}
|
|
610
610
|
var F5 = O5, H5 = L5;
|
|
611
|
-
|
|
612
|
-
})()),
|
|
611
|
+
J0.Fragment = n, J0.jsx = F5, J0.jsxs = H5;
|
|
612
|
+
})()), J0;
|
|
613
613
|
}
|
|
614
|
-
var
|
|
614
|
+
var v5;
|
|
615
615
|
function U5() {
|
|
616
|
-
return
|
|
616
|
+
return v5 || (v5 = 1, process.env.NODE_ENV === "production" ? t5.exports = W5() : t5.exports = T5()), t5.exports;
|
|
617
617
|
}
|
|
618
618
|
var l = U5();
|
|
619
|
-
const
|
|
619
|
+
const m0 = ({
|
|
620
620
|
texto: a,
|
|
621
621
|
children: r,
|
|
622
622
|
tipo: t,
|
|
@@ -650,55 +650,55 @@ const h0 = ({
|
|
|
650
650
|
Grape: m.Grape,
|
|
651
651
|
Honey: "#80501F"
|
|
652
652
|
// marrón medio-oscuro para Ghost (igual que Secondary)
|
|
653
|
-
},
|
|
653
|
+
}, Z = {
|
|
654
654
|
Teal: m.Teal,
|
|
655
655
|
Grape: m.Grape,
|
|
656
656
|
Honey: "#6E4D11"
|
|
657
657
|
// marrón oscuro para Ghost
|
|
658
|
-
},
|
|
658
|
+
}, x = {
|
|
659
659
|
border: "#D1D5DB",
|
|
660
660
|
// gray-300
|
|
661
661
|
text: "#9CA3AF",
|
|
662
662
|
// gray-400
|
|
663
663
|
background: "#F3F4F6"
|
|
664
664
|
// gray-100
|
|
665
|
-
}, N = m[c] || m.Teal, [
|
|
665
|
+
}, N = m[c] || m.Teal, [T, A] = S(!1), P = i, i0 = "font-medium transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2", r0 = {
|
|
666
666
|
Small: "px-3 py-1.5 text-sm rounded-md",
|
|
667
667
|
Default: "px-4 py-2 text-base rounded-lg",
|
|
668
668
|
Large: "px-6 py-3 text-lg rounded-lg"
|
|
669
|
-
},
|
|
670
|
-
const
|
|
671
|
-
return `rgba(${
|
|
672
|
-
},
|
|
673
|
-
const
|
|
669
|
+
}, Q = (E, k = 1) => {
|
|
670
|
+
const G = parseInt(E.slice(1, 3), 16), t0 = parseInt(E.slice(3, 5), 16), s0 = parseInt(E.slice(5, 7), 16);
|
|
671
|
+
return `rgba(${G}, ${t0}, ${s0}, ${k})`;
|
|
672
|
+
}, X = () => {
|
|
673
|
+
const E = {};
|
|
674
674
|
if (P) {
|
|
675
675
|
switch (v) {
|
|
676
676
|
case "Primary":
|
|
677
|
-
|
|
677
|
+
E.backgroundColor = x.background, E.color = x.text;
|
|
678
678
|
break;
|
|
679
679
|
case "Secondary":
|
|
680
|
-
|
|
680
|
+
E.borderColor = x.border, E.color = x.text, E.borderWidth = "1px", E.borderStyle = "solid", E.backgroundColor = "transparent";
|
|
681
681
|
break;
|
|
682
682
|
case "Ghost":
|
|
683
|
-
|
|
683
|
+
E.color = x.text, E.backgroundColor = "transparent";
|
|
684
684
|
break;
|
|
685
685
|
}
|
|
686
|
-
return
|
|
686
|
+
return E;
|
|
687
687
|
}
|
|
688
688
|
switch (v) {
|
|
689
689
|
case "Primary":
|
|
690
|
-
|
|
690
|
+
E.backgroundColor = N, E.color = C[c] || "#ffffff", T && (E.opacity = "0.9");
|
|
691
691
|
break;
|
|
692
692
|
case "Secondary":
|
|
693
693
|
const k = $[c] || N;
|
|
694
|
-
|
|
694
|
+
E.borderColor = k, E.color = k, E.borderWidth = "1px", E.borderStyle = "solid", T ? E.backgroundColor = Q(k, 0.1) : E.backgroundColor = c === "Honey" || c === "Grape" ? "#ffffff" : "transparent";
|
|
695
695
|
break;
|
|
696
696
|
case "Ghost":
|
|
697
|
-
const
|
|
698
|
-
c === "Honey" ? (
|
|
697
|
+
const G = L[c] || N, t0 = Z[c] || N;
|
|
698
|
+
c === "Honey" ? (E.color = t0, E.backgroundColor = "#ffffff", T && (E.backgroundColor = Q(G, 0.1))) : (E.color = t0, E.backgroundColor = T ? Q(G, 0.1) : "transparent");
|
|
699
699
|
break;
|
|
700
700
|
}
|
|
701
|
-
return
|
|
701
|
+
return E;
|
|
702
702
|
}, q = (() => {
|
|
703
703
|
if (P)
|
|
704
704
|
switch (v) {
|
|
@@ -745,23 +745,23 @@ const h0 = ({
|
|
|
745
745
|
disabled: "opacity-50 cursor-not-allowed"
|
|
746
746
|
};
|
|
747
747
|
}
|
|
748
|
-
})(), F =
|
|
748
|
+
})(), F = r0[u] || r0.Default, W = X(), n0 = `
|
|
749
749
|
${i0}
|
|
750
750
|
${F}
|
|
751
751
|
${q.base}
|
|
752
752
|
${P ? q.disabled : "cursor-pointer"}
|
|
753
753
|
${f}
|
|
754
|
-
`.trim().replace(/\s+/g, " "),
|
|
755
|
-
!P && d && d(
|
|
754
|
+
`.trim().replace(/\s+/g, " "), Y = (E) => {
|
|
755
|
+
!P && d && d(E);
|
|
756
756
|
};
|
|
757
757
|
return /* @__PURE__ */ l.jsx(
|
|
758
758
|
"button",
|
|
759
759
|
{
|
|
760
760
|
type: s,
|
|
761
|
-
className:
|
|
762
|
-
style:
|
|
761
|
+
className: n0,
|
|
762
|
+
style: W,
|
|
763
763
|
disabled: P,
|
|
764
|
-
onClick:
|
|
764
|
+
onClick: Y,
|
|
765
765
|
onMouseEnter: () => !P && A(!0),
|
|
766
766
|
onMouseLeave: () => A(!1),
|
|
767
767
|
...w,
|
|
@@ -8675,7 +8675,7 @@ function q3({
|
|
|
8675
8675
|
d: "M6 18 18 6M6 6l12 12"
|
|
8676
8676
|
}));
|
|
8677
8677
|
}
|
|
8678
|
-
const G3 = /* @__PURE__ */ e.forwardRef(q3),
|
|
8678
|
+
const G3 = /* @__PURE__ */ e.forwardRef(q3), E5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8679
8679
|
__proto__: null,
|
|
8680
8680
|
AcademicCapIcon: G5,
|
|
8681
8681
|
AdjustmentsHorizontalIcon: X5,
|
|
@@ -16203,7 +16203,7 @@ function Gm({
|
|
|
16203
16203
|
clipRule: "evenodd"
|
|
16204
16204
|
}));
|
|
16205
16205
|
}
|
|
16206
|
-
const _m = /* @__PURE__ */ e.forwardRef(Gm),
|
|
16206
|
+
const _m = /* @__PURE__ */ e.forwardRef(Gm), Z5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16207
16207
|
__proto__: null,
|
|
16208
16208
|
AcademicCapIcon: X3,
|
|
16209
16209
|
AdjustmentsHorizontalIcon: K3,
|
|
@@ -23631,7 +23631,7 @@ function GC({
|
|
|
23631
23631
|
d: "M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"
|
|
23632
23632
|
}));
|
|
23633
23633
|
}
|
|
23634
|
-
const _C = /* @__PURE__ */ e.forwardRef(GC),
|
|
23634
|
+
const _C = /* @__PURE__ */ e.forwardRef(GC), M5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23635
23635
|
__proto__: null,
|
|
23636
23636
|
AcademicCapIcon: Ym,
|
|
23637
23637
|
AdjustmentsHorizontalIcon: Qm,
|
|
@@ -30885,7 +30885,7 @@ function BD({
|
|
|
30885
30885
|
d: "M5.28 4.22a.75.75 0 0 0-1.06 1.06L6.94 8l-2.72 2.72a.75.75 0 1 0 1.06 1.06L8 9.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L9.06 8l2.72-2.72a.75.75 0 0 0-1.06-1.06L8 6.94 5.28 4.22Z"
|
|
30886
30886
|
}));
|
|
30887
30887
|
}
|
|
30888
|
-
const LD = /* @__PURE__ */ e.forwardRef(BD),
|
|
30888
|
+
const LD = /* @__PURE__ */ e.forwardRef(BD), y5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
30889
30889
|
__proto__: null,
|
|
30890
30890
|
AcademicCapIcon: YC,
|
|
30891
30891
|
AdjustmentsHorizontalIcon: QC,
|
|
@@ -31203,7 +31203,7 @@ const LD = /* @__PURE__ */ e.forwardRef(BD), Z5 = /* @__PURE__ */ Object.freeze(
|
|
|
31203
31203
|
WrenchScrewdriverIcon: AD,
|
|
31204
31204
|
XCircleIcon: kD,
|
|
31205
31205
|
XMarkIcon: LD
|
|
31206
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
31206
|
+
}, Symbol.toStringTag, { value: "Module" })), g5 = {
|
|
31207
31207
|
black: "color-black",
|
|
31208
31208
|
white: "color-white",
|
|
31209
31209
|
"gray-900": "color-gray-900",
|
|
@@ -31279,15 +31279,15 @@ const LD = /* @__PURE__ */ e.forwardRef(BD), Z5 = /* @__PURE__ */ Object.freeze(
|
|
|
31279
31279
|
{ name: "modules-time", component: "ClockIcon" }
|
|
31280
31280
|
],
|
|
31281
31281
|
nuevos: [{ name: "nuevos-eye", component: "EyeIcon" }]
|
|
31282
|
-
},
|
|
31283
|
-
{ key: "24-outline", weight: 24, style: "outline", lib:
|
|
31284
|
-
{ key: "24-solid", weight: 24, style: "solid", lib:
|
|
31285
|
-
{ key: "20-solid", weight: 20, style: "solid", lib:
|
|
31286
|
-
{ key: "16-solid", weight: 16, style: "solid", lib:
|
|
31282
|
+
}, p5 = Object.values(FD).flat().reduce((a, r) => (a[r.name] = r.component, a), {}), e5 = [
|
|
31283
|
+
{ key: "24-outline", weight: 24, style: "outline", lib: E5, defaultSize: 24 },
|
|
31284
|
+
{ key: "24-solid", weight: 24, style: "solid", lib: Z5, defaultSize: 24 },
|
|
31285
|
+
{ key: "20-solid", weight: 20, style: "solid", lib: M5, defaultSize: 20 },
|
|
31286
|
+
{ key: "16-solid", weight: 16, style: "solid", lib: y5, defaultSize: 16 }
|
|
31287
31287
|
], HD = Array.from(
|
|
31288
|
-
new Set(
|
|
31288
|
+
new Set(e5.flatMap(({ lib: a }) => Object.keys(a)))
|
|
31289
31289
|
).sort();
|
|
31290
|
-
|
|
31290
|
+
e5.map(({ key: a }) => a);
|
|
31291
31291
|
const ID = [
|
|
31292
31292
|
{ key: "critical", fill: "#EF4444", subtle: "#FEE2E2" },
|
|
31293
31293
|
{ key: "high", fill: "#F97316", subtle: "#FFEDD5" },
|
|
@@ -31295,7 +31295,7 @@ const ID = [
|
|
|
31295
31295
|
{ key: "low", fill: "#22C55E", subtle: "#DCFCE7" },
|
|
31296
31296
|
{ key: "info", fill: "#2563EB", subtle: "#DBEAFE" },
|
|
31297
31297
|
{ key: "neutral", fill: "#94A3B8", subtle: "#E2E8F0" }
|
|
31298
|
-
],
|
|
31298
|
+
], A5 = ID.flatMap((a) => [
|
|
31299
31299
|
{
|
|
31300
31300
|
id: `status-${a.key}`,
|
|
31301
31301
|
shape: "circle",
|
|
@@ -31350,19 +31350,19 @@ const ID = [
|
|
|
31350
31350
|
group: "square",
|
|
31351
31351
|
tone: a.key
|
|
31352
31352
|
}
|
|
31353
|
-
]), VD =
|
|
31353
|
+
]), VD = A5.reduce((a, r) => (a[r.id] = r, a), {}), SD = (a) => a.charAt(0).toUpperCase() + a.slice(1), DD = (a) => {
|
|
31354
31354
|
if (!a) return a;
|
|
31355
31355
|
const r = a.replace(/icon$/i, "").trim();
|
|
31356
31356
|
if (!r) return a;
|
|
31357
31357
|
const t = r.split(/[\s-_]+/).filter(Boolean).map((n) => SD(n.toLowerCase()));
|
|
31358
31358
|
return t.length ? `${t.join("")}Icon` : a;
|
|
31359
31359
|
}, ND = (a) => {
|
|
31360
|
-
if (
|
|
31361
|
-
if (
|
|
31360
|
+
if (p5[a]) return p5[a];
|
|
31361
|
+
if (R5.includes(a)) return a;
|
|
31362
31362
|
const r = DD(a);
|
|
31363
|
-
return
|
|
31364
|
-
},
|
|
31365
|
-
const d =
|
|
31363
|
+
return R5.includes(r) ? r : a;
|
|
31364
|
+
}, b5 = (a, r) => a ? OD[a] || a : r, PD = (a, r, t, n, c) => {
|
|
31365
|
+
const d = b5(n, a.fill), s = b5(n, a.stroke || a.fill), i = a.variant === "outline" ? 2 : 0;
|
|
31366
31366
|
return a.shape === "triangle" ? /* @__PURE__ */ l.jsx(
|
|
31367
31367
|
"svg",
|
|
31368
31368
|
{
|
|
@@ -31453,8 +31453,8 @@ const ID = [
|
|
|
31453
31453
|
}
|
|
31454
31454
|
);
|
|
31455
31455
|
};
|
|
31456
|
-
|
|
31457
|
-
const
|
|
31456
|
+
A5.map(({ id: a }) => a);
|
|
31457
|
+
const R5 = HD, b = ({
|
|
31458
31458
|
name: a,
|
|
31459
31459
|
variant: r = "24-outline",
|
|
31460
31460
|
size: t,
|
|
@@ -31467,12 +31467,12 @@ const p5 = HD, b = ({
|
|
|
31467
31467
|
const d = VD[a];
|
|
31468
31468
|
if (d)
|
|
31469
31469
|
return PD(d, t ?? 18, n, c, u);
|
|
31470
|
-
const s = ND(a), i =
|
|
31470
|
+
const s = ND(a), i = e5.find(({ key: C }) => C === r) || e5[0], f = e5.find(
|
|
31471
31471
|
({ weight: C, style: $ }) => C === i.weight && $ !== i.style
|
|
31472
|
-
), w = i.lib[s] || (f ? f.lib[s] : null) ||
|
|
31472
|
+
), w = i.lib[s] || (f ? f.lib[s] : null) || E5[s] || Z5[s] || M5[s] || y5[s];
|
|
31473
31473
|
if (!w)
|
|
31474
31474
|
return console.warn(`Icon "${a}" not found in catalog`), null;
|
|
31475
|
-
const p = `${c &&
|
|
31475
|
+
const p = `${c && g5[c] ? g5[c] : ""} ${n}`.trim(), m = t ?? i.defaultSize;
|
|
31476
31476
|
return /* @__PURE__ */ l.jsx(w, { className: p, width: m, height: m, ...u });
|
|
31477
31477
|
}, WD = ({
|
|
31478
31478
|
variant: a = "info",
|
|
@@ -31514,7 +31514,7 @@ const p5 = HD, b = ({
|
|
|
31514
31514
|
}
|
|
31515
31515
|
)
|
|
31516
31516
|
] }) });
|
|
31517
|
-
},
|
|
31517
|
+
}, o5 = ({
|
|
31518
31518
|
src: a,
|
|
31519
31519
|
alt: r = "",
|
|
31520
31520
|
name: t,
|
|
@@ -31705,7 +31705,7 @@ const p5 = HD, b = ({
|
|
|
31705
31705
|
className: u = "",
|
|
31706
31706
|
...d
|
|
31707
31707
|
}) => {
|
|
31708
|
-
|
|
31708
|
+
v0(() => {
|
|
31709
31709
|
if (t > 0 && n) {
|
|
31710
31710
|
const w = setTimeout(() => {
|
|
31711
31711
|
n();
|
|
@@ -31769,7 +31769,7 @@ const p5 = HD, b = ({
|
|
|
31769
31769
|
className: n = "",
|
|
31770
31770
|
...c
|
|
31771
31771
|
}) => {
|
|
31772
|
-
const [u, d] =
|
|
31772
|
+
const [u, d] = S(!1), s = {
|
|
31773
31773
|
top: "bottom-full left-1/2 transform -translate-x-1/2 mb-2",
|
|
31774
31774
|
bottom: "top-full left-1/2 transform -translate-x-1/2 mt-2",
|
|
31775
31775
|
left: "right-full top-1/2 transform -translate-y-1/2 mr-2",
|
|
@@ -31807,7 +31807,7 @@ const p5 = HD, b = ({
|
|
|
31807
31807
|
]
|
|
31808
31808
|
}
|
|
31809
31809
|
);
|
|
31810
|
-
},
|
|
31810
|
+
}, c5 = ({
|
|
31811
31811
|
width: a = 36,
|
|
31812
31812
|
height: r = 40,
|
|
31813
31813
|
backgroundColor: t = "#2D5C63",
|
|
@@ -31837,7 +31837,7 @@ const p5 = HD, b = ({
|
|
|
31837
31837
|
}
|
|
31838
31838
|
)
|
|
31839
31839
|
}
|
|
31840
|
-
),
|
|
31840
|
+
), z0 = ({
|
|
31841
31841
|
label: a,
|
|
31842
31842
|
placeholder: r,
|
|
31843
31843
|
type: t = "text",
|
|
@@ -31848,7 +31848,7 @@ const p5 = HD, b = ({
|
|
|
31848
31848
|
className: s = "",
|
|
31849
31849
|
...i
|
|
31850
31850
|
}) => {
|
|
31851
|
-
const { t: f } =
|
|
31851
|
+
const { t: f } = x0(), w = `
|
|
31852
31852
|
w-full px-3 py-2 border rounded-lg
|
|
31853
31853
|
focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent
|
|
31854
31854
|
disabled:bg-gray-100 disabled:cursor-not-allowed
|
|
@@ -31929,7 +31929,7 @@ const p5 = HD, b = ({
|
|
|
31929
31929
|
className: i = "",
|
|
31930
31930
|
...f
|
|
31931
31931
|
}) => {
|
|
31932
|
-
const { t: w } =
|
|
31932
|
+
const { t: w } = x0(), v = `
|
|
31933
31933
|
w-full px-3 py-2 border rounded-lg
|
|
31934
31934
|
focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent
|
|
31935
31935
|
disabled:bg-gray-100 disabled:cursor-not-allowed
|
|
@@ -31968,7 +31968,7 @@ const p5 = HD, b = ({
|
|
|
31968
31968
|
className: s = "",
|
|
31969
31969
|
...i
|
|
31970
31970
|
}) => {
|
|
31971
|
-
const { t: f } =
|
|
31971
|
+
const { t: f } = x0(), w = `
|
|
31972
31972
|
w-full px-3 py-2 border rounded-lg
|
|
31973
31973
|
focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent
|
|
31974
31974
|
disabled:bg-gray-100 disabled:cursor-not-allowed
|
|
@@ -32046,7 +32046,7 @@ const p5 = HD, b = ({
|
|
|
32046
32046
|
className: d = "",
|
|
32047
32047
|
...s
|
|
32048
32048
|
}) => {
|
|
32049
|
-
const { t: i } =
|
|
32049
|
+
const { t: i } = x0(), f = `
|
|
32050
32050
|
w-full px-3 py-2 pl-10 border rounded-lg
|
|
32051
32051
|
focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent
|
|
32052
32052
|
disabled:bg-gray-100 disabled:cursor-not-allowed
|
|
@@ -32086,11 +32086,11 @@ const p5 = HD, b = ({
|
|
|
32086
32086
|
className: i = "",
|
|
32087
32087
|
...f
|
|
32088
32088
|
}) => {
|
|
32089
|
-
const { t: w } =
|
|
32089
|
+
const { t: w } = x0(), [v, p] = S([]), m = ($) => {
|
|
32090
32090
|
const L = Array.from($.target.files);
|
|
32091
32091
|
p(L), s && s(L);
|
|
32092
32092
|
}, C = ($) => {
|
|
32093
|
-
const L = v.filter((
|
|
32093
|
+
const L = v.filter((Z, x) => x !== $);
|
|
32094
32094
|
p(L), s && s(L);
|
|
32095
32095
|
};
|
|
32096
32096
|
return /* @__PURE__ */ l.jsxs("div", { className: `w-full ${i}`, children: [
|
|
@@ -32170,7 +32170,7 @@ const p5 = HD, b = ({
|
|
|
32170
32170
|
className: s = "",
|
|
32171
32171
|
...i
|
|
32172
32172
|
}) => {
|
|
32173
|
-
const [f, w] =
|
|
32173
|
+
const [f, w] = S(""), v = (m) => {
|
|
32174
32174
|
const C = m.target.value;
|
|
32175
32175
|
w(C), c && c(C);
|
|
32176
32176
|
}, p = (m) => {
|
|
@@ -32256,7 +32256,7 @@ const p5 = HD, b = ({
|
|
|
32256
32256
|
"aria-label": "Perfil de usuario",
|
|
32257
32257
|
children: [
|
|
32258
32258
|
/* @__PURE__ */ l.jsx(
|
|
32259
|
-
|
|
32259
|
+
o5,
|
|
32260
32260
|
{
|
|
32261
32261
|
src: t,
|
|
32262
32262
|
name: r,
|
|
@@ -32288,7 +32288,7 @@ const p5 = HD, b = ({
|
|
|
32288
32288
|
] }) })
|
|
32289
32289
|
}
|
|
32290
32290
|
);
|
|
32291
|
-
},
|
|
32291
|
+
}, C5 = [
|
|
32292
32292
|
{
|
|
32293
32293
|
title: "PERSONAS",
|
|
32294
32294
|
items: [
|
|
@@ -32303,8 +32303,8 @@ const p5 = HD, b = ({
|
|
|
32303
32303
|
{ id: "desarrollo", label: "Desarrollo", icon: "AcademicCapIcon" }
|
|
32304
32304
|
]
|
|
32305
32305
|
}
|
|
32306
|
-
],
|
|
32307
|
-
sections: a =
|
|
32306
|
+
], $5 = ({
|
|
32307
|
+
sections: a = C5,
|
|
32308
32308
|
activeItem: r,
|
|
32309
32309
|
onItemClick: t,
|
|
32310
32310
|
companyName: n = "HEXA Core",
|
|
@@ -32327,23 +32327,23 @@ const p5 = HD, b = ({
|
|
|
32327
32327
|
// Mobile: labels de items
|
|
32328
32328
|
mobileItemLabelFontSize: $ = "1rem",
|
|
32329
32329
|
mobileItemLabelWeightInactive: L = "regular",
|
|
32330
|
-
mobileItemLabelWeightActive:
|
|
32330
|
+
mobileItemLabelWeightActive: Z = "semibold",
|
|
32331
32331
|
// Mobile: íconos
|
|
32332
|
-
mobileIconSize:
|
|
32332
|
+
mobileIconSize: x = 24,
|
|
32333
32333
|
mobileIconStyle: N,
|
|
32334
|
-
isOpen:
|
|
32334
|
+
isOpen: T,
|
|
32335
32335
|
onClose: A,
|
|
32336
32336
|
className: P = "",
|
|
32337
32337
|
...i0
|
|
32338
32338
|
}) => {
|
|
32339
|
-
const [
|
|
32340
|
-
|
|
32341
|
-
m &&
|
|
32342
|
-
}, [r,
|
|
32343
|
-
m && !q &&
|
|
32344
|
-
}, [q,
|
|
32345
|
-
const
|
|
32346
|
-
A ? A() :
|
|
32339
|
+
const [r0, Q] = S(!1), [X, c0] = S(null), q = T !== void 0 ? T : r0, F = m && X != null ? X : r;
|
|
32340
|
+
v0(() => {
|
|
32341
|
+
m && X != null && X === r && c0(null);
|
|
32342
|
+
}, [r, X, m]), v0(() => {
|
|
32343
|
+
m && !q && X != null && c0(null);
|
|
32344
|
+
}, [q, X, m]);
|
|
32345
|
+
const W = () => {
|
|
32346
|
+
A ? A() : Q(!r0);
|
|
32347
32347
|
};
|
|
32348
32348
|
return (() => {
|
|
32349
32349
|
if (i)
|
|
@@ -32368,10 +32368,10 @@ const p5 = HD, b = ({
|
|
|
32368
32368
|
transition: transform ${v}ms ${p};
|
|
32369
32369
|
}
|
|
32370
32370
|
` }),
|
|
32371
|
-
!q &&
|
|
32371
|
+
!q && T === void 0 && /* @__PURE__ */ l.jsx(
|
|
32372
32372
|
"button",
|
|
32373
32373
|
{
|
|
32374
|
-
onClick:
|
|
32374
|
+
onClick: W,
|
|
32375
32375
|
className: `fixed top-4 left-4 z-50 p-2 bg-white rounded-lg \r
|
|
32376
32376
|
hover:bg-gray-50 transition-colors`,
|
|
32377
32377
|
style: { border: "1px solid #C4C4C4" },
|
|
@@ -32381,11 +32381,11 @@ const p5 = HD, b = ({
|
|
|
32381
32381
|
{
|
|
32382
32382
|
name: "Bars3Icon",
|
|
32383
32383
|
variant: "24-outline",
|
|
32384
|
-
size:
|
|
32384
|
+
size: x,
|
|
32385
32385
|
className: "color-gray-700",
|
|
32386
32386
|
style: {
|
|
32387
|
-
width: `${
|
|
32388
|
-
height: `${
|
|
32387
|
+
width: `${x}px`,
|
|
32388
|
+
height: `${x}px`,
|
|
32389
32389
|
opacity: 1,
|
|
32390
32390
|
transform: "rotate(0deg)",
|
|
32391
32391
|
...N || {}
|
|
@@ -32404,7 +32404,7 @@ const p5 = HD, b = ({
|
|
|
32404
32404
|
transition: `opacity ${v}ms ${p}`
|
|
32405
32405
|
},
|
|
32406
32406
|
onClick: () => {
|
|
32407
|
-
A ? A() :
|
|
32407
|
+
A ? A() : W();
|
|
32408
32408
|
}
|
|
32409
32409
|
}
|
|
32410
32410
|
),
|
|
@@ -32423,7 +32423,7 @@ const p5 = HD, b = ({
|
|
|
32423
32423
|
style: f,
|
|
32424
32424
|
children: [
|
|
32425
32425
|
/* @__PURE__ */ l.jsx(
|
|
32426
|
-
|
|
32426
|
+
c5,
|
|
32427
32427
|
{
|
|
32428
32428
|
width: 36,
|
|
32429
32429
|
height: 40,
|
|
@@ -32458,7 +32458,7 @@ const p5 = HD, b = ({
|
|
|
32458
32458
|
"button",
|
|
32459
32459
|
{
|
|
32460
32460
|
onClick: () => {
|
|
32461
|
-
A ? A() :
|
|
32461
|
+
A ? A() : W();
|
|
32462
32462
|
},
|
|
32463
32463
|
className: "p-1 hover:bg-gray-100 rounded transition-colors flex-shrink-0",
|
|
32464
32464
|
"aria-label": "Cerrar menú",
|
|
@@ -32467,11 +32467,11 @@ const p5 = HD, b = ({
|
|
|
32467
32467
|
{
|
|
32468
32468
|
name: "XMarkIcon",
|
|
32469
32469
|
variant: "24-outline",
|
|
32470
|
-
size:
|
|
32470
|
+
size: x,
|
|
32471
32471
|
className: "color-gray-700",
|
|
32472
32472
|
style: {
|
|
32473
|
-
width: `${
|
|
32474
|
-
height: `${
|
|
32473
|
+
width: `${x}px`,
|
|
32474
|
+
height: `${x}px`,
|
|
32475
32475
|
opacity: 1,
|
|
32476
32476
|
transform: "rotate(0deg)",
|
|
32477
32477
|
...N || {}
|
|
@@ -32486,7 +32486,7 @@ const p5 = HD, b = ({
|
|
|
32486
32486
|
"button",
|
|
32487
32487
|
{
|
|
32488
32488
|
onClick: () => {
|
|
32489
|
-
t && t("inicio"), A ? A() :
|
|
32489
|
+
t && t("inicio"), A ? A() : W();
|
|
32490
32490
|
},
|
|
32491
32491
|
className: `w-full flex items-center cursor-pointer px-4 justify-between py-2.5 rounded-lg transition-all duration-200 ${F === "inicio" ? "" : "color-gray-700 hover:bg-gray-100"}`,
|
|
32492
32492
|
style: F === "inicio" ? { backgroundColor: "#2D5C63" } : {},
|
|
@@ -32497,11 +32497,11 @@ const p5 = HD, b = ({
|
|
|
32497
32497
|
{
|
|
32498
32498
|
name: "HomeIcon",
|
|
32499
32499
|
variant: "24-outline",
|
|
32500
|
-
size:
|
|
32500
|
+
size: x,
|
|
32501
32501
|
className: `mr-3 ${F === "inicio" ? "color-white" : "color-gray-700"}`,
|
|
32502
32502
|
style: {
|
|
32503
|
-
width: `${
|
|
32504
|
-
height: `${
|
|
32503
|
+
width: `${x}px`,
|
|
32504
|
+
height: `${x}px`,
|
|
32505
32505
|
opacity: 1,
|
|
32506
32506
|
transform: "rotate(0deg)",
|
|
32507
32507
|
...N || {}
|
|
@@ -32512,7 +32512,7 @@ const p5 = HD, b = ({
|
|
|
32512
32512
|
y,
|
|
32513
32513
|
{
|
|
32514
32514
|
variant: "body-md",
|
|
32515
|
-
weight: F === "inicio" ?
|
|
32515
|
+
weight: F === "inicio" ? Z : L,
|
|
32516
32516
|
className: F === "inicio" ? "color-white" : "color-gray-700",
|
|
32517
32517
|
style: { fontSize: $ },
|
|
32518
32518
|
children: "Inicio"
|
|
@@ -32536,20 +32536,20 @@ const p5 = HD, b = ({
|
|
|
32536
32536
|
]
|
|
32537
32537
|
}
|
|
32538
32538
|
) }),
|
|
32539
|
-
a.map((
|
|
32539
|
+
a.map((Y, E) => /* @__PURE__ */ l.jsxs("div", { className: "mb-6", children: [
|
|
32540
32540
|
/* @__PURE__ */ l.jsx("div", { className: "px-4 mb-2", children: /* @__PURE__ */ l.jsx(
|
|
32541
32541
|
y,
|
|
32542
32542
|
{
|
|
32543
32543
|
variant: "body-sm",
|
|
32544
32544
|
className: "color-gray-500 uppercase font-medium tracking-wider",
|
|
32545
|
-
children:
|
|
32545
|
+
children: Y.title
|
|
32546
32546
|
}
|
|
32547
32547
|
) }),
|
|
32548
|
-
/* @__PURE__ */ l.jsx("div", { className: "space-y-1", children:
|
|
32548
|
+
/* @__PURE__ */ l.jsx("div", { className: "space-y-1", children: Y.items.map((k) => /* @__PURE__ */ l.jsx("div", { className: "px-4", children: /* @__PURE__ */ l.jsxs(
|
|
32549
32549
|
"button",
|
|
32550
32550
|
{
|
|
32551
32551
|
onClick: () => {
|
|
32552
|
-
m &&
|
|
32552
|
+
m && c0(k.id), t && t(k.id), A ? C ? requestAnimationFrame(() => A()) : A() : W();
|
|
32553
32553
|
},
|
|
32554
32554
|
className: `w-full flex items-center cursor-pointer px-4 justify-between py-2.5 rounded-lg transition-all duration-200 ${F === k.id ? "" : "color-gray-700 hover:bg-gray-100"}`,
|
|
32555
32555
|
style: F === k.id ? { backgroundColor: "#2D5C63" } : {},
|
|
@@ -32560,11 +32560,11 @@ const p5 = HD, b = ({
|
|
|
32560
32560
|
{
|
|
32561
32561
|
name: k.icon,
|
|
32562
32562
|
variant: "24-outline",
|
|
32563
|
-
size:
|
|
32563
|
+
size: x,
|
|
32564
32564
|
className: `mr-3 ${F === k.id ? "color-white" : "color-gray-700"}`,
|
|
32565
32565
|
style: {
|
|
32566
|
-
width: `${
|
|
32567
|
-
height: `${
|
|
32566
|
+
width: `${x}px`,
|
|
32567
|
+
height: `${x}px`,
|
|
32568
32568
|
opacity: 1,
|
|
32569
32569
|
transform: "rotate(0deg)",
|
|
32570
32570
|
...N || {}
|
|
@@ -32575,7 +32575,7 @@ const p5 = HD, b = ({
|
|
|
32575
32575
|
y,
|
|
32576
32576
|
{
|
|
32577
32577
|
variant: "body-md",
|
|
32578
|
-
weight: F === k.id ?
|
|
32578
|
+
weight: F === k.id ? Z : L,
|
|
32579
32579
|
className: F === k.id ? "color-white" : "color-gray-700",
|
|
32580
32580
|
style: { fontSize: $ },
|
|
32581
32581
|
children: k.label
|
|
@@ -32599,7 +32599,7 @@ const p5 = HD, b = ({
|
|
|
32599
32599
|
]
|
|
32600
32600
|
}
|
|
32601
32601
|
) }, k.id)) })
|
|
32602
|
-
] },
|
|
32602
|
+
] }, E))
|
|
32603
32603
|
] }),
|
|
32604
32604
|
s && /* @__PURE__ */ l.jsx("div", { className: "px-4 pb-4 flex-shrink-0", children: /* @__PURE__ */ l.jsx(
|
|
32605
32605
|
"div",
|
|
@@ -32616,19 +32616,19 @@ const p5 = HD, b = ({
|
|
|
32616
32616
|
style: { color: "#2D5C63" },
|
|
32617
32617
|
className: "text-center",
|
|
32618
32618
|
children: (() => {
|
|
32619
|
-
const
|
|
32620
|
-
if (
|
|
32621
|
-
const
|
|
32619
|
+
const Y = s.split("|");
|
|
32620
|
+
if (Y.length === 2) {
|
|
32621
|
+
const E = Y[0].trim(), k = Y[1].trim();
|
|
32622
32622
|
if (k.includes("Powered by")) {
|
|
32623
|
-
const
|
|
32624
|
-
if (
|
|
32623
|
+
const G = k.match(/Powered by (.+)/);
|
|
32624
|
+
if (G)
|
|
32625
32625
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
32626
|
-
|
|
32626
|
+
E,
|
|
32627
32627
|
" | Powered by ",
|
|
32628
|
-
/* @__PURE__ */ l.jsx("span", { className: "font-bold", children:
|
|
32628
|
+
/* @__PURE__ */ l.jsx("span", { className: "font-bold", children: G[1] })
|
|
32629
32629
|
] });
|
|
32630
32630
|
}
|
|
32631
|
-
return `${
|
|
32631
|
+
return `${E} | ${k}`;
|
|
32632
32632
|
}
|
|
32633
32633
|
return s;
|
|
32634
32634
|
})()
|
|
@@ -32654,7 +32654,7 @@ const p5 = HD, b = ({
|
|
|
32654
32654
|
)
|
|
32655
32655
|
] });
|
|
32656
32656
|
}, MN = ({
|
|
32657
|
-
sections: a =
|
|
32657
|
+
sections: a = C5,
|
|
32658
32658
|
activeItem: r,
|
|
32659
32659
|
onItemClick: t,
|
|
32660
32660
|
defaultCollapsed: n = !1,
|
|
@@ -32673,53 +32673,76 @@ const p5 = HD, b = ({
|
|
|
32673
32673
|
desktopCollapseButtonStyle: C,
|
|
32674
32674
|
desktopCollapseIconSize: $ = 20,
|
|
32675
32675
|
desktopCollapseIconStrokeWidth: L = 1.5,
|
|
32676
|
-
desktopCollapseIconColor:
|
|
32677
|
-
desktopCollapseIconClassName:
|
|
32676
|
+
desktopCollapseIconColor: Z = "#0F172A",
|
|
32677
|
+
desktopCollapseIconClassName: x = "",
|
|
32678
32678
|
desktopCollapseIconStyle: N,
|
|
32679
32679
|
// Desktop: overrides para el control de expandir (solo cuando está colapsado)
|
|
32680
|
-
desktopExpandButtonClassName:
|
|
32680
|
+
desktopExpandButtonClassName: T = "",
|
|
32681
32681
|
desktopExpandButtonStyle: A,
|
|
32682
32682
|
desktopExpandIconSize: P = 20,
|
|
32683
32683
|
desktopExpandIconStrokeWidth: i0 = 1.5,
|
|
32684
|
-
desktopExpandIconColor:
|
|
32685
|
-
desktopExpandIconClassName:
|
|
32686
|
-
desktopExpandIconStyle:
|
|
32684
|
+
desktopExpandIconColor: r0 = "#0F172A",
|
|
32685
|
+
desktopExpandIconClassName: Q = "",
|
|
32686
|
+
desktopExpandIconStyle: X,
|
|
32687
32687
|
// Desktop: labels de items (solo cuando NO está colapsado)
|
|
32688
|
-
desktopItemLabelFontSize:
|
|
32688
|
+
desktopItemLabelFontSize: c0 = "1rem",
|
|
32689
32689
|
desktopItemLabelWeightInactive: q = "regular",
|
|
32690
32690
|
desktopItemLabelWeightActive: F = "semibold",
|
|
32691
32691
|
// Desktop: íconos de navegación (items)
|
|
32692
|
-
desktopExpandedIconSize:
|
|
32693
|
-
desktopCollapsedIconSize:
|
|
32694
|
-
|
|
32692
|
+
desktopExpandedIconSize: W = 24,
|
|
32693
|
+
desktopCollapsedIconSize: n0 = 32,
|
|
32694
|
+
// Desktop colapsado: wrapper interno del ícono (hijo del 32x32)
|
|
32695
|
+
desktopCollapsedIconInnerSize: Y = 24,
|
|
32696
|
+
desktopCollapsedIconInnerStyle: E,
|
|
32697
|
+
desktopCollapsedIconWrapperStyle: k,
|
|
32698
|
+
// Desktop colapsado: solapamiento icono + badge (mínimo)
|
|
32699
|
+
desktopCollapsedOverlapEnabled: G = !0,
|
|
32700
|
+
desktopCollapsedOverlapIconMarginLeftPx: t0 = 3,
|
|
32701
|
+
desktopCollapsedOverlapBadgeMarginLeftPx: s0 = -6,
|
|
32702
|
+
desktopCollapsedOverlapColumnGapPx: g0 = 0,
|
|
32703
|
+
desktopNavIconStyle: u0,
|
|
32695
32704
|
// Desktop colapsado: wrapper de cada item (Inicio + opciones)
|
|
32696
|
-
desktopCollapsedItemWrapperClassName:
|
|
32697
|
-
desktopCollapsedItemWrapperStyle:
|
|
32698
|
-
desktopCollapsedItemActiveBackgroundColor:
|
|
32705
|
+
desktopCollapsedItemWrapperClassName: E0 = "",
|
|
32706
|
+
desktopCollapsedItemWrapperStyle: f0,
|
|
32707
|
+
desktopCollapsedItemActiveBackgroundColor: J = "#2D5C63",
|
|
32708
|
+
// Desktop colapsado: badge (globito) de notificaciones
|
|
32709
|
+
desktopCollapsedBadgeClassName: Z0 = "",
|
|
32710
|
+
desktopCollapsedBadgeStyle: p0,
|
|
32711
|
+
desktopCollapsedBadgeWidth: M0 = "21px",
|
|
32712
|
+
desktopCollapsedBadgeHeight: b0 = "20px",
|
|
32699
32713
|
// Desktop colapsado: ancho del sidebar
|
|
32700
|
-
desktopCollapsedWidth:
|
|
32714
|
+
desktopCollapsedWidth: _0 = "118px",
|
|
32701
32715
|
// Desktop colapsado: footer
|
|
32702
|
-
desktopCollapsedFooterContainerClassName:
|
|
32703
|
-
desktopCollapsedFooterContainerStyle:
|
|
32704
|
-
desktopCollapsedFooterTextClassName:
|
|
32705
|
-
desktopCollapsedFooterTextStyle:
|
|
32706
|
-
|
|
32707
|
-
|
|
32708
|
-
|
|
32709
|
-
|
|
32716
|
+
desktopCollapsedFooterContainerClassName: I0 = "",
|
|
32717
|
+
desktopCollapsedFooterContainerStyle: y0,
|
|
32718
|
+
desktopCollapsedFooterTextClassName: k0 = "",
|
|
32719
|
+
desktopCollapsedFooterTextStyle: w0,
|
|
32720
|
+
// Desktop colapsado: separador entre secciones
|
|
32721
|
+
desktopCollapsedSectionSeparatorClassName: R0 = "",
|
|
32722
|
+
desktopCollapsedSectionSeparatorStyle: V0,
|
|
32723
|
+
desktopCollapsedSectionSeparatorWrapperClassName: S0 = "",
|
|
32724
|
+
desktopCollapsedSectionSeparatorWrapperStyle: A0,
|
|
32725
|
+
// Desktop colapsado: ajustes de spacing (para evitar “aire” extra)
|
|
32726
|
+
desktopCollapsedInicioContainerClassName: X0 = "",
|
|
32727
|
+
desktopCollapsedSectionContainerClassName: Y0 = "",
|
|
32728
|
+
desktopCollapsedSeparatorContainerClassName: B0 = "",
|
|
32729
|
+
nucleusName: a5 = "Nucleus AR",
|
|
32730
|
+
nucleusLogo: r5,
|
|
32731
|
+
onNucleusClick: L0,
|
|
32732
|
+
itemBadges: D = {},
|
|
32710
32733
|
// Objeto con { itemId: number } para los badges
|
|
32711
|
-
footerText:
|
|
32734
|
+
footerText: I,
|
|
32712
32735
|
// Texto del footer: puede ser string "v1.0 | Powered by Nucleus" o objeto { version: "v1.0", poweredBy: "Powered by", brand: "Nucleus" }
|
|
32713
|
-
footerCollapsedContent:
|
|
32736
|
+
footerCollapsedContent: h0,
|
|
32714
32737
|
// Contenido a mostrar en el footer cuando está colapsado (puede ser string, ReactNode, o objeto con icon y text)
|
|
32715
|
-
coreContainerStyle:
|
|
32738
|
+
coreContainerStyle: C0,
|
|
32716
32739
|
// Estilos personalizados para el contenedor de LogoHexa y "Core" (solo mobile)
|
|
32717
|
-
coreTextStyle:
|
|
32740
|
+
coreTextStyle: O0,
|
|
32718
32741
|
// Estilos personalizados para el texto "Core" (solo mobile)
|
|
32719
|
-
className:
|
|
32720
|
-
...
|
|
32742
|
+
className: D0 = "",
|
|
32743
|
+
...N0
|
|
32721
32744
|
}) => {
|
|
32722
|
-
const [
|
|
32745
|
+
const [R, P0] = S(n), [K0, W0] = S(!1), $0 = R ? n0 : W, _ = R ? Y : W, j0 = {
|
|
32723
32746
|
width: "78px",
|
|
32724
32747
|
height: "48px",
|
|
32725
32748
|
paddingTop: "8px",
|
|
@@ -32732,29 +32755,29 @@ const p5 = HD, b = ({
|
|
|
32732
32755
|
borderRadius: "8px",
|
|
32733
32756
|
boxSizing: "border-box"
|
|
32734
32757
|
};
|
|
32735
|
-
|
|
32736
|
-
const
|
|
32737
|
-
|
|
32758
|
+
v0(() => {
|
|
32759
|
+
const l0 = () => {
|
|
32760
|
+
W0(window.innerWidth <= 768);
|
|
32738
32761
|
};
|
|
32739
|
-
return
|
|
32740
|
-
window.removeEventListener("resize",
|
|
32762
|
+
return l0(), window.addEventListener("resize", l0), () => {
|
|
32763
|
+
window.removeEventListener("resize", l0);
|
|
32741
32764
|
};
|
|
32742
32765
|
}, []);
|
|
32743
|
-
const
|
|
32744
|
-
|
|
32745
|
-
},
|
|
32746
|
-
if (
|
|
32747
|
-
return
|
|
32748
|
-
if (
|
|
32749
|
-
if (typeof
|
|
32750
|
-
return
|
|
32751
|
-
if (typeof
|
|
32752
|
-
return
|
|
32766
|
+
const K = () => {
|
|
32767
|
+
P0(!R);
|
|
32768
|
+
}, e0 = (() => {
|
|
32769
|
+
if (h0)
|
|
32770
|
+
return h0;
|
|
32771
|
+
if (I && !h0) {
|
|
32772
|
+
if (typeof I == "string")
|
|
32773
|
+
return I.split("|")[0].trim() || I.trim();
|
|
32774
|
+
if (typeof I == "object" && I.version)
|
|
32775
|
+
return I.version;
|
|
32753
32776
|
}
|
|
32754
32777
|
return null;
|
|
32755
32778
|
})();
|
|
32756
|
-
return
|
|
32757
|
-
|
|
32779
|
+
return K0 ? /* @__PURE__ */ l.jsx(
|
|
32780
|
+
$5,
|
|
32758
32781
|
{
|
|
32759
32782
|
sections: a,
|
|
32760
32783
|
activeItem: r,
|
|
@@ -32762,26 +32785,26 @@ const p5 = HD, b = ({
|
|
|
32762
32785
|
companyName: c,
|
|
32763
32786
|
companyLogo: u,
|
|
32764
32787
|
onCompanyClick: d,
|
|
32765
|
-
itemBadges:
|
|
32766
|
-
footerText:
|
|
32767
|
-
footerCollapsedContent:
|
|
32768
|
-
coreContainerStyle:
|
|
32769
|
-
coreTextStyle:
|
|
32770
|
-
className:
|
|
32771
|
-
...
|
|
32788
|
+
itemBadges: D,
|
|
32789
|
+
footerText: I,
|
|
32790
|
+
footerCollapsedContent: h0,
|
|
32791
|
+
coreContainerStyle: C0,
|
|
32792
|
+
coreTextStyle: O0,
|
|
32793
|
+
className: D0,
|
|
32794
|
+
...N0
|
|
32772
32795
|
}
|
|
32773
32796
|
) : /* @__PURE__ */ l.jsx(
|
|
32774
32797
|
"aside",
|
|
32775
32798
|
{
|
|
32776
|
-
className: `bg-white transition-all duration-300 ease-in-out h-full ${
|
|
32799
|
+
className: `bg-white transition-all duration-300 ease-in-out h-full ${R ? "" : "w-64"} ${D0}`,
|
|
32777
32800
|
style: {
|
|
32778
32801
|
border: "1px solid #C4C4C4",
|
|
32779
32802
|
borderRadius: "16px",
|
|
32780
|
-
...
|
|
32803
|
+
...R ? { width: _0 } : {}
|
|
32781
32804
|
},
|
|
32782
|
-
...
|
|
32805
|
+
...N0,
|
|
32783
32806
|
children: /* @__PURE__ */ l.jsxs("nav", { className: "h-full flex flex-col", style: { overflow: "hidden" }, children: [
|
|
32784
|
-
!
|
|
32807
|
+
!R && /* @__PURE__ */ l.jsx("div", { className: "p-4 border-b border-gray-200 flex-shrink-0", children: /* @__PURE__ */ l.jsx(
|
|
32785
32808
|
"button",
|
|
32786
32809
|
{
|
|
32787
32810
|
onClick: d,
|
|
@@ -32796,7 +32819,7 @@ const p5 = HD, b = ({
|
|
|
32796
32819
|
alt: c,
|
|
32797
32820
|
className: "w-8 h-8 rounded"
|
|
32798
32821
|
}
|
|
32799
|
-
) : /* @__PURE__ */ l.jsx(
|
|
32822
|
+
) : /* @__PURE__ */ l.jsx(c5, { width: 36, height: 40 }),
|
|
32800
32823
|
/* @__PURE__ */ l.jsx(
|
|
32801
32824
|
y,
|
|
32802
32825
|
{
|
|
@@ -32820,7 +32843,7 @@ const p5 = HD, b = ({
|
|
|
32820
32843
|
] })
|
|
32821
32844
|
}
|
|
32822
32845
|
) }),
|
|
32823
|
-
!
|
|
32846
|
+
!R && /* @__PURE__ */ l.jsx("div", { className: "px-4 pt-2 flex justify-end flex-shrink-0", children: /* @__PURE__ */ l.jsx(
|
|
32824
32847
|
"div",
|
|
32825
32848
|
{
|
|
32826
32849
|
className: `flex justify-end ${v}`,
|
|
@@ -32838,7 +32861,7 @@ const p5 = HD, b = ({
|
|
|
32838
32861
|
children: /* @__PURE__ */ l.jsx(
|
|
32839
32862
|
"button",
|
|
32840
32863
|
{
|
|
32841
|
-
onClick:
|
|
32864
|
+
onClick: K,
|
|
32842
32865
|
className: `hover:bg-gray-100 transition-colors rounded-lg ${m}`,
|
|
32843
32866
|
"aria-label": "Colapsar sidebar",
|
|
32844
32867
|
style: {
|
|
@@ -32858,13 +32881,13 @@ const p5 = HD, b = ({
|
|
|
32858
32881
|
variant: "24-outline",
|
|
32859
32882
|
size: $,
|
|
32860
32883
|
strokeWidth: L,
|
|
32861
|
-
className:
|
|
32884
|
+
className: x,
|
|
32862
32885
|
style: {
|
|
32863
32886
|
width: `${$}px`,
|
|
32864
32887
|
height: `${$}px`,
|
|
32865
32888
|
opacity: 1,
|
|
32866
32889
|
transform: "rotate(0deg)",
|
|
32867
|
-
color:
|
|
32890
|
+
color: Z,
|
|
32868
32891
|
...N || {}
|
|
32869
32892
|
}
|
|
32870
32893
|
}
|
|
@@ -32873,19 +32896,19 @@ const p5 = HD, b = ({
|
|
|
32873
32896
|
)
|
|
32874
32897
|
}
|
|
32875
32898
|
) }),
|
|
32876
|
-
|
|
32899
|
+
R && /* @__PURE__ */ l.jsx("div", { className: "p-4 border-b border-gray-200 flex justify-center flex-shrink-0", children: u ? /* @__PURE__ */ l.jsx(
|
|
32877
32900
|
"img",
|
|
32878
32901
|
{
|
|
32879
32902
|
src: u,
|
|
32880
32903
|
alt: c,
|
|
32881
32904
|
className: "w-8 h-8 rounded"
|
|
32882
32905
|
}
|
|
32883
|
-
) : /* @__PURE__ */ l.jsx(
|
|
32884
|
-
|
|
32906
|
+
) : /* @__PURE__ */ l.jsx(c5, { width: 36, height: 40 }) }),
|
|
32907
|
+
R && /* @__PURE__ */ l.jsx("div", { className: "px-4 pt-2 pb-2 flex justify-center flex-shrink-0", children: /* @__PURE__ */ l.jsx(
|
|
32885
32908
|
"button",
|
|
32886
32909
|
{
|
|
32887
|
-
onClick:
|
|
32888
|
-
className: `p-1.5 hover:bg-gray-100 rounded-lg transition-colors ${
|
|
32910
|
+
onClick: K,
|
|
32911
|
+
className: `p-1.5 hover:bg-gray-100 rounded-lg transition-colors ${T}`,
|
|
32889
32912
|
"aria-label": "Expandir sidebar",
|
|
32890
32913
|
style: A,
|
|
32891
32914
|
children: /* @__PURE__ */ l.jsx(
|
|
@@ -32895,205 +32918,382 @@ const p5 = HD, b = ({
|
|
|
32895
32918
|
variant: "24-outline",
|
|
32896
32919
|
size: P,
|
|
32897
32920
|
strokeWidth: i0,
|
|
32898
|
-
className:
|
|
32921
|
+
className: Q,
|
|
32899
32922
|
style: {
|
|
32900
|
-
color:
|
|
32923
|
+
color: r0,
|
|
32901
32924
|
width: `${P}px`,
|
|
32902
32925
|
height: `${P}px`,
|
|
32903
32926
|
opacity: 1,
|
|
32904
32927
|
transform: "rotate(0deg)",
|
|
32905
|
-
...
|
|
32928
|
+
...X || {}
|
|
32906
32929
|
}
|
|
32907
32930
|
}
|
|
32908
32931
|
)
|
|
32909
32932
|
}
|
|
32910
32933
|
) }),
|
|
32911
|
-
/* @__PURE__ */ l.jsx("div", { className: "flex-1 min-h-0 flex flex-col overflow-hidden", children: /* @__PURE__ */ l.jsxs("div", { className: `flex-1 overflow-y-auto ${
|
|
32912
|
-
/* @__PURE__ */ l.jsx(
|
|
32934
|
+
/* @__PURE__ */ l.jsx("div", { className: "flex-1 min-h-0 flex flex-col overflow-hidden", children: /* @__PURE__ */ l.jsxs("div", { className: `flex-1 overflow-y-auto ${R ? "py-2" : "py-4"}`, style: { overflowX: "hidden" }, children: [
|
|
32935
|
+
/* @__PURE__ */ l.jsx(
|
|
32913
32936
|
"div",
|
|
32914
32937
|
{
|
|
32915
|
-
className:
|
|
32916
|
-
|
|
32917
|
-
|
|
32918
|
-
backgroundColor: r === "inicio" ? X : "transparent",
|
|
32919
|
-
...k || {}
|
|
32920
|
-
} : void 0,
|
|
32921
|
-
children: /* @__PURE__ */ l.jsxs(
|
|
32922
|
-
"button",
|
|
32938
|
+
className: `px-4 ${R ? "mb-0" : "mb-4"} ${X0}`,
|
|
32939
|
+
children: /* @__PURE__ */ l.jsx(
|
|
32940
|
+
"div",
|
|
32923
32941
|
{
|
|
32924
|
-
|
|
32925
|
-
|
|
32926
|
-
|
|
32927
|
-
|
|
32928
|
-
|
|
32929
|
-
|
|
32930
|
-
|
|
32931
|
-
|
|
32932
|
-
|
|
32933
|
-
|
|
32934
|
-
|
|
32935
|
-
|
|
32936
|
-
|
|
32937
|
-
|
|
32938
|
-
|
|
32939
|
-
|
|
32940
|
-
|
|
32941
|
-
|
|
32942
|
-
|
|
32943
|
-
|
|
32944
|
-
opacity: 1,
|
|
32945
|
-
transform: "rotate(0deg)",
|
|
32946
|
-
...G || {}
|
|
32947
|
-
}
|
|
32948
|
-
}
|
|
32949
|
-
),
|
|
32950
|
-
!M && /* @__PURE__ */ l.jsx(
|
|
32951
|
-
y,
|
|
32952
|
-
{
|
|
32953
|
-
variant: "body-lg",
|
|
32954
|
-
weight: r === "inicio" ? F : q,
|
|
32955
|
-
className: r === "inicio" ? "color-white" : "color-gray-700",
|
|
32956
|
-
style: { fontSize: n0 },
|
|
32957
|
-
children: "Inicio"
|
|
32958
|
-
}
|
|
32959
|
-
),
|
|
32960
|
-
M && I.inicio !== void 0 && I.inicio > 0 && /* @__PURE__ */ l.jsx(
|
|
32961
|
-
"span",
|
|
32962
|
-
{
|
|
32963
|
-
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
32964
|
-
rounded-full flex items-center justify-center\r
|
|
32965
|
-
text-body-sm font-medium absolute`,
|
|
32966
|
-
style: {
|
|
32967
|
-
backgroundColor: r === "inicio" ? "#ffffff" : "#6D3856",
|
|
32968
|
-
color: r === "inicio" ? "#6D3856" : "#ffffff",
|
|
32969
|
-
borderRadius: "12px",
|
|
32970
|
-
top: "-4px",
|
|
32971
|
-
right: "-4px",
|
|
32972
|
-
zIndex: 10
|
|
32973
|
-
},
|
|
32974
|
-
children: I.inicio > 9 ? "9+" : I.inicio
|
|
32975
|
-
}
|
|
32976
|
-
)
|
|
32977
|
-
] }),
|
|
32978
|
-
!M && I.inicio !== void 0 && I.inicio > 0 && /* @__PURE__ */ l.jsx(
|
|
32979
|
-
"span",
|
|
32980
|
-
{
|
|
32981
|
-
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
32982
|
-
rounded-full flex items-center justify-center\r
|
|
32983
|
-
text-body-sm font-medium`,
|
|
32984
|
-
style: {
|
|
32985
|
-
backgroundColor: r === "inicio" ? "#ffffff" : "#6D3856",
|
|
32986
|
-
color: r === "inicio" ? "#6D3856" : "#ffffff",
|
|
32987
|
-
borderRadius: "12px"
|
|
32988
|
-
},
|
|
32989
|
-
children: I.inicio > 9 ? "9+" : I.inicio
|
|
32990
|
-
}
|
|
32991
|
-
)
|
|
32992
|
-
]
|
|
32993
|
-
}
|
|
32994
|
-
)
|
|
32995
|
-
}
|
|
32996
|
-
) }),
|
|
32997
|
-
a.map((Q, u0) => /* @__PURE__ */ l.jsxs("div", { className: "mb-6", children: [
|
|
32998
|
-
M && /* @__PURE__ */ l.jsx("div", { className: "px-4 mb-4", children: /* @__PURE__ */ l.jsx("div", { className: "border-t", style: { borderColor: "#2D5C63" } }) }),
|
|
32999
|
-
!M && /* @__PURE__ */ l.jsx("div", { className: "px-4 mb-2", children: /* @__PURE__ */ l.jsx(
|
|
33000
|
-
y,
|
|
33001
|
-
{
|
|
33002
|
-
variant: "body-sm",
|
|
33003
|
-
className: "color-gray-500 uppercase font-medium tracking-wider",
|
|
33004
|
-
children: Q.title
|
|
33005
|
-
}
|
|
33006
|
-
) }),
|
|
33007
|
-
/* @__PURE__ */ l.jsx("div", { className: "space-y-1", children: Q.items.map((j) => /* @__PURE__ */ l.jsx("div", { className: "px-4", children: /* @__PURE__ */ l.jsx(
|
|
33008
|
-
"div",
|
|
33009
|
-
{
|
|
33010
|
-
className: M ? x : "",
|
|
33011
|
-
style: M ? {
|
|
33012
|
-
...k0,
|
|
33013
|
-
backgroundColor: r === j.id ? X : "transparent",
|
|
33014
|
-
...k || {}
|
|
33015
|
-
} : void 0,
|
|
33016
|
-
title: M ? j.label : "",
|
|
33017
|
-
children: /* @__PURE__ */ l.jsxs(
|
|
33018
|
-
"button",
|
|
33019
|
-
{
|
|
33020
|
-
onClick: () => t && t(j.id),
|
|
33021
|
-
className: `w-full flex items-center ${M ? "justify-center" : "px-4 justify-between"} ${M ? "" : "py-2.5 rounded-lg"} transition-all duration-200 ${r === j.id ? "" : "color-gray-700 hover:bg-gray-100"}`,
|
|
33022
|
-
style: M ? {
|
|
33023
|
-
width: "100%",
|
|
33024
|
-
height: "100%",
|
|
33025
|
-
backgroundColor: "transparent",
|
|
33026
|
-
borderRadius: "8px"
|
|
33027
|
-
} : r === j.id ? { backgroundColor: "#2D5C63" } : {},
|
|
33028
|
-
title: M ? j.label : "",
|
|
33029
|
-
children: [
|
|
33030
|
-
/* @__PURE__ */ l.jsxs("div", { className: `flex items-center ${M ? "relative" : ""}`, style: M && (I[j.id] !== void 0 && I[j.id] > 0 || j.id === "empleados") ? { paddingRight: "16px" } : {}, children: [
|
|
33031
|
-
/* @__PURE__ */ l.jsx(
|
|
33032
|
-
b,
|
|
33033
|
-
{
|
|
33034
|
-
name: j.icon,
|
|
33035
|
-
variant: "24-outline",
|
|
33036
|
-
size: o0,
|
|
33037
|
-
className: `${M ? "" : "mr-3"} ${r === j.id ? "color-white" : "color-gray-700"}`,
|
|
33038
|
-
style: {
|
|
33039
|
-
width: `${o0}px`,
|
|
33040
|
-
height: `${o0}px`,
|
|
33041
|
-
opacity: 1,
|
|
33042
|
-
transform: "rotate(0deg)",
|
|
33043
|
-
...G || {}
|
|
33044
|
-
}
|
|
33045
|
-
}
|
|
33046
|
-
),
|
|
33047
|
-
!M && /* @__PURE__ */ l.jsx(
|
|
33048
|
-
y,
|
|
32942
|
+
className: R ? E0 : "",
|
|
32943
|
+
style: R ? {
|
|
32944
|
+
...j0,
|
|
32945
|
+
backgroundColor: r === "inicio" ? J : "transparent",
|
|
32946
|
+
...f0 || {}
|
|
32947
|
+
} : void 0,
|
|
32948
|
+
children: /* @__PURE__ */ l.jsxs(
|
|
32949
|
+
"button",
|
|
32950
|
+
{
|
|
32951
|
+
onClick: () => t && t("inicio"),
|
|
32952
|
+
className: `w-full flex items-center ${R ? "justify-center" : "px-4 justify-between"} ${R ? "" : "py-2.5 rounded-lg"} transition-all duration-200 ${r === "inicio" ? "" : "color-gray-700 hover:bg-gray-100"}`,
|
|
32953
|
+
style: R ? {
|
|
32954
|
+
width: "100%",
|
|
32955
|
+
height: "100%",
|
|
32956
|
+
backgroundColor: "transparent",
|
|
32957
|
+
borderRadius: "8px"
|
|
32958
|
+
} : r === "inicio" ? { backgroundColor: "#2D5C63" } : {},
|
|
32959
|
+
children: [
|
|
32960
|
+
/* @__PURE__ */ l.jsxs(
|
|
32961
|
+
"div",
|
|
33049
32962
|
{
|
|
33050
|
-
|
|
33051
|
-
|
|
33052
|
-
|
|
33053
|
-
|
|
33054
|
-
|
|
32963
|
+
className: "flex items-center ",
|
|
32964
|
+
style: R ? {
|
|
32965
|
+
justifyContent: "center",
|
|
32966
|
+
columnGap: `${g0}px`,
|
|
32967
|
+
width: "100%"
|
|
32968
|
+
} : {},
|
|
32969
|
+
children: [
|
|
32970
|
+
R ? /* @__PURE__ */ l.jsx(
|
|
32971
|
+
"div",
|
|
32972
|
+
{
|
|
32973
|
+
style: {
|
|
32974
|
+
width: `${$0}px`,
|
|
32975
|
+
height: `${$0}px`,
|
|
32976
|
+
opacity: 1,
|
|
32977
|
+
transform: "rotate(0deg)",
|
|
32978
|
+
display: "flex",
|
|
32979
|
+
alignItems: "center",
|
|
32980
|
+
justifyContent: "center",
|
|
32981
|
+
marginLeft: G && D.inicio !== void 0 && D.inicio > 0 ? `${t0}px` : void 0,
|
|
32982
|
+
...k || {}
|
|
32983
|
+
},
|
|
32984
|
+
children: /* @__PURE__ */ l.jsx(
|
|
32985
|
+
"div",
|
|
32986
|
+
{
|
|
32987
|
+
style: {
|
|
32988
|
+
width: "24px",
|
|
32989
|
+
height: "24px",
|
|
32990
|
+
opacity: 1,
|
|
32991
|
+
transform: "rotate(0deg)",
|
|
32992
|
+
display: "flex",
|
|
32993
|
+
alignItems: "center",
|
|
32994
|
+
justifyContent: "center",
|
|
32995
|
+
...E || {}
|
|
32996
|
+
},
|
|
32997
|
+
children: /* @__PURE__ */ l.jsx(
|
|
32998
|
+
b,
|
|
32999
|
+
{
|
|
33000
|
+
name: "HomeIcon",
|
|
33001
|
+
variant: "24-outline",
|
|
33002
|
+
size: _,
|
|
33003
|
+
className: r === "inicio" ? "color-white" : "color-gray-700",
|
|
33004
|
+
style: {
|
|
33005
|
+
width: `${_}px`,
|
|
33006
|
+
height: `${_}px`,
|
|
33007
|
+
opacity: 1,
|
|
33008
|
+
transform: "rotate(0deg)",
|
|
33009
|
+
...u0 || {}
|
|
33010
|
+
}
|
|
33011
|
+
}
|
|
33012
|
+
)
|
|
33013
|
+
}
|
|
33014
|
+
)
|
|
33015
|
+
}
|
|
33016
|
+
) : /* @__PURE__ */ l.jsx(
|
|
33017
|
+
b,
|
|
33018
|
+
{
|
|
33019
|
+
name: "HomeIcon",
|
|
33020
|
+
variant: "24-outline",
|
|
33021
|
+
size: _,
|
|
33022
|
+
className: `${R ? "" : "mr-3"} ${r === "inicio" ? "color-white" : "color-gray-700"}`,
|
|
33023
|
+
style: {
|
|
33024
|
+
width: `${_}px`,
|
|
33025
|
+
height: `${_}px`,
|
|
33026
|
+
opacity: 1,
|
|
33027
|
+
transform: "rotate(0deg)",
|
|
33028
|
+
...u0 || {}
|
|
33029
|
+
}
|
|
33030
|
+
}
|
|
33031
|
+
),
|
|
33032
|
+
!R && /* @__PURE__ */ l.jsx(
|
|
33033
|
+
y,
|
|
33034
|
+
{
|
|
33035
|
+
variant: "body-lg",
|
|
33036
|
+
weight: r === "inicio" ? F : q,
|
|
33037
|
+
className: r === "inicio" ? "color-white" : "color-gray-700",
|
|
33038
|
+
style: { fontSize: c0 },
|
|
33039
|
+
children: "Inicio"
|
|
33040
|
+
}
|
|
33041
|
+
),
|
|
33042
|
+
R && D.inicio !== void 0 && D.inicio > 0 && /* @__PURE__ */ l.jsx(
|
|
33043
|
+
"span",
|
|
33044
|
+
{
|
|
33045
|
+
className: `flex items-center justify-center text-body-sm font-medium ${Z0}`,
|
|
33046
|
+
style: {
|
|
33047
|
+
backgroundColor: r === "inicio" ? "#ffffff" : "#6D3856",
|
|
33048
|
+
color: r === "inicio" ? "#6D3856" : "#ffffff",
|
|
33049
|
+
width: M0,
|
|
33050
|
+
height: b0,
|
|
33051
|
+
paddingTop: "4px",
|
|
33052
|
+
paddingRight: "6px",
|
|
33053
|
+
paddingBottom: "4px",
|
|
33054
|
+
paddingLeft: "6px",
|
|
33055
|
+
borderRadius: "16px",
|
|
33056
|
+
opacity: 1,
|
|
33057
|
+
transform: "rotate(0deg)",
|
|
33058
|
+
marginLeft: G ? `${s0}px` : void 0,
|
|
33059
|
+
boxSizing: "border-box",
|
|
33060
|
+
...p0 || {}
|
|
33061
|
+
},
|
|
33062
|
+
children: D.inicio > 9 ? "9+" : D.inicio
|
|
33063
|
+
}
|
|
33064
|
+
)
|
|
33065
|
+
]
|
|
33055
33066
|
}
|
|
33056
33067
|
),
|
|
33057
|
-
|
|
33068
|
+
!R && D.inicio !== void 0 && D.inicio > 0 && /* @__PURE__ */ l.jsx(
|
|
33058
33069
|
"span",
|
|
33059
33070
|
{
|
|
33060
33071
|
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33061
|
-
|
|
33062
|
-
|
|
33072
|
+
rounded-full flex items-center justify-center\r
|
|
33073
|
+
text-body-sm font-medium`,
|
|
33063
33074
|
style: {
|
|
33064
|
-
backgroundColor: r ===
|
|
33065
|
-
color: r ===
|
|
33066
|
-
borderRadius: "12px"
|
|
33067
|
-
top: "-4px",
|
|
33068
|
-
right: "-4px",
|
|
33069
|
-
zIndex: 10
|
|
33075
|
+
backgroundColor: r === "inicio" ? "#ffffff" : "#6D3856",
|
|
33076
|
+
color: r === "inicio" ? "#6D3856" : "#ffffff",
|
|
33077
|
+
borderRadius: "12px"
|
|
33070
33078
|
},
|
|
33071
|
-
children:
|
|
33079
|
+
children: D.inicio > 9 ? "9+" : D.inicio
|
|
33072
33080
|
}
|
|
33073
33081
|
)
|
|
33074
|
-
]
|
|
33075
|
-
|
|
33076
|
-
|
|
33077
|
-
|
|
33078
|
-
|
|
33082
|
+
]
|
|
33083
|
+
}
|
|
33084
|
+
)
|
|
33085
|
+
}
|
|
33086
|
+
)
|
|
33087
|
+
}
|
|
33088
|
+
),
|
|
33089
|
+
a.map((l0, T0) => /* @__PURE__ */ l.jsxs(
|
|
33090
|
+
"div",
|
|
33091
|
+
{
|
|
33092
|
+
className: `${R ? "mb-0" : "mb-6"} ${Y0}`,
|
|
33093
|
+
children: [
|
|
33094
|
+
R && /* @__PURE__ */ l.jsx("div", { className: `px-4 mb-0 ${B0}`, children: /* @__PURE__ */ l.jsx(
|
|
33095
|
+
"div",
|
|
33096
|
+
{
|
|
33097
|
+
className: S0,
|
|
33098
|
+
style: {
|
|
33099
|
+
width: "78px",
|
|
33100
|
+
height: "32px",
|
|
33101
|
+
paddingTop: "16px",
|
|
33102
|
+
paddingRight: "8px",
|
|
33103
|
+
paddingBottom: "16px",
|
|
33104
|
+
paddingLeft: "8px",
|
|
33105
|
+
opacity: 1,
|
|
33106
|
+
transform: "rotate(0deg)",
|
|
33107
|
+
display: "flex",
|
|
33108
|
+
alignItems: "center",
|
|
33109
|
+
justifyContent: "center",
|
|
33110
|
+
boxSizing: "border-box",
|
|
33111
|
+
...A0 || {}
|
|
33112
|
+
},
|
|
33113
|
+
children: /* @__PURE__ */ l.jsx(
|
|
33114
|
+
"div",
|
|
33115
|
+
{
|
|
33116
|
+
className: R0,
|
|
33117
|
+
style: {
|
|
33118
|
+
width: "42px",
|
|
33119
|
+
height: "0px",
|
|
33120
|
+
opacity: 1,
|
|
33121
|
+
transform: "rotate(0deg)",
|
|
33122
|
+
borderTopWidth: "1px",
|
|
33123
|
+
borderTopStyle: "solid",
|
|
33124
|
+
borderTopColor: "#2D5C63",
|
|
33125
|
+
marginLeft: "auto",
|
|
33126
|
+
marginRight: "auto",
|
|
33127
|
+
...V0 || {}
|
|
33128
|
+
}
|
|
33129
|
+
}
|
|
33130
|
+
)
|
|
33131
|
+
}
|
|
33132
|
+
) }),
|
|
33133
|
+
!R && /* @__PURE__ */ l.jsx("div", { className: "px-4 mb-2", children: /* @__PURE__ */ l.jsx(
|
|
33134
|
+
y,
|
|
33135
|
+
{
|
|
33136
|
+
variant: "body-sm",
|
|
33137
|
+
className: "color-gray-500 uppercase font-medium tracking-wider",
|
|
33138
|
+
children: l0.title
|
|
33139
|
+
}
|
|
33140
|
+
) }),
|
|
33141
|
+
/* @__PURE__ */ l.jsx("div", { className: "space-y-1", children: l0.items.map((j) => /* @__PURE__ */ l.jsx("div", { className: "px-4", children: /* @__PURE__ */ l.jsx(
|
|
33142
|
+
"div",
|
|
33143
|
+
{
|
|
33144
|
+
className: R ? E0 : "",
|
|
33145
|
+
style: R ? {
|
|
33146
|
+
...j0,
|
|
33147
|
+
backgroundColor: r === j.id ? J : "transparent",
|
|
33148
|
+
...f0 || {}
|
|
33149
|
+
} : void 0,
|
|
33150
|
+
title: R ? j.label : "",
|
|
33151
|
+
children: /* @__PURE__ */ l.jsxs(
|
|
33152
|
+
"button",
|
|
33153
|
+
{
|
|
33154
|
+
onClick: () => t && t(j.id),
|
|
33155
|
+
className: `w-full flex items-center ${R ? "justify-center" : "px-4 justify-between"} ${R ? "" : "py-2.5 rounded-lg"} transition-all duration-200 ${r === j.id ? "" : "color-gray-700 hover:bg-gray-100"}`,
|
|
33156
|
+
style: R ? {
|
|
33157
|
+
width: "100%",
|
|
33158
|
+
height: "100%",
|
|
33159
|
+
backgroundColor: "transparent",
|
|
33160
|
+
borderRadius: "8px"
|
|
33161
|
+
} : r === j.id ? { backgroundColor: "#2D5C63" } : {},
|
|
33162
|
+
title: R ? j.label : "",
|
|
33163
|
+
children: [
|
|
33164
|
+
/* @__PURE__ */ l.jsxs(
|
|
33165
|
+
"div",
|
|
33166
|
+
{
|
|
33167
|
+
className: "flex items-center",
|
|
33168
|
+
style: R ? {
|
|
33169
|
+
justifyContent: "center",
|
|
33170
|
+
columnGap: `${g0}px`,
|
|
33171
|
+
width: "100%"
|
|
33172
|
+
} : {},
|
|
33173
|
+
children: [
|
|
33174
|
+
R ? /* @__PURE__ */ l.jsx(
|
|
33175
|
+
"div",
|
|
33176
|
+
{
|
|
33177
|
+
style: {
|
|
33178
|
+
width: `${$0}px`,
|
|
33179
|
+
height: `${$0}px`,
|
|
33180
|
+
opacity: 1,
|
|
33181
|
+
transform: "rotate(0deg)",
|
|
33182
|
+
display: "flex",
|
|
33183
|
+
alignItems: "center",
|
|
33184
|
+
justifyContent: "center",
|
|
33185
|
+
marginLeft: G && (D[j.id] !== void 0 && D[j.id] > 0 || j.id === "empleados") ? `${t0}px` : void 0,
|
|
33186
|
+
...k || {}
|
|
33187
|
+
},
|
|
33188
|
+
children: /* @__PURE__ */ l.jsx(
|
|
33189
|
+
"div",
|
|
33190
|
+
{
|
|
33191
|
+
style: {
|
|
33192
|
+
width: "24px",
|
|
33193
|
+
height: "24px",
|
|
33194
|
+
opacity: 1,
|
|
33195
|
+
transform: "rotate(0deg)",
|
|
33196
|
+
display: "flex",
|
|
33197
|
+
alignItems: "center",
|
|
33198
|
+
justifyContent: "center",
|
|
33199
|
+
...E || {}
|
|
33200
|
+
},
|
|
33201
|
+
children: /* @__PURE__ */ l.jsx(
|
|
33202
|
+
b,
|
|
33203
|
+
{
|
|
33204
|
+
name: j.icon,
|
|
33205
|
+
variant: "24-outline",
|
|
33206
|
+
size: _,
|
|
33207
|
+
className: r === j.id ? "color-white" : "color-gray-700",
|
|
33208
|
+
style: {
|
|
33209
|
+
width: `${_}px`,
|
|
33210
|
+
height: `${_}px`,
|
|
33211
|
+
opacity: 1,
|
|
33212
|
+
transform: "rotate(0deg)",
|
|
33213
|
+
...u0 || {}
|
|
33214
|
+
}
|
|
33215
|
+
}
|
|
33216
|
+
)
|
|
33217
|
+
}
|
|
33218
|
+
)
|
|
33219
|
+
}
|
|
33220
|
+
) : /* @__PURE__ */ l.jsx(
|
|
33221
|
+
b,
|
|
33222
|
+
{
|
|
33223
|
+
name: j.icon,
|
|
33224
|
+
variant: "24-outline",
|
|
33225
|
+
size: _,
|
|
33226
|
+
className: `${R ? "" : "mr-3"} ${r === j.id ? "color-white" : "color-gray-700"}`,
|
|
33227
|
+
style: {
|
|
33228
|
+
width: `${_}px`,
|
|
33229
|
+
height: `${_}px`,
|
|
33230
|
+
opacity: 1,
|
|
33231
|
+
transform: "rotate(0deg)",
|
|
33232
|
+
...u0 || {}
|
|
33233
|
+
}
|
|
33234
|
+
}
|
|
33235
|
+
),
|
|
33236
|
+
!R && /* @__PURE__ */ l.jsx(
|
|
33237
|
+
y,
|
|
33238
|
+
{
|
|
33239
|
+
variant: "body-lg",
|
|
33240
|
+
weight: r === j.id ? F : q,
|
|
33241
|
+
className: r === j.id ? "color-white" : "color-gray-700",
|
|
33242
|
+
style: { fontSize: c0 },
|
|
33243
|
+
children: j.label
|
|
33244
|
+
}
|
|
33245
|
+
),
|
|
33246
|
+
R && (D[j.id] !== void 0 && D[j.id] > 0 || j.id === "empleados" && 2) && /* @__PURE__ */ l.jsx(
|
|
33247
|
+
"span",
|
|
33248
|
+
{
|
|
33249
|
+
className: `flex items-center justify-center text-body-sm font-medium ${Z0}`,
|
|
33250
|
+
style: {
|
|
33251
|
+
backgroundColor: r === j.id ? "#ffffff" : "#6D3856",
|
|
33252
|
+
color: r === j.id ? "#6D3856" : "#ffffff",
|
|
33253
|
+
width: M0,
|
|
33254
|
+
height: b0,
|
|
33255
|
+
paddingTop: "4px",
|
|
33256
|
+
paddingRight: "6px",
|
|
33257
|
+
paddingBottom: "4px",
|
|
33258
|
+
paddingLeft: "6px",
|
|
33259
|
+
borderRadius: "16px",
|
|
33260
|
+
opacity: 1,
|
|
33261
|
+
transform: "rotate(0deg)",
|
|
33262
|
+
marginLeft: G ? `${s0}px` : void 0,
|
|
33263
|
+
boxSizing: "border-box",
|
|
33264
|
+
...p0 || {}
|
|
33265
|
+
},
|
|
33266
|
+
children: j.id === "empleados" ? 2 : D[j.id] > 9 ? "9+" : D[j.id]
|
|
33267
|
+
}
|
|
33268
|
+
)
|
|
33269
|
+
]
|
|
33270
|
+
}
|
|
33271
|
+
),
|
|
33272
|
+
!R && (D[j.id] !== void 0 && D[j.id] > 0 || j.id === "empleados" && 2) && /* @__PURE__ */ l.jsx(
|
|
33273
|
+
"span",
|
|
33274
|
+
{
|
|
33275
|
+
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33079
33276
|
rounded-full flex items-center justify-center\r
|
|
33080
33277
|
text-body-sm font-medium`,
|
|
33081
|
-
|
|
33082
|
-
|
|
33083
|
-
|
|
33084
|
-
|
|
33085
|
-
|
|
33086
|
-
|
|
33087
|
-
|
|
33088
|
-
|
|
33089
|
-
|
|
33278
|
+
style: {
|
|
33279
|
+
backgroundColor: r === j.id ? "#ffffff" : "#6D3856",
|
|
33280
|
+
color: r === j.id ? "#6D3856" : "#ffffff",
|
|
33281
|
+
borderRadius: "12px"
|
|
33282
|
+
},
|
|
33283
|
+
children: j.id === "empleados" ? 2 : D[j.id] > 9 ? "9+" : D[j.id]
|
|
33284
|
+
}
|
|
33285
|
+
)
|
|
33286
|
+
]
|
|
33287
|
+
}
|
|
33288
|
+
)
|
|
33090
33289
|
}
|
|
33091
|
-
)
|
|
33092
|
-
|
|
33093
|
-
|
|
33094
|
-
|
|
33290
|
+
) }, j.id)) })
|
|
33291
|
+
]
|
|
33292
|
+
},
|
|
33293
|
+
T0
|
|
33294
|
+
))
|
|
33095
33295
|
] }) }),
|
|
33096
|
-
|
|
33296
|
+
I && !R && /* @__PURE__ */ l.jsx("div", { className: "px-4 pb-4 flex-shrink-0", children: /* @__PURE__ */ l.jsx(
|
|
33097
33297
|
"div",
|
|
33098
33298
|
{
|
|
33099
33299
|
className: "bg-white border rounded-lg px-3 py-2 flex items-center justify-center",
|
|
@@ -33101,28 +33301,28 @@ const p5 = HD, b = ({
|
|
|
33101
33301
|
borderColor: "#2D5C63",
|
|
33102
33302
|
borderRadius: "8px"
|
|
33103
33303
|
},
|
|
33104
|
-
children: typeof
|
|
33304
|
+
children: typeof I == "string" ? /* @__PURE__ */ l.jsx(
|
|
33105
33305
|
y,
|
|
33106
33306
|
{
|
|
33107
33307
|
variant: "body-sm",
|
|
33108
33308
|
style: { color: "#2D5C63" },
|
|
33109
33309
|
className: "text-center",
|
|
33110
33310
|
children: (() => {
|
|
33111
|
-
const
|
|
33112
|
-
if (
|
|
33113
|
-
const
|
|
33311
|
+
const l0 = I.split("|");
|
|
33312
|
+
if (l0.length === 2) {
|
|
33313
|
+
const T0 = l0[0].trim(), j = l0[1].trim();
|
|
33114
33314
|
if (j.includes("Powered by")) {
|
|
33115
|
-
const
|
|
33116
|
-
if (
|
|
33315
|
+
const n5 = j.match(/Powered by (.+)/);
|
|
33316
|
+
if (n5)
|
|
33117
33317
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
33118
|
-
|
|
33318
|
+
T0,
|
|
33119
33319
|
" | Powered by ",
|
|
33120
|
-
/* @__PURE__ */ l.jsx("span", { className: "font-bold", children:
|
|
33320
|
+
/* @__PURE__ */ l.jsx("span", { className: "font-bold", children: n5[1] })
|
|
33121
33321
|
] });
|
|
33122
33322
|
}
|
|
33123
|
-
return `${
|
|
33323
|
+
return `${T0} | ${j}`;
|
|
33124
33324
|
}
|
|
33125
|
-
return
|
|
33325
|
+
return I;
|
|
33126
33326
|
})()
|
|
33127
33327
|
}
|
|
33128
33328
|
) : /* @__PURE__ */ l.jsxs(
|
|
@@ -33132,19 +33332,19 @@ const p5 = HD, b = ({
|
|
|
33132
33332
|
style: { color: "#2D5C63" },
|
|
33133
33333
|
className: "text-center",
|
|
33134
33334
|
children: [
|
|
33135
|
-
|
|
33136
|
-
|
|
33137
|
-
|
|
33138
|
-
|
|
33335
|
+
I.version && `${I.version}`,
|
|
33336
|
+
I.version && (I.poweredBy || I.brand) && " | ",
|
|
33337
|
+
I.poweredBy && `${I.poweredBy} `,
|
|
33338
|
+
I.brand && /* @__PURE__ */ l.jsx("span", { className: "font-bold", children: I.brand })
|
|
33139
33339
|
]
|
|
33140
33340
|
}
|
|
33141
33341
|
)
|
|
33142
33342
|
}
|
|
33143
33343
|
) }),
|
|
33144
|
-
|
|
33344
|
+
e0 && R && /* @__PURE__ */ l.jsx("div", { className: "flex justify-center flex-shrink-0", style: { zIndex: 10, paddingTop: "10px", paddingBottom: "10px" }, children: /* @__PURE__ */ l.jsx(
|
|
33145
33345
|
"div",
|
|
33146
33346
|
{
|
|
33147
|
-
className: `bg-white flex items-center justify-center ${
|
|
33347
|
+
className: `bg-white flex items-center justify-center ${I0}`,
|
|
33148
33348
|
style: {
|
|
33149
33349
|
width: "78px",
|
|
33150
33350
|
height: "32px",
|
|
@@ -33158,12 +33358,12 @@ const p5 = HD, b = ({
|
|
|
33158
33358
|
opacity: 1,
|
|
33159
33359
|
transform: "rotate(0deg)",
|
|
33160
33360
|
boxSizing: "border-box",
|
|
33161
|
-
...
|
|
33361
|
+
...y0 || {}
|
|
33162
33362
|
},
|
|
33163
|
-
children: typeof
|
|
33363
|
+
children: typeof e0 == "string" ? /* @__PURE__ */ l.jsx(
|
|
33164
33364
|
"span",
|
|
33165
33365
|
{
|
|
33166
|
-
className:
|
|
33366
|
+
className: k0,
|
|
33167
33367
|
style: {
|
|
33168
33368
|
color: "#223B40",
|
|
33169
33369
|
fontFamily: "IBM Plex Sans",
|
|
@@ -33177,24 +33377,24 @@ const p5 = HD, b = ({
|
|
|
33177
33377
|
overflow: "hidden",
|
|
33178
33378
|
textOverflow: "ellipsis",
|
|
33179
33379
|
maxWidth: "100%",
|
|
33180
|
-
...
|
|
33380
|
+
...w0 || {}
|
|
33181
33381
|
},
|
|
33182
|
-
children:
|
|
33382
|
+
children: e0
|
|
33183
33383
|
}
|
|
33184
|
-
) : typeof
|
|
33185
|
-
|
|
33384
|
+
) : typeof e0 == "object" && e0.icon ? /* @__PURE__ */ l.jsxs("div", { className: "flex items-center justify-center", children: [
|
|
33385
|
+
e0.icon && /* @__PURE__ */ l.jsx(
|
|
33186
33386
|
b,
|
|
33187
33387
|
{
|
|
33188
|
-
name:
|
|
33388
|
+
name: e0.icon,
|
|
33189
33389
|
variant: "24-outline",
|
|
33190
33390
|
size: 14,
|
|
33191
33391
|
style: { color: "#2D5C63" }
|
|
33192
33392
|
}
|
|
33193
33393
|
),
|
|
33194
|
-
|
|
33394
|
+
e0.text && /* @__PURE__ */ l.jsx(
|
|
33195
33395
|
"span",
|
|
33196
33396
|
{
|
|
33197
|
-
className:
|
|
33397
|
+
className: k0,
|
|
33198
33398
|
style: {
|
|
33199
33399
|
color: "#223B40",
|
|
33200
33400
|
fontFamily: "IBM Plex Sans",
|
|
@@ -33204,13 +33404,13 @@ const p5 = HD, b = ({
|
|
|
33204
33404
|
lineHeight: "100%",
|
|
33205
33405
|
letterSpacing: "0%",
|
|
33206
33406
|
textAlign: "center",
|
|
33207
|
-
marginLeft:
|
|
33208
|
-
...
|
|
33407
|
+
marginLeft: e0.icon ? "4px" : "0",
|
|
33408
|
+
...w0 || {}
|
|
33209
33409
|
},
|
|
33210
|
-
children:
|
|
33410
|
+
children: e0.text
|
|
33211
33411
|
}
|
|
33212
33412
|
)
|
|
33213
|
-
] }) :
|
|
33413
|
+
] }) : e0
|
|
33214
33414
|
}
|
|
33215
33415
|
) })
|
|
33216
33416
|
] })
|
|
@@ -33238,76 +33438,76 @@ const p5 = HD, b = ({
|
|
|
33238
33438
|
// Overrides de estilo/clases para poder ajustar layout desde el proyecto consumidor
|
|
33239
33439
|
desktopLayoutClassName: $ = "",
|
|
33240
33440
|
desktopLayoutStyle: L,
|
|
33241
|
-
desktopSearchContainerClassName:
|
|
33242
|
-
desktopSearchContainerStyle:
|
|
33441
|
+
desktopSearchContainerClassName: Z = "",
|
|
33442
|
+
desktopSearchContainerStyle: x,
|
|
33243
33443
|
desktopRightContainerClassName: N = "",
|
|
33244
|
-
desktopRightContainerStyle:
|
|
33444
|
+
desktopRightContainerStyle: T,
|
|
33245
33445
|
notificationButtonClassName: A = "",
|
|
33246
33446
|
notificationButtonStyle: P,
|
|
33247
33447
|
notificationIconClassName: i0 = "",
|
|
33248
|
-
notificationIconStyle:
|
|
33249
|
-
notificationBadgeClassName:
|
|
33250
|
-
notificationBadgeStyle:
|
|
33448
|
+
notificationIconStyle: r0,
|
|
33449
|
+
notificationBadgeClassName: Q = "",
|
|
33450
|
+
notificationBadgeStyle: X,
|
|
33251
33451
|
// Overrides específicos de medidas/posiciones (Desktop / Mobile)
|
|
33252
|
-
notificationDesktopButtonStyle:
|
|
33452
|
+
notificationDesktopButtonStyle: c0,
|
|
33253
33453
|
notificationDesktopIconWrapperClassName: q = "",
|
|
33254
33454
|
notificationDesktopIconWrapperStyle: F,
|
|
33255
|
-
notificationDesktopIconSize:
|
|
33256
|
-
notificationDesktopIconStrokeWidth:
|
|
33257
|
-
notificationDesktopIconStyle:
|
|
33258
|
-
notificationDesktopBadgeStyle:
|
|
33455
|
+
notificationDesktopIconSize: W = 18,
|
|
33456
|
+
notificationDesktopIconStrokeWidth: n0 = 1.5,
|
|
33457
|
+
notificationDesktopIconStyle: Y,
|
|
33458
|
+
notificationDesktopBadgeStyle: E,
|
|
33259
33459
|
notificationMobileButtonClassName: k = "",
|
|
33260
|
-
notificationMobileButtonStyle:
|
|
33460
|
+
notificationMobileButtonStyle: G,
|
|
33261
33461
|
notificationMobileIconWrapperClassName: t0 = "",
|
|
33262
|
-
notificationMobileIconWrapperStyle:
|
|
33263
|
-
notificationMobileIconSize:
|
|
33264
|
-
notificationMobileIconStrokeWidth:
|
|
33462
|
+
notificationMobileIconWrapperStyle: s0,
|
|
33463
|
+
notificationMobileIconSize: g0 = 18,
|
|
33464
|
+
notificationMobileIconStrokeWidth: u0 = 1.5,
|
|
33265
33465
|
notificationMobileIconStyle: E0,
|
|
33266
|
-
showNotificationBadgeOnMobile:
|
|
33267
|
-
notificationMobileBadgeStyle:
|
|
33466
|
+
showNotificationBadgeOnMobile: f0 = !1,
|
|
33467
|
+
notificationMobileBadgeStyle: J,
|
|
33268
33468
|
// Desktop avatar / nombre (overrides)
|
|
33269
|
-
desktopUserAvatarClassName:
|
|
33270
|
-
desktopUserAvatarStyle:
|
|
33271
|
-
desktopUserNameStyle:
|
|
33469
|
+
desktopUserAvatarClassName: Z0 = "",
|
|
33470
|
+
desktopUserAvatarStyle: p0,
|
|
33471
|
+
desktopUserNameStyle: M0,
|
|
33272
33472
|
// Mobile avatar (overrides)
|
|
33273
|
-
mobileUserAvatarClassName:
|
|
33274
|
-
mobileUserAvatarStyle:
|
|
33275
|
-
sidebarSections:
|
|
33276
|
-
sidebarActiveItem:
|
|
33277
|
-
onSidebarItemClick:
|
|
33473
|
+
mobileUserAvatarClassName: b0 = "",
|
|
33474
|
+
mobileUserAvatarStyle: _0,
|
|
33475
|
+
sidebarSections: I0,
|
|
33476
|
+
sidebarActiveItem: y0,
|
|
33477
|
+
onSidebarItemClick: k0,
|
|
33278
33478
|
// Mobile: permitir persistir el item activo aunque el consumidor no controle sidebarActiveItem
|
|
33279
|
-
enableInternalSidebarActiveItem:
|
|
33280
|
-
sidebarItemBadges:
|
|
33281
|
-
sidebarCompanyName:
|
|
33282
|
-
sidebarCompanyLogo:
|
|
33283
|
-
sidebarFooterText:
|
|
33284
|
-
sidebarFooterCollapsedContent:
|
|
33285
|
-
sidebarCoreContainerStyle:
|
|
33286
|
-
sidebarCoreTextStyle:
|
|
33287
|
-
className:
|
|
33288
|
-
...
|
|
33479
|
+
enableInternalSidebarActiveItem: w0 = !0,
|
|
33480
|
+
sidebarItemBadges: R0,
|
|
33481
|
+
sidebarCompanyName: V0,
|
|
33482
|
+
sidebarCompanyLogo: S0,
|
|
33483
|
+
sidebarFooterText: A0,
|
|
33484
|
+
sidebarFooterCollapsedContent: X0,
|
|
33485
|
+
sidebarCoreContainerStyle: Y0,
|
|
33486
|
+
sidebarCoreTextStyle: B0,
|
|
33487
|
+
className: a5 = "",
|
|
33488
|
+
...r5
|
|
33289
33489
|
}) => {
|
|
33290
|
-
const [
|
|
33291
|
-
|
|
33292
|
-
},
|
|
33293
|
-
|
|
33294
|
-
},
|
|
33295
|
-
|
|
33296
|
-
|
|
33490
|
+
const [L0, D] = S(""), [I, h0] = S(!1), [C0, O0] = S(!1), [D0, N0] = S(void 0), R = d5(null), P0 = c > 0 ? "BellAlertIcon" : "BellIcon", K0 = () => {
|
|
33491
|
+
R.current && (clearTimeout(R.current), R.current = null), O0(!0), h0(!1), requestAnimationFrame(() => h0(!0));
|
|
33492
|
+
}, W0 = () => {
|
|
33493
|
+
h0(!1);
|
|
33494
|
+
}, $0 = y0 ?? (w0 ? D0 : y0);
|
|
33495
|
+
v0(() => (!I && C0 && (R.current = setTimeout(() => {
|
|
33496
|
+
O0(!1), R.current = null;
|
|
33297
33497
|
}, w)), () => {
|
|
33298
|
-
|
|
33299
|
-
}), [
|
|
33300
|
-
const
|
|
33301
|
-
const
|
|
33302
|
-
|
|
33303
|
-
},
|
|
33304
|
-
|
|
33498
|
+
R.current && (clearTimeout(R.current), R.current = null);
|
|
33499
|
+
}), [I, C0, w]);
|
|
33500
|
+
const _ = (K) => {
|
|
33501
|
+
const F0 = K.target.value;
|
|
33502
|
+
D(F0), u && u(F0);
|
|
33503
|
+
}, j0 = (K) => {
|
|
33504
|
+
K.preventDefault(), u && u(L0);
|
|
33305
33505
|
};
|
|
33306
33506
|
return /* @__PURE__ */ l.jsxs(
|
|
33307
33507
|
"header",
|
|
33308
33508
|
{
|
|
33309
|
-
className: `bg-white ${i ? f : ""} ${
|
|
33310
|
-
...
|
|
33509
|
+
className: `bg-white ${i ? f : ""} ${a5}`,
|
|
33510
|
+
...r5,
|
|
33311
33511
|
children: [
|
|
33312
33512
|
/* @__PURE__ */ l.jsx("style", { children: `
|
|
33313
33513
|
.header-search-input {
|
|
@@ -33371,15 +33571,15 @@ const p5 = HD, b = ({
|
|
|
33371
33571
|
/* @__PURE__ */ l.jsx(
|
|
33372
33572
|
"div",
|
|
33373
33573
|
{
|
|
33374
|
-
className: `flex-1 mr-2 md:mr-4 ${
|
|
33375
|
-
style: { maxWidth: "none", minWidth: "0", ...
|
|
33376
|
-
children: /* @__PURE__ */ l.jsxs("form", { onSubmit:
|
|
33574
|
+
className: `flex-1 mr-2 md:mr-4 ${Z}`,
|
|
33575
|
+
style: { maxWidth: "none", minWidth: "0", ...x || {} },
|
|
33576
|
+
children: /* @__PURE__ */ l.jsxs("form", { onSubmit: j0, className: "header-search-form flex items-center w-full", children: [
|
|
33377
33577
|
/* @__PURE__ */ l.jsx(
|
|
33378
33578
|
"input",
|
|
33379
33579
|
{
|
|
33380
33580
|
type: "text",
|
|
33381
|
-
value:
|
|
33382
|
-
onChange:
|
|
33581
|
+
value: L0,
|
|
33582
|
+
onChange: _,
|
|
33383
33583
|
placeholder: a,
|
|
33384
33584
|
className: `header-search-input flex-1 pl-2 md:pl-4 pr-2 md:pr-4 py-2 md:py-2.5 bg-white border border-gray-400 rounded-l-lg \r
|
|
33385
33585
|
focus:outline-none text-sm md:text-base`,
|
|
@@ -33426,7 +33626,7 @@ const p5 = HD, b = ({
|
|
|
33426
33626
|
"div",
|
|
33427
33627
|
{
|
|
33428
33628
|
className: `flex items-center space-x-3 md:space-x-6 flex-shrink-0 ${N}`,
|
|
33429
|
-
style: { marginLeft: "auto", paddingRight: "0px", ...
|
|
33629
|
+
style: { marginLeft: "auto", paddingRight: "0px", ...T || {} },
|
|
33430
33630
|
children: [
|
|
33431
33631
|
c !== void 0 && /* @__PURE__ */ l.jsxs(
|
|
33432
33632
|
"button",
|
|
@@ -33440,7 +33640,7 @@ const p5 = HD, b = ({
|
|
|
33440
33640
|
// Por eso usamos translateX por defecto (overrideable por props).
|
|
33441
33641
|
transform: "translateX(12px)",
|
|
33442
33642
|
...P || {},
|
|
33443
|
-
...
|
|
33643
|
+
...c0 || {}
|
|
33444
33644
|
},
|
|
33445
33645
|
children: [
|
|
33446
33646
|
/* @__PURE__ */ l.jsx(
|
|
@@ -33456,10 +33656,10 @@ const p5 = HD, b = ({
|
|
|
33456
33656
|
children: /* @__PURE__ */ l.jsx(
|
|
33457
33657
|
b,
|
|
33458
33658
|
{
|
|
33459
|
-
name:
|
|
33659
|
+
name: P0,
|
|
33460
33660
|
variant: "24-outline",
|
|
33461
|
-
size:
|
|
33462
|
-
strokeWidth:
|
|
33661
|
+
size: W,
|
|
33662
|
+
strokeWidth: n0,
|
|
33463
33663
|
className: `color-gray-600 ${i0}`,
|
|
33464
33664
|
style: {
|
|
33465
33665
|
width: "17.75112533569336px",
|
|
@@ -33469,8 +33669,8 @@ const p5 = HD, b = ({
|
|
|
33469
33669
|
left: "3.12px",
|
|
33470
33670
|
opacity: 1,
|
|
33471
33671
|
transform: "rotate(0deg)",
|
|
33472
|
-
...
|
|
33473
|
-
...
|
|
33672
|
+
...r0 || {},
|
|
33673
|
+
...Y || {}
|
|
33474
33674
|
}
|
|
33475
33675
|
}
|
|
33476
33676
|
)
|
|
@@ -33479,7 +33679,7 @@ const p5 = HD, b = ({
|
|
|
33479
33679
|
c > 0 && /* @__PURE__ */ l.jsx(
|
|
33480
33680
|
"span",
|
|
33481
33681
|
{
|
|
33482
|
-
className: `h-5 text-white flex items-center justify-center text-body-sm font-medium ${
|
|
33682
|
+
className: `h-5 text-white flex items-center justify-center text-body-sm font-medium ${Q}`,
|
|
33483
33683
|
style: {
|
|
33484
33684
|
backgroundColor: "#6D3856",
|
|
33485
33685
|
minWidth: "24px",
|
|
@@ -33492,8 +33692,8 @@ const p5 = HD, b = ({
|
|
|
33492
33692
|
borderRadius: "8px",
|
|
33493
33693
|
opacity: 1,
|
|
33494
33694
|
transform: "rotate(0deg)",
|
|
33495
|
-
...
|
|
33496
|
-
...
|
|
33695
|
+
...X || {},
|
|
33696
|
+
...E || {}
|
|
33497
33697
|
},
|
|
33498
33698
|
children: c > 9 ? "9+" : c
|
|
33499
33699
|
}
|
|
@@ -33510,20 +33710,20 @@ const p5 = HD, b = ({
|
|
|
33510
33710
|
"aria-label": "Perfil de usuario",
|
|
33511
33711
|
children: [
|
|
33512
33712
|
/* @__PURE__ */ l.jsx(
|
|
33513
|
-
|
|
33713
|
+
o5,
|
|
33514
33714
|
{
|
|
33515
33715
|
src: n,
|
|
33516
33716
|
name: t,
|
|
33517
33717
|
size: "medium",
|
|
33518
33718
|
variant: "circle",
|
|
33519
|
-
className:
|
|
33719
|
+
className: Z0,
|
|
33520
33720
|
style: {
|
|
33521
33721
|
width: "36px",
|
|
33522
33722
|
height: "36px",
|
|
33523
33723
|
opacity: 1,
|
|
33524
33724
|
borderRadius: "16777200px",
|
|
33525
33725
|
transform: "rotate(0deg)",
|
|
33526
|
-
...
|
|
33726
|
+
...p0 || {}
|
|
33527
33727
|
}
|
|
33528
33728
|
}
|
|
33529
33729
|
),
|
|
@@ -33540,7 +33740,7 @@ const p5 = HD, b = ({
|
|
|
33540
33740
|
lineHeight: "24px",
|
|
33541
33741
|
letterSpacing: "0%",
|
|
33542
33742
|
verticalAlign: "middle",
|
|
33543
|
-
...
|
|
33743
|
+
...M0 || {}
|
|
33544
33744
|
},
|
|
33545
33745
|
children: t
|
|
33546
33746
|
}
|
|
@@ -33574,7 +33774,7 @@ const p5 = HD, b = ({
|
|
|
33574
33774
|
/* @__PURE__ */ l.jsx(
|
|
33575
33775
|
"button",
|
|
33576
33776
|
{
|
|
33577
|
-
onClick:
|
|
33777
|
+
onClick: K0,
|
|
33578
33778
|
className: "p-2 hover:bg-gray-100 rounded-lg transition-colors",
|
|
33579
33779
|
"aria-label": "Menú",
|
|
33580
33780
|
children: /* @__PURE__ */ l.jsx(
|
|
@@ -33619,7 +33819,7 @@ const p5 = HD, b = ({
|
|
|
33619
33819
|
opacity: 1,
|
|
33620
33820
|
transform: "rotate(0deg)",
|
|
33621
33821
|
...P || {},
|
|
33622
|
-
...
|
|
33822
|
+
...G || {}
|
|
33623
33823
|
},
|
|
33624
33824
|
children: [
|
|
33625
33825
|
/* @__PURE__ */ l.jsx(
|
|
@@ -33630,15 +33830,15 @@ const p5 = HD, b = ({
|
|
|
33630
33830
|
width: "24px",
|
|
33631
33831
|
height: "24px",
|
|
33632
33832
|
opacity: 1,
|
|
33633
|
-
...
|
|
33833
|
+
...s0 || {}
|
|
33634
33834
|
},
|
|
33635
33835
|
children: /* @__PURE__ */ l.jsx(
|
|
33636
33836
|
b,
|
|
33637
33837
|
{
|
|
33638
|
-
name:
|
|
33838
|
+
name: P0,
|
|
33639
33839
|
variant: "24-outline",
|
|
33640
|
-
size:
|
|
33641
|
-
strokeWidth:
|
|
33840
|
+
size: g0,
|
|
33841
|
+
strokeWidth: u0,
|
|
33642
33842
|
className: `color-gray-600 ${i0}`,
|
|
33643
33843
|
style: {
|
|
33644
33844
|
width: "17.75112533569336px",
|
|
@@ -33648,17 +33848,17 @@ const p5 = HD, b = ({
|
|
|
33648
33848
|
left: "3.12px",
|
|
33649
33849
|
opacity: 1,
|
|
33650
33850
|
transform: "rotate(0deg)",
|
|
33651
|
-
...
|
|
33851
|
+
...r0 || {},
|
|
33652
33852
|
...E0 || {}
|
|
33653
33853
|
}
|
|
33654
33854
|
}
|
|
33655
33855
|
)
|
|
33656
33856
|
}
|
|
33657
33857
|
),
|
|
33658
|
-
|
|
33858
|
+
f0 && c > 0 && /* @__PURE__ */ l.jsx(
|
|
33659
33859
|
"span",
|
|
33660
33860
|
{
|
|
33661
|
-
className: `h-5 text-white flex items-center justify-center text-body-sm font-medium ${
|
|
33861
|
+
className: `h-5 text-white flex items-center justify-center text-body-sm font-medium ${Q}`,
|
|
33662
33862
|
style: {
|
|
33663
33863
|
backgroundColor: "#6D3856",
|
|
33664
33864
|
minWidth: "24px",
|
|
@@ -33672,8 +33872,8 @@ const p5 = HD, b = ({
|
|
|
33672
33872
|
marginLeft: "6px",
|
|
33673
33873
|
opacity: 1,
|
|
33674
33874
|
transform: "rotate(0deg)",
|
|
33675
|
-
...
|
|
33676
|
-
...
|
|
33875
|
+
...X || {},
|
|
33876
|
+
...J || {}
|
|
33677
33877
|
},
|
|
33678
33878
|
children: c > 9 ? "9+" : c
|
|
33679
33879
|
}
|
|
@@ -33688,27 +33888,27 @@ const p5 = HD, b = ({
|
|
|
33688
33888
|
className: "hover:bg-gray-50 rounded-lg transition-colors",
|
|
33689
33889
|
"aria-label": "Perfil de usuario",
|
|
33690
33890
|
children: /* @__PURE__ */ l.jsx(
|
|
33691
|
-
|
|
33891
|
+
o5,
|
|
33692
33892
|
{
|
|
33693
33893
|
src: n,
|
|
33694
33894
|
name: t || "",
|
|
33695
33895
|
size: "medium",
|
|
33696
33896
|
variant: "circle",
|
|
33697
|
-
className:
|
|
33698
|
-
style:
|
|
33897
|
+
className: b0,
|
|
33898
|
+
style: _0
|
|
33699
33899
|
}
|
|
33700
33900
|
)
|
|
33701
33901
|
}
|
|
33702
33902
|
)
|
|
33703
33903
|
] })
|
|
33704
33904
|
] }),
|
|
33705
|
-
/* @__PURE__ */ l.jsx("div", { className: "header-mobile-search-row", children: /* @__PURE__ */ l.jsxs("form", { onSubmit:
|
|
33905
|
+
/* @__PURE__ */ l.jsx("div", { className: "header-mobile-search-row", children: /* @__PURE__ */ l.jsxs("form", { onSubmit: j0, className: "header-search-form flex items-center w-full", children: [
|
|
33706
33906
|
/* @__PURE__ */ l.jsx(
|
|
33707
33907
|
"input",
|
|
33708
33908
|
{
|
|
33709
33909
|
type: "text",
|
|
33710
|
-
value:
|
|
33711
|
-
onChange:
|
|
33910
|
+
value: L0,
|
|
33911
|
+
onChange: _,
|
|
33712
33912
|
placeholder: r,
|
|
33713
33913
|
className: `header-search-input flex-1 pl-3 pr-3 py-2 bg-white border border-gray-400 rounded-l-lg \r
|
|
33714
33914
|
focus:outline-none text-sm`,
|
|
@@ -33753,23 +33953,23 @@ const p5 = HD, b = ({
|
|
|
33753
33953
|
}
|
|
33754
33954
|
)
|
|
33755
33955
|
] }),
|
|
33756
|
-
|
|
33757
|
-
|
|
33956
|
+
C0 && /* @__PURE__ */ l.jsx("div", { className: "header-core-mobile-sidebar-wrapper", children: /* @__PURE__ */ l.jsx(
|
|
33957
|
+
$5,
|
|
33758
33958
|
{
|
|
33759
|
-
sections:
|
|
33760
|
-
activeItem:
|
|
33761
|
-
onItemClick: (
|
|
33762
|
-
|
|
33959
|
+
sections: I0,
|
|
33960
|
+
activeItem: $0,
|
|
33961
|
+
onItemClick: (K) => {
|
|
33962
|
+
w0 && N0(K), k0 && k0(K), requestAnimationFrame(() => W0());
|
|
33763
33963
|
},
|
|
33764
|
-
itemBadges:
|
|
33765
|
-
companyName:
|
|
33766
|
-
companyLogo:
|
|
33767
|
-
footerText:
|
|
33768
|
-
footerCollapsedContent:
|
|
33769
|
-
coreContainerStyle:
|
|
33770
|
-
coreTextStyle:
|
|
33771
|
-
isOpen:
|
|
33772
|
-
onClose:
|
|
33964
|
+
itemBadges: R0,
|
|
33965
|
+
companyName: V0,
|
|
33966
|
+
companyLogo: S0,
|
|
33967
|
+
footerText: A0,
|
|
33968
|
+
footerCollapsedContent: X0,
|
|
33969
|
+
coreContainerStyle: Y0,
|
|
33970
|
+
coreTextStyle: B0,
|
|
33971
|
+
isOpen: I,
|
|
33972
|
+
onClose: W0,
|
|
33773
33973
|
transitionDurationMs: w,
|
|
33774
33974
|
transitionEasing: v
|
|
33775
33975
|
}
|
|
@@ -33777,7 +33977,7 @@ const p5 = HD, b = ({
|
|
|
33777
33977
|
]
|
|
33778
33978
|
}
|
|
33779
33979
|
);
|
|
33780
|
-
},
|
|
33980
|
+
}, j5 = [
|
|
33781
33981
|
{
|
|
33782
33982
|
title: "PERSONAS",
|
|
33783
33983
|
items: [
|
|
@@ -33793,7 +33993,7 @@ const p5 = HD, b = ({
|
|
|
33793
33993
|
]
|
|
33794
33994
|
}
|
|
33795
33995
|
], AN = ({
|
|
33796
|
-
sections: a =
|
|
33996
|
+
sections: a = j5,
|
|
33797
33997
|
activeItem: r,
|
|
33798
33998
|
onItemClick: t,
|
|
33799
33999
|
defaultCollapsed: n = !1,
|
|
@@ -33811,7 +34011,7 @@ const p5 = HD, b = ({
|
|
|
33811
34011
|
className: v = "",
|
|
33812
34012
|
...p
|
|
33813
34013
|
}) => {
|
|
33814
|
-
const [m, C] =
|
|
34014
|
+
const [m, C] = S(n);
|
|
33815
34015
|
return /* @__PURE__ */ l.jsx(
|
|
33816
34016
|
"aside",
|
|
33817
34017
|
{
|
|
@@ -33880,50 +34080,50 @@ const p5 = HD, b = ({
|
|
|
33880
34080
|
children: $.title
|
|
33881
34081
|
}
|
|
33882
34082
|
) }),
|
|
33883
|
-
/* @__PURE__ */ l.jsx("div", { className: "space-y-1", children: $.items.map((
|
|
34083
|
+
/* @__PURE__ */ l.jsx("div", { className: "space-y-1", children: $.items.map((Z) => /* @__PURE__ */ l.jsx("div", { className: "px-4", children: /* @__PURE__ */ l.jsxs(
|
|
33884
34084
|
"button",
|
|
33885
34085
|
{
|
|
33886
|
-
onClick: () => t && t(
|
|
33887
|
-
className: `w-full flex items-center cursor-pointer ${m ? "justify-center px-2" : "px-4 justify-between"} py-2.5 rounded-lg transition-all duration-200 ${r ===
|
|
33888
|
-
style: r ===
|
|
33889
|
-
title: m ?
|
|
34086
|
+
onClick: () => t && t(Z.id),
|
|
34087
|
+
className: `w-full flex items-center cursor-pointer ${m ? "justify-center px-2" : "px-4 justify-between"} py-2.5 rounded-lg transition-all duration-200 ${r === Z.id ? "" : "color-gray-700 hover:bg-gray-100"}`,
|
|
34088
|
+
style: r === Z.id ? { backgroundColor: "#2D5C63" } : {},
|
|
34089
|
+
title: m ? Z.label : "",
|
|
33890
34090
|
children: [
|
|
33891
34091
|
/* @__PURE__ */ l.jsxs("div", { className: "flex items-center", children: [
|
|
33892
34092
|
/* @__PURE__ */ l.jsx(
|
|
33893
34093
|
b,
|
|
33894
34094
|
{
|
|
33895
|
-
name:
|
|
34095
|
+
name: Z.icon,
|
|
33896
34096
|
variant: "24-outline",
|
|
33897
34097
|
size: 20,
|
|
33898
|
-
className: `${m ? "" : "mr-3"} ${r ===
|
|
34098
|
+
className: `${m ? "" : "mr-3"} ${r === Z.id ? "color-white" : "color-gray-700"}`
|
|
33899
34099
|
}
|
|
33900
34100
|
),
|
|
33901
34101
|
!m && /* @__PURE__ */ l.jsx(
|
|
33902
34102
|
y,
|
|
33903
34103
|
{
|
|
33904
34104
|
variant: "body-md",
|
|
33905
|
-
className: `font-medium ${r ===
|
|
33906
|
-
children:
|
|
34105
|
+
className: `font-medium ${r === Z.id ? "color-white" : "color-gray-700"}`,
|
|
34106
|
+
children: Z.label
|
|
33907
34107
|
}
|
|
33908
34108
|
)
|
|
33909
34109
|
] }),
|
|
33910
|
-
!m && (s[
|
|
34110
|
+
!m && (s[Z.id] !== void 0 && s[Z.id] > 0 || Z.id === "empleados" && 2) && /* @__PURE__ */ l.jsx(
|
|
33911
34111
|
"span",
|
|
33912
34112
|
{
|
|
33913
34113
|
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33914
34114
|
rounded-full flex items-center justify-center\r
|
|
33915
34115
|
text-body-sm font-medium`,
|
|
33916
34116
|
style: {
|
|
33917
|
-
backgroundColor: r ===
|
|
33918
|
-
color: r ===
|
|
34117
|
+
backgroundColor: r === Z.id ? "#FFFFFF" : "#6D3856",
|
|
34118
|
+
color: r === Z.id ? "#6D3856" : "#FFFFFF",
|
|
33919
34119
|
borderRadius: "12px"
|
|
33920
34120
|
},
|
|
33921
|
-
children:
|
|
34121
|
+
children: Z.id === "empleados" ? 2 : s[Z.id] > 9 ? "9+" : s[Z.id]
|
|
33922
34122
|
}
|
|
33923
34123
|
)
|
|
33924
34124
|
]
|
|
33925
34125
|
}
|
|
33926
|
-
) },
|
|
34126
|
+
) }, Z.id)) })
|
|
33927
34127
|
] }, L))
|
|
33928
34128
|
] }) }),
|
|
33929
34129
|
i && !m && /* @__PURE__ */ l.jsx("div", { className: "px-4 pb-4 flex-shrink-0", children: /* @__PURE__ */ l.jsx(
|
|
@@ -33943,17 +34143,17 @@ const p5 = HD, b = ({
|
|
|
33943
34143
|
children: (() => {
|
|
33944
34144
|
const $ = i.split("|");
|
|
33945
34145
|
if ($.length === 2) {
|
|
33946
|
-
const L = $[0].trim(),
|
|
33947
|
-
if (
|
|
33948
|
-
const
|
|
33949
|
-
if (
|
|
34146
|
+
const L = $[0].trim(), Z = $[1].trim();
|
|
34147
|
+
if (Z.includes("Powered by")) {
|
|
34148
|
+
const x = Z.match(/Powered by (.+)/);
|
|
34149
|
+
if (x)
|
|
33950
34150
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
33951
34151
|
L,
|
|
33952
34152
|
" | Powered by ",
|
|
33953
|
-
/* @__PURE__ */ l.jsx("span", { className: "font-bold", children:
|
|
34153
|
+
/* @__PURE__ */ l.jsx("span", { className: "font-bold", children: x[1] })
|
|
33954
34154
|
] });
|
|
33955
34155
|
}
|
|
33956
|
-
return `${L} | ${
|
|
34156
|
+
return `${L} | ${Z}`;
|
|
33957
34157
|
}
|
|
33958
34158
|
return i;
|
|
33959
34159
|
})()
|
|
@@ -34028,7 +34228,7 @@ const p5 = HD, b = ({
|
|
|
34028
34228
|
}
|
|
34029
34229
|
);
|
|
34030
34230
|
}, UD = ({
|
|
34031
|
-
sections: a =
|
|
34231
|
+
sections: a = j5,
|
|
34032
34232
|
activeItem: r,
|
|
34033
34233
|
onItemClick: t,
|
|
34034
34234
|
companyName: n = "HEXA Point",
|
|
@@ -34040,8 +34240,8 @@ const p5 = HD, b = ({
|
|
|
34040
34240
|
className: f = "",
|
|
34041
34241
|
...w
|
|
34042
34242
|
}) => {
|
|
34043
|
-
const [v, p] =
|
|
34044
|
-
|
|
34243
|
+
const [v, p] = S(!1), [m, C] = S(!1), $ = s !== void 0 ? s : v;
|
|
34244
|
+
v0(() => {
|
|
34045
34245
|
if (s !== void 0)
|
|
34046
34246
|
if (s) {
|
|
34047
34247
|
C(!1);
|
|
@@ -34056,12 +34256,12 @@ const p5 = HD, b = ({
|
|
|
34056
34256
|
}, [s, v]);
|
|
34057
34257
|
const L = () => {
|
|
34058
34258
|
i ? i() : p(!v);
|
|
34059
|
-
},
|
|
34259
|
+
}, Z = (/* @__PURE__ */ new Date()).toLocaleDateString("es-AR", {
|
|
34060
34260
|
weekday: "long",
|
|
34061
34261
|
year: "numeric",
|
|
34062
34262
|
month: "long",
|
|
34063
34263
|
day: "numeric"
|
|
34064
|
-
}),
|
|
34264
|
+
}), x = Z.charAt(0).toUpperCase() + Z.slice(1);
|
|
34065
34265
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
34066
34266
|
/* @__PURE__ */ l.jsx("style", { children: `
|
|
34067
34267
|
.sidebar-point-mobile {
|
|
@@ -34152,7 +34352,7 @@ const p5 = HD, b = ({
|
|
|
34152
34352
|
{
|
|
34153
34353
|
variant: "body-md",
|
|
34154
34354
|
className: "color-gray-700",
|
|
34155
|
-
children:
|
|
34355
|
+
children: x
|
|
34156
34356
|
}
|
|
34157
34357
|
) }),
|
|
34158
34358
|
c && /* @__PURE__ */ l.jsx("div", { className: "bg-gray-100 px-4 py-6 flex justify-center border-b border-gray-200", children: /* @__PURE__ */ l.jsx(
|
|
@@ -34208,7 +34408,7 @@ const p5 = HD, b = ({
|
|
|
34208
34408
|
]
|
|
34209
34409
|
}
|
|
34210
34410
|
) }),
|
|
34211
|
-
a.map((N,
|
|
34411
|
+
a.map((N, T) => /* @__PURE__ */ l.jsxs("div", { className: "mb-6", children: [
|
|
34212
34412
|
/* @__PURE__ */ l.jsx("div", { className: "px-4 mb-2", children: /* @__PURE__ */ l.jsx(
|
|
34213
34413
|
y,
|
|
34214
34414
|
{
|
|
@@ -34261,7 +34461,7 @@ const p5 = HD, b = ({
|
|
|
34261
34461
|
]
|
|
34262
34462
|
}
|
|
34263
34463
|
) }, A.id)) })
|
|
34264
|
-
] },
|
|
34464
|
+
] }, T))
|
|
34265
34465
|
] })
|
|
34266
34466
|
] })
|
|
34267
34467
|
}
|
|
@@ -34284,10 +34484,10 @@ const p5 = HD, b = ({
|
|
|
34284
34484
|
className: m = "",
|
|
34285
34485
|
...C
|
|
34286
34486
|
}) => {
|
|
34287
|
-
const [$, L] =
|
|
34487
|
+
const [$, L] = S(""), [Z, x] = S(!1), N = (A) => {
|
|
34288
34488
|
const P = A.target.value;
|
|
34289
34489
|
L(P), c && c(P);
|
|
34290
|
-
},
|
|
34490
|
+
}, T = (A) => {
|
|
34291
34491
|
A.preventDefault(), c && c($);
|
|
34292
34492
|
};
|
|
34293
34493
|
return /* @__PURE__ */ l.jsxs(
|
|
@@ -34436,7 +34636,7 @@ const p5 = HD, b = ({
|
|
|
34436
34636
|
` }),
|
|
34437
34637
|
/* @__PURE__ */ l.jsxs("div", { className: "w-full", style: { paddingLeft: "4px", paddingRight: "4px" }, children: [
|
|
34438
34638
|
/* @__PURE__ */ l.jsxs("div", { className: "header-desktop-layout flex items-center justify-between h-16", children: [
|
|
34439
|
-
/* @__PURE__ */ l.jsx("div", { className: "flex-1 mr-2 md:mr-4", style: { maxWidth: "none", minWidth: "0" }, children: /* @__PURE__ */ l.jsxs("form", { onSubmit:
|
|
34639
|
+
/* @__PURE__ */ l.jsx("div", { className: "flex-1 mr-2 md:mr-4", style: { maxWidth: "none", minWidth: "0" }, children: /* @__PURE__ */ l.jsxs("form", { onSubmit: T, className: "header-search-form flex items-center w-full", children: [
|
|
34440
34640
|
/* @__PURE__ */ l.jsx(
|
|
34441
34641
|
"input",
|
|
34442
34642
|
{
|
|
@@ -34525,7 +34725,7 @@ const p5 = HD, b = ({
|
|
|
34525
34725
|
"aria-label": "Perfil de usuario",
|
|
34526
34726
|
children: [
|
|
34527
34727
|
/* @__PURE__ */ l.jsx(
|
|
34528
|
-
|
|
34728
|
+
o5,
|
|
34529
34729
|
{
|
|
34530
34730
|
src: t,
|
|
34531
34731
|
name: r,
|
|
@@ -34569,7 +34769,7 @@ const p5 = HD, b = ({
|
|
|
34569
34769
|
/* @__PURE__ */ l.jsx("div", { className: "flex items-center", children: /* @__PURE__ */ l.jsx(
|
|
34570
34770
|
"button",
|
|
34571
34771
|
{
|
|
34572
|
-
onClick: () =>
|
|
34772
|
+
onClick: () => x(!0),
|
|
34573
34773
|
className: "p-2 hover:bg-gray-100 rounded-lg transition-colors header-mobile-menu-button",
|
|
34574
34774
|
style: { cursor: "pointer", padding: "8px" },
|
|
34575
34775
|
"aria-label": "Menú",
|
|
@@ -34646,7 +34846,7 @@ const p5 = HD, b = ({
|
|
|
34646
34846
|
}
|
|
34647
34847
|
) })
|
|
34648
34848
|
] }),
|
|
34649
|
-
/* @__PURE__ */ l.jsx("div", { className: "header-mobile-search-row", children: /* @__PURE__ */ l.jsxs("form", { onSubmit:
|
|
34849
|
+
/* @__PURE__ */ l.jsx("div", { className: "header-mobile-search-row", children: /* @__PURE__ */ l.jsxs("form", { onSubmit: T, className: "header-search-form flex items-center w-full", children: [
|
|
34650
34850
|
/* @__PURE__ */ l.jsx(
|
|
34651
34851
|
"input",
|
|
34652
34852
|
{
|
|
@@ -34695,19 +34895,19 @@ const p5 = HD, b = ({
|
|
|
34695
34895
|
] }) })
|
|
34696
34896
|
] })
|
|
34697
34897
|
] }),
|
|
34698
|
-
|
|
34898
|
+
Z && /* @__PURE__ */ l.jsx("div", { className: "header-mobile-sidebar-wrapper", children: /* @__PURE__ */ l.jsx(
|
|
34699
34899
|
UD,
|
|
34700
34900
|
{
|
|
34701
34901
|
sections: s,
|
|
34702
34902
|
activeItem: i,
|
|
34703
34903
|
onItemClick: (A) => {
|
|
34704
|
-
f && f(A),
|
|
34904
|
+
f && f(A), x(!1);
|
|
34705
34905
|
},
|
|
34706
34906
|
itemBadges: w,
|
|
34707
34907
|
companyName: v,
|
|
34708
34908
|
companyLogo: p,
|
|
34709
|
-
isOpen:
|
|
34710
|
-
onClose: () =>
|
|
34909
|
+
isOpen: Z,
|
|
34910
|
+
onClose: () => x(!1)
|
|
34711
34911
|
}
|
|
34712
34912
|
) })
|
|
34713
34913
|
]
|
|
@@ -34725,12 +34925,12 @@ const p5 = HD, b = ({
|
|
|
34725
34925
|
className: u = "",
|
|
34726
34926
|
...d
|
|
34727
34927
|
}) => {
|
|
34728
|
-
const [s, i] =
|
|
34928
|
+
const [s, i] = S(!1), f = t.find((v) => v.code === n) || t[0], w = (v) => {
|
|
34729
34929
|
c && c(v), i(!1);
|
|
34730
34930
|
};
|
|
34731
34931
|
return /* @__PURE__ */ l.jsxs("header", { className: `w-full flex justify-between items-center bg-white ${u}`, style: { paddingTop: "4px", paddingBottom: "4px", paddingLeft: "8px", paddingRight: "12px" }, ...d, children: [
|
|
34732
34932
|
/* @__PURE__ */ l.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
34733
|
-
/* @__PURE__ */ l.jsx(
|
|
34933
|
+
/* @__PURE__ */ l.jsx(c5, { width: 32, height: 36 }),
|
|
34734
34934
|
/* @__PURE__ */ l.jsxs("div", { className: "flex items-center", style: { gap: "4px" }, children: [
|
|
34735
34935
|
/* @__PURE__ */ l.jsx(y, { variant: "h6", className: "font-normal", style: { color: "#2D5C63", margin: 0 }, children: a }),
|
|
34736
34936
|
/* @__PURE__ */ l.jsx(y, { variant: "h6", className: "font-normal", style: { color: "#2D5C63", margin: 0 }, children: r })
|
|
@@ -34902,7 +35102,7 @@ const p5 = HD, b = ({
|
|
|
34902
35102
|
className: s = "",
|
|
34903
35103
|
...i
|
|
34904
35104
|
}) => {
|
|
34905
|
-
if (
|
|
35105
|
+
if (v0(() => (a ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
|
|
34906
35106
|
document.body.style.overflow = "unset";
|
|
34907
35107
|
}), [a]), !a) return null;
|
|
34908
35108
|
const f = {
|
|
@@ -34959,7 +35159,7 @@ const p5 = HD, b = ({
|
|
|
34959
35159
|
className: c = "",
|
|
34960
35160
|
...u
|
|
34961
35161
|
}) => {
|
|
34962
|
-
const [d, s] =
|
|
35162
|
+
const [d, s] = S(r), i = (w) => {
|
|
34963
35163
|
s(w), t && t(w);
|
|
34964
35164
|
}, f = {
|
|
34965
35165
|
default: "border-blue-500 text-blue-600",
|
|
@@ -34988,7 +35188,7 @@ const p5 = HD, b = ({
|
|
|
34988
35188
|
className: n = "",
|
|
34989
35189
|
...c
|
|
34990
35190
|
}) => {
|
|
34991
|
-
const [u, d] =
|
|
35191
|
+
const [u, d] = S(t), s = (i) => {
|
|
34992
35192
|
d(
|
|
34993
35193
|
r ? (f) => f.includes(i) ? f.filter((w) => w !== i) : [...f, i] : (f) => f.includes(i) ? [] : [i]
|
|
34994
35194
|
);
|
|
@@ -35063,7 +35263,7 @@ const p5 = HD, b = ({
|
|
|
35063
35263
|
};
|
|
35064
35264
|
return r <= 1 ? null : /* @__PURE__ */ l.jsx("nav", { className: c, "aria-label": "Pagination", ...u, children: /* @__PURE__ */ l.jsxs("div", { className: "flex items-center justify-center space-x-1", children: [
|
|
35065
35265
|
n && /* @__PURE__ */ l.jsx(
|
|
35066
|
-
|
|
35266
|
+
m0,
|
|
35067
35267
|
{
|
|
35068
35268
|
variant: "outline",
|
|
35069
35269
|
size: "small",
|
|
@@ -35073,7 +35273,7 @@ const p5 = HD, b = ({
|
|
|
35073
35273
|
}
|
|
35074
35274
|
),
|
|
35075
35275
|
/* @__PURE__ */ l.jsx(
|
|
35076
|
-
|
|
35276
|
+
m0,
|
|
35077
35277
|
{
|
|
35078
35278
|
variant: "outline",
|
|
35079
35279
|
size: "small",
|
|
@@ -35083,7 +35283,7 @@ const p5 = HD, b = ({
|
|
|
35083
35283
|
}
|
|
35084
35284
|
),
|
|
35085
35285
|
s().map((i) => /* @__PURE__ */ l.jsx(
|
|
35086
|
-
|
|
35286
|
+
m0,
|
|
35087
35287
|
{
|
|
35088
35288
|
variant: a === i ? "primary" : "outline",
|
|
35089
35289
|
size: "small",
|
|
@@ -35093,7 +35293,7 @@ const p5 = HD, b = ({
|
|
|
35093
35293
|
i
|
|
35094
35294
|
)),
|
|
35095
35295
|
/* @__PURE__ */ l.jsx(
|
|
35096
|
-
|
|
35296
|
+
m0,
|
|
35097
35297
|
{
|
|
35098
35298
|
variant: "outline",
|
|
35099
35299
|
size: "small",
|
|
@@ -35103,7 +35303,7 @@ const p5 = HD, b = ({
|
|
|
35103
35303
|
}
|
|
35104
35304
|
),
|
|
35105
35305
|
n && /* @__PURE__ */ l.jsx(
|
|
35106
|
-
|
|
35306
|
+
m0,
|
|
35107
35307
|
{
|
|
35108
35308
|
variant: "outline",
|
|
35109
35309
|
size: "small",
|
|
@@ -35124,7 +35324,7 @@ const p5 = HD, b = ({
|
|
|
35124
35324
|
className: s = "",
|
|
35125
35325
|
...i
|
|
35126
35326
|
}) => {
|
|
35127
|
-
if (
|
|
35327
|
+
if (v0(() => (a ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
|
|
35128
35328
|
document.body.style.overflow = "unset";
|
|
35129
35329
|
}), [a]), !a) return null;
|
|
35130
35330
|
const f = {
|
|
@@ -35175,8 +35375,8 @@ const p5 = HD, b = ({
|
|
|
35175
35375
|
className: n = "",
|
|
35176
35376
|
...c
|
|
35177
35377
|
}) => {
|
|
35178
|
-
const [u, d] =
|
|
35179
|
-
|
|
35378
|
+
const [u, d] = S(!1), s = d5(null);
|
|
35379
|
+
v0(() => {
|
|
35180
35380
|
const f = (w) => {
|
|
35181
35381
|
s.current && !s.current.contains(w.target) && d(!1);
|
|
35182
35382
|
};
|
|
@@ -35325,38 +35525,38 @@ const p5 = HD, b = ({
|
|
|
35325
35525
|
dateOptions: $ = qD,
|
|
35326
35526
|
formatDate: L,
|
|
35327
35527
|
// (date, { locale, dateOptions }) => string
|
|
35328
|
-
capitalizeDate:
|
|
35528
|
+
capitalizeDate: Z = !0,
|
|
35329
35529
|
// Layout / styles (overrideable)
|
|
35330
|
-
className:
|
|
35530
|
+
className: x = "",
|
|
35331
35531
|
style: N,
|
|
35332
|
-
leftClassName:
|
|
35532
|
+
leftClassName: T = "",
|
|
35333
35533
|
leftStyle: A,
|
|
35334
35534
|
rightClassName: P = "",
|
|
35335
35535
|
rightStyle: i0,
|
|
35336
|
-
saludoFechaContainerClassName:
|
|
35337
|
-
saludoFechaContainerStyle:
|
|
35338
|
-
inicioContainerClassName:
|
|
35339
|
-
inicioContainerStyle:
|
|
35536
|
+
saludoFechaContainerClassName: r0 = "",
|
|
35537
|
+
saludoFechaContainerStyle: Q,
|
|
35538
|
+
inicioContainerClassName: X = "",
|
|
35539
|
+
inicioContainerStyle: c0,
|
|
35340
35540
|
inicioTextClassName: q = "",
|
|
35341
35541
|
inicioTextStyle: F,
|
|
35342
|
-
inicioIconClassName:
|
|
35343
|
-
inicioIconStyle:
|
|
35344
|
-
greetingClassName:
|
|
35345
|
-
greetingStyle:
|
|
35542
|
+
inicioIconClassName: W = "",
|
|
35543
|
+
inicioIconStyle: n0,
|
|
35544
|
+
greetingClassName: Y = "",
|
|
35545
|
+
greetingStyle: E,
|
|
35346
35546
|
greetingPrefix: k = "¡",
|
|
35347
|
-
greetingSuffix:
|
|
35547
|
+
greetingSuffix: G = "!",
|
|
35348
35548
|
nameClassName: t0 = "",
|
|
35349
|
-
nameStyle:
|
|
35350
|
-
dateTextClassName:
|
|
35351
|
-
dateTextStyle:
|
|
35549
|
+
nameStyle: s0,
|
|
35550
|
+
dateTextClassName: g0 = "",
|
|
35551
|
+
dateTextStyle: u0,
|
|
35352
35552
|
...E0
|
|
35353
35553
|
}) => {
|
|
35354
|
-
const
|
|
35355
|
-
let
|
|
35356
|
-
return
|
|
35554
|
+
const f0 = n ? GD(t) : null;
|
|
35555
|
+
let J = "";
|
|
35556
|
+
return f0 && (typeof L == "function" ? J = L(f0, { locale: C, dateOptions: $ }) : J = new Intl.DateTimeFormat(C, $).format(f0), Z && (J = _D(J))), /* @__PURE__ */ l.jsxs(
|
|
35357
35557
|
"div",
|
|
35358
35558
|
{
|
|
35359
|
-
className: `w-full ${
|
|
35559
|
+
className: `w-full ${x}`,
|
|
35360
35560
|
style: N,
|
|
35361
35561
|
...E0,
|
|
35362
35562
|
children: [
|
|
@@ -35383,11 +35583,11 @@ const p5 = HD, b = ({
|
|
|
35383
35583
|
c && /* @__PURE__ */ l.jsxs(
|
|
35384
35584
|
"div",
|
|
35385
35585
|
{
|
|
35386
|
-
className: `scfd-inicio col-start-1 row-start-1 flex items-center gap-1 ${
|
|
35586
|
+
className: `scfd-inicio col-start-1 row-start-1 flex items-center gap-1 ${X}`,
|
|
35387
35587
|
style: {
|
|
35388
35588
|
// Mantener "Inicio" alineado al mismo borde que "Hola" (padding-left del contenedor inferior)
|
|
35389
35589
|
paddingLeft: "8px",
|
|
35390
|
-
...
|
|
35590
|
+
...c0 || {}
|
|
35391
35591
|
},
|
|
35392
35592
|
children: [
|
|
35393
35593
|
/* @__PURE__ */ l.jsx(
|
|
@@ -35415,12 +35615,12 @@ const p5 = HD, b = ({
|
|
|
35415
35615
|
name: s,
|
|
35416
35616
|
variant: i,
|
|
35417
35617
|
size: f,
|
|
35418
|
-
className:
|
|
35618
|
+
className: W,
|
|
35419
35619
|
style: {
|
|
35420
35620
|
color: "#223B40",
|
|
35421
35621
|
opacity: 1,
|
|
35422
35622
|
transform: "rotate(0deg)",
|
|
35423
|
-
...
|
|
35623
|
+
...n0 || {}
|
|
35424
35624
|
}
|
|
35425
35625
|
}
|
|
35426
35626
|
) : null
|
|
@@ -35430,7 +35630,7 @@ const p5 = HD, b = ({
|
|
|
35430
35630
|
/* @__PURE__ */ l.jsxs(
|
|
35431
35631
|
"div",
|
|
35432
35632
|
{
|
|
35433
|
-
className: `scfd-saludo-fecha col-start-1 col-end-3 row-start-2 flex items-center justify-between ${
|
|
35633
|
+
className: `scfd-saludo-fecha col-start-1 col-end-3 row-start-2 flex items-center justify-between ${r0}`,
|
|
35434
35634
|
style: {
|
|
35435
35635
|
// Responsive: ocupar el ancho disponible sin generar scroll horizontal,
|
|
35436
35636
|
// manteniendo el ancho Figma como máximo.
|
|
@@ -35444,14 +35644,14 @@ const p5 = HD, b = ({
|
|
|
35444
35644
|
paddingBottom: "16px",
|
|
35445
35645
|
paddingLeft: "8px",
|
|
35446
35646
|
boxSizing: "border-box",
|
|
35447
|
-
...
|
|
35647
|
+
...Q || {}
|
|
35448
35648
|
},
|
|
35449
35649
|
children: [
|
|
35450
|
-
/* @__PURE__ */ l.jsx("div", { className: `scfd-greeting-wrapper min-w-0 ${
|
|
35650
|
+
/* @__PURE__ */ l.jsx("div", { className: `scfd-greeting-wrapper min-w-0 ${T}`, style: A, children: /* @__PURE__ */ l.jsxs(
|
|
35451
35651
|
y,
|
|
35452
35652
|
{
|
|
35453
35653
|
variant: "h5",
|
|
35454
|
-
className: `scfd-greeting ${
|
|
35654
|
+
className: `scfd-greeting ${Y}`,
|
|
35455
35655
|
style: {
|
|
35456
35656
|
color: "#223B40",
|
|
35457
35657
|
fontFamily: "IBM Plex Sans",
|
|
@@ -35461,7 +35661,7 @@ const p5 = HD, b = ({
|
|
|
35461
35661
|
lineHeight: "42px",
|
|
35462
35662
|
letterSpacing: "0%",
|
|
35463
35663
|
verticalAlign: "middle",
|
|
35464
|
-
...
|
|
35664
|
+
...E || {}
|
|
35465
35665
|
},
|
|
35466
35666
|
children: [
|
|
35467
35667
|
/* @__PURE__ */ l.jsxs(
|
|
@@ -35500,23 +35700,23 @@ const p5 = HD, b = ({
|
|
|
35500
35700
|
fontSize: "28px",
|
|
35501
35701
|
lineHeight: "42px",
|
|
35502
35702
|
letterSpacing: "0%",
|
|
35503
|
-
...
|
|
35703
|
+
...s0 || {}
|
|
35504
35704
|
},
|
|
35505
35705
|
children: a
|
|
35506
35706
|
}
|
|
35507
35707
|
)
|
|
35508
35708
|
] }) : null,
|
|
35509
|
-
/* @__PURE__ */ l.jsx("span", { style: { display: "inline-block", verticalAlign: "middle" }, children:
|
|
35709
|
+
/* @__PURE__ */ l.jsx("span", { style: { display: "inline-block", verticalAlign: "middle" }, children: G })
|
|
35510
35710
|
]
|
|
35511
35711
|
}
|
|
35512
35712
|
) }),
|
|
35513
|
-
n &&
|
|
35713
|
+
n && J ? /* @__PURE__ */ l.jsx("div", { className: `scfd-date flex items-center flex-shrink-0 ${P}`, style: i0, children: /* @__PURE__ */ l.jsx(
|
|
35514
35714
|
y,
|
|
35515
35715
|
{
|
|
35516
35716
|
variant: "body-lg",
|
|
35517
|
-
className: `color-gray-600 ${
|
|
35518
|
-
style:
|
|
35519
|
-
children:
|
|
35717
|
+
className: `color-gray-600 ${g0}`,
|
|
35718
|
+
style: u0,
|
|
35719
|
+
children: J
|
|
35520
35720
|
}
|
|
35521
35721
|
) }) : null
|
|
35522
35722
|
]
|
|
@@ -36304,7 +36504,7 @@ const p5 = HD, b = ({
|
|
|
36304
36504
|
className: d = "",
|
|
36305
36505
|
...s
|
|
36306
36506
|
}) => {
|
|
36307
|
-
const { t: i } =
|
|
36507
|
+
const { t: i } = x0(), f = a.map((m) => {
|
|
36308
36508
|
const C = m.translationKey ? i(m.translationKey) : m.label || m.headerName;
|
|
36309
36509
|
return {
|
|
36310
36510
|
...m,
|
|
@@ -36371,7 +36571,7 @@ const p5 = HD, b = ({
|
|
|
36371
36571
|
className: s = "",
|
|
36372
36572
|
...i
|
|
36373
36573
|
}) => {
|
|
36374
|
-
const f =
|
|
36574
|
+
const f = q0(() => ({
|
|
36375
36575
|
chart: {
|
|
36376
36576
|
type: "line",
|
|
36377
36577
|
height: n,
|
|
@@ -36427,7 +36627,7 @@ const p5 = HD, b = ({
|
|
|
36427
36627
|
return /* @__PURE__ */ l.jsxs("div", { className: s, children: [
|
|
36428
36628
|
t && /* @__PURE__ */ l.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: t }),
|
|
36429
36629
|
/* @__PURE__ */ l.jsx(
|
|
36430
|
-
|
|
36630
|
+
G0,
|
|
36431
36631
|
{
|
|
36432
36632
|
options: f,
|
|
36433
36633
|
series: a,
|
|
@@ -36449,7 +36649,7 @@ const p5 = HD, b = ({
|
|
|
36449
36649
|
className: i = "",
|
|
36450
36650
|
...f
|
|
36451
36651
|
}) => {
|
|
36452
|
-
const w =
|
|
36652
|
+
const w = q0(() => ({
|
|
36453
36653
|
chart: {
|
|
36454
36654
|
type: "bar",
|
|
36455
36655
|
height: n,
|
|
@@ -36508,7 +36708,7 @@ const p5 = HD, b = ({
|
|
|
36508
36708
|
return /* @__PURE__ */ l.jsxs("div", { className: i, children: [
|
|
36509
36709
|
t && /* @__PURE__ */ l.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: t }),
|
|
36510
36710
|
/* @__PURE__ */ l.jsx(
|
|
36511
|
-
|
|
36711
|
+
G0,
|
|
36512
36712
|
{
|
|
36513
36713
|
options: w,
|
|
36514
36714
|
series: a,
|
|
@@ -36529,7 +36729,7 @@ const p5 = HD, b = ({
|
|
|
36529
36729
|
className: s = "",
|
|
36530
36730
|
...i
|
|
36531
36731
|
}) => {
|
|
36532
|
-
const f =
|
|
36732
|
+
const f = q0(() => ({
|
|
36533
36733
|
chart: {
|
|
36534
36734
|
type: "area",
|
|
36535
36735
|
height: n,
|
|
@@ -36594,7 +36794,7 @@ const p5 = HD, b = ({
|
|
|
36594
36794
|
return /* @__PURE__ */ l.jsxs("div", { className: s, children: [
|
|
36595
36795
|
t && /* @__PURE__ */ l.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: t }),
|
|
36596
36796
|
/* @__PURE__ */ l.jsx(
|
|
36597
|
-
|
|
36797
|
+
G0,
|
|
36598
36798
|
{
|
|
36599
36799
|
options: f,
|
|
36600
36800
|
series: a,
|
|
@@ -36614,7 +36814,7 @@ const p5 = HD, b = ({
|
|
|
36614
36814
|
className: d = "",
|
|
36615
36815
|
...s
|
|
36616
36816
|
}) => {
|
|
36617
|
-
const i =
|
|
36817
|
+
const i = q0(() => ({
|
|
36618
36818
|
chart: {
|
|
36619
36819
|
type: "pie",
|
|
36620
36820
|
height: n,
|
|
@@ -36649,7 +36849,7 @@ const p5 = HD, b = ({
|
|
|
36649
36849
|
return /* @__PURE__ */ l.jsxs("div", { className: d, children: [
|
|
36650
36850
|
t && /* @__PURE__ */ l.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: t }),
|
|
36651
36851
|
/* @__PURE__ */ l.jsx(
|
|
36652
|
-
|
|
36852
|
+
G0,
|
|
36653
36853
|
{
|
|
36654
36854
|
options: i,
|
|
36655
36855
|
series: a,
|
|
@@ -36670,7 +36870,7 @@ const p5 = HD, b = ({
|
|
|
36670
36870
|
className: s = "",
|
|
36671
36871
|
...i
|
|
36672
36872
|
}) => {
|
|
36673
|
-
const f =
|
|
36873
|
+
const f = q0(() => ({
|
|
36674
36874
|
chart: {
|
|
36675
36875
|
type: "donut",
|
|
36676
36876
|
height: n,
|
|
@@ -36720,7 +36920,7 @@ const p5 = HD, b = ({
|
|
|
36720
36920
|
return /* @__PURE__ */ l.jsxs("div", { className: s, children: [
|
|
36721
36921
|
t && /* @__PURE__ */ l.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: t }),
|
|
36722
36922
|
/* @__PURE__ */ l.jsx(
|
|
36723
|
-
|
|
36923
|
+
G0,
|
|
36724
36924
|
{
|
|
36725
36925
|
options: f,
|
|
36726
36926
|
series: a,
|
|
@@ -36741,7 +36941,7 @@ const p5 = HD, b = ({
|
|
|
36741
36941
|
className: s = "",
|
|
36742
36942
|
...i
|
|
36743
36943
|
}) => {
|
|
36744
|
-
const f =
|
|
36944
|
+
const f = q0(() => ({
|
|
36745
36945
|
chart: {
|
|
36746
36946
|
type: "column",
|
|
36747
36947
|
height: n,
|
|
@@ -36803,7 +37003,7 @@ const p5 = HD, b = ({
|
|
|
36803
37003
|
return /* @__PURE__ */ l.jsxs("div", { className: s, children: [
|
|
36804
37004
|
t && /* @__PURE__ */ l.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: t }),
|
|
36805
37005
|
/* @__PURE__ */ l.jsx(
|
|
36806
|
-
|
|
37006
|
+
G0,
|
|
36807
37007
|
{
|
|
36808
37008
|
options: f,
|
|
36809
37009
|
series: a,
|
|
@@ -36825,7 +37025,7 @@ const p5 = HD, b = ({
|
|
|
36825
37025
|
/* @__PURE__ */ l.jsx("div", { className: "mb-4", children: /* @__PURE__ */ l.jsx(b, { name: a, className: "h-16 w-16 text-gray-400" }) }),
|
|
36826
37026
|
/* @__PURE__ */ l.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-2", children: r }),
|
|
36827
37027
|
/* @__PURE__ */ l.jsx("p", { className: "text-sm text-gray-500 text-center max-w-sm mb-4", children: t }),
|
|
36828
|
-
n && c && /* @__PURE__ */ l.jsx(
|
|
37028
|
+
n && c && /* @__PURE__ */ l.jsx(m0, { variant: "primary", onClick: c, children: n })
|
|
36829
37029
|
] }), _N = ({
|
|
36830
37030
|
title: a,
|
|
36831
37031
|
value: r,
|
|
@@ -36904,11 +37104,11 @@ const p5 = HD, b = ({
|
|
|
36904
37104
|
className: r = "",
|
|
36905
37105
|
...t
|
|
36906
37106
|
}) => {
|
|
36907
|
-
const { t: n } =
|
|
37107
|
+
const { t: n } = x0(), [c, u] = S({
|
|
36908
37108
|
email: "",
|
|
36909
37109
|
password: "",
|
|
36910
37110
|
rememberMe: !1
|
|
36911
|
-
}), [d, s] =
|
|
37111
|
+
}), [d, s] = S({}), i = (w, v) => {
|
|
36912
37112
|
u((p) => ({ ...p, [w]: v })), d[w] && s((p) => ({ ...p, [w]: null }));
|
|
36913
37113
|
}, f = (w) => {
|
|
36914
37114
|
w.preventDefault();
|
|
@@ -36929,7 +37129,7 @@ const p5 = HD, b = ({
|
|
|
36929
37129
|
/* @__PURE__ */ l.jsx("h2", { className: "text-2xl font-bold mb-6 text-center", children: n("form.login") }),
|
|
36930
37130
|
/* @__PURE__ */ l.jsxs("div", { className: "space-y-4", children: [
|
|
36931
37131
|
/* @__PURE__ */ l.jsx(
|
|
36932
|
-
|
|
37132
|
+
z0,
|
|
36933
37133
|
{
|
|
36934
37134
|
label: n("form.email"),
|
|
36935
37135
|
type: "email",
|
|
@@ -36941,7 +37141,7 @@ const p5 = HD, b = ({
|
|
|
36941
37141
|
}
|
|
36942
37142
|
),
|
|
36943
37143
|
/* @__PURE__ */ l.jsx(
|
|
36944
|
-
|
|
37144
|
+
z0,
|
|
36945
37145
|
{
|
|
36946
37146
|
label: n("form.password"),
|
|
36947
37147
|
type: "password",
|
|
@@ -36960,7 +37160,7 @@ const p5 = HD, b = ({
|
|
|
36960
37160
|
onChange: (w) => i("rememberMe", w.target.checked)
|
|
36961
37161
|
}
|
|
36962
37162
|
),
|
|
36963
|
-
/* @__PURE__ */ l.jsx(
|
|
37163
|
+
/* @__PURE__ */ l.jsx(m0, { type: "submit", variant: "primary", className: "w-full", children: n("form.login") }),
|
|
36964
37164
|
/* @__PURE__ */ l.jsx("div", { className: "text-center", children: /* @__PURE__ */ l.jsx("a", { href: "#", className: "text-sm text-blue-600 hover:underline", children: n("form.forgotPassword") }) })
|
|
36965
37165
|
] })
|
|
36966
37166
|
]
|
|
@@ -36971,11 +37171,11 @@ const p5 = HD, b = ({
|
|
|
36971
37171
|
className: r = "",
|
|
36972
37172
|
...t
|
|
36973
37173
|
}) => {
|
|
36974
|
-
const { t: n } =
|
|
37174
|
+
const { t: n } = x0(), [c, u] = S({
|
|
36975
37175
|
currentPassword: "",
|
|
36976
37176
|
newPassword: "",
|
|
36977
37177
|
confirmPassword: ""
|
|
36978
|
-
}), [d, s] =
|
|
37178
|
+
}), [d, s] = S({}), [i, f] = S(!1), w = (p, m) => {
|
|
36979
37179
|
u((C) => ({ ...C, [p]: m })), d[p] && s((C) => ({ ...C, [p]: null })), f(!1);
|
|
36980
37180
|
}, v = (p) => {
|
|
36981
37181
|
p.preventDefault();
|
|
@@ -37001,7 +37201,7 @@ const p5 = HD, b = ({
|
|
|
37001
37201
|
i && /* @__PURE__ */ l.jsx(WD, { variant: "success", className: "mb-4", children: "Password changed successfully!" }),
|
|
37002
37202
|
/* @__PURE__ */ l.jsxs("div", { className: "space-y-4", children: [
|
|
37003
37203
|
/* @__PURE__ */ l.jsx(
|
|
37004
|
-
|
|
37204
|
+
z0,
|
|
37005
37205
|
{
|
|
37006
37206
|
label: n("form.currentPassword"),
|
|
37007
37207
|
type: "password",
|
|
@@ -37013,7 +37213,7 @@ const p5 = HD, b = ({
|
|
|
37013
37213
|
}
|
|
37014
37214
|
),
|
|
37015
37215
|
/* @__PURE__ */ l.jsx(
|
|
37016
|
-
|
|
37216
|
+
z0,
|
|
37017
37217
|
{
|
|
37018
37218
|
label: n("form.newPassword"),
|
|
37019
37219
|
type: "password",
|
|
@@ -37026,7 +37226,7 @@ const p5 = HD, b = ({
|
|
|
37026
37226
|
}
|
|
37027
37227
|
),
|
|
37028
37228
|
/* @__PURE__ */ l.jsx(
|
|
37029
|
-
|
|
37229
|
+
z0,
|
|
37030
37230
|
{
|
|
37031
37231
|
label: n("form.confirmPassword"),
|
|
37032
37232
|
type: "password",
|
|
@@ -37038,8 +37238,8 @@ const p5 = HD, b = ({
|
|
|
37038
37238
|
}
|
|
37039
37239
|
),
|
|
37040
37240
|
/* @__PURE__ */ l.jsxs("div", { className: "flex space-x-4", children: [
|
|
37041
|
-
/* @__PURE__ */ l.jsx(
|
|
37042
|
-
/* @__PURE__ */ l.jsx(
|
|
37241
|
+
/* @__PURE__ */ l.jsx(m0, { type: "submit", variant: "primary", className: "flex-1", children: n("form.changePassword") }),
|
|
37242
|
+
/* @__PURE__ */ l.jsx(m0, { type: "button", variant: "outline", className: "flex-1", children: n("common.cancel") })
|
|
37043
37243
|
] })
|
|
37044
37244
|
] })
|
|
37045
37245
|
]
|
|
@@ -37054,10 +37254,10 @@ const p5 = HD, b = ({
|
|
|
37054
37254
|
className: c = "",
|
|
37055
37255
|
...u
|
|
37056
37256
|
}) => {
|
|
37057
|
-
const { t: d } =
|
|
37257
|
+
const { t: d } = x0(), [s, i] = S(""), f = d5(null), w = () => {
|
|
37058
37258
|
f.current?.scrollIntoView({ behavior: "smooth" });
|
|
37059
37259
|
};
|
|
37060
|
-
|
|
37260
|
+
v0(() => {
|
|
37061
37261
|
w();
|
|
37062
37262
|
}, [r]);
|
|
37063
37263
|
const v = (m) => {
|
|
@@ -37103,7 +37303,7 @@ const p5 = HD, b = ({
|
|
|
37103
37303
|
] }),
|
|
37104
37304
|
/* @__PURE__ */ l.jsx("form", { onSubmit: v, className: "px-4 py-3 border-t border-gray-200", children: /* @__PURE__ */ l.jsxs("div", { className: "flex space-x-2", children: [
|
|
37105
37305
|
/* @__PURE__ */ l.jsx(
|
|
37106
|
-
|
|
37306
|
+
z0,
|
|
37107
37307
|
{
|
|
37108
37308
|
value: s,
|
|
37109
37309
|
onChange: (m) => i(m.target.value),
|
|
@@ -37113,7 +37313,7 @@ const p5 = HD, b = ({
|
|
|
37113
37313
|
}
|
|
37114
37314
|
),
|
|
37115
37315
|
/* @__PURE__ */ l.jsx(
|
|
37116
|
-
|
|
37316
|
+
m0,
|
|
37117
37317
|
{
|
|
37118
37318
|
type: "submit",
|
|
37119
37319
|
variant: "primary",
|
|
@@ -37303,7 +37503,7 @@ const p5 = HD, b = ({
|
|
|
37303
37503
|
}
|
|
37304
37504
|
}
|
|
37305
37505
|
};
|
|
37306
|
-
|
|
37506
|
+
l5.use(S5).init({
|
|
37307
37507
|
resources: nN,
|
|
37308
37508
|
lng: "es-AR",
|
|
37309
37509
|
fallbackLng: "es-AR",
|
|
@@ -37311,16 +37511,16 @@ Y0.use(S5).init({
|
|
|
37311
37511
|
escapeValue: !1
|
|
37312
37512
|
}
|
|
37313
37513
|
});
|
|
37314
|
-
const aP = ({ children: a, language: r = "es-AR" }) => (
|
|
37514
|
+
const aP = ({ children: a, language: r = "es-AR" }) => (l5.language !== r && l5.changeLanguage(r), /* @__PURE__ */ l.jsx(D5, { i18n: l5, children: a }));
|
|
37315
37515
|
export {
|
|
37316
37516
|
LN as Accordion,
|
|
37317
37517
|
WD as Alert,
|
|
37318
37518
|
TN as AreaChart,
|
|
37319
|
-
|
|
37519
|
+
o5 as Avatar,
|
|
37320
37520
|
z5 as Badge,
|
|
37321
37521
|
WN as BarChart,
|
|
37322
37522
|
ON as Breadcrumbs,
|
|
37323
|
-
|
|
37523
|
+
m0 as Button,
|
|
37324
37524
|
DN as Card,
|
|
37325
37525
|
KD as CardError,
|
|
37326
37526
|
XD as CardSkeleton,
|
|
@@ -37347,12 +37547,12 @@ export {
|
|
|
37347
37547
|
CN as HeaderPoint,
|
|
37348
37548
|
aP as I18nProvider,
|
|
37349
37549
|
b as Icon,
|
|
37350
|
-
|
|
37550
|
+
z0 as Input,
|
|
37351
37551
|
EN as Layout,
|
|
37352
37552
|
PN as LineChart,
|
|
37353
37553
|
YN as List,
|
|
37354
37554
|
QN as LoginForm,
|
|
37355
|
-
|
|
37555
|
+
c5 as LogoHexa,
|
|
37356
37556
|
kN as Modal,
|
|
37357
37557
|
jN as NavPoint,
|
|
37358
37558
|
FN as Pagination,
|
|
@@ -37362,7 +37562,7 @@ export {
|
|
|
37362
37562
|
SN as SaludoConFechaDashboard,
|
|
37363
37563
|
gN as Select,
|
|
37364
37564
|
MN as SidebarCore,
|
|
37365
|
-
|
|
37565
|
+
$5 as SidebarCoreMobile,
|
|
37366
37566
|
AN as SidebarPoint,
|
|
37367
37567
|
UD as SidebarPointMobile,
|
|
37368
37568
|
wN as Skeleton,
|