viewgate-wrapper 1.10.33 → 1.10.34

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.
@@ -83,11 +83,11 @@ function Wa() {
83
83
  }
84
84
  if (v) {
85
85
  v = console;
86
- var V = v.error, Y = typeof Symbol == "function" && Symbol.toStringTag && Q[Symbol.toStringTag] || Q.constructor.name || "Object";
86
+ var V = v.error, j = typeof Symbol == "function" && Symbol.toStringTag && Q[Symbol.toStringTag] || Q.constructor.name || "Object";
87
87
  return V.call(
88
88
  v,
89
89
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
90
- Y
90
+ j
91
91
  ), A(Q);
92
92
  }
93
93
  }
@@ -103,7 +103,7 @@ function Wa() {
103
103
  }
104
104
  }
105
105
  function s() {
106
- var Q = J.A;
106
+ var Q = Y.A;
107
107
  return Q === null ? null : Q.getOwner();
108
108
  }
109
109
  function n() {
@@ -134,15 +134,15 @@ function Wa() {
134
134
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
135
135
  )), Q = this.props.ref, Q !== void 0 ? Q : null;
136
136
  }
137
- function l(Q, v, V, Y, $A, HA) {
138
- var j = V.ref;
137
+ function l(Q, v, V, j, $A, HA) {
138
+ var z = V.ref;
139
139
  return Q = {
140
140
  $$typeof: h,
141
141
  type: Q,
142
142
  key: v,
143
143
  props: V,
144
- _owner: Y
145
- }, (j !== void 0 ? j : null) !== null ? Object.defineProperty(Q, "ref", {
144
+ _owner: j
145
+ }, (z !== void 0 ? z : null) !== null ? Object.defineProperty(Q, "ref", {
146
146
  enumerable: !1,
147
147
  get: a
148
148
  }) : Object.defineProperty(Q, "ref", { enumerable: !1, value: null }), Q._store = {}, Object.defineProperty(Q._store, "validated", {
@@ -167,48 +167,48 @@ function Wa() {
167
167
  value: HA
168
168
  }), Object.freeze && (Object.freeze(Q.props), Object.freeze(Q)), Q;
169
169
  }
170
- function c(Q, v, V, Y, $A, HA) {
171
- var j = v.children;
172
- if (j !== void 0)
173
- if (Y)
174
- if (X(j)) {
175
- for (Y = 0; Y < j.length; Y++)
176
- B(j[Y]);
177
- Object.freeze && Object.freeze(j);
170
+ function c(Q, v, V, j, $A, HA) {
171
+ var z = v.children;
172
+ if (z !== void 0)
173
+ if (j)
174
+ if (X(z)) {
175
+ for (j = 0; j < z.length; j++)
176
+ B(z[j]);
177
+ Object.freeze && Object.freeze(z);
178
178
  } else
179
179
  console.error(
180
180
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
181
181
  );
182
- else B(j);
182
+ else B(z);
183
183
  if (iA.call(v, "key")) {
184
- j = t(Q);
184
+ z = t(Q);
185
185
  var TA = Object.keys(v).filter(function(Fe) {
186
186
  return Fe !== "key";
187
187
  });
188
- Y = 0 < TA.length ? "{key: someKey, " + TA.join(": ..., ") + ": ...}" : "{key: someKey}", ZA[j + Y] || (TA = 0 < TA.length ? "{" + TA.join(": ..., ") + ": ...}" : "{}", console.error(
188
+ j = 0 < TA.length ? "{key: someKey, " + TA.join(": ..., ") + ": ...}" : "{key: someKey}", ZA[z + j] || (TA = 0 < TA.length ? "{" + TA.join(": ..., ") + ": ...}" : "{}", console.error(
189
189
  `A props object containing a "key" prop is being spread into JSX:
190
190
  let props = %s;
191
191
  <%s {...props} />
192
192
  React keys must be passed directly to JSX without using spread:
193
193
  let props = %s;
194
194
  <%s key={someKey} {...props} />`,
195
- Y,
196
195
  j,
196
+ z,
197
197
  TA,
198
- j
199
- ), ZA[j + Y] = !0);
198
+ z
199
+ ), ZA[z + j] = !0);
200
200
  }
201
- if (j = null, V !== void 0 && (e(V), j = "" + V), o(v) && (e(v.key), j = "" + v.key), "key" in v) {
201
+ if (z = null, V !== void 0 && (e(V), z = "" + V), o(v) && (e(v.key), z = "" + v.key), "key" in v) {
202
202
  V = {};
203
203
  for (var Me in v)
204
204
  Me !== "key" && (V[Me] = v[Me]);
205
205
  } else V = v;
206
- return j && i(
206
+ return z && i(
207
207
  V,
208
208
  typeof Q == "function" ? Q.displayName || Q.name || "Unknown" : Q
209
209
  ), l(
210
210
  Q,
211
- j,
211
+ z,
212
212
  V,
213
213
  s(),
214
214
  $A,
@@ -221,7 +221,7 @@ React keys must be passed directly to JSX without using spread:
221
221
  function f(Q) {
222
222
  return typeof Q == "object" && Q !== null && Q.$$typeof === h;
223
223
  }
224
- var u = gt, h = /* @__PURE__ */ Symbol.for("react.transitional.element"), p = /* @__PURE__ */ Symbol.for("react.portal"), C = /* @__PURE__ */ Symbol.for("react.fragment"), x = /* @__PURE__ */ Symbol.for("react.strict_mode"), w = /* @__PURE__ */ Symbol.for("react.profiler"), H = /* @__PURE__ */ Symbol.for("react.consumer"), y = /* @__PURE__ */ Symbol.for("react.context"), F = /* @__PURE__ */ Symbol.for("react.forward_ref"), K = /* @__PURE__ */ Symbol.for("react.suspense"), _ = /* @__PURE__ */ Symbol.for("react.suspense_list"), P = /* @__PURE__ */ Symbol.for("react.memo"), L = /* @__PURE__ */ Symbol.for("react.lazy"), pA = /* @__PURE__ */ Symbol.for("react.activity"), dA = /* @__PURE__ */ Symbol.for("react.client.reference"), J = u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, iA = Object.prototype.hasOwnProperty, X = Array.isArray, xA = console.createTask ? console.createTask : function() {
224
+ var u = gt, h = /* @__PURE__ */ Symbol.for("react.transitional.element"), p = /* @__PURE__ */ Symbol.for("react.portal"), C = /* @__PURE__ */ Symbol.for("react.fragment"), x = /* @__PURE__ */ Symbol.for("react.strict_mode"), w = /* @__PURE__ */ Symbol.for("react.profiler"), H = /* @__PURE__ */ Symbol.for("react.consumer"), y = /* @__PURE__ */ Symbol.for("react.context"), F = /* @__PURE__ */ Symbol.for("react.forward_ref"), K = /* @__PURE__ */ Symbol.for("react.suspense"), _ = /* @__PURE__ */ Symbol.for("react.suspense_list"), P = /* @__PURE__ */ Symbol.for("react.memo"), L = /* @__PURE__ */ Symbol.for("react.lazy"), pA = /* @__PURE__ */ Symbol.for("react.activity"), dA = /* @__PURE__ */ Symbol.for("react.client.reference"), Y = u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, iA = Object.prototype.hasOwnProperty, X = Array.isArray, xA = console.createTask ? console.createTask : function() {
225
225
  return null;
226
226
  };
227
227
  u = {
@@ -234,24 +234,24 @@ React keys must be passed directly to JSX without using spread:
234
234
  n
235
235
  )(), Ze = xA(r(n)), ZA = {};
236
236
  pt.Fragment = C, pt.jsx = function(Q, v, V) {
237
- var Y = 1e4 > J.recentlyCreatedOwnerStacks++;
237
+ var j = 1e4 > Y.recentlyCreatedOwnerStacks++;
238
238
  return c(
239
239
  Q,
240
240
  v,
241
241
  V,
242
242
  !1,
243
- Y ? Error("react-stack-top-frame") : Re,
244
- Y ? xA(r(Q)) : Ze
243
+ j ? Error("react-stack-top-frame") : Re,
244
+ j ? xA(r(Q)) : Ze
245
245
  );
246
246
  }, pt.jsxs = function(Q, v, V) {
247
- var Y = 1e4 > J.recentlyCreatedOwnerStacks++;
247
+ var j = 1e4 > Y.recentlyCreatedOwnerStacks++;
248
248
  return c(
249
249
  Q,
250
250
  v,
251
251
  V,
252
252
  !0,
253
- Y ? Error("react-stack-top-frame") : Re,
254
- Y ? xA(r(Q)) : Ze
253
+ j ? Error("react-stack-top-frame") : Re,
254
+ j ? xA(r(Q)) : Ze
255
255
  );
256
256
  };
257
257
  })()), pt;
@@ -509,7 +509,7 @@ async function Ui(...t) {
509
509
  P,
510
510
  0
511
511
  ];
512
- const L = !G(a), pA = h(), dA = pA.data, J = pA._c, iA = G(J) ? dA : J;
512
+ const L = !G(a), pA = h(), dA = pA.data, Y = pA._c, iA = G(Y) ? dA : Y;
513
513
  if (L && (a = ce(a) ? a(iA, dA) : a, p({
514
514
  data: a,
515
515
  _c: iA
@@ -692,18 +692,18 @@ const gs = gt.use || // This extra generic is to avoid TypeScript mixing up the
692
692
  }), ds = {
693
693
  dedupe: !0
694
694
  }, jn = Promise.resolve(SA), xc = () => Ce, yc = (t, A, e) => {
695
- const { cache: r, compare: s, suspense: n, fallbackData: o, revalidateOnMount: i, revalidateIfStale: a, refreshInterval: l, refreshWhenHidden: c, refreshWhenOffline: B, keepPreviousData: f, strictServerPrefetchWarning: u } = e, [h, p, C, x] = Qe.get(r), [w, H] = En(t), y = IA(!1), F = IA(!1), K = IA(w), _ = IA(A), P = IA(e), L = () => P.current, pA = () => L().isVisible() && L().isOnline(), [dA, J, iA, X] = Ci(r, w), xA = IA({}).current, uA = G(o) ? G(e.fallback) ? SA : e.fallback[w] : o, yA = (z, R) => {
695
+ const { cache: r, compare: s, suspense: n, fallbackData: o, revalidateOnMount: i, revalidateIfStale: a, refreshInterval: l, refreshWhenHidden: c, refreshWhenOffline: B, keepPreviousData: f, strictServerPrefetchWarning: u } = e, [h, p, C, x] = Qe.get(r), [w, H] = En(t), y = IA(!1), F = IA(!1), K = IA(w), _ = IA(A), P = IA(e), L = () => P.current, pA = () => L().isVisible() && L().isOnline(), [dA, Y, iA, X] = Ci(r, w), xA = IA({}).current, uA = G(o) ? G(e.fallback) ? SA : e.fallback[w] : o, yA = (Z, R) => {
696
696
  for (const eA in xA) {
697
697
  const rA = eA;
698
698
  if (rA === "data") {
699
- if (!s(z[rA], R[rA]) && (!G(z[rA]) || !s(HA, R[rA])))
699
+ if (!s(Z[rA], R[rA]) && (!G(Z[rA]) || !s(HA, R[rA])))
700
700
  return !1;
701
- } else if (R[rA] !== z[rA])
701
+ } else if (R[rA] !== Z[rA])
702
702
  return !1;
703
703
  }
704
704
  return !0;
705
705
  }, Re = !y.current, Ze = Lt(() => {
706
- const z = dA(), R = X(), eA = (nA) => {
706
+ const Z = dA(), R = X(), eA = (nA) => {
707
707
  const QA = Ke(nA);
708
708
  return delete QA._k, (() => {
709
709
  if (!w || !A || L().isPaused()) return !1;
@@ -715,7 +715,7 @@ const gs = gt.use || // This extra generic is to avoid TypeScript mixing up the
715
715
  isLoading: !0,
716
716
  ...QA
717
717
  } : QA;
718
- }, rA = eA(z), CA = z === R ? rA : eA(R);
718
+ }, rA = eA(Z), CA = Z === R ? rA : eA(R);
719
719
  let DA = rA;
720
720
  return [
721
721
  () => {
@@ -728,31 +728,31 @@ const gs = gt.use || // This extra generic is to avoid TypeScript mixing up the
728
728
  r,
729
729
  w
730
730
  ]), ZA = kn.useSyncExternalStore(Ie(
731
- (z) => iA(w, (R, eA) => {
732
- yA(eA, R) || z();
731
+ (Z) => iA(w, (R, eA) => {
732
+ yA(eA, R) || Z();
733
733
  }),
734
734
  // eslint-disable-next-line react-hooks/exhaustive-deps
735
735
  [
736
736
  r,
737
737
  w
738
738
  ]
739
- ), Ze[0], Ze[1]), Q = h[w] && h[w].length > 0, v = ZA.data, V = G(v) ? uA && Qi(uA) ? gs(uA) : uA : v, Y = ZA.error, $A = IA(V), HA = f ? G(v) ? G($A.current) ? V : $A.current : v : V, j = w && G(V), TA = IA(null);
739
+ ), Ze[0], Ze[1]), Q = h[w] && h[w].length > 0, v = ZA.data, V = G(v) ? uA && Qi(uA) ? gs(uA) : uA : v, j = ZA.error, $A = IA(V), HA = f ? G(v) ? G($A.current) ? V : $A.current : v : V, z = w && G(V), TA = IA(null);
740
740
  !at && // getServerSnapshot is only called during hydration
741
741
  // eslint-disable-next-line react-hooks/rules-of-hooks
742
742
  kn.useSyncExternalStore(xc, () => (TA.current = !1, TA), () => (TA.current = !0, TA));
743
743
  const Me = TA.current;
744
- u && Me && !n && j && console.warn(`Missing pre-initiated data for serialized key "${w}" 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 Fe = !w || !A || L().isPaused() || Q && !G(Y) ? !1 : Re && !G(i) ? i : n ? G(V) ? !1 : a : G(V) || a, $r = Re && Fe, Ne = G(ZA.isValidating) ? $r : ZA.isValidating, ue = G(ZA.isLoading) ? $r : ZA.isLoading, XA = Ie(
746
- async (z) => {
744
+ u && Me && !n && z && console.warn(`Missing pre-initiated data for serialized key "${w}" 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 Fe = !w || !A || L().isPaused() || Q && !G(j) ? !1 : Re && !G(i) ? i : n ? G(V) ? !1 : a : G(V) || a, $r = Re && Fe, Ne = G(ZA.isValidating) ? $r : ZA.isValidating, ue = G(ZA.isLoading) ? $r : ZA.isLoading, XA = Ie(
746
+ async (Z) => {
747
747
  const R = _.current;
748
748
  if (!w || !R || F.current || L().isPaused())
749
749
  return !1;
750
750
  let eA, rA, CA = !0;
751
- const DA = z || {}, nA = !C[w] || !DA.dedupe, QA = () => Wn ? !F.current && w === K.current && y.current : w === K.current, Ge = {
751
+ const DA = Z || {}, nA = !C[w] || !DA.dedupe, QA = () => Wn ? !F.current && w === K.current && y.current : w === K.current, Ge = {
752
752
  isValidating: !1,
753
753
  isLoading: !1
754
754
  }, qA = () => {
755
- J(Ge);
755
+ Y(Ge);
756
756
  }, ft = () => {
757
757
  const fA = C[w];
758
758
  fA && fA[1] === rA && delete C[w];
@@ -761,7 +761,7 @@ const gs = gt.use || // This extra generic is to avoid TypeScript mixing up the
761
761
  };
762
762
  G(dA().data) && (WA.isLoading = !0);
763
763
  try {
764
- if (nA && (J(WA), e.loadingTimeout && G(dA().data) && setTimeout(() => {
764
+ if (nA && (Y(WA), e.loadingTimeout && G(dA().data) && setTimeout(() => {
765
765
  CA && QA() && L().onLoadingSlow(w, e);
766
766
  }, e.loadingTimeout), C[w] = [
767
767
  R(H),
@@ -807,7 +807,7 @@ const gs = gt.use || // This extra generic is to avoid TypeScript mixing up the
807
807
  ]
808
808
  ), ne = Ie(
809
809
  // Use callback to make sure `keyRef.current` returns latest result every time
810
- (...z) => Ui(r, K.current, ...z),
810
+ (...Z) => Ui(r, K.current, ...Z),
811
811
  // eslint-disable-next-line react-hooks/exhaustive-deps
812
812
  []
813
813
  );
@@ -815,15 +815,15 @@ const gs = gt.use || // This extra generic is to avoid TypeScript mixing up the
815
815
  _.current = A, P.current = e, G(v) || ($A.current = v);
816
816
  }), cs(() => {
817
817
  if (!w) return;
818
- const z = XA.bind(SA, ds);
818
+ const Z = XA.bind(SA, ds);
819
819
  let R = 0;
820
820
  L().revalidateOnFocus && (R = Date.now() + L().focusThrottleInterval);
821
821
  const rA = Ec(w, h, (CA, DA = {}) => {
822
822
  if (CA == wi) {
823
823
  const nA = Date.now();
824
- L().revalidateOnFocus && nA > R && pA() && (R = nA + L().focusThrottleInterval, z());
824
+ L().revalidateOnFocus && nA > R && pA() && (R = nA + L().focusThrottleInterval, Z());
825
825
  } else if (CA == hi)
826
- L().revalidateOnReconnect && pA() && z();
826
+ L().revalidateOnReconnect && pA() && Z();
827
827
  else {
828
828
  if (CA == pi)
829
829
  return XA();
@@ -831,24 +831,24 @@ const gs = gt.use || // This extra generic is to avoid TypeScript mixing up the
831
831
  return XA(DA);
832
832
  }
833
833
  });
834
- return F.current = !1, K.current = w, y.current = !0, J({
834
+ return F.current = !1, K.current = w, y.current = !0, Y({
835
835
  _k: H
836
- }), Fe && (C[w] || (G(V) || at ? z() : nc(z))), () => {
836
+ }), Fe && (C[w] || (G(V) || at ? Z() : nc(Z))), () => {
837
837
  F.current = !0, rA();
838
838
  };
839
839
  }, [
840
840
  w
841
841
  ]), cs(() => {
842
- let z;
842
+ let Z;
843
843
  function R() {
844
844
  const rA = ce(l) ? l(dA().data) : l;
845
- rA && z !== -1 && (z = setTimeout(eA, rA));
845
+ rA && Z !== -1 && (Z = setTimeout(eA, rA));
846
846
  }
847
847
  function eA() {
848
848
  !dA().error && (c || L().isVisible()) && (B || L().isOnline()) ? XA(ds).then(R) : R();
849
849
  }
850
850
  return R(), () => {
851
- z && (clearTimeout(z), z = -1);
851
+ Z && (clearTimeout(Z), Z = -1);
852
852
  };
853
853
  }, [
854
854
  l,
@@ -856,14 +856,14 @@ const gs = gt.use || // This extra generic is to avoid TypeScript mixing up the
856
856
  B,
857
857
  w
858
858
  ]), ka(HA), n) {
859
- if (!Wn && at && j)
859
+ if (!Wn && at && z)
860
860
  throw new Error("Fallback data is required when using Suspense in SSR.");
861
- j && (_.current = A, P.current = e, F.current = !1);
862
- const z = x[w], R = !G(z) && j ? ne(z) : jn;
863
- if (gs(R), !G(Y) && j)
864
- throw Y;
865
- const eA = j ? XA(ds) : jn;
866
- !G(HA) && j && (eA.status = "fulfilled", eA.value = !0), gs(eA);
861
+ z && (_.current = A, P.current = e, F.current = !1);
862
+ const Z = x[w], R = !G(Z) && z ? ne(Z) : jn;
863
+ if (gs(R), !G(j) && z)
864
+ throw j;
865
+ const eA = z ? XA(ds) : jn;
866
+ !G(HA) && z && (eA.status = "fulfilled", eA.value = !0), gs(eA);
867
867
  }
868
868
  return {
869
869
  mutate: ne,
@@ -871,7 +871,7 @@ const gs = gt.use || // This extra generic is to avoid TypeScript mixing up the
871
871
  return xA.data = !0, HA;
872
872
  },
873
873
  get error() {
874
- return xA.error = !0, Y;
874
+ return xA.error = !0, j;
875
875
  },
876
876
  get isValidating() {
877
877
  return xA.isValidating = !0, Ne;
@@ -5416,23 +5416,23 @@ class iw {
5416
5416
  const u = Math.max(...f);
5417
5417
  u > 1 && (s /= u, n /= u, o /= u, i /= u, a /= u, l /= u, c /= u, B /= u);
5418
5418
  const h = r.width - o, p = r.height - l, C = r.width - a, x = r.height - B, w = e.borderTopWidth, H = e.borderRightWidth, y = e.borderBottomWidth, F = e.borderLeftWidth, K = D(e.paddingTop, A.bounds.width), _ = D(e.paddingRight, A.bounds.width), P = D(e.paddingBottom, A.bounds.width), L = D(e.paddingLeft, A.bounds.width);
5419
- this.topLeftBorderDoubleOuterBox = s > 0 || n > 0 ? sA(r.left + F / 3, r.top + w / 3, s - F / 3, n - w / 3, W.TOP_LEFT) : new E(r.left + F / 3, r.top + w / 3), this.topRightBorderDoubleOuterBox = s > 0 || n > 0 ? sA(r.left + h, r.top + w / 3, o - H / 3, i - w / 3, W.TOP_RIGHT) : new E(r.left + r.width - H / 3, r.top + w / 3), this.bottomRightBorderDoubleOuterBox = a > 0 || l > 0 ? sA(r.left + C, r.top + p, a - H / 3, l - y / 3, W.BOTTOM_RIGHT) : new E(r.left + r.width - H / 3, r.top + r.height - y / 3), this.bottomLeftBorderDoubleOuterBox = c > 0 || B > 0 ? sA(r.left + F / 3, r.top + x, c - F / 3, B - y / 3, W.BOTTOM_LEFT) : new E(r.left + F / 3, r.top + r.height - y / 3), this.topLeftBorderDoubleInnerBox = s > 0 || n > 0 ? sA(r.left + F * 2 / 3, r.top + w * 2 / 3, s - F * 2 / 3, n - w * 2 / 3, W.TOP_LEFT) : new E(r.left + F * 2 / 3, r.top + w * 2 / 3), this.topRightBorderDoubleInnerBox = s > 0 || n > 0 ? sA(r.left + h, r.top + w * 2 / 3, o - H * 2 / 3, i - w * 2 / 3, W.TOP_RIGHT) : new E(r.left + r.width - H * 2 / 3, r.top + w * 2 / 3), this.bottomRightBorderDoubleInnerBox = a > 0 || l > 0 ? sA(r.left + C, r.top + p, a - H * 2 / 3, l - y * 2 / 3, W.BOTTOM_RIGHT) : new E(r.left + r.width - H * 2 / 3, r.top + r.height - y * 2 / 3), this.bottomLeftBorderDoubleInnerBox = c > 0 || B > 0 ? sA(r.left + F * 2 / 3, r.top + x, c - F * 2 / 3, B - y * 2 / 3, W.BOTTOM_LEFT) : new E(r.left + F * 2 / 3, r.top + r.height - y * 2 / 3), this.topLeftBorderStroke = s > 0 || n > 0 ? sA(r.left + F / 2, r.top + w / 2, s - F / 2, n - w / 2, W.TOP_LEFT) : new E(r.left + F / 2, r.top + w / 2), this.topRightBorderStroke = s > 0 || n > 0 ? sA(r.left + h, r.top + w / 2, o - H / 2, i - w / 2, W.TOP_RIGHT) : new E(r.left + r.width - H / 2, r.top + w / 2), this.bottomRightBorderStroke = a > 0 || l > 0 ? sA(r.left + C, r.top + p, a - H / 2, l - y / 2, W.BOTTOM_RIGHT) : new E(r.left + r.width - H / 2, r.top + r.height - y / 2), this.bottomLeftBorderStroke = c > 0 || B > 0 ? sA(r.left + F / 2, r.top + x, c - F / 2, B - y / 2, W.BOTTOM_LEFT) : new E(r.left + F / 2, r.top + r.height - y / 2), this.topLeftBorderBox = s > 0 || n > 0 ? sA(r.left, r.top, s, n, W.TOP_LEFT) : new E(r.left, r.top), this.topRightBorderBox = o > 0 || i > 0 ? sA(r.left + h, r.top, o, i, W.TOP_RIGHT) : new E(r.left + r.width, r.top), this.bottomRightBorderBox = a > 0 || l > 0 ? sA(r.left + C, r.top + p, a, l, W.BOTTOM_RIGHT) : new E(r.left + r.width, r.top + r.height), this.bottomLeftBorderBox = c > 0 || B > 0 ? sA(r.left, r.top + x, c, B, W.BOTTOM_LEFT) : new E(r.left, r.top + r.height), this.topLeftPaddingBox = s > 0 || n > 0 ? sA(r.left + F, r.top + w, Math.max(0, s - F), Math.max(0, n - w), W.TOP_LEFT) : new E(r.left + F, r.top + w), this.topRightPaddingBox = o > 0 || i > 0 ? sA(r.left + Math.min(h, r.width - H), r.top + w, h > r.width + H ? 0 : Math.max(0, o - H), Math.max(0, i - w), W.TOP_RIGHT) : new E(r.left + r.width - H, r.top + w), this.bottomRightPaddingBox = a > 0 || l > 0 ? sA(r.left + Math.min(C, r.width - F), r.top + Math.min(p, r.height - y), Math.max(0, a - H), Math.max(0, l - y), W.BOTTOM_RIGHT) : new E(r.left + r.width - H, r.top + r.height - y), this.bottomLeftPaddingBox = c > 0 || B > 0 ? sA(r.left + F, r.top + Math.min(x, r.height - y), Math.max(0, c - F), Math.max(0, B - y), W.BOTTOM_LEFT) : new E(r.left + F, r.top + r.height - y), this.topLeftContentBox = s > 0 || n > 0 ? sA(r.left + F + L, r.top + w + K, Math.max(0, s - (F + L)), Math.max(0, n - (w + K)), W.TOP_LEFT) : new E(r.left + F + L, r.top + w + K), this.topRightContentBox = o > 0 || i > 0 ? sA(r.left + Math.min(h, r.width + F + L), r.top + w + K, h > r.width + F + L ? 0 : o - F + L, i - (w + K), W.TOP_RIGHT) : new E(r.left + r.width - (H + _), r.top + w + K), this.bottomRightContentBox = a > 0 || l > 0 ? sA(r.left + Math.min(C, r.width - (F + L)), r.top + Math.min(p, r.height + w + K), Math.max(0, a - (H + _)), l - (y + P), W.BOTTOM_RIGHT) : new E(r.left + r.width - (H + _), r.top + r.height - (y + P)), this.bottomLeftContentBox = c > 0 || B > 0 ? sA(r.left + F + L, r.top + x, Math.max(0, c - (F + L)), B - (y + P), W.BOTTOM_LEFT) : new E(r.left + F + L, r.top + r.height - (y + P));
5419
+ this.topLeftBorderDoubleOuterBox = s > 0 || n > 0 ? sA(r.left + F / 3, r.top + w / 3, s - F / 3, n - w / 3, J.TOP_LEFT) : new E(r.left + F / 3, r.top + w / 3), this.topRightBorderDoubleOuterBox = s > 0 || n > 0 ? sA(r.left + h, r.top + w / 3, o - H / 3, i - w / 3, J.TOP_RIGHT) : new E(r.left + r.width - H / 3, r.top + w / 3), this.bottomRightBorderDoubleOuterBox = a > 0 || l > 0 ? sA(r.left + C, r.top + p, a - H / 3, l - y / 3, J.BOTTOM_RIGHT) : new E(r.left + r.width - H / 3, r.top + r.height - y / 3), this.bottomLeftBorderDoubleOuterBox = c > 0 || B > 0 ? sA(r.left + F / 3, r.top + x, c - F / 3, B - y / 3, J.BOTTOM_LEFT) : new E(r.left + F / 3, r.top + r.height - y / 3), this.topLeftBorderDoubleInnerBox = s > 0 || n > 0 ? sA(r.left + F * 2 / 3, r.top + w * 2 / 3, s - F * 2 / 3, n - w * 2 / 3, J.TOP_LEFT) : new E(r.left + F * 2 / 3, r.top + w * 2 / 3), this.topRightBorderDoubleInnerBox = s > 0 || n > 0 ? sA(r.left + h, r.top + w * 2 / 3, o - H * 2 / 3, i - w * 2 / 3, J.TOP_RIGHT) : new E(r.left + r.width - H * 2 / 3, r.top + w * 2 / 3), this.bottomRightBorderDoubleInnerBox = a > 0 || l > 0 ? sA(r.left + C, r.top + p, a - H * 2 / 3, l - y * 2 / 3, J.BOTTOM_RIGHT) : new E(r.left + r.width - H * 2 / 3, r.top + r.height - y * 2 / 3), this.bottomLeftBorderDoubleInnerBox = c > 0 || B > 0 ? sA(r.left + F * 2 / 3, r.top + x, c - F * 2 / 3, B - y * 2 / 3, J.BOTTOM_LEFT) : new E(r.left + F * 2 / 3, r.top + r.height - y * 2 / 3), this.topLeftBorderStroke = s > 0 || n > 0 ? sA(r.left + F / 2, r.top + w / 2, s - F / 2, n - w / 2, J.TOP_LEFT) : new E(r.left + F / 2, r.top + w / 2), this.topRightBorderStroke = s > 0 || n > 0 ? sA(r.left + h, r.top + w / 2, o - H / 2, i - w / 2, J.TOP_RIGHT) : new E(r.left + r.width - H / 2, r.top + w / 2), this.bottomRightBorderStroke = a > 0 || l > 0 ? sA(r.left + C, r.top + p, a - H / 2, l - y / 2, J.BOTTOM_RIGHT) : new E(r.left + r.width - H / 2, r.top + r.height - y / 2), this.bottomLeftBorderStroke = c > 0 || B > 0 ? sA(r.left + F / 2, r.top + x, c - F / 2, B - y / 2, J.BOTTOM_LEFT) : new E(r.left + F / 2, r.top + r.height - y / 2), this.topLeftBorderBox = s > 0 || n > 0 ? sA(r.left, r.top, s, n, J.TOP_LEFT) : new E(r.left, r.top), this.topRightBorderBox = o > 0 || i > 0 ? sA(r.left + h, r.top, o, i, J.TOP_RIGHT) : new E(r.left + r.width, r.top), this.bottomRightBorderBox = a > 0 || l > 0 ? sA(r.left + C, r.top + p, a, l, J.BOTTOM_RIGHT) : new E(r.left + r.width, r.top + r.height), this.bottomLeftBorderBox = c > 0 || B > 0 ? sA(r.left, r.top + x, c, B, J.BOTTOM_LEFT) : new E(r.left, r.top + r.height), this.topLeftPaddingBox = s > 0 || n > 0 ? sA(r.left + F, r.top + w, Math.max(0, s - F), Math.max(0, n - w), J.TOP_LEFT) : new E(r.left + F, r.top + w), this.topRightPaddingBox = o > 0 || i > 0 ? sA(r.left + Math.min(h, r.width - H), r.top + w, h > r.width + H ? 0 : Math.max(0, o - H), Math.max(0, i - w), J.TOP_RIGHT) : new E(r.left + r.width - H, r.top + w), this.bottomRightPaddingBox = a > 0 || l > 0 ? sA(r.left + Math.min(C, r.width - F), r.top + Math.min(p, r.height - y), Math.max(0, a - H), Math.max(0, l - y), J.BOTTOM_RIGHT) : new E(r.left + r.width - H, r.top + r.height - y), this.bottomLeftPaddingBox = c > 0 || B > 0 ? sA(r.left + F, r.top + Math.min(x, r.height - y), Math.max(0, c - F), Math.max(0, B - y), J.BOTTOM_LEFT) : new E(r.left + F, r.top + r.height - y), this.topLeftContentBox = s > 0 || n > 0 ? sA(r.left + F + L, r.top + w + K, Math.max(0, s - (F + L)), Math.max(0, n - (w + K)), J.TOP_LEFT) : new E(r.left + F + L, r.top + w + K), this.topRightContentBox = o > 0 || i > 0 ? sA(r.left + Math.min(h, r.width + F + L), r.top + w + K, h > r.width + F + L ? 0 : o - F + L, i - (w + K), J.TOP_RIGHT) : new E(r.left + r.width - (H + _), r.top + w + K), this.bottomRightContentBox = a > 0 || l > 0 ? sA(r.left + Math.min(C, r.width - (F + L)), r.top + Math.min(p, r.height + w + K), Math.max(0, a - (H + _)), l - (y + P), J.BOTTOM_RIGHT) : new E(r.left + r.width - (H + _), r.top + r.height - (y + P)), this.bottomLeftContentBox = c > 0 || B > 0 ? sA(r.left + F + L, r.top + x, Math.max(0, c - (F + L)), B - (y + P), J.BOTTOM_LEFT) : new E(r.left + F + L, r.top + r.height - (y + P));
5420
5420
  }
5421
5421
  }
5422
- var W;
5422
+ var J;
5423
5423
  (function(t) {
5424
5424
  t[t.TOP_LEFT = 0] = "TOP_LEFT", t[t.TOP_RIGHT = 1] = "TOP_RIGHT", t[t.BOTTOM_RIGHT = 2] = "BOTTOM_RIGHT", t[t.BOTTOM_LEFT = 3] = "BOTTOM_LEFT";
5425
- })(W || (W = {}));
5425
+ })(J || (J = {}));
5426
5426
  const sA = (t, A, e, r, s) => {
5427
5427
  const n = 4 * ((Math.sqrt(2) - 1) / 3), o = e * n, i = r * n, a = t + e, l = A + r;
5428
5428
  switch (s) {
5429
- case W.TOP_LEFT:
5429
+ case J.TOP_LEFT:
5430
5430
  return new Ue(new E(t, l), new E(t, l - i), new E(a - o, A), new E(a, A));
5431
- case W.TOP_RIGHT:
5431
+ case J.TOP_RIGHT:
5432
5432
  return new Ue(new E(t, A), new E(t + o, A), new E(a, l - i), new E(a, l));
5433
- case W.BOTTOM_RIGHT:
5433
+ case J.BOTTOM_RIGHT:
5434
5434
  return new Ue(new E(a, A), new E(a, A + i), new E(t + o, l), new E(t, l));
5435
- case W.BOTTOM_LEFT:
5435
+ case J.BOTTOM_LEFT:
5436
5436
  default:
5437
5437
  return new Ue(new E(a, l), new E(a - o, l), new E(t, A + i), new E(t, A));
5438
5438
  }
@@ -7319,11 +7319,11 @@ const qw = (t) => {
7319
7319
  imageSmoothing: A.imageSmoothing,
7320
7320
  imageSmoothingQuality: A.imageSmoothingQuality
7321
7321
  };
7322
- let dA, J;
7322
+ let dA, Y;
7323
7323
  try {
7324
- return C ? (u.logger.debug("Document cloned, using foreign object rendering"), p.start("render-foreignobject"), dA = await new Mw(u, pA).render(H), p.end("render-foreignobject")) : (u.logger.debug(`Document cloned, element located at ${_},${P} with size ${F}x${K} using computed rendering`), u.logger.debug("Starting DOM parsing"), p.start("parse"), J = Ua(u, H), p.end("parse"), L === J.styles.backgroundColor && (J.styles.backgroundColor = Be.TRANSPARENT), u.logger.debug(`Starting renderer for element at ${pA.x},${pA.y} with size ${pA.width}x${pA.height}`), p.start("render"), dA = await new Sn(u, pA).render(J), p.end("render")), p.start("cleanup"), (A.removeContainer ?? !0) && (ti.destroy(y) || u.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")), p.end("cleanup"), p.end("total"), u.logger.debug("Finished rendering"), h && p.logSummary(), dA;
7324
+ return C ? (u.logger.debug("Document cloned, using foreign object rendering"), p.start("render-foreignobject"), dA = await new Mw(u, pA).render(H), p.end("render-foreignobject")) : (u.logger.debug(`Document cloned, element located at ${_},${P} with size ${F}x${K} using computed rendering`), u.logger.debug("Starting DOM parsing"), p.start("parse"), Y = Ua(u, H), p.end("parse"), L === Y.styles.backgroundColor && (Y.styles.backgroundColor = Be.TRANSPARENT), u.logger.debug(`Starting renderer for element at ${pA.x},${pA.y} with size ${pA.width}x${pA.height}`), p.start("render"), dA = await new Sn(u, pA).render(Y), p.end("render")), p.start("cleanup"), (A.removeContainer ?? !0) && (ti.destroy(y) || u.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")), p.end("cleanup"), p.end("total"), u.logger.debug("Finished rendering"), h && p.logSummary(), dA;
7325
7325
  } finally {
7326
- J && J.restoreTree();
7326
+ Y && Y.restoreTree();
7327
7327
  }
7328
7328
  }, eh = (t, A, e) => {
7329
7329
  const r = A.ownerDocument, s = r.documentElement ? lt(t, getComputedStyle(r.documentElement).backgroundColor) : Be.TRANSPARENT, n = r.body ? lt(t, getComputedStyle(r.body).backgroundColor) : Be.TRANSPARENT, o = typeof e == "string" ? lt(t, e) : e === null ? Be.TRANSPARENT : 4294967295;
@@ -7660,11 +7660,14 @@ const qw = (t) => {
7660
7660
  window.removeEventListener("popstate", d), window.history.pushState = b, window.history.replaceState = U;
7661
7661
  };
7662
7662
  }, []);
7663
- const [c, B] = k(!1), [f, u] = k("medium"), [h, p] = k("medium"), [C, x] = k("all"), [w, H] = k(null), [y, F] = k(null), [K, _] = k(""), [P, L] = k(!1), [pA, dA] = k(!1), [J, iA] = k(!1), [X, xA] = k([]), [uA, yA] = k(null), [Re, Ze] = k(!1), [ZA, Q] = k({}), [v, V] = k(null), [Y, $A] = k(!1), [HA, j] = k(null), TA = Ie(async (d) => {
7663
+ const [c, B] = k(!1), [f, u] = k("medium"), [h, p] = k("medium"), [C, x] = k("all"), [w, H] = k(null), [y, F] = k(null), [K, _] = k(""), [P, L] = k(!1), [pA, dA] = k(!1), [Y, iA] = k(!1), [X, xA] = k([]), [uA, yA] = k(null), [Re, Ze] = k(!1), [ZA, Q] = k({}), [v, V] = k(null), [j, $A] = k(!1), [HA, z] = k(null), TA = Ie(async (d) => {
7664
7664
  const b = await fetch(d, {
7665
7665
  headers: { "x-api-key": r }
7666
7666
  });
7667
- if (!b.ok) throw new Error("Fetch failed");
7667
+ if (!b.ok) {
7668
+ const U = await b.json().catch(() => ({}));
7669
+ throw new Error(U.message || U.error || "Fetch failed");
7670
+ }
7668
7671
  return b.json();
7669
7672
  }, [r]), Me = Lt(() => i ? "backlog" : "pending,todo,in_progress,review,ready_for_review,bug_fixing", [i]), { data: Fe, isLoading: $r } = zn(
7670
7673
  r ? `${s}/api/projects/active-sprint` : null,
@@ -7681,8 +7684,8 @@ const qw = (t) => {
7681
7684
  revalidateOnFocus: !0,
7682
7685
  dedupingInterval: 2e3
7683
7686
  }
7684
- ), [ne, qr] = k(null), z = IA(X);
7685
- z.current = X;
7687
+ ), [ne, qr] = k(null), Z = IA(X);
7688
+ Z.current = X;
7686
7689
  const [R, eA] = k(null), rA = IA(null), [CA, DA] = k([]), nA = Lt(() => {
7687
7690
  let d = Array.isArray(X) ? X : [];
7688
7691
  if (v) {
@@ -7730,15 +7733,15 @@ const qw = (t) => {
7730
7733
  const d = (U) => {
7731
7734
  if (qA && WA.current) {
7732
7735
  const T = U.clientX - WA.current.x, M = U.clientY - WA.current.y;
7733
- let Z = WA.current.top + M, $ = WA.current.right - T;
7736
+ let W = WA.current.top + M, $ = WA.current.right - T;
7734
7737
  const S = 10;
7735
- Z = Math.max(S, Math.min(window.innerHeight - WA.current.height - S, Z)), $ = Math.max(S, Math.min(window.innerWidth - WA.current.width - S, $)), Ge({ top: Z, right: $ });
7738
+ W = Math.max(S, Math.min(window.innerHeight - WA.current.height - S, W)), $ = Math.max(S, Math.min(window.innerWidth - WA.current.width - S, $)), Ge({ top: W, right: $ });
7736
7739
  }
7737
7740
  if (fe && VA.current) {
7738
7741
  const T = U.clientX - VA.current.x, M = U.clientY - VA.current.y;
7739
- let Z = VA.current.bottom - M, $ = VA.current.right - T;
7742
+ let W = VA.current.bottom - M, $ = VA.current.right - T;
7740
7743
  const S = 10;
7741
- Z = Math.max(S, Math.min(window.innerHeight - VA.current.height - S, Z)), $ = Math.max(S, Math.min(window.innerWidth - VA.current.width - S, $)), Ae({ bottom: Z, right: $ });
7744
+ W = Math.max(S, Math.min(window.innerHeight - VA.current.height - S, W)), $ = Math.max(S, Math.min(window.innerWidth - VA.current.width - S, $)), Ae({ bottom: W, right: $ });
7742
7745
  }
7743
7746
  }, b = () => {
7744
7747
  qA && (ft(!1), localStorage.setItem("vg-exit-pos", JSON.stringify(QA)), WA.current = null), fe && (Yt(!1), localStorage.setItem("vg-bar-pos", JSON.stringify(fA)), VA.current = null);
@@ -7750,12 +7753,12 @@ const qw = (t) => {
7750
7753
  const [As, es] = k(null), [Ln, Tn] = k(""), [dh, uh] = k({}), jt = IA(null), $e = IA(null), wt = Ie(() => {
7751
7754
  typeof window > "u" || ($e.current && cancelAnimationFrame($e.current), $e.current = requestAnimationFrame(() => {
7752
7755
  $e.current = null;
7753
- const d = z.current, b = Array.isArray(d) ? d : [], U = new Set(b.map((AA) => AA._id));
7756
+ const d = Z.current, b = Array.isArray(d) ? d : [], U = new Set(b.map((AA) => AA._id));
7754
7757
  document.querySelectorAll(`[${ae}]`).forEach((AA) => {
7755
7758
  const bA = AA.getAttribute(ae);
7756
7759
  bA && !U.has(bA) && AA.removeAttribute(ae);
7757
7760
  });
7758
- const M = Array.from(document.querySelectorAll('[role="dialog"], [aria-modal="true"], .modal, .modal-backdrop, .fixed.inset-0')).find((AA) => Fn(AA) && ve(AA)), Z = !!M, $ = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map();
7761
+ const M = Array.from(document.querySelectorAll('[role="dialog"], [aria-modal="true"], .modal, .modal-backdrop, .fixed.inset-0')).find((AA) => Fn(AA) && ve(AA)), W = !!M, $ = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map();
7759
7762
  b.forEach((AA) => {
7760
7763
  if (!AA || !AA.reference) return;
7761
7764
  try {
@@ -7772,7 +7775,7 @@ const qw = (t) => {
7772
7775
  }
7773
7776
  if (!wA || !ve(wA)) return;
7774
7777
  let KA = !1;
7775
- if (Z ? KA = M.contains(wA) : RA ? KA = !0 : KA = !bA, !KA) return;
7778
+ if (W ? KA = M.contains(wA) : RA ? KA = !0 : KA = !bA, !KA) return;
7776
7779
  const oe = wA.getAttribute(ae);
7777
7780
  oe !== AA._id && (document.querySelectorAll(`[${ae}="${AA._id}"]`).forEach((hA) => {
7778
7781
  hA.removeAttribute(ae);
@@ -7805,15 +7808,15 @@ const qw = (t) => {
7805
7808
  if (Ne) {
7806
7809
  const d = Array.isArray(Ne) ? Ne : Ne?.data || [];
7807
7810
  if (Array.isArray(d)) {
7808
- const b = d.reduce((U, T) => U.find((Z) => Z._id === T._id) ? U : U.concat([T]), []);
7811
+ const b = d.reduce((U, T) => U.find((W) => W._id === T._id) ? U : U.concat([T]), []);
7809
7812
  xA(b);
7810
7813
  }
7811
7814
  } else ue || xA([]);
7812
7815
  }, [Ne, ue]), kA(() => {
7813
- j(Fe || null);
7816
+ z(Fe || null);
7814
7817
  }, [Fe]), kA(() => {
7815
- J && X.length === 0 && !ue && iA(!1);
7816
- }, [J, X.length, ue]), kA(() => {
7818
+ Y && X.length === 0 && !ue && iA(!1);
7819
+ }, [Y, X.length, ue]), kA(() => {
7817
7820
  wt();
7818
7821
  const d = new MutationObserver(() => wt()), b = new ResizeObserver(() => wt()), U = () => wt();
7819
7822
  return d.observe(document.documentElement, {
@@ -7823,7 +7826,7 @@ const qw = (t) => {
7823
7826
  }), b.observe(document.documentElement), window.addEventListener("scroll", U, !0), () => {
7824
7827
  d.disconnect(), b.disconnect(), window.removeEventListener("scroll", U, !0), $e.current && cancelAnimationFrame($e.current);
7825
7828
  };
7826
- }, [c, X, wt, J, v, a]);
7829
+ }, [c, X, wt, Y, v, a]);
7827
7830
  const ts = Ie((d) => {
7828
7831
  let b = d;
7829
7832
  for (; b && b !== document.body; ) {
@@ -7869,13 +7872,13 @@ const qw = (t) => {
7869
7872
  if (!(!b || jt.current?.contains(b) || b.closest(".vg-no-capture")) && w) {
7870
7873
  d.preventDefault(), d.stopPropagation(), dA(!0);
7871
7874
  try {
7872
- const U = w.element, T = U.getBoundingClientRect(), M = ts(U) || document.body, Z = M.getBoundingClientRect(), $ = await Ta(M, {
7875
+ const U = w.element, T = U.getBoundingClientRect(), M = ts(U) || document.body, W = M.getBoundingClientRect(), $ = await Ta(M, {
7873
7876
  scale: 2,
7874
7877
  useCORS: !0,
7875
7878
  logging: !1,
7876
7879
  backgroundColor: "#ffffff",
7877
7880
  ignoreElements: (bA) => jt.current?.contains(bA) || bA.id === "viewgate-shadow-host"
7878
- }), S = document.createElement("canvas"), UA = S.getContext("2d"), OA = T.left - Z.left, AA = T.top - Z.top;
7881
+ }), S = document.createElement("canvas"), UA = S.getContext("2d"), OA = T.left - W.left, AA = T.top - W.top;
7879
7882
  S.width = T.width * 2, S.height = T.height * 2, UA ? (UA.drawImage(
7880
7883
  $,
7881
7884
  OA * 2,
@@ -7908,7 +7911,7 @@ const qw = (t) => {
7908
7911
  kA(() => {
7909
7912
  const d = (b) => {
7910
7913
  if (b.key === "Escape") {
7911
- y ? F(null) : J ? iA(!1) : c && B(!1);
7914
+ y ? F(null) : Y ? iA(!1) : c && B(!1);
7912
7915
  return;
7913
7916
  }
7914
7917
  const T = (() => {
@@ -7918,20 +7921,20 @@ const qw = (t) => {
7918
7921
  return $;
7919
7922
  })();
7920
7923
  if (["input", "textarea"].includes((T?.tagName || "").toLowerCase()) || T?.isContentEditable) return;
7921
- const Z = b.key.toLowerCase();
7922
- if (Z === "c" && !y && !J) {
7924
+ const W = b.key.toLowerCase();
7925
+ if (W === "c" && !y && !Y) {
7923
7926
  if (!(HA && HA.status !== "closed") && !i && !c) {
7924
7927
  t(A === "es" ? "No hay un sprint activo. No se pueden generar comentarios." : "No active sprint found. Cannot generate comments.", "error");
7925
7928
  return;
7926
7929
  }
7927
7930
  B((S) => !S);
7928
7931
  }
7929
- Z === "v" && !y && (X.length > 0 || J) && (iA(($) => !$), J || B(!1));
7932
+ W === "v" && !y && (X.length > 0 || Y) && (iA(($) => !$), Y || B(!1));
7930
7933
  };
7931
7934
  return c && !y ? document.body.classList.add("vg-cursor-pointer") : document.body.classList.remove("vg-cursor-pointer"), window.addEventListener("keydown", d), window.addEventListener("mousemove", rs, !0), window.addEventListener("click", ss, !0), () => {
7932
7935
  document.body.classList.remove("vg-cursor-pointer"), window.removeEventListener("keydown", d), window.removeEventListener("mousemove", rs, !0), window.removeEventListener("click", ss, !0);
7933
7936
  };
7934
- }, [c, y, J, X, rs, ss]);
7937
+ }, [c, y, Y, X, rs, ss]);
7935
7938
  const Na = async () => {
7936
7939
  if (!y || !K.trim()) return;
7937
7940
  L(!0);
@@ -7965,19 +7968,19 @@ const qw = (t) => {
7965
7968
  })
7966
7969
  });
7967
7970
  if (!M.ok) {
7968
- const Z = await M.json().catch(() => ({}));
7969
- throw new Error(Z.error || "Backend failed");
7971
+ const W = await M.json().catch(() => ({}));
7972
+ throw new Error(W.message || W.error || "Backend failed");
7970
7973
  }
7971
7974
  t(e.success, "success"), F(null), _(""), B(!1), XA();
7972
7975
  } catch (M) {
7973
7976
  console.error(M);
7974
- const Z = M.message && M.message !== "Backend failed" ? M.message : e.error;
7975
- t(Z, "error");
7977
+ const W = M.message && M.message !== "Backend failed" ? M.message : e.error;
7978
+ t(W, "error");
7976
7979
  } finally {
7977
7980
  L(!1);
7978
7981
  }
7979
7982
  };
7980
- return /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1522", className: "vg-container", children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1523", className: "vg-no-capture", children: [
7983
+ return /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1525", className: "vg-container", children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1526", className: "vg-no-capture", children: [
7981
7984
  !o && /* @__PURE__ */ g.jsxs(
7982
7985
  "div",
7983
7986
  {
@@ -8019,7 +8022,7 @@ const qw = (t) => {
8019
8022
  onMouseLeave: (d) => {
8020
8023
  d.currentTarget.style.backgroundColor = "rgba(255, 255, 255, 0.85)", d.currentTarget.style.color = "#1e293b";
8021
8024
  },
8022
- children: /* @__PURE__ */ g.jsx(Ao, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1567", size: 14 })
8025
+ children: /* @__PURE__ */ g.jsx(Ao, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1570", size: 14 })
8023
8026
  }
8024
8027
  ),
8025
8028
  /* @__PURE__ */ g.jsx(
@@ -8055,7 +8058,7 @@ const qw = (t) => {
8055
8058
  onMouseLeave: (d) => {
8056
8059
  d.currentTarget.style.transform = "scale(1) rotate(0deg)", d.currentTarget.style.color = "#64748b", d.currentTarget.style.backgroundColor = "rgba(255, 255, 255, 0.9)";
8057
8060
  },
8058
- children: /* @__PURE__ */ g.jsx(fs, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1607", size: 20, strokeWidth: 2.5 })
8061
+ children: /* @__PURE__ */ g.jsx(fs, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1610", size: 20, strokeWidth: 2.5 })
8059
8062
  }
8060
8063
  )
8061
8064
  ]
@@ -8104,10 +8107,10 @@ const qw = (t) => {
8104
8107
  d.currentTarget.style.backgroundColor = "rgba(255, 255, 255, 0.85)", d.currentTarget.style.color = "#1e293b";
8105
8108
  },
8106
8109
  className: "vg-animate-slide-up",
8107
- children: /* @__PURE__ */ g.jsx(Ao, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1656", size: 16 })
8110
+ children: /* @__PURE__ */ g.jsx(Ao, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1659", size: 16 })
8108
8111
  }
8109
8112
  ),
8110
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1659", className: "vg-action-bar vg-animate-slide-up", style: { transition: "all 0.4s cubic-bezier(0.4, 0, 0.2, 1)" }, children: [
8113
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1662", className: "vg-action-bar vg-animate-slide-up", style: { transition: "all 0.4s cubic-bezier(0.4, 0, 0.2, 1)" }, children: [
8111
8114
  /* @__PURE__ */ g.jsx(
8112
8115
  "button",
8113
8116
  {
@@ -8126,9 +8129,9 @@ const qw = (t) => {
8126
8129
  opacity: !HA && !i && !c ? 0.7 : 1
8127
8130
  },
8128
8131
  title: !HA && !i && !c ? A === "es" ? "Requiere sprint activo" : "Requires active sprint" : "",
8129
- children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1677", style: { display: "flex", alignItems: "center", gap: "10px" }, children: [
8130
- c ? /* @__PURE__ */ g.jsx(fs, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1678", size: 20, className: "vg-animate-pop" }) : /* @__PURE__ */ g.jsx(Ar, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1678", size: 20, className: "vg-animate-pop" }),
8131
- /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1679", children: c ? e.exitMode : e.enterMode })
8132
+ children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1680", style: { display: "flex", alignItems: "center", gap: "10px" }, children: [
8133
+ c ? /* @__PURE__ */ g.jsx(fs, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1681", size: 20, className: "vg-animate-pop" }) : /* @__PURE__ */ g.jsx(Ar, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1681", size: 20, className: "vg-animate-pop" }),
8134
+ /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1682", children: c ? e.exitMode : e.enterMode })
8132
8135
  ] })
8133
8136
  }
8134
8137
  ),
@@ -8136,13 +8139,13 @@ const qw = (t) => {
8136
8139
  "button",
8137
8140
  {
8138
8141
  onClick: () => {
8139
- iA(!J), B(!1), F(null);
8142
+ iA(!Y), B(!1), F(null);
8140
8143
  },
8141
8144
  className: "vg-button-ghost vg-animate-pop",
8142
8145
  style: { animationDelay: "0.1s" },
8143
8146
  children: [
8144
- /* @__PURE__ */ g.jsx(Gc, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1692", size: 20 }),
8145
- /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1693", children: e.viewComments })
8147
+ /* @__PURE__ */ g.jsx(Gc, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1695", size: 20 }),
8148
+ /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1696", children: e.viewComments })
8146
8149
  ]
8147
8150
  }
8148
8151
  )
@@ -8150,7 +8153,7 @@ const qw = (t) => {
8150
8153
  ]
8151
8154
  }
8152
8155
  ),
8153
- pA && /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1701", style: {
8156
+ pA && /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1704", style: {
8154
8157
  position: "fixed",
8155
8158
  top: 0,
8156
8159
  left: 0,
@@ -8163,9 +8166,9 @@ const qw = (t) => {
8163
8166
  justifyContent: "center",
8164
8167
  zIndex: Ms + 1,
8165
8168
  cursor: "wait"
8166
- }, children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1707", className: "vg-glassmorphism", style: { padding: "30px 50px", display: "flex", flexDirection: "column", alignItems: "center", gap: "16px" }, children: [
8167
- /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1708", className: "vg-spinner" }),
8168
- /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1709", style: { fontWeight: 600, fontSize: "14px", color: "#000000" }, children: "Capturando..." })
8169
+ }, children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1710", className: "vg-glassmorphism", style: { padding: "30px 50px", display: "flex", flexDirection: "column", alignItems: "center", gap: "16px" }, children: [
8170
+ /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1711", className: "vg-spinner" }),
8171
+ /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1712", style: { fontWeight: 600, fontSize: "14px", color: "#000000" }, children: "Capturando..." })
8169
8172
  ] }) }),
8170
8173
  c && !y && /* @__PURE__ */ g.jsx(
8171
8174
  "div",
@@ -8205,10 +8208,10 @@ const qw = (t) => {
8205
8208
  ...w.rect.left + 200 > window.innerWidth ? { left: "auto", right: "0" } : { left: "0", right: "auto" }
8206
8209
  },
8207
8210
  children: [
8208
- /* @__PURE__ */ g.jsx(jc, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1761", size: 16 }),
8209
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1762", style: { display: "flex", flexDirection: "column" }, children: [
8210
- /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1763", style: { fontWeight: 700 }, children: e.selectToComment }),
8211
- /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1764", style: { fontSize: "10px", opacity: 0.8, fontFamily: "monospace" }, children: [
8211
+ /* @__PURE__ */ g.jsx(jc, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1764", size: 16 }),
8212
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1765", style: { display: "flex", flexDirection: "column" }, children: [
8213
+ /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1766", style: { fontWeight: 700 }, children: e.selectToComment }),
8214
+ /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1767", style: { fontSize: "10px", opacity: 0.8, fontFamily: "monospace" }, children: [
8212
8215
  Math.round(w.rect.width),
8213
8216
  " × ",
8214
8217
  Math.round(w.rect.height)
@@ -8219,7 +8222,7 @@ const qw = (t) => {
8219
8222
  )
8220
8223
  }
8221
8224
  ),
8222
- y && /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1774", className: "vg-animate-fade", style: {
8225
+ y && /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1777", className: "vg-animate-fade", style: {
8223
8226
  position: "fixed",
8224
8227
  top: 0,
8225
8228
  left: 0,
@@ -8231,13 +8234,13 @@ const qw = (t) => {
8231
8234
  alignItems: "center",
8232
8235
  justifyContent: "center",
8233
8236
  zIndex: Ns
8234
- }, children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1779", className: "vg-glassmorphism vg-animate-slide", style: {
8237
+ }, children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1782", className: "vg-glassmorphism vg-animate-slide", style: {
8235
8238
  padding: "40px",
8236
8239
  width: "500px",
8237
8240
  boxShadow: "0 25px 50px -12px rgba(0, 0, 0, 0.25)"
8238
8241
  }, children: [
8239
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1783", style: { textAlign: "center", marginBottom: "32px" }, children: [
8240
- /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1784", style: {
8242
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1786", style: { textAlign: "center", marginBottom: "32px" }, children: [
8243
+ /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1787", style: {
8241
8244
  width: "48px",
8242
8245
  height: "48px",
8243
8246
  background: "var(--vg-primary-gradient)",
@@ -8248,11 +8251,11 @@ const qw = (t) => {
8248
8251
  margin: "0 auto 16px",
8249
8252
  color: "white",
8250
8253
  boxShadow: "0 8px 16px rgba(99, 102, 241, 0.3)"
8251
- }, children: /* @__PURE__ */ g.jsx(Ar, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1789", size: 24 }) }),
8252
- /* @__PURE__ */ g.jsx("h2", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1791", style: { margin: "0 0 8px 0", fontSize: "24px", fontWeight: 800, color: "#0f172a" }, children: e.feedbackHeader }),
8253
- /* @__PURE__ */ g.jsx("p", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1792", style: { margin: 0, color: "#000000", fontSize: "15px" }, children: e.feedbackSubheader })
8254
+ }, children: /* @__PURE__ */ g.jsx(Ar, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1792", size: 24 }) }),
8255
+ /* @__PURE__ */ g.jsx("h2", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1794", style: { margin: "0 0 8px 0", fontSize: "24px", fontWeight: 800, color: "#0f172a" }, children: e.feedbackHeader }),
8256
+ /* @__PURE__ */ g.jsx("p", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1795", style: { margin: 0, color: "#000000", fontSize: "15px" }, children: e.feedbackSubheader })
8254
8257
  ] }),
8255
- y.visualPreview && /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1796", style: {
8258
+ y.visualPreview && /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1799", style: {
8256
8259
  marginBottom: "24px",
8257
8260
  borderRadius: "8px",
8258
8261
  overflow: "hidden",
@@ -8279,9 +8282,9 @@ const qw = (t) => {
8279
8282
  style: { fontSize: "15px", padding: "16px", marginBottom: "24px" }
8280
8283
  }
8281
8284
  ),
8282
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1823", style: { marginBottom: "24px" }, children: [
8283
- /* @__PURE__ */ g.jsx("label", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1824", style: { fontSize: "12px", fontWeight: 700, color: "#64748b", marginBottom: "8px", display: "block" }, children: e.priority }),
8284
- /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1827", style: { display: "flex", gap: "8px" }, children: ["low", "medium", "high", "urgent"].map((d) => /* @__PURE__ */ g.jsx(
8285
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1826", style: { marginBottom: "24px" }, children: [
8286
+ /* @__PURE__ */ g.jsx("label", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1827", style: { fontSize: "12px", fontWeight: 700, color: "#64748b", marginBottom: "8px", display: "block" }, children: e.priority }),
8287
+ /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1830", style: { display: "flex", gap: "8px" }, children: ["low", "medium", "high", "urgent"].map((d) => /* @__PURE__ */ g.jsx(
8285
8288
  "button",
8286
8289
  {
8287
8290
  onClick: () => u(d),
@@ -8304,7 +8307,7 @@ const qw = (t) => {
8304
8307
  d
8305
8308
  )) })
8306
8309
  ] }),
8307
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1853", style: { display: "flex", gap: "12px" }, children: [
8310
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1856", style: { display: "flex", gap: "12px" }, children: [
8308
8311
  /* @__PURE__ */ g.jsx(
8309
8312
  "button",
8310
8313
  {
@@ -8322,15 +8325,15 @@ const qw = (t) => {
8322
8325
  className: "vg-button-primary",
8323
8326
  disabled: P || !K.trim(),
8324
8327
  style: { flex: 2 },
8325
- children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1868", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
8326
- P ? /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1869", className: "vg-spinner", style: { width: "16px", height: "16px", borderWidth: "2px" } }) : /* @__PURE__ */ g.jsx(to, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1869", size: 18 }),
8327
- /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1870", children: P ? e.submitting : e.sendFeedback || "Send Comment" })
8328
+ children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1871", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
8329
+ P ? /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1872", className: "vg-spinner", style: { width: "16px", height: "16px", borderWidth: "2px" } }) : /* @__PURE__ */ g.jsx(to, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1872", size: 18 }),
8330
+ /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1873", children: P ? e.submitting : e.sendFeedback || "Send Comment" })
8328
8331
  ] })
8329
8332
  }
8330
8333
  )
8331
8334
  ] })
8332
8335
  ] }) }),
8333
- J && /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1880", className: "vg-animate-fade", style: {
8336
+ Y && /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1883", className: "vg-animate-fade", style: {
8334
8337
  position: "fixed",
8335
8338
  top: 0,
8336
8339
  left: 0,
@@ -8342,7 +8345,7 @@ const qw = (t) => {
8342
8345
  alignItems: "center",
8343
8346
  justifyContent: "center",
8344
8347
  zIndex: Ns
8345
- }, children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1886", className: "vg-glassmorphism vg-animate-slide", style: {
8348
+ }, children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1889", className: "vg-glassmorphism vg-animate-slide", style: {
8346
8349
  padding: "32px",
8347
8350
  width: "650px",
8348
8351
  maxHeight: "80vh",
@@ -8350,9 +8353,9 @@ const qw = (t) => {
8350
8353
  flexDirection: "column",
8351
8354
  transition: "all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"
8352
8355
  }, children: [
8353
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1891", style: { display: "flex", flexDirection: "column", gap: "16px", marginBottom: "24px" }, children: [
8354
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1892", style: { display: "flex", alignItems: "center", justifyContent: "space-between" }, children: [
8355
- /* @__PURE__ */ g.jsx("h2", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1893", style: { margin: 0, fontSize: "20px", fontWeight: 800, color: "#0f172a", whiteSpace: "nowrap" }, children: v ? e.commentDetails : e.annotations }),
8356
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1894", style: { display: "flex", flexDirection: "column", gap: "16px", marginBottom: "24px" }, children: [
8357
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1895", style: { display: "flex", alignItems: "center", justifyContent: "space-between" }, children: [
8358
+ /* @__PURE__ */ g.jsx("h2", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1896", style: { margin: 0, fontSize: "20px", fontWeight: 800, color: "#0f172a", whiteSpace: "nowrap" }, children: v ? e.commentDetails : e.annotations }),
8356
8359
  /* @__PURE__ */ g.jsx(
8357
8360
  "button",
8358
8361
  {
@@ -8361,25 +8364,25 @@ const qw = (t) => {
8361
8364
  onClick: () => {
8362
8365
  iA(!1), V(null), eA(null), x("all");
8363
8366
  },
8364
- children: /* @__PURE__ */ g.jsx(fs, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1901", size: 20 })
8367
+ children: /* @__PURE__ */ g.jsx(fs, { "data-source-path": "/src/components/ViewGateOverlay.tsx:1904", size: 20 })
8365
8368
  }
8366
8369
  )
8367
8370
  ] }),
8368
- /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1904", style: { display: "flex", flexDirection: "column", gap: "8px", alignItems: "center", width: "100%" }, children: (() => {
8369
- const d = Array.isArray(X) ? X : [], b = v ? CA.find((S) => S.annotations?.some((UA) => UA._id === v)) : null, T = (b ? b.annotations : d).filter((S) => S.status !== "completed" && S.status !== "done"), M = T.filter((S) => S.status !== "ready_for_review").length, Z = T.filter((S) => S.status === "ready_for_review").length, $ = T.length;
8370
- return $ <= 0 ? $ === 0 ? null : /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1918", style: { display: "flex", gap: "8px", opacity: 0.9 }, children: [
8371
- M > 0 && /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1920", className: "vg-badge", style: { background: "#fff7ed", color: "#c2410c", border: "1px solid #ffedd5", fontSize: "11px", padding: "2px 8px" }, children: [
8371
+ /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1907", style: { display: "flex", flexDirection: "column", gap: "8px", alignItems: "center", width: "100%" }, children: (() => {
8372
+ const d = Array.isArray(X) ? X : [], b = v ? CA.find((S) => S.annotations?.some((UA) => UA._id === v)) : null, T = (b ? b.annotations : d).filter((S) => S.status !== "completed" && S.status !== "done"), M = T.filter((S) => S.status !== "ready_for_review").length, W = T.filter((S) => S.status === "ready_for_review").length, $ = T.length;
8373
+ return $ <= 0 ? $ === 0 ? null : /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1921", style: { display: "flex", gap: "8px", opacity: 0.9 }, children: [
8374
+ M > 0 && /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1923", className: "vg-badge", style: { background: "#fff7ed", color: "#c2410c", border: "1px solid #ffedd5", fontSize: "11px", padding: "2px 8px" }, children: [
8372
8375
  M,
8373
8376
  " ",
8374
8377
  M === 1 ? "pendiente" : "pendientes"
8375
8378
  ] }),
8376
- Z > 0 && /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1925", className: "vg-badge", style: { background: "#f3e8ff", color: "#a855f7", border: "1px solid #e9d5ff", fontSize: "11px", padding: "2px 8px" }, children: [
8377
- Z,
8379
+ W > 0 && /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1928", className: "vg-badge", style: { background: "#f3e8ff", color: "#a855f7", border: "1px solid #e9d5ff", fontSize: "11px", padding: "2px 8px" }, children: [
8380
+ W,
8378
8381
  " ",
8379
- A === "es" ? Z === 1 ? "Listo para revisión" : "Listos para revisión" : "ready for review"
8382
+ A === "es" ? W === 1 ? "Listo para revisión" : "Listos para revisión" : "ready for review"
8380
8383
  ] })
8381
8384
  ] }) : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
8382
- !i && /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1936", className: "vg-segmented-control", style: { marginBottom: "4px" }, children: [
8385
+ !i && /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1939", className: "vg-segmented-control", style: { marginBottom: "4px" }, children: [
8383
8386
  /* @__PURE__ */ g.jsx(
8384
8387
  "div",
8385
8388
  {
@@ -8426,13 +8429,13 @@ const qw = (t) => {
8426
8429
  children: [
8427
8430
  A === "es" ? "Listo para revisión" : "Ready for Review",
8428
8431
  " (",
8429
- Z,
8432
+ W,
8430
8433
  ")"
8431
8434
  ]
8432
8435
  }
8433
8436
  )
8434
8437
  ] }),
8435
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1967", style: { display: "flex", gap: "6px", justifyContent: "center", flexWrap: "wrap", marginTop: i ? "0" : "4px" }, children: [
8438
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:1970", style: { display: "flex", gap: "6px", justifyContent: "center", flexWrap: "wrap", marginTop: i ? "0" : "4px" }, children: [
8436
8439
  /* @__PURE__ */ g.jsxs(
8437
8440
  "button",
8438
8441
  {
@@ -8495,7 +8498,7 @@ const qw = (t) => {
8495
8498
  {
8496
8499
  style: { flex: 1, overflowY: "auto", paddingRight: "10px", overflowX: "hidden" },
8497
8500
  className: "vg-custom-scrollbar",
8498
- children: ue ? /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2033", style: { display: "flex", justifyContent: "center", padding: "40px" }, children: /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2034", className: "vg-spinner" }) }) : nA.map((d, b) => /* @__PURE__ */ g.jsxs(
8501
+ children: ue ? /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2036", style: { display: "flex", justifyContent: "center", padding: "40px" }, children: /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2037", className: "vg-spinner" }) }) : nA.map((d, b) => /* @__PURE__ */ g.jsxs(
8499
8502
  "div",
8500
8503
  {
8501
8504
  className: "vg-glassmorphism vg-animate-slide",
@@ -8507,13 +8510,13 @@ const qw = (t) => {
8507
8510
  animationDelay: `${b * 0.05}s`
8508
8511
  },
8509
8512
  children: [
8510
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2049", style: { display: "flex", justifyContent: "space-between", marginBottom: "16px", alignItems: "center" }, children: [
8511
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2050", style: { display: "flex", gap: "12px", alignItems: "center" }, children: [
8512
- /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2051", style: { fontSize: "12px", color: "#000000", fontWeight: 600 }, children: ci(d.timestamp || d.createdAt || d.reference?.timestamp, A) }),
8513
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2052", style: { display: "flex", justifyContent: "space-between", marginBottom: "16px", alignItems: "center" }, children: [
8514
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2053", style: { display: "flex", gap: "12px", alignItems: "center" }, children: [
8515
+ /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2054", style: { fontSize: "12px", color: "#000000", fontWeight: 600 }, children: ci(d.timestamp || d.createdAt || d.reference?.timestamp, A) }),
8513
8516
  /* @__PURE__ */ g.jsx(
8514
8517
  "div",
8515
8518
  {
8516
- "data-source-path": "/src/components/ViewGateOverlay.tsx:2054",
8519
+ "data-source-path": "/src/components/ViewGateOverlay.tsx:2057",
8517
8520
  onClick: (U) => {
8518
8521
  U.stopPropagation();
8519
8522
  const T = d.key || `VG-${d._id.slice(-6).toUpperCase()}`;
@@ -8538,7 +8541,7 @@ const qw = (t) => {
8538
8541
  children: d.key || `VG-${d._id.slice(-6).toUpperCase()}`
8539
8542
  }
8540
8543
  ),
8541
- d.reference?.metadata?.isModal && /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2083", className: "vg-badge", style: {
8544
+ d.reference?.metadata?.isModal && /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2086", className: "vg-badge", style: {
8542
8545
  fontSize: "10px",
8543
8546
  background: i ? "#f1f5f9" : d.status === "completed" || d.status === "done" ? "#ecfdf5" : d.status === "ready_for_review" ? "#f3e8ff" : "#fef3c7",
8544
8547
  color: i ? "#64748b" : d.status === "completed" || d.status === "done" ? "#059669" : d.status === "ready_for_review" ? "#a855f7" : "#92400e",
@@ -8565,24 +8568,24 @@ const qw = (t) => {
8565
8568
  }
8566
8569
  )
8567
8570
  ] }),
8568
- d.status === "completed" ? /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2111", className: "vg-badge", style: { backgroundColor: "#ecfdf5", color: "#059669", border: "1px solid #d1fae5" }, children: [
8569
- /* @__PURE__ */ g.jsx(Ee, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2112", size: 14 }),
8571
+ d.status === "completed" ? /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2114", className: "vg-badge", style: { backgroundColor: "#ecfdf5", color: "#059669", border: "1px solid #d1fae5" }, children: [
8572
+ /* @__PURE__ */ g.jsx(Ee, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2115", size: 14 }),
8570
8573
  " ",
8571
8574
  e.completed || (A === "es" ? "Listo para revisión" : "Ready for Review")
8572
- ] }) : d.status === "ready_for_review" ? /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2115", className: "vg-badge", style: { backgroundColor: "#f3e8ff", color: "#a855f7", border: "1px solid #e9d5ff" }, children: [
8573
- /* @__PURE__ */ g.jsx(Ee, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2116", size: 14 }),
8575
+ ] }) : d.status === "ready_for_review" ? /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2118", className: "vg-badge", style: { backgroundColor: "#f3e8ff", color: "#a855f7", border: "1px solid #e9d5ff" }, children: [
8576
+ /* @__PURE__ */ g.jsx(Ee, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2119", size: 14 }),
8574
8577
  " ",
8575
8578
  e.readyForReview
8576
- ] }) : d.status === "bug_fixing" ? /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2119", className: "vg-badge", style: { backgroundColor: "#fff1f2", color: "#e11d48", border: "1px solid #ffe4e6" }, children: [
8577
- /* @__PURE__ */ g.jsx(us, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2120", size: 14 }),
8579
+ ] }) : d.status === "bug_fixing" ? /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2122", className: "vg-badge", style: { backgroundColor: "#fff1f2", color: "#e11d48", border: "1px solid #ffe4e6" }, children: [
8580
+ /* @__PURE__ */ g.jsx(us, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2123", size: 14 }),
8578
8581
  " ",
8579
8582
  "Bug Fixing"
8580
- ] }) : /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2123", className: "vg-badge", style: {
8583
+ ] }) : /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2126", className: "vg-badge", style: {
8581
8584
  backgroundColor: i || d.status === "backlog" ? "#f1f5f9" : "#fff7ed",
