@oomol-lab/open-flow 0.1.0-beta.1 → 0.1.0-beta.3

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.
@@ -1,130 +1,131 @@
1
1
  import { a as e, n as t, o as n, r, t as i } from "./rolldown-runtime-CEFd7nDs.js";
2
2
  import { a, c as o, f as s, i as c, n as l, r as u, t as d, u as f } from "./dist-C46JByB-.js";
3
3
  import { o as p, r as m } from "./languages-DgJehE1g.js";
4
- //#region ../../node_modules/.bun/@wopjs+cast@0.1.16/node_modules/@wopjs/cast/dist/index.mjs
5
- var h = (e) => e !== void 0, g = (e) => !!e, _ = (e) => e === !0 || e === !1, v = (e) => typeof e == "string", y = Array.isArray, b = (e) => typeof e == "object" && !!e, x = (e) => b(e) && !y(e), S = (e) => x(e) ? e : void 0, C = () => !0, w = (e) => !!(e && e.constructor && e.call && e.apply), T = (e) => w(e) || w(e?.dispose);
6
- function E(e) {
4
+ import { a as h, c as g, i as _, n as v, o as y, r as b, t as x } from "./dist-CP0883sY.js";
5
+ //#region ../../node_modules/.bun/@wopjs+disposable@0.1.24/node_modules/@wopjs/disposable/dist/index.mjs
6
+ var S = (e) => !!(e && e.constructor && e.call && e.apply), C = (e) => S(e) || S(e?.dispose);
7
+ function w(e) {
7
8
  try {
8
- e && (w(e.dispose) ? e.dispose() : w(e) && e());
9
+ e && (S(e.dispose) ? e.dispose() : S(e) && e());
9
10
  } catch (e) {
10
11
  console.error(e);
11
12
  }
12
13
  }
13
- var D = (e) => T(e) && w(e.abortable);
14
- function O() {
14
+ var T = (e) => C(e) && S(e.abortable);
15
+ function E() {
15
16
  let e;
16
17
  function t() {
17
- e ||= (e = 1, t._disposables_ = t._disposables_?.forEach(E));
18
+ e ||= (e = 1, t._disposables_ = t._disposables_?.forEach(w));
18
19
  }
19
- return t.dispose = t, t.keys = j, t.size = ne, t.has = A, t.set = te, t.make = M, t.remove = ee, t.flush = k, t;
20
+ return t.dispose = t, t.keys = k, t.size = N, t.has = O, t.set = M, t.make = A, t.remove = j, t.flush = D, t;
20
21
  }
21
- function k(e) {
22
- E(e == null ? this : this.remove(e));
22
+ function D(e) {
23
+ w(e == null ? this : this.remove(e));
23
24
  }
24
- function A(e) {
25
+ function O(e) {
25
26
  return !!this._disposables_?.has(e);
26
27
  }
27
- function j() {
28
+ function k() {
28
29
  return (this._disposables_ || []).keys();
29
30
  }
30
- function M(e, t) {
31
+ function A(e, t) {
31
32
  let n = t();
32
33
  if (n) return this.set(e, n);
33
34
  }
34
- function ee(e) {
35
+ function j(e) {
35
36
  let t = this._disposables_?.get(e);
36
37
  if (t) return this._disposables_?.delete(e), t;
37
38
  }
38
- function te(e, t) {
39
- return this.flush(e), D(t) && t.abortable(() => this.remove(e)), (this._disposables_ ??= /* @__PURE__ */ new Map()).set(e, t), t;
39
+ function M(e, t) {
40
+ return this.flush(e), T(t) && t.abortable(() => this.remove(e)), (this._disposables_ ??= /* @__PURE__ */ new Map()).set(e, t), t;
40
41
  }
41
- function ne() {
42
+ function N() {
42
43
  return this._disposables_?.size || 0;
43
44
  }
44
- function N(e) {
45
+ function P(e) {
45
46
  function t() {
46
47
  let { current: e } = t;
47
- e && (t.current = null, E(e));
48
+ e && (t.current = null, w(e));
48
49
  }
49
- return t.current = e, t.dispose = t, t.is = re, t.set = oe, t.make = ie, t.remove = ae, t.flush = t, t;
50
+ return t.current = e, t.dispose = t, t.is = ee, t.set = ne, t.make = F, t.remove = te, t.flush = t, t;
50
51
  }
51
- function re(e) {
52
+ function ee(e) {
52
53
  return Object.is(this.current, e);
53
54
  }
54
- function ie(e) {
55
+ function F(e) {
55
56
  let t = e();
56
57
  if (t) return this.set(t);
57
58
  }
58
- function ae() {
59
+ function te() {
59
60
  let e = !!this.current;
60
61
  return this.current = null, e;
61
62
  }
62
- function oe(e) {
63
- return (!e || !this.is(e)) && (this.flush(), this.current = e, D(e) && e.abortable(() => {
63
+ function ne(e) {
64
+ return (!e || !this.is(e)) && (this.flush(), this.current = e, T(e) && e.abortable(() => {
64
65
  this.is(e) && this.remove();
65
66
  })), e;
66
67
  }
67
- function P(e) {
68
+ function I(e) {
68
69
  let t;
69
70
  function n() {
70
- t ||= (t = 1, n._disposables_ = n._disposables_?.forEach(E));
71
+ t ||= (t = 1, n._disposables_ = n._disposables_?.forEach(w));
71
72
  }
72
- return n.dispose = n, n.size = pe, n.has = ue, n.add = ce, n.make = de, n.remove = fe, n.flush = le, e && n.add(e), n;
73
+ return n.dispose = n, n.size = le, n.has = oe, n.add = ie, n.make = se, n.remove = ce, n.flush = ae, e && n.add(e), n;
73
74
  }
74
- function se(e) {
75
- this._disposables_?.has(e) || ((this._disposables_ ??= /* @__PURE__ */ new Set()).add(e), D(e) && e.abortable(fe.bind(this, e)));
75
+ function re(e) {
76
+ this._disposables_?.has(e) || ((this._disposables_ ??= /* @__PURE__ */ new Set()).add(e), T(e) && e.abortable(ce.bind(this, e)));
76
77
  }
77
- function ce(e) {
78
- return Array.isArray(e) ? e.forEach(se, this) : se.call(this, e), e;
78
+ function ie(e) {
79
+ return Array.isArray(e) ? e.forEach(re, this) : re.call(this, e), e;
79
80
  }
80
- function le(e) {
81
- E(e ? this.remove(e) && e : this);
81
+ function ae(e) {
82
+ w(e ? this.remove(e) && e : this);
82
83
  }
83
- function ue(e) {
84
+ function oe(e) {
84
85
  return !!this._disposables_?.has(e);
85
86
  }
86
- function de(e) {
87
+ function se(e) {
87
88
  let t = e();
88
89
  return t && this.add(t);
89
90
  }
90
- function fe(e) {
91
+ function ce(e) {
91
92
  return !!this._disposables_?.delete(e);
92
93
  }
93
- function pe() {
94
+ function le() {
94
95
  return this._disposables_?.size || 0;
95
96
  }
96
97
  //#endregion
97
98
  //#region ../../node_modules/.bun/@wopjs+event@0.1.5/node_modules/@wopjs/event/dist/index.mjs
98
- var me = /* @__PURE__ */ Symbol.for("send"), he = (e, t) => {
99
+ var ue = /* @__PURE__ */ Symbol.for("send"), de = (e, t) => {
99
100
  try {
100
101
  e(t);
101
102
  } catch (e) {
102
103
  console.error(e);
103
104
  }
104
105
  };
105
- function ge(e) {
106
- if (process.env.NODE_ENV !== "production" && this.a && (console.error(/* @__PURE__ */ Error("[@wopjs/event:dev] Cannot send. Already disposed.")), console.error(this.a)), this._m) for (let t of this._l) he(t, e);
107
- else this._l && he(this._l, e);
106
+ function fe(e) {
107
+ if (process.env.NODE_ENV !== "production" && this.a && (console.error(/* @__PURE__ */ Error("[@wopjs/event:dev] Cannot send. Already disposed.")), console.error(this.a)), this._m) for (let t of this._l) de(t, e);
108
+ else this._l && de(this._l, e);
108
109
  }
109
- function _e() {
110
+ function pe() {
110
111
  return this._l ? this._m ? this._l.size : 1 : 0;
111
112
  }
112
- function ve(e) {
113
+ function me(e) {
113
114
  return this._l ? this._m ? this._l.add(e) : (this._l = /* @__PURE__ */ new Set([this._l, e]), this._m = !0) : this._l = e, () => this.off(e);
114
115
  }
115
- function ye(e) {
116
+ function he(e) {
116
117
  let t = !1;
117
118
  return e ? this._m ? t = this._l.delete(e) : (t = this._l === e) && (this._l = null) : (t = this.size() > 0) && (this._l = null, this._m = !1), t;
118
119
  }
119
- function be() {
120
+ function ge() {
120
121
  process.env.NODE_ENV !== "production" && (this.a = /* @__PURE__ */ Error("[@wopjs/event:dev] Disposed at:")), this.off();
121
122
  }
122
- var xe = () => {
123
+ var _e = () => {
123
124
  function e(t) {
124
125
  return e.on(t);
125
126
  }
126
- return e.size = _e, e.on = ve, e.off = ye, e.dispose = be, e[me] = ge, e;
127
- }, Se = (e, t) => e?.[me]?.(t), Ce = /* @__PURE__ */ Symbol.for("$NONE$ "), we = /* @__PURE__ */ Symbol.for("$TSUR_SPECIES$ "), Te = 1, Ee = 2, F = class e {
127
+ return e.size = pe, e.on = me, e.off = he, e.dispose = ge, e[ue] = fe, e;
128
+ }, ve = (e, t) => e?.[ue]?.(t), ye = /* @__PURE__ */ Symbol.for("$NONE$ "), be = /* @__PURE__ */ Symbol.for("$TSUR_SPECIES$ "), xe = 1, Se = 2, L = class e {
128
129
  static Ok(t) {
129
130
  return Object.freeze(new e(t, !0));
130
131
  }
@@ -149,12 +150,12 @@ var xe = () => {
149
150
  }
150
151
  }
151
152
  static isResult(e) {
152
- return !!e && e[we] === Ee;
153
+ return !!e && e[be] === Se;
153
154
  }
154
155
  static isSame(t, n) {
155
156
  return e.isResult(t) && e.isResult(n) ? Object.is(t._value, n._value) : !1;
156
157
  }
157
- [we] = Ee;
158
+ [be] = Se;
158
159
  _value;
159
160
  _ok;
160
161
  constructor(e, t) {
@@ -200,13 +201,13 @@ var xe = () => {
200
201
  return this._ok ? this : e.Err(t.call(n, this._value));
201
202
  }
202
203
  transpose() {
203
- return this._ok ? I.isOption(this._value) ? this._value.map(e.Ok) : I.Some(this) : I.None;
204
+ return this._ok ? Te.isOption(this._value) ? this._value.map(e.Ok) : Te.Some(this) : Te.None;
204
205
  }
205
206
  ok() {
206
- return this._ok ? I.Some(this._value) : I.None;
207
+ return this._ok ? Te.Some(this._value) : Te.None;
207
208
  }
208
209
  err() {
209
- return this._ok ? I.None : I.Some(this._value);
210
+ return this._ok ? Te.None : Te.Some(this._value);
210
211
  }
211
212
  unwrap(e = "called `Result.unwrap()` on an `Err`") {
212
213
  if (this._ok) return this._value;
@@ -234,16 +235,16 @@ var xe = () => {
234
235
  toString() {
235
236
  return `${this._ok ? "Ok" : "Err"}(${this._value})`;
236
237
  }
237
- }, De = F.Ok, Oe = F.Err, I = class e {
238
+ }, Ce = L.Ok, we = L.Err, Te = class e {
238
239
  static Some(t) {
239
240
  return Object.freeze(new e(t));
240
241
  }
241
- static None = /* @__PURE__ */ e.Some(Ce);
242
+ static None = /* @__PURE__ */ e.Some(ye);
242
243
  static from(t, n, r) {
243
244
  return (n ? n.call(r, t) : t) ? e.Some(t) : e.None;
244
245
  }
245
246
  static isOption(e) {
246
- return !!e && e[we] === Te;
247
+ return !!e && e[be] === xe;
247
248
  }
248
249
  static isSame(t, n) {
249
250
  return e.isOption(t) && e.isOption(n) ? Object.is(t._value, n._value) : !1;
@@ -251,7 +252,7 @@ var xe = () => {
251
252
  static unwrapOr(t) {
252
253
  return e.isOption(t) ? t.unwrapOr() : t;
253
254
  }
254
- [we] = Te;
255
+ [be] = xe;
255
256
  _value;
256
257
  constructor(e) {
257
258
  this._value = e;
@@ -260,10 +261,10 @@ var xe = () => {
260
261
  this.isSome() && (yield this._value);
261
262
  }
262
263
  isSome() {
263
- return this._value !== Ce;
264
+ return this._value !== ye;
264
265
  }
265
266
  isNone() {
266
- return this._value === Ce;
267
+ return this._value === ye;
267
268
  }
268
269
  isSomeAnd(e, t) {
269
270
  return this.isSome() && e.call(t, this._value);
@@ -305,13 +306,13 @@ var xe = () => {
305
306
  return this.isSome() ? e.Some(t.call(n, this._value)) : e.None;
306
307
  }
307
308
  transpose() {
308
- return this.isSome() ? F.isResult(this._value) ? this._value.map(e.Some) : F.Ok(this) : F.Ok(e.None);
309
+ return this.isSome() ? L.isResult(this._value) ? this._value.map(e.Some) : L.Ok(this) : L.Ok(e.None);
309
310
  }
310
311
  okOr(e) {
311
- return this.isSome() ? F.Ok(this._value) : F.Err(e);
312
+ return this.isSome() ? L.Ok(this._value) : L.Err(e);
312
313
  }
313
314
  okOrElse(e, t) {
314
- return this.isSome() ? F.Ok(this._value) : F.Err(e.call(t));
315
+ return this.isSome() ? L.Ok(this._value) : L.Err(e.call(t));
315
316
  }
316
317
  unwrap(e = "called `Option.unwrap()` on a `None` value") {
317
318
  if (this.isSome()) return this._value;
@@ -331,91 +332,91 @@ var xe = () => {
331
332
  }
332
333
  };
333
334
  Array.isArray;
334
- var ke = (e) => !!e && e.constructor === Object, Ae = (e) => {
335
+ var Ee = (e) => !!e && e.constructor === Object, De = (e) => {
335
336
  try {
336
337
  return Number(e) === e;
337
338
  } catch {
338
339
  return !1;
339
340
  }
340
- }, je = (e) => Object.prototype.toString.call(e) === "[object Date]", Me = (e, t) => {
341
+ }, Oe = (e) => Object.prototype.toString.call(e) === "[object Date]", ke = (e, t) => {
341
342
  if (Object.is(e, t)) return !0;
342
343
  if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();
343
344
  if (e instanceof RegExp && t instanceof RegExp) return e.toString() === t.toString();
344
345
  if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
345
346
  let n = Reflect.ownKeys(e), r = Reflect.ownKeys(t);
346
347
  if (n.length !== r.length) return !1;
347
- for (let r = 0; r < n.length; r++) if (!Reflect.has(t, n[r]) || !Me(e[n[r]], t[n[r]])) return !1;
348
+ for (let r = 0; r < n.length; r++) if (!Reflect.has(t, n[r]) || !ke(e[n[r]], t[n[r]])) return !1;
348
349
  return !0;
349
- }, Ne = (e) => e === "__proto__", Pe = (e, t, n) => t + e * (n - t), Fe = (e) => e;
350
- function Ie(e, t) {
350
+ }, Ae = (e) => e === "__proto__", je = (e, t, n) => t + e * (n - t), Me = (e) => e;
351
+ function Ne(e, t) {
351
352
  let n = e.findIndex(t);
352
353
  return n >= 0 ? n : e.length;
353
354
  }
354
- var L = /*#__PURE__*/ Object.freeze({ equal: Me }), Le = {
355
+ var R = /*#__PURE__*/ Object.freeze({ equal: ke }), Pe = {
355
356
  true: "True",
356
357
  false: "False"
357
358
  };
358
- function Re() {}
359
- var ze = 2147483647;
360
- function Be(e, t, n) {
359
+ function Fe() {}
360
+ var Ie = 2147483647;
361
+ function Le(e, t, n) {
361
362
  return e < t ? t : e > n ? n : e;
362
363
  }
363
- function Ve(e) {
364
+ function Re(e) {
364
365
  return typeof e == "function";
365
366
  }
366
- function He(e) {
367
+ function ze(e) {
367
368
  return e == null ? [] : Array.isArray(e) ? e : [e];
368
369
  }
369
- function R(e) {
370
+ function z(e) {
370
371
  return Array.isArray(e) ? e : void 0;
371
372
  }
372
- function z(e) {
373
- return e.some(g) ? e : void 0;
373
+ function B(e) {
374
+ return e.some(y) ? e : void 0;
374
375
  }
375
- function Ue(e) {
376
+ function Be(e) {
376
377
  return e?.[e.length - 1];
377
378
  }
378
- function We(e) {
379
+ function Ve(e) {
379
380
  return e.filter((e) => e != null);
380
381
  }
381
- var Ge = Symbol("Negative");
382
- function Ke(e, t, n) {
382
+ var He = Symbol("Negative");
383
+ function Ue(e, t, n) {
383
384
  let r = [];
384
385
  for (let i = 0; i < e.length; i++) {
385
386
  let a = t.call(n, e[i], i);
386
- a !== Ge && r.push(a);
387
+ a !== He && r.push(a);
387
388
  }
388
389
  return r;
389
390
  }
390
- function qe(e) {
391
- return x(e) ? e : {};
391
+ function We(e) {
392
+ return _(e) ? e : {};
392
393
  }
393
- function B(e) {
394
- if (x(e)) return e;
394
+ function V(e) {
395
+ if (_(e)) return e;
395
396
  }
396
- function Je(e) {
397
- if (x(e)) {
398
- for (let t of Object.values(e)) if (h(t)) return e;
397
+ function Ge(e) {
398
+ if (_(e)) {
399
+ for (let t of Object.values(e)) if (b(t)) return e;
399
400
  }
400
401
  }
401
- function Ye(e, t) {
402
- if (x(e)) {
402
+ function Ke(e, t) {
403
+ if (_(e)) {
403
404
  let n = !1, r = {};
404
405
  for (let [i, a] of Object.entries(e)) t(a) && (n = !0, r[i] = a);
405
406
  if (n) return r;
406
407
  }
407
408
  }
408
- function Xe(e) {
409
+ function qe(e) {
409
410
  return e === !0;
410
411
  }
411
- function Ze(e) {
412
+ function Je(e) {
412
413
  return e === !0 || void 0;
413
414
  }
414
- function Qe(e) {
415
- return Ye(e, Xe);
415
+ function Ye(e) {
416
+ return Ke(e, qe);
416
417
  }
417
- function $e(e) {
418
- if (v(e)) return e;
418
+ function Xe(e) {
419
+ if (h(e)) return e;
419
420
  if (e == null) return "";
420
421
  try {
421
422
  return JSON.stringify(e);
@@ -427,7 +428,7 @@ function $e(e) {
427
428
  }
428
429
  }
429
430
  }
430
- function et(e) {
431
+ function Ze(e) {
431
432
  if (e === void 0) return "undefined";
432
433
  try {
433
434
  return JSON.stringify(e);
@@ -439,29 +440,29 @@ function et(e) {
439
440
  }
440
441
  }
441
442
  }
442
- function V(e) {
443
- return v(e) ? e : void 0;
443
+ function H(e) {
444
+ return h(e) ? e : void 0;
444
445
  }
445
- function tt(e) {
446
- return e && v(e) ? e : void 0;
446
+ function Qe(e) {
447
+ return e && h(e) ? e : void 0;
447
448
  }
448
- function nt(e, t) {
449
+ function $e(e, t) {
449
450
  let n = Number(e);
450
451
  return Number.isFinite(n) ? t ? Math.floor(n) : n : 0;
451
452
  }
452
- function H(e) {
453
- return Ae(e) ? e : void 0;
453
+ function U(e) {
454
+ return De(e) ? e : void 0;
454
455
  }
455
- function rt(e) {
456
- return Ae(e) && e > 0;
456
+ function et(e) {
457
+ return De(e) && e > 0;
457
458
  }
458
- function it(e) {
459
- return _(e) ? e : !1;
459
+ function tt(e) {
460
+ return v(e) ? e : !1;
460
461
  }
461
- function at(e) {
462
- return _(e) ? e : void 0;
462
+ function nt(e) {
463
+ return v(e) ? e : void 0;
463
464
  }
464
- function U(e, t) {
465
+ function rt(e, t) {
465
466
  let n = 0;
466
467
  for (let r of t) if (r.startsWith(e)) {
467
468
  if (r === e) {
@@ -473,7 +474,7 @@ function U(e, t) {
473
474
  }
474
475
  return n === 0 ? e : `${e}${n + 1}`;
475
476
  }
476
- function ot(e, t, n = Object.is) {
477
+ function it(e, t, n = Object.is) {
477
478
  return (r) => {
478
479
  n(e.value?.[t], r) || e.set({
479
480
  ...e.value,
@@ -489,64 +490,64 @@ function W(e, t, n = Object.is) {
489
490
  });
490
491
  };
491
492
  }
492
- function st(e, t, n) {
493
+ function at(e, t, n) {
493
494
  for (let n = 0; n < t.length; n++) e = e ? e[t[n]] : void 0;
494
495
  return e === void 0 ? n : e;
495
496
  }
496
- function ct(e) {
497
+ function ot(e) {
497
498
  try {
498
- return De(JSON.parse(e));
499
+ return Ce(JSON.parse(e));
499
500
  } catch (e) {
500
- return Oe(e + "");
501
+ return we(e + "");
501
502
  }
502
503
  }
503
- function lt(e) {
504
+ function st(e) {
504
505
  try {
505
506
  return JSON.stringify(e, null, 2);
506
507
  } catch (e) {
507
508
  return console.warn(e), "{}";
508
509
  }
509
510
  }
510
- function ut(e) {
511
+ function ct(e) {
511
512
  return !!e && (e.startsWith("self::") || e.startsWith("./") || e.startsWith("../"));
512
513
  }
513
- function dt(e) {
514
+ function lt(e) {
514
515
  return e ? () => e.set(!e.value) : void 0;
515
516
  }
516
- function ft(e) {
517
+ function ut(e) {
517
518
  return !!e && e.startsWith("%") && e.endsWith("%") && e.length > 2;
518
519
  }
519
- function pt(e) {
520
- return ft(e) ? e.slice(1, -1) : void 0;
520
+ function dt(e) {
521
+ return ut(e) ? e.slice(1, -1) : void 0;
521
522
  }
522
- function mt(e) {
523
- return ft(e) ? void 0 : e;
523
+ function ft(e) {
524
+ return ut(e) ? void 0 : e;
524
525
  }
525
- var ht = 64;
526
- function gt(e, t) {
527
- let n = e?.toLowerCase().replace(/[^a-z0-9_]+/g, "-").replace(/^-+/, "").slice(0, ht).replace(/-+$/, "");
528
- if (n && !Ne(n)) {
526
+ var pt = 64;
527
+ function mt(e, t) {
528
+ let n = e?.toLowerCase().replace(/[^a-z0-9_]+/g, "-").replace(/^-+/, "").slice(0, pt).replace(/-+$/, "");
529
+ if (n && !Ae(n)) {
529
530
  let e = n, r = 1;
530
531
  for (; t[e] != null;) e = `${n}${r++}`;
531
532
  return e;
532
533
  }
533
534
  for (let e = 1;; e++) if (n = `key${e}`, t[n] == null) return n;
534
535
  }
535
- function _t(e, t) {
536
- Ne(e) && (e = "_" + e);
536
+ function ht(e, t) {
537
+ Ae(e) && (e = "_" + e);
537
538
  let n = e, r = 1;
538
539
  for (; t[n] != null;) n = `${e}${r++}`;
539
540
  return n;
540
541
  }
541
- function vt(e) {
542
+ function gt(e) {
542
543
  return /^[\x09\x0A\x0D\x20-\x7E]+$/.test(e);
543
544
  }
544
- function yt(e, t) {
545
+ function _t(e, t) {
545
546
  return Object.hasOwn(e, t) ? e[t] : void 0;
546
547
  }
547
548
  //#endregion
548
549
  //#region ../../node_modules/.bun/dayjs@1.11.23/node_modules/dayjs/dayjs.min.js
549
- var bt = /* @__PURE__ */ i(((e, t) => {
550
+ var vt = /* @__PURE__ */ i(((e, t) => {
550
551
  (function(n, r) {
551
552
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
552
553
  })(e, (function() {
@@ -840,7 +841,7 @@ var bt = /* @__PURE__ */ i(((e, t) => {
840
841
  return w(1e3 * e);
841
842
  }, w.en = b[y], w.Ls = b, w.p = {}, w;
842
843
  }));
843
- })), xt = /* @__PURE__ */ i(((e, t) => {
844
+ })), yt = /* @__PURE__ */ i(((e, t) => {
844
845
  (function(n, r) {
845
846
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_customParseFormat = r();
846
847
  })(e, (function() {
@@ -996,7 +997,7 @@ var bt = /* @__PURE__ */ i(((e, t) => {
996
997
  };
997
998
  };
998
999
  }));
999
- })), St = /* @__PURE__ */ i(((e, t) => {
1000
+ })), bt = /* @__PURE__ */ i(((e, t) => {
1000
1001
  (function(n, r) {
1001
1002
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_localeData = r();
1002
1003
  })(e, (function() {
@@ -1090,7 +1091,7 @@ var bt = /* @__PURE__ */ i(((e, t) => {
1090
1091
  };
1091
1092
  };
1092
1093
  }));
1093
- })), Ct = /* @__PURE__ */ i(((e, t) => {
1094
+ })), xt = /* @__PURE__ */ i(((e, t) => {
1094
1095
  (function(n, r) {
1095
1096
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_weekday = r();
1096
1097
  })(e, (function() {
@@ -1101,52 +1102,52 @@ var bt = /* @__PURE__ */ i(((e, t) => {
1101
1102
  };
1102
1103
  };
1103
1104
  }));
1104
- })), wt = /* @__PURE__ */ n(bt(), 1), Tt = /* @__PURE__ */ n(xt(), 1), Et = /* @__PURE__ */ n(St(), 1), Dt = /* @__PURE__ */ n(Ct(), 1);
1105
- wt.default.extend(Dt.default), wt.default.extend(Et.default), wt.default.extend(Tt.default);
1106
- var Ot = [
1105
+ })), St = /* @__PURE__ */ n(vt(), 1), Ct = /* @__PURE__ */ n(yt(), 1), wt = /* @__PURE__ */ n(bt(), 1), Tt = /* @__PURE__ */ n(xt(), 1);
1106
+ St.default.extend(Tt.default), St.default.extend(wt.default), St.default.extend(Ct.default);
1107
+ var Et = [
1107
1108
  "date",
1108
1109
  "time",
1109
1110
  "date-time"
1110
1111
  ];
1111
- function kt(e) {
1112
- return Ot.includes(e);
1112
+ function Dt(e) {
1113
+ return Et.includes(e);
1113
1114
  }
1114
- function At(e) {
1115
- let t = (0, wt.default)(e);
1115
+ function Ot(e) {
1116
+ let t = (0, St.default)(e);
1116
1117
  return t.isValid() ? t.toDate() : /* @__PURE__ */ new Date();
1117
1118
  }
1118
- function jt(e) {
1119
- return Ot.includes(e) ? e : Mt;
1119
+ function kt(e) {
1120
+ return Et.includes(e) ? e : At;
1120
1121
  }
1121
- var Mt = "date-time", Nt = /*#__PURE__*/ Ot.map((e) => ({ value: e }));
1122
- function Pt(e) {
1123
- return Nt.find((t) => t.value === e);
1122
+ var At = "date-time", jt = /*#__PURE__*/ Et.map((e) => ({ value: e }));
1123
+ function Mt(e) {
1124
+ return jt.find((t) => t.value === e);
1124
1125
  }
1125
- function Ft(e, t = Mt) {
1126
- return (0, wt.default)(e).format(It(t));
1126
+ function Nt(e, t = At) {
1127
+ return (0, St.default)(e).format(Pt(t));
1127
1128
  }
1128
- function It(e) {
1129
+ function Pt(e) {
1129
1130
  switch (e) {
1130
1131
  case "date": return "YYYY-MM-DD";
1131
1132
  case "time": return "HH:mm:ssZ";
1132
1133
  case "date-time": return "YYYY-MM-DDTHH:mm:ssZ";
1133
1134
  }
1134
1135
  }
1135
- var Lt = [
1136
+ var Ft = [
1136
1137
  "RGB",
1137
1138
  "HSV",
1138
1139
  "HEX",
1139
1140
  "HEX8"
1140
1141
  ];
1141
- function Rt(e) {
1142
- return Lt.includes(e);
1142
+ function It(e) {
1143
+ return Ft.includes(e);
1143
1144
  }
1144
- function zt(e) {
1145
- return Rt(e) ? e : "HEX";
1145
+ function Lt(e) {
1146
+ return It(e) ? e : "HEX";
1146
1147
  }
1147
- var Bt = /*#__PURE__*/ Lt.map((e) => ({ value: e }));
1148
- function Vt(e) {
1149
- return Bt.find((t) => t.value === e);
1148
+ var Rt = /*#__PURE__*/ Ft.map((e) => ({ value: e }));
1149
+ function zt(e) {
1150
+ return Rt.find((t) => t.value === e);
1150
1151
  }
1151
1152
  //#endregion
1152
1153
  //#region src/designer/browser/jsonSchema/preset.ts
@@ -1236,7 +1237,7 @@ var G = {
1236
1237
  value: "null",
1237
1238
  label: "Null"
1238
1239
  }
1239
- }, Ht = (e) => Object.hasOwn(G, e), Ut = {
1240
+ }, Bt = (e) => Object.hasOwn(G, e), Vt = {
1240
1241
  close: "i-codicon:close",
1241
1242
  gotoFile: "i-codicon:go-to-file",
1242
1243
  objectAdd: "i-carbon:add-alt",
@@ -1244,13 +1245,13 @@ var G = {
1244
1245
  package: "i-codicon:package",
1245
1246
  settings: "i-codicon:gear",
1246
1247
  tool: "i-codicon:symbol-property"
1247
- }, Wt = (e) => Ht(e) ? G[e].icon : Ut[e], Gt = (e) => Wt(J(e)), Kt = (e, t) => {
1248
+ }, Ht = (e) => Bt(e) ? G[e].icon : Vt[e], Ut = (e) => Ht(J(e)), Wt = (e, t) => {
1248
1249
  let n = G[t];
1249
1250
  return {
1250
1251
  ...n,
1251
1252
  label: e(`preset.${n.value}`)
1252
1253
  };
1253
- }, qt = (e, t) => Ke([
1254
+ }, Gt = (e, t) => Ue([
1254
1255
  G.string,
1255
1256
  G.number,
1256
1257
  G.boolean,
@@ -1280,11 +1281,11 @@ var G = {
1280
1281
  ]
1281
1282
  }
1282
1283
  ], (n) => {
1283
- if (Jt(n)) {
1284
- let r = Ke(n.options, (n) => t(n.value) ? {
1284
+ if (Kt(n)) {
1285
+ let r = Ue(n.options, (n) => t(n.value) ? {
1285
1286
  ...n,
1286
1287
  label: e(`preset.${n.value}`)
1287
- } : Ge);
1288
+ } : He);
1288
1289
  if (r.length > 0) return {
1289
1290
  ...n,
1290
1291
  label: e(`preset.${n.label}`),
@@ -1294,9 +1295,9 @@ var G = {
1294
1295
  ...n,
1295
1296
  label: e(`preset.${n.value}`)
1296
1297
  };
1297
- return Ge;
1298
- }), Jt = (e) => "options" in e, Yt = "ui:widget", K = "ui:options", Xt = { binary: "oomol/bin" }, Zt = {
1299
- binary: { contentMediaType: Xt.binary },
1298
+ return He;
1299
+ }), Kt = (e) => "options" in e, qt = "ui:widget", K = "ui:options", Jt = { binary: "oomol/bin" }, Yt = {
1300
+ binary: { contentMediaType: Jt.binary },
1300
1301
  any: {},
1301
1302
  null: { type: "null" },
1302
1303
  boolean: { type: "boolean" },
@@ -1309,12 +1310,12 @@ var G = {
1309
1310
  },
1310
1311
  color: {
1311
1312
  type: "string",
1312
- [Yt]: "color",
1313
+ [qt]: "color",
1313
1314
  [K]: { colorType: "HEX" }
1314
1315
  },
1315
1316
  text: {
1316
1317
  type: "string",
1317
- [Yt]: "text"
1318
+ [qt]: "text"
1318
1319
  },
1319
1320
  select: {
1320
1321
  enum: [],
@@ -1351,9 +1352,9 @@ var G = {
1351
1352
  [K]: { labels: [] }
1352
1353
  }
1353
1354
  };
1354
- function Qt(e, t) {
1355
- let n = structuredClone(Zt[e]);
1356
- return t && ln(n, t), n;
1355
+ function Xt(e, t) {
1356
+ let n = structuredClone(Yt[e]);
1357
+ return t && sn(n, t), n;
1357
1358
  }
1358
1359
  function q(e) {
1359
1360
  if (e && e.length > 0) {
@@ -1363,11 +1364,11 @@ function q(e) {
1363
1364
  let e = n.json_schema;
1364
1365
  e && (t = e);
1365
1366
  }
1366
- return t || Qt("any");
1367
+ return t || Xt("any");
1367
1368
  }
1368
- return Qt("any");
1369
+ return Xt("any");
1369
1370
  }
1370
- var $t = {
1371
+ var Zt = {
1371
1372
  null: null,
1372
1373
  boolean: !1,
1373
1374
  integer: 0,
@@ -1375,11 +1376,11 @@ var $t = {
1375
1376
  string: "",
1376
1377
  color: "#7d7fe9",
1377
1378
  select: (e) => {
1378
- let t = He(e?.enum)?.[0];
1379
+ let t = ze(e?.enum)?.[0];
1379
1380
  return t === void 0 ? null : t;
1380
1381
  },
1381
1382
  multiSelect: [],
1382
- date: (e) => Ft(/* @__PURE__ */ new Date(), jt(e?.format)),
1383
+ date: (e) => Nt(/* @__PURE__ */ new Date(), kt(e?.format)),
1383
1384
  text: "",
1384
1385
  any: void 0,
1385
1386
  object: {},
@@ -1389,17 +1390,17 @@ var $t = {
1389
1390
  oneOf: void 0,
1390
1391
  binary: void 0
1391
1392
  };
1392
- function en(e, t) {
1393
- let n = $t[e];
1394
- return Ve(n) ? n(t) : n;
1393
+ function Qt(e, t) {
1394
+ let n = Zt[e];
1395
+ return Re(n) ? n(t) : n;
1395
1396
  }
1396
1397
  function J(e) {
1397
1398
  let t = e;
1398
1399
  if (!t) return "any";
1399
1400
  switch (t.contentMediaType) {
1400
- case Zt.binary.contentMediaType: return "binary";
1401
+ case Yt.binary.contentMediaType: return "binary";
1401
1402
  }
1402
- if (t["ui:widget"] && Ht(t["ui:widget"])) return t[Yt];
1403
+ if (t["ui:widget"] && Bt(t["ui:widget"])) return t[qt];
1403
1404
  if (t.anyOf) return "anyOf";
1404
1405
  if (t.oneOf) return "oneOf";
1405
1406
  if (t.allOf) return "any";
@@ -1411,20 +1412,20 @@ function J(e) {
1411
1412
  case "number":
1412
1413
  case "object": return t.type;
1413
1414
  case "array": return t.uniqueItems ? "multiSelect" : "array";
1414
- case "string": return kt(t.format) ? "date" : "string";
1415
+ case "string": return Dt(t.format) ? "date" : "string";
1415
1416
  default: return "any";
1416
1417
  }
1417
1418
  }
1418
- function tn(e) {
1419
+ function $t(e) {
1419
1420
  return e == "any";
1420
1421
  }
1421
- function nn(e) {
1422
+ function en(e) {
1422
1423
  return e == "any" || e == "anyOf" || e == "oneOf" || e == "allOf";
1423
1424
  }
1424
- function rn(e) {
1425
- return !nn(e) && e !== "binary";
1425
+ function tn(e) {
1426
+ return !en(e) && e !== "binary";
1426
1427
  }
1427
- function an(e) {
1428
+ function nn(e) {
1428
1429
  switch (e) {
1429
1430
  case "string":
1430
1431
  case "text":
@@ -1439,12 +1440,12 @@ function an(e) {
1439
1440
  case "array": return "array";
1440
1441
  }
1441
1442
  }
1442
- function on(e) {
1443
+ function rn(e) {
1443
1444
  if (e === null) return "null";
1444
1445
  let t = typeof e;
1445
1446
  return t === "object" && Array.isArray(e) ? "array" : t;
1446
1447
  }
1447
- function sn(e) {
1448
+ function an(e) {
1448
1449
  switch (e) {
1449
1450
  case "string":
1450
1451
  case "number":
@@ -1455,7 +1456,7 @@ function sn(e) {
1455
1456
  default: return "any";
1456
1457
  }
1457
1458
  }
1458
- function cn(e) {
1459
+ function on(e) {
1459
1460
  let t = J(e);
1460
1461
  if (t === "anyOf" || t === "oneOf" || t === "allOf") return (e[t]?.length ?? 0) || 1;
1461
1462
  if (t === "string") return 4;
@@ -1463,76 +1464,76 @@ function cn(e) {
1463
1464
  if (t === "color" || t === "date") return 1;
1464
1465
  if (t === "integer" || t === "number") return 5;
1465
1466
  if (t === "object") {
1466
- let t = B(e.properties);
1467
+ let t = V(e.properties);
1467
1468
  return (t ? Object.keys(t).length : 1) + 1;
1468
1469
  }
1469
1470
  if (t === "select") {
1470
- let t = R(e.enum)?.length ?? 0;
1471
+ let t = z(e.enum)?.length ?? 0;
1471
1472
  return t ? t * 2 : 1;
1472
1473
  }
1473
1474
  if (t === "multiSelect") {
1474
- let t = R(B(e.items)?.enum)?.length ?? 0;
1475
+ let t = z(V(e.items)?.enum)?.length ?? 0;
1475
1476
  return t ? t * 2 : 1;
1476
1477
  }
1477
1478
  return 0;
1478
1479
  }
1479
- function ln(e, t) {
1480
- let n = un(t);
1481
- n && pn(e, n);
1480
+ function sn(e, t) {
1481
+ let n = cn(t);
1482
+ n && dn(e, n);
1482
1483
  }
1483
- function un(e) {
1484
+ function cn(e) {
1484
1485
  switch (J(e)) {
1485
- case "select": return dn(e.enum, e[K]?.labels);
1486
- case "multiSelect": return dn(B(e.items)?.enum, e[K]?.labels);
1486
+ case "select": return ln(e.enum, e[K]?.labels);
1487
+ case "multiSelect": return ln(V(e.items)?.enum, e[K]?.labels);
1487
1488
  }
1488
1489
  }
1489
- function dn(e, t) {
1490
- if (fn(e) && e.length > 0) return {
1490
+ function ln(e, t) {
1491
+ if (un(e) && e.length > 0) return {
1491
1492
  enum: e,
1492
- labels: fn(t) ? t : void 0
1493
+ labels: un(t) ? t : void 0
1493
1494
  };
1494
1495
  }
1495
- function fn(e) {
1496
- return y(e);
1496
+ function un(e) {
1497
+ return x(e);
1497
1498
  }
1498
- function pn(e, t) {
1499
+ function dn(e, t) {
1499
1500
  switch (J(e)) {
1500
1501
  case "select":
1501
1502
  e.enum = t.enum, e[K] = {
1502
- ...B(e[K]),
1503
+ ...V(e[K]),
1503
1504
  labels: t.labels ?? []
1504
1505
  };
1505
1506
  break;
1506
1507
  case "multiSelect": e.items = {
1507
- ...B(e.items),
1508
+ ...V(e.items),
1508
1509
  enum: t.enum
1509
1510
  }, e[K] = {
1510
- ...B(e[K]),
1511
+ ...V(e[K]),
1511
1512
  labels: t.labels ?? []
1512
1513
  };
1513
1514
  }
1514
1515
  }
1515
1516
  //#endregion
1516
1517
  //#region src/base/common/type.ts
1517
- function mn(e) {
1518
- return x(e);
1518
+ function fn(e) {
1519
+ return _(e);
1519
1520
  }
1520
1521
  //#endregion
1521
1522
  //#region src/designer/browser/llm/widget.ts
1522
- function hn(e) {
1523
- if (!mn(e)) return;
1523
+ function pn(e) {
1524
+ if (!fn(e)) return;
1524
1525
  let t = e["ui:widget"];
1525
1526
  if (t == "llm/messages") return "llm/messages";
1526
1527
  if (t == "llm/model") return "llm/model";
1527
1528
  }
1528
- function gn(e) {
1529
- if (!mn(e)) return;
1529
+ function mn(e) {
1530
+ if (!fn(e)) return;
1530
1531
  let t = e["ui:options"];
1531
- if (mn(t)) return typeof t.title == "string" && t.title.length > 0 ? t.title : void 0;
1532
+ if (fn(t)) return typeof t.title == "string" && t.title.length > 0 ? t.title : void 0;
1532
1533
  }
1533
1534
  //#endregion
1534
1535
  //#region src/localization/common/localization.ts
1535
- function _n(e, t) {
1536
+ function hn(e, t) {
1536
1537
  let n = [];
1537
1538
  for (let r of p(t)) {
1538
1539
  let t = e[r];
@@ -1542,23 +1543,23 @@ function _n(e, t) {
1542
1543
  }
1543
1544
  //#endregion
1544
1545
  //#region src/designer/browser/stores/designer/l10n.ts
1545
- function vn(e) {
1546
+ function gn(e) {
1546
1547
  return e === "en" ? "zh-CN" : "en";
1547
1548
  }
1548
- function yn(e, t, n) {
1549
- return n && vt(n) ? e.en : _n(e, t)[0] ?? e.en;
1549
+ function _n(e, t, n) {
1550
+ return n && gt(n) ? e.en : hn(e, t)[0] ?? e.en;
1550
1551
  }
1551
- function bn(e, t, n, r, i) {
1552
+ function vn(e, t, n, r, i) {
1552
1553
  let a = n(t);
1553
- for (let t of _n(e, a)) {
1554
- let e = yt(n(t), r);
1554
+ for (let t of hn(e, a)) {
1555
+ let e = _t(n(t), r);
1555
1556
  if (e) return e;
1556
1557
  }
1557
1558
  return i ?? r;
1558
1559
  }
1559
1560
  //#endregion
1560
1561
  //#region ../../node_modules/.bun/@wopjs+weak-cache@0.1.5/node_modules/@wopjs/weak-cache/dist/index.mjs
1561
- var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "object" && typeof e != "function" ? e : (xn.has(e) ? xn : xn.set(e, Symbol())).get(e), Cn = class {
1562
+ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "object" && typeof e != "function" ? e : (yn.has(e) ? yn : yn.set(e, Symbol())).get(e), xn = class {
1562
1563
  get size() {
1563
1564
  return this._r.size;
1564
1565
  }
@@ -1578,7 +1579,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
1578
1579
  this._r.clear();
1579
1580
  }
1580
1581
  delete(e) {
1581
- let t = Sn(e), n = this._r.get(t);
1582
+ let t = bn(e), n = this._r.get(t);
1582
1583
  return n ? (this._g.unregister(n), this._r.delete(t)) : !1;
1583
1584
  }
1584
1585
  dispose() {
@@ -1589,13 +1590,13 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
1589
1590
  return n || this.set(e, n = t()), n;
1590
1591
  }
1591
1592
  get(e) {
1592
- return this._r.get(Sn(e))?.deref();
1593
+ return this._r.get(bn(e))?.deref();
1593
1594
  }
1594
1595
  has(e) {
1595
1596
  return this.get(e) !== void 0;
1596
1597
  }
1597
1598
  set(e, t) {
1598
- let n = Sn(e), r = new WeakRef(t);
1599
+ let n = bn(e), r = new WeakRef(t);
1599
1600
  return this._r.set(n, r), this._g.register(t, n, r), Object.is(n, e) || this._g.register(e, n, r), this;
1600
1601
  }
1601
1602
  *values() {
@@ -1604,10 +1605,10 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
1604
1605
  t && (yield t);
1605
1606
  }
1606
1607
  }
1607
- }, wn = /* @__PURE__ */ new WeakMap(), Tn = new Cn(), En = class e {
1608
+ }, Sn = /* @__PURE__ */ new WeakMap(), Cn = new xn(), wn = class e {
1608
1609
  static get(t) {
1609
- let n = Array.isArray(t) ? wn.get(t) ?? wn.set(t, $e(t) || "[]").get(t) : t == null ? "[]" : $e([t]);
1610
- return Tn.get(n) || Tn.set(n, new e(n, t)).get(n);
1610
+ let n = Array.isArray(t) ? Sn.get(t) ?? Sn.set(t, Xe(t) || "[]").get(t) : t == null ? "[]" : Xe([t]);
1611
+ return Cn.get(n) || Cn.set(n, new e(n, t)).get(n);
1611
1612
  }
1612
1613
  static fromKey(t) {
1613
1614
  return e.get(JSON.parse(t));
@@ -1641,7 +1642,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
1641
1642
  toJSON() {
1642
1643
  return this.path;
1643
1644
  }
1644
- }, Dn = /* @__PURE__ */ i(((e) => {
1645
+ }, Tn = /* @__PURE__ */ i(((e) => {
1645
1646
  Object.defineProperty(e, "__esModule", { value: !0 }), e.regexpCode = e.getEsmExportName = e.getProperty = e.safeStringify = e.stringify = e.strConcat = e.addCodeArg = e.str = e._ = e.nil = e._Code = e.Name = e.IDENTIFIER = e._CodeOrName = void 0;
1646
1647
  var t = class {};
1647
1648
  e._CodeOrName = t, e.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
@@ -1746,9 +1747,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
1746
1747
  return new r(e.toString());
1747
1748
  }
1748
1749
  e.regexpCode = g;
1749
- })), On = /* @__PURE__ */ i(((e) => {
1750
+ })), En = /* @__PURE__ */ i(((e) => {
1750
1751
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
1751
- var t = Dn(), n = class extends Error {
1752
+ var t = Tn(), n = class extends Error {
1752
1753
  constructor(e) {
1753
1754
  super(`CodeGen: "code" for ${e} not defined`), this.value = e.value;
1754
1755
  }
@@ -1859,7 +1860,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
1859
1860
  };
1860
1861
  })), Y = /* @__PURE__ */ i(((e) => {
1861
1862
  Object.defineProperty(e, "__esModule", { value: !0 }), e.or = e.and = e.not = e.CodeGen = e.operators = e.varKinds = e.ValueScopeName = e.ValueScope = e.Scope = e.Name = e.regexpCode = e.stringify = e.getProperty = e.nil = e.strConcat = e.str = e._ = void 0;
1862
- var t = Dn(), n = On(), r = Dn();
1863
+ var t = Tn(), n = En(), r = Tn();
1863
1864
  Object.defineProperty(e, "_", {
1864
1865
  enumerable: !0,
1865
1866
  get: function() {
@@ -1901,7 +1902,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
1901
1902
  return r.Name;
1902
1903
  }
1903
1904
  });
1904
- var i = On();
1905
+ var i = En();
1905
1906
  Object.defineProperty(e, "Scope", {
1906
1907
  enumerable: !0,
1907
1908
  get: function() {
@@ -2353,28 +2354,28 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
2353
2354
  for (let n in t) e[n] = (e[n] || 0) - (t[n] || 0);
2354
2355
  }
2355
2356
  function j(e) {
2356
- return typeof e == "boolean" || typeof e == "number" || e === null ? !e : (0, t._)`!${re(e)}`;
2357
+ return typeof e == "boolean" || typeof e == "number" || e === null ? !e : (0, t._)`!${te(e)}`;
2357
2358
  }
2358
2359
  e.not = j;
2359
- var M = N(e.operators.AND);
2360
- function ee(...e) {
2360
+ var M = F(e.operators.AND);
2361
+ function N(...e) {
2361
2362
  return e.reduce(M);
2362
2363
  }
2363
- e.and = ee;
2364
- var te = N(e.operators.OR);
2365
- function ne(...e) {
2366
- return e.reduce(te);
2364
+ e.and = N;
2365
+ var P = F(e.operators.OR);
2366
+ function ee(...e) {
2367
+ return e.reduce(P);
2367
2368
  }
2368
- e.or = ne;
2369
- function N(e) {
2370
- return (n, r) => n === t.nil ? r : r === t.nil ? n : (0, t._)`${re(n)} ${e} ${re(r)}`;
2369
+ e.or = ee;
2370
+ function F(e) {
2371
+ return (n, r) => n === t.nil ? r : r === t.nil ? n : (0, t._)`${te(n)} ${e} ${te(r)}`;
2371
2372
  }
2372
- function re(e) {
2373
+ function te(e) {
2373
2374
  return e instanceof t.Name ? e : (0, t._)`(${e})`;
2374
2375
  }
2375
2376
  })), X = /* @__PURE__ */ i(((e) => {
2376
2377
  Object.defineProperty(e, "__esModule", { value: !0 }), e.checkStrictMode = e.getErrorPath = e.Type = e.useFunc = e.setEvaluated = e.evaluatedPropsToName = e.mergeEvaluated = e.eachItem = e.unescapeJsonPointer = e.escapeJsonPointer = e.escapeFragment = e.unescapeFragment = e.schemaRefOrVal = e.schemaHasRulesButRef = e.schemaHasRules = e.checkUnknownRules = e.alwaysValidSchema = e.toHash = void 0;
2377
- var t = Y(), n = Dn();
2378
+ var t = Y(), n = Tn();
2378
2379
  function r(e) {
2379
2380
  let t = {};
2380
2381
  for (let n of e) t[n] = !0;
@@ -2518,7 +2519,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
2518
2519
  jsonLen: new t.Name("jsonLen"),
2519
2520
  jsonPart: new t.Name("jsonPart")
2520
2521
  };
2521
- })), kn = /* @__PURE__ */ i(((e) => {
2522
+ })), Dn = /* @__PURE__ */ i(((e) => {
2522
2523
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
2523
2524
  var t = Y(), n = X(), r = Z();
2524
2525
  e.keywordError = { message: ({ keyword: e }) => (0, t.str)`must pass "${e}" keyword validation` }, e.keyword$DataError = { message: ({ keyword: e, schemaType: n }) => n ? (0, t.str)`"${e}" keyword must be ${n} ($data)` : (0, t.str)`"${e}" keyword is invalid ($data)` };
@@ -2582,9 +2583,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
2582
2583
  let { keyword: o, data: s, schemaValue: c, it: l } = e, { opts: d, propertyName: f, topSchemaRef: p, schemaPath: m } = l;
2583
2584
  a.push([u.keyword, o], [u.params, typeof n == "function" ? n(e) : n || (0, t._)`{}`]), d.messages && a.push([u.message, typeof i == "function" ? i(e) : i]), d.verbose && a.push([u.schema, c], [u.parentSchema, (0, t._)`${p}${m}`], [r.default.data, s]), f && a.push([u.propertyName, f]);
2584
2585
  }
2585
- })), An = /* @__PURE__ */ i(((e) => {
2586
+ })), On = /* @__PURE__ */ i(((e) => {
2586
2587
  Object.defineProperty(e, "__esModule", { value: !0 }), e.boolOrEmptySchema = e.topBoolOrEmptySchema = void 0;
2587
- var t = kn(), n = Y(), r = Z(), i = { message: "boolean schema is false" };
2588
+ var t = Dn(), n = Y(), r = Z(), i = { message: "boolean schema is false" };
2588
2589
  function a(e) {
2589
2590
  let { gen: t, schema: i, validateName: a } = e;
2590
2591
  i === !1 ? s(e, !1) : typeof i == "object" && i.$async === !0 ? t.return(r.default.data) : (t.assign((0, n._)`${a}.errors`, null), t.return(!0));
@@ -2608,7 +2609,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
2608
2609
  };
2609
2610
  (0, t.reportError)(o, i, void 0, n);
2610
2611
  }
2611
- })), jn = /* @__PURE__ */ i(((e) => {
2612
+ })), kn = /* @__PURE__ */ i(((e) => {
2612
2613
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getRules = e.isJSONType = void 0;
2613
2614
  var t = /* @__PURE__ */ new Set([
2614
2615
  "string",
@@ -2662,7 +2663,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
2662
2663
  };
2663
2664
  }
2664
2665
  e.getRules = r;
2665
- })), Mn = /* @__PURE__ */ i(((e) => {
2666
+ })), An = /* @__PURE__ */ i(((e) => {
2666
2667
  Object.defineProperty(e, "__esModule", { value: !0 }), e.shouldUseRule = e.shouldUseGroup = e.schemaHasRulesForType = void 0;
2667
2668
  function t({ schema: e, self: t }, r) {
2668
2669
  let i = t.RULES.types[r];
@@ -2677,9 +2678,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
2677
2678
  return e[t.keyword] !== void 0 || t.definition.implements?.some((t) => e[t] !== void 0);
2678
2679
  }
2679
2680
  e.shouldUseRule = r;
2680
- })), Nn = /* @__PURE__ */ i(((e) => {
2681
+ })), jn = /* @__PURE__ */ i(((e) => {
2681
2682
  Object.defineProperty(e, "__esModule", { value: !0 }), e.reportTypeError = e.checkDataTypes = e.checkDataType = e.coerceAndCheckDataType = e.getJSONTypes = e.getSchemaTypes = e.DataType = void 0;
2682
- var t = jn(), n = Mn(), r = kn(), i = Y(), a = X(), o;
2683
+ var t = kn(), n = An(), r = Dn(), i = Y(), a = X(), o;
2683
2684
  (function(e) {
2684
2685
  e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
2685
2686
  })(o || (e.DataType = o = {}));
@@ -2814,7 +2815,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
2814
2815
  it: e
2815
2816
  };
2816
2817
  }
2817
- })), Pn = /* @__PURE__ */ i(((e) => {
2818
+ })), Mn = /* @__PURE__ */ i(((e) => {
2818
2819
  Object.defineProperty(e, "__esModule", { value: !0 }), e.assignDefaults = void 0;
2819
2820
  var t = Y(), n = X();
2820
2821
  function r(e, t) {
@@ -2938,9 +2939,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
2938
2939
  })), e.result(s, () => e.reset(), () => e.error(!0));
2939
2940
  }
2940
2941
  e.validateUnion = v;
2941
- })), Fn = /* @__PURE__ */ i(((e) => {
2942
+ })), Nn = /* @__PURE__ */ i(((e) => {
2942
2943
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateKeywordUsage = e.validSchemaType = e.funcKeywordCode = e.macroKeywordCode = void 0;
2943
- var t = Y(), n = Z(), r = Q(), i = kn();
2944
+ var t = Y(), n = Z(), r = Q(), i = Dn();
2944
2945
  function a(e, n) {
2945
2946
  let { gen: r, keyword: i, schema: a, parentSchema: o, it: s } = e, c = n.macro.call(s.self, a, o, s), l = u(r, i, c);
2946
2947
  s.opts.validateSchema !== !1 && s.self.validateSchema(c, !0);
@@ -3019,7 +3020,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
3019
3020
  }
3020
3021
  }
3021
3022
  e.validateKeywordUsage = f;
3022
- })), In = /* @__PURE__ */ i(((e) => {
3023
+ })), Pn = /* @__PURE__ */ i(((e) => {
3023
3024
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendSubschemaMode = e.extendSubschemaData = e.getSubschema = void 0;
3024
3025
  var t = Y(), n = X();
3025
3026
  function r(e, { keyword: r, schemaProp: i, schema: a, schemaPath: o, errSchemaPath: s, topSchemaRef: c }) {
@@ -3065,7 +3066,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
3065
3066
  r !== void 0 && (e.compositeRule = r), i !== void 0 && (e.createErrors = i), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = n;
3066
3067
  }
3067
3068
  e.extendSubschemaMode = a;
3068
- })), Ln = /* @__PURE__ */ i(((e, t) => {
3069
+ })), Fn = /* @__PURE__ */ i(((e, t) => {
3069
3070
  t.exports = function e(t, n) {
3070
3071
  if (t === n) return !0;
3071
3072
  if (t && n && typeof t == "object" && typeof n == "object") {
@@ -3089,7 +3090,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
3089
3090
  }
3090
3091
  return t !== t && n !== n;
3091
3092
  };
3092
- })), Rn = /* @__PURE__ */ i(((e, t) => {
3093
+ })), In = /* @__PURE__ */ i(((e, t) => {
3093
3094
  var n = t.exports = function(e, t, n) {
3094
3095
  typeof t == "function" && (n = t, t = {}), n = t.cb || n;
3095
3096
  var i = typeof n == "function" ? n : n.pre || function() {}, a = n.post || function() {};
@@ -3152,9 +3153,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
3152
3153
  function i(e) {
3153
3154
  return e.replace(/~/g, "~0").replace(/\//g, "~1");
3154
3155
  }
3155
- })), zn = /* @__PURE__ */ i(((e) => {
3156
+ })), Ln = /* @__PURE__ */ i(((e) => {
3156
3157
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getSchemaRefs = e.resolveUrl = e.normalizeId = e._getFullPath = e.getFullPath = e.inlineRef = void 0;
3157
- var t = X(), n = Ln(), r = Rn(), i = /* @__PURE__ */ new Set([
3158
+ var t = X(), n = Fn(), r = In(), i = /* @__PURE__ */ new Set([
3158
3159
  "type",
3159
3160
  "format",
3160
3161
  "pattern",
@@ -3243,9 +3244,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
3243
3244
  }
3244
3245
  }
3245
3246
  e.getSchemaRefs = h;
3246
- })), Bn = /* @__PURE__ */ i(((e) => {
3247
+ })), Rn = /* @__PURE__ */ i(((e) => {
3247
3248
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getData = e.KeywordCxt = e.validateFunctionCode = void 0;
3248
- var t = An(), n = Nn(), r = Mn(), i = Nn(), a = Pn(), o = Fn(), s = In(), c = Y(), l = Z(), u = zn(), d = X(), f = kn();
3249
+ var t = On(), n = jn(), r = An(), i = jn(), a = Mn(), o = Nn(), s = Pn(), c = Y(), l = Z(), u = Ln(), d = X(), f = Dn();
3249
3250
  function p(e) {
3250
3251
  if (S(e) && (w(e), x(e))) {
3251
3252
  _(e);
@@ -3308,9 +3309,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
3308
3309
  (0, d.checkUnknownRules)(e), E(e);
3309
3310
  }
3310
3311
  function T(e, t) {
3311
- if (e.opts.jtd) return ee(e, [], !1, t);
3312
+ if (e.opts.jtd) return N(e, [], !1, t);
3312
3313
  let r = (0, n.getSchemaTypes)(e.schema);
3313
- ee(e, r, !(0, n.coerceAndCheckDataType)(e, r), t);
3314
+ N(e, r, !(0, n.coerceAndCheckDataType)(e, r), t);
3314
3315
  }
3315
3316
  function E(e) {
3316
3317
  let { schema: t, errSchemaPath: n, opts: r, self: i } = e;
@@ -3342,71 +3343,71 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
3342
3343
  function M({ gen: e, evaluated: t, props: n, items: r }) {
3343
3344
  n instanceof c.Name && e.assign((0, c._)`${t}.props`, n), r instanceof c.Name && e.assign((0, c._)`${t}.items`, r);
3344
3345
  }
3345
- function ee(e, t, n, a) {
3346
+ function N(e, t, n, a) {
3346
3347
  let { gen: o, schema: s, data: u, allErrors: f, opts: p, self: m } = e, { RULES: h } = m;
3347
3348
  if (s.$ref && (p.ignoreKeywordsWithRef || !(0, d.schemaHasRulesButRef)(s, h))) {
3348
- o.block(() => le(e, "$ref", h.all.$ref.definition));
3349
+ o.block(() => se(e, "$ref", h.all.$ref.definition));
3349
3350
  return;
3350
3351
  }
3351
- p.jtd || ne(e, t), o.block(() => {
3352
+ p.jtd || ee(e, t), o.block(() => {
3352
3353
  for (let e of h.rules) g(e);
3353
3354
  g(h.post);
3354
3355
  });
3355
3356
  function g(d) {
3356
- (0, r.shouldUseGroup)(s, d) && (d.type ? (o.if((0, i.checkDataType)(d.type, u, p.strictNumbers)), te(e, d), t.length === 1 && t[0] === d.type && n && (o.else(), (0, i.reportTypeError)(e)), o.endIf()) : te(e, d), f || o.if((0, c._)`${l.default.errors} === ${a || 0}`));
3357
+ (0, r.shouldUseGroup)(s, d) && (d.type ? (o.if((0, i.checkDataType)(d.type, u, p.strictNumbers)), P(e, d), t.length === 1 && t[0] === d.type && n && (o.else(), (0, i.reportTypeError)(e)), o.endIf()) : P(e, d), f || o.if((0, c._)`${l.default.errors} === ${a || 0}`));
3357
3358
  }
3358
3359
  }
3359
- function te(e, t) {
3360
+ function P(e, t) {
3360
3361
  let { gen: n, schema: i, opts: { useDefaults: o } } = e;
3361
3362
  o && (0, a.assignDefaults)(e, t.type), n.block(() => {
3362
- for (let n of t.rules) (0, r.shouldUseRule)(i, n) && le(e, n.keyword, n.definition, t.type);
3363
+ for (let n of t.rules) (0, r.shouldUseRule)(i, n) && se(e, n.keyword, n.definition, t.type);
3363
3364
  });
3364
3365
  }
3365
- function ne(e, t) {
3366
- e.schemaEnv.meta || !e.opts.strictTypes || (N(e, t), e.opts.allowUnionTypes || re(e, t), ie(e, e.dataTypes));
3366
+ function ee(e, t) {
3367
+ e.schemaEnv.meta || !e.opts.strictTypes || (F(e, t), e.opts.allowUnionTypes || te(e, t), ne(e, e.dataTypes));
3367
3368
  }
3368
- function N(e, t) {
3369
+ function F(e, t) {
3369
3370
  if (t.length) {
3370
3371
  if (!e.dataTypes.length) {
3371
3372
  e.dataTypes = t;
3372
3373
  return;
3373
3374
  }
3374
3375
  t.forEach((t) => {
3375
- oe(e.dataTypes, t) || se(e, `type "${t}" not allowed by context "${e.dataTypes.join(",")}"`);
3376
- }), P(e, t);
3376
+ re(e.dataTypes, t) || ae(e, `type "${t}" not allowed by context "${e.dataTypes.join(",")}"`);
3377
+ }), ie(e, t);
3377
3378
  }
3378
3379
  }
3379
- function re(e, t) {
3380
- t.length > 1 && !(t.length === 2 && t.includes("null")) && se(e, "use allowUnionTypes to allow union type keyword");
3380
+ function te(e, t) {
3381
+ t.length > 1 && !(t.length === 2 && t.includes("null")) && ae(e, "use allowUnionTypes to allow union type keyword");
3381
3382
  }
3382
- function ie(e, t) {
3383
+ function ne(e, t) {
3383
3384
  let n = e.self.RULES.all;
3384
3385
  for (let i in n) {
3385
3386
  let a = n[i];
3386
3387
  if (typeof a == "object" && (0, r.shouldUseRule)(e.schema, a)) {
3387
3388
  let { type: n } = a.definition;
3388
- n.length && !n.some((e) => ae(t, e)) && se(e, `missing type "${n.join(",")}" for keyword "${i}"`);
3389
+ n.length && !n.some((e) => I(t, e)) && ae(e, `missing type "${n.join(",")}" for keyword "${i}"`);
3389
3390
  }
3390
3391
  }
3391
3392
  }
3392
- function ae(e, t) {
3393
+ function I(e, t) {
3393
3394
  return e.includes(t) || t === "number" && e.includes("integer");
3394
3395
  }
3395
- function oe(e, t) {
3396
+ function re(e, t) {
3396
3397
  return e.includes(t) || t === "integer" && e.includes("number");
3397
3398
  }
3398
- function P(e, t) {
3399
+ function ie(e, t) {
3399
3400
  let n = [];
3400
- for (let r of e.dataTypes) oe(t, r) ? n.push(r) : t.includes("integer") && r === "number" && n.push("integer");
3401
+ for (let r of e.dataTypes) re(t, r) ? n.push(r) : t.includes("integer") && r === "number" && n.push("integer");
3401
3402
  e.dataTypes = n;
3402
3403
  }
3403
- function se(e, t) {
3404
+ function ae(e, t) {
3404
3405
  let n = e.schemaEnv.baseId + e.errSchemaPath;
3405
3406
  t += ` at "${n}" (strictTypes)`, (0, d.checkStrictMode)(e, t, e.opts.strictTypes);
3406
3407
  }
3407
- var ce = class {
3408
+ var oe = class {
3408
3409
  constructor(e, t, n) {
3409
- if ((0, o.validateKeywordUsage)(e, t, n), this.gen = e.gen, this.allErrors = e.allErrors, this.keyword = n, this.data = e.data, this.schema = e.schema[n], this.$data = t.$data && e.opts.$data && this.schema && this.schema.$data, this.schemaValue = (0, d.schemaRefOrVal)(e, this.schema, n, this.$data), this.schemaType = t.schemaType, this.parentSchema = e.schema, this.params = {}, this.it = e, this.def = t, this.$data) this.schemaCode = e.gen.const("vSchema", fe(this.$data, e));
3410
+ if ((0, o.validateKeywordUsage)(e, t, n), this.gen = e.gen, this.allErrors = e.allErrors, this.keyword = n, this.data = e.data, this.schema = e.schema[n], this.$data = t.$data && e.opts.$data && this.schema && this.schema.$data, this.schemaValue = (0, d.schemaRefOrVal)(e, this.schema, n, this.$data), this.schemaType = t.schemaType, this.parentSchema = e.schema, this.params = {}, this.it = e, this.def = t, this.$data) this.schemaCode = e.gen.const("vSchema", ue(this.$data, e));
3410
3411
  else if (this.schemaCode = this.schemaValue, !(0, o.validSchemaType)(this.schema, t.schemaType, t.allowUndefined)) throw Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);
3411
3412
  ("code" in t ? t.trackErrors : t.errors !== !1) && (this.errsCount = e.gen.const("_errs", l.default.errors));
3412
3413
  }
@@ -3504,20 +3505,20 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
3504
3505
  if (n.opts.unevaluated && (n.props !== !0 || n.items !== !0)) return r.if(t, () => this.mergeEvaluated(e, c.Name)), !0;
3505
3506
  }
3506
3507
  };
3507
- e.KeywordCxt = ce;
3508
- function le(e, t, n, r) {
3509
- let i = new ce(e, n, t);
3508
+ e.KeywordCxt = oe;
3509
+ function se(e, t, n, r) {
3510
+ let i = new oe(e, n, t);
3510
3511
  "code" in n ? n.code(i, r) : i.$data && n.validate ? (0, o.funcKeywordCode)(i, n) : "macro" in n ? (0, o.macroKeywordCode)(i, n) : (n.compile || n.validate) && (0, o.funcKeywordCode)(i, n);
3511
3512
  }
3512
- var ue = /^\/(?:[^~]|~0|~1)*$/, de = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
3513
- function fe(e, { dataLevel: t, dataNames: n, dataPathArr: r }) {
3513
+ var ce = /^\/(?:[^~]|~0|~1)*$/, le = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
3514
+ function ue(e, { dataLevel: t, dataNames: n, dataPathArr: r }) {
3514
3515
  let i, a;
3515
3516
  if (e === "") return l.default.rootData;
3516
3517
  if (e[0] === "/") {
3517
- if (!ue.test(e)) throw Error(`Invalid JSON-pointer: ${e}`);
3518
+ if (!ce.test(e)) throw Error(`Invalid JSON-pointer: ${e}`);
3518
3519
  i = e, a = l.default.rootData;
3519
3520
  } else {
3520
- let o = de.exec(e);
3521
+ let o = le.exec(e);
3521
3522
  if (!o) throw Error(`Invalid JSON-pointer: ${e}`);
3522
3523
  let s = +o[1];
3523
3524
  if (i = o[2], i === "#") {
@@ -3534,24 +3535,24 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
3534
3535
  return `Cannot access ${e} ${n} levels up, current level is ${t}`;
3535
3536
  }
3536
3537
  }
3537
- e.getData = fe;
3538
- })), Vn = /* @__PURE__ */ i(((e) => {
3538
+ e.getData = ue;
3539
+ })), zn = /* @__PURE__ */ i(((e) => {
3539
3540
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = class extends Error {
3540
3541
  constructor(e) {
3541
3542
  super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
3542
3543
  }
3543
3544
  };
3544
- })), Hn = /* @__PURE__ */ i(((e) => {
3545
+ })), Bn = /* @__PURE__ */ i(((e) => {
3545
3546
  Object.defineProperty(e, "__esModule", { value: !0 });
3546
- var t = zn();
3547
+ var t = Ln();
3547
3548
  e.default = class extends Error {
3548
3549
  constructor(e, n, r, i) {
3549
3550
  super(i || `can't resolve reference ${r} from id ${n}`), this.missingRef = (0, t.resolveUrl)(e, n, r), this.missingSchema = (0, t.normalizeId)((0, t.getFullPath)(e, this.missingRef));
3550
3551
  }
3551
3552
  };
3552
- })), Un = /* @__PURE__ */ i(((e) => {
3553
+ })), Vn = /* @__PURE__ */ i(((e) => {
3553
3554
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
3554
- var t = Y(), n = Vn(), r = Z(), i = zn(), a = X(), o = Bn(), s = class {
3555
+ var t = Y(), n = zn(), r = Z(), i = Ln(), a = X(), o = Rn(), s = class {
3555
3556
  constructor(e) {
3556
3557
  this.refs = {}, this.dynamicAnchors = {};
3557
3558
  let t;
@@ -3710,27 +3711,27 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
3710
3711
  baseId: t
3711
3712
  }), o.schema !== o.root.schema) return o;
3712
3713
  }
3713
- })), Wn = /* @__PURE__ */ r({
3714
- $id: () => Gn,
3714
+ })), Hn = /* @__PURE__ */ r({
3715
+ $id: () => Un,
3715
3716
  additionalProperties: () => !1,
3716
- default: () => Xn,
3717
- description: () => Kn,
3718
- properties: () => Yn,
3719
- required: () => Jn,
3720
- type: () => qn
3721
- }), Gn, Kn, qn, Jn, Yn, Xn, Zn = t((() => {
3722
- Gn = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", Kn = "Meta-schema for $data reference (JSON AnySchema extension proposal)", qn = "object", Jn = ["$data"], Yn = { $data: {
3717
+ default: () => Jn,
3718
+ description: () => Wn,
3719
+ properties: () => qn,
3720
+ required: () => Kn,
3721
+ type: () => Gn
3722
+ }), Un, Wn, Gn, Kn, qn, Jn, Yn = t((() => {
3723
+ Un = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", Wn = "Meta-schema for $data reference (JSON AnySchema extension proposal)", Gn = "object", Kn = ["$data"], qn = { $data: {
3723
3724
  type: "string",
3724
3725
  anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
3725
- } }, Xn = {
3726
- $id: Gn,
3727
- description: Kn,
3728
- type: qn,
3729
- required: Jn,
3730
- properties: Yn,
3726
+ } }, Jn = {
3727
+ $id: Un,
3728
+ description: Wn,
3729
+ type: Gn,
3730
+ required: Kn,
3731
+ properties: qn,
3731
3732
  additionalProperties: !1
3732
3733
  };
3733
- })), Qn = /* @__PURE__ */ i(((e, t) => {
3734
+ })), Xn = /* @__PURE__ */ i(((e, t) => {
3734
3735
  var n = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu), r = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u), i = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu), a = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu), o = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u), s = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/?]$/u), c = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:]$/u), l = Array(256);
3735
3736
  {
3736
3737
  let e = "0123456789ABCDEF";
@@ -3937,7 +3938,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
3937
3938
  if (o(r)) t += r;
3938
3939
  else {
3939
3940
  let i = e.charCodeAt(n);
3940
- if (i < 128) t += ee(i) ? r : l[i];
3941
+ if (i < 128) t += N(i) ? r : l[i];
3941
3942
  else if (i < 55296 || i > 57343) t += u(i);
3942
3943
  else if (i <= 56319 && n + 1 < e.length) {
3943
3944
  let r = e.charCodeAt(n + 1);
@@ -4004,10 +4005,10 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4004
4005
  function M(e) {
4005
4006
  return k(e, s);
4006
4007
  }
4007
- function ee(e) {
4008
+ function N(e) {
4008
4009
  return e >= 48 && e <= 57 || e >= 65 && e <= 90 || e >= 97 && e <= 122 || e === 42 || e === 43 || e === 45 || e === 46 || e === 47 || e === 64 || e === 95;
4009
4010
  }
4010
- function te(e) {
4011
+ function P(e) {
4011
4012
  let t = "";
4012
4013
  for (let n = 0; n < e.length; n++) {
4013
4014
  let r = e[n];
@@ -4022,7 +4023,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4022
4023
  if (s(r)) t += r;
4023
4024
  else {
4024
4025
  let i = e.charCodeAt(n);
4025
- if (i < 128) t += ee(i) ? r : l[i];
4026
+ if (i < 128) t += N(i) ? r : l[i];
4026
4027
  else if (i < 55296 || i > 57343) t += u(i);
4027
4028
  else if (i <= 56319 && n + 1 < e.length) {
4028
4029
  let r = e.charCodeAt(n + 1);
@@ -4032,7 +4033,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4032
4033
  }
4033
4034
  return t;
4034
4035
  }
4035
- function ne(e) {
4036
+ function ee(e) {
4036
4037
  let t = "";
4037
4038
  for (let n = 0; n < e.length; n++) {
4038
4039
  if (e[n] === "%" && n + 2 < e.length) {
@@ -4046,7 +4047,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4046
4047
  }
4047
4048
  return t;
4048
4049
  }
4049
- function N(e) {
4050
+ function F(e) {
4050
4051
  let t = [];
4051
4052
  if (e.userinfo !== void 0 && (t.push(A(e.userinfo)), t.push("@")), e.host !== void 0) {
4052
4053
  let n = e.host;
@@ -4060,24 +4061,24 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4060
4061
  }
4061
4062
  t.exports = {
4062
4063
  nonSimpleDomain: h,
4063
- recomposeAuthority: N,
4064
+ recomposeAuthority: F,
4064
4065
  reescapeHostDelimiters: T,
4065
4066
  normalizePercentEncoding: E,
4066
4067
  normalizePathEncoding: D,
4067
4068
  serializePathEncoding: O,
4068
- normalizeQueryFragmentEncoding: te,
4069
+ normalizeQueryFragmentEncoding: P,
4069
4070
  encodeUserinfo: A,
4070
4071
  encodeQuery: j,
4071
4072
  encodeFragment: M,
4072
- escapePreservingEscapes: ne,
4073
+ escapePreservingEscapes: ee,
4073
4074
  removeDotSegments: x,
4074
4075
  isIPv4: r,
4075
4076
  isUUID: n,
4076
4077
  normalizeIPv6: y,
4077
4078
  stringArrayToHexStripped: d
4078
4079
  };
4079
- })), $n = /* @__PURE__ */ i(((e, t) => {
4080
- var { isUUID: n } = Qn(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
4080
+ })), Zn = /* @__PURE__ */ i(((e, t) => {
4081
+ var { isUUID: n } = Xn(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
4081
4082
  "http",
4082
4083
  "https",
4083
4084
  "ws",
@@ -4182,15 +4183,15 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4182
4183
  isValidSchemeName: a,
4183
4184
  getSchemeHandler: y
4184
4185
  };
4185
- })), er = /* @__PURE__ */ i(((e, t) => {
4186
- var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, serializePathEncoding: s, normalizeQueryFragmentEncoding: c, encodeQuery: l, encodeFragment: u, reescapeHostDelimiters: d, isIPv4: f, nonSimpleDomain: p } = Qn(), { SCHEMES: m, getSchemeHandler: h } = $n(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
4186
+ })), Qn = /* @__PURE__ */ i(((e, t) => {
4187
+ var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, serializePathEncoding: s, normalizeQueryFragmentEncoding: c, encodeQuery: l, encodeFragment: u, reescapeHostDelimiters: d, isIPv4: f, nonSimpleDomain: p } = Xn(), { SCHEMES: m, getSchemeHandler: h } = Zn(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
4187
4188
  function v(e) {
4188
4189
  let t = unescape(String(e));
4189
4190
  if (!g.test(t)) throw TypeError(_);
4190
4191
  return t;
4191
4192
  }
4192
4193
  function y(e, t) {
4193
- return typeof e == "string" ? e = ee(e, t) : typeof e == "object" && (e = M(C(e, t), t)), e;
4194
+ return typeof e == "string" ? e = N(e, t) : typeof e == "object" && (e = M(C(e, t), t)), e;
4194
4195
  }
4195
4196
  function b(e, t, r) {
4196
4197
  let i = r ? Object.assign({ scheme: "null" }, r) : { scheme: "null" }, { parsed: a, malformedAuthorityOrPort: o, malformedPercentEncoding: s, malformedSchemeSpecific: c, malformedHost: l, malformedScheme: u } = j(e, i), { parsed: d, malformedAuthorityOrPort: p, malformedPercentEncoding: m, malformedSchemeSpecific: g, malformedHost: _, malformedScheme: v } = j(t, i);
@@ -4206,7 +4207,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4206
4207
  return i || (e = M(C(e, n), n), t = M(C(t, n), n)), n ||= {}, !n.tolerant && t.scheme ? (a.scheme = t.scheme, a.userinfo = t.userinfo, a.host = t.host, a.port = t.port, a.path = r(t.path || ""), a.query = t.query) : (t.userinfo !== void 0 || t.host !== void 0 || t.port !== void 0 ? (a.userinfo = t.userinfo, a.host = t.host, a.port = t.port, a.path = r(t.path || ""), a.query = t.query) : (t.path ? (t.path[0] === "/" ? a.path = r(t.path) : (a.path = (e.userinfo !== void 0 || e.host !== void 0 || e.port !== void 0) && !e.path ? "/" + t.path : e.path ? e.path.slice(0, e.path.lastIndexOf("/") + 1) + t.path : t.path, a.path = r(a.path)), a.query = t.query) : (a.path = e.path, a.query = t.query === void 0 ? e.query : t.query), a.userinfo = e.userinfo, a.host = e.host, a.port = e.port), a.scheme = e.scheme), a.fragment = t.fragment, a;
4207
4208
  }
4208
4209
  function S(e, t, n) {
4209
- let r = ne(e, n), i = ne(t, n);
4210
+ let r = ee(e, n), i = ee(t, n);
4210
4211
  return r !== void 0 && i !== void 0 && r === i;
4211
4212
  }
4212
4213
  function C(e, t) {
@@ -4312,10 +4313,10 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4312
4313
  function M(e, t) {
4313
4314
  return j(e, t).parsed;
4314
4315
  }
4315
- function ee(e, t) {
4316
- return te(e, t).normalized;
4316
+ function N(e, t) {
4317
+ return P(e, t).normalized;
4317
4318
  }
4318
- function te(e, t) {
4319
+ function P(e, t) {
4319
4320
  let { parsed: n, malformedAuthorityOrPort: r, malformedPercentEncoding: i, malformedSchemeSpecific: a, malformedHost: o, malformedScheme: s } = j(e, t);
4320
4321
  return {
4321
4322
  normalized: r || i || a || o || s ? e : C(n, t),
@@ -4326,7 +4327,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4326
4327
  malformedScheme: s
4327
4328
  };
4328
4329
  }
4329
- function ne(e, t) {
4330
+ function ee(e, t) {
4330
4331
  if (typeof e != "string" && typeof e != "object") return;
4331
4332
  let n;
4332
4333
  try {
@@ -4334,10 +4335,10 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4334
4335
  } catch {
4335
4336
  return;
4336
4337
  }
4337
- let { normalized: r, malformedAuthorityOrPort: i, malformedPercentEncoding: a, malformedSchemeSpecific: o, malformedHost: s, malformedScheme: c } = te(n, t);
4338
+ let { normalized: r, malformedAuthorityOrPort: i, malformedPercentEncoding: a, malformedSchemeSpecific: o, malformedHost: s, malformedScheme: c } = P(n, t);
4338
4339
  return i || a || o || s || c ? void 0 : r;
4339
4340
  }
4340
- var N = {
4341
+ var F = {
4341
4342
  SCHEMES: m,
4342
4343
  normalize: y,
4343
4344
  resolve: b,
@@ -4346,14 +4347,14 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4346
4347
  serialize: C,
4347
4348
  parse: M
4348
4349
  };
4349
- t.exports = N, t.exports.default = N, t.exports.fastUri = N;
4350
- })), tr = /* @__PURE__ */ i(((e) => {
4350
+ t.exports = F, t.exports.default = F, t.exports.fastUri = F;
4351
+ })), $n = /* @__PURE__ */ i(((e) => {
4351
4352
  Object.defineProperty(e, "__esModule", { value: !0 });
4352
- var t = er();
4353
+ var t = Qn();
4353
4354
  t.code = "require(\"ajv/dist/runtime/uri\").default", e.default = t;
4354
- })), nr = /* @__PURE__ */ i(((t) => {
4355
+ })), er = /* @__PURE__ */ i(((t) => {
4355
4356
  Object.defineProperty(t, "__esModule", { value: !0 }), t.CodeGen = t.Name = t.nil = t.stringify = t.str = t._ = t.KeywordCxt = void 0;
4356
- var n = Bn();
4357
+ var n = Rn();
4357
4358
  Object.defineProperty(t, "KeywordCxt", {
4358
4359
  enumerable: !0,
4359
4360
  get: function() {
@@ -4392,7 +4393,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4392
4393
  return r.CodeGen;
4393
4394
  }
4394
4395
  });
4395
- var i = Vn(), a = Hn(), o = jn(), s = Un(), c = Y(), l = zn(), u = Nn(), d = X(), f = (Zn(), e(Wn).default), p = tr(), m = (e, t) => new RegExp(e, t);
4396
+ var i = zn(), a = Bn(), o = kn(), s = Vn(), c = Y(), l = Ln(), u = jn(), d = X(), f = (Yn(), e(Hn).default), p = $n(), m = (e, t) => new RegExp(e, t);
4396
4397
  m.code = "new RegExp";
4397
4398
  var h = [
4398
4399
  "removeAdditional",
@@ -4608,7 +4609,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4608
4609
  if (t = e, n = t.keyword, Array.isArray(n) && !n.length) throw Error("addKeywords: keyword must be string or non-empty array");
4609
4610
  } else throw Error("invalid addKeywords parameters");
4610
4611
  if (j.call(this, n, t), !t) return (0, d.eachItem)(n, (e) => M.call(this, e)), this;
4611
- te.call(this, t);
4612
+ P.call(this, t);
4612
4613
  let r = {
4613
4614
  ...t,
4614
4615
  type: (0, u.getJSONTypes)(t.type),
@@ -4645,7 +4646,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4645
4646
  let t = n[e];
4646
4647
  if (typeof t != "object") continue;
4647
4648
  let { $data: r } = t.definition, a = i[e];
4648
- r && a && (i[e] = N(a));
4649
+ r && a && (i[e] = F(a));
4649
4650
  }
4650
4651
  }
4651
4652
  return e;
@@ -4766,30 +4767,30 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4766
4767
  schemaType: (0, u.getJSONTypes)(t.schemaType)
4767
4768
  }
4768
4769
  };
4769
- t.before ? ee.call(this, o, s, t.before) : o.rules.push(s), a.all[e] = s, (r = t.implements) == null || r.forEach((e) => this.addKeyword(e));
4770
+ t.before ? N.call(this, o, s, t.before) : o.rules.push(s), a.all[e] = s, (r = t.implements) == null || r.forEach((e) => this.addKeyword(e));
4770
4771
  }
4771
- function ee(e, t, n) {
4772
+ function N(e, t, n) {
4772
4773
  let r = e.rules.findIndex((e) => e.keyword === n);
4773
4774
  r >= 0 ? e.rules.splice(r, 0, t) : (e.rules.push(t), this.logger.warn(`rule ${n} is not defined`));
4774
4775
  }
4775
- function te(e) {
4776
+ function P(e) {
4776
4777
  let { metaSchema: t } = e;
4777
- t !== void 0 && (e.$data && this.opts.$data && (t = N(t)), e.validateSchema = this.compile(t, !0));
4778
+ t !== void 0 && (e.$data && this.opts.$data && (t = F(t)), e.validateSchema = this.compile(t, !0));
4778
4779
  }
4779
- var ne = { $ref: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#" };
4780
- function N(e) {
4781
- return { anyOf: [e, ne] };
4780
+ var ee = { $ref: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#" };
4781
+ function F(e) {
4782
+ return { anyOf: [e, ee] };
4782
4783
  }
4783
- })), rr = /* @__PURE__ */ i(((e) => {
4784
+ })), tr = /* @__PURE__ */ i(((e) => {
4784
4785
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
4785
4786
  keyword: "id",
4786
4787
  code() {
4787
4788
  throw Error("NOT SUPPORTED: keyword \"id\", use \"$id\" for schema ID");
4788
4789
  }
4789
4790
  };
4790
- })), ir = /* @__PURE__ */ i(((e) => {
4791
+ })), nr = /* @__PURE__ */ i(((e) => {
4791
4792
  Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
4792
- var t = Hn(), n = Q(), r = Y(), i = Z(), a = Un(), o = X(), s = {
4793
+ var t = Bn(), n = Q(), r = Y(), i = Z(), a = Vn(), o = X(), s = {
4793
4794
  keyword: "$ref",
4794
4795
  schemaType: "string",
4795
4796
  code(e) {
@@ -4866,9 +4867,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4866
4867
  }
4867
4868
  }
4868
4869
  e.callRef = l, e.default = s;
4869
- })), ar = /* @__PURE__ */ i(((e) => {
4870
+ })), rr = /* @__PURE__ */ i(((e) => {
4870
4871
  Object.defineProperty(e, "__esModule", { value: !0 });
4871
- var t = rr(), n = ir();
4872
+ var t = tr(), n = nr();
4872
4873
  e.default = [
4873
4874
  "$schema",
4874
4875
  "$id",
@@ -4879,7 +4880,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4879
4880
  t.default,
4880
4881
  n.default
4881
4882
  ];
4882
- })), or = /* @__PURE__ */ i(((e) => {
4883
+ })), ir = /* @__PURE__ */ i(((e) => {
4883
4884
  Object.defineProperty(e, "__esModule", { value: !0 });
4884
4885
  var t = Y(), n = t.operators, r = {
4885
4886
  maximum: {
@@ -4917,7 +4918,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4917
4918
  e.fail$data((0, t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`);
4918
4919
  }
4919
4920
  };
4920
- })), sr = /* @__PURE__ */ i(((e) => {
4921
+ })), ar = /* @__PURE__ */ i(((e) => {
4921
4922
  Object.defineProperty(e, "__esModule", { value: !0 });
4922
4923
  var t = Y();
4923
4924
  e.default = {
@@ -4934,7 +4935,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4934
4935
  e.fail$data((0, t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`);
4935
4936
  }
4936
4937
  };
4937
- })), cr = /* @__PURE__ */ i(((e) => {
4938
+ })), or = /* @__PURE__ */ i(((e) => {
4938
4939
  Object.defineProperty(e, "__esModule", { value: !0 });
4939
4940
  function t(e) {
4940
4941
  let t = e.length, n = 0, r = 0, i;
@@ -4942,9 +4943,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4942
4943
  return n;
4943
4944
  }
4944
4945
  e.default = t, t.code = "require(\"ajv/dist/runtime/ucs2length\").default";
4945
- })), lr = /* @__PURE__ */ i(((e) => {
4946
+ })), sr = /* @__PURE__ */ i(((e) => {
4946
4947
  Object.defineProperty(e, "__esModule", { value: !0 });
4947
- var t = Y(), n = X(), r = cr();
4948
+ var t = Y(), n = X(), r = or();
4948
4949
  e.default = {
4949
4950
  keyword: ["maxLength", "minLength"],
4950
4951
  type: "string",
@@ -4962,7 +4963,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4962
4963
  e.fail$data((0, t._)`${l} ${c} ${o}`);
4963
4964
  }
4964
4965
  };
4965
- })), ur = /* @__PURE__ */ i(((e) => {
4966
+ })), cr = /* @__PURE__ */ i(((e) => {
4966
4967
  Object.defineProperty(e, "__esModule", { value: !0 });
4967
4968
  var t = Q(), n = X(), r = Y();
4968
4969
  e.default = {
@@ -4985,7 +4986,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
4985
4986
  }
4986
4987
  }
4987
4988
  };
4988
- })), dr = /* @__PURE__ */ i(((e) => {
4989
+ })), lr = /* @__PURE__ */ i(((e) => {
4989
4990
  Object.defineProperty(e, "__esModule", { value: !0 });
4990
4991
  var t = Y();
4991
4992
  e.default = {
@@ -5005,7 +5006,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5005
5006
  e.fail$data((0, t._)`Object.keys(${r}).length ${a} ${i}`);
5006
5007
  }
5007
5008
  };
5008
- })), fr = /* @__PURE__ */ i(((e) => {
5009
+ })), ur = /* @__PURE__ */ i(((e) => {
5009
5010
  Object.defineProperty(e, "__esModule", { value: !0 });
5010
5011
  var t = Q(), n = Y(), r = X();
5011
5012
  e.default = {
@@ -5053,7 +5054,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5053
5054
  }
5054
5055
  }
5055
5056
  };
5056
- })), pr = /* @__PURE__ */ i(((e) => {
5057
+ })), dr = /* @__PURE__ */ i(((e) => {
5057
5058
  Object.defineProperty(e, "__esModule", { value: !0 });
5058
5059
  var t = Y();
5059
5060
  e.default = {
@@ -5073,13 +5074,13 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5073
5074
  e.fail$data((0, t._)`${r}.length ${a} ${i}`);
5074
5075
  }
5075
5076
  };
5076
- })), mr = /* @__PURE__ */ i(((e) => {
5077
+ })), fr = /* @__PURE__ */ i(((e) => {
5077
5078
  Object.defineProperty(e, "__esModule", { value: !0 });
5078
- var t = Ln();
5079
+ var t = Fn();
5079
5080
  t.code = "require(\"ajv/dist/runtime/equal\").default", e.default = t;
5080
- })), hr = /* @__PURE__ */ i(((e) => {
5081
+ })), pr = /* @__PURE__ */ i(((e) => {
5081
5082
  Object.defineProperty(e, "__esModule", { value: !0 });
5082
- var t = Nn(), n = Y(), r = X(), i = mr();
5083
+ var t = jn(), n = Y(), r = X(), i = fr();
5083
5084
  e.default = {
5084
5085
  keyword: "uniqueItems",
5085
5086
  type: "array",
@@ -5120,9 +5121,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5120
5121
  }
5121
5122
  }
5122
5123
  };
5123
- })), gr = /* @__PURE__ */ i(((e) => {
5124
+ })), mr = /* @__PURE__ */ i(((e) => {
5124
5125
  Object.defineProperty(e, "__esModule", { value: !0 });
5125
- var t = Y(), n = X(), r = mr();
5126
+ var t = Y(), n = X(), r = fr();
5126
5127
  e.default = {
5127
5128
  keyword: "const",
5128
5129
  $data: !0,
@@ -5135,9 +5136,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5135
5136
  o || c && typeof c == "object" ? e.fail$data((0, t._)`!${(0, n.useFunc)(i, r.default)}(${a}, ${s})`) : e.fail((0, t._)`${c} !== ${a}`);
5136
5137
  }
5137
5138
  };
5138
- })), _r = /* @__PURE__ */ i(((e) => {
5139
+ })), hr = /* @__PURE__ */ i(((e) => {
5139
5140
  Object.defineProperty(e, "__esModule", { value: !0 });
5140
- var t = Y(), n = X(), r = mr();
5141
+ var t = Y(), n = X(), r = fr();
5141
5142
  e.default = {
5142
5143
  keyword: "enum",
5143
5144
  schemaType: "array",
@@ -5167,9 +5168,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5167
5168
  }
5168
5169
  }
5169
5170
  };
5170
- })), vr = /* @__PURE__ */ i(((e) => {
5171
+ })), gr = /* @__PURE__ */ i(((e) => {
5171
5172
  Object.defineProperty(e, "__esModule", { value: !0 });
5172
- var t = or(), n = sr(), r = lr(), i = ur(), a = dr(), o = fr(), s = pr(), c = hr(), l = gr(), u = _r();
5173
+ var t = ir(), n = ar(), r = sr(), i = cr(), a = lr(), o = ur(), s = dr(), c = pr(), l = mr(), u = hr();
5173
5174
  e.default = [
5174
5175
  t.default,
5175
5176
  n.default,
@@ -5190,7 +5191,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5190
5191
  l.default,
5191
5192
  u.default
5192
5193
  ];
5193
- })), yr = /* @__PURE__ */ i(((e) => {
5194
+ })), _r = /* @__PURE__ */ i(((e) => {
5194
5195
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateAdditionalItems = void 0;
5195
5196
  var t = Y(), n = X(), r = {
5196
5197
  keyword: "additionalItems",
@@ -5230,7 +5231,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5230
5231
  }
5231
5232
  }
5232
5233
  e.validateAdditionalItems = i, e.default = r;
5233
- })), br = /* @__PURE__ */ i(((e) => {
5234
+ })), vr = /* @__PURE__ */ i(((e) => {
5234
5235
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateTuple = void 0;
5235
5236
  var t = Y(), n = X(), r = Q(), i = {
5236
5237
  keyword: "items",
@@ -5267,9 +5268,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5267
5268
  }
5268
5269
  }
5269
5270
  e.validateTuple = a, e.default = i;
5270
- })), xr = /* @__PURE__ */ i(((e) => {
5271
+ })), yr = /* @__PURE__ */ i(((e) => {
5271
5272
  Object.defineProperty(e, "__esModule", { value: !0 });
5272
- var t = br();
5273
+ var t = vr();
5273
5274
  e.default = {
5274
5275
  keyword: "prefixItems",
5275
5276
  type: "array",
@@ -5277,9 +5278,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5277
5278
  before: "uniqueItems",
5278
5279
  code: (e) => (0, t.validateTuple)(e, "items")
5279
5280
  };
5280
- })), Sr = /* @__PURE__ */ i(((e) => {
5281
+ })), br = /* @__PURE__ */ i(((e) => {
5281
5282
  Object.defineProperty(e, "__esModule", { value: !0 });
5282
- var t = Y(), n = X(), r = Q(), i = yr();
5283
+ var t = Y(), n = X(), r = Q(), i = _r();
5283
5284
  e.default = {
5284
5285
  keyword: "items",
5285
5286
  type: "array",
@@ -5294,7 +5295,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5294
5295
  o.items = !0, !(0, n.alwaysValidSchema)(o, t) && (s ? (0, i.validateAdditionalItems)(e, s) : e.ok((0, r.validateArray)(e)));
5295
5296
  }
5296
5297
  };
5297
- })), Cr = /* @__PURE__ */ i(((e) => {
5298
+ })), xr = /* @__PURE__ */ i(((e) => {
5298
5299
  Object.defineProperty(e, "__esModule", { value: !0 });
5299
5300
  var t = Y(), n = X();
5300
5301
  e.default = {
@@ -5349,7 +5350,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5349
5350
  }
5350
5351
  }
5351
5352
  };
5352
- })), wr = /* @__PURE__ */ i(((e) => {
5353
+ })), Sr = /* @__PURE__ */ i(((e) => {
5353
5354
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
5354
5355
  var t = Y(), n = X(), r = Q();
5355
5356
  e.error = {
@@ -5410,7 +5411,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5410
5411
  }, () => i.var(c, !0)), e.ok(c));
5411
5412
  }
5412
5413
  e.validateSchemaDeps = s, e.default = i;
5413
- })), Tr = /* @__PURE__ */ i(((e) => {
5414
+ })), Cr = /* @__PURE__ */ i(((e) => {
5414
5415
  Object.defineProperty(e, "__esModule", { value: !0 });
5415
5416
  var t = Y(), n = X();
5416
5417
  e.default = {
@@ -5438,7 +5439,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5438
5439
  }), e.ok(s);
5439
5440
  }
5440
5441
  };
5441
- })), Er = /* @__PURE__ */ i(((e) => {
5442
+ })), wr = /* @__PURE__ */ i(((e) => {
5442
5443
  Object.defineProperty(e, "__esModule", { value: !0 });
5443
5444
  var t = Q(), n = Y(), r = Z(), i = X();
5444
5445
  e.default = {
@@ -5505,9 +5506,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5505
5506
  }
5506
5507
  }
5507
5508
  };
5508
- })), Dr = /* @__PURE__ */ i(((e) => {
5509
+ })), Tr = /* @__PURE__ */ i(((e) => {
5509
5510
  Object.defineProperty(e, "__esModule", { value: !0 });
5510
- var t = Bn(), n = Q(), r = X(), i = Er();
5511
+ var t = Rn(), n = Q(), r = X(), i = wr();
5511
5512
  e.default = {
5512
5513
  keyword: "properties",
5513
5514
  type: "object",
@@ -5534,7 +5535,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5534
5535
  }
5535
5536
  }
5536
5537
  };
5537
- })), Or = /* @__PURE__ */ i(((e) => {
5538
+ })), Er = /* @__PURE__ */ i(((e) => {
5538
5539
  Object.defineProperty(e, "__esModule", { value: !0 });
5539
5540
  var t = Q(), n = Y(), r = X(), i = X();
5540
5541
  e.default = {
@@ -5569,7 +5570,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5569
5570
  }
5570
5571
  }
5571
5572
  };
5572
- })), kr = /* @__PURE__ */ i(((e) => {
5573
+ })), Dr = /* @__PURE__ */ i(((e) => {
5573
5574
  Object.defineProperty(e, "__esModule", { value: !0 });
5574
5575
  var t = X();
5575
5576
  e.default = {
@@ -5592,7 +5593,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5592
5593
  },
5593
5594
  error: { message: "must NOT be valid" }
5594
5595
  };
5595
- })), Ar = /* @__PURE__ */ i(((e) => {
5596
+ })), Or = /* @__PURE__ */ i(((e) => {
5596
5597
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
5597
5598
  keyword: "anyOf",
5598
5599
  schemaType: "array",
@@ -5600,7 +5601,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5600
5601
  code: Q().validateUnion,
5601
5602
  error: { message: "must match a schema in anyOf" }
5602
5603
  };
5603
- })), jr = /* @__PURE__ */ i(((e) => {
5604
+ })), kr = /* @__PURE__ */ i(((e) => {
5604
5605
  Object.defineProperty(e, "__esModule", { value: !0 });
5605
5606
  var t = Y(), n = X();
5606
5607
  e.default = {
@@ -5632,7 +5633,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5632
5633
  }
5633
5634
  }
5634
5635
  };
5635
- })), Mr = /* @__PURE__ */ i(((e) => {
5636
+ })), Ar = /* @__PURE__ */ i(((e) => {
5636
5637
  Object.defineProperty(e, "__esModule", { value: !0 });
5637
5638
  var t = X();
5638
5639
  e.default = {
@@ -5653,7 +5654,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5653
5654
  });
5654
5655
  }
5655
5656
  };
5656
- })), Nr = /* @__PURE__ */ i(((e) => {
5657
+ })), jr = /* @__PURE__ */ i(((e) => {
5657
5658
  Object.defineProperty(e, "__esModule", { value: !0 });
5658
5659
  var t = Y(), n = X(), r = {
5659
5660
  keyword: "if",
@@ -5696,7 +5697,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5696
5697
  return r !== void 0 && !(0, n.alwaysValidSchema)(e, r);
5697
5698
  }
5698
5699
  e.default = r;
5699
- })), Pr = /* @__PURE__ */ i(((e) => {
5700
+ })), Mr = /* @__PURE__ */ i(((e) => {
5700
5701
  Object.defineProperty(e, "__esModule", { value: !0 });
5701
5702
  var t = X();
5702
5703
  e.default = {
@@ -5706,9 +5707,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5706
5707
  n.if === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "if" is ignored`);
5707
5708
  }
5708
5709
  };
5709
- })), Fr = /* @__PURE__ */ i(((e) => {
5710
+ })), Nr = /* @__PURE__ */ i(((e) => {
5710
5711
  Object.defineProperty(e, "__esModule", { value: !0 });
5711
- var t = yr(), n = xr(), r = br(), i = Sr(), a = Cr(), o = wr(), s = Tr(), c = Er(), l = Dr(), u = Or(), d = kr(), f = Ar(), p = jr(), m = Mr(), h = Nr(), g = Pr();
5712
+ var t = _r(), n = yr(), r = vr(), i = br(), a = xr(), o = Sr(), s = Cr(), c = wr(), l = Tr(), u = Er(), d = Dr(), f = Or(), p = kr(), m = Ar(), h = jr(), g = Mr();
5712
5713
  function _(e = !1) {
5713
5714
  let _ = [
5714
5715
  d.default,
@@ -5726,7 +5727,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5726
5727
  return e ? _.push(n.default, i.default) : _.push(t.default, r.default), _.push(a.default), _;
5727
5728
  }
5728
5729
  e.default = _;
5729
- })), Ir = /* @__PURE__ */ i(((e) => {
5730
+ })), Pr = /* @__PURE__ */ i(((e) => {
5730
5731
  Object.defineProperty(e, "__esModule", { value: !0 });
5731
5732
  var t = Y();
5732
5733
  e.default = {
@@ -5801,9 +5802,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5801
5802
  }
5802
5803
  }
5803
5804
  };
5804
- })), Lr = /* @__PURE__ */ i(((e) => {
5805
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [Ir().default];
5806
- })), Rr = /* @__PURE__ */ i(((e) => {
5805
+ })), Fr = /* @__PURE__ */ i(((e) => {
5806
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [Pr().default];
5807
+ })), Ir = /* @__PURE__ */ i(((e) => {
5807
5808
  Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = [
5808
5809
  "title",
5809
5810
  "description",
@@ -5817,9 +5818,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5817
5818
  "contentEncoding",
5818
5819
  "contentSchema"
5819
5820
  ];
5820
- })), zr = /* @__PURE__ */ i(((e) => {
5821
+ })), Lr = /* @__PURE__ */ i(((e) => {
5821
5822
  Object.defineProperty(e, "__esModule", { value: !0 });
5822
- var t = ar(), n = vr(), r = Fr(), i = Lr(), a = Rr();
5823
+ var t = rr(), n = gr(), r = Nr(), i = Fr(), a = Ir();
5823
5824
  e.default = [
5824
5825
  t.default,
5825
5826
  n.default,
@@ -5828,15 +5829,15 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5828
5829
  a.metadataVocabulary,
5829
5830
  a.contentVocabulary
5830
5831
  ];
5831
- })), Br = /* @__PURE__ */ i(((e) => {
5832
+ })), Rr = /* @__PURE__ */ i(((e) => {
5832
5833
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0;
5833
5834
  var t;
5834
5835
  (function(e) {
5835
5836
  e.Tag = "tag", e.Mapping = "mapping";
5836
5837
  })(t || (e.DiscrError = t = {}));
5837
- })), Vr = /* @__PURE__ */ i(((e) => {
5838
+ })), zr = /* @__PURE__ */ i(((e) => {
5838
5839
  Object.defineProperty(e, "__esModule", { value: !0 });
5839
- var t = Y(), n = Br(), r = Un(), i = Hn(), a = X();
5840
+ var t = Y(), n = Rr(), r = Vn(), i = Bn(), a = X();
5840
5841
  e.default = {
5841
5842
  keyword: "discriminator",
5842
5843
  type: "object",
@@ -5904,16 +5905,16 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5904
5905
  }
5905
5906
  }
5906
5907
  };
5907
- })), Hr = /* @__PURE__ */ r({
5908
- $id: () => Wr,
5909
- $schema: () => Ur,
5910
- default: () => Yr,
5911
- definitions: () => Kr,
5912
- properties: () => Jr,
5913
- title: () => Gr,
5914
- type: () => qr
5915
- }), Ur, Wr, Gr, Kr, qr, Jr, Yr, Xr = t((() => {
5916
- Ur = "http://json-schema.org/draft-07/schema#", Wr = "http://json-schema.org/draft-07/schema#", Gr = "Core schema meta-schema", Kr = {
5908
+ })), Br = /* @__PURE__ */ r({
5909
+ $id: () => Hr,
5910
+ $schema: () => Vr,
5911
+ default: () => qr,
5912
+ definitions: () => Wr,
5913
+ properties: () => Kr,
5914
+ title: () => Ur,
5915
+ type: () => Gr
5916
+ }), Vr, Hr, Ur, Wr, Gr, Kr, qr, Jr = t((() => {
5917
+ Vr = "http://json-schema.org/draft-07/schema#", Hr = "http://json-schema.org/draft-07/schema#", Ur = "Core schema meta-schema", Wr = {
5917
5918
  schemaArray: {
5918
5919
  type: "array",
5919
5920
  minItems: 1,
@@ -5939,7 +5940,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
5939
5940
  uniqueItems: !0,
5940
5941
  default: []
5941
5942
  }
5942
- }, qr = ["object", "boolean"], Jr = {
5943
+ }, Gr = ["object", "boolean"], Kr = {
5943
5944
  $id: {
5944
5945
  type: "string",
5945
5946
  format: "uri-reference"
@@ -6038,18 +6039,18 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
6038
6039
  anyOf: { $ref: "#/definitions/schemaArray" },
6039
6040
  oneOf: { $ref: "#/definitions/schemaArray" },
6040
6041
  not: { $ref: "#" }
6041
- }, Yr = {
6042
- $schema: Ur,
6043
- $id: Wr,
6044
- title: Gr,
6045
- definitions: Kr,
6046
- type: qr,
6047
- properties: Jr,
6042
+ }, qr = {
6043
+ $schema: Vr,
6044
+ $id: Hr,
6045
+ title: Ur,
6046
+ definitions: Wr,
6047
+ type: Gr,
6048
+ properties: Kr,
6048
6049
  default: !0
6049
6050
  };
6050
- })), Zr = /* @__PURE__ */ i(((t, n) => {
6051
+ })), Yr = /* @__PURE__ */ i(((t, n) => {
6051
6052
  Object.defineProperty(t, "__esModule", { value: !0 }), t.MissingRefError = t.ValidationError = t.CodeGen = t.Name = t.nil = t.stringify = t.str = t._ = t.KeywordCxt = t.Ajv = void 0;
6052
- var r = nr(), i = zr(), a = Vr(), o = (Xr(), e(Hr).default), s = ["/properties"], c = "http://json-schema.org/draft-07/schema", l = class extends r.default {
6053
+ var r = er(), i = Lr(), a = zr(), o = (Jr(), e(Br).default), s = ["/properties"], c = "http://json-schema.org/draft-07/schema", l = class extends r.default {
6053
6054
  _addVocabularies() {
6054
6055
  super._addVocabularies(), i.default.forEach((e) => this.addVocabulary(e)), this.opts.discriminator && this.addKeyword(a.default);
6055
6056
  }
@@ -6063,7 +6064,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
6063
6064
  }
6064
6065
  };
6065
6066
  t.Ajv = l, n.exports = t = l, n.exports.Ajv = l, Object.defineProperty(t, "__esModule", { value: !0 }), t.default = l;
6066
- var u = Bn();
6067
+ var u = Rn();
6067
6068
  Object.defineProperty(t, "KeywordCxt", {
6068
6069
  enumerable: !0,
6069
6070
  get: function() {
@@ -6102,21 +6103,21 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
6102
6103
  return d.CodeGen;
6103
6104
  }
6104
6105
  });
6105
- var f = Vn();
6106
+ var f = zn();
6106
6107
  Object.defineProperty(t, "ValidationError", {
6107
6108
  enumerable: !0,
6108
6109
  get: function() {
6109
6110
  return f.default;
6110
6111
  }
6111
6112
  });
6112
- var p = Hn();
6113
+ var p = Bn();
6113
6114
  Object.defineProperty(t, "MissingRefError", {
6114
6115
  enumerable: !0,
6115
6116
  get: function() {
6116
6117
  return p.default;
6117
6118
  }
6118
6119
  });
6119
- })), Qr = /* @__PURE__ */ i(((e) => {
6120
+ })), Xr = /* @__PURE__ */ i(((e) => {
6120
6121
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
6121
6122
  function t(e, t) {
6122
6123
  return {
@@ -6268,9 +6269,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
6268
6269
  return !1;
6269
6270
  }
6270
6271
  }
6271
- })), $r = /* @__PURE__ */ i(((e) => {
6272
+ })), Zr = /* @__PURE__ */ i(((e) => {
6272
6273
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
6273
- var t = Zr(), n = Y(), r = n.operators, i = {
6274
+ var t = Yr(), n = Y(), r = n.operators, i = {
6274
6275
  formatMaximum: {
6275
6276
  okStr: "<=",
6276
6277
  ok: r.LTE,
@@ -6330,9 +6331,9 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
6330
6331
  },
6331
6332
  dependencies: ["format"]
6332
6333
  }, e.default = (t) => (t.addKeyword(e.formatLimitDefinition), t);
6333
- })), ei = /* @__PURE__ */ i(((e, t) => {
6334
+ })), Qr = /* @__PURE__ */ i(((e, t) => {
6334
6335
  Object.defineProperty(e, "__esModule", { value: !0 });
6335
- var n = Qr(), r = $r(), i = Y(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
6336
+ var n = Xr(), r = Zr(), i = Y(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
6336
6337
  if (Array.isArray(t)) return c(e, t, n.fullFormats, a), e;
6337
6338
  let [i, s] = t.mode === "fast" ? [n.fastFormats, o] : [n.fullFormats, a];
6338
6339
  return c(e, t.formats || n.formatNames, i, s), t.keywords && (0, r.default)(e), e;
@@ -6348,7 +6349,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
6348
6349
  for (let r of t) e.addFormat(r, n[r]);
6349
6350
  }
6350
6351
  t.exports = e = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
6351
- })), ti = /* @__PURE__ */ i(((e, t) => {
6352
+ })), $r = /* @__PURE__ */ i(((e, t) => {
6352
6353
  t.exports = function(e) {
6353
6354
  if (e && e.length) for (let r of e) {
6354
6355
  let e;
@@ -6494,7 +6495,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
6494
6495
  r.message = e;
6495
6496
  }
6496
6497
  };
6497
- })), ni = /* @__PURE__ */ i(((e, t) => {
6498
+ })), ei = /* @__PURE__ */ i(((e, t) => {
6498
6499
  t.exports = function(e) {
6499
6500
  if (e && e.length) for (let r of e) {
6500
6501
  let e;
@@ -6640,7 +6641,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
6640
6641
  r.message = e;
6641
6642
  }
6642
6643
  };
6643
- })), ri = /* @__PURE__ */ i(((e, t) => {
6644
+ })), ti = /* @__PURE__ */ i(((e, t) => {
6644
6645
  t.exports = function(e) {
6645
6646
  if (e && e.length) for (let r of e) {
6646
6647
  let e;
@@ -6786,7 +6787,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
6786
6787
  r.message = e;
6787
6788
  }
6788
6789
  };
6789
- })), ii = /* @__PURE__ */ i(((e, t) => {
6790
+ })), ni = /* @__PURE__ */ i(((e, t) => {
6790
6791
  t.exports = function(e) {
6791
6792
  if (e && e.length) for (let r of e) {
6792
6793
  let e;
@@ -6932,7 +6933,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
6932
6933
  r.message = e;
6933
6934
  }
6934
6935
  };
6935
- })), ai = /* @__PURE__ */ i(((e, t) => {
6936
+ })), ri = /* @__PURE__ */ i(((e, t) => {
6936
6937
  t.exports = function(e) {
6937
6938
  if (e && e.length) for (let r of e) {
6938
6939
  let e;
@@ -7078,7 +7079,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
7078
7079
  r.message = e;
7079
7080
  }
7080
7081
  };
7081
- })), oi = /* @__PURE__ */ i(((e, t) => {
7082
+ })), ii = /* @__PURE__ */ i(((e, t) => {
7082
7083
  t.exports = function(e) {
7083
7084
  if (e && e.length) for (let r of e) {
7084
7085
  let e;
@@ -7224,7 +7225,7 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
7224
7225
  r.message = e;
7225
7226
  }
7226
7227
  };
7227
- })), si = /* @__PURE__ */ i(((e, t) => {
7228
+ })), ai = /* @__PURE__ */ i(((e, t) => {
7228
7229
  t.exports = function(e) {
7229
7230
  if (e && e.length) for (let r of e) {
7230
7231
  let e;
@@ -7370,57 +7371,57 @@ var xn = /* @__PURE__ */ new WeakMap(), Sn = (e) => e === null || typeof e != "o
7370
7371
  r.message = e;
7371
7372
  }
7372
7373
  };
7373
- })), ci = /* @__PURE__ */ n(Zr(), 1), li = /* @__PURE__ */ n(ei(), 1), ui = /* @__PURE__ */ n(ti(), 1), di = /* @__PURE__ */ n(ni(), 1), fi = /* @__PURE__ */ n(ri(), 1), pi = /* @__PURE__ */ n(ii(), 1), mi = /* @__PURE__ */ n(ai(), 1), hi = /* @__PURE__ */ n(oi(), 1), gi = /* @__PURE__ */ n(si(), 1), _i = {
7374
- en: ui.default,
7375
- "zh-CN": gi.default,
7376
- "zh-TW": hi.default,
7377
- ja: fi.default,
7378
- ko: pi.default,
7379
- ru: mi.default,
7380
- fr: di.default
7374
+ })), oi = /* @__PURE__ */ n(Yr(), 1), si = /* @__PURE__ */ n(Qr(), 1), ci = /* @__PURE__ */ n($r(), 1), li = /* @__PURE__ */ n(ei(), 1), ui = /* @__PURE__ */ n(ti(), 1), di = /* @__PURE__ */ n(ni(), 1), fi = /* @__PURE__ */ n(ri(), 1), pi = /* @__PURE__ */ n(ii(), 1), mi = /* @__PURE__ */ n(ai(), 1), hi = {
7375
+ en: ci.default,
7376
+ "zh-CN": mi.default,
7377
+ "zh-TW": pi.default,
7378
+ ja: ui.default,
7379
+ ko: di.default,
7380
+ ru: fi.default,
7381
+ fr: li.default
7381
7382
  };
7382
- function vi(e) {
7383
- return _i[m([e])];
7383
+ function gi(e) {
7384
+ return hi[m([e])];
7384
7385
  }
7385
- function yi(e, t) {
7386
- vi(e)(t);
7386
+ function _i(e, t) {
7387
+ gi(e)(t);
7387
7388
  }
7388
7389
  //#endregion
7389
7390
  //#region src/designer/browser/validate/validator.ts
7390
- function bi(e) {
7391
- let t = new ci.default({
7391
+ function vi(e) {
7392
+ let t = new oi.default({
7392
7393
  allErrors: !0,
7393
7394
  verbose: !0,
7394
7395
  strict: !1,
7395
7396
  addUsedSchema: !1,
7396
7397
  ...e
7397
7398
  });
7398
- return (0, li.default)(t), t;
7399
+ return (0, si.default)(t), t;
7399
7400
  }
7400
- var xi = /*#__PURE__*/ bi();
7401
- function Si(e) {
7401
+ var yi = /*#__PURE__*/ vi();
7402
+ function bi(e) {
7402
7403
  if (!e) return [void 0, void 0];
7403
7404
  try {
7404
- return [xi.compile(e), void 0];
7405
+ return [yi.compile(e), void 0];
7405
7406
  } catch (e) {
7406
7407
  return [void 0, e];
7407
7408
  }
7408
7409
  }
7409
- function Ci(e, t, n) {
7410
- return !e || e(t) ? [] : (yi(n, e.errors), e.errors);
7410
+ function xi(e, t, n) {
7411
+ return !e || e(t) ? [] : (_i(n, e.errors), e.errors);
7411
7412
  }
7412
7413
  //#endregion
7413
7414
  //#region src/designer/browser/stores/schemaEditor/simpleWidget.store.ts
7414
- var wi = class {
7415
+ var Si = class {
7415
7416
  constructor(e, t, n) {
7416
- this.path = e, this.schema$ = t, this.context = n, this.dispose = P(), this.widgetType$ = this.dispose.add(a(this.schema$, J));
7417
+ this.path = e, this.schema$ = t, this.context = n, this.dispose = I(), this.widgetType$ = this.dispose.add(a(this.schema$, J));
7417
7418
  }
7418
7419
  get expanded$() {
7419
7420
  return this.expandedCache$ ??= this.dispose.add(this.context.deriveExpanded$(this.path));
7420
7421
  }
7421
7422
  configureNumber() {
7422
- this.numberConfigurationSlot ||= this.dispose.add(N());
7423
- let e = P(), t = e.add(this.deriveUiOptions$("step", H)), n = e.add(this.deriveSchema$("minimum", H)), r = e.add(this.deriveSchema$("maximum", H)), i = e.add(this.deriveSchema$("exclusiveMinimum", H)), a = e.add(this.deriveSchema$("exclusiveMaximum", H));
7423
+ this.numberConfigurationSlot ||= this.dispose.add(P());
7424
+ let e = I(), t = e.add(this.deriveUiOptions$("step", U)), n = e.add(this.deriveSchema$("minimum", U)), r = e.add(this.deriveSchema$("maximum", U)), i = e.add(this.deriveSchema$("exclusiveMinimum", U)), a = e.add(this.deriveSchema$("exclusiveMaximum", U));
7424
7425
  return this.numberConfigurationSlot.set(e), {
7425
7426
  step$: t,
7426
7427
  minimum$: n,
@@ -7430,14 +7431,14 @@ var wi = class {
7430
7431
  };
7431
7432
  }
7432
7433
  configureColor() {
7433
- return this.colorConfigurationSlot ||= this.dispose.add(N()), { colorType$: this.colorConfigurationSlot.set(this.deriveUiOptions$("colorType", (e) => Rt(e) ? e : void 0)) };
7434
+ return this.colorConfigurationSlot ||= this.dispose.add(P()), { colorType$: this.colorConfigurationSlot.set(this.deriveUiOptions$("colorType", (e) => It(e) ? e : void 0)) };
7434
7435
  }
7435
7436
  configureDate() {
7436
- return this.dateConfigurationSlot ||= this.dispose.add(N()), { format$: this.dateConfigurationSlot.set(this.deriveSchema$("format", (e) => kt(e) ? e : void 0)) };
7437
+ return this.dateConfigurationSlot ||= this.dispose.add(P()), { format$: this.dateConfigurationSlot.set(this.deriveSchema$("format", (e) => Dt(e) ? e : void 0)) };
7437
7438
  }
7438
7439
  configureString() {
7439
- this.stringConfigurationSlot ||= this.dispose.add(N());
7440
- let e = P(), t = e.add(this.deriveSchema$("format", V)), n = e.add(this.deriveSchema$("pattern", V)), r = e.add(this.deriveSchema$("minLength", H)), i = e.add(this.deriveSchema$("maxLength", H));
7440
+ this.stringConfigurationSlot ||= this.dispose.add(P());
7441
+ let e = I(), t = e.add(this.deriveSchema$("format", H)), n = e.add(this.deriveSchema$("pattern", H)), r = e.add(this.deriveSchema$("minLength", U)), i = e.add(this.deriveSchema$("maxLength", U));
7441
7442
  return this.stringConfigurationSlot.set(e), {
7442
7443
  format$: t,
7443
7444
  pattern$: n,
@@ -7446,15 +7447,15 @@ var wi = class {
7446
7447
  };
7447
7448
  }
7448
7449
  configureArray() {
7449
- this.arrayConfigurationSlot ||= this.dispose.add(N());
7450
- let e = P(), t = e.add(this.deriveSchema$("minItems", H)), n = e.add(this.deriveSchema$("maxItems", H));
7450
+ this.arrayConfigurationSlot ||= this.dispose.add(P());
7451
+ let e = I(), t = e.add(this.deriveSchema$("minItems", U)), n = e.add(this.deriveSchema$("maxItems", U));
7451
7452
  return this.arrayConfigurationSlot.set(e), {
7452
7453
  minItems$: t,
7453
7454
  maxItems$: n
7454
7455
  };
7455
7456
  }
7456
7457
  configureObject() {
7457
- return this.objectConfigurationSlot ||= this.dispose.add(N()), { additionalProperties$: this.objectConfigurationSlot.set(this.deriveSchema$("additionalProperties", at)) };
7458
+ return this.objectConfigurationSlot ||= this.dispose.add(P()), { additionalProperties$: this.objectConfigurationSlot.set(this.deriveSchema$("additionalProperties", nt)) };
7458
7459
  }
7459
7460
  isSelect() {
7460
7461
  return !1;
@@ -7472,11 +7473,11 @@ var wi = class {
7472
7473
  return !1;
7473
7474
  }
7474
7475
  deriveSchema$(e, t, n) {
7475
- return l(a(this.schema$, (n) => t(B(n)?.[e]), n), W(this.schema$, e));
7476
+ return l(a(this.schema$, (n) => t(V(n)?.[e]), n), W(this.schema$, e));
7476
7477
  }
7477
7478
  deriveUiOptions$(e, t, n) {
7478
- return l(a(this.schema$, (n) => t(B(B(n)?.[K])?.[e]), n), (t) => {
7479
- let n = B(this.schema$.value), r = B(n?.[K]);
7479
+ return l(a(this.schema$, (n) => t(V(V(n)?.[K])?.[e]), n), (t) => {
7480
+ let n = V(this.schema$.value), r = V(n?.[K]);
7480
7481
  if (Object.is(t, r?.[e])) return;
7481
7482
  let i = {
7482
7483
  ...r,
@@ -7484,11 +7485,11 @@ var wi = class {
7484
7485
  };
7485
7486
  f(this.schema$, n && {
7486
7487
  ...n,
7487
- "ui:options": Je(i)
7488
+ "ui:options": Ge(i)
7488
7489
  });
7489
7490
  });
7490
7491
  }
7491
- }, Ti = class extends wi {
7492
+ }, Ci = class extends Si {
7492
7493
  constructor(e, t, n) {
7493
7494
  super(e, t, n), this.conditions$ = this.dispose.add(this.deriveConditions$());
7494
7495
  }
@@ -7496,29 +7497,29 @@ var wi = class {
7496
7497
  return !0;
7497
7498
  }
7498
7499
  addCondition(e) {
7499
- let t = { ...B(this.schema$.value) }, n = J(t), r = R(t[n])?.slice() ?? [], i = { ...B(t[K]) }, a = R(i.labels)?.slice() ?? [];
7500
+ let t = { ...V(this.schema$.value) }, n = J(t), r = z(t[n])?.slice() ?? [], i = { ...V(t[K]) }, a = z(i.labels)?.slice() ?? [];
7500
7501
  for (; a.length < r.length;) a.push("");
7501
- a.splice(e + 1, 0, ""), i.labels = z(a), r.splice(e + 1, 0, q()), t[n] = r, t[K] = i, this.schema$.set(t);
7502
+ a.splice(e + 1, 0, ""), i.labels = B(a), r.splice(e + 1, 0, q()), t[n] = r, t[K] = i, this.schema$.set(t);
7502
7503
  }
7503
7504
  removeCondition(e) {
7504
- let t = { ...B(this.schema$.value) }, n = J(t), r = R(t[n])?.slice() ?? [], i = { ...B(t[K]) }, a = R(i.labels)?.slice() ?? [];
7505
+ let t = { ...V(this.schema$.value) }, n = J(t), r = z(t[n])?.slice() ?? [], i = { ...V(t[K]) }, a = z(i.labels)?.slice() ?? [];
7505
7506
  for (; a.length < r.length;) a.push("");
7506
- a.splice(e, 1), i.labels = z(a), r.splice(e, 1), t[n] = r, t[K] = i, this.schema$.set(t);
7507
+ a.splice(e, 1), i.labels = B(a), r.splice(e, 1), t[n] = r, t[K] = i, this.schema$.set(t);
7507
7508
  }
7508
7509
  deriveConditions$() {
7509
7510
  let e = [];
7510
7511
  return a(this.schema$, (t) => {
7511
- let n = R(B(t)?.[J(t)])?.length ?? 0, r = e.slice(0, n);
7512
- for (let e = r.length; e < n; e++) r[e] = new Ei(e, this, this.context);
7512
+ let n = z(V(t)?.[J(t)])?.length ?? 0, r = e.slice(0, n);
7513
+ for (let e = r.length; e < n; e++) r[e] = new wi(e, this, this.context);
7513
7514
  for (let t = r.length; t < e.length; t++) e[t]?.dispose();
7514
7515
  return e = r, r;
7515
7516
  });
7516
7517
  }
7517
7518
  deriveConditionSchema$(e, t = "anyOf") {
7518
- return l(a(this.schema$, (t) => R(B(t)?.[J(t)])?.[e]), (n) => {
7519
- let r = B(this.schema$.value), i = J(r);
7519
+ return l(a(this.schema$, (t) => z(V(t)?.[J(t)])?.[e]), (n) => {
7520
+ let r = V(this.schema$.value), i = J(r);
7520
7521
  i !== "allOf" && i !== "anyOf" && i !== "oneOf" && (i = t);
7521
- let a = R(r?.[i]);
7522
+ let a = z(r?.[i]);
7522
7523
  if (!Object.is(a?.[e], n)) {
7523
7524
  let t = a?.slice() ?? [];
7524
7525
  t[e] = n, this.schema$.set({
@@ -7529,32 +7530,32 @@ var wi = class {
7529
7530
  });
7530
7531
  }
7531
7532
  deriveLabel$(e) {
7532
- return l(a(this.schema$, (t) => V(R(B(B(t)?.[K])?.labels)?.[e])), (t) => {
7533
- let n = B(this.schema$.value), r = B(n?.[K]), i = R(r?.labels);
7533
+ return l(a(this.schema$, (t) => H(z(V(V(t)?.[K])?.labels)?.[e])), (t) => {
7534
+ let n = V(this.schema$.value), r = V(n?.[K]), i = z(r?.labels);
7534
7535
  if (!Object.is(i?.[e], t)) {
7535
7536
  let a = i?.slice() ?? [];
7536
7537
  a[e] = t, this.schema$.set({
7537
7538
  ...n,
7538
7539
  [K]: {
7539
7540
  ...r,
7540
- labels: z(a)
7541
+ labels: B(a)
7541
7542
  }
7542
7543
  });
7543
7544
  }
7544
7545
  });
7545
7546
  }
7546
- }, Ei = class {
7547
+ }, wi = class {
7547
7548
  constructor(e, t, n) {
7548
- this.dispose = P(), this.index = e, this.path = t.path.append(e), this.context = n, this.label$ = this.dispose.add(t.deriveLabel$(e)), this.schema$ = this.dispose.add(t.deriveConditionSchema$(e)), this.widget$ = this.dispose.add(Ii(this.path, this.schema$, n));
7549
+ this.dispose = I(), this.index = e, this.path = t.path.append(e), this.context = n, this.label$ = this.dispose.add(t.deriveLabel$(e)), this.schema$ = this.dispose.add(t.deriveConditionSchema$(e)), this.widget$ = this.dispose.add(Pi(this.path, this.schema$, n));
7549
7550
  }
7550
- }, Di = class extends wi {
7551
+ }, Ti = class extends Si {
7551
7552
  constructor(e, t, n) {
7552
- super(e, t, n), this.itemsSchema$ = this.dispose.add(this.deriveSchema$("items", (e) => e, L)), this.itemsWidget$ = this.dispose.add(Ii(this.path.append("items"), this.itemsSchema$, n));
7553
+ super(e, t, n), this.itemsSchema$ = this.dispose.add(this.deriveSchema$("items", (e) => e, R)), this.itemsWidget$ = this.dispose.add(Pi(this.path.append("items"), this.itemsSchema$, n));
7553
7554
  }
7554
7555
  isArray() {
7555
7556
  return !0;
7556
7557
  }
7557
- }, Oi = /*#__PURE__*/ new Set([
7558
+ }, Ei = /*#__PURE__*/ new Set([
7558
7559
  "string",
7559
7560
  "integer",
7560
7561
  "number",
@@ -7565,7 +7566,7 @@ var wi = class {
7565
7566
  "array",
7566
7567
  "object",
7567
7568
  "anyOf"
7568
- ]), ki = (e) => [
7569
+ ]), Di = (e) => [
7569
7570
  {
7570
7571
  label: e("schemaEditor.stringFormat.email"),
7571
7572
  value: "email"
@@ -7579,13 +7580,13 @@ var wi = class {
7579
7580
  value: ""
7580
7581
  }
7581
7582
  ];
7582
- function Ai(e, t) {
7583
+ function Oi(e, t) {
7583
7584
  let n = e || "";
7584
- return ki(t).find((e) => e.value === n);
7585
+ return Di(t).find((e) => e.value === n);
7585
7586
  }
7586
7587
  //#endregion
7587
7588
  //#region src/designer/browser/stores/schemaEditor/selectWidget.store.ts
7588
- var ji = class extends wi {
7589
+ var ki = class extends Si {
7589
7590
  constructor(e, t, n) {
7590
7591
  super(e, t, n), this.items$ = this.dispose.add(this.deriveItems()), this.dispose.add(() => {
7591
7592
  for (let e of this.items$.value) e.dispose();
@@ -7595,27 +7596,27 @@ var ji = class extends wi {
7595
7596
  return !0;
7596
7597
  }
7597
7598
  addItem(e) {
7598
- let t = { ...B(this.schema$.value) }, n = R(t.enum)?.slice() ?? [], r = { ...B(t[K]) }, i = R(r.labels)?.slice() ?? [];
7599
+ let t = { ...V(this.schema$.value) }, n = z(t.enum)?.slice() ?? [], r = { ...V(t[K]) }, i = z(r.labels)?.slice() ?? [];
7599
7600
  for (; i.length < n.length;) i.push("");
7600
- i.splice(e + 1, 0, ""), r.labels = z(i), n.splice(e + 1, 0, ""), t.enum = n, t[K] = r, this.schema$.set(t);
7601
+ i.splice(e + 1, 0, ""), r.labels = B(i), n.splice(e + 1, 0, ""), t.enum = n, t[K] = r, this.schema$.set(t);
7601
7602
  }
7602
7603
  removeItem(e) {
7603
- let t = { ...B(this.schema$.value) }, n = R(t.enum)?.slice() ?? [], r = { ...B(t[K]) }, i = R(r.labels)?.slice() ?? [];
7604
+ let t = { ...V(this.schema$.value) }, n = z(t.enum)?.slice() ?? [], r = { ...V(t[K]) }, i = z(r.labels)?.slice() ?? [];
7604
7605
  for (; i.length < n.length;) i.push("");
7605
- i.splice(e, 1), r.labels = z(i), n.splice(e, 1), t.enum = n, t[K] = r, this.schema$.set(t);
7606
+ i.splice(e, 1), r.labels = B(i), n.splice(e, 1), t.enum = n, t[K] = r, this.schema$.set(t);
7606
7607
  }
7607
7608
  deriveItems() {
7608
7609
  let e = [];
7609
7610
  return a(this.schema$, (t) => {
7610
- let n = R(B(t)?.enum)?.length ?? 0, r = e.slice(0, n);
7611
- for (let e = r.length; e < n; e++) r[e] = new Mi(e, this, this.context);
7611
+ let n = z(V(t)?.enum)?.length ?? 0, r = e.slice(0, n);
7612
+ for (let e = r.length; e < n; e++) r[e] = new Ai(e, this, this.context);
7612
7613
  for (let t = r.length; t < e.length; t++) e[t]?.dispose();
7613
7614
  return e = r, r;
7614
7615
  });
7615
7616
  }
7616
7617
  deriveValue$(e) {
7617
- return l(a(this.schema$, (t) => R(B(t)?.enum)?.[e]), (t) => {
7618
- let n = B(this.schema$.value), r = R(n?.enum);
7618
+ return l(a(this.schema$, (t) => z(V(t)?.enum)?.[e]), (t) => {
7619
+ let n = V(this.schema$.value), r = z(n?.enum);
7619
7620
  if (!Object.is(r?.[e], t)) {
7620
7621
  let i = r?.slice() ?? [];
7621
7622
  i[e] = t, this.schema$.set({
@@ -7626,25 +7627,25 @@ var ji = class extends wi {
7626
7627
  });
7627
7628
  }
7628
7629
  deriveLabel$(e) {
7629
- return l(a(this.schema$, (t) => V(R(B(B(t)?.[K])?.labels)?.[e])), (t) => {
7630
- let n = B(this.schema$.value), r = B(n?.[K]), i = R(r?.labels);
7630
+ return l(a(this.schema$, (t) => H(z(V(V(t)?.[K])?.labels)?.[e])), (t) => {
7631
+ let n = V(this.schema$.value), r = V(n?.[K]), i = z(r?.labels);
7631
7632
  if (!Object.is(i?.[e], t)) {
7632
7633
  let a = i?.slice() ?? [];
7633
7634
  a[e] = t, this.schema$.set({
7634
7635
  ...n,
7635
7636
  [K]: {
7636
7637
  ...r,
7637
- labels: z(a)
7638
+ labels: B(a)
7638
7639
  }
7639
7640
  });
7640
7641
  }
7641
7642
  });
7642
7643
  }
7643
- }, Mi = class {
7644
+ }, Ai = class {
7644
7645
  constructor(e, t, n) {
7645
- this.index = e, this.selectStore = t, this.context = n, this.dispose = P(), this.value$ = this.dispose.add(this.selectStore.deriveValue$(e)), this.label$ = this.dispose.add(this.selectStore.deriveLabel$(e));
7646
+ this.index = e, this.selectStore = t, this.context = n, this.dispose = I(), this.value$ = this.dispose.add(this.selectStore.deriveValue$(e)), this.label$ = this.dispose.add(this.selectStore.deriveLabel$(e));
7646
7647
  }
7647
- }, Ni = class extends wi {
7648
+ }, ji = class extends Si {
7648
7649
  constructor(e, t, n) {
7649
7650
  super(e, t, n), this.items$ = this.dispose.add(this.deriveItems()), this.dispose.add(() => {
7650
7651
  for (let e of this.items$.value) e.dispose();
@@ -7654,30 +7655,30 @@ var ji = class extends wi {
7654
7655
  return !0;
7655
7656
  }
7656
7657
  addItem(e) {
7657
- let t = { ...B(this.schema$.value) }, n = { ...B(t.items) }, r = R(n.enum)?.slice() ?? [], i = { ...B(t[K]) }, a = R(i.labels)?.slice() ?? [];
7658
+ let t = { ...V(this.schema$.value) }, n = { ...V(t.items) }, r = z(n.enum)?.slice() ?? [], i = { ...V(t[K]) }, a = z(i.labels)?.slice() ?? [];
7658
7659
  for (; a.length < r.length;) a.push("");
7659
- a.splice(e + 1, 0, ""), i.labels = z(a), r.splice(e + 1, 0, ""), n.enum = r, t.items = n, t[K] = i, this.schema$.set(t);
7660
+ a.splice(e + 1, 0, ""), i.labels = B(a), r.splice(e + 1, 0, ""), n.enum = r, t.items = n, t[K] = i, this.schema$.set(t);
7660
7661
  }
7661
7662
  removeItem(e) {
7662
- let t = { ...B(this.schema$.value) }, n = { ...B(t.items) }, r = R(n.enum)?.slice() ?? [], i = { ...B(t[K]) }, a = R(i.labels)?.slice() ?? [];
7663
+ let t = { ...V(this.schema$.value) }, n = { ...V(t.items) }, r = z(n.enum)?.slice() ?? [], i = { ...V(t[K]) }, a = z(i.labels)?.slice() ?? [];
7663
7664
  for (; a.length < r.length;) a.push("");
7664
- a.splice(e, 1), i.labels = z(a), r.splice(e, 1), n.enum = r, t.items = n, t[K] = i, this.schema$.set(t);
7665
+ a.splice(e, 1), i.labels = B(a), r.splice(e, 1), n.enum = r, t.items = n, t[K] = i, this.schema$.set(t);
7665
7666
  }
7666
7667
  deriveItems() {
7667
7668
  let e = [];
7668
7669
  return a(this.schema$, (t) => {
7669
- let n = B(t)?.items, r = R(B(n)?.enum)?.length ?? 0, i = e.slice(0, r);
7670
- for (let e = i.length; e < r; e++) i[e] = new Mi(e, this, this.context);
7670
+ let n = V(t)?.items, r = z(V(n)?.enum)?.length ?? 0, i = e.slice(0, r);
7671
+ for (let e = i.length; e < r; e++) i[e] = new Ai(e, this, this.context);
7671
7672
  for (let t = i.length; t < e.length; t++) e[t].dispose();
7672
7673
  return e = i, i;
7673
7674
  });
7674
7675
  }
7675
7676
  deriveValue$(e) {
7676
7677
  return l(a(this.schema$, (t) => {
7677
- let n = B(t)?.items;
7678
- return R(B(n)?.enum)?.[e];
7678
+ let n = V(t)?.items;
7679
+ return z(V(n)?.enum)?.[e];
7679
7680
  }), (t) => {
7680
- let n = B(this.schema$.value), r = B(n?.items), i = R(r?.enum);
7681
+ let n = V(this.schema$.value), r = V(n?.items), i = z(r?.enum);
7681
7682
  if (!Object.is(i?.[e], t)) {
7682
7683
  let a = i?.slice() ?? [];
7683
7684
  a[e] = t, this.schema$.set({
@@ -7691,21 +7692,21 @@ var ji = class extends wi {
7691
7692
  });
7692
7693
  }
7693
7694
  deriveLabel$(e) {
7694
- return l(a(this.schema$, (t) => V(R(B(B(t)?.[K])?.labels)?.[e])), (t) => {
7695
- let n = B(this.schema$.value), r = B(n?.[K]), i = R(r?.labels);
7695
+ return l(a(this.schema$, (t) => H(z(V(V(t)?.[K])?.labels)?.[e])), (t) => {
7696
+ let n = V(this.schema$.value), r = V(n?.[K]), i = z(r?.labels);
7696
7697
  if (!Object.is(i?.[e], t)) {
7697
7698
  let a = i?.slice() ?? [];
7698
7699
  a[e] = t, this.schema$.set({
7699
7700
  ...n,
7700
7701
  [K]: {
7701
7702
  ...r,
7702
- labels: z(a)
7703
+ labels: B(a)
7703
7704
  }
7704
7705
  });
7705
7706
  }
7706
7707
  });
7707
7708
  }
7708
- }, Pi = class extends wi {
7709
+ }, Mi = class extends Si {
7709
7710
  constructor(e, t, n) {
7710
7711
  super(e, t, n), this.fields$ = this.dispose.add(this.deriveFields$());
7711
7712
  }
@@ -7717,9 +7718,9 @@ var ji = class extends wi {
7717
7718
  console.error(/* @__PURE__ */ Error("User can't add object field"));
7718
7719
  return;
7719
7720
  }
7720
- let t = B(this.schema$.value), n = B(t?.properties);
7721
+ let t = V(this.schema$.value), n = V(t?.properties);
7721
7722
  if (n) {
7722
- let r = Object.entries(n), i = (e ? r.findIndex(([t]) => t === e) : -1) + 1, a = U("field", r.map(([e]) => e)), o = i > 0 ? r[i - 1][1] : null;
7723
+ let r = Object.entries(n), i = (e ? r.findIndex(([t]) => t === e) : -1) + 1, a = rt("field", r.map(([e]) => e)), o = i > 0 ? r[i - 1][1] : null;
7723
7724
  r.splice(i, 0, [a, o || q()]), this.schema$.set({
7724
7725
  ...t,
7725
7726
  properties: Object.fromEntries(r)
@@ -7730,7 +7731,7 @@ var ji = class extends wi {
7730
7731
  });
7731
7732
  }
7732
7733
  renameField(e, t) {
7733
- let n = B(this.schema$.value), r = B(n?.properties);
7734
+ let n = V(this.schema$.value), r = V(n?.properties);
7734
7735
  if (r) {
7735
7736
  let i = Object.entries(r), a = i.findIndex(([t]) => t === e);
7736
7737
  a >= 0 && (i[a] = [t, i[a][1]], this.schema$.set({
@@ -7740,7 +7741,7 @@ var ji = class extends wi {
7740
7741
  }
7741
7742
  }
7742
7743
  removeField(e) {
7743
- let t = B(this.schema$.value), n = B(t?.properties);
7744
+ let t = V(this.schema$.value), n = V(t?.properties);
7744
7745
  if (n) {
7745
7746
  let r = Object.entries(n), i = r.findIndex(([t]) => t === e);
7746
7747
  i >= 0 && (r.splice(i, 1), this.schema$.set({
@@ -7752,44 +7753,44 @@ var ji = class extends wi {
7752
7753
  deriveFields$() {
7753
7754
  let e, t = [];
7754
7755
  return a(this.schema$, (n) => {
7755
- let r = B(n?.properties);
7756
+ let r = V(n?.properties);
7756
7757
  if (e === r) return t;
7757
7758
  e = r;
7758
- let i = r ? Object.keys(r).map((e) => t.find((t) => t.name === e) || new Fi(e, this, this.context)) : [];
7759
+ let i = r ? Object.keys(r).map((e) => t.find((t) => t.name === e) || new Ni(e, this, this.context)) : [];
7759
7760
  for (let e of t) r?.[e.name] || e.dispose();
7760
7761
  return t = i, i;
7761
7762
  }, { equal: d });
7762
7763
  }
7763
- }, Fi = class {
7764
+ }, Ni = class {
7764
7765
  constructor(e, t, n) {
7765
- this.dispose = P(), this.name = e, this.context = n, this.path = t.path.append(e), this.schema$ = this.dispose.add(l(a(t.schema$, (t) => t?.properties?.[e]), (n) => {
7766
- let r = B(t.schema$.value);
7766
+ this.dispose = I(), this.name = e, this.context = n, this.path = t.path.append(e), this.schema$ = this.dispose.add(l(a(t.schema$, (t) => t?.properties?.[e]), (n) => {
7767
+ let r = V(t.schema$.value);
7767
7768
  t.schema$.set({
7768
7769
  ...r,
7769
7770
  properties: {
7770
- ...B(r?.properties),
7771
+ ...V(r?.properties),
7771
7772
  [e]: n
7772
7773
  }
7773
7774
  });
7774
- })), this.widget$ = this.dispose.add(Ii(this.path, this.schema$, n));
7775
+ })), this.widget$ = this.dispose.add(Pi(this.path, this.schema$, n));
7775
7776
  }
7776
- }, Ii = (e, t, n) => {
7777
- let r = N(), i = a(t, J), o = a(i, (i) => {
7777
+ }, Pi = (e, t, n) => {
7778
+ let r = P(), i = a(t, J), o = a(i, (i) => {
7778
7779
  let a;
7779
- return a = i === "select" ? new ji(e, t, n) : i === "multiSelect" ? new Ni(e, t, n) : i === "array" ? new Di(e, t, n) : i === "object" ? new Pi(e, t, n) : i === "anyOf" ? new Ti(e, t, n) : new wi(e, t, n), r.set(a);
7780
+ return a = i === "select" ? new ki(e, t, n) : i === "multiSelect" ? new ji(e, t, n) : i === "array" ? new Ti(e, t, n) : i === "object" ? new Mi(e, t, n) : i === "anyOf" ? new Ci(e, t, n) : new Si(e, t, n), r.set(a);
7780
7781
  }), s = o.dispose, c = i.reaction((t) => {
7781
- Oi.has(t) && n.expand(e);
7782
+ Ei.has(t) && n.expand(e);
7782
7783
  });
7783
7784
  return o.dispose = () => {
7784
7785
  c(), s.call(o), r.dispose();
7785
7786
  }, o;
7786
- }, Li = class {
7787
+ }, Fi = class {
7787
7788
  constructor(e, t, n, r) {
7788
7789
  this.schema$ = t, this.expanded$ = n, this.createSchemaEditor = r, this.role = e.role, this.inout = e.inout, this.enableAny = e.enableAny ?? !0, this.restrict$ = e.restrict$;
7789
7790
  }
7790
7791
  deriveExpanded$(e) {
7791
7792
  return l(a(this.expanded$, (t) => t?.[e.key] ?? !1), (t) => {
7792
- let n = B(this.expanded$.value);
7793
+ let n = V(this.expanded$.value);
7793
7794
  if (t) n?.[e.key] || this.expanded$.set({
7794
7795
  ...n,
7795
7796
  [e.key]: !0
@@ -7812,21 +7813,21 @@ var ji = class extends wi {
7812
7813
  get canEditValue() {
7813
7814
  return this.role === "author" || this.role === "user";
7814
7815
  }
7815
- }, Ri = class {
7816
+ }, Ii = class {
7816
7817
  constructor(e, t, n, r, i, a) {
7817
- this.dispose = P(), this.path = En.get(), this.name = e, this.description$ = t, this.displayDescription$ = n, this.context = a, this.schema$ = a.schema$, this.nullable$ = r, this.kind$ = i, this.widget$ = this.dispose.add(Ii(this.path, this.schema$, a));
7818
+ this.dispose = I(), this.path = wn.get(), this.name = e, this.description$ = t, this.displayDescription$ = n, this.context = a, this.schema$ = a.schema$, this.nullable$ = r, this.kind$ = i, this.widget$ = this.dispose.add(Pi(this.path, this.schema$, a));
7818
7819
  }
7819
- }, zi = "primitive";
7820
- function Bi(e) {
7821
- return V(e?.contentMediaType) === Xt.binary ? "bin" : zi;
7820
+ }, Li = "primitive";
7821
+ function Ri(e) {
7822
+ return H(e?.contentMediaType) === Jt.binary ? "bin" : Li;
7822
7823
  }
7823
7824
  //#endregion
7824
7825
  //#region src/designer/browser/stores/nodeHandle/simpleWidget.store.ts
7825
- var Vi = class {
7826
+ var zi = class {
7826
7827
  constructor(e, t, n, r, i) {
7827
- if (this.path = e, this.schema$ = t, this.context = n, this.value$ = r, this.overrideSchema$ = i, this.dispose = P(), this.description$ = this.dispose.add(this.deriveDescription$(this.schema$)), this.descCollapsed$ = this.dispose.add(s(!this.description$.value)), this.schemaWidgetType$ = this.dispose.add(a(this.schema$, J)), this.overrideWidgetType$ = this.dispose.add(a(this.overrideSchema$, (e) => J(e?.schema))), this.widgetType$ = this.dispose.add(u([this.schemaWidgetType$, this.overrideWidgetType$], ([e, t]) => tn(e) ? t : e)), this.hasSubpanel$ = this.dispose.add(c((e) => {
7828
+ if (this.path = e, this.schema$ = t, this.context = n, this.value$ = r, this.overrideSchema$ = i, this.dispose = I(), this.description$ = this.dispose.add(this.deriveDescription$(this.schema$)), this.descCollapsed$ = this.dispose.add(s(!this.description$.value)), this.schemaWidgetType$ = this.dispose.add(a(this.schema$, J)), this.overrideWidgetType$ = this.dispose.add(a(this.overrideSchema$, (e) => J(e?.schema))), this.widgetType$ = this.dispose.add(u([this.schemaWidgetType$, this.overrideWidgetType$], ([e, t]) => $t(e) ? t : e)), this.hasSubpanel$ = this.dispose.add(c((e) => {
7828
7829
  let t = this.context.restrict$ != null && e(this.context.restrict$) != null;
7829
- return Hi(this.context, e(this.widgetType$), e(this.schema$), t);
7830
+ return Bi(this.context, e(this.widgetType$), e(this.schema$), t);
7830
7831
  })), r) {
7831
7832
  let e = {};
7832
7833
  this.dispose.add([r.subscribe((t) => {
@@ -7852,33 +7853,33 @@ var Vi = class {
7852
7853
  return !1;
7853
7854
  }
7854
7855
  deriveDescription$(e) {
7855
- return l(a(e, (e) => V(B(e)?.description)), (t) => {
7856
- x(e.value) && e.set({
7856
+ return l(a(e, (e) => H(V(e)?.description)), (t) => {
7857
+ _(e.value) && e.set({
7857
7858
  ...e.value,
7858
7859
  description: t
7859
7860
  });
7860
7861
  });
7861
7862
  }
7862
7863
  };
7863
- function Hi(e, t, n, r) {
7864
- let i = B(n), a = J(i);
7864
+ function Bi(e, t, n, r) {
7865
+ let i = V(n), a = J(i);
7865
7866
  if (t == "object") {
7866
7867
  if (!r && e.canEditSchema || a == "any") return !0;
7867
- let t = B(i?.properties), n = t != null && Object.keys(t).length > 0;
7868
+ let t = V(i?.properties), n = t != null && Object.keys(t).length > 0;
7868
7869
  return e.inout == "in" ? n || i?.additionalProperties !== !1 : n;
7869
7870
  }
7870
7871
  return e.inout == "in" && (t == "text" || t == "array" || i?.anyOf != null || i?.allOf != null || i?.oneOf != null);
7871
7872
  }
7872
7873
  //#endregion
7873
7874
  //#region src/designer/browser/stores/nodeHandle/anyOfWidget.store.ts
7874
- var Ui = class extends Vi {
7875
+ var Vi = class extends zi {
7875
7876
  constructor(e, t, n, r, i) {
7876
- super(e, t, n, r, i), this.selected$ = this.dispose.add(l(a(this.overrideSchema$, (e) => H(B(B(e)?.[K])?.selected)), (e) => {
7877
+ super(e, t, n, r, i), this.selected$ = this.dispose.add(l(a(this.overrideSchema$, (e) => U(V(V(e)?.[K])?.selected)), (e) => {
7877
7878
  e ? f(this.overrideSchema$, {
7878
- ...B(this.overrideSchema$.value),
7879
+ ...V(this.overrideSchema$.value),
7879
7880
  path: this.path,
7880
7881
  [K]: {
7881
- ...B(B(this.overrideSchema$.value)?.[K]),
7882
+ ...V(V(this.overrideSchema$.value)?.[K]),
7882
7883
  selected: e
7883
7884
  }
7884
7885
  }) : f(this.overrideSchema$, void 0);
@@ -7886,16 +7887,16 @@ var Ui = class extends Vi {
7886
7887
  this.schemaWidgetType$,
7887
7888
  this.schema$,
7888
7889
  this.selected$
7889
- ], ([e, t, n]) => R(B(t)?.[e])?.[n || 0]), (e) => {
7890
- let t = R(B(this.schema$.value)?.[this.schemaWidgetType$.value]) || [];
7890
+ ], ([e, t, n]) => z(V(t)?.[e])?.[n || 0]), (e) => {
7891
+ let t = z(V(this.schema$.value)?.[this.schemaWidgetType$.value]) || [];
7891
7892
  f(this.schema$, {
7892
- ...B(this.schema$.value),
7893
+ ...V(this.schema$.value),
7893
7894
  [this.schemaWidgetType$.value]: t.toSpliced(this.selected$.value || 0, 1, e)
7894
7895
  });
7895
7896
  }));
7896
- let o = this.dispose.add(N()), s;
7897
+ let o = this.dispose.add(P()), s;
7897
7898
  if (this.condition$ = this.dispose.add(u([this.selected$, this.selectedSchema$], ([e = 0, t]) => {
7898
- if (t) return s?.selected === e ? s : (s = new Wi(e, this.selectedSchema$, this, this.context), o.set(s));
7899
+ if (t) return s?.selected === e ? s : (s = new Hi(e, this.selectedSchema$, this, this.context), o.set(s));
7899
7900
  })), r) {
7900
7901
  let e = {};
7901
7902
  this.dispose.add([r.subscribe((t) => {
@@ -7908,13 +7909,13 @@ var Ui = class extends Vi {
7908
7909
  isAnyOf() {
7909
7910
  return !0;
7910
7911
  }
7911
- }, Wi = class {
7912
+ }, Hi = class {
7912
7913
  constructor(e, t, n, r) {
7913
- this.dispose = P(), this.selected = e, this.schema$ = t, this.context = r, this.value$ = n.value$, this.overrideSchema$ = n.overrideSchema$, this.widget$ = this.dispose.add(Yi(n.path, this.schema$, r, this.value$, this.overrideSchema$));
7914
+ this.dispose = I(), this.selected = e, this.schema$ = t, this.context = r, this.value$ = n.value$, this.overrideSchema$ = n.overrideSchema$, this.widget$ = this.dispose.add(qi(n.path, this.schema$, r, this.value$, this.overrideSchema$));
7914
7915
  }
7915
- }, Gi = class extends Vi {
7916
+ }, Ui = class extends zi {
7916
7917
  constructor(e, t, n, r, i) {
7917
- super(e, t, n, r, i), this.itemsSchema$ = this.dispose.add(l(a(t, (e) => B(e)?.items), W(t, "items"))), this.itemsWidgetType$ = this.dispose.add(a(this.itemsSchema$, (e) => J(e))), r && (this.items$ = this.dispose.add(this.deriveItems(r)), this.dispose.add(() => {
7918
+ super(e, t, n, r, i), this.itemsSchema$ = this.dispose.add(l(a(t, (e) => V(e)?.items), W(t, "items"))), this.itemsWidgetType$ = this.dispose.add(a(this.itemsSchema$, (e) => J(e))), r && (this.items$ = this.dispose.add(this.deriveItems(r)), this.dispose.add(() => {
7918
7919
  for (let e of this.items$.value) e.dispose();
7919
7920
  }));
7920
7921
  }
@@ -7923,7 +7924,7 @@ var Ui = class extends Vi {
7923
7924
  }
7924
7925
  addItem(e) {
7925
7926
  if (this.value$) {
7926
- let t = R(this.value$.value), n = en(J(this.itemsSchema$.value));
7927
+ let t = z(this.value$.value), n = Qt(J(this.itemsSchema$.value));
7927
7928
  if (t) {
7928
7929
  this.context.duplicateSchemaOverrideItem(this.path.append(e));
7929
7930
  let r = t.toSpliced(e + 1, 0, n);
@@ -7933,7 +7934,7 @@ var Ui = class extends Vi {
7933
7934
  }
7934
7935
  removeItem(e) {
7935
7936
  if (this.context.removeSchemaOverrideItem(this.path.append(e)), this.value$) {
7936
- let t = R(this.value$.value);
7937
+ let t = z(this.value$.value);
7937
7938
  f(this.value$, t ? t.toSpliced(e, 1) : []);
7938
7939
  }
7939
7940
  }
@@ -7941,27 +7942,27 @@ var Ui = class extends Vi {
7941
7942
  let t = [];
7942
7943
  return a(e, (e) => {
7943
7944
  let n = Array.isArray(e) ? e.length : 0, r = t.slice(0, n);
7944
- for (let e = r.length; e < n; e++) r[e] = new Ki(e, this, this.context);
7945
+ for (let e = r.length; e < n; e++) r[e] = new Wi(e, this, this.context);
7945
7946
  for (let e = r.length; e < t.length; e++) t[e]?.dispose();
7946
7947
  return t = r, r;
7947
7948
  });
7948
7949
  }
7949
- }, Ki = class {
7950
+ }, Wi = class {
7950
7951
  constructor(e, t, n) {
7951
- this.dispose = P(), this.index = e, this.context = n, this.path = t.path.append(e);
7952
+ this.dispose = I(), this.index = e, this.context = n, this.path = t.path.append(e);
7952
7953
  let r = t.value$;
7953
- r && (this.value$ = this.dispose.add(l(a(r, (t) => R(t)?.[e]), (t) => {
7954
- let n = R(r.value);
7954
+ r && (this.value$ = this.dispose.add(l(a(r, (t) => z(t)?.[e]), (t) => {
7955
+ let n = z(r.value);
7955
7956
  if (!Object.is(n?.[e], t)) {
7956
7957
  let i = n?.slice() ?? [];
7957
7958
  i[e] = t, r.set(i);
7958
7959
  }
7959
- }))), this.schema$ = t.itemsSchema$, this.overrideSchema$ = this.dispose.add(this.context.deriveSchemaOverrideItem$(this.path)), this.widget$ = this.dispose.add(Yi(this.path, this.schema$, n, this.value$, this.overrideSchema$));
7960
+ }))), this.schema$ = t.itemsSchema$, this.overrideSchema$ = this.dispose.add(this.context.deriveSchemaOverrideItem$(this.path)), this.widget$ = this.dispose.add(qi(this.path, this.schema$, n, this.value$, this.overrideSchema$));
7960
7961
  }
7961
- }, qi = class extends Vi {
7962
+ }, Gi = class extends zi {
7962
7963
  constructor(e, t, n, r, i) {
7963
7964
  super(e, t, n, r, i), this.allowsUntypedFields$ = this.dispose.add(a(this.schema$, (e) => {
7964
- let t = B(e);
7965
+ let t = V(e);
7965
7966
  return J(e) == "object" && t?.additionalProperties !== !1;
7966
7967
  })), this.fixedFields$ = this.dispose.add(this.deriveFixedFields$()), this.overrideFields$ = this.dispose.add(this.deriveOverrideFields$()), this.untypedFields$ = r == null ? void 0 : this.dispose.add(this.deriveUntypedFields$(r)), this.fieldNames$ = this.dispose.add(this.untypedFields$ ? u([
7967
7968
  this.fixedFields$,
@@ -7985,7 +7986,7 @@ var Ui = class extends Vi {
7985
7986
  console.error(/* @__PURE__ */ Error("User can't add fixed field"));
7986
7987
  return;
7987
7988
  }
7988
- let t = B(this.schema$.value), n = B(t?.properties), r = U("field", this.fieldNames$.value);
7989
+ let t = V(this.schema$.value), n = V(t?.properties), r = rt("field", this.fieldNames$.value);
7989
7990
  if (n) {
7990
7991
  let i = Object.keys(n), a = {}, o;
7991
7992
  for (let t = 0; t < e; t++) o = a[i[t]] = n[i[t]];
@@ -8000,7 +8001,7 @@ var Ui = class extends Vi {
8000
8001
  properties: { [r]: q() }
8001
8002
  });
8002
8003
  if (this.value$) {
8003
- let e = B(this.value$.value);
8004
+ let e = V(this.value$.value);
8004
8005
  e ? this.value$.set({
8005
8006
  ...e,
8006
8007
  [r]: void 0
@@ -8008,12 +8009,12 @@ var Ui = class extends Vi {
8008
8009
  }
8009
8010
  }
8010
8011
  addOverrideField(e) {
8011
- let t = e > 0 ? this.overrideFields$.value[e - 1] : null, n = U("field", this.fieldNames$.value);
8012
+ let t = e > 0 ? this.overrideFields$.value[e - 1] : null, n = rt("field", this.fieldNames$.value);
8012
8013
  if (this.context.addSchemaOverrideItem({
8013
8014
  path: this.path.append(n),
8014
8015
  schema: t?.schema$.value || q()
8015
8016
  }, e), this.value$) {
8016
- let e = B(this.value$.value);
8017
+ let e = V(this.value$.value);
8017
8018
  e ? this.value$.set({
8018
8019
  ...e,
8019
8020
  [n]: void 0
@@ -8022,7 +8023,7 @@ var Ui = class extends Vi {
8022
8023
  }
8023
8024
  addUntypedField() {
8024
8025
  if (this.value$ == null) return;
8025
- let e = B(this.value$.value) ?? {}, t = U("field", this.fieldNames$.value);
8026
+ let e = V(this.value$.value) ?? {}, t = rt("field", this.fieldNames$.value);
8026
8027
  this.value$.set({
8027
8028
  ...e,
8028
8029
  [t]: void 0
@@ -8032,7 +8033,7 @@ var Ui = class extends Vi {
8032
8033
  this.context.role === "author" && e === "fixed" && !this.context.restrict$?.value ? this.addFixedField(t + 1) : e === "untyped" ? this.addUntypedField() : this.addOverrideField(e === "override" ? t + 1 : 0);
8033
8034
  }
8034
8035
  renameField(e, t) {
8035
- let n = B(this.schema$.value), r = B(n?.properties);
8036
+ let n = V(this.schema$.value), r = V(n?.properties);
8036
8037
  if (r) {
8037
8038
  let i = Object.entries(r), a = i.findIndex(([t]) => t === e);
8038
8039
  a >= 0 && (i[a] = [t, i[a][1]], this.schema$.set({
@@ -8049,7 +8050,7 @@ var Ui = class extends Vi {
8049
8050
  }));
8050
8051
  }
8051
8052
  if (this.value$) {
8052
- let n = B(this.value$.value);
8053
+ let n = V(this.value$.value);
8053
8054
  if (n) {
8054
8055
  let r = Object.entries(n), i = r.findIndex(([t]) => t === e);
8055
8056
  i >= 0 && (r[i] = [t, r[i][1]], this.value$.set(Object.fromEntries(r)));
@@ -8062,7 +8063,7 @@ var Ui = class extends Vi {
8062
8063
  }
8063
8064
  }
8064
8065
  removeField(e) {
8065
- let t = B(this.schema$.value), n = t?.properties;
8066
+ let t = V(this.schema$.value), n = t?.properties;
8066
8067
  if (n) {
8067
8068
  let r = Object.entries(n), i = r.findIndex((t) => t[0] === e);
8068
8069
  i >= 0 && this.schema$.set({
@@ -8071,7 +8072,7 @@ var Ui = class extends Vi {
8071
8072
  });
8072
8073
  }
8073
8074
  this.context.removeSchemaOverrideItem(this.path.append(e));
8074
- let r = B(this.value$?.value);
8075
+ let r = V(this.value$?.value);
8075
8076
  if (r) {
8076
8077
  let t = { ...r };
8077
8078
  delete t[e], this.value$?.set(t);
@@ -8088,10 +8089,10 @@ var Ui = class extends Vi {
8088
8089
  deriveFixedFields$() {
8089
8090
  let e, t = [];
8090
8091
  return a(this.schema$, (n) => {
8091
- let r = B(n?.properties);
8092
+ let r = V(n?.properties);
8092
8093
  if (e === r) return t;
8093
8094
  e = r;
8094
- let i = r ? Object.keys(r).map((e) => t.find((t) => t.name === e) || new Ji(e, this, this.context)) : [];
8095
+ let i = r ? Object.keys(r).map((e) => t.find((t) => t.name === e) || new Ki(e, this, this.context)) : [];
8095
8096
  for (let e of t) r?.[e.name] || e.dispose();
8096
8097
  return t = i, i;
8097
8098
  }, { equal: d });
@@ -8101,10 +8102,10 @@ var Ui = class extends Vi {
8101
8102
  return u([this.context.schemaOverrides$, this.schema$], ([t, n]) => {
8102
8103
  let r = [];
8103
8104
  if (t) {
8104
- let i = B(B(n)?.properties);
8105
+ let i = V(V(n)?.properties);
8105
8106
  for (let n of t) if (this.path.matchChild(n.path)) {
8106
8107
  let t = n.path.last();
8107
- v(t) && !i?.[t] && r.push(e?.find((e) => e.name === t) ?? new Ji(t, this, this.context, "override"));
8108
+ h(t) && !i?.[t] && r.push(e?.find((e) => e.name === t) ?? new Ki(t, this, this.context, "override"));
8108
8109
  }
8109
8110
  }
8110
8111
  if (e) for (let t of e) r.some((e) => e.name === t.name) || t.dispose();
@@ -8118,33 +8119,33 @@ var Ui = class extends Vi {
8118
8119
  this.schema$,
8119
8120
  this.context.schemaOverrides$
8120
8121
  ], ([e, n, r]) => {
8121
- let i = B(n), a = B(i?.properties), o = /* @__PURE__ */ new Set();
8122
+ let i = V(n), a = V(i?.properties), o = /* @__PURE__ */ new Set();
8122
8123
  for (let e of r ?? []) {
8123
8124
  if (!this.path.matchChild(e.path)) continue;
8124
8125
  let t = e.path.last();
8125
- v(t) && o.add(t);
8126
+ h(t) && o.add(t);
8126
8127
  }
8127
- let s = i?.additionalProperties === !1 ? void 0 : B(e), c = s == null ? [] : Object.keys(s).filter((e) => a?.[e] == null && !o.has(e)).map((e) => t.find((t) => t.name === e) ?? new Ji(e, this, this.context, "untyped"));
8128
+ let s = i?.additionalProperties === !1 ? void 0 : V(e), c = s == null ? [] : Object.keys(s).filter((e) => a?.[e] == null && !o.has(e)).map((e) => t.find((t) => t.name === e) ?? new Ki(e, this, this.context, "untyped"));
8128
8129
  for (let e of t) c.some((t) => t.name === e.name) || e.dispose();
8129
8130
  return t = c, c;
8130
8131
  }, { equal: d });
8131
8132
  }
8132
- }, Ji = class {
8133
+ }, Ki = class {
8133
8134
  constructor(e, t, n, r = "fixed") {
8134
- this.dispose = P(), this.name = e, this.context = n, this.path = t.path.append(e), t.value$ && (this.value$ = this.dispose.add(l(a(t.value$, (t) => B(t)?.[e]), (n) => t.setField(e, n)))), this.schema$ = this.dispose.add(l(a(t.schema$, (t) => {
8135
+ this.dispose = I(), this.name = e, this.context = n, this.path = t.path.append(e), t.value$ && (this.value$ = this.dispose.add(l(a(t.value$, (t) => V(t)?.[e]), (n) => t.setField(e, n)))), this.schema$ = this.dispose.add(l(a(t.schema$, (t) => {
8135
8136
  let n = t;
8136
8137
  return r === "untyped" ? n?.additionalProperties === !0 ? void 0 : n?.additionalProperties : n?.properties?.[e];
8137
8138
  }), (n) => {
8138
8139
  if (r === "untyped") return;
8139
- let i = B(t.schema$.value);
8140
+ let i = V(t.schema$.value);
8140
8141
  t.schema$.set({
8141
8142
  ...i,
8142
8143
  properties: {
8143
- ...B(i?.properties),
8144
+ ...V(i?.properties),
8144
8145
  [e]: n
8145
8146
  }
8146
8147
  });
8147
- })), this.overrideSchema$ = this.dispose.add(n.deriveSchemaOverrideItem$(this.path)), this.widget$ = this.dispose.add(Yi(this.path, this.schema$, n, this.value$, this.overrideSchema$));
8148
+ })), this.overrideSchema$ = this.dispose.add(n.deriveSchemaOverrideItem$(this.path)), this.widget$ = this.dispose.add(qi(this.path, this.schema$, n, this.value$, this.overrideSchema$));
8148
8149
  }
8149
8150
  setSchema(e, t) {
8150
8151
  if (e === "fixed") this.schema$.set(t);
@@ -8156,15 +8157,15 @@ var Ui = class extends Vi {
8156
8157
  schema: t
8157
8158
  });
8158
8159
  }
8159
- B(t)?.type === "null" && this.value$?.set(null);
8160
+ V(t)?.type === "null" && this.value$?.set(null);
8160
8161
  }
8161
- }, Yi = (e, t, n, r, i) => {
8162
- let o = N(), s = u([t, i], ([e, t]) => {
8162
+ }, qi = (e, t, n, r, i) => {
8163
+ let o = P(), s = u([t, i], ([e, t]) => {
8163
8164
  let n = J(e), r = J(t?.schema);
8164
8165
  return n === "any" ? r : n;
8165
8166
  }), c = a(s, (a) => {
8166
8167
  let s;
8167
- return s = a === "anyOf" ? new Ui(e, t, n, r, i) : a === "object" ? new qi(e, t, n, r, i) : a === "array" ? new Gi(e, t, n, r, i) : new Vi(e, t, n, r, i), o.set(s);
8168
+ return s = a === "anyOf" ? new Vi(e, t, n, r, i) : a === "object" ? new Gi(e, t, n, r, i) : a === "array" ? new Ui(e, t, n, r, i) : new zi(e, t, n, r, i), o.set(s);
8168
8169
  }), l = c.dispose;
8169
8170
  return c.dispose = () => {
8170
8171
  l.call(c), s.dispose(), o.dispose();
@@ -8174,20 +8175,20 @@ var Ui = class extends Vi {
8174
8175
  return t instanceof e;
8175
8176
  }
8176
8177
  constructor(e, t, n, r, i, o, d, f, p, m) {
8177
- if (this.dispose = P(), this.name = e, this.context = p, this.path = En.get(), this.value$ = m, this.schema$ = p.schema$, this.restrict$ = p.restrict$, this.restrict$ && this.dispose.add(this.restrict$), this.schemaKind$ = i, this.description$ = t, this.displayDescription$ = n, this.reference$ = o, this.nullable$ = d, this.showSettings$ = f, this.restrict$) {
8178
+ if (this.dispose = I(), this.name = e, this.context = p, this.path = wn.get(), this.value$ = m, this.schema$ = p.schema$, this.restrict$ = p.restrict$, this.restrict$ && this.dispose.add(this.restrict$), this.schemaKind$ = i, this.description$ = t, this.displayDescription$ = n, this.reference$ = o, this.nullable$ = d, this.showSettings$ = f, this.restrict$) {
8178
8179
  let e = this.schema$;
8179
8180
  this.schema$ = this.dispose.add(l(u([e, this.restrict$], ([e, t]) => t ? t.json_schema : e), (t) => this.restrict$?.value || e.set(t)));
8180
8181
  let t = this.nullable$;
8181
- this.nullable$ = this.dispose.add(l(u([t, this.restrict$], ([e, t]) => t ? it(t.nullable) : e), (e) => this.restrict$?.value || t.set(e)));
8182
+ this.nullable$ = this.dispose.add(l(u([t, this.restrict$], ([e, t]) => t ? tt(t.nullable) : e), (e) => this.restrict$?.value || t.set(e)));
8182
8183
  let n = this.schemaKind$;
8183
8184
  this.schemaKind$ = this.dispose.add(l(u([n, this.restrict$], ([e, t]) => t ? t.kind : e), (e) => this.restrict$?.value || n.set(e)));
8184
8185
  }
8185
- if (this.error$ = this.dispose.add(s()), this.kind$ = this.dispose.add(a(this.schema$, Bi)), this.lang$ = r, this.overrideSchema$ = this.dispose.add(this.context.deriveSchemaOverrideItem$(this.path)), this.widget$ = this.dispose.add(Yi(this.path, this.schema$, p, this.value$, this.overrideSchema$)), this.dispose.add(this.context.onRequestOpenSchemaEditor(() => this.showSettings$.set(!this.showSettings$.value))), this.value$) {
8186
+ if (this.error$ = this.dispose.add(s()), this.kind$ = this.dispose.add(a(this.schema$, Ri)), this.lang$ = r, this.overrideSchema$ = this.dispose.add(this.context.deriveSchemaOverrideItem$(this.path)), this.widget$ = this.dispose.add(qi(this.path, this.schema$, p, this.value$, this.overrideSchema$)), this.dispose.add(this.context.onRequestOpenSchemaEditor(() => this.showSettings$.set(!this.showSettings$.value))), this.value$) {
8186
8187
  let e;
8187
8188
  this.dispose.add(this.schema$.subscribe((t) => {
8188
8189
  e != null && cancelIdleCallback(e), e = requestIdleCallback(() => {
8189
8190
  e = void 0;
8190
- let [n, r] = Si(t);
8191
+ let [n, r] = bi(t);
8191
8192
  this.error$.set(r && {
8192
8193
  type: "validationError",
8193
8194
  message: r + ""
@@ -8195,18 +8196,18 @@ var Ui = class extends Vi {
8195
8196
  });
8196
8197
  })), this.dispose.add(() => {
8197
8198
  e != null && cancelIdleCallback(e);
8198
- }), this.dispose.add(this.value$.subscribe(() => this.validate(!0))), this.dispose.add(this.nullable$.subscribe(() => this.validate(!1))), this.dispose.add(c((e) => !!(nn(J(e(this.schema$))) && nn(J(e(this.overrideSchema$)?.schema)) && on(e(this.value$)) === "array")).subscribe((e) => {
8199
+ }), this.dispose.add(this.value$.subscribe(() => this.validate(!0))), this.dispose.add(this.nullable$.subscribe(() => this.validate(!1))), this.dispose.add(c((e) => !!(en(J(e(this.schema$))) && en(J(e(this.overrideSchema$)?.schema)) && rn(e(this.value$)) === "array")).subscribe((e) => {
8199
8200
  e && this.overrideSchema$.set({
8200
8201
  ...this.overrideSchema$.value,
8201
8202
  path: this.path,
8202
- schema: Qt("array")
8203
+ schema: Xt("array")
8203
8204
  });
8204
8205
  }));
8205
8206
  }
8206
8207
  }
8207
8208
  get schemaRowStore() {
8208
8209
  if (this.schemaRowStoreCache) return this.schemaRowStoreCache;
8209
- let e = new Li(this.context, this.schema$, s(cn(this.schema$.value) <= 3 ? { "[]": !0 } : void 0), this.context.createSchemaEditor), t = new Ri(this.name, this.description$, this.displayDescription$, this.nullable$, this.schemaKind$, e);
8210
+ let e = new Fi(this.context, this.schema$, s(on(this.schema$.value) <= 3 ? { "[]": !0 } : void 0), this.context.createSchemaEditor), t = new Ii(this.name, this.description$, this.displayDescription$, this.nullable$, this.schemaKind$, e);
8210
8211
  return this.schemaRowStoreCache = this.dispose.add(t);
8211
8212
  }
8212
8213
  validate(e) {
@@ -8220,7 +8221,7 @@ var Ui = class extends Vi {
8220
8221
  this.error$.set(void 0);
8221
8222
  return;
8222
8223
  }
8223
- let t = J(this.schema$.value), n = an(t), r = on(e);
8224
+ let t = J(this.schema$.value), n = nn(t), r = rn(e);
8224
8225
  if (n ? n !== r : e === void 0) {
8225
8226
  this.error$.set({ type: "typeError" });
8226
8227
  return;
@@ -8232,16 +8233,16 @@ var Ui = class extends Vi {
8232
8233
  });
8233
8234
  return;
8234
8235
  }
8235
- let i = Ci(this.validateFn, this.value$.value, this.lang$.value);
8236
+ let i = xi(this.validateFn, this.value$.value, this.lang$.value);
8236
8237
  i && i.length > 0 ? this.error$.set({
8237
8238
  type: "validationError",
8238
- message: xi.errorsText(i)
8239
+ message: yi.errorsText(i)
8239
8240
  }) : this.error$.set(void 0);
8240
8241
  }
8241
8242
  }
8242
- }, Xi = class {
8243
+ }, Ji = class {
8243
8244
  constructor(e, t, n, r, i, o, s) {
8244
- this.schema$ = t, this.schemaOverrides$ = n, this.defaultValue$ = r, this.collapsed$ = i, this.height$ = o, this.createSchemaEditor = s, this.onRequestOpenSchemaEditor = /*#__PURE__*/ xe(), this.role = e.role, this.inout = e.inout, this.handlePosition = e.handlePosition, this.enableAny = e.enableAny ?? !0, this.additional = e.additional ?? !1, this.enableSchemaDesc = this.additional && this.inout === "out", this.userLocales = e.userLocales, this.restrict$ = e.restrict && a(e.restrict, (e) => B(e));
8245
+ this.schema$ = t, this.schemaOverrides$ = n, this.defaultValue$ = r, this.collapsed$ = i, this.height$ = o, this.createSchemaEditor = s, this.onRequestOpenSchemaEditor = /*#__PURE__*/ _e(), this.role = e.role, this.inout = e.inout, this.handlePosition = e.handlePosition, this.enableAny = e.enableAny ?? !0, this.additional = e.additional ?? !1, this.enableSchemaDesc = this.additional && this.inout === "out", this.userLocales = e.userLocales, this.restrict$ = e.restrict && a(e.restrict, (e) => V(e));
8245
8246
  }
8246
8247
  get canEditSchema() {
8247
8248
  return this.role === "author";
@@ -8253,7 +8254,7 @@ var Ui = class extends Vi {
8253
8254
  return !0;
8254
8255
  }
8255
8256
  requestOpenSchemaEditor() {
8256
- Se(this.onRequestOpenSchemaEditor);
8257
+ ve(this.onRequestOpenSchemaEditor);
8257
8258
  }
8258
8259
  coalesceSchemaOverrideItems(e) {
8259
8260
  let t = this.schemaOverrides$.value;
@@ -8267,7 +8268,7 @@ var Ui = class extends Vi {
8267
8268
  if (t) {
8268
8269
  let n = {};
8269
8270
  for (let r in t) {
8270
- let i = En.fromKey(r);
8271
+ let i = wn.fromKey(r);
8271
8272
  i.equals(e) || i.isInside(e) || (n[r] = t[r]);
8272
8273
  }
8273
8274
  Object.keys(n).length < Object.keys(t).length && this.collapsed$.set(n);
@@ -8283,7 +8284,7 @@ var Ui = class extends Vi {
8283
8284
  return;
8284
8285
  }
8285
8286
  let n = this.schemaOverrides$.value, r = -1;
8286
- if (Ae(t)) {
8287
+ if (De(t)) {
8287
8288
  let i = 0;
8288
8289
  for (let a = 0; a < n.length; a++) if (n[a].path.length === e.path.length && (i++, i >= t)) {
8289
8290
  r = t === 0 ? a : a + 1;
@@ -8353,38 +8354,38 @@ var Ui = class extends Vi {
8353
8354
  });
8354
8355
  }
8355
8356
  deriveCollapsed$(e) {
8356
- return l(a(this.collapsed$, (t) => t?.[e.key] ?? !1), ot(this.collapsed$, e.key));
8357
+ return l(a(this.collapsed$, (t) => t?.[e.key] ?? !1), it(this.collapsed$, e.key));
8357
8358
  }
8358
8359
  deriveHeight$(e) {
8359
- return l(a(this.height$, (t) => t?.[e.key]), ot(this.height$, e.key));
8360
+ return l(a(this.height$, (t) => t?.[e.key]), it(this.height$, e.key));
8360
8361
  }
8361
8362
  };
8362
8363
  //#endregion
8363
8364
  //#region src/designer/browser/stores/node/constants.ts
8364
- function Zi(e, t) {
8365
+ function Yi(e, t) {
8365
8366
  return e.handle == null ? t.handle == null && e.group === t.group : e.handle === t.handle;
8366
8367
  }
8367
- function Qi(e) {
8368
+ function Xi(e) {
8368
8369
  return e.handle != null;
8369
8370
  }
8370
- function $i(e) {
8371
+ function Zi(e) {
8371
8372
  return e.handle == null;
8372
8373
  }
8373
- var ea = /* @__PURE__ */ function(e) {
8374
+ var Qi = /* @__PURE__ */ function(e) {
8374
8375
  return e.ErrorNode = "error_node", e.InputNode = "input_node", e.OutputNode = "output_node", e.TaskNode = "task_node", e.SubflowNode = "subflow_node", e.ValueNode = "value_node", e.ConditionNode = "condition_node", e.CommentNode = "comment_node", e.TriggerNode = "trigger_node", e;
8375
- }({}), ta = (e) => e == "task_node" || e == "value_node" || e == "subflow_node" || e == "condition_node" || e == "trigger_node" || e == "error_node", na = (e) => e == "input_node" || e == "output_node", ra = /* @__PURE__ */ function(e) {
8376
+ }({}), $i = (e) => e == "task_node" || e == "value_node" || e == "subflow_node" || e == "condition_node" || e == "trigger_node" || e == "error_node", ea = (e) => e == "input_node" || e == "output_node", ta = /* @__PURE__ */ function(e) {
8376
8377
  return e.Idle = "idle", e.Waiting = "waiting", e.Running = "running", e.Success = "success", e.Error = "error", e;
8377
- }({}), ia = "oo-designer-fitting-view", aa = "input", oa = "output";
8378
+ }({}), na = "oo-designer-fitting-view", ra = "input", ia = "output";
8378
8379
  //#endregion
8379
8380
  //#region src/designer/browser/stores/node/nodeSection/cloneLocales.ts
8380
- function sa(e, t, n) {
8381
+ function aa(e, t, n) {
8381
8382
  if (!e) return e;
8382
- let r = pt(e);
8383
+ let r = dt(e);
8383
8384
  if (!r || t && n && t === n) return e;
8384
8385
  if (!t || !n) return;
8385
8386
  let i = t.en.value, a = t["zh-CN"].value;
8386
8387
  if (!i[r] && !a[r]) return;
8387
- let o = _t(_t(r, n.en.value), n["zh-CN"].value);
8388
+ let o = ht(ht(r, n.en.value), n["zh-CN"].value);
8388
8389
  if (i[r]) {
8389
8390
  let e = n.en;
8390
8391
  e.set({
@@ -8403,60 +8404,60 @@ function sa(e, t, n) {
8403
8404
  }
8404
8405
  //#endregion
8405
8406
  //#region src/designer/browser/stores/node/nodeSection/constants.ts
8406
- var ca = "inputs", la = "outputs", ua = "value", da = "preview", fa = "scriptlet", pa = "subflowInput", ma = "subflowOutput", ha = "conditions", ga = "trigger", _a = [pa, ma], va = [ca, ma], ya = [
8407
- la,
8408
- ua,
8409
- pa,
8410
- ha
8411
- ], ba = [
8412
- la,
8413
- ua,
8414
- pa,
8415
- ha
8416
- ], xa = [ca, ma];
8407
+ var oa = "inputs", sa = "outputs", ca = "value", la = "preview", ua = "scriptlet", da = "subflowInput", fa = "subflowOutput", pa = "conditions", ma = "trigger", ha = [da, fa], ga = [oa, fa], _a = [
8408
+ sa,
8409
+ ca,
8410
+ da,
8411
+ pa
8412
+ ], va = [
8413
+ sa,
8414
+ ca,
8415
+ da,
8416
+ pa
8417
+ ], ya = [oa, fa];
8417
8418
  //#endregion
8418
8419
  //#region src/designer/browser/stores/node/nodeSection/parse.ts
8419
- function Sa(e) {
8420
- if (x(e)) {
8421
- for (let t of Object.values(e)) if (h(t)) {
8422
- if (!x(t)) return;
8423
- for (let e of Object.values(t)) if (h(e) && !_(e)) return;
8420
+ function ba(e) {
8421
+ if (_(e)) {
8422
+ for (let t of Object.values(e)) if (b(t)) {
8423
+ if (!_(t)) return;
8424
+ for (let e of Object.values(t)) if (b(e) && !v(e)) return;
8424
8425
  }
8425
8426
  return e;
8426
8427
  }
8427
8428
  }
8428
- function Ca(e) {
8429
- if (x(e)) {
8430
- for (let t of Object.values(e)) if (h(t)) {
8431
- if (!x(t)) return;
8432
- for (let e of Object.values(t)) if (h(e) && typeof e != "number") return;
8429
+ function xa(e) {
8430
+ if (_(e)) {
8431
+ for (let t of Object.values(e)) if (b(t)) {
8432
+ if (!_(t)) return;
8433
+ for (let e of Object.values(t)) if (b(e) && typeof e != "number") return;
8433
8434
  }
8434
8435
  return e;
8435
8436
  }
8436
8437
  }
8437
- function wa(e) {
8438
+ function Sa(e) {
8438
8439
  return e ? !!(e.from_flow && e.from_flow.length > 0 || e.from_node && e.from_node.length > 0) : !1;
8439
8440
  }
8440
8441
  //#endregion
8441
8442
  //#region src/designer/browser/stores/node/nodeSection/inputSection.store.ts
8442
- var Ta = class {
8443
+ var Ca = class {
8443
8444
  static {
8444
- this.TYPE = ca;
8445
+ this.TYPE = oa;
8445
8446
  }
8446
8447
  static is(e) {
8447
- return e.type === ca;
8448
+ return e.type === oa;
8448
8449
  }
8449
8450
  constructor(e) {
8450
- this.type = ca, this.dispose = P(), this.onDidHandleIndexChange = this.dispose.add(xe()), this.onDidHandleRename = this.dispose.add(xe()), this.onDidHandleDelete = this.dispose.add(xe()), this.role = e.role, this.userLocales = e.userLocales;
8451
- let t = this.dispose.add(s(Sa(e.initialUIState?.collapsed))), n = this.dispose.add(s(Ca(e.initialUIState?.height))), r = this.dispose.add(s(Qe(e.initialUIState?.groupCollapsed)));
8451
+ this.type = oa, this.dispose = I(), this.onDidHandleIndexChange = this.dispose.add(_e()), this.onDidHandleRename = this.dispose.add(_e()), this.onDidHandleDelete = this.dispose.add(_e()), this.role = e.role, this.userLocales = e.userLocales;
8452
+ let t = this.dispose.add(s(ba(e.initialUIState?.collapsed))), n = this.dispose.add(s(xa(e.initialUIState?.height))), r = this.dispose.add(s(Ye(e.initialUIState?.groupCollapsed)));
8452
8453
  this.uiState$ = this.dispose.add(u([
8453
8454
  t,
8454
8455
  n,
8455
8456
  r
8456
- ], ([e, t, n]) => Je({
8457
- collapsed: Je(e),
8458
- height: Je(t),
8459
- groupCollapsed: Qe(n)
8457
+ ], ([e, t, n]) => Ge({
8458
+ collapsed: Ge(e),
8459
+ height: Ge(t),
8460
+ groupCollapsed: Ye(n)
8460
8461
  }))), this.$$ = {
8461
8462
  collapsed: t,
8462
8463
  height: n,
@@ -8466,7 +8467,7 @@ var Ta = class {
8466
8467
  additionalInputDefs: e.additionalInputDefs && this.dispose.add(e.additionalInputDefs.ref(!0)),
8467
8468
  showSettings: this.dispose.add(e.showSettings.ref(!0))
8468
8469
  };
8469
- let i = this.dispose.add(this.deriveConnectedHandles$(this.$$.handleInputsFrom)), a = this.dispose.add(this.deriveHandles$(t, n, e, i)), l = this.dispose.add(c((e) => e(a).filter((t) => !$.is(t) || hn(e(t.schema$)) == null), { equal: d })), f = this.dispose.add(c((e) => e(a).filter((t) => $.is(t) && hn(e(t.schema$)) != null), { equal: d }));
8470
+ let i = this.dispose.add(this.deriveConnectedHandles$(this.$$.handleInputsFrom)), a = this.dispose.add(this.deriveHandles$(t, n, e, i)), l = this.dispose.add(c((e) => e(a).filter((t) => !$.is(t) || pn(e(t.schema$)) == null), { equal: d })), f = this.dispose.add(c((e) => e(a).filter((t) => $.is(t) && pn(e(t.schema$)) != null), { equal: d }));
8470
8471
  this.$ = {
8471
8472
  collapsed: t,
8472
8473
  height: n,
@@ -8485,19 +8486,19 @@ var Ta = class {
8485
8486
  }
8486
8487
  setupHandleIndexChangeEvent() {
8487
8488
  let e = this.dispose.add(c((e) => {
8488
- let t = e(this.$.inputHandleDefs)?.map((e) => $i(e) ? `g:${e.group}` : `h:${e.handle}`), n = e(this.$.additionalInputDefs)?.map((e) => `h:${e.handle}`);
8489
+ let t = e(this.$.inputHandleDefs)?.map((e) => Zi(e) ? `g:${e.group}` : `h:${e.handle}`), n = e(this.$.additionalInputDefs)?.map((e) => `h:${e.handle}`);
8489
8490
  return (t && n ? [...t, ...n] : t || n) ?? [];
8490
8491
  }, { equal: d }));
8491
- this.dispose.add(e.reaction(Se.bind(null, this.onDidHandleIndexChange)));
8492
+ this.dispose.add(e.reaction(ve.bind(null, this.onDidHandleIndexChange)));
8492
8493
  }
8493
8494
  findGroupForWriting(e) {
8494
8495
  let t = this.getInputHandleDefs$(), n = t?.value;
8495
- return n ? [n.findIndex((t) => $i(t) && t.group === e), t] : [-1, t];
8496
+ return n ? [n.findIndex((t) => Zi(t) && t.group === e), t] : [-1, t];
8496
8497
  }
8497
8498
  addGroup(e) {
8498
8499
  let [t, n] = this.findHandleForWriting(e), r = n?.value;
8499
8500
  if (r && t >= 0) {
8500
- let e = r.slice(), i = e.splice(t, 1), a = U("Group", this.$.allGroupNames.value).trim();
8501
+ let e = r.slice(), i = e.splice(t, 1), a = rt("Group", this.$.allGroupNames.value).trim();
8501
8502
  e.splice(999, 0, { group: a }, ...i), n.set(e);
8502
8503
  }
8503
8504
  }
@@ -8560,20 +8561,20 @@ var Ta = class {
8560
8561
  return this.getInputHandleDefs$() != null;
8561
8562
  }
8562
8563
  getInputHandleDefs$() {
8563
- return Ze(this.role === "author") && this.$$.inputHandleDefs;
8564
+ return Je(this.role === "author") && this.$$.inputHandleDefs;
8564
8565
  }
8565
8566
  getAdditionalInputDefs$() {
8566
8567
  return this.$.additionalInputs?.value ? this.$$.additionalInputDefs : void 0;
8567
8568
  }
8568
8569
  findHandleForWriting(e) {
8569
8570
  let t = typeof e == "string" ? { handle: e } : e, n, r = this.getInputHandleDefs$();
8570
- if (n = r?.value?.findIndex((e) => Zi(e, t)), n != null && n >= 0) return [
8571
+ if (n = r?.value?.findIndex((e) => Yi(e, t)), n != null && n >= 0) return [
8571
8572
  n,
8572
8573
  r,
8573
8574
  !1
8574
8575
  ];
8575
8576
  let i = this.getAdditionalInputDefs$();
8576
- return n = i?.value?.findIndex((e) => Zi(e, t)), n != null && n >= 0 ? [
8577
+ return n = i?.value?.findIndex((e) => Yi(e, t)), n != null && n >= 0 ? [
8577
8578
  n,
8578
8579
  i,
8579
8580
  !0
@@ -8591,10 +8592,10 @@ var Ta = class {
8591
8592
  let t = e ? this.getAdditionalInputDefs$() : this.getInputHandleDefs$() || this.getAdditionalInputDefs$();
8592
8593
  if (t) {
8593
8594
  let e = this.$.allHandleNames.value, n = t.value, r = {
8594
- handle: U("input", e),
8595
+ handle: rt("input", e),
8595
8596
  json_schema: q(n)
8596
8597
  };
8597
- t.set(n ? n.toSpliced(Ie(n, $i), 0, r) : [r]);
8598
+ t.set(n ? n.toSpliced(Ne(n, Zi), 0, r) : [r]);
8598
8599
  }
8599
8600
  }
8600
8601
  renameHandle(e, t) {
@@ -8616,7 +8617,7 @@ var Ta = class {
8616
8617
  }), r.set(i.toSpliced(n, 1, {
8617
8618
  ...i[n],
8618
8619
  handle: t
8619
- })), Se(this.onDidHandleRename, [e, t]);
8620
+ })), ve(this.onDidHandleRename, [e, t]);
8620
8621
  }
8621
8622
  return !0;
8622
8623
  }
@@ -8628,15 +8629,15 @@ var Ta = class {
8628
8629
  let t = i.findIndex((t) => t.handle === e);
8629
8630
  t >= 0 && this.$$.handleInputsFrom.set(i.toSpliced(t, 1));
8630
8631
  }
8631
- this.$$.showSettings.set(void 0), n.set(r.toSpliced(t, 1)), Se(this.onDidHandleDelete, e);
8632
+ this.$$.showSettings.set(void 0), n.set(r.toSpliced(t, 1)), ve(this.onDidHandleDelete, e);
8632
8633
  }
8633
8634
  }
8634
8635
  moveHandle(e, t) {
8635
8636
  let [n, r] = this.findHandleForWriting(e), i = r?.value;
8636
8637
  if (i && n >= 0) {
8637
8638
  let e = i[n];
8638
- if (Qi(e) && hn(e.json_schema) != null) {
8639
- let n = i.filter((e) => !Qi(e) || hn(e.json_schema) == null), a = i.filter((e) => Qi(e) && hn(e.json_schema) != null), o = a.findIndex((t) => t.handle == e.handle);
8639
+ if (Xi(e) && pn(e.json_schema) != null) {
8640
+ let n = i.filter((e) => !Xi(e) || pn(e.json_schema) == null), a = i.filter((e) => Xi(e) && pn(e.json_schema) != null), o = a.findIndex((t) => t.handle == e.handle);
8640
8641
  if (o >= 0) {
8641
8642
  let e = a.splice(o, 1);
8642
8643
  a.splice(t, 0, ...e), r.set(n.concat(a));
@@ -8654,7 +8655,7 @@ var Ta = class {
8654
8655
  if (r >= 0) {
8655
8656
  let e = {
8656
8657
  ...n[r],
8657
- description: mt(t.description),
8658
+ description: ft(t.description),
8658
8659
  json_schema: t.json_schema,
8659
8660
  kind: t.kind,
8660
8661
  nullable: t.nullable
@@ -8670,14 +8671,14 @@ var Ta = class {
8670
8671
  let r = this.getInputHandleDefs$() || this.getAdditionalInputDefs$();
8671
8672
  if (r) {
8672
8673
  let i = this.$.allHandleNames.value, a = {
8673
- handle: i.includes(t.name) ? U("input", i) : t.name,
8674
+ handle: i.includes(t.name) ? rt("input", i) : t.name,
8674
8675
  json_schema: t.schema$?.value,
8675
8676
  kind: t.schemaKind$?.value,
8676
8677
  nullable: t.nullable$?.value,
8677
- description: sa(t.description$.value, t.context.userLocales, this.userLocales),
8678
+ description: aa(t.description$.value, t.context.userLocales, this.userLocales),
8678
8679
  value: t.value$?.value
8679
8680
  };
8680
- if (h(a.value) && this.$$.handleInputsFrom) {
8681
+ if (b(a.value) && this.$$.handleInputsFrom) {
8681
8682
  let e = this.$$.handleInputsFrom.value;
8682
8683
  e ? this.$$.handleInputsFrom.set([...e, {
8683
8684
  handle: a.handle,
@@ -8689,14 +8690,14 @@ var Ta = class {
8689
8690
  }
8690
8691
  let o = r.value;
8691
8692
  if (o) {
8692
- let t = e ? o.findIndex((t) => Zi(t, e)) : -1;
8693
+ let t = e ? o.findIndex((t) => Yi(t, e)) : -1;
8693
8694
  t >= 0 ? r.set(o.toSpliced(t + 1, 0, a)) : r.set(n ? [a, ...o] : [...o, a]);
8694
8695
  } else r.set([a]);
8695
8696
  return a.handle;
8696
8697
  }
8697
8698
  }
8698
8699
  deriveHandleIndices$(e) {
8699
- if (e) return a(e, (e) => e && Ke(e, (e) => $i(e) ? { group: e.group } : { handle: e.handle }), L);
8700
+ if (e) return a(e, (e) => e && Ue(e, (e) => Zi(e) ? { group: e.group } : { handle: e.handle }), R);
8700
8701
  }
8701
8702
  deriveHandles$(e, t, n, r) {
8702
8703
  let i = this.deriveHandleIndices$(n.inputHandleDefs), o = n.boundHandles, s, f = c((u) => {
@@ -8712,7 +8713,7 @@ var Ta = class {
8712
8713
  d.push(f);
8713
8714
  continue;
8714
8715
  }
8715
- let p = o ? c((e) => e(r).has(u) || e(o).has(u)) : a(r, (e) => e.has(u)), { schema$: m, defaultValue$: h, description$: g, displayDescription$: _, kind$: v, nullable$: y, showSettings$: b, schemaOverrides$: x, value$: S } = this.deriveHandleRowVals$(n, n.inputHandleDefs, u, p), C = l(a(e, (e) => e?.[u], L), ot(e, u)), w = l(a(t, (e) => e?.[u], L), ot(t, u)), T = new Xi({
8716
+ let p = o ? c((e) => e(r).has(u) || e(o).has(u)) : a(r, (e) => e.has(u)), { schema$: m, defaultValue$: h, description$: g, displayDescription$: _, kind$: v, nullable$: y, showSettings$: b, schemaOverrides$: x, value$: S } = this.deriveHandleRowVals$(n, n.inputHandleDefs, u, p), C = l(a(e, (e) => e?.[u], R), it(e, u)), w = l(a(t, (e) => e?.[u], R), it(t, u)), T = new Ji({
8716
8717
  role: n.role,
8717
8718
  inout: "in",
8718
8719
  userLocales: n.userLocales
@@ -8743,7 +8744,7 @@ var Ta = class {
8743
8744
  s.push(u);
8744
8745
  continue;
8745
8746
  }
8746
- let d = n.role === "user" ? "author" : n.role, f = o ? c((e) => e(r).has(i) || e(o).has(i)) : a(r, (e) => e.has(i)), { schema$: p, defaultValue$: h, description$: g, displayDescription$: _, kind$: v, nullable$: y, showSettings$: b, schemaOverrides$: x, value$: S } = this.deriveHandleRowVals$(n, n.additionalInputDefs, i, f), C = l(a(e, (e) => e?.[i], L), ot(e, i)), w = l(a(t, (e) => e?.[i], L), ot(t, i)), T = new Xi({
8747
+ let d = n.role === "user" ? "author" : n.role, f = o ? c((e) => e(r).has(i) || e(o).has(i)) : a(r, (e) => e.has(i)), { schema$: p, defaultValue$: h, description$: g, displayDescription$: _, kind$: v, nullable$: y, showSettings$: b, schemaOverrides$: x, value$: S } = this.deriveHandleRowVals$(n, n.additionalInputDefs, i, f), C = l(a(e, (e) => e?.[i], R), it(e, i)), w = l(a(t, (e) => e?.[i], R), it(t, i)), T = new Ji({
8747
8748
  role: d,
8748
8749
  inout: "in",
8749
8750
  additional: !0,
@@ -8778,13 +8779,13 @@ var Ta = class {
8778
8779
  } else i.set([e]);
8779
8780
  }
8780
8781
  }), f = l(a(d, (e) => e?.description), W(d, "description")), p = c((e) => {
8781
- let t = e(f), i = pt(t);
8782
- return i != null && r ? bn(r, n, e, i, t) : t;
8783
- }), m = l(a(d, (e) => e?.json_schema, L), W(d, "json_schema")), g = l(a(d, (e) => it(e?.nullable)), W(d, "nullable")), _ = l(a(d, (e) => e?.kind), W(d, "kind")), v = a(d, (e) => e?.value), y = l(a(e, (e) => e?.scope === "input" && e.handle === s), (t) => e.set(t ? {
8782
+ let t = e(f), i = dt(t);
8783
+ return i != null && r ? vn(r, n, e, i, t) : t;
8784
+ }), m = l(a(d, (e) => e?.json_schema, R), W(d, "json_schema")), h = l(a(d, (e) => tt(e?.nullable)), W(d, "nullable")), g = l(a(d, (e) => e?.kind), W(d, "kind")), _ = a(d, (e) => e?.value), v = l(a(e, (e) => e?.scope === "input" && e.handle === s), (t) => e.set(t ? {
8784
8785
  scope: "input",
8785
8786
  handle: s
8786
- } : void 0)), b;
8787
- b = t ? l(a(t, (e) => e?.find((e) => e.handle === s)?.schema_overrides?.map((e) => Object.assign({}, e, { path: En.get(e.path) })), L), (e) => {
8787
+ } : void 0)), y;
8788
+ y = t ? l(a(t, (e) => e?.find((e) => e.handle === s)?.schema_overrides?.map((e) => Object.assign({}, e, { path: wn.get(e.path) })), R), (e) => {
8788
8789
  let n = e?.map((e) => ({
8789
8790
  ...e,
8790
8791
  path: e.path.toJSON()
@@ -8802,7 +8803,7 @@ var Ta = class {
8802
8803
  }]);
8803
8804
  }) : l(a(d, (e) => e?.schema_overrides?.map((e) => ({
8804
8805
  ...e,
8805
- path: En.get(e.path)
8806
+ path: wn.get(e.path)
8806
8807
  }))), (e) => {
8807
8808
  if (d.value) {
8808
8809
  let t = e?.map((e) => ({
@@ -8818,8 +8819,8 @@ var Ta = class {
8818
8819
  let x;
8819
8820
  return x = t ? l(c((e) => {
8820
8821
  let n = e(t)?.find((e) => e.handle === s)?.value;
8821
- return n === void 0 ? e(v) : n;
8822
- }, L), (e) => {
8822
+ return n === void 0 ? e(_) : n;
8823
+ }, R), (e) => {
8823
8824
  if (!d.value || u.value) return;
8824
8825
  let n = t.value;
8825
8826
  if (n) {
@@ -8829,33 +8830,33 @@ var Ta = class {
8829
8830
  handle: s,
8830
8831
  value: e
8831
8832
  }));
8832
- } else h(e) && t.set([{
8833
+ } else b(e) && t.set([{
8833
8834
  handle: s,
8834
8835
  value: e
8835
8836
  }]);
8836
- }) : l(a(d, (e) => e?.value, L), W(d, "value")), {
8837
+ }) : l(a(d, (e) => e?.value, R), W(d, "value")), {
8837
8838
  schema$: m,
8838
- defaultValue$: v,
8839
+ defaultValue$: _,
8839
8840
  description$: f,
8840
8841
  displayDescription$: p,
8841
- kind$: _,
8842
- nullable$: g,
8843
- showSettings$: y,
8844
- schemaOverrides$: b,
8842
+ kind$: g,
8843
+ nullable$: h,
8844
+ showSettings$: v,
8845
+ schemaOverrides$: y,
8845
8846
  value$: x
8846
8847
  };
8847
8848
  }
8848
8849
  deriveAllHandleNames$(e) {
8849
8850
  return c((t) => {
8850
- let n = t(e.inputHandleDefs)?.filter(Qi).map((e) => e.handle), r = t(e.additionalInputDefs)?.map((e) => e.handle);
8851
+ let n = t(e.inputHandleDefs)?.filter(Xi).map((e) => e.handle), r = t(e.additionalInputDefs)?.map((e) => e.handle);
8851
8852
  return (n || []).concat(r || []);
8852
8853
  }, { equal: d });
8853
8854
  }
8854
8855
  deriveAllGroupNames$(e) {
8855
- return a(e.inputHandleDefs, (e) => e?.filter($i).map((e) => e.group) || [], { equal: d });
8856
+ return a(e.inputHandleDefs, (e) => e?.filter(Zi).map((e) => e.group) || [], { equal: d });
8856
8857
  }
8857
8858
  deriveConnectedHandles$(e) {
8858
- return e ? a(e, (e) => !e || e.length === 0 ? Ea : e.reduce((e, t) => (wa(t) && e.add(t.handle), e), /* @__PURE__ */ new Set())) : s(Ea);
8859
+ return e ? a(e, (e) => !e || e.length === 0 ? wa : e.reduce((e, t) => (Sa(t) && e.add(t.handle), e), /* @__PURE__ */ new Set())) : s(wa);
8859
8860
  }
8860
8861
  deriveIsEmpty$(e) {
8861
8862
  return c((t) => {
@@ -8866,12 +8867,12 @@ var Ta = class {
8866
8867
  return !t(e.inputHandleDefs)?.length && !r;
8867
8868
  });
8868
8869
  }
8869
- }, Ea = /*#__PURE__*/ new Set(), Da = class {
8870
+ }, wa = /*#__PURE__*/ new Set(), Ta = class {
8870
8871
  #e;
8871
8872
  constructor(e, t) {
8872
8873
  this.#e = s(void 0), this.inputValues$ = this.#e;
8873
8874
  let n = s(void 0);
8874
- this.section = new Ta({
8875
+ this.section = new Ca({
8875
8876
  createSchemaEditor: () => void 0,
8876
8877
  handleInputsFrom: this.#e,
8877
8878
  inputHandleDefs: e,
@@ -8901,7 +8902,7 @@ var Ta = class {
8901
8902
  return t;
8902
8903
  }
8903
8904
  replaceValues(e) {
8904
- let t = S(e);
8905
+ let t = g(e);
8905
8906
  if (t == null) return !1;
8906
8907
  let n = new Set(this.section.$.allHandleNames.value), r = [];
8907
8908
  for (let [e, i] of Object.entries(t)) {
@@ -8913,21 +8914,21 @@ var Ta = class {
8913
8914
  }
8914
8915
  return this.#e.set(r.length == 0 ? void 0 : r), !0;
8915
8916
  }
8916
- }, Oa = /* @__PURE__ */ r({
8917
- FlowRunInputEditorStore: () => Aa,
8918
- flowRunInputEditorState: () => ja
8919
- }), ka = /* @__PURE__ */ new WeakMap(), Aa = class {
8917
+ }, Ea = /* @__PURE__ */ r({
8918
+ FlowRunInputEditorStore: () => Oa,
8919
+ flowRunInputEditorState: () => ka
8920
+ }), Da = /* @__PURE__ */ new WeakMap(), Oa = class {
8920
8921
  constructor(e, t) {
8921
8922
  let n = s(e.map((e) => ({
8922
8923
  ...e.description == null ? {} : { description: e.description },
8923
8924
  handle: e.handle,
8924
8925
  json_schema: e.jsonSchema,
8925
8926
  nullable: e.nullable
8926
- }))), r = new Da(n, t);
8927
+ }))), r = new Ta(n, t);
8927
8928
  this.valid$ = c((t) => {
8928
8929
  let n = new Set((t(r.inputValues$) ?? []).flatMap((e) => e.value === void 0 ? [] : [e.handle]));
8929
8930
  return e.every((e) => n.has(e.handle)) && !t(r.section.hasError$);
8930
- }), ka.set(this, {
8931
+ }), Da.set(this, {
8931
8932
  definitions: e,
8932
8933
  definitions$: n,
8933
8934
  inputs: r,
@@ -8936,20 +8937,20 @@ var Ta = class {
8936
8937
  });
8937
8938
  }
8938
8939
  dispose() {
8939
- let e = ja(this);
8940
+ let e = ka(this);
8940
8941
  this.valid$.dispose(), e.inputs.dispose(), e.definitions$.dispose(), e.panelWidth$.dispose();
8941
8942
  }
8942
8943
  values() {
8943
- return ja(this).inputs.values();
8944
+ return ka(this).inputs.values();
8944
8945
  }
8945
8946
  replaceValues(e) {
8946
- return ja(this).inputs.replaceValues(e);
8947
+ return ka(this).inputs.replaceValues(e);
8947
8948
  }
8948
8949
  };
8949
- function ja(e) {
8950
- let t = ka.get(e);
8950
+ function ka(e) {
8951
+ let t = Da.get(e);
8951
8952
  if (t == null) throw Error("Flow Run input editor store is unavailable.");
8952
8953
  return t;
8953
8954
  }
8954
8955
  //#endregion
8955
- export { en as $, mt as $t, na as A, st as At, Oi as B, Ne as Bt, aa as C, v as Cn, He as Ct, $i as D, it as Dt, oa as E, $e as Et, Bi as F, gt as Ft, yn as G, Pe as Gt, Zr as H, rt as Ht, Ri as I, yt as It, gn as J, lt as Jt, bn as K, Re as Kt, Li as L, Fe as Lt, Xi as M, Ke as Mt, $ as N, V as Nt, Qi as O, Be as Ot, zi as P, _t as Pt, q as Q, tt as Qt, Ai as R, U as Rt, ia as S, x as Sn, Ie as St, ea as T, S as Tn, qe as Tt, En as U, ut as Ut, yi as V, Ve as Vt, vn as W, Ue as Wt, an as X, at as Xt, mn as Y, R as Yt, Qt as Z, Je as Zt, pa as _, P as _n, Ft as _t, Sa as a, dt as an, nn as at, ua as b, _ as bn, ze as bt, ca as c, W as cn, cn as ct, la as d, Ae as dn, qt as dt, H as en, Wt as et, da as f, ke as fn, zt as ft, fa as g, O as gn, Nt as gt, xa as h, Se as hn, Bt as ht, wa as i, pt as in, rn as it, Zi as j, L as jt, ta as k, We as kt, va as l, je as ln, J as lt, ya as m, xe as mn, jt as mt, Oa as n, Qe as nn, on as nt, Ca as o, Le as on, Ht as ot, _a as p, I as pn, At as pt, hn as q, ot as qt, Ta as r, Ze as rn, sn as rt, ha as s, ct as sn, Kt as st, ja as t, B as tn, Gt as tt, ba as u, Me as un, K as ut, ma as v, E as vn, Vt as vt, ra as w, C as wn, nt as wt, sa as x, h as xn, Ge as xt, ga as y, y as yn, Pt as yt, ki as z, et as zt };
8956
+ export { Qt as $, ft as $t, ea as A, at as At, Ei as B, Ae as Bt, ra as C, ze as Ct, Zi as D, tt as Dt, ia as E, Xe as Et, Ri as F, mt as Ft, _n as G, je as Gt, Yr as H, et as Ht, Ii as I, _t as It, mn as J, st as Jt, vn as K, Fe as Kt, Fi as L, Me as Lt, Ji as M, Ue as Mt, $ as N, H as Nt, Xi as O, Le as Ot, Li as P, ht as Pt, q as Q, Qe as Qt, Oi as R, rt as Rt, na as S, Ne as St, Qi as T, We as Tt, wn as U, ct as Ut, _i as V, Re as Vt, gn as W, Be as Wt, nn as X, nt as Xt, fn as Y, z as Yt, Xt as Z, Ge as Zt, da as _, I as _n, Nt as _t, ba as a, lt as an, en as at, ca as b, Ie as bt, oa as c, W as cn, on as ct, sa as d, De as dn, Gt as dt, U as en, Ht as et, la as f, Ee as fn, Lt as ft, ua as g, E as gn, jt as gt, ya as h, ve as hn, Rt as ht, Sa as i, dt as in, tn as it, Yi as j, R as jt, $i as k, Ve as kt, ga as l, Oe as ln, J as lt, _a as m, _e as mn, kt as mt, Ea as n, Ye as nn, rn as nt, xa as o, Pe as on, Bt as ot, ha as p, Te as pn, Ot as pt, pn as q, it as qt, Ca as r, Je as rn, an as rt, pa as s, ot as sn, Wt as st, ka as t, V as tn, Ut as tt, va as u, ke as un, K as ut, fa as v, w as vn, zt as vt, ta as w, $e as wt, aa as x, He as xt, ma as y, Mt as yt, Di as z, Ze as zt };