@chamn/engine 0.3.15 → 0.3.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -51,57 +51,57 @@ function M4() {
51
51
  */
52
52
  return "{}".NODE_ENV !== "production" && function() {
53
53
  var e = R, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = Symbol.iterator, g = "@@iterator";
54
- function m(F) {
55
- if (F === null || typeof F != "object")
54
+ function m(B) {
55
+ if (B === null || typeof B != "object")
56
56
  return null;
57
- var te = p && F[p] || F[g];
57
+ var te = p && B[p] || B[g];
58
58
  return typeof te == "function" ? te : null;
59
59
  }
60
60
  var v = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
61
- function y(F) {
61
+ function y(B) {
62
62
  {
63
63
  for (var te = arguments.length, ce = new Array(te > 1 ? te - 1 : 0), we = 1; we < te; we++)
64
64
  ce[we - 1] = arguments[we];
65
- w("error", F, ce);
65
+ w("error", B, ce);
66
66
  }
67
67
  }
68
- function w(F, te, ce) {
68
+ function w(B, te, ce) {
69
69
  {
70
70
  var we = v.ReactDebugCurrentFrame, Ie = we.getStackAddendum();
71
71
  Ie !== "" && (te += "%s", ce = ce.concat([Ie]));
72
72
  var Be = ce.map(function(Pe) {
73
73
  return String(Pe);
74
74
  });
75
- Be.unshift("Warning: " + te), Function.prototype.apply.call(console[F], console, Be);
75
+ Be.unshift("Warning: " + te), Function.prototype.apply.call(console[B], console, Be);
76
76
  }
77
77
  }
78
78
  var b = !1, _ = !1, E = !1, k = !1, S = !1, C;
79
79
  C = Symbol.for("react.module.reference");
80
- function O(F) {
81
- return !!(typeof F == "string" || typeof F == "function" || F === r || F === i || S || F === o || F === c || F === u || k || F === h || b || _ || E || typeof F == "object" && F !== null && (F.$$typeof === f || F.$$typeof === d || F.$$typeof === a || F.$$typeof === s || F.$$typeof === l || // This needs to include all possible module reference object
80
+ function O(B) {
81
+ return !!(typeof B == "string" || typeof B == "function" || B === r || B === i || S || B === o || B === c || B === u || k || B === h || b || _ || E || typeof B == "object" && B !== null && (B.$$typeof === f || B.$$typeof === d || B.$$typeof === a || B.$$typeof === s || B.$$typeof === l || // This needs to include all possible module reference object
82
82
  // types supported by any Flight configuration anywhere since
83
83
  // we don't know which Flight build this will end up being used
84
84
  // with.
85
- F.$$typeof === C || F.getModuleId !== void 0));
85
+ B.$$typeof === C || B.getModuleId !== void 0));
86
86
  }
87
- function N(F, te, ce) {
88
- var we = F.displayName;
87
+ function N(B, te, ce) {
88
+ var we = B.displayName;
89
89
  if (we)
90
90
  return we;
91
91
  var Ie = te.displayName || te.name || "";
92
92
  return Ie !== "" ? ce + "(" + Ie + ")" : ce;
93
93
  }
94
- function P(F) {
95
- return F.displayName || "Context";
94
+ function A(B) {
95
+ return B.displayName || "Context";
96
96
  }
97
- function I(F) {
98
- if (F == null)
97
+ function I(B) {
98
+ if (B == null)
99
99
  return null;
100
- if (typeof F.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof F == "function")
101
- return F.displayName || F.name || null;
102
- if (typeof F == "string")
103
- return F;
104
- switch (F) {
100
+ if (typeof B.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof B == "function")
101
+ return B.displayName || B.name || null;
102
+ if (typeof B == "string")
103
+ return B;
104
+ switch (B) {
105
105
  case r:
106
106
  return "Fragment";
107
107
  case n:
@@ -115,21 +115,21 @@ function M4() {
115
115
  case u:
116
116
  return "SuspenseList";
117
117
  }
118
- if (typeof F == "object")
119
- switch (F.$$typeof) {
118
+ if (typeof B == "object")
119
+ switch (B.$$typeof) {
120
120
  case s:
121
- var te = F;
122
- return P(te) + ".Consumer";
121
+ var te = B;
122
+ return A(te) + ".Consumer";
123
123
  case a:
124
- var ce = F;
125
- return P(ce._context) + ".Provider";
124
+ var ce = B;
125
+ return A(ce._context) + ".Provider";
126
126
  case l:
127
- return N(F, F.render, "ForwardRef");
127
+ return N(B, B.render, "ForwardRef");
128
128
  case d:
129
- var we = F.displayName || null;
130
- return we !== null ? we : I(F.type) || "Memo";
129
+ var we = B.displayName || null;
130
+ return we !== null ? we : I(B.type) || "Memo";
131
131
  case f: {
132
- var Ie = F, Be = Ie._payload, Pe = Ie._init;
132
+ var Ie = B, Be = Ie._payload, Pe = Ie._init;
133
133
  try {
134
134
  return I(Pe(Be));
135
135
  } catch {
@@ -139,70 +139,70 @@ function M4() {
139
139
  }
140
140
  return null;
141
141
  }
142
- var T = Object.assign, A = 0, j, z, B, q, D, $, H;
142
+ var T = Object.assign, j = 0, P, z, F, q, D, $, H;
143
143
  function M() {
144
144
  }
145
145
  M.__reactDisabledLog = !0;
146
146
  function L() {
147
147
  {
148
- if (A === 0) {
149
- j = console.log, z = console.info, B = console.warn, q = console.error, D = console.group, $ = console.groupCollapsed, H = console.groupEnd;
150
- var F = {
148
+ if (j === 0) {
149
+ P = console.log, z = console.info, F = console.warn, q = console.error, D = console.group, $ = console.groupCollapsed, H = console.groupEnd;
150
+ var B = {
151
151
  configurable: !0,
152
152
  enumerable: !0,
153
153
  value: M,
154
154
  writable: !0
155
155
  };
156
156
  Object.defineProperties(console, {
157
- info: F,
158
- log: F,
159
- warn: F,
160
- error: F,
161
- group: F,
162
- groupCollapsed: F,
163
- groupEnd: F
157
+ info: B,
158
+ log: B,
159
+ warn: B,
160
+ error: B,
161
+ group: B,
162
+ groupCollapsed: B,
163
+ groupEnd: B
164
164
  });
165
165
  }
166
- A++;
166
+ j++;
167
167
  }
168
168
  }
169
169
  function V() {
170
170
  {
171
- if (A--, A === 0) {
172
- var F = {
171
+ if (j--, j === 0) {
172
+ var B = {
173
173
  configurable: !0,
174
174
  enumerable: !0,
175
175
  writable: !0
176
176
  };
177
177
  Object.defineProperties(console, {
178
- log: T({}, F, {
179
- value: j
178
+ log: T({}, B, {
179
+ value: P
180
180
  }),
181
- info: T({}, F, {
181
+ info: T({}, B, {
182
182
  value: z
183
183
  }),
184
- warn: T({}, F, {
185
- value: B
184
+ warn: T({}, B, {
185
+ value: F
186
186
  }),
187
- error: T({}, F, {
187
+ error: T({}, B, {
188
188
  value: q
189
189
  }),
190
- group: T({}, F, {
190
+ group: T({}, B, {
191
191
  value: D
192
192
  }),
193
- groupCollapsed: T({}, F, {
193
+ groupCollapsed: T({}, B, {
194
194
  value: $
195
195
  }),
196
- groupEnd: T({}, F, {
196
+ groupEnd: T({}, B, {
197
197
  value: H
198
198
  })
199
199
  });
200
200
  }
201
- A < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
201
+ j < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
202
202
  }
203
203
  }
204
204
  var U = v.ReactCurrentDispatcher, K;
205
- function W(F, te, ce) {
205
+ function W(B, te, ce) {
206
206
  {
207
207
  if (K === void 0)
208
208
  try {
@@ -212,7 +212,7 @@ function M4() {
212
212
  K = we && we[1] || "";
213
213
  }
214
214
  return `
215
- ` + K + F;
215
+ ` + K + B;
216
216
  }
217
217
  }
218
218
  var J = !1, Q;
@@ -220,11 +220,11 @@ function M4() {
220
220
  var oe = typeof WeakMap == "function" ? WeakMap : Map;
221
221
  Q = new oe();
222
222
  }
223
- function G(F, te) {
224
- if (!F || J)
223
+ function G(B, te) {
224
+ if (!B || J)
225
225
  return "";
226
226
  {
227
- var ce = Q.get(F);
227
+ var ce = Q.get(B);
228
228
  if (ce !== void 0)
229
229
  return ce;
230
230
  }
@@ -249,14 +249,14 @@ function M4() {
249
249
  } catch (Sr) {
250
250
  we = Sr;
251
251
  }
252
- Reflect.construct(F, [], Pe);
252
+ Reflect.construct(B, [], Pe);
253
253
  } else {
254
254
  try {
255
255
  Pe.call();
256
256
  } catch (Sr) {
257
257
  we = Sr;
258
258
  }
259
- F.call(Pe.prototype);
259
+ B.call(Pe.prototype);
260
260
  }
261
261
  } else {
262
262
  try {
@@ -264,7 +264,7 @@ function M4() {
264
264
  } catch (Sr) {
265
265
  we = Sr;
266
266
  }
267
- F();
267
+ B();
268
268
  }
269
269
  } catch (Sr) {
270
270
  if (Sr && we && typeof Sr.stack == "string") {
@@ -279,7 +279,7 @@ function M4() {
279
279
  if (ht--, qe--, qe < 0 || Ae[ht] !== Jt[qe]) {
280
280
  var An = `
281
281
  ` + Ae[ht].replace(" at new ", " at ");
282
- return F.displayName && An.includes("<anonymous>") && (An = An.replace("<anonymous>", F.displayName)), typeof F == "function" && Q.set(F, An), An;
282
+ return B.displayName && An.includes("<anonymous>") && (An = An.replace("<anonymous>", B.displayName)), typeof B == "function" && Q.set(B, An), An;
283
283
  }
284
284
  while (ht >= 1 && qe >= 0);
285
285
  break;
@@ -288,37 +288,37 @@ function M4() {
288
288
  } finally {
289
289
  J = !1, U.current = Be, V(), Error.prepareStackTrace = Ie;
290
290
  }
291
- var Eo = F ? F.displayName || F.name : "", pu = Eo ? W(Eo) : "";
292
- return typeof F == "function" && Q.set(F, pu), pu;
291
+ var Eo = B ? B.displayName || B.name : "", pu = Eo ? W(Eo) : "";
292
+ return typeof B == "function" && Q.set(B, pu), pu;
293
293
  }
294
- function ae(F, te, ce) {
295
- return G(F, !1);
294
+ function ae(B, te, ce) {
295
+ return G(B, !1);
296
296
  }
297
- function ee(F) {
298
- var te = F.prototype;
297
+ function ee(B) {
298
+ var te = B.prototype;
299
299
  return !!(te && te.isReactComponent);
300
300
  }
301
- function de(F, te, ce) {
302
- if (F == null)
301
+ function de(B, te, ce) {
302
+ if (B == null)
303
303
  return "";
304
- if (typeof F == "function")
305
- return G(F, ee(F));
306
- if (typeof F == "string")
307
- return W(F);
308
- switch (F) {
304
+ if (typeof B == "function")
305
+ return G(B, ee(B));
306
+ if (typeof B == "string")
307
+ return W(B);
308
+ switch (B) {
309
309
  case c:
310
310
  return W("Suspense");
311
311
  case u:
312
312
  return W("SuspenseList");
313
313
  }
314
- if (typeof F == "object")
315
- switch (F.$$typeof) {
314
+ if (typeof B == "object")
315
+ switch (B.$$typeof) {
316
316
  case l:
317
- return ae(F.render);
317
+ return ae(B.render);
318
318
  case d:
319
- return de(F.type, te, ce);
319
+ return de(B.type, te, ce);
320
320
  case f: {
321
- var we = F, Ie = we._payload, Be = we._init;
321
+ var we = B, Ie = we._payload, Be = we._init;
322
322
  try {
323
323
  return de(Be(Ie), te, ce);
324
324
  } catch {
@@ -328,25 +328,25 @@ function M4() {
328
328
  return "";
329
329
  }
330
330
  var Oe = Object.prototype.hasOwnProperty, Ee = {}, Lt = v.ReactDebugCurrentFrame;
331
- function ft(F) {
332
- if (F) {
333
- var te = F._owner, ce = de(F.type, F._source, te ? te.type : null);
331
+ function ft(B) {
332
+ if (B) {
333
+ var te = B._owner, ce = de(B.type, B._source, te ? te.type : null);
334
334
  Lt.setExtraStackFrame(ce);
335
335
  } else
336
336
  Lt.setExtraStackFrame(null);
337
337
  }
338
- function yt(F, te, ce, we, Ie) {
338
+ function yt(B, te, ce, we, Ie) {
339
339
  {
340
340
  var Be = Function.call.bind(Oe);
341
- for (var Pe in F)
342
- if (Be(F, Pe)) {
341
+ for (var Pe in B)
342
+ if (Be(B, Pe)) {
343
343
  var Ae = void 0;
344
344
  try {
345
- if (typeof F[Pe] != "function") {
346
- var Jt = Error((we || "React class") + ": " + ce + " type `" + Pe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof F[Pe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
345
+ if (typeof B[Pe] != "function") {
346
+ var Jt = Error((we || "React class") + ": " + ce + " type `" + Pe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof B[Pe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
347
347
  throw Jt.name = "Invariant Violation", Jt;
348
348
  }
349
- Ae = F[Pe](te, Pe, we, ce, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
349
+ Ae = B[Pe](te, Pe, we, ce, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
350
350
  } catch (ht) {
351
351
  Ae = ht;
352
352
  }
@@ -355,28 +355,28 @@ function M4() {
355
355
  }
356
356
  }
357
357
  var He = Array.isArray;
358
- function Ne(F) {
359
- return He(F);
358
+ function Ne(B) {
359
+ return He(B);
360
360
  }
361
- function je(F) {
361
+ function je(B) {
362
362
  {
363
- var te = typeof Symbol == "function" && Symbol.toStringTag, ce = te && F[Symbol.toStringTag] || F.constructor.name || "Object";
363
+ var te = typeof Symbol == "function" && Symbol.toStringTag, ce = te && B[Symbol.toStringTag] || B.constructor.name || "Object";
364
364
  return ce;
365
365
  }
366
366
  }
367
- function qt(F) {
367
+ function qt(B) {
368
368
  try {
369
- return Rt(F), !1;
369
+ return Rt(B), !1;
370
370
  } catch {
371
371
  return !0;
372
372
  }
373
373
  }
374
- function Rt(F) {
375
- return "" + F;
374
+ function Rt(B) {
375
+ return "" + B;
376
376
  }
377
- function Rn(F) {
378
- if (qt(F))
379
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", je(F)), Rt(F);
377
+ function Rn(B) {
378
+ if (qt(B))
379
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", je(B)), Rt(B);
380
380
  }
381
381
  var At = v.ReactCurrentOwner, Xt = {
382
382
  key: !0,
@@ -385,56 +385,56 @@ function M4() {
385
385
  __source: !0
386
386
  }, sn, or, en;
387
387
  en = {};
388
- function br(F) {
389
- if (Oe.call(F, "ref")) {
390
- var te = Object.getOwnPropertyDescriptor(F, "ref").get;
388
+ function br(B) {
389
+ if (Oe.call(B, "ref")) {
390
+ var te = Object.getOwnPropertyDescriptor(B, "ref").get;
391
391
  if (te && te.isReactWarning)
392
392
  return !1;
393
393
  }
394
- return F.ref !== void 0;
394
+ return B.ref !== void 0;
395
395
  }
396
- function hn(F) {
397
- if (Oe.call(F, "key")) {
398
- var te = Object.getOwnPropertyDescriptor(F, "key").get;
396
+ function hn(B) {
397
+ if (Oe.call(B, "key")) {
398
+ var te = Object.getOwnPropertyDescriptor(B, "key").get;
399
399
  if (te && te.isReactWarning)
400
400
  return !1;
401
401
  }
402
- return F.key !== void 0;
402
+ return B.key !== void 0;
403
403
  }
404
- function Sn(F, te) {
405
- if (typeof F.ref == "string" && At.current && te && At.current.stateNode !== te) {
404
+ function Sn(B, te) {
405
+ if (typeof B.ref == "string" && At.current && te && At.current.stateNode !== te) {
406
406
  var ce = I(At.current.type);
407
- en[ce] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', I(At.current.type), F.ref), en[ce] = !0);
407
+ en[ce] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', I(At.current.type), B.ref), en[ce] = !0);
408
408
  }
409
409
  }
410
- function Zo(F, te) {
410
+ function Zo(B, te) {
411
411
  {
412
412
  var ce = function() {
413
413
  sn || (sn = !0, y("%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)", te));
414
414
  };
415
- ce.isReactWarning = !0, Object.defineProperty(F, "key", {
415
+ ce.isReactWarning = !0, Object.defineProperty(B, "key", {
416
416
  get: ce,
417
417
  configurable: !0
418
418
  });
419
419
  }
420
420
  }
421
- function Ni(F, te) {
421
+ function Ni(B, te) {
422
422
  {
423
423
  var ce = function() {
424
424
  or || (or = !0, y("%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)", te));
425
425
  };
426
- ce.isReactWarning = !0, Object.defineProperty(F, "ref", {
426
+ ce.isReactWarning = !0, Object.defineProperty(B, "ref", {
427
427
  get: ce,
428
428
  configurable: !0
429
429
  });
430
430
  }
431
431
  }
432
- var ei = function(F, te, ce, we, Ie, Be, Pe) {
432
+ var ei = function(B, te, ce, we, Ie, Be, Pe) {
433
433
  var Ae = {
434
434
  // This tag allows us to uniquely identify this as a React Element
435
435
  $$typeof: t,
436
436
  // Built-in properties that belong on the element
437
- type: F,
437
+ type: B,
438
438
  key: te,
439
439
  ref: ce,
440
440
  props: Pe,
@@ -458,58 +458,58 @@ function M4() {
458
458
  value: Ie
459
459
  }), Object.freeze && (Object.freeze(Ae.props), Object.freeze(Ae)), Ae;
460
460
  };
461
- function Ti(F, te, ce, we, Ie) {
461
+ function Ti(B, te, ce, we, Ie) {
462
462
  {
463
463
  var Be, Pe = {}, Ae = null, Jt = null;
464
464
  ce !== void 0 && (Rn(ce), Ae = "" + ce), hn(te) && (Rn(te.key), Ae = "" + te.key), br(te) && (Jt = te.ref, Sn(te, Ie));
465
465
  for (Be in te)
466
466
  Oe.call(te, Be) && !Xt.hasOwnProperty(Be) && (Pe[Be] = te[Be]);
467
- if (F && F.defaultProps) {
468
- var ht = F.defaultProps;
467
+ if (B && B.defaultProps) {
468
+ var ht = B.defaultProps;
469
469
  for (Be in ht)
470
470
  Pe[Be] === void 0 && (Pe[Be] = ht[Be]);
471
471
  }
472
472
  if (Ae || Jt) {
473
- var qe = typeof F == "function" ? F.displayName || F.name || "Unknown" : F;
473
+ var qe = typeof B == "function" ? B.displayName || B.name || "Unknown" : B;
474
474
  Ae && Zo(Pe, qe), Jt && Ni(Pe, qe);
475
475
  }
476
- return ei(F, Ae, Jt, Ie, we, At.current, Pe);
476
+ return ei(B, Ae, Jt, Ie, we, At.current, Pe);
477
477
  }
478
478
  }
479
479
  var Co = v.ReactCurrentOwner, ti = v.ReactDebugCurrentFrame;
480
- function Ze(F) {
481
- if (F) {
482
- var te = F._owner, ce = de(F.type, F._source, te ? te.type : null);
480
+ function Ze(B) {
481
+ if (B) {
482
+ var te = B._owner, ce = de(B.type, B._source, te ? te.type : null);
483
483
  ti.setExtraStackFrame(ce);
484
484
  } else
485
485
  ti.setExtraStackFrame(null);
486
486
  }
487
487
  var Dt;
488
488
  Dt = !1;
489
- function zt(F) {
490
- return typeof F == "object" && F !== null && F.$$typeof === t;
489
+ function zt(B) {
490
+ return typeof B == "object" && B !== null && B.$$typeof === t;
491
491
  }
492
492
  function ln() {
493
493
  {
494
494
  if (Co.current) {
495
- var F = I(Co.current.type);
496
- if (F)
495
+ var B = I(Co.current.type);
496
+ if (B)
497
497
  return `
498
498
 
499
- Check the render method of \`` + F + "`.";
499
+ Check the render method of \`` + B + "`.";
500
500
  }
501
501
  return "";
502
502
  }
503
503
  }
504
- function Pt(F) {
504
+ function Pt(B) {
505
505
  return "";
506
506
  }
507
507
  var jt = {};
508
- function tn(F) {
508
+ function tn(B) {
509
509
  {
510
510
  var te = ln();
511
511
  if (!te) {
512
- var ce = typeof F == "string" ? F : F.displayName || F.name;
512
+ var ce = typeof B == "string" ? B : B.displayName || B.name;
513
513
  ce && (te = `
514
514
 
515
515
  Check the top-level render call using <` + ce + ">.");
@@ -517,41 +517,41 @@ Check the top-level render call using <` + ce + ">.");
517
517
  return te;
518
518
  }
519
519
  }
520
- function _n(F, te) {
520
+ function _n(B, te) {
521
521
  {
522
- if (!F._store || F._store.validated || F.key != null)
522
+ if (!B._store || B._store.validated || B.key != null)
523
523
  return;
524
- F._store.validated = !0;
524
+ B._store.validated = !0;
525
525
  var ce = tn(te);
526
526
  if (jt[ce])
527
527
  return;
528
528
  jt[ce] = !0;
529
529
  var we = "";
530
- F && F._owner && F._owner !== Co.current && (we = " It was passed a child from " + I(F._owner.type) + "."), Ze(F), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', ce, we), Ze(null);
530
+ B && B._owner && B._owner !== Co.current && (we = " It was passed a child from " + I(B._owner.type) + "."), Ze(B), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', ce, we), Ze(null);
531
531
  }
532
532
  }
533
- function Ct(F, te) {
533
+ function Ct(B, te) {
534
534
  {
535
- if (typeof F != "object")
535
+ if (typeof B != "object")
536
536
  return;
537
- if (Ne(F))
538
- for (var ce = 0; ce < F.length; ce++) {
539
- var we = F[ce];
537
+ if (Ne(B))
538
+ for (var ce = 0; ce < B.length; ce++) {
539
+ var we = B[ce];
540
540
  zt(we) && _n(we, te);
541
541
  }
542
- else if (zt(F))
543
- F._store && (F._store.validated = !0);
544
- else if (F) {
545
- var Ie = m(F);
546
- if (typeof Ie == "function" && Ie !== F.entries)
547
- for (var Be = Ie.call(F), Pe; !(Pe = Be.next()).done; )
542
+ else if (zt(B))
543
+ B._store && (B._store.validated = !0);
544
+ else if (B) {
545
+ var Ie = m(B);
546
+ if (typeof Ie == "function" && Ie !== B.entries)
547
+ for (var Be = Ie.call(B), Pe; !(Pe = Be.next()).done; )
548
548
  zt(Pe.value) && _n(Pe.value, te);
549
549
  }
550
550
  }
551
551
  }
552
- function pn(F) {
552
+ function pn(B) {
553
553
  {
554
- var te = F.type;
554
+ var te = B.type;
555
555
  if (te == null || typeof te == "string")
556
556
  return;
557
557
  var ce;
@@ -565,7 +565,7 @@ Check the top-level render call using <` + ce + ">.");
565
565
  return;
566
566
  if (ce) {
567
567
  var we = I(te);
568
- yt(ce, F.props, "prop", we, F);
568
+ yt(ce, B.props, "prop", we, B);
569
569
  } else if (te.PropTypes !== void 0 && !Dt) {
570
570
  Dt = !0;
571
571
  var Ie = I(te);
@@ -574,30 +574,30 @@ Check the top-level render call using <` + ce + ">.");
574
574
  typeof te.getDefaultProps == "function" && !te.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
575
575
  }
576
576
  }
577
- function xr(F) {
577
+ function xr(B) {
578
578
  {
579
- for (var te = Object.keys(F.props), ce = 0; ce < te.length; ce++) {
579
+ for (var te = Object.keys(B.props), ce = 0; ce < te.length; ce++) {
580
580
  var we = te[ce];
581
581
  if (we !== "children" && we !== "key") {
582
- Ze(F), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", we), Ze(null);
582
+ Ze(B), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", we), Ze(null);
583
583
  break;
584
584
  }
585
585
  }
586
- F.ref !== null && (Ze(F), y("Invalid attribute `ref` supplied to `React.Fragment`."), Ze(null));
586
+ B.ref !== null && (Ze(B), y("Invalid attribute `ref` supplied to `React.Fragment`."), Ze(null));
587
587
  }
588
588
  }
589
- function nt(F, te, ce, we, Ie, Be) {
589
+ function nt(B, te, ce, we, Ie, Be) {
590
590
  {
591
- var Pe = O(F);
591
+ var Pe = O(B);
592
592
  if (!Pe) {
593
593
  var Ae = "";
594
- (F === void 0 || typeof F == "object" && F !== null && Object.keys(F).length === 0) && (Ae += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
594
+ (B === void 0 || typeof B == "object" && B !== null && Object.keys(B).length === 0) && (Ae += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
595
595
  var Jt = Pt();
596
596
  Jt ? Ae += Jt : Ae += ln();
597
597
  var ht;
598
- F === null ? ht = "null" : Ne(F) ? ht = "array" : F !== void 0 && F.$$typeof === t ? (ht = "<" + (I(F.type) || "Unknown") + " />", Ae = " Did you accidentally export a JSX literal instead of a component?") : ht = typeof F, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ht, Ae);
598
+ B === null ? ht = "null" : Ne(B) ? ht = "array" : B !== void 0 && B.$$typeof === t ? (ht = "<" + (I(B.type) || "Unknown") + " />", Ae = " Did you accidentally export a JSX literal instead of a component?") : ht = typeof B, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ht, Ae);
599
599
  }
600
- var qe = Ti(F, te, ce, Ie, Be);
600
+ var qe = Ti(B, te, ce, Ie, Be);
601
601
  if (qe == null)
602
602
  return qe;
603
603
  if (Pe) {
@@ -606,21 +606,21 @@ Check the top-level render call using <` + ce + ">.");
606
606
  if (we)
607
607
  if (Ne(An)) {
608
608
  for (var Eo = 0; Eo < An.length; Eo++)
609
- Ct(An[Eo], F);
609
+ Ct(An[Eo], B);
610
610
  Object.freeze && Object.freeze(An);
611
611
  } else
612
612
  y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
613
613
  else
614
- Ct(An, F);
614
+ Ct(An, B);
615
615
  }
616
- return F === r ? xr(qe) : pn(qe), qe;
616
+ return B === r ? xr(qe) : pn(qe), qe;
617
617
  }
618
618
  }
619
- function wr(F, te, ce) {
620
- return nt(F, te, ce, !0);
619
+ function wr(B, te, ce) {
620
+ return nt(B, te, ce, !0);
621
621
  }
622
- function ni(F, te, ce) {
623
- return nt(F, te, ce, !1);
622
+ function ni(B, te, ce) {
623
+ return nt(B, te, ce, !1);
624
624
  }
625
625
  var Ge = ni, rt = wr;
626
626
  al.Fragment = r, al.jsx = Ge, al.jsxs = rt;
@@ -1004,7 +1004,7 @@ var x = I4(), $4 = /* @__PURE__ */ function() {
1004
1004
  var k = T_(b, this.props.grid[0]), S = T_(w, this.props.grid[1]), C = this.props.snapGap || 0, O = C === 0 || Math.abs(k - b) <= C ? k : b, N = C === 0 || Math.abs(S - w) <= C ? S : w;
1005
1005
  b = O, w = N;
1006
1006
  }
1007
- var P = {
1007
+ var A = {
1008
1008
  width: b - h.width,
1009
1009
  height: w - h.height
1010
1010
  };
@@ -1016,8 +1016,8 @@ var x = I4(), $4 = /* @__PURE__ */ function() {
1016
1016
  var T = b / this.window.innerWidth * 100;
1017
1017
  b = T + "vw";
1018
1018
  } else if (p.endsWith("vh")) {
1019
- var A = b / this.window.innerHeight * 100;
1020
- b = A + "vh";
1019
+ var j = b / this.window.innerHeight * 100;
1020
+ b = j + "vh";
1021
1021
  }
1022
1022
  }
1023
1023
  if (g && typeof g == "string") {
@@ -1028,19 +1028,19 @@ var x = I4(), $4 = /* @__PURE__ */ function() {
1028
1028
  var T = w / this.window.innerWidth * 100;
1029
1029
  w = T + "vw";
1030
1030
  } else if (g.endsWith("vh")) {
1031
- var A = w / this.window.innerHeight * 100;
1032
- w = A + "vh";
1031
+ var j = w / this.window.innerHeight * 100;
1032
+ w = j + "vh";
1033
1033
  }
1034
1034
  }
1035
- var j = {
1035
+ var P = {
1036
1036
  width: this.createSizeForCssProperty(b, "width"),
1037
1037
  height: this.createSizeForCssProperty(w, "height")
1038
1038
  };
1039
- this.flexDir === "row" ? j.flexBasis = j.width : this.flexDir === "column" && (j.flexBasis = j.height);
1040
- var z = this.state.width !== j.width, B = this.state.height !== j.height, q = this.state.flexBasis !== j.flexBasis, D = z || B || q;
1039
+ this.flexDir === "row" ? P.flexBasis = P.width : this.flexDir === "column" && (P.flexBasis = P.height);
1040
+ var z = this.state.width !== P.width, F = this.state.height !== P.height, q = this.state.flexBasis !== P.flexBasis, D = z || F || q;
1041
1041
  D && x4(function() {
1042
- r.setState(j);
1043
- }), this.props.onResize && D && this.props.onResize(n, f, this.resizable, P);
1042
+ r.setState(P);
1043
+ }), this.props.onResize && D && this.props.onResize(n, f, this.resizable, A);
1044
1044
  }
1045
1045
  }, t.prototype.onMouseUp = function(n) {
1046
1046
  var r, o, i = this.state, a = i.isResizing, s = i.direction, l = i.original;
@@ -2270,9 +2270,9 @@ function KF() {
2270
2270
  }
2271
2271
  }
2272
2272
  }
2273
- var E = a, k = i, S = e, C = l, O = n, N = f, P = d, I = t, T = o, A = r, j = c, z = u, B = !1, q = !1;
2273
+ var E = a, k = i, S = e, C = l, O = n, N = f, A = d, I = t, T = o, j = r, P = c, z = u, F = !1, q = !1;
2274
2274
  function D(ee) {
2275
- return B || (B = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
2275
+ return F || (F = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
2276
2276
  }
2277
2277
  function $(ee) {
2278
2278
  return q || (q = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
@@ -2313,7 +2313,7 @@ function KF() {
2313
2313
  function ae(ee) {
2314
2314
  return _(ee) === u;
2315
2315
  }
2316
- Ye.ContextConsumer = E, Ye.ContextProvider = k, Ye.Element = S, Ye.ForwardRef = C, Ye.Fragment = O, Ye.Lazy = N, Ye.Memo = P, Ye.Portal = I, Ye.Profiler = T, Ye.StrictMode = A, Ye.Suspense = j, Ye.SuspenseList = z, Ye.isAsyncMode = D, Ye.isConcurrentMode = $, Ye.isContextConsumer = H, Ye.isContextProvider = M, Ye.isElement = L, Ye.isForwardRef = V, Ye.isFragment = U, Ye.isLazy = K, Ye.isMemo = W, Ye.isPortal = J, Ye.isProfiler = Q, Ye.isStrictMode = oe, Ye.isSuspense = G, Ye.isSuspenseList = ae, Ye.isValidElementType = b, Ye.typeOf = _;
2316
+ Ye.ContextConsumer = E, Ye.ContextProvider = k, Ye.Element = S, Ye.ForwardRef = C, Ye.Fragment = O, Ye.Lazy = N, Ye.Memo = A, Ye.Portal = I, Ye.Profiler = T, Ye.StrictMode = j, Ye.Suspense = P, Ye.SuspenseList = z, Ye.isAsyncMode = D, Ye.isConcurrentMode = $, Ye.isContextConsumer = H, Ye.isContextProvider = M, Ye.isElement = L, Ye.isForwardRef = V, Ye.isFragment = U, Ye.isLazy = K, Ye.isMemo = W, Ye.isPortal = J, Ye.isProfiler = Q, Ye.isStrictMode = oe, Ye.isSuspense = G, Ye.isSuspenseList = ae, Ye.isValidElementType = b, Ye.typeOf = _;
2317
2317
  }(), Ye;
2318
2318
  }
2319
2319
  var Y_;
@@ -5584,8 +5584,8 @@ function tw() {
5584
5584
  return function(O) {
5585
5585
  for (var N = 0; N < C.length; N++)
5586
5586
  if (C[N].input === O) {
5587
- var P = C[0];
5588
- return C[0] = C[N], C[N] = P, C[0].result;
5587
+ var A = C[0];
5588
+ return C[0] = C[N], C[N] = A, C[0].result;
5589
5589
  }
5590
5590
  var I = S(O);
5591
5591
  return C.unshift({
@@ -5601,16 +5601,16 @@ function tw() {
5601
5601
  return C;
5602
5602
  O = N.path;
5603
5603
  }
5604
- for (var P = e.isAbsolute(O), I = [], T = 0, A = 0; ; )
5605
- if (T = A, A = O.indexOf("/", T), A === -1) {
5604
+ for (var A = e.isAbsolute(O), I = [], T = 0, j = 0; ; )
5605
+ if (T = j, j = O.indexOf("/", T), j === -1) {
5606
5606
  I.push(O.slice(T));
5607
5607
  break;
5608
5608
  } else
5609
- for (I.push(O.slice(T, A)); A < O.length && O[A] === "/"; )
5610
- A++;
5611
- for (var j, z = 0, A = I.length - 1; A >= 0; A--)
5612
- j = I[A], j === "." ? I.splice(A, 1) : j === ".." ? z++ : z > 0 && (j === "" ? (I.splice(A + 1, z), z = 0) : (I.splice(A, 2), z--));
5613
- return O = I.join("/"), O === "" && (O = P ? "/" : "."), N ? (N.path = O, i(N)) : O;
5609
+ for (I.push(O.slice(T, j)); j < O.length && O[j] === "/"; )
5610
+ j++;
5611
+ for (var P, z = 0, j = I.length - 1; j >= 0; j--)
5612
+ P = I[j], P === "." ? I.splice(j, 1) : P === ".." ? z++ : z > 0 && (P === "" ? (I.splice(j + 1, z), z = 0) : (I.splice(j, 2), z--));
5613
+ return O = I.join("/"), O === "" && (O = A ? "/" : "."), N ? (N.path = O, i(N)) : O;
5614
5614
  });
5615
5615
  e.normalize = l;
5616
5616
  function c(S, C) {
@@ -5622,8 +5622,8 @@ function tw() {
5622
5622
  return C;
5623
5623
  if (N && !N.host && !N.path)
5624
5624
  return N.host = C, i(N);
5625
- var P = C.charAt(0) === "/" ? C : l(S.replace(/\/+$/, "") + "/" + C);
5626
- return N ? (N.path = P, i(N)) : P;
5625
+ var A = C.charAt(0) === "/" ? C : l(S.replace(/\/+$/, "") + "/" + C);
5626
+ return N ? (N.path = A, i(N)) : A;
5627
5627
  }
5628
5628
  e.join = c, e.isAbsolute = function(S) {
5629
5629
  return S.charAt(0) === "/" || n.test(S);
@@ -5703,8 +5703,8 @@ function tw() {
5703
5703
  if (!N)
5704
5704
  throw new Error("sourceMapURL could not be parsed");
5705
5705
  if (N.path) {
5706
- var P = N.path.lastIndexOf("/");
5707
- P >= 0 && (N.path = N.path.substring(0, P + 1));
5706
+ var A = N.path.lastIndexOf("/");
5707
+ A >= 0 && (N.path = N.path.substring(0, A + 1));
5708
5708
  }
5709
5709
  C = c(i(N), C);
5710
5710
  }
@@ -15852,8 +15852,8 @@ const $i = (e, t) => function(...n) {
15852
15852
  O.innerText = `.${C} { ${E.text} }`, b == null || b.appendChild(O);
15853
15853
  }
15854
15854
  (k = E.media) != null && k.length && E.media.forEach((O) => {
15855
- const N = `${S}_${O.type}_${O.value}`, P = this.getStyleDomById(N);
15856
- P.media = `screen and (${O.type}:${O.value}px)`, P.innerHTML = `.${C} { ${O.text} }`, b == null || b.appendChild(P);
15855
+ const N = `${S}_${O.type}_${O.value}`, A = this.getStyleDomById(N);
15856
+ A.media = `screen and (${O.type}:${O.value}px)`, A.innerHTML = `.${C} { ${O.text} }`, b == null || b.appendChild(A);
15857
15857
  });
15858
15858
  });
15859
15859
  }), ve(this, "removeMediaCSS", () => {
@@ -16117,25 +16117,25 @@ const $i = (e, t) => function(...n) {
16117
16117
  nodeRefs: y.nodeRefs
16118
16118
  },
16119
16119
  y
16120
- ), P = Lu(v, {
16120
+ ), A = Lu(v, {
16121
16121
  $$context: N,
16122
16122
  ...f
16123
16123
  }), I = this.injectEngEnv();
16124
- Object.assign(P, I);
16125
- const T = this.processNodeClassName(P.className, N);
16126
- P.className = T;
16127
- const A = this.processNodeStyle(N);
16128
- P.style = A;
16129
- const { children: j } = P;
16130
- delete P.children;
16131
- const z = this.processNodeChild(j, N);
16132
- if (P.key = `${P.key}-${k}`, Mi(w.key)) {
16133
- const B = w.key, q = Ja(B.value, N || {});
16134
- P.key += `-${q}`;
16124
+ Object.assign(A, I);
16125
+ const T = this.processNodeClassName(A.className, N);
16126
+ A.className = T;
16127
+ const j = this.processNodeStyle(N);
16128
+ A.style = j;
16129
+ const { children: P } = A;
16130
+ delete A.children;
16131
+ const z = this.processNodeChild(P, N);
16132
+ if (A.key = `${A.key}-${k}`, Mi(w.key)) {
16133
+ const F = w.key, q = Ja(F.value, N || {});
16134
+ A.key += `-${q}`;
16135
16135
  }
16136
- return P.ref = (B) => {
16137
- this.targetComponentRef.current = this.targetComponentRef.current || [], this.targetComponentRef.current[k] = B;
16138
- }, this.processNodeConditionAndConfigHook(P, z, N);
16136
+ return A.ref = (F) => {
16137
+ this.targetComponentRef.current = this.targetComponentRef.current || [], this.targetComponentRef.current[k] = F;
16138
+ }, this.processNodeConditionAndConfigHook(A, z, N);
16139
16139
  }), b;
16140
16140
  }
16141
16141
  }
@@ -18427,24 +18427,24 @@ var c2 = {}, u2 = function(e) {
18427
18427
  return l ? (v.res = O, v) : O;
18428
18428
  }
18429
18429
  if (c) {
18430
- var N = _ === "[object Array]", P = N ? [] : {}, I = N ? b : w;
18430
+ var N = _ === "[object Array]", A = N ? [] : {}, I = N ? b : w;
18431
18431
  for (var T in y)
18432
18432
  if (Object.prototype.hasOwnProperty.call(y, T)) {
18433
- var A = "".concat(I).concat(c).concat(T);
18434
- P[T] = this.translate(A, gn(gn({}, i), {
18433
+ var j = "".concat(I).concat(c).concat(T);
18434
+ A[T] = this.translate(j, gn(gn({}, i), {
18435
18435
  joinArrays: !1,
18436
18436
  ns: f
18437
- })), P[T] === A && (P[T] = y[T]);
18437
+ })), A[T] === j && (A[T] = y[T]);
18438
18438
  }
18439
- y = P;
18439
+ y = A;
18440
18440
  }
18441
18441
  } else if (S && typeof k == "string" && _ === "[object Array]")
18442
18442
  y = y.join(k), y && (y = this.extendTranslation(y, o, i, a));
18443
18443
  else {
18444
- var j = !1, z = !1, B = i.count !== void 0 && typeof i.count != "string", q = n.hasDefaultValue(i), D = B ? this.pluralResolver.getSuffix(p, i.count, i) : "", $ = i["defaultValue".concat(D)] || i.defaultValue;
18445
- !this.isValidLookup(y) && q && (j = !0, y = $), this.isValidLookup(y) || (z = !0, y = d);
18444
+ var P = !1, z = !1, F = i.count !== void 0 && typeof i.count != "string", q = n.hasDefaultValue(i), D = F ? this.pluralResolver.getSuffix(p, i.count, i) : "", $ = i["defaultValue".concat(D)] || i.defaultValue;
18445
+ !this.isValidLookup(y) && q && (P = !0, y = $), this.isValidLookup(y) || (z = !0, y = d);
18446
18446
  var H = i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey, M = H && z ? void 0 : y, L = q && $ !== y && this.options.updateMissing;
18447
- if (z || j || L) {
18447
+ if (z || P || L) {
18448
18448
  if (this.logger.log(L ? "updateKey" : "missingKey", p, h, d, L ? $ : y), c) {
18449
18449
  var V = this.resolve(d, gn(gn({}, i), {}, {
18450
18450
  keySeparator: !1
@@ -18460,13 +18460,13 @@ var c2 = {}, u2 = function(e) {
18460
18460
  var ee = q && ae !== y ? ae : M;
18461
18461
  s.options.missingKeyHandler ? s.options.missingKeyHandler(oe, h, G, ee, L, i) : s.backendConnector && s.backendConnector.saveMissing && s.backendConnector.saveMissing(oe, h, G, ee, L, i), s.emit("missingKey", oe, h, G, y);
18462
18462
  };
18463
- this.options.saveMissing && (this.options.saveMissingPlurals && B ? U.forEach(function(Q) {
18463
+ this.options.saveMissing && (this.options.saveMissingPlurals && F ? U.forEach(function(Q) {
18464
18464
  s.pluralResolver.getSuffixes(Q, i).forEach(function(oe) {
18465
18465
  J([Q], d + oe, i["defaultValue".concat(oe)] || $);
18466
18466
  });
18467
18467
  }) : J(U, d, $));
18468
18468
  }
18469
- y = this.extendTranslation(y, o, i, v, a), z && y === d && this.options.appendNamespaceToMissingKey && (y = "".concat(h, ":").concat(d)), (z || j) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? y = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? "".concat(h, ":").concat(d) : d, j ? y : void 0) : y = this.options.parseMissingKeyHandler(y));
18469
+ y = this.extendTranslation(y, o, i, v, a), z && y === d && this.options.appendNamespaceToMissingKey && (y = "".concat(h, ":").concat(d)), (z || P) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? y = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? "".concat(h, ":").concat(d) : d, P ? y : void 0) : y = this.options.parseMissingKeyHandler(y));
18470
18470
  }
18471
18471
  return l ? (v.res = y, v) : y;
18472
18472
  }
@@ -21077,8 +21077,8 @@ const rx = (e, t) => {
21077
21077
  const E = y, k = n.getNode(o.id);
21078
21078
  let S = "";
21079
21079
  if (k) {
21080
- const P = h(k, [...b, w]);
21081
- S = nb(P);
21080
+ const A = h(k, [...b, w]);
21081
+ S = nb(A);
21082
21082
  }
21083
21083
  let C = w;
21084
21084
  S && (C = nb(S) || w);
@@ -21216,7 +21216,7 @@ const iL = R.createContext({
21216
21216
  dropAnchorLine: Iue,
21217
21217
  arrowSpan: $ue
21218
21218
  }, Aa = "data-drag-key", aL = (e) => {
21219
- var z, B, q, D;
21219
+ var z, F, q, D;
21220
21220
  const t = Y({
21221
21221
  titleEditable: !1
21222
21222
  }), { level: n = 0, item: r, paths: o = ["0"] } = e, [i, a] = re(!0), {
@@ -21260,16 +21260,16 @@ const iL = R.createContext({
21260
21260
  expandKeys: M
21261
21261
  });
21262
21262
  };
21263
- const P = Y(null);
21263
+ const A = Y(null);
21264
21264
  ne(() => {
21265
21265
  var V, U;
21266
21266
  let $ = 0;
21267
- (V = P.current) == null || V.addEventListener("mouseenter", () => {
21267
+ (V = A.current) == null || V.addEventListener("mouseenter", () => {
21268
21268
  $ = window.setTimeout(() => {
21269
21269
  var K, W;
21270
21270
  ((K = N.current) == null ? void 0 : K.dragState) === Qa.DRAGGING && ((W = O.current) == null || W.call(O, r.key || ""));
21271
21271
  }, 0.8 * 1e3);
21272
- }), (U = P.current) == null || U.addEventListener("mouseleave", () => {
21272
+ }), (U = A.current) == null || U.addEventListener("mouseleave", () => {
21273
21273
  clearTimeout($);
21274
21274
  });
21275
21275
  const H = (K) => {
@@ -21288,19 +21288,19 @@ const iL = R.createContext({
21288
21288
  $ && clearTimeout($), document.removeEventListener("click", H), M == null || M.removeEventListener("click", H);
21289
21289
  };
21290
21290
  }, []);
21291
- const I = (B = s.pageModel) == null ? void 0 : B.getNode(r.key || ""), T = () => {
21291
+ const I = (F = s.pageModel) == null ? void 0 : F.getNode(r.key || ""), T = () => {
21292
21292
  const $ = !i;
21293
21293
  if (!I)
21294
21294
  return;
21295
21295
  const H = I.value.configure.devState ?? {};
21296
21296
  H.condition = $, I.value.configure.devState = H, I.updateValue(), a($);
21297
21297
  };
21298
- let A = r.title;
21299
- r.titleViewRender && (A = r.titleViewRender({
21298
+ let j = r.title;
21299
+ r.titleViewRender && (j = r.titleViewRender({
21300
21300
  item: r,
21301
21301
  titleView: r.title
21302
21302
  }));
21303
- const j = /* @__PURE__ */ x.jsxs("div", { className: Cn.nodeBox, children: [
21303
+ const P = /* @__PURE__ */ x.jsxs("div", { className: Cn.nodeBox, children: [
21304
21304
  /* @__PURE__ */ x.jsxs(
21305
21305
  "div",
21306
21306
  {
@@ -21319,7 +21319,7 @@ const iL = R.createContext({
21319
21319
  {
21320
21320
  className: Cn.nodeRenderView,
21321
21321
  ...C,
21322
- ref: P,
21322
+ ref: A,
21323
21323
  onClick: _,
21324
21324
  onDoubleClick: () => {
21325
21325
  var L;
@@ -21332,7 +21332,7 @@ const iL = R.createContext({
21332
21332
  }, 16.66);
21333
21333
  },
21334
21334
  children: [
21335
- !h && A,
21335
+ !h && j,
21336
21336
  h && /* @__PURE__ */ x.jsx(
21337
21337
  "div",
21338
21338
  {
@@ -21406,8 +21406,8 @@ const iL = R.createContext({
21406
21406
  ] });
21407
21407
  return r.containerRender ? r.containerRender({
21408
21408
  item: r,
21409
- treeNodeView: j
21410
- }) : j;
21409
+ treeNodeView: P
21410
+ }) : P;
21411
21411
  };
21412
21412
  class Lue extends R.Component {
21413
21413
  constructor(n) {
@@ -22469,7 +22469,7 @@ function wL() {
22469
22469
  (S = o[_[k].identifier]) && (vg(b), S("end", b, _[k]));
22470
22470
  }
22471
22471
  function w(b, _, E, k, S, C) {
22472
- var O = i.copy(), N = Or(C || E, _), P, I, T;
22472
+ var O = i.copy(), N = Or(C || E, _), A, I, T;
22473
22473
  if ((T = n.call(b, new ix("beforestart", {
22474
22474
  sourceEvent: E,
22475
22475
  target: f,
@@ -22481,29 +22481,29 @@ function wL() {
22481
22481
  dy: 0,
22482
22482
  dispatch: O
22483
22483
  }), k)) != null)
22484
- return P = T.x - N[0] || 0, I = T.y - N[1] || 0, function A(j, z, B) {
22484
+ return A = T.x - N[0] || 0, I = T.y - N[1] || 0, function j(P, z, F) {
22485
22485
  var q = N, D;
22486
- switch (j) {
22486
+ switch (P) {
22487
22487
  case "start":
22488
- o[S] = A, D = a++;
22488
+ o[S] = j, D = a++;
22489
22489
  break;
22490
22490
  case "end":
22491
22491
  delete o[S], --a;
22492
22492
  // falls through
22493
22493
  case "drag":
22494
- N = Or(B || z, _), D = a;
22494
+ N = Or(F || z, _), D = a;
22495
22495
  break;
22496
22496
  }
22497
22497
  O.call(
22498
- j,
22498
+ P,
22499
22499
  b,
22500
- new ix(j, {
22500
+ new ix(P, {
22501
22501
  sourceEvent: z,
22502
22502
  subject: T,
22503
22503
  target: f,
22504
22504
  identifier: S,
22505
22505
  active: D,
22506
- x: N[0] + P,
22506
+ x: N[0] + A,
22507
22507
  y: N[1] + I,
22508
22508
  dx: N[0] - q[0],
22509
22509
  dy: N[1] - q[1],
@@ -23652,56 +23652,56 @@ function gpe(e, t, n) {
23652
23652
  function $L() {
23653
23653
  var e = dpe, t = fpe, n = gpe, r = hpe, o = ppe, i = [0, 1 / 0], a = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], s = 250, l = Qfe, c = mh("start", "zoom", "end"), u, d, f, h = 500, p = 150, g = 0, m = 10;
23654
23654
  function v(T) {
23655
- T.property("__zoom", Y2).on("wheel.zoom", S, { passive: !1 }).on("mousedown.zoom", C).on("dblclick.zoom", O).filter(o).on("touchstart.zoom", N).on("touchmove.zoom", P).on("touchend.zoom touchcancel.zoom", I).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
23655
+ T.property("__zoom", Y2).on("wheel.zoom", S, { passive: !1 }).on("mousedown.zoom", C).on("dblclick.zoom", O).filter(o).on("touchstart.zoom", N).on("touchmove.zoom", A).on("touchend.zoom touchcancel.zoom", I).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
23656
23656
  }
23657
- v.transform = function(T, A, j, z) {
23658
- var B = T.selection ? T.selection() : T;
23659
- B.property("__zoom", Y2), T !== B ? _(T, A, j, z) : B.interrupt().each(function() {
23660
- E(this, arguments).event(z).start().zoom(null, typeof A == "function" ? A.apply(this, arguments) : A).end();
23657
+ v.transform = function(T, j, P, z) {
23658
+ var F = T.selection ? T.selection() : T;
23659
+ F.property("__zoom", Y2), T !== F ? _(T, j, P, z) : F.interrupt().each(function() {
23660
+ E(this, arguments).event(z).start().zoom(null, typeof j == "function" ? j.apply(this, arguments) : j).end();
23661
23661
  });
23662
- }, v.scaleBy = function(T, A, j, z) {
23662
+ }, v.scaleBy = function(T, j, P, z) {
23663
23663
  v.scaleTo(T, function() {
23664
- var B = this.__zoom.k, q = typeof A == "function" ? A.apply(this, arguments) : A;
23665
- return B * q;
23666
- }, j, z);
23667
- }, v.scaleTo = function(T, A, j, z) {
23664
+ var F = this.__zoom.k, q = typeof j == "function" ? j.apply(this, arguments) : j;
23665
+ return F * q;
23666
+ }, P, z);
23667
+ }, v.scaleTo = function(T, j, P, z) {
23668
23668
  v.transform(T, function() {
23669
- var B = t.apply(this, arguments), q = this.__zoom, D = j == null ? b(B) : typeof j == "function" ? j.apply(this, arguments) : j, $ = q.invert(D), H = typeof A == "function" ? A.apply(this, arguments) : A;
23670
- return n(w(y(q, H), D, $), B, a);
23671
- }, j, z);
23672
- }, v.translateBy = function(T, A, j, z) {
23669
+ var F = t.apply(this, arguments), q = this.__zoom, D = P == null ? b(F) : typeof P == "function" ? P.apply(this, arguments) : P, $ = q.invert(D), H = typeof j == "function" ? j.apply(this, arguments) : j;
23670
+ return n(w(y(q, H), D, $), F, a);
23671
+ }, P, z);
23672
+ }, v.translateBy = function(T, j, P, z) {
23673
23673
  v.transform(T, function() {
23674
23674
  return n(this.__zoom.translate(
23675
- typeof A == "function" ? A.apply(this, arguments) : A,
23676
- typeof j == "function" ? j.apply(this, arguments) : j
23675
+ typeof j == "function" ? j.apply(this, arguments) : j,
23676
+ typeof P == "function" ? P.apply(this, arguments) : P
23677
23677
  ), t.apply(this, arguments), a);
23678
23678
  }, null, z);
23679
- }, v.translateTo = function(T, A, j, z, B) {
23679
+ }, v.translateTo = function(T, j, P, z, F) {
23680
23680
  v.transform(T, function() {
23681
23681
  var q = t.apply(this, arguments), D = this.__zoom, $ = z == null ? b(q) : typeof z == "function" ? z.apply(this, arguments) : z;
23682
23682
  return n(xh.translate($[0], $[1]).scale(D.k).translate(
23683
- typeof A == "function" ? -A.apply(this, arguments) : -A,
23684
- typeof j == "function" ? -j.apply(this, arguments) : -j
23683
+ typeof j == "function" ? -j.apply(this, arguments) : -j,
23684
+ typeof P == "function" ? -P.apply(this, arguments) : -P
23685
23685
  ), q, a);
23686
- }, z, B);
23686
+ }, z, F);
23687
23687
  };
23688
- function y(T, A) {
23689
- return A = Math.max(i[0], Math.min(i[1], A)), A === T.k ? T : new $o(A, T.x, T.y);
23688
+ function y(T, j) {
23689
+ return j = Math.max(i[0], Math.min(i[1], j)), j === T.k ? T : new $o(j, T.x, T.y);
23690
23690
  }
23691
- function w(T, A, j) {
23692
- var z = A[0] - j[0] * T.k, B = A[1] - j[1] * T.k;
23693
- return z === T.x && B === T.y ? T : new $o(T.k, z, B);
23691
+ function w(T, j, P) {
23692
+ var z = j[0] - P[0] * T.k, F = j[1] - P[1] * T.k;
23693
+ return z === T.x && F === T.y ? T : new $o(T.k, z, F);
23694
23694
  }
23695
23695
  function b(T) {
23696
23696
  return [(+T[0][0] + +T[1][0]) / 2, (+T[0][1] + +T[1][1]) / 2];
23697
23697
  }
23698
- function _(T, A, j, z) {
23698
+ function _(T, j, P, z) {
23699
23699
  T.on("start.zoom", function() {
23700
23700
  E(this, arguments).event(z).start();
23701
23701
  }).on("interrupt.zoom end.zoom", function() {
23702
23702
  E(this, arguments).event(z).end();
23703
23703
  }).tween("zoom", function() {
23704
- var B = this, q = arguments, D = E(B, q).event(z), $ = t.apply(B, q), H = j == null ? b($) : typeof j == "function" ? j.apply(B, q) : j, M = Math.max($[1][0] - $[0][0], $[1][1] - $[0][1]), L = B.__zoom, V = typeof A == "function" ? A.apply(B, q) : A, U = l(L.invert(H).concat(M / L.k), V.invert(H).concat(M / V.k));
23704
+ var F = this, q = arguments, D = E(F, q).event(z), $ = t.apply(F, q), H = P == null ? b($) : typeof P == "function" ? P.apply(F, q) : P, M = Math.max($[1][0] - $[0][0], $[1][1] - $[0][1]), L = F.__zoom, V = typeof j == "function" ? j.apply(F, q) : j, U = l(L.invert(H).concat(M / L.k), V.invert(H).concat(M / V.k));
23705
23705
  return function(K) {
23706
23706
  if (K === 1) K = V;
23707
23707
  else {
@@ -23712,11 +23712,11 @@ function $L() {
23712
23712
  };
23713
23713
  });
23714
23714
  }
23715
- function E(T, A, j) {
23716
- return !j && T.__zooming || new k(T, A);
23715
+ function E(T, j, P) {
23716
+ return !P && T.__zooming || new k(T, j);
23717
23717
  }
23718
- function k(T, A) {
23719
- this.that = T, this.args = A, this.active = 0, this.sourceEvent = null, this.extent = t.apply(T, A), this.taps = 0;
23718
+ function k(T, j) {
23719
+ this.that = T, this.args = j, this.active = 0, this.sourceEvent = null, this.extent = t.apply(T, j), this.taps = 0;
23720
23720
  }
23721
23721
  k.prototype = {
23722
23722
  event: function(T) {
@@ -23725,14 +23725,14 @@ function $L() {
23725
23725
  start: function() {
23726
23726
  return ++this.active === 1 && (this.that.__zooming = this, this.emit("start")), this;
23727
23727
  },
23728
- zoom: function(T, A) {
23729
- return this.mouse && T !== "mouse" && (this.mouse[1] = A.invert(this.mouse[0])), this.touch0 && T !== "touch" && (this.touch0[1] = A.invert(this.touch0[0])), this.touch1 && T !== "touch" && (this.touch1[1] = A.invert(this.touch1[0])), this.that.__zoom = A, this.emit("zoom"), this;
23728
+ zoom: function(T, j) {
23729
+ return this.mouse && T !== "mouse" && (this.mouse[1] = j.invert(this.mouse[0])), this.touch0 && T !== "touch" && (this.touch0[1] = j.invert(this.touch0[0])), this.touch1 && T !== "touch" && (this.touch1[1] = j.invert(this.touch1[0])), this.that.__zoom = j, this.emit("zoom"), this;
23730
23730
  },
23731
23731
  end: function() {
23732
23732
  return --this.active === 0 && (delete this.that.__zooming, this.emit("end")), this;
23733
23733
  },
23734
23734
  emit: function(T) {
23735
- var A = Qn(this.that).datum();
23735
+ var j = Qn(this.that).datum();
23736
23736
  c.call(
23737
23737
  T,
23738
23738
  this.that,
@@ -23743,77 +23743,77 @@ function $L() {
23743
23743
  transform: this.that.__zoom,
23744
23744
  dispatch: c
23745
23745
  }),
23746
- A
23746
+ j
23747
23747
  );
23748
23748
  }
23749
23749
  };
23750
- function S(T, ...A) {
23750
+ function S(T, ...j) {
23751
23751
  if (!e.apply(this, arguments)) return;
23752
- var j = E(this, A).event(T), z = this.__zoom, B = Math.max(i[0], Math.min(i[1], z.k * Math.pow(2, r.apply(this, arguments)))), q = Or(T);
23753
- if (j.wheel)
23754
- (j.mouse[0][0] !== q[0] || j.mouse[0][1] !== q[1]) && (j.mouse[1] = z.invert(j.mouse[0] = q)), clearTimeout(j.wheel);
23752
+ var P = E(this, j).event(T), z = this.__zoom, F = Math.max(i[0], Math.min(i[1], z.k * Math.pow(2, r.apply(this, arguments)))), q = Or(T);
23753
+ if (P.wheel)
23754
+ (P.mouse[0][0] !== q[0] || P.mouse[0][1] !== q[1]) && (P.mouse[1] = z.invert(P.mouse[0] = q)), clearTimeout(P.wheel);
23755
23755
  else {
23756
- if (z.k === B) return;
23757
- j.mouse = [q, z.invert(q)], Rd(this), j.start();
23756
+ if (z.k === F) return;
23757
+ P.mouse = [q, z.invert(q)], Rd(this), P.start();
23758
23758
  }
23759
- ml(T), j.wheel = setTimeout(D, p), j.zoom("mouse", n(w(y(z, B), j.mouse[0], j.mouse[1]), j.extent, a));
23759
+ ml(T), P.wheel = setTimeout(D, p), P.zoom("mouse", n(w(y(z, F), P.mouse[0], P.mouse[1]), P.extent, a));
23760
23760
  function D() {
23761
- j.wheel = null, j.end();
23761
+ P.wheel = null, P.end();
23762
23762
  }
23763
23763
  }
23764
- function C(T, ...A) {
23764
+ function C(T, ...j) {
23765
23765
  if (f || !e.apply(this, arguments)) return;
23766
- var j = T.currentTarget, z = E(this, A, !0).event(T), B = Qn(T.view).on("mousemove.zoom", H, !0).on("mouseup.zoom", M, !0), q = Or(T, j), D = T.clientX, $ = T.clientY;
23766
+ var P = T.currentTarget, z = E(this, j, !0).event(T), F = Qn(T.view).on("mousemove.zoom", H, !0).on("mouseup.zoom", M, !0), q = Or(T, P), D = T.clientX, $ = T.clientY;
23767
23767
  bL(T.view), xg(T), z.mouse = [q, this.__zoom.invert(q)], Rd(this), z.start();
23768
23768
  function H(L) {
23769
23769
  if (ml(L), !z.moved) {
23770
23770
  var V = L.clientX - D, U = L.clientY - $;
23771
23771
  z.moved = V * V + U * U > g;
23772
23772
  }
23773
- z.event(L).zoom("mouse", n(w(z.that.__zoom, z.mouse[0] = Or(L, j), z.mouse[1]), z.extent, a));
23773
+ z.event(L).zoom("mouse", n(w(z.that.__zoom, z.mouse[0] = Or(L, P), z.mouse[1]), z.extent, a));
23774
23774
  }
23775
23775
  function M(L) {
23776
- B.on("mousemove.zoom mouseup.zoom", null), xL(L.view, z.moved), ml(L), z.event(L).end();
23776
+ F.on("mousemove.zoom mouseup.zoom", null), xL(L.view, z.moved), ml(L), z.event(L).end();
23777
23777
  }
23778
23778
  }
23779
- function O(T, ...A) {
23779
+ function O(T, ...j) {
23780
23780
  if (e.apply(this, arguments)) {
23781
- var j = this.__zoom, z = Or(T.changedTouches ? T.changedTouches[0] : T, this), B = j.invert(z), q = j.k * (T.shiftKey ? 0.5 : 2), D = n(w(y(j, q), z, B), t.apply(this, A), a);
23781
+ var P = this.__zoom, z = Or(T.changedTouches ? T.changedTouches[0] : T, this), F = P.invert(z), q = P.k * (T.shiftKey ? 0.5 : 2), D = n(w(y(P, q), z, F), t.apply(this, j), a);
23782
23782
  ml(T), s > 0 ? Qn(this).transition().duration(s).call(_, D, z, T) : Qn(this).call(v.transform, D, z, T);
23783
23783
  }
23784
23784
  }
23785
- function N(T, ...A) {
23785
+ function N(T, ...j) {
23786
23786
  if (e.apply(this, arguments)) {
23787
- var j = T.touches, z = j.length, B = E(this, A, T.changedTouches.length === z).event(T), q, D, $, H;
23787
+ var P = T.touches, z = P.length, F = E(this, j, T.changedTouches.length === z).event(T), q, D, $, H;
23788
23788
  for (xg(T), D = 0; D < z; ++D)
23789
- $ = j[D], H = Or($, this), H = [H, this.__zoom.invert(H), $.identifier], B.touch0 ? !B.touch1 && B.touch0[2] !== H[2] && (B.touch1 = H, B.taps = 0) : (B.touch0 = H, q = !0, B.taps = 1 + !!u);
23790
- u && (u = clearTimeout(u)), q && (B.taps < 2 && (d = H[0], u = setTimeout(function() {
23789
+ $ = P[D], H = Or($, this), H = [H, this.__zoom.invert(H), $.identifier], F.touch0 ? !F.touch1 && F.touch0[2] !== H[2] && (F.touch1 = H, F.taps = 0) : (F.touch0 = H, q = !0, F.taps = 1 + !!u);
23790
+ u && (u = clearTimeout(u)), q && (F.taps < 2 && (d = H[0], u = setTimeout(function() {
23791
23791
  u = null;
23792
- }, h)), Rd(this), B.start());
23792
+ }, h)), Rd(this), F.start());
23793
23793
  }
23794
23794
  }
23795
- function P(T, ...A) {
23795
+ function A(T, ...j) {
23796
23796
  if (this.__zooming) {
23797
- var j = E(this, A).event(T), z = T.changedTouches, B = z.length, q, D, $, H;
23798
- for (ml(T), q = 0; q < B; ++q)
23799
- D = z[q], $ = Or(D, this), j.touch0 && j.touch0[2] === D.identifier ? j.touch0[0] = $ : j.touch1 && j.touch1[2] === D.identifier && (j.touch1[0] = $);
23800
- if (D = j.that.__zoom, j.touch1) {
23801
- var M = j.touch0[0], L = j.touch0[1], V = j.touch1[0], U = j.touch1[1], K = (K = V[0] - M[0]) * K + (K = V[1] - M[1]) * K, W = (W = U[0] - L[0]) * W + (W = U[1] - L[1]) * W;
23797
+ var P = E(this, j).event(T), z = T.changedTouches, F = z.length, q, D, $, H;
23798
+ for (ml(T), q = 0; q < F; ++q)
23799
+ D = z[q], $ = Or(D, this), P.touch0 && P.touch0[2] === D.identifier ? P.touch0[0] = $ : P.touch1 && P.touch1[2] === D.identifier && (P.touch1[0] = $);
23800
+ if (D = P.that.__zoom, P.touch1) {
23801
+ var M = P.touch0[0], L = P.touch0[1], V = P.touch1[0], U = P.touch1[1], K = (K = V[0] - M[0]) * K + (K = V[1] - M[1]) * K, W = (W = U[0] - L[0]) * W + (W = U[1] - L[1]) * W;
23802
23802
  D = y(D, Math.sqrt(K / W)), $ = [(M[0] + V[0]) / 2, (M[1] + V[1]) / 2], H = [(L[0] + U[0]) / 2, (L[1] + U[1]) / 2];
23803
- } else if (j.touch0) $ = j.touch0[0], H = j.touch0[1];
23803
+ } else if (P.touch0) $ = P.touch0[0], H = P.touch0[1];
23804
23804
  else return;
23805
- j.zoom("touch", n(w(D, $, H), j.extent, a));
23805
+ P.zoom("touch", n(w(D, $, H), P.extent, a));
23806
23806
  }
23807
23807
  }
23808
- function I(T, ...A) {
23808
+ function I(T, ...j) {
23809
23809
  if (this.__zooming) {
23810
- var j = E(this, A).event(T), z = T.changedTouches, B = z.length, q, D;
23810
+ var P = E(this, j).event(T), z = T.changedTouches, F = z.length, q, D;
23811
23811
  for (xg(T), f && clearTimeout(f), f = setTimeout(function() {
23812
23812
  f = null;
23813
- }, h), q = 0; q < B; ++q)
23814
- D = z[q], j.touch0 && j.touch0[2] === D.identifier ? delete j.touch0 : j.touch1 && j.touch1[2] === D.identifier && delete j.touch1;
23815
- if (j.touch1 && !j.touch0 && (j.touch0 = j.touch1, delete j.touch1), j.touch0) j.touch0[1] = this.__zoom.invert(j.touch0[0]);
23816
- else if (j.end(), j.taps === 2 && (D = Or(D, this), Math.hypot(d[0] - D[0], d[1] - D[1]) < m)) {
23813
+ }, h), q = 0; q < F; ++q)
23814
+ D = z[q], P.touch0 && P.touch0[2] === D.identifier ? delete P.touch0 : P.touch1 && P.touch1[2] === D.identifier && delete P.touch1;
23815
+ if (P.touch1 && !P.touch0 && (P.touch0 = P.touch1, delete P.touch1), P.touch0) P.touch0[1] = this.__zoom.invert(P.touch0[0]);
23816
+ else if (P.end(), P.taps === 2 && (D = Or(D, this), Math.hypot(d[0] - D[0], d[1] - D[1]) < m)) {
23817
23817
  var $ = Qn(this).on("dblclick.zoom");
23818
23818
  $ && $.apply(this, arguments);
23819
23819
  }
@@ -24281,11 +24281,11 @@ function kpe({ source: e, sourcePosition: t = ye.Bottom, target: n, targetPositi
24281
24281
  }
24282
24282
  }
24283
24283
  if (t !== r) {
24284
- const I = d === "x" ? "y" : "x", T = a[d] === s[I], A = l[I] > c[I], j = l[I] < c[I];
24285
- (a[d] === 1 && (!T && A || T && j) || a[d] !== 1 && (!T && j || T && A)) && (h = d === "x" ? k : S);
24284
+ const I = d === "x" ? "y" : "x", T = a[d] === s[I], j = l[I] > c[I], P = l[I] < c[I];
24285
+ (a[d] === 1 && (!T && j || T && P) || a[d] !== 1 && (!T && P || T && j)) && (h = d === "x" ? k : S);
24286
24286
  }
24287
- const C = { x: l.x + m.x, y: l.y + m.y }, O = { x: c.x + v.x, y: c.y + v.y }, N = Math.max(Math.abs(C.x - h[0].x), Math.abs(O.x - h[0].x)), P = Math.max(Math.abs(C.y - h[0].y), Math.abs(O.y - h[0].y));
24288
- N >= P ? (p = (C.x + O.x) / 2, g = h[0].y) : (p = h[0].x, g = (C.y + O.y) / 2);
24287
+ const C = { x: l.x + m.x, y: l.y + m.y }, O = { x: c.x + v.x, y: c.y + v.y }, N = Math.max(Math.abs(C.x - h[0].x), Math.abs(O.x - h[0].x)), A = Math.max(Math.abs(C.y - h[0].y), Math.abs(O.y - h[0].y));
24288
+ N >= A ? (p = (C.x + O.x) / 2, g = h[0].y) : (p = h[0].x, g = (C.y + O.y) / 2);
24289
24289
  }
24290
24290
  return [[
24291
24291
  e,
@@ -24654,8 +24654,8 @@ function Lpe({ onNodeMouseDown: e, getStoreItems: t, onDragStart: n, onDrag: r,
24654
24654
  let i = { x: null, y: null }, a = 0, s = /* @__PURE__ */ new Map(), l = !1, c = { x: 0, y: 0 }, u = null, d = !1, f = null, h = !1;
24655
24655
  function p({ noDragClassName: m, handleSelector: v, domNode: y, isSelectable: w, nodeId: b, nodeClickDistance: _ = 0 }) {
24656
24656
  f = Qn(y);
24657
- function E({ x: O, y: N }, P) {
24658
- const { nodeLookup: I, nodeExtent: T, snapGrid: A, snapToGrid: j, nodeOrigin: z, onNodeDrag: B, onSelectionDrag: q, onError: D, updateNodePositions: $ } = t();
24657
+ function E({ x: O, y: N }, A) {
24658
+ const { nodeLookup: I, nodeExtent: T, snapGrid: j, snapToGrid: P, nodeOrigin: z, onNodeDrag: F, onSelectionDrag: q, onError: D, updateNodePositions: $ } = t();
24659
24659
  i = { x: O, y: N };
24660
24660
  let H = !1, M = { x: 0, y: 0, x2: 0, y2: 0 };
24661
24661
  if (s.size > 1 && T) {
@@ -24666,7 +24666,7 @@ function Lpe({ onNodeMouseDown: e, getStoreItems: t, onDragStart: n, onDrag: r,
24666
24666
  if (!I.has(L))
24667
24667
  continue;
24668
24668
  let U = { x: O - V.distance.x, y: N - V.distance.y };
24669
- j && (U = _h(U, A));
24669
+ P && (U = _h(U, j));
24670
24670
  let K = [
24671
24671
  [T[0][0], T[0][1]],
24672
24672
  [T[1][0], T[1][1]]
@@ -24688,59 +24688,59 @@ function Lpe({ onNodeMouseDown: e, getStoreItems: t, onDragStart: n, onDrag: r,
24688
24688
  });
24689
24689
  H = H || V.position.x !== W.x || V.position.y !== W.y, V.position = W, V.internals.positionAbsolute = J;
24690
24690
  }
24691
- if (H && ($(s, !0), P && (r || B || !b && q))) {
24691
+ if (H && ($(s, !0), A && (r || F || !b && q))) {
24692
24692
  const [L, V] = wg({
24693
24693
  nodeId: b,
24694
24694
  dragItems: s,
24695
24695
  nodeLookup: I
24696
24696
  });
24697
- r == null || r(P, s, L, V), B == null || B(P, L, V), b || q == null || q(P, V);
24697
+ r == null || r(A, s, L, V), F == null || F(A, L, V), b || q == null || q(A, V);
24698
24698
  }
24699
24699
  }
24700
24700
  async function k() {
24701
24701
  if (!u)
24702
24702
  return;
24703
- const { transform: O, panBy: N, autoPanSpeed: P } = t(), [I, T] = qL(c, u, P);
24703
+ const { transform: O, panBy: N, autoPanSpeed: A } = t(), [I, T] = qL(c, u, A);
24704
24704
  (I !== 0 || T !== 0) && (i.x = (i.x ?? 0) - I / O[2], i.y = (i.y ?? 0) - T / O[2], await N({ x: I, y: T }) && E(i, null)), a = requestAnimationFrame(k);
24705
24705
  }
24706
24706
  function S(O) {
24707
24707
  var H;
24708
- const { nodeLookup: N, multiSelectionActive: P, nodesDraggable: I, transform: T, snapGrid: A, snapToGrid: j, selectNodesOnDrag: z, onNodeDragStart: B, onSelectionDragStart: q, unselectNodesAndEdges: D } = t();
24709
- d = !0, (!z || !w) && !P && b && ((H = N.get(b)) != null && H.selected || D()), w && z && b && (e == null || e(b));
24710
- const $ = Gl(O.sourceEvent, { transform: T, snapGrid: A, snapToGrid: j, containerBounds: u });
24711
- if (i = $, s = $pe(N, I, $, b), s.size > 0 && (n || B || !b && q)) {
24708
+ const { nodeLookup: N, multiSelectionActive: A, nodesDraggable: I, transform: T, snapGrid: j, snapToGrid: P, selectNodesOnDrag: z, onNodeDragStart: F, onSelectionDragStart: q, unselectNodesAndEdges: D } = t();
24709
+ d = !0, (!z || !w) && !A && b && ((H = N.get(b)) != null && H.selected || D()), w && z && b && (e == null || e(b));
24710
+ const $ = Gl(O.sourceEvent, { transform: T, snapGrid: j, snapToGrid: P, containerBounds: u });
24711
+ if (i = $, s = $pe(N, I, $, b), s.size > 0 && (n || F || !b && q)) {
24712
24712
  const [M, L] = wg({
24713
24713
  nodeId: b,
24714
24714
  dragItems: s,
24715
24715
  nodeLookup: N
24716
24716
  });
24717
- n == null || n(O.sourceEvent, s, M, L), B == null || B(O.sourceEvent, M, L), b || q == null || q(O.sourceEvent, L);
24717
+ n == null || n(O.sourceEvent, s, M, L), F == null || F(O.sourceEvent, M, L), b || q == null || q(O.sourceEvent, L);
24718
24718
  }
24719
24719
  }
24720
24720
  const C = wL().clickDistance(_).on("start", (O) => {
24721
- const { domNode: N, nodeDragThreshold: P, transform: I, snapGrid: T, snapToGrid: A } = t();
24722
- u = (N == null ? void 0 : N.getBoundingClientRect()) || null, h = !1, P === 0 && S(O), i = Gl(O.sourceEvent, { transform: I, snapGrid: T, snapToGrid: A, containerBounds: u }), c = Do(O.sourceEvent, u);
24721
+ const { domNode: N, nodeDragThreshold: A, transform: I, snapGrid: T, snapToGrid: j } = t();
24722
+ u = (N == null ? void 0 : N.getBoundingClientRect()) || null, h = !1, A === 0 && S(O), i = Gl(O.sourceEvent, { transform: I, snapGrid: T, snapToGrid: j, containerBounds: u }), c = Do(O.sourceEvent, u);
24723
24723
  }).on("drag", (O) => {
24724
- const { autoPanOnNodeDrag: N, transform: P, snapGrid: I, snapToGrid: T, nodeDragThreshold: A, nodeLookup: j } = t(), z = Gl(O.sourceEvent, { transform: P, snapGrid: I, snapToGrid: T, containerBounds: u });
24724
+ const { autoPanOnNodeDrag: N, transform: A, snapGrid: I, snapToGrid: T, nodeDragThreshold: j, nodeLookup: P } = t(), z = Gl(O.sourceEvent, { transform: A, snapGrid: I, snapToGrid: T, containerBounds: u });
24725
24725
  if ((O.sourceEvent.type === "touchmove" && O.sourceEvent.touches.length > 1 || // if user deletes a node while dragging, we need to abort the drag to prevent errors
24726
- b && !j.has(b)) && (h = !0), !h) {
24726
+ b && !P.has(b)) && (h = !0), !h) {
24727
24727
  if (!l && N && d && (l = !0, k()), !d) {
24728
- const B = z.xSnapped - (i.x ?? 0), q = z.ySnapped - (i.y ?? 0);
24729
- Math.sqrt(B * B + q * q) > A && S(O);
24728
+ const F = z.xSnapped - (i.x ?? 0), q = z.ySnapped - (i.y ?? 0);
24729
+ Math.sqrt(F * F + q * q) > j && S(O);
24730
24730
  }
24731
24731
  (i.x !== z.xSnapped || i.y !== z.ySnapped) && s && d && (c = Do(O.sourceEvent, u), E(z, O.sourceEvent));
24732
24732
  }
24733
24733
  }).on("end", (O) => {
24734
24734
  if (!(!d || h) && (l = !1, d = !1, cancelAnimationFrame(a), s.size > 0)) {
24735
- const { nodeLookup: N, updateNodePositions: P, onNodeDragStop: I, onSelectionDragStop: T } = t();
24736
- if (P(s, !1), o || I || !b && T) {
24737
- const [A, j] = wg({
24735
+ const { nodeLookup: N, updateNodePositions: A, onNodeDragStop: I, onSelectionDragStop: T } = t();
24736
+ if (A(s, !1), o || I || !b && T) {
24737
+ const [j, P] = wg({
24738
24738
  nodeId: b,
24739
24739
  dragItems: s,
24740
24740
  nodeLookup: N,
24741
24741
  dragging: !1
24742
24742
  });
24743
- o == null || o(O.sourceEvent, s, A, j), I == null || I(O.sourceEvent, A, j), b || T == null || T(O.sourceEvent, j);
24743
+ o == null || o(O.sourceEvent, s, j, P), I == null || I(O.sourceEvent, j, P), b || T == null || T(O.sourceEvent, P);
24744
24744
  }
24745
24745
  }
24746
24746
  }).filter((O) => {
@@ -24809,24 +24809,24 @@ const l3 = () => !0;
24809
24809
  function Vpe(e, { connectionMode: t, connectionRadius: n, handleId: r, nodeId: o, edgeUpdaterType: i, isTarget: a, domNode: s, nodeLookup: l, lib: c, autoPanOnConnect: u, flowId: d, panBy: f, cancelConnection: h, onConnectStart: p, onConnect: g, onConnectEnd: m, isValidConnection: v = l3, onReconnectEnd: y, updateConnection: w, getTransform: b, getFromHandle: _, autoPanSpeed: E }) {
24810
24810
  const k = XL(e.target);
24811
24811
  let S = 0, C;
24812
- const { x: O, y: N } = Do(e), P = k == null ? void 0 : k.elementFromPoint(O, N), I = s3(i, P), T = s == null ? void 0 : s.getBoundingClientRect();
24812
+ const { x: O, y: N } = Do(e), A = k == null ? void 0 : k.elementFromPoint(O, N), I = s3(i, A), T = s == null ? void 0 : s.getBoundingClientRect();
24813
24813
  if (!T || !I)
24814
24814
  return;
24815
- const A = a3(o, I, r, l, t);
24816
- if (!A)
24815
+ const j = a3(o, I, r, l, t);
24816
+ if (!j)
24817
24817
  return;
24818
- let j = Do(e, T), z = !1, B = null, q = !1, D = null;
24818
+ let P = Do(e, T), z = !1, F = null, q = !1, D = null;
24819
24819
  function $() {
24820
24820
  if (!u || !T)
24821
24821
  return;
24822
- const [J, Q] = qL(j, T, E);
24822
+ const [J, Q] = qL(P, T, E);
24823
24823
  f({ x: J, y: Q }), S = requestAnimationFrame($);
24824
24824
  }
24825
24825
  const H = {
24826
- ...A,
24826
+ ...j,
24827
24827
  nodeId: o,
24828
24828
  type: I,
24829
- position: A.position
24829
+ position: j.position
24830
24830
  }, M = l.get(o), V = {
24831
24831
  inProgress: !0,
24832
24832
  isValid: null,
@@ -24834,7 +24834,7 @@ function Vpe(e, { connectionMode: t, connectionRadius: n, handleId: r, nodeId: o
24834
24834
  fromHandle: H,
24835
24835
  fromPosition: H.position,
24836
24836
  fromNode: M,
24837
- to: j,
24837
+ to: P,
24838
24838
  toHandle: null,
24839
24839
  toPosition: X2[H.position],
24840
24840
  toNode: null
@@ -24848,7 +24848,7 @@ function Vpe(e, { connectionMode: t, connectionRadius: n, handleId: r, nodeId: o
24848
24848
  return;
24849
24849
  }
24850
24850
  const Q = b();
24851
- j = Do(J, T), C = Fpe(nu(j, Q, !1, [1, 1]), n, l, H), z || ($(), z = !0);
24851
+ P = Do(J, T), C = Fpe(nu(P, Q, !1, [1, 1]), n, l, H), z || ($(), z = !0);
24852
24852
  const oe = c3(J, {
24853
24853
  handle: C,
24854
24854
  connectionMode: t,
@@ -24861,12 +24861,12 @@ function Vpe(e, { connectionMode: t, connectionRadius: n, handleId: r, nodeId: o
24861
24861
  flowId: d,
24862
24862
  nodeLookup: l
24863
24863
  });
24864
- D = oe.handleDomNode, B = oe.connection, q = Bpe(!!C, oe.isValid);
24864
+ D = oe.handleDomNode, F = oe.connection, q = Bpe(!!C, oe.isValid);
24865
24865
  const G = {
24866
24866
  // from stays the same
24867
24867
  ...U,
24868
24868
  isValid: q,
24869
- to: C && q ? GL({ x: C.x, y: C.y }, Q) : j,
24869
+ to: C && q ? GL({ x: C.x, y: C.y }, Q) : P,
24870
24870
  toHandle: oe.toHandle,
24871
24871
  toPosition: q && oe.toHandle ? oe.toHandle.position : X2[H.position],
24872
24872
  toNode: oe.toHandle ? l.get(oe.toHandle.nodeId) : null
@@ -24874,12 +24874,12 @@ function Vpe(e, { connectionMode: t, connectionRadius: n, handleId: r, nodeId: o
24874
24874
  q && C && U.toHandle && G.toHandle && U.toHandle.type === G.toHandle.type && U.toHandle.nodeId === G.toHandle.nodeId && U.toHandle.id === G.toHandle.id && U.to.x === G.to.x && U.to.y === G.to.y || (w(G), U = G);
24875
24875
  }
24876
24876
  function W(J) {
24877
- (C || D) && B && q && (g == null || g(B));
24877
+ (C || D) && F && q && (g == null || g(F));
24878
24878
  const { inProgress: Q, ...oe } = U, G = {
24879
24879
  ...oe,
24880
24880
  toPosition: U.toHandle ? U.toPosition : null
24881
24881
  };
24882
- m == null || m(J, G), i && (y == null || y(J, G)), h(), cancelAnimationFrame(S), z = !1, q = !1, B = null, D = null, k.removeEventListener("mousemove", K), k.removeEventListener("mouseup", W), k.removeEventListener("touchmove", K), k.removeEventListener("touchend", W);
24882
+ m == null || m(J, G), i && (y == null || y(J, G)), h(), cancelAnimationFrame(S), z = !1, q = !1, F = null, D = null, k.removeEventListener("mousemove", K), k.removeEventListener("mouseup", W), k.removeEventListener("touchmove", K), k.removeEventListener("touchend", W);
24883
24883
  }
24884
24884
  k.addEventListener("mousemove", K), k.addEventListener("mouseup", W), k.addEventListener("touchmove", K), k.addEventListener("touchend", W);
24885
24885
  }
@@ -25070,30 +25070,30 @@ function Jpe({ domNode: e, minZoom: t, maxZoom: n, paneClickDistance: r, transla
25070
25070
  ], o);
25071
25071
  const p = h.on("wheel.zoom"), g = h.on("dblclick.zoom");
25072
25072
  f.wheelDelta(d3);
25073
- function m(P, I) {
25073
+ function m(A, I) {
25074
25074
  return h ? new Promise((T) => {
25075
- f == null || f.transform(_g(h, I == null ? void 0 : I.duration, () => T(!0)), P);
25075
+ f == null || f.transform(_g(h, I == null ? void 0 : I.duration, () => T(!0)), A);
25076
25076
  }) : Promise.resolve(!1);
25077
25077
  }
25078
- function v({ noWheelClassName: P, noPanClassName: I, onPaneContextMenu: T, userSelectionActive: A, panOnScroll: j, panOnDrag: z, panOnScrollMode: B, panOnScrollSpeed: q, preventScrolling: D, zoomOnPinch: $, zoomOnScroll: H, zoomOnDoubleClick: M, zoomActivationKeyPressed: L, lib: V, onTransformChange: U }) {
25079
- A && !u.isZoomingOrPanning && y();
25080
- const W = j && !L && !A ? Upe({
25078
+ function v({ noWheelClassName: A, noPanClassName: I, onPaneContextMenu: T, userSelectionActive: j, panOnScroll: P, panOnDrag: z, panOnScrollMode: F, panOnScrollSpeed: q, preventScrolling: D, zoomOnPinch: $, zoomOnScroll: H, zoomOnDoubleClick: M, zoomActivationKeyPressed: L, lib: V, onTransformChange: U }) {
25079
+ j && !u.isZoomingOrPanning && y();
25080
+ const W = P && !L && !j ? Upe({
25081
25081
  zoomPanValues: u,
25082
- noWheelClassName: P,
25082
+ noWheelClassName: A,
25083
25083
  d3Selection: h,
25084
25084
  d3Zoom: f,
25085
- panOnScrollMode: B,
25085
+ panOnScrollMode: F,
25086
25086
  panOnScrollSpeed: q,
25087
25087
  zoomOnPinch: $,
25088
25088
  onPanZoomStart: s,
25089
25089
  onPanZoom: a,
25090
25090
  onPanZoomEnd: l
25091
25091
  }) : Wpe({
25092
- noWheelClassName: P,
25092
+ noWheelClassName: A,
25093
25093
  preventScrolling: D,
25094
25094
  d3ZoomHandler: p
25095
25095
  });
25096
- if (h.on("wheel.zoom", W, { passive: !1 }), !A) {
25096
+ if (h.on("wheel.zoom", W, { passive: !1 }), !j) {
25097
25097
  const Q = Gpe({
25098
25098
  zoomPanValues: u,
25099
25099
  onDraggingChange: c,
@@ -25111,7 +25111,7 @@ function Jpe({ domNode: e, minZoom: t, maxZoom: n, paneClickDistance: r, transla
25111
25111
  const G = Ype({
25112
25112
  zoomPanValues: u,
25113
25113
  panOnDrag: z,
25114
- panOnScroll: j,
25114
+ panOnScroll: P,
25115
25115
  onPaneContextMenu: T,
25116
25116
  onPanZoomEnd: l,
25117
25117
  onDraggingChange: c
@@ -25122,12 +25122,12 @@ function Jpe({ domNode: e, minZoom: t, maxZoom: n, paneClickDistance: r, transla
25122
25122
  zoomActivationKeyPressed: L,
25123
25123
  panOnDrag: z,
25124
25124
  zoomOnScroll: H,
25125
- panOnScroll: j,
25125
+ panOnScroll: P,
25126
25126
  zoomOnDoubleClick: M,
25127
25127
  zoomOnPinch: $,
25128
- userSelectionActive: A,
25128
+ userSelectionActive: j,
25129
25129
  noPanClassName: I,
25130
- noWheelClassName: P,
25130
+ noWheelClassName: A,
25131
25131
  lib: V
25132
25132
  });
25133
25133
  f.filter(J), M ? h.on("dblclick.zoom", g) : h.on("dblclick.zoom", null);
@@ -25135,42 +25135,42 @@ function Jpe({ domNode: e, minZoom: t, maxZoom: n, paneClickDistance: r, transla
25135
25135
  function y() {
25136
25136
  f.on("zoom", null);
25137
25137
  }
25138
- async function w(P, I, T) {
25139
- const A = Sg(P), j = f == null ? void 0 : f.constrain()(A, I, T);
25140
- return j && await m(j), new Promise((z) => z(j));
25138
+ async function w(A, I, T) {
25139
+ const j = Sg(A), P = f == null ? void 0 : f.constrain()(j, I, T);
25140
+ return P && await m(P), new Promise((z) => z(P));
25141
25141
  }
25142
- async function b(P, I) {
25143
- const T = Sg(P);
25144
- return await m(T, I), new Promise((A) => A(T));
25142
+ async function b(A, I) {
25143
+ const T = Sg(A);
25144
+ return await m(T, I), new Promise((j) => j(T));
25145
25145
  }
25146
- function _(P) {
25146
+ function _(A) {
25147
25147
  if (h) {
25148
- const I = Sg(P), T = h.property("__zoom");
25149
- (T.k !== P.zoom || T.x !== P.x || T.y !== P.y) && (f == null || f.transform(h, I, null, { sync: !0 }));
25148
+ const I = Sg(A), T = h.property("__zoom");
25149
+ (T.k !== A.zoom || T.x !== A.x || T.y !== A.y) && (f == null || f.transform(h, I, null, { sync: !0 }));
25150
25150
  }
25151
25151
  }
25152
25152
  function E() {
25153
- const P = h ? IL(h.node()) : { x: 0, y: 0, k: 1 };
25154
- return { x: P.x, y: P.y, zoom: P.k };
25153
+ const A = h ? IL(h.node()) : { x: 0, y: 0, k: 1 };
25154
+ return { x: A.x, y: A.y, zoom: A.k };
25155
25155
  }
25156
- function k(P, I) {
25156
+ function k(A, I) {
25157
25157
  return h ? new Promise((T) => {
25158
- f == null || f.scaleTo(_g(h, I == null ? void 0 : I.duration, () => T(!0)), P);
25158
+ f == null || f.scaleTo(_g(h, I == null ? void 0 : I.duration, () => T(!0)), A);
25159
25159
  }) : Promise.resolve(!1);
25160
25160
  }
25161
- function S(P, I) {
25161
+ function S(A, I) {
25162
25162
  return h ? new Promise((T) => {
25163
- f == null || f.scaleBy(_g(h, I == null ? void 0 : I.duration, () => T(!0)), P);
25163
+ f == null || f.scaleBy(_g(h, I == null ? void 0 : I.duration, () => T(!0)), A);
25164
25164
  }) : Promise.resolve(!1);
25165
25165
  }
25166
- function C(P) {
25167
- f == null || f.scaleExtent(P);
25166
+ function C(A) {
25167
+ f == null || f.scaleExtent(A);
25168
25168
  }
25169
- function O(P) {
25170
- f == null || f.translateExtent(P);
25169
+ function O(A) {
25170
+ f == null || f.translateExtent(A);
25171
25171
  }
25172
- function N(P) {
25173
- const I = !jr(P) || P < 0 ? 0 : P;
25172
+ function N(A) {
25173
+ const I = !jr(A) || A < 0 ? 0 : A;
25174
25174
  f == null || f.clickDistance(I);
25175
25175
  }
25176
25176
  return {
@@ -25220,20 +25220,20 @@ function ege(e, t, n, r, o, i, a, s) {
25220
25220
  let { affectsX: l, affectsY: c } = t;
25221
25221
  const { isHorizontal: u, isVertical: d } = t, f = u && d, { xSnapped: h, ySnapped: p } = n, { minWidth: g, maxWidth: m, minHeight: v, maxHeight: y } = r, { x: w, y: b, width: _, height: E, aspectRatio: k } = e;
25222
25222
  let S = Math.floor(u ? h - e.pointerX : 0), C = Math.floor(d ? p - e.pointerY : 0);
25223
- const O = _ + (l ? -S : S), N = E + (c ? -C : C), P = -i[0] * _, I = -i[1] * E;
25224
- let T = Gu(O, g, m), A = Gu(N, v, y);
25223
+ const O = _ + (l ? -S : S), N = E + (c ? -C : C), A = -i[0] * _, I = -i[1] * E;
25224
+ let T = Gu(O, g, m), j = Gu(N, v, y);
25225
25225
  if (a) {
25226
- let B = 0, q = 0;
25227
- l && S < 0 ? B = ii(w + S + P, a[0][0]) : !l && S > 0 && (B = ai(w + O + P, a[1][0])), c && C < 0 ? q = ii(b + C + I, a[0][1]) : !c && C > 0 && (q = ai(b + N + I, a[1][1])), T = Math.max(T, B), A = Math.max(A, q);
25226
+ let F = 0, q = 0;
25227
+ l && S < 0 ? F = ii(w + S + A, a[0][0]) : !l && S > 0 && (F = ai(w + O + A, a[1][0])), c && C < 0 ? q = ii(b + C + I, a[0][1]) : !c && C > 0 && (q = ai(b + N + I, a[1][1])), T = Math.max(T, F), j = Math.max(j, q);
25228
25228
  }
25229
25229
  if (s) {
25230
- let B = 0, q = 0;
25231
- l && S > 0 ? B = ai(w + S, s[0][0]) : !l && S < 0 && (B = ii(w + O, s[1][0])), c && C > 0 ? q = ai(b + C, s[0][1]) : !c && C < 0 && (q = ii(b + N, s[1][1])), T = Math.max(T, B), A = Math.max(A, q);
25230
+ let F = 0, q = 0;
25231
+ l && S > 0 ? F = ai(w + S, s[0][0]) : !l && S < 0 && (F = ii(w + O, s[1][0])), c && C > 0 ? q = ai(b + C, s[0][1]) : !c && C < 0 && (q = ii(b + N, s[1][1])), T = Math.max(T, F), j = Math.max(j, q);
25232
25232
  }
25233
25233
  if (o) {
25234
25234
  if (u) {
25235
- const B = Gu(O / k, v, y) * k;
25236
- if (T = Math.max(T, B), a) {
25235
+ const F = Gu(O / k, v, y) * k;
25236
+ if (T = Math.max(T, F), a) {
25237
25237
  let q = 0;
25238
25238
  !l && !c || l && !c && f ? q = ai(b + I + O / k, a[1][1]) * k : q = ii(b + I + (l ? S : -S) / k, a[0][1]) * k, T = Math.max(T, q);
25239
25239
  }
@@ -25243,23 +25243,23 @@ function ege(e, t, n, r, o, i, a, s) {
25243
25243
  }
25244
25244
  }
25245
25245
  if (d) {
25246
- const B = Gu(N * k, g, m) / k;
25247
- if (A = Math.max(A, B), a) {
25246
+ const F = Gu(N * k, g, m) / k;
25247
+ if (j = Math.max(j, F), a) {
25248
25248
  let q = 0;
25249
- !l && !c || c && !l && f ? q = ai(w + N * k + P, a[1][0]) / k : q = ii(w + (c ? C : -C) * k + P, a[0][0]) / k, A = Math.max(A, q);
25249
+ !l && !c || c && !l && f ? q = ai(w + N * k + A, a[1][0]) / k : q = ii(w + (c ? C : -C) * k + A, a[0][0]) / k, j = Math.max(j, q);
25250
25250
  }
25251
25251
  if (s) {
25252
25252
  let q = 0;
25253
- !l && !c || c && !l && f ? q = ii(w + N * k, s[1][0]) / k : q = ai(w + (c ? C : -C) * k, s[0][0]) / k, A = Math.max(A, q);
25253
+ !l && !c || c && !l && f ? q = ii(w + N * k, s[1][0]) / k : q = ai(w + (c ? C : -C) * k, s[0][0]) / k, j = Math.max(j, q);
25254
25254
  }
25255
25255
  }
25256
25256
  }
25257
- C = C + (C < 0 ? A : -A), S = S + (S < 0 ? T : -T), o && (f ? O > N * k ? C = (sO(l, c) ? -S : S) / k : S = (sO(l, c) ? -C : C) * k : u ? (C = S / k, c = l) : (S = C * k, l = c));
25258
- const j = l ? w + S : w, z = c ? b + C : b;
25257
+ C = C + (C < 0 ? j : -j), S = S + (S < 0 ? T : -T), o && (f ? O > N * k ? C = (sO(l, c) ? -S : S) / k : S = (sO(l, c) ? -C : C) * k : u ? (C = S / k, c = l) : (S = C * k, l = c));
25258
+ const P = l ? w + S : w, z = c ? b + C : b;
25259
25259
  return {
25260
25260
  width: _ + (l ? -S : S),
25261
25261
  height: E + (c ? -C : C),
25262
- x: i[0] * S * (l ? -1 : 1) + j,
25262
+ x: i[0] * S * (l ? -1 : 1) + P,
25263
25263
  y: i[1] * C * (c ? -1 : 1) + z
25264
25264
  };
25265
25265
  }
@@ -25289,13 +25289,13 @@ function oge({ domNode: e, nodeId: t, getStoreItems: n, onChange: r, onEnd: o })
25289
25289
  const v = Zpe(l);
25290
25290
  let y, w = null, b = [], _, E, k;
25291
25291
  const S = wL().on("start", (C) => {
25292
- const { nodeLookup: O, transform: N, snapGrid: P, snapToGrid: I, nodeOrigin: T, paneDomNode: A } = n();
25292
+ const { nodeLookup: O, transform: N, snapGrid: A, snapToGrid: I, nodeOrigin: T, paneDomNode: j } = n();
25293
25293
  if (y = O.get(t), !y)
25294
25294
  return;
25295
- w = (A == null ? void 0 : A.getBoundingClientRect()) ?? null;
25296
- const { xSnapped: j, ySnapped: z } = Gl(C.sourceEvent, {
25295
+ w = (j == null ? void 0 : j.getBoundingClientRect()) ?? null;
25296
+ const { xSnapped: P, ySnapped: z } = Gl(C.sourceEvent, {
25297
25297
  transform: N,
25298
- snapGrid: P,
25298
+ snapGrid: A,
25299
25299
  snapToGrid: I,
25300
25300
  containerBounds: w
25301
25301
  });
@@ -25306,13 +25306,13 @@ function oge({ domNode: e, nodeId: t, getStoreItems: n, onChange: r, onEnd: o })
25306
25306
  y: y.position.y ?? 0
25307
25307
  }, m = {
25308
25308
  ...g,
25309
- pointerX: j,
25309
+ pointerX: P,
25310
25310
  pointerY: z,
25311
25311
  aspectRatio: g.width / g.height
25312
25312
  }, _ = void 0, y.parentId && (y.extent === "parent" || y.expandParent) && (_ = O.get(y.parentId), E = _ && y.extent === "parent" ? nge(_) : void 0), b = [], k = void 0;
25313
- for (const [B, q] of O)
25313
+ for (const [F, q] of O)
25314
25314
  if (q.parentId === t && (b.push({
25315
- id: B,
25315
+ id: F,
25316
25316
  position: { ...q.position },
25317
25317
  extent: q.extent
25318
25318
  }), q.extent === "parent" || q.expandParent)) {
@@ -25324,24 +25324,24 @@ function oge({ domNode: e, nodeId: t, getStoreItems: n, onChange: r, onEnd: o })
25324
25324
  }
25325
25325
  d == null || d(C, { ...g });
25326
25326
  }).on("drag", (C) => {
25327
- const { transform: O, snapGrid: N, snapToGrid: P, nodeOrigin: I } = n(), T = Gl(C.sourceEvent, {
25327
+ const { transform: O, snapGrid: N, snapToGrid: A, nodeOrigin: I } = n(), T = Gl(C.sourceEvent, {
25328
25328
  transform: O,
25329
25329
  snapGrid: N,
25330
- snapToGrid: P,
25330
+ snapToGrid: A,
25331
25331
  containerBounds: w
25332
- }), A = [];
25332
+ }), j = [];
25333
25333
  if (!y)
25334
25334
  return;
25335
- const { x: j, y: z, width: B, height: q } = g, D = {}, $ = y.origin ?? I, { width: H, height: M, x: L, y: V } = ege(m, v, T, c, u, $, E, k), U = H !== B, K = M !== q, W = L !== j && U, J = V !== z && K;
25335
+ const { x: P, y: z, width: F, height: q } = g, D = {}, $ = y.origin ?? I, { width: H, height: M, x: L, y: V } = ege(m, v, T, c, u, $, E, k), U = H !== F, K = M !== q, W = L !== P && U, J = V !== z && K;
25336
25336
  if (!W && !J && !U && !K)
25337
25337
  return;
25338
25338
  if ((W || J || $[0] === 1 || $[1] === 1) && (D.x = W ? L : g.x, D.y = J ? V : g.y, g.x = D.x, g.y = D.y, b.length > 0)) {
25339
- const ae = L - j, ee = V - z;
25339
+ const ae = L - P, ee = V - z;
25340
25340
  for (const de of b)
25341
25341
  de.position = {
25342
- x: de.position.x - ae + $[0] * (H - B),
25342
+ x: de.position.x - ae + $[0] * (H - F),
25343
25343
  y: de.position.y - ee + $[1] * (M - q)
25344
- }, A.push(de);
25344
+ }, j.push(de);
25345
25345
  }
25346
25346
  if ((U || K) && (D.width = U ? H : g.width, D.height = K ? M : g.height, g.width = D.width, g.height = D.height), _ && y.expandParent) {
25347
25347
  const ae = $[0] * (D.width ?? 0);
@@ -25351,13 +25351,13 @@ function oge({ domNode: e, nodeId: t, getStoreItems: n, onChange: r, onEnd: o })
25351
25351
  }
25352
25352
  const Q = Qpe({
25353
25353
  width: g.width,
25354
- prevWidth: B,
25354
+ prevWidth: F,
25355
25355
  height: g.height,
25356
25356
  prevHeight: q,
25357
25357
  affectsX: v.affectsX,
25358
25358
  affectsY: v.affectsY
25359
25359
  }), oe = { ...g, direction: Q };
25360
- (p == null ? void 0 : p(C, oe)) !== !1 && (f == null || f(C, oe), r(D, A));
25360
+ (p == null ? void 0 : p(C, oe)) !== !1 && (f == null || f(C, oe), r(D, j));
25361
25361
  }).on("end", (C) => {
25362
25362
  h == null || h(C, { ...g }), o == null || o();
25363
25363
  });
@@ -25579,10 +25579,10 @@ function lge() {
25579
25579
  value: null
25580
25580
  }, g.current = m) : m = g.current;
25581
25581
  var v = s(function() {
25582
- var _ = !1, E, k, S = function(P) {
25582
+ var _ = !1, E, k, S = function(A) {
25583
25583
  if (!_) {
25584
- _ = !0, E = P;
25585
- var I = h(P);
25584
+ _ = !0, E = A;
25585
+ var I = h(A);
25586
25586
  if (p !== void 0 && m.hasValue) {
25587
25587
  var T = m.value;
25588
25588
  if (p(T, I))
@@ -25590,11 +25590,11 @@ function lge() {
25590
25590
  }
25591
25591
  return k = I, I;
25592
25592
  }
25593
- var A = E, j = k;
25594
- if (r(A, P))
25595
- return j;
25596
- var z = h(P);
25597
- return p !== void 0 && p(j, z) ? j : (E = P, k = z, z);
25593
+ var j = E, P = k;
25594
+ if (r(j, A))
25595
+ return P;
25596
+ var z = h(A);
25597
+ return p !== void 0 && p(P, z) ? P : (E = A, k = z, z);
25598
25598
  }, C = f === void 0 ? null : f, O = function() {
25599
25599
  return S(d());
25600
25600
  }, N = C === null ? void 0 : function() {
@@ -26296,23 +26296,23 @@ function Yge({ onPaneContextMenu: e, zoomOnScroll: t = !0, zoomOnPinch: n = !0,
26296
26296
  viewport: l,
26297
26297
  paneClickDistance: w,
26298
26298
  onDraggingChange: (T) => b.setState({ paneDragging: T }),
26299
- onPanZoomStart: (T, A) => {
26300
- const { onViewportChangeStart: j, onMoveStart: z } = b.getState();
26301
- z == null || z(T, A), j == null || j(A);
26299
+ onPanZoomStart: (T, j) => {
26300
+ const { onViewportChangeStart: P, onMoveStart: z } = b.getState();
26301
+ z == null || z(T, j), P == null || P(j);
26302
26302
  },
26303
- onPanZoom: (T, A) => {
26304
- const { onViewportChange: j, onMove: z } = b.getState();
26305
- z == null || z(T, A), j == null || j(A);
26303
+ onPanZoom: (T, j) => {
26304
+ const { onViewportChange: P, onMove: z } = b.getState();
26305
+ z == null || z(T, j), P == null || P(j);
26306
26306
  },
26307
- onPanZoomEnd: (T, A) => {
26308
- const { onViewportChangeEnd: j, onMoveEnd: z } = b.getState();
26309
- z == null || z(T, A), j == null || j(A);
26307
+ onPanZoomEnd: (T, j) => {
26308
+ const { onViewportChangeEnd: P, onMoveEnd: z } = b.getState();
26309
+ z == null || z(T, j), P == null || P(j);
26310
26310
  }
26311
26311
  });
26312
- const { x: N, y: P, zoom: I } = C.current.getViewport();
26312
+ const { x: N, y: A, zoom: I } = C.current.getViewport();
26313
26313
  return b.setState({
26314
26314
  panZoom: C.current,
26315
- transform: [N, P, I],
26315
+ transform: [N, A, I],
26316
26316
  domNode: _.current.closest(".react-flow")
26317
26317
  }), () => {
26318
26318
  var T;
@@ -26378,27 +26378,27 @@ const Ng = (e, t) => (n) => {
26378
26378
  function Zge({ isSelecting: e, selectionKeyPressed: t, selectionMode: n = kc.Full, panOnDrag: r, selectionOnDrag: o, onSelectionStart: i, onSelectionEnd: a, onPaneClick: s, onPaneContextMenu: l, onPaneScroll: c, onPaneMouseEnter: u, onPaneMouseMove: d, onPaneMouseLeave: f, children: h }) {
26379
26379
  const p = Y(null), g = _t(), m = Y(0), v = Y(0), y = Y(), w = Y(/* @__PURE__ */ new Map()), { userSelectionActive: b, elementsSelectable: _, dragging: E } = Ve(Qge, It), k = _ && (e || b), S = Y(!1), C = Y(!1), O = () => {
26380
26380
  g.setState({ userSelectionActive: !1, userSelectionRect: null }), m.current = 0, v.current = 0;
26381
- }, N = (B) => {
26381
+ }, N = (F) => {
26382
26382
  if (S.current) {
26383
26383
  S.current = !1;
26384
26384
  return;
26385
26385
  }
26386
- s == null || s(B), g.getState().resetSelectedElements(), g.setState({ nodesSelectionActive: !1 });
26387
- }, P = (B) => {
26386
+ s == null || s(F), g.getState().resetSelectedElements(), g.setState({ nodesSelectionActive: !1 });
26387
+ }, A = (F) => {
26388
26388
  if (Array.isArray(r) && (r != null && r.includes(2))) {
26389
- B.preventDefault();
26389
+ F.preventDefault();
26390
26390
  return;
26391
26391
  }
26392
- l == null || l(B);
26393
- }, I = c ? (B) => c(B) : void 0, T = (B) => {
26392
+ l == null || l(F);
26393
+ }, I = c ? (F) => c(F) : void 0, T = (F) => {
26394
26394
  var L, V, U, K;
26395
26395
  const { resetSelectedElements: q, domNode: D, edgeLookup: $ } = g.getState();
26396
- if (y.current = D == null ? void 0 : D.getBoundingClientRect(), !_ || !e || B.button !== 0 || B.target !== p.current || !y.current)
26396
+ if (y.current = D == null ? void 0 : D.getBoundingClientRect(), !_ || !e || F.button !== 0 || F.target !== p.current || !y.current)
26397
26397
  return;
26398
- (V = (L = B.target) == null ? void 0 : L.setPointerCapture) == null || V.call(L, B.pointerId), C.current = !0, S.current = !1, w.current = /* @__PURE__ */ new Map();
26398
+ (V = (L = F.target) == null ? void 0 : L.setPointerCapture) == null || V.call(L, F.pointerId), C.current = !0, S.current = !1, w.current = /* @__PURE__ */ new Map();
26399
26399
  for (const [W, J] of $)
26400
26400
  w.current.set(J.source, ((U = w.current.get(J.source)) == null ? void 0 : U.add(W)) || /* @__PURE__ */ new Set([W])), w.current.set(J.target, ((K = w.current.get(J.target)) == null ? void 0 : K.add(W)) || /* @__PURE__ */ new Set([W]));
26401
- const { x: H, y: M } = Do(B.nativeEvent, y.current);
26401
+ const { x: H, y: M } = Do(F.nativeEvent, y.current);
26402
26402
  q(), g.setState({
26403
26403
  userSelectionRect: {
26404
26404
  width: 0,
@@ -26408,13 +26408,13 @@ function Zge({ isSelecting: e, selectionKeyPressed: t, selectionMode: n = kc.Ful
26408
26408
  x: H,
26409
26409
  y: M
26410
26410
  }
26411
- }), i == null || i(B);
26412
- }, A = (B) => {
26411
+ }), i == null || i(F);
26412
+ }, j = (F) => {
26413
26413
  const { userSelectionRect: q, edgeLookup: D, transform: $, nodeLookup: H, triggerNodeChanges: M, triggerEdgeChanges: L } = g.getState();
26414
26414
  if (!y.current || !q)
26415
26415
  return;
26416
26416
  S.current = !0;
26417
- const { x: V, y: U } = Do(B.nativeEvent, y.current), { startX: K, startY: W } = q, J = {
26417
+ const { x: V, y: U } = Do(F.nativeEvent, y.current), { startX: K, startY: W } = q, J = {
26418
26418
  startX: K,
26419
26419
  startY: W,
26420
26420
  x: V < K ? V : K,
@@ -26444,15 +26444,15 @@ function Zge({ isSelecting: e, selectionKeyPressed: t, selectionMode: n = kc.Ful
26444
26444
  userSelectionActive: !0,
26445
26445
  nodesSelectionActive: !1
26446
26446
  });
26447
- }, j = (B) => {
26447
+ }, P = (F) => {
26448
26448
  var D, $;
26449
- if (B.button !== 0 || !C.current)
26449
+ if (F.button !== 0 || !C.current)
26450
26450
  return;
26451
- ($ = (D = B.target) == null ? void 0 : D.releasePointerCapture) == null || $.call(D, B.pointerId);
26451
+ ($ = (D = F.target) == null ? void 0 : D.releasePointerCapture) == null || $.call(D, F.pointerId);
26452
26452
  const { userSelectionRect: q } = g.getState();
26453
- !b && q && B.target === p.current && (N == null || N(B)), m.current > 0 && g.setState({ nodesSelectionActive: !0 }), O(), a == null || a(B), (t || o) && (S.current = !1), C.current = !1;
26453
+ !b && q && F.target === p.current && (N == null || N(F)), m.current > 0 && g.setState({ nodesSelectionActive: !0 }), O(), a == null || a(F), (t || o) && (S.current = !1), C.current = !1;
26454
26454
  }, z = r === !0 || Array.isArray(r) && r.includes(0);
26455
- return x.jsxs("div", { className: Yt(["react-flow__pane", { draggable: z, dragging: E, selection: e }]), onClick: k ? void 0 : Ng(N, p), onContextMenu: Ng(P, p), onWheel: Ng(I, p), onPointerEnter: k ? void 0 : u, onPointerDown: k ? T : d, onPointerMove: k ? A : d, onPointerUp: k ? j : void 0, onPointerLeave: f, ref: p, style: Oh, children: [h, x.jsx(Jge, {})] });
26455
+ return x.jsxs("div", { className: Yt(["react-flow__pane", { draggable: z, dragging: E, selection: e }]), onClick: k ? void 0 : Ng(N, p), onContextMenu: Ng(A, p), onWheel: Ng(I, p), onPointerEnter: k ? void 0 : u, onPointerDown: k ? T : d, onPointerMove: k ? j : d, onPointerUp: k ? P : void 0, onPointerLeave: f, ref: p, style: Oh, children: [h, x.jsx(Jge, {})] });
26456
26456
  }
26457
26457
  function xx({ id: e, store: t, unselect: n = !1, nodeRef: r }) {
26458
26458
  const { addSelectedNodes: o, unselectNodesAndEdges: i, multiSelectionActive: a, nodeLookup: s, onError: l } = t.getState(), c = s.get(e);
@@ -26546,58 +26546,58 @@ const k3 = () => it(cS), nme = (e) => ({
26546
26546
  };
26547
26547
  };
26548
26548
  function ome({ type: e = "source", position: t = ye.Top, isValidConnection: n, isConnectable: r = !0, isConnectableStart: o = !0, isConnectableEnd: i = !0, id: a, onConnect: s, children: l, className: c, onMouseDown: u, onTouchStart: d, ...f }, h) {
26549
- var T, A;
26549
+ var T, j;
26550
26550
  const p = a || null, g = e === "target", m = _t(), v = k3(), { connectOnClick: y, noPanClassName: w, rfId: b } = Ve(nme, It), { connectingFrom: _, connectingTo: E, clickConnecting: k, isPossibleEndHandle: S, connectionInProcess: C, valid: O } = Ve(rme(v, p, e), It);
26551
- v || (A = (T = m.getState()).onError) == null || A.call(T, "010", yr.error010());
26552
- const N = (j) => {
26553
- const { defaultEdgeOptions: z, onConnect: B, hasDefaultEdges: q } = m.getState(), D = {
26551
+ v || (j = (T = m.getState()).onError) == null || j.call(T, "010", yr.error010());
26552
+ const N = (P) => {
26553
+ const { defaultEdgeOptions: z, onConnect: F, hasDefaultEdges: q } = m.getState(), D = {
26554
26554
  ...z,
26555
- ...j
26555
+ ...P
26556
26556
  };
26557
26557
  if (q) {
26558
26558
  const { edges: $, setEdges: H } = m.getState();
26559
26559
  H(t3(D, $));
26560
26560
  }
26561
- B == null || B(D), s == null || s(D);
26562
- }, P = (j) => {
26561
+ F == null || F(D), s == null || s(D);
26562
+ }, A = (P) => {
26563
26563
  if (!v)
26564
26564
  return;
26565
- const z = JL(j.nativeEvent);
26566
- if (o && (z && j.button === 0 || !z)) {
26567
- const B = m.getState();
26568
- bx.onPointerDown(j.nativeEvent, {
26569
- autoPanOnConnect: B.autoPanOnConnect,
26570
- connectionMode: B.connectionMode,
26571
- connectionRadius: B.connectionRadius,
26572
- domNode: B.domNode,
26573
- nodeLookup: B.nodeLookup,
26574
- lib: B.lib,
26565
+ const z = JL(P.nativeEvent);
26566
+ if (o && (z && P.button === 0 || !z)) {
26567
+ const F = m.getState();
26568
+ bx.onPointerDown(P.nativeEvent, {
26569
+ autoPanOnConnect: F.autoPanOnConnect,
26570
+ connectionMode: F.connectionMode,
26571
+ connectionRadius: F.connectionRadius,
26572
+ domNode: F.domNode,
26573
+ nodeLookup: F.nodeLookup,
26574
+ lib: F.lib,
26575
26575
  isTarget: g,
26576
26576
  handleId: p,
26577
26577
  nodeId: v,
26578
- flowId: B.rfId,
26579
- panBy: B.panBy,
26580
- cancelConnection: B.cancelConnection,
26581
- onConnectStart: B.onConnectStart,
26582
- onConnectEnd: B.onConnectEnd,
26583
- updateConnection: B.updateConnection,
26578
+ flowId: F.rfId,
26579
+ panBy: F.panBy,
26580
+ cancelConnection: F.cancelConnection,
26581
+ onConnectStart: F.onConnectStart,
26582
+ onConnectEnd: F.onConnectEnd,
26583
+ updateConnection: F.updateConnection,
26584
26584
  onConnect: N,
26585
- isValidConnection: n || B.isValidConnection,
26585
+ isValidConnection: n || F.isValidConnection,
26586
26586
  getTransform: () => m.getState().transform,
26587
26587
  getFromHandle: () => m.getState().connection.fromHandle,
26588
- autoPanSpeed: B.autoPanSpeed
26588
+ autoPanSpeed: F.autoPanSpeed
26589
26589
  });
26590
26590
  }
26591
- z ? u == null || u(j) : d == null || d(j);
26592
- }, I = (j) => {
26593
- const { onClickConnectStart: z, onClickConnectEnd: B, connectionClickStartHandle: q, connectionMode: D, isValidConnection: $, lib: H, rfId: M, nodeLookup: L, connection: V } = m.getState();
26591
+ z ? u == null || u(P) : d == null || d(P);
26592
+ }, I = (P) => {
26593
+ const { onClickConnectStart: z, onClickConnectEnd: F, connectionClickStartHandle: q, connectionMode: D, isValidConnection: $, lib: H, rfId: M, nodeLookup: L, connection: V } = m.getState();
26594
26594
  if (!v || !q && !o)
26595
26595
  return;
26596
26596
  if (!q) {
26597
- z == null || z(j.nativeEvent, { nodeId: v, handleId: p, handleType: e }), m.setState({ connectionClickStartHandle: { nodeId: v, type: e, id: p } });
26597
+ z == null || z(P.nativeEvent, { nodeId: v, handleId: p, handleType: e }), m.setState({ connectionClickStartHandle: { nodeId: v, type: e, id: p } });
26598
26598
  return;
26599
26599
  }
26600
- const U = XL(j.target), K = n || $, { connection: W, isValid: J } = bx.isValid(j.nativeEvent, {
26600
+ const U = XL(P.target), K = n || $, { connection: W, isValid: J } = bx.isValid(P.nativeEvent, {
26601
26601
  handle: {
26602
26602
  nodeId: v,
26603
26603
  id: p,
@@ -26615,7 +26615,7 @@ function ome({ type: e = "source", position: t = ye.Top, isValidConnection: n, i
26615
26615
  });
26616
26616
  J && W && N(W);
26617
26617
  const Q = structuredClone(V);
26618
- delete Q.inProgress, Q.toPosition = Q.toHandle ? Q.toHandle.position : null, B == null || B(j, Q), m.setState({ connectionClickStartHandle: null });
26618
+ delete Q.inProgress, Q.toPosition = Q.toHandle ? Q.toHandle.position : null, F == null || F(P, Q), m.setState({ connectionClickStartHandle: null });
26619
26619
  };
26620
26620
  return x.jsx("div", { "data-handleid": p, "data-nodeid": v, "data-handlepos": t, "data-id": `${b}-${v}-${p}-${e}`, className: Yt([
26621
26621
  "react-flow__handle",
@@ -26637,7 +26637,7 @@ function ome({ type: e = "source", position: t = ye.Top, isValidConnection: n, i
26637
26637
  // and where you can end it while connecting
26638
26638
  connectionindicator: r && (!C || S) && (C ? i : o)
26639
26639
  }
26640
- ]), onMouseDown: P, onTouchStart: P, onClick: y ? I : void 0, ref: h, ...f, children: l });
26640
+ ]), onMouseDown: A, onTouchStart: A, onClick: y ? I : void 0, ref: h, ...f, children: l });
26641
26641
  }
26642
26642
  const Ns = Nt(S3(ome));
26643
26643
  function ime({ data: e, isConnectable: t, sourcePosition: n = ye.Bottom }) {
@@ -26712,9 +26712,9 @@ function dme({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y
26712
26712
  } }) });
26713
26713
  }
26714
26714
  const TO = typeof window < "u" ? window : void 0, fme = (e) => ({ nodesSelectionActive: e.nodesSelectionActive, userSelectionActive: e.userSelectionActive });
26715
- function O3({ children: e, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: r, onPaneMouseLeave: o, onPaneContextMenu: i, onPaneScroll: a, paneClickDistance: s, deleteKeyCode: l, selectionKeyCode: c, selectionOnDrag: u, selectionMode: d, onSelectionStart: f, onSelectionEnd: h, multiSelectionKeyCode: p, panActivationKeyCode: g, zoomActivationKeyCode: m, elementsSelectable: v, zoomOnScroll: y, zoomOnPinch: w, panOnScroll: b, panOnScrollSpeed: _, panOnScrollMode: E, zoomOnDoubleClick: k, panOnDrag: S, defaultViewport: C, translateExtent: O, minZoom: N, maxZoom: P, preventScrolling: I, onSelectionContextMenu: T, noWheelClassName: A, noPanClassName: j, disableKeyboardA11y: z, onViewportChange: B, isControlledViewport: q }) {
26715
+ function O3({ children: e, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: r, onPaneMouseLeave: o, onPaneContextMenu: i, onPaneScroll: a, paneClickDistance: s, deleteKeyCode: l, selectionKeyCode: c, selectionOnDrag: u, selectionMode: d, onSelectionStart: f, onSelectionEnd: h, multiSelectionKeyCode: p, panActivationKeyCode: g, zoomActivationKeyCode: m, elementsSelectable: v, zoomOnScroll: y, zoomOnPinch: w, panOnScroll: b, panOnScrollSpeed: _, panOnScrollMode: E, zoomOnDoubleClick: k, panOnDrag: S, defaultViewport: C, translateExtent: O, minZoom: N, maxZoom: A, preventScrolling: I, onSelectionContextMenu: T, noWheelClassName: j, noPanClassName: P, disableKeyboardA11y: z, onViewportChange: F, isControlledViewport: q }) {
26716
26716
  const { nodesSelectionActive: D, userSelectionActive: $ } = Ve(fme), H = Tc(c, { target: TO }), M = Tc(g, { target: TO }), L = M || S, V = M || b, U = u && L !== !0, K = H || $ || U;
26717
- return Wge({ deleteKeyCode: l, multiSelectionKeyCode: p }), x.jsx(Yge, { onPaneContextMenu: i, elementsSelectable: v, zoomOnScroll: y, zoomOnPinch: w, panOnScroll: V, panOnScrollSpeed: _, panOnScrollMode: E, zoomOnDoubleClick: k, panOnDrag: !H && L, defaultViewport: C, translateExtent: O, minZoom: N, maxZoom: P, zoomActivationKeyCode: m, preventScrolling: I, noWheelClassName: A, noPanClassName: j, onViewportChange: B, isControlledViewport: q, paneClickDistance: s, children: x.jsxs(Zge, { onSelectionStart: f, onSelectionEnd: h, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: r, onPaneMouseLeave: o, onPaneContextMenu: i, onPaneScroll: a, panOnDrag: L, isSelecting: !!K, selectionMode: d, selectionKeyPressed: H, selectionOnDrag: U, children: [e, D && x.jsx(dme, { onSelectionContextMenu: T, noPanClassName: j, disableKeyboardA11y: z })] }) });
26717
+ return Wge({ deleteKeyCode: l, multiSelectionKeyCode: p }), x.jsx(Yge, { onPaneContextMenu: i, elementsSelectable: v, zoomOnScroll: y, zoomOnPinch: w, panOnScroll: V, panOnScrollSpeed: _, panOnScrollMode: E, zoomOnDoubleClick: k, panOnDrag: !H && L, defaultViewport: C, translateExtent: O, minZoom: N, maxZoom: A, zoomActivationKeyCode: m, preventScrolling: I, noWheelClassName: j, noPanClassName: P, onViewportChange: F, isControlledViewport: q, paneClickDistance: s, children: x.jsxs(Zge, { onSelectionStart: f, onSelectionEnd: h, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: r, onPaneMouseLeave: o, onPaneContextMenu: i, onPaneScroll: a, panOnDrag: L, isSelecting: !!K, selectionMode: d, selectionKeyPressed: H, selectionOnDrag: U, children: [e, D && x.jsx(dme, { onSelectionContextMenu: T, noPanClassName: P, disableKeyboardA11y: z })] }) });
26718
26718
  }
26719
26719
  O3.displayName = "FlowRenderer";
26720
26720
  const hme = Nt(O3), pme = (e) => (t) => e ? BL(t.nodeLookup, { x: 0, y: 0, width: t.width, height: t.height }, t.transform, !0).map((n) => n.id) : Array.from(t.nodeLookup.keys());
@@ -26762,8 +26762,8 @@ function bme({ id: e, onClick: t, onMouseEnter: n, onMouseMove: r, onMouseLeave:
26762
26762
  }, It);
26763
26763
  let k = b.type || "default", S = (m == null ? void 0 : m[k]) || NO[k];
26764
26764
  S === void 0 && (w == null || w("003", yr.error003(k)), k = "default", S = NO.default);
26765
- const C = !!(b.draggable || s && typeof b.draggable > "u"), O = !!(b.selectable || l && typeof b.selectable > "u"), N = !!(b.connectable || c && typeof b.connectable > "u"), P = !!(b.focusable || u && typeof b.focusable > "u"), I = _t(), T = KL(b), A = yme({ node: b, nodeType: k, hasDimensions: T, resizeObserver: d }), j = C3({
26766
- nodeRef: A,
26765
+ const C = !!(b.draggable || s && typeof b.draggable > "u"), O = !!(b.selectable || l && typeof b.selectable > "u"), N = !!(b.connectable || c && typeof b.connectable > "u"), A = !!(b.focusable || u && typeof b.focusable > "u"), I = _t(), T = KL(b), j = yme({ node: b, nodeType: k, hasDimensions: T, resizeObserver: d }), P = C3({
26766
+ nodeRef: j,
26767
26767
  disabled: b.hidden || !C,
26768
26768
  noDragClassName: f,
26769
26769
  handleSelector: b.dragHandle,
@@ -26773,12 +26773,12 @@ function bme({ id: e, onClick: t, onMouseEnter: n, onMouseMove: r, onMouseLeave:
26773
26773
  }), z = E3();
26774
26774
  if (b.hidden)
26775
26775
  return null;
26776
- const B = Ko(b), q = cme(b), D = O || C || t || n || r || o, $ = n ? (W) => n(W, { ..._.userNode }) : void 0, H = r ? (W) => r(W, { ..._.userNode }) : void 0, M = o ? (W) => o(W, { ..._.userNode }) : void 0, L = i ? (W) => i(W, { ..._.userNode }) : void 0, V = a ? (W) => a(W, { ..._.userNode }) : void 0, U = (W) => {
26776
+ const F = Ko(b), q = cme(b), D = O || C || t || n || r || o, $ = n ? (W) => n(W, { ..._.userNode }) : void 0, H = r ? (W) => r(W, { ..._.userNode }) : void 0, M = o ? (W) => o(W, { ..._.userNode }) : void 0, L = i ? (W) => i(W, { ..._.userNode }) : void 0, V = a ? (W) => a(W, { ..._.userNode }) : void 0, U = (W) => {
26777
26777
  const { selectNodesOnDrag: J, nodeDragThreshold: Q } = I.getState();
26778
26778
  O && (!J || !C || Q > 0) && xx({
26779
26779
  id: e,
26780
26780
  store: I,
26781
- nodeRef: A
26781
+ nodeRef: j
26782
26782
  }), t && t(W, { ..._.userNode });
26783
26783
  }, K = (W) => {
26784
26784
  if (!(gx(W.nativeEvent) || p))
@@ -26788,7 +26788,7 @@ function bme({ id: e, onClick: t, onMouseEnter: n, onMouseMove: r, onMouseLeave:
26788
26788
  id: e,
26789
26789
  store: I,
26790
26790
  unselect: J,
26791
- nodeRef: A
26791
+ nodeRef: j
26792
26792
  });
26793
26793
  } else C && b.selected && Object.prototype.hasOwnProperty.call(gf, W.key) && (W.preventDefault(), I.setState({
26794
26794
  ariaLiveMessage: `Moved selected node ${W.key.replace("Arrow", "").toLowerCase()}. New position, x: ${~~_.positionAbsolute.x}, y: ${~~_.positionAbsolute.y}`
@@ -26810,16 +26810,16 @@ function bme({ id: e, onClick: t, onMouseEnter: n, onMouseMove: r, onMouseLeave:
26810
26810
  selectable: O,
26811
26811
  parent: E,
26812
26812
  draggable: C,
26813
- dragging: j
26813
+ dragging: P
26814
26814
  }
26815
- ]), ref: A, style: {
26815
+ ]), ref: j, style: {
26816
26816
  zIndex: _.z,
26817
26817
  transform: `translate(${_.positionAbsolute.x}px,${_.positionAbsolute.y}px)`,
26818
26818
  pointerEvents: D ? "all" : "none",
26819
26819
  visibility: T ? "visible" : "hidden",
26820
26820
  ...b.style,
26821
26821
  ...q
26822
- }, "data-id": e, "data-testid": `rf__node-${e}`, onMouseEnter: $, onMouseMove: H, onMouseLeave: M, onContextMenu: L, onClick: U, onDoubleClick: V, onKeyDown: P ? K : void 0, tabIndex: P ? 0 : void 0, role: P ? "button" : void 0, "aria-describedby": p ? void 0 : `${m3}-${g}`, "aria-label": b.ariaLabel, children: x.jsx(tme, { value: e, children: x.jsx(S, { id: e, data: b.data, type: k, positionAbsoluteX: _.positionAbsolute.x, positionAbsoluteY: _.positionAbsolute.y, selected: b.selected, selectable: O, draggable: C, deletable: b.deletable ?? !0, isConnectable: N, sourcePosition: b.sourcePosition, targetPosition: b.targetPosition, dragging: j, dragHandle: b.dragHandle, zIndex: _.z, parentId: b.parentId, ...B }) }) });
26822
+ }, "data-id": e, "data-testid": `rf__node-${e}`, onMouseEnter: $, onMouseMove: H, onMouseLeave: M, onContextMenu: L, onClick: U, onDoubleClick: V, onKeyDown: A ? K : void 0, tabIndex: A ? 0 : void 0, role: A ? "button" : void 0, "aria-describedby": p ? void 0 : `${m3}-${g}`, "aria-label": b.ariaLabel, children: x.jsx(tme, { value: e, children: x.jsx(S, { id: e, data: b.data, type: k, positionAbsoluteX: _.positionAbsolute.x, positionAbsoluteY: _.positionAbsolute.y, selected: b.selected, selectable: O, draggable: C, deletable: b.deletable ?? !0, isConnectable: N, sourcePosition: b.sourcePosition, targetPosition: b.targetPosition, dragging: P, dragHandle: b.dragHandle, zIndex: _.z, parentId: b.parentId, ...F }) }) });
26823
26823
  }
26824
26824
  const xme = (e) => ({
26825
26825
  nodesDraggable: e.nodesDraggable,
@@ -27057,7 +27057,7 @@ function Ime({ isReconnectable: e, reconnectRadius: t, edge: n, sourceX: r, sour
27057
27057
  const p = _t(), g = (b, _) => {
27058
27058
  if (b.button !== 0)
27059
27059
  return;
27060
- const { autoPanOnConnect: E, domNode: k, isValidConnection: S, connectionMode: C, connectionRadius: O, lib: N, onConnectStart: P, onConnectEnd: I, cancelConnection: T, nodeLookup: A, rfId: j, panBy: z, updateConnection: B } = p.getState(), q = _.type === "target";
27060
+ const { autoPanOnConnect: E, domNode: k, isValidConnection: S, connectionMode: C, connectionRadius: O, lib: N, onConnectStart: A, onConnectEnd: I, cancelConnection: T, nodeLookup: j, rfId: P, panBy: z, updateConnection: F } = p.getState(), q = _.type === "target";
27061
27061
  f(!0), u == null || u(b, n, _.type);
27062
27062
  const D = (H, M) => {
27063
27063
  f(!1), d == null || d(H, n, _.type, M);
@@ -27069,19 +27069,19 @@ function Ime({ isReconnectable: e, reconnectRadius: t, edge: n, sourceX: r, sour
27069
27069
  domNode: k,
27070
27070
  handleId: _.id,
27071
27071
  nodeId: _.nodeId,
27072
- nodeLookup: A,
27072
+ nodeLookup: j,
27073
27073
  isTarget: q,
27074
27074
  edgeUpdaterType: _.type,
27075
27075
  lib: N,
27076
- flowId: j,
27076
+ flowId: P,
27077
27077
  cancelConnection: T,
27078
27078
  panBy: z,
27079
27079
  isValidConnection: S,
27080
27080
  onConnect: $,
27081
- onConnectStart: P,
27081
+ onConnectStart: A,
27082
27082
  onConnectEnd: I,
27083
27083
  onReconnectEnd: D,
27084
- updateConnection: B,
27084
+ updateConnection: F,
27085
27085
  getTransform: () => p.getState().transform,
27086
27086
  getFromHandle: () => p.getState().connection.fromHandle
27087
27087
  });
@@ -27094,7 +27094,7 @@ function $me({ id: e, edgesFocusable: t, edgesReconnectable: n, elementsSelectab
27094
27094
  w = b ? { ...b, ...w } : w;
27095
27095
  let _ = w.type || "default", E = (g == null ? void 0 : g[_]) || PO[_];
27096
27096
  E === void 0 && (v == null || v("011", yr.error011(_)), _ = "default", E = PO.default);
27097
- const k = !!(w.focusable || t && typeof w.focusable > "u"), S = typeof d < "u" && (w.reconnectable || n && typeof w.reconnectable > "u"), C = !!(w.selectable || r && typeof w.selectable > "u"), O = Y(null), [N, P] = re(!1), [I, T] = re(!1), A = _t(), { zIndex: j, sourceX: z, sourceY: B, targetX: q, targetY: D, sourcePosition: $, targetPosition: H } = Ve(Se((G) => {
27097
+ const k = !!(w.focusable || t && typeof w.focusable > "u"), S = typeof d < "u" && (w.reconnectable || n && typeof w.reconnectable > "u"), C = !!(w.selectable || r && typeof w.selectable > "u"), O = Y(null), [N, A] = re(!1), [I, T] = re(!1), j = _t(), { zIndex: P, sourceX: z, sourceY: F, targetX: q, targetY: D, sourcePosition: $, targetPosition: H } = Ve(Se((G) => {
27098
27098
  const ae = G.nodeLookup.get(w.source), ee = G.nodeLookup.get(w.target);
27099
27099
  if (!ae || !ee)
27100
27100
  return {
@@ -27121,12 +27121,12 @@ function $me({ id: e, edgesFocusable: t, edgesReconnectable: n, elementsSelectab
27121
27121
  ...de || jO
27122
27122
  };
27123
27123
  }, [w.source, w.target, w.sourceHandle, w.targetHandle, w.selected, w.zIndex]), It), M = le(() => w.markerStart ? `url('#${vx(w.markerStart, p)}')` : void 0, [w.markerStart, p]), L = le(() => w.markerEnd ? `url('#${vx(w.markerEnd, p)}')` : void 0, [w.markerEnd, p]);
27124
- if (w.hidden || z === null || B === null || q === null || D === null)
27124
+ if (w.hidden || z === null || F === null || q === null || D === null)
27125
27125
  return null;
27126
27126
  const V = (G) => {
27127
27127
  var Oe;
27128
- const { addSelectedEdges: ae, unselectNodesAndEdges: ee, multiSelectionActive: de } = A.getState();
27129
- C && (A.setState({ nodesSelectionActive: !1 }), w.selected && de ? (ee({ nodes: [], edges: [w] }), (Oe = O.current) == null || Oe.blur()) : ae([e])), o && o(G, w);
27128
+ const { addSelectedEdges: ae, unselectNodesAndEdges: ee, multiSelectionActive: de } = j.getState();
27129
+ C && (j.setState({ nodesSelectionActive: !1 }), w.selected && de ? (ee({ nodes: [], edges: [w] }), (Oe = O.current) == null || Oe.blur()) : ae([e])), o && o(G, w);
27130
27130
  }, U = i ? (G) => {
27131
27131
  i(G, { ...w });
27132
27132
  } : void 0, K = a ? (G) => {
@@ -27140,11 +27140,11 @@ function $me({ id: e, edgesFocusable: t, edgesReconnectable: n, elementsSelectab
27140
27140
  } : void 0, oe = (G) => {
27141
27141
  var ae;
27142
27142
  if (!y && LL.includes(G.key) && C) {
27143
- const { unselectNodesAndEdges: ee, addSelectedEdges: de } = A.getState();
27143
+ const { unselectNodesAndEdges: ee, addSelectedEdges: de } = j.getState();
27144
27144
  G.key === "Escape" ? ((ae = O.current) == null || ae.blur(), ee({ edges: [w] })) : de([e]);
27145
27145
  }
27146
27146
  };
27147
- return x.jsx("svg", { style: { zIndex: j }, children: x.jsxs("g", { className: Yt([
27147
+ return x.jsx("svg", { style: { zIndex: P }, children: x.jsxs("g", { className: Yt([
27148
27148
  "react-flow__edge",
27149
27149
  `react-flow__edge-${_}`,
27150
27150
  w.className,
@@ -27156,7 +27156,7 @@ function $me({ id: e, edgesFocusable: t, edgesReconnectable: n, elementsSelectab
27156
27156
  updating: N,
27157
27157
  selectable: C
27158
27158
  }
27159
- ]), onClick: V, onDoubleClick: U, onContextMenu: K, onMouseEnter: W, onMouseMove: J, onMouseLeave: Q, onKeyDown: k ? oe : void 0, tabIndex: k ? 0 : void 0, role: k ? "button" : "img", "data-id": e, "data-testid": `rf__edge-${e}`, "aria-label": w.ariaLabel === null ? void 0 : w.ariaLabel || `Edge from ${w.source} to ${w.target}`, "aria-describedby": k ? `${v3}-${p}` : void 0, ref: O, children: [!I && x.jsx(E, { id: e, source: w.source, target: w.target, type: w.type, selected: w.selected, animated: w.animated, selectable: C, deletable: w.deletable ?? !0, label: w.label, labelStyle: w.labelStyle, labelShowBg: w.labelShowBg, labelBgStyle: w.labelBgStyle, labelBgPadding: w.labelBgPadding, labelBgBorderRadius: w.labelBgBorderRadius, sourceX: z, sourceY: B, targetX: q, targetY: D, sourcePosition: $, targetPosition: H, data: w.data, style: w.style, sourceHandleId: w.sourceHandle, targetHandleId: w.targetHandle, markerStart: M, markerEnd: L, pathOptions: "pathOptions" in w ? w.pathOptions : void 0, interactionWidth: w.interactionWidth }), S && x.jsx(Ime, { edge: w, isReconnectable: S, reconnectRadius: u, onReconnect: d, onReconnectStart: f, onReconnectEnd: h, sourceX: z, sourceY: B, targetX: q, targetY: D, sourcePosition: $, targetPosition: H, setUpdateHover: P, setReconnecting: T })] }) });
27159
+ ]), onClick: V, onDoubleClick: U, onContextMenu: K, onMouseEnter: W, onMouseMove: J, onMouseLeave: Q, onKeyDown: k ? oe : void 0, tabIndex: k ? 0 : void 0, role: k ? "button" : "img", "data-id": e, "data-testid": `rf__edge-${e}`, "aria-label": w.ariaLabel === null ? void 0 : w.ariaLabel || `Edge from ${w.source} to ${w.target}`, "aria-describedby": k ? `${v3}-${p}` : void 0, ref: O, children: [!I && x.jsx(E, { id: e, source: w.source, target: w.target, type: w.type, selected: w.selected, animated: w.animated, selectable: C, deletable: w.deletable ?? !0, label: w.label, labelStyle: w.labelStyle, labelShowBg: w.labelShowBg, labelBgStyle: w.labelBgStyle, labelBgPadding: w.labelBgPadding, labelBgBorderRadius: w.labelBgBorderRadius, sourceX: z, sourceY: F, targetX: q, targetY: D, sourcePosition: $, targetPosition: H, data: w.data, style: w.style, sourceHandleId: w.sourceHandle, targetHandleId: w.targetHandle, markerStart: M, markerEnd: L, pathOptions: "pathOptions" in w ? w.pathOptions : void 0, interactionWidth: w.interactionWidth }), S && x.jsx(Ime, { edge: w, isReconnectable: S, reconnectRadius: u, onReconnect: d, onReconnectStart: f, onReconnectEnd: h, sourceX: z, sourceY: F, targetX: q, targetY: D, sourcePosition: $, targetPosition: H, setUpdateHover: A, setReconnecting: T })] }) });
27160
27160
  }
27161
27161
  const Lme = (e) => ({
27162
27162
  edgesFocusable: e.edgesFocusable,
@@ -27275,8 +27275,8 @@ function Xme() {
27275
27275
  }
27276
27276
  }, []);
27277
27277
  }
27278
- function U3({ nodeTypes: e, edgeTypes: t, onInit: n, onNodeClick: r, onEdgeClick: o, onNodeDoubleClick: i, onEdgeDoubleClick: a, onNodeMouseEnter: s, onNodeMouseMove: l, onNodeMouseLeave: c, onNodeContextMenu: u, onSelectionContextMenu: d, onSelectionStart: f, onSelectionEnd: h, connectionLineType: p, connectionLineStyle: g, connectionLineComponent: m, connectionLineContainerStyle: v, selectionKeyCode: y, selectionOnDrag: w, selectionMode: b, multiSelectionKeyCode: _, panActivationKeyCode: E, zoomActivationKeyCode: k, deleteKeyCode: S, onlyRenderVisibleElements: C, elementsSelectable: O, defaultViewport: N, translateExtent: P, minZoom: I, maxZoom: T, preventScrolling: A, defaultMarkerColor: j, zoomOnScroll: z, zoomOnPinch: B, panOnScroll: q, panOnScrollSpeed: D, panOnScrollMode: $, zoomOnDoubleClick: H, panOnDrag: M, onPaneClick: L, onPaneMouseEnter: V, onPaneMouseMove: U, onPaneMouseLeave: K, onPaneScroll: W, onPaneContextMenu: J, paneClickDistance: Q, nodeClickDistance: oe, onEdgeContextMenu: G, onEdgeMouseEnter: ae, onEdgeMouseMove: ee, onEdgeMouseLeave: de, reconnectRadius: Oe, onReconnect: Ee, onReconnectStart: Lt, onReconnectEnd: ft, noDragClassName: yt, noWheelClassName: He, noPanClassName: Ne, disableKeyboardA11y: je, nodeExtent: qt, rfId: Rt, viewport: Rn, onViewportChange: At }) {
27279
- return $O(e), $O(t), Xme(), Bme(n), Hme(Rn), x.jsx(hme, { onPaneClick: L, onPaneMouseEnter: V, onPaneMouseMove: U, onPaneMouseLeave: K, onPaneContextMenu: J, onPaneScroll: W, paneClickDistance: Q, deleteKeyCode: S, selectionKeyCode: y, selectionOnDrag: w, selectionMode: b, onSelectionStart: f, onSelectionEnd: h, multiSelectionKeyCode: _, panActivationKeyCode: E, zoomActivationKeyCode: k, elementsSelectable: O, zoomOnScroll: z, zoomOnPinch: B, zoomOnDoubleClick: H, panOnScroll: q, panOnScrollSpeed: D, panOnScrollMode: $, panOnDrag: M, defaultViewport: N, translateExtent: P, minZoom: I, maxZoom: T, onSelectionContextMenu: d, preventScrolling: A, noDragClassName: yt, noWheelClassName: He, noPanClassName: Ne, disableKeyboardA11y: je, onViewportChange: At, isControlledViewport: !!Rn, children: x.jsxs(Fme, { children: [x.jsx(Dme, { edgeTypes: t, onEdgeClick: o, onEdgeDoubleClick: a, onReconnect: Ee, onReconnectStart: Lt, onReconnectEnd: ft, onlyRenderVisibleElements: C, onEdgeContextMenu: G, onEdgeMouseEnter: ae, onEdgeMouseMove: ee, onEdgeMouseLeave: de, reconnectRadius: Oe, defaultMarkerColor: j, noPanClassName: Ne, disableKeyboardA11y: je, rfId: Rt }), x.jsx(Kme, { style: g, type: p, component: m, containerStyle: v }), x.jsx("div", { className: "react-flow__edgelabel-renderer" }), x.jsx(wme, { nodeTypes: e, onNodeClick: r, onNodeDoubleClick: i, onNodeMouseEnter: s, onNodeMouseMove: l, onNodeMouseLeave: c, onNodeContextMenu: u, nodeClickDistance: oe, onlyRenderVisibleElements: C, noPanClassName: Ne, noDragClassName: yt, disableKeyboardA11y: je, nodeExtent: qt, rfId: Rt }), x.jsx("div", { className: "react-flow__viewport-portal" })] }) });
27278
+ function U3({ nodeTypes: e, edgeTypes: t, onInit: n, onNodeClick: r, onEdgeClick: o, onNodeDoubleClick: i, onEdgeDoubleClick: a, onNodeMouseEnter: s, onNodeMouseMove: l, onNodeMouseLeave: c, onNodeContextMenu: u, onSelectionContextMenu: d, onSelectionStart: f, onSelectionEnd: h, connectionLineType: p, connectionLineStyle: g, connectionLineComponent: m, connectionLineContainerStyle: v, selectionKeyCode: y, selectionOnDrag: w, selectionMode: b, multiSelectionKeyCode: _, panActivationKeyCode: E, zoomActivationKeyCode: k, deleteKeyCode: S, onlyRenderVisibleElements: C, elementsSelectable: O, defaultViewport: N, translateExtent: A, minZoom: I, maxZoom: T, preventScrolling: j, defaultMarkerColor: P, zoomOnScroll: z, zoomOnPinch: F, panOnScroll: q, panOnScrollSpeed: D, panOnScrollMode: $, zoomOnDoubleClick: H, panOnDrag: M, onPaneClick: L, onPaneMouseEnter: V, onPaneMouseMove: U, onPaneMouseLeave: K, onPaneScroll: W, onPaneContextMenu: J, paneClickDistance: Q, nodeClickDistance: oe, onEdgeContextMenu: G, onEdgeMouseEnter: ae, onEdgeMouseMove: ee, onEdgeMouseLeave: de, reconnectRadius: Oe, onReconnect: Ee, onReconnectStart: Lt, onReconnectEnd: ft, noDragClassName: yt, noWheelClassName: He, noPanClassName: Ne, disableKeyboardA11y: je, nodeExtent: qt, rfId: Rt, viewport: Rn, onViewportChange: At }) {
27279
+ return $O(e), $O(t), Xme(), Bme(n), Hme(Rn), x.jsx(hme, { onPaneClick: L, onPaneMouseEnter: V, onPaneMouseMove: U, onPaneMouseLeave: K, onPaneContextMenu: J, onPaneScroll: W, paneClickDistance: Q, deleteKeyCode: S, selectionKeyCode: y, selectionOnDrag: w, selectionMode: b, onSelectionStart: f, onSelectionEnd: h, multiSelectionKeyCode: _, panActivationKeyCode: E, zoomActivationKeyCode: k, elementsSelectable: O, zoomOnScroll: z, zoomOnPinch: F, zoomOnDoubleClick: H, panOnScroll: q, panOnScrollSpeed: D, panOnScrollMode: $, panOnDrag: M, defaultViewport: N, translateExtent: A, minZoom: I, maxZoom: T, onSelectionContextMenu: d, preventScrolling: j, noDragClassName: yt, noWheelClassName: He, noPanClassName: Ne, disableKeyboardA11y: je, onViewportChange: At, isControlledViewport: !!Rn, children: x.jsxs(Fme, { children: [x.jsx(Dme, { edgeTypes: t, onEdgeClick: o, onEdgeDoubleClick: a, onReconnect: Ee, onReconnectStart: Lt, onReconnectEnd: ft, onlyRenderVisibleElements: C, onEdgeContextMenu: G, onEdgeMouseEnter: ae, onEdgeMouseMove: ee, onEdgeMouseLeave: de, reconnectRadius: Oe, defaultMarkerColor: P, noPanClassName: Ne, disableKeyboardA11y: je, rfId: Rt }), x.jsx(Kme, { style: g, type: p, component: m, containerStyle: v }), x.jsx("div", { className: "react-flow__edgelabel-renderer" }), x.jsx(wme, { nodeTypes: e, onNodeClick: r, onNodeDoubleClick: i, onNodeMouseEnter: s, onNodeMouseMove: l, onNodeMouseLeave: c, onNodeContextMenu: u, nodeClickDistance: oe, onlyRenderVisibleElements: C, noPanClassName: Ne, noDragClassName: yt, disableKeyboardA11y: je, nodeExtent: qt, rfId: Rt }), x.jsx("div", { className: "react-flow__viewport-portal" })] }) });
27280
27280
  }
27281
27281
  U3.displayName = "GraphView";
27282
27282
  const Jme = Nt(U3), LO = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, width: o, height: i, fitView: a, nodeOrigin: s, nodeExtent: l } = {}) => {
@@ -27563,9 +27563,9 @@ const eve = {
27563
27563
  position: "relative",
27564
27564
  zIndex: 0
27565
27565
  };
27566
- function tve({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, className: o, nodeTypes: i, edgeTypes: a, onNodeClick: s, onEdgeClick: l, onInit: c, onMove: u, onMoveStart: d, onMoveEnd: f, onConnect: h, onConnectStart: p, onConnectEnd: g, onClickConnectStart: m, onClickConnectEnd: v, onNodeMouseEnter: y, onNodeMouseMove: w, onNodeMouseLeave: b, onNodeContextMenu: _, onNodeDoubleClick: E, onNodeDragStart: k, onNodeDrag: S, onNodeDragStop: C, onNodesDelete: O, onEdgesDelete: N, onDelete: P, onSelectionChange: I, onSelectionDragStart: T, onSelectionDrag: A, onSelectionDragStop: j, onSelectionContextMenu: z, onSelectionStart: B, onSelectionEnd: q, onBeforeDelete: D, connectionMode: $, connectionLineType: H = fi.Bezier, connectionLineStyle: M, connectionLineComponent: L, connectionLineContainerStyle: V, deleteKeyCode: U = "Backspace", selectionKeyCode: K = "Shift", selectionOnDrag: W = !1, selectionMode: J = kc.Full, panActivationKeyCode: Q = "Space", multiSelectionKeyCode: oe = pf() ? "Meta" : "Control", zoomActivationKeyCode: G = pf() ? "Meta" : "Control", snapToGrid: ae, snapGrid: ee, onlyRenderVisibleElements: de = !1, selectNodesOnDrag: Oe, nodesDraggable: Ee, nodesConnectable: Lt, nodesFocusable: ft, nodeOrigin: yt = y3, edgesFocusable: He, edgesReconnectable: Ne, elementsSelectable: je = !0, defaultViewport: qt = Age, minZoom: Rt = 0.5, maxZoom: Rn = 2, translateExtent: At = Ec, preventScrolling: Xt = !0, nodeExtent: sn, defaultMarkerColor: or = "#b1b1b7", zoomOnScroll: en = !0, zoomOnPinch: br = !0, panOnScroll: hn = !1, panOnScrollSpeed: Sn = 0.5, panOnScrollMode: Zo = Fi.Free, zoomOnDoubleClick: Ni = !0, panOnDrag: ei = !0, onPaneClick: Ti, onPaneMouseEnter: Co, onPaneMouseMove: ti, onPaneMouseLeave: Ze, onPaneScroll: Dt, onPaneContextMenu: zt, paneClickDistance: ln = 0, nodeClickDistance: Pt = 0, children: jt, onReconnect: tn, onReconnectStart: _n, onReconnectEnd: Ct, onEdgeContextMenu: pn, onEdgeDoubleClick: xr, onEdgeMouseEnter: nt, onEdgeMouseMove: wr, onEdgeMouseLeave: ni, reconnectRadius: Ge = 10, onNodesChange: rt, onEdgesChange: F, noDragClassName: te = "nodrag", noWheelClassName: ce = "nowheel", noPanClassName: we = "nopan", fitView: Ie, fitViewOptions: Be, connectOnClick: Pe, attributionPosition: Ae, proOptions: Jt, defaultEdgeOptions: ht, elevateNodesOnSelect: qe, elevateEdgesOnSelect: An, disableKeyboardA11y: Eo = !1, autoPanOnConnect: pu, autoPanOnNodeDrag: Sr, autoPanSpeed: r4, connectionRadius: o4, isValidConnection: i4, onError: a4, style: s4, id: b_, nodeDragThreshold: l4, viewport: c4, onViewportChange: u4, width: d4, height: f4, colorMode: h4 = "light", debug: p4, ...g4 }, m4) {
27566
+ function tve({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, className: o, nodeTypes: i, edgeTypes: a, onNodeClick: s, onEdgeClick: l, onInit: c, onMove: u, onMoveStart: d, onMoveEnd: f, onConnect: h, onConnectStart: p, onConnectEnd: g, onClickConnectStart: m, onClickConnectEnd: v, onNodeMouseEnter: y, onNodeMouseMove: w, onNodeMouseLeave: b, onNodeContextMenu: _, onNodeDoubleClick: E, onNodeDragStart: k, onNodeDrag: S, onNodeDragStop: C, onNodesDelete: O, onEdgesDelete: N, onDelete: A, onSelectionChange: I, onSelectionDragStart: T, onSelectionDrag: j, onSelectionDragStop: P, onSelectionContextMenu: z, onSelectionStart: F, onSelectionEnd: q, onBeforeDelete: D, connectionMode: $, connectionLineType: H = fi.Bezier, connectionLineStyle: M, connectionLineComponent: L, connectionLineContainerStyle: V, deleteKeyCode: U = "Backspace", selectionKeyCode: K = "Shift", selectionOnDrag: W = !1, selectionMode: J = kc.Full, panActivationKeyCode: Q = "Space", multiSelectionKeyCode: oe = pf() ? "Meta" : "Control", zoomActivationKeyCode: G = pf() ? "Meta" : "Control", snapToGrid: ae, snapGrid: ee, onlyRenderVisibleElements: de = !1, selectNodesOnDrag: Oe, nodesDraggable: Ee, nodesConnectable: Lt, nodesFocusable: ft, nodeOrigin: yt = y3, edgesFocusable: He, edgesReconnectable: Ne, elementsSelectable: je = !0, defaultViewport: qt = Age, minZoom: Rt = 0.5, maxZoom: Rn = 2, translateExtent: At = Ec, preventScrolling: Xt = !0, nodeExtent: sn, defaultMarkerColor: or = "#b1b1b7", zoomOnScroll: en = !0, zoomOnPinch: br = !0, panOnScroll: hn = !1, panOnScrollSpeed: Sn = 0.5, panOnScrollMode: Zo = Fi.Free, zoomOnDoubleClick: Ni = !0, panOnDrag: ei = !0, onPaneClick: Ti, onPaneMouseEnter: Co, onPaneMouseMove: ti, onPaneMouseLeave: Ze, onPaneScroll: Dt, onPaneContextMenu: zt, paneClickDistance: ln = 0, nodeClickDistance: Pt = 0, children: jt, onReconnect: tn, onReconnectStart: _n, onReconnectEnd: Ct, onEdgeContextMenu: pn, onEdgeDoubleClick: xr, onEdgeMouseEnter: nt, onEdgeMouseMove: wr, onEdgeMouseLeave: ni, reconnectRadius: Ge = 10, onNodesChange: rt, onEdgesChange: B, noDragClassName: te = "nodrag", noWheelClassName: ce = "nowheel", noPanClassName: we = "nopan", fitView: Ie, fitViewOptions: Be, connectOnClick: Pe, attributionPosition: Ae, proOptions: Jt, defaultEdgeOptions: ht, elevateNodesOnSelect: qe, elevateEdgesOnSelect: An, disableKeyboardA11y: Eo = !1, autoPanOnConnect: pu, autoPanOnNodeDrag: Sr, autoPanSpeed: r4, connectionRadius: o4, isValidConnection: i4, onError: a4, style: s4, id: b_, nodeDragThreshold: l4, viewport: c4, onViewportChange: u4, width: d4, height: f4, colorMode: h4 = "light", debug: p4, ...g4 }, m4) {
27567
27567
  const up = b_ || "1", v4 = Ige(h4);
27568
- return x.jsx("div", { "data-testid": "rf__wrapper", ...g4, style: { ...s4, ...eve }, ref: m4, className: Yt(["react-flow", o, v4]), id: b_, children: x.jsxs(Zme, { nodes: e, edges: t, width: d4, height: f4, fitView: Ie, nodeOrigin: yt, nodeExtent: sn, children: [x.jsx(Jme, { onInit: c, onNodeClick: s, onEdgeClick: l, onNodeMouseEnter: y, onNodeMouseMove: w, onNodeMouseLeave: b, onNodeContextMenu: _, onNodeDoubleClick: E, nodeTypes: i, edgeTypes: a, connectionLineType: H, connectionLineStyle: M, connectionLineComponent: L, connectionLineContainerStyle: V, selectionKeyCode: K, selectionOnDrag: W, selectionMode: J, deleteKeyCode: U, multiSelectionKeyCode: oe, panActivationKeyCode: Q, zoomActivationKeyCode: G, onlyRenderVisibleElements: de, defaultViewport: qt, translateExtent: At, minZoom: Rt, maxZoom: Rn, preventScrolling: Xt, zoomOnScroll: en, zoomOnPinch: br, zoomOnDoubleClick: Ni, panOnScroll: hn, panOnScrollSpeed: Sn, panOnScrollMode: Zo, panOnDrag: ei, onPaneClick: Ti, onPaneMouseEnter: Co, onPaneMouseMove: ti, onPaneMouseLeave: Ze, onPaneScroll: Dt, onPaneContextMenu: zt, paneClickDistance: ln, nodeClickDistance: Pt, onSelectionContextMenu: z, onSelectionStart: B, onSelectionEnd: q, onReconnect: tn, onReconnectStart: _n, onReconnectEnd: Ct, onEdgeContextMenu: pn, onEdgeDoubleClick: xr, onEdgeMouseEnter: nt, onEdgeMouseMove: wr, onEdgeMouseLeave: ni, reconnectRadius: Ge, defaultMarkerColor: or, noDragClassName: te, noWheelClassName: ce, noPanClassName: we, rfId: up, disableKeyboardA11y: Eo, nodeExtent: sn, viewport: c4, onViewportChange: u4 }), x.jsx(Mge, { nodes: e, edges: t, defaultNodes: n, defaultEdges: r, onConnect: h, onConnectStart: p, onConnectEnd: g, onClickConnectStart: m, onClickConnectEnd: v, nodesDraggable: Ee, nodesConnectable: Lt, nodesFocusable: ft, edgesFocusable: He, edgesReconnectable: Ne, elementsSelectable: je, elevateNodesOnSelect: qe, elevateEdgesOnSelect: An, minZoom: Rt, maxZoom: Rn, nodeExtent: sn, onNodesChange: rt, onEdgesChange: F, snapToGrid: ae, snapGrid: ee, connectionMode: $, translateExtent: At, connectOnClick: Pe, defaultEdgeOptions: ht, fitView: Ie, fitViewOptions: Be, onNodesDelete: O, onEdgesDelete: N, onDelete: P, onNodeDragStart: k, onNodeDrag: S, onNodeDragStop: C, onSelectionDrag: A, onSelectionDragStart: T, onSelectionDragStop: j, onMove: u, onMoveStart: d, onMoveEnd: f, noPanClassName: we, nodeOrigin: yt, rfId: up, autoPanOnConnect: pu, autoPanOnNodeDrag: Sr, autoPanSpeed: r4, onError: a4, connectionRadius: o4, isValidConnection: i4, selectNodesOnDrag: Oe, nodeDragThreshold: l4, onBeforeDelete: D, paneClickDistance: ln, debug: p4 }), x.jsx(Rge, { onSelectionChange: I }), jt, x.jsx(Ege, { proOptions: Jt, position: Ae }), x.jsx(_ge, { rfId: up, disableKeyboardA11y: Eo })] }) });
27568
+ return x.jsx("div", { "data-testid": "rf__wrapper", ...g4, style: { ...s4, ...eve }, ref: m4, className: Yt(["react-flow", o, v4]), id: b_, children: x.jsxs(Zme, { nodes: e, edges: t, width: d4, height: f4, fitView: Ie, nodeOrigin: yt, nodeExtent: sn, children: [x.jsx(Jme, { onInit: c, onNodeClick: s, onEdgeClick: l, onNodeMouseEnter: y, onNodeMouseMove: w, onNodeMouseLeave: b, onNodeContextMenu: _, onNodeDoubleClick: E, nodeTypes: i, edgeTypes: a, connectionLineType: H, connectionLineStyle: M, connectionLineComponent: L, connectionLineContainerStyle: V, selectionKeyCode: K, selectionOnDrag: W, selectionMode: J, deleteKeyCode: U, multiSelectionKeyCode: oe, panActivationKeyCode: Q, zoomActivationKeyCode: G, onlyRenderVisibleElements: de, defaultViewport: qt, translateExtent: At, minZoom: Rt, maxZoom: Rn, preventScrolling: Xt, zoomOnScroll: en, zoomOnPinch: br, zoomOnDoubleClick: Ni, panOnScroll: hn, panOnScrollSpeed: Sn, panOnScrollMode: Zo, panOnDrag: ei, onPaneClick: Ti, onPaneMouseEnter: Co, onPaneMouseMove: ti, onPaneMouseLeave: Ze, onPaneScroll: Dt, onPaneContextMenu: zt, paneClickDistance: ln, nodeClickDistance: Pt, onSelectionContextMenu: z, onSelectionStart: F, onSelectionEnd: q, onReconnect: tn, onReconnectStart: _n, onReconnectEnd: Ct, onEdgeContextMenu: pn, onEdgeDoubleClick: xr, onEdgeMouseEnter: nt, onEdgeMouseMove: wr, onEdgeMouseLeave: ni, reconnectRadius: Ge, defaultMarkerColor: or, noDragClassName: te, noWheelClassName: ce, noPanClassName: we, rfId: up, disableKeyboardA11y: Eo, nodeExtent: sn, viewport: c4, onViewportChange: u4 }), x.jsx(Mge, { nodes: e, edges: t, defaultNodes: n, defaultEdges: r, onConnect: h, onConnectStart: p, onConnectEnd: g, onClickConnectStart: m, onClickConnectEnd: v, nodesDraggable: Ee, nodesConnectable: Lt, nodesFocusable: ft, edgesFocusable: He, edgesReconnectable: Ne, elementsSelectable: je, elevateNodesOnSelect: qe, elevateEdgesOnSelect: An, minZoom: Rt, maxZoom: Rn, nodeExtent: sn, onNodesChange: rt, onEdgesChange: B, snapToGrid: ae, snapGrid: ee, connectionMode: $, translateExtent: At, connectOnClick: Pe, defaultEdgeOptions: ht, fitView: Ie, fitViewOptions: Be, onNodesDelete: O, onEdgesDelete: N, onDelete: A, onNodeDragStart: k, onNodeDrag: S, onNodeDragStop: C, onSelectionDrag: j, onSelectionDragStart: T, onSelectionDragStop: P, onMove: u, onMoveStart: d, onMoveEnd: f, noPanClassName: we, nodeOrigin: yt, rfId: up, autoPanOnConnect: pu, autoPanOnNodeDrag: Sr, autoPanSpeed: r4, onError: a4, connectionRadius: o4, isValidConnection: i4, selectNodesOnDrag: Oe, nodeDragThreshold: l4, onBeforeDelete: D, paneClickDistance: ln, debug: p4 }), x.jsx(Rge, { onSelectionChange: I }), jt, x.jsx(Ege, { proOptions: Jt, position: Ae }), x.jsx(_ge, { rfId: up, disableKeyboardA11y: Eo })] }) });
27569
27569
  }
27570
27570
  var nve = S3(tve);
27571
27571
  function rve(e) {
@@ -27747,8 +27747,8 @@ function Y3({
27747
27747
  zoomStep: w = 10,
27748
27748
  offsetScale: b = 5
27749
27749
  }) {
27750
- const _ = _t(), E = Y(null), { boundingRect: k, viewBB: S, rfId: C, panZoom: O, translateExtent: N, flowWidth: P, flowHeight: I } = Ve(kve, It), T = (e == null ? void 0 : e.width) ?? Cve, A = (e == null ? void 0 : e.height) ?? Eve, j = k.width / T, z = k.height / A, B = Math.max(j, z), q = B * T, D = B * A, $ = b * B, H = k.x - (q - k.width) / 2 - $, M = k.y - (D - k.height) / 2 - $, L = q + $ * 2, V = D + $ * 2, U = `${Ove}-${C}`, K = Y(0), W = Y();
27751
- K.current = B, ne(() => {
27750
+ const _ = _t(), E = Y(null), { boundingRect: k, viewBB: S, rfId: C, panZoom: O, translateExtent: N, flowWidth: A, flowHeight: I } = Ve(kve, It), T = (e == null ? void 0 : e.width) ?? Cve, j = (e == null ? void 0 : e.height) ?? Eve, P = k.width / T, z = k.height / j, F = Math.max(P, z), q = F * T, D = F * j, $ = b * F, H = k.x - (q - k.width) / 2 - $, M = k.y - (D - k.height) / 2 - $, L = q + $ * 2, V = D + $ * 2, U = `${Ove}-${C}`, K = Y(0), W = Y();
27751
+ K.current = F, ne(() => {
27752
27752
  if (E.current && O)
27753
27753
  return W.current = Hpe({
27754
27754
  domNode: E.current,
@@ -27763,14 +27763,14 @@ function Y3({
27763
27763
  var oe;
27764
27764
  (oe = W.current) == null || oe.update({
27765
27765
  translateExtent: N,
27766
- width: P,
27766
+ width: A,
27767
27767
  height: I,
27768
27768
  inversePan: y,
27769
27769
  pannable: g,
27770
27770
  zoomStep: w,
27771
27771
  zoomable: m
27772
27772
  });
27773
- }, [g, m, y, w, N, P, I]);
27773
+ }, [g, m, y, w, N, A, I]);
27774
27774
  const J = h ? (oe) => {
27775
27775
  var ee;
27776
27776
  const [G, ae] = ((ee = W.current) == null ? void 0 : ee.pointer(oe)) || [0, 0];
@@ -27784,11 +27784,11 @@ function Y3({
27784
27784
  "--xy-minimap-background-color-props": typeof l == "string" ? l : void 0,
27785
27785
  "--xy-minimap-mask-background-color-props": typeof c == "string" ? c : void 0,
27786
27786
  "--xy-minimap-mask-stroke-color-props": typeof u == "string" ? u : void 0,
27787
- "--xy-minimap-mask-stroke-width-props": typeof d == "number" ? d * B : void 0,
27787
+ "--xy-minimap-mask-stroke-width-props": typeof d == "number" ? d * F : void 0,
27788
27788
  "--xy-minimap-node-background-color-props": typeof r == "string" ? r : void 0,
27789
27789
  "--xy-minimap-node-stroke-color-props": typeof n == "string" ? n : void 0,
27790
27790
  "--xy-minimap-node-stroke-width-props": typeof a == "string" ? a : void 0
27791
- }, className: Yt(["react-flow__minimap", t]), "data-testid": "rf__minimap", children: x.jsxs("svg", { width: T, height: A, viewBox: `${H} ${M} ${L} ${V}`, className: "react-flow__minimap-svg", role: "img", "aria-labelledby": U, ref: E, onClick: J, children: [v && x.jsx("title", { id: U, children: v }), x.jsx(_ve, { onClick: Q, nodeColor: r, nodeStrokeColor: n, nodeBorderRadius: i, nodeClassName: o, nodeStrokeWidth: a, nodeComponent: s }), x.jsx("path", { className: "react-flow__minimap-mask", d: `M${H - $},${M - $}h${L + $ * 2}v${V + $ * 2}h${-L - $ * 2}z
27791
+ }, className: Yt(["react-flow__minimap", t]), "data-testid": "rf__minimap", children: x.jsxs("svg", { width: T, height: j, viewBox: `${H} ${M} ${L} ${V}`, className: "react-flow__minimap-svg", role: "img", "aria-labelledby": U, ref: E, onClick: J, children: [v && x.jsx("title", { id: U, children: v }), x.jsx(_ve, { onClick: Q, nodeColor: r, nodeStrokeColor: n, nodeBorderRadius: i, nodeClassName: o, nodeStrokeWidth: a, nodeComponent: s }), x.jsx("path", { className: "react-flow__minimap-mask", d: `M${H - $},${M - $}h${L + $ * 2}v${V + $ * 2}h${-L - $ * 2}z
27792
27792
  M${S.x},${S.y}h${S.width}v${S.height}h${-S.width}z`, fillRule: "evenodd", pointerEvents: "none" })] }) });
27793
27793
  }
27794
27794
  Y3.displayName = "MiniMap";
@@ -27801,32 +27801,32 @@ function Tve({ nodeId: e, position: t, variant: n = Kl.Handle, className: r, sty
27801
27801
  domNode: w.current,
27802
27802
  nodeId: v,
27803
27803
  getStoreItems: () => {
27804
- const { nodeLookup: O, transform: N, snapGrid: P, snapToGrid: I, nodeOrigin: T, domNode: A } = y.getState();
27804
+ const { nodeLookup: O, transform: N, snapGrid: A, snapToGrid: I, nodeOrigin: T, domNode: j } = y.getState();
27805
27805
  return {
27806
27806
  nodeLookup: O,
27807
27807
  transform: N,
27808
- snapGrid: P,
27808
+ snapGrid: A,
27809
27809
  snapToGrid: I,
27810
27810
  nodeOrigin: T,
27811
- paneDomNode: A
27811
+ paneDomNode: j
27812
27812
  };
27813
27813
  },
27814
27814
  onChange: (O, N) => {
27815
- const { triggerNodeChanges: P, nodeLookup: I, parentLookup: T, nodeOrigin: A } = y.getState(), j = [], z = { x: O.x, y: O.y }, B = I.get(v);
27816
- if (B && B.expandParent && B.parentId) {
27817
- const q = B.origin ?? A, D = O.width ?? B.measured.width, $ = O.height ?? B.measured.height, H = {
27818
- id: B.id,
27819
- parentId: B.parentId,
27815
+ const { triggerNodeChanges: A, nodeLookup: I, parentLookup: T, nodeOrigin: j } = y.getState(), P = [], z = { x: O.x, y: O.y }, F = I.get(v);
27816
+ if (F && F.expandParent && F.parentId) {
27817
+ const q = F.origin ?? j, D = O.width ?? F.measured.width, $ = O.height ?? F.measured.height, H = {
27818
+ id: F.id,
27819
+ parentId: F.parentId,
27820
27820
  rect: {
27821
27821
  width: D,
27822
27822
  height: $,
27823
27823
  ...YL({
27824
- x: O.x ?? B.position.x,
27825
- y: O.y ?? B.position.y
27826
- }, { width: D, height: $ }, B.parentId, I, q)
27824
+ x: O.x ?? F.position.x,
27825
+ y: O.y ?? F.position.y
27826
+ }, { width: D, height: $ }, F.parentId, I, q)
27827
27827
  }
27828
- }, M = sS([H], I, T, A);
27829
- j.push(...M), z.x = O.x ? Math.max(q[0] * D, O.x) : void 0, z.y = O.y ? Math.max(q[1] * $, O.y) : void 0;
27828
+ }, M = sS([H], I, T, j);
27829
+ P.push(...M), z.x = O.x ? Math.max(q[0] * D, O.x) : void 0, z.y = O.y ? Math.max(q[1] * $, O.y) : void 0;
27830
27830
  }
27831
27831
  if (z.x !== void 0 && z.y !== void 0) {
27832
27832
  const q = {
@@ -27834,7 +27834,7 @@ function Tve({ nodeId: e, position: t, variant: n = Kl.Handle, className: r, sty
27834
27834
  type: "position",
27835
27835
  position: { ...z }
27836
27836
  };
27837
- j.push(q);
27837
+ P.push(q);
27838
27838
  }
27839
27839
  if (O.width !== void 0 && O.height !== void 0) {
27840
27840
  const q = {
@@ -27847,16 +27847,16 @@ function Tve({ nodeId: e, position: t, variant: n = Kl.Handle, className: r, sty
27847
27847
  height: O.height
27848
27848
  }
27849
27849
  };
27850
- j.push(q);
27850
+ P.push(q);
27851
27851
  }
27852
27852
  for (const q of N) {
27853
27853
  const D = {
27854
27854
  ...q,
27855
27855
  type: "position"
27856
27856
  };
27857
- j.push(D);
27857
+ P.push(D);
27858
27858
  }
27859
- P(j);
27859
+ A(P);
27860
27860
  },
27861
27861
  onEnd: () => {
27862
27862
  const O = {
@@ -28899,19 +28899,19 @@ function Kt() {
28899
28899
  zipObject: k
28900
28900
  };
28901
28901
  function t(S, C, O, N) {
28902
- let P;
28902
+ let A;
28903
28903
  do
28904
- P = w(N);
28905
- while (S.hasNode(P));
28906
- return O.dummy = C, S.setNode(P, O), P;
28904
+ A = w(N);
28905
+ while (S.hasNode(A));
28906
+ return O.dummy = C, S.setNode(A, O), A;
28907
28907
  }
28908
28908
  function n(S) {
28909
28909
  let C = new e().setGraph(S.graph());
28910
28910
  return S.nodes().forEach((O) => C.setNode(O, S.node(O))), S.edges().forEach((O) => {
28911
- let N = C.edge(O.v, O.w) || { weight: 0, minlen: 1 }, P = S.edge(O);
28911
+ let N = C.edge(O.v, O.w) || { weight: 0, minlen: 1 }, A = S.edge(O);
28912
28912
  C.setEdge(O.v, O.w, {
28913
- weight: N.weight + P.weight,
28914
- minlen: Math.max(N.minlen, P.minlen)
28913
+ weight: N.weight + A.weight,
28914
+ minlen: Math.max(N.minlen, A.minlen)
28915
28915
  });
28916
28916
  }), C;
28917
28917
  }
@@ -28926,8 +28926,8 @@ function Kt() {
28926
28926
  function o(S) {
28927
28927
  let C = S.nodes().map((O) => {
28928
28928
  let N = {};
28929
- return S.outEdges(O).forEach((P) => {
28930
- N[P.w] = (N[P.w] || 0) + S.edge(P).weight;
28929
+ return S.outEdges(O).forEach((A) => {
28930
+ N[A.w] = (N[A.w] || 0) + S.edge(A).weight;
28931
28931
  }), N;
28932
28932
  });
28933
28933
  return k(S.nodes(), C);
@@ -28935,59 +28935,59 @@ function Kt() {
28935
28935
  function i(S) {
28936
28936
  let C = S.nodes().map((O) => {
28937
28937
  let N = {};
28938
- return S.inEdges(O).forEach((P) => {
28939
- N[P.v] = (N[P.v] || 0) + S.edge(P).weight;
28938
+ return S.inEdges(O).forEach((A) => {
28939
+ N[A.v] = (N[A.v] || 0) + S.edge(A).weight;
28940
28940
  }), N;
28941
28941
  });
28942
28942
  return k(S.nodes(), C);
28943
28943
  }
28944
28944
  function a(S, C) {
28945
- let O = S.x, N = S.y, P = C.x - O, I = C.y - N, T = S.width / 2, A = S.height / 2;
28946
- if (!P && !I)
28945
+ let O = S.x, N = S.y, A = C.x - O, I = C.y - N, T = S.width / 2, j = S.height / 2;
28946
+ if (!A && !I)
28947
28947
  throw new Error("Not possible to find intersection inside of the rectangle");
28948
- let j, z;
28949
- return Math.abs(I) * T > Math.abs(P) * A ? (I < 0 && (A = -A), j = A * P / I, z = A) : (P < 0 && (T = -T), j = T, z = T * I / P), { x: O + j, y: N + z };
28948
+ let P, z;
28949
+ return Math.abs(I) * T > Math.abs(A) * j ? (I < 0 && (j = -j), P = j * A / I, z = j) : (A < 0 && (T = -T), P = T, z = T * I / A), { x: O + P, y: N + z };
28950
28950
  }
28951
28951
  function s(S) {
28952
28952
  let C = b(p(S) + 1).map(() => []);
28953
28953
  return S.nodes().forEach((O) => {
28954
- let N = S.node(O), P = N.rank;
28955
- P !== void 0 && (C[P][N.order] = O);
28954
+ let N = S.node(O), A = N.rank;
28955
+ A !== void 0 && (C[A][N.order] = O);
28956
28956
  }), C;
28957
28957
  }
28958
28958
  function l(S) {
28959
28959
  let C = S.nodes().map((N) => {
28960
- let P = S.node(N).rank;
28961
- return P === void 0 ? Number.MAX_VALUE : P;
28960
+ let A = S.node(N).rank;
28961
+ return A === void 0 ? Number.MAX_VALUE : A;
28962
28962
  }), O = h(Math.min, C);
28963
28963
  S.nodes().forEach((N) => {
28964
- let P = S.node(N);
28965
- Object.hasOwn(P, "rank") && (P.rank -= O);
28964
+ let A = S.node(N);
28965
+ Object.hasOwn(A, "rank") && (A.rank -= O);
28966
28966
  });
28967
28967
  }
28968
28968
  function c(S) {
28969
28969
  let C = S.nodes().map((T) => S.node(T).rank), O = h(Math.min, C), N = [];
28970
28970
  S.nodes().forEach((T) => {
28971
- let A = S.node(T).rank - O;
28972
- N[A] || (N[A] = []), N[A].push(T);
28971
+ let j = S.node(T).rank - O;
28972
+ N[j] || (N[j] = []), N[j].push(T);
28973
28973
  });
28974
- let P = 0, I = S.graph().nodeRankFactor;
28975
- Array.from(N).forEach((T, A) => {
28976
- T === void 0 && A % I !== 0 ? --P : T !== void 0 && P && T.forEach((j) => S.node(j).rank += P);
28974
+ let A = 0, I = S.graph().nodeRankFactor;
28975
+ Array.from(N).forEach((T, j) => {
28976
+ T === void 0 && j % I !== 0 ? --A : T !== void 0 && A && T.forEach((P) => S.node(P).rank += A);
28977
28977
  });
28978
28978
  }
28979
28979
  function u(S, C, O, N) {
28980
- let P = {
28980
+ let A = {
28981
28981
  width: 0,
28982
28982
  height: 0
28983
28983
  };
28984
- return arguments.length >= 4 && (P.rank = O, P.order = N), t(S, "border", P, C);
28984
+ return arguments.length >= 4 && (A.rank = O, A.order = N), t(S, "border", A, C);
28985
28985
  }
28986
28986
  function d(S, C = f) {
28987
28987
  const O = [];
28988
28988
  for (let N = 0; N < S.length; N += C) {
28989
- const P = S.slice(N, N + C);
28990
- O.push(P);
28989
+ const A = S.slice(N, N + C);
28990
+ O.push(A);
28991
28991
  }
28992
28992
  return O;
28993
28993
  }
@@ -29001,8 +29001,8 @@ function Kt() {
29001
29001
  }
29002
29002
  function p(S) {
29003
29003
  const O = S.nodes().map((N) => {
29004
- let P = S.node(N).rank;
29005
- return P === void 0 ? Number.MIN_VALUE : P;
29004
+ let A = S.node(N).rank;
29005
+ return A === void 0 ? Number.MIN_VALUE : A;
29006
29006
  });
29007
29007
  return h(Math.max, O);
29008
29008
  }
@@ -29032,10 +29032,10 @@ function Kt() {
29032
29032
  C == null && (C = S, S = 0);
29033
29033
  let N = (I) => I < C;
29034
29034
  O < 0 && (N = (I) => C < I);
29035
- const P = [];
29035
+ const A = [];
29036
29036
  for (let I = S; N(I); I += O)
29037
- P.push(I);
29038
- return P;
29037
+ A.push(I);
29038
+ return A;
29039
29039
  }
29040
29040
  function _(S, C) {
29041
29041
  const O = {};
@@ -29045,10 +29045,10 @@ function Kt() {
29045
29045
  }
29046
29046
  function E(S, C) {
29047
29047
  let O = C;
29048
- return typeof C == "string" && (O = (N) => N[C]), Object.entries(S).reduce((N, [P, I]) => (N[P] = O(I, P), N), {});
29048
+ return typeof C == "string" && (O = (N) => N[C]), Object.entries(S).reduce((N, [A, I]) => (N[A] = O(I, A), N), {});
29049
29049
  }
29050
29050
  function k(S, C) {
29051
- return S.reduce((O, N, P) => (O[N] = C[P], O), {});
29051
+ return S.reduce((O, N, A) => (O[N] = C[A], O), {});
29052
29052
  }
29053
29053
  return Jg;
29054
29054
  }
@@ -29211,12 +29211,12 @@ function Wve() {
29211
29211
  function c(y, w, b) {
29212
29212
  var _ = y.node(b), E = _.parent, k = !0, S = w.edge(b, E), C = 0;
29213
29213
  return S || (k = !1, S = w.edge(E, b)), C = S.weight, w.nodeEdges(b).forEach((O) => {
29214
- var N = O.v === b, P = N ? O.w : O.v;
29215
- if (P !== E) {
29214
+ var N = O.v === b, A = N ? O.w : O.v;
29215
+ if (A !== E) {
29216
29216
  var I = N === k, T = w.edge(O).weight;
29217
- if (C += I ? T : -T, m(y, b, P)) {
29218
- var A = y.edge(b, P).cutvalue;
29219
- C += I ? -A : A;
29217
+ if (C += I ? T : -T, m(y, b, A)) {
29218
+ var j = y.edge(b, A).cutvalue;
29219
+ C += I ? -j : j;
29220
29220
  }
29221
29221
  }
29222
29222
  }), C;
@@ -29238,8 +29238,8 @@ function Wve() {
29238
29238
  w.hasEdge(_, E) || (_ = b.w, E = b.v);
29239
29239
  var k = y.node(_), S = y.node(E), C = k, O = !1;
29240
29240
  k.lim > S.lim && (C = S, O = !0);
29241
- var N = w.edges().filter((P) => O === v(y, y.node(P.v), C) && O !== v(y, y.node(P.w), C));
29242
- return N.reduce((P, I) => t(w, I) < t(w, P) ? I : P);
29241
+ var N = w.edges().filter((A) => O === v(y, y.node(A.v), C) && O !== v(y, y.node(A.w), C));
29242
+ return N.reduce((A, I) => t(w, I) < t(w, A) ? I : A);
29243
29243
  }
29244
29244
  function p(y, w, b, _) {
29245
29245
  var E = b.v, k = b.w;
@@ -29741,11 +29741,11 @@ function s0e() {
29741
29741
  function w(b, _) {
29742
29742
  let E = 0, k = 0, S = b.length, C = _[_.length - 1];
29743
29743
  return _.forEach((O, N) => {
29744
- let P = o(m, O), I = P ? m.node(P).order : S;
29745
- (P || O === C) && (_.slice(k, N + 1).forEach((T) => {
29746
- m.predecessors(T).forEach((A) => {
29747
- let j = m.node(A), z = j.order;
29748
- (z < E || I < z) && !(j.dummy && m.node(T).dummy) && i(y, A, T);
29744
+ let A = o(m, O), I = A ? m.node(A).order : S;
29745
+ (A || O === C) && (_.slice(k, N + 1).forEach((T) => {
29746
+ m.predecessors(T).forEach((j) => {
29747
+ let P = m.node(j), z = P.order;
29748
+ (z < E || I < z) && !(P.dummy && m.node(T).dummy) && i(y, j, T);
29749
29749
  });
29750
29750
  }), k = N + 1, E = I);
29751
29751
  }), _;
@@ -29757,9 +29757,9 @@ function s0e() {
29757
29757
  function w(_, E, k, S, C) {
29758
29758
  let O;
29759
29759
  t.range(E, k).forEach((N) => {
29760
- O = _[N], m.node(O).dummy && m.predecessors(O).forEach((P) => {
29761
- let I = m.node(P);
29762
- I.dummy && (I.order < S || I.order > C) && i(y, P, O);
29760
+ O = _[N], m.node(O).dummy && m.predecessors(O).forEach((A) => {
29761
+ let I = m.node(A);
29762
+ I.dummy && (I.order < S || I.order > C) && i(y, A, O);
29763
29763
  });
29764
29764
  });
29765
29765
  }
@@ -29767,8 +29767,8 @@ function s0e() {
29767
29767
  let k = -1, S, C = 0;
29768
29768
  return E.forEach((O, N) => {
29769
29769
  if (m.node(O).dummy === "border") {
29770
- let P = m.predecessors(O);
29771
- P.length && (S = m.node(P[0]).order, w(E, C, N, k, S), C = N, k = S);
29770
+ let A = m.predecessors(O);
29771
+ A.length && (S = m.node(A[0]).order, w(E, C, N, k, S), C = N, k = S);
29772
29772
  }
29773
29773
  w(E, C, E.length, S, _.length);
29774
29774
  }), E;
@@ -29805,10 +29805,10 @@ function s0e() {
29805
29805
  k.forEach((C) => {
29806
29806
  let O = w(C);
29807
29807
  if (O.length) {
29808
- O = O.sort((P, I) => E[P] - E[I]);
29808
+ O = O.sort((A, I) => E[A] - E[I]);
29809
29809
  let N = (O.length - 1) / 2;
29810
- for (let P = Math.floor(N), I = Math.ceil(N); P <= I; ++P) {
29811
- let T = O[P];
29810
+ for (let A = Math.floor(N), I = Math.ceil(N); A <= I; ++A) {
29811
+ let T = O[A];
29812
29812
  _[C] === C && S < E[T] && !a(y, C, T) && (_[T] = C, _[C] = b[C] = b[T], S = E[T]);
29813
29813
  }
29814
29814
  }
@@ -29817,17 +29817,17 @@ function s0e() {
29817
29817
  }
29818
29818
  function l(m, v, y, w, b) {
29819
29819
  let _ = {}, E = c(m, v, y, b), k = b ? "borderLeft" : "borderRight";
29820
- function S(N, P) {
29821
- let I = E.nodes(), T = I.pop(), A = {};
29820
+ function S(N, A) {
29821
+ let I = E.nodes(), T = I.pop(), j = {};
29822
29822
  for (; T; )
29823
- A[T] ? N(T) : (A[T] = !0, I.push(T), I = I.concat(P(T))), T = I.pop();
29823
+ j[T] ? N(T) : (j[T] = !0, I.push(T), I = I.concat(A(T))), T = I.pop();
29824
29824
  }
29825
29825
  function C(N) {
29826
- _[N] = E.inEdges(N).reduce((P, I) => Math.max(P, _[I.v] + E.edge(I)), 0);
29826
+ _[N] = E.inEdges(N).reduce((A, I) => Math.max(A, _[I.v] + E.edge(I)), 0);
29827
29827
  }
29828
29828
  function O(N) {
29829
- let P = E.outEdges(N).reduce((T, A) => Math.min(T, _[A.w] - E.edge(A)), Number.POSITIVE_INFINITY), I = m.node(N);
29830
- P !== Number.POSITIVE_INFINITY && I.borderType !== k && (_[N] = Math.max(_[N], P));
29829
+ let A = E.outEdges(N).reduce((T, j) => Math.min(T, _[j.w] - E.edge(j)), Number.POSITIVE_INFINITY), I = m.node(N);
29830
+ A !== Number.POSITIVE_INFINITY && I.borderType !== k && (_[N] = Math.max(_[N], A));
29831
29831
  }
29832
29832
  return S(C, E.predecessors.bind(E)), S(O, E.successors.bind(E)), Object.keys(w).forEach((N) => _[N] = _[y[N]]), _;
29833
29833
  }
@@ -29838,8 +29838,8 @@ function s0e() {
29838
29838
  k.forEach((C) => {
29839
29839
  let O = y[C];
29840
29840
  if (b.setNode(O), S) {
29841
- var N = y[S], P = b.edge(N, O);
29842
- b.setEdge(N, O, Math.max(E(m, C, S), P || 0));
29841
+ var N = y[S], A = b.edge(N, O);
29842
+ b.setEdge(N, O, Math.max(E(m, C, S), A || 0));
29843
29843
  }
29844
29844
  S = C;
29845
29845
  });
@@ -29962,7 +29962,7 @@ function c0e() {
29962
29962
  });
29963
29963
  }
29964
29964
  function p(M, L, V) {
29965
- L(" makeSpaceForEdgeLabels", () => C(M)), L(" removeSelfEdges", () => B(M)), L(" acyclic", () => e.run(M)), L(" nestingGraph.run", () => a.run(M)), L(" rank", () => n(d.asNonCompoundGraph(M))), L(" injectEdgeLabelProxies", () => O(M)), L(" removeEmptyRanks", () => i(M)), L(" nestingGraph.cleanup", () => a.cleanup(M)), L(" normalizeRanks", () => r(M)), L(" assignRankMinMax", () => N(M)), L(" removeEdgeLabelProxies", () => P(M)), L(" normalize.run", () => t.run(M)), L(" parentDummyChains", () => o(M)), L(" addBorderSegments", () => s(M)), L(" order", () => c(M, V)), L(" insertSelfEdges", () => q(M)), L(" adjustCoordinateSystem", () => l.adjust(M)), L(" position", () => u(M)), L(" positionSelfEdges", () => D(M)), L(" removeBorderNodes", () => z(M)), L(" normalize.undo", () => t.undo(M)), L(" fixupEdgeLabelCoords", () => A(M)), L(" undoCoordinateSystem", () => l.undo(M)), L(" translateGraph", () => I(M)), L(" assignNodeIntersects", () => T(M)), L(" reversePoints", () => j(M)), L(" acyclic.undo", () => e.undo(M));
29965
+ L(" makeSpaceForEdgeLabels", () => C(M)), L(" removeSelfEdges", () => F(M)), L(" acyclic", () => e.run(M)), L(" nestingGraph.run", () => a.run(M)), L(" rank", () => n(d.asNonCompoundGraph(M))), L(" injectEdgeLabelProxies", () => O(M)), L(" removeEmptyRanks", () => i(M)), L(" nestingGraph.cleanup", () => a.cleanup(M)), L(" normalizeRanks", () => r(M)), L(" assignRankMinMax", () => N(M)), L(" removeEdgeLabelProxies", () => A(M)), L(" normalize.run", () => t.run(M)), L(" parentDummyChains", () => o(M)), L(" addBorderSegments", () => s(M)), L(" order", () => c(M, V)), L(" insertSelfEdges", () => q(M)), L(" adjustCoordinateSystem", () => l.adjust(M)), L(" position", () => u(M)), L(" positionSelfEdges", () => D(M)), L(" removeBorderNodes", () => z(M)), L(" normalize.undo", () => t.undo(M)), L(" fixupEdgeLabelCoords", () => j(M)), L(" undoCoordinateSystem", () => l.undo(M)), L(" translateGraph", () => I(M)), L(" assignNodeIntersects", () => T(M)), L(" reversePoints", () => P(M)), L(" acyclic.undo", () => e.undo(M));
29966
29966
  }
29967
29967
  function g(M, L) {
29968
29968
  M.nodes().forEach((V) => {
@@ -30027,7 +30027,7 @@ function c0e() {
30027
30027
  U.borderTop && (U.minRank = M.node(U.borderTop).rank, U.maxRank = M.node(U.borderBottom).rank, L = Math.max(L, U.maxRank));
30028
30028
  }), M.graph().maxRank = L;
30029
30029
  }
30030
- function P(M) {
30030
+ function A(M) {
30031
30031
  M.nodes().forEach((L) => {
30032
30032
  let V = M.node(L);
30033
30033
  V.dummy === "edge-proxy" && (M.edge(V.e).labelRank = V.rank, M.removeNode(L));
@@ -30058,7 +30058,7 @@ function c0e() {
30058
30058
  V.points ? (W = V.points[0], J = V.points[V.points.length - 1]) : (V.points = [], W = K, J = U), V.points.unshift(d.intersectRect(U, W)), V.points.push(d.intersectRect(K, J));
30059
30059
  });
30060
30060
  }
30061
- function A(M) {
30061
+ function j(M) {
30062
30062
  M.edges().forEach((L) => {
30063
30063
  let V = M.edge(L);
30064
30064
  if (Object.hasOwn(V, "x"))
@@ -30072,7 +30072,7 @@ function c0e() {
30072
30072
  }
30073
30073
  });
30074
30074
  }
30075
- function j(M) {
30075
+ function P(M) {
30076
30076
  M.edges().forEach((L) => {
30077
30077
  let V = M.edge(L);
30078
30078
  V.reversed && V.points.reverse();
@@ -30088,7 +30088,7 @@ function c0e() {
30088
30088
  M.node(L).dummy === "border" && M.removeNode(L);
30089
30089
  });
30090
30090
  }
30091
- function B(M) {
30091
+ function F(M) {
30092
30092
  M.edges().forEach((L) => {
30093
30093
  if (L.v === L.w) {
30094
30094
  var V = M.node(L.v);
@@ -31942,29 +31942,29 @@ class yS {
31942
31942
  y: Math.min(m === ze.Down ? k.bottom - k.height / 2 : k.bottom, Math.max(m === ze.Down ? k.top : k.top + k.height / 2, d.y))
31943
31943
  }, C = m === ze.Right && !y || m === ze.Left && !w, O = m === ze.Down && !b || m === ze.Up && !v;
31944
31944
  if (C && S.x !== d.x) {
31945
- const N = g.scrollLeft + f.x, P = m === ze.Right && N <= _.x || m === ze.Left && N >= E.x;
31946
- if (P && !f.y) {
31945
+ const N = g.scrollLeft + f.x, A = m === ze.Right && N <= _.x || m === ze.Left && N >= E.x;
31946
+ if (A && !f.y) {
31947
31947
  g.scrollTo({
31948
31948
  left: N,
31949
31949
  behavior: s
31950
31950
  });
31951
31951
  return;
31952
31952
  }
31953
- P ? h.x = g.scrollLeft - N : h.x = m === ze.Right ? g.scrollLeft - _.x : g.scrollLeft - E.x, h.x && g.scrollBy({
31953
+ A ? h.x = g.scrollLeft - N : h.x = m === ze.Right ? g.scrollLeft - _.x : g.scrollLeft - E.x, h.x && g.scrollBy({
31954
31954
  left: -h.x,
31955
31955
  behavior: s
31956
31956
  });
31957
31957
  break;
31958
31958
  } else if (O && S.y !== d.y) {
31959
- const N = g.scrollTop + f.y, P = m === ze.Down && N <= _.y || m === ze.Up && N >= E.y;
31960
- if (P && !f.x) {
31959
+ const N = g.scrollTop + f.y, A = m === ze.Down && N <= _.y || m === ze.Up && N >= E.y;
31960
+ if (A && !f.x) {
31961
31961
  g.scrollTo({
31962
31962
  top: N,
31963
31963
  behavior: s
31964
31964
  });
31965
31965
  return;
31966
31966
  }
31967
- P ? h.y = g.scrollTop - N : h.y = m === ze.Down ? g.scrollTop - _.y : g.scrollTop - E.y, h.y && g.scrollBy({
31967
+ A ? h.y = g.scrollTop - N : h.y = m === ze.Down ? g.scrollTop - _.y : g.scrollTop - E.y, h.y && g.scrollBy({
31968
31968
  top: -h.y,
31969
31969
  behavior: s
31970
31970
  });
@@ -33000,7 +33000,7 @@ const Rx = /* @__PURE__ */ Nt(function(t) {
33000
33000
  droppable: {
33001
33001
  containers: O
33002
33002
  }
33003
- } = m, N = k ? S.get(k) : null, P = Y({
33003
+ } = m, N = k ? S.get(k) : null, A = Y({
33004
33004
  initial: null,
33005
33005
  translated: null
33006
33006
  }), I = le(() => {
@@ -33009,9 +33009,9 @@ const Rx = /* @__PURE__ */ Nt(function(t) {
33009
33009
  id: k,
33010
33010
  // It's possible for the active node to unmount while dragging
33011
33011
  data: (Ze = N == null ? void 0 : N.data) != null ? Ze : Uye,
33012
- rect: P
33012
+ rect: A
33013
33013
  } : null;
33014
- }, [k, N]), T = Y(null), [A, j] = re(null), [z, B] = re(null), q = Rc(p, Object.values(p)), D = iu("DndDescribedBy", a), $ = le(() => O.getEnabled(), [O]), H = Qye(f), {
33014
+ }, [k, N]), T = Y(null), [j, P] = re(null), [z, F] = re(null), q = Rc(p, Object.values(p)), D = iu("DndDescribedBy", a), $ = le(() => O.getEnabled(), [O]), H = Qye(f), {
33015
33015
  droppableRects: M,
33016
33016
  measureDroppableContainers: L,
33017
33017
  measuringScheduled: V
@@ -33097,7 +33097,7 @@ const Rx = /* @__PURE__ */ Nt(function(t) {
33097
33097
  active: {
33098
33098
  id: pn,
33099
33099
  data: xr.data,
33100
- rect: P
33100
+ rect: A
33101
33101
  }
33102
33102
  };
33103
33103
  ol(() => {
@@ -33121,7 +33121,7 @@ const Rx = /* @__PURE__ */ Nt(function(t) {
33121
33121
  onCancel: _n(Qt.DragCancel)
33122
33122
  });
33123
33123
  ol(() => {
33124
- j(tn), B(Ze.nativeEvent);
33124
+ P(tn), F(Ze.nativeEvent);
33125
33125
  });
33126
33126
  function _n(Ct) {
33127
33127
  return async function() {
@@ -33147,11 +33147,11 @@ const Rx = /* @__PURE__ */ Nt(function(t) {
33147
33147
  T.current = null, ol(() => {
33148
33148
  v({
33149
33149
  type: Ct
33150
- }), _(ui.Uninitialized), br(null), j(null), B(null);
33150
+ }), _(ui.Uninitialized), br(null), P(null), F(null);
33151
33151
  const rt = Ct === Qt.DragEnd ? "onDragEnd" : "onDragCancel";
33152
33152
  if (Ge) {
33153
- const F = q.current[rt];
33154
- F == null || F(Ge), y({
33153
+ const B = q.current[rt];
33154
+ B == null || B(Ge), y({
33155
33155
  type: rt,
33156
33156
  event: Ge
33157
33157
  });
@@ -33263,7 +33263,7 @@ const Rx = /* @__PURE__ */ Nt(function(t) {
33263
33263
  over: en,
33264
33264
  scrollableAncestors: yt,
33265
33265
  scrollAdjustedTranslate: At
33266
- }, P.current = {
33266
+ }, A.current = {
33267
33267
  initial: Oe,
33268
33268
  translated: Xt
33269
33269
  };
@@ -33321,7 +33321,7 @@ const Rx = /* @__PURE__ */ Nt(function(t) {
33321
33321
  hiddenTextDescribedById: D
33322
33322
  }));
33323
33323
  function ti() {
33324
- const Ze = (A == null ? void 0 : A.autoScrollEnabled) === !1, Dt = typeof l == "object" ? l.enabled === !1 : l === !1, zt = E && !Ze && !Dt;
33324
+ const Ze = (j == null ? void 0 : j.autoScrollEnabled) === !1, Dt = typeof l == "object" ? l.enabled === !1 : l === !1, zt = E && !Ze && !Dt;
33325
33325
  return typeof l == "object" ? {
33326
33326
  ...l,
33327
33327
  enabled: zt
@@ -33666,13 +33666,13 @@ function mbe(e) {
33666
33666
  }
33667
33667
  }), {
33668
33668
  active: N,
33669
- activatorEvent: P,
33669
+ activatorEvent: A,
33670
33670
  activeNodeRect: I,
33671
33671
  attributes: T,
33672
- setNodeRef: A,
33673
- listeners: j,
33672
+ setNodeRef: j,
33673
+ listeners: P,
33674
33674
  isDragging: z,
33675
- over: B,
33675
+ over: F,
33676
33676
  setActivatorNodeRef: q,
33677
33677
  transform: D
33678
33678
  } = xS({
@@ -33683,7 +33683,7 @@ function mbe(e) {
33683
33683
  ...n
33684
33684
  },
33685
33685
  disabled: w.draggable
33686
- }), $ = D0e(O, A), H = !!N, M = H && !p && Qu(f) && Qu(m), L = !v && z, V = L && M ? D : null, K = M ? V ?? (s ?? y)({
33686
+ }), $ = D0e(O, j), H = !!N, M = H && !p && Qu(f) && Qu(m), L = !v && z, V = L && M ? D : null, K = M ? V ?? (s ?? y)({
33687
33687
  rects: g,
33688
33688
  activeNodeRect: I,
33689
33689
  activeIndex: f,
@@ -33743,14 +33743,14 @@ function mbe(e) {
33743
33743
  isOver: C,
33744
33744
  isSorting: H,
33745
33745
  isDragging: z,
33746
- listeners: j,
33746
+ listeners: P,
33747
33747
  node: S,
33748
33748
  overIndex: m,
33749
- over: B,
33749
+ over: F,
33750
33750
  setNodeRef: $,
33751
33751
  setActivatorNodeRef: q,
33752
33752
  setDroppableNodeRef: O,
33753
- setDraggableNodeRef: A,
33753
+ setDraggableNodeRef: j,
33754
33754
  transform: ae ?? K,
33755
33755
  transition: ee()
33756
33756
  };
@@ -33761,7 +33761,7 @@ function mbe(e) {
33761
33761
  oe && Q.current.newIndex === b
33762
33762
  )
33763
33763
  return hbe;
33764
- if (!(L && !mS(P) || !c) && (H || G))
33764
+ if (!(L && !mS(A) || !c) && (H || G))
33765
33765
  return ea.Transition.toString({
33766
33766
  ...c,
33767
33767
  property: ND
@@ -34626,53 +34626,53 @@ function VD(e, t) {
34626
34626
  function Oxe({ original: e, modified: t, language: n, originalLanguage: r, modifiedLanguage: o, originalModelPath: i, modifiedModelPath: a, keepCurrentOriginalModel: s = !1, keepCurrentModifiedModel: l = !1, theme: c = "light", loading: u = "Loading...", options: d = {}, height: f = "100%", width: h = "100%", className: p, wrapperProps: g = {}, beforeMount: m = ec, onMount: v = ec }) {
34627
34627
  let [y, w] = re(!1), [b, _] = re(!0), E = Y(null), k = Y(null), S = Y(null), C = Y(v), O = Y(m), N = Y(!1);
34628
34628
  BD(() => {
34629
- let A = zD.init();
34630
- return A.then((j) => (k.current = j) && _(!1)).catch((j) => (j == null ? void 0 : j.type) !== "cancelation" && console.error("Monaco initialization: error:", j)), () => E.current ? T() : A.cancel();
34629
+ let j = zD.init();
34630
+ return j.then((P) => (k.current = P) && _(!1)).catch((P) => (P == null ? void 0 : P.type) !== "cancelation" && console.error("Monaco initialization: error:", P)), () => E.current ? T() : j.cancel();
34631
34631
  }), Jn(() => {
34632
34632
  if (E.current && k.current) {
34633
- let A = E.current.getOriginalEditor(), j = ts(k.current, e || "", r || n || "text", i || "");
34634
- j !== A.getModel() && A.setModel(j);
34633
+ let j = E.current.getOriginalEditor(), P = ts(k.current, e || "", r || n || "text", i || "");
34634
+ P !== j.getModel() && j.setModel(P);
34635
34635
  }
34636
34636
  }, [i], y), Jn(() => {
34637
34637
  if (E.current && k.current) {
34638
- let A = E.current.getModifiedEditor(), j = ts(k.current, t || "", o || n || "text", a || "");
34639
- j !== A.getModel() && A.setModel(j);
34638
+ let j = E.current.getModifiedEditor(), P = ts(k.current, t || "", o || n || "text", a || "");
34639
+ P !== j.getModel() && j.setModel(P);
34640
34640
  }
34641
34641
  }, [a], y), Jn(() => {
34642
- let A = E.current.getModifiedEditor();
34643
- A.getOption(k.current.editor.EditorOption.readOnly) ? A.setValue(t || "") : t !== A.getValue() && (A.executeEdits("", [{ range: A.getModel().getFullModelRange(), text: t || "", forceMoveMarkers: !0 }]), A.pushUndoStop());
34642
+ let j = E.current.getModifiedEditor();
34643
+ j.getOption(k.current.editor.EditorOption.readOnly) ? j.setValue(t || "") : t !== j.getValue() && (j.executeEdits("", [{ range: j.getModel().getFullModelRange(), text: t || "", forceMoveMarkers: !0 }]), j.pushUndoStop());
34644
34644
  }, [t], y), Jn(() => {
34645
- var A, j;
34646
- (j = (A = E.current) == null ? void 0 : A.getModel()) == null || j.original.setValue(e || "");
34645
+ var j, P;
34646
+ (P = (j = E.current) == null ? void 0 : j.getModel()) == null || P.original.setValue(e || "");
34647
34647
  }, [e], y), Jn(() => {
34648
- let { original: A, modified: j } = E.current.getModel();
34649
- k.current.editor.setModelLanguage(A, r || n || "text"), k.current.editor.setModelLanguage(j, o || n || "text");
34648
+ let { original: j, modified: P } = E.current.getModel();
34649
+ k.current.editor.setModelLanguage(j, r || n || "text"), k.current.editor.setModelLanguage(P, o || n || "text");
34650
34650
  }, [n, r, o], y), Jn(() => {
34651
- var A;
34652
- (A = k.current) == null || A.editor.setTheme(c);
34651
+ var j;
34652
+ (j = k.current) == null || j.editor.setTheme(c);
34653
34653
  }, [c], y), Jn(() => {
34654
- var A;
34655
- (A = E.current) == null || A.updateOptions(d);
34654
+ var j;
34655
+ (j = E.current) == null || j.updateOptions(d);
34656
34656
  }, [d], y);
34657
- let P = Se(() => {
34657
+ let A = Se(() => {
34658
34658
  var z;
34659
34659
  if (!k.current) return;
34660
34660
  O.current(k.current);
34661
- let A = ts(k.current, e || "", r || n || "text", i || ""), j = ts(k.current, t || "", o || n || "text", a || "");
34662
- (z = E.current) == null || z.setModel({ original: A, modified: j });
34661
+ let j = ts(k.current, e || "", r || n || "text", i || ""), P = ts(k.current, t || "", o || n || "text", a || "");
34662
+ (z = E.current) == null || z.setModel({ original: j, modified: P });
34663
34663
  }, [n, t, o, e, r, i, a]), I = Se(() => {
34664
- var A;
34665
- !N.current && S.current && (E.current = k.current.editor.createDiffEditor(S.current, { automaticLayout: !0, ...d }), P(), (A = k.current) == null || A.editor.setTheme(c), w(!0), N.current = !0);
34666
- }, [d, c, P]);
34664
+ var j;
34665
+ !N.current && S.current && (E.current = k.current.editor.createDiffEditor(S.current, { automaticLayout: !0, ...d }), A(), (j = k.current) == null || j.editor.setTheme(c), w(!0), N.current = !0);
34666
+ }, [d, c, A]);
34667
34667
  ne(() => {
34668
34668
  y && C.current(E.current, k.current);
34669
34669
  }, [y]), ne(() => {
34670
34670
  !b && !y && I();
34671
34671
  }, [b, y, I]);
34672
34672
  function T() {
34673
- var j, z, B, q;
34674
- let A = (j = E.current) == null ? void 0 : j.getModel();
34675
- s || ((z = A == null ? void 0 : A.original) == null || z.dispose()), l || ((B = A == null ? void 0 : A.modified) == null || B.dispose()), (q = E.current) == null || q.dispose();
34673
+ var P, z, F, q;
34674
+ let j = (P = E.current) == null ? void 0 : P.getModel();
34675
+ s || ((z = j == null ? void 0 : j.original) == null || z.dispose()), l || ((F = j == null ? void 0 : j.modified) == null || F.dispose()), (q = E.current) == null || q.dispose();
34676
34676
  }
34677
34677
  return R.createElement(FD, { width: h, height: f, isEditorReady: y, loading: u, _ref: S, className: p, wrapperProps: g });
34678
34678
  }
@@ -34686,19 +34686,19 @@ function Txe(e) {
34686
34686
  }
34687
34687
  var Rxe = Txe, ed = /* @__PURE__ */ new Map();
34688
34688
  function Axe({ defaultValue: e, defaultLanguage: t, defaultPath: n, value: r, language: o, path: i, theme: a = "light", line: s, loading: l = "Loading...", options: c = {}, overrideServices: u = {}, saveViewState: d = !0, keepCurrentModel: f = !1, width: h = "100%", height: p = "100%", className: g, wrapperProps: m = {}, beforeMount: v = ec, onMount: y = ec, onChange: w, onValidate: b = ec }) {
34689
- let [_, E] = re(!1), [k, S] = re(!0), C = Y(null), O = Y(null), N = Y(null), P = Y(y), I = Y(v), T = Y(), A = Y(r), j = Rxe(i), z = Y(!1), B = Y(!1);
34689
+ let [_, E] = re(!1), [k, S] = re(!0), C = Y(null), O = Y(null), N = Y(null), A = Y(y), I = Y(v), T = Y(), j = Y(r), P = Rxe(i), z = Y(!1), F = Y(!1);
34690
34690
  BD(() => {
34691
34691
  let $ = zD.init();
34692
34692
  return $.then((H) => (C.current = H) && S(!1)).catch((H) => (H == null ? void 0 : H.type) !== "cancelation" && console.error("Monaco initialization: error:", H)), () => O.current ? D() : $.cancel();
34693
34693
  }), Jn(() => {
34694
34694
  var H, M, L, V;
34695
34695
  let $ = ts(C.current, e || r || "", t || o || "", i || n || "");
34696
- $ !== ((H = O.current) == null ? void 0 : H.getModel()) && (d && ed.set(j, (M = O.current) == null ? void 0 : M.saveViewState()), (L = O.current) == null || L.setModel($), d && ((V = O.current) == null || V.restoreViewState(ed.get(i))));
34696
+ $ !== ((H = O.current) == null ? void 0 : H.getModel()) && (d && ed.set(P, (M = O.current) == null ? void 0 : M.saveViewState()), (L = O.current) == null || L.setModel($), d && ((V = O.current) == null || V.restoreViewState(ed.get(i))));
34697
34697
  }, [i], _), Jn(() => {
34698
34698
  var $;
34699
34699
  ($ = O.current) == null || $.updateOptions(c);
34700
34700
  }, [c], _), Jn(() => {
34701
- !O.current || r === void 0 || (O.current.getOption(C.current.editor.EditorOption.readOnly) ? O.current.setValue(r) : r !== O.current.getValue() && (B.current = !0, O.current.executeEdits("", [{ range: O.current.getModel().getFullModelRange(), text: r, forceMoveMarkers: !0 }]), O.current.pushUndoStop(), B.current = !1));
34701
+ !O.current || r === void 0 || (O.current.getOption(C.current.editor.EditorOption.readOnly) ? O.current.setValue(r) : r !== O.current.getValue() && (F.current = !0, O.current.executeEdits("", [{ range: O.current.getModel().getFullModelRange(), text: r, forceMoveMarkers: !0 }]), O.current.pushUndoStop(), F.current = !1));
34702
34702
  }, [r], _), Jn(() => {
34703
34703
  var H, M;
34704
34704
  let $ = (H = O.current) == null ? void 0 : H.getModel();
@@ -34719,13 +34719,13 @@ function Axe({ defaultValue: e, defaultLanguage: t, defaultPath: n, value: r, la
34719
34719
  }
34720
34720
  }, [e, t, n, r, o, i, c, u, d, a, s]);
34721
34721
  ne(() => {
34722
- _ && P.current(O.current, C.current);
34722
+ _ && A.current(O.current, C.current);
34723
34723
  }, [_]), ne(() => {
34724
34724
  !k && !_ && q();
34725
- }, [k, _, q]), A.current = r, ne(() => {
34725
+ }, [k, _, q]), j.current = r, ne(() => {
34726
34726
  var $, H;
34727
34727
  _ && w && (($ = T.current) == null || $.dispose(), T.current = (H = O.current) == null ? void 0 : H.onDidChangeModelContent((M) => {
34728
- B.current || w(O.current.getValue(), M);
34728
+ F.current || w(O.current.getValue(), M);
34729
34729
  }));
34730
34730
  }, [_, w]), ne(() => {
34731
34731
  if (_) {
@@ -36505,10 +36505,10 @@ function Gxe() {
36505
36505
  yT = 1;
36506
36506
  var e = da(), t = ES(), n = Yo(), r = "[object Arguments]", o = "[object Array]", i = "[object Boolean]", a = "[object Date]", s = "[object Error]", l = "[object Function]", c = "[object Map]", u = "[object Number]", d = "[object Object]", f = "[object RegExp]", h = "[object Set]", p = "[object String]", g = "[object WeakMap]", m = "[object ArrayBuffer]", v = "[object DataView]", y = "[object Float32Array]", w = "[object Float64Array]", b = "[object Int8Array]", _ = "[object Int16Array]", E = "[object Int32Array]", k = "[object Uint8Array]", S = "[object Uint8ClampedArray]", C = "[object Uint16Array]", O = "[object Uint32Array]", N = {};
36507
36507
  N[y] = N[w] = N[b] = N[_] = N[E] = N[k] = N[S] = N[C] = N[O] = !0, N[r] = N[o] = N[m] = N[i] = N[v] = N[a] = N[s] = N[l] = N[c] = N[u] = N[d] = N[f] = N[h] = N[p] = N[g] = !1;
36508
- function P(I) {
36508
+ function A(I) {
36509
36509
  return n(I) && t(I.length) && !!N[e(I)];
36510
36510
  }
36511
- return Ym = P, Ym;
36511
+ return Ym = A, Ym;
36512
36512
  }
36513
36513
  var Xm, bT;
36514
36514
  function kS() {
@@ -37256,7 +37256,7 @@ function A1e() {
37256
37256
  if (TR) return i0;
37257
37257
  TR = 1;
37258
37258
  var e = lu(), t = s6(), n = AS(), r = a6(), o = T1e(), i = R1e(), a = 1, s = 2, l = "[object Boolean]", c = "[object Date]", u = "[object Error]", d = "[object Map]", f = "[object Number]", h = "[object RegExp]", p = "[object Set]", g = "[object String]", m = "[object Symbol]", v = "[object ArrayBuffer]", y = "[object DataView]", w = e ? e.prototype : void 0, b = w ? w.valueOf : void 0;
37259
- function _(E, k, S, C, O, N, P) {
37259
+ function _(E, k, S, C, O, N, A) {
37260
37260
  switch (S) {
37261
37261
  case y:
37262
37262
  if (E.byteLength != k.byteLength || E.byteOffset != k.byteOffset)
@@ -37279,12 +37279,12 @@ function A1e() {
37279
37279
  var T = C & a;
37280
37280
  if (I || (I = i), E.size != k.size && !T)
37281
37281
  return !1;
37282
- var A = P.get(E);
37283
- if (A)
37284
- return A == k;
37285
- C |= s, P.set(E, k);
37286
- var j = r(I(E), I(k), C, O, N, P);
37287
- return P.delete(E), j;
37282
+ var j = A.get(E);
37283
+ if (j)
37284
+ return j == k;
37285
+ C |= s, A.set(E, k);
37286
+ var P = r(I(E), I(k), C, O, N, A);
37287
+ return A.delete(E), P;
37288
37288
  case m:
37289
37289
  if (b)
37290
37290
  return b.call(E) == b.call(k);
@@ -37464,10 +37464,10 @@ function D1e() {
37464
37464
  if (N && !C)
37465
37465
  return b || (b = new e()), _ || s(g) ? t(g, m, v, y, w, b) : n(g, m, k, v, y, w, b);
37466
37466
  if (!(v & l)) {
37467
- var P = C && h.call(g, "__wrapped__"), I = O && h.call(m, "__wrapped__");
37468
- if (P || I) {
37469
- var T = P ? g.value() : g, A = I ? m.value() : m;
37470
- return b || (b = new e()), w(T, A, v, y, b);
37467
+ var A = C && h.call(g, "__wrapped__"), I = O && h.call(m, "__wrapped__");
37468
+ if (A || I) {
37469
+ var T = A ? g.value() : g, j = I ? m.value() : m;
37470
+ return b || (b = new e()), w(T, j, v, y, b);
37471
37471
  }
37472
37472
  }
37473
37473
  return N ? (b || (b = new e()), r(g, m, v, y, w, b)) : !1;
@@ -38131,13 +38131,13 @@ function _we() {
38131
38131
  BA = 1;
38132
38132
  var e = zS(), t = bwe(), n = xwe(), r = wwe(), o = Swe(), i = "[object Boolean]", a = "[object Date]", s = "[object Map]", l = "[object Number]", c = "[object RegExp]", u = "[object Set]", d = "[object String]", f = "[object Symbol]", h = "[object ArrayBuffer]", p = "[object DataView]", g = "[object Float32Array]", m = "[object Float64Array]", v = "[object Int8Array]", y = "[object Int16Array]", w = "[object Int32Array]", b = "[object Uint8Array]", _ = "[object Uint8ClampedArray]", E = "[object Uint16Array]", k = "[object Uint32Array]";
38133
38133
  function S(C, O, N) {
38134
- var P = C.constructor;
38134
+ var A = C.constructor;
38135
38135
  switch (O) {
38136
38136
  case h:
38137
38137
  return e(C);
38138
38138
  case i:
38139
38139
  case a:
38140
- return new P(+C);
38140
+ return new A(+C);
38141
38141
  case p:
38142
38142
  return t(C, N);
38143
38143
  case g:
@@ -38151,14 +38151,14 @@ function _we() {
38151
38151
  case k:
38152
38152
  return o(C, N);
38153
38153
  case s:
38154
- return new P();
38154
+ return new A();
38155
38155
  case l:
38156
38156
  case d:
38157
- return new P(C);
38157
+ return new A(C);
38158
38158
  case c:
38159
38159
  return n(C);
38160
38160
  case u:
38161
- return new P();
38161
+ return new A();
38162
38162
  case f:
38163
38163
  return r(C);
38164
38164
  }
@@ -38232,8 +38232,8 @@ var Sy, KA;
38232
38232
  function Rwe() {
38233
38233
  if (KA) return Sy;
38234
38234
  KA = 1;
38235
- var e = MS(), t = swe(), n = y6(), r = cwe(), o = fwe(), i = hwe(), a = pwe(), s = gwe(), l = mwe(), c = d6(), u = vwe(), d = qh(), f = ywe(), h = _we(), p = Ewe(), g = eo(), m = CS(), v = Owe(), y = Qs(), w = Twe(), b = cu(), _ = DS(), E = 1, k = 2, S = 4, C = "[object Arguments]", O = "[object Array]", N = "[object Boolean]", P = "[object Date]", I = "[object Error]", T = "[object Function]", A = "[object GeneratorFunction]", j = "[object Map]", z = "[object Number]", B = "[object Object]", q = "[object RegExp]", D = "[object Set]", $ = "[object String]", H = "[object Symbol]", M = "[object WeakMap]", L = "[object ArrayBuffer]", V = "[object DataView]", U = "[object Float32Array]", K = "[object Float64Array]", W = "[object Int8Array]", J = "[object Int16Array]", Q = "[object Int32Array]", oe = "[object Uint8Array]", G = "[object Uint8ClampedArray]", ae = "[object Uint16Array]", ee = "[object Uint32Array]", de = {};
38236
- de[C] = de[O] = de[L] = de[V] = de[N] = de[P] = de[U] = de[K] = de[W] = de[J] = de[Q] = de[j] = de[z] = de[B] = de[q] = de[D] = de[$] = de[H] = de[oe] = de[G] = de[ae] = de[ee] = !0, de[I] = de[T] = de[M] = !1;
38235
+ var e = MS(), t = swe(), n = y6(), r = cwe(), o = fwe(), i = hwe(), a = pwe(), s = gwe(), l = mwe(), c = d6(), u = vwe(), d = qh(), f = ywe(), h = _we(), p = Ewe(), g = eo(), m = CS(), v = Owe(), y = Qs(), w = Twe(), b = cu(), _ = DS(), E = 1, k = 2, S = 4, C = "[object Arguments]", O = "[object Array]", N = "[object Boolean]", A = "[object Date]", I = "[object Error]", T = "[object Function]", j = "[object GeneratorFunction]", P = "[object Map]", z = "[object Number]", F = "[object Object]", q = "[object RegExp]", D = "[object Set]", $ = "[object String]", H = "[object Symbol]", M = "[object WeakMap]", L = "[object ArrayBuffer]", V = "[object DataView]", U = "[object Float32Array]", K = "[object Float64Array]", W = "[object Int8Array]", J = "[object Int16Array]", Q = "[object Int32Array]", oe = "[object Uint8Array]", G = "[object Uint8ClampedArray]", ae = "[object Uint16Array]", ee = "[object Uint32Array]", de = {};
38236
+ de[C] = de[O] = de[L] = de[V] = de[N] = de[A] = de[U] = de[K] = de[W] = de[J] = de[Q] = de[P] = de[z] = de[F] = de[q] = de[D] = de[$] = de[H] = de[oe] = de[G] = de[ae] = de[ee] = !0, de[I] = de[T] = de[M] = !1;
38237
38237
  function Oe(Ee, Lt, ft, yt, He, Ne) {
38238
38238
  var je, qt = Lt & E, Rt = Lt & k, Rn = Lt & S;
38239
38239
  if (ft && (je = He ? ft(Ee, yt, He, Ne) : ft(Ee)), je !== void 0)
@@ -38245,10 +38245,10 @@ function Rwe() {
38245
38245
  if (je = f(Ee), !qt)
38246
38246
  return a(Ee, je);
38247
38247
  } else {
38248
- var Xt = d(Ee), sn = Xt == T || Xt == A;
38248
+ var Xt = d(Ee), sn = Xt == T || Xt == j;
38249
38249
  if (m(Ee))
38250
38250
  return i(Ee, qt);
38251
- if (Xt == B || Xt == C || sn && !He) {
38251
+ if (Xt == F || Xt == C || sn && !He) {
38252
38252
  if (je = Rt || sn ? {} : p(Ee), !qt)
38253
38253
  return Rt ? l(Ee, o(je, Ee)) : s(Ee, r(je, Ee));
38254
38254
  } else {
@@ -39211,9 +39211,9 @@ function sSe() {
39211
39211
  }
39212
39212
  }
39213
39213
  }
39214
- var _ = l, E = c, k = s, S = a, C = t, O = u, N = r, P = p, I = h, T = n, A = i, j = o, z = d, B = !1;
39214
+ var _ = l, E = c, k = s, S = a, C = t, O = u, N = r, A = p, I = h, T = n, j = i, P = o, z = d, F = !1;
39215
39215
  function q(G) {
39216
- return B || (B = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), D(G) || b(G) === l;
39216
+ return F || (F = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), D(G) || b(G) === l;
39217
39217
  }
39218
39218
  function D(G) {
39219
39219
  return b(G) === c;
@@ -39251,7 +39251,7 @@ function sSe() {
39251
39251
  function oe(G) {
39252
39252
  return b(G) === d;
39253
39253
  }
39254
- Je.AsyncMode = _, Je.ConcurrentMode = E, Je.ContextConsumer = k, Je.ContextProvider = S, Je.Element = C, Je.ForwardRef = O, Je.Fragment = N, Je.Lazy = P, Je.Memo = I, Je.Portal = T, Je.Profiler = A, Je.StrictMode = j, Je.Suspense = z, Je.isAsyncMode = q, Je.isConcurrentMode = D, Je.isContextConsumer = $, Je.isContextProvider = H, Je.isElement = M, Je.isForwardRef = L, Je.isFragment = V, Je.isLazy = U, Je.isMemo = K, Je.isPortal = W, Je.isProfiler = J, Je.isStrictMode = Q, Je.isSuspense = oe, Je.isValidElementType = w, Je.typeOf = b;
39254
+ Je.AsyncMode = _, Je.ConcurrentMode = E, Je.ContextConsumer = k, Je.ContextProvider = S, Je.Element = C, Je.ForwardRef = O, Je.Fragment = N, Je.Lazy = A, Je.Memo = I, Je.Portal = T, Je.Profiler = j, Je.StrictMode = P, Je.Suspense = z, Je.isAsyncMode = q, Je.isConcurrentMode = D, Je.isContextConsumer = $, Je.isContextProvider = H, Je.isElement = M, Je.isForwardRef = L, Je.isFragment = V, Je.isLazy = U, Je.isMemo = K, Je.isPortal = W, Je.isProfiler = J, Je.isStrictMode = Q, Je.isSuspense = oe, Je.isValidElementType = w, Je.typeOf = b;
39255
39255
  }(), Je;
39256
39256
  }
39257
39257
  var sP;
@@ -39411,7 +39411,7 @@ function uSe() {
39411
39411
  objectOf: S,
39412
39412
  oneOf: k,
39413
39413
  oneOfType: C,
39414
- shape: P,
39414
+ shape: A,
39415
39415
  exact: I
39416
39416
  };
39417
39417
  function p(D, $) {
@@ -39446,7 +39446,7 @@ function uSe() {
39446
39446
  }
39447
39447
  function v(D) {
39448
39448
  function $(H, M, L, V, U, K) {
39449
- var W = H[M], J = j(W);
39449
+ var W = H[M], J = P(W);
39450
39450
  if (J !== D) {
39451
39451
  var Q = z(W);
39452
39452
  return new g(
@@ -39467,7 +39467,7 @@ function uSe() {
39467
39467
  return new g("Property `" + U + "` of component `" + L + "` has invalid PropType notation inside arrayOf.");
39468
39468
  var K = H[M];
39469
39469
  if (!Array.isArray(K)) {
39470
- var W = j(K);
39470
+ var W = P(K);
39471
39471
  return new g("Invalid " + V + " `" + U + "` of type " + ("`" + W + "` supplied to `" + L + "`, expected an array."));
39472
39472
  }
39473
39473
  for (var J = 0; J < K.length; J++) {
@@ -39483,7 +39483,7 @@ function uSe() {
39483
39483
  function D($, H, M, L, V) {
39484
39484
  var U = $[H];
39485
39485
  if (!s(U)) {
39486
- var K = j(U);
39486
+ var K = P(U);
39487
39487
  return new g("Invalid " + L + " `" + V + "` of type " + ("`" + K + "` supplied to `" + M + "`, expected a single ReactElement."));
39488
39488
  }
39489
39489
  return null;
@@ -39494,7 +39494,7 @@ function uSe() {
39494
39494
  function D($, H, M, L, V) {
39495
39495
  var U = $[H];
39496
39496
  if (!e.isValidElementType(U)) {
39497
- var K = j(U);
39497
+ var K = P(U);
39498
39498
  return new g("Invalid " + L + " `" + V + "` of type " + ("`" + K + "` supplied to `" + M + "`, expected a single ReactElement type."));
39499
39499
  }
39500
39500
  return null;
@@ -39532,7 +39532,7 @@ function uSe() {
39532
39532
  function $(H, M, L, V, U) {
39533
39533
  if (typeof D != "function")
39534
39534
  return new g("Property `" + U + "` of component `" + L + "` has invalid PropType notation inside objectOf.");
39535
- var K = H[M], W = j(K);
39535
+ var K = H[M], W = P(K);
39536
39536
  if (W !== "object")
39537
39537
  return new g("Invalid " + V + " `" + U + "` of type " + ("`" + W + "` supplied to `" + L + "`, expected an object."));
39538
39538
  for (var J in K)
@@ -39552,7 +39552,7 @@ function uSe() {
39552
39552
  var H = D[$];
39553
39553
  if (typeof H != "function")
39554
39554
  return i(
39555
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + B(H) + " at index " + $ + "."
39555
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + F(H) + " at index " + $ + "."
39556
39556
  ), a;
39557
39557
  }
39558
39558
  function M(L, V, U, K, W) {
@@ -39578,9 +39578,9 @@ function uSe() {
39578
39578
  (D || "React class") + ": " + $ + " type `" + H + "." + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + L + "`."
39579
39579
  );
39580
39580
  }
39581
- function P(D) {
39581
+ function A(D) {
39582
39582
  function $(H, M, L, V, U) {
39583
- var K = H[M], W = j(K);
39583
+ var K = H[M], W = P(K);
39584
39584
  if (W !== "object")
39585
39585
  return new g("Invalid " + V + " `" + U + "` of type `" + W + "` " + ("supplied to `" + L + "`, expected `object`."));
39586
39586
  for (var J in D) {
@@ -39597,7 +39597,7 @@ function uSe() {
39597
39597
  }
39598
39598
  function I(D) {
39599
39599
  function $(H, M, L, V, U) {
39600
- var K = H[M], W = j(K);
39600
+ var K = H[M], W = P(K);
39601
39601
  if (W !== "object")
39602
39602
  return new g("Invalid " + V + " `" + U + "` of type `" + W + "` " + ("supplied to `" + L + "`, expected `object`."));
39603
39603
  var J = t({}, H[M], D);
@@ -39651,17 +39651,17 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
39651
39651
  return !1;
39652
39652
  }
39653
39653
  }
39654
- function A(D, $) {
39654
+ function j(D, $) {
39655
39655
  return D === "symbol" ? !0 : $ ? $["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && $ instanceof Symbol : !1;
39656
39656
  }
39657
- function j(D) {
39657
+ function P(D) {
39658
39658
  var $ = typeof D;
39659
- return Array.isArray(D) ? "array" : D instanceof RegExp ? "object" : A($, D) ? "symbol" : $;
39659
+ return Array.isArray(D) ? "array" : D instanceof RegExp ? "object" : j($, D) ? "symbol" : $;
39660
39660
  }
39661
39661
  function z(D) {
39662
39662
  if (typeof D > "u" || D === null)
39663
39663
  return "" + D;
39664
- var $ = j(D);
39664
+ var $ = P(D);
39665
39665
  if ($ === "object") {
39666
39666
  if (D instanceof Date)
39667
39667
  return "date";
@@ -39670,7 +39670,7 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
39670
39670
  }
39671
39671
  return $;
39672
39672
  }
39673
- function B(D) {
39673
+ function F(D) {
39674
39674
  var $ = z(D);
39675
39675
  switch ($) {
39676
39676
  case "array":
@@ -44505,31 +44505,31 @@ const _i = {
44505
44505
  );
44506
44506
  }), /* @__PURE__ */ x.jsx(c, { ...i });
44507
44507
  }, o_ = ({ setters: e, keyPaths: t, condition: n, useField: r = !0, ...o }) => {
44508
- var I, T;
44509
- const [i, a] = re(!0), { customSetterMap: s } = it(Rh), { onSetterChange: l, defaultSetterConfig: c, formRef: u, pluginCtx: d } = it(pa), f = {
44508
+ var T, j;
44509
+ const [i, a] = re(!0), { customSetterMap: s } = it(Rh), { onSetterChange: l, defaultSetterConfig: c, formRef: u, pluginCtx: d, nodeId: f } = it(pa), h = {
44510
44510
  ..._i,
44511
44511
  ...s
44512
- }, [h, p] = re(() => {
44513
- var z;
44514
- const A = ((z = c[t.join(".")]) == null ? void 0 : z.setter) || "";
44515
- return e.find((B) => B.componentName === A) || e[0];
44516
- }), g = e.map((A) => {
44517
- const j = (A == null ? void 0 : A.componentName) || "", z = f[j];
44512
+ }, [p, g] = re(() => {
44513
+ var F;
44514
+ const P = ((F = c[t.join(".")]) == null ? void 0 : F.setter) || "";
44515
+ return e.find((q) => q.componentName === P) || e[0];
44516
+ }), m = e.map((P) => {
44517
+ const z = (P == null ? void 0 : P.componentName) || "", F = h[z];
44518
44518
  return {
44519
- key: A.componentName,
44520
- label: (z == null ? void 0 : z.setterName) || A.componentName
44519
+ key: P.componentName,
44520
+ label: (F == null ? void 0 : F.setterName) || P.componentName
44521
44521
  };
44522
- }), m = le(() => {
44523
- const A = ({ key: j }) => {
44524
- const z = e.find((B) => B.componentName === j);
44525
- z && (p(z), l == null || l(t, z.componentName));
44522
+ }), v = le(() => {
44523
+ const P = ({ key: z }) => {
44524
+ const F = e.find((q) => q.componentName === z);
44525
+ F && (g(F), l == null || l(t, F.componentName));
44526
44526
  };
44527
- return g.length === 1 ? null : /* @__PURE__ */ x.jsx(
44527
+ return m.length === 1 ? null : /* @__PURE__ */ x.jsx(
44528
44528
  "div",
44529
44529
  {
44530
44530
  className: Py.switchBtn,
44531
- onClick: (j) => {
44532
- j.preventDefault(), j.stopPropagation();
44531
+ onClick: (z) => {
44532
+ z.preventDefault(), z.stopPropagation();
44533
44533
  },
44534
44534
  children: /* @__PURE__ */ x.jsx(
44535
44535
  k1,
@@ -44537,47 +44537,48 @@ const _i = {
44537
44537
  trigger: ["click"],
44538
44538
  menu: {
44539
44539
  selectable: !0,
44540
- items: g,
44541
- onClick: A,
44542
- defaultSelectedKeys: [(h == null ? void 0 : h.componentName) || ""]
44540
+ items: m,
44541
+ onClick: P,
44542
+ defaultSelectedKeys: [(p == null ? void 0 : p.componentName) || ""]
44543
44543
  },
44544
44544
  children: /* @__PURE__ */ x.jsx(D1, {})
44545
44545
  }
44546
44546
  )
44547
44547
  }
44548
44548
  );
44549
- }, [g, h == null ? void 0 : h.componentName, e, l, t]), v = le(() => {
44550
- let A = {
44551
- ...(h == null ? void 0 : h.props) || {},
44552
- initialValue: h == null ? void 0 : h.initialValue
44549
+ }, [m, p == null ? void 0 : p.componentName, e, l, t]), y = le(() => {
44550
+ let P = {
44551
+ ...(p == null ? void 0 : p.props) || {},
44552
+ initialValue: p == null ? void 0 : p.initialValue
44553
44553
  };
44554
- const j = e.find((z) => z.componentName === (h == null ? void 0 : h.componentName));
44555
- return j && (A = {
44556
- ...A,
44557
- ...j.props
44558
- }), A;
44559
- }, [e, h]), [y, w] = re([]);
44560
- let b = null;
44561
- const _ = (h == null ? void 0 : h.hiddenLabel) === !0, E = h == null ? void 0 : h.labelWidth, k = (h == null ? void 0 : h.labelAlign) || "center", S = (I = h == null ? void 0 : h.props) == null ? void 0 : I.collapse, C = ["ArraySetter", "ShapeSetter"].includes(h == null ? void 0 : h.componentName), O = le(
44554
+ const z = e.find((F) => F.componentName === (p == null ? void 0 : p.componentName));
44555
+ return z && (P = {
44556
+ ...P,
44557
+ ...z.props
44558
+ }), P;
44559
+ }, [e, p]), [w, b] = re([]);
44560
+ let _ = null;
44561
+ const E = (p == null ? void 0 : p.hiddenLabel) === !0, k = p == null ? void 0 : p.labelWidth, S = (p == null ? void 0 : p.labelAlign) || "center", C = (T = p == null ? void 0 : p.props) == null ? void 0 : T.collapse, O = ["ArraySetter", "ShapeSetter"].includes(p == null ? void 0 : p.componentName), N = le(
44562
44562
  () => ({
44563
44563
  formRef: u,
44564
44564
  pluginCtx: d,
44565
44565
  keyPaths: [...t],
44566
44566
  label: o.label,
44567
- setCollapseHeaderExt: C ? w : void 0
44567
+ setCollapseHeaderExt: O ? b : void 0,
44568
+ nodeModel: d == null ? void 0 : d.pageModel.getNode(f)
44568
44569
  }),
44569
- [u, t, d, o.label, C]
44570
- ), N = le(() => {
44571
- const A = {
44570
+ [u, t, f, d, o.label, O]
44571
+ ), A = le(() => {
44572
+ const P = {
44572
44573
  ...o.customSetterMap || {}
44573
- }, j = {
44574
- labelWidth: E,
44575
- labelAlign: k,
44576
- hiddenLabel: _,
44574
+ }, z = {
44575
+ labelWidth: k,
44576
+ labelAlign: S,
44577
+ hiddenLabel: E,
44577
44578
  condition: n,
44578
- noStyle: !!C,
44579
- onConditionValueChange: (z) => {
44580
- a(z);
44579
+ noStyle: !!O,
44580
+ onConditionValueChange: (F) => {
44581
+ a(F);
44581
44582
  }
44582
44583
  };
44583
44584
  return r === !1 ? /* @__PURE__ */ x.jsx(
@@ -44585,78 +44586,78 @@ const _i = {
44585
44586
  {
44586
44587
  setters: e,
44587
44588
  keyPaths: t,
44588
- currentSetter: h,
44589
- setCurrentSetter: p,
44589
+ currentSetter: p,
44590
+ setCurrentSetter: g,
44590
44591
  ...o,
44591
- ...v,
44592
- customSetterMap: A,
44593
- setterContext: O
44592
+ ...y,
44593
+ customSetterMap: P,
44594
+ setterContext: N
44594
44595
  }
44595
- ) : /* @__PURE__ */ x.jsx($r, { ...j, ...o, children: /* @__PURE__ */ x.jsx(
44596
+ ) : /* @__PURE__ */ x.jsx($r, { ...z, ...o, children: /* @__PURE__ */ x.jsx(
44596
44597
  jx,
44597
44598
  {
44598
44599
  setters: e,
44599
44600
  keyPaths: t,
44600
- currentSetter: h,
44601
- setCurrentSetter: p,
44602
- ...v,
44603
- customSetterMap: A,
44604
- setterContext: O
44601
+ currentSetter: p,
44602
+ setCurrentSetter: g,
44603
+ ...y,
44604
+ customSetterMap: P,
44605
+ setterContext: N
44605
44606
  }
44606
44607
  ) });
44607
44608
  }, [
44608
44609
  n,
44609
- h,
44610
- _,
44610
+ p,
44611
+ E,
44611
44612
  t,
44613
+ S,
44612
44614
  k,
44613
- E,
44614
44615
  o,
44615
- O,
44616
- v,
44616
+ N,
44617
+ y,
44617
44618
  e,
44618
- C,
44619
+ O,
44619
44620
  r
44620
- ]), P = le(
44621
+ ]), I = le(
44621
44622
  function() {
44622
- const j = typeof S == "object" ? S : {};
44623
- return (B) => /* @__PURE__ */ x.jsx(
44623
+ const z = typeof C == "object" ? C : {};
44624
+ return (q) => /* @__PURE__ */ x.jsx(
44624
44625
  zc,
44625
44626
  {
44626
44627
  bordered: !1,
44627
- ...j,
44628
+ ...z,
44628
44629
  style: {
44629
44630
  marginBottom: "10px",
44630
44631
  flex: 1
44631
44632
  },
44632
- defaultActiveKey: [j.open ? o.name : ""],
44633
+ defaultActiveKey: [z.open ? o.name : ""],
44633
44634
  items: [
44634
44635
  {
44635
44636
  key: o.name,
44636
44637
  label: /* @__PURE__ */ x.jsxs("div", { className: Py.collapseHeader, children: [
44637
44638
  /* @__PURE__ */ x.jsx("span", { style: { flex: 1 }, children: o.label }),
44638
- B,
44639
- m
44639
+ q,
44640
+ v
44640
44641
  ] }),
44641
- children: N
44642
+ children: A
44642
44643
  }
44643
44644
  ]
44644
44645
  }
44645
44646
  );
44646
44647
  },
44647
- [S, o.name, o.label, m, N]
44648
+ [C, o.name, o.label, v, A]
44648
44649
  );
44649
- return ["ArraySetter"].includes((h == null ? void 0 : h.componentName) || "") ? b = P(y) : ["ShapeSetter"].includes((h == null ? void 0 : h.componentName) || "") ? b = /* @__PURE__ */ x.jsxs("div", { className: Py.shapeFieldBox, children: [
44650
+ return ["ArraySetter"].includes((p == null ? void 0 : p.componentName) || "") ? _ = I(w) : ["ShapeSetter"].includes((p == null ? void 0 : p.componentName) || "") ? _ = /* @__PURE__ */ x.jsxs("div", { className: Py.shapeFieldBox, children: [
44650
44651
  o.prefix ?? null,
44651
- ((T = h == null ? void 0 : h.props) == null ? void 0 : T.collapse) === !1 && /* @__PURE__ */ x.jsx("div", { style: { width: "100%" }, children: N }),
44652
- S !== !1 && P(),
44652
+ ((j = p == null ? void 0 : p.props) == null ? void 0 : j.collapse) === !1 && /* @__PURE__ */ x.jsx("div", { style: { width: "100%" }, children: A }),
44653
+ C !== !1 && I(),
44653
44654
  o.suffix ?? null
44654
- ] }) : b = /* @__PURE__ */ x.jsxs("div", { style: { display: "flex", alignItems: k, paddingBottom: "8px" }, children: [
44655
+ ] }) : _ = /* @__PURE__ */ x.jsxs("div", { style: { display: "flex", alignItems: S, paddingBottom: "8px" }, children: [
44655
44656
  o.prefix ?? null,
44656
- N,
44657
- m,
44657
+ A,
44658
+ v,
44658
44659
  o.suffix ?? null
44659
- ] }), /* @__PURE__ */ x.jsx("div", { style: { display: i ? "block" : "none", overflow: "auto" }, children: b });
44660
+ ] }), /* @__PURE__ */ x.jsx("div", { style: { display: i ? "block" : "none", overflow: "auto" }, children: _ });
44660
44661
  }, tCe = "_CFromRenderBox_13lda_2", nCe = {
44661
44662
  CFromRenderBox: tCe
44662
44663
  }, rCe = (e, t) => {
@@ -44678,7 +44679,8 @@ const _i = {
44678
44679
  customSetterMap: l,
44679
44680
  onSetterChange: i,
44680
44681
  formRef: t,
44681
- pluginCtx: s
44682
+ pluginCtx: s,
44683
+ nodeId: e.nodeId
44682
44684
  },
44683
44685
  children: /* @__PURE__ */ x.jsx(
44684
44686
  $t,
@@ -45587,14 +45589,14 @@ const kf = "args.", wCe = (e, t) => {
45587
45589
  }
45588
45590
  ) })
45589
45591
  })), [u == null ? void 0 : u.method, u]), y = (b, _) => {
45590
- var N, P;
45592
+ var N, A;
45591
45593
  const E = s.getNode(String(t.id));
45592
45594
  if (!E) return;
45593
45595
  let k = 0;
45594
45596
  _ !== ur && (k = (((N = E.measured) == null ? void 0 : N.width) ?? 0) + 150);
45595
45597
  const S = {
45596
45598
  x: E.position.x + k,
45597
- y: E.position.y + (((P = E.measured) == null ? void 0 : P.height) ?? 0) + 150
45599
+ y: E.position.y + (((A = E.measured) == null ? void 0 : A.height) ?? 0) + 150
45598
45600
  }, C = {
45599
45601
  id: b.id,
45600
45602
  type: b.type,
@@ -46128,6 +46130,7 @@ const DCe = {
46128
46130
  Yh,
46129
46131
  {
46130
46132
  pluginCtx: e.pluginCtx,
46133
+ nodeId: t == null ? void 0 : t.id,
46131
46134
  defaultSetterConfig: (t == null ? void 0 : t.value.configure.propsSetter) || {},
46132
46135
  onSetterChange: a,
46133
46136
  properties: n,
@@ -46334,9 +46337,9 @@ const DCe = {
46334
46337
  ], F6 = (e) => {
46335
46338
  var s, l, c, u, d, f, h, p, g, m;
46336
46339
  const { node: t } = e, n = le(() => {
46337
- var b, _, E, k, S, C, O, N, P;
46340
+ var b, _, E, k, S, C, O, N, A;
46338
46341
  let v = qCe;
46339
- return !!((k = (E = (_ = (b = t == null ? void 0 : t.material) == null ? void 0 : b.value.advanceCustom) == null ? void 0 : _.rightPanel) == null ? void 0 : E.advanceOptions) != null && k.loop) || !((S = t == null ? void 0 : t.material) != null && S.value.isContainer) || (v = v.filter((I) => (I == null ? void 0 : I.name) !== "loop")), !!((P = (N = (O = (C = t == null ? void 0 : t.material) == null ? void 0 : C.value.advanceCustom) == null ? void 0 : O.rightPanel) == null ? void 0 : N.advanceOptions) != null && P.render) || (v = v.filter((I) => (I == null ? void 0 : I.name) !== "condition")), v;
46342
+ return !!((k = (E = (_ = (b = t == null ? void 0 : t.material) == null ? void 0 : b.value.advanceCustom) == null ? void 0 : _.rightPanel) == null ? void 0 : E.advanceOptions) != null && k.loop) || !((S = t == null ? void 0 : t.material) != null && S.value.isContainer) || (v = v.filter((I) => (I == null ? void 0 : I.name) !== "loop")), !!((A = (N = (O = (C = t == null ? void 0 : t.material) == null ? void 0 : C.value.advanceCustom) == null ? void 0 : O.rightPanel) == null ? void 0 : N.advanceOptions) != null && A.render) || (v = v.filter((I) => (I == null ? void 0 : I.name) !== "condition")), v;
46340
46343
  }, [
46341
46344
  (u = (c = (l = (s = t == null ? void 0 : t.material) == null ? void 0 : s.value.advanceCustom) == null ? void 0 : l.rightPanel) == null ? void 0 : c.advanceOptions) == null ? void 0 : u.loop,
46342
46345
  (p = (h = (f = (d = t == null ? void 0 : t.material) == null ? void 0 : d.value.advanceCustom) == null ? void 0 : f.rightPanel) == null ? void 0 : h.advanceOptions) == null ? void 0 : p.render,
@@ -48727,14 +48730,14 @@ var wke = function e(t) {
48727
48730
  if (dt(S) === "object" && S && (k !== "animationName" || !S._keyframe) && !xke(S)) {
48728
48731
  var C = !1, O = k.trim(), N = !1;
48729
48732
  (o || i) && s ? O.startsWith("@") ? C = !0 : O === "&" ? O = GP("", s, u) : O = GP(k, s, u) : o && !s && (O === "&" || O === "") && (O = "", N = !0);
48730
- var P = e(S, n, {
48733
+ var A = e(S, n, {
48731
48734
  root: N,
48732
48735
  injectHash: C,
48733
48736
  parentSelectors: [].concat(Bo(a), [O])
48734
- }), I = Me(P, 2), T = I[0], A = I[1];
48735
- m = be(be({}, m), A), g += "".concat(O).concat(T);
48737
+ }), I = Me(A, 2), T = I[0], j = I[1];
48738
+ m = be(be({}, m), j), g += "".concat(O).concat(T);
48736
48739
  } else {
48737
- let B = function(q, D) {
48740
+ let F = function(q, D) {
48738
48741
  "{}".NODE_ENV !== "production" && (dt(S) !== "object" || !(S != null && S[f8])) && [gke, mke].concat(Bo(p)).forEach(function(M) {
48739
48742
  return M(q, D, {
48740
48743
  path: c,
@@ -48747,10 +48750,10 @@ var wke = function e(t) {
48747
48750
  }), H = D;
48748
48751
  !QEe[q] && typeof H == "number" && H !== 0 && (H = "".concat(H, "px")), q === "animationName" && D !== null && D !== void 0 && D._keyframe && (v(D), H = D.getName(s)), g += "".concat($, ":").concat(H, ";");
48749
48752
  };
48750
- var j, z = (j = S == null ? void 0 : S.value) !== null && j !== void 0 ? j : S;
48753
+ var P, z = (P = S == null ? void 0 : S.value) !== null && P !== void 0 ? P : S;
48751
48754
  dt(S) === "object" && S !== null && S !== void 0 && S[h8] && Array.isArray(z) ? z.forEach(function(q) {
48752
- B(k, q);
48753
- }) : B(k, z);
48755
+ F(k, q);
48756
+ }) : F(k, z);
48754
48757
  }
48755
48758
  });
48756
48759
  }
@@ -48778,11 +48781,11 @@ function Gx(e, t) {
48778
48781
  function() {
48779
48782
  var I = E.join("|");
48780
48783
  if (yke(I)) {
48781
- var T = bke(I), A = Me(T, 2), j = A[0], z = A[1];
48782
- if (j)
48783
- return [j, _, z, {}, s, c];
48784
+ var T = bke(I), j = Me(T, 2), P = j[0], z = j[1];
48785
+ if (P)
48786
+ return [P, _, z, {}, s, c];
48784
48787
  }
48785
- var B = t(), q = wke(B, {
48788
+ var F = t(), q = wke(F, {
48786
48789
  hashId: o,
48787
48790
  hashPriority: p,
48788
48791
  layer: b ? i : void 0,
@@ -48794,48 +48797,48 @@ function Gx(e, t) {
48794
48797
  },
48795
48798
  // Remove cache if no need
48796
48799
  function(I, T) {
48797
- var A = Me(I, 3), j = A[2];
48798
- (T || d) && Hx && Y6(j, {
48800
+ var j = Me(I, 3), P = j[2];
48801
+ (T || d) && Hx && Y6(P, {
48799
48802
  mark: Vr
48800
48803
  });
48801
48804
  },
48802
48805
  // Effect: Inject style here
48803
48806
  function(I) {
48804
- var T = Me(I, 4), A = T[0];
48807
+ var T = Me(I, 4), j = T[0];
48805
48808
  T[1];
48806
- var j = T[2], z = T[3];
48807
- if (k && A !== u8) {
48808
- var B = {
48809
+ var P = T[2], z = T[3];
48810
+ if (k && j !== u8) {
48811
+ var F = {
48809
48812
  mark: Vr,
48810
48813
  prepend: b ? !1 : "queue",
48811
48814
  attachTo: g,
48812
48815
  priority: c
48813
48816
  }, q = typeof a == "function" ? a() : a;
48814
- q && (B.csp = {
48817
+ q && (F.csp = {
48815
48818
  nonce: q
48816
48819
  });
48817
48820
  var D = [], $ = [];
48818
48821
  Object.keys(z).forEach(function(M) {
48819
48822
  M.startsWith("@layer") ? D.push(M) : $.push(M);
48820
48823
  }), D.forEach(function(M) {
48821
- ds(Ld(z[M]), "_layer-".concat(M), be(be({}, B), {}, {
48824
+ ds(Ld(z[M]), "_layer-".concat(M), be(be({}, F), {}, {
48822
48825
  prepend: !0
48823
48826
  }));
48824
48827
  });
48825
- var H = ds(A, j, B);
48828
+ var H = ds(j, P, F);
48826
48829
  H[pi] = w.instanceId, H.setAttribute(Rs, _), "{}".NODE_ENV !== "production" && H.setAttribute(_Ee, E.join("|")), $.forEach(function(M) {
48827
- ds(Ld(z[M]), "_effect-".concat(M), B);
48830
+ ds(Ld(z[M]), "_effect-".concat(M), F);
48828
48831
  });
48829
48832
  }
48830
48833
  }
48831
- ), C = Me(S, 3), O = C[0], N = C[1], P = C[2];
48834
+ ), C = Me(S, 3), O = C[0], N = C[1], A = C[2];
48832
48835
  return function(I) {
48833
48836
  var T;
48834
48837
  if (!m || k || !h)
48835
48838
  T = /* @__PURE__ */ X.createElement(Ske, null);
48836
48839
  else {
48837
- var A;
48838
- T = /* @__PURE__ */ X.createElement("style", Rf({}, (A = {}, xe(A, Rs, N), xe(A, Vr, P), A), {
48840
+ var j;
48841
+ T = /* @__PURE__ */ X.createElement("style", Rf({}, (j = {}, xe(j, Rs, N), xe(j, Vr, A), j), {
48839
48842
  dangerouslySetInnerHTML: {
48840
48843
  __html: O
48841
48844
  }
@@ -50326,27 +50329,27 @@ function _2e(e) {
50326
50329
  prefixToken: v
50327
50330
  }), E = u(f, h, p, _), k = c(m, p, _);
50328
50331
  return function(S) {
50329
- var C = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : S, O = E(S, C), N = Me(O, 2), P = N[1], I = k(C), T = Me(I, 2), A = T[0], j = T[1];
50330
- return [A, P, j];
50332
+ var C = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : S, O = E(S, C), N = Me(O, 2), A = N[1], I = k(C), T = Me(I, 2), j = T[0], P = T[1];
50333
+ return [j, A, P];
50331
50334
  };
50332
50335
  }
50333
50336
  function c(f, h, p) {
50334
50337
  var g = p.unitless, m = p.injectStyle, v = m === void 0 ? !0 : m, y = p.prefixToken, w = p.ignore, b = function(k) {
50335
- var S = k.rootCls, C = k.cssVar, O = C === void 0 ? {} : C, N = r(), P = N.realToken;
50338
+ var S = k.rootCls, C = k.cssVar, O = C === void 0 ? {} : C, N = r(), A = N.realToken;
50336
50339
  return Cke({
50337
50340
  path: [f],
50338
50341
  prefix: O.prefix,
50339
50342
  key: O.key,
50340
50343
  unitless: g,
50341
50344
  ignore: w,
50342
- token: P,
50345
+ token: A,
50343
50346
  scope: S
50344
50347
  }, function() {
50345
- var I = ij(f, P, h), T = rj(f, P, I, {
50348
+ var I = ij(f, A, h), T = rj(f, A, I, {
50346
50349
  deprecatedTokens: p == null ? void 0 : p.deprecatedTokens
50347
50350
  });
50348
- return Object.keys(I).forEach(function(A) {
50349
- T[y(A)] = T[A], delete T[A];
50351
+ return Object.keys(I).forEach(function(j) {
50352
+ T[y(j)] = T[j], delete T[j];
50350
50353
  }), T;
50351
50354
  }), null;
50352
50355
  }, _ = function(k) {
@@ -50366,17 +50369,17 @@ function _2e(e) {
50366
50369
  name: "antd"
50367
50370
  };
50368
50371
  return function(_) {
50369
- var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _, k = r(), S = k.theme, C = k.realToken, O = k.hashId, N = k.token, P = k.cssVar, I = o(), T = I.rootPrefixCls, A = I.iconPrefixCls, j = n(), z = P ? "css" : "js", B = w2e(function() {
50372
+ var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _, k = r(), S = k.theme, C = k.realToken, O = k.hashId, N = k.token, A = k.cssVar, I = o(), T = I.rootPrefixCls, j = I.iconPrefixCls, P = n(), z = A ? "css" : "js", F = w2e(function() {
50370
50373
  var L = /* @__PURE__ */ new Set();
50371
- return P && Object.keys(g.unitless || {}).forEach(function(V) {
50372
- L.add(jd(V, P.prefix)), L.add(jd(V, nj(y, P.prefix)));
50374
+ return A && Object.keys(g.unitless || {}).forEach(function(V) {
50375
+ L.add(jd(V, A.prefix)), L.add(jd(V, nj(y, A.prefix)));
50373
50376
  }), l2e(z, L);
50374
- }, [z, y, P == null ? void 0 : P.prefix]), q = y2e(z), D = q.max, $ = q.min, H = {
50377
+ }, [z, y, A == null ? void 0 : A.prefix]), q = y2e(z), D = q.max, $ = q.min, H = {
50375
50378
  theme: S,
50376
50379
  token: N,
50377
50380
  hashId: O,
50378
50381
  nonce: function() {
50379
- return j.nonce;
50382
+ return P.nonce;
50380
50383
  },
50381
50384
  clientOnly: g.clientOnly,
50382
50385
  layer: b,
@@ -50390,37 +50393,37 @@ function _2e(e) {
50390
50393
  return i(N, {
50391
50394
  prefix: {
50392
50395
  rootPrefixCls: T,
50393
- iconPrefixCls: A
50396
+ iconPrefixCls: j
50394
50397
  },
50395
- csp: j
50398
+ csp: P
50396
50399
  });
50397
50400
  });
50398
50401
  var M = Gx(be(be({}, H), {}, {
50399
- path: [w, _, A]
50402
+ path: [w, _, j]
50400
50403
  }), function() {
50401
50404
  if (g.injectStyle === !1)
50402
50405
  return [];
50403
50406
  var L = v2e(N), V = L.token, U = L.flush, K = ij(y, C, p), W = ".".concat(_), J = rj(y, C, K, {
50404
50407
  deprecatedTokens: g.deprecatedTokens
50405
50408
  });
50406
- P && K && dt(K) === "object" && Object.keys(K).forEach(function(ae) {
50407
- K[ae] = "var(".concat(jd(ae, nj(y, P.prefix)), ")");
50409
+ A && K && dt(K) === "object" && Object.keys(K).forEach(function(ae) {
50410
+ K[ae] = "var(".concat(jd(ae, nj(y, A.prefix)), ")");
50408
50411
  });
50409
50412
  var Q = m_(V, {
50410
50413
  componentCls: W,
50411
50414
  prefixCls: _,
50412
- iconCls: ".".concat(A),
50415
+ iconCls: ".".concat(j),
50413
50416
  antCls: ".".concat(T),
50414
- calc: B,
50417
+ calc: F,
50415
50418
  // @ts-ignore
50416
50419
  max: D,
50417
50420
  // @ts-ignore
50418
50421
  min: $
50419
- }, P ? K : J), oe = h(Q, {
50422
+ }, A ? K : J), oe = h(Q, {
50420
50423
  hashId: O,
50421
50424
  prefixCls: _,
50422
50425
  rootPrefixCls: T,
50423
- iconPrefixCls: A
50426
+ iconPrefixCls: j
50424
50427
  });
50425
50428
  U(y, J);
50426
50429
  var G = typeof a == "function" ? a(Q, _, E, g.resetFont) : null;
@@ -51091,16 +51094,16 @@ const Q2e = function(e, t, n) {
51091
51094
  }, []), [d, i];
51092
51095
  };
51093
51096
  function Z2e(e, t, n, r) {
51094
- var o = r.motionEnter, i = o === void 0 ? !0 : o, a = r.motionAppear, s = a === void 0 ? !0 : a, l = r.motionLeave, c = l === void 0 ? !0 : l, u = r.motionDeadline, d = r.motionLeaveImmediately, f = r.onAppearPrepare, h = r.onEnterPrepare, p = r.onLeavePrepare, g = r.onAppearStart, m = r.onEnterStart, v = r.onLeaveStart, y = r.onAppearActive, w = r.onEnterActive, b = r.onLeaveActive, _ = r.onAppearEnd, E = r.onEnterEnd, k = r.onLeaveEnd, S = r.onVisibleChanged, C = f1(), O = Me(C, 2), N = O[0], P = O[1], I = H2e(li), T = Me(I, 2), A = T[0], j = T[1], z = f1(null), B = Me(z, 2), q = B[0], D = B[1], $ = A(), H = Y(!1), M = Y(null);
51097
+ var o = r.motionEnter, i = o === void 0 ? !0 : o, a = r.motionAppear, s = a === void 0 ? !0 : a, l = r.motionLeave, c = l === void 0 ? !0 : l, u = r.motionDeadline, d = r.motionLeaveImmediately, f = r.onAppearPrepare, h = r.onEnterPrepare, p = r.onLeavePrepare, g = r.onAppearStart, m = r.onEnterStart, v = r.onLeaveStart, y = r.onAppearActive, w = r.onEnterActive, b = r.onLeaveActive, _ = r.onAppearEnd, E = r.onEnterEnd, k = r.onLeaveEnd, S = r.onVisibleChanged, C = f1(), O = Me(C, 2), N = O[0], A = O[1], I = H2e(li), T = Me(I, 2), j = T[0], P = T[1], z = f1(null), F = Me(z, 2), q = F[0], D = F[1], $ = j(), H = Y(!1), M = Y(null);
51095
51098
  function L() {
51096
51099
  return n();
51097
51100
  }
51098
51101
  var V = Y(!1);
51099
51102
  function U() {
51100
- j(li), D(null, !0);
51103
+ P(li), D(null, !0);
51101
51104
  }
51102
51105
  var K = d1(function(He) {
51103
- var Ne = A();
51106
+ var Ne = j();
51104
51107
  if (Ne !== li) {
51105
51108
  var je = L();
51106
51109
  if (!(He && !He.deadline && He.target !== je)) {
@@ -51140,19 +51143,19 @@ function Z2e(e, t, n, r) {
51140
51143
  var Lt = Y(null);
51141
51144
  q8(function() {
51142
51145
  if (!(H.current && Lt.current === t)) {
51143
- P(t);
51146
+ A(t);
51144
51147
  var He = H.current;
51145
51148
  H.current = !0;
51146
51149
  var Ne;
51147
51150
  !He && t && s && (Ne = hd), He && t && i && (Ne = pd), (He && !t && c || !He && d && !t && c) && (Ne = gd);
51148
51151
  var je = oe(Ne);
51149
- Ne && (e || je[Nr]) ? (j(Ne), de()) : j(li), Lt.current = t;
51152
+ Ne && (e || je[Nr]) ? (P(Ne), de()) : P(li), Lt.current = t;
51150
51153
  }
51151
51154
  }, [t]), ne(function() {
51152
51155
  // Cancel appear
51153
51156
  ($ === hd && !s || // Cancel enter
51154
51157
  $ === pd && !i || // Cancel leave
51155
- $ === gd && !c) && j(li);
51158
+ $ === gd && !c) && P(li);
51156
51159
  }, [s, i, c]), ne(function() {
51157
51160
  return function() {
51158
51161
  H.current = !1, clearTimeout(M.current);
@@ -51184,34 +51187,34 @@ function eOe(e) {
51184
51187
  }
51185
51188
  var _ = Z2e(v, s, b, o), E = Me(_, 4), k = E[0], S = E[1], C = E[2], O = E[3], N = X.useRef(O);
51186
51189
  O && (N.current = !0);
51187
- var P = X.useCallback(function(B) {
51188
- y.current = B, h2e(i, B);
51190
+ var A = X.useCallback(function(F) {
51191
+ y.current = F, h2e(i, F);
51189
51192
  }, [i]), I, T = be(be({}, p), {}, {
51190
51193
  visible: s
51191
51194
  });
51192
51195
  if (!d)
51193
51196
  I = null;
51194
51197
  else if (k === li)
51195
- O ? I = d(be({}, T), P) : !c && N.current && h ? I = d(be(be({}, T), {}, {
51198
+ O ? I = d(be({}, T), A) : !c && N.current && h ? I = d(be(be({}, T), {}, {
51196
51199
  className: h
51197
- }), P) : u || !c && !h ? I = d(be(be({}, T), {}, {
51200
+ }), A) : u || !c && !h ? I = d(be(be({}, T), {}, {
51198
51201
  style: {
51199
51202
  display: "none"
51200
51203
  }
51201
- }), P) : I = null;
51204
+ }), A) : I = null;
51202
51205
  else {
51203
- var A;
51204
- S === Nr ? A = "prepare" : Y8(S) ? A = "active" : S === ns && (A = "start");
51205
- var j = pj(f, "".concat(k, "-").concat(A));
51206
+ var j;
51207
+ S === Nr ? j = "prepare" : Y8(S) ? j = "active" : S === ns && (j = "start");
51208
+ var P = pj(f, "".concat(k, "-").concat(j));
51206
51209
  I = d(be(be({}, T), {}, {
51207
- className: R1(pj(f, k), xe(xe({}, j, j && A), f, typeof f == "string")),
51210
+ className: R1(pj(f, k), xe(xe({}, P, P && j), f, typeof f == "string")),
51208
51211
  style: C
51209
- }), P);
51212
+ }), A);
51210
51213
  }
51211
51214
  if (/* @__PURE__ */ X.isValidElement(I) && p2e(I)) {
51212
51215
  var z = g2e(I);
51213
51216
  z || (I = /* @__PURE__ */ X.cloneElement(I, {
51214
- ref: P
51217
+ ref: A
51215
51218
  }));
51216
51219
  }
51217
51220
  return /* @__PURE__ */ X.createElement(V2e, {
@@ -51423,13 +51426,13 @@ const pOe = (e) => {
51423
51426
  carousel: C,
51424
51427
  cascader: O,
51425
51428
  collapse: N,
51426
- typography: P,
51429
+ typography: A,
51427
51430
  checkbox: I,
51428
51431
  descriptions: T,
51429
- divider: A,
51430
- drawer: j,
51432
+ divider: j,
51433
+ drawer: P,
51431
51434
  skeleton: z,
51432
- steps: B,
51435
+ steps: F,
51433
51436
  image: q,
51434
51437
  layout: D,
51435
51438
  list: $,
@@ -51477,11 +51480,11 @@ const pOe = (e) => {
51477
51480
  treeSelect: zt
51478
51481
  } = e, ln = X.useCallback((Ge, rt) => {
51479
51482
  const {
51480
- prefixCls: F
51483
+ prefixCls: B
51481
51484
  } = e;
51482
51485
  if (rt)
51483
51486
  return rt;
51484
- const te = F || v.getPrefixCls("");
51487
+ const te = B || v.getPrefixCls("");
51485
51488
  return Ge ? `${te}-${Ge}` : te;
51486
51489
  }, [v.getPrefixCls, e.prefixCls]), Pt = y || v.iconPrefixCls || g_, jt = n || v.csp;
51487
51490
  j2e(Pt, jt);
@@ -51509,13 +51512,13 @@ const pOe = (e) => {
51509
51512
  carousel: C,
51510
51513
  cascader: O,
51511
51514
  collapse: N,
51512
- typography: P,
51515
+ typography: A,
51513
51516
  checkbox: I,
51514
51517
  descriptions: T,
51515
- divider: A,
51516
- drawer: j,
51518
+ divider: j,
51519
+ drawer: P,
51517
51520
  skeleton: z,
51518
- steps: B,
51521
+ steps: F,
51519
51522
  image: q,
51520
51523
  input: Q,
51521
51524
  textArea: oe,
@@ -51573,8 +51576,8 @@ const pOe = (e) => {
51573
51576
  autoInsertSpace: r
51574
51577
  }, Ct.button));
51575
51578
  const pn = X6(() => Ct, Ct, (Ge, rt) => {
51576
- const F = Object.keys(Ge), te = Object.keys(rt);
51577
- return F.length !== te.length || F.some((ce) => Ge[ce] !== rt[ce]);
51579
+ const B = Object.keys(Ge), te = Object.keys(rt);
51580
+ return B.length !== te.length || B.some((ce) => Ge[ce] !== rt[ce]);
51578
51581
  }), xr = X.useMemo(() => ({
51579
51582
  prefixCls: Pt,
51580
51583
  csp: jt
@@ -51583,8 +51586,8 @@ const pOe = (e) => {
51583
51586
  dropdownMatchSelectWidth: h
51584
51587
  }), t);
51585
51588
  const wr = X.useMemo(() => {
51586
- var Ge, rt, F, te;
51587
- return Rke(((Ge = rp.Form) === null || Ge === void 0 ? void 0 : Ge.defaultValidateMessages) || {}, ((F = (rt = pn.locale) === null || rt === void 0 ? void 0 : rt.Form) === null || F === void 0 ? void 0 : F.defaultValidateMessages) || {}, ((te = pn.form) === null || te === void 0 ? void 0 : te.validateMessages) || {}, (a == null ? void 0 : a.validateMessages) || {});
51589
+ var Ge, rt, B, te;
51590
+ return Rke(((Ge = rp.Form) === null || Ge === void 0 ? void 0 : Ge.defaultValidateMessages) || {}, ((B = (rt = pn.locale) === null || rt === void 0 ? void 0 : rt.Form) === null || B === void 0 ? void 0 : B.defaultValidateMessages) || {}, ((te = pn.form) === null || te === void 0 ? void 0 : te.validateMessages) || {}, (a == null ? void 0 : a.validateMessages) || {});
51588
51591
  }, [pn, a == null ? void 0 : a.validateMessages]);
51589
51592
  Object.keys(wr).length > 0 && (nt = /* @__PURE__ */ X.createElement(Pke.Provider, {
51590
51593
  value: wr
@@ -51599,7 +51602,7 @@ const pOe = (e) => {
51599
51602
  const ni = X.useMemo(() => {
51600
51603
  const Ge = tn || {}, {
51601
51604
  algorithm: rt,
51602
- token: F,
51605
+ token: B,
51603
51606
  components: te,
51604
51607
  cssVar: ce
51605
51608
  } = Ge, we = uOe(Ge, ["algorithm", "token", "components", "cssVar"]), Ie = rt && (!Array.isArray(rt) || rt.length > 0) ? Vx(rt) : O8, Be = {};
@@ -51608,7 +51611,7 @@ const pOe = (e) => {
51608
51611
  const qe = Object.assign({}, ht);
51609
51612
  "algorithm" in qe && (qe.algorithm === !0 ? qe.theme = Ie : (Array.isArray(qe.algorithm) || typeof qe.algorithm == "function") && (qe.theme = Vx(qe.algorithm)), delete qe.algorithm), Be[Jt] = qe;
51610
51613
  });
51611
- const Pe = Object.assign(Object.assign({}, $c), F);
51614
+ const Pe = Object.assign(Object.assign({}, $c), B);
51612
51615
  return Object.assign(Object.assign({}, we), {
51613
51616
  theme: Ie,
51614
51617
  token: Pe,
@@ -55049,7 +55052,7 @@ class wNe extends R.Component {
55049
55052
  return /* @__PURE__ */ x.jsx("div", { className: Fe([Ule.engineContainer, this.props.className]), style: this.props.style, children: /* @__PURE__ */ x.jsx(Hle, { ref: this.workbenchRef, emitter: this.emitter, ...this.workbenchConfig }) });
55050
55053
  }
55051
55054
  }
55052
- Z(wNe, "version", "0.3.15");
55055
+ Z(wNe, "version", "0.3.16");
55053
55056
  export {
55054
55057
  F6 as AdvancePanel,
55055
55058
  B6 as AdvancePanelConfig,