8582
8585
  color: i || d.status === "backlog" ? "#64748b" : "#ea580c",
8583
8586
  border: i || d.status === "backlog" ? "1px solid #e2e8f0" : "1px solid #ffedd5"
8584
8587
  }, children: [
8585
- /* @__PURE__ */ g.jsx($n, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2128", size: 14 }),
8588
+ /* @__PURE__ */ g.jsx($n, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2131", size: 14 }),
8586
8589
  i || d.status === "backlog" ? e.backlog : e.pending
8587
8590
  ] })
8588
8591
  ] }),
@@ -8596,8 +8599,8 @@ const qw = (t) => {
8596
8599
  autoFocus: !0,
8597
8600
  style: { marginBottom: "16px" }
8598
8601
  }
8599
- ) : /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2144", style: { marginBottom: "20px" }, children: [
8600
- /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2145", style: { display: "flex", alignItems: "center", gap: "8px", marginBottom: "8px" }, children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2146", style: {
8602
+ ) : /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2147", style: { marginBottom: "20px" }, children: [
8603
+ /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2148", style: { display: "flex", alignItems: "center", gap: "8px", marginBottom: "8px" }, children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2149", style: {
8601
8604
  fontSize: "10px",
8602
8605
  fontWeight: 800,
8603
8606
  color: d.priority === "low" ? "#059669" : d.priority === "urgent" ? "#b91c1c" : d.priority === "high" ? "#b45309" : "#4338ca",
@@ -8612,10 +8615,10 @@ const qw = (t) => {
8612
8615
  ": ",
8613
8616
  e[d.priority || "medium"]
8614
8617
  ] }) }),
