rbro-tat-uds 1.4.6 → 1.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as c from "react";
|
2
|
-
import M1, { useRef as
|
2
|
+
import M1, { useRef as g1, useDebugValue as y0, createElement as ce, useContext as de, Children as q1, useState as Q, useCallback as v1, useEffect as j1, useMemo as W1 } from "react";
|
3
3
|
const t = {
|
4
4
|
gray_30: "#F9F9F9",
|
5
5
|
gray_60: "#F2F2F3",
|
@@ -144,31 +144,31 @@ function he() {
|
|
144
144
|
}
|
145
145
|
function V(l, $, L) {
|
146
146
|
{
|
147
|
-
var Z = E.ReactDebugCurrentFrame,
|
148
|
-
|
149
|
-
var
|
147
|
+
var Z = E.ReactDebugCurrentFrame, B = Z.getStackAddendum();
|
148
|
+
B !== "" && ($ += "%s", L = L.concat([B]));
|
149
|
+
var N = L.map(function(z) {
|
150
150
|
return String(z);
|
151
151
|
});
|
152
|
-
|
152
|
+
N.unshift("Warning: " + $), Function.prototype.apply.call(console[l], console, N);
|
153
153
|
}
|
154
154
|
}
|
155
|
-
var S = !1, g = !1, m = !1, u = !1, F = !1,
|
156
|
-
|
155
|
+
var S = !1, g = !1, m = !1, u = !1, F = !1, P;
|
156
|
+
P = Symbol.for("react.module.reference");
|
157
157
|
function A(l) {
|
158
158
|
return !!(typeof l == "string" || typeof l == "function" || l === i || l === s || F || l === a || l === f || l === x || u || l === _ || S || g || m || typeof l == "object" && l !== null && (l.$$typeof === v || l.$$typeof === y || l.$$typeof === d || l.$$typeof === p || l.$$typeof === C || // This needs to include all possible module reference object
|
159
159
|
// types supported by any Flight configuration anywhere since
|
160
160
|
// we don't know which Flight build this will end up being used
|
161
161
|
// with.
|
162
|
-
l.$$typeof ===
|
162
|
+
l.$$typeof === P || l.getModuleId !== void 0));
|
163
163
|
}
|
164
|
-
function
|
164
|
+
function o1(l, $, L) {
|
165
165
|
var Z = l.displayName;
|
166
166
|
if (Z)
|
167
167
|
return Z;
|
168
|
-
var
|
169
|
-
return
|
168
|
+
var B = $.displayName || $.name || "";
|
169
|
+
return B !== "" ? L + "(" + B + ")" : L;
|
170
170
|
}
|
171
|
-
function
|
171
|
+
function c1(l) {
|
172
172
|
return l.displayName || "Context";
|
173
173
|
}
|
174
174
|
function k(l) {
|
@@ -196,19 +196,19 @@ function he() {
|
|
196
196
|
switch (l.$$typeof) {
|
197
197
|
case p:
|
198
198
|
var $ = l;
|
199
|
-
return
|
199
|
+
return c1($) + ".Consumer";
|
200
200
|
case d:
|
201
201
|
var L = l;
|
202
|
-
return
|
202
|
+
return c1(L._context) + ".Provider";
|
203
203
|
case C:
|
204
|
-
return
|
204
|
+
return o1(l, l.render, "ForwardRef");
|
205
205
|
case y:
|
206
206
|
var Z = l.displayName || null;
|
207
207
|
return Z !== null ? Z : k(l.type) || "Memo";
|
208
208
|
case v: {
|
209
|
-
var
|
209
|
+
var B = l, N = B._payload, z = B._init;
|
210
210
|
try {
|
211
|
-
return k(z(
|
211
|
+
return k(z(N));
|
212
212
|
} catch {
|
213
213
|
return null;
|
214
214
|
}
|
@@ -216,18 +216,18 @@ function he() {
|
|
216
216
|
}
|
217
217
|
return null;
|
218
218
|
}
|
219
|
-
var
|
220
|
-
function
|
219
|
+
var J = Object.assign, Y = 0, h1, s1, G, l1, f1, x1, n1;
|
220
|
+
function O() {
|
221
221
|
}
|
222
|
-
|
223
|
-
function
|
222
|
+
O.__reactDisabledLog = !0;
|
223
|
+
function U() {
|
224
224
|
{
|
225
|
-
if (
|
226
|
-
|
225
|
+
if (Y === 0) {
|
226
|
+
h1 = console.log, s1 = console.info, G = console.warn, l1 = console.error, f1 = console.group, x1 = console.groupCollapsed, n1 = console.groupEnd;
|
227
227
|
var l = {
|
228
228
|
configurable: !0,
|
229
229
|
enumerable: !0,
|
230
|
-
value:
|
230
|
+
value: O,
|
231
231
|
writable: !0
|
232
232
|
};
|
233
233
|
Object.defineProperties(console, {
|
@@ -240,65 +240,65 @@ function he() {
|
|
240
240
|
groupEnd: l
|
241
241
|
});
|
242
242
|
}
|
243
|
-
|
243
|
+
Y++;
|
244
244
|
}
|
245
245
|
}
|
246
|
-
function
|
246
|
+
function I() {
|
247
247
|
{
|
248
|
-
if (
|
248
|
+
if (Y--, Y === 0) {
|
249
249
|
var l = {
|
250
250
|
configurable: !0,
|
251
251
|
enumerable: !0,
|
252
252
|
writable: !0
|
253
253
|
};
|
254
254
|
Object.defineProperties(console, {
|
255
|
-
log:
|
256
|
-
value:
|
255
|
+
log: J({}, l, {
|
256
|
+
value: h1
|
257
257
|
}),
|
258
|
-
info:
|
259
|
-
value:
|
258
|
+
info: J({}, l, {
|
259
|
+
value: s1
|
260
260
|
}),
|
261
|
-
warn:
|
262
|
-
value:
|
261
|
+
warn: J({}, l, {
|
262
|
+
value: G
|
263
263
|
}),
|
264
|
-
error:
|
265
|
-
value:
|
264
|
+
error: J({}, l, {
|
265
|
+
value: l1
|
266
266
|
}),
|
267
|
-
group:
|
267
|
+
group: J({}, l, {
|
268
268
|
value: f1
|
269
269
|
}),
|
270
|
-
groupCollapsed:
|
270
|
+
groupCollapsed: J({}, l, {
|
271
271
|
value: x1
|
272
272
|
}),
|
273
|
-
groupEnd:
|
274
|
-
value:
|
273
|
+
groupEnd: J({}, l, {
|
274
|
+
value: n1
|
275
275
|
})
|
276
276
|
});
|
277
277
|
}
|
278
|
-
|
278
|
+
Y < 0 && M("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
279
279
|
}
|
280
280
|
}
|
281
|
-
var X = E.ReactCurrentDispatcher,
|
282
|
-
function
|
281
|
+
var X = E.ReactCurrentDispatcher, a1;
|
282
|
+
function e1(l, $, L) {
|
283
283
|
{
|
284
|
-
if (
|
284
|
+
if (a1 === void 0)
|
285
285
|
try {
|
286
286
|
throw Error();
|
287
|
-
} catch (
|
288
|
-
var Z =
|
289
|
-
|
287
|
+
} catch (B) {
|
288
|
+
var Z = B.stack.trim().match(/\n( *(at )?)/);
|
289
|
+
a1 = Z && Z[1] || "";
|
290
290
|
}
|
291
291
|
return `
|
292
|
-
` +
|
292
|
+
` + a1 + l;
|
293
293
|
}
|
294
294
|
}
|
295
|
-
var
|
295
|
+
var C1 = !1, _1;
|
296
296
|
{
|
297
297
|
var D1 = typeof WeakMap == "function" ? WeakMap : Map;
|
298
298
|
_1 = new D1();
|
299
299
|
}
|
300
|
-
function
|
301
|
-
if (!l ||
|
300
|
+
function u1(l, $) {
|
301
|
+
if (!l || C1)
|
302
302
|
return "";
|
303
303
|
{
|
304
304
|
var L = _1.get(l);
|
@@ -306,11 +306,11 @@ function he() {
|
|
306
306
|
return L;
|
307
307
|
}
|
308
308
|
var Z;
|
309
|
-
|
310
|
-
var
|
309
|
+
C1 = !0;
|
310
|
+
var B = Error.prepareStackTrace;
|
311
311
|
Error.prepareStackTrace = void 0;
|
312
|
-
var
|
313
|
-
|
312
|
+
var N;
|
313
|
+
N = X.current, X.current = null, U();
|
314
314
|
try {
|
315
315
|
if ($) {
|
316
316
|
var z = function() {
|
@@ -346,30 +346,30 @@ function he() {
|
|
346
346
|
} catch (w1) {
|
347
347
|
if (w1 && Z && typeof w1.stack == "string") {
|
348
348
|
for (var W = w1.stack.split(`
|
349
|
-
`),
|
350
|
-
`), K = W.length - 1,
|
351
|
-
|
352
|
-
for (; K >= 1 &&
|
353
|
-
if (W[K] !==
|
354
|
-
if (K !== 1 ||
|
349
|
+
`), d1 = Z.stack.split(`
|
350
|
+
`), K = W.length - 1, t1 = d1.length - 1; K >= 1 && t1 >= 0 && W[K] !== d1[t1]; )
|
351
|
+
t1--;
|
352
|
+
for (; K >= 1 && t1 >= 0; K--, t1--)
|
353
|
+
if (W[K] !== d1[t1]) {
|
354
|
+
if (K !== 1 || t1 !== 1)
|
355
355
|
do
|
356
|
-
if (K--,
|
356
|
+
if (K--, t1--, t1 < 0 || W[K] !== d1[t1]) {
|
357
357
|
var m1 = `
|
358
358
|
` + W[K].replace(" at new ", " at ");
|
359
359
|
return l.displayName && m1.includes("<anonymous>") && (m1 = m1.replace("<anonymous>", l.displayName)), typeof l == "function" && _1.set(l, m1), m1;
|
360
360
|
}
|
361
|
-
while (K >= 1 &&
|
361
|
+
while (K >= 1 && t1 >= 0);
|
362
362
|
break;
|
363
363
|
}
|
364
364
|
}
|
365
365
|
} finally {
|
366
|
-
|
366
|
+
C1 = !1, X.current = N, I(), Error.prepareStackTrace = B;
|
367
367
|
}
|
368
|
-
var O1 = l ? l.displayName || l.name : "", m0 = O1 ?
|
368
|
+
var O1 = l ? l.displayName || l.name : "", m0 = O1 ? e1(O1) : "";
|
369
369
|
return typeof l == "function" && _1.set(l, m0), m0;
|
370
370
|
}
|
371
371
|
function B3(l, $, L) {
|
372
|
-
return
|
372
|
+
return u1(l, !1);
|
373
373
|
}
|
374
374
|
function O3(l) {
|
375
375
|
var $ = l.prototype;
|
@@ -379,14 +379,14 @@ function he() {
|
|
379
379
|
if (l == null)
|
380
380
|
return "";
|
381
381
|
if (typeof l == "function")
|
382
|
-
return
|
382
|
+
return u1(l, O3(l));
|
383
383
|
if (typeof l == "string")
|
384
|
-
return
|
384
|
+
return e1(l);
|
385
385
|
switch (l) {
|
386
386
|
case f:
|
387
|
-
return
|
387
|
+
return e1("Suspense");
|
388
388
|
case x:
|
389
|
-
return
|
389
|
+
return e1("SuspenseList");
|
390
390
|
}
|
391
391
|
if (typeof l == "object")
|
392
392
|
switch (l.$$typeof) {
|
@@ -395,9 +395,9 @@ function he() {
|
|
395
395
|
case y:
|
396
396
|
return i2(l.type, $, L);
|
397
397
|
case v: {
|
398
|
-
var Z = l,
|
398
|
+
var Z = l, B = Z._payload, N = Z._init;
|
399
399
|
try {
|
400
|
-
return i2(
|
400
|
+
return i2(N(B), $, L);
|
401
401
|
} catch {
|
402
402
|
}
|
403
403
|
}
|
@@ -412,22 +412,22 @@ function he() {
|
|
412
412
|
} else
|
413
413
|
s0.setExtraStackFrame(null);
|
414
414
|
}
|
415
|
-
function T3(l, $, L, Z,
|
415
|
+
function T3(l, $, L, Z, B) {
|
416
416
|
{
|
417
|
-
var
|
417
|
+
var N = Function.call.bind(a2);
|
418
418
|
for (var z in l)
|
419
|
-
if (
|
419
|
+
if (N(l, z)) {
|
420
420
|
var W = void 0;
|
421
421
|
try {
|
422
422
|
if (typeof l[z] != "function") {
|
423
|
-
var
|
424
|
-
throw
|
423
|
+
var d1 = Error((Z || "React class") + ": " + L + " type `" + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof l[z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
424
|
+
throw d1.name = "Invariant Violation", d1;
|
425
425
|
}
|
426
426
|
W = l[z]($, z, Z, L, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
427
427
|
} catch (K) {
|
428
428
|
W = K;
|
429
429
|
}
|
430
|
-
W && !(W instanceof Error) && (s2(
|
430
|
+
W && !(W instanceof Error) && (s2(B), M("%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).", Z || "React class", L, z, typeof W), s2(null)), W instanceof Error && !(W.message in a0) && (a0[W.message] = !0, s2(B), M("Failed %s type: %s", L, W.message), s2(null));
|
431
431
|
}
|
432
432
|
}
|
433
433
|
}
|
@@ -506,7 +506,7 @@ function he() {
|
|
506
506
|
});
|
507
507
|
}
|
508
508
|
}
|
509
|
-
var Q3 = function(l, $, L, Z,
|
509
|
+
var Q3 = function(l, $, L, Z, B, N, z) {
|
510
510
|
var W = {
|
511
511
|
// This tag allows us to uniquely identify this as a React Element
|
512
512
|
$$typeof: n,
|
@@ -516,7 +516,7 @@ function he() {
|
|
516
516
|
ref: L,
|
517
517
|
props: z,
|
518
518
|
// Record the component responsible for creating this element.
|
519
|
-
_owner:
|
519
|
+
_owner: N
|
520
520
|
};
|
521
521
|
return W._store = {}, Object.defineProperty(W._store, "validated", {
|
522
522
|
configurable: !1,
|
@@ -532,25 +532,25 @@ function he() {
|
|
532
532
|
configurable: !1,
|
533
533
|
enumerable: !1,
|
534
534
|
writable: !1,
|
535
|
-
value:
|
535
|
+
value: B
|
536
536
|
}), Object.freeze && (Object.freeze(W.props), Object.freeze(W)), W;
|
537
537
|
};
|
538
|
-
function ee(l, $, L, Z,
|
538
|
+
function ee(l, $, L, Z, B) {
|
539
539
|
{
|
540
|
-
var
|
541
|
-
L !== void 0 && (c0(L), W = "" + L), X3($) && (c0($.key), W = "" + $.key), U3($) && (
|
542
|
-
for (
|
543
|
-
a2.call($,
|
540
|
+
var N, z = {}, W = null, d1 = null;
|
541
|
+
L !== void 0 && (c0(L), W = "" + L), X3($) && (c0($.key), W = "" + $.key), U3($) && (d1 = $.ref, q3($, B));
|
542
|
+
for (N in $)
|
543
|
+
a2.call($, N) && !G3.hasOwnProperty(N) && (z[N] = $[N]);
|
544
544
|
if (l && l.defaultProps) {
|
545
545
|
var K = l.defaultProps;
|
546
|
-
for (
|
547
|
-
z[
|
546
|
+
for (N in K)
|
547
|
+
z[N] === void 0 && (z[N] = K[N]);
|
548
548
|
}
|
549
|
-
if (W ||
|
550
|
-
var
|
551
|
-
W && J3(z,
|
549
|
+
if (W || d1) {
|
550
|
+
var t1 = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
|
551
|
+
W && J3(z, t1), d1 && K3(z, t1);
|
552
552
|
}
|
553
|
-
return Q3(l, W,
|
553
|
+
return Q3(l, W, d1, B, Z, Q1.current, z);
|
554
554
|
}
|
555
555
|
}
|
556
556
|
var E2 = E.ReactCurrentOwner, h0 = E.ReactDebugCurrentFrame;
|
@@ -627,9 +627,9 @@ Check the top-level render call using <` + L + ">.");
|
|
627
627
|
else if (S2(l))
|
628
628
|
l._store && (l._store.validated = !0);
|
629
629
|
else if (l) {
|
630
|
-
var
|
631
|
-
if (typeof
|
632
|
-
for (var
|
630
|
+
var B = D(l);
|
631
|
+
if (typeof B == "function" && B !== l.entries)
|
632
|
+
for (var N = B.call(l), z; !(z = N.next()).done; )
|
633
633
|
S2(z.value) && g0(z.value, $);
|
634
634
|
}
|
635
635
|
}
|
@@ -653,8 +653,8 @@ Check the top-level render call using <` + L + ">.");
|
|
653
653
|
T3(L, l.props, "prop", Z, l);
|
654
654
|
} else if ($.PropTypes !== void 0 && !D2) {
|
655
655
|
D2 = !0;
|
656
|
-
var
|
657
|
-
M("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
656
|
+
var B = k($);
|
657
|
+
M("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "Unknown");
|
658
658
|
}
|
659
659
|
typeof $.getDefaultProps == "function" && !$.getDefaultProps.isReactClassApproved && M("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
660
660
|
}
|
@@ -671,20 +671,20 @@ Check the top-level render call using <` + L + ">.");
|
|
671
671
|
l.ref !== null && (B1(l), M("Invalid attribute `ref` supplied to `React.Fragment`."), B1(null));
|
672
672
|
}
|
673
673
|
}
|
674
|
-
function x0(l, $, L, Z,
|
674
|
+
function x0(l, $, L, Z, B, N) {
|
675
675
|
{
|
676
676
|
var z = A(l);
|
677
677
|
if (!z) {
|
678
678
|
var W = "";
|
679
679
|
(l === void 0 || typeof l == "object" && l !== null && Object.keys(l).length === 0) && (W += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
680
|
-
var
|
681
|
-
|
680
|
+
var d1 = te(B);
|
681
|
+
d1 ? W += d1 : W += C0();
|
682
682
|
var K;
|
683
683
|
l === null ? K = "null" : j2(l) ? K = "array" : l !== void 0 && l.$$typeof === n ? (K = "<" + (k(l.type) || "Unknown") + " />", W = " Did you accidentally export a JSX literal instead of a component?") : K = typeof l, M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", K, W);
|
684
684
|
}
|
685
|
-
var
|
686
|
-
if (
|
687
|
-
return
|
685
|
+
var t1 = ee(l, $, L, B, N);
|
686
|
+
if (t1 == null)
|
687
|
+
return t1;
|
688
688
|
if (z) {
|
689
689
|
var m1 = $.children;
|
690
690
|
if (m1 !== void 0)
|
@@ -698,7 +698,7 @@ Check the top-level render call using <` + L + ">.");
|
|
698
698
|
else
|
699
699
|
f0(m1, l);
|
700
700
|
}
|
701
|
-
return l === i ? oe(
|
701
|
+
return l === i ? oe(t1) : ne(t1), t1;
|
702
702
|
}
|
703
703
|
}
|
704
704
|
function ie(l, $, L) {
|
@@ -741,7 +741,7 @@ var ue = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
741
741
|
/* Z+1 */
|
742
742
|
), q = "-ms-", n2 = "-moz-", T = "-webkit-", r3 = "comm", $2 = "rule", q2 = "decl", fe = "@import", n3 = "@keyframes", xe = "@layer", o3 = Math.abs, J2 = String.fromCharCode, P2 = Object.assign;
|
743
743
|
function me(e, n) {
|
744
|
-
return
|
744
|
+
return i1(e, 0) ^ 45 ? (((n << 2 ^ i1(e, 0)) << 2 ^ i1(e, 1)) << 2 ^ i1(e, 2)) << 2 ^ i1(e, 3) : 0;
|
745
745
|
}
|
746
746
|
function i3(e) {
|
747
747
|
return e.trim();
|
@@ -755,7 +755,7 @@ function H(e, n, o) {
|
|
755
755
|
function C2(e, n, o) {
|
756
756
|
return e.indexOf(n, o);
|
757
757
|
}
|
758
|
-
function
|
758
|
+
function i1(e, n) {
|
759
759
|
return e.charCodeAt(n) | 0;
|
760
760
|
}
|
761
761
|
function N1(e, n, o) {
|
@@ -778,7 +778,7 @@ function _0(e, n) {
|
|
778
778
|
return !k1(o, n);
|
779
779
|
});
|
780
780
|
}
|
781
|
-
var _2 = 1, Y1 = 1, s3 = 0, y1 = 0,
|
781
|
+
var _2 = 1, Y1 = 1, s3 = 0, y1 = 0, r1 = 0, J1 = "";
|
782
782
|
function b2(e, n, o, i, a, s, d, p) {
|
783
783
|
return { value: e, root: n, parent: o, type: i, props: a, children: s, line: _2, column: Y1, length: d, return: "", siblings: p };
|
784
784
|
}
|
@@ -791,16 +791,16 @@ function T1(e) {
|
|
791
791
|
r2(e, e.siblings);
|
792
792
|
}
|
793
793
|
function ve() {
|
794
|
-
return
|
794
|
+
return r1;
|
795
795
|
}
|
796
796
|
function $e() {
|
797
|
-
return
|
797
|
+
return r1 = y1 > 0 ? i1(J1, --y1) : 0, Y1--, r1 === 10 && (Y1 = 1, _2--), r1;
|
798
798
|
}
|
799
799
|
function $1() {
|
800
|
-
return
|
800
|
+
return r1 = y1 < s3 ? i1(J1, y1++) : 0, Y1++, r1 === 10 && (Y1 = 1, _2++), r1;
|
801
801
|
}
|
802
802
|
function R1() {
|
803
|
-
return
|
803
|
+
return i1(J1, y1);
|
804
804
|
}
|
805
805
|
function u2() {
|
806
806
|
return y1;
|
@@ -850,23 +850,23 @@ function Z2(e) {
|
|
850
850
|
return i3(w2(y1 - 1, O2(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
851
851
|
}
|
852
852
|
function we(e) {
|
853
|
-
for (; (
|
853
|
+
for (; (r1 = R1()) && r1 < 33; )
|
854
854
|
$1();
|
855
|
-
return B2(e) > 2 || B2(
|
855
|
+
return B2(e) > 2 || B2(r1) > 3 ? "" : " ";
|
856
856
|
}
|
857
857
|
function ke(e, n) {
|
858
|
-
for (; --n && $1() && !(
|
858
|
+
for (; --n && $1() && !(r1 < 48 || r1 > 102 || r1 > 57 && r1 < 65 || r1 > 70 && r1 < 97); )
|
859
859
|
;
|
860
860
|
return w2(e, u2() + (n < 6 && R1() == 32 && $1() == 32));
|
861
861
|
}
|
862
862
|
function O2(e) {
|
863
863
|
for (; $1(); )
|
864
|
-
switch (
|
864
|
+
switch (r1) {
|
865
865
|
case e:
|
866
866
|
return y1;
|
867
867
|
case 34:
|
868
868
|
case 39:
|
869
|
-
e !== 34 && e !== 39 && O2(
|
869
|
+
e !== 34 && e !== 39 && O2(r1);
|
870
870
|
break;
|
871
871
|
case 40:
|
872
872
|
e === 41 && O2(e);
|
@@ -878,8 +878,8 @@ function O2(e) {
|
|
878
878
|
return y1;
|
879
879
|
}
|
880
880
|
function Le(e, n) {
|
881
|
-
for (; $1() && e +
|
882
|
-
if (e +
|
881
|
+
for (; $1() && e + r1 !== 57; )
|
882
|
+
if (e + r1 === 84 && R1() === 47)
|
883
883
|
break;
|
884
884
|
return "/*" + w2(n, y1 - 1) + "*" + J2(e === 47 ? e : $1());
|
885
885
|
}
|
@@ -895,7 +895,7 @@ function g2(e, n, o, i, a, s, d, p, C) {
|
|
895
895
|
for (var f = 0, x = 0, y = d, v = 0, _ = 0, w = 0, j = 1, D = 1, E = 1, M = 0, V = "", S = a, g = s, m = i, u = V; D; )
|
896
896
|
switch (w = M, M = $1()) {
|
897
897
|
case 40:
|
898
|
-
if (w != 108 &&
|
898
|
+
if (w != 108 && i1(u, y - 1) == 58) {
|
899
899
|
C2(u += H(Z2(M), "&", "&\f"), "&\f", o3(f ? p[f - 1] : 0)) != -1 && (E = -1);
|
900
900
|
break;
|
901
901
|
}
|
@@ -942,7 +942,7 @@ function g2(e, n, o, i, a, s, d, p, C) {
|
|
942
942
|
if (x === 0)
|
943
943
|
g2(u, n, m, m, S, s, y, p, g);
|
944
944
|
else
|
945
|
-
switch (v === 99 &&
|
945
|
+
switch (v === 99 && i1(u, 3) === 110 ? 100 : v) {
|
946
946
|
case 100:
|
947
947
|
case 108:
|
948
948
|
case 109:
|
@@ -1031,7 +1031,7 @@ function l3(e, n, o) {
|
|
1031
1031
|
case 2756:
|
1032
1032
|
return T + e + n2 + e + q + e + e;
|
1033
1033
|
case 5936:
|
1034
|
-
switch (
|
1034
|
+
switch (i1(e, n + 11)) {
|
1035
1035
|
case 114:
|
1036
1036
|
return T + e + q + H(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
1037
1037
|
case 108:
|
@@ -1101,12 +1101,12 @@ function l3(e, n, o) {
|
|
1101
1101
|
case 5021:
|
1102
1102
|
case 4765:
|
1103
1103
|
if (b1(e) - 1 - n > 6)
|
1104
|
-
switch (
|
1104
|
+
switch (i1(e, n + 1)) {
|
1105
1105
|
case 109:
|
1106
|
-
if (
|
1106
|
+
if (i1(e, n + 4) !== 45)
|
1107
1107
|
break;
|
1108
1108
|
case 102:
|
1109
|
-
return H(e, /(.+:)(.+)-([^]+)/, "$1" + T + "$2-$3$1" + n2 + (
|
1109
|
+
return H(e, /(.+:)(.+)-([^]+)/, "$1" + T + "$2-$3$1" + n2 + (i1(e, n + 3) == 108 ? "$3" : "$2-$3")) + e;
|
1110
1110
|
case 115:
|
1111
1111
|
return ~C2(e, "stretch", 0) ? l3(H(e, "stretch", "fill-available"), n, o) + e : e;
|
1112
1112
|
}
|
@@ -1117,13 +1117,13 @@ function l3(e, n, o) {
|
|
1117
1117
|
return q + a + ":" + s + f + (d ? q + a + "-span:" + (p ? C : +C - +s) + f : "") + e;
|
1118
1118
|
});
|
1119
1119
|
case 4949:
|
1120
|
-
if (
|
1120
|
+
if (i1(e, n + 6) === 121)
|
1121
1121
|
return H(e, ":", ":" + T) + e;
|
1122
1122
|
break;
|
1123
1123
|
case 6444:
|
1124
|
-
switch (
|
1124
|
+
switch (i1(e, i1(e, 14) === 45 ? 18 : 11)) {
|
1125
1125
|
case 120:
|
1126
|
-
return H(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + T + (
|
1126
|
+
return H(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + T + (i1(e, 14) === 45 ? "inline-" : "") + "box$3$1" + T + "$2$3$1" + q + "$2box$3") + e;
|
1127
1127
|
case 100:
|
1128
1128
|
return H(e, ":", ":" + q) + e;
|
1129
1129
|
}
|
@@ -1256,7 +1256,7 @@ To resolve this only create new StyledComponents outside of any render method an
|
|
1256
1256
|
for (var p = [], C = 1; C < arguments.length; C++)
|
1257
1257
|
p[C - 1] = arguments[C];
|
1258
1258
|
k0.test(d) ? (s = !1, l2.delete(i)) : a.apply(void 0, I1([d], p, !1));
|
1259
|
-
},
|
1259
|
+
}, g1(), s && !l2.has(i) && (console.warn(i), l2.add(i));
|
1260
1260
|
} catch (d) {
|
1261
1261
|
k0.test(d.message) && l2.delete(i);
|
1262
1262
|
} finally {
|
@@ -1748,25 +1748,25 @@ function x6(e, n, o) {
|
|
1748
1748
|
var E = new f6(o, v, i ? a.componentStyle : void 0);
|
1749
1749
|
function M(S, g) {
|
1750
1750
|
return function(m, u, F) {
|
1751
|
-
var
|
1751
|
+
var P = m.attrs, A = m.componentStyle, o1 = m.defaultProps, c1 = m.foldedComponentIds, k = m.styledComponentId, J = m.target, Y = M1.useContext(w3), h1 = H0(), s1 = m.shouldForwardProp || h1.shouldForwardProp;
|
1752
1752
|
process.env.NODE_ENV !== "production" && y0(k);
|
1753
|
-
var
|
1754
|
-
for (var
|
1755
|
-
var D1 = U1(
|
1756
|
-
for (var
|
1757
|
-
|
1758
|
-
}
|
1759
|
-
return X.className && (
|
1760
|
-
}(
|
1761
|
-
for (var
|
1762
|
-
|
1763
|
-
var
|
1764
|
-
var
|
1765
|
-
return process.env.NODE_ENV !== "production" && y0(
|
1766
|
-
}(A,
|
1767
|
-
process.env.NODE_ENV !== "production" && m.warnTooManyClasses && m.warnTooManyClasses(
|
1768
|
-
var
|
1769
|
-
return
|
1753
|
+
var G = Fe(u, Y, o1) || G1, l1 = function(I, X, a1) {
|
1754
|
+
for (var e1, C1 = p1(p1({}, X), { className: void 0, theme: a1 }), _1 = 0; _1 < I.length; _1 += 1) {
|
1755
|
+
var D1 = U1(e1 = I[_1]) ? e1(C1) : e1;
|
1756
|
+
for (var u1 in D1)
|
1757
|
+
C1[u1] = u1 === "className" ? A1(C1[u1], D1[u1]) : u1 === "style" ? p1(p1({}, C1[u1]), D1[u1]) : D1[u1];
|
1758
|
+
}
|
1759
|
+
return X.className && (C1.className = A1(C1.className, X.className)), C1;
|
1760
|
+
}(P, u, G), f1 = l1.as || J, x1 = {};
|
1761
|
+
for (var n1 in l1)
|
1762
|
+
l1[n1] === void 0 || n1[0] === "$" || n1 === "as" || n1 === "theme" && l1.theme === G || (n1 === "forwardedAs" ? x1.as = l1.forwardedAs : s1 && !s1(n1, f1) || (x1[n1] = l1[n1], s1 || process.env.NODE_ENV !== "development" || ge(n1) || R0.has(n1) || !T2.has(f1) || (R0.add(n1), console.warn('styled-components: it looks like an unknown prop "'.concat(n1, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
|
1763
|
+
var O = function(I, X) {
|
1764
|
+
var a1 = H0(), e1 = I.generateAndInjectStyles(X, a1.styleSheet, a1.stylis);
|
1765
|
+
return process.env.NODE_ENV !== "production" && y0(e1), e1;
|
1766
|
+
}(A, l1);
|
1767
|
+
process.env.NODE_ENV !== "production" && m.warnTooManyClasses && m.warnTooManyClasses(O);
|
1768
|
+
var U = A1(c1, k);
|
1769
|
+
return O && (U += " " + O), l1.className && (U += " " + l1.className), x1[V2(f1) && !T2.has(f1) ? "class" : "className"] = U, x1.ref = F, ce(f1, x1);
|
1770
1770
|
}(V, S, g);
|
1771
1771
|
}
|
1772
1772
|
M.displayName = y;
|
@@ -1777,16 +1777,16 @@ function x6(e, n, o) {
|
|
1777
1777
|
this._foldedDefaultProps = i ? function(g) {
|
1778
1778
|
for (var m = [], u = 1; u < arguments.length; u++)
|
1779
1779
|
m[u - 1] = arguments[u];
|
1780
|
-
for (var F = 0,
|
1781
|
-
N2(g,
|
1780
|
+
for (var F = 0, P = m; F < P.length; F++)
|
1781
|
+
N2(g, P[F], !0);
|
1782
1782
|
return g;
|
1783
1783
|
}({}, a.defaultProps, S) : S;
|
1784
1784
|
} }), process.env.NODE_ENV !== "production" && (Re(y, v), V.warnTooManyClasses = /* @__PURE__ */ function(S, g) {
|
1785
1785
|
var m = {}, u = !1;
|
1786
1786
|
return function(F) {
|
1787
1787
|
if (!u && (m[F] = !0, Object.keys(m).length >= 200)) {
|
1788
|
-
var
|
1789
|
-
console.warn("Over ".concat(200, " classes were generated for component ").concat(S).concat(
|
1788
|
+
var P = g ? ' with the id of "'.concat(g, '"') : "";
|
1789
|
+
console.warn("Over ".concat(200, " classes were generated for component ").concat(S).concat(P, `.
|
1790
1790
|
`) + `Consider using the attrs method, together with a style object for frequently changed styles.
|
1791
1791
|
Example:
|
1792
1792
|
const Component = styled.div.attrs(props => ({
|
@@ -4167,16 +4167,16 @@ const H7 = [14, 16, 18, 20, 24], V7 = [200, 300, 400, 500, 700, 800], A7 = b.div
|
|
4167
4167
|
wrapperWidth: x,
|
4168
4168
|
...y
|
4169
4169
|
}) => {
|
4170
|
-
const v =
|
4170
|
+
const v = g1(null), [_, w] = Q(!1), j = v1(
|
4171
4171
|
(u) => {
|
4172
|
-
var
|
4173
|
-
const F = (
|
4172
|
+
var P, A;
|
4173
|
+
const F = (P = v.current) == null ? void 0 : P.getBoundingClientRect();
|
4174
4174
|
if (F) {
|
4175
|
-
let
|
4176
|
-
if ("touches" in u ?
|
4177
|
-
const
|
4178
|
-
let
|
4179
|
-
|
4175
|
+
let o1;
|
4176
|
+
if ("touches" in u ? o1 = (A = u.touches[0]) == null ? void 0 : A.clientX : "clientX" in u && (o1 = u.clientX), o1 !== void 0) {
|
4177
|
+
const c1 = o1 - F.left, k = F.width, J = c1 / k * (s - a) + a;
|
4178
|
+
let Y = Math.round(J / p) * p;
|
4179
|
+
Y = Math.max(a, Y), Y = Math.min(s, Y), i && i(Y);
|
4180
4180
|
}
|
4181
4181
|
}
|
4182
4182
|
},
|
@@ -6674,39 +6674,39 @@ const ft = [0, 2, 4, 8], Y0 = [14, 16, 18, 20, 24], G0 = [200, 300, 400, 500, 70
|
|
6674
6674
|
const u = J0[g].toUpperCase();
|
6675
6675
|
return /* @__PURE__ */ r.jsx(Et, { $index: m, children: u }, u + m);
|
6676
6676
|
}, _ = () => {
|
6677
|
-
const { current: g, month: m, year: u } = i, F = m || +(g == null ? void 0 : g.getMonth()) + 1,
|
6678
|
-
return wt(F,
|
6677
|
+
const { current: g, month: m, year: u } = i, F = m || +(g == null ? void 0 : g.getMonth()) + 1, P = u || (g == null ? void 0 : g.getFullYear());
|
6678
|
+
return wt(F, P);
|
6679
6679
|
}, w = (g, m) => {
|
6680
|
-
const { current: u, month: F, year:
|
6680
|
+
const { current: u, month: F, year: P } = i, A = new Date(g.join("-")), o1 = F2(A, /* @__PURE__ */ new Date()), c1 = u && F2(A, u), k = F && P && _t(A, new Date([P, F, 1].join("-"))), J = c1 ? W3 : o1 ? Dt : F3;
|
6681
6681
|
return /* @__PURE__ */ r.jsx(
|
6682
|
-
|
6682
|
+
J,
|
6683
6683
|
{
|
6684
6684
|
$index: m,
|
6685
6685
|
$inMonth: k,
|
6686
|
-
onClick: (
|
6686
|
+
onClick: (Y) => f(A, Y),
|
6687
6687
|
children: A.getDate()
|
6688
6688
|
},
|
6689
6689
|
bt(A)
|
6690
6690
|
);
|
6691
6691
|
}, j = () => {
|
6692
6692
|
const g = h2 * 4, { year: m } = i;
|
6693
|
-
return [...new Array(g)].map((F,
|
6693
|
+
return [...new Array(g)].map((F, P) => +m + P);
|
6694
6694
|
}, D = (g) => {
|
6695
|
-
const { current: m, year: u } = i, F = g === u,
|
6695
|
+
const { current: m, year: u } = i, F = g === u, P = m && m.getFullYear() === g, A = F ? X2 : P ? Q0 : U2;
|
6696
6696
|
return /* @__PURE__ */ r.jsx(
|
6697
6697
|
A,
|
6698
6698
|
{
|
6699
|
-
onClick: (
|
6699
|
+
onClick: (o1) => x(g, o1),
|
6700
6700
|
children: g
|
6701
6701
|
},
|
6702
6702
|
g
|
6703
6703
|
);
|
6704
6704
|
}, E = (g, m) => {
|
6705
|
-
const { current: u, year: F, month:
|
6705
|
+
const { current: u, year: F, month: P } = i, A = m + 1 === P, o1 = u && u.getFullYear() === F, c1 = u && u.getMonth() + 1 === m + 1, J = A ? X2 : o1 && c1 ? Q0 : U2;
|
6706
6706
|
return /* @__PURE__ */ r.jsx(
|
6707
|
-
|
6707
|
+
J,
|
6708
6708
|
{
|
6709
|
-
onClick: (
|
6709
|
+
onClick: (Y) => y(m + 1, Y),
|
6710
6710
|
children: g.slice(0, 3)
|
6711
6711
|
},
|
6712
6712
|
g
|
@@ -6917,7 +6917,7 @@ const ft = [0, 2, 4, 8], Y0 = [14, 16, 18, 20, 24], G0 = [200, 300, 400, 500, 70
|
|
6917
6917
|
disabled: C,
|
6918
6918
|
...f
|
6919
6919
|
}) => {
|
6920
|
-
const [x, y] = Q(!1), [v, _] = Q("bottom"), w =
|
6920
|
+
const [x, y] = Q(!1), [v, _] = Q("bottom"), w = g1(null), j = (E) => {
|
6921
6921
|
s(E);
|
6922
6922
|
};
|
6923
6923
|
j1(() => {
|
@@ -7172,12 +7172,12 @@ const ft = [0, 2, 4, 8], Y0 = [14, 16, 18, 20, 24], G0 = [200, 300, 400, 500, 70
|
|
7172
7172
|
data: x = [{ label: "", value: "" }],
|
7173
7173
|
...y
|
7174
7174
|
}) => {
|
7175
|
-
const [v, _] = Q(!1), w =
|
7175
|
+
const [v, _] = Q(!1), w = g1(null), [j, D] = Q(x), [E, M] = Q(""), V = v1(
|
7176
7176
|
(m) => {
|
7177
7177
|
const u = m.target.value;
|
7178
7178
|
M(u);
|
7179
7179
|
const F = x.filter(
|
7180
|
-
(
|
7180
|
+
(P) => P.label.toLowerCase().includes(u.toLowerCase())
|
7181
7181
|
);
|
7182
7182
|
D(F);
|
7183
7183
|
},
|
@@ -7590,95 +7590,95 @@ const Pt = b.svg`
|
|
7590
7590
|
label_limit_min: d = "Pensie standard",
|
7591
7591
|
label_limit_max: p = "Obiectiv pensie"
|
7592
7592
|
}) => {
|
7593
|
-
const C = new Intl.NumberFormat("RO"), f =
|
7594
|
-
const
|
7595
|
-
|
7596
|
-
Math.max(
|
7597
|
-
),
|
7598
|
-
|
7599
|
-
Math.max(
|
7600
|
-
), D1 = n *
|
7601
|
-
|
7593
|
+
const C = new Intl.NumberFormat("RO"), f = g1(null), x = g1(null), y = g1(null), v = g1(null), _ = g1(null), w = g1(null), j = g1(null), [D, E] = Q(0), [M, V] = Q(0), S = 10, g = W1(() => {
|
7594
|
+
const U = M / 2 - 20, I = D - S * 2, X = Math.min(
|
7595
|
+
I,
|
7596
|
+
Math.max(I * o / e, 0)
|
7597
|
+
), a1 = 20, e1 = U + S, C1 = o * I / e + 10, _1 = Math.min(
|
7598
|
+
I + 10,
|
7599
|
+
Math.max(C1, 10)
|
7600
|
+
), D1 = n * I / e + 10, u1 = Math.min(
|
7601
|
+
I + 10,
|
7602
7602
|
Math.max(D1, 10)
|
7603
7603
|
);
|
7604
7604
|
return {
|
7605
7605
|
primary_bar_h: 40,
|
7606
|
-
primary_bar_y:
|
7606
|
+
primary_bar_y: U,
|
7607
7607
|
secondary_bar_w: X,
|
7608
|
-
secondary_bar_h:
|
7609
|
-
secondary_bar_y:
|
7608
|
+
secondary_bar_h: a1,
|
7609
|
+
secondary_bar_y: e1,
|
7610
7610
|
line_min_x: _1,
|
7611
|
-
line_max_x:
|
7611
|
+
line_max_x: u1
|
7612
7612
|
};
|
7613
7613
|
}, [M, D, o, n, e]), m = W1(() => {
|
7614
|
-
const
|
7614
|
+
const O = S * 2, I = i * (D - O) / e - g.secondary_bar_w, X = D - O - g.secondary_bar_w, a1 = i > n ? t.success_400 : t.danger_200, e1 = i > n ? t.success_600 : t.danger_400;
|
7615
7615
|
return {
|
7616
|
-
value: Math.min(X, Math.max(0,
|
7617
|
-
fill:
|
7618
|
-
fill_value:
|
7616
|
+
value: Math.min(X, Math.max(0, I)),
|
7617
|
+
fill: a1,
|
7618
|
+
fill_value: e1
|
7619
7619
|
};
|
7620
7620
|
}, [D, g.secondary_bar_w, i, n, e]), u = v1(
|
7621
|
-
(
|
7622
|
-
const { width: X } =
|
7623
|
-
return Math.min(
|
7621
|
+
(O, U, I) => {
|
7622
|
+
const { width: X } = O.current.getBBox(), a1 = I === "middle" ? D - X + X / 2 : I === "end" ? D - X : D - X + X, e1 = I === "middle" ? X / 2 : I === "end" ? 10 : X + 10;
|
7623
|
+
return Math.min(a1, Math.max(e1, U));
|
7624
7624
|
},
|
7625
7625
|
[D]
|
7626
7626
|
), F = v1(
|
7627
|
-
(
|
7628
|
-
const
|
7627
|
+
(O) => {
|
7628
|
+
const U = g.line_min_x + O, I = g.line_min_x + O;
|
7629
7629
|
return x && x.current || y && y.current ? {
|
7630
|
-
label_top_x: u(x,
|
7631
|
-
sublabel_top_x: u(y,
|
7630
|
+
label_top_x: u(x, U, "middle"),
|
7631
|
+
sublabel_top_x: u(y, I, "middle")
|
7632
7632
|
} : {
|
7633
|
-
label_top_x:
|
7634
|
-
sublabel_top_x:
|
7633
|
+
label_top_x: U,
|
7634
|
+
sublabel_top_x: I
|
7635
7635
|
};
|
7636
7636
|
},
|
7637
7637
|
[g.line_min_x, u]
|
7638
|
-
),
|
7639
|
-
const
|
7638
|
+
), P = v1(() => {
|
7639
|
+
const O = g.line_min_x, U = g.line_min_x;
|
7640
7640
|
return v && v.current || _ && _.current ? {
|
7641
|
-
label_limit_min_x: u(v,
|
7641
|
+
label_limit_min_x: u(v, O, "start"),
|
7642
7642
|
sublabel_limit_min_x: u(
|
7643
7643
|
_,
|
7644
|
-
|
7644
|
+
U,
|
7645
7645
|
"start"
|
7646
7646
|
)
|
7647
7647
|
} : {
|
7648
|
-
label_limit_min_x:
|
7649
|
-
sublabel_limit_min_x:
|
7648
|
+
label_limit_min_x: O,
|
7649
|
+
sublabel_limit_min_x: U
|
7650
7650
|
};
|
7651
7651
|
}, [g.line_min_x, u]), A = v1(() => {
|
7652
|
-
const
|
7652
|
+
const O = g.line_max_x, U = g.line_max_x;
|
7653
7653
|
return w && w.current || j && j.current ? {
|
7654
|
-
label_limit_max_x: u(w,
|
7654
|
+
label_limit_max_x: u(w, O, "end"),
|
7655
7655
|
sublabel_limit_max_x: u(
|
7656
7656
|
j,
|
7657
|
-
|
7657
|
+
U,
|
7658
7658
|
"end"
|
7659
7659
|
)
|
7660
7660
|
} : {
|
7661
|
-
label_limit_max_x:
|
7662
|
-
sublabel_limit_max_x:
|
7661
|
+
label_limit_max_x: O,
|
7662
|
+
sublabel_limit_max_x: U
|
7663
7663
|
};
|
7664
7664
|
}, [g.line_max_x, u]);
|
7665
7665
|
j1(() => {
|
7666
7666
|
if (f && f.current) {
|
7667
|
-
const
|
7668
|
-
var
|
7669
|
-
const
|
7670
|
-
E(
|
7667
|
+
const U = () => {
|
7668
|
+
var a1, e1;
|
7669
|
+
const I = (a1 = f == null ? void 0 : f.current) == null ? void 0 : a1.clientWidth, X = (e1 = f == null ? void 0 : f.current) == null ? void 0 : e1.clientHeight;
|
7670
|
+
E(I / X * 150), V(150);
|
7671
7671
|
};
|
7672
|
-
return
|
7672
|
+
return U(), window.addEventListener("resize", U), () => window.removeEventListener("resize", U);
|
7673
7673
|
}
|
7674
7674
|
}, [f]);
|
7675
|
-
const [
|
7675
|
+
const [o1, c1] = Q(0), [k, J] = Q(0), [Y, h1] = Q(0), [s1, G] = Q(0), [l1, f1] = Q(0), [x1, n1] = Q(0);
|
7676
7676
|
return j1(() => {
|
7677
|
-
const
|
7678
|
-
|
7677
|
+
const O = m.value;
|
7678
|
+
c1(F(O).label_top_x), J(F(O).sublabel_top_x);
|
7679
7679
|
}, [m.value, F]), j1(() => {
|
7680
|
-
|
7681
|
-
}, [
|
7680
|
+
h1(P().label_limit_min_x), G(P().sublabel_limit_min_x), f1(A().label_limit_max_x), n1(A().sublabel_limit_max_x);
|
7681
|
+
}, [P, A]), /* @__PURE__ */ r.jsxs(
|
7682
7682
|
Pt,
|
7683
7683
|
{
|
7684
7684
|
ref: f,
|
@@ -7723,7 +7723,7 @@ const Pt = b.svg`
|
|
7723
7723
|
ref: x,
|
7724
7724
|
className: "label_top",
|
7725
7725
|
textAnchor: "middle",
|
7726
|
-
x:
|
7726
|
+
x: o1,
|
7727
7727
|
y: 15,
|
7728
7728
|
children: s
|
7729
7729
|
}
|
@@ -7756,7 +7756,7 @@ const Pt = b.svg`
|
|
7756
7756
|
ref: v,
|
7757
7757
|
className: "label_bottom",
|
7758
7758
|
textAnchor: "end",
|
7759
|
-
x:
|
7759
|
+
x: Y,
|
7760
7760
|
y: g.primary_bar_y + g.primary_bar_h + S + 20,
|
7761
7761
|
children: d
|
7762
7762
|
}
|
@@ -7767,7 +7767,7 @@ const Pt = b.svg`
|
|
7767
7767
|
ref: _,
|
7768
7768
|
className: "sublabel_bottom",
|
7769
7769
|
textAnchor: "end",
|
7770
|
-
x:
|
7770
|
+
x: s1,
|
7771
7771
|
y: g.primary_bar_y + g.primary_bar_h + S + 40,
|
7772
7772
|
children: C.format(o) + " " + a
|
7773
7773
|
}
|
@@ -7789,7 +7789,7 @@ const Pt = b.svg`
|
|
7789
7789
|
ref: w,
|
7790
7790
|
className: "label_bottom",
|
7791
7791
|
textAnchor: "start",
|
7792
|
-
x:
|
7792
|
+
x: l1,
|
7793
7793
|
y: g.primary_bar_y + g.primary_bar_h + S + 20,
|
7794
7794
|
children: p
|
7795
7795
|
}
|
@@ -10542,7 +10542,7 @@ const Pt = b.svg`
|
|
10542
10542
|
|
10543
10543
|
& > div:last-child {
|
10544
10544
|
display: flex;
|
10545
|
-
justify-content: space-between;
|
10545
|
+
justify-content: ${({ $line2Text: e }) => e && e.length ? "space-between" : "flex-end"};
|
10546
10546
|
align-items: center;
|
10547
10547
|
gap: 2px;
|
10548
10548
|
|
@@ -10583,8 +10583,8 @@ const Pt = b.svg`
|
|
10583
10583
|
`, G4 = ({
|
10584
10584
|
title: e = "",
|
10585
10585
|
currency: n = "RON",
|
10586
|
-
|
10587
|
-
|
10586
|
+
line1Text: o = "",
|
10587
|
+
line2Text: i = "",
|
10588
10588
|
riscLevel: a = 1,
|
10589
10589
|
selected: s = !1,
|
10590
10590
|
buttonOnClick: d,
|
@@ -10593,6 +10593,7 @@ const Pt = b.svg`
|
|
10593
10593
|
qt,
|
10594
10594
|
{
|
10595
10595
|
onClick: d,
|
10596
|
+
$line2Text: i,
|
10596
10597
|
...p,
|
10597
10598
|
"data-selected": s,
|
10598
10599
|
children: [
|
@@ -10600,15 +10601,9 @@ const Pt = b.svg`
|
|
10600
10601
|
/* @__PURE__ */ r.jsx("span", { children: e ?? "" }),
|
10601
10602
|
/* @__PURE__ */ r.jsx("span", { children: n ?? "RON" })
|
10602
10603
|
] }),
|
10603
|
-
/* @__PURE__ */ r.
|
10604
|
-
"Scenariu favorabil la 1 an: ",
|
10605
|
-
o ?? ""
|
10606
|
-
] }),
|
10604
|
+
o && o.length && /* @__PURE__ */ r.jsx("span", { children: o }),
|
10607
10605
|
/* @__PURE__ */ r.jsxs("div", { children: [
|
10608
|
-
/* @__PURE__ */ r.
|
10609
|
-
"Recomandat: ",
|
10610
|
-
i ?? ""
|
10611
|
-
] }),
|
10606
|
+
i && i.length && /* @__PURE__ */ r.jsx("span", { children: i }),
|
10612
10607
|
/* @__PURE__ */ r.jsxs("div", { children: [
|
10613
10608
|
/* @__PURE__ */ r.jsx("span", { children: "Risc:" }),
|
10614
10609
|
/* @__PURE__ */ r.jsx(s4, { value: a, stepWidth: 5, height: 16, stepGap: 1 })
|
@@ -10944,7 +10939,7 @@ const Qt = b.svg`
|
|
10944
10939
|
}
|
10945
10940
|
`, U4 = ({
|
10946
10941
|
height: e = 280,
|
10947
|
-
paddingLeft: n =
|
10942
|
+
paddingLeft: n = 240,
|
10948
10943
|
paddingRight: o = 40,
|
10949
10944
|
paddingTop: i = 24,
|
10950
10945
|
paddingBottom: a = 60,
|
@@ -10966,49 +10961,47 @@ const Qt = b.svg`
|
|
10966
10961
|
currency: S = "RON",
|
10967
10962
|
dev: g = !1
|
10968
10963
|
}) => {
|
10969
|
-
const m = new Intl.NumberFormat("RO"), u =
|
10970
|
-
|
10971
|
-
|
10972
|
-
const J = Math.abs(F - I - o), d1 = Math.abs(A - i - a), g1 = Math.abs(d1 / (d - C) * (d - p) + i), l1 = (J - 3 * s) / 4, P = (N) => {
|
10973
|
-
const G = Math.abs(d1 / (d - C) * (N - p)), X = Math.abs(d1 / (d - C) * (p - N)), e1 = N > p ? G : X;
|
10964
|
+
const m = new Intl.NumberFormat("RO"), u = g1(null), [F, P] = Q(0), [A, o1] = Q(0), c1 = g1(null), k = W1(() => {
|
10965
|
+
const J = Math.abs(F - n - o), Y = Math.abs(A - i - a), h1 = Math.abs(Y / (d - C) * (d - p) + i), s1 = (J - 3 * s) / 4, G = (O) => {
|
10966
|
+
const U = Math.abs(Y / (d - C) * (O - p)), I = Math.abs(Y / (d - C) * (p - O)), X = O > p ? U : I;
|
10974
10967
|
return {
|
10975
|
-
h:
|
10976
|
-
y:
|
10968
|
+
h: X,
|
10969
|
+
y: O > p ? h1 - X : h1
|
10977
10970
|
};
|
10971
|
+
}, l1 = {
|
10972
|
+
x: n,
|
10973
|
+
y: G(v).y,
|
10974
|
+
w: s1,
|
10975
|
+
h: G(v).h,
|
10976
|
+
text_y: v >= p ? +G(v).y - 12 : +G(v).y + 12 + 10
|
10978
10977
|
}, f1 = {
|
10979
|
-
x:
|
10980
|
-
y:
|
10981
|
-
w:
|
10982
|
-
h:
|
10983
|
-
text_y:
|
10978
|
+
x: n + s1 + s,
|
10979
|
+
y: G(_).y,
|
10980
|
+
w: s1,
|
10981
|
+
h: G(_).h,
|
10982
|
+
text_y: _ >= p ? +G(_).y - 12 : +G(_).y + 12 + 10
|
10984
10983
|
}, x1 = {
|
10985
|
-
x:
|
10986
|
-
y:
|
10987
|
-
w:
|
10988
|
-
h:
|
10989
|
-
text_y:
|
10990
|
-
},
|
10991
|
-
x:
|
10992
|
-
y:
|
10993
|
-
w:
|
10994
|
-
h:
|
10995
|
-
text_y:
|
10996
|
-
}, Y = {
|
10997
|
-
x: I + l1 * 3 + s * 3,
|
10998
|
-
y: P(j).y,
|
10999
|
-
w: l1,
|
11000
|
-
h: P(j).h,
|
11001
|
-
text_y: j >= p ? +P(j).y - 12 : +P(j).y + P(j).h + 12 + 10
|
10984
|
+
x: n + s1 * 2 + s * 2,
|
10985
|
+
y: G(w).y,
|
10986
|
+
w: s1,
|
10987
|
+
h: G(w).h,
|
10988
|
+
text_y: w >= p ? +G(w).y - 12 : +G(w).y + G(w).h + 12 + 10
|
10989
|
+
}, n1 = {
|
10990
|
+
x: n + s1 * 3 + s * 3,
|
10991
|
+
y: G(j).y,
|
10992
|
+
w: s1,
|
10993
|
+
h: G(j).h,
|
10994
|
+
text_y: j >= p ? +G(j).y - 12 : +G(j).y + G(j).h + 12 + 10
|
11002
10995
|
};
|
11003
10996
|
return {
|
11004
10997
|
graphW: J,
|
11005
|
-
graphH:
|
11006
|
-
lineY:
|
11007
|
-
col_1:
|
11008
|
-
col_2:
|
11009
|
-
col_3:
|
11010
|
-
col_4:
|
11011
|
-
|
10998
|
+
graphH: Y,
|
10999
|
+
lineY: h1,
|
11000
|
+
col_1: l1,
|
11001
|
+
col_2: f1,
|
11002
|
+
col_3: x1,
|
11003
|
+
col_4: n1,
|
11004
|
+
paddingLeft: n
|
11012
11005
|
};
|
11013
11006
|
}, [
|
11014
11007
|
F,
|
@@ -11025,16 +11018,16 @@ const Qt = b.svg`
|
|
11025
11018
|
_,
|
11026
11019
|
w,
|
11027
11020
|
j,
|
11028
|
-
|
11021
|
+
c1
|
11029
11022
|
]);
|
11030
11023
|
return j1(() => {
|
11031
11024
|
if (u && u.current) {
|
11032
|
-
const
|
11033
|
-
var
|
11034
|
-
const
|
11035
|
-
|
11025
|
+
const J = () => {
|
11026
|
+
var h1;
|
11027
|
+
const Y = (h1 = u == null ? void 0 : u.current) == null ? void 0 : h1.clientWidth;
|
11028
|
+
P(+Y), o1(e);
|
11036
11029
|
};
|
11037
|
-
return
|
11030
|
+
return J(), window.addEventListener("resize", J), () => window.removeEventListener("resize", J);
|
11038
11031
|
}
|
11039
11032
|
}, [u, e]), /* @__PURE__ */ r.jsxs(
|
11040
11033
|
Qt,
|
@@ -11056,7 +11049,7 @@ const Qt = b.svg`
|
|
11056
11049
|
className: "dev-graph",
|
11057
11050
|
width: k.graphW,
|
11058
11051
|
height: k.graphH,
|
11059
|
-
x: k.
|
11052
|
+
x: k.paddingLeft,
|
11060
11053
|
y: i
|
11061
11054
|
}
|
11062
11055
|
),
|
@@ -11229,7 +11222,7 @@ const Qt = b.svg`
|
|
11229
11222
|
"text",
|
11230
11223
|
{
|
11231
11224
|
className: "textTop",
|
11232
|
-
ref:
|
11225
|
+
ref: c1,
|
11233
11226
|
textAnchor: "start",
|
11234
11227
|
x: 150,
|
11235
11228
|
y: 12,
|