@muonroi/ui-engine-rule-components 0.1.8 → 0.1.10

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.
@@ -2557,7 +2557,7 @@ function Q8() {
2557
2557
  return K.call(_e, Ue, ze++);
2558
2558
  }), Ee;
2559
2559
  }
2560
- function re(F) {
2560
+ function ne(F) {
2561
2561
  if (F._status === -1) {
2562
2562
  var K = F._result;
2563
2563
  K = K(), K.then(function(_e) {
@@ -2614,7 +2614,7 @@ function Q8() {
2614
2614
  }, vn.forwardRef = function(F) {
2615
2615
  return { $$typeof: c, render: F };
2616
2616
  }, vn.isValidElement = pe, vn.lazy = function(F) {
2617
- return { $$typeof: v, _payload: { _status: -1, _result: F }, _init: re };
2617
+ return { $$typeof: v, _payload: { _status: -1, _result: F }, _init: ne };
2618
2618
  }, vn.memo = function(F, K) {
2619
2619
  return { $$typeof: p, type: F, compare: K === void 0 ? null : K };
2620
2620
  }, vn.startTransition = function(F) {
@@ -2716,7 +2716,7 @@ function L8() {
2716
2716
  ReactCurrentOwner: j
2717
2717
  };
2718
2718
  ae.ReactDebugCurrentFrame = U, ae.ReactCurrentActQueue = I;
2719
- function re(N) {
2719
+ function ne(N) {
2720
2720
  {
2721
2721
  for (var te = arguments.length, Oe = new Array(te > 1 ? te - 1 : 0), Ce = 1; Ce < te; Ce++)
2722
2722
  Oe[Ce - 1] = arguments[Ce];
@@ -2828,7 +2828,7 @@ function L8() {
2828
2828
  }, Ue = function(N, te) {
2829
2829
  Object.defineProperty(Ee.prototype, N, {
2830
2830
  get: function() {
2831
- re("%s(...) is deprecated in plain JavaScript React classes. %s", te[0], te[1]);
2831
+ ne("%s(...) is deprecated in plain JavaScript React classes. %s", te[0], te[1]);
2832
2832
  }
2833
2833
  });
2834
2834
  };
@@ -3122,7 +3122,7 @@ function L8() {
3122
3122
  var B = D(N);
3123
3123
  if (typeof B == "function") {
3124
3124
  var X = N;
3125
- B === X.entries && (pn || re("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), pn = !0);
3125
+ B === X.entries && (pn || ne("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), pn = !0);
3126
3126
  for (var be = B.call(X), Ye, je = 0; !(Ye = be.next()).done; )
3127
3127
  Un = Ye.value, Kt = ar + Qn(Un, je++), Vn += Wi(Un, te, Oe, Kt, Xe);
3128
3128
  } else if (Et === "object") {
@@ -3234,7 +3234,7 @@ function L8() {
3234
3234
  return te.displayName;
3235
3235
  },
3236
3236
  set: function(et) {
3237
- Xe || (re("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", et), Xe = !0);
3237
+ Xe || (ne("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", et), Xe = !0);
3238
3238
  }
3239
3239
  }
3240
3240
  }), te.Consumer = Et;
@@ -3334,14 +3334,14 @@ Your code should look like:
3334
3334
  }
3335
3335
  return te;
3336
3336
  }
3337
- var ne;
3338
- ne = Symbol.for("react.module.reference");
3337
+ var re;
3338
+ re = Symbol.for("react.module.reference");
3339
3339
  function Ae(N) {
3340
3340
  return !!(typeof N == "string" || typeof N == "function" || N === s || N === c || Z || N === l || N === y || N === b || le || N === C || pe || oe || W || typeof N == "object" && N !== null && (N.$$typeof === E || N.$$typeof === S || N.$$typeof === f || N.$$typeof === p || N.$$typeof === v || // This needs to include all possible module reference object
3341
3341
  // types supported by any Flight configuration anywhere since
3342
3342
  // we don't know which Flight build this will end up being used
3343
3343
  // with.
3344
- N.$$typeof === ne || N.getModuleId !== void 0));
3344
+ N.$$typeof === re || N.getModuleId !== void 0));
3345
3345
  }
3346
3346
  function Je(N, te) {
3347
3347
  Ae(N) || se("memo: The first argument must be a component. Instead received: %s", N === null ? "null" : typeof N);
@@ -3782,10 +3782,10 @@ Check the top-level render call using <` + Oe + ">.");
3782
3782
  var ho = !1;
3783
3783
  function pl(N) {
3784
3784
  var te = vi.bind(null, N);
3785
- return te.type = N, ho || (ho = !0, re("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(te, "type", {
3785
+ return te.type = N, ho || (ho = !0, ne("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(te, "type", {
3786
3786
  enumerable: !1,
3787
3787
  get: function() {
3788
- return re("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
3788
+ return ne("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
3789
3789
  value: N
3790
3790
  }), N;
3791
3791
  }
@@ -3806,7 +3806,7 @@ Check the top-level render call using <` + Oe + ">.");
3806
3806
  } finally {
3807
3807
  if (L.transition = Oe, Oe === null && Ce._updatedFibers) {
3808
3808
  var Xe = Ce._updatedFibers.size;
3809
- Xe > 10 && re("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."), Ce._updatedFibers.clear();
3809
+ Xe > 10 && ne("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."), Ce._updatedFibers.clear();
3810
3810
  }
3811
3811
  }
3812
3812
  }
@@ -3995,7 +3995,7 @@ function N8() {
3995
3995
  }
3996
3996
  }
3997
3997
  function L(Y) {
3998
- if (C = !1, A(Y), !E) if (t(f) !== null) E = !0, re(I);
3998
+ if (C = !1, A(Y), !E) if (t(f) !== null) E = !0, ne(I);
3999
3999
  else {
4000
4000
  var G = t(p);
4001
4001
  G !== null && se(L, G.startTime - Y);
@@ -4052,7 +4052,7 @@ function N8() {
4052
4052
  } else le = function() {
4053
4053
  R(W, 0);
4054
4054
  };
4055
- function re(Y) {
4055
+ function ne(Y) {
4056
4056
  U = Y, j || (j = !0, le());
4057
4057
  }
4058
4058
  function se(Y, G) {
@@ -4063,7 +4063,7 @@ function N8() {
4063
4063
  n.unstable_IdlePriority = 5, n.unstable_ImmediatePriority = 1, n.unstable_LowPriority = 4, n.unstable_NormalPriority = 3, n.unstable_Profiling = null, n.unstable_UserBlockingPriority = 2, n.unstable_cancelCallback = function(Y) {
4064
4064
  Y.callback = null;
4065
4065
  }, n.unstable_continueExecution = function() {
4066
- E || S || (E = !0, re(I));
4066
+ E || S || (E = !0, ne(I));
4067
4067
  }, n.unstable_forceFrameRate = function(Y) {
4068
4068
  0 > Y || 125 < Y ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : ie = 0 < Y ? Math.floor(1e3 / Y) : 5;
4069
4069
  }, n.unstable_getCurrentPriorityLevel = function() {
@@ -4125,7 +4125,7 @@ function N8() {
4125
4125
  default:
4126
4126
  K = 5e3;
4127
4127
  }
4128
- return K = ue + K, Y = { id: v++, callback: G, priorityLevel: Y, startTime: ue, expirationTime: K, sortIndex: -1 }, ue > F ? (Y.sortIndex = ue, e(p, Y), t(f) === null && Y === t(p) && (C ? ($(ee), ee = -1) : C = !0, se(L, ue - F))) : (Y.sortIndex = K, e(f, Y), E || S || (E = !0, re(I))), Y;
4128
+ return K = ue + K, Y = { id: v++, callback: G, priorityLevel: Y, startTime: ue, expirationTime: K, sortIndex: -1 }, ue > F ? (Y.sortIndex = ue, e(p, Y), t(f) === null && Y === t(p) && (C ? ($(ee), ee = -1) : C = !0, se(L, ue - F))) : (Y.sortIndex = K, e(f, Y), E || S || (E = !0, ne(I))), Y;
4129
4129
  }, n.unstable_shouldYield = oe, n.unstable_wrapCallback = function(Y) {
4130
4130
  var G = b;
4131
4131
  return function() {
@@ -4208,7 +4208,7 @@ function z8() {
4208
4208
  return $.now() - D;
4209
4209
  };
4210
4210
  }
4211
- var A = 1073741823, L = -1, I = 250, j = 5e3, U = 1e4, ee = A, ie = [], pe = [], oe = 1, W = null, le = y, Z = !1, ae = !1, re = !1, se = typeof setTimeout == "function" ? setTimeout : null, Y = typeof clearTimeout == "function" ? clearTimeout : null, G = typeof setImmediate < "u" ? setImmediate : null;
4211
+ var A = 1073741823, L = -1, I = 250, j = 5e3, U = 1e4, ee = A, ie = [], pe = [], oe = 1, W = null, le = y, Z = !1, ae = !1, ne = !1, se = typeof setTimeout == "function" ? setTimeout : null, Y = typeof clearTimeout == "function" ? clearTimeout : null, G = typeof setImmediate < "u" ? setImmediate : null;
4212
4212
  typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
4213
4213
  function ue(We) {
4214
4214
  for (var gt = i(pe); gt !== null; ) {
@@ -4222,7 +4222,7 @@ function z8() {
4222
4222
  }
4223
4223
  }
4224
4224
  function F(We) {
4225
- if (re = !1, ue(We), !ae)
4225
+ if (ne = !1, ue(We), !ae)
4226
4226
  if (i(ie) !== null)
4227
4227
  ae = !0, ln(K);
4228
4228
  else {
@@ -4231,7 +4231,7 @@ function z8() {
4231
4231
  }
4232
4232
  }
4233
4233
  function K(We, gt) {
4234
- ae = !1, re && (re = !1, nr()), Z = !0;
4234
+ ae = !1, ne && (ne = !1, nr()), Z = !0;
4235
4235
  var Vt = le;
4236
4236
  try {
4237
4237
  var hn;
@@ -4342,7 +4342,7 @@ function z8() {
4342
4342
  expirationTime: pr,
4343
4343
  sortIndex: -1
4344
4344
  };
4345
- return zn > hn ? (In.sortIndex = zn, r(pe, In), i(ie) === null && In === i(pe) && (re ? nr() : re = !0, Kn(F, zn - hn))) : (In.sortIndex = pr, r(ie, In), !ae && !Z && (ae = !0, ln(K))), In;
4345
+ return zn > hn ? (In.sortIndex = zn, r(pe, In), i(ie) === null && In === i(pe) && (ne ? nr() : ne = !0, Kn(F, zn - hn))) : (In.sortIndex = pr, r(ie, In), !ae && !Z && (ae = !0, ln(K))), In;
4346
4346
  }
4347
4347
  function $e() {
4348
4348
  }
@@ -4523,7 +4523,7 @@ function j8() {
4523
4523
  var _ = R.hasOwnProperty(d) ? R[d] : null;
4524
4524
  (_ !== null ? _.type !== 0 : x || !(2 < d.length) || d[0] !== "o" && d[0] !== "O" || d[1] !== "n" && d[1] !== "N") && (E(d, g, _, x) && (g = null), x || _ === null ? b(d) && (g === null ? u.removeAttribute(d) : u.setAttribute(d, "" + g)) : _.mustUseProperty ? u[_.propertyName] = g === null ? _.type === 3 ? !1 : "" : g : (d = _.attributeName, x = _.attributeNamespace, g === null ? u.removeAttribute(d) : (_ = _.type, g = _ === 3 || _ === 4 && g === !0 ? "" : "" + g, x ? u.setAttributeNS(x, d, g) : u.setAttribute(d, g))));
4525
4525
  }
4526
- var L = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, I = Symbol.for("react.element"), j = Symbol.for("react.portal"), U = Symbol.for("react.fragment"), ee = Symbol.for("react.strict_mode"), ie = Symbol.for("react.profiler"), pe = Symbol.for("react.provider"), oe = Symbol.for("react.context"), W = Symbol.for("react.forward_ref"), le = Symbol.for("react.suspense"), Z = Symbol.for("react.suspense_list"), ae = Symbol.for("react.memo"), re = Symbol.for("react.lazy"), se = Symbol.for("react.offscreen"), Y = Symbol.iterator;
4526
+ var L = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, I = Symbol.for("react.element"), j = Symbol.for("react.portal"), U = Symbol.for("react.fragment"), ee = Symbol.for("react.strict_mode"), ie = Symbol.for("react.profiler"), pe = Symbol.for("react.provider"), oe = Symbol.for("react.context"), W = Symbol.for("react.forward_ref"), le = Symbol.for("react.suspense"), Z = Symbol.for("react.suspense_list"), ae = Symbol.for("react.memo"), ne = Symbol.for("react.lazy"), se = Symbol.for("react.offscreen"), Y = Symbol.iterator;
4527
4527
  function G(u) {
4528
4528
  return u === null || typeof u != "object" ? null : (u = Y && u[Y] || u["@@iterator"], typeof u == "function" ? u : null);
4529
4529
  }
@@ -4644,7 +4644,7 @@ function j8() {
4644
4644
  return u = u.displayName, u || (u = d.displayName || d.name || "", u = u !== "" ? "ForwardRef(" + u + ")" : "ForwardRef"), u;
4645
4645
  case ae:
4646
4646
  return d = u.displayName || null, d !== null ? d : Ue(u.type) || "Memo";
4647
- case re:
4647
+ case ne:
4648
4648
  d = u._payload, u = u._init;
4649
4649
  try {
4650
4650
  return Ue(u(d));
@@ -5034,7 +5034,7 @@ function j8() {
5034
5034
  this.onError(Ie);
5035
5035
  }
5036
5036
  }
5037
- var Ri = !1, Hr = null, $i = !1, ne = null, Ae = { onError: function(u) {
5037
+ var Ri = !1, Hr = null, $i = !1, re = null, Ae = { onError: function(u) {
5038
5038
  Ri = !0, Hr = u;
5039
5039
  } };
5040
5040
  function Je(u, d, g, x, _, P, z, J, ce) {
@@ -5046,7 +5046,7 @@ function j8() {
5046
5046
  var we = Hr;
5047
5047
  Ri = !1, Hr = null;
5048
5048
  } else throw Error(t(198));
5049
- $i || ($i = !0, ne = we);
5049
+ $i || ($i = !0, re = we);
5050
5050
  }
5051
5051
  }
5052
5052
  function Zt(u) {
@@ -5889,7 +5889,7 @@ function j8() {
5889
5889
  }
5890
5890
  }
5891
5891
  }
5892
- if ($i) throw u = ne, $i = !1, ne = null, u;
5892
+ if ($i) throw u = re, $i = !1, re = null, u;
5893
5893
  }
5894
5894
  function Fn(u, d) {
5895
5895
  var g = d[Tf];
@@ -6460,7 +6460,7 @@ function j8() {
6460
6460
  }
6461
6461
  function ce(me, fe, ye, Be) {
6462
6462
  var Ot = ye.type;
6463
- return Ot === U ? Ie(me, fe, ye.props.children, Be, ye.key) : fe !== null && (fe.elementType === Ot || typeof Ot == "object" && Ot !== null && Ot.$$typeof === re && eb(Ot) === fe.type) ? (Be = _(fe, ye.props), Be.ref = dc(me, fe, ye), Be.return = me, Be) : (Be = sh(ye.type, ye.key, ye.props, null, me.mode, Be), Be.ref = dc(me, fe, ye), Be.return = me, Be);
6463
+ return Ot === U ? Ie(me, fe, ye.props.children, Be, ye.key) : fe !== null && (fe.elementType === Ot || typeof Ot == "object" && Ot !== null && Ot.$$typeof === ne && eb(Ot) === fe.type) ? (Be = _(fe, ye.props), Be.ref = dc(me, fe, ye), Be.return = me, Be) : (Be = sh(ye.type, ye.key, ye.props, null, me.mode, Be), Be.ref = dc(me, fe, ye), Be.return = me, Be);
6464
6464
  }
6465
6465
  function we(me, fe, ye, Be) {
6466
6466
  return fe === null || fe.tag !== 4 || fe.stateNode.containerInfo !== ye.containerInfo || fe.stateNode.implementation !== ye.implementation ? (fe = fm(ye, me.mode, Be), fe.return = me, fe) : (fe = _(fe, ye.children || []), fe.return = me, fe);
@@ -6476,7 +6476,7 @@ function j8() {
6476
6476
  return ye = sh(fe.type, fe.key, fe.props, null, me.mode, ye), ye.ref = dc(me, null, fe), ye.return = me, ye;
6477
6477
  case j:
6478
6478
  return fe = fm(fe, me.mode, ye), fe.return = me, fe;
6479
- case re:
6479
+ case ne:
6480
6480
  var Be = fe._init;
6481
6481
  return Fe(me, Be(fe._payload), ye);
6482
6482
  }
@@ -6494,7 +6494,7 @@ function j8() {
6494
6494
  return ye.key === Ot ? ce(me, fe, ye, Be) : null;
6495
6495
  case j:
6496
6496
  return ye.key === Ot ? we(me, fe, ye, Be) : null;
6497
- case re:
6497
+ case ne:
6498
6498
  return Ot = ye._init, Ne(
6499
6499
  me,
6500
6500
  fe,
@@ -6515,7 +6515,7 @@ function j8() {
6515
6515
  return me = me.get(Be.key === null ? ye : Be.key) || null, ce(fe, me, Be, Ot);
6516
6516
  case j:
6517
6517
  return me = me.get(Be.key === null ? ye : Be.key) || null, we(fe, me, Be, Ot);
6518
- case re:
6518
+ case ne:
6519
6519
  var Dt = Be._init;
6520
6520
  return ut(me, fe, ye, Dt(Be._payload), Ot);
6521
6521
  }
@@ -6582,7 +6582,7 @@ function j8() {
6582
6582
  g(me, Dt.sibling), fe = _(Dt, ye.props.children), fe.return = me, me = fe;
6583
6583
  break e;
6584
6584
  }
6585
- } else if (Dt.elementType === Ot || typeof Ot == "object" && Ot !== null && Ot.$$typeof === re && eb(Ot) === Dt.type) {
6585
+ } else if (Dt.elementType === Ot || typeof Ot == "object" && Ot !== null && Ot.$$typeof === ne && eb(Ot) === Dt.type) {
6586
6586
  g(me, Dt.sibling), fe = _(Dt, ye.props), fe.ref = dc(me, Dt, ye), fe.return = me, me = fe;
6587
6587
  break e;
6588
6588
  }
@@ -6610,7 +6610,7 @@ function j8() {
6610
6610
  fe = fm(ye, me.mode, Be), fe.return = me, me = fe;
6611
6611
  }
6612
6612
  return z(me);
6613
- case re:
6613
+ case ne:
6614
6614
  return Dt = ye._init, jr(me, fe, Dt(ye._payload), Be);
6615
6615
  }
6616
6616
  if (Jt(ye)) return yt(me, fe, ye, Be);
@@ -9303,7 +9303,7 @@ Error generating stack: ` + P.message + `
9303
9303
  case ae:
9304
9304
  z = 14;
9305
9305
  break e;
9306
- case re:
9306
+ case ne:
9307
9307
  z = 16, x = null;
9308
9308
  break e;
9309
9309
  }
@@ -9630,7 +9630,7 @@ function I8() {
9630
9630
  w.unshift("Warning: " + a), Function.prototype.apply.call(console[o], console, w);
9631
9631
  }
9632
9632
  }
9633
- var f = 0, p = 1, v = 2, y = 3, b = 4, S = 5, E = 6, C = 7, R = 8, $ = 9, D = 10, A = 11, L = 12, I = 13, j = 14, U = 15, ee = 16, ie = 17, pe = 18, oe = 19, W = 21, le = 22, Z = 23, ae = 24, re = 25, se = !0, Y = !1, G = !1, ue = !1, F = !1, K = !0, _e = !0, Ee = !0, ze = !0, Ue = /* @__PURE__ */ new Set(), Ve = {}, $e = {};
9633
+ var f = 0, p = 1, v = 2, y = 3, b = 4, S = 5, E = 6, C = 7, R = 8, $ = 9, D = 10, A = 11, L = 12, I = 13, j = 14, U = 15, ee = 16, ie = 17, pe = 18, oe = 19, W = 21, le = 22, Z = 23, ae = 24, ne = 25, se = !0, Y = !1, G = !1, ue = !1, F = !1, K = !0, _e = !0, Ee = !0, ze = !0, Ue = /* @__PURE__ */ new Set(), Ve = {}, $e = {};
9634
9634
  function Ze(o, a) {
9635
9635
  st(o, a), st(o + "Capture", a);
9636
9636
  }
@@ -10170,7 +10170,7 @@ function I8() {
10170
10170
  }
10171
10171
  }
10172
10172
  }
10173
- var Dr = Symbol.for("react.element"), ir = Symbol.for("react.portal"), ao = Symbol.for("react.fragment"), Ri = Symbol.for("react.strict_mode"), Hr = Symbol.for("react.profiler"), $i = Symbol.for("react.provider"), ne = Symbol.for("react.context"), Ae = Symbol.for("react.forward_ref"), Je = Symbol.for("react.suspense"), at = Symbol.for("react.suspense_list"), Zt = Symbol.for("react.memo"), Lt = Symbol.for("react.lazy"), zt = Symbol.for("react.scope"), Bt = Symbol.for("react.debug_trace_mode"), cn = Symbol.for("react.offscreen"), yn = Symbol.for("react.legacy_hidden"), Wn = Symbol.for("react.cache"), xr = Symbol.for("react.tracing_marker"), gi = Symbol.iterator, wr = "@@iterator";
10173
+ var Dr = Symbol.for("react.element"), ir = Symbol.for("react.portal"), ao = Symbol.for("react.fragment"), Ri = Symbol.for("react.strict_mode"), Hr = Symbol.for("react.profiler"), $i = Symbol.for("react.provider"), re = Symbol.for("react.context"), Ae = Symbol.for("react.forward_ref"), Je = Symbol.for("react.suspense"), at = Symbol.for("react.suspense_list"), Zt = Symbol.for("react.memo"), Lt = Symbol.for("react.lazy"), zt = Symbol.for("react.scope"), Bt = Symbol.for("react.debug_trace_mode"), cn = Symbol.for("react.offscreen"), yn = Symbol.for("react.legacy_hidden"), Wn = Symbol.for("react.cache"), xr = Symbol.for("react.tracing_marker"), gi = Symbol.iterator, wr = "@@iterator";
10174
10174
  function jt(o) {
10175
10175
  if (o === null || typeof o != "object")
10176
10176
  return null;
@@ -10436,7 +10436,7 @@ Error generating stack: ` + m.message + `
10436
10436
  }
10437
10437
  if (typeof o == "object")
10438
10438
  switch (o.$$typeof) {
10439
- case ne:
10439
+ case re:
10440
10440
  var a = o;
10441
10441
  return ou(a) + ".Consumer";
10442
10442
  case $i:
@@ -10504,7 +10504,7 @@ Error generating stack: ` + m.message + `
10504
10504
  return "Suspense";
10505
10505
  case oe:
10506
10506
  return "SuspenseList";
10507
- case re:
10507
+ case ne:
10508
10508
  return "TracingMarker";
10509
10509
  // The display name for this tags come from the user-provided type:
10510
10510
  case p:
@@ -18384,7 +18384,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, O)
18384
18384
  if ("contextType" in a) {
18385
18385
  var M = (
18386
18386
  // Allow null for conditional declaration
18387
- T === null || T !== void 0 && T.$$typeof === ne && T._context === void 0
18387
+ T === null || T !== void 0 && T.$$typeof === re && T._context === void 0
18388
18388
  );
18389
18389
  if (!M && !Fk.has(a)) {
18390
18390
  Fk.add(a);
@@ -20001,7 +20001,7 @@ Check the render method of \`` + m + "`.");
20001
20001
  }
20002
20002
  case ae:
20003
20003
  return null;
20004
- case re:
20004
+ case ne:
20005
20005
  return null;
20006
20006
  }
20007
20007
  throw new Error("Unknown unit of work tag (" + a.tag + "). This error is likely caused by a bug in React. Please file an issue.");
@@ -20404,7 +20404,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20404
20404
  case W:
20405
20405
  case le:
20406
20406
  case Z:
20407
- case re:
20407
+ case ne:
20408
20408
  break;
20409
20409
  default:
20410
20410
  throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.");
@@ -22362,7 +22362,7 @@ This ensures that you're testing the behavior the user would see in the browser.
22362
22362
  case $i:
22363
22363
  T = D;
22364
22364
  break e;
22365
- case ne:
22365
+ case re:
22366
22366
  T = $;
22367
22367
  break e;
22368
22368
  case Ae:
@@ -23151,57 +23151,57 @@ var VA;
23151
23151
  function H8() {
23152
23152
  return VA || (VA = 1, process.env.NODE_ENV !== "production" && (function() {
23153
23153
  var n = nd(), e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), E = Symbol.iterator, C = "@@iterator";
23154
- function R(ne) {
23155
- if (ne === null || typeof ne != "object")
23154
+ function R(re) {
23155
+ if (re === null || typeof re != "object")
23156
23156
  return null;
23157
- var Ae = E && ne[E] || ne[C];
23157
+ var Ae = E && re[E] || re[C];
23158
23158
  return typeof Ae == "function" ? Ae : null;
23159
23159
  }
23160
23160
  var $ = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
23161
- function D(ne) {
23161
+ function D(re) {
23162
23162
  {
23163
23163
  for (var Ae = arguments.length, Je = new Array(Ae > 1 ? Ae - 1 : 0), at = 1; at < Ae; at++)
23164
23164
  Je[at - 1] = arguments[at];
23165
- A("error", ne, Je);
23165
+ A("error", re, Je);
23166
23166
  }
23167
23167
  }
23168
- function A(ne, Ae, Je) {
23168
+ function A(re, Ae, Je) {
23169
23169
  {
23170
23170
  var at = $.ReactDebugCurrentFrame, Zt = at.getStackAddendum();
23171
23171
  Zt !== "" && (Ae += "%s", Je = Je.concat([Zt]));
23172
23172
  var Lt = Je.map(function(zt) {
23173
23173
  return String(zt);
23174
23174
  });
23175
- Lt.unshift("Warning: " + Ae), Function.prototype.apply.call(console[ne], console, Lt);
23175
+ Lt.unshift("Warning: " + Ae), Function.prototype.apply.call(console[re], console, Lt);
23176
23176
  }
23177
23177
  }
23178
23178
  var L = !1, I = !1, j = !1, U = !1, ee = !1, ie;
23179
23179
  ie = Symbol.for("react.module.reference");
23180
- function pe(ne) {
23181
- return !!(typeof ne == "string" || typeof ne == "function" || ne === r || ne === s || ee || ne === i || ne === p || ne === v || U || ne === S || L || I || j || typeof ne == "object" && ne !== null && (ne.$$typeof === b || ne.$$typeof === y || ne.$$typeof === l || ne.$$typeof === c || ne.$$typeof === f || // This needs to include all possible module reference object
23180
+ function pe(re) {
23181
+ return !!(typeof re == "string" || typeof re == "function" || re === r || re === s || ee || re === i || re === p || re === v || U || re === S || L || I || j || typeof re == "object" && re !== null && (re.$$typeof === b || re.$$typeof === y || re.$$typeof === l || re.$$typeof === c || re.$$typeof === f || // This needs to include all possible module reference object
23182
23182
  // types supported by any Flight configuration anywhere since
23183
23183
  // we don't know which Flight build this will end up being used
23184
23184
  // with.
23185
- ne.$$typeof === ie || ne.getModuleId !== void 0));
23185
+ re.$$typeof === ie || re.getModuleId !== void 0));
23186
23186
  }
23187
- function oe(ne, Ae, Je) {
23188
- var at = ne.displayName;
23187
+ function oe(re, Ae, Je) {
23188
+ var at = re.displayName;
23189
23189
  if (at)
23190
23190
  return at;
23191
23191
  var Zt = Ae.displayName || Ae.name || "";
23192
23192
  return Zt !== "" ? Je + "(" + Zt + ")" : Je;
23193
23193
  }
23194
- function W(ne) {
23195
- return ne.displayName || "Context";
23194
+ function W(re) {
23195
+ return re.displayName || "Context";
23196
23196
  }
23197
- function le(ne) {
23198
- if (ne == null)
23197
+ function le(re) {
23198
+ if (re == null)
23199
23199
  return null;
23200
- if (typeof ne.tag == "number" && D("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof ne == "function")
23201
- return ne.displayName || ne.name || null;
23202
- if (typeof ne == "string")
23203
- return ne;
23204
- switch (ne) {
23200
+ if (typeof re.tag == "number" && D("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof re == "function")
23201
+ return re.displayName || re.name || null;
23202
+ if (typeof re == "string")
23203
+ return re;
23204
+ switch (re) {
23205
23205
  case r:
23206
23206
  return "Fragment";
23207
23207
  case t:
@@ -23215,21 +23215,21 @@ function H8() {
23215
23215
  case v:
23216
23216
  return "SuspenseList";
23217
23217
  }
23218
- if (typeof ne == "object")
23219
- switch (ne.$$typeof) {
23218
+ if (typeof re == "object")
23219
+ switch (re.$$typeof) {
23220
23220
  case c:
23221
- var Ae = ne;
23221
+ var Ae = re;
23222
23222
  return W(Ae) + ".Consumer";
23223
23223
  case l:
23224
- var Je = ne;
23224
+ var Je = re;
23225
23225
  return W(Je._context) + ".Provider";
23226
23226
  case f:
23227
- return oe(ne, ne.render, "ForwardRef");
23227
+ return oe(re, re.render, "ForwardRef");
23228
23228
  case y:
23229
- var at = ne.displayName || null;
23230
- return at !== null ? at : le(ne.type) || "Memo";
23229
+ var at = re.displayName || null;
23230
+ return at !== null ? at : le(re.type) || "Memo";
23231
23231
  case b: {
23232
- var Zt = ne, Lt = Zt._payload, zt = Zt._init;
23232
+ var Zt = re, Lt = Zt._payload, zt = Zt._init;
23233
23233
  try {
23234
23234
  return le(zt(Lt));
23235
23235
  } catch {
@@ -23239,28 +23239,28 @@ function H8() {
23239
23239
  }
23240
23240
  return null;
23241
23241
  }
23242
- var Z = Object.assign, ae = 0, re, se, Y, G, ue, F, K;
23242
+ var Z = Object.assign, ae = 0, ne, se, Y, G, ue, F, K;
23243
23243
  function _e() {
23244
23244
  }
23245
23245
  _e.__reactDisabledLog = !0;
23246
23246
  function Ee() {
23247
23247
  {
23248
23248
  if (ae === 0) {
23249
- re = console.log, se = console.info, Y = console.warn, G = console.error, ue = console.group, F = console.groupCollapsed, K = console.groupEnd;
23250
- var ne = {
23249
+ ne = console.log, se = console.info, Y = console.warn, G = console.error, ue = console.group, F = console.groupCollapsed, K = console.groupEnd;
23250
+ var re = {
23251
23251
  configurable: !0,
23252
23252
  enumerable: !0,
23253
23253
  value: _e,
23254
23254
  writable: !0
23255
23255
  };
23256
23256
  Object.defineProperties(console, {
23257
- info: ne,
23258
- log: ne,
23259
- warn: ne,
23260
- error: ne,
23261
- group: ne,
23262
- groupCollapsed: ne,
23263
- groupEnd: ne
23257
+ info: re,
23258
+ log: re,
23259
+ warn: re,
23260
+ error: re,
23261
+ group: re,
23262
+ groupCollapsed: re,
23263
+ groupEnd: re
23264
23264
  });
23265
23265
  }
23266
23266
  ae++;
@@ -23269,31 +23269,31 @@ function H8() {
23269
23269
  function ze() {
23270
23270
  {
23271
23271
  if (ae--, ae === 0) {
23272
- var ne = {
23272
+ var re = {
23273
23273
  configurable: !0,
23274
23274
  enumerable: !0,
23275
23275
  writable: !0
23276
23276
  };
23277
23277
  Object.defineProperties(console, {
23278
- log: Z({}, ne, {
23279
- value: re
23278
+ log: Z({}, re, {
23279
+ value: ne
23280
23280
  }),
23281
- info: Z({}, ne, {
23281
+ info: Z({}, re, {
23282
23282
  value: se
23283
23283
  }),
23284
- warn: Z({}, ne, {
23284
+ warn: Z({}, re, {
23285
23285
  value: Y
23286
23286
  }),
23287
- error: Z({}, ne, {
23287
+ error: Z({}, re, {
23288
23288
  value: G
23289
23289
  }),
23290
- group: Z({}, ne, {
23290
+ group: Z({}, re, {
23291
23291
  value: ue
23292
23292
  }),
23293
- groupCollapsed: Z({}, ne, {
23293
+ groupCollapsed: Z({}, re, {
23294
23294
  value: F
23295
23295
  }),
23296
- groupEnd: Z({}, ne, {
23296
+ groupEnd: Z({}, re, {
23297
23297
  value: K
23298
23298
  })
23299
23299
  });
@@ -23302,7 +23302,7 @@ function H8() {
23302
23302
  }
23303
23303
  }
23304
23304
  var Ue = $.ReactCurrentDispatcher, Ve;
23305
- function $e(ne, Ae, Je) {
23305
+ function $e(re, Ae, Je) {
23306
23306
  {
23307
23307
  if (Ve === void 0)
23308
23308
  try {
@@ -23312,7 +23312,7 @@ function H8() {
23312
23312
  Ve = at && at[1] || "";
23313
23313
  }
23314
23314
  return `
23315
- ` + Ve + ne;
23315
+ ` + Ve + re;
23316
23316
  }
23317
23317
  }
23318
23318
  var Ze = !1, st;
@@ -23320,11 +23320,11 @@ function H8() {
23320
23320
  var mt = typeof WeakMap == "function" ? WeakMap : Map;
23321
23321
  st = new mt();
23322
23322
  }
23323
- function ft(ne, Ae) {
23324
- if (!ne || Ze)
23323
+ function ft(re, Ae) {
23324
+ if (!re || Ze)
23325
23325
  return "";
23326
23326
  {
23327
- var Je = st.get(ne);
23327
+ var Je = st.get(re);
23328
23328
  if (Je !== void 0)
23329
23329
  return Je;
23330
23330
  }
@@ -23349,14 +23349,14 @@ function H8() {
23349
23349
  } catch (jt) {
23350
23350
  at = jt;
23351
23351
  }
23352
- Reflect.construct(ne, [], zt);
23352
+ Reflect.construct(re, [], zt);
23353
23353
  } else {
23354
23354
  try {
23355
23355
  zt.call();
23356
23356
  } catch (jt) {
23357
23357
  at = jt;
23358
23358
  }
23359
- ne.call(zt.prototype);
23359
+ re.call(zt.prototype);
23360
23360
  }
23361
23361
  } else {
23362
23362
  try {
@@ -23364,7 +23364,7 @@ function H8() {
23364
23364
  } catch (jt) {
23365
23365
  at = jt;
23366
23366
  }
23367
- ne();
23367
+ re();
23368
23368
  }
23369
23369
  } catch (jt) {
23370
23370
  if (jt && at && typeof jt.stack == "string") {
@@ -23379,7 +23379,7 @@ function H8() {
23379
23379
  if (yn--, Wn--, Wn < 0 || Bt[yn] !== cn[Wn]) {
23380
23380
  var xr = `
23381
23381
  ` + Bt[yn].replace(" at new ", " at ");
23382
- return ne.displayName && xr.includes("<anonymous>") && (xr = xr.replace("<anonymous>", ne.displayName)), typeof ne == "function" && st.set(ne, xr), xr;
23382
+ return re.displayName && xr.includes("<anonymous>") && (xr = xr.replace("<anonymous>", re.displayName)), typeof re == "function" && st.set(re, xr), xr;
23383
23383
  }
23384
23384
  while (yn >= 1 && Wn >= 0);
23385
23385
  break;
@@ -23388,37 +23388,37 @@ function H8() {
23388
23388
  } finally {
23389
23389
  Ze = !1, Ue.current = Lt, ze(), Error.prepareStackTrace = Zt;
23390
23390
  }
23391
- var gi = ne ? ne.displayName || ne.name : "", wr = gi ? $e(gi) : "";
23392
- return typeof ne == "function" && st.set(ne, wr), wr;
23391
+ var gi = re ? re.displayName || re.name : "", wr = gi ? $e(gi) : "";
23392
+ return typeof re == "function" && st.set(re, wr), wr;
23393
23393
  }
23394
- function rt(ne, Ae, Je) {
23395
- return ft(ne, !1);
23394
+ function rt(re, Ae, Je) {
23395
+ return ft(re, !1);
23396
23396
  }
23397
- function Qt(ne) {
23398
- var Ae = ne.prototype;
23397
+ function Qt(re) {
23398
+ var Ae = re.prototype;
23399
23399
  return !!(Ae && Ae.isReactComponent);
23400
23400
  }
23401
- function _t(ne, Ae, Je) {
23402
- if (ne == null)
23401
+ function _t(re, Ae, Je) {
23402
+ if (re == null)
23403
23403
  return "";
23404
- if (typeof ne == "function")
23405
- return ft(ne, Qt(ne));
23406
- if (typeof ne == "string")
23407
- return $e(ne);
23408
- switch (ne) {
23404
+ if (typeof re == "function")
23405
+ return ft(re, Qt(re));
23406
+ if (typeof re == "string")
23407
+ return $e(re);
23408
+ switch (re) {
23409
23409
  case p:
23410
23410
  return $e("Suspense");
23411
23411
  case v:
23412
23412
  return $e("SuspenseList");
23413
23413
  }
23414
- if (typeof ne == "object")
23415
- switch (ne.$$typeof) {
23414
+ if (typeof re == "object")
23415
+ switch (re.$$typeof) {
23416
23416
  case f:
23417
- return rt(ne.render);
23417
+ return rt(re.render);
23418
23418
  case y:
23419
- return _t(ne.type, Ae, Je);
23419
+ return _t(re.type, Ae, Je);
23420
23420
  case b: {
23421
- var at = ne, Zt = at._payload, Lt = at._init;
23421
+ var at = re, Zt = at._payload, Lt = at._init;
23422
23422
  try {
23423
23423
  return _t(Lt(Zt), Ae, Je);
23424
23424
  } catch {
@@ -23428,25 +23428,25 @@ function H8() {
23428
23428
  return "";
23429
23429
  }
23430
23430
  var St = Object.prototype.hasOwnProperty, _n = {}, br = $.ReactDebugCurrentFrame;
23431
- function Wt(ne) {
23432
- if (ne) {
23433
- var Ae = ne._owner, Je = _t(ne.type, ne._source, Ae ? Ae.type : null);
23431
+ function Wt(re) {
23432
+ if (re) {
23433
+ var Ae = re._owner, Je = _t(re.type, re._source, Ae ? Ae.type : null);
23434
23434
  br.setExtraStackFrame(Je);
23435
23435
  } else
23436
23436
  br.setExtraStackFrame(null);
23437
23437
  }
23438
- function Jt(ne, Ae, Je, at, Zt) {
23438
+ function Jt(re, Ae, Je, at, Zt) {
23439
23439
  {
23440
23440
  var Lt = Function.call.bind(St);
23441
- for (var zt in ne)
23442
- if (Lt(ne, zt)) {
23441
+ for (var zt in re)
23442
+ if (Lt(re, zt)) {
23443
23443
  var Bt = void 0;
23444
23444
  try {
23445
- if (typeof ne[zt] != "function") {
23446
- var cn = Error((at || "React class") + ": " + Je + " type `" + zt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof ne[zt] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
23445
+ if (typeof re[zt] != "function") {
23446
+ var cn = Error((at || "React class") + ": " + Je + " type `" + zt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof re[zt] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
23447
23447
  throw cn.name = "Invariant Violation", cn;
23448
23448
  }
23449
- Bt = ne[zt](Ae, zt, at, Je, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
23449
+ Bt = re[zt](Ae, zt, at, Je, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
23450
23450
  } catch (yn) {
23451
23451
  Bt = yn;
23452
23452
  }
@@ -23455,28 +23455,28 @@ function H8() {
23455
23455
  }
23456
23456
  }
23457
23457
  var on = Array.isArray;
23458
- function Xt(ne) {
23459
- return on(ne);
23458
+ function Xt(re) {
23459
+ return on(re);
23460
23460
  }
23461
- function tr(ne) {
23461
+ function tr(re) {
23462
23462
  {
23463
- var Ae = typeof Symbol == "function" && Symbol.toStringTag, Je = Ae && ne[Symbol.toStringTag] || ne.constructor.name || "Object";
23463
+ var Ae = typeof Symbol == "function" && Symbol.toStringTag, Je = Ae && re[Symbol.toStringTag] || re.constructor.name || "Object";
23464
23464
  return Je;
23465
23465
  }
23466
23466
  }
23467
- function oi(ne) {
23467
+ function oi(re) {
23468
23468
  try {
23469
- return ln(ne), !1;
23469
+ return ln(re), !1;
23470
23470
  } catch {
23471
23471
  return !0;
23472
23472
  }
23473
23473
  }
23474
- function ln(ne) {
23475
- return "" + ne;
23474
+ function ln(re) {
23475
+ return "" + re;
23476
23476
  }
23477
- function Kn(ne) {
23478
- if (oi(ne))
23479
- return D("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", tr(ne)), ln(ne);
23477
+ function Kn(re) {
23478
+ if (oi(re))
23479
+ return D("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", tr(re)), ln(re);
23480
23480
  }
23481
23481
  var nr = $.ReactCurrentOwner, _i = {
23482
23482
  key: !0,
@@ -23484,53 +23484,53 @@ function H8() {
23484
23484
  __self: !0,
23485
23485
  __source: !0
23486
23486
  }, Hi, We;
23487
- function gt(ne) {
23488
- if (St.call(ne, "ref")) {
23489
- var Ae = Object.getOwnPropertyDescriptor(ne, "ref").get;
23487
+ function gt(re) {
23488
+ if (St.call(re, "ref")) {
23489
+ var Ae = Object.getOwnPropertyDescriptor(re, "ref").get;
23490
23490
  if (Ae && Ae.isReactWarning)
23491
23491
  return !1;
23492
23492
  }
23493
- return ne.ref !== void 0;
23493
+ return re.ref !== void 0;
23494
23494
  }
23495
- function Vt(ne) {
23496
- if (St.call(ne, "key")) {
23497
- var Ae = Object.getOwnPropertyDescriptor(ne, "key").get;
23495
+ function Vt(re) {
23496
+ if (St.call(re, "key")) {
23497
+ var Ae = Object.getOwnPropertyDescriptor(re, "key").get;
23498
23498
  if (Ae && Ae.isReactWarning)
23499
23499
  return !1;
23500
23500
  }
23501
- return ne.key !== void 0;
23501
+ return re.key !== void 0;
23502
23502
  }
23503
- function hn(ne, Ae) {
23504
- typeof ne.ref == "string" && nr.current;
23503
+ function hn(re, Ae) {
23504
+ typeof re.ref == "string" && nr.current;
23505
23505
  }
23506
- function zn(ne, Ae) {
23506
+ function zn(re, Ae) {
23507
23507
  {
23508
23508
  var Je = function() {
23509
23509
  Hi || (Hi = !0, D("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Ae));
23510
23510
  };
23511
- Je.isReactWarning = !0, Object.defineProperty(ne, "key", {
23511
+ Je.isReactWarning = !0, Object.defineProperty(re, "key", {
23512
23512
  get: Je,
23513
23513
  configurable: !0
23514
23514
  });
23515
23515
  }
23516
23516
  }
23517
- function rr(ne, Ae) {
23517
+ function rr(re, Ae) {
23518
23518
  {
23519
23519
  var Je = function() {
23520
23520
  We || (We = !0, D("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Ae));
23521
23521
  };
23522
- Je.isReactWarning = !0, Object.defineProperty(ne, "ref", {
23522
+ Je.isReactWarning = !0, Object.defineProperty(re, "ref", {
23523
23523
  get: Je,
23524
23524
  configurable: !0
23525
23525
  });
23526
23526
  }
23527
23527
  }
23528
- var jn = function(ne, Ae, Je, at, Zt, Lt, zt) {
23528
+ var jn = function(re, Ae, Je, at, Zt, Lt, zt) {
23529
23529
  var Bt = {
23530
23530
  // This tag allows us to uniquely identify this as a React Element
23531
23531
  $$typeof: e,
23532
23532
  // Built-in properties that belong on the element
23533
- type: ne,
23533
+ type: re,
23534
23534
  key: Ae,
23535
23535
  ref: Je,
23536
23536
  props: zt,
@@ -23554,58 +23554,58 @@ function H8() {
23554
23554
  value: Zt
23555
23555
  }), Object.freeze && (Object.freeze(Bt.props), Object.freeze(Bt)), Bt;
23556
23556
  };
23557
- function pr(ne, Ae, Je, at, Zt) {
23557
+ function pr(re, Ae, Je, at, Zt) {
23558
23558
  {
23559
23559
  var Lt, zt = {}, Bt = null, cn = null;
23560
23560
  Je !== void 0 && (Kn(Je), Bt = "" + Je), Vt(Ae) && (Kn(Ae.key), Bt = "" + Ae.key), gt(Ae) && (cn = Ae.ref, hn(Ae, Zt));
23561
23561
  for (Lt in Ae)
23562
23562
  St.call(Ae, Lt) && !_i.hasOwnProperty(Lt) && (zt[Lt] = Ae[Lt]);
23563
- if (ne && ne.defaultProps) {
23564
- var yn = ne.defaultProps;
23563
+ if (re && re.defaultProps) {
23564
+ var yn = re.defaultProps;
23565
23565
  for (Lt in yn)
23566
23566
  zt[Lt] === void 0 && (zt[Lt] = yn[Lt]);
23567
23567
  }
23568
23568
  if (Bt || cn) {
23569
- var Wn = typeof ne == "function" ? ne.displayName || ne.name || "Unknown" : ne;
23569
+ var Wn = typeof re == "function" ? re.displayName || re.name || "Unknown" : re;
23570
23570
  Bt && zn(zt, Wn), cn && rr(zt, Wn);
23571
23571
  }
23572
- return jn(ne, Bt, cn, Zt, at, nr.current, zt);
23572
+ return jn(re, Bt, cn, Zt, at, nr.current, zt);
23573
23573
  }
23574
23574
  }
23575
23575
  var In = $.ReactCurrentOwner, pn = $.ReactDebugCurrentFrame;
23576
- function un(ne) {
23577
- if (ne) {
23578
- var Ae = ne._owner, Je = _t(ne.type, ne._source, Ae ? Ae.type : null);
23576
+ function un(re) {
23577
+ if (re) {
23578
+ var Ae = re._owner, Je = _t(re.type, re._source, Ae ? Ae.type : null);
23579
23579
  pn.setExtraStackFrame(Je);
23580
23580
  } else
23581
23581
  pn.setExtraStackFrame(null);
23582
23582
  }
23583
23583
  var Ei;
23584
23584
  Ei = !1;
23585
- function Qn(ne) {
23586
- return typeof ne == "object" && ne !== null && ne.$$typeof === e;
23585
+ function Qn(re) {
23586
+ return typeof re == "object" && re !== null && re.$$typeof === e;
23587
23587
  }
23588
23588
  function Wi() {
23589
23589
  {
23590
23590
  if (In.current) {
23591
- var ne = le(In.current.type);
23592
- if (ne)
23591
+ var re = le(In.current.type);
23592
+ if (re)
23593
23593
  return `
23594
23594
 
23595
- Check the render method of \`` + ne + "`.";
23595
+ Check the render method of \`` + re + "`.";
23596
23596
  }
23597
23597
  return "";
23598
23598
  }
23599
23599
  }
23600
- function Ti(ne) {
23600
+ function Ti(re) {
23601
23601
  return "";
23602
23602
  }
23603
23603
  var ia = {};
23604
- function oa(ne) {
23604
+ function oa(re) {
23605
23605
  {
23606
23606
  var Ae = Wi();
23607
23607
  if (!Ae) {
23608
- var Je = typeof ne == "string" ? ne : ne.displayName || ne.name;
23608
+ var Je = typeof re == "string" ? re : re.displayName || re.name;
23609
23609
  Je && (Ae = `
23610
23610
 
23611
23611
  Check the top-level render call using <` + Je + ">.");
@@ -23613,41 +23613,41 @@ Check the top-level render call using <` + Je + ">.");
23613
23613
  return Ae;
23614
23614
  }
23615
23615
  }
23616
- function Fr(ne, Ae) {
23616
+ function Fr(re, Ae) {
23617
23617
  {
23618
- if (!ne._store || ne._store.validated || ne.key != null)
23618
+ if (!re._store || re._store.validated || re.key != null)
23619
23619
  return;
23620
- ne._store.validated = !0;
23620
+ re._store.validated = !0;
23621
23621
  var Je = oa(Ae);
23622
23622
  if (ia[Je])
23623
23623
  return;
23624
23624
  ia[Je] = !0;
23625
23625
  var at = "";
23626
- ne && ne._owner && ne._owner !== In.current && (at = " It was passed a child from " + le(ne._owner.type) + "."), un(ne), D('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Je, at), un(null);
23626
+ re && re._owner && re._owner !== In.current && (at = " It was passed a child from " + le(re._owner.type) + "."), un(re), D('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Je, at), un(null);
23627
23627
  }
23628
23628
  }
23629
- function Ao(ne, Ae) {
23629
+ function Ao(re, Ae) {
23630
23630
  {
23631
- if (typeof ne != "object")
23631
+ if (typeof re != "object")
23632
23632
  return;
23633
- if (Xt(ne))
23634
- for (var Je = 0; Je < ne.length; Je++) {
23635
- var at = ne[Je];
23633
+ if (Xt(re))
23634
+ for (var Je = 0; Je < re.length; Je++) {
23635
+ var at = re[Je];
23636
23636
  Qn(at) && Fr(at, Ae);
23637
23637
  }
23638
- else if (Qn(ne))
23639
- ne._store && (ne._store.validated = !0);
23640
- else if (ne) {
23641
- var Zt = R(ne);
23642
- if (typeof Zt == "function" && Zt !== ne.entries)
23643
- for (var Lt = Zt.call(ne), zt; !(zt = Lt.next()).done; )
23638
+ else if (Qn(re))
23639
+ re._store && (re._store.validated = !0);
23640
+ else if (re) {
23641
+ var Zt = R(re);
23642
+ if (typeof Zt == "function" && Zt !== re.entries)
23643
+ for (var Lt = Zt.call(re), zt; !(zt = Lt.next()).done; )
23644
23644
  Qn(zt.value) && Fr(zt.value, Ae);
23645
23645
  }
23646
23646
  }
23647
23647
  }
23648
- function sa(ne) {
23648
+ function sa(re) {
23649
23649
  {
23650
- var Ae = ne.type;
23650
+ var Ae = re.type;
23651
23651
  if (Ae == null || typeof Ae == "string")
23652
23652
  return;
23653
23653
  var Je;
@@ -23661,7 +23661,7 @@ Check the top-level render call using <` + Je + ">.");
23661
23661
  return;
23662
23662
  if (Je) {
23663
23663
  var at = le(Ae);
23664
- Jt(Je, ne.props, "prop", at, ne);
23664
+ Jt(Je, re.props, "prop", at, re);
23665
23665
  } else if (Ae.PropTypes !== void 0 && !Ei) {
23666
23666
  Ei = !0;
23667
23667
  var Zt = le(Ae);
@@ -23670,31 +23670,31 @@ Check the top-level render call using <` + Je + ">.");
23670
23670
  typeof Ae.getDefaultProps == "function" && !Ae.getDefaultProps.isReactClassApproved && D("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
23671
23671
  }
23672
23672
  }
23673
- function si(ne) {
23673
+ function si(re) {
23674
23674
  {
23675
- for (var Ae = Object.keys(ne.props), Je = 0; Je < Ae.length; Je++) {
23675
+ for (var Ae = Object.keys(re.props), Je = 0; Je < Ae.length; Je++) {
23676
23676
  var at = Ae[Je];
23677
23677
  if (at !== "children" && at !== "key") {
23678
- un(ne), D("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", at), un(null);
23678
+ un(re), D("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", at), un(null);
23679
23679
  break;
23680
23680
  }
23681
23681
  }
23682
- ne.ref !== null && (un(ne), D("Invalid attribute `ref` supplied to `React.Fragment`."), un(null));
23682
+ re.ref !== null && (un(re), D("Invalid attribute `ref` supplied to `React.Fragment`."), un(null));
23683
23683
  }
23684
23684
  }
23685
23685
  var Dr = {};
23686
- function ir(ne, Ae, Je, at, Zt, Lt) {
23686
+ function ir(re, Ae, Je, at, Zt, Lt) {
23687
23687
  {
23688
- var zt = pe(ne);
23688
+ var zt = pe(re);
23689
23689
  if (!zt) {
23690
23690
  var Bt = "";
23691
- (ne === void 0 || typeof ne == "object" && ne !== null && Object.keys(ne).length === 0) && (Bt += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
23691
+ (re === void 0 || typeof re == "object" && re !== null && Object.keys(re).length === 0) && (Bt += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
23692
23692
  var cn = Ti();
23693
23693
  cn ? Bt += cn : Bt += Wi();
23694
23694
  var yn;
23695
- ne === null ? yn = "null" : Xt(ne) ? yn = "array" : ne !== void 0 && ne.$$typeof === e ? (yn = "<" + (le(ne.type) || "Unknown") + " />", Bt = " Did you accidentally export a JSX literal instead of a component?") : yn = typeof ne, D("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", yn, Bt);
23695
+ re === null ? yn = "null" : Xt(re) ? yn = "array" : re !== void 0 && re.$$typeof === e ? (yn = "<" + (le(re.type) || "Unknown") + " />", Bt = " Did you accidentally export a JSX literal instead of a component?") : yn = typeof re, D("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", yn, Bt);
23696
23696
  }
23697
- var Wn = pr(ne, Ae, Je, Zt, Lt);
23697
+ var Wn = pr(re, Ae, Je, Zt, Lt);
23698
23698
  if (Wn == null)
23699
23699
  return Wn;
23700
23700
  if (zt) {
@@ -23703,15 +23703,15 @@ Check the top-level render call using <` + Je + ">.");
23703
23703
  if (at)
23704
23704
  if (Xt(xr)) {
23705
23705
  for (var gi = 0; gi < xr.length; gi++)
23706
- Ao(xr[gi], ne);
23706
+ Ao(xr[gi], re);
23707
23707
  Object.freeze && Object.freeze(xr);
23708
23708
  } else
23709
23709
  D("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
23710
23710
  else
23711
- Ao(xr, ne);
23711
+ Ao(xr, re);
23712
23712
  }
23713
23713
  if (St.call(Ae, "key")) {
23714
- var wr = le(ne), jt = Object.keys(Ae).filter(function(aa) {
23714
+ var wr = le(re), jt = Object.keys(Ae).filter(function(aa) {
23715
23715
  return aa !== "key";
23716
23716
  }), Ke = jt.length > 0 ? "{key: someKey, " + jt.join(": ..., ") + ": ...}" : "{key: someKey}";
23717
23717
  if (!Dr[wr + Ke]) {
@@ -23724,14 +23724,14 @@ React keys must be passed directly to JSX without using spread:
23724
23724
  <%s key={someKey} {...props} />`, Ke, wr, Pi, wr), Dr[wr + Ke] = !0;
23725
23725
  }
23726
23726
  }
23727
- return ne === r ? si(Wn) : sa(Wn), Wn;
23727
+ return re === r ? si(Wn) : sa(Wn), Wn;
23728
23728
  }
23729
23729
  }
23730
- function ao(ne, Ae, Je) {
23731
- return ir(ne, Ae, Je, !0);
23730
+ function ao(re, Ae, Je) {
23731
+ return ir(re, Ae, Je, !0);
23732
23732
  }
23733
- function Ri(ne, Ae, Je) {
23734
- return ir(ne, Ae, Je, !1);
23733
+ function Ri(re, Ae, Je) {
23734
+ return ir(re, Ae, Je, !1);
23735
23735
  }
23736
23736
  var Hr = Ri, $i = ao;
23737
23737
  Xy.Fragment = r, Xy.jsx = Hr, Xy.jsxs = $i;
@@ -24520,9 +24520,9 @@ function ZL() {
24520
24520
  dy: 0,
24521
24521
  dispatch: pe
24522
24522
  }), U)) != null)
24523
- return W = Z.x - oe[0] || 0, le = Z.y - oe[1] || 0, function ae(re, se, Y) {
24523
+ return W = Z.x - oe[0] || 0, le = Z.y - oe[1] || 0, function ae(ne, se, Y) {
24524
24524
  var G = oe, ue;
24525
- switch (re) {
24525
+ switch (ne) {
24526
24526
  case "start":
24527
24527
  i[ee] = ae, ue = l++;
24528
24528
  break;
@@ -24534,9 +24534,9 @@ function ZL() {
24534
24534
  break;
24535
24535
  }
24536
24536
  pe.call(
24537
- re,
24537
+ ne,
24538
24538
  L,
24539
- new rT(re, {
24539
+ new rT(ne, {
24540
24540
  sourceEvent: se,
24541
24541
  subject: Z,
24542
24542
  target: b,
@@ -25733,54 +25733,54 @@ function oN() {
25733
25733
  function $(Z) {
25734
25734
  Z.property("__zoom", aD).on("wheel.zoom", ee, { passive: !1 }).on("mousedown.zoom", ie).on("dblclick.zoom", pe).filter(i).on("touchstart.zoom", oe).on("touchmove.zoom", W).on("touchend.zoom touchcancel.zoom", le).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
25735
25735
  }
25736
- $.transform = function(Z, ae, re, se) {
25736
+ $.transform = function(Z, ae, ne, se) {
25737
25737
  var Y = Z.selection ? Z.selection() : Z;
25738
- Y.property("__zoom", aD), Z !== Y ? I(Z, ae, re, se) : Y.interrupt().each(function() {
25738
+ Y.property("__zoom", aD), Z !== Y ? I(Z, ae, ne, se) : Y.interrupt().each(function() {
25739
25739
  j(this, arguments).event(se).start().zoom(null, typeof ae == "function" ? ae.apply(this, arguments) : ae).end();
25740
25740
  });
25741
- }, $.scaleBy = function(Z, ae, re, se) {
25741
+ }, $.scaleBy = function(Z, ae, ne, se) {
25742
25742
  $.scaleTo(Z, function() {
25743
25743
  var Y = this.__zoom.k, G = typeof ae == "function" ? ae.apply(this, arguments) : ae;
25744
25744
  return Y * G;
25745
- }, re, se);
25746
- }, $.scaleTo = function(Z, ae, re, se) {
25745
+ }, ne, se);
25746
+ }, $.scaleTo = function(Z, ae, ne, se) {
25747
25747
  $.transform(Z, function() {
25748
- var Y = e.apply(this, arguments), G = this.__zoom, ue = re == null ? L(Y) : typeof re == "function" ? re.apply(this, arguments) : re, F = G.invert(ue), K = typeof ae == "function" ? ae.apply(this, arguments) : ae;
25748
+ var Y = e.apply(this, arguments), G = this.__zoom, ue = ne == null ? L(Y) : typeof ne == "function" ? ne.apply(this, arguments) : ne, F = G.invert(ue), K = typeof ae == "function" ? ae.apply(this, arguments) : ae;
25749
25749
  return t(A(D(G, K), ue, F), Y, l);
25750
- }, re, se);
25751
- }, $.translateBy = function(Z, ae, re, se) {
25750
+ }, ne, se);
25751
+ }, $.translateBy = function(Z, ae, ne, se) {
25752
25752
  $.transform(Z, function() {
25753
25753
  return t(this.__zoom.translate(
25754
25754
  typeof ae == "function" ? ae.apply(this, arguments) : ae,
25755
- typeof re == "function" ? re.apply(this, arguments) : re
25755
+ typeof ne == "function" ? ne.apply(this, arguments) : ne
25756
25756
  ), e.apply(this, arguments), l);
25757
25757
  }, null, se);
25758
- }, $.translateTo = function(Z, ae, re, se, Y) {
25758
+ }, $.translateTo = function(Z, ae, ne, se, Y) {
25759
25759
  $.transform(Z, function() {
25760
25760
  var G = e.apply(this, arguments), ue = this.__zoom, F = se == null ? L(G) : typeof se == "function" ? se.apply(this, arguments) : se;
25761
25761
  return t(a1.translate(F[0], F[1]).scale(ue.k).translate(
25762
25762
  typeof ae == "function" ? -ae.apply(this, arguments) : -ae,
25763
- typeof re == "function" ? -re.apply(this, arguments) : -re
25763
+ typeof ne == "function" ? -ne.apply(this, arguments) : -ne
25764
25764
  ), G, l);
25765
25765
  }, se, Y);
25766
25766
  };
25767
25767
  function D(Z, ae) {
25768
25768
  return ae = Math.max(s[0], Math.min(s[1], ae)), ae === Z.k ? Z : new Xc(ae, Z.x, Z.y);
25769
25769
  }
25770
- function A(Z, ae, re) {
25771
- var se = ae[0] - re[0] * Z.k, Y = ae[1] - re[1] * Z.k;
25770
+ function A(Z, ae, ne) {
25771
+ var se = ae[0] - ne[0] * Z.k, Y = ae[1] - ne[1] * Z.k;
25772
25772
  return se === Z.x && Y === Z.y ? Z : new Xc(Z.k, se, Y);
25773
25773
  }
25774
25774
  function L(Z) {
25775
25775
  return [(+Z[0][0] + +Z[1][0]) / 2, (+Z[0][1] + +Z[1][1]) / 2];
25776
25776
  }
25777
- function I(Z, ae, re, se) {
25777
+ function I(Z, ae, ne, se) {
25778
25778
  Z.on("start.zoom", function() {
25779
25779
  j(this, arguments).event(se).start();
25780
25780
  }).on("interrupt.zoom end.zoom", function() {
25781
25781
  j(this, arguments).event(se).end();
25782
25782
  }).tween("zoom", function() {
25783
- var Y = this, G = arguments, ue = j(Y, G).event(se), F = e.apply(Y, G), K = re == null ? L(F) : typeof re == "function" ? re.apply(Y, G) : re, _e = Math.max(F[1][0] - F[0][0], F[1][1] - F[0][1]), Ee = Y.__zoom, ze = typeof ae == "function" ? ae.apply(Y, G) : ae, Ue = f(Ee.invert(K).concat(_e / Ee.k), ze.invert(K).concat(_e / ze.k));
25783
+ var Y = this, G = arguments, ue = j(Y, G).event(se), F = e.apply(Y, G), K = ne == null ? L(F) : typeof ne == "function" ? ne.apply(Y, G) : ne, _e = Math.max(F[1][0] - F[0][0], F[1][1] - F[0][1]), Ee = Y.__zoom, ze = typeof ae == "function" ? ae.apply(Y, G) : ae, Ue = f(Ee.invert(K).concat(_e / Ee.k), ze.invert(K).concat(_e / ze.k));
25784
25784
  return function(Ve) {
25785
25785
  if (Ve === 1) Ve = ze;
25786
25786
  else {
@@ -25791,8 +25791,8 @@ function oN() {
25791
25791
  };
25792
25792
  });
25793
25793
  }
25794
- function j(Z, ae, re) {
25795
- return !re && Z.__zooming || new U(Z, ae);
25794
+ function j(Z, ae, ne) {
25795
+ return !ne && Z.__zooming || new U(Z, ae);
25796
25796
  }
25797
25797
  function U(Z, ae) {
25798
25798
  this.that = Z, this.args = ae, this.active = 0, this.sourceEvent = null, this.extent = e.apply(Z, ae), this.taps = 0;
@@ -25827,28 +25827,28 @@ function oN() {
25827
25827
  };
25828
25828
  function ee(Z, ...ae) {
25829
25829
  if (!n.apply(this, arguments)) return;
25830
- var re = j(this, ae).event(Z), se = this.__zoom, Y = Math.max(s[0], Math.min(s[1], se.k * Math.pow(2, r.apply(this, arguments)))), G = Fl(Z);
25831
- if (re.wheel)
25832
- (re.mouse[0][0] !== G[0] || re.mouse[0][1] !== G[1]) && (re.mouse[1] = se.invert(re.mouse[0] = G)), clearTimeout(re.wheel);
25830
+ var ne = j(this, ae).event(Z), se = this.__zoom, Y = Math.max(s[0], Math.min(s[1], se.k * Math.pow(2, r.apply(this, arguments)))), G = Fl(Z);
25831
+ if (ne.wheel)
25832
+ (ne.mouse[0][0] !== G[0] || ne.mouse[0][1] !== G[1]) && (ne.mouse[1] = se.invert(ne.mouse[0] = G)), clearTimeout(ne.wheel);
25833
25833
  else {
25834
25834
  if (se.k === Y) return;
25835
- re.mouse = [G, se.invert(G)], nS(this), re.start();
25835
+ ne.mouse = [G, se.invert(G)], nS(this), ne.start();
25836
25836
  }
25837
- qy(Z), re.wheel = setTimeout(ue, E), re.zoom("mouse", t(A(D(se, Y), re.mouse[0], re.mouse[1]), re.extent, l));
25837
+ qy(Z), ne.wheel = setTimeout(ue, E), ne.zoom("mouse", t(A(D(se, Y), ne.mouse[0], ne.mouse[1]), ne.extent, l));
25838
25838
  function ue() {
25839
- re.wheel = null, re.end();
25839
+ ne.wheel = null, ne.end();
25840
25840
  }
25841
25841
  }
25842
25842
  function ie(Z, ...ae) {
25843
25843
  if (b || !n.apply(this, arguments)) return;
25844
- var re = Z.currentTarget, se = j(this, ae, !0).event(Z), Y = _a(Z.view).on("mousemove.zoom", K, !0).on("mouseup.zoom", _e, !0), G = Fl(Z, re), ue = Z.clientX, F = Z.clientY;
25844
+ var ne = Z.currentTarget, se = j(this, ae, !0).event(Z), Y = _a(Z.view).on("mousemove.zoom", K, !0).on("mouseup.zoom", _e, !0), G = Fl(Z, ne), ue = Z.clientX, F = Z.clientY;
25845
25845
  UL(Z.view), lE(Z), se.mouse = [G, this.__zoom.invert(G)], nS(this), se.start();
25846
25846
  function K(Ee) {
25847
25847
  if (qy(Ee), !se.moved) {
25848
25848
  var ze = Ee.clientX - ue, Ue = Ee.clientY - F;
25849
25849
  se.moved = ze * ze + Ue * Ue > C;
25850
25850
  }
25851
- se.event(Ee).zoom("mouse", t(A(se.that.__zoom, se.mouse[0] = Fl(Ee, re), se.mouse[1]), se.extent, l));
25851
+ se.event(Ee).zoom("mouse", t(A(se.that.__zoom, se.mouse[0] = Fl(Ee, ne), se.mouse[1]), se.extent, l));
25852
25852
  }
25853
25853
  function _e(Ee) {
25854
25854
  Y.on("mousemove.zoom mouseup.zoom", null), VL(Ee.view, se.moved), qy(Ee), se.event(Ee).end();
@@ -25856,15 +25856,15 @@ function oN() {
25856
25856
  }
25857
25857
  function pe(Z, ...ae) {
25858
25858
  if (n.apply(this, arguments)) {
25859
- var re = this.__zoom, se = Fl(Z.changedTouches ? Z.changedTouches[0] : Z, this), Y = re.invert(se), G = re.k * (Z.shiftKey ? 0.5 : 2), ue = t(A(D(re, G), se, Y), e.apply(this, ae), l);
25859
+ var ne = this.__zoom, se = Fl(Z.changedTouches ? Z.changedTouches[0] : Z, this), Y = ne.invert(se), G = ne.k * (Z.shiftKey ? 0.5 : 2), ue = t(A(D(ne, G), se, Y), e.apply(this, ae), l);
25860
25860
  qy(Z), c > 0 ? _a(this).transition().duration(c).call(I, ue, se, Z) : _a(this).call($.transform, ue, se, Z);
25861
25861
  }
25862
25862
  }
25863
25863
  function oe(Z, ...ae) {
25864
25864
  if (n.apply(this, arguments)) {
25865
- var re = Z.touches, se = re.length, Y = j(this, ae, Z.changedTouches.length === se).event(Z), G, ue, F, K;
25865
+ var ne = Z.touches, se = ne.length, Y = j(this, ae, Z.changedTouches.length === se).event(Z), G, ue, F, K;
25866
25866
  for (lE(Z), ue = 0; ue < se; ++ue)
25867
- F = re[ue], K = Fl(F, this), K = [K, this.__zoom.invert(K), F.identifier], Y.touch0 ? !Y.touch1 && Y.touch0[2] !== K[2] && (Y.touch1 = K, Y.taps = 0) : (Y.touch0 = K, G = !0, Y.taps = 1 + !!v);
25867
+ F = ne[ue], K = Fl(F, this), K = [K, this.__zoom.invert(K), F.identifier], Y.touch0 ? !Y.touch1 && Y.touch0[2] !== K[2] && (Y.touch1 = K, Y.taps = 0) : (Y.touch0 = K, G = !0, Y.taps = 1 + !!v);
25868
25868
  v && (v = clearTimeout(v)), G && (Y.taps < 2 && (y = K[0], v = setTimeout(function() {
25869
25869
  v = null;
25870
25870
  }, S)), nS(this), Y.start());
@@ -25872,26 +25872,26 @@ function oN() {
25872
25872
  }
25873
25873
  function W(Z, ...ae) {
25874
25874
  if (this.__zooming) {
25875
- var re = j(this, ae).event(Z), se = Z.changedTouches, Y = se.length, G, ue, F, K;
25875
+ var ne = j(this, ae).event(Z), se = Z.changedTouches, Y = se.length, G, ue, F, K;
25876
25876
  for (qy(Z), G = 0; G < Y; ++G)
25877
- ue = se[G], F = Fl(ue, this), re.touch0 && re.touch0[2] === ue.identifier ? re.touch0[0] = F : re.touch1 && re.touch1[2] === ue.identifier && (re.touch1[0] = F);
25878
- if (ue = re.that.__zoom, re.touch1) {
25879
- var _e = re.touch0[0], Ee = re.touch0[1], ze = re.touch1[0], Ue = re.touch1[1], Ve = (Ve = ze[0] - _e[0]) * Ve + (Ve = ze[1] - _e[1]) * Ve, $e = ($e = Ue[0] - Ee[0]) * $e + ($e = Ue[1] - Ee[1]) * $e;
25877
+ ue = se[G], F = Fl(ue, this), ne.touch0 && ne.touch0[2] === ue.identifier ? ne.touch0[0] = F : ne.touch1 && ne.touch1[2] === ue.identifier && (ne.touch1[0] = F);
25878
+ if (ue = ne.that.__zoom, ne.touch1) {
25879
+ var _e = ne.touch0[0], Ee = ne.touch0[1], ze = ne.touch1[0], Ue = ne.touch1[1], Ve = (Ve = ze[0] - _e[0]) * Ve + (Ve = ze[1] - _e[1]) * Ve, $e = ($e = Ue[0] - Ee[0]) * $e + ($e = Ue[1] - Ee[1]) * $e;
25880
25880
  ue = D(ue, Math.sqrt(Ve / $e)), F = [(_e[0] + ze[0]) / 2, (_e[1] + ze[1]) / 2], K = [(Ee[0] + Ue[0]) / 2, (Ee[1] + Ue[1]) / 2];
25881
- } else if (re.touch0) F = re.touch0[0], K = re.touch0[1];
25881
+ } else if (ne.touch0) F = ne.touch0[0], K = ne.touch0[1];
25882
25882
  else return;
25883
- re.zoom("touch", t(A(ue, F, K), re.extent, l));
25883
+ ne.zoom("touch", t(A(ue, F, K), ne.extent, l));
25884
25884
  }
25885
25885
  }
25886
25886
  function le(Z, ...ae) {
25887
25887
  if (this.__zooming) {
25888
- var re = j(this, ae).event(Z), se = Z.changedTouches, Y = se.length, G, ue;
25888
+ var ne = j(this, ae).event(Z), se = Z.changedTouches, Y = se.length, G, ue;
25889
25889
  for (lE(Z), b && clearTimeout(b), b = setTimeout(function() {
25890
25890
  b = null;
25891
25891
  }, S), G = 0; G < Y; ++G)
25892
- ue = se[G], re.touch0 && re.touch0[2] === ue.identifier ? delete re.touch0 : re.touch1 && re.touch1[2] === ue.identifier && delete re.touch1;
25893
- if (re.touch1 && !re.touch0 && (re.touch0 = re.touch1, delete re.touch1), re.touch0) re.touch0[1] = this.__zoom.invert(re.touch0[0]);
25894
- else if (re.end(), re.taps === 2 && (ue = Fl(ue, this), Math.hypot(y[0] - ue[0], y[1] - ue[1]) < R)) {
25892
+ ue = se[G], ne.touch0 && ne.touch0[2] === ue.identifier ? delete ne.touch0 : ne.touch1 && ne.touch1[2] === ue.identifier && delete ne.touch1;
25893
+ if (ne.touch1 && !ne.touch0 && (ne.touch0 = ne.touch1, delete ne.touch1), ne.touch0) ne.touch0[1] = this.__zoom.invert(ne.touch0[0]);
25894
+ else if (ne.end(), ne.taps === 2 && (ue = Fl(ue, this), Math.hypot(y[0] - ue[0], y[1] - ue[1]) < R)) {
25895
25895
  var F = _a(this).on("dblclick.zoom");
25896
25896
  F && F.apply(this, arguments);
25897
25897
  }
@@ -26888,12 +26888,12 @@ function r7({ onNodeMouseDown: n, getStoreItems: e, onDragStart: t, onDrag: r, o
26888
26888
  function R({ noDragClassName: D, handleSelector: A, domNode: L, isSelectable: I, nodeId: j, nodeClickDistance: U = 0 }) {
26889
26889
  b = _a(L);
26890
26890
  function ee({ x: W, y: le }) {
26891
- const { nodeLookup: Z, nodeExtent: ae, snapGrid: re, snapToGrid: se, nodeOrigin: Y, onNodeDrag: G, onSelectionDrag: ue, onError: F, updateNodePositions: K } = e();
26891
+ const { nodeLookup: Z, nodeExtent: ae, snapGrid: ne, snapToGrid: se, nodeOrigin: Y, onNodeDrag: G, onSelectionDrag: ue, onError: F, updateNodePositions: K } = e();
26892
26892
  s = { x: W, y: le };
26893
26893
  let _e = !1;
26894
26894
  const Ee = c.size > 1, ze = Ee && ae ? cT(f0(c)) : null, Ue = Ee && se ? n7({
26895
26895
  dragItems: c,
26896
- snapGrid: re,
26896
+ snapGrid: ne,
26897
26897
  x: W,
26898
26898
  y: le
26899
26899
  }) : null;
@@ -26904,7 +26904,7 @@ function r7({ onNodeMouseDown: n, getStoreItems: e, onDragStart: t, onDrag: r, o
26904
26904
  se && (Ze = Ue ? {
26905
26905
  x: Math.round(Ze.x + Ue.x),
26906
26906
  y: Math.round(Ze.y + Ue.y)
26907
- } : h0(Ze, re));
26907
+ } : h0(Ze, ne));
26908
26908
  let st = null;
26909
26909
  if (Ee && ae && !$e.extent && ze) {
26910
26910
  const { positionAbsolute: rt } = $e.internals, Qt = rt.x - ze.x + ae[0][0], _t = rt.x + $e.measured.width - ze.x2 + ae[1][0], St = rt.y - ze.y + ae[0][1], _n = rt.y + $e.measured.height - ze.y2 + ae[1][1];
@@ -26940,14 +26940,14 @@ function r7({ onNodeMouseDown: n, getStoreItems: e, onDragStart: t, onDrag: r, o
26940
26940
  f = !1, cancelAnimationFrame(l);
26941
26941
  return;
26942
26942
  }
26943
- const [re, se] = hN(p, v, Z);
26944
- (re !== 0 || se !== 0) && (s.x = (s.x ?? 0) - re / W[2], s.y = (s.y ?? 0) - se / W[2], await le({ x: re, y: se }) && ee(s)), l = requestAnimationFrame(ie);
26943
+ const [ne, se] = hN(p, v, Z);
26944
+ (ne !== 0 || se !== 0) && (s.x = (s.x ?? 0) - ne / W[2], s.y = (s.y ?? 0) - se / W[2], await le({ x: ne, y: se }) && ee(s)), l = requestAnimationFrame(ie);
26945
26945
  }
26946
26946
  function pe(W) {
26947
26947
  var Ee;
26948
- const { nodeLookup: le, multiSelectionActive: Z, nodesDraggable: ae, transform: re, snapGrid: se, snapToGrid: Y, selectNodesOnDrag: G, onNodeDragStart: ue, onSelectionDragStart: F, unselectNodesAndEdges: K } = e();
26948
+ const { nodeLookup: le, multiSelectionActive: Z, nodesDraggable: ae, transform: ne, snapGrid: se, snapToGrid: Y, selectNodesOnDrag: G, onNodeDragStart: ue, onSelectionDragStart: F, unselectNodesAndEdges: K } = e();
26949
26949
  y = !0, (!G || !I) && !Z && j && ((Ee = le.get(j)) != null && Ee.selected || K()), I && G && j && (n == null || n(j));
26950
- const _e = mO(W.sourceEvent, { transform: re, snapGrid: se, snapToGrid: Y, containerBounds: v });
26950
+ const _e = mO(W.sourceEvent, { transform: ne, snapGrid: se, snapToGrid: Y, containerBounds: v });
26951
26951
  if (s = _e, c = t7(le, ae, _e, j), c.size > 0 && (t || ue || !j && F)) {
26952
26952
  const [ze, Ue] = uE({
26953
26953
  nodeId: j,
@@ -26958,10 +26958,10 @@ function r7({ onNodeMouseDown: n, getStoreItems: e, onDragStart: t, onDrag: r, o
26958
26958
  }
26959
26959
  }
26960
26960
  const oe = ZL().clickDistance(U).on("start", (W) => {
26961
- const { domNode: le, nodeDragThreshold: Z, transform: ae, snapGrid: re, snapToGrid: se } = e();
26962
- v = (le == null ? void 0 : le.getBoundingClientRect()) || null, S = !1, E = !1, C = W.sourceEvent, Z === 0 && pe(W), s = mO(W.sourceEvent, { transform: ae, snapGrid: re, snapToGrid: se, containerBounds: v }), p = ql(W.sourceEvent, v);
26961
+ const { domNode: le, nodeDragThreshold: Z, transform: ae, snapGrid: ne, snapToGrid: se } = e();
26962
+ v = (le == null ? void 0 : le.getBoundingClientRect()) || null, S = !1, E = !1, C = W.sourceEvent, Z === 0 && pe(W), s = mO(W.sourceEvent, { transform: ae, snapGrid: ne, snapToGrid: se, containerBounds: v }), p = ql(W.sourceEvent, v);
26963
26963
  }).on("drag", (W) => {
26964
- const { autoPanOnNodeDrag: le, transform: Z, snapGrid: ae, snapToGrid: re, nodeDragThreshold: se, nodeLookup: Y } = e(), G = mO(W.sourceEvent, { transform: Z, snapGrid: ae, snapToGrid: re, containerBounds: v });
26964
+ const { autoPanOnNodeDrag: le, transform: Z, snapGrid: ae, snapToGrid: ne, nodeDragThreshold: se, nodeLookup: Y } = e(), G = mO(W.sourceEvent, { transform: Z, snapGrid: ae, snapToGrid: ne, containerBounds: v });
26965
26965
  if (C = W.sourceEvent, (W.sourceEvent.type === "touchmove" && W.sourceEvent.touches.length > 1 || // if user deletes a node while dragging, we need to abort the drag to prevent errors
26966
26966
  j && !Y.has(j)) && (S = !0), !S) {
26967
26967
  if (!f && le && y && (f = !0, ie()), !y) {
@@ -26972,15 +26972,15 @@ function r7({ onNodeMouseDown: n, getStoreItems: e, onDragStart: t, onDrag: r, o
26972
26972
  }
26973
26973
  }).on("end", (W) => {
26974
26974
  if (!(!y || S) && (f = !1, y = !1, cancelAnimationFrame(l), c.size > 0)) {
26975
- const { nodeLookup: le, updateNodePositions: Z, onNodeDragStop: ae, onSelectionDragStop: re } = e();
26976
- if (E && (Z(c, !1), E = !1), i || ae || !j && re) {
26975
+ const { nodeLookup: le, updateNodePositions: Z, onNodeDragStop: ae, onSelectionDragStop: ne } = e();
26976
+ if (E && (Z(c, !1), E = !1), i || ae || !j && ne) {
26977
26977
  const [se, Y] = uE({
26978
26978
  nodeId: j,
26979
26979
  dragItems: c,
26980
26980
  nodeLookup: le,
26981
26981
  dragging: !1
26982
26982
  });
26983
- i == null || i(W.sourceEvent, c, se, Y), ae == null || ae(W.sourceEvent, se, Y), j || re == null || re(W.sourceEvent, Y);
26983
+ i == null || i(W.sourceEvent, c, se, Y), ae == null || ae(W.sourceEvent, se, Y), j || ne == null || ne(W.sourceEvent, Y);
26984
26984
  }
26985
26985
  }
26986
26986
  }).filter((W) => {
@@ -27050,7 +27050,7 @@ function l7(n, { connectionMode: e, connectionRadius: t, handleId: r, nodeId: i,
27050
27050
  const ie = vN(n.target);
27051
27051
  let pe = 0, oe;
27052
27052
  const { x: W, y: le } = ql(n), Z = $N(s, ee), ae = c == null ? void 0 : c.getBoundingClientRect();
27053
- let re = !1;
27053
+ let ne = !1;
27054
27054
  if (!ae || !Z)
27055
27055
  return;
27056
27056
  const se = RN(i, Z, r, f, e);
@@ -27083,11 +27083,11 @@ function l7(n, { connectionMode: e, connectionRadius: t, handleId: r, nodeId: i,
27083
27083
  pointer: Y
27084
27084
  };
27085
27085
  function $e() {
27086
- re = !0, A(Ve), E == null || E(n, { nodeId: i, handleId: r, handleType: Z });
27086
+ ne = !0, A(Ve), E == null || E(n, { nodeId: i, handleId: r, handleType: Z });
27087
27087
  }
27088
27088
  U === 0 && $e();
27089
27089
  function Ze(mt) {
27090
- if (!re) {
27090
+ if (!ne) {
27091
27091
  const { x: _n, y: br } = ql(mt), Wt = _n - W, Jt = br - le;
27092
27092
  if (!(Wt * Wt + Jt * Jt > U * U))
27093
27093
  return;
@@ -27126,7 +27126,7 @@ function l7(n, { connectionMode: e, connectionRadius: t, handleId: r, nodeId: i,
27126
27126
  }
27127
27127
  function st(mt) {
27128
27128
  if (!("touches" in mt && mt.touches.length > 0)) {
27129
- if (re) {
27129
+ if (ne) {
27130
27130
  (oe || K) && ue && F && (C == null || C(ue));
27131
27131
  const { inProgress: ft, ...rt } = Ve, Qt = {
27132
27132
  ...rt,
@@ -27331,7 +27331,7 @@ function v7({ domNode: n, minZoom: e, maxZoom: t, translateExtent: r, viewport:
27331
27331
  y == null || y.interpolate((W == null ? void 0 : W.interpolate) === "linear" ? pO : Jw).transform(dE(b, W == null ? void 0 : W.duration, W == null ? void 0 : W.ease, () => le(!0)), oe);
27332
27332
  }) : Promise.resolve(!1);
27333
27333
  }
27334
- function R({ noWheelClassName: oe, noPanClassName: W, onPaneContextMenu: le, userSelectionActive: Z, panOnScroll: ae, panOnDrag: re, panOnScrollMode: se, panOnScrollSpeed: Y, preventScrolling: G, zoomOnPinch: ue, zoomOnScroll: F, zoomOnDoubleClick: K, zoomActivationKeyPressed: _e, lib: Ee, onTransformChange: ze, connectionInProgress: Ue, paneClickDistance: Ve, selectionOnDrag: $e }) {
27334
+ function R({ noWheelClassName: oe, noPanClassName: W, onPaneContextMenu: le, userSelectionActive: Z, panOnScroll: ae, panOnDrag: ne, panOnScrollMode: se, panOnScrollSpeed: Y, preventScrolling: G, zoomOnPinch: ue, zoomOnScroll: F, zoomOnDoubleClick: K, zoomActivationKeyPressed: _e, lib: Ee, onTransformChange: ze, connectionInProgress: Ue, paneClickDistance: Ve, selectionOnDrag: $e }) {
27335
27335
  Z && !p.isZoomingOrPanning && $();
27336
27336
  const Ze = ae && !_e && !Z;
27337
27337
  y.clickDistance($e ? 1 / 0 : !Yl(Ve) || Ve < 0 ? 0 : Ve);
@@ -27360,7 +27360,7 @@ function v7({ domNode: n, minZoom: e, maxZoom: t, translateExtent: r, viewport:
27360
27360
  y.on("start", ft);
27361
27361
  const rt = p7({
27362
27362
  zoomPanValues: p,
27363
- panOnDrag: re,
27363
+ panOnDrag: ne,
27364
27364
  onPaneContextMenu: !!le,
27365
27365
  onPanZoom: s,
27366
27366
  onTransformChange: ze
@@ -27368,7 +27368,7 @@ function v7({ domNode: n, minZoom: e, maxZoom: t, translateExtent: r, viewport:
27368
27368
  y.on("zoom", rt);
27369
27369
  const Qt = m7({
27370
27370
  zoomPanValues: p,
27371
- panOnDrag: re,
27371
+ panOnDrag: ne,
27372
27372
  panOnScroll: ae,
27373
27373
  onPaneContextMenu: le,
27374
27374
  onPanZoomEnd: c,
@@ -27378,7 +27378,7 @@ function v7({ domNode: n, minZoom: e, maxZoom: t, translateExtent: r, viewport:
27378
27378
  }
27379
27379
  const mt = g7({
27380
27380
  zoomActivationKeyPressed: _e,
27381
- panOnDrag: re,
27381
+ panOnDrag: ne,
27382
27382
  zoomOnScroll: F,
27383
27383
  panOnScroll: ae,
27384
27384
  zoomOnDoubleClick: K,
@@ -27396,7 +27396,7 @@ function v7({ domNode: n, minZoom: e, maxZoom: t, translateExtent: r, viewport:
27396
27396
  }
27397
27397
  async function D(oe, W, le) {
27398
27398
  const Z = cE(oe), ae = y == null ? void 0 : y.constrain()(Z, W, le);
27399
- return ae && await C(ae), new Promise((re) => re(ae));
27399
+ return ae && await C(ae), new Promise((ne) => ne(ae));
27400
27400
  }
27401
27401
  async function A(oe, W) {
27402
27402
  const le = cE(oe);
@@ -27514,11 +27514,11 @@ function O7(n, e, t, r, i, s, l, c) {
27514
27514
  }
27515
27515
  }
27516
27516
  ie = ie + (ie < 0 ? ae : -ae), ee = ee + (ee < 0 ? Z : -Z), i && (b ? pe > oe * U ? ie = (wD(f, p) ? -ee : ee) / U : ee = (wD(f, p) ? -ie : ie) * U : v ? (ie = ee / U, p = f) : (ee = ie * U, f = p));
27517
- const re = f ? A + ee : A, se = p ? L + ie : L;
27517
+ const ne = f ? A + ee : A, se = p ? L + ie : L;
27518
27518
  return {
27519
27519
  width: I + (f ? -ee : ee),
27520
27520
  height: j + (p ? -ie : ie),
27521
- x: s[0] * ee * (f ? -1 : 1) + re,
27521
+ x: s[0] * ee * (f ? -1 : 1) + ne,
27522
27522
  y: s[1] * ie * (p ? -1 : 1) + se
27523
27523
  };
27524
27524
  }
@@ -27564,7 +27564,7 @@ function S7({ domNode: n, nodeId: e, getStoreItems: t, onChange: r, onEnd: i })
27564
27564
  };
27565
27565
  let A, L = null, I = [], j, U, ee, ie = !1;
27566
27566
  const pe = ZL().on("start", (oe) => {
27567
- const { nodeLookup: W, transform: le, snapGrid: Z, snapToGrid: ae, nodeOrigin: re, paneDomNode: se } = t();
27567
+ const { nodeLookup: W, transform: le, snapGrid: Z, snapToGrid: ae, nodeOrigin: ne, paneDomNode: se } = t();
27568
27568
  if (A = W.get(e), !A)
27569
27569
  return;
27570
27570
  L = (se == null ? void 0 : se.getBoundingClientRect()) ?? null;
@@ -27591,7 +27591,7 @@ function S7({ domNode: n, nodeId: e, getStoreItems: t, onChange: r, onEnd: i })
27591
27591
  position: { ...F.position },
27592
27592
  extent: F.extent
27593
27593
  }), F.extent === "parent" || F.expandParent)) {
27594
- const K = w7(F, A, F.origin ?? re);
27594
+ const K = w7(F, A, F.origin ?? ne);
27595
27595
  ee ? ee = [
27596
27596
  [Math.min(K[0][0], ee[0][0]), Math.min(K[0][1], ee[0][1])],
27597
27597
  [Math.max(K[1][0], ee[1][0]), Math.max(K[1][1], ee[1][1])]
@@ -27599,7 +27599,7 @@ function S7({ domNode: n, nodeId: e, getStoreItems: t, onChange: r, onEnd: i })
27599
27599
  }
27600
27600
  S == null || S(oe, { ...$ });
27601
27601
  }).on("drag", (oe) => {
27602
- const { transform: W, snapGrid: le, snapToGrid: Z, nodeOrigin: ae } = t(), re = mO(oe.sourceEvent, {
27602
+ const { transform: W, snapGrid: le, snapToGrid: Z, nodeOrigin: ae } = t(), ne = mO(oe.sourceEvent, {
27603
27603
  transform: W,
27604
27604
  snapGrid: le,
27605
27605
  snapToGrid: Z,
@@ -27607,7 +27607,7 @@ function S7({ domNode: n, nodeId: e, getStoreItems: t, onChange: r, onEnd: i })
27607
27607
  }), se = [];
27608
27608
  if (!A)
27609
27609
  return;
27610
- const { x: Y, y: G, width: ue, height: F } = $, K = {}, _e = A.origin ?? ae, { width: Ee, height: ze, x: Ue, y: Ve } = O7(D, l.controlDirection, re, l.boundaries, l.keepAspectRatio, _e, U, ee), $e = Ee !== ue, Ze = ze !== F, st = Ue !== Y && $e, mt = Ve !== G && Ze;
27610
+ const { x: Y, y: G, width: ue, height: F } = $, K = {}, _e = A.origin ?? ae, { width: Ee, height: ze, x: Ue, y: Ve } = O7(D, l.controlDirection, ne, l.boundaries, l.keepAspectRatio, _e, U, ee), $e = Ee !== ue, Ze = ze !== F, st = Ue !== Y && $e, mt = Ve !== G && Ze;
27611
27611
  if (!st && !mt && !$e && !Ze)
27612
27612
  return;
27613
27613
  if ((st || mt || _e[0] === 1 || _e[1] === 1) && (K.x = st ? Ue : $.x, K.y = mt ? Ve : $.y, $.x = K.x, $.y = K.y, I.length > 0)) {
@@ -28584,18 +28584,18 @@ function hY({ onPaneContextMenu: n, zoomOnScroll: e = !0, zoomOnPinch: t = !0, p
28584
28584
  maxZoom: y,
28585
28585
  translateExtent: p,
28586
28586
  viewport: f,
28587
- onDraggingChange: (re) => I.setState((se) => se.paneDragging === re ? se : { paneDragging: re }),
28588
- onPanZoomStart: (re, se) => {
28587
+ onDraggingChange: (ne) => I.setState((se) => se.paneDragging === ne ? se : { paneDragging: ne }),
28588
+ onPanZoomStart: (ne, se) => {
28589
28589
  const { onViewportChangeStart: Y, onMoveStart: G } = I.getState();
28590
- G == null || G(re, se), Y == null || Y(se);
28590
+ G == null || G(ne, se), Y == null || Y(se);
28591
28591
  },
28592
- onPanZoom: (re, se) => {
28592
+ onPanZoom: (ne, se) => {
28593
28593
  const { onViewportChange: Y, onMove: G } = I.getState();
28594
- G == null || G(re, se), Y == null || Y(se);
28594
+ G == null || G(ne, se), Y == null || Y(se);
28595
28595
  },
28596
- onPanZoomEnd: (re, se) => {
28596
+ onPanZoomEnd: (ne, se) => {
28597
28597
  const { onViewportChangeEnd: Y, onMoveEnd: G } = I.getState();
28598
- G == null || G(re, se), Y == null || Y(se);
28598
+ G == null || G(ne, se), Y == null || Y(se);
28599
28599
  }
28600
28600
  });
28601
28601
  const { x: le, y: Z, zoom: ae } = oe.current.getViewport();
@@ -28604,8 +28604,8 @@ function hY({ onPaneContextMenu: n, zoomOnScroll: e = !0, zoomOnPinch: t = !0, p
28604
28604
  transform: [le, Z, ae],
28605
28605
  domNode: j.current.closest(".react-flow")
28606
28606
  }), () => {
28607
- var re;
28608
- (re = oe.current) == null || re.destroy();
28607
+ var ne;
28608
+ (ne = oe.current) == null || ne.destroy();
28609
28609
  };
28610
28610
  }
28611
28611
  }, []), q.useEffect(() => {
@@ -28749,7 +28749,7 @@ function vY({ isSelecting: n, selectionKeyPressed: e, selectionMode: t = DO.Full
28749
28749
  userSelectionActive: !0,
28750
28750
  nodesSelectionActive: !1
28751
28751
  });
28752
- }, re = (Y) => {
28752
+ }, ne = (Y) => {
28753
28753
  var G, ue;
28754
28754
  Y.button === 0 && ((ue = (G = Y.target) == null ? void 0 : G.releasePointerCapture) == null || ue.call(G, Y.pointerId), !R && Y.target === I.current && C.getState().userSelectionRect && (pe == null || pe(Y)), C.setState({
28755
28755
  userSelectionActive: !1,
@@ -28758,7 +28758,7 @@ function vY({ isSelecting: n, selectionKeyPressed: e, selectionMode: t = DO.Full
28758
28758
  nodesSelectionActive: U.current.size > 0
28759
28759
  })));
28760
28760
  }, se = r === !0 || Array.isArray(r) && r.includes(0);
28761
- return k.jsxs("div", { className: ki(["react-flow__pane", { draggable: se, dragging: D, selection: n }]), onClick: L ? void 0 : gE(pe, I), onContextMenu: gE(oe, I), onWheel: gE(W, I), onPointerEnter: L ? void 0 : y, onPointerMove: L ? ae : b, onPointerUp: L ? re : void 0, onPointerDownCapture: L ? Z : void 0, onClickCapture: L ? le : void 0, onPointerLeave: S, ref: I, style: h1, children: [E, k.jsx(mY, {})] });
28761
+ return k.jsxs("div", { className: ki(["react-flow__pane", { draggable: se, dragging: D, selection: n }]), onClick: L ? void 0 : gE(pe, I), onContextMenu: gE(oe, I), onWheel: gE(W, I), onPointerEnter: L ? void 0 : y, onPointerMove: L ? ae : b, onPointerUp: L ? ne : void 0, onPointerDownCapture: L ? Z : void 0, onClickCapture: L ? le : void 0, onPointerLeave: S, ref: I, style: h1, children: [E, k.jsx(mY, {})] });
28762
28762
  }
28763
28763
  function mT({ id: n, store: e, unselect: t = !1, nodeRef: r }) {
28764
28764
  const { addSelectedNodes: i, unselectNodesAndEdges: s, multiSelectionActive: l, nodeLookup: c, onError: f } = e.getState(), p = c.get(n);
@@ -28850,9 +28850,9 @@ const YN = () => q.useContext(jR), bY = (n) => ({
28850
28850
  };
28851
28851
  };
28852
28852
  function wY({ type: n = "source", position: e = Mt.Top, isValidConnection: t, isConnectable: r = !0, isConnectableStart: i = !0, isConnectableEnd: s = !0, id: l, onConnect: c, children: f, className: p, onMouseDown: v, onTouchStart: y, ...b }, S) {
28853
- var ae, re;
28853
+ var ae, ne;
28854
28854
  const E = l || null, C = n === "target", R = Tr(), $ = YN(), { connectOnClick: D, noPanClassName: A, rfId: L } = Tn(bY, Ar), { connectingFrom: I, connectingTo: j, clickConnecting: U, isPossibleEndHandle: ee, connectionInProcess: ie, clickConnectionInProcess: pe, valid: oe } = Tn(xY($, E, n), Ar);
28855
- $ || (re = (ae = R.getState()).onError) == null || re.call(ae, "010", Ra.error010());
28855
+ $ || (ne = (ae = R.getState()).onError) == null || ne.call(ae, "010", Ra.error010());
28856
28856
  const W = (se) => {
28857
28857
  const { defaultEdgeOptions: Y, onConnect: G, hasDefaultEdges: ue } = R.getState(), F = {
28858
28858
  ...Y,
@@ -29029,9 +29029,9 @@ function RY({ onSelectionContextMenu: n, noPanClassName: e, disableKeyboardA11y:
29029
29029
  } }) });
29030
29030
  }
29031
29031
  const ZD = typeof window < "u" ? window : void 0, $Y = (n) => ({ nodesSelectionActive: n.nodesSelectionActive, userSelectionActive: n.userSelectionActive });
29032
- function qN({ children: n, onPaneClick: e, onPaneMouseEnter: t, onPaneMouseMove: r, onPaneMouseLeave: i, onPaneContextMenu: s, onPaneScroll: l, paneClickDistance: c, deleteKeyCode: f, selectionKeyCode: p, selectionOnDrag: v, selectionMode: y, onSelectionStart: b, onSelectionEnd: S, multiSelectionKeyCode: E, panActivationKeyCode: C, zoomActivationKeyCode: R, elementsSelectable: $, zoomOnScroll: D, zoomOnPinch: A, panOnScroll: L, panOnScrollSpeed: I, panOnScrollMode: j, zoomOnDoubleClick: U, panOnDrag: ee, defaultViewport: ie, translateExtent: pe, minZoom: oe, maxZoom: W, preventScrolling: le, onSelectionContextMenu: Z, noWheelClassName: ae, noPanClassName: re, disableKeyboardA11y: se, onViewportChange: Y, isControlledViewport: G }) {
29032
+ function qN({ children: n, onPaneClick: e, onPaneMouseEnter: t, onPaneMouseMove: r, onPaneMouseLeave: i, onPaneContextMenu: s, onPaneScroll: l, paneClickDistance: c, deleteKeyCode: f, selectionKeyCode: p, selectionOnDrag: v, selectionMode: y, onSelectionStart: b, onSelectionEnd: S, multiSelectionKeyCode: E, panActivationKeyCode: C, zoomActivationKeyCode: R, elementsSelectable: $, zoomOnScroll: D, zoomOnPinch: A, panOnScroll: L, panOnScrollSpeed: I, panOnScrollMode: j, zoomOnDoubleClick: U, panOnDrag: ee, defaultViewport: ie, translateExtent: pe, minZoom: oe, maxZoom: W, preventScrolling: le, onSelectionContextMenu: Z, noWheelClassName: ae, noPanClassName: ne, disableKeyboardA11y: se, onViewportChange: Y, isControlledViewport: G }) {
29033
29033
  const { nodesSelectionActive: ue, userSelectionActive: F } = Tn($Y, Ar), K = NO(p, { target: ZD }), _e = NO(C, { target: ZD }), Ee = _e || ee, ze = _e || L, Ue = v && Ee !== !0, Ve = K || F || Ue;
29034
- return cY({ deleteKeyCode: f, multiSelectionKeyCode: E }), k.jsx(hY, { onPaneContextMenu: s, elementsSelectable: $, zoomOnScroll: D, zoomOnPinch: A, panOnScroll: ze, panOnScrollSpeed: I, panOnScrollMode: j, zoomOnDoubleClick: U, panOnDrag: !K && Ee, defaultViewport: ie, translateExtent: pe, minZoom: oe, maxZoom: W, zoomActivationKeyCode: R, preventScrolling: le, noWheelClassName: ae, noPanClassName: re, onViewportChange: Y, isControlledViewport: G, paneClickDistance: c, selectionOnDrag: Ue, children: k.jsxs(vY, { onSelectionStart: b, onSelectionEnd: S, onPaneClick: e, onPaneMouseEnter: t, onPaneMouseMove: r, onPaneMouseLeave: i, onPaneContextMenu: s, onPaneScroll: l, panOnDrag: Ee, isSelecting: !!Ve, selectionMode: y, selectionKeyPressed: K, paneClickDistance: c, selectionOnDrag: Ue, children: [n, ue && k.jsx(RY, { onSelectionContextMenu: Z, noPanClassName: re, disableKeyboardA11y: se })] }) });
29034
+ return cY({ deleteKeyCode: f, multiSelectionKeyCode: E }), k.jsx(hY, { onPaneContextMenu: s, elementsSelectable: $, zoomOnScroll: D, zoomOnPinch: A, panOnScroll: ze, panOnScrollSpeed: I, panOnScrollMode: j, zoomOnDoubleClick: U, panOnDrag: !K && Ee, defaultViewport: ie, translateExtent: pe, minZoom: oe, maxZoom: W, zoomActivationKeyCode: R, preventScrolling: le, noWheelClassName: ae, noPanClassName: ne, onViewportChange: Y, isControlledViewport: G, paneClickDistance: c, selectionOnDrag: Ue, children: k.jsxs(vY, { onSelectionStart: b, onSelectionEnd: S, onPaneClick: e, onPaneMouseEnter: t, onPaneMouseMove: r, onPaneMouseLeave: i, onPaneContextMenu: s, onPaneScroll: l, panOnDrag: Ee, isSelecting: !!Ve, selectionMode: y, selectionKeyPressed: K, paneClickDistance: c, selectionOnDrag: Ue, children: [n, ue && k.jsx(RY, { onSelectionContextMenu: Z, noPanClassName: ne, disableKeyboardA11y: se })] }) });
29035
29035
  }
29036
29036
  qN.displayName = "FlowRenderer";
29037
29037
  const PY = q.memo(qN), MY = (n) => (e) => n ? $R(e.nodeLookup, { x: 0, y: 0, width: e.width, height: e.height }, e.transform, !0).map((t) => t.id) : Array.from(e.nodeLookup.keys());
@@ -29087,7 +29087,7 @@ function NY({ id: n, onClick: e, onMouseEnter: t, onMouseMove: r, onMouseLeave:
29087
29087
  nodeId: n,
29088
29088
  isSelectable: ie,
29089
29089
  nodeClickDistance: $
29090
- }), re = XN();
29090
+ }), ne = XN();
29091
29091
  if (A.hidden)
29092
29092
  return null;
29093
29093
  const se = rd(A), Y = EY(A), G = ie || ee || e || t || r || i, ue = t ? ($e) => t($e, { ...L.userNode }) : void 0, F = r ? ($e) => r($e, { ...L.userNode }) : void 0, K = i ? ($e) => i($e, { ...L.userNode }) : void 0, _e = s ? ($e) => s($e, { ...L.userNode }) : void 0, Ee = l ? ($e) => l($e, { ...L.userNode }) : void 0, ze = ($e) => {
@@ -29116,7 +29116,7 @@ function NY({ id: n, onClick: e, onMouseEnter: t, onMouseMove: r, onMouseLeave:
29116
29116
  x: ~~L.positionAbsolute.x,
29117
29117
  y: ~~L.positionAbsolute.y
29118
29118
  })
29119
- }), re({
29119
+ }), ne({
29120
29120
  direction: RS[$e.key],
29121
29121
  factor: $e.shiftKey ? 4 : 1
29122
29122
  });
@@ -29402,7 +29402,7 @@ function e9({ isReconnectable: n, reconnectRadius: e, edge: t, sourceX: r, sourc
29402
29402
  const E = Tr(), C = (L, I) => {
29403
29403
  if (L.button !== 0)
29404
29404
  return;
29405
- const { autoPanOnConnect: j, domNode: U, connectionMode: ee, connectionRadius: ie, lib: pe, onConnectStart: oe, cancelConnection: W, nodeLookup: le, rfId: Z, panBy: ae, updateConnection: re } = E.getState(), se = I.type === "target", Y = (F, K) => {
29405
+ const { autoPanOnConnect: j, domNode: U, connectionMode: ee, connectionRadius: ie, lib: pe, onConnectStart: oe, cancelConnection: W, nodeLookup: le, rfId: Z, panBy: ae, updateConnection: ne } = E.getState(), se = I.type === "target", Y = (F, K) => {
29406
29406
  b(!1), y == null || y(F, t, I.type, K);
29407
29407
  }, G = (F) => p == null ? void 0 : p(t, F), ue = (F, K) => {
29408
29408
  b(!0), v == null || v(L, t, I.type), oe == null || oe(F, K);
@@ -29432,7 +29432,7 @@ function e9({ isReconnectable: n, reconnectRadius: e, edge: t, sourceX: r, sourc
29432
29432
  return (_e = (K = E.getState()).onConnectEnd) == null ? void 0 : _e.call(K, ...F);
29433
29433
  },
29434
29434
  onReconnectEnd: Y,
29435
- updateConnection: re,
29435
+ updateConnection: ne,
29436
29436
  getTransform: () => E.getState().transform,
29437
29437
  getFromHandle: () => E.getState().connection.fromHandle,
29438
29438
  dragThreshold: E.getState().connectionDragThreshold,
@@ -29447,7 +29447,7 @@ function t9({ id: n, edgesFocusable: e, edgesReconnectable: t, elementsSelectabl
29447
29447
  A = L ? { ...L, ...A } : A;
29448
29448
  let I = A.type || "default", j = (C == null ? void 0 : C[I]) || WD[I];
29449
29449
  j === void 0 && ($ == null || $("011", Ra.error011(I)), I = "default", j = (C == null ? void 0 : C.default) || WD.default);
29450
- const U = !!(A.focusable || e && typeof A.focusable > "u"), ee = typeof y < "u" && (A.reconnectable || t && typeof A.reconnectable > "u"), ie = !!(A.selectable || r && typeof A.selectable > "u"), pe = q.useRef(null), [oe, W] = q.useState(!1), [le, Z] = q.useState(!1), ae = Tr(), { zIndex: re, sourceX: se, sourceY: Y, targetX: G, targetY: ue, sourcePosition: F, targetPosition: K } = Tn(q.useCallback((ft) => {
29450
+ const U = !!(A.focusable || e && typeof A.focusable > "u"), ee = typeof y < "u" && (A.reconnectable || t && typeof A.reconnectable > "u"), ie = !!(A.selectable || r && typeof A.selectable > "u"), pe = q.useRef(null), [oe, W] = q.useState(!1), [le, Z] = q.useState(!1), ae = Tr(), { zIndex: ne, sourceX: se, sourceY: Y, targetX: G, targetY: ue, sourcePosition: F, targetPosition: K } = Tn(q.useCallback((ft) => {
29451
29451
  const rt = ft.nodeLookup.get(A.source), Qt = ft.nodeLookup.get(A.target);
29452
29452
  if (!rt || !Qt)
29453
29453
  return {
@@ -29498,7 +29498,7 @@ function t9({ id: n, edgesFocusable: e, edgesReconnectable: t, elementsSelectabl
29498
29498
  ft.key === "Escape" ? ((rt = pe.current) == null || rt.blur(), Qt({ edges: [A] })) : _t([n]);
29499
29499
  }
29500
29500
  };
29501
- return k.jsx("svg", { style: { zIndex: re }, children: k.jsxs("g", { className: ki([
29501
+ return k.jsx("svg", { style: { zIndex: ne }, children: k.jsxs("g", { className: ki([
29502
29502
  "react-flow__edge",
29503
29503
  `react-flow__edge-${I}`,
29504
29504
  A.className,
@@ -29630,8 +29630,8 @@ function g9() {
29630
29630
  }
29631
29631
  }, []);
29632
29632
  }
29633
- function pz({ nodeTypes: n, edgeTypes: e, onInit: t, onNodeClick: r, onEdgeClick: i, onNodeDoubleClick: s, onEdgeDoubleClick: l, onNodeMouseEnter: c, onNodeMouseMove: f, onNodeMouseLeave: p, onNodeContextMenu: v, onSelectionContextMenu: y, onSelectionStart: b, onSelectionEnd: S, connectionLineType: E, connectionLineStyle: C, connectionLineComponent: R, connectionLineContainerStyle: $, selectionKeyCode: D, selectionOnDrag: A, selectionMode: L, multiSelectionKeyCode: I, panActivationKeyCode: j, zoomActivationKeyCode: U, deleteKeyCode: ee, onlyRenderVisibleElements: ie, elementsSelectable: pe, defaultViewport: oe, translateExtent: W, minZoom: le, maxZoom: Z, preventScrolling: ae, defaultMarkerColor: re, zoomOnScroll: se, zoomOnPinch: Y, panOnScroll: G, panOnScrollSpeed: ue, panOnScrollMode: F, zoomOnDoubleClick: K, panOnDrag: _e, onPaneClick: Ee, onPaneMouseEnter: ze, onPaneMouseMove: Ue, onPaneMouseLeave: Ve, onPaneScroll: $e, onPaneContextMenu: Ze, paneClickDistance: st, nodeClickDistance: mt, onEdgeContextMenu: ft, onEdgeMouseEnter: rt, onEdgeMouseMove: Qt, onEdgeMouseLeave: _t, reconnectRadius: St, onReconnect: _n, onReconnectStart: br, onReconnectEnd: Wt, noDragClassName: Jt, noWheelClassName: on, noPanClassName: Xt, disableKeyboardA11y: tr, nodeExtent: oi, rfId: ln, viewport: Kn, onViewportChange: nr }) {
29634
- return GD(n), GD(e), g9(), a9(t), u9(Kn), k.jsx(PY, { onPaneClick: Ee, onPaneMouseEnter: ze, onPaneMouseMove: Ue, onPaneMouseLeave: Ve, onPaneContextMenu: Ze, onPaneScroll: $e, paneClickDistance: st, deleteKeyCode: ee, selectionKeyCode: D, selectionOnDrag: A, selectionMode: L, onSelectionStart: b, onSelectionEnd: S, multiSelectionKeyCode: I, panActivationKeyCode: j, zoomActivationKeyCode: U, elementsSelectable: pe, zoomOnScroll: se, zoomOnPinch: Y, zoomOnDoubleClick: K, panOnScroll: G, panOnScrollSpeed: ue, panOnScrollMode: F, panOnDrag: _e, defaultViewport: oe, translateExtent: W, minZoom: le, maxZoom: Z, onSelectionContextMenu: y, preventScrolling: ae, noDragClassName: Jt, noWheelClassName: on, noPanClassName: Xt, disableKeyboardA11y: tr, onViewportChange: nr, isControlledViewport: !!Kn, children: k.jsxs(s9, { children: [k.jsx(i9, { edgeTypes: e, onEdgeClick: i, onEdgeDoubleClick: l, onReconnect: _n, onReconnectStart: br, onReconnectEnd: Wt, onlyRenderVisibleElements: ie, onEdgeContextMenu: ft, onEdgeMouseEnter: rt, onEdgeMouseMove: Qt, onEdgeMouseLeave: _t, reconnectRadius: St, defaultMarkerColor: re, noPanClassName: Xt, disableKeyboardA11y: tr, rfId: ln }), k.jsx(p9, { style: C, type: E, component: R, containerStyle: $ }), k.jsx("div", { className: "react-flow__edgelabel-renderer" }), k.jsx(IY, { nodeTypes: n, onNodeClick: r, onNodeDoubleClick: s, onNodeMouseEnter: c, onNodeMouseMove: f, onNodeMouseLeave: p, onNodeContextMenu: v, nodeClickDistance: mt, onlyRenderVisibleElements: ie, noPanClassName: Xt, noDragClassName: Jt, disableKeyboardA11y: tr, nodeExtent: oi, rfId: ln }), k.jsx("div", { className: "react-flow__viewport-portal" })] }) });
29633
+ function pz({ nodeTypes: n, edgeTypes: e, onInit: t, onNodeClick: r, onEdgeClick: i, onNodeDoubleClick: s, onEdgeDoubleClick: l, onNodeMouseEnter: c, onNodeMouseMove: f, onNodeMouseLeave: p, onNodeContextMenu: v, onSelectionContextMenu: y, onSelectionStart: b, onSelectionEnd: S, connectionLineType: E, connectionLineStyle: C, connectionLineComponent: R, connectionLineContainerStyle: $, selectionKeyCode: D, selectionOnDrag: A, selectionMode: L, multiSelectionKeyCode: I, panActivationKeyCode: j, zoomActivationKeyCode: U, deleteKeyCode: ee, onlyRenderVisibleElements: ie, elementsSelectable: pe, defaultViewport: oe, translateExtent: W, minZoom: le, maxZoom: Z, preventScrolling: ae, defaultMarkerColor: ne, zoomOnScroll: se, zoomOnPinch: Y, panOnScroll: G, panOnScrollSpeed: ue, panOnScrollMode: F, zoomOnDoubleClick: K, panOnDrag: _e, onPaneClick: Ee, onPaneMouseEnter: ze, onPaneMouseMove: Ue, onPaneMouseLeave: Ve, onPaneScroll: $e, onPaneContextMenu: Ze, paneClickDistance: st, nodeClickDistance: mt, onEdgeContextMenu: ft, onEdgeMouseEnter: rt, onEdgeMouseMove: Qt, onEdgeMouseLeave: _t, reconnectRadius: St, onReconnect: _n, onReconnectStart: br, onReconnectEnd: Wt, noDragClassName: Jt, noWheelClassName: on, noPanClassName: Xt, disableKeyboardA11y: tr, nodeExtent: oi, rfId: ln, viewport: Kn, onViewportChange: nr }) {
29634
+ return GD(n), GD(e), g9(), a9(t), u9(Kn), k.jsx(PY, { onPaneClick: Ee, onPaneMouseEnter: ze, onPaneMouseMove: Ue, onPaneMouseLeave: Ve, onPaneContextMenu: Ze, onPaneScroll: $e, paneClickDistance: st, deleteKeyCode: ee, selectionKeyCode: D, selectionOnDrag: A, selectionMode: L, onSelectionStart: b, onSelectionEnd: S, multiSelectionKeyCode: I, panActivationKeyCode: j, zoomActivationKeyCode: U, elementsSelectable: pe, zoomOnScroll: se, zoomOnPinch: Y, zoomOnDoubleClick: K, panOnScroll: G, panOnScrollSpeed: ue, panOnScrollMode: F, panOnDrag: _e, defaultViewport: oe, translateExtent: W, minZoom: le, maxZoom: Z, onSelectionContextMenu: y, preventScrolling: ae, noDragClassName: Jt, noWheelClassName: on, noPanClassName: Xt, disableKeyboardA11y: tr, onViewportChange: nr, isControlledViewport: !!Kn, children: k.jsxs(s9, { children: [k.jsx(i9, { edgeTypes: e, onEdgeClick: i, onEdgeDoubleClick: l, onReconnect: _n, onReconnectStart: br, onReconnectEnd: Wt, onlyRenderVisibleElements: ie, onEdgeContextMenu: ft, onEdgeMouseEnter: rt, onEdgeMouseMove: Qt, onEdgeMouseLeave: _t, reconnectRadius: St, defaultMarkerColor: ne, noPanClassName: Xt, disableKeyboardA11y: tr, rfId: ln }), k.jsx(p9, { style: C, type: E, component: R, containerStyle: $ }), k.jsx("div", { className: "react-flow__edgelabel-renderer" }), k.jsx(IY, { nodeTypes: n, onNodeClick: r, onNodeDoubleClick: s, onNodeMouseEnter: c, onNodeMouseMove: f, onNodeMouseLeave: p, onNodeContextMenu: v, nodeClickDistance: mt, onlyRenderVisibleElements: ie, noPanClassName: Xt, noDragClassName: Jt, disableKeyboardA11y: tr, nodeExtent: oi, rfId: ln }), k.jsx("div", { className: "react-flow__viewport-portal" })] }) });
29635
29635
  }
29636
29636
  pz.displayName = "GraphView";
29637
29637
  const v9 = q.memo(pz), KD = ({ nodes: n, edges: e, defaultNodes: t, defaultEdges: r, width: i, height: s, fitView: l, fitViewOptions: c, minZoom: f = 0.5, maxZoom: p = 2, nodeOrigin: v, nodeExtent: y, zIndexMode: b = "basic" } = {}) => {
@@ -29945,11 +29945,11 @@ const b9 = {
29945
29945
  position: "relative",
29946
29946
  zIndex: 0
29947
29947
  };
29948
- function x9({ nodes: n, edges: e, defaultNodes: t, defaultEdges: r, className: i, nodeTypes: s, edgeTypes: l, onNodeClick: c, onEdgeClick: f, onInit: p, onMove: v, onMoveStart: y, onMoveEnd: b, onConnect: S, onConnectStart: E, onConnectEnd: C, onClickConnectStart: R, onClickConnectEnd: $, onNodeMouseEnter: D, onNodeMouseMove: A, onNodeMouseLeave: L, onNodeContextMenu: I, onNodeDoubleClick: j, onNodeDragStart: U, onNodeDrag: ee, onNodeDragStop: ie, onNodesDelete: pe, onEdgesDelete: oe, onDelete: W, onSelectionChange: le, onSelectionDragStart: Z, onSelectionDrag: ae, onSelectionDragStop: re, onSelectionContextMenu: se, onSelectionStart: Y, onSelectionEnd: G, onBeforeDelete: ue, connectionMode: F, connectionLineType: K = ef.Bezier, connectionLineStyle: _e, connectionLineComponent: Ee, connectionLineContainerStyle: ze, deleteKeyCode: Ue = "Backspace", selectionKeyCode: Ve = "Shift", selectionOnDrag: $e = !1, selectionMode: Ze = DO.Full, panActivationKeyCode: st = "Space", multiSelectionKeyCode: mt = LO() ? "Meta" : "Control", zoomActivationKeyCode: ft = LO() ? "Meta" : "Control", snapToGrid: rt, snapGrid: Qt, onlyRenderVisibleElements: _t = !1, selectNodesOnDrag: St, nodesDraggable: _n, autoPanOnNodeFocus: br, nodesConnectable: Wt, nodesFocusable: Jt, nodeOrigin: on = BN, edgesFocusable: Xt, edgesReconnectable: tr, elementsSelectable: oi = !0, defaultViewport: ln = q7, minZoom: Kn = 0.5, maxZoom: nr = 2, translateExtent: _i = AO, preventScrolling: Hi = !0, nodeExtent: We, defaultMarkerColor: gt = "#b1b1b7", zoomOnScroll: Vt = !0, zoomOnPinch: hn = !0, panOnScroll: zn = !1, panOnScrollSpeed: rr = 0.5, panOnScrollMode: jn = Uh.Free, zoomOnDoubleClick: pr = !0, panOnDrag: In = !0, onPaneClick: pn, onPaneMouseEnter: un, onPaneMouseMove: Ei, onPaneMouseLeave: Qn, onPaneScroll: Wi, onPaneContextMenu: Ti, paneClickDistance: ia = 1, nodeClickDistance: oa = 0, children: Fr, onReconnect: Ao, onReconnectStart: sa, onReconnectEnd: si, onEdgeContextMenu: Dr, onEdgeDoubleClick: ir, onEdgeMouseEnter: ao, onEdgeMouseMove: Ri, onEdgeMouseLeave: Hr, reconnectRadius: $i = 10, onNodesChange: ne, onEdgesChange: Ae, noDragClassName: Je = "nodrag", noWheelClassName: at = "nowheel", noPanClassName: Zt = "nopan", fitView: Lt, fitViewOptions: zt, connectOnClick: Bt, attributionPosition: cn, proOptions: yn, defaultEdgeOptions: Wn, elevateNodesOnSelect: xr = !0, elevateEdgesOnSelect: gi = !1, disableKeyboardA11y: wr = !1, autoPanOnConnect: jt, autoPanOnNodeDrag: Ke, autoPanSpeed: Pi, connectionRadius: aa, isValidConnection: lo, onError: Wr, style: Pa, id: Do, nodeDragThreshold: ai, connectionDragThreshold: uo, viewport: Xr, onViewportChange: la, width: co, height: mr, colorMode: os = "light", debug: Ln, onScroll: li, ariaLabelConfig: Xi, zIndexMode: ua = "basic", ...Qo }, ss) {
29948
+ function x9({ nodes: n, edges: e, defaultNodes: t, defaultEdges: r, className: i, nodeTypes: s, edgeTypes: l, onNodeClick: c, onEdgeClick: f, onInit: p, onMove: v, onMoveStart: y, onMoveEnd: b, onConnect: S, onConnectStart: E, onConnectEnd: C, onClickConnectStart: R, onClickConnectEnd: $, onNodeMouseEnter: D, onNodeMouseMove: A, onNodeMouseLeave: L, onNodeContextMenu: I, onNodeDoubleClick: j, onNodeDragStart: U, onNodeDrag: ee, onNodeDragStop: ie, onNodesDelete: pe, onEdgesDelete: oe, onDelete: W, onSelectionChange: le, onSelectionDragStart: Z, onSelectionDrag: ae, onSelectionDragStop: ne, onSelectionContextMenu: se, onSelectionStart: Y, onSelectionEnd: G, onBeforeDelete: ue, connectionMode: F, connectionLineType: K = ef.Bezier, connectionLineStyle: _e, connectionLineComponent: Ee, connectionLineContainerStyle: ze, deleteKeyCode: Ue = "Backspace", selectionKeyCode: Ve = "Shift", selectionOnDrag: $e = !1, selectionMode: Ze = DO.Full, panActivationKeyCode: st = "Space", multiSelectionKeyCode: mt = LO() ? "Meta" : "Control", zoomActivationKeyCode: ft = LO() ? "Meta" : "Control", snapToGrid: rt, snapGrid: Qt, onlyRenderVisibleElements: _t = !1, selectNodesOnDrag: St, nodesDraggable: _n, autoPanOnNodeFocus: br, nodesConnectable: Wt, nodesFocusable: Jt, nodeOrigin: on = BN, edgesFocusable: Xt, edgesReconnectable: tr, elementsSelectable: oi = !0, defaultViewport: ln = q7, minZoom: Kn = 0.5, maxZoom: nr = 2, translateExtent: _i = AO, preventScrolling: Hi = !0, nodeExtent: We, defaultMarkerColor: gt = "#b1b1b7", zoomOnScroll: Vt = !0, zoomOnPinch: hn = !0, panOnScroll: zn = !1, panOnScrollSpeed: rr = 0.5, panOnScrollMode: jn = Uh.Free, zoomOnDoubleClick: pr = !0, panOnDrag: In = !0, onPaneClick: pn, onPaneMouseEnter: un, onPaneMouseMove: Ei, onPaneMouseLeave: Qn, onPaneScroll: Wi, onPaneContextMenu: Ti, paneClickDistance: ia = 1, nodeClickDistance: oa = 0, children: Fr, onReconnect: Ao, onReconnectStart: sa, onReconnectEnd: si, onEdgeContextMenu: Dr, onEdgeDoubleClick: ir, onEdgeMouseEnter: ao, onEdgeMouseMove: Ri, onEdgeMouseLeave: Hr, reconnectRadius: $i = 10, onNodesChange: re, onEdgesChange: Ae, noDragClassName: Je = "nodrag", noWheelClassName: at = "nowheel", noPanClassName: Zt = "nopan", fitView: Lt, fitViewOptions: zt, connectOnClick: Bt, attributionPosition: cn, proOptions: yn, defaultEdgeOptions: Wn, elevateNodesOnSelect: xr = !0, elevateEdgesOnSelect: gi = !1, disableKeyboardA11y: wr = !1, autoPanOnConnect: jt, autoPanOnNodeDrag: Ke, autoPanSpeed: Pi, connectionRadius: aa, isValidConnection: lo, onError: Wr, style: Pa, id: Do, nodeDragThreshold: ai, connectionDragThreshold: uo, viewport: Xr, onViewportChange: la, width: co, height: mr, colorMode: os = "light", debug: Ln, onScroll: li, ariaLabelConfig: Xi, zIndexMode: ua = "basic", ...Qo }, ss) {
29949
29949
  const Ts = Do || "1", ca = eY(os), fo = q.useCallback((hl) => {
29950
29950
  hl.currentTarget.scrollTo({ top: 0, left: 0, behavior: "instant" }), li == null || li(hl);
29951
29951
  }, [li]);
29952
- return k.jsx("div", { "data-testid": "rf__wrapper", ...Qo, onScroll: fo, style: { ...Pa, ...b9 }, ref: ss, className: ki(["react-flow", i, ca]), id: Do, role: "application", children: k.jsxs(O9, { nodes: n, edges: e, width: co, height: mr, fitView: Lt, fitViewOptions: zt, minZoom: Kn, maxZoom: nr, nodeOrigin: on, nodeExtent: We, zIndexMode: ua, children: [k.jsx(v9, { onInit: p, onNodeClick: c, onEdgeClick: f, onNodeMouseEnter: D, onNodeMouseMove: A, onNodeMouseLeave: L, onNodeContextMenu: I, onNodeDoubleClick: j, nodeTypes: s, edgeTypes: l, connectionLineType: K, connectionLineStyle: _e, connectionLineComponent: Ee, connectionLineContainerStyle: ze, selectionKeyCode: Ve, selectionOnDrag: $e, selectionMode: Ze, deleteKeyCode: Ue, multiSelectionKeyCode: mt, panActivationKeyCode: st, zoomActivationKeyCode: ft, onlyRenderVisibleElements: _t, defaultViewport: ln, translateExtent: _i, minZoom: Kn, maxZoom: nr, preventScrolling: Hi, zoomOnScroll: Vt, zoomOnPinch: hn, zoomOnDoubleClick: pr, panOnScroll: zn, panOnScrollSpeed: rr, panOnScrollMode: jn, panOnDrag: In, onPaneClick: pn, onPaneMouseEnter: un, onPaneMouseMove: Ei, onPaneMouseLeave: Qn, onPaneScroll: Wi, onPaneContextMenu: Ti, paneClickDistance: ia, nodeClickDistance: oa, onSelectionContextMenu: se, onSelectionStart: Y, onSelectionEnd: G, onReconnect: Ao, onReconnectStart: sa, onReconnectEnd: si, onEdgeContextMenu: Dr, onEdgeDoubleClick: ir, onEdgeMouseEnter: ao, onEdgeMouseMove: Ri, onEdgeMouseLeave: Hr, reconnectRadius: $i, defaultMarkerColor: gt, noDragClassName: Je, noWheelClassName: at, noPanClassName: Zt, rfId: Ts, disableKeyboardA11y: wr, nodeExtent: We, viewport: Xr, onViewportChange: la }), k.jsx(J7, { nodes: n, edges: e, defaultNodes: t, defaultEdges: r, onConnect: S, onConnectStart: E, onConnectEnd: C, onClickConnectStart: R, onClickConnectEnd: $, nodesDraggable: _n, autoPanOnNodeFocus: br, nodesConnectable: Wt, nodesFocusable: Jt, edgesFocusable: Xt, edgesReconnectable: tr, elementsSelectable: oi, elevateNodesOnSelect: xr, elevateEdgesOnSelect: gi, minZoom: Kn, maxZoom: nr, nodeExtent: We, onNodesChange: ne, onEdgesChange: Ae, snapToGrid: rt, snapGrid: Qt, connectionMode: F, translateExtent: _i, connectOnClick: Bt, defaultEdgeOptions: Wn, fitView: Lt, fitViewOptions: zt, onNodesDelete: pe, onEdgesDelete: oe, onDelete: W, onNodeDragStart: U, onNodeDrag: ee, onNodeDragStop: ie, onSelectionDrag: ae, onSelectionDragStart: Z, onSelectionDragStop: re, onMove: v, onMoveStart: y, onMoveEnd: b, noPanClassName: Zt, nodeOrigin: on, rfId: Ts, autoPanOnConnect: jt, autoPanOnNodeDrag: Ke, autoPanSpeed: Pi, onError: Wr, connectionRadius: aa, isValidConnection: lo, selectNodesOnDrag: St, nodeDragThreshold: ai, connectionDragThreshold: uo, onBeforeDelete: ue, debug: Ln, ariaLabelConfig: Xi, zIndexMode: ua }), k.jsx(Y7, { onSelectionChange: le }), Fr, k.jsx(Z7, { proOptions: yn, position: cn }), k.jsx(V7, { rfId: Ts, disableKeyboardA11y: wr })] }) });
29952
+ return k.jsx("div", { "data-testid": "rf__wrapper", ...Qo, onScroll: fo, style: { ...Pa, ...b9 }, ref: ss, className: ki(["react-flow", i, ca]), id: Do, role: "application", children: k.jsxs(O9, { nodes: n, edges: e, width: co, height: mr, fitView: Lt, fitViewOptions: zt, minZoom: Kn, maxZoom: nr, nodeOrigin: on, nodeExtent: We, zIndexMode: ua, children: [k.jsx(v9, { onInit: p, onNodeClick: c, onEdgeClick: f, onNodeMouseEnter: D, onNodeMouseMove: A, onNodeMouseLeave: L, onNodeContextMenu: I, onNodeDoubleClick: j, nodeTypes: s, edgeTypes: l, connectionLineType: K, connectionLineStyle: _e, connectionLineComponent: Ee, connectionLineContainerStyle: ze, selectionKeyCode: Ve, selectionOnDrag: $e, selectionMode: Ze, deleteKeyCode: Ue, multiSelectionKeyCode: mt, panActivationKeyCode: st, zoomActivationKeyCode: ft, onlyRenderVisibleElements: _t, defaultViewport: ln, translateExtent: _i, minZoom: Kn, maxZoom: nr, preventScrolling: Hi, zoomOnScroll: Vt, zoomOnPinch: hn, zoomOnDoubleClick: pr, panOnScroll: zn, panOnScrollSpeed: rr, panOnScrollMode: jn, panOnDrag: In, onPaneClick: pn, onPaneMouseEnter: un, onPaneMouseMove: Ei, onPaneMouseLeave: Qn, onPaneScroll: Wi, onPaneContextMenu: Ti, paneClickDistance: ia, nodeClickDistance: oa, onSelectionContextMenu: se, onSelectionStart: Y, onSelectionEnd: G, onReconnect: Ao, onReconnectStart: sa, onReconnectEnd: si, onEdgeContextMenu: Dr, onEdgeDoubleClick: ir, onEdgeMouseEnter: ao, onEdgeMouseMove: Ri, onEdgeMouseLeave: Hr, reconnectRadius: $i, defaultMarkerColor: gt, noDragClassName: Je, noWheelClassName: at, noPanClassName: Zt, rfId: Ts, disableKeyboardA11y: wr, nodeExtent: We, viewport: Xr, onViewportChange: la }), k.jsx(J7, { nodes: n, edges: e, defaultNodes: t, defaultEdges: r, onConnect: S, onConnectStart: E, onConnectEnd: C, onClickConnectStart: R, onClickConnectEnd: $, nodesDraggable: _n, autoPanOnNodeFocus: br, nodesConnectable: Wt, nodesFocusable: Jt, edgesFocusable: Xt, edgesReconnectable: tr, elementsSelectable: oi, elevateNodesOnSelect: xr, elevateEdgesOnSelect: gi, minZoom: Kn, maxZoom: nr, nodeExtent: We, onNodesChange: re, onEdgesChange: Ae, snapToGrid: rt, snapGrid: Qt, connectionMode: F, translateExtent: _i, connectOnClick: Bt, defaultEdgeOptions: Wn, fitView: Lt, fitViewOptions: zt, onNodesDelete: pe, onEdgesDelete: oe, onDelete: W, onNodeDragStart: U, onNodeDrag: ee, onNodeDragStop: ie, onSelectionDrag: ae, onSelectionDragStart: Z, onSelectionDragStop: ne, onMove: v, onMoveStart: y, onMoveEnd: b, noPanClassName: Zt, nodeOrigin: on, rfId: Ts, autoPanOnConnect: jt, autoPanOnNodeDrag: Ke, autoPanSpeed: Pi, onError: Wr, connectionRadius: aa, isValidConnection: lo, selectNodesOnDrag: St, nodeDragThreshold: ai, connectionDragThreshold: uo, onBeforeDelete: ue, debug: Ln, ariaLabelConfig: Xi, zIndexMode: ua }), k.jsx(Y7, { onSelectionChange: le }), Fr, k.jsx(Z7, { proOptions: yn, position: cn }), k.jsx(V7, { rfId: Ts, disableKeyboardA11y: wr })] }) });
29953
29953
  }
29954
29954
  var w9 = FN(x9);
29955
29955
  function S9() {
@@ -30159,7 +30159,7 @@ function yz({
30159
30159
  zoomStep: A = 1,
30160
30160
  offsetScale: L = 5
30161
30161
  }) {
30162
- const I = Tr(), j = q.useRef(null), { boundingRect: U, viewBB: ee, rfId: ie, panZoom: pe, translateExtent: oe, flowWidth: W, flowHeight: le, ariaLabelConfig: Z } = Tn(X9, Ar), ae = (n == null ? void 0 : n.width) ?? F9, re = (n == null ? void 0 : n.height) ?? H9, se = U.width / ae, Y = U.height / re, G = Math.max(se, Y), ue = G * ae, F = G * re, K = L * G, _e = U.x - (ue - U.width) / 2 - K, Ee = U.y - (F - U.height) / 2 - K, ze = ue + K * 2, Ue = F + K * 2, Ve = `${Y9}-${ie}`, $e = q.useRef(0), Ze = q.useRef();
30162
+ const I = Tr(), j = q.useRef(null), { boundingRect: U, viewBB: ee, rfId: ie, panZoom: pe, translateExtent: oe, flowWidth: W, flowHeight: le, ariaLabelConfig: Z } = Tn(X9, Ar), ae = (n == null ? void 0 : n.width) ?? F9, ne = (n == null ? void 0 : n.height) ?? H9, se = U.width / ae, Y = U.height / ne, G = Math.max(se, Y), ue = G * ae, F = G * ne, K = L * G, _e = U.x - (ue - U.width) / 2 - K, Ee = U.y - (F - U.height) / 2 - K, ze = ue + K * 2, Ue = F + K * 2, Ve = `${Y9}-${ie}`, $e = q.useRef(0), Ze = q.useRef();
30163
30163
  $e.current = G, q.useEffect(() => {
30164
30164
  if (j.current && pe)
30165
30165
  return Ze.current = u7({
@@ -30200,7 +30200,7 @@ function yz({
30200
30200
  "--xy-minimap-node-background-color-props": typeof r == "string" ? r : void 0,
30201
30201
  "--xy-minimap-node-stroke-color-props": typeof t == "string" ? t : void 0,
30202
30202
  "--xy-minimap-node-stroke-width-props": typeof l == "number" ? l : void 0
30203
- }, className: ki(["react-flow__minimap", e]), "data-testid": "rf__minimap", children: k.jsxs("svg", { width: ae, height: re, viewBox: `${_e} ${Ee} ${ze} ${Ue}`, className: "react-flow__minimap-svg", role: "img", "aria-labelledby": Ve, ref: j, onClick: st, children: [ft && k.jsx("title", { id: Ve, children: ft }), k.jsx(Z9, { onClick: mt, nodeColor: r, nodeStrokeColor: t, nodeBorderRadius: s, nodeClassName: i, nodeStrokeWidth: l, nodeComponent: c }), k.jsx("path", { className: "react-flow__minimap-mask", d: `M${_e - K},${Ee - K}h${ze + K * 2}v${Ue + K * 2}h${-ze - K * 2}z
30203
+ }, className: ki(["react-flow__minimap", e]), "data-testid": "rf__minimap", children: k.jsxs("svg", { width: ae, height: ne, viewBox: `${_e} ${Ee} ${ze} ${Ue}`, className: "react-flow__minimap-svg", role: "img", "aria-labelledby": Ve, ref: j, onClick: st, children: [ft && k.jsx("title", { id: Ve, children: ft }), k.jsx(Z9, { onClick: mt, nodeColor: r, nodeStrokeColor: t, nodeBorderRadius: s, nodeClassName: i, nodeStrokeWidth: l, nodeComponent: c }), k.jsx("path", { className: "react-flow__minimap-mask", d: `M${_e - K},${Ee - K}h${ze + K * 2}v${Ue + K * 2}h${-ze - K * 2}z
30204
30204
  M${ee.x},${ee.y}h${ee.width}v${ee.height}h${-ee.width}z`, fillRule: "evenodd", pointerEvents: "none" })] }) });
30205
30205
  }
30206
30206
  yz.displayName = "MiniMap";
@@ -30216,20 +30216,20 @@ function J9({ nodeId: n, position: e, variant: t = Eg.Handle, className: r, styl
30216
30216
  domNode: I.current,
30217
30217
  nodeId: A,
30218
30218
  getStoreItems: () => {
30219
- const { nodeLookup: oe, transform: W, snapGrid: le, snapToGrid: Z, nodeOrigin: ae, domNode: re } = L.getState();
30219
+ const { nodeLookup: oe, transform: W, snapGrid: le, snapToGrid: Z, nodeOrigin: ae, domNode: ne } = L.getState();
30220
30220
  return {
30221
30221
  nodeLookup: oe,
30222
30222
  transform: W,
30223
30223
  snapGrid: le,
30224
30224
  snapToGrid: Z,
30225
30225
  nodeOrigin: ae,
30226
- paneDomNode: re
30226
+ paneDomNode: ne
30227
30227
  };
30228
30228
  },
30229
30229
  onChange: (oe, W) => {
30230
- const { triggerNodeChanges: le, nodeLookup: Z, parentLookup: ae, nodeOrigin: re } = L.getState(), se = [], Y = { x: oe.x, y: oe.y }, G = Z.get(A);
30230
+ const { triggerNodeChanges: le, nodeLookup: Z, parentLookup: ae, nodeOrigin: ne } = L.getState(), se = [], Y = { x: oe.x, y: oe.y }, G = Z.get(A);
30231
30231
  if (G && G.expandParent && G.parentId) {
30232
- const ue = G.origin ?? re, F = oe.width ?? G.measured.width ?? 0, K = oe.height ?? G.measured.height ?? 0, _e = {
30232
+ const ue = G.origin ?? ne, F = oe.width ?? G.measured.width ?? 0, K = oe.height ?? G.measured.height ?? 0, _e = {
30233
30233
  id: G.id,
30234
30234
  parentId: G.parentId,
30235
30235
  rect: {
@@ -30240,7 +30240,7 @@ function J9({ nodeId: n, position: e, variant: t = Eg.Handle, className: r, styl
30240
30240
  y: oe.y ?? G.position.y
30241
30241
  }, { width: F, height: K }, G.parentId, Z, ue)
30242
30242
  }
30243
- }, Ee = zR([_e], Z, ae, re);
30243
+ }, Ee = zR([_e], Z, ae, ne);
30244
30244
  se.push(...Ee), Y.x = oe.x ? Math.max(ue[0] * F, oe.x) : void 0, Y.y = oe.y ? Math.max(ue[1] * K, oe.y) : void 0;
30245
30245
  }
30246
30246
  if (Y.x !== void 0 && Y.y !== void 0) {
@@ -30642,7 +30642,8 @@ function sq({
30642
30642
  q.useEffect(() => {
30643
30643
  if (!f) return;
30644
30644
  const C = (R) => {
30645
- v.current && !v.current.contains(R.target) && p(!1);
30645
+ if (!v.current) return;
30646
+ R.composedPath().includes(v.current) || p(!1);
30646
30647
  };
30647
30648
  return document.addEventListener("mousedown", C), () => document.removeEventListener("mousedown", C);
30648
30649
  }, [f]);
@@ -30836,13 +30837,13 @@ function uq({
30836
30837
  const ee = q.useCallback(
30837
30838
  async (W) => {
30838
30839
  const le = l.replace(/\/$/, ""), Z = ws(void 0, { tenantId: f }), ae = await fetch(
30839
- `${le}/rulesets/${encodeURIComponent(c)}/versions/${W}`,
30840
+ `${le}/rulesets/${encodeURIComponent(c)}/export?version=${W}`,
30840
30841
  { headers: Z }
30841
30842
  );
30842
30843
  if (!ae.ok)
30843
30844
  throw new Error(`Version ${W} not available (HTTP ${ae.status})`);
30844
- const re = await ae.json();
30845
- return JSON.stringify(re, null, 2);
30845
+ const ne = await ae.json(), se = typeof ne.ruleSetJson == "string" ? JSON.parse(ne.ruleSetJson) : ne;
30846
+ return JSON.stringify(se, null, 2);
30846
30847
  },
30847
30848
  [l, c, f]
30848
30849
  );
@@ -30853,8 +30854,8 @@ function uq({
30853
30854
  ee(v),
30854
30855
  ee(b)
30855
30856
  ]).then(([le, Z]) => {
30856
- var ae, re;
30857
- W || (le.status === "fulfilled" ? C(le.value) : A(((ae = le.reason) == null ? void 0 : ae.message) ?? "Failed to load"), Z.status === "fulfilled" ? $(Z.value) : I(((re = Z.reason) == null ? void 0 : re.message) ?? "Failed to load"), U(!1));
30857
+ var ae, ne;
30858
+ W || (le.status === "fulfilled" ? C(le.value) : A(((ae = le.reason) == null ? void 0 : ae.message) ?? "Failed to load"), Z.status === "fulfilled" ? $(Z.value) : I(((ne = Z.reason) == null ? void 0 : ne.message) ?? "Failed to load"), U(!1));
30858
30859
  }), () => {
30859
30860
  W = !0;
30860
30861
  };
@@ -30867,12 +30868,12 @@ function uq({
30867
30868
  }, [n, e]);
30868
30869
  const ie = q.useMemo(() => !E || !R ? null : lq(E, R), [E, R]);
30869
30870
  if (!n) return null;
30870
- const pe = [...t].sort((W, le) => le.version - W.version), oe = (W, le, Z, ae) => j ? /* @__PURE__ */ k.jsx("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", height: "100%", color: p.textMuted, fontSize: 13 }, children: "Loading..." }) : Z ? /* @__PURE__ */ k.jsx("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", height: "100%", color: p.errorText, fontSize: 13 }, children: Z }) : W ? /* @__PURE__ */ k.jsx("div", { style: { overflow: "auto", height: "100%", fontFamily: "monospace", fontSize: 12, lineHeight: "20px" }, children: W.map((re, se) => /* @__PURE__ */ k.jsxs(
30871
+ const pe = [...t].sort((W, le) => le.version - W.version), oe = (W, le, Z, ae) => j ? /* @__PURE__ */ k.jsx("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", height: "100%", color: p.textMuted, fontSize: 13 }, children: "Loading..." }) : Z ? /* @__PURE__ */ k.jsx("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", height: "100%", color: p.errorText, fontSize: 13 }, children: Z }) : W ? /* @__PURE__ */ k.jsx("div", { style: { overflow: "auto", height: "100%", fontFamily: "monospace", fontSize: 12, lineHeight: "20px" }, children: W.map((ne, se) => /* @__PURE__ */ k.jsxs(
30871
30872
  "div",
30872
30873
  {
30873
30874
  style: {
30874
30875
  display: "flex",
30875
- background: aq[re.type],
30876
+ background: aq[ne.type],
30876
30877
  minHeight: 20
30877
30878
  },
30878
30879
  children: [
@@ -30889,7 +30890,7 @@ function uq({
30889
30890
  borderRight: `1px solid ${p.inspectorBorder.replace("1px solid ", "")}`,
30890
30891
  fontSize: 11
30891
30892
  },
30892
- children: re.text !== "" ? se + 1 : ""
30893
+ children: ne.text !== "" ? se + 1 : ""
30893
30894
  }
30894
30895
  ),
30895
30896
  /* @__PURE__ */ k.jsx(
@@ -30902,7 +30903,7 @@ function uq({
30902
30903
  wordBreak: "break-all",
30903
30904
  color: p.textPrimary
30904
30905
  },
30905
- children: re.text
30906
+ children: ne.text
30906
30907
  }
30907
30908
  )
30908
30909
  ]
@@ -39850,22 +39851,22 @@ function bK(n, e, t) {
39850
39851
  }
39851
39852
  function A(I, j, U) {
39852
39853
  let ee = 1e9, ie = -1e9, pe = [];
39853
- function oe(Z, ae, re, se, Y) {
39854
- let G = n.coordsAtPos(Z, Z == U.to ? -2 : 2), ue = n.coordsAtPos(re, re == U.from ? 2 : -2);
39854
+ function oe(Z, ae, ne, se, Y) {
39855
+ let G = n.coordsAtPos(Z, Z == U.to ? -2 : 2), ue = n.coordsAtPos(ne, ne == U.from ? 2 : -2);
39855
39856
  !G || !ue || (ee = Math.min(G.top, ue.top, ee), ie = Math.max(G.bottom, ue.bottom, ie), Y == cr.LTR ? pe.push(s && ae ? y : G.left, s && se ? b : ue.right) : pe.push(!s && se ? y : ue.left, !s && ae ? b : G.right));
39856
39857
  }
39857
39858
  let W = I ?? U.from, le = j ?? U.to;
39858
39859
  for (let Z of n.visibleRanges)
39859
39860
  if (Z.to > W && Z.from < le)
39860
- for (let ae = Math.max(Z.from, W), re = Math.min(Z.to, le); ; ) {
39861
+ for (let ae = Math.max(Z.from, W), ne = Math.min(Z.to, le); ; ) {
39861
39862
  let se = n.state.doc.lineAt(ae);
39862
39863
  for (let Y of n.bidiSpans(se)) {
39863
39864
  let G = Y.from + se.from, ue = Y.to + se.from;
39864
- if (G >= re)
39865
+ if (G >= ne)
39865
39866
  break;
39866
- ue > ae && oe(Math.max(G, ae), I == null && G <= W, Math.min(ue, re), j == null && ue >= le, Y.dir);
39867
+ ue > ae && oe(Math.max(G, ae), I == null && G <= W, Math.min(ue, ne), j == null && ue >= le, Y.dir);
39867
39868
  }
39868
- if (ae = se.to + 1, ae >= re)
39869
+ if (ae = se.to + 1, ae >= ne)
39869
39870
  break;
39870
39871
  }
39871
39872
  return pe.length == 0 && oe(W, I == null, le, j == null, n.textDirection), { top: ee, bottom: ie, horizontal: pe };
@@ -42117,7 +42118,7 @@ function cJ(n) {
42117
42118
  var e;
42118
42119
  let { buffer: t, nodeSet: r, maxBufferLength: i = zj, reused: s = [], minRepeatType: l = r.types.length } = n, c = Array.isArray(t) ? new n$(t, t.length) : t, f = r.types, p = 0, v = 0;
42119
42120
  function y(I, j, U, ee, ie, pe) {
42120
- let { id: oe, start: W, end: le, size: Z } = c, ae = v, re = p;
42121
+ let { id: oe, start: W, end: le, size: Z } = c, ae = v, ne = p;
42121
42122
  if (Z < 0)
42122
42123
  if (c.next(), Z == -1) {
42123
42124
  let F = s[oe];
@@ -42142,12 +42143,12 @@ function cJ(n) {
42142
42143
  c.next();
42143
42144
  let K = [], _e = [], Ee = oe >= l ? oe : -1, ze = 0, Ue = le;
42144
42145
  for (; c.pos > F; )
42145
- Ee >= 0 && c.id == Ee && c.size >= 0 ? (c.end <= Ue - i && (E(K, _e, W, ze, c.end, Ue, Ee, ae, re), ze = K.length, Ue = c.end), c.next()) : pe > 2500 ? b(W, F, K, _e) : y(W, F, K, _e, Ee, pe + 1);
42146
- if (Ee >= 0 && ze > 0 && ze < K.length && E(K, _e, W, ze, W, Ue, Ee, ae, re), K.reverse(), _e.reverse(), Ee > -1 && ze > 0) {
42147
- let Ve = S(se, re);
42146
+ Ee >= 0 && c.id == Ee && c.size >= 0 ? (c.end <= Ue - i && (E(K, _e, W, ze, c.end, Ue, Ee, ae, ne), ze = K.length, Ue = c.end), c.next()) : pe > 2500 ? b(W, F, K, _e) : y(W, F, K, _e, Ee, pe + 1);
42147
+ if (Ee >= 0 && ze > 0 && ze < K.length && E(K, _e, W, ze, W, Ue, Ee, ae, ne), K.reverse(), _e.reverse(), Ee > -1 && ze > 0) {
42148
+ let Ve = S(se, ne);
42148
42149
  Y = i$(se, K, _e, 0, K.length, 0, le - W, Ve, Ve);
42149
42150
  } else
42150
- Y = C(se, K, _e, le - W, ae - le, re);
42151
+ Y = C(se, K, _e, le - W, ae - le, ne);
42151
42152
  }
42152
42153
  U.push(Y), ee.push(ue);
42153
42154
  }
@@ -42209,17 +42210,17 @@ function cJ(n) {
42209
42210
  let ae = U.pos - Z;
42210
42211
  if (Z < 0 || ae < le || U.start < oe)
42211
42212
  break;
42212
- let re = U.id >= l ? 4 : 0, se = U.start;
42213
+ let ne = U.id >= l ? 4 : 0, se = U.start;
42213
42214
  for (U.next(); U.pos > ae; ) {
42214
42215
  if (U.size < 0)
42215
42216
  if (U.size == -3 || U.size == -4)
42216
- re += 4;
42217
+ ne += 4;
42217
42218
  else
42218
42219
  break e;
42219
- else U.id >= l && (re += 4);
42220
+ else U.id >= l && (ne += 4);
42220
42221
  U.next();
42221
42222
  }
42222
- ie = se, ee += Z, pe += re;
42223
+ ie = se, ee += Z, pe += ne;
42223
42224
  }
42224
42225
  return (j < 0 || ee == I) && (W.size = ee, W.start = ie, W.skip = pe), W.size > 4 ? W : void 0;
42225
42226
  }
@@ -52061,8 +52062,8 @@ function yoe(n, e) {
52061
52062
  fields: Vc($)
52062
52063
  };
52063
52064
  }, y = (C, R) => {
52064
- var W, le, Z, ae, re, se;
52065
- const $ = (W = e.nodeContractsById) == null ? void 0 : W.get(C.id), D = C.type === "sub-flow" ? (le = e.flowContractsByCode) == null ? void 0 : le.get(Xl(C.data.subFlowConfig).targetFlowCode ?? "") : void 0, A = ((Z = C.data.contractOverride) == null ? void 0 : Z.responseFields) ?? [], L = ((ae = D == null ? void 0 : D.responseContract) == null ? void 0 : ae.fields) ?? ((re = C.data.responseContract) == null ? void 0 : re.fields) ?? ((se = $ == null ? void 0 : $.responseDelta) == null ? void 0 : se.fields) ?? [], j = (Array.isArray(C.data.outputFields) ? C.data.outputFields : []).map(
52065
+ var W, le, Z, ae, ne, se;
52066
+ const $ = (W = e.nodeContractsById) == null ? void 0 : W.get(C.id), D = C.type === "sub-flow" ? (le = e.flowContractsByCode) == null ? void 0 : le.get(Xl(C.data.subFlowConfig).targetFlowCode ?? "") : void 0, A = ((Z = C.data.contractOverride) == null ? void 0 : Z.responseFields) ?? [], L = ((ae = D == null ? void 0 : D.responseContract) == null ? void 0 : ae.fields) ?? ((ne = C.data.responseContract) == null ? void 0 : ne.fields) ?? ((se = $ == null ? void 0 : $.responseDelta) == null ? void 0 : se.fields) ?? [], j = (Array.isArray(C.data.outputFields) ? C.data.outputFields : []).map(
52066
52067
  (Y) => ({
52067
52068
  path: Y.path,
52068
52069
  label: Y.path,
@@ -52739,7 +52740,7 @@ function Aoe({
52739
52740
  };
52740
52741
  });
52741
52742
  }
52742
- const [A, L] = q.useState(() => $(rO(R.present))), [I, j] = q.useState(() => D(U5(R.present))), [U, ee] = q.useState(""), [ie, pe] = q.useState(""), [oe, W] = q.useState("basic-info"), [le, Z] = q.useState({ status: "idle" }), [ae, re] = q.useState([]), [se, Y] = q.useState([]), [G, ue] = q.useState(null), [F, K] = q.useState({ status: "idle" }), [_e, Ee] = q.useState([]), [ze, Ue] = q.useState([]), [Ve, $e] = q.useState(!1), [Ze, st] = q.useState(null), [mt, ft] = q.useState(""), [rt, Qt] = q.useState(""), _t = q.useRef(R.present.metadata), St = q.useRef(to(R.present)), [_n, br] = q.useState(0), Wt = q.useRef(A), Jt = q.useRef(I), on = q.useRef(/* @__PURE__ */ new Map()), Xt = q.useRef(/* @__PURE__ */ new Map()), tr = q.useRef(null), oi = q.useRef(/* @__PURE__ */ new Map()), ln = q.useMemo(
52743
+ const [A, L] = q.useState(() => $(rO(R.present))), [I, j] = q.useState(() => D(U5(R.present))), [U, ee] = q.useState(""), [ie, pe] = q.useState(""), [oe, W] = q.useState("basic-info"), [le, Z] = q.useState({ status: "idle" }), [ae, ne] = q.useState([]), [se, Y] = q.useState([]), [G, ue] = q.useState(null), [F, K] = q.useState({ status: "idle" }), [_e, Ee] = q.useState([]), [ze, Ue] = q.useState([]), [Ve, $e] = q.useState(!1), [Ze, st] = q.useState(null), [mt, ft] = q.useState(""), [rt, Qt] = q.useState(""), _t = q.useRef(R.present.metadata), St = q.useRef(to(R.present)), [_n, br] = q.useState(0), Wt = q.useRef(A), Jt = q.useRef(I), on = q.useRef(/* @__PURE__ */ new Map()), Xt = q.useRef(/* @__PURE__ */ new Map()), tr = q.useRef(null), oi = q.useRef(/* @__PURE__ */ new Map()), ln = q.useMemo(
52743
52744
  () => s ? new eq({ baseUrl: s, tenantId: c }) : null,
52744
52745
  [s, c]
52745
52746
  ), Kn = q.useMemo(
@@ -52774,7 +52775,7 @@ function Aoe({
52774
52775
  } catch {
52775
52776
  }
52776
52777
  return be;
52777
- }), [sa, si] = q.useState(!1), [Dr, ir] = q.useState(!1), ao = q.useRef(null), Ri = q.useRef(null), [Hr, $i] = q.useState([]), [ne, Ae] = q.useState(0), [Je, at] = q.useState(!1), [Zt, Lt] = q.useState(!1), zt = q.useMemo(() => Hr.find((B) => B.isActive) ?? null, [Hr]), Bt = b != null && zt != null && b !== zt.version, cn = t || Bt, yn = q.useCallback((B, X) => {
52778
+ }), [sa, si] = q.useState(!1), [Dr, ir] = q.useState(!1), ao = q.useRef(null), Ri = q.useRef(null), [Hr, $i] = q.useState([]), [re, Ae] = q.useState(0), [Je, at] = q.useState(!1), [Zt, Lt] = q.useState(!1), zt = q.useMemo(() => Hr.find((B) => B.isActive) ?? null, [Hr]), Bt = b != null && zt != null && b !== zt.version, cn = t || Bt, yn = q.useCallback((B, X) => {
52778
52779
  if (!s || !f) {
52779
52780
  X || $i([]);
52780
52781
  return;
@@ -52793,9 +52794,9 @@ function Aoe({
52793
52794
  Ae(0), at(!1), yn(0, !1);
52794
52795
  }, [yn]);
52795
52796
  const Wn = q.useCallback(() => {
52796
- const B = ne + 10;
52797
+ const B = re + 10;
52797
52798
  Ae(B), yn(B, !0);
52798
- }, [ne, yn]);
52799
+ }, [re, yn]);
52799
52800
  q.useEffect(() => {
52800
52801
  Wt.current = A;
52801
52802
  }, [A]), q.useEffect(() => {
@@ -52911,7 +52912,7 @@ function Aoe({
52911
52912
  return (async () => {
52912
52913
  try {
52913
52914
  const X = await ln.MListFlows();
52914
- B || re(X.map((be) => ({ code: be.workflowName, label: be.workflowName })));
52915
+ B || ne(X.map((be) => ({ code: be.workflowName, label: be.workflowName })));
52915
52916
  } catch {
52916
52917
  }
52917
52918
  })(), () => {
@@ -54133,10 +54134,10 @@ function Aoe({
54133
54134
  }
54134
54135
  }
54135
54136
  ) : null,
54136
- /* @__PURE__ */ k.jsx(
54137
+ vf ? /* @__PURE__ */ k.jsx(
54137
54138
  uq,
54138
54139
  {
54139
- open: vf,
54140
+ open: !0,
54140
54141
  onClose: () => Yi(!1),
54141
54142
  versions: Hr,
54142
54143
  activeVersion: zt,
@@ -54147,7 +54148,7 @@ function Aoe({
54147
54148
  tenantId: c,
54148
54149
  tokens: qe
54149
54150
  }
54150
- )
54151
+ ) : null
54151
54152
  ] });
54152
54153
  function Xn(B) {
54153
54154
  if (t)
@@ -54924,7 +54925,11 @@ let ra = class extends dr {
54924
54925
  this.MRenderEditor();
54925
54926
  return;
54926
54927
  }
54927
- !this.mInternalGraphUpdate && (n.has("graph") || n.has("graphJson") || n.has("readOnly") || n.has("theme") || n.has("apiBaseUrl") || n.has("catalogApiBase") || n.has("height") || n.has("tenantId") || n.has("showHeader") || n.has("version")) && this.MRenderEditor(), n.has("version") && this.graphJson.trim() && (this.mInternalGraphUpdate = !0, this.graphJson = "", this.graph = Gw(), this.mLastGraphSignature = to(this.graph)), (n.has("workflowCode") || n.has("apiBaseUrl") || n.has("tenantId") || n.has("version")) && !this.graphJson.trim() && this.MLoadWorkflowGraphAsync(), this.mInternalGraphUpdate && (n.has("graphJson") || n.has("graph")) && (this.mInternalGraphUpdate = !1, this.MRenderEditor());
54928
+ if (n.has("version")) {
54929
+ this.mInternalGraphUpdate = !0, this.graphJson.trim() && (this.graphJson = ""), this.graph = Gw(), this.mLastGraphSignature = to(this.graph), this.MLoadWorkflowGraphAsync();
54930
+ return;
54931
+ }
54932
+ !this.mInternalGraphUpdate && (n.has("graph") || n.has("graphJson") || n.has("readOnly") || n.has("theme") || n.has("apiBaseUrl") || n.has("catalogApiBase") || n.has("height") || n.has("tenantId") || n.has("showHeader")) && this.MRenderEditor(), (n.has("workflowCode") || n.has("apiBaseUrl") || n.has("tenantId")) && !this.graphJson.trim() && this.MLoadWorkflowGraphAsync(), this.mInternalGraphUpdate && (n.has("graphJson") || n.has("graph")) && (this.mInternalGraphUpdate = !1, this.MRenderEditor());
54928
54933
  }
54929
54934
  disconnectedCallback() {
54930
54935
  var n;