8615
- /* @__PURE__ */ g.jsx("p", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2160", className: "vg-text-wrap", style: { margin: "0", fontSize: "16px", color: "#1e293b", lineHeight: 1.6 }, children: d.message })
8618
+ /* @__PURE__ */ g.jsx("p", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2163", className: "vg-text-wrap", style: { margin: "0", fontSize: "16px", color: "#1e293b", lineHeight: 1.6 }, children: d.message })
8616
8619
  ] }),
8617
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2164", style: { display: "flex", justifyContent: "flex-end", alignItems: "center", gap: "12px", borderTop: "1px solid #f1f5f9", paddingTop: "16px" }, children: [
8618
- /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2166", style: { display: "flex", gap: "6px" }, children: As !== d._id && /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
8620
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2167", style: { display: "flex", justifyContent: "flex-end", alignItems: "center", gap: "12px", borderTop: "1px solid #f1f5f9", paddingTop: "16px" }, children: [
8621
+ /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2169", style: { display: "flex", gap: "6px" }, children: As !== d._id && /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
8619
8622
  /* @__PURE__ */ g.jsx(
8620
8623
  "button",
8621
8624
  {
@@ -8625,7 +8628,7 @@ const qw = (t) => {
8625
8628
  d.url && (window.location.href = d.url);
8626
8629
  },
8627
8630
  title: e.review,
8628
- children: /* @__PURE__ */ g.jsx(qn, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2177", size: 16 })
8631
+ children: /* @__PURE__ */ g.jsx(qn, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2180", size: 16 })
8629
8632
  }
8630
8633
  ),
8631
8634
  /* @__PURE__ */ g.jsx(
@@ -8637,7 +8640,7 @@ const qw = (t) => {
8637
8640
  es(d._id), Tn(d.message), p(d.priority || "medium");
8638
8641
  },
8639
8642
  title: e.edit,
8640
- children: /* @__PURE__ */ g.jsx(Zc, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2189", size: 16 })
8643
+ children: /* @__PURE__ */ g.jsx(Zc, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2192", size: 16 })
8641
8644
  }
8642
8645
  ),
8643
8646
  /* @__PURE__ */ g.jsx(
@@ -8665,11 +8668,11 @@ const qw = (t) => {
8665
8668
  });
8666
8669
  },
8667
8670
  title: A === "es" ? "Eliminar" : "Delete",
8668
- children: /* @__PURE__ */ g.jsx(ro, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2219", size: 16 })
8671
+ children: /* @__PURE__ */ g.jsx(ro, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2222", size: 16 })
8669
8672
  }
8670
8673
  )
8671
8674
  ] }) }),
