viewgate-wrapper 1.11.31 → 1.11.32
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/viewgate-wrapper.js
CHANGED
|
@@ -36,7 +36,7 @@ function Xc() {
|
|
|
36
36
|
switch (x) {
|
|
37
37
|
case U:
|
|
38
38
|
return "Fragment";
|
|
39
|
-
case
|
|
39
|
+
case m:
|
|
40
40
|
return "Profiler";
|
|
41
41
|
case F:
|
|
42
42
|
return "StrictMode";
|
|
@@ -51,7 +51,7 @@ function Xc() {
|
|
|
51
51
|
switch (typeof x.tag == "number" && console.error(
|
|
52
52
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
53
53
|
), x.$$typeof) {
|
|
54
|
-
case
|
|
54
|
+
case C:
|
|
55
55
|
return "Portal";
|
|
56
56
|
case v:
|
|
57
57
|
return x.displayName || "Context";
|
|
@@ -221,7 +221,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
221
221
|
function f(x) {
|
|
222
222
|
return typeof x == "object" && x !== null && x.$$typeof === w;
|
|
223
223
|
}
|
|
224
|
-
var h = St, w = /* @__PURE__ */ Symbol.for("react.transitional.element"),
|
|
224
|
+
var h = St, w = /* @__PURE__ */ Symbol.for("react.transitional.element"), C = /* @__PURE__ */ Symbol.for("react.portal"), U = /* @__PURE__ */ Symbol.for("react.fragment"), F = /* @__PURE__ */ Symbol.for("react.strict_mode"), m = /* @__PURE__ */ Symbol.for("react.profiler"), L = /* @__PURE__ */ Symbol.for("react.consumer"), v = /* @__PURE__ */ Symbol.for("react.context"), H = /* @__PURE__ */ Symbol.for("react.forward_ref"), O = /* @__PURE__ */ Symbol.for("react.suspense"), _ = /* @__PURE__ */ Symbol.for("react.suspense_list"), W = /* @__PURE__ */ Symbol.for("react.memo"), D = /* @__PURE__ */ Symbol.for("react.lazy"), iA = /* @__PURE__ */ Symbol.for("react.activity"), HA = /* @__PURE__ */ Symbol.for("react.client.reference"), N = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, FA = Object.prototype.hasOwnProperty, Z = Array.isArray, IA = console.createTask ? console.createTask : function() {
|
|
225
225
|
return null;
|
|
226
226
|
};
|
|
227
227
|
h = {
|
|
@@ -271,16 +271,16 @@ function Jc() {
|
|
|
271
271
|
}
|
|
272
272
|
var e = typeof Object.is == "function" ? Object.is : A, r = t.useState, s = t.useEffect, n = t.useLayoutEffect, o = t.useDebugValue;
|
|
273
273
|
function a(B, f) {
|
|
274
|
-
var h = f(), w = r({ inst: { value: h, getSnapshot: f } }),
|
|
274
|
+
var h = f(), w = r({ inst: { value: h, getSnapshot: f } }), C = w[0].inst, U = w[1];
|
|
275
275
|
return n(
|
|
276
276
|
function() {
|
|
277
|
-
|
|
277
|
+
C.value = h, C.getSnapshot = f, c(C) && U({ inst: C });
|
|
278
278
|
},
|
|
279
279
|
[B, h, f]
|
|
280
280
|
), s(
|
|
281
281
|
function() {
|
|
282
|
-
return c(
|
|
283
|
-
c(
|
|
282
|
+
return c(C) && U({ inst: C }), B(function() {
|
|
283
|
+
c(C) && U({ inst: C });
|
|
284
284
|
});
|
|
285
285
|
},
|
|
286
286
|
[B]
|
|
@@ -313,37 +313,37 @@ function Yc() {
|
|
|
313
313
|
l || s.startTransition === void 0 || (l = !0, console.error(
|
|
314
314
|
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
315
315
|
));
|
|
316
|
-
var
|
|
316
|
+
var C = w();
|
|
317
317
|
if (!B) {
|
|
318
318
|
var U = w();
|
|
319
|
-
n(
|
|
319
|
+
n(C, U) || (console.error(
|
|
320
320
|
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
321
321
|
), B = !0);
|
|
322
322
|
}
|
|
323
323
|
U = o({
|
|
324
|
-
inst: { value:
|
|
324
|
+
inst: { value: C, getSnapshot: w }
|
|
325
325
|
});
|
|
326
|
-
var F = U[0].inst,
|
|
326
|
+
var F = U[0].inst, m = U[1];
|
|
327
327
|
return c(
|
|
328
328
|
function() {
|
|
329
|
-
F.value =
|
|
329
|
+
F.value = C, F.getSnapshot = w, e(F) && m({ inst: F });
|
|
330
330
|
},
|
|
331
|
-
[h,
|
|
331
|
+
[h, C, w]
|
|
332
332
|
), a(
|
|
333
333
|
function() {
|
|
334
|
-
return e(F) &&
|
|
335
|
-
e(F) &&
|
|
334
|
+
return e(F) && m({ inst: F }), h(function() {
|
|
335
|
+
e(F) && m({ inst: F });
|
|
336
336
|
});
|
|
337
337
|
},
|
|
338
338
|
[h]
|
|
339
|
-
), g(
|
|
339
|
+
), g(C), C;
|
|
340
340
|
}
|
|
341
341
|
function e(h) {
|
|
342
342
|
var w = h.getSnapshot;
|
|
343
343
|
h = h.value;
|
|
344
344
|
try {
|
|
345
|
-
var
|
|
346
|
-
return !n(h,
|
|
345
|
+
var C = w();
|
|
346
|
+
return !n(h, C);
|
|
347
347
|
} catch {
|
|
348
348
|
return !0;
|
|
349
349
|
}
|
|
@@ -387,10 +387,10 @@ const Se = /* @__PURE__ */ new WeakMap(), Le = () => {
|
|
|
387
387
|
}, PA = (
|
|
388
388
|
/*#__NOINLINE__*/
|
|
389
389
|
Le()
|
|
390
|
-
), Ln = Object, j = (t) => t === PA,
|
|
390
|
+
), Ln = Object, j = (t) => t === PA, me = (t) => typeof t == "function", Pe = (t, A) => ({
|
|
391
391
|
...t,
|
|
392
392
|
...A
|
|
393
|
-
}), fi = (t) =>
|
|
393
|
+
}), fi = (t) => me(t.then), $s = {}, Rr = {}, lo = "undefined", mr = typeof window != lo, Tn = typeof document != lo, Zc = mr && "Deno" in window, qc = () => mr && typeof window.requestAnimationFrame != lo, hi = (t, A) => {
|
|
394
394
|
const e = Se.get(t);
|
|
395
395
|
return [
|
|
396
396
|
// Getter
|
|
@@ -409,7 +409,7 @@ const Se = /* @__PURE__ */ new WeakMap(), Le = () => {
|
|
|
409
409
|
];
|
|
410
410
|
};
|
|
411
411
|
let On = !0;
|
|
412
|
-
const Al = () => On, [Kn, Dn] =
|
|
412
|
+
const Al = () => On, [Kn, Dn] = mr && window.addEventListener ? [
|
|
413
413
|
window.addEventListener.bind(window),
|
|
414
414
|
window.removeEventListener.bind(window)
|
|
415
415
|
] : [
|
|
@@ -435,7 +435,7 @@ const Al = () => On, [Kn, Dn] = Cr && window.addEventListener ? [
|
|
|
435
435
|
}, nl = {
|
|
436
436
|
initFocus: tl,
|
|
437
437
|
initReconnect: rl
|
|
438
|
-
}, Po = !St.useId, bt = !
|
|
438
|
+
}, Po = !St.useId, bt = !mr || Zc, ol = (t) => qc() ? window.requestAnimationFrame(t) : setTimeout(t, 1), Zs = bt ? KA : _c, qs = typeof navigator < "u" && navigator.connection, jo = !bt && qs && ([
|
|
439
439
|
"slow-2g",
|
|
440
440
|
"2g"
|
|
441
441
|
].includes(qs.effectiveType) || qs.saveData), kr = /* @__PURE__ */ new WeakMap(), al = (t) => Ln.prototype.toString.call(t), An = (t, A) => t === `[object ${A}]`;
|
|
@@ -461,7 +461,7 @@ const Rn = (t) => {
|
|
|
461
461
|
o = r ? t.toJSON() : A == "symbol" ? t.toString() : A == "string" ? JSON.stringify(t) : "" + t;
|
|
462
462
|
return o;
|
|
463
463
|
}, Bo = (t) => {
|
|
464
|
-
if (
|
|
464
|
+
if (me(t))
|
|
465
465
|
try {
|
|
466
466
|
t = t();
|
|
467
467
|
} catch {
|
|
@@ -486,20 +486,20 @@ async function pi(...t) {
|
|
|
486
486
|
const a = n.rollbackOnError;
|
|
487
487
|
let c = n.optimisticData;
|
|
488
488
|
const g = (f) => typeof a == "function" ? a(f) : a !== !1, l = n.throwOnError;
|
|
489
|
-
if (
|
|
489
|
+
if (me(e)) {
|
|
490
490
|
const f = e, h = [], w = A.keys();
|
|
491
|
-
for (const
|
|
491
|
+
for (const C of w)
|
|
492
492
|
// Skip the special useSWRInfinite and useSWRSubscription keys.
|
|
493
|
-
!/^\$(inf|sub)\$/.test(
|
|
493
|
+
!/^\$(inf|sub)\$/.test(C) && f(A.get(C)._k) && h.push(C);
|
|
494
494
|
return Promise.all(h.map(B));
|
|
495
495
|
}
|
|
496
496
|
return B(e);
|
|
497
497
|
async function B(f) {
|
|
498
498
|
const [h] = Bo(f);
|
|
499
499
|
if (!h) return;
|
|
500
|
-
const [w,
|
|
500
|
+
const [w, C] = hi(A, h), [U, F, m, L] = Se.get(A), v = () => {
|
|
501
501
|
const Z = U[h];
|
|
502
|
-
return (
|
|
502
|
+
return (me(n.revalidate) ? n.revalidate(w().data, f) : n.revalidate !== !1) && (delete m[h], delete L[h], Z && Z[0]) ? Z[0](ui).then(() => w().data) : w().data;
|
|
503
503
|
};
|
|
504
504
|
if (t.length < 3)
|
|
505
505
|
return v();
|
|
@@ -510,10 +510,10 @@ async function pi(...t) {
|
|
|
510
510
|
0
|
|
511
511
|
];
|
|
512
512
|
const D = !j(c), iA = w(), HA = iA.data, N = iA._c, FA = j(N) ? HA : N;
|
|
513
|
-
if (D && (c =
|
|
513
|
+
if (D && (c = me(c) ? c(FA, HA) : c, C({
|
|
514
514
|
data: c,
|
|
515
515
|
_c: FA
|
|
516
|
-
})),
|
|
516
|
+
})), me(H))
|
|
517
517
|
try {
|
|
518
518
|
H = H(FA);
|
|
519
519
|
} catch (Z) {
|
|
@@ -525,26 +525,26 @@ async function pi(...t) {
|
|
|
525
525
|
}), W !== F[h][0]) {
|
|
526
526
|
if (_) throw O;
|
|
527
527
|
return H;
|
|
528
|
-
} else _ && D && g(O) && (o = !0,
|
|
528
|
+
} else _ && D && g(O) && (o = !0, C({
|
|
529
529
|
data: FA,
|
|
530
530
|
_c: PA
|
|
531
531
|
}));
|
|
532
532
|
if (o && !_)
|
|
533
|
-
if (
|
|
533
|
+
if (me(o)) {
|
|
534
534
|
const Z = o(H, FA);
|
|
535
|
-
|
|
535
|
+
C({
|
|
536
536
|
data: Z,
|
|
537
537
|
error: PA,
|
|
538
538
|
_c: PA
|
|
539
539
|
});
|
|
540
540
|
} else
|
|
541
|
-
|
|
541
|
+
C({
|
|
542
542
|
data: H,
|
|
543
543
|
error: PA,
|
|
544
544
|
_c: PA
|
|
545
545
|
});
|
|
546
546
|
if (F[h][1] = kn(), Promise.resolve(v()).then(() => {
|
|
547
|
-
|
|
547
|
+
C({
|
|
548
548
|
_c: PA
|
|
549
549
|
});
|
|
550
550
|
}), _) {
|
|
@@ -634,9 +634,9 @@ const Wo = (t, A) => {
|
|
|
634
634
|
r && n && (e.use = r.concat(n)), s && o && (e.fallback = Pe(s, o));
|
|
635
635
|
}
|
|
636
636
|
return e;
|
|
637
|
-
}, hl = ci({}), pl = "$inf$",
|
|
638
|
-
|
|
639
|
-
},
|
|
637
|
+
}, hl = ci({}), pl = "$inf$", mi = mr && window.__SWR_DEVTOOLS_USE__, wl = mi ? window.__SWR_DEVTOOLS_USE__ : [], ml = () => {
|
|
638
|
+
mi && (window.__SWR_DEVTOOLS_REACT__ = St);
|
|
639
|
+
}, Cl = (t) => me(t[1]) ? [
|
|
640
640
|
t[0],
|
|
641
641
|
t[1],
|
|
642
642
|
t[2] || {}
|
|
@@ -644,7 +644,7 @@ const Wo = (t, A) => {
|
|
|
644
644
|
t[0],
|
|
645
645
|
null,
|
|
646
646
|
(t[1] === null ? t[2] : t[1]) || {}
|
|
647
|
-
],
|
|
647
|
+
], Ci = () => {
|
|
648
648
|
const t = li(hl);
|
|
649
649
|
return qe(() => Pe(ul, t), [
|
|
650
650
|
t
|
|
@@ -656,7 +656,7 @@ const Wo = (t, A) => {
|
|
|
656
656
|
const c = a[o];
|
|
657
657
|
return j(c) ? e(...n) : (delete a[o], c);
|
|
658
658
|
}), r), xl = wl.concat(Ql), Ul = (t) => function(...e) {
|
|
659
|
-
const r =
|
|
659
|
+
const r = Ci(), [s, n, o] = Cl(e), a = fl(r, o);
|
|
660
660
|
let c = t;
|
|
661
661
|
const { use: g } = a, l = (g || []).concat(xl);
|
|
662
662
|
for (let B = l.length; B--; )
|
|
@@ -669,7 +669,7 @@ const Wo = (t, A) => {
|
|
|
669
669
|
s >= 0 && (r[s] = r[r.length - 1], r.pop());
|
|
670
670
|
};
|
|
671
671
|
};
|
|
672
|
-
|
|
672
|
+
ml();
|
|
673
673
|
const en = St.use || // This extra generic is to avoid TypeScript mixing up the generic and JSX sytax
|
|
674
674
|
// and emitting an error.
|
|
675
675
|
// We assume that this is only for the `use(thenable)` case, not `use(context)`.
|
|
@@ -692,7 +692,7 @@ const en = St.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
692
692
|
}), tn = {
|
|
693
693
|
dedupe: !0
|
|
694
694
|
}, Xo = Promise.resolve(PA), yl = () => Le, El = (t, A, e) => {
|
|
695
|
-
const { cache: r, compare: s, suspense: n, fallbackData: o, revalidateOnMount: a, revalidateIfStale: c, refreshInterval: g, refreshWhenHidden: l, refreshWhenOffline: B, keepPreviousData: f, strictServerPrefetchWarning: h } = e, [w,
|
|
695
|
+
const { cache: r, compare: s, suspense: n, fallbackData: o, revalidateOnMount: a, revalidateIfStale: c, refreshInterval: g, refreshWhenHidden: l, refreshWhenOffline: B, keepPreviousData: f, strictServerPrefetchWarning: h } = e, [w, C, U, F] = Se.get(r), [m, L] = Bo(t), v = UA(!1), H = UA(!1), O = UA(m), _ = UA(A), W = UA(e), D = () => W.current, iA = () => D().isVisible() && D().isOnline(), [HA, N, FA, Z] = hi(r, m), IA = UA({}).current, X = j(o) ? j(e.fallback) ? PA : e.fallback[m] : o, zA = (eA, uA) => {
|
|
696
696
|
for (const fA in IA) {
|
|
697
697
|
const cA = fA;
|
|
698
698
|
if (cA === "data") {
|
|
@@ -706,7 +706,7 @@ const en = St.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
706
706
|
const eA = HA(), uA = Z(), fA = (lA) => {
|
|
707
707
|
const MA = Pe(lA);
|
|
708
708
|
return delete MA._k, (() => {
|
|
709
|
-
if (!
|
|
709
|
+
if (!m || !A || D().isPaused()) return !1;
|
|
710
710
|
if (oe && !j(a)) return a;
|
|
711
711
|
const YA = j(X) ? MA.data : X;
|
|
712
712
|
return j(YA) || c;
|
|
@@ -726,62 +726,62 @@ const en = St.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
726
726
|
];
|
|
727
727
|
}, [
|
|
728
728
|
r,
|
|
729
|
-
|
|
729
|
+
m
|
|
730
730
|
]), ee = Vo.useSyncExternalStore(we(
|
|
731
|
-
(eA) => FA(
|
|
731
|
+
(eA) => FA(m, (uA, fA) => {
|
|
732
732
|
zA(fA, uA) || eA();
|
|
733
733
|
}),
|
|
734
734
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
735
735
|
[
|
|
736
736
|
r,
|
|
737
|
-
|
|
737
|
+
m
|
|
738
738
|
]
|
|
739
|
-
), Oe[0], Oe[1]), x = w[
|
|
739
|
+
), Oe[0], Oe[1]), x = w[m] && w[m].length > 0, k = ee.data, z = j(k) ? X && fi(X) ? en(X) : X : k, q = ee.error, JA = UA(z), Fe = f ? j(k) ? j(JA.current) ? z : JA.current : k : z, AA = m && j(z), DA = UA(null);
|
|
740
740
|
!bt && // getServerSnapshot is only called during hydration
|
|
741
741
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
742
742
|
Vo.useSyncExternalStore(yl, () => (DA.current = !1, DA), () => (DA.current = !0, DA));
|
|
743
743
|
const le = DA.current;
|
|
744
|
-
h && le && !n && AA && console.warn(`Missing pre-initiated data for serialized key "${
|
|
745
|
-
const GA = !
|
|
744
|
+
h && le && !n && AA && console.warn(`Missing pre-initiated data for serialized key "${m}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);
|
|
745
|
+
const GA = !m || !A || D().isPaused() || x && !j(q) ? !1 : oe && !j(a) ? a : n ? j(z) ? !1 : c : j(z) || c, fe = oe && GA, WA = j(ee.isValidating) ? fe : ee.isValidating, it = j(ee.isLoading) ? fe : ee.isLoading, SA = we(
|
|
746
746
|
async (eA) => {
|
|
747
747
|
const uA = _.current;
|
|
748
|
-
if (!
|
|
748
|
+
if (!m || !uA || H.current || D().isPaused())
|
|
749
749
|
return !1;
|
|
750
750
|
let fA, cA, te = !0;
|
|
751
|
-
const oA = eA || {}, lA = !U[
|
|
751
|
+
const oA = eA || {}, lA = !U[m] || !oA.dedupe, MA = () => Po ? !H.current && m === O.current && v.current : m === O.current, Ke = {
|
|
752
752
|
isValidating: !1,
|
|
753
753
|
isLoading: !1
|
|
754
754
|
}, YA = () => {
|
|
755
755
|
N(Ke);
|
|
756
756
|
}, Ot = () => {
|
|
757
|
-
const re = U[
|
|
758
|
-
re && re[1] === cA && delete U[
|
|
757
|
+
const re = U[m];
|
|
758
|
+
re && re[1] === cA && delete U[m];
|
|
759
759
|
}, Ms = {
|
|
760
760
|
isValidating: !0
|
|
761
761
|
};
|
|
762
762
|
j(HA().data) && (Ms.isLoading = !0);
|
|
763
763
|
try {
|
|
764
764
|
if (lA && (N(Ms), e.loadingTimeout && j(HA().data) && setTimeout(() => {
|
|
765
|
-
te && MA() && D().onLoadingSlow(
|
|
766
|
-
}, e.loadingTimeout), U[
|
|
765
|
+
te && MA() && D().onLoadingSlow(m, e);
|
|
766
|
+
}, e.loadingTimeout), U[m] = [
|
|
767
767
|
uA(L),
|
|
768
768
|
kn()
|
|
769
|
-
]), [fA, cA] = U[
|
|
770
|
-
return lA && MA() && D().onDiscarded(
|
|
769
|
+
]), [fA, cA] = U[m], fA = await fA, lA && setTimeout(Ot, e.dedupingInterval), !U[m] || U[m][1] !== cA)
|
|
770
|
+
return lA && MA() && D().onDiscarded(m), !1;
|
|
771
771
|
Ke.error = PA;
|
|
772
|
-
const re = m
|
|
772
|
+
const re = C[m];
|
|
773
773
|
if (!j(re) && // case 1
|
|
774
774
|
(cA <= re[0] || // case 2
|
|
775
775
|
cA <= re[1] || // case 3
|
|
776
776
|
re[1] === 0))
|
|
777
|
-
return YA(), lA && MA() && D().onDiscarded(
|
|
777
|
+
return YA(), lA && MA() && D().onDiscarded(m), !1;
|
|
778
778
|
const tA = HA().data;
|
|
779
|
-
Ke.data = s(tA, fA) ? tA : fA, lA && MA() && D().onSuccess(fA,
|
|
779
|
+
Ke.data = s(tA, fA) ? tA : fA, lA && MA() && D().onSuccess(fA, m, e);
|
|
780
780
|
} catch (re) {
|
|
781
781
|
Ot();
|
|
782
782
|
const tA = D(), { shouldRetryOnError: lt } = tA;
|
|
783
|
-
tA.isPaused() || (Ke.error = re, lA && MA() && (tA.onError(re,
|
|
784
|
-
const dt = w[
|
|
783
|
+
tA.isPaused() || (Ke.error = re, lA && MA() && (tA.onError(re, m, tA), (lt === !0 || me(lt) && lt(re)) && (!D().revalidateOnFocus || !D().revalidateOnReconnect || iA()) && tA.onErrorRetry(re, m, tA, (LA) => {
|
|
784
|
+
const dt = w[m];
|
|
785
785
|
dt && dt[0] && dt[0](No, LA);
|
|
786
786
|
}, {
|
|
787
787
|
retryCount: (oA.retryCount || 0) + 1,
|
|
@@ -802,7 +802,7 @@ const en = St.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
802
802
|
// even though it might cause unexpected behaviors.
|
|
803
803
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
804
804
|
[
|
|
805
|
-
|
|
805
|
+
m,
|
|
806
806
|
r
|
|
807
807
|
]
|
|
808
808
|
), Xe = we(
|
|
@@ -814,11 +814,11 @@ const en = St.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
814
814
|
if (Zs(() => {
|
|
815
815
|
_.current = A, W.current = e, j(k) || (JA.current = k);
|
|
816
816
|
}), Zs(() => {
|
|
817
|
-
if (!
|
|
817
|
+
if (!m) return;
|
|
818
818
|
const eA = SA.bind(PA, tn);
|
|
819
819
|
let uA = 0;
|
|
820
820
|
D().revalidateOnFocus && (uA = Date.now() + D().focusThrottleInterval);
|
|
821
|
-
const cA = Fl(
|
|
821
|
+
const cA = Fl(m, w, (te, oA = {}) => {
|
|
822
822
|
if (te == Bi) {
|
|
823
823
|
const lA = Date.now();
|
|
824
824
|
D().revalidateOnFocus && lA > uA && iA() && (uA = lA + D().focusThrottleInterval, eA());
|
|
@@ -831,17 +831,17 @@ const en = St.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
831
831
|
return SA(oA);
|
|
832
832
|
}
|
|
833
833
|
});
|
|
834
|
-
return H.current = !1, O.current =
|
|
834
|
+
return H.current = !1, O.current = m, v.current = !0, N({
|
|
835
835
|
_k: L
|
|
836
|
-
}), GA && (U[
|
|
836
|
+
}), GA && (U[m] || (j(z) || bt ? eA() : ol(eA))), () => {
|
|
837
837
|
H.current = !0, cA();
|
|
838
838
|
};
|
|
839
839
|
}, [
|
|
840
|
-
|
|
840
|
+
m
|
|
841
841
|
]), Zs(() => {
|
|
842
842
|
let eA;
|
|
843
843
|
function uA() {
|
|
844
|
-
const cA =
|
|
844
|
+
const cA = me(g) ? g(HA().data) : g;
|
|
845
845
|
cA && eA !== -1 && (eA = setTimeout(fA, cA));
|
|
846
846
|
}
|
|
847
847
|
function fA() {
|
|
@@ -854,12 +854,12 @@ const en = St.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
854
854
|
g,
|
|
855
855
|
l,
|
|
856
856
|
B,
|
|
857
|
-
|
|
857
|
+
m
|
|
858
858
|
]), Pc(Fe), n) {
|
|
859
859
|
if (!Po && bt && AA)
|
|
860
860
|
throw new Error("Fallback data is required when using Suspense in SSR.");
|
|
861
861
|
AA && (_.current = A, W.current = e, H.current = !1);
|
|
862
|
-
const eA = F[
|
|
862
|
+
const eA = F[m], uA = !j(eA) && AA ? Xe(eA) : Xo;
|
|
863
863
|
if (en(uA), !j(q) && AA)
|
|
864
864
|
throw q;
|
|
865
865
|
const fA = AA ? SA(tn) : Xo;
|
|
@@ -1295,31 +1295,31 @@ const dd = [
|
|
|
1295
1295
|
const l = UA(null), B = UA(!1);
|
|
1296
1296
|
KA(() => {
|
|
1297
1297
|
a(ud());
|
|
1298
|
-
const
|
|
1298
|
+
const C = (F) => {
|
|
1299
1299
|
F.key === "Alt" && !F.repeat && (F.preventDefault(), B.current = !1, l.current && clearTimeout(l.current), l.current = setTimeout(() => {
|
|
1300
|
-
const
|
|
1301
|
-
|
|
1300
|
+
const m = new URL(window.location.href);
|
|
1301
|
+
m.searchParams.delete("viewgate"), m.searchParams.set("viewgate-backlog", "true"), window.history.replaceState({}, "", m.toString()), a(!0), sessionStorage.setItem(or, "true"), window.dispatchEvent(new PopStateEvent("popstate")), h(A === "es" ? "Modo Backlog activado" : "Backlog Mode activated", "success"), B.current = !0, l.current = null;
|
|
1302
1302
|
}, 1e3));
|
|
1303
1303
|
}, U = (F) => {
|
|
1304
1304
|
if (F.key === "Alt" && (F.preventDefault(), l.current)) {
|
|
1305
1305
|
clearTimeout(l.current), l.current = null;
|
|
1306
|
-
const
|
|
1307
|
-
|
|
1306
|
+
const m = new URL(window.location.href);
|
|
1307
|
+
m.searchParams.delete("viewgate-backlog"), m.searchParams.set("viewgate", "true"), window.history.replaceState({}, "", m.toString()), a(!0), sessionStorage.setItem(or, "true"), window.dispatchEvent(new PopStateEvent("popstate")), h(A === "es" ? "Modo Normal activado" : "Normal Mode activated", "success");
|
|
1308
1308
|
}
|
|
1309
1309
|
};
|
|
1310
|
-
return window.addEventListener("keydown",
|
|
1311
|
-
window.removeEventListener("keydown",
|
|
1310
|
+
return window.addEventListener("keydown", C), window.addEventListener("keyup", U), () => {
|
|
1311
|
+
window.removeEventListener("keydown", C), window.removeEventListener("keyup", U);
|
|
1312
1312
|
};
|
|
1313
1313
|
}, [A]);
|
|
1314
1314
|
const f = () => {
|
|
1315
1315
|
if (sessionStorage.removeItem(or), a(!1), typeof window < "u") {
|
|
1316
|
-
const
|
|
1317
|
-
|
|
1316
|
+
const C = new URL(window.location.href);
|
|
1317
|
+
C.searchParams.delete("viewgate"), window.history.replaceState({}, "", C.toString());
|
|
1318
1318
|
}
|
|
1319
|
-
}, h = (
|
|
1319
|
+
}, h = (C, U) => {
|
|
1320
1320
|
const F = Date.now();
|
|
1321
|
-
g((
|
|
1322
|
-
g((
|
|
1321
|
+
g((m) => [...m, { id: F, message: C, type: U }]), setTimeout(() => {
|
|
1322
|
+
g((m) => m.filter((L) => L.id !== F));
|
|
1323
1323
|
}, 4e3);
|
|
1324
1324
|
}, w = Bd[A];
|
|
1325
1325
|
return /* @__PURE__ */ i.jsxs(xi.Provider, { "data-vg-id": "89da3486", "data-source-path": "/src/components/ViewGateProvider.tsx:371", value: {
|
|
@@ -1334,14 +1334,14 @@ const dd = [
|
|
|
1334
1334
|
}, children: [
|
|
1335
1335
|
t,
|
|
1336
1336
|
o && /* @__PURE__ */ i.jsx(bl, { "data-vg-id": "f1499d3a", "data-source-path": "/src/components/ViewGateProvider.tsx:383", children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "1bedb79b", "data-source-path": "/src/components/ViewGateProvider.tsx:384", className: "vg-container", children: [
|
|
1337
|
-
/* @__PURE__ */ i.jsx(
|
|
1338
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "1bedb79d", "data-source-path": "/src/components/ViewGateProvider.tsx:386", className: "vg-toasts", style: { zIndex: 2147483647 }, children: c.map((
|
|
1339
|
-
|
|
1337
|
+
/* @__PURE__ */ i.jsx(Cw, { "data-vg-id": "d3f262cb", "data-source-path": "/src/components/ViewGateProvider.tsx:385" }),
|
|
1338
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "1bedb79d", "data-source-path": "/src/components/ViewGateProvider.tsx:386", className: "vg-toasts", style: { zIndex: 2147483647 }, children: c.map((C) => /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "1bedb79e", "data-source-path": "/src/components/ViewGateProvider.tsx:388", className: `vg-toast vg-animate-slide ${C.type}`, children: [
|
|
1339
|
+
C.type === "success" ? /* @__PURE__ */ i.jsx(Ze, { "data-vg-id": "c7ae3b26", "data-source-path": "/src/components/ViewGateProvider.tsx:390", size: 24, color: "#22c55e" }) : C.type === "warning" ? /* @__PURE__ */ i.jsx(ld, { "data-vg-id": "137eb473", "data-source-path": "/src/components/ViewGateProvider.tsx:392", size: 24, color: "#f59e0b" }) : /* @__PURE__ */ i.jsx(kl, { "data-vg-id": "e7ad3c7c", "data-source-path": "/src/components/ViewGateProvider.tsx:394", size: 24, color: "#ef4444" }),
|
|
1340
1340
|
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "61c93bb7", "data-source-path": "/src/components/ViewGateProvider.tsx:396", children: [
|
|
1341
|
-
/* @__PURE__ */ i.jsx("strong", { "data-vg-id": "29b8e974", "data-source-path": "/src/components/ViewGateProvider.tsx:397", style: { display: "block", fontSize: "13px", color: "#0f172a", textTransform: "uppercase", marginBottom: "2px" }, children:
|
|
1342
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "fbbd7822", "data-source-path": "/src/components/ViewGateProvider.tsx:400", style: { fontSize: "14px", color: "#000000" }, children:
|
|
1341
|
+
/* @__PURE__ */ i.jsx("strong", { "data-vg-id": "29b8e974", "data-source-path": "/src/components/ViewGateProvider.tsx:397", style: { display: "block", fontSize: "13px", color: "#0f172a", textTransform: "uppercase", marginBottom: "2px" }, children: C.type === "success" ? w.successHeader : C.type === "warning" ? A === "es" ? "Aviso" : "Warning" : w.errorHeader }),
|
|
1342
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "fbbd7822", "data-source-path": "/src/components/ViewGateProvider.tsx:400", style: { fontSize: "14px", color: "#000000" }, children: C.message })
|
|
1343
1343
|
] })
|
|
1344
|
-
] },
|
|
1344
|
+
] }, C.id)) })
|
|
1345
1345
|
] }) })
|
|
1346
1346
|
] });
|
|
1347
1347
|
};
|
|
@@ -1409,16 +1409,16 @@ var pd = function(t) {
|
|
|
1409
1409
|
for (var A = t.length, e = [], r = 0; r < A; r += 2)
|
|
1410
1410
|
e.push(t[r + 1] << 8 | t[r]);
|
|
1411
1411
|
return e;
|
|
1412
|
-
},
|
|
1412
|
+
}, md = function(t) {
|
|
1413
1413
|
for (var A = t.length, e = [], r = 0; r < A; r += 4)
|
|
1414
1414
|
e.push(t[r + 3] << 24 | t[r + 2] << 16 | t[r + 1] << 8 | t[r]);
|
|
1415
1415
|
return e;
|
|
1416
|
-
}, rt = 5, go = 11, on = 2,
|
|
1416
|
+
}, rt = 5, go = 11, on = 2, Cd = go - rt, Ui = 65536 >> rt, Qd = 1 << rt, an = Qd - 1, xd = 1024 >> rt, Ud = Ui + xd, Fd = Ud, yd = 32, Ed = Fd + yd, bd = 65536 >> go, vd = 1 << Cd, Hd = vd - 1, Aa = function(t, A, e) {
|
|
1417
1417
|
return t.slice ? t.slice(A, e) : new Uint16Array(Array.prototype.slice.call(t, A, e));
|
|
1418
1418
|
}, Id = function(t, A, e) {
|
|
1419
1419
|
return t.slice ? t.slice(A, e) : new Uint32Array(Array.prototype.slice.call(t, A, e));
|
|
1420
1420
|
}, Sd = function(t, A) {
|
|
1421
|
-
var e = pd(t), r = Array.isArray(e) ?
|
|
1421
|
+
var e = pd(t), r = Array.isArray(e) ? md(e) : new Uint32Array(e), s = Array.isArray(e) ? wd(e) : new Uint16Array(e), n = 24, o = Aa(s, n / 2, r[4] / 2), a = r[5] === 2 ? Aa(s, (n + r[4]) / 2) : Id(r, Math.ceil((n + r[4]) / 4));
|
|
1422
1422
|
return new Ld(r[0], r[1], r[2], r[3], o, a);
|
|
1423
1423
|
}, Ld = (
|
|
1424
1424
|
/** @class */
|
|
@@ -1595,7 +1595,7 @@ var Od = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
1595
1595
|
}
|
|
1596
1596
|
};
|
|
1597
1597
|
};
|
|
1598
|
-
const $d = 1, Zd = 2, Lt = 4, la = 8, gs = 10, da = 47, ar = 92, qd = 9, AB = 32, Jr = 34, zt = 61, eB = 35, tB = 36, rB = 37, Yr = 39, $r = 40, Jt = 41, sB = 95, ZA = 45, nB = 33, oB = 60, aB = 62, iB = 64, cB = 91, lB = 93, dB = 61, BB = 123, Zr = 63, gB = 125, Ba = 124, uB = 126, fB = 128, ga = 65533, Bn = 42, et = 43, hB = 44, pB = 58, wB = 59, gr = 46,
|
|
1598
|
+
const $d = 1, Zd = 2, Lt = 4, la = 8, gs = 10, da = 47, ar = 92, qd = 9, AB = 32, Jr = 34, zt = 61, eB = 35, tB = 36, rB = 37, Yr = 39, $r = 40, Jt = 41, sB = 95, ZA = 45, nB = 33, oB = 60, aB = 62, iB = 64, cB = 91, lB = 93, dB = 61, BB = 123, Zr = 63, gB = 125, Ba = 124, uB = 126, fB = 128, ga = 65533, Bn = 42, et = 43, hB = 44, pB = 58, wB = 59, gr = 46, mB = 0, CB = 8, QB = 11, xB = 14, UB = 31, FB = 127, pe = -1, Ii = 48, Si = 97, Li = 101, yB = 102, EB = 117, bB = 122, Ti = 65, Oi = 69, Ki = 70, vB = 85, HB = 90, _A = (t) => t >= Ii && t <= 57, IB = (t) => t >= 55296 && t <= 57343, mt = (t) => _A(t) || t >= Ti && t <= Ki || t >= Si && t <= yB, SB = (t) => t >= Si && t <= bB, LB = (t) => t >= Ti && t <= HB, TB = (t) => SB(t) || LB(t), OB = (t) => t >= fB, qr = (t) => t === gs || t === qd || t === AB, us = (t) => TB(t) || OB(t) || t === sB, ua = (t) => us(t) || _A(t) || t === ZA, KB = (t) => t >= mB && t <= CB || t === QB || t >= xB && t <= UB || t === FB, Ge = (t, A) => t !== ar ? !1 : A !== gs, As = (t, A, e) => t === ZA ? us(A) || Ge(A, e) : us(t) ? !0 : !!(t === ar && Ge(t, A)), gn = (t, A, e) => t === et || t === ZA ? _A(A) ? !0 : A === gr && _A(e) : _A(t === gr ? A : t), DB = (t) => {
|
|
1599
1599
|
let A = 0, e = 1;
|
|
1600
1600
|
(t[A] === et || t[A] === ZA) && (t[A] === ZA && (e = -1), A++);
|
|
1601
1601
|
const r = [];
|
|
@@ -1780,7 +1780,7 @@ class Di {
|
|
|
1780
1780
|
case EB:
|
|
1781
1781
|
case vB:
|
|
1782
1782
|
const B = this.peekCodePoint(0), f = this.peekCodePoint(1);
|
|
1783
|
-
return B === et && (
|
|
1783
|
+
return B === et && (mt(f) || f === Zr) && (this.consumeCodePoint(), this.consumeUnicodeRangeToken()), this.reconsumeCodePoint(A), this.consumeIdentLikeToken();
|
|
1784
1784
|
case Ba:
|
|
1785
1785
|
if (this.peekCodePoint(0) === zt)
|
|
1786
1786
|
return this.consumeCodePoint(), _B;
|
|
@@ -1809,7 +1809,7 @@ class Di {
|
|
|
1809
1809
|
consumeUnicodeRangeToken() {
|
|
1810
1810
|
const A = [];
|
|
1811
1811
|
let e = this.consumeCodePoint();
|
|
1812
|
-
for (;
|
|
1812
|
+
for (; mt(e) && A.length < 6; )
|
|
1813
1813
|
A.push(e), e = this.consumeCodePoint();
|
|
1814
1814
|
let r = !1;
|
|
1815
1815
|
for (; e === Zr && A.length < 6; )
|
|
@@ -1819,10 +1819,10 @@ class Di {
|
|
|
1819
1819
|
return { type: 30, start: n, end: o };
|
|
1820
1820
|
}
|
|
1821
1821
|
const s = parseInt(xA(...A), 16);
|
|
1822
|
-
if (this.peekCodePoint(0) === ZA &&
|
|
1822
|
+
if (this.peekCodePoint(0) === ZA && mt(this.peekCodePoint(1))) {
|
|
1823
1823
|
this.consumeCodePoint(), e = this.consumeCodePoint();
|
|
1824
1824
|
const n = [];
|
|
1825
|
-
for (;
|
|
1825
|
+
for (; mt(e) && n.length < 6; )
|
|
1826
1826
|
n.push(e), e = this.consumeCodePoint();
|
|
1827
1827
|
const o = parseInt(xA(...n), 16);
|
|
1828
1828
|
return { type: 30, start: s, end: o };
|
|
@@ -1921,9 +1921,9 @@ class Di {
|
|
|
1921
1921
|
}
|
|
1922
1922
|
consumeEscapedCodePoint() {
|
|
1923
1923
|
const A = this.consumeCodePoint();
|
|
1924
|
-
if (
|
|
1924
|
+
if (mt(A)) {
|
|
1925
1925
|
let e = xA(A);
|
|
1926
|
-
for (;
|
|
1926
|
+
for (; mt(this.peekCodePoint(0)) && e.length < 6; )
|
|
1927
1927
|
e += xA(this.consumeCodePoint());
|
|
1928
1928
|
qr(this.peekCodePoint(0)) && this.consumeCodePoint();
|
|
1929
1929
|
const r = parseInt(e, 16);
|
|
@@ -2127,7 +2127,7 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2127
2127
|
type: 16,
|
|
2128
2128
|
number: 50,
|
|
2129
2129
|
flags: Lt
|
|
2130
|
-
},
|
|
2130
|
+
}, Ce = {
|
|
2131
2131
|
type: 16,
|
|
2132
2132
|
number: 100,
|
|
2133
2133
|
flags: Lt
|
|
@@ -2176,7 +2176,7 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2176
2176
|
case "to left bottom":
|
|
2177
2177
|
case "right top":
|
|
2178
2178
|
case "top right":
|
|
2179
|
-
return [vA,
|
|
2179
|
+
return [vA, Ce];
|
|
2180
2180
|
case "to right":
|
|
2181
2181
|
case "left":
|
|
2182
2182
|
return ie(90);
|
|
@@ -2184,7 +2184,7 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2184
2184
|
case "to left top":
|
|
2185
2185
|
case "right bottom":
|
|
2186
2186
|
case "bottom right":
|
|
2187
|
-
return [
|
|
2187
|
+
return [Ce, Ce];
|
|
2188
2188
|
case "to bottom":
|
|
2189
2189
|
case "top":
|
|
2190
2190
|
return ie(180);
|
|
@@ -2192,7 +2192,7 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2192
2192
|
case "to right top":
|
|
2193
2193
|
case "left bottom":
|
|
2194
2194
|
case "bottom left":
|
|
2195
|
-
return [
|
|
2195
|
+
return [Ce, vA];
|
|
2196
2196
|
case "to left":
|
|
2197
2197
|
case "right":
|
|
2198
2198
|
return ie(270);
|
|
@@ -2212,7 +2212,7 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2212
2212
|
}, at = (t) => (t[0].type === 20 ? t[0].value : "unknown") === "from", ig = (t) => ge(wA(Math.round(t[0] * 255), 0, 255), wA(Math.round(t[1] * 255), 0, 255), wA(Math.round(t[2] * 255), 0, 255), wA(t[3], 0, 1)), uo = ([t, A, e, r]) => {
|
|
2213
2213
|
const s = ot([t, A, e]);
|
|
2214
2214
|
return ge(wA(Math.round(s[0] * 255), 0, 255), wA(Math.round(s[1] * 255), 0, 255), wA(Math.round(s[2] * 255), 0, 255), r);
|
|
2215
|
-
},
|
|
2215
|
+
}, Cr = (t) => {
|
|
2216
2216
|
const A = We([t[0], t[1], t[2]]);
|
|
2217
2217
|
return uo([A[0], A[1], A[2], t[3]]);
|
|
2218
2218
|
}, cg = (t, A) => {
|
|
@@ -2333,12 +2333,12 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2333
2333
|
}, wg = (t, A) => {
|
|
2334
2334
|
const [e, r, s, n] = vs(A), [o, a, c] = Is([e, r, s]);
|
|
2335
2335
|
return [o, a, c, n];
|
|
2336
|
-
},
|
|
2336
|
+
}, mg = (t) => fo([t[0], t[1], t[2]]), ha = (t) => t, Cg = (t) => {
|
|
2337
2337
|
const [A, e, r] = Xi([t[0], t[2], t[3]]);
|
|
2338
2338
|
return [A, e, r, t[3]];
|
|
2339
|
-
}, pa = (t) =>
|
|
2340
|
-
const A =
|
|
2341
|
-
return
|
|
2339
|
+
}, pa = (t) => Cr([t[0], t[1], t[2], t[3]]), Qg = (t) => {
|
|
2340
|
+
const A = mg([t[0], t[1], t[2]]);
|
|
2341
|
+
return Cr([A[0], A[1], A[2], t[3]]);
|
|
2342
2342
|
}, xg = (t) => Ae([
|
|
2343
2343
|
0.4865709486482162,
|
|
2344
2344
|
0.26566769316909306,
|
|
@@ -2370,7 +2370,7 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2370
2370
|
return [A, e, r, t[3]];
|
|
2371
2371
|
}, vg = (t) => {
|
|
2372
2372
|
const A = Eg([t[0], t[1], t[2]]);
|
|
2373
|
-
return
|
|
2373
|
+
return Cr([A[0], A[1], A[2], t[3]]);
|
|
2374
2374
|
}, Hg = (t) => Ae([
|
|
2375
2375
|
2.0415879038107465,
|
|
2376
2376
|
-0.5650069742788596,
|
|
@@ -2437,7 +2437,7 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2437
2437
|
return [A, e, r, t[3]];
|
|
2438
2438
|
}, Vg = (t) => {
|
|
2439
2439
|
const A = Gg([t[0], t[1], t[2]]);
|
|
2440
|
-
return
|
|
2440
|
+
return Cr([A[0], A[1], A[2], t[3]]);
|
|
2441
2441
|
}, fs = 1.09929682680944, Ji = 0.018053968510807, Ng = (t) => t.map(function(A) {
|
|
2442
2442
|
return A < Ji * 4.5 ? A / 4.5 : Math.pow((A + fs - 1) / fs, 1 / 0.45);
|
|
2443
2443
|
}), _g = (t) => t.map(function(A) {
|
|
@@ -2470,7 +2470,7 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2470
2470
|
return [A, e, r, t[3]];
|
|
2471
2471
|
}, zg = (t) => {
|
|
2472
2472
|
const A = Wg([t[0], t[1], t[2]]);
|
|
2473
|
-
return
|
|
2473
|
+
return Cr([A[0], A[1], A[2], t[3]]);
|
|
2474
2474
|
}, _e = {
|
|
2475
2475
|
name: "color",
|
|
2476
2476
|
parse: (t, A) => {
|
|
@@ -2529,19 +2529,19 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2529
2529
|
}, Jg = (t, A) => {
|
|
2530
2530
|
const e = A.filter(kA), r = e[0].type === 20 ? e[0].value : "unknown";
|
|
2531
2531
|
if (!at(e)) {
|
|
2532
|
-
const n = r, o =
|
|
2532
|
+
const n = r, o = ma[n];
|
|
2533
2533
|
if (typeof o > "u")
|
|
2534
2534
|
throw new Error(`Attempting to parse an unsupported color space "${n}" for color() function`);
|
|
2535
2535
|
const a = bA(e[1]) ? e[1].number : 0, c = bA(e[2]) ? e[2].number : 0, g = bA(e[3]) ? e[3].number : 0, l = e.length > 4 && e[4].type === 6 && e[4].value === "/" && bA(e[5]) ? e[5].number : 1;
|
|
2536
2536
|
return o([a, c, g, l]);
|
|
2537
2537
|
} else {
|
|
2538
|
-
const n = (
|
|
2538
|
+
const n = (m, L) => {
|
|
2539
2539
|
if (bA(L))
|
|
2540
2540
|
return L.number;
|
|
2541
2541
|
const v = (O) => O === "r" || O === "x" ? 0 : O === "g" || O === "y" ? 1 : 2;
|
|
2542
2542
|
if (V(L)) {
|
|
2543
2543
|
const O = v(L.value);
|
|
2544
|
-
return
|
|
2544
|
+
return m[O];
|
|
2545
2545
|
}
|
|
2546
2546
|
const H = (O) => {
|
|
2547
2547
|
const _ = O.filter(kA);
|
|
@@ -2553,7 +2553,7 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2553
2553
|
if (L.type === 18) {
|
|
2554
2554
|
const O = L.values.filter(kA);
|
|
2555
2555
|
if (L.name === "calc") {
|
|
2556
|
-
const _ = H(O).replace(/r|x/,
|
|
2556
|
+
const _ = H(O).replace(/r|x/, m[0].toString()).replace(/g|y/, m[1].toString()).replace(/b|z/, m[2].toString());
|
|
2557
2557
|
return new Function("return " + _)();
|
|
2558
2558
|
}
|
|
2559
2559
|
}
|
|
@@ -2573,9 +2573,9 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2573
2573
|
];
|
|
2574
2574
|
}
|
|
2575
2575
|
} else if (e[1].type === 5) {
|
|
2576
|
-
const [
|
|
2576
|
+
const [m, L, v, H] = Yi(e[1]);
|
|
2577
2577
|
c = [
|
|
2578
|
-
{ type: 17, number:
|
|
2578
|
+
{ type: 17, number: m, flags: 1 },
|
|
2579
2579
|
{ type: 17, number: L, flags: 1 },
|
|
2580
2580
|
{ type: 17, number: v, flags: 1 },
|
|
2581
2581
|
{ type: 17, number: H > 1 ? H / 255 : H, flags: 1 }
|
|
@@ -2585,17 +2585,17 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2585
2585
|
throw new Error("Attempting to use unknown color in relative color 'from'");
|
|
2586
2586
|
if (a === "unknown")
|
|
2587
2587
|
throw new Error("Attempting to use unknown colorspace in relative color 'to'");
|
|
2588
|
-
const g = Yg[o], l = $g[a], B =
|
|
2588
|
+
const g = Yg[o], l = $g[a], B = ma[a];
|
|
2589
2589
|
if (typeof g > "u")
|
|
2590
2590
|
throw new Error(`Attempting to parse an unsupported color space "${o}" for color() function`);
|
|
2591
2591
|
if (typeof l > "u")
|
|
2592
2592
|
throw new Error(`Attempting to parse an unsupported color space "${a}" for color() function`);
|
|
2593
|
-
const f = g(t, c), h = l(f), w = n(h, e[3]),
|
|
2594
|
-
if (w === null ||
|
|
2593
|
+
const f = g(t, c), h = l(f), w = n(h, e[3]), C = n(h, e[4]), U = n(h, e[5]), F = e.length > 6 && e[6].type === 6 && e[6].value === "/" && bA(e[7]) ? e[7].number : 1;
|
|
2594
|
+
if (w === null || C === null || U === null)
|
|
2595
2595
|
throw new Error("Invalid relative color in color() function");
|
|
2596
|
-
return B([w,
|
|
2596
|
+
return B([w, C, U, F]);
|
|
2597
2597
|
}
|
|
2598
|
-
},
|
|
2598
|
+
}, ma = {
|
|
2599
2599
|
srgb: ig,
|
|
2600
2600
|
"srgb-linear": uo,
|
|
2601
2601
|
"display-p3": vg,
|
|
@@ -2619,7 +2619,7 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2619
2619
|
"a98-rgb": Tg,
|
|
2620
2620
|
"prophoto-rgb": Mg,
|
|
2621
2621
|
xyz: ha,
|
|
2622
|
-
"xyz-d50":
|
|
2622
|
+
"xyz-d50": Cg,
|
|
2623
2623
|
"xyz-d65": ha,
|
|
2624
2624
|
rec2020: Xg
|
|
2625
2625
|
}, Zg = {
|
|
@@ -2806,9 +2806,9 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2806
2806
|
}, Ls = (t, A) => {
|
|
2807
2807
|
const e = _e.parse(t, A[0]), r = A[1];
|
|
2808
2808
|
return r && $(r) ? { color: e, stop: r } : { color: e, stop: null };
|
|
2809
|
-
},
|
|
2809
|
+
}, Ca = (t, A) => {
|
|
2810
2810
|
const e = t[0], r = t[t.length - 1];
|
|
2811
|
-
e.stop === null && (e.stop = vA), r.stop === null && (r.stop =
|
|
2811
|
+
e.stop === null && (e.stop = vA), r.stop === null && (r.stop = Ce);
|
|
2812
2812
|
const s = [];
|
|
2813
2813
|
let n = 0;
|
|
2814
2814
|
for (let a = 0; a < t.length; a++) {
|
|
@@ -2944,7 +2944,7 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2944
2944
|
r.push({ stop: vA, color: B });
|
|
2945
2945
|
} else if (l.name === "to") {
|
|
2946
2946
|
const B = _e.parse(t, l.values[0]);
|
|
2947
|
-
r.push({ stop:
|
|
2947
|
+
r.push({ stop: Ce, color: B });
|
|
2948
2948
|
} else if (l.name === "color-stop") {
|
|
2949
2949
|
const B = l.values.filter(kA);
|
|
2950
2950
|
if (B.length === 2) {
|
|
@@ -2979,7 +2979,7 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
2979
2979
|
return n.push(vA), l;
|
|
2980
2980
|
case "right":
|
|
2981
2981
|
case "bottom":
|
|
2982
|
-
return n.push(
|
|
2982
|
+
return n.push(Ce), l;
|
|
2983
2983
|
}
|
|
2984
2984
|
else ($(B) || je(B)) && n.push(B);
|
|
2985
2985
|
else if (V(B))
|
|
@@ -3033,7 +3033,7 @@ const xe = (t) => t.type === 15, bA = (t) => t.type === 17, V = (t) => t.type ==
|
|
|
3033
3033
|
return n.push(vA), !1;
|
|
3034
3034
|
case "right":
|
|
3035
3035
|
case "bottom":
|
|
3036
|
-
return n.push(
|
|
3036
|
+
return n.push(Ce), !1;
|
|
3037
3037
|
}
|
|
3038
3038
|
else if ($(l) || je(l))
|
|
3039
3039
|
return n.push(l), !1;
|
|
@@ -3174,7 +3174,7 @@ const fu = {
|
|
|
3174
3174
|
prefix: !1,
|
|
3175
3175
|
type: 3,
|
|
3176
3176
|
format: "color"
|
|
3177
|
-
}), pu = Ts("top"), wu = Ts("right"),
|
|
3177
|
+
}), pu = Ts("top"), wu = Ts("right"), mu = Ts("bottom"), Cu = Ts("left"), Os = (t) => ({
|
|
3178
3178
|
name: `border-radius-${t}`,
|
|
3179
3179
|
initialValue: "0 0",
|
|
3180
3180
|
prefix: !1,
|
|
@@ -3219,13 +3219,13 @@ const fu = {
|
|
|
3219
3219
|
A = vA;
|
|
3220
3220
|
break;
|
|
3221
3221
|
case "right":
|
|
3222
|
-
A =
|
|
3222
|
+
A = Ce;
|
|
3223
3223
|
break;
|
|
3224
3224
|
case "top":
|
|
3225
3225
|
e = vA;
|
|
3226
3226
|
break;
|
|
3227
3227
|
case "bottom":
|
|
3228
|
-
e =
|
|
3228
|
+
e = Ce;
|
|
3229
3229
|
break;
|
|
3230
3230
|
case "center":
|
|
3231
3231
|
A === null ? A = tt : e === null && (e = tt);
|
|
@@ -3743,7 +3743,7 @@ var ir;
|
|
|
3743
3743
|
(function(t) {
|
|
3744
3744
|
t.NORMAL = "normal", t.BREAK_ALL = "break-all", t.KEEP_ALL = "keep-all";
|
|
3745
3745
|
})(ir || (ir = {}));
|
|
3746
|
-
const
|
|
3746
|
+
const mf = {
|
|
3747
3747
|
name: "word-break",
|
|
3748
3748
|
initialValue: "normal",
|
|
3749
3749
|
prefix: !1,
|
|
@@ -3758,7 +3758,7 @@ const Cf = {
|
|
|
3758
3758
|
return ir.NORMAL;
|
|
3759
3759
|
}
|
|
3760
3760
|
}
|
|
3761
|
-
},
|
|
3761
|
+
}, Cf = {
|
|
3762
3762
|
name: "z-index",
|
|
3763
3763
|
initialValue: "auto",
|
|
3764
3764
|
prefix: !1,
|
|
@@ -4124,9 +4124,9 @@ const jf = {
|
|
|
4124
4124
|
};
|
|
4125
4125
|
class Wf {
|
|
4126
4126
|
constructor(A, e) {
|
|
4127
|
-
this.animationDuration = E(A, Kf, e.animationDuration), this.backgroundClip = E(A, qg, e.backgroundClip), this.backgroundColor = E(A, Au, e.backgroundColor), this.backgroundImage = E(A, lu, e.backgroundImage), this.backgroundOrigin = E(A, du, e.backgroundOrigin), this.backgroundPosition = E(A, Bu, e.backgroundPosition), this.backgroundRepeat = E(A, gu, e.backgroundRepeat), this.backgroundSize = E(A, fu, e.backgroundSize), this.borderTopColor = E(A, pu, e.borderTopColor), this.borderRightColor = E(A, wu, e.borderRightColor), this.borderBottomColor = E(A,
|
|
4127
|
+
this.animationDuration = E(A, Kf, e.animationDuration), this.backgroundClip = E(A, qg, e.backgroundClip), this.backgroundColor = E(A, Au, e.backgroundColor), this.backgroundImage = E(A, lu, e.backgroundImage), this.backgroundOrigin = E(A, du, e.backgroundOrigin), this.backgroundPosition = E(A, Bu, e.backgroundPosition), this.backgroundRepeat = E(A, gu, e.backgroundRepeat), this.backgroundSize = E(A, fu, e.backgroundSize), this.borderTopColor = E(A, pu, e.borderTopColor), this.borderRightColor = E(A, wu, e.borderRightColor), this.borderBottomColor = E(A, mu, e.borderBottomColor), this.borderLeftColor = E(A, Cu, e.borderLeftColor), this.borderTopLeftRadius = E(A, Qu, e.borderTopLeftRadius), this.borderTopRightRadius = E(A, xu, e.borderTopRightRadius), this.borderBottomRightRadius = E(A, Uu, e.borderBottomRightRadius), this.borderBottomLeftRadius = E(A, Fu, e.borderBottomLeftRadius), this.borderTopStyle = E(A, yu, e.borderTopStyle), this.borderRightStyle = E(A, Eu, e.borderRightStyle), this.borderBottomStyle = E(A, bu, e.borderBottomStyle), this.borderLeftStyle = E(A, vu, e.borderLeftStyle), this.borderTopWidth = E(A, Hu, e.borderTopWidth), this.borderRightWidth = E(A, Iu, e.borderRightWidth), this.borderBottomWidth = E(A, Su, e.borderBottomWidth), this.borderLeftWidth = E(A, Lu, e.borderLeftWidth), this.boxShadow = E(A, Rf, e.boxShadow), this.clipPath = E(A, ku, e.clipPath), this.color = E(A, Gu, e.color), this.direction = E(A, Mu, e.direction), this.display = E(A, Vu, e.display), this.float = E(A, _u, e.cssFloat), this.fontFamily = E(A, bf, e.fontFamily), this.fontSize = E(A, vf, e.fontSize), this.fontStyle = E(A, Sf, e.fontStyle), this.fontVariant = E(A, If, e.fontVariant), this.fontWeight = E(A, Hf, e.fontWeight), this.letterSpacing = E(A, Pu, e.letterSpacing), this.lineBreak = E(A, ju, e.lineBreak), this.lineHeight = E(A, Wu, e.lineHeight), this.listStyleImage = E(A, Xu, e.listStyleImage), this.listStylePosition = E(A, zu, e.listStylePosition), this.listStyleType = E(A, Ao, e.listStyleType), this.marginTop = E(A, Ju, e.marginTop), this.marginRight = E(A, Yu, e.marginRight), this.marginBottom = E(A, $u, e.marginBottom), this.marginLeft = E(A, Zu, e.marginLeft), this.opacity = E(A, Qf, e.opacity);
|
|
4128
4128
|
const r = E(A, qu, e.overflow);
|
|
4129
|
-
this.overflowX = r[0], this.overflowY = r[r.length > 1 ? 1 : 0], this.overflowWrap = E(A, Af, e.overflowWrap), this.paddingTop = E(A, ef, e.paddingTop), this.paddingRight = E(A, tf, e.paddingRight), this.paddingBottom = E(A, rf, e.paddingBottom), this.paddingLeft = E(A, sf, e.paddingLeft), this.paintOrder = E(A, kf, e.paintOrder), this.position = E(A, of, e.position), this.textAlign = E(A, nf, e.textAlign), this.textDecorationColor = E(A, xf, e.textDecorationColor ?? e.color), this.textDecorationLine = E(A, Uf, e.textDecorationLine ?? e.textDecoration), this.textDecorationStyle = E(A, Ff, e.textDecorationStyle), this.textDecorationThickness = E(A, yf, e.textDecorationThickness), this.textUnderlineOffset = E(A, Ef, e.textUnderlineOffset), this.textShadow = E(A, af, e.textShadow), this.textTransform = E(A, cf, e.textTransform), this.textOverflow = E(A, Pf, e.textOverflow), this.transform = E(A, lf, e.transform), this.transformOrigin = E(A, hf, e.transformOrigin), this.rotate = E(A, pf, e.rotate), this.visibility = E(A, wf, e.visibility), this.webkitTextStrokeColor = E(A, Gf, e.webkitTextStrokeColor), this.webkitTextStrokeWidth = E(A, Mf, e.webkitTextStrokeWidth), this.webkitLineClamp = E(A, Vf, e.webkitLineClamp), this.wordBreak = E(A,
|
|
4129
|
+
this.overflowX = r[0], this.overflowY = r[r.length > 1 ? 1 : 0], this.overflowWrap = E(A, Af, e.overflowWrap), this.paddingTop = E(A, ef, e.paddingTop), this.paddingRight = E(A, tf, e.paddingRight), this.paddingBottom = E(A, rf, e.paddingBottom), this.paddingLeft = E(A, sf, e.paddingLeft), this.paintOrder = E(A, kf, e.paintOrder), this.position = E(A, of, e.position), this.textAlign = E(A, nf, e.textAlign), this.textDecorationColor = E(A, xf, e.textDecorationColor ?? e.color), this.textDecorationLine = E(A, Uf, e.textDecorationLine ?? e.textDecoration), this.textDecorationStyle = E(A, Ff, e.textDecorationStyle), this.textDecorationThickness = E(A, yf, e.textDecorationThickness), this.textUnderlineOffset = E(A, Ef, e.textUnderlineOffset), this.textShadow = E(A, af, e.textShadow), this.textTransform = E(A, cf, e.textTransform), this.textOverflow = E(A, Pf, e.textOverflow), this.transform = E(A, lf, e.transform), this.transformOrigin = E(A, hf, e.transformOrigin), this.rotate = E(A, pf, e.rotate), this.visibility = E(A, wf, e.visibility), this.webkitTextStrokeColor = E(A, Gf, e.webkitTextStrokeColor), this.webkitTextStrokeWidth = E(A, Mf, e.webkitTextStrokeWidth), this.webkitLineClamp = E(A, Vf, e.webkitLineClamp), this.wordBreak = E(A, mf, e.wordBreak), this.zIndex = E(A, Cf, e.zIndex), this.objectFit = E(A, Nf, e.objectFit), this.imageRendering = E(A, jf, e.imageRendering);
|
|
4130
4130
|
}
|
|
4131
4131
|
isVisible() {
|
|
4132
4132
|
return this.display > 0 && this.opacity > 0 && this.visibility === 0;
|
|
@@ -4365,7 +4365,7 @@ var qf = function(t) {
|
|
|
4365
4365
|
), Ia = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", fh = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
|
|
4366
4366
|
for (var ns = 0; ns < Ia.length; ns++)
|
|
4367
4367
|
fh[Ia.charCodeAt(ns)] = ns;
|
|
4368
|
-
var hh = 1, pn = 2, wn = 3, Sa = 4, La = 5, ph = 7, Ta = 8,
|
|
4368
|
+
var hh = 1, pn = 2, wn = 3, Sa = 4, La = 5, ph = 7, Ta = 8, mn = 9, Cn = 10, Oa = 11, Ka = 12, Da = 13, Ra = 14, Qn = 15, wh = function(t) {
|
|
4369
4369
|
for (var A = [], e = 0, r = t.length; e < r; ) {
|
|
4370
4370
|
var s = t.charCodeAt(e++);
|
|
4371
4371
|
if (s >= 55296 && s <= 56319 && e < r) {
|
|
@@ -4375,7 +4375,7 @@ var hh = 1, pn = 2, wn = 3, Sa = 4, La = 5, ph = 7, Ta = 8, Cn = 9, mn = 10, Oa
|
|
|
4375
4375
|
A.push(s);
|
|
4376
4376
|
}
|
|
4377
4377
|
return A;
|
|
4378
|
-
},
|
|
4378
|
+
}, mh = function() {
|
|
4379
4379
|
for (var t = [], A = 0; A < arguments.length; A++)
|
|
4380
4380
|
t[A] = arguments[A];
|
|
4381
4381
|
if (String.fromCodePoint)
|
|
@@ -4388,15 +4388,15 @@ var hh = 1, pn = 2, wn = 3, Sa = 4, La = 5, ph = 7, Ta = 8, Cn = 9, mn = 10, Oa
|
|
|
4388
4388
|
o <= 65535 ? r.push(o) : (o -= 65536, r.push((o >> 10) + 55296, o % 1024 + 56320)), (s + 1 === e || r.length > 16384) && (n += String.fromCharCode.apply(String, r), r.length = 0);
|
|
4389
4389
|
}
|
|
4390
4390
|
return n;
|
|
4391
|
-
},
|
|
4392
|
-
return
|
|
4391
|
+
}, Ch = gh(Zf), ae = "×", xn = "÷", Qh = function(t) {
|
|
4392
|
+
return Ch.get(t);
|
|
4393
4393
|
}, xh = function(t, A, e) {
|
|
4394
4394
|
var r = e - 2, s = A[r], n = A[e - 1], o = A[e];
|
|
4395
4395
|
if (n === pn && o === wn)
|
|
4396
4396
|
return ae;
|
|
4397
4397
|
if (n === pn || n === wn || n === Sa || o === pn || o === wn || o === Sa)
|
|
4398
4398
|
return xn;
|
|
4399
|
-
if (n === Ta && [Ta,
|
|
4399
|
+
if (n === Ta && [Ta, mn, Oa, Ka].indexOf(o) !== -1 || (n === Oa || n === mn) && (o === mn || o === Cn) || (n === Ka || n === Cn) && o === Cn || o === Da || o === La || o === ph || n === hh)
|
|
4400
4400
|
return ae;
|
|
4401
4401
|
if (n === Da && o === Ra) {
|
|
4402
4402
|
for (; s === La; )
|
|
@@ -4420,7 +4420,7 @@ var hh = 1, pn = 2, wn = 3, Sa = 4, La = 5, ph = 7, Ta = 8, Cn = 9, mn = 10, Oa
|
|
|
4420
4420
|
for (var o = ae; r < e && (o = xh(A, n, ++r)) === ae; )
|
|
4421
4421
|
;
|
|
4422
4422
|
if (o !== ae || r === e) {
|
|
4423
|
-
var a =
|
|
4423
|
+
var a = mh.apply(null, A.slice(s, r));
|
|
4424
4424
|
return s = r, { value: a, done: !1 };
|
|
4425
4425
|
}
|
|
4426
4426
|
return { done: !0, value: null };
|
|
@@ -4662,10 +4662,10 @@ const Vh = [
|
|
|
4662
4662
|
], _h = (t) => t.width > t.height ? new jA(t.left + (t.width - t.height) / 2, t.top, t.height, t.height) : t.width < t.height ? new jA(t.left, t.top + (t.height - t.width) / 2, t.width, t.width) : t, Ph = (t) => {
|
|
4663
4663
|
const A = t.type === Wh ? new Array(t.value.length + 1).join("•") : t.value;
|
|
4664
4664
|
return A.length === 0 ? t.placeholder || "" : A;
|
|
4665
|
-
}, jh = (t) => t.value.length === 0 && !!t.placeholder, ws = "checkbox",
|
|
4665
|
+
}, jh = (t) => t.value.length === 0 && !!t.placeholder, ws = "checkbox", ms = "radio", Wh = "password", Va = 707406591, Xh = 1970632191;
|
|
4666
4666
|
class cr extends Ue {
|
|
4667
4667
|
constructor(A, e) {
|
|
4668
|
-
switch (super(A, e), this.type = e.type.toLowerCase(), this.checked = e.checked, this.value = Ph(e), this.isPlaceholder = jh(e), (this.type === ws || this.type ===
|
|
4668
|
+
switch (super(A, e), this.type = e.type.toLowerCase(), this.checked = e.checked, this.value = Ph(e), this.isPlaceholder = jh(e), (this.type === ws || this.type === ms) && (this.styles.backgroundColor = 3739148031, this.styles.borderTopColor = this.styles.borderRightColor = this.styles.borderBottomColor = this.styles.borderLeftColor = 2779096575, this.styles.borderTopWidth = this.styles.borderRightWidth = this.styles.borderBottomWidth = this.styles.borderLeftWidth = 1, this.styles.borderTopStyle = this.styles.borderRightStyle = this.styles.borderBottomStyle = this.styles.borderLeftStyle = 1, this.styles.backgroundClip = [
|
|
4669
4669
|
0
|
|
4670
4670
|
/* BACKGROUND_CLIP.BORDER_BOX */
|
|
4671
4671
|
], this.styles.backgroundOrigin = [
|
|
@@ -4675,7 +4675,7 @@ class cr extends Ue {
|
|
|
4675
4675
|
case ws:
|
|
4676
4676
|
this.styles.borderTopRightRadius = this.styles.borderTopLeftRadius = this.styles.borderBottomRightRadius = this.styles.borderBottomLeftRadius = Vh;
|
|
4677
4677
|
break;
|
|
4678
|
-
case
|
|
4678
|
+
case ms:
|
|
4679
4679
|
this.styles.borderTopRightRadius = this.styles.borderTopLeftRadius = this.styles.borderBottomRightRadius = this.styles.borderBottomLeftRadius = Nh;
|
|
4680
4680
|
break;
|
|
4681
4681
|
}
|
|
@@ -4715,9 +4715,9 @@ const zh = ["OL", "UL", "MENU"], Bs = (t, A, e, r) => {
|
|
|
4715
4715
|
s.assignedNodes().forEach((o) => Bs(t, o, e, r));
|
|
4716
4716
|
else {
|
|
4717
4717
|
const o = pc(t, s);
|
|
4718
|
-
o.styles.isVisible() && (Jh(s, o, r) ? o.flags |= 4 : Yh(o.styles) && (o.flags |= 2), zh.indexOf(s.tagName) !== -1 && (o.flags |= 8), e.elements.push(o), s.slot, s.shadowRoot ? Bs(t, s.shadowRoot, o, r) : !
|
|
4718
|
+
o.styles.isVisible() && (Jh(s, o, r) ? o.flags |= 4 : Yh(o.styles) && (o.flags |= 2), zh.indexOf(s.tagName) !== -1 && (o.flags |= 8), e.elements.push(o), s.slot, s.shadowRoot ? Bs(t, s.shadowRoot, o, r) : !Cs(s) && !mc(s) && !Qs(s) && Bs(t, s, o, r));
|
|
4719
4719
|
}
|
|
4720
|
-
}, pc = (t, A) => so(A) ? new lc(t, A) :
|
|
4720
|
+
}, pc = (t, A) => so(A) ? new lc(t, A) : Cc(A) ? new dc(t, A) : mc(A) ? new Bc(t, A) : zf(A) ? new gc(t, A) : Jf(A) ? new ro(t, A) : $h(A) ? new cr(t, A) : Qs(A) ? new uc(t, A) : Cs(A) ? new fc(t, A) : Qc(A) ? new hc(t, A, wc) : new Ue(t, A), wc = (t, A) => {
|
|
4721
4721
|
const e = pc(t, A);
|
|
4722
4722
|
return e.flags |= 4, Bs(t, A, e, e), e;
|
|
4723
4723
|
}, Jh = (t, A, e) => A.styles.isPositionedWithZIndex() || A.styles.opacity < 1 || A.styles.isTransformed() || wo(t) && e.styles.isTransparent(), Yh = (t) => t.isPositioned() || t.isFloating() ? !0 : BA(
|
|
@@ -4736,7 +4736,7 @@ const zh = ["OL", "UL", "MENU"], Bs = (t, A, e, r) => {
|
|
|
4736
4736
|
t.display,
|
|
4737
4737
|
134217728
|
|
4738
4738
|
/* DISPLAY.INLINE_TABLE */
|
|
4739
|
-
), $h = (t) => t.tagName === "INPUT", Zh = (t) => t.tagName === "HTML",
|
|
4739
|
+
), $h = (t) => t.tagName === "INPUT", Zh = (t) => t.tagName === "HTML", mc = (t) => t.tagName === "svg", wo = (t) => t.tagName === "BODY", Cc = (t) => t.tagName === "CANVAS", Na = (t) => t.tagName === "VIDEO", so = (t) => t.tagName === "IMG", Qc = (t) => t.tagName === "IFRAME", Un = (t) => t.tagName === "STYLE", _a = (t) => t.tagName === "SCRIPT", Cs = (t) => t.tagName === "TEXTAREA", Qs = (t) => t.tagName === "SELECT", rr = (t) => t.tagName === "SLOT";
|
|
4740
4740
|
class qh {
|
|
4741
4741
|
constructor() {
|
|
4742
4742
|
this.counters = {};
|
|
@@ -5004,7 +5004,7 @@ const Pa = {
|
|
|
5004
5004
|
"ბ",
|
|
5005
5005
|
"ა"
|
|
5006
5006
|
]
|
|
5007
|
-
},
|
|
5007
|
+
}, Ct = (t, A, e, r, s, n) => t < A || t > e ? hr(t, s, n.length > 0) : r.integers.reduce((o, a, c) => {
|
|
5008
5008
|
for (; t >= a; )
|
|
5009
5009
|
t -= a, o += r.values[c];
|
|
5010
5010
|
return o;
|
|
@@ -5046,9 +5046,9 @@ const Pa = {
|
|
|
5046
5046
|
case 4:
|
|
5047
5047
|
return $e(t, "〇一二三四五六七八九", s);
|
|
5048
5048
|
case 6:
|
|
5049
|
-
return
|
|
5049
|
+
return Ct(t, 1, 3999, Pa, 3, r).toLowerCase();
|
|
5050
5050
|
case 7:
|
|
5051
|
-
return
|
|
5051
|
+
return Ct(t, 1, 3999, Pa, 3, r);
|
|
5052
5052
|
case 8:
|
|
5053
5053
|
return QA(t, 945, 969, !1, r);
|
|
5054
5054
|
case 9:
|
|
@@ -5059,9 +5059,9 @@ const Pa = {
|
|
|
5059
5059
|
return QA(t, 1632, 1641, !0, r);
|
|
5060
5060
|
case 12:
|
|
5061
5061
|
case 49:
|
|
5062
|
-
return
|
|
5062
|
+
return Ct(t, 1, 9999, ja, 3, r);
|
|
5063
5063
|
case 35:
|
|
5064
|
-
return
|
|
5064
|
+
return Ct(t, 1, 9999, ja, 3, r).toLowerCase();
|
|
5065
5065
|
case 13:
|
|
5066
5066
|
return QA(t, 2534, 2543, !0, r);
|
|
5067
5067
|
case 14:
|
|
@@ -5093,13 +5093,13 @@ const Pa = {
|
|
|
5093
5093
|
case 18:
|
|
5094
5094
|
return QA(t, 2406, 2415, !0, r);
|
|
5095
5095
|
case 20:
|
|
5096
|
-
return
|
|
5096
|
+
return Ct(t, 1, 19999, ep, 3, r);
|
|
5097
5097
|
case 21:
|
|
5098
5098
|
return QA(t, 2790, 2799, !0, r);
|
|
5099
5099
|
case 22:
|
|
5100
5100
|
return QA(t, 2662, 2671, !0, r);
|
|
5101
5101
|
case 52:
|
|
5102
|
-
return
|
|
5102
|
+
return Ct(t, 1, 10999, Ap, 3, r);
|
|
5103
5103
|
case 23:
|
|
5104
5104
|
return $e(t, "あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");
|
|
5105
5105
|
case 24:
|
|
@@ -5170,7 +5170,7 @@ class Ja {
|
|
|
5170
5170
|
const f = this.referenceElement.ownerDocument?.defaultView, h = f && f.trustedTypes;
|
|
5171
5171
|
let w = h?.getPolicy?.("html2canvas-pro");
|
|
5172
5172
|
!w && h && (w = h.createPolicy("html2canvas-pro", {
|
|
5173
|
-
createHTML: (
|
|
5173
|
+
createHTML: (C) => C
|
|
5174
5174
|
})), w ? a.write(w.createHTML(l)) : a.write(l);
|
|
5175
5175
|
} catch {
|
|
5176
5176
|
a.write(l);
|
|
@@ -5186,7 +5186,7 @@ class Ja {
|
|
|
5186
5186
|
/* DebuggerType.CLONE */
|
|
5187
5187
|
))
|
|
5188
5188
|
debugger;
|
|
5189
|
-
if (
|
|
5189
|
+
if (Cc(A))
|
|
5190
5190
|
return this.createCanvasClone(A);
|
|
5191
5191
|
if (Na(A))
|
|
5192
5192
|
return this.createVideoClone(A);
|
|
@@ -5374,7 +5374,7 @@ class Ja {
|
|
|
5374
5374
|
const c = this.counters.parse(new ya(this.context, n)), g = this.resolvePseudoContent(A, s, o, lr.BEFORE);
|
|
5375
5375
|
Ea(A) && (e = !0), Na(A) || this.cloneChildNodes(A, s, e), g && s.insertBefore(g, s.firstChild);
|
|
5376
5376
|
const l = this.resolvePseudoContent(A, s, a, lr.AFTER);
|
|
5377
|
-
return l && s.appendChild(l), this.counters.pop(c), (n && (this.options.copyStyles || Et(A)) && !Qc(A) || e) && yn(n, s), (A.scrollTop !== 0 || A.scrollLeft !== 0) && this.scrolledElements.push([s, A.scrollLeft, A.scrollTop]), (
|
|
5377
|
+
return l && s.appendChild(l), this.counters.pop(c), (n && (this.options.copyStyles || Et(A)) && !Qc(A) || e) && yn(n, s), (A.scrollTop !== 0 || A.scrollLeft !== 0) && this.scrolledElements.push([s, A.scrollLeft, A.scrollTop]), (Cs(A) || Qs(A)) && (Cs(s) || Qs(s)) && (s.value = A.value), s;
|
|
5378
5378
|
}
|
|
5379
5379
|
return A.cloneNode(!1);
|
|
5380
5380
|
}
|
|
@@ -5405,7 +5405,7 @@ class Ja {
|
|
|
5405
5405
|
} else if (l.name === "counters") {
|
|
5406
5406
|
const [B, f, h] = l.values.filter(kA);
|
|
5407
5407
|
if (B && V(B)) {
|
|
5408
|
-
const w = this.counters.getCounterValues(B.value),
|
|
5408
|
+
const w = this.counters.getCounterValues(B.value), C = h && V(h) ? Ao.parse(this.context, h.value) : 3, U = f && f.type === 0 ? f.value : "", F = w.map((m) => hr(m, C, !1)).join(U);
|
|
5409
5409
|
c.appendChild(o.createTextNode(F));
|
|
5410
5410
|
}
|
|
5411
5411
|
}
|
|
@@ -5527,8 +5527,8 @@ class hp {
|
|
|
5527
5527
|
f.push((s + o) / r.width), f.push((l + c) / r.width), f.push((n + B) / r.height), f.push((a + g) / r.height);
|
|
5528
5528
|
const h = Math.max(...f);
|
|
5529
5529
|
h > 1 && (s /= h, n /= h, o /= h, a /= h, c /= h, g /= h, l /= h, B /= h);
|
|
5530
|
-
const w = r.width - o,
|
|
5531
|
-
this.topLeftBorderDoubleOuterBox = s > 0 || n > 0 ? aA(r.left + H / 3, r.top +
|
|
5530
|
+
const w = r.width - o, C = r.height - g, U = r.width - c, F = r.height - B, m = e.borderTopWidth, L = e.borderRightWidth, v = e.borderBottomWidth, H = e.borderLeftWidth, O = G(e.paddingTop, A.bounds.width), _ = G(e.paddingRight, A.bounds.width), W = G(e.paddingBottom, A.bounds.width), D = G(e.paddingLeft, A.bounds.width);
|
|
5531
|
+
this.topLeftBorderDoubleOuterBox = s > 0 || n > 0 ? aA(r.left + H / 3, r.top + m / 3, s - H / 3, n - m / 3, Y.TOP_LEFT) : new I(r.left + H / 3, r.top + m / 3), this.topRightBorderDoubleOuterBox = s > 0 || n > 0 ? aA(r.left + w, r.top + m / 3, o - L / 3, a - m / 3, Y.TOP_RIGHT) : new I(r.left + r.width - L / 3, r.top + m / 3), this.bottomRightBorderDoubleOuterBox = c > 0 || g > 0 ? aA(r.left + U, r.top + C, c - L / 3, g - v / 3, Y.BOTTOM_RIGHT) : new I(r.left + r.width - L / 3, r.top + r.height - v / 3), this.bottomLeftBorderDoubleOuterBox = l > 0 || B > 0 ? aA(r.left + H / 3, r.top + F, l - H / 3, B - v / 3, Y.BOTTOM_LEFT) : new I(r.left + H / 3, r.top + r.height - v / 3), this.topLeftBorderDoubleInnerBox = s > 0 || n > 0 ? aA(r.left + H * 2 / 3, r.top + m * 2 / 3, s - H * 2 / 3, n - m * 2 / 3, Y.TOP_LEFT) : new I(r.left + H * 2 / 3, r.top + m * 2 / 3), this.topRightBorderDoubleInnerBox = s > 0 || n > 0 ? aA(r.left + w, r.top + m * 2 / 3, o - L * 2 / 3, a - m * 2 / 3, Y.TOP_RIGHT) : new I(r.left + r.width - L * 2 / 3, r.top + m * 2 / 3), this.bottomRightBorderDoubleInnerBox = c > 0 || g > 0 ? aA(r.left + U, r.top + C, c - L * 2 / 3, g - v * 2 / 3, Y.BOTTOM_RIGHT) : new I(r.left + r.width - L * 2 / 3, r.top + r.height - v * 2 / 3), this.bottomLeftBorderDoubleInnerBox = l > 0 || B > 0 ? aA(r.left + H * 2 / 3, r.top + F, l - H * 2 / 3, B - v * 2 / 3, Y.BOTTOM_LEFT) : new I(r.left + H * 2 / 3, r.top + r.height - v * 2 / 3), this.topLeftBorderStroke = s > 0 || n > 0 ? aA(r.left + H / 2, r.top + m / 2, s - H / 2, n - m / 2, Y.TOP_LEFT) : new I(r.left + H / 2, r.top + m / 2), this.topRightBorderStroke = s > 0 || n > 0 ? aA(r.left + w, r.top + m / 2, o - L / 2, a - m / 2, Y.TOP_RIGHT) : new I(r.left + r.width - L / 2, r.top + m / 2), this.bottomRightBorderStroke = c > 0 || g > 0 ? aA(r.left + U, r.top + C, c - L / 2, g - v / 2, Y.BOTTOM_RIGHT) : new I(r.left + r.width - L / 2, r.top + r.height - v / 2), this.bottomLeftBorderStroke = l > 0 || B > 0 ? aA(r.left + H / 2, r.top + F, l - H / 2, B - v / 2, Y.BOTTOM_LEFT) : new I(r.left + H / 2, r.top + r.height - v / 2), this.topLeftBorderBox = s > 0 || n > 0 ? aA(r.left, r.top, s, n, Y.TOP_LEFT) : new I(r.left, r.top), this.topRightBorderBox = o > 0 || a > 0 ? aA(r.left + w, r.top, o, a, Y.TOP_RIGHT) : new I(r.left + r.width, r.top), this.bottomRightBorderBox = c > 0 || g > 0 ? aA(r.left + U, r.top + C, c, g, Y.BOTTOM_RIGHT) : new I(r.left + r.width, r.top + r.height), this.bottomLeftBorderBox = l > 0 || B > 0 ? aA(r.left, r.top + F, l, B, Y.BOTTOM_LEFT) : new I(r.left, r.top + r.height), this.topLeftPaddingBox = s > 0 || n > 0 ? aA(r.left + H, r.top + m, Math.max(0, s - H), Math.max(0, n - m), Y.TOP_LEFT) : new I(r.left + H, r.top + m), this.topRightPaddingBox = o > 0 || a > 0 ? aA(r.left + Math.min(w, r.width - L), r.top + m, w > r.width + L ? 0 : Math.max(0, o - L), Math.max(0, a - m), Y.TOP_RIGHT) : new I(r.left + r.width - L, r.top + m), this.bottomRightPaddingBox = c > 0 || g > 0 ? aA(r.left + Math.min(U, r.width - H), r.top + Math.min(C, r.height - v), Math.max(0, c - L), Math.max(0, g - v), Y.BOTTOM_RIGHT) : new I(r.left + r.width - L, r.top + r.height - v), this.bottomLeftPaddingBox = l > 0 || B > 0 ? aA(r.left + H, r.top + Math.min(F, r.height - v), Math.max(0, l - H), Math.max(0, B - v), Y.BOTTOM_LEFT) : new I(r.left + H, r.top + r.height - v), this.topLeftContentBox = s > 0 || n > 0 ? aA(r.left + H + D, r.top + m + O, Math.max(0, s - (H + D)), Math.max(0, n - (m + O)), Y.TOP_LEFT) : new I(r.left + H + D, r.top + m + O), this.topRightContentBox = o > 0 || a > 0 ? aA(r.left + Math.min(w, r.width + H + D), r.top + m + O, w > r.width + H + D ? 0 : o - H + D, a - (m + O), Y.TOP_RIGHT) : new I(r.left + r.width - (L + _), r.top + m + O), this.bottomRightContentBox = c > 0 || g > 0 ? aA(r.left + Math.min(U, r.width - (H + D)), r.top + Math.min(C, r.height + m + O), Math.max(0, c - (L + _)), g - (v + W), Y.BOTTOM_RIGHT) : new I(r.left + r.width - (L + _), r.top + r.height - (v + W)), this.bottomLeftContentBox = l > 0 || B > 0 ? aA(r.left + H + D, r.top + F, Math.max(0, l - (H + D)), B - (v + W), Y.BOTTOM_LEFT) : new I(r.left + H + D, r.top + r.height - (v + W));
|
|
5532
5532
|
}
|
|
5533
5533
|
}
|
|
5534
5534
|
var Y;
|
|
@@ -5579,7 +5579,7 @@ class Yt {
|
|
|
5579
5579
|
this.applyClip = A, this.type = 3, this.target = 6;
|
|
5580
5580
|
}
|
|
5581
5581
|
}
|
|
5582
|
-
const
|
|
5582
|
+
const mp = (t) => t.type === 0, Uc = (t) => t.type === 1, Cp = (t) => t.type === 2, Qp = (t) => t.type === 3, Za = (t, A) => t.length === A.length ? t.some((e, r) => e === A[r]) : !1, xp = (t, A, e, r, s) => t.map((n, o) => {
|
|
5583
5583
|
switch (o) {
|
|
5584
5584
|
case 0:
|
|
5585
5585
|
return n.add(A, e);
|
|
@@ -5788,8 +5788,8 @@ const qa = (t, A, e, r, s) => t === "closest-side" ? Math.min(A - e, r - A) : t
|
|
|
5788
5788
|
if (!a && !l)
|
|
5789
5789
|
return [s.width, s.height];
|
|
5790
5790
|
if (l && a) {
|
|
5791
|
-
const
|
|
5792
|
-
return [
|
|
5791
|
+
const C = c ? A : e * r, U = g ? e : A / r;
|
|
5792
|
+
return [C, U];
|
|
5793
5793
|
}
|
|
5794
5794
|
const h = c ? A : s.width, w = g ? e : s.height;
|
|
5795
5795
|
return [h, w];
|
|
@@ -5898,12 +5898,12 @@ class Sp {
|
|
|
5898
5898
|
* Render a linear gradient background
|
|
5899
5899
|
*/
|
|
5900
5900
|
renderLinearGradient(A, e, r) {
|
|
5901
|
-
const [s, n, o, a, c] = En(A, r, [null, null, null]), [g, l, B, f, h] = tu(e.angle, a, c),
|
|
5902
|
-
|
|
5903
|
-
const U =
|
|
5904
|
-
if (
|
|
5905
|
-
const
|
|
5906
|
-
this.renderRepeat(s,
|
|
5901
|
+
const [s, n, o, a, c] = En(A, r, [null, null, null]), [g, l, B, f, h] = tu(e.angle, a, c), C = (this.canvas.ownerDocument ?? document).createElement("canvas");
|
|
5902
|
+
C.width = a, C.height = c;
|
|
5903
|
+
const U = C.getContext("2d"), F = U.createLinearGradient(l, f, B, h);
|
|
5904
|
+
if (Ca(e.stops, g || 1).forEach((m) => F.addColorStop(m.stop, nA(m.color))), U.fillStyle = F, U.fillRect(0, 0, a, c), a > 0 && c > 0) {
|
|
5905
|
+
const m = this.ctx.createPattern(C, "repeat");
|
|
5906
|
+
this.renderRepeat(s, m, n, o);
|
|
5907
5907
|
}
|
|
5908
5908
|
}
|
|
5909
5909
|
/**
|
|
@@ -5914,9 +5914,9 @@ class Sp {
|
|
|
5914
5914
|
let [f, h] = ru(e, l, B, a, c);
|
|
5915
5915
|
if ((f === 0 || h === 0) && (f = Math.max(f, 0.01), h = Math.max(h, 0.01)), f > 0 && h > 0) {
|
|
5916
5916
|
const w = this.ctx.createRadialGradient(n + l, o + B, 0, n + l, o + B, f);
|
|
5917
|
-
if (
|
|
5918
|
-
const
|
|
5919
|
-
this.ctx.save(), this.ctx.translate(
|
|
5917
|
+
if (Ca(e.stops, f * 2).forEach((C) => w.addColorStop(C.stop, nA(C.color))), this.path(s), this.ctx.fillStyle = w, f !== h) {
|
|
5918
|
+
const C = A.bounds.left + 0.5 * A.bounds.width, U = A.bounds.top + 0.5 * A.bounds.height, F = h / f, m = 1 / F;
|
|
5919
|
+
this.ctx.save(), this.ctx.translate(C, U), this.ctx.transform(1, 0, 0, F, 0, 0), this.ctx.translate(-C, -U), this.ctx.fillRect(n, m * (o - U) + U, a, c * m), this.ctx.restore();
|
|
5920
5920
|
} else
|
|
5921
5921
|
this.ctx.fill();
|
|
5922
5922
|
}
|
|
@@ -6070,17 +6070,17 @@ class Kp {
|
|
|
6070
6070
|
r === 0 || r === 2 ? f = Math.abs(c - l) : f = Math.abs(g - B), this.ctx.beginPath(), n === 3 ? this.pathCallbacks.formatPath(o) : this.pathCallbacks.formatPath(a.slice(0, 2));
|
|
6071
6071
|
let h = e < 3 ? e * 3 : e * 2, w = e < 3 ? e * 2 : e;
|
|
6072
6072
|
n === 3 && (h = e, w = e);
|
|
6073
|
-
let
|
|
6073
|
+
let C = !0;
|
|
6074
6074
|
if (f <= h * 2)
|
|
6075
|
-
|
|
6075
|
+
C = !1;
|
|
6076
6076
|
else if (f <= h * 2 + w) {
|
|
6077
6077
|
const U = f / (2 * h + w);
|
|
6078
6078
|
h *= U, w *= U;
|
|
6079
6079
|
} else {
|
|
6080
|
-
const U = Math.floor((f + w) / (h + w)), F = (f - U * h) / (U - 1),
|
|
6081
|
-
w =
|
|
6080
|
+
const U = Math.floor((f + w) / (h + w)), F = (f - U * h) / (U - 1), m = (f - (U + 1) * h) / U;
|
|
6081
|
+
w = m <= 0 || Math.abs(w - F) < Math.abs(w - m) ? F : m;
|
|
6082
6082
|
}
|
|
6083
|
-
if (
|
|
6083
|
+
if (C && (n === 3 ? this.ctx.setLineDash([0, h + w]) : this.ctx.setLineDash([h, w])), n === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = e) : this.ctx.lineWidth = e * 2 + 1.1, this.ctx.strokeStyle = nA(A), this.ctx.stroke(), this.ctx.setLineDash([]), n === 2) {
|
|
6084
6084
|
if (qA(a[0])) {
|
|
6085
6085
|
const U = a[3], F = a[0];
|
|
6086
6086
|
this.ctx.beginPath(), this.pathCallbacks.formatPath([
|
|
@@ -6120,7 +6120,7 @@ class Dp {
|
|
|
6120
6120
|
* @param effect - Effect to apply
|
|
6121
6121
|
*/
|
|
6122
6122
|
applyEffect(A) {
|
|
6123
|
-
this.ctx.save(),
|
|
6123
|
+
this.ctx.save(), Cp(A) ? this.ctx.globalAlpha = A.opacity : mp(A) ? (this.ctx.translate(A.offsetX, A.offsetY), this.ctx.transform(A.matrix[0], A.matrix[1], A.matrix[2], A.matrix[3], A.matrix[4], A.matrix[5]), this.ctx.translate(-A.offsetX, -A.offsetY)) : Uc(A) ? (this.pathCallback.path(A.path), this.ctx.clip()) : Qp(A) && A.applyClip(this.ctx), this.activeEffects.push(A);
|
|
6124
6124
|
}
|
|
6125
6125
|
/**
|
|
6126
6126
|
* Remove the most recent effect
|
|
@@ -6324,8 +6324,8 @@ class Np {
|
|
|
6324
6324
|
if (e.webkitLineClamp > 0 && (e.display & 2) !== 0 && e.overflowY === 1 && A.textBounds.length > 0) {
|
|
6325
6325
|
const B = [];
|
|
6326
6326
|
let f = [], h = A.textBounds[0].bounds.top;
|
|
6327
|
-
A.textBounds.forEach((
|
|
6328
|
-
Math.abs(
|
|
6327
|
+
A.textBounds.forEach((C) => {
|
|
6328
|
+
Math.abs(C.bounds.top - h) >= o * 0.5 ? (f.length > 0 && B.push(f), f = [C], h = C.bounds.top) : f.push(C);
|
|
6329
6329
|
}), f.length > 0 && B.push(f);
|
|
6330
6330
|
const w = e.webkitLineClamp;
|
|
6331
6331
|
if (B.length > w) {
|
|
@@ -6333,9 +6333,9 @@ class Np {
|
|
|
6333
6333
|
B[U].forEach((F) => {
|
|
6334
6334
|
this.renderTextBoundWithPaintOrder(F, e, n);
|
|
6335
6335
|
});
|
|
6336
|
-
const
|
|
6337
|
-
if (
|
|
6338
|
-
const U =
|
|
6336
|
+
const C = B[w - 1];
|
|
6337
|
+
if (C && C.length > 0 && r) {
|
|
6338
|
+
const U = C.map((H) => H.text).join(""), F = C[0], m = r.width - (F.bounds.left - r.left), L = this.truncateTextWithEllipsis(U, m, e.letterSpacing), v = new nt(L, F.bounds);
|
|
6339
6339
|
n.forEach((H) => {
|
|
6340
6340
|
switch (H) {
|
|
6341
6341
|
case 0:
|
|
@@ -6357,8 +6357,8 @@ class Np {
|
|
|
6357
6357
|
if (A.textBounds.every((h) => Math.abs(h.bounds.top - B) < o * 0.5)) {
|
|
6358
6358
|
let h = A.textBounds.map((U) => U.text).join("");
|
|
6359
6359
|
h = h.replace(/\s+/g, " ").trim();
|
|
6360
|
-
const w = this.ctx.measureText(h).width,
|
|
6361
|
-
w >
|
|
6360
|
+
const w = this.ctx.measureText(h).width, C = r.width;
|
|
6361
|
+
w > C && (g = !0, l = this.truncateTextWithEllipsis(h, C, e.letterSpacing));
|
|
6362
6362
|
}
|
|
6363
6363
|
}
|
|
6364
6364
|
if (g) {
|
|
@@ -6366,15 +6366,15 @@ class Np {
|
|
|
6366
6366
|
n.forEach((h) => {
|
|
6367
6367
|
switch (h) {
|
|
6368
6368
|
case 0: {
|
|
6369
|
-
this.ctx.fillStyle = nA(e.color), e.letterSpacing === 0 ? this.ctx.fillText(l, B.bounds.left, B.bounds.top + e.fontSize.number) : this.iterateLettersWithLetterSpacing(f, e.letterSpacing, e.fontSize.number, (
|
|
6369
|
+
this.ctx.fillStyle = nA(e.color), e.letterSpacing === 0 ? this.ctx.fillText(l, B.bounds.left, B.bounds.top + e.fontSize.number) : this.iterateLettersWithLetterSpacing(f, e.letterSpacing, e.fontSize.number, (C, U, F) => this.ctx.fillText(C, U, F));
|
|
6370
6370
|
const w = e.textShadow;
|
|
6371
|
-
w.length && l.trim().length && (w.slice(0).reverse().forEach((
|
|
6372
|
-
this.ctx.shadowColor = nA(
|
|
6371
|
+
w.length && l.trim().length && (w.slice(0).reverse().forEach((C) => {
|
|
6372
|
+
this.ctx.shadowColor = nA(C.color), this.ctx.shadowOffsetX = C.offsetX.number * this.options.scale, this.ctx.shadowOffsetY = C.offsetY.number * this.options.scale, this.ctx.shadowBlur = C.blur.number, e.letterSpacing === 0 ? this.ctx.fillText(l, B.bounds.left, B.bounds.top + e.fontSize.number) : this.iterateLettersWithLetterSpacing(f, e.letterSpacing, e.fontSize.number, (U, F, m) => this.ctx.fillText(U, F, m));
|
|
6373
6373
|
}), this.ctx.shadowColor = "", this.ctx.shadowOffsetX = 0, this.ctx.shadowOffsetY = 0, this.ctx.shadowBlur = 0);
|
|
6374
6374
|
break;
|
|
6375
6375
|
}
|
|
6376
6376
|
case 1:
|
|
6377
|
-
e.webkitTextStrokeWidth && l.trim().length && (this.ctx.strokeStyle = nA(e.webkitTextStrokeColor), this.ctx.lineWidth = e.webkitTextStrokeWidth, this.ctx.lineJoin = typeof window < "u" && window.chrome ? "miter" : "round", e.letterSpacing === 0 ? this.ctx.strokeText(l, B.bounds.left, B.bounds.top + e.fontSize.number) : this.iterateLettersWithLetterSpacing(f, e.letterSpacing, e.fontSize.number, (w,
|
|
6377
|
+
e.webkitTextStrokeWidth && l.trim().length && (this.ctx.strokeStyle = nA(e.webkitTextStrokeColor), this.ctx.lineWidth = e.webkitTextStrokeWidth, this.ctx.lineJoin = typeof window < "u" && window.chrome ? "miter" : "round", e.letterSpacing === 0 ? this.ctx.strokeText(l, B.bounds.left, B.bounds.top + e.fontSize.number) : this.iterateLettersWithLetterSpacing(f, e.letterSpacing, e.fontSize.number, (w, C, U) => this.ctx.strokeText(w, C, U)), this.ctx.strokeStyle = "", this.ctx.lineWidth = 0, this.ctx.lineJoin = "miter");
|
|
6378
6378
|
break;
|
|
6379
6379
|
}
|
|
6380
6380
|
});
|
|
@@ -6395,7 +6395,7 @@ class Np {
|
|
|
6395
6395
|
if (e.webkitTextStrokeWidth && B.text.trim().length) {
|
|
6396
6396
|
this.ctx.strokeStyle = nA(e.webkitTextStrokeColor), this.ctx.lineWidth = e.webkitTextStrokeWidth, this.ctx.lineJoin = typeof window < "u" && window.chrome ? "miter" : "round";
|
|
6397
6397
|
const h = e.fontSize.number;
|
|
6398
|
-
e.letterSpacing === 0 ? this.ctx.strokeText(B.text, B.bounds.left, B.bounds.top + h) : this.iterateLettersWithLetterSpacing(B, e.letterSpacing, h, (w,
|
|
6398
|
+
e.letterSpacing === 0 ? this.ctx.strokeText(B.text, B.bounds.left, B.bounds.top + h) : this.iterateLettersWithLetterSpacing(B, e.letterSpacing, h, (w, C, U) => this.ctx.strokeText(w, C, U)), this.ctx.strokeStyle = "", this.ctx.lineWidth = 0, this.ctx.lineJoin = "miter";
|
|
6399
6399
|
}
|
|
6400
6400
|
break;
|
|
6401
6401
|
}
|
|
@@ -6405,7 +6405,7 @@ class Np {
|
|
|
6405
6405
|
}
|
|
6406
6406
|
}
|
|
6407
6407
|
const _p = 1e4;
|
|
6408
|
-
class
|
|
6408
|
+
class mo extends vc {
|
|
6409
6409
|
constructor(A, e) {
|
|
6410
6410
|
super(A, e), this.canvas = e.canvas ? e.canvas : document.createElement("canvas"), this.ctx = this.canvas.getContext("2d"), e.canvas || (this.canvas.width = Math.floor(e.width * e.scale), this.canvas.height = Math.floor(e.height * e.scale), this.canvas.style.width = `${e.width}px`, this.canvas.style.height = `${e.height}px`), this.fontMetrics = new Ip(document), this.ctx.scale(this.options.scale, this.options.scale), this.ctx.translate(-e.x, -e.y), this.ctx.textBaseline = "bottom", e.imageSmoothing !== void 0 && (this.ctx.imageSmoothingEnabled = e.imageSmoothing), e.imageSmoothingQuality && (this.ctx.imageSmoothingQuality = e.imageSmoothingQuality), this.backgroundRenderer = new Sp({
|
|
6411
6411
|
ctx: this.ctx,
|
|
@@ -6447,19 +6447,19 @@ class Co extends vc {
|
|
|
6447
6447
|
if (r && s > 0 && n > 0) {
|
|
6448
6448
|
const o = dr(A), a = Us(e);
|
|
6449
6449
|
this.path(a), this.ctx.save(), this.ctx.clip();
|
|
6450
|
-
let c = 0, g = 0, l = s, B = n, f = o.left, h = o.top, w = o.width,
|
|
6451
|
-
const { objectFit: U } = A.styles, F = w /
|
|
6450
|
+
let c = 0, g = 0, l = s, B = n, f = o.left, h = o.top, w = o.width, C = o.height;
|
|
6451
|
+
const { objectFit: U } = A.styles, F = w / C, m = l / B;
|
|
6452
6452
|
if (U === 2)
|
|
6453
|
-
|
|
6453
|
+
m > F ? (C = w / m, h += (o.height - C) / 2) : (w = C * m, f += (o.width - w) / 2);
|
|
6454
6454
|
else if (U === 4)
|
|
6455
|
-
|
|
6455
|
+
m > F ? (l = B * F, c += (s - l) / 2) : (B = l / F, g += (n - B) / 2);
|
|
6456
6456
|
else if (U === 8)
|
|
6457
|
-
l > w ? (c += (l - w) / 2, l = w) : (f += (w - l) / 2, w = l), B >
|
|
6457
|
+
l > w ? (c += (l - w) / 2, l = w) : (f += (w - l) / 2, w = l), B > C ? (g += (B - C) / 2, B = C) : (h += (C - B) / 2, C = B);
|
|
6458
6458
|
else if (U === 16) {
|
|
6459
|
-
const L =
|
|
6460
|
-
L < v ?
|
|
6459
|
+
const L = m > F ? w : C * m, v = l > w ? l : w;
|
|
6460
|
+
L < v ? m > F ? (C = w / m, h += (o.height - C) / 2) : (w = C * m, f += (o.width - w) / 2) : (l > w ? (c += (l - w) / 2, l = w) : (f += (w - l) / 2, w = l), B > C ? (g += (B - C) / 2, B = C) : (h += (C - B) / 2, C = B));
|
|
6461
6461
|
}
|
|
6462
|
-
this.ctx.drawImage(r, c, g, l, B, f, h, w,
|
|
6462
|
+
this.ctx.drawImage(r, c, g, l, B, f, h, w, C), this.ctx.restore();
|
|
6463
6463
|
}
|
|
6464
6464
|
}
|
|
6465
6465
|
async renderNodeContent(A) {
|
|
@@ -6485,7 +6485,7 @@ class Co extends vc {
|
|
|
6485
6485
|
this.context.logger.error(`Error loading svg ${e.svg.substring(0, 255)}`);
|
|
6486
6486
|
}
|
|
6487
6487
|
if (e instanceof hc && e.tree) {
|
|
6488
|
-
const a = await new
|
|
6488
|
+
const a = await new mo(this.context, {
|
|
6489
6489
|
scale: this.options.scale,
|
|
6490
6490
|
backgroundColor: e.backgroundColor,
|
|
6491
6491
|
x: 0,
|
|
@@ -6505,7 +6505,7 @@ class Co extends vc {
|
|
|
6505
6505
|
new I(e.bounds.left + o * 0.72983, e.bounds.top + o * 0.23),
|
|
6506
6506
|
new I(e.bounds.left + o * 0.84, e.bounds.top + o * 0.34085),
|
|
6507
6507
|
new I(e.bounds.left + o * 0.39363, e.bounds.top + o * 0.79)
|
|
6508
|
-
]), this.ctx.fillStyle = nA(Va), this.ctx.fill(), this.ctx.restore()) : e.type ===
|
|
6508
|
+
]), this.ctx.fillStyle = nA(Va), this.ctx.fill(), this.ctx.restore()) : e.type === ms && e.checked && (this.ctx.save(), this.ctx.beginPath(), this.ctx.arc(e.bounds.left + o / 2, e.bounds.top + o / 2, o / 4, 0, Math.PI * 2, !0), this.ctx.fillStyle = nA(Va), this.ctx.fill(), this.ctx.restore());
|
|
6509
6509
|
}
|
|
6510
6510
|
if (Pp(e) && e.value.length) {
|
|
6511
6511
|
const [o, a, c] = this.textRenderer.createFontStyle(s), { baseline: g } = this.fontMetrics.getMetrics(a, c);
|
|
@@ -6524,8 +6524,8 @@ class Co extends vc {
|
|
|
6524
6524
|
}
|
|
6525
6525
|
let h = 0;
|
|
6526
6526
|
if (e instanceof cr) {
|
|
6527
|
-
const
|
|
6528
|
-
h = (B.height -
|
|
6527
|
+
const C = G(s.fontSize, 0);
|
|
6528
|
+
h = (B.height - C) / 2;
|
|
6529
6529
|
}
|
|
6530
6530
|
const w = B.add(f, h, 0, 0);
|
|
6531
6531
|
this.ctx.save(), this.path([
|
|
@@ -6635,7 +6635,7 @@ class Co extends vc {
|
|
|
6635
6635
|
return await this.renderStack(e), this.effectsRenderer.applyEffects([]), this.canvas;
|
|
6636
6636
|
}
|
|
6637
6637
|
}
|
|
6638
|
-
const Pp = (t) => t instanceof fc || t instanceof uc ? !0 : t instanceof cr && t.type !==
|
|
6638
|
+
const Pp = (t) => t instanceof fc || t instanceof uc ? !0 : t instanceof cr && t.type !== ms && t.type !== ws, jp = (t, A) => {
|
|
6639
6639
|
switch (t) {
|
|
6640
6640
|
case 0:
|
|
6641
6641
|
return xs(A);
|
|
@@ -7400,8 +7400,8 @@ const iw = (t) => {
|
|
|
7400
7400
|
windowHeight: A.windowHeight ?? l.innerHeight ?? c,
|
|
7401
7401
|
scrollX: A.scrollX ?? l.pageXOffset ?? g,
|
|
7402
7402
|
scrollY: A.scrollY ?? l.pageYOffset ?? g
|
|
7403
|
-
}, f = new jA(B.scrollX, B.scrollY, B.windowWidth, B.windowHeight), h = new Gs(o, f, e), w = A.enablePerformanceMonitoring ?? A.logging ?? !1,
|
|
7404
|
-
|
|
7403
|
+
}, f = new jA(B.scrollX, B.scrollY, B.windowWidth, B.windowHeight), h = new Gs(o, f, e), w = A.enablePerformanceMonitoring ?? A.logging ?? !1, C = new ow(h, w);
|
|
7404
|
+
C.start("total", {
|
|
7405
7405
|
width: B.windowWidth,
|
|
7406
7406
|
height: B.windowHeight
|
|
7407
7407
|
});
|
|
@@ -7414,12 +7414,12 @@ const iw = (t) => {
|
|
|
7414
7414
|
copyStyles: U,
|
|
7415
7415
|
cspNonce: A.cspNonce ?? e.cspNonce
|
|
7416
7416
|
};
|
|
7417
|
-
h.logger.debug(`Starting document clone with size ${f.width}x${f.height} scrolled to ${-f.left},${-f.top}`),
|
|
7418
|
-
const
|
|
7417
|
+
h.logger.debug(`Starting document clone with size ${f.width}x${f.height} scrolled to ${-f.left},${-f.top}`), C.start("clone");
|
|
7418
|
+
const m = new Ja(h, t, F), L = m.clonedReferenceElement;
|
|
7419
7419
|
if (!L)
|
|
7420
7420
|
throw new Error("Unable to find element in cloned iframe");
|
|
7421
|
-
const v = await
|
|
7422
|
-
|
|
7421
|
+
const v = await m.toIFrame(r, f);
|
|
7422
|
+
C.end("clone");
|
|
7423
7423
|
const { width: H, height: O, left: _, top: W } = wo(L) || Zh(L) ? fd(L.ownerDocument) : ys(h, L), D = lw(h, L, A.backgroundColor), iA = {
|
|
7424
7424
|
canvas: A.canvas,
|
|
7425
7425
|
backgroundColor: D,
|
|
@@ -7433,7 +7433,7 @@ const iw = (t) => {
|
|
|
7433
7433
|
};
|
|
7434
7434
|
let HA, N;
|
|
7435
7435
|
try {
|
|
7436
|
-
return U ? (h.logger.debug("Document cloned, using foreign object rendering"),
|
|
7436
|
+
return U ? (h.logger.debug("Document cloned, using foreign object rendering"), C.start("render-foreignobject"), HA = await new Xp(h, iA).render(L), C.end("render-foreignobject")) : (h.logger.debug(`Document cloned, element located at ${_},${W} with size ${H}x${O} using computed rendering`), h.logger.debug("Starting DOM parsing"), C.start("parse"), N = wc(h, L), C.end("parse"), D === N.styles.backgroundColor && (N.styles.backgroundColor = Qe.TRANSPARENT), h.logger.debug(`Starting renderer for element at ${iA.x},${iA.y} with size ${iA.width}x${iA.height}`), C.start("render"), HA = await new mo(h, iA).render(N), C.end("render")), C.start("cleanup"), (A.removeContainer ?? !0) && (Ja.destroy(v) || h.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")), C.end("cleanup"), C.end("total"), h.logger.debug("Finished rendering"), w && C.logSummary(), HA;
|
|
7437
7437
|
} finally {
|
|
7438
7438
|
N && N.restoreTree();
|
|
7439
7439
|
}
|
|
@@ -7717,7 +7717,7 @@ const iw = (t) => {
|
|
|
7717
7717
|
if (!t) return "";
|
|
7718
7718
|
let A = t.replace(/<path[^>]*d="([^"]{50,})"[^>]*\/?>/gi, (e, r) => e.replace(r, `${r.substring(0, 20)}...[STRIPPED_${r.length}]`));
|
|
7719
7719
|
return A = A.replace(/<polygon[^>]*points="([^"]{50,})"[^>]*\/?>/gi, (e, r) => e.replace(r, `${r.substring(0, 20)}...[STRIPPED_${r.length}]`)), A;
|
|
7720
|
-
},
|
|
7720
|
+
}, mw = (t) => {
|
|
7721
7721
|
const A = t.parentElement;
|
|
7722
7722
|
if (!A) return;
|
|
7723
7723
|
const e = Array.from(A.children).filter((o) => o !== t).slice(0, 5).map((o) => Hn(o)), r = Array.from(A.children), s = r.indexOf(t);
|
|
@@ -7738,8 +7738,8 @@ const iw = (t) => {
|
|
|
7738
7738
|
let F = t[n];
|
|
7739
7739
|
for (; F; ) {
|
|
7740
7740
|
if (F._debugSource) {
|
|
7741
|
-
const { fileName:
|
|
7742
|
-
r = `${
|
|
7741
|
+
const { fileName: m, lineNumber: L, columnNumber: v } = F._debugSource;
|
|
7742
|
+
r = `${m}:${L}${v ? ":" + v : ""}`;
|
|
7743
7743
|
break;
|
|
7744
7744
|
}
|
|
7745
7745
|
F = F.return;
|
|
@@ -7753,8 +7753,8 @@ const iw = (t) => {
|
|
|
7753
7753
|
let c = t.getAttribute("data-source-path") || r || "unknown:0";
|
|
7754
7754
|
const g = pw(t), { selector: l, fallbacks: B, vgPath: f } = wr(t), h = {};
|
|
7755
7755
|
["placeholder", "aria-label", "name", "type", "alt", "title", "value", "role", "data-testid"].forEach((F) => {
|
|
7756
|
-
const
|
|
7757
|
-
|
|
7756
|
+
const m = t.getAttribute(F);
|
|
7757
|
+
m && (h[F] = m);
|
|
7758
7758
|
});
|
|
7759
7759
|
const w = (() => {
|
|
7760
7760
|
let F = t;
|
|
@@ -7764,8 +7764,8 @@ const iw = (t) => {
|
|
|
7764
7764
|
}
|
|
7765
7765
|
return !1;
|
|
7766
7766
|
})();
|
|
7767
|
-
let
|
|
7768
|
-
w && A && !A.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content') && (
|
|
7767
|
+
let C;
|
|
7768
|
+
w && A && !A.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content') && (C = Sc(A));
|
|
7769
7769
|
const U = `${t.tagName.toLowerCase()}-${(t.innerText || "").slice(0, 20).replace(/\s+/g, "_")}-${l.split(" > ").slice(-1)}`;
|
|
7770
7770
|
return {
|
|
7771
7771
|
tag: t.tagName.toLowerCase(),
|
|
@@ -7785,7 +7785,7 @@ const iw = (t) => {
|
|
|
7785
7785
|
fallbackSelectors: [...new Set(B)].slice(0, 5),
|
|
7786
7786
|
domPath: [],
|
|
7787
7787
|
viewportSize: { width: window.innerWidth, height: window.innerHeight },
|
|
7788
|
-
uiContext:
|
|
7788
|
+
uiContext: mw(t),
|
|
7789
7789
|
fingerprint: ni(t),
|
|
7790
7790
|
metadata: {
|
|
7791
7791
|
hint: `Edit ${c.split(":")[0]} at line ${c.split(":")[1] || "?"}`,
|
|
@@ -7794,11 +7794,11 @@ const iw = (t) => {
|
|
|
7794
7794
|
outerHtml: ii(t.outerHTML).slice(0, 2e3),
|
|
7795
7795
|
scrollPosition: { x: window.scrollX, y: window.scrollY },
|
|
7796
7796
|
isModal: w,
|
|
7797
|
-
triggerReference:
|
|
7797
|
+
triggerReference: C
|
|
7798
7798
|
}
|
|
7799
7799
|
};
|
|
7800
|
-
},
|
|
7801
|
-
const { mutate: t } =
|
|
7800
|
+
}, Cw = () => {
|
|
7801
|
+
const { mutate: t } = Ci(), { addToast: A, language: e, t: r, apiKey: s, baseUrl: n, dashboardUrl: o, disableViewGate: a, hasActiveToasts: c } = gd(), [g, l] = R(typeof window < "u" ? window.location.pathname + window.location.search : "/"), B = qe(() => typeof window > "u" ? !1 : window.location.href.includes("viewgate-backlog"), [g]);
|
|
7802
7802
|
KA(() => {
|
|
7803
7803
|
const d = () => l(window.location.pathname + window.location.search);
|
|
7804
7804
|
window.addEventListener("popstate", d);
|
|
@@ -7811,7 +7811,7 @@ const iw = (t) => {
|
|
|
7811
7811
|
window.removeEventListener("popstate", d), window.history.pushState = u, window.history.replaceState = p;
|
|
7812
7812
|
};
|
|
7813
7813
|
}, []);
|
|
7814
|
-
const [f, h] = R(!1), [w,
|
|
7814
|
+
const [f, h] = R(!1), [w, C] = R("medium"), [U, F] = R("medium"), [m, L] = R("all"), [v, H] = R(null), [O, _] = R(null), [W, D] = R(""), [iA, HA] = R(!1), [N, FA] = R([]), [Z, IA] = R([
|
|
7815
7815
|
{ name: r.figmaPrimaryDesign, link: "" }
|
|
7816
7816
|
]), [X, zA] = R([]), [oe, Oe] = R([]), [ee, x] = R(!1), [k, z] = R(""), [q, JA] = R(!1), [Fe, AA] = R("down");
|
|
7817
7817
|
UA(null);
|
|
@@ -7819,7 +7819,7 @@ const iw = (t) => {
|
|
|
7819
7819
|
if (typeof window > "u") return null;
|
|
7820
7820
|
const d = sessionStorage.getItem("vg_user");
|
|
7821
7821
|
return d ? JSON.parse(d) : null;
|
|
7822
|
-
}), [Kt,
|
|
7822
|
+
}), [Kt, Co] = R(() => typeof window > "u" ? null : sessionStorage.getItem("vg_role")), [xw, Uw] = R(!1), [Dt, Tc] = R(!1), [xr, Oc] = R(!1), [Qo, Kc] = R(!1), [Ur, Vs] = R(!0), xo = () => {
|
|
7823
7823
|
const p = window.screenX + (window.outerWidth - 500) / 2, Q = window.screenY + (window.outerHeight - 600) / 2, y = `${o}/login?redirectTo=auth-success&origin=${encodeURIComponent(window.location.origin)}`;
|
|
7824
7824
|
window.open(y, "viewgate-login", `width=500,height=600,left=${p},top=${Q}`);
|
|
7825
7825
|
};
|
|
@@ -7834,12 +7834,16 @@ const iw = (t) => {
|
|
|
7834
7834
|
const T = n;
|
|
7835
7835
|
t((S) => typeof S == "string" && T && S.startsWith(T), void 0, { revalidate: !0 }), it([]);
|
|
7836
7836
|
}
|
|
7837
|
-
p ? (lt(p), sessionStorage.setItem("vg_token", p), Q && (dt(Q),
|
|
7837
|
+
p ? (lt(p), sessionStorage.setItem("vg_token", p), Q && (dt(Q), Co(y || Q.role || "dev"), sessionStorage.setItem("vg_user", JSON.stringify(Q)), (y || Q.role) && sessionStorage.setItem("vg_role", y || Q.role)), u.data.type === "VIEWGATE_AUTH_SUCCESS" && A(e === "es" ? "Sesión iniciada correctamente" : "Logged in successfully", "success")) : console.warn("[VIEWGATE_WRAPPER] Auth message received but token was missing");
|
|
7838
7838
|
}
|
|
7839
7839
|
if (u.data?.type === "VIEWGATE_LOGOUT") {
|
|
7840
|
-
console.log("[VIEWGATE_WRAPPER] Logout
|
|
7841
|
-
|
|
7842
|
-
|
|
7840
|
+
if (console.log("[VIEWGATE_WRAPPER] Logout message received"), sessionStorage.getItem("vg_token")) {
|
|
7841
|
+
console.log("[VIEWGATE_WRAPPER] Protective logout: Ignoring logout since we have a valid manual session.");
|
|
7842
|
+
return;
|
|
7843
|
+
}
|
|
7844
|
+
console.log("[VIEWGATE_WRAPPER] Logout confirmed"), lt(null), dt(null), Co(null), Vs(!1), sessionStorage.removeItem("vg_token"), sessionStorage.removeItem("vg_user"), sessionStorage.removeItem("vg_role");
|
|
7845
|
+
const Q = n;
|
|
7846
|
+
t((y) => typeof y == "string" && Q && y.startsWith(Q), void 0, { revalidate: !1 }), it([]), Ot(null), h(!1), _(null), D(""), fe(!1);
|
|
7843
7847
|
}
|
|
7844
7848
|
};
|
|
7845
7849
|
return window.addEventListener("message", d), () => window.removeEventListener("message", d);
|
|
@@ -7926,8 +7930,8 @@ const iw = (t) => {
|
|
|
7926
7930
|
const p = Bt.find((Q) => Q.annotations && Array.isArray(Q.annotations) && Q.annotations.some((y) => y._id === oA));
|
|
7927
7931
|
p ? d = p.annotations : d = d.filter((Q) => Q._id === oA);
|
|
7928
7932
|
}
|
|
7929
|
-
return d = d.filter((p) => p.status !== "completed" && p.status !== "done"), window.location.href.includes("viewgate-backlog") || (VA === "pending" ? d = d.filter((p) => p.status !== "ready_for_review") : VA === "ready" && (d = d.filter((p) => p.status === "ready_for_review"))),
|
|
7930
|
-
}, [oA, WA, Bt, VA,
|
|
7933
|
+
return d = d.filter((p) => p.status !== "completed" && p.status !== "done"), window.location.href.includes("viewgate-backlog") || (VA === "pending" ? d = d.filter((p) => p.status !== "ready_for_review") : VA === "ready" && (d = d.filter((p) => p.status === "ready_for_review"))), m !== "all" && (d = d.filter((p) => (p.priority || "medium") === m)), d;
|
|
7934
|
+
}, [oA, WA, Bt, VA, m]);
|
|
7931
7935
|
KA(() => {
|
|
7932
7936
|
oA && Hr.length === 0 && !ze && lA(null);
|
|
7933
7937
|
}, [oA, Hr.length, ze]);
|
|
@@ -7987,7 +7991,7 @@ const iw = (t) => {
|
|
|
7987
7991
|
NA.delete("viewgate"), NA.sort();
|
|
7988
7992
|
const XA = NA.toString();
|
|
7989
7993
|
return XA ? `${J}?${XA}` : J;
|
|
7990
|
-
},
|
|
7994
|
+
}, CA = (J) => {
|
|
7991
7995
|
try {
|
|
7992
7996
|
const NA = new URL(J), XA = NA.pathname.toLowerCase().replace(/\/$/g, "").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g, "/:id"), pA = new URLSearchParams(NA.search);
|
|
7993
7997
|
pA.delete("viewgate"), pA.sort();
|
|
@@ -7996,7 +8000,7 @@ const iw = (t) => {
|
|
|
7996
8000
|
} catch {
|
|
7997
8001
|
return "";
|
|
7998
8002
|
}
|
|
7999
|
-
}, TA = EA(), Ee =
|
|
8003
|
+
}, TA = EA(), Ee = CA(M.url);
|
|
8000
8004
|
if (TA !== Ee) return;
|
|
8001
8005
|
} catch {
|
|
8002
8006
|
return;
|
|
@@ -8006,27 +8010,27 @@ const iw = (t) => {
|
|
|
8006
8010
|
if (console.log(`[ViewGate Debug] Processing Pin [${M._id}]:`, { isModalTarget: hA, targetEl: rA, isVisible: rA ? Ie(rA) : !1 }), !rA || !Ie(rA)) return;
|
|
8007
8011
|
let sA = !1;
|
|
8008
8012
|
if (hA ? (sA = !0, K = !0, console.log(`[ViewGate Debug] Pin [${M._id}] Modal Open Check: isModalTarget=true`)) : (sA = !K, console.log(`[ViewGate Debug] Pin [${M._id}] No Modal Check: !isAnyModalOpen=${sA}`)), !sA) return;
|
|
8009
|
-
const
|
|
8010
|
-
|
|
8013
|
+
const mA = rA.getAttribute(Be);
|
|
8014
|
+
mA !== M._id && (document.querySelectorAll(`[${Be}="${M._id}"]`).forEach((EA) => {
|
|
8011
8015
|
EA.removeAttribute(Be);
|
|
8012
|
-
}),
|
|
8016
|
+
}), mA || rA.setAttribute(Be, M._id));
|
|
8013
8017
|
const yA = T;
|
|
8014
8018
|
yA.has(rA) || yA.set(rA, { anns: [] }), yA.get(rA).anns.push(M);
|
|
8015
8019
|
});
|
|
8016
8020
|
const S = [];
|
|
8017
8021
|
((M) => {
|
|
8018
8022
|
M.forEach((hA, rA) => {
|
|
8019
|
-
const { anns: sA } = hA,
|
|
8023
|
+
const { anns: sA } = hA, mA = rA.getBoundingClientRect(), yA = mA.left + mA.width / 2, EA = mA.top + mA.height / 2;
|
|
8020
8024
|
if (yA >= 0 && yA <= window.innerWidth && EA >= 0 && EA <= window.innerHeight) {
|
|
8021
|
-
const
|
|
8022
|
-
if (
|
|
8025
|
+
const CA = document.elementFromPoint(yA, EA), TA = document.getElementById("viewgate-shadow-host");
|
|
8026
|
+
if (CA && !rA.contains(CA) && CA !== TA && !TA?.contains(CA))
|
|
8023
8027
|
return;
|
|
8024
8028
|
}
|
|
8025
8029
|
S.push({
|
|
8026
8030
|
id: sA[0]._id,
|
|
8027
8031
|
element: rA,
|
|
8028
|
-
rect:
|
|
8029
|
-
annotations: sA.sort((
|
|
8032
|
+
rect: mA,
|
|
8033
|
+
annotations: sA.sort((CA, TA) => new Date(TA.timestamp || TA.createdAt).getTime() - new Date(CA.timestamp || CA.createdAt).getTime()),
|
|
8030
8034
|
isModal: !!sA[0].reference?.metadata?.isModal
|
|
8031
8035
|
});
|
|
8032
8036
|
});
|
|
@@ -8124,7 +8128,7 @@ const iw = (t) => {
|
|
|
8124
8128
|
}) : Promise.resolve();
|
|
8125
8129
|
})).catch(() => {
|
|
8126
8130
|
});
|
|
8127
|
-
const rA = window.scrollX || window.pageXOffset, sA = window.scrollY || window.pageYOffset,
|
|
8131
|
+
const rA = window.scrollX || window.pageXOffset, sA = window.scrollY || window.pageYOffset, mA = T.left, yA = T.top, EA = await co(S, {
|
|
8128
8132
|
scale: M,
|
|
8129
8133
|
useCORS: !0,
|
|
8130
8134
|
logging: !1,
|
|
@@ -8169,17 +8173,17 @@ const iw = (t) => {
|
|
|
8169
8173
|
}), document.querySelectorAll("[data-vg-capture-id]").forEach((pA) => pA.removeAttribute("data-vg-capture-id"));
|
|
8170
8174
|
},
|
|
8171
8175
|
ignoreElements: (J) => J.id === "viewgate-shadow-host" || J.classList.contains("vg-no-capture") || J.classList.contains("vg-selection-overlay")
|
|
8172
|
-
}),
|
|
8173
|
-
if (
|
|
8176
|
+
}), CA = document.createElement("canvas"), TA = CA.getContext("2d"), Ee = 24;
|
|
8177
|
+
if (CA.width = (T.width + Ee * 2) * M, CA.height = (T.height + Ee * 2) * M, TA) {
|
|
8174
8178
|
TA.imageSmoothingEnabled = !0, TA.imageSmoothingQuality = "high";
|
|
8175
|
-
const J = (
|
|
8179
|
+
const J = (mA - Ee) * M, NA = (yA - Ee) * M;
|
|
8176
8180
|
TA.drawImage(
|
|
8177
8181
|
EA,
|
|
8178
8182
|
-J,
|
|
8179
8183
|
-NA,
|
|
8180
8184
|
EA.width,
|
|
8181
8185
|
EA.height
|
|
8182
|
-
),
|
|
8186
|
+
), CA.toBlob(async (XA) => {
|
|
8183
8187
|
const pA = {
|
|
8184
8188
|
...p,
|
|
8185
8189
|
element: Q,
|
|
@@ -8351,19 +8355,19 @@ const iw = (t) => {
|
|
|
8351
8355
|
windowWidth: document.documentElement.scrollWidth,
|
|
8352
8356
|
windowHeight: document.documentElement.scrollHeight,
|
|
8353
8357
|
onclone: (sA) => {
|
|
8354
|
-
const
|
|
8355
|
-
|
|
8358
|
+
const mA = sA.getElementById("viewgate-shadow-host");
|
|
8359
|
+
mA && (mA.style.display = "none"), sA.querySelectorAll(".vg-selection-overlay, .vg-formal-pin").forEach((yA) => {
|
|
8356
8360
|
yA.style.display = "none";
|
|
8357
8361
|
});
|
|
8358
8362
|
}
|
|
8359
8363
|
}), M = document.createElement("canvas"), hA = M.getContext("2d"), rA = 32;
|
|
8360
8364
|
if (M.width = (y.width + rA * 2) * S, M.height = (y.height + rA * 2) * S, hA) {
|
|
8361
8365
|
hA.imageSmoothingEnabled = !0, hA.imageSmoothingQuality = "high";
|
|
8362
|
-
const sA = (y.left - rA) * S,
|
|
8366
|
+
const sA = (y.left - rA) * S, mA = (y.top - rA) * S;
|
|
8363
8367
|
hA.drawImage(
|
|
8364
8368
|
dA,
|
|
8365
8369
|
-sA,
|
|
8366
|
-
-
|
|
8370
|
+
-mA,
|
|
8367
8371
|
dA.width,
|
|
8368
8372
|
dA.height
|
|
8369
8373
|
);
|
|
@@ -8379,8 +8383,8 @@ const iw = (t) => {
|
|
|
8379
8383
|
})
|
|
8380
8384
|
});
|
|
8381
8385
|
if (!EA.ok) {
|
|
8382
|
-
const
|
|
8383
|
-
throw new Error(
|
|
8386
|
+
const CA = await EA.json().catch(() => ({}));
|
|
8387
|
+
throw new Error(CA.message || CA.error || "API failed");
|
|
8384
8388
|
}
|
|
8385
8389
|
A(e === "es" ? "¡Ticket resuelto con éxito!" : "Ticket resolved successfully!", "success"), br();
|
|
8386
8390
|
}
|
|
@@ -8391,7 +8395,7 @@ const iw = (t) => {
|
|
|
8391
8395
|
le(!1);
|
|
8392
8396
|
}
|
|
8393
8397
|
};
|
|
8394
|
-
return /* @__PURE__ */ i.jsx("div", { "data-vg-id": "ef883ffc", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8398
|
+
return /* @__PURE__ */ i.jsx("div", { "data-vg-id": "ef883ffc", "data-source-path": "/src/components/ViewGateOverlay.tsx:2202", className: "vg-container", children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "ef883ffd", "data-source-path": "/src/components/ViewGateOverlay.tsx:2203", className: "vg-no-capture", children: [
|
|
8395
8399
|
/* @__PURE__ */ i.jsxs(
|
|
8396
8400
|
"div",
|
|
8397
8401
|
{
|
|
@@ -8435,10 +8439,10 @@ const iw = (t) => {
|
|
|
8435
8439
|
d.currentTarget.style.backgroundColor = "rgba(255, 255, 255, 0.85)", d.currentTarget.style.color = "#1e293b";
|
|
8436
8440
|
},
|
|
8437
8441
|
className: "vg-animate-slide-up",
|
|
8438
|
-
children: /* @__PURE__ */ i.jsx(Wl, { "data-vg-id": "3dbe6a11", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8442
|
+
children: /* @__PURE__ */ i.jsx(Wl, { "data-vg-id": "3dbe6a11", "data-source-path": "/src/components/ViewGateOverlay.tsx:2250", size: 16 })
|
|
8439
8443
|
}
|
|
8440
8444
|
),
|
|
8441
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "ef883fff", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8445
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "ef883fff", "data-source-path": "/src/components/ViewGateOverlay.tsx:2253", className: "vg-action-bar vg-animate-slide-up", style: { transition: "all 0.4s cubic-bezier(0.4, 0, 0.2, 1)" }, children: [
|
|
8442
8446
|
tA ? Ur ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
8443
8447
|
Kt !== "client" && /* @__PURE__ */ i.jsx(
|
|
8444
8448
|
"button",
|
|
@@ -8462,9 +8466,9 @@ const iw = (t) => {
|
|
|
8462
8466
|
opacity: !YA && !B && !f ? 0.7 : 1
|
|
8463
8467
|
},
|
|
8464
8468
|
title: !YA && !B && !f ? e === "es" ? "Requiere sprint activo" : "Requires active sprint" : "",
|
|
8465
|
-
children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "ef884001", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8466
|
-
Er && !f ? /* @__PURE__ */ i.jsx(nn, { "data-vg-id": "edca6150", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8467
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c43", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8469
|
+
children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "ef884001", "data-source-path": "/src/components/ViewGateOverlay.tsx:2292", style: { display: "flex", alignItems: "center", gap: "10px" }, children: [
|
|
8470
|
+
Er && !f ? /* @__PURE__ */ i.jsx(nn, { "data-vg-id": "edca6150", "data-source-path": "/src/components/ViewGateOverlay.tsx:2294", size: 20, className: "vg-animate-spin" }) : f ? /* @__PURE__ */ i.jsx(jt, { "data-vg-id": "ff5f5cf", "data-source-path": "/src/components/ViewGateOverlay.tsx:2296", size: 20, className: "vg-animate-pop" }) : /* @__PURE__ */ i.jsx(Mr, { "data-vg-id": "10c621c4", "data-source-path": "/src/components/ViewGateOverlay.tsx:2298", size: 20, className: "vg-animate-pop" }),
|
|
8471
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c43", "data-source-path": "/src/components/ViewGateOverlay.tsx:2300", children: Er && !f ? e === "es" ? "Cargando..." : "Loading..." : f ? r.exitMode : r.enterMode })
|
|
8468
8472
|
] })
|
|
8469
8473
|
}
|
|
8470
8474
|
),
|
|
@@ -8477,12 +8481,12 @@ const iw = (t) => {
|
|
|
8477
8481
|
className: "vg-button-ghost vg-animate-pop",
|
|
8478
8482
|
style: { animationDelay: "0.1s" },
|
|
8479
8483
|
children: [
|
|
8480
|
-
/* @__PURE__ */ i.jsx(_l, { "data-vg-id": "cd7341f9", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8481
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c45", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8484
|
+
/* @__PURE__ */ i.jsx(_l, { "data-vg-id": "cd7341f9", "data-source-path": "/src/components/ViewGateOverlay.tsx:2318", size: 20 }),
|
|
8485
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c45", "data-source-path": "/src/components/ViewGateOverlay.tsx:2319", children: r.viewComments })
|
|
8482
8486
|
]
|
|
8483
8487
|
}
|
|
8484
8488
|
)
|
|
8485
|
-
] }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "ef884000", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8489
|
+
] }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "ef884000", "data-source-path": "/src/components/ViewGateOverlay.tsx:2256", style: {
|
|
8486
8490
|
padding: "8px 16px",
|
|
8487
8491
|
background: "#fee2e2",
|
|
8488
8492
|
color: "#b91c1c",
|
|
@@ -8507,8 +8511,8 @@ const iw = (t) => {
|
|
|
8507
8511
|
gap: "10px"
|
|
8508
8512
|
},
|
|
8509
8513
|
children: [
|
|
8510
|
-
/* @__PURE__ */ i.jsx("img", { "data-vg-id": "a398709", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8511
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c47", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8514
|
+
/* @__PURE__ */ i.jsx("img", { "data-vg-id": "a398709", "data-source-path": "/src/components/ViewGateOverlay.tsx:2339", src: "https://www.gstatic.com/images/branding/product/1x/gsa_512dp.png", style: { width: "18px", height: "18px" }, alt: "G" }),
|
|
8515
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c47", "data-source-path": "/src/components/ViewGateOverlay.tsx:2340", style: { fontWeight: 700 }, children: e === "es" ? "Iniciar Sesión" : "Login to ViewGate" })
|
|
8512
8516
|
]
|
|
8513
8517
|
}
|
|
8514
8518
|
),
|
|
@@ -8545,7 +8549,7 @@ const iw = (t) => {
|
|
|
8545
8549
|
d.currentTarget.style.color = "#64748b", d.currentTarget.style.backgroundColor = "rgba(255, 255, 255, 0.8)", d.currentTarget.style.borderColor = "rgba(0,0,0,0.05)", d.currentTarget.style.transform = "scale(1)";
|
|
8546
8550
|
},
|
|
8547
8551
|
title: r.close || "Cerrar ViewGate",
|
|
8548
|
-
children: /* @__PURE__ */ i.jsx(jt, { "data-vg-id": "ff5f5d6", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8552
|
+
children: /* @__PURE__ */ i.jsx(jt, { "data-vg-id": "ff5f5d6", "data-source-path": "/src/components/ViewGateOverlay.tsx:2384", size: 20, strokeWidth: 2.5 })
|
|
8549
8553
|
}
|
|
8550
8554
|
)
|
|
8551
8555
|
] }),
|
|
@@ -8560,7 +8564,7 @@ const iw = (t) => {
|
|
|
8560
8564
|
]
|
|
8561
8565
|
}
|
|
8562
8566
|
),
|
|
8563
|
-
DA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf7e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8567
|
+
DA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf7e", "data-source-path": "/src/components/ViewGateOverlay.tsx:2398", style: {
|
|
8564
8568
|
position: "fixed",
|
|
8565
8569
|
top: 0,
|
|
8566
8570
|
left: 0,
|
|
@@ -8573,9 +8577,9 @@ const iw = (t) => {
|
|
|
8573
8577
|
justifyContent: "center",
|
|
8574
8578
|
zIndex: ti + 1,
|
|
8575
8579
|
cursor: "wait"
|
|
8576
|
-
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf7f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8577
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf95", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8578
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c61", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8580
|
+
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf7f", "data-source-path": "/src/components/ViewGateOverlay.tsx:2404", className: "vg-glassmorphism", style: { padding: "30px 50px", display: "flex", flexDirection: "column", alignItems: "center", gap: "16px" }, children: [
|
|
8581
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf95", "data-source-path": "/src/components/ViewGateOverlay.tsx:2405", className: "vg-spinner" }),
|
|
8582
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c61", "data-source-path": "/src/components/ViewGateOverlay.tsx:2406", style: { fontWeight: 600, fontSize: "14px", color: "#000000" }, children: "Capturando..." })
|
|
8579
8583
|
] }) }),
|
|
8580
8584
|
f && !O && /* @__PURE__ */ i.jsx(
|
|
8581
8585
|
"div",
|
|
@@ -8615,10 +8619,10 @@ const iw = (t) => {
|
|
|
8615
8619
|
...v.rect.left + 200 > window.innerWidth ? { left: "auto", right: "0" } : { left: "0", right: "auto" }
|
|
8616
8620
|
},
|
|
8617
8621
|
children: [
|
|
8618
|
-
/* @__PURE__ */ i.jsx(Ad, { "data-vg-id": "f840c8ce", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8619
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf98", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8620
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c64", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8621
|
-
/* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76c65", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8622
|
+
/* @__PURE__ */ i.jsx(Ad, { "data-vg-id": "f840c8ce", "data-source-path": "/src/components/ViewGateOverlay.tsx:2458", size: 16 }),
|
|
8623
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf98", "data-source-path": "/src/components/ViewGateOverlay.tsx:2459", style: { display: "flex", flexDirection: "column" }, children: [
|
|
8624
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c64", "data-source-path": "/src/components/ViewGateOverlay.tsx:2460", style: { fontWeight: 700 }, children: r.selectToComment }),
|
|
8625
|
+
/* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76c65", "data-source-path": "/src/components/ViewGateOverlay.tsx:2461", style: { fontSize: "10px", opacity: 0.8, fontFamily: "monospace" }, children: [
|
|
8622
8626
|
Math.round(v.rect.width),
|
|
8623
8627
|
" × ",
|
|
8624
8628
|
Math.round(v.rect.height)
|
|
@@ -8629,7 +8633,7 @@ const iw = (t) => {
|
|
|
8629
8633
|
)
|
|
8630
8634
|
}
|
|
8631
8635
|
),
|
|
8632
|
-
O && !tA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf9b", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8636
|
+
O && !tA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf9b", "data-source-path": "/src/components/ViewGateOverlay.tsx:2471", className: "vg-animate-fade", style: {
|
|
8633
8637
|
position: "fixed",
|
|
8634
8638
|
top: 0,
|
|
8635
8639
|
left: 0,
|
|
@@ -8641,7 +8645,7 @@ const iw = (t) => {
|
|
|
8641
8645
|
alignItems: "center",
|
|
8642
8646
|
justifyContent: "center",
|
|
8643
8647
|
zIndex: Ut
|
|
8644
|
-
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8648
|
+
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:2476", className: "vg-glassmorphism vg-animate-slide", style: {
|
|
8645
8649
|
width: "90%",
|
|
8646
8650
|
maxWidth: "440px",
|
|
8647
8651
|
boxShadow: "0 25px 50px -12px rgba(0, 0, 0, 0.25)",
|
|
@@ -8650,8 +8654,8 @@ const iw = (t) => {
|
|
|
8650
8654
|
overflow: "hidden",
|
|
8651
8655
|
padding: "40px 32px"
|
|
8652
8656
|
}, children: [
|
|
8653
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf9d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8654
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf9e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8657
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf9d", "data-source-path": "/src/components/ViewGateOverlay.tsx:2485", style: { textAlign: "center", marginBottom: "32px" }, children: [
|
|
8658
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf9e", "data-source-path": "/src/components/ViewGateOverlay.tsx:2486", style: {
|
|
8655
8659
|
width: "64px",
|
|
8656
8660
|
height: "64px",
|
|
8657
8661
|
background: "var(--vg-primary-gradient)",
|
|
@@ -8662,9 +8666,9 @@ const iw = (t) => {
|
|
|
8662
8666
|
margin: "0 auto 20px",
|
|
8663
8667
|
color: "white",
|
|
8664
8668
|
boxShadow: "0 8px 16px rgba(99, 102, 241, 0.2)"
|
|
8665
|
-
}, children: /* @__PURE__ */ i.jsx($l, { "data-vg-id": "422a5ede", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8666
|
-
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "efa6bb80", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8667
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "1000def7", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8669
|
+
}, children: /* @__PURE__ */ i.jsx($l, { "data-vg-id": "422a5ede", "data-source-path": "/src/components/ViewGateOverlay.tsx:2491", size: 32 }) }),
|
|
8670
|
+
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "efa6bb80", "data-source-path": "/src/components/ViewGateOverlay.tsx:2493", style: { margin: "0 0 12px 0", fontSize: "24px", fontWeight: 800, color: "#0f172a", letterSpacing: "-0.02em" }, children: e === "es" ? "Acceso Requerido" : "Authentication Required" }),
|
|
8671
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "1000def7", "data-source-path": "/src/components/ViewGateOverlay.tsx:2496", style: { margin: 0, color: "#64748b", fontSize: "15px", lineHeight: 1.6 }, children: e === "es" ? "Para dejar comentarios, debes iniciar sesión con tu cuenta de ViewGate." : "To leave feedback, please sign in with your ViewGate account." })
|
|
8668
8672
|
] }),
|
|
8669
8673
|
/* @__PURE__ */ i.jsxs(
|
|
8670
8674
|
"button",
|
|
@@ -8683,11 +8687,11 @@ const iw = (t) => {
|
|
|
8683
8687
|
marginBottom: "16px"
|
|
8684
8688
|
},
|
|
8685
8689
|
children: [
|
|
8686
|
-
/* @__PURE__ */ i.jsxs("svg", { "data-vg-id": "1bc8d104", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8687
|
-
/* @__PURE__ */ i.jsx("path", { "data-vg-id": "9b950dc8", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8688
|
-
/* @__PURE__ */ i.jsx("path", { "data-vg-id": "9b950dc9", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8689
|
-
/* @__PURE__ */ i.jsx("path", { "data-vg-id": "9b950dca", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8690
|
-
/* @__PURE__ */ i.jsx("path", { "data-vg-id": "9b950dcb", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8690
|
+
/* @__PURE__ */ i.jsxs("svg", { "data-vg-id": "1bc8d104", "data-source-path": "/src/components/ViewGateOverlay.tsx:2518", width: "20", height: "20", viewBox: "0 0 24 24", fill: "currentColor", children: [
|
|
8691
|
+
/* @__PURE__ */ i.jsx("path", { "data-vg-id": "9b950dc8", "data-source-path": "/src/components/ViewGateOverlay.tsx:2519", d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z", fill: "#4285F4" }),
|
|
8692
|
+
/* @__PURE__ */ i.jsx("path", { "data-vg-id": "9b950dc9", "data-source-path": "/src/components/ViewGateOverlay.tsx:2520", d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z", fill: "#34A853" }),
|
|
8693
|
+
/* @__PURE__ */ i.jsx("path", { "data-vg-id": "9b950dca", "data-source-path": "/src/components/ViewGateOverlay.tsx:2521", d: "M5.84 14.1c-.22-.66-.35-1.36-.35-2.1s.13-1.44.35-2.1V7.06H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.94l3.66-2.84z", fill: "#FBBC05" }),
|
|
8694
|
+
/* @__PURE__ */ i.jsx("path", { "data-vg-id": "9b950dcb", "data-source-path": "/src/components/ViewGateOverlay.tsx:2522", d: "M12 5.38c1.62 0 3.06.56 4.21 1.66l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.06l3.66 2.84c.87-2.6 3.3-4.52 6.16-4.52z", fill: "#EA4335" })
|
|
8691
8695
|
] }),
|
|
8692
8696
|
e === "es" ? "Continuar con Google" : "Continue with Google"
|
|
8693
8697
|
]
|
|
@@ -8704,9 +8708,9 @@ const iw = (t) => {
|
|
|
8704
8708
|
children: r.cancel
|
|
8705
8709
|
}
|
|
8706
8710
|
),
|
|
8707
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfbc", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8711
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfbc", "data-source-path": "/src/components/ViewGateOverlay.tsx:2538", style: { marginTop: "24px", textAlign: "center" }, children: /* @__PURE__ */ i.jsx("p", { "data-vg-id": "1000defe", "data-source-path": "/src/components/ViewGateOverlay.tsx:2539", style: { fontSize: "11px", color: "#94a3b8", margin: 0 }, children: e === "es" ? "Tu sesión se sincronizará con el Dashboard principal." : "Your session will be synced with the main Dashboard." }) })
|
|
8708
8712
|
] }) }),
|
|
8709
|
-
O && LA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfd3", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8713
|
+
O && LA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfd3", "data-source-path": "/src/components/ViewGateOverlay.tsx:2551", className: "vg-animate-fade", style: {
|
|
8710
8714
|
position: "fixed",
|
|
8711
8715
|
top: 0,
|
|
8712
8716
|
left: 0,
|
|
@@ -8718,7 +8722,7 @@ const iw = (t) => {
|
|
|
8718
8722
|
alignItems: "center",
|
|
8719
8723
|
justifyContent: "center",
|
|
8720
8724
|
zIndex: Ut
|
|
8721
|
-
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbfd4", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8725
|
+
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbfd4", "data-source-path": "/src/components/ViewGateOverlay.tsx:2556", className: "vg-glassmorphism vg-animate-slide", style: {
|
|
8722
8726
|
width: "90%",
|
|
8723
8727
|
maxWidth: "700px",
|
|
8724
8728
|
maxHeight: "92vh",
|
|
@@ -8728,12 +8732,12 @@ const iw = (t) => {
|
|
|
8728
8732
|
overflow: "hidden"
|
|
8729
8733
|
// Contain child scrollbars
|
|
8730
8734
|
}, children: [
|
|
8731
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbfd5", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8735
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbfd5", "data-source-path": "/src/components/ViewGateOverlay.tsx:2566", style: { padding: "24px 24px 16px", textAlign: "center", borderBottom: "1px solid rgba(0,0,0,0.05)", flexShrink: 0, position: "relative" }, children: [
|
|
8732
8736
|
LA && /* @__PURE__ */ i.jsxs(
|
|
8733
8737
|
"div",
|
|
8734
8738
|
{
|
|
8735
8739
|
"data-vg-id": "17fbfd6",
|
|
8736
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8740
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:2568",
|
|
8737
8741
|
className: "vg-profile-info-card",
|
|
8738
8742
|
style: {
|
|
8739
8743
|
position: "absolute",
|
|
@@ -8750,12 +8754,12 @@ const iw = (t) => {
|
|
|
8750
8754
|
zIndex: 10
|
|
8751
8755
|
},
|
|
8752
8756
|
children: [
|
|
8753
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76ca2", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8754
|
-
LA.avatar ? /* @__PURE__ */ i.jsx("img", { "data-vg-id": "a398766", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8757
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76ca2", "data-source-path": "/src/components/ViewGateOverlay.tsx:2585", style: { fontSize: "10px", fontWeight: 800, color: "#64748b", textTransform: "uppercase" }, children: LA.name.split(" ")[0] }),
|
|
8758
|
+
LA.avatar ? /* @__PURE__ */ i.jsx("img", { "data-vg-id": "a398766", "data-source-path": "/src/components/ViewGateOverlay.tsx:2589", src: LA.avatar, style: { width: "24px", height: "24px", borderRadius: "50%" }, alt: "" }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfd9", "data-source-path": "/src/components/ViewGateOverlay.tsx:2591", style: { width: "24px", height: "24px", borderRadius: "50%", background: "#6366f1", color: "white", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "10px", fontWeight: 700 }, children: LA.name?.[0] })
|
|
8755
8759
|
]
|
|
8756
8760
|
}
|
|
8757
8761
|
),
|
|
8758
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfda", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8762
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfda", "data-source-path": "/src/components/ViewGateOverlay.tsx:2597", style: {
|
|
8759
8763
|
width: "40px",
|
|
8760
8764
|
height: "40px",
|
|
8761
8765
|
background: "var(--vg-primary-gradient)",
|
|
@@ -8766,18 +8770,18 @@ const iw = (t) => {
|
|
|
8766
8770
|
margin: "0 auto 12px",
|
|
8767
8771
|
color: "white",
|
|
8768
8772
|
boxShadow: "0 4px 12px rgba(99, 102, 241, 0.2)"
|
|
8769
|
-
}, children: /* @__PURE__ */ i.jsx(Mr, { "data-vg-id": "10c62228", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8770
|
-
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "efa6bba7", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8771
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "1000df33", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8773
|
+
}, children: /* @__PURE__ */ i.jsx(Mr, { "data-vg-id": "10c62228", "data-source-path": "/src/components/ViewGateOverlay.tsx:2602", size: 20 }) }),
|
|
8774
|
+
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "efa6bba7", "data-source-path": "/src/components/ViewGateOverlay.tsx:2604", style: { margin: "0 0 4px 0", fontSize: "20px", fontWeight: 800, color: "#0f172a" }, children: r.feedbackHeader }),
|
|
8775
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "1000df33", "data-source-path": "/src/components/ViewGateOverlay.tsx:2605", style: { margin: 0, color: "#64748b", fontSize: "14px" }, children: r.feedbackSubheader })
|
|
8772
8776
|
] }),
|
|
8773
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbff3", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8777
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbff3", "data-source-path": "/src/components/ViewGateOverlay.tsx:2609", className: "vg-custom-scrollbar", style: {
|
|
8774
8778
|
flex: 1,
|
|
8775
8779
|
overflowY: "auto",
|
|
8776
8780
|
padding: "24px",
|
|
8777
8781
|
display: "flex",
|
|
8778
8782
|
flexDirection: "column"
|
|
8779
8783
|
}, children: [
|
|
8780
|
-
O.visualPreview && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbff4", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8784
|
+
O.visualPreview && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbff4", "data-source-path": "/src/components/ViewGateOverlay.tsx:2618", style: {
|
|
8781
8785
|
marginBottom: "24px",
|
|
8782
8786
|
borderRadius: "12px",
|
|
8783
8787
|
width: "100%",
|
|
@@ -8814,12 +8818,12 @@ const iw = (t) => {
|
|
|
8814
8818
|
style: { fontSize: "15px", padding: "16px", marginBottom: "24px", minHeight: "120px" }
|
|
8815
8819
|
}
|
|
8816
8820
|
),
|
|
8817
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbff5", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8818
|
-
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "18bd4b33", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8819
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbff7", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8821
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbff5", "data-source-path": "/src/components/ViewGateOverlay.tsx:2655", style: { marginBottom: "24px" }, children: [
|
|
8822
|
+
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "18bd4b33", "data-source-path": "/src/components/ViewGateOverlay.tsx:2656", style: { fontSize: "12px", fontWeight: 700, color: "#64748b", marginBottom: "8px", display: "block" }, children: r.priority }),
|
|
8823
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbff7", "data-source-path": "/src/components/ViewGateOverlay.tsx:2659", style: { display: "flex", gap: "8px" }, children: ["low", "medium", "high", "urgent"].map((d) => /* @__PURE__ */ i.jsx(
|
|
8820
8824
|
"button",
|
|
8821
8825
|
{
|
|
8822
|
-
onClick: () =>
|
|
8826
|
+
onClick: () => C(d),
|
|
8823
8827
|
style: {
|
|
8824
8828
|
flex: 1,
|
|
8825
8829
|
padding: "12px 6px",
|
|
@@ -8839,12 +8843,12 @@ const iw = (t) => {
|
|
|
8839
8843
|
d
|
|
8840
8844
|
)) })
|
|
8841
8845
|
] }),
|
|
8842
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbff8", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8843
|
-
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "18bd4b36", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8844
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbffa", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8845
|
-
{ id: "frontend", label: r.frontend, icon: /* @__PURE__ */ i.jsx(Gr, { "data-vg-id": "377c172e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8846
|
-
{ id: "backend", label: r.backend, icon: /* @__PURE__ */ i.jsx(De, { "data-vg-id": "7117e5d5", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8847
|
-
{ id: "ux", label: r.ux, icon: /* @__PURE__ */ i.jsx(Pt, { "data-vg-id": "de42479a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8846
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbff8", "data-source-path": "/src/components/ViewGateOverlay.tsx:2686", style: { marginBottom: "24px" }, children: [
|
|
8847
|
+
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "18bd4b36", "data-source-path": "/src/components/ViewGateOverlay.tsx:2687", style: { fontSize: "12px", fontWeight: 700, color: "#64748b", marginBottom: "8px", display: "block" }, children: r.focusAreas }),
|
|
8848
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbffa", "data-source-path": "/src/components/ViewGateOverlay.tsx:2690", style: { display: "flex", gap: "8px", marginBottom: N.length > 0 ? "12px" : "0" }, children: [
|
|
8849
|
+
{ id: "frontend", label: r.frontend, icon: /* @__PURE__ */ i.jsx(Gr, { "data-vg-id": "377c172e", "data-source-path": "/src/components/ViewGateOverlay.tsx:2692", size: 14 }), color: "#10b981", bg: "#ecfdf5", border: "#d1fae5" },
|
|
8850
|
+
{ id: "backend", label: r.backend, icon: /* @__PURE__ */ i.jsx(De, { "data-vg-id": "7117e5d5", "data-source-path": "/src/components/ViewGateOverlay.tsx:2693", size: 14 }), color: "#6366f1", bg: "#eef2ff", border: "#e0e7ff" },
|
|
8851
|
+
{ id: "ux", label: r.ux, icon: /* @__PURE__ */ i.jsx(Pt, { "data-vg-id": "de42479a", "data-source-path": "/src/components/ViewGateOverlay.tsx:2694", size: 14 }), color: "#d946ef", bg: "#fdf4ff", border: "#f5d0fe" }
|
|
8848
8852
|
].filter((d) => d.id === "backend" ? Qo : d.id === "ux" ? ee : !0).map((d) => {
|
|
8849
8853
|
const u = N.includes(d.id);
|
|
8850
8854
|
return /* @__PURE__ */ i.jsxs(
|
|
@@ -8878,17 +8882,17 @@ const iw = (t) => {
|
|
|
8878
8882
|
d.id
|
|
8879
8883
|
);
|
|
8880
8884
|
}) }),
|
|
8881
|
-
N.includes("ux") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc013", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8882
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc014", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8883
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc015", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8884
|
-
/* @__PURE__ */ i.jsx(sn, { "data-vg-id": "38884e11", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8885
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76ce2", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8885
|
+
N.includes("ux") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc013", "data-source-path": "/src/components/ViewGateOverlay.tsx:2741", className: "vg-animate-slide", style: { marginBottom: "16px" }, children: [
|
|
8886
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc014", "data-source-path": "/src/components/ViewGateOverlay.tsx:2742", style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: "8px" }, children: [
|
|
8887
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc015", "data-source-path": "/src/components/ViewGateOverlay.tsx:2743", style: { display: "flex", alignItems: "center", gap: "6px" }, children: [
|
|
8888
|
+
/* @__PURE__ */ i.jsx(sn, { "data-vg-id": "38884e11", "data-source-path": "/src/components/ViewGateOverlay.tsx:2744", size: 14, style: { color: "#d946ef" } }),
|
|
8889
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76ce2", "data-source-path": "/src/components/ViewGateOverlay.tsx:2745", style: { fontSize: "11px", fontWeight: 800, color: "#64748b", textTransform: "uppercase", letterSpacing: "0.05em" }, children: r.figmaLink })
|
|
8886
8890
|
] }),
|
|
8887
8891
|
/* @__PURE__ */ i.jsxs(
|
|
8888
8892
|
"button",
|
|
8889
8893
|
{
|
|
8890
8894
|
"data-vg-id": "23e21f7b",
|
|
8891
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8895
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:2749",
|
|
8892
8896
|
onClick: () => IA([...Z, { name: "", link: "" }]),
|
|
8893
8897
|
style: {
|
|
8894
8898
|
background: "rgba(217, 70, 239, 0.1)",
|
|
@@ -8907,20 +8911,20 @@ const iw = (t) => {
|
|
|
8907
8911
|
onMouseEnter: (d) => d.currentTarget.style.background = "rgba(217, 70, 239, 0.15)",
|
|
8908
8912
|
onMouseLeave: (d) => d.currentTarget.style.background = "rgba(217, 70, 239, 0.1)",
|
|
8909
8913
|
children: [
|
|
8910
|
-
/* @__PURE__ */ i.jsx(rd, { "data-vg-id": "11a60c74", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8914
|
+
/* @__PURE__ */ i.jsx(rd, { "data-vg-id": "11a60c74", "data-source-path": "/src/components/ViewGateOverlay.tsx:2768", size: 10 }),
|
|
8911
8915
|
" ",
|
|
8912
8916
|
r.addLink
|
|
8913
8917
|
]
|
|
8914
8918
|
}
|
|
8915
8919
|
)
|
|
8916
8920
|
] }),
|
|
8917
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc01a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8918
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc031", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8921
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc01a", "data-source-path": "/src/components/ViewGateOverlay.tsx:2772", style: { display: "flex", flexDirection: "column", gap: "8px" }, children: Z.map((d, u) => /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc030", "data-source-path": "/src/components/ViewGateOverlay.tsx:2774", style: { display: "flex", gap: "6px", alignItems: "flex-start" }, className: "vg-animate-slide", children: [
|
|
8922
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc031", "data-source-path": "/src/components/ViewGateOverlay.tsx:2775", style: { flex: 1, display: "flex", flexDirection: "column", gap: "4px" }, children: [
|
|
8919
8923
|
/* @__PURE__ */ i.jsx(
|
|
8920
8924
|
"input",
|
|
8921
8925
|
{
|
|
8922
8926
|
"data-vg-id": "a993bad9",
|
|
8923
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8927
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:2776",
|
|
8924
8928
|
type: "text",
|
|
8925
8929
|
className: "vg-textarea",
|
|
8926
8930
|
style: { padding: "8px 10px", fontSize: "11px", minHeight: "auto", borderRadius: "8px", border: "1px solid rgba(0,0,0,0.05)" },
|
|
@@ -8936,7 +8940,7 @@ const iw = (t) => {
|
|
|
8936
8940
|
"input",
|
|
8937
8941
|
{
|
|
8938
8942
|
"data-vg-id": "a993bada",
|
|
8939
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8943
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:2790",
|
|
8940
8944
|
type: "text",
|
|
8941
8945
|
className: "vg-textarea",
|
|
8942
8946
|
style: { padding: "8px 10px", fontSize: "11px", minHeight: "auto", borderRadius: "8px", border: "1px solid rgba(0,0,0,0.05)" },
|
|
@@ -8953,7 +8957,7 @@ const iw = (t) => {
|
|
|
8953
8957
|
"button",
|
|
8954
8958
|
{
|
|
8955
8959
|
"data-vg-id": "23e21f97",
|
|
8956
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8960
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:2806",
|
|
8957
8961
|
onClick: () => IA(Z.filter((p, Q) => Q !== u)),
|
|
8958
8962
|
style: {
|
|
8959
8963
|
background: "rgba(239, 68, 68, 0.05)",
|
|
@@ -8969,18 +8973,18 @@ const iw = (t) => {
|
|
|
8969
8973
|
},
|
|
8970
8974
|
onMouseEnter: (p) => p.currentTarget.style.background = "rgba(239, 68, 68, 0.1)",
|
|
8971
8975
|
onMouseLeave: (p) => p.currentTarget.style.background = "rgba(239, 68, 68, 0.05)",
|
|
8972
|
-
children: /* @__PURE__ */ i.jsx(Vr, { "data-vg-id": "e1375db0", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8976
|
+
children: /* @__PURE__ */ i.jsx(Vr, { "data-vg-id": "e1375db0", "data-source-path": "/src/components/ViewGateOverlay.tsx:2823", size: 14 })
|
|
8973
8977
|
}
|
|
8974
8978
|
)
|
|
8975
8979
|
] }, u)) })
|
|
8976
8980
|
] }),
|
|
8977
|
-
oe.length > 0 && N.includes("backend") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc036", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8978
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc037", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8979
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc038", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8980
|
-
/* @__PURE__ */ i.jsx(De, { "data-vg-id": "7117e5fd", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8981
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76d1a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8981
|
+
oe.length > 0 && N.includes("backend") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc036", "data-source-path": "/src/components/ViewGateOverlay.tsx:2835", className: "vg-animate-slide", style: { marginBottom: "16px" }, children: [
|
|
8982
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc037", "data-source-path": "/src/components/ViewGateOverlay.tsx:2836", style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: "8px" }, children: [
|
|
8983
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc038", "data-source-path": "/src/components/ViewGateOverlay.tsx:2837", style: { display: "flex", alignItems: "center", gap: "6px" }, children: [
|
|
8984
|
+
/* @__PURE__ */ i.jsx(De, { "data-vg-id": "7117e5fd", "data-source-path": "/src/components/ViewGateOverlay.tsx:2838", size: 14, style: { color: "#6366f1" } }),
|
|
8985
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76d1a", "data-source-path": "/src/components/ViewGateOverlay.tsx:2839", style: { fontSize: "11px", fontWeight: 700, color: "#64748b" }, children: r.endpoint })
|
|
8982
8986
|
] }),
|
|
8983
|
-
X.length > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76d1b", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8987
|
+
X.length > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76d1b", "data-source-path": "/src/components/ViewGateOverlay.tsx:2842", style: { fontSize: "10px", background: "#eef2ff", color: "#6366f1", padding: "2px 8px", borderRadius: "12px", fontWeight: 700 }, children: [
|
|
8984
8988
|
X.length,
|
|
8985
8989
|
" ",
|
|
8986
8990
|
e === "es" ? "seleccionados" : "selected"
|
|
@@ -8990,7 +8994,7 @@ const iw = (t) => {
|
|
|
8990
8994
|
"button",
|
|
8991
8995
|
{
|
|
8992
8996
|
"data-vg-id": "23e21fb4",
|
|
8993
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8997
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:2848",
|
|
8994
8998
|
onClick: () => JA(!0),
|
|
8995
8999
|
className: "vg-input-like-button",
|
|
8996
9000
|
style: {
|
|
@@ -9009,9 +9013,9 @@ const iw = (t) => {
|
|
|
9009
9013
|
color: X.length > 0 ? "#0f172a" : "#94a3b8"
|
|
9010
9014
|
},
|
|
9011
9015
|
children: [
|
|
9012
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc052", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9016
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc052", "data-source-path": "/src/components/ViewGateOverlay.tsx:2867", style: { display: "flex", gap: "4px", overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis" }, children: X.length > 0 ? X.slice(0, 2).map((d) => {
|
|
9013
9017
|
const u = d.split("|"), p = u.length > 1 ? u[0] : "", Q = u.length > 1 ? u[1] : d;
|
|
9014
|
-
return /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76d1e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9018
|
+
return /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76d1e", "data-source-path": "/src/components/ViewGateOverlay.tsx:2874", style: {
|
|
9015
9019
|
background: "rgba(99, 102, 241, 0.1)",
|
|
9016
9020
|
color: "#6366f1",
|
|
9017
9021
|
padding: "1px 6px",
|
|
@@ -9019,21 +9023,21 @@ const iw = (t) => {
|
|
|
9019
9023
|
fontSize: "11px",
|
|
9020
9024
|
fontWeight: 600
|
|
9021
9025
|
}, children: [
|
|
9022
|
-
p && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76d1f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9026
|
+
p && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76d1f", "data-source-path": "/src/components/ViewGateOverlay.tsx:2882", style: { opacity: 0.6, marginRight: "4px" }, children: p }),
|
|
9023
9027
|
(Q || "").split("/").pop() || Q
|
|
9024
9028
|
] }, d);
|
|
9025
|
-
}).concat(X.length > 2 ? [/* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76d20", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9029
|
+
}).concat(X.length > 2 ? [/* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76d20", "data-source-path": "/src/components/ViewGateOverlay.tsx:2886", children: [
|
|
9026
9030
|
"+",
|
|
9027
9031
|
X.length - 2
|
|
9028
9032
|
] }, "more")] : []) : r.selectEndpoint }),
|
|
9029
|
-
/* @__PURE__ */ i.jsx(Yo, { "data-vg-id": "c71f9a0a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9033
|
+
/* @__PURE__ */ i.jsx(Yo, { "data-vg-id": "c71f9a0a", "data-source-path": "/src/components/ViewGateOverlay.tsx:2889", size: 14, style: { color: "#64748b" } })
|
|
9030
9034
|
]
|
|
9031
9035
|
}
|
|
9032
9036
|
)
|
|
9033
9037
|
] })
|
|
9034
9038
|
] })
|
|
9035
9039
|
] }),
|
|
9036
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc057", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9040
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc057", "data-source-path": "/src/components/ViewGateOverlay.tsx:2898", style: {
|
|
9037
9041
|
padding: "16px 24px 24px",
|
|
9038
9042
|
borderTop: "1px solid rgba(0,0,0,0.05)",
|
|
9039
9043
|
display: "flex",
|
|
@@ -9065,15 +9069,15 @@ const iw = (t) => {
|
|
|
9065
9069
|
opacity: iA || !W.trim() || N.includes("backend") && X.length === 0 || N.includes("ux") && Z.some((d) => !d.name.trim() || !d.link.trim()) ? 0.6 : 1,
|
|
9066
9070
|
cursor: iA || !W.trim() || N.includes("backend") && X.length === 0 || N.includes("ux") && Z.some((d) => !d.name.trim() || !d.link.trim()) ? "not-allowed" : "pointer"
|
|
9067
9071
|
},
|
|
9068
|
-
children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc058", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9069
|
-
iA ? /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc06e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9070
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76d3b", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9072
|
+
children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc058", "data-source-path": "/src/components/ViewGateOverlay.tsx:2936", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
9073
|
+
iA ? /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc06e", "data-source-path": "/src/components/ViewGateOverlay.tsx:2937", className: "vg-spinner", style: { width: "16px", height: "16px", borderWidth: "2px" } }) : /* @__PURE__ */ i.jsx(ad, { "data-vg-id": "a3fd5c1c", "data-source-path": "/src/components/ViewGateOverlay.tsx:2937", size: 18 }),
|
|
9074
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76d3b", "data-source-path": "/src/components/ViewGateOverlay.tsx:2938", children: iA ? r.submitting : r.sendFeedback || "Send Comment" })
|
|
9071
9075
|
] })
|
|
9072
9076
|
}
|
|
9073
9077
|
)
|
|
9074
9078
|
] })
|
|
9075
9079
|
] }) }),
|
|
9076
|
-
GA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc071", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9080
|
+
GA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc071", "data-source-path": "/src/components/ViewGateOverlay.tsx:2948", className: "vg-animate-fade", style: {
|
|
9077
9081
|
position: "fixed",
|
|
9078
9082
|
top: 0,
|
|
9079
9083
|
left: 0,
|
|
@@ -9085,7 +9089,7 @@ const iw = (t) => {
|
|
|
9085
9089
|
alignItems: "center",
|
|
9086
9090
|
justifyContent: "center",
|
|
9087
9091
|
zIndex: Ut
|
|
9088
|
-
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc072", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9092
|
+
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc072", "data-source-path": "/src/components/ViewGateOverlay.tsx:2954", className: "vg-glassmorphism vg-animate-slide", style: {
|
|
9089
9093
|
padding: "32px",
|
|
9090
9094
|
width: "820px",
|
|
9091
9095
|
maxHeight: "85vh",
|
|
@@ -9093,22 +9097,22 @@ const iw = (t) => {
|
|
|
9093
9097
|
flexDirection: "column",
|
|
9094
9098
|
transition: "all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"
|
|
9095
9099
|
}, children: [
|
|
9096
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc073", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9097
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc074", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9098
|
-
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "efa6bc40", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9099
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc076", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9100
|
-
LA ? /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc077", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9101
|
-
LA.avatar ? /* @__PURE__ */ i.jsx("img", { "data-vg-id": "3cf759ac", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9100
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc073", "data-source-path": "/src/components/ViewGateOverlay.tsx:2959", style: { display: "flex", flexDirection: "column", gap: "16px", marginBottom: "24px" }, children: [
|
|
9101
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc074", "data-source-path": "/src/components/ViewGateOverlay.tsx:2960", style: { display: "flex", alignItems: "center", justifyContent: "space-between" }, children: [
|
|
9102
|
+
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "efa6bc40", "data-source-path": "/src/components/ViewGateOverlay.tsx:2961", style: { margin: 0, fontSize: "20px", fontWeight: 800, color: "#0f172a", whiteSpace: "nowrap" }, children: oA ? r.commentDetails : r.annotations }),
|
|
9103
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc076", "data-source-path": "/src/components/ViewGateOverlay.tsx:2964", style: { display: "flex", alignItems: "center", gap: "12px" }, children: [
|
|
9104
|
+
LA ? /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc077", "data-source-path": "/src/components/ViewGateOverlay.tsx:2966", style: { display: "flex", alignItems: "center", gap: "8px", padding: "4px 12px", background: "rgba(99, 102, 241, 0.1)", borderRadius: "20px" }, children: [
|
|
9105
|
+
LA.avatar ? /* @__PURE__ */ i.jsx("img", { "data-vg-id": "3cf759ac", "data-source-path": "/src/components/ViewGateOverlay.tsx:2968", src: LA.avatar, style: { width: "20px", height: "20px", borderRadius: "50%" }, alt: "" }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f7b", "data-source-path": "/src/components/ViewGateOverlay.tsx:2970", style: { width: "20px", height: "20px", borderRadius: "50%", background: "#6366f1", color: "white", fontSize: "10px", display: "flex", alignItems: "center", justifyContent: "center" }, children: LA.name?.[0] }),
|
|
9102
9106
|
/* @__PURE__ */ i.jsx(
|
|
9103
9107
|
"span",
|
|
9104
9108
|
{
|
|
9105
9109
|
"data-vg-id": "8161c11",
|
|
9106
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9110
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:2974",
|
|
9107
9111
|
style: { fontSize: "12px", fontWeight: 600, color: "#4338ca" },
|
|
9108
9112
|
children: LA.name
|
|
9109
9113
|
}
|
|
9110
9114
|
)
|
|
9111
|
-
] }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f7d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9115
|
+
] }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f7d", "data-source-path": "/src/components/ViewGateOverlay.tsx:2981", style: { fontSize: "12px", color: "#64748b", fontWeight: 600 }, children: e === "es" ? "Sin usuario" : "No user selected" }),
|
|
9112
9116
|
/* @__PURE__ */ i.jsx(
|
|
9113
9117
|
"button",
|
|
9114
9118
|
{
|
|
@@ -9117,26 +9121,26 @@ const iw = (t) => {
|
|
|
9117
9121
|
onClick: () => {
|
|
9118
9122
|
fe(!1), lA(null), vr(null), L("all");
|
|
9119
9123
|
},
|
|
9120
|
-
children: /* @__PURE__ */ i.jsx(jt, { "data-vg-id": "eec8c445", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9124
|
+
children: /* @__PURE__ */ i.jsx(jt, { "data-vg-id": "eec8c445", "data-source-path": "/src/components/ViewGateOverlay.tsx:2990", size: 20 })
|
|
9121
9125
|
}
|
|
9122
9126
|
)
|
|
9123
9127
|
] })
|
|
9124
9128
|
] }),
|
|
9125
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f7f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9129
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f7f", "data-source-path": "/src/components/ViewGateOverlay.tsx:2994", style: { display: "flex", flexDirection: "column", gap: "8px", alignItems: "center", width: "100%" }, children: (() => {
|
|
9126
9130
|
const d = Array.isArray(WA) ? WA : [], u = oA ? Bt.find((S) => S.annotations?.some((dA) => dA._id === oA)) : null, Q = (u ? u.annotations : d).filter((S) => S.status !== "completed" && S.status !== "done"), y = Q.filter((S) => S.status !== "ready_for_review").length, K = Q.filter((S) => S.status === "ready_for_review").length, T = Q.length;
|
|
9127
|
-
return T <= 0 ? T === 0 ? null : /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f80", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9128
|
-
y > 0 && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f81", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9131
|
+
return T <= 0 ? T === 0 ? null : /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f80", "data-source-path": "/src/components/ViewGateOverlay.tsx:3008", style: { display: "flex", gap: "8px", opacity: 0.9 }, children: [
|
|
9132
|
+
y > 0 && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f81", "data-source-path": "/src/components/ViewGateOverlay.tsx:3010", className: "vg-badge", style: { background: "#fff7ed", color: "#c2410c", border: "1px solid #ffedd5", fontSize: "11px", padding: "2px 8px" }, children: [
|
|
9129
9133
|
y,
|
|
9130
9134
|
" ",
|
|
9131
9135
|
y === 1 ? "pendiente" : "pendientes"
|
|
9132
9136
|
] }),
|
|
9133
|
-
K > 0 && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f82", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9137
|
+
K > 0 && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f82", "data-source-path": "/src/components/ViewGateOverlay.tsx:3015", className: "vg-badge", style: { background: "#f3e8ff", color: "#a855f7", border: "1px solid #e9d5ff", fontSize: "11px", padding: "2px 8px" }, children: [
|
|
9134
9138
|
K,
|
|
9135
9139
|
" ",
|
|
9136
9140
|
e === "es" ? K === 1 ? "Listo para revisión" : "Listos para revisión" : "ready for review"
|
|
9137
9141
|
] })
|
|
9138
9142
|
] }) : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
9139
|
-
!B && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f83", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9143
|
+
!B && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f83", "data-source-path": "/src/components/ViewGateOverlay.tsx:3026", className: "vg-segmented-control", style: { marginBottom: "4px" }, children: [
|
|
9140
9144
|
/* @__PURE__ */ i.jsx(
|
|
9141
9145
|
"div",
|
|
9142
9146
|
{
|
|
@@ -9189,7 +9193,7 @@ const iw = (t) => {
|
|
|
9189
9193
|
}
|
|
9190
9194
|
)
|
|
9191
9195
|
] }),
|
|
9192
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f99", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9196
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f99", "data-source-path": "/src/components/ViewGateOverlay.tsx:3057", style: { display: "flex", gap: "6px", justifyContent: "center", flexWrap: "wrap", marginTop: B ? "0" : "4px" }, children: [
|
|
9193
9197
|
/* @__PURE__ */ i.jsxs(
|
|
9194
9198
|
"button",
|
|
9195
9199
|
{
|
|
@@ -9200,9 +9204,9 @@ const iw = (t) => {
|
|
|
9200
9204
|
fontSize: "12px",
|
|
9201
9205
|
fontWeight: 700,
|
|
9202
9206
|
border: "1px solid",
|
|
9203
|
-
borderColor:
|
|
9204
|
-
backgroundColor:
|
|
9205
|
-
color:
|
|
9207
|
+
borderColor: m === "all" ? "var(--vg-primary)" : "#e2e8f0",
|
|
9208
|
+
backgroundColor: m === "all" ? "var(--vg-primary)" : "transparent",
|
|
9209
|
+
color: m === "all" ? "white" : "#64748b",
|
|
9206
9210
|
cursor: "pointer",
|
|
9207
9211
|
transition: "all 0.2s"
|
|
9208
9212
|
},
|
|
@@ -9216,7 +9220,7 @@ const iw = (t) => {
|
|
|
9216
9220
|
),
|
|
9217
9221
|
["low", "medium", "high", "urgent"].map((S) => {
|
|
9218
9222
|
const dA = Q.filter((M) => B ? !0 : VA === "pending" ? M.status !== "ready_for_review" : VA === "ready" ? M.status === "ready_for_review" : !0).filter((M) => (M.priority || "medium") === S).length;
|
|
9219
|
-
return dA === 0 &&
|
|
9223
|
+
return dA === 0 && m !== S ? null : /* @__PURE__ */ i.jsxs(
|
|
9220
9224
|
"button",
|
|
9221
9225
|
{
|
|
9222
9226
|
onClick: () => L(S),
|
|
@@ -9226,9 +9230,9 @@ const iw = (t) => {
|
|
|
9226
9230
|
fontSize: "12px",
|
|
9227
9231
|
fontWeight: 700,
|
|
9228
9232
|
border: "1px solid",
|
|
9229
|
-
borderColor:
|
|
9230
|
-
backgroundColor:
|
|
9231
|
-
color:
|
|
9233
|
+
borderColor: m === S ? S === "low" ? "#10b981" : S === "medium" ? "#6366f1" : S === "high" ? "#f59e0b" : "#ef4444" : "#e2e8f0",
|
|
9234
|
+
backgroundColor: m === S ? S === "low" ? "#ecfdf5" : S === "medium" ? "#eef2ff" : S === "high" ? "#fffbeb" : "#fef2f2" : "transparent",
|
|
9235
|
+
color: m === S ? S === "low" ? "#059669" : S === "medium" ? "#4338ca" : S === "high" ? "#b45309" : "#b91c1c" : "#64748b",
|
|
9232
9236
|
cursor: "pointer",
|
|
9233
9237
|
transition: "all 0.2s",
|
|
9234
9238
|
textTransform: "uppercase"
|
|
@@ -9252,7 +9256,7 @@ const iw = (t) => {
|
|
|
9252
9256
|
{
|
|
9253
9257
|
style: { flex: 1, overflowY: "auto", paddingRight: "10px", overflowX: "hidden" },
|
|
9254
9258
|
className: "vg-custom-scrollbar",
|
|
9255
|
-
children: ze ? /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f9a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9259
|
+
children: ze ? /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f9a", "data-source-path": "/src/components/ViewGateOverlay.tsx:3123", style: { display: "flex", justifyContent: "center", padding: "40px" }, children: /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f9b", "data-source-path": "/src/components/ViewGateOverlay.tsx:3124", className: "vg-spinner" }) }) : Hr.map((d, u) => /* @__PURE__ */ i.jsxs(
|
|
9256
9260
|
"div",
|
|
9257
9261
|
{
|
|
9258
9262
|
className: "vg-glassmorphism vg-animate-slide",
|
|
@@ -9264,14 +9268,14 @@ const iw = (t) => {
|
|
|
9264
9268
|
animationDelay: `${u * 0.05}s`
|
|
9265
9269
|
},
|
|
9266
9270
|
children: [
|
|
9267
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9268
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f9d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9269
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c33", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9271
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3139", style: { display: "flex", justifyContent: "space-between", marginBottom: "16px", alignItems: "center" }, children: [
|
|
9272
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f9d", "data-source-path": "/src/components/ViewGateOverlay.tsx:3140", style: { display: "flex", gap: "12px", alignItems: "center" }, children: [
|
|
9273
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c33", "data-source-path": "/src/components/ViewGateOverlay.tsx:3141", style: { fontSize: "12px", color: "#000000", fontWeight: 600 }, children: ri(d.timestamp || d.createdAt || d.reference?.timestamp, e) }),
|
|
9270
9274
|
/* @__PURE__ */ i.jsx(
|
|
9271
9275
|
"div",
|
|
9272
9276
|
{
|
|
9273
9277
|
"data-vg-id": "2e782f9f",
|
|
9274
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9278
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:3144",
|
|
9275
9279
|
onClick: (p) => {
|
|
9276
9280
|
p.stopPropagation();
|
|
9277
9281
|
const Q = d.key || `VG-${d._id.slice(-6).toUpperCase()}`;
|
|
@@ -9296,14 +9300,14 @@ const iw = (t) => {
|
|
|
9296
9300
|
children: d.key || `VG-${d._id.slice(-6).toUpperCase()}`
|
|
9297
9301
|
}
|
|
9298
9302
|
),
|
|
9299
|
-
d.reference?.metadata?.isModal && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c35", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9303
|
+
d.reference?.metadata?.isModal && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c35", "data-source-path": "/src/components/ViewGateOverlay.tsx:3173", className: "vg-badge", style: {
|
|
9300
9304
|
fontSize: "10px",
|
|
9301
9305
|
background: B ? "#f1f5f9" : d.status === "completed" || d.status === "done" ? "#ecfdf5" : d.status === "ready_for_review" ? "#f3e8ff" : "#fef3c7",
|
|
9302
9306
|
color: B ? "#64748b" : d.status === "completed" || d.status === "done" ? "#059669" : d.status === "ready_for_review" ? "#a855f7" : "#92400e",
|
|
9303
9307
|
border: "none",
|
|
9304
9308
|
padding: "2px 6px"
|
|
9305
9309
|
}, children: "MODAL" }),
|
|
9306
|
-
d.creator && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782fa1", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9310
|
+
d.creator && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782fa1", "data-source-path": "/src/components/ViewGateOverlay.tsx:3182", style: {
|
|
9307
9311
|
display: "flex",
|
|
9308
9312
|
alignItems: "center",
|
|
9309
9313
|
background: "#f8fafc",
|
|
@@ -9311,7 +9315,7 @@ const iw = (t) => {
|
|
|
9311
9315
|
borderRadius: "50%",
|
|
9312
9316
|
border: "1px solid #e2e8f0",
|
|
9313
9317
|
marginLeft: "4px"
|
|
9314
|
-
}, children: d.creator.avatar ? /* @__PURE__ */ i.jsx("img", { "data-vg-id": "3cf759d4", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9318
|
+
}, children: d.creator.avatar ? /* @__PURE__ */ i.jsx("img", { "data-vg-id": "3cf759d4", "data-source-path": "/src/components/ViewGateOverlay.tsx:3192", src: d.creator.avatar, style: { width: "16px", height: "16px", borderRadius: "50%" }, alt: "" }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782fb8", "data-source-path": "/src/components/ViewGateOverlay.tsx:3194", style: { width: "16px", height: "16px", borderRadius: "50%", background: "#6366f1", color: "white", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "8px", fontWeight: 700 }, children: d.creator.name?.[0] }) }),
|
|
9315
9319
|
d.url && /* @__PURE__ */ i.jsx(
|
|
9316
9320
|
si,
|
|
9317
9321
|
{
|
|
@@ -9331,7 +9335,7 @@ const iw = (t) => {
|
|
|
9331
9335
|
}
|
|
9332
9336
|
}
|
|
9333
9337
|
),
|
|
9334
|
-
(d.focusAreas?.length > 0 ? d.focusAreas : [...d.backendEndpoints?.length > 0 ? ["backend"] : [], ...d.figmaReference?.length > 0 ? ["ux"] : []]).map((p) => /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c4e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9338
|
+
(d.focusAreas?.length > 0 ? d.focusAreas : [...d.backendEndpoints?.length > 0 ? ["backend"] : [], ...d.figmaReference?.length > 0 ? ["ux"] : []]).map((p) => /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c4e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3220", style: {
|
|
9335
9339
|
fontSize: "10px",
|
|
9336
9340
|
fontWeight: 800,
|
|
9337
9341
|
textTransform: "uppercase",
|
|
@@ -9346,32 +9350,32 @@ const iw = (t) => {
|
|
|
9346
9350
|
boxShadow: p === "frontend" ? "0 2px 4px rgba(5, 150, 105, 0.05)" : p === "backend" ? "0 2px 4px rgba(79, 70, 229, 0.05)" : "0 2px 4px rgba(192, 38, 211, 0.05)",
|
|
9347
9351
|
letterSpacing: "0.02em"
|
|
9348
9352
|
}, children: [
|
|
9349
|
-
p === "frontend" ? /* @__PURE__ */ i.jsx(Gr, { "data-vg-id": "b806bee7", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9353
|
+
p === "frontend" ? /* @__PURE__ */ i.jsx(Gr, { "data-vg-id": "b806bee7", "data-source-path": "/src/components/ViewGateOverlay.tsx:3228", size: 11, strokeWidth: 2.5 }) : p === "backend" ? /* @__PURE__ */ i.jsx(De, { "data-vg-id": "b1e4c277", "data-source-path": "/src/components/ViewGateOverlay.tsx:3228", size: 11, strokeWidth: 2.5 }) : /* @__PURE__ */ i.jsx(Pt, { "data-vg-id": "ea069934", "data-source-path": "/src/components/ViewGateOverlay.tsx:3228", size: 11, strokeWidth: 2.5 }),
|
|
9350
9354
|
p === "frontend" ? "Frontend" : p === "backend" ? "Backend" : "UX / UI"
|
|
9351
9355
|
] }, p))
|
|
9352
9356
|
] }),
|
|
9353
|
-
d.status === "completed" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c52", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9354
|
-
/* @__PURE__ */ i.jsx(Ze, { "data-vg-id": "a75c1a63", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9357
|
+
d.status === "completed" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c52", "data-source-path": "/src/components/ViewGateOverlay.tsx:3234", className: "vg-badge", style: { backgroundColor: "#ecfdf5", color: "#059669", border: "1px solid #d1fae5" }, children: [
|
|
9358
|
+
/* @__PURE__ */ i.jsx(Ze, { "data-vg-id": "a75c1a63", "data-source-path": "/src/components/ViewGateOverlay.tsx:3235", size: 14 }),
|
|
9355
9359
|
" ",
|
|
9356
9360
|
r.completed || (e === "es" ? "Listo para revisión" : "Ready for Review")
|
|
9357
|
-
] }) : d.status === "ready_for_review" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c54", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9358
|
-
/* @__PURE__ */ i.jsx(Ze, { "data-vg-id": "a75c1a65", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9361
|
+
] }) : d.status === "ready_for_review" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c54", "data-source-path": "/src/components/ViewGateOverlay.tsx:3238", className: "vg-badge", style: { backgroundColor: "#f3e8ff", color: "#a855f7", border: "1px solid #e9d5ff" }, children: [
|
|
9362
|
+
/* @__PURE__ */ i.jsx(Ze, { "data-vg-id": "a75c1a65", "data-source-path": "/src/components/ViewGateOverlay.tsx:3239", size: 14 }),
|
|
9359
9363
|
" ",
|
|
9360
9364
|
r.readyForReview
|
|
9361
|
-
] }) : d.status === "bug_fixing" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c56", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9362
|
-
/* @__PURE__ */ i.jsx(_t, { "data-vg-id": "3b8b181a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9365
|
+
] }) : d.status === "bug_fixing" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c56", "data-source-path": "/src/components/ViewGateOverlay.tsx:3242", className: "vg-badge", style: { backgroundColor: "#fff1f2", color: "#e11d48", border: "1px solid #ffe4e6" }, children: [
|
|
9366
|
+
/* @__PURE__ */ i.jsx(_t, { "data-vg-id": "3b8b181a", "data-source-path": "/src/components/ViewGateOverlay.tsx:3243", size: 14 }),
|
|
9363
9367
|
" ",
|
|
9364
9368
|
"Bug Fixing"
|
|
9365
|
-
] }) : /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c6d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9369
|
+
] }) : /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c6d", "data-source-path": "/src/components/ViewGateOverlay.tsx:3246", className: "vg-badge", style: {
|
|
9366
9370
|
backgroundColor: B || d.status === "backlog" ? "#f1f5f9" : "#fff7ed",
|
|
9367
9371
|
color: B || d.status === "backlog" ? "#64748b" : "#ea580c",
|
|
9368
9372
|
border: B || d.status === "backlog" ? "1px solid #e2e8f0" : "1px solid #ffedd5"
|
|
9369
9373
|
}, children: [
|
|
9370
|
-
/* @__PURE__ */ i.jsx($o, { "data-vg-id": "62dc6c36", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9374
|
+
/* @__PURE__ */ i.jsx($o, { "data-vg-id": "62dc6c36", "data-source-path": "/src/components/ViewGateOverlay.tsx:3251", size: 14 }),
|
|
9371
9375
|
B || d.status === "backlog" ? r.backlog : r.pending
|
|
9372
9376
|
] })
|
|
9373
9377
|
] }),
|
|
9374
|
-
(d.screenshot || d.reference?.previewUrl) && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782fda", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9378
|
+
(d.screenshot || d.reference?.previewUrl) && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782fda", "data-source-path": "/src/components/ViewGateOverlay.tsx:3258", style: {
|
|
9375
9379
|
margin: "0 0 20px 0",
|
|
9376
9380
|
borderRadius: "8px",
|
|
9377
9381
|
overflow: "hidden",
|
|
@@ -9387,7 +9391,7 @@ const iw = (t) => {
|
|
|
9387
9391
|
"img",
|
|
9388
9392
|
{
|
|
9389
9393
|
"data-vg-id": "3cf75a0d",
|
|
9390
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9394
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:3270",
|
|
9391
9395
|
src: d.screenshot || d.reference?.previewUrl,
|
|
9392
9396
|
alt: "Visual Preview",
|
|
9393
9397
|
style: {
|
|
@@ -9398,8 +9402,8 @@ const iw = (t) => {
|
|
|
9398
9402
|
}
|
|
9399
9403
|
}
|
|
9400
9404
|
) }),
|
|
9401
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782fdc", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9402
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782fdd", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9405
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782fdc", "data-source-path": "/src/components/ViewGateOverlay.tsx:3283", style: { marginBottom: "20px" }, children: [
|
|
9406
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782fdd", "data-source-path": "/src/components/ViewGateOverlay.tsx:3284", style: { display: "flex", alignItems: "center", gap: "8px", marginBottom: "8px" }, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782fde", "data-source-path": "/src/components/ViewGateOverlay.tsx:3285", style: {
|
|
9403
9407
|
fontSize: "10px",
|
|
9404
9408
|
fontWeight: 800,
|
|
9405
9409
|
color: d.priority === "low" ? "#059669" : d.priority === "urgent" ? "#b91c1c" : d.priority === "high" ? "#b45309" : "#4338ca",
|
|
@@ -9414,17 +9418,17 @@ const iw = (t) => {
|
|
|
9414
9418
|
": ",
|
|
9415
9419
|
r[d.priority || "medium"]
|
|
9416
9420
|
] }) }),
|
|
9417
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01af8be", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9418
|
-
d.figmaReference?.length > 0 && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782fe0", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9419
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782ff6", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9420
|
-
/* @__PURE__ */ i.jsx(Pt, { "data-vg-id": "ea06996f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9421
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c8d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9421
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01af8be", "data-source-path": "/src/components/ViewGateOverlay.tsx:3299", className: "vg-text-wrap", style: { margin: "0", fontSize: "16px", color: "#1e293b", lineHeight: 1.6 }, children: d.message }),
|
|
9422
|
+
d.figmaReference?.length > 0 && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782fe0", "data-source-path": "/src/components/ViewGateOverlay.tsx:3304", style: { marginTop: "16px", display: "flex", flexDirection: "column", gap: "8px", padding: "12px", background: "#faf5ff", borderRadius: "12px", border: "1px solid #fae8ff" }, children: [
|
|
9423
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782ff6", "data-source-path": "/src/components/ViewGateOverlay.tsx:3305", style: { display: "flex", alignItems: "center", gap: "6px", marginBottom: "4px" }, children: [
|
|
9424
|
+
/* @__PURE__ */ i.jsx(Pt, { "data-vg-id": "ea06996f", "data-source-path": "/src/components/ViewGateOverlay.tsx:3306", size: 14, style: { color: "#d946ef" } }),
|
|
9425
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c8d", "data-source-path": "/src/components/ViewGateOverlay.tsx:3307", style: { fontSize: "11px", fontWeight: 800, color: "#a21caf", textTransform: "uppercase", letterSpacing: "0.05em" }, children: e === "es" ? "Diseños Figma" : "Figma Designs" })
|
|
9422
9426
|
] }),
|
|
9423
9427
|
d.figmaReference.map((p, Q) => /* @__PURE__ */ i.jsxs(
|
|
9424
9428
|
"a",
|
|
9425
9429
|
{
|
|
9426
9430
|
"data-vg-id": "ef479849",
|
|
9427
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9431
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:3310",
|
|
9428
9432
|
href: p.link,
|
|
9429
9433
|
target: "_blank",
|
|
9430
9434
|
rel: "noreferrer",
|
|
@@ -9450,25 +9454,25 @@ const iw = (t) => {
|
|
|
9450
9454
|
y.currentTarget.style.transform = "translateY(0)", y.currentTarget.style.boxShadow = "0 2px 4px rgba(217, 70, 239, 0.05)", y.currentTarget.style.borderColor = "#f5d0fe";
|
|
9451
9455
|
},
|
|
9452
9456
|
children: [
|
|
9453
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782ffa", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9454
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782ffb", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9455
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c92", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9457
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782ffa", "data-source-path": "/src/components/ViewGateOverlay.tsx:3318", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
9458
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782ffb", "data-source-path": "/src/components/ViewGateOverlay.tsx:3319", style: { width: "24px", height: "24px", borderRadius: "6px", background: "rgba(217, 70, 239, 0.1)", display: "flex", alignItems: "center", justifyContent: "center" }, children: /* @__PURE__ */ i.jsx(Gr, { "data-vg-id": "b806bf29", "data-source-path": "/src/components/ViewGateOverlay.tsx:3320", size: 12, strokeWidth: 3 }) }),
|
|
9459
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c92", "data-source-path": "/src/components/ViewGateOverlay.tsx:3322", style: { fontWeight: 700 }, children: p.name || "Figma Reference" })
|
|
9456
9460
|
] }),
|
|
9457
|
-
/* @__PURE__ */ i.jsx(rn, { "data-vg-id": "5c2be04e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9461
|
+
/* @__PURE__ */ i.jsx(rn, { "data-vg-id": "5c2be04e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3324", size: 14, style: { opacity: 0.5 } })
|
|
9458
9462
|
]
|
|
9459
9463
|
},
|
|
9460
9464
|
Q
|
|
9461
9465
|
))
|
|
9462
9466
|
] }),
|
|
9463
|
-
d.backendEndpoints?.length > 0 && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782fff", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9464
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783015", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9465
|
-
/* @__PURE__ */ i.jsx(De, { "data-vg-id": "b1e4c2d2", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9466
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161cac", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9467
|
+
d.backendEndpoints?.length > 0 && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782fff", "data-source-path": "/src/components/ViewGateOverlay.tsx:3331", style: { marginTop: "16px", display: "flex", flexDirection: "column", gap: "8px", padding: "12px", background: "#f5f8ff", borderRadius: "12px", border: "1px solid #e0e7ff" }, children: [
|
|
9468
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783015", "data-source-path": "/src/components/ViewGateOverlay.tsx:3332", style: { display: "flex", alignItems: "center", gap: "6px", marginBottom: "4px" }, children: [
|
|
9469
|
+
/* @__PURE__ */ i.jsx(De, { "data-vg-id": "b1e4c2d2", "data-source-path": "/src/components/ViewGateOverlay.tsx:3333", size: 14, style: { color: "#4f46e5" } }),
|
|
9470
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161cac", "data-source-path": "/src/components/ViewGateOverlay.tsx:3334", style: { fontSize: "11px", fontWeight: 800, color: "#3730a3", textTransform: "uppercase", letterSpacing: "0.05em" }, children: "Backend Endpoints" })
|
|
9467
9471
|
] }),
|
|
9468
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783018", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9472
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783018", "data-source-path": "/src/components/ViewGateOverlay.tsx:3336", style: { display: "flex", flexWrap: "wrap", gap: "8px" }, children: d.backendEndpoints.map((p) => {
|
|
9469
9473
|
const Q = p.split("|"), y = Q.length > 1 ? Q[0] : "";
|
|
9470
9474
|
let K = Q.length > 1 ? Q[1] || "" : p || "", T = "#4f46e5", S = "#e0e7ff";
|
|
9471
|
-
return y === "GET" ? (T = "#059669", S = "#d1fae5") : y === "POST" ? (T = "#ea580c", S = "#ffedd5") : y === "PUT" ? (T = "#0284c7", S = "#e0f2fe") : y === "DELETE" && (T = "#e11d48", S = "#ffe4e6"), /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783019", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9475
|
+
return y === "GET" ? (T = "#059669", S = "#d1fae5") : y === "POST" ? (T = "#ea580c", S = "#ffedd5") : y === "PUT" ? (T = "#0284c7", S = "#e0f2fe") : y === "DELETE" && (T = "#e11d48", S = "#ffe4e6"), /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783019", "data-source-path": "/src/components/ViewGateOverlay.tsx:3351", className: "vg-animate-slide", style: {
|
|
9472
9476
|
fontSize: "12px",
|
|
9473
9477
|
padding: "6px 12px",
|
|
9474
9478
|
background: "#ffffff",
|
|
@@ -9480,14 +9484,14 @@ const iw = (t) => {
|
|
|
9480
9484
|
gap: "8px",
|
|
9481
9485
|
boxShadow: "0 2px 4px rgba(79, 70, 229, 0.05)"
|
|
9482
9486
|
}, children: [
|
|
9483
|
-
y && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161caf", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9484
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161cb0", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9487
|
+
y && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161caf", "data-source-path": "/src/components/ViewGateOverlay.tsx:3357", style: { fontWeight: 800, color: T, background: S, padding: "2px 6px", borderRadius: "4px", fontSize: "10px" }, children: y }),
|
|
9488
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161cb0", "data-source-path": "/src/components/ViewGateOverlay.tsx:3358", style: { fontWeight: 600, fontFamily: "monospace", letterSpacing: "-0.02em", color: "#1e293b" }, children: K })
|
|
9485
9489
|
] }, p);
|
|
9486
9490
|
}) })
|
|
9487
9491
|
] })
|
|
9488
9492
|
] }),
|
|
9489
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78301c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9490
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78301d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9493
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78301c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3368", style: { display: "flex", justifyContent: "flex-end", alignItems: "center", gap: "12px", borderTop: "1px solid #f1f5f9", paddingTop: "16px" }, children: [
|
|
9494
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78301d", "data-source-path": "/src/components/ViewGateOverlay.tsx:3370", style: { display: "flex", gap: "6px" }, children: Kt !== "client" && /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
9491
9495
|
/* @__PURE__ */ i.jsx(
|
|
9492
9496
|
"button",
|
|
9493
9497
|
{
|
|
@@ -9501,7 +9505,7 @@ const iw = (t) => {
|
|
|
9501
9505
|
Ir(d._id), To(d.message), F(d.priority || "medium"), Ns(Q), Gt(d.figmaReference && d.figmaReference.length > 0 ? d.figmaReference : [{ name: r.figmaPrimaryDesign, link: "" }]), Sr(p), zA(p);
|
|
9502
9506
|
},
|
|
9503
9507
|
title: r.edit,
|
|
9504
|
-
children: /* @__PURE__ */ i.jsx(Pt, { "data-vg-id": "ea069996", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9508
|
+
children: /* @__PURE__ */ i.jsx(Pt, { "data-vg-id": "ea069996", "data-source-path": "/src/components/ViewGateOverlay.tsx:3394", size: 16 })
|
|
9505
9509
|
}
|
|
9506
9510
|
),
|
|
9507
9511
|
/* @__PURE__ */ i.jsx(
|
|
@@ -9529,11 +9533,11 @@ const iw = (t) => {
|
|
|
9529
9533
|
});
|
|
9530
9534
|
},
|
|
9531
9535
|
title: e === "es" ? "Eliminar" : "Delete",
|
|
9532
|
-
children: /* @__PURE__ */ i.jsx(Vr, { "data-vg-id": "45b44219", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9536
|
+
children: /* @__PURE__ */ i.jsx(Vr, { "data-vg-id": "45b44219", "data-source-path": "/src/components/ViewGateOverlay.tsx:3424", size: 16 })
|
|
9533
9537
|
}
|
|
9534
9538
|
)
|
|
9535
9539
|
] }) }),
|
|
9536
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783035", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9540
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783035", "data-source-path": "/src/components/ViewGateOverlay.tsx:3430", style: { display: "flex", gap: "8px" }, children: [
|
|
9537
9541
|
Kt !== "client" && d.status === "ready_for_review" && /* @__PURE__ */ i.jsxs(
|
|
9538
9542
|
"button",
|
|
9539
9543
|
{
|
|
@@ -9552,7 +9556,7 @@ const iw = (t) => {
|
|
|
9552
9556
|
},
|
|
9553
9557
|
disabled: DA,
|
|
9554
9558
|
children: [
|
|
9555
|
-
DA ? /* @__PURE__ */ i.jsx(nn, { "data-vg-id": "a4b73604", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9559
|
+
DA ? /* @__PURE__ */ i.jsx(nn, { "data-vg-id": "a4b73604", "data-source-path": "/src/components/ViewGateOverlay.tsx:3448", size: 14, className: "vg-animate-spin" }) : /* @__PURE__ */ i.jsx(Kl, { "data-vg-id": "41e603c7", "data-source-path": "/src/components/ViewGateOverlay.tsx:3448", size: 14 }),
|
|
9556
9560
|
e === "es" ? "Resolver con Evidencia" : "Resolve & Capture"
|
|
9557
9561
|
]
|
|
9558
9562
|
}
|
|
@@ -9575,7 +9579,7 @@ const iw = (t) => {
|
|
|
9575
9579
|
cursor: "pointer"
|
|
9576
9580
|
},
|
|
9577
9581
|
children: [
|
|
9578
|
-
/* @__PURE__ */ i.jsx(rn, { "data-vg-id": "5c2be088", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9582
|
+
/* @__PURE__ */ i.jsx(rn, { "data-vg-id": "5c2be088", "data-source-path": "/src/components/ViewGateOverlay.tsx:3468", size: 14 }),
|
|
9579
9583
|
e === "es" ? "Ver en Dashboard" : "View in Dashboard"
|
|
9580
9584
|
]
|
|
9581
9585
|
}
|
|
@@ -9590,7 +9594,7 @@ const iw = (t) => {
|
|
|
9590
9594
|
oA || "all"
|
|
9591
9595
|
)
|
|
9592
9596
|
] }) }),
|
|
9593
|
-
SA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783039", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9597
|
+
SA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783039", "data-source-path": "/src/components/ViewGateOverlay.tsx:3484", className: "vg-animate-fade", style: {
|
|
9594
9598
|
position: "fixed",
|
|
9595
9599
|
top: 0,
|
|
9596
9600
|
left: 0,
|
|
@@ -9602,14 +9606,14 @@ const iw = (t) => {
|
|
|
9602
9606
|
alignItems: "center",
|
|
9603
9607
|
justifyContent: "center",
|
|
9604
9608
|
zIndex: Ut + 100
|
|
9605
|
-
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78303a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9609
|
+
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78303a", "data-source-path": "/src/components/ViewGateOverlay.tsx:3489", className: "vg-glassmorphism vg-animate-slide", style: {
|
|
9606
9610
|
padding: "40px",
|
|
9607
9611
|
width: "420px",
|
|
9608
9612
|
textAlign: "center",
|
|
9609
9613
|
border: "1px solid rgba(255, 255, 255, 0.1)",
|
|
9610
9614
|
boxShadow: "0 25px 50px -12px rgba(0, 0, 0, 0.5)"
|
|
9611
9615
|
}, children: [
|
|
9612
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78303b", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9616
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78303b", "data-source-path": "/src/components/ViewGateOverlay.tsx:3496", style: {
|
|
9613
9617
|
width: "64px",
|
|
9614
9618
|
height: "64px",
|
|
9615
9619
|
background: SA.type === "danger" ? "rgba(239, 68, 68, 0.1)" : "rgba(99, 102, 241, 0.1)",
|
|
@@ -9620,9 +9624,9 @@ const iw = (t) => {
|
|
|
9620
9624
|
margin: "0 auto 24px",
|
|
9621
9625
|
color: SA.type === "danger" ? "#ef4444" : "#6366f1",
|
|
9622
9626
|
transform: "rotate(-5deg)"
|
|
9623
|
-
}, children: SA.type === "danger" ? /* @__PURE__ */ i.jsx(Vr, { "data-vg-id": "45b44221", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9624
|
-
/* @__PURE__ */ i.jsx("h3", { "data-vg-id": "53ec569", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9625
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01af933", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9627
|
+
}, children: SA.type === "danger" ? /* @__PURE__ */ i.jsx(Vr, { "data-vg-id": "45b44221", "data-source-path": "/src/components/ViewGateOverlay.tsx:3505", size: 32 }) : /* @__PURE__ */ i.jsx(Ze, { "data-vg-id": "a75c1ae2", "data-source-path": "/src/components/ViewGateOverlay.tsx:3505", size: 32 }) }),
|
|
9628
|
+
/* @__PURE__ */ i.jsx("h3", { "data-vg-id": "53ec569", "data-source-path": "/src/components/ViewGateOverlay.tsx:3507", style: { margin: "0 0 12px 0", fontSize: "20px", fontWeight: 800, color: "#000000", letterSpacing: "-0.02em" }, children: SA.title }),
|
|
9629
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01af933", "data-source-path": "/src/components/ViewGateOverlay.tsx:3508", style: { margin: "0 0 24px 0", fontSize: "15px", color: "#000000", lineHeight: 1.6 }, children: SA.message }),
|
|
9626
9630
|
SA.showInput && /* @__PURE__ */ i.jsx(
|
|
9627
9631
|
"textarea",
|
|
9628
9632
|
{
|
|
@@ -9635,7 +9639,7 @@ const iw = (t) => {
|
|
|
9635
9639
|
style: { marginBottom: "24px", minHeight: "80px", textAlign: "left" }
|
|
9636
9640
|
}
|
|
9637
9641
|
),
|
|
9638
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783055", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9642
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783055", "data-source-path": "/src/components/ViewGateOverlay.tsx:3522", style: { display: "flex", gap: "16px" }, children: [
|
|
9639
9643
|
/* @__PURE__ */ i.jsx(
|
|
9640
9644
|
"button",
|
|
9641
9645
|
{
|
|
@@ -9673,13 +9677,13 @@ const iw = (t) => {
|
|
|
9673
9677
|
Ke(!1);
|
|
9674
9678
|
}
|
|
9675
9679
|
},
|
|
9676
|
-
children: MA ? /* @__PURE__ */ i.jsx(nn, { "data-vg-id": "a4b73624", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9680
|
+
children: MA ? /* @__PURE__ */ i.jsx(nn, { "data-vg-id": "a4b73624", "data-source-path": "/src/components/ViewGateOverlay.tsx:3558", size: 18, className: "vg-animate-spin" }) : r.yes
|
|
9677
9681
|
}
|
|
9678
9682
|
)
|
|
9679
9683
|
] })
|
|
9680
9684
|
] }) }),
|
|
9681
9685
|
!GA && !f && tA && Bt.map((d, u) => {
|
|
9682
|
-
const { rect: p, annotations: Q, isModal: y } = d, K = Q[0], T = Q.length, S = Q.some((b) => b.status === "ready_for_review"), dA = Q.some((b) => b.status === "completed" || b.status === "done"), M = Q.some((b) => b.status !== "ready_for_review" && b.status !== "completed" && b.status !== "done"), hA = dA && !S && !M, rA = S && !M && !dA, sA = (S || dA) && !M,
|
|
9686
|
+
const { rect: p, annotations: Q, isModal: y } = d, K = Q[0], T = Q.length, S = Q.some((b) => b.status === "ready_for_review"), dA = Q.some((b) => b.status === "completed" || b.status === "done"), M = Q.some((b) => b.status !== "ready_for_review" && b.status !== "completed" && b.status !== "done"), hA = dA && !S && !M, rA = S && !M && !dA, sA = (S || dA) && !M, mA = (S || dA) && M, yA = Q.filter((b) => b.status !== "ready_for_review" && b.status !== "completed" && b.status !== "done").length, EA = Q.filter((b) => b.status === "ready_for_review").length, CA = Q.filter((b) => b.status === "completed" || b.status === "done").length, TA = Q.some((b) => b.status === "bug_fixing" || b.type === "bug" || b.originalStatus === "bug_fixing"), Ee = TA && !rA && !hA ? "#f43f5e" : yA > 0 ? B ? "#64748b" : "#ea580c" : EA > 0 ? "#a855f7" : "#10b981", J = Bt.some((b) => b.element === d.element && b.isTriggerPin), NA = Bt.some((b) => b.element === d.element && !b.isTriggerPin), pA = J && NA ? d.isTriggerPin ? -18 : 18 : 0, OA = p.top === 0 && p.left === 0 && p.width > window.innerWidth * 0.9;
|
|
9683
9687
|
return /* @__PURE__ */ i.jsxs(
|
|
9684
9688
|
"div",
|
|
9685
9689
|
{
|
|
@@ -9706,12 +9710,12 @@ const iw = (t) => {
|
|
|
9706
9710
|
fe(!0), lA(K._id);
|
|
9707
9711
|
},
|
|
9708
9712
|
children: [
|
|
9709
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783057", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9710
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783058", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9711
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783059", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9712
|
-
d.isTriggerPin ? /* @__PURE__ */ i.jsx(sn, { "data-vg-id": "d88161bf", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9713
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78305c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9714
|
-
yA > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d07", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9713
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783057", "data-source-path": "/src/components/ViewGateOverlay.tsx:3633", className: `vg-pin-tooltip ${cA[d.id] || ""} ${OA || p.left < 160 ? "vg-tooltip-right" : p.left > window.innerWidth - 160 ? "vg-tooltip-left" : ""}`, style: { padding: "16px" }, children: [
|
|
9714
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783058", "data-source-path": "/src/components/ViewGateOverlay.tsx:3634", style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: "12px" }, children: [
|
|
9715
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783059", "data-source-path": "/src/components/ViewGateOverlay.tsx:3635", style: { display: "flex", alignItems: "center", gap: "8px", flexWrap: "wrap" }, children: [
|
|
9716
|
+
d.isTriggerPin ? /* @__PURE__ */ i.jsx(sn, { "data-vg-id": "d88161bf", "data-source-path": "/src/components/ViewGateOverlay.tsx:3637", size: 14, color: Ee }) : /* @__PURE__ */ i.jsx(Mr, { "data-vg-id": "7fe17ae", "data-source-path": "/src/components/ViewGateOverlay.tsx:3639", size: 14, color: Ee }),
|
|
9717
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78305c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3641", style: { display: "flex", gap: "4px" }, children: [
|
|
9718
|
+
yA > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d07", "data-source-path": "/src/components/ViewGateOverlay.tsx:3643", className: "vg-badge", style: {
|
|
9715
9719
|
fontSize: "10px",
|
|
9716
9720
|
background: B ? "#f1f5f9" : "#fff7ed",
|
|
9717
9721
|
color: B ? "#64748b" : "#c2410c"
|
|
@@ -9720,7 +9724,7 @@ const iw = (t) => {
|
|
|
9720
9724
|
" ",
|
|
9721
9725
|
B || K.status === "backlog" ? "Backlog" : e === "es" ? yA === 1 ? r.pending : "Pendientes" : "pending"
|
|
9722
9726
|
] }),
|
|
9723
|
-
EA > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d08", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9727
|
+
EA > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d08", "data-source-path": "/src/components/ViewGateOverlay.tsx:3652", style: {
|
|
9724
9728
|
fontSize: "10px",
|
|
9725
9729
|
fontWeight: 700,
|
|
9726
9730
|
color: "#a855f7",
|
|
@@ -9732,7 +9736,7 @@ const iw = (t) => {
|
|
|
9732
9736
|
" ",
|
|
9733
9737
|
e === "es" ? EA === 1 ? "Listo para revisión" : "Listos para revisión" : "ready for review"
|
|
9734
9738
|
] }),
|
|
9735
|
-
|
|
9739
|
+
CA > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d09", "data-source-path": "/src/components/ViewGateOverlay.tsx:3664", style: {
|
|
9736
9740
|
fontSize: "10px",
|
|
9737
9741
|
fontWeight: 700,
|
|
9738
9742
|
color: "#059669",
|
|
@@ -9740,11 +9744,11 @@ const iw = (t) => {
|
|
|
9740
9744
|
padding: "2px 6px",
|
|
9741
9745
|
borderRadius: "6px"
|
|
9742
9746
|
}, children: [
|
|
9743
|
-
|
|
9747
|
+
CA,
|
|
9744
9748
|
" ",
|
|
9745
|
-
e === "es" ?
|
|
9749
|
+
e === "es" ? CA === 1 ? "Completado" : "Completados" : "completed"
|
|
9746
9750
|
] }),
|
|
9747
|
-
Q.some((b) => b.status === "bug_fixing") && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161d0a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9751
|
+
Q.some((b) => b.status === "bug_fixing") && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161d0a", "data-source-path": "/src/components/ViewGateOverlay.tsx:3676", style: {
|
|
9748
9752
|
fontSize: "10px",
|
|
9749
9753
|
fontWeight: 700,
|
|
9750
9754
|
color: "#e11d48",
|
|
@@ -9754,26 +9758,26 @@ const iw = (t) => {
|
|
|
9754
9758
|
}, children: "BUG" })
|
|
9755
9759
|
] })
|
|
9756
9760
|
] }),
|
|
9757
|
-
y && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161d0b", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9761
|
+
y && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161d0b", "data-source-path": "/src/components/ViewGateOverlay.tsx:3690", className: "vg-badge", style: {
|
|
9758
9762
|
fontSize: "10px",
|
|
9759
|
-
background: B ? "#f1f5f9" :
|
|
9760
|
-
color: B ? "#64748b" :
|
|
9763
|
+
background: B ? "#f1f5f9" : mA ? `linear-gradient(90deg, #ea580c 50%, ${dA ? "#10b981" : "#a855f7"} 50%)` : yA > 0 ? "#fff7ed" : hA ? "#ecfdf5" : "#f3e8ff",
|
|
9764
|
+
color: B ? "#64748b" : mA ? "#ffffff" : yA > 0 ? "#c2410c" : hA ? "#059669" : "#a855f7",
|
|
9761
9765
|
border: "none",
|
|
9762
9766
|
fontWeight: 800,
|
|
9763
|
-
textShadow:
|
|
9767
|
+
textShadow: mA && !B ? "0 1px 2px rgba(0,0,0,0.2)" : "none"
|
|
9764
9768
|
}, children: "MODAL" })
|
|
9765
9769
|
] }),
|
|
9766
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783077", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9770
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783077", "data-source-path": "/src/components/ViewGateOverlay.tsx:3702", className: "vg-tooltip-scroll", style: { maxHeight: "180px", overflowY: "auto" }, children: Q.map((b, $A) => /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783078", "data-source-path": "/src/components/ViewGateOverlay.tsx:3704", style: {
|
|
9767
9771
|
padding: "10px 0",
|
|
9768
9772
|
borderTop: $A === 0 ? "none" : "1px solid #f1f5f9",
|
|
9769
9773
|
display: "flex",
|
|
9770
9774
|
gap: "12px",
|
|
9771
9775
|
alignItems: "flex-start"
|
|
9772
9776
|
}, children: [
|
|
9773
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783079", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9774
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78307a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9775
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161d10", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9776
|
-
b.creator && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783091", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9777
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783079", "data-source-path": "/src/components/ViewGateOverlay.tsx:3711", style: { flex: 1, display: "flex", flexDirection: "column", gap: "4px" }, children: [
|
|
9778
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78307a", "data-source-path": "/src/components/ViewGateOverlay.tsx:3712", style: { display: "flex", alignItems: "center", gap: "6px" }, children: [
|
|
9779
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161d10", "data-source-path": "/src/components/ViewGateOverlay.tsx:3713", style: { fontSize: "10px", fontWeight: 600, color: "#64748b" }, children: ri(b.timestamp || b.createdAt, e) }),
|
|
9780
|
+
b.creator && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783091", "data-source-path": "/src/components/ViewGateOverlay.tsx:3717", style: { marginLeft: "4px" }, children: b.creator.avatar ? /* @__PURE__ */ i.jsx("img", { "data-vg-id": "3cf75ac4", "data-source-path": "/src/components/ViewGateOverlay.tsx:3719", src: b.creator.avatar, style: { width: "14px", height: "14px", borderRadius: "50%" }, alt: "" }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783093", "data-source-path": "/src/components/ViewGateOverlay.tsx:3721", style: { width: "14px", height: "14px", borderRadius: "50%", background: "#6366f1", color: "white", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "7px", fontWeight: 700 }, children: b.creator.name?.[0] }) })
|
|
9777
9781
|
] }),
|
|
9778
9782
|
b.url && /* @__PURE__ */ i.jsx(
|
|
9779
9783
|
si,
|
|
@@ -9795,10 +9799,10 @@ const iw = (t) => {
|
|
|
9795
9799
|
tooltipStyle: { fontSize: "9px" }
|
|
9796
9800
|
}
|
|
9797
9801
|
),
|
|
9798
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783094", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9802
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783094", "data-source-path": "/src/components/ViewGateOverlay.tsx:3747", className: "vg-line-clamp-2", style: { fontSize: "13px", color: "#1e293b", lineHeight: 1.4, fontWeight: 500 }, children: b.message.length > 100 ? b.message.slice(0, 97) + "..." : b.message })
|
|
9799
9803
|
] }),
|
|
9800
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783095", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9801
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783096", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9804
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783095", "data-source-path": "/src/components/ViewGateOverlay.tsx:3751", style: { flexShrink: 0, marginTop: "2px", display: "flex", flexDirection: "column", gap: "4px", alignItems: "flex-end" }, children: [
|
|
9805
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783096", "data-source-path": "/src/components/ViewGateOverlay.tsx:3752", style: {
|
|
9802
9806
|
fontSize: "8px",
|
|
9803
9807
|
fontWeight: 800,
|
|
9804
9808
|
color: b.priority === "low" ? "#059669" : b.priority === "urgent" ? "#b91c1c" : b.priority === "high" ? "#b45309" : "#4338ca",
|
|
@@ -9809,7 +9813,7 @@ const iw = (t) => {
|
|
|
9809
9813
|
border: "1px solid",
|
|
9810
9814
|
borderColor: b.priority === "low" ? "#d1fae5" : b.priority === "urgent" ? "#fee2e2" : b.priority === "high" ? "#fef3c7" : "#e0e7ff"
|
|
9811
9815
|
}, children: r[b.priority || "medium"] }),
|
|
9812
|
-
b.status === "completed" || b.status === "done" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d2c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9816
|
+
b.status === "completed" || b.status === "done" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d2c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3766", style: {
|
|
9813
9817
|
display: "flex",
|
|
9814
9818
|
alignItems: "center",
|
|
9815
9819
|
gap: "4px",
|
|
@@ -9822,9 +9826,9 @@ const iw = (t) => {
|
|
|
9822
9826
|
textTransform: "uppercase",
|
|
9823
9827
|
border: "1px solid #d1fae5"
|
|
9824
9828
|
}, children: [
|
|
9825
|
-
/* @__PURE__ */ i.jsx(Ze, { "data-vg-id": "a75c1b3d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9829
|
+
/* @__PURE__ */ i.jsx(Ze, { "data-vg-id": "a75c1b3d", "data-source-path": "/src/components/ViewGateOverlay.tsx:3779", size: 10 }),
|
|
9826
9830
|
r.completed
|
|
9827
|
-
] }) : b.status === "ready_for_review" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d2e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9831
|
+
] }) : b.status === "ready_for_review" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d2e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3783", style: {
|
|
9828
9832
|
display: "flex",
|
|
9829
9833
|
alignItems: "center",
|
|
9830
9834
|
gap: "4px",
|
|
@@ -9837,9 +9841,9 @@ const iw = (t) => {
|
|
|
9837
9841
|
textTransform: "uppercase",
|
|
9838
9842
|
border: "1px solid #e9d5ff"
|
|
9839
9843
|
}, children: [
|
|
9840
|
-
b.type === "bug" || b.status === "bug_fixing" || b.originalStatus === "bug_fixing" ? /* @__PURE__ */ i.jsx(_t, { "data-vg-id": "3b8b18dd", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9844
|
+
b.type === "bug" || b.status === "bug_fixing" || b.originalStatus === "bug_fixing" ? /* @__PURE__ */ i.jsx(_t, { "data-vg-id": "3b8b18dd", "data-source-path": "/src/components/ViewGateOverlay.tsx:3796", size: 10 }) : /* @__PURE__ */ i.jsx(Ze, { "data-vg-id": "a75c1de0", "data-source-path": "/src/components/ViewGateOverlay.tsx:3796", size: 10 }),
|
|
9841
9845
|
r.readyForReview
|
|
9842
|
-
] }) : b.status === "bug_fixing" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161fd1", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9846
|
+
] }) : b.status === "bug_fixing" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161fd1", "data-source-path": "/src/components/ViewGateOverlay.tsx:3800", style: {
|
|
9843
9847
|
display: "flex",
|
|
9844
9848
|
alignItems: "center",
|
|
9845
9849
|
gap: "4px",
|
|
@@ -9852,9 +9856,9 @@ const iw = (t) => {
|
|
|
9852
9856
|
textTransform: "uppercase",
|
|
9853
9857
|
border: "1px solid #ffe4e6"
|
|
9854
9858
|
}, children: [
|
|
9855
|
-
/* @__PURE__ */ i.jsx(_t, { "data-vg-id": "3b8b1b80", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9859
|
+
/* @__PURE__ */ i.jsx(_t, { "data-vg-id": "3b8b1b80", "data-source-path": "/src/components/ViewGateOverlay.tsx:3813", size: 10 }),
|
|
9856
9860
|
"Bug Fixing"
|
|
9857
|
-
] }) : /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161fd3", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9861
|
+
] }) : /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161fd3", "data-source-path": "/src/components/ViewGateOverlay.tsx:3817", style: {
|
|
9858
9862
|
display: "flex",
|
|
9859
9863
|
alignItems: "center",
|
|
9860
9864
|
gap: "4px",
|
|
@@ -9867,7 +9871,7 @@ const iw = (t) => {
|
|
|
9867
9871
|
textTransform: "uppercase",
|
|
9868
9872
|
border: B || b.status === "backlog" ? "1px solid #e2e8f0" : "1px solid #ffedd5"
|
|
9869
9873
|
}, children: [
|
|
9870
|
-
/* @__PURE__ */ i.jsx($o, { "data-vg-id": "62dc6f9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9874
|
+
/* @__PURE__ */ i.jsx($o, { "data-vg-id": "62dc6f9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3830", size: 10 }),
|
|
9871
9875
|
B || b.status === "backlog" ? r.backlog : r.pending
|
|
9872
9876
|
] })
|
|
9873
9877
|
] })
|
|
@@ -9877,15 +9881,15 @@ const iw = (t) => {
|
|
|
9877
9881
|
"div",
|
|
9878
9882
|
{
|
|
9879
9883
|
"data-vg-id": "2e783340",
|
|
9880
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9881
|
-
className: `vg-formal-pin ${hA ? "completed" : rA || sA ? "ready" : TA ? "bug" :
|
|
9884
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:3840",
|
|
9885
|
+
className: `vg-formal-pin ${hA ? "completed" : rA || sA ? "ready" : TA ? "bug" : mA ? "mixed" : B ? "backlog" : ""} ${d.isTriggerPin ? "modal-variant" : ""}`,
|
|
9882
9886
|
style: {
|
|
9883
9887
|
position: "relative",
|
|
9884
|
-
background: TA && !rA && !hA ? "linear-gradient(135deg, #f43f5e 0%, #e11d48 100%)" : rA ? "linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)" :
|
|
9888
|
+
background: TA && !rA && !hA ? "linear-gradient(135deg, #f43f5e 0%, #e11d48 100%)" : rA ? "linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)" : mA ? dA ? "linear-gradient(135deg, #10b981 0%, #059669 100%)" : "linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)" : void 0
|
|
9885
9889
|
},
|
|
9886
9890
|
children: [
|
|
9887
|
-
rA || hA || sA ? TA && !hA ? /* @__PURE__ */ i.jsx(_t, { "data-vg-id": "3b8b1b84", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9888
|
-
T > 1 && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78335c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9891
|
+
rA || hA || sA ? TA && !hA ? /* @__PURE__ */ i.jsx(_t, { "data-vg-id": "3b8b1b84", "data-source-path": "/src/components/ViewGateOverlay.tsx:3847", size: 18 }) : /* @__PURE__ */ i.jsx(Ze, { "data-vg-id": "a75c1de7", "data-source-path": "/src/components/ViewGateOverlay.tsx:3847", size: 18 }) : TA ? /* @__PURE__ */ i.jsx(_t, { "data-vg-id": "3b8b1b86", "data-source-path": "/src/components/ViewGateOverlay.tsx:3847", size: 18 }) : d.isTriggerPin ? /* @__PURE__ */ i.jsx(sn, { "data-vg-id": "d88164a9", "data-source-path": "/src/components/ViewGateOverlay.tsx:3847", size: 16 }) : y ? /* @__PURE__ */ i.jsx(rn, { "data-vg-id": "5c2be3aa", "data-source-path": "/src/components/ViewGateOverlay.tsx:3847", size: 16 }) : /* @__PURE__ */ i.jsx(Mr, { "data-vg-id": "7fe1aae", "data-source-path": "/src/components/ViewGateOverlay.tsx:3847", size: 16 }),
|
|
9892
|
+
T > 1 && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78335c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3850", className: "vg-pin-badge vg-animate-pop", children: T })
|
|
9889
9893
|
]
|
|
9890
9894
|
}
|
|
9891
9895
|
)
|
|
@@ -9906,7 +9910,7 @@ const iw = (t) => {
|
|
|
9906
9910
|
children: Je?.url
|
|
9907
9911
|
}
|
|
9908
9912
|
),
|
|
9909
|
-
q && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78335d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9913
|
+
q && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78335d", "data-source-path": "/src/components/ViewGateOverlay.tsx:3875", style: {
|
|
9910
9914
|
position: "fixed",
|
|
9911
9915
|
top: 0,
|
|
9912
9916
|
left: 0,
|
|
@@ -9922,7 +9926,7 @@ const iw = (t) => {
|
|
|
9922
9926
|
animation: "vg-fade-in 0.3s ease-out"
|
|
9923
9927
|
}, onClick: (d) => {
|
|
9924
9928
|
d.target === d.currentTarget && JA(!1);
|
|
9925
|
-
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78335e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9929
|
+
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78335e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3884", className: "vg-glassmorphism vg-animate-pop", style: {
|
|
9926
9930
|
width: "95%",
|
|
9927
9931
|
maxWidth: "800px",
|
|
9928
9932
|
// Wider modal for better scanning
|
|
@@ -9937,16 +9941,16 @@ const iw = (t) => {
|
|
|
9937
9941
|
border: "1px solid rgba(255, 255, 255, 0.15)",
|
|
9938
9942
|
backgroundColor: "rgba(255, 255, 255, 0.98)"
|
|
9939
9943
|
}, children: [
|
|
9940
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78335f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9941
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783360", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9942
|
-
/* @__PURE__ */ i.jsx("h3", { "data-vg-id": "53ec877", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9943
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc41", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9944
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78335f", "data-source-path": "/src/components/ViewGateOverlay.tsx:3897", style: { padding: "32px 40px", borderBottom: "1px solid rgba(0,0,0,0.06)", display: "flex", alignItems: "center", justifyContent: "space-between", background: "white" }, children: [
|
|
9945
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783360", "data-source-path": "/src/components/ViewGateOverlay.tsx:3898", children: [
|
|
9946
|
+
/* @__PURE__ */ i.jsx("h3", { "data-vg-id": "53ec877", "data-source-path": "/src/components/ViewGateOverlay.tsx:3899", style: { margin: 0, fontSize: "24px", fontWeight: 900, letterSpacing: "-0.03em", color: "#0f172a" }, children: e === "es" ? "Selector de Endpoints" : "Endpoint Selector" }),
|
|
9947
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc41", "data-source-path": "/src/components/ViewGateOverlay.tsx:3902", style: { margin: "6px 0 0 0", fontSize: "14px", color: "#64748b", fontWeight: 500 }, children: e === "es" ? "Asocia múltiples rutas backend a este ticket para mayor precisión" : "Associate multiple backend routes to this ticket for better precision" })
|
|
9944
9948
|
] }),
|
|
9945
9949
|
/* @__PURE__ */ i.jsx(
|
|
9946
9950
|
"button",
|
|
9947
9951
|
{
|
|
9948
9952
|
"data-vg-id": "5861c060",
|
|
9949
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9953
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:3906",
|
|
9950
9954
|
onClick: () => JA(!1),
|
|
9951
9955
|
className: "vg-close-pill",
|
|
9952
9956
|
style: { width: "40px", height: "40px", display: "flex", alignItems: "center", justifyContent: "center", borderRadius: "14px", background: "#f1f5f9", color: "#64748b", border: "none", cursor: "pointer", transition: "all 0.2s" },
|
|
@@ -9956,17 +9960,17 @@ const iw = (t) => {
|
|
|
9956
9960
|
onMouseLeave: (d) => {
|
|
9957
9961
|
d.currentTarget.style.background = "#f1f5f9", d.currentTarget.style.color = "#64748b";
|
|
9958
9962
|
},
|
|
9959
|
-
children: /* @__PURE__ */ i.jsx(jt, { "data-vg-id": "eec8c840", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9963
|
+
children: /* @__PURE__ */ i.jsx(jt, { "data-vg-id": "eec8c840", "data-source-path": "/src/components/ViewGateOverlay.tsx:3913", size: 20, strokeWidth: 2.5 })
|
|
9960
9964
|
}
|
|
9961
9965
|
)
|
|
9962
9966
|
] }),
|
|
9963
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78337a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9964
|
-
/* @__PURE__ */ i.jsx(nd, { "data-vg-id": "8f7bb00f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9967
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78337a", "data-source-path": "/src/components/ViewGateOverlay.tsx:3917", style: { padding: "24px 40px", borderBottom: "1px solid rgba(0,0,0,0.06)", background: "#fcfcfc" }, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78337b", "data-source-path": "/src/components/ViewGateOverlay.tsx:3918", style: { position: "relative" }, children: [
|
|
9968
|
+
/* @__PURE__ */ i.jsx(nd, { "data-vg-id": "8f7bb00f", "data-source-path": "/src/components/ViewGateOverlay.tsx:3919", size: 20, style: { position: "absolute", left: "16px", top: "50%", transform: "translateY(-50%)", color: "#94a3b8" } }),
|
|
9965
9969
|
/* @__PURE__ */ i.jsx(
|
|
9966
9970
|
"input",
|
|
9967
9971
|
{
|
|
9968
9972
|
"data-vg-id": "88e38db6",
|
|
9969
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9973
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:3920",
|
|
9970
9974
|
type: "text",
|
|
9971
9975
|
placeholder: e === "es" ? "Buscar rutas, métodos o descripciones..." : "Search routes, methods, or descriptions...",
|
|
9972
9976
|
value: k,
|
|
@@ -9985,11 +9989,11 @@ const iw = (t) => {
|
|
|
9985
9989
|
}
|
|
9986
9990
|
)
|
|
9987
9991
|
] }) }),
|
|
9988
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78337e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9992
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78337e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3940", style: { flex: 1, overflowY: "auto", overflowX: "hidden", padding: "24px 40px" }, className: "vg-custom-scrollbar", children: Dt ? Io.length > 0 ? /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783382", "data-source-path": "/src/components/ViewGateOverlay.tsx:3947", style: { display: "flex", flexDirection: "column", gap: "0px" }, children: Io.map((d) => {
|
|
9989
9993
|
const u = d.name === (e === "es" ? "Seleccionados" : "Selected");
|
|
9990
|
-
return /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783398", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9991
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783399", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9992
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "816202f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9994
|
+
return /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783398", "data-source-path": "/src/components/ViewGateOverlay.tsx:3951", style: { marginBottom: "32px" }, children: [
|
|
9995
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783399", "data-source-path": "/src/components/ViewGateOverlay.tsx:3952", style: { display: "flex", alignItems: "center", gap: "12px", marginBottom: "16px", padding: "0 4px" }, children: [
|
|
9996
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "816202f", "data-source-path": "/src/components/ViewGateOverlay.tsx:3953", style: {
|
|
9993
9997
|
fontSize: "11px",
|
|
9994
9998
|
fontWeight: 900,
|
|
9995
9999
|
textTransform: "uppercase",
|
|
@@ -10001,13 +10005,13 @@ const iw = (t) => {
|
|
|
10001
10005
|
border: "1px solid",
|
|
10002
10006
|
borderColor: u ? "rgba(10, 185, 129, 0.1)" : "rgba(99, 102, 241, 0.1)"
|
|
10003
10007
|
}, children: d.name }),
|
|
10004
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78339b", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10008
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78339b", "data-source-path": "/src/components/ViewGateOverlay.tsx:3967", style: {
|
|
10005
10009
|
flex: 1,
|
|
10006
10010
|
height: "1px",
|
|
10007
10011
|
background: `linear-gradient(90deg, ${u ? "rgba(16, 185, 129, 0.15)" : "rgba(99, 102, 241, 0.15)"} 0%, transparent 100%)`
|
|
10008
10012
|
} })
|
|
10009
10013
|
] }),
|
|
10010
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78339c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10014
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78339c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3974", style: {
|
|
10011
10015
|
display: "grid",
|
|
10012
10016
|
gridTemplateColumns: "repeat(auto-fill, minmax(340px, 1fr))",
|
|
10013
10017
|
gap: "12px"
|
|
@@ -10017,7 +10021,7 @@ const iw = (t) => {
|
|
|
10017
10021
|
"div",
|
|
10018
10022
|
{
|
|
10019
10023
|
"data-vg-id": "2e78339d",
|
|
10020
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10024
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:3983",
|
|
10021
10025
|
onClick: () => {
|
|
10022
10026
|
zA(y ? X.filter((K) => K !== Q) : [...X, Q]);
|
|
10023
10027
|
},
|
|
@@ -10041,7 +10045,7 @@ const iw = (t) => {
|
|
|
10041
10045
|
y || (K.currentTarget.style.background = "#ffffff", K.currentTarget.style.borderColor = "#f1f5f9");
|
|
10042
10046
|
},
|
|
10043
10047
|
children: [
|
|
10044
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78339e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10048
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78339e", "data-source-path": "/src/components/ViewGateOverlay.tsx:4015", style: {
|
|
10045
10049
|
width: "24px",
|
|
10046
10050
|
height: "24px",
|
|
10047
10051
|
borderRadius: "8px",
|
|
@@ -10053,10 +10057,10 @@ const iw = (t) => {
|
|
|
10053
10057
|
justifyContent: "center",
|
|
10054
10058
|
transition: "all 0.2s",
|
|
10055
10059
|
flexShrink: 0
|
|
10056
|
-
}, children: y && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78339f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10057
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833a0", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10058
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833a1", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10059
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "816204c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10060
|
+
}, children: y && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78339f", "data-source-path": "/src/components/ViewGateOverlay.tsx:4028", style: { color: "white", fontSize: "14px", fontWeight: 900 }, children: "✓" }) }),
|
|
10061
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833a0", "data-source-path": "/src/components/ViewGateOverlay.tsx:4030", style: { flex: 1, minWidth: 0 }, children: [
|
|
10062
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833a1", "data-source-path": "/src/components/ViewGateOverlay.tsx:4031", style: { display: "flex", alignItems: "center", gap: "10px" }, children: [
|
|
10063
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "816204c", "data-source-path": "/src/components/ViewGateOverlay.tsx:4032", style: {
|
|
10060
10064
|
fontSize: "11px",
|
|
10061
10065
|
fontWeight: 800,
|
|
10062
10066
|
padding: "3px 8px",
|
|
@@ -10065,14 +10069,14 @@ const iw = (t) => {
|
|
|
10065
10069
|
color: p.method === "GET" ? "#166534" : "#991b1b",
|
|
10066
10070
|
flexShrink: 0
|
|
10067
10071
|
}, children: p.method }),
|
|
10068
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "816204d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10072
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "816204d", "data-source-path": "/src/components/ViewGateOverlay.tsx:4043", style: {
|
|
10069
10073
|
fontWeight: 700,
|
|
10070
10074
|
color: y ? "#4338ca" : "#1e293b",
|
|
10071
10075
|
fontSize: "14px",
|
|
10072
10076
|
wordBreak: "break-all"
|
|
10073
10077
|
}, children: p.path })
|
|
10074
10078
|
] }),
|
|
10075
|
-
p.description && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833b9", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10079
|
+
p.description && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833b9", "data-source-path": "/src/components/ViewGateOverlay.tsx:4053", style: {
|
|
10076
10080
|
fontSize: "12px",
|
|
10077
10081
|
color: "#64748b",
|
|
10078
10082
|
marginTop: "6px",
|
|
@@ -10087,17 +10091,17 @@ const iw = (t) => {
|
|
|
10087
10091
|
);
|
|
10088
10092
|
}) })
|
|
10089
10093
|
] }, d.name);
|
|
10090
|
-
}) }) : /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833ba", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10091
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833bb", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10092
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10093
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc9d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10094
|
-
] }) : /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78337f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10095
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783380", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10096
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc60", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10094
|
+
}) }) : /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833ba", "data-source-path": "/src/components/ViewGateOverlay.tsx:4074", style: { padding: "80px 20px", textAlign: "center", display: "flex", flexDirection: "column", alignItems: "center" }, children: [
|
|
10095
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833bb", "data-source-path": "/src/components/ViewGateOverlay.tsx:4075", style: { width: "80px", height: "80px", borderRadius: "24px", backgroundColor: "#f1f5f9", display: "flex", alignItems: "center", justifyContent: "center", marginBottom: "24px" }, children: /* @__PURE__ */ i.jsx(De, { "data-vg-id": "b1e4c678", "data-source-path": "/src/components/ViewGateOverlay.tsx:4076", size: 40, style: { color: "#94a3b8" } }) }),
|
|
10096
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:4078", style: { color: "#0f172a", fontSize: "18px", fontWeight: 800, margin: "0 0 8px 0" }, children: e === "es" ? "No encontramos lo que buscas" : "No results found" }),
|
|
10097
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc9d", "data-source-path": "/src/components/ViewGateOverlay.tsx:4081", style: { color: "#64748b", fontSize: "15px", margin: 0 }, children: e === "es" ? "Intenta buscar con otros términos o revisa la sincronización" : "Try searching with different terms or check synchronization" })
|
|
10098
|
+
] }) : /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78337f", "data-source-path": "/src/components/ViewGateOverlay.tsx:3942", style: { display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", padding: "100px 0", gap: "20px" }, children: [
|
|
10099
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783380", "data-source-path": "/src/components/ViewGateOverlay.tsx:3943", className: "vg-spinner", style: { width: "40px", height: "40px", border: "3px solid rgba(99, 102, 241, 0.1)", borderTopColor: "#6366f1" } }),
|
|
10100
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc60", "data-source-path": "/src/components/ViewGateOverlay.tsx:3944", style: { color: "#64748b", fontSize: "15px", fontWeight: 600 }, children: e === "es" ? "Cargando endpoints..." : "Loading endpoints..." })
|
|
10097
10101
|
] }) }),
|
|
10098
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833bf", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10099
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833c0", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10100
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833d6", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10102
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833bf", "data-source-path": "/src/components/ViewGateOverlay.tsx:4088", style: { padding: "24px 40px", borderTop: "1px solid rgba(0,0,0,0.06)", background: "white", display: "flex", alignItems: "center", justifyContent: "space-between", gap: "20px" }, children: [
|
|
10103
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833c0", "data-source-path": "/src/components/ViewGateOverlay.tsx:4089", style: { display: "flex", alignItems: "center", gap: "12px" }, children: [
|
|
10104
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833d6", "data-source-path": "/src/components/ViewGateOverlay.tsx:4090", style: { padding: "6px 12px", background: "#f1f5f9", borderRadius: "10px", fontSize: "14px", fontWeight: 700, color: "#475569" }, children: [
|
|
10101
10105
|
X.length,
|
|
10102
10106
|
" ",
|
|
10103
10107
|
e === "es" ? "seleccionados" : "selected"
|
|
@@ -10106,7 +10110,7 @@ const iw = (t) => {
|
|
|
10106
10110
|
"button",
|
|
10107
10111
|
{
|
|
10108
10112
|
"data-vg-id": "5861c0d4",
|
|
10109
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10113
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4094",
|
|
10110
10114
|
onClick: () => {
|
|
10111
10115
|
zA([]), ut && Sr([]);
|
|
10112
10116
|
},
|
|
@@ -10115,11 +10119,11 @@ const iw = (t) => {
|
|
|
10115
10119
|
}
|
|
10116
10120
|
)
|
|
10117
10121
|
] }),
|
|
10118
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833d8", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10122
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833d8", "data-source-path": "/src/components/ViewGateOverlay.tsx:4105", style: { display: "flex", gap: "12px" }, children: /* @__PURE__ */ i.jsx(
|
|
10119
10123
|
"button",
|
|
10120
10124
|
{
|
|
10121
10125
|
"data-vg-id": "5861c0d6",
|
|
10122
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10126
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4106",
|
|
10123
10127
|
onClick: () => {
|
|
10124
10128
|
ut && Sr(X), JA(!1);
|
|
10125
10129
|
},
|
|
@@ -10152,7 +10156,7 @@ const iw = (t) => {
|
|
|
10152
10156
|
] }) }),
|
|
10153
10157
|
ut && (() => {
|
|
10154
10158
|
const d = Hr.find((u) => u._id === ut);
|
|
10155
|
-
return d ? /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833da", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10159
|
+
return d ? /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833da", "data-source-path": "/src/components/ViewGateOverlay.tsx:4143", className: "vg-animate-fade", style: {
|
|
10156
10160
|
position: "fixed",
|
|
10157
10161
|
top: 0,
|
|
10158
10162
|
left: 0,
|
|
@@ -10164,7 +10168,7 @@ const iw = (t) => {
|
|
|
10164
10168
|
alignItems: "center",
|
|
10165
10169
|
justifyContent: "center",
|
|
10166
10170
|
zIndex: Ut + 50
|
|
10167
|
-
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833db", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10171
|
+
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833db", "data-source-path": "/src/components/ViewGateOverlay.tsx:4149", className: "vg-glassmorphism vg-animate-slide", style: {
|
|
10168
10172
|
width: "600px",
|
|
10169
10173
|
maxWidth: "90vw",
|
|
10170
10174
|
maxHeight: "90vh",
|
|
@@ -10177,14 +10181,14 @@ const iw = (t) => {
|
|
|
10177
10181
|
flexDirection: "column",
|
|
10178
10182
|
gap: "24px"
|
|
10179
10183
|
}, children: [
|
|
10180
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833dc", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10181
|
-
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "530b172", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10182
|
-
/* @__PURE__ */ i.jsx("button", { "data-vg-id": "5861c0db", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10184
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833dc", "data-source-path": "/src/components/ViewGateOverlay.tsx:4160", style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
|
|
10185
|
+
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "530b172", "data-source-path": "/src/components/ViewGateOverlay.tsx:4161", style: { margin: 0, fontSize: "20px", fontWeight: 800, color: "#1e293b" }, children: e === "es" ? "Editar Comentario" : "Edit Comment" }),
|
|
10186
|
+
/* @__PURE__ */ i.jsx("button", { "data-vg-id": "5861c0db", "data-source-path": "/src/components/ViewGateOverlay.tsx:4164", onClick: () => Ir(null), style: { background: "none", border: "none", cursor: "pointer", color: "#94a3b8" }, children: /* @__PURE__ */ i.jsx(jt, { "data-vg-id": "eec8c8a6", "data-source-path": "/src/components/ViewGateOverlay.tsx:4165", size: 24 }) })
|
|
10183
10187
|
] }),
|
|
10184
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833f5", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10185
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833f6", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10186
|
-
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "feec105a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10187
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833f8", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10188
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833f5", "data-source-path": "/src/components/ViewGateOverlay.tsx:4169", style: { display: "flex", flexDirection: "column", gap: "16px" }, children: [
|
|
10189
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833f6", "data-source-path": "/src/components/ViewGateOverlay.tsx:4170", children: [
|
|
10190
|
+
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "feec105a", "data-source-path": "/src/components/ViewGateOverlay.tsx:4171", style: { display: "block", fontSize: "12px", fontWeight: 700, color: "#64748b", marginBottom: "8px", textTransform: "uppercase", letterSpacing: "0.5px" }, children: r.priority }),
|
|
10191
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833f8", "data-source-path": "/src/components/ViewGateOverlay.tsx:4172", style: { display: "flex", gap: "8px" }, children: ["low", "medium", "high", "urgent"].map((u) => /* @__PURE__ */ i.jsx(
|
|
10188
10192
|
"button",
|
|
10189
10193
|
{
|
|
10190
10194
|
onClick: () => F(u),
|
|
@@ -10207,8 +10211,8 @@ const iw = (t) => {
|
|
|
10207
10211
|
u
|
|
10208
10212
|
)) })
|
|
10209
10213
|
] }),
|
|
10210
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833f9", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10211
|
-
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "feec105d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10214
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833f9", "data-source-path": "/src/components/ViewGateOverlay.tsx:4191", children: [
|
|
10215
|
+
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "feec105d", "data-source-path": "/src/components/ViewGateOverlay.tsx:4192", style: { display: "block", fontSize: "12px", fontWeight: 700, color: "#64748b", marginBottom: "8px", textTransform: "uppercase", letterSpacing: "0.5px" }, children: e === "es" ? "Mensaje" : "Message" }),
|
|
10212
10216
|
/* @__PURE__ */ i.jsx(
|
|
10213
10217
|
"textarea",
|
|
10214
10218
|
{
|
|
@@ -10220,12 +10224,12 @@ const iw = (t) => {
|
|
|
10220
10224
|
}
|
|
10221
10225
|
)
|
|
10222
10226
|
] }),
|
|
10223
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833fb", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10224
|
-
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "feec105f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10225
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833fd", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10226
|
-
{ id: "frontend", label: r.frontend, icon: /* @__PURE__ */ i.jsx(Gr, { "data-vg-id": "b806c32b", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10227
|
-
{ id: "backend", label: r.backend, icon: /* @__PURE__ */ i.jsx(De, { "data-vg-id": "b1e4c6d0", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10228
|
-
{ id: "ux", label: r.ux, icon: /* @__PURE__ */ i.jsx(Pt, { "data-vg-id": "ea069d8d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10227
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833fb", "data-source-path": "/src/components/ViewGateOverlay.tsx:4202", children: [
|
|
10228
|
+
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "feec105f", "data-source-path": "/src/components/ViewGateOverlay.tsx:4203", style: { display: "block", fontSize: "12px", fontWeight: 700, color: "#64748b", marginBottom: "8px", textTransform: "uppercase", letterSpacing: "0.5px" }, children: "Focus Areas" }),
|
|
10229
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833fd", "data-source-path": "/src/components/ViewGateOverlay.tsx:4204", style: { display: "flex", gap: "12px" }, children: [
|
|
10230
|
+
{ id: "frontend", label: r.frontend, icon: /* @__PURE__ */ i.jsx(Gr, { "data-vg-id": "b806c32b", "data-source-path": "/src/components/ViewGateOverlay.tsx:4206", size: 16 }), color: "#10b981", bg: "#ecfdf5", outline: "#a7f3d0" },
|
|
10231
|
+
{ id: "backend", label: r.backend, icon: /* @__PURE__ */ i.jsx(De, { "data-vg-id": "b1e4c6d0", "data-source-path": "/src/components/ViewGateOverlay.tsx:4207", size: 16 }), color: "#6366f1", bg: "#eef2ff", outline: "#c7d2fe" },
|
|
10232
|
+
{ id: "ux", label: r.ux, icon: /* @__PURE__ */ i.jsx(Pt, { "data-vg-id": "ea069d8d", "data-source-path": "/src/components/ViewGateOverlay.tsx:4208", size: 16 }), color: "#d946ef", bg: "#fdf4ff", outline: "#fae8ff" }
|
|
10229
10233
|
].map((u) => {
|
|
10230
10234
|
const p = he.includes(u.id);
|
|
10231
10235
|
return /* @__PURE__ */ i.jsxs(
|
|
@@ -10262,14 +10266,14 @@ const iw = (t) => {
|
|
|
10262
10266
|
);
|
|
10263
10267
|
}) })
|
|
10264
10268
|
] }),
|
|
10265
|
-
he.includes("ux") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783416", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10266
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783417", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10267
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "81620ad", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10269
|
+
he.includes("ux") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783416", "data-source-path": "/src/components/ViewGateOverlay.tsx:4237", className: "vg-animate-slide", style: { padding: "20px", background: "rgba(217, 70, 239, 0.04)", borderRadius: "20px", border: "1px solid rgba(217, 70, 239, 0.15)" }, children: [
|
|
10270
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783417", "data-source-path": "/src/components/ViewGateOverlay.tsx:4238", style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: "16px" }, children: [
|
|
10271
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "81620ad", "data-source-path": "/src/components/ViewGateOverlay.tsx:4239", style: { fontSize: "12px", fontWeight: 800, color: "#d946ef", textTransform: "uppercase", letterSpacing: "0.5px" }, children: r.figmaLink }),
|
|
10268
10272
|
/* @__PURE__ */ i.jsxs(
|
|
10269
10273
|
"button",
|
|
10270
10274
|
{
|
|
10271
10275
|
"data-vg-id": "5861c116",
|
|
10272
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10276
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4240",
|
|
10273
10277
|
onClick: () => Gt([...Ye, { name: "", link: "" }]),
|
|
10274
10278
|
style: { background: "rgba(217, 70, 239, 0.1)", border: "none", color: "#d946ef", borderRadius: "8px", padding: "6px 12px", fontSize: "12px", fontWeight: 800, cursor: "pointer", transition: "all 0.2s" },
|
|
10275
10279
|
children: [
|
|
@@ -10279,13 +10283,13 @@ const iw = (t) => {
|
|
|
10279
10283
|
}
|
|
10280
10284
|
)
|
|
10281
10285
|
] }),
|
|
10282
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78341a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10283
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78341c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10286
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78341a", "data-source-path": "/src/components/ViewGateOverlay.tsx:4247", style: { display: "flex", flexDirection: "column", gap: "12px" }, children: Ye.map((u, p) => /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78341b", "data-source-path": "/src/components/ViewGateOverlay.tsx:4249", style: { display: "flex", gap: "8px", alignItems: "center" }, children: [
|
|
10287
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78341c", "data-source-path": "/src/components/ViewGateOverlay.tsx:4250", style: { flex: 1, display: "flex", gap: "8px" }, children: [
|
|
10284
10288
|
/* @__PURE__ */ i.jsx(
|
|
10285
10289
|
"input",
|
|
10286
10290
|
{
|
|
10287
10291
|
"data-vg-id": "88e38e56",
|
|
10288
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10292
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4251",
|
|
10289
10293
|
className: "vg-textarea",
|
|
10290
10294
|
style: { flex: 1, padding: "10px 14px", fontSize: "13px", minHeight: "auto", borderRadius: "12px" },
|
|
10291
10295
|
placeholder: r.figmaNamePlaceholder,
|
|
@@ -10300,7 +10304,7 @@ const iw = (t) => {
|
|
|
10300
10304
|
"input",
|
|
10301
10305
|
{
|
|
10302
10306
|
"data-vg-id": "88e38e6c",
|
|
10303
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10307
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4260",
|
|
10304
10308
|
className: "vg-textarea",
|
|
10305
10309
|
style: { flex: 2, padding: "10px 14px", fontSize: "13px", minHeight: "auto", borderRadius: "12px" },
|
|
10306
10310
|
placeholder: r.figmaLinkPlaceholder,
|
|
@@ -10312,38 +10316,38 @@ const iw = (t) => {
|
|
|
10312
10316
|
}
|
|
10313
10317
|
)
|
|
10314
10318
|
] }),
|
|
10315
|
-
Ye.length > 1 && /* @__PURE__ */ i.jsx("button", { "data-vg-id": "5861c131", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10319
|
+
Ye.length > 1 && /* @__PURE__ */ i.jsx("button", { "data-vg-id": "5861c131", "data-source-path": "/src/components/ViewGateOverlay.tsx:4271", onClick: () => Gt(Ye.filter((Q, y) => y !== p)), style: { background: "none", border: "none", color: "#ef4444", cursor: "pointer", padding: "8px", borderRadius: "8px", display: "flex" }, children: /* @__PURE__ */ i.jsx(Vr, { "data-vg-id": "45b4461a", "data-source-path": "/src/components/ViewGateOverlay.tsx:4271", size: 18 }) })
|
|
10316
10320
|
] }, p)) })
|
|
10317
10321
|
] }),
|
|
10318
|
-
he.includes("backend") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783436", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10319
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "81620cc", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10322
|
+
he.includes("backend") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783436", "data-source-path": "/src/components/ViewGateOverlay.tsx:4280", className: "vg-animate-slide", style: { padding: "20px", background: "rgba(99, 102, 241, 0.04)", borderRadius: "20px", border: "1px solid rgba(99, 102, 241, 0.15)" }, children: [
|
|
10323
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "81620cc", "data-source-path": "/src/components/ViewGateOverlay.tsx:4281", style: { display: "block", fontSize: "12px", fontWeight: 800, color: "#6366f1", textTransform: "uppercase", letterSpacing: "0.5px", marginBottom: "16px" }, children: "Backend Endpoints" }),
|
|
10320
10324
|
/* @__PURE__ */ i.jsxs(
|
|
10321
10325
|
"button",
|
|
10322
10326
|
{
|
|
10323
10327
|
"data-vg-id": "5861c135",
|
|
10324
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10328
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4282",
|
|
10325
10329
|
onClick: () => {
|
|
10326
10330
|
zA(ft), JA(!0);
|
|
10327
10331
|
},
|
|
10328
10332
|
className: "vg-input-like-button",
|
|
10329
10333
|
style: { cursor: "pointer", width: "100%", padding: "14px 20px", fontSize: "14px", borderRadius: "16px", background: "#ffffff", border: "1px solid #e0e7ff", display: "flex", alignItems: "center", justifyContent: "space-between", color: "#6366f1", fontWeight: 700, boxShadow: "0 4px 6px -1px rgba(99, 102, 241, 0.1)" },
|
|
10330
10334
|
children: [
|
|
10331
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783439", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10332
|
-
/* @__PURE__ */ i.jsx(De, { "data-vg-id": "b1e4c6f6", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10335
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783439", "data-source-path": "/src/components/ViewGateOverlay.tsx:4290", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
10336
|
+
/* @__PURE__ */ i.jsx(De, { "data-vg-id": "b1e4c6f6", "data-source-path": "/src/components/ViewGateOverlay.tsx:4291", size: 18 }),
|
|
10333
10337
|
ft.length > 0 ? `${ft.length} ${e === "es" ? "seleccionados" : "selected"}` : r.selectEndpoint
|
|
10334
10338
|
] }),
|
|
10335
|
-
/* @__PURE__ */ i.jsx(Yo, { "data-vg-id": "1cd39107", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10339
|
+
/* @__PURE__ */ i.jsx(Yo, { "data-vg-id": "1cd39107", "data-source-path": "/src/components/ViewGateOverlay.tsx:4294", size: 18 })
|
|
10336
10340
|
]
|
|
10337
10341
|
}
|
|
10338
10342
|
)
|
|
10339
10343
|
] })
|
|
10340
10344
|
] }),
|
|
10341
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78343c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10345
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78343c", "data-source-path": "/src/components/ViewGateOverlay.tsx:4300", style: { display: "flex", justifyContent: "flex-end", gap: "12px", marginTop: "16px", paddingTop: "24px", borderTop: "1px solid #f1f5f9" }, children: [
|
|
10342
10346
|
/* @__PURE__ */ i.jsx(
|
|
10343
10347
|
"button",
|
|
10344
10348
|
{
|
|
10345
10349
|
"data-vg-id": "5861c14f",
|
|
10346
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10350
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4301",
|
|
10347
10351
|
className: "vg-button-ghost",
|
|
10348
10352
|
style: { padding: "12px 24px", fontSize: "14px", borderRadius: "12px", color: "#64748b", fontWeight: 700 },
|
|
10349
10353
|
onClick: () => {
|
|
@@ -10414,7 +10418,7 @@ const iw = (t) => {
|
|
|
10414
10418
|
}
|
|
10415
10419
|
},
|
|
10416
10420
|
children: [
|
|
10417
|
-
Mt ? /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783453", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10421
|
+
Mt ? /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783453", "data-source-path": "/src/components/ViewGateOverlay.tsx:4380", className: "vg-spinner", style: { width: "16px", height: "16px", borderTopColor: "white" } }) : null,
|
|
10418
10422
|
r.save
|
|
10419
10423
|
]
|
|
10420
10424
|
}
|
|
@@ -10439,8 +10443,8 @@ function Lc(t, A, e) {
|
|
|
10439
10443
|
if (f.includes("data-source-path") || f.includes("data-vg-id") || w === "Fragment" || w === "React.Fragment")
|
|
10440
10444
|
return f;
|
|
10441
10445
|
o++;
|
|
10442
|
-
const
|
|
10443
|
-
return `${h}<${w} data-vg-id="${
|
|
10446
|
+
const C = n(`${s}:${w}:${o}`);
|
|
10447
|
+
return `${h}<${w} data-vg-id="${C}" data-source-path="${s}:${B}"`;
|
|
10444
10448
|
});
|
|
10445
10449
|
}).join(`
|
|
10446
10450
|
`);
|
|
@@ -10466,7 +10470,7 @@ function Sw(t) {
|
|
|
10466
10470
|
}
|
|
10467
10471
|
export {
|
|
10468
10472
|
Hw as ViewGate,
|
|
10469
|
-
|
|
10473
|
+
Cw as ViewGateOverlay,
|
|
10470
10474
|
Lc as transformSourcePaths,
|
|
10471
10475
|
gd as useViewGate,
|
|
10472
10476
|
Sw as viewgateNextLoader,
|