8672
- /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2226", style: { display: "flex", gap: "8px" }, children: As === d._id ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
8675
+ /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2229", style: { display: "flex", gap: "8px" }, children: As === d._id ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
8673
8676
  /* @__PURE__ */ g.jsx(
8674
8677
  "button",
8675
8678
  {
@@ -8692,7 +8695,7 @@ const qw = (t) => {
8692
8695
  children: e.save
8693
8696
  }
8694
8697
  ),
8695
- /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2255", style: { display: "flex", gap: "4px", marginLeft: "12px" }, children: ["low", "medium", "high", "urgent"].map((U) => /* @__PURE__ */ g.jsx(
8698
+ /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2258", style: { display: "flex", gap: "4px", marginLeft: "12px" }, children: ["low", "medium", "high", "urgent"].map((U) => /* @__PURE__ */ g.jsx(
8696
8699
  "button",
8697
8700
  {
8698
8701
  onClick: () => p(U),
@@ -8713,7 +8716,7 @@ const qw = (t) => {
8713
8716
  },
8714
8717
  U
8715
8718
  )) }),
8716
- /* @__PURE__ */ g.jsx("button", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2278", className: "vg-button-ghost vg-animate-pop", style: { padding: "8px 16px", fontSize: "13px", marginLeft: "auto" }, onClick: () => es(null), children: e.cancel })
8719
+ /* @__PURE__ */ g.jsx("button", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2281", className: "vg-button-ghost vg-animate-pop", style: { padding: "8px 16px", fontSize: "13px", marginLeft: "auto" }, onClick: () => es(null), children: e.cancel })
8717
8720
  ] }) : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
8718
8721
  !i && (d.status === "pending" || !["ready_for_review", "completed", "done"].includes(d.status || "")) && /* @__PURE__ */ g.jsxs(
8719
8722
  "button",
@@ -8741,13 +8744,13 @@ const qw = (t) => {
8741
8744
  });
8742
8745
  },
8743
8746
  children: [
8744
- /* @__PURE__ */ g.jsx(to, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2311", size: 14 }),
8747
+ /* @__PURE__ */ g.jsx(to, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2314", size: 14 }),
8745
8748
  " ",
8746
8749
  e.markReady
8747
8750
  ]
8748
8751
  }
8749
8752
  ),
8750
- !i && d.status === "ready_for_review" && /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2315", style: { display: "flex", gap: "8px" }, children: [
8753
+ !i && d.status === "ready_for_review" && /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2318", style: { display: "flex", gap: "8px" }, children: [
8751
8754
  /* @__PURE__ */ g.jsxs(
8752
8755
  "button",
8753
8756
  {
@@ -8774,7 +8777,7 @@ const qw = (t) => {
8774
8777
  });
8775
8778
  },
8776
8779
  children: [
8777
- /* @__PURE__ */ g.jsx(qc, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2344", size: 14 }),
8780
+ /* @__PURE__ */ g.jsx(qc, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2347", size: 14 }),
8778
8781
  " ",
8779
8782
  e.reopen
8780
8783
  ]
@@ -8806,7 +8809,7 @@ const qw = (t) => {
8806
8809
  });
8807
8810
  },
8808
8811
  children: [
8809
- /* @__PURE__ */ g.jsx(Ee, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2374", size: 14 }),
8812
+ /* @__PURE__ */ g.jsx(Ee, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2377", size: 14 }),
8810
8813
  " ",
8811
8814
  e.completed
8812
8815
  ]
@@ -8823,7 +8826,7 @@ const qw = (t) => {
8823
8826
  v || "all"
8824
8827
  )
8825
8828
  ] }) }),
8826
- uA && /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2393", className: "vg-animate-fade", style: {
8829
+ uA && /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2396", className: "vg-animate-fade", style: {
8827
8830
  position: "fixed",
8828
8831
  top: 0,
8829
8832
  left: 0,
@@ -8835,14 +8838,14 @@ const qw = (t) => {
8835
8838
  alignItems: "center",
8836
8839
  justifyContent: "center",
8837
8840
  zIndex: Ns + 100
8838
- }, children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2398", className: "vg-glassmorphism vg-animate-slide", style: {
8841
+ }, children: /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2401", className: "vg-glassmorphism vg-animate-slide", style: {
8839
8842
  padding: "40px",
8840
8843
  width: "420px",
8841
8844
  textAlign: "center",
8842
8845
  border: "1px solid rgba(255, 255, 255, 0.1)",
8843
8846
  boxShadow: "0 25px 50px -12px rgba(0, 0, 0, 0.5)"
8844
8847
  }, children: [
8845
- /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2405", style: {
8848
+ /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2408", style: {
8846
8849
  width: "64px",
8847
8850
  height: "64px",
8848
8851
  background: uA.type === "danger" ? "rgba(239, 68, 68, 0.1)" : "rgba(99, 102, 241, 0.1)",
@@ -8853,17 +8856,17 @@ const qw = (t) => {
8853
8856
  margin: "0 auto 24px",
8854
8857
  color: uA.type === "danger" ? "#ef4444" : "#6366f1",
8855
8858
  transform: "rotate(-5deg)"
8856
- }, children: uA.type === "danger" ? /* @__PURE__ */ g.jsx(ro, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2414", size: 32 }) : /* @__PURE__ */ g.jsx(Ee, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2414", size: 32 }) }),
8857
- /* @__PURE__ */ g.jsx("h3", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2416", style: { margin: "0 0 12px 0", fontSize: "20px", fontWeight: 800, color: "#000000", letterSpacing: "-0.02em" }, children: uA.title }),
8858
- /* @__PURE__ */ g.jsx("p", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2417", style: { margin: "0 0 32px 0", fontSize: "15px", color: "#000000", lineHeight: 1.6 }, children: uA.message }),
8859
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2418", style: { display: "flex", gap: "16px" }, children: [
8859
+ }, children: uA.type === "danger" ? /* @__PURE__ */ g.jsx(ro, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2417", size: 32 }) : /* @__PURE__ */ g.jsx(Ee, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2417", size: 32 }) }),
8860
+ /* @__PURE__ */ g.jsx("h3", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2419", style: { margin: "0 0 12px 0", fontSize: "20px", fontWeight: 800, color: "#000000", letterSpacing: "-0.02em" }, children: uA.title }),
8861
+ /* @__PURE__ */ g.jsx("p", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2420", style: { margin: "0 0 32px 0", fontSize: "15px", color: "#000000", lineHeight: 1.6 }, children: uA.message }),
8862
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2421", style: { display: "flex", gap: "16px" }, children: [
8860
8863
  /* @__PURE__ */ g.jsx(
8861
8864
  "button",
8862
8865
  {
8863
8866
  className: "vg-button-ghost",
8864
8867
  style: { flex: 1, height: "44px" },
8865
- onClick: () => !Y && yA(null),
8866
- disabled: Y,
8868
+ onClick: () => !j && yA(null),
8869
+ disabled: j,
8867
8870
  children: e.no
8868
8871
  }
8869
8872
  ),
@@ -8881,7 +8884,7 @@ const qw = (t) => {
8881
8884
  justifyContent: "center",
8882
8885
  gap: "8px"
8883
8886
  },
8884
- disabled: Y,
8887
+ disabled: j,
8885
8888
  onClick: async () => {
8886
8889
  $A(!0);
8887
8890
  try {
@@ -8892,13 +8895,13 @@ const qw = (t) => {
8892
8895
  $A(!1);
8893
8896
  }
8894
8897
  },
8895
- children: Y ? /* @__PURE__ */ g.jsx(Wc, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2452", size: 18, className: "vg-animate-spin" }) : e.yes
8898
+ children: j ? /* @__PURE__ */ g.jsx(Wc, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2455", size: 18, className: "vg-animate-spin" }) : e.yes
8896
8899
  }
8897
8900
  )
8898
8901
  ] })
8899
8902
  ] }) }),
8900
- !J && !c && CA.map((d, b) => {
8901
- const { rect: U, annotations: T, isModal: M } = d, Z = T[0], $ = T.length, S = T.some((I) => I.status === "ready_for_review"), UA = T.some((I) => I.status === "completed" || I.status === "done"), OA = T.some((I) => I.status !== "ready_for_review" && I.status !== "completed" && I.status !== "done"), AA = UA && !S && !OA, bA = S && !OA && !UA, ee = (S || UA) && !OA, wA = (S || UA) && OA, RA = T.filter((I) => I.status !== "ready_for_review" && I.status !== "completed" && I.status !== "done").length, KA = T.filter((I) => I.status === "ready_for_review").length, oe = T.filter((I) => I.status === "completed" || I.status === "done").length, JA = T.some((I) => I.status === "bug_fixing"), hA = RA > 0 ? JA ? "#f43f5e" : i ? "#64748b" : "#ea580c" : KA > 0 ? "#a855f7" : "#10b981", me = CA.some((I) => I.element === d.element && I.isTriggerPin), Ga = CA.some((I) => I.element === d.element && !I.isTriggerPin), Kn = me && Ga ? d.isTriggerPin ? -18 : 18 : 0, Dn = U.top === 0 && U.left === 0 && U.width > window.innerWidth * 0.9;
8903
+ !Y && !c && CA.map((d, b) => {
8904
+ const { rect: U, annotations: T, isModal: M } = d, W = T[0], $ = T.length, S = T.some((I) => I.status === "ready_for_review"), UA = T.some((I) => I.status === "completed" || I.status === "done"), OA = T.some((I) => I.status !== "ready_for_review" && I.status !== "completed" && I.status !== "done"), AA = UA && !S && !OA, bA = S && !OA && !UA, ee = (S || UA) && !OA, wA = (S || UA) && OA, RA = T.filter((I) => I.status !== "ready_for_review" && I.status !== "completed" && I.status !== "done").length, KA = T.filter((I) => I.status === "ready_for_review").length, oe = T.filter((I) => I.status === "completed" || I.status === "done").length, JA = T.some((I) => I.status === "bug_fixing"), hA = RA > 0 ? JA ? "#f43f5e" : i ? "#64748b" : "#ea580c" : KA > 0 ? "#a855f7" : "#10b981", me = CA.some((I) => I.element === d.element && I.isTriggerPin), Ga = CA.some((I) => I.element === d.element && !I.isTriggerPin), Kn = me && Ga ? d.isTriggerPin ? -18 : 18 : 0, Dn = U.top === 0 && U.left === 0 && U.width > window.innerWidth * 0.9;
8902
8905
  return /* @__PURE__ */ g.jsxs(
8903
8906
  "div",
8904
8907
  {
@@ -8922,24 +8925,24 @@ const qw = (t) => {
8922
8925
  Ve && Ve.scrollBy({ top: I.deltaY, behavior: "smooth" });
8923
8926
  },
8924
8927
  onClick: () => {
8925
- iA(!0), V(Z._id);
8928
+ iA(!0), V(W._id);
8926
8929
  },
8927
8930
  children: [
8928
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2527", className: `vg-pin-tooltip ${ZA[d.id] || ""} ${Dn || U.left < 160 ? "vg-tooltip-right" : U.left > window.innerWidth - 160 ? "vg-tooltip-left" : ""}`, style: { padding: "16px" }, children: [
8929
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2528", style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: "12px" }, children: [
8930
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2529", style: { display: "flex", alignItems: "center", gap: "8px", flexWrap: "wrap" }, children: [
8931
- d.isTriggerPin ? /* @__PURE__ */ g.jsx(eo, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2531", size: 14, color: hA }) : /* @__PURE__ */ g.jsx(Ar, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2533", size: 14, color: hA }),
8932
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2535", style: { display: "flex", gap: "4px" }, children: [
8933
- RA > 0 && /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2537", className: "vg-badge", style: {
8931
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2530", className: `vg-pin-tooltip ${ZA[d.id] || ""} ${Dn || U.left < 160 ? "vg-tooltip-right" : U.left > window.innerWidth - 160 ? "vg-tooltip-left" : ""}`, style: { padding: "16px" }, children: [
8932
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2531", style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: "12px" }, children: [
8933
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2532", style: { display: "flex", alignItems: "center", gap: "8px", flexWrap: "wrap" }, children: [
8934
+ d.isTriggerPin ? /* @__PURE__ */ g.jsx(eo, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2534", size: 14, color: hA }) : /* @__PURE__ */ g.jsx(Ar, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2536", size: 14, color: hA }),
8935
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2538", style: { display: "flex", gap: "4px" }, children: [
8936
+ RA > 0 && /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2540", className: "vg-badge", style: {
8934
8937
  fontSize: "10px",
8935
8938
  background: i ? "#f1f5f9" : "#fff7ed",
8936
8939
  color: i ? "#64748b" : "#c2410c"
8937
8940
  }, children: [
8938
8941
  RA,
8939
8942
  " ",
8940
- i || Z.status === "backlog" ? "Backlog" : A === "es" ? RA === 1 ? e.pending : "Pendientes" : "pending"
8943
+ i || W.status === "backlog" ? "Backlog" : A === "es" ? RA === 1 ? e.pending : "Pendientes" : "pending"
8941
8944
  ] }),
8942
- KA > 0 && /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2546", style: {
8945
+ KA > 0 && /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2549", style: {
8943
8946
  fontSize: "10px",
8944
8947
  fontWeight: 700,
8945
8948
  color: "#a855f7",
@@ -8951,7 +8954,7 @@ const qw = (t) => {
8951
8954
  " ",
8952
8955
  A === "es" ? KA === 1 ? "Listo para revisión" : "Listos para revisión" : "ready for review"
8953
8956
  ] }),
8954
- oe > 0 && /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2558", style: {
8957
+ oe > 0 && /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2561", style: {
8955
8958
  fontSize: "10px",
8956
8959
  fontWeight: 700,
8957
8960
  color: "#059669",
@@ -8963,7 +8966,7 @@ const qw = (t) => {
8963
8966
  " ",
8964
8967
  A === "es" ? oe === 1 ? "Completado" : "Completados" : "completed"
8965
8968
  ] }),
8966
- T.some((I) => I.status === "bug_fixing") && /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2570", style: {
8969
+ T.some((I) => I.status === "bug_fixing") && /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2573", style: {
8967
8970
  fontSize: "10px",
8968
8971
  fontWeight: 700,
8969
8972
  color: "#e11d48",
@@ -8973,7 +8976,7 @@ const qw = (t) => {
8973
8976
  }, children: "BUG" })
8974
8977
  ] })
8975
8978
  ] }),
8976
- M && /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2584", className: "vg-badge", style: {
8979
+ M && /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2587", className: "vg-badge", style: {
8977
8980
  fontSize: "10px",
8978
8981
  background: i ? "#f1f5f9" : wA ? `linear-gradient(90deg, #ea580c 50%, ${UA ? "#10b981" : "#a855f7"} 50%)` : RA > 0 ? "#fff7ed" : AA ? "#ecfdf5" : "#f3e8ff",
8979
8982
  color: i ? "#64748b" : wA ? "#ffffff" : RA > 0 ? "#c2410c" : AA ? "#059669" : "#a855f7",
@@ -8982,15 +8985,15 @@ const qw = (t) => {
8982
8985
  textShadow: wA && !i ? "0 1px 2px rgba(0,0,0,0.2)" : "none"
8983
8986
  }, children: "MODAL" })
8984
8987
  ] }),
8985
- /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2596", className: "vg-tooltip-scroll", style: { maxHeight: "180px", overflowY: "auto" }, children: T.map((I, Ve) => /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2598", style: {
8988
+ /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2599", className: "vg-tooltip-scroll", style: { maxHeight: "180px", overflowY: "auto" }, children: T.map((I, Ve) => /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2601", style: {
8986
8989
  padding: "10px 0",
8987
8990
  borderTop: Ve === 0 ? "none" : "1px solid #f1f5f9",
8988
8991
  display: "flex",
8989
8992
  gap: "12px",
8990
8993
  alignItems: "flex-start"
8991
8994
  }, children: [
8992
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2605", style: { flex: 1, display: "flex", flexDirection: "column", gap: "4px" }, children: [
8993
- /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2606", style: { fontSize: "10px", fontWeight: 600, color: "#64748b" }, children: ci(I.timestamp || I.createdAt, A) }),
8995
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2608", style: { flex: 1, display: "flex", flexDirection: "column", gap: "4px" }, children: [
8996
+ /* @__PURE__ */ g.jsx("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2609", style: { fontSize: "10px", fontWeight: 600, color: "#64748b" }, children: ci(I.timestamp || I.createdAt, A) }),
8994
8997
  I.url && /* @__PURE__ */ g.jsx(
8995
8998
  li,
8996
8999
  {
@@ -9011,10 +9014,10 @@ const qw = (t) => {
9011
9014
  tooltipStyle: { fontSize: "9px" }
9012
9015
  }
9013
9016
  ),
9014
- /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2628", className: "vg-line-clamp-2", style: { fontSize: "13px", color: "#1e293b", lineHeight: 1.4, fontWeight: 500 }, children: I.message.length > 100 ? I.message.slice(0, 97) + "..." : I.message })
9017
+ /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2631", className: "vg-line-clamp-2", style: { fontSize: "13px", color: "#1e293b", lineHeight: 1.4, fontWeight: 500 }, children: I.message.length > 100 ? I.message.slice(0, 97) + "..." : I.message })
9015
9018
  ] }),
9016
- /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2632", style: { flexShrink: 0, marginTop: "2px", display: "flex", flexDirection: "column", gap: "4px", alignItems: "flex-end" }, children: [
9017
- /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2633", style: {
9019
+ /* @__PURE__ */ g.jsxs("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2635", style: { flexShrink: 0, marginTop: "2px", display: "flex", flexDirection: "column", gap: "4px", alignItems: "flex-end" }, children: [
9020
+ /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2636", style: {
9018
9021
  fontSize: "8px",
9019
9022
  fontWeight: 800,
9020
9023
  color: I.priority === "low" ? "#059669" : I.priority === "urgent" ? "#b91c1c" : I.priority === "high" ? "#b45309" : "#4338ca",
@@ -9025,7 +9028,7 @@ const qw = (t) => {
9025
9028
  border: "1px solid",
9026
9029
  borderColor: I.priority === "low" ? "#d1fae5" : I.priority === "urgent" ? "#fee2e2" : I.priority === "high" ? "#fef3c7" : "#e0e7ff"
9027
9030
  }, children: e[I.priority || "medium"] }),
9028
- I.status === "completed" || I.status === "done" ? /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2647", style: {
9031
+ I.status === "completed" || I.status === "done" ? /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2650", style: {
9029
9032
  display: "flex",
9030
9033
  alignItems: "center",
9031
9034
  gap: "4px",
@@ -9038,9 +9041,9 @@ const qw = (t) => {
9038
9041
  textTransform: "uppercase",
9039
9042
  border: "1px solid #d1fae5"
9040
9043
  }, children: [
9041
- /* @__PURE__ */ g.jsx(Ee, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2660", size: 10 }),
9044
+ /* @__PURE__ */ g.jsx(Ee, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2663", size: 10 }),
9042
9045
  e.completed
9043
- ] }) : I.status === "ready_for_review" ? /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2664", style: {
9046
+ ] }) : I.status === "ready_for_review" ? /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2667", style: {
9044
9047
  display: "flex",
9045
9048
  alignItems: "center",
9046
9049
  gap: "4px",
@@ -9053,9 +9056,9 @@ const qw = (t) => {
9053
9056
  textTransform: "uppercase",
9054
9057
  border: "1px solid #e9d5ff"
9055
9058
  }, children: [
9056
- /* @__PURE__ */ g.jsx(Ee, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2677", size: 10 }),
9059
+ /* @__PURE__ */ g.jsx(Ee, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2680", size: 10 }),
9057
9060
  e.readyForReview
9058
- ] }) : I.status === "bug_fixing" ? /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2681", style: {
9061
+ ] }) : I.status === "bug_fixing" ? /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2684", style: {
9059
9062
  display: "flex",
9060
9063
  alignItems: "center",
9061
9064
  gap: "4px",
@@ -9068,9 +9071,9 @@ const qw = (t) => {
9068
9071
  textTransform: "uppercase",
9069
9072
  border: "1px solid #ffe4e6"
9070
9073
  }, children: [
9071
- /* @__PURE__ */ g.jsx(us, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2694", size: 10 }),
9074
+ /* @__PURE__ */ g.jsx(us, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2697", size: 10 }),
9072
9075
  "Bug Fixing"
9073
- ] }) : /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2698", style: {
9076
+ ] }) : /* @__PURE__ */ g.jsxs("span", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2701", style: {
9074
9077
  display: "flex",
9075
9078
  alignItems: "center",
9076
9079
  gap: "4px",
@@ -9083,7 +9086,7 @@ const qw = (t) => {
9083
9086
  textTransform: "uppercase",
9084
9087
  border: i || I.status === "backlog" ? "1px solid #e2e8f0" : "1px solid #ffedd5"
9085
9088
  }, children: [
9086
- /* @__PURE__ */ g.jsx($n, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2711", size: 10 }),
9089
+ /* @__PURE__ */ g.jsx($n, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2714", size: 10 }),
9087
9090
  i || I.status === "backlog" ? e.backlog : e.pending
9088
9091
  ] })
9089
9092
  ] })
@@ -9092,15 +9095,15 @@ const qw = (t) => {
9092
9095
  /* @__PURE__ */ g.jsxs(
9093
9096
  "div",
9094
9097
  {
9095
- "data-source-path": "/src/components/ViewGateOverlay.tsx:2721",
9098
+ "data-source-path": "/src/components/ViewGateOverlay.tsx:2724",
9096
9099
  className: `vg-formal-pin ${AA ? "completed" : bA || ee ? "ready" : JA ? "bug" : wA ? "mixed" : i ? "backlog" : ""} ${d.isTriggerPin ? "modal-variant" : ""}`,
9097
9100
  style: {
9098
9101
  position: "relative",
9099
9102
  background: JA ? "linear-gradient(135deg, #f43f5e 0%, #e11d48 100%)" : wA ? UA ? "linear-gradient(135deg, #10b981 0%, #059669 100%)" : "linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)" : void 0
9100
9103
  },
9101
9104
  children: [
9102
- bA || AA || ee ? /* @__PURE__ */ g.jsx(Ee, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2728", size: 18 }) : JA ? /* @__PURE__ */ g.jsx(us, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2728", size: 18 }) : d.isTriggerPin ? /* @__PURE__ */ g.jsx(eo, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2728", size: 16 }) : M ? /* @__PURE__ */ g.jsx(qn, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2728", size: 16 }) : /* @__PURE__ */ g.jsx(Ar, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2728", size: 16 }),
9103
- $ > 1 && /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2731", className: "vg-pin-badge vg-animate-pop", children: $ })
9105
+ bA || AA || ee ? /* @__PURE__ */ g.jsx(Ee, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2731", size: 18 }) : JA ? /* @__PURE__ */ g.jsx(us, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2731", size: 18 }) : d.isTriggerPin ? /* @__PURE__ */ g.jsx(eo, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2731", size: 16 }) : M ? /* @__PURE__ */ g.jsx(qn, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2731", size: 16 }) : /* @__PURE__ */ g.jsx(Ar, { "data-source-path": "/src/components/ViewGateOverlay.tsx:2731", size: 16 }),
9106
+ $ > 1 && /* @__PURE__ */ g.jsx("div", { "data-source-path": "/src/components/ViewGateOverlay.tsx:2734", className: "vg-pin-badge vg-animate-pop", children: $ })
9104
9107
  ]
9105
9108
  }
9106
9109
  )