@elyx-code/project-logic-tree 0.0.6561 → 0.0.6562

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ function r7e(d, ...u) {
30
30
  function s7e(d, ...u) {
31
31
  Gf && console.error(d, ...u);
32
32
  }
33
- class z {
33
+ class J {
34
34
  static get logsEnabled() {
35
35
  return Gf;
36
36
  }
@@ -44974,14 +44974,14 @@ var EM = { exports: {} };
44974
44974
  return { M: E, y: N, w: I, d: T, D: L, h: v, m: y, s: e, ms: c, Q: D }[Ce] || String(Ce || "").toLowerCase().replace(/s$/, "");
44975
44975
  }, u: function(Ce) {
44976
44976
  return Ce === void 0;
44977
- } }, J = "en", ue = {};
44978
- ue[J] = Z;
44977
+ } }, z = "en", ue = {};
44978
+ ue[z] = Z;
44979
44979
  var te = "$isDayjsObject", le = function(Ce) {
44980
44980
  return Ce instanceof Ee || !(!Ce || !Ce[te]);
44981
44981
  }, he = function Ce(be, Ie, De) {
44982
44982
  var Ne;
44983
44983
  if (!be)
44984
- return J;
44984
+ return z;
44985
44985
  if (typeof be == "string") {
44986
44986
  var Le = be.toLowerCase();
44987
44987
  ue[Le] && (Ne = Le), Ie && (ue[Le] = Ie, Ne = Le);
@@ -44992,7 +44992,7 @@ var EM = { exports: {} };
44992
44992
  var ot = be.name;
44993
44993
  ue[ot] = be, Ne = ot;
44994
44994
  }
44995
- return !De && Ne && (J = Ne), Ne || !De && J;
44995
+ return !De && Ne && (z = Ne), Ne || !De && z;
44996
44996
  }, X = function(Ce, be) {
44997
44997
  if (le(Ce))
44998
44998
  return Ce.clone();
@@ -45236,7 +45236,7 @@ var EM = { exports: {} };
45236
45236
  return Ce.$i || (Ce(be, Ee, X), Ce.$i = !0), X;
45237
45237
  }, X.locale = he, X.isDayjs = le, X.unix = function(Ce) {
45238
45238
  return X(1e3 * Ce);
45239
- }, X.en = ue[J], X.Ls = ue, X.p = {}, X;
45239
+ }, X.en = ue[z], X.Ls = ue, X.p = {}, X;
45240
45240
  });
45241
45241
  })(EM);
45242
45242
  var SRt = EM.exports;
@@ -46883,7 +46883,7 @@ class j extends ku {
46883
46883
  return Object.keys(this.affected);
46884
46884
  }
46885
46885
  event(i) {
46886
- z.log(`ChangeSet Event: ${i.action} (${i.id})`);
46886
+ J.log(`ChangeSet Event: ${i.action} (${i.id})`);
46887
46887
  const a = new H_t(i, this);
46888
46888
  this.events.set(i.id, a), this.emit("change-set-event", a);
46889
46889
  }
@@ -46960,7 +46960,7 @@ class j extends ku {
46960
46960
  return this.autoclose && this.autoCloseActionName && this.autoCloseActionName === i && (this.self && a === ((l = this.self) == null ? void 0 : l.id) || !this.self) && await this.closeAsync(), this;
46961
46961
  }
46962
46962
  async closeAsync() {
46963
- return this.startedClose || (this.startedClose = !0, this.beforeClose()), !this.isValid && this.self && !this.added[this.self.id] && !this.updated[this.self.id] && this.removed[this.self.id], this.discardOrphans(), this.sanitize(), this.recursiveCaptureUpstreamVersions(), this.captureAllChangesInVersionInstances(), this.recursiveCaptureUpstreamVersions(), this.open = !1, this.isEmpty ? (z.warn(`Empty change-set (${this.id}) discarded upon closing.`), this.project.discardChangeSet(this), this.project.closePendingChangeSets(), this) : (await this.project.closeChangeSet(this), this);
46963
+ return this.startedClose || (this.startedClose = !0, this.beforeClose()), !this.isValid && this.self && !this.added[this.self.id] && !this.updated[this.self.id] && this.removed[this.self.id], this.discardOrphans(), this.sanitize(), this.recursiveCaptureUpstreamVersions(), this.captureAllChangesInVersionInstances(), this.recursiveCaptureUpstreamVersions(), this.open = !1, this.isEmpty ? (J.warn(`Empty change-set (${this.id}) discarded upon closing.`), this.project.discardChangeSet(this), this.project.closePendingChangeSets(), this) : (await this.project.closeChangeSet(this), this);
46964
46964
  }
46965
46965
  attemptAutoclose(i, a) {
46966
46966
  var l;
@@ -47024,7 +47024,7 @@ class j extends ku {
47024
47024
  }
47025
47025
  close() {
47026
47026
  if (this.startedClose || (this.startedClose = !0, this.beforeClose()), !this.isValid && this.self && !this.added[this.self.id] && !this.updated[this.self.id] && this.removed[this.self.id], this.discardOrphans(), this.sanitize(), this.captureAllChangesInVersionInstances(), this.recursiveCaptureUpstreamVersions(), this.captureAllChangesInVersionInstances(), this.open = !1, this.isEmpty)
47027
- return z.warn(`Empty change-set (${this.id}) discarded upon closing.`), this.project.discardChangeSet(this), this.project.closePendingChangeSets(), this;
47027
+ return J.warn(`Empty change-set (${this.id}) discarded upon closing.`), this.project.discardChangeSet(this), this.project.closePendingChangeSets(), this;
47028
47028
  if (this.added[this.project.id] && this.updatedIds.length)
47029
47029
  throw new Error(
47030
47030
  "No 'updated' entities should be present in the change-set when the project entity is in the 'added' list. New projects can only have newly added entities"
@@ -47241,13 +47241,13 @@ function g$(d, u, i) {
47241
47241
  i
47242
47242
  );
47243
47243
  if (d === u)
47244
- throw z.error("From: ", d), z.error("To: ", u), new Error(
47244
+ throw J.error("From: ", d), J.error("To: ", u), new Error(
47245
47245
  "Cannot generate transitional change set between the same two versions or change-sets"
47246
47246
  );
47247
47247
  let c;
47248
- if (d === "initial" ? c = !0 : u === "initial" ? c = !1 : x(d.timestamp).isBefore(x(u.timestamp)) ? c = !0 : c = !1, z.log("Transitioning from ", d === "initial" ? "initial" : d.index), z.log("Transitioning to ", u === "initial" ? "initial" : u.index), z.log("Is forward: ", c), c) {
47248
+ if (d === "initial" ? c = !0 : u === "initial" ? c = !1 : x(d.timestamp).isBefore(x(u.timestamp)) ? c = !0 : c = !1, J.log("Transitioning from ", d === "initial" ? "initial" : d.index), J.log("Transitioning to ", u === "initial" ? "initial" : u.index), J.log("Is forward: ", c), c) {
47249
47249
  const T = u.index, I = d === "initial" ? 0 : d.index;
47250
- z.log("ownIndex: ", T), z.log("startIndex: ", I);
47250
+ J.log("ownIndex: ", T), J.log("startIndex: ", I);
47251
47251
  const E = T === I ? [i.history[T]] : i.history.slice(I + 1, T + 1);
47252
47252
  if (E.sort(
47253
47253
  (D, N) => x(D.timestamp).isAfter(x(N.timestamp)) ? 1 : -1
@@ -47255,7 +47255,7 @@ function g$(d, u, i) {
47255
47255
  throw new Error(
47256
47256
  "No change sets in the history between the history indexes provided"
47257
47257
  );
47258
- z.log(
47258
+ J.log(
47259
47259
  "REDO change-set: ",
47260
47260
  E[0].id,
47261
47261
  " ",
@@ -47360,7 +47360,7 @@ function g$(d, u, i) {
47360
47360
  throw new Error(
47361
47361
  "No change sets in the history between the history indexes provided"
47362
47362
  );
47363
- z.log(
47363
+ J.log(
47364
47364
  "UNDO change-set: ",
47365
47365
  E[0].id,
47366
47366
  " ",
@@ -47478,37 +47478,37 @@ function D$(d, u, i, a) {
47478
47478
  "Change set must have a valid `self` entity state to be traversed"
47479
47479
  );
47480
47480
  const l = new Xa(d.self);
47481
- z.log("changeSet.added: ", Object.keys(d.added).length), z.log("changeSet.updated: ", Object.keys(d.updated).length), z.log("changeSet.removed: ", Object.keys(d.removed).length);
47481
+ J.log("changeSet.added: ", Object.keys(d.added).length), J.log("changeSet.updated: ", Object.keys(d.updated).length), J.log("changeSet.removed: ", Object.keys(d.removed).length);
47482
47482
  const c = {
47483
47483
  ...d.added,
47484
47484
  ...d.updated,
47485
47485
  ...d.removed
47486
47486
  // ...changeSet.affected,
47487
47487
  };
47488
- l.order = Object.keys(c), l.flatRecord = c, l.orderEntities(), z.log(
47488
+ l.order = Object.keys(c), l.flatRecord = c, l.orderEntities(), J.log(
47489
47489
  "All entities: ",
47490
47490
  l.order.map((e, y) => `${y + 1}: ${c[e].type} - ${e}`).join(`,
47491
47491
  `)
47492
- ), z.log("Traversing new additions"), l.visit(async (e) => {
47492
+ ), J.log("Traversing new additions"), l.visit(async (e) => {
47493
47493
  if (d.added[e.id])
47494
47494
  try {
47495
- z.log("Adding: ", e.id), u(e);
47495
+ J.log("Adding: ", e.id), u(e);
47496
47496
  } catch (y) {
47497
- z.error("Error: ", y), z.error("Errored entity: ", e);
47497
+ J.error("Error: ", y), J.error("Errored entity: ", e);
47498
47498
  }
47499
- }), z.log("Traversing updates"), l.visit(async (e) => {
47499
+ }), J.log("Traversing updates"), l.visit(async (e) => {
47500
47500
  if (d.updated[e.id])
47501
47501
  try {
47502
- z.log("Updating: ", e.id), i(e);
47502
+ J.log("Updating: ", e.id), i(e);
47503
47503
  } catch (y) {
47504
- z.error("Error: ", y), z.error("Errored entity: ", e);
47504
+ J.error("Error: ", y), J.error("Errored entity: ", e);
47505
47505
  }
47506
- }), z.log("Traversing removals"), l.visit(async (e, y) => {
47506
+ }), J.log("Traversing removals"), l.visit(async (e, y) => {
47507
47507
  if (d.removed[e.id])
47508
47508
  try {
47509
- z.log("Removing: ", e.id), a(e);
47509
+ J.log("Removing: ", e.id), a(e);
47510
47510
  } catch (v) {
47511
- z.error("Error: ", v), z.error("Errored entity: ", e);
47511
+ J.error("Error: ", v), J.error("Errored entity: ", e);
47512
47512
  }
47513
47513
  });
47514
47514
  }
@@ -47540,7 +47540,7 @@ class lr extends Yw {
47540
47540
  }
47541
47541
  checkCanEditWithCounterpartAndSideEffects(i, a, l, c = null) {
47542
47542
  var e, y;
47543
- return !this.checkCanEdit(i) || !this.checkCanEdit(a) ? (this.checkCanEdit(a) ? (z.warn(
47543
+ return !this.checkCanEdit(i) || !this.checkCanEdit(a) ? (this.checkCanEdit(a) ? (J.warn(
47544
47544
  `[${l}] User is not allowed to edit this ${i.type} entity with id: ${i.id}`
47545
47545
  ), c == null || c.event({
47546
47546
  id: `${l}-${i.id}--${a.id}`,
@@ -47549,7 +47549,7 @@ class lr extends Yw {
47549
47549
  counterpart: a,
47550
47550
  errorReason: Wi.ActionOwnerEntityNotEditable,
47551
47551
  rootAction: ((y = c == null ? void 0 : c.self) == null ? void 0 : y.id) === i.id && (c == null ? void 0 : c.autoCloseActionName) === l
47552
- })) : (z.warn(
47552
+ })) : (J.warn(
47553
47553
  `[${l}] User is not allowed to edit this ${i.type} entity with id: ${i.id} because its counterpart ${a.type} with id: ${a.id} is not editable`
47554
47554
  ), c == null || c.event({
47555
47555
  id: `${l}-${i.id}--${a.id}`,
@@ -48018,7 +48018,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
48018
48018
  )
48019
48019
  )) {
48020
48020
  if (!this.checkCanEdit(this))
48021
- return z.warn(
48021
+ return J.warn(
48022
48022
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
48023
48023
  ), a == null || a.attemptAutoclose(
48024
48024
  O.UpdateWithShallowTransfer,
@@ -48104,7 +48104,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
48104
48104
  )
48105
48105
  )) {
48106
48106
  if (!this.checkCanEdit(this))
48107
- return z.warn(
48107
+ return J.warn(
48108
48108
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
48109
48109
  ), i == null || i.attemptAutoclose(
48110
48110
  O.AfterAllChildrenInitialized,
@@ -48251,7 +48251,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
48251
48251
  O.AddImplementation
48252
48252
  )
48253
48253
  )) {
48254
- return this.checkCanEdit(this) ? (this.implements.includes(i) || (this.implements.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddImplementation, this.id), this) : (z.warn(
48254
+ return this.checkCanEdit(this) ? (this.implements.includes(i) || (this.implements.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddImplementation, this.id), this) : (J.warn(
48255
48255
  `[addImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
48256
48256
  ), a == null || a.attemptAutoclose(
48257
48257
  O.AddImplementation,
@@ -48271,7 +48271,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
48271
48271
  return this.checkCanEdit(this) ? (this.implements.includes(i) && (this.implements = this.implements.filter((l) => l.id !== i.id), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(
48272
48272
  O.RemoveImplementation,
48273
48273
  this.id
48274
- ), this) : (z.warn(
48274
+ ), this) : (J.warn(
48275
48275
  `[removeImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
48276
48276
  ), a == null || a.attemptAutoclose(
48277
48277
  O.RemoveImplementation,
@@ -48360,7 +48360,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
48360
48360
  )
48361
48361
  )) {
48362
48362
  if (!this.checkCanEdit(this))
48363
- return z.warn(
48363
+ return J.warn(
48364
48364
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
48365
48365
  ), i == null || i.attemptAutoclose(
48366
48366
  O.RemoveFromParent,
@@ -48405,7 +48405,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
48405
48405
  )) {
48406
48406
  var v;
48407
48407
  if (!this.checkCanDelete(this))
48408
- return z.warn(
48408
+ return J.warn(
48409
48409
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
48410
48410
  ), a == null || a.event({
48411
48411
  id: `${O.RemoveEntity}-${this.id}`,
@@ -48488,7 +48488,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
48488
48488
  )
48489
48489
  )) {
48490
48490
  if (!this.checkCanEdit(this))
48491
- return z.warn(
48491
+ return J.warn(
48492
48492
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
48493
48493
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
48494
48494
  const a = [], l = [], c = [], e = [];
@@ -48757,7 +48757,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
48757
48757
  )
48758
48758
  )) {
48759
48759
  if (!this.checkCanEdit(this))
48760
- return z.warn(
48760
+ return J.warn(
48761
48761
  `[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
48762
48762
  ), a == null || a.attemptAutoclose("set-default-value", this.id), this;
48763
48763
  const l = this.defaultValue;
@@ -48822,7 +48822,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
48822
48822
  )
48823
48823
  )) {
48824
48824
  if (!this.checkCanEdit(this))
48825
- return z.warn(
48825
+ return J.warn(
48826
48826
  `[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
48827
48827
  ), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
48828
48828
  const l = this.dataType;
@@ -48838,7 +48838,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
48838
48838
  O.RemoveDataType
48839
48839
  )
48840
48840
  )) {
48841
- return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (z.warn(
48841
+ return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
48842
48842
  `[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
48843
48843
  ), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
48844
48844
  }
@@ -48854,7 +48854,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
48854
48854
  )) {
48855
48855
  var T;
48856
48856
  if (!this.checkCanEdit(this))
48857
- return z.warn(
48857
+ return J.warn(
48858
48858
  `[syncWithImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
48859
48859
  ), i == null || i.attemptAutoclose("sync-with-implementation", this.id), {
48860
48860
  added: [],
@@ -49569,7 +49569,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
49569
49569
  )) {
49570
49570
  var l, c;
49571
49571
  if (!this.checkCanEdit(this))
49572
- return z.warn(
49572
+ return J.warn(
49573
49573
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
49574
49574
  ), a == null || a.attemptAutoclose(
49575
49575
  O.UpdateWithShallowTransfer,
@@ -49658,7 +49658,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
49658
49658
  )) {
49659
49659
  var y, v, T;
49660
49660
  if (!this.checkCanEdit(this))
49661
- return z.warn(
49661
+ return J.warn(
49662
49662
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
49663
49663
  ), i == null || i.attemptAutoclose(
49664
49664
  O.AfterAllChildrenInitialized,
@@ -49749,7 +49749,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
49749
49749
  )
49750
49750
  )) {
49751
49751
  if (!this.checkCanEdit(this))
49752
- return z.warn(
49752
+ return J.warn(
49753
49753
  `[removeChildGroup] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
49754
49754
  ), a == null || a.attemptAutoclose(
49755
49755
  O.RemoveChildGroup,
@@ -49872,7 +49872,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
49872
49872
  )) {
49873
49873
  var y, v;
49874
49874
  if (!this.checkCanEdit(this))
49875
- return z.warn(
49875
+ return J.warn(
49876
49876
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
49877
49877
  ), i == null || i.attemptAutoclose(
49878
49878
  O.RemoveFromParent,
@@ -49989,7 +49989,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
49989
49989
  )
49990
49990
  )) {
49991
49991
  if (!this.checkCanEdit(this))
49992
- return z.warn(
49992
+ return J.warn(
49993
49993
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
49994
49994
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
49995
49995
  const a = [], l = [], c = [], e = [];
@@ -50436,7 +50436,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
50436
50436
  O.AddToAndGroup
50437
50437
  )
50438
50438
  )) {
50439
- return this.checkCanEdit(this) ? (this.andChildrenGroup || (this.andChildrenGroup = []), this.andChildrenGroup.includes(i) || (this.andChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToAndGroup, this.id), this) : (z.warn(
50439
+ return this.checkCanEdit(this) ? (this.andChildrenGroup || (this.andChildrenGroup = []), this.andChildrenGroup.includes(i) || (this.andChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToAndGroup, this.id), this) : (J.warn(
50440
50440
  `[addToAndGroup] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
50441
50441
  ), a == null || a.attemptAutoclose(O.AddToAndGroup, this.id), this);
50442
50442
  }
@@ -50451,7 +50451,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
50451
50451
  O.AddToOrGroup
50452
50452
  )
50453
50453
  )) {
50454
- return this.checkCanEdit(this) ? (this.orChildrenGroup || (this.orChildrenGroup = []), this.orChildrenGroup.includes(i) || (this.orChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToOrGroup, this.id), this) : (z.warn(
50454
+ return this.checkCanEdit(this) ? (this.orChildrenGroup || (this.orChildrenGroup = []), this.orChildrenGroup.includes(i) || (this.orChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToOrGroup, this.id), this) : (J.warn(
50455
50455
  `[addToOrGroup] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
50456
50456
  ), a == null || a.attemptAutoclose(O.AddToOrGroup, this.id), this);
50457
50457
  }
@@ -50672,7 +50672,7 @@ function X_t(d, u) {
50672
50672
  )
50673
50673
  ) : u;
50674
50674
  if (!d.checkCanEdit(d))
50675
- return z.warn(
50675
+ return J.warn(
50676
50676
  `[${O.SyncInputs}] User is not allowed to edit this ${d.type} entity with id: ${d.id}`
50677
50677
  ), i == null || i.attemptAutoclose(O.SyncInputs, d.id), {
50678
50678
  updated: [],
@@ -50744,7 +50744,7 @@ function Q_t(d, u) {
50744
50744
  )
50745
50745
  ) : u;
50746
50746
  if (!d.checkCanEdit(d))
50747
- return z.warn(
50747
+ return J.warn(
50748
50748
  `[${O.SyncInputs}] User is not allowed to edit this ${d.type} entity with id: ${d.id}`
50749
50749
  ), i == null || i.attemptAutoclose(O.SyncInputs, d.id), {
50750
50750
  updated: [],
@@ -50780,7 +50780,7 @@ function egt(d, u) {
50780
50780
  )
50781
50781
  ) : u;
50782
50782
  if (!d.checkCanEdit(d))
50783
- return z.warn(
50783
+ return J.warn(
50784
50784
  `[${O.SyncInputs}] User is not allowed to edit this ${d.type} entity with id: ${d.id}`
50785
50785
  ), i == null || i.attemptAutoclose(O.SyncInputs, d.id), {
50786
50786
  updated: [],
@@ -50817,7 +50817,7 @@ function tgt(d, u) {
50817
50817
  )
50818
50818
  ) : u;
50819
50819
  if (!d.checkCanEdit(d))
50820
- return z.warn(
50820
+ return J.warn(
50821
50821
  `[${O.RemoveUnrecognizedInputs}] User is not allowed to edit this ${d.type} entity with id: ${d.id}`
50822
50822
  ), i == null || i.attemptAutoclose(
50823
50823
  O.RemoveUnrecognizedInputs,
@@ -50894,7 +50894,7 @@ function rgt(d, u) {
50894
50894
  )
50895
50895
  ) : u;
50896
50896
  if (!d.checkCanEdit(d))
50897
- return z.warn(
50897
+ return J.warn(
50898
50898
  `[${O.RemoveUnrecognizedInputs}] User is not allowed to edit this ${d.type} entity with id: ${d.id}`
50899
50899
  ), i == null || i.attemptAutoclose(
50900
50900
  O.RemoveUnrecognizedInputs,
@@ -50951,7 +50951,7 @@ function sgt(d, u) {
50951
50951
  )
50952
50952
  ) : u;
50953
50953
  if (!d.checkCanEdit(d))
50954
- return z.warn(
50954
+ return J.warn(
50955
50955
  `[${O.RemoveUnrecognizedInputs}] User is not allowed to edit this ${d.type} entity with id: ${d.id}`
50956
50956
  ), i == null || i.attemptAutoclose(
50957
50957
  O.RemoveUnrecognizedInputs,
@@ -50998,7 +50998,7 @@ function ngt(d, u) {
50998
50998
  )
50999
50999
  ) : u;
51000
51000
  if (!d.checkCanEdit(d))
51001
- return z.warn(
51001
+ return J.warn(
51002
51002
  `[${O.RemoveUnrecognizedInputs}] User is not allowed to edit this ${d.type} entity with id: ${d.id}`
51003
51003
  ), i == null || i.attemptAutoclose(
51004
51004
  O.RemoveUnrecognizedInputs,
@@ -51557,7 +51557,7 @@ Please consider than any updates might affect the overlap with the signature of
51557
51557
  )
51558
51558
  )) {
51559
51559
  if (!this.checkCanEdit(this))
51560
- return z.warn(
51560
+ return J.warn(
51561
51561
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
51562
51562
  ), a == null || a.attemptAutoclose(
51563
51563
  O.UpdateWithShallowTransfer,
@@ -51675,7 +51675,7 @@ Please consider than any updates might affect the overlap with the signature of
51675
51675
  )) {
51676
51676
  var I;
51677
51677
  if (!this.checkCanEdit(this))
51678
- return z.warn(
51678
+ return J.warn(
51679
51679
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
51680
51680
  ), i == null || i.attemptAutoclose(
51681
51681
  O.AfterAllChildrenInitialized,
@@ -51836,7 +51836,7 @@ Please consider than any updates might affect the overlap with the signature of
51836
51836
  )
51837
51837
  )) {
51838
51838
  var l;
51839
- return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (z.warn(
51839
+ return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (J.warn(
51840
51840
  `[setImplements] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
51841
51841
  ), a == null || a.attemptAutoclose(O.SetImplements, this.id), this);
51842
51842
  }
@@ -51851,7 +51851,7 @@ Please consider than any updates might affect the overlap with the signature of
51851
51851
  )
51852
51852
  )) {
51853
51853
  var l;
51854
- return this.checkCanEdit(this) ? (((l = this.extends) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.extends = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetExtends, this.id), this) : (z.warn(
51854
+ return this.checkCanEdit(this) ? (((l = this.extends) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.extends = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetExtends, this.id), this) : (J.warn(
51855
51855
  `[setExtends] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
51856
51856
  ), a == null || a.attemptAutoclose(O.SetExtends, this.id), this);
51857
51857
  }
@@ -51865,7 +51865,7 @@ Please consider than any updates might affect the overlap with the signature of
51865
51865
  O.AddCall
51866
51866
  )
51867
51867
  )) {
51868
- return this.checkCanEdit(this) ? (this.calls.includes(i) || (this.calls.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddCall, this.id), this) : (z.warn(
51868
+ return this.checkCanEdit(this) ? (this.calls.includes(i) || (this.calls.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddCall, this.id), this) : (J.warn(
51869
51869
  `[addCall] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
51870
51870
  ), a == null || a.attemptAutoclose(O.AddCall, this.id), this);
51871
51871
  }
@@ -51880,7 +51880,7 @@ Please consider than any updates might affect the overlap with the signature of
51880
51880
  )
51881
51881
  )) {
51882
51882
  if (!this.checkCanEdit(this))
51883
- return z.warn(
51883
+ return J.warn(
51884
51884
  `[removeCall] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
51885
51885
  ), a == null || a.attemptAutoclose(O.RemoveCall, this.id), this;
51886
51886
  const l = this.calls.indexOf(i);
@@ -51997,7 +51997,7 @@ Please consider than any updates might affect the overlap with the signature of
51997
51997
  )
51998
51998
  )) {
51999
51999
  if (!this.checkCanEdit(this))
52000
- return z.warn(
52000
+ return J.warn(
52001
52001
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
52002
52002
  ), i == null || i.attemptAutoclose(
52003
52003
  O.RemoveFromParent,
@@ -52039,7 +52039,7 @@ Please consider than any updates might affect the overlap with the signature of
52039
52039
  )) {
52040
52040
  var T;
52041
52041
  if (!this.checkCanDelete(this))
52042
- return z.warn(
52042
+ return J.warn(
52043
52043
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
52044
52044
  ), a == null || a.event({
52045
52045
  id: `${O.RemoveEntity}-${this.id}`,
@@ -52127,7 +52127,7 @@ Please consider than any updates might affect the overlap with the signature of
52127
52127
  )
52128
52128
  )) {
52129
52129
  if (!this.checkCanEdit(this))
52130
- return z.warn(
52130
+ return J.warn(
52131
52131
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
52132
52132
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
52133
52133
  const a = [], l = [], c = [], e = [];
@@ -52608,7 +52608,7 @@ Please consider than any updates might affect the overlap with the signature of
52608
52608
  )) {
52609
52609
  var D, N, L;
52610
52610
  if (!this.checkCanEdit(this))
52611
- return z.warn(
52611
+ return J.warn(
52612
52612
  `[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
52613
52613
  ), i == null || i.attemptAutoclose(
52614
52614
  O.RemoveUnrecognizedInputs,
@@ -52691,7 +52691,7 @@ Please consider than any updates might affect the overlap with the signature of
52691
52691
  )) {
52692
52692
  var L, M, K, q;
52693
52693
  if (!this.checkCanEdit(this))
52694
- return z.warn(
52694
+ return J.warn(
52695
52695
  `[syncInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
52696
52696
  ), i == null || i.attemptAutoclose(O.SyncInputs, this.id), {
52697
52697
  updated: [],
@@ -52713,8 +52713,8 @@ Please consider than any updates might affect the overlap with the signature of
52713
52713
  )
52714
52714
  );
52715
52715
  this.inputs.sort((Z, H) => Z.index - H.index), I.forEach((Z) => {
52716
- this.inputs.forEach((J) => {
52717
- J.index >= Z.index && J.metaSync({ index: J.index + 1 }, i);
52716
+ this.inputs.forEach((z) => {
52717
+ z.index >= Z.index && z.metaSync({ index: z.index + 1 }, i);
52718
52718
  });
52719
52719
  const H = Rn.new(i);
52720
52720
  H.implements = [
@@ -52729,10 +52729,10 @@ Please consider than any updates might affect the overlap with the signature of
52729
52729
  const {
52730
52730
  updated: H,
52731
52731
  added: ae,
52732
- removed: J,
52732
+ removed: z,
52733
52733
  affected: ue
52734
52734
  } = Z.afterAllChildrenInitialized(i);
52735
- a.push(...H), l.push(...ae), c.push(...J), e.push(...ue);
52735
+ a.push(...H), l.push(...ae), c.push(...z), e.push(...ue);
52736
52736
  }), this.inputs.sort((Z, H) => Z.index - H.index);
52737
52737
  const {
52738
52738
  updated: E,
@@ -52807,9 +52807,9 @@ Please consider than any updates might affect the overlap with the signature of
52807
52807
  let D = (((L = (N = this.dataType) == null ? void 0 : N.entity) == null ? void 0 : L.properties) || []).filter(
52808
52808
  (M) => !T.find(
52809
52809
  (K) => {
52810
- var q, Z, H, ae, J;
52810
+ var q, Z, H, ae, z;
52811
52811
  return !K.deleted && !((q = K.declaration) != null && q.deleted) && ((Z = K.declaration) == null ? void 0 : Z.id) === M.id && // Also should not have a declaration pointing to the 'implements'
52812
- !(((J = (ae = (H = this.implements) == null ? void 0 : H.dataType) == null ? void 0 : ae.entity) == null ? void 0 : J.properties) || []).find((ue) => ue.id === M.id);
52812
+ !(((z = (ae = (H = this.implements) == null ? void 0 : H.dataType) == null ? void 0 : ae.entity) == null ? void 0 : z.properties) || []).find((ue) => ue.id === M.id);
52813
52813
  }
52814
52814
  )
52815
52815
  );
@@ -52880,7 +52880,7 @@ Please consider than any updates might affect the overlap with the signature of
52880
52880
  "sync-outputs-properties"
52881
52881
  )
52882
52882
  )) {
52883
- var L, M, K, q, Z, H, ae, J, ue;
52883
+ var L, M, K, q, Z, H, ae, z, ue;
52884
52884
  const a = [], l = [], c = [], e = [], y = [...this.returnStatements];
52885
52885
  if (!y.every((te) => te.initialized))
52886
52886
  return i == null || i.attemptAutoclose("sync-outputs-properties", this.id), {
@@ -53010,7 +53010,7 @@ Please consider than any updates might affect the overlap with the signature of
53010
53010
  );
53011
53011
  De.metaSync({ isList: !0 }, i), De.setParent(X, i), De.initChildren(i), i == null || i.add(De, G.Added), De.addSelfToProject(i), l.push(De);
53012
53012
  }
53013
- }), this.reAttachAllTerminationInputMapsToDeclarations(i)), (ae = this.dataType) != null && ae.inferred && ((J = this.dataType.entity) == null ? void 0 : J.type) === p.DefinitionEntity && E.filter(
53013
+ }), this.reAttachAllTerminationInputMapsToDeclarations(i)), (ae = this.dataType) != null && ae.inferred && ((z = this.dataType.entity) == null ? void 0 : z.type) === p.DefinitionEntity && E.filter(
53014
53014
  (le) => !T.find((X) => Y(le, this.project) === Y(X, this.project))
53015
53015
  ).forEach((le) => {
53016
53016
  if (!(i != null && i.hasRemoved(le.id)) && !le.deleted) {
@@ -53072,7 +53072,7 @@ Please consider than any updates might affect the overlap with the signature of
53072
53072
  )
53073
53073
  )) {
53074
53074
  if (!this.checkCanEdit(this))
53075
- return z.warn(
53075
+ return J.warn(
53076
53076
  `[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
53077
53077
  ), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
53078
53078
  const l = this.dataType;
@@ -53088,7 +53088,7 @@ Please consider than any updates might affect the overlap with the signature of
53088
53088
  O.RemoveDataType
53089
53089
  )
53090
53090
  )) {
53091
- return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (z.warn(
53091
+ return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
53092
53092
  `[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
53093
53093
  ), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
53094
53094
  }
@@ -53590,7 +53590,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
53590
53590
  )
53591
53591
  )) {
53592
53592
  if (!this.checkCanEdit(this))
53593
- return z.warn(
53593
+ return J.warn(
53594
53594
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
53595
53595
  ), a == null || a.attemptAutoclose(
53596
53596
  O.UpdateWithShallowTransfer,
@@ -53706,7 +53706,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
53706
53706
  )
53707
53707
  )) {
53708
53708
  if (!this.checkCanEdit(this))
53709
- return z.warn(
53709
+ return J.warn(
53710
53710
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
53711
53711
  ), i == null || i.attemptAutoclose(
53712
53712
  O.AfterAllChildrenInitialized,
@@ -53819,7 +53819,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
53819
53819
  )
53820
53820
  )) {
53821
53821
  if (!this.checkCanEdit(this))
53822
- return z.warn(
53822
+ return J.warn(
53823
53823
  `[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
53824
53824
  ), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this;
53825
53825
  const l = this.inputs.findIndex((c) => c.id === i.id);
@@ -53835,7 +53835,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
53835
53835
  O.AddInput
53836
53836
  )
53837
53837
  )) {
53838
- return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (z.warn(
53838
+ return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
53839
53839
  `[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
53840
53840
  ), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
53841
53841
  }
@@ -53849,7 +53849,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
53849
53849
  "add-output"
53850
53850
  )
53851
53851
  )) {
53852
- return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (z.warn(
53852
+ return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
53853
53853
  `[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
53854
53854
  ), a == null || a.attemptAutoclose("add-output", this.id), this);
53855
53855
  }
@@ -53864,7 +53864,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
53864
53864
  )
53865
53865
  )) {
53866
53866
  if (!this.checkCanEdit(this))
53867
- return z.warn(
53867
+ return J.warn(
53868
53868
  `[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
53869
53869
  ), a == null || a.attemptAutoclose("remove-output", this.id), this;
53870
53870
  const l = this.outputs.findIndex((c) => c.id === i.id);
@@ -54196,7 +54196,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
54196
54196
  )
54197
54197
  )) {
54198
54198
  if (!this.checkCanEdit(this))
54199
- return z.warn(
54199
+ return J.warn(
54200
54200
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
54201
54201
  ), i == null || i.attemptAutoclose(O.RemoveFromParent, this.id), {
54202
54202
  added: [],
@@ -54235,7 +54235,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
54235
54235
  )) {
54236
54236
  var v;
54237
54237
  if (!this.checkCanDelete(this))
54238
- return z.warn(
54238
+ return J.warn(
54239
54239
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
54240
54240
  ), a == null || a.event({
54241
54241
  id: `${O.RemoveEntity}-${this.id}`,
@@ -54329,7 +54329,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
54329
54329
  )
54330
54330
  )) {
54331
54331
  if (!this.checkCanEdit(this))
54332
- return z.warn(
54332
+ return J.warn(
54333
54333
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
54334
54334
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
54335
54335
  const a = [], l = [], c = [], e = [];
@@ -54678,7 +54678,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
54678
54678
  )
54679
54679
  )) {
54680
54680
  if (!this.checkCanEdit(this))
54681
- return z.warn(
54681
+ return J.warn(
54682
54682
  `[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
54683
54683
  ), i == null || i.attemptAutoclose(
54684
54684
  O.RemoveUnrecognizedInputs,
@@ -54737,7 +54737,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
54737
54737
  )
54738
54738
  )) {
54739
54739
  if (!this.checkCanEdit(this))
54740
- return z.warn(
54740
+ return J.warn(
54741
54741
  `[removeUnrecognizedOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
54742
54742
  ), i == null || i.attemptAutoclose(
54743
54743
  O.RemoveUnrecognizedOutputs,
@@ -54797,7 +54797,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
54797
54797
  )
54798
54798
  )) {
54799
54799
  if (!this.checkCanEdit(this))
54800
- return z.warn(
54800
+ return J.warn(
54801
54801
  `[syncInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
54802
54802
  ), i == null || i.attemptAutoclose(O.SyncInputs, this.id), {
54803
54803
  updated: [],
@@ -54871,7 +54871,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
54871
54871
  )
54872
54872
  )) {
54873
54873
  if (!this.checkCanEdit(this))
54874
- return z.warn(
54874
+ return J.warn(
54875
54875
  `[syncOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
54876
54876
  ), i == null || i.attemptAutoclose(O.SyncOutputs, this.id), {
54877
54877
  updated: [],
@@ -55458,7 +55458,7 @@ Specifically for return statements the parent needs to always be the 'function-d
55458
55458
  )
55459
55459
  )) {
55460
55460
  if (!this.checkCanEdit(this))
55461
- return z.warn(
55461
+ return J.warn(
55462
55462
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
55463
55463
  ), a == null || a.attemptAutoclose(
55464
55464
  O.UpdateWithShallowTransfer,
@@ -55587,7 +55587,7 @@ Specifically for return statements the parent needs to always be the 'function-d
55587
55587
  )
55588
55588
  )) {
55589
55589
  if (!this.checkCanEdit(this))
55590
- return z.warn(
55590
+ return J.warn(
55591
55591
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
55592
55592
  ), i == null || i.attemptAutoclose(
55593
55593
  O.AfterAllChildrenInitialized,
@@ -55740,7 +55740,7 @@ Specifically for return statements the parent needs to always be the 'function-d
55740
55740
  )) {
55741
55741
  var l;
55742
55742
  if (!this.checkCanEdit(this))
55743
- return z.warn(
55743
+ return J.warn(
55744
55744
  `[setThrows] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
55745
55745
  ), a == null || a.attemptAutoclose("set-throws", this.id), this;
55746
55746
  if (i !== null && i.parentRelationType !== Ll.Error)
@@ -55759,7 +55759,7 @@ Specifically for return statements the parent needs to always be the 'function-d
55759
55759
  "add-output"
55760
55760
  )
55761
55761
  )) {
55762
- return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (z.warn(
55762
+ return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
55763
55763
  `[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
55764
55764
  ), a == null || a.attemptAutoclose("add-output", this.id), this);
55765
55765
  }
@@ -55774,7 +55774,7 @@ Specifically for return statements the parent needs to always be the 'function-d
55774
55774
  )
55775
55775
  )) {
55776
55776
  if (!this.checkCanEdit(this))
55777
- return z.warn(
55777
+ return J.warn(
55778
55778
  `[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
55779
55779
  ), a == null || a.attemptAutoclose("remove-output", this.id), this;
55780
55780
  const l = this.outputs.findIndex((c) => c.id === i.id);
@@ -55809,7 +55809,7 @@ Specifically for return statements the parent needs to always be the 'function-d
55809
55809
  )
55810
55810
  )) {
55811
55811
  var l;
55812
- return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (z.warn(
55812
+ return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (J.warn(
55813
55813
  `[setImplements] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
55814
55814
  ), a == null || a.attemptAutoclose(O.SetImplements, this.id), this);
55815
55815
  }
@@ -55828,7 +55828,7 @@ Specifically for return statements the parent needs to always be the 'function-d
55828
55828
  i,
55829
55829
  O.SetValueWriter,
55830
55830
  a
55831
- ) ? this : !i && !this.checkCanEdit(this) ? (z.warn(
55831
+ ) ? this : !i && !this.checkCanEdit(this) ? (J.warn(
55832
55832
  `[setValueWriter] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
55833
55833
  ), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this);
55834
55834
  }
@@ -55952,7 +55952,7 @@ Specifically for return statements the parent needs to always be the 'function-d
55952
55952
  )
55953
55953
  )) {
55954
55954
  if (!this.checkCanEdit(this))
55955
- return z.warn(
55955
+ return J.warn(
55956
55956
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
55957
55957
  ), i == null || i.attemptAutoclose(
55958
55958
  O.RemoveFromParent,
@@ -55994,7 +55994,7 @@ Specifically for return statements the parent needs to always be the 'function-d
55994
55994
  )) {
55995
55995
  var v, T;
55996
55996
  if (!this.checkCanDelete(this))
55997
- return z.warn(
55997
+ return J.warn(
55998
55998
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
55999
55999
  ), a == null || a.event({
56000
56000
  id: `${O.RemoveEntity}-${this.id}`,
@@ -56087,7 +56087,7 @@ Specifically for return statements the parent needs to always be the 'function-d
56087
56087
  )
56088
56088
  )) {
56089
56089
  if (!this.checkCanEdit(this))
56090
- return z.warn(
56090
+ return J.warn(
56091
56091
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
56092
56092
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
56093
56093
  const a = [], l = [], c = [], e = [];
@@ -56368,7 +56368,7 @@ Specifically for return statements the parent needs to always be the 'function-d
56368
56368
  )
56369
56369
  )) {
56370
56370
  if (!this.checkCanEdit(this))
56371
- return z.warn(
56371
+ return J.warn(
56372
56372
  `[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
56373
56373
  ), a == null || a.attemptAutoclose("set-default-value", this.id), this;
56374
56374
  const l = this.defaultValue;
@@ -56437,7 +56437,7 @@ Specifically for return statements the parent needs to always be the 'function-d
56437
56437
  "sync-returned-inputs"
56438
56438
  )
56439
56439
  )) {
56440
- var D, N, L, M, K, q, Z, H, ae, J, ue, te, le, he, X, fe, Ee;
56440
+ var D, N, L, M, K, q, Z, H, ae, z, ue, te, le, he, X, fe, Ee;
56441
56441
  const a = [], l = [], c = [], e = [];
56442
56442
  if (this.throws && this.outputs.length && (!this.parent.implements || this.parent.implements.error))
56443
56443
  return [...this.outputs].forEach((Te) => {
@@ -56537,7 +56537,7 @@ Specifically for return statements the parent needs to always be the 'function-d
56537
56537
  self: this
56538
56538
  };
56539
56539
  const y = [];
56540
- (K = this.parent.implements) != null && K.dataType && ((Z = (q = this.parent.implements) == null ? void 0 : q.dataType) != null && Z.entity && (((ae = (H = this.parent.implements) == null ? void 0 : H.dataType) == null ? void 0 : ae.entity.type) === p.DefinitionEntity || ((ue = (J = this.parent.implements) == null ? void 0 : J.dataType) == null ? void 0 : ue.entity.type) === p.BuiltInBaseEntity) && ((le = (te = this.parent.implements) == null ? void 0 : te.dataType) != null && le.entity.properties.length) ? y.push(
56540
+ (K = this.parent.implements) != null && K.dataType && ((Z = (q = this.parent.implements) == null ? void 0 : q.dataType) != null && Z.entity && (((ae = (H = this.parent.implements) == null ? void 0 : H.dataType) == null ? void 0 : ae.entity.type) === p.DefinitionEntity || ((ue = (z = this.parent.implements) == null ? void 0 : z.dataType) == null ? void 0 : ue.entity.type) === p.BuiltInBaseEntity) && ((le = (te = this.parent.implements) == null ? void 0 : te.dataType) != null && le.entity.properties.length) ? y.push(
56541
56541
  (X = (he = this.parent.implements) == null ? void 0 : he.dataType) == null ? void 0 : X.entity
56542
56542
  ) : (((Ee = (fe = this.parent.implements) == null ? void 0 : fe.dataType) == null ? void 0 : Ee.orChildrenGroup) || []).forEach(
56543
56543
  (Te) => {
@@ -56613,7 +56613,7 @@ Specifically for return statements the parent needs to always be the 'function-d
56613
56613
  )
56614
56614
  )) {
56615
56615
  if (!this.checkCanEdit(this))
56616
- return z.warn(
56616
+ return J.warn(
56617
56617
  `[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
56618
56618
  ), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
56619
56619
  const l = this.dataType;
@@ -56629,7 +56629,7 @@ Specifically for return statements the parent needs to always be the 'function-d
56629
56629
  O.RemoveDataType
56630
56630
  )
56631
56631
  )) {
56632
- return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (z.warn(
56632
+ return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
56633
56633
  `[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
56634
56634
  ), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
56635
56635
  }
@@ -57077,7 +57077,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
57077
57077
  )
57078
57078
  )) {
57079
57079
  if (!this.checkCanEdit(this))
57080
- return z.warn(
57080
+ return J.warn(
57081
57081
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
57082
57082
  ), a == null || a.attemptAutoclose(
57083
57083
  O.UpdateWithShallowTransfer,
@@ -57171,7 +57171,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
57171
57171
  )
57172
57172
  )) {
57173
57173
  if (!this.checkCanEdit(this))
57174
- return z.warn(
57174
+ return J.warn(
57175
57175
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
57176
57176
  ), i == null || i.attemptAutoclose(
57177
57177
  O.AfterAllChildrenInitialized,
@@ -57265,7 +57265,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
57265
57265
  )
57266
57266
  )) {
57267
57267
  var l;
57268
- return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (z.warn(
57268
+ return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (J.warn(
57269
57269
  `[setImplements] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
57270
57270
  ), a == null || a.attemptAutoclose(O.SetImplements, this.id), this);
57271
57271
  }
@@ -57279,7 +57279,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
57279
57279
  O.AddCall
57280
57280
  )
57281
57281
  )) {
57282
- return this.checkCanEdit(this) ? (this.calls.includes(i) || (this.calls.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddCall, this.id), this) : (z.warn(
57282
+ return this.checkCanEdit(this) ? (this.calls.includes(i) || (this.calls.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddCall, this.id), this) : (J.warn(
57283
57283
  `[addCall] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
57284
57284
  ), a == null || a.attemptAutoclose(O.AddCall, this.id), this);
57285
57285
  }
@@ -57294,7 +57294,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
57294
57294
  )
57295
57295
  )) {
57296
57296
  if (!this.checkCanEdit(this))
57297
- return z.warn(
57297
+ return J.warn(
57298
57298
  `[removeCall] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
57299
57299
  ), a == null || a.attemptAutoclose(O.RemoveCall, this.id), this;
57300
57300
  const l = this.calls.indexOf(i);
@@ -57427,7 +57427,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
57427
57427
  )
57428
57428
  )) {
57429
57429
  if (!this.checkCanEdit(this))
57430
- return z.warn(
57430
+ return J.warn(
57431
57431
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
57432
57432
  ), i == null || i.attemptAutoclose(
57433
57433
  O.RemoveFromParent,
@@ -57469,7 +57469,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
57469
57469
  )) {
57470
57470
  var T;
57471
57471
  if (!this.checkCanDelete(this))
57472
- return z.warn(
57472
+ return J.warn(
57473
57473
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
57474
57474
  ), a == null || a.event({
57475
57475
  id: `${O.RemoveEntity}-${this.id}`,
@@ -57548,7 +57548,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
57548
57548
  )
57549
57549
  )) {
57550
57550
  if (!this.checkCanEdit(this))
57551
- return z.warn(
57551
+ return J.warn(
57552
57552
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
57553
57553
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
57554
57554
  const a = [], l = [], c = [], e = [];
@@ -57840,7 +57840,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
57840
57840
  )
57841
57841
  )) {
57842
57842
  if (!this.checkCanEdit(this))
57843
- return z.warn(
57843
+ return J.warn(
57844
57844
  `[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
57845
57845
  ), i == null || i.attemptAutoclose(
57846
57846
  O.RemoveUnrecognizedInputs,
@@ -57914,7 +57914,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
57914
57914
  )) {
57915
57915
  var E;
57916
57916
  if (!this.checkCanEdit(this))
57917
- return z.warn(
57917
+ return J.warn(
57918
57918
  `[syncInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
57919
57919
  ), i == null || i.attemptAutoclose(O.SyncInputs, this.id), {
57920
57920
  updated: [],
@@ -58356,7 +58356,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
58356
58356
  }
58357
58357
  increaseVersion(i) {
58358
58358
  if (!this.checkCanEdit(this))
58359
- return z.warn(
58359
+ return J.warn(
58360
58360
  `[increaseVersion] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
58361
58361
  ), this;
58362
58362
  if (i && !x(i).isValid())
@@ -58403,7 +58403,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
58403
58403
  var v;
58404
58404
  const a = [], l = [], c = [], e = [];
58405
58405
  if (!this.checkCanEdit(this))
58406
- return z.warn(
58406
+ return J.warn(
58407
58407
  `[restoreVersion] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
58408
58408
  ), {
58409
58409
  updated: R(
@@ -58479,7 +58479,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
58479
58479
  )
58480
58480
  )) {
58481
58481
  if (!this.checkCanEdit(this))
58482
- return z.warn(
58482
+ return J.warn(
58483
58483
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
58484
58484
  ), a == null || a.attemptAutoclose(
58485
58485
  O.UpdateWithShallowTransfer,
@@ -58541,7 +58541,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
58541
58541
  )
58542
58542
  )) {
58543
58543
  if (!this.checkCanEdit(this))
58544
- return z.warn(
58544
+ return J.warn(
58545
58545
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
58546
58546
  ), i == null || i.attemptAutoclose(
58547
58547
  O.AfterAllChildrenInitialized,
@@ -58707,7 +58707,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
58707
58707
  )
58708
58708
  )) {
58709
58709
  if (!this.checkCanEdit(this))
58710
- return z.warn(
58710
+ return J.warn(
58711
58711
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
58712
58712
  ), i == null || i.attemptAutoclose(
58713
58713
  O.RemoveFromParent,
@@ -58749,7 +58749,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
58749
58749
  )) {
58750
58750
  var v;
58751
58751
  if (!this.checkCanDelete(this))
58752
- return z.warn(
58752
+ return J.warn(
58753
58753
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
58754
58754
  ), a == null || a.event({
58755
58755
  id: `${O.RemoveEntity}-${this.id}`,
@@ -58838,7 +58838,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
58838
58838
  )
58839
58839
  )) {
58840
58840
  if (!this.checkCanEdit(this))
58841
- return z.warn(
58841
+ return J.warn(
58842
58842
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
58843
58843
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
58844
58844
  const a = [], l = [], c = [], e = [];
@@ -59325,13 +59325,13 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
59325
59325
  declaration: q.toJSON(),
59326
59326
  index: Z,
59327
59327
  parent: H
59328
- }, J = se(
59328
+ }, z = se(
59329
59329
  ae,
59330
59330
  this.project
59331
59331
  );
59332
- J.setParent(K, i), J.initChildren(i), i == null || i.add(J, G.Added), J.hydrateAncestors(), J.addSelfToProject(i);
59333
- const ue = ((te = q.dataType) == null ? void 0 : te.clone(i, J)) || null;
59334
- ue && (i == null || i.add(ue, G.Added)), J.setDataType(ue, i);
59332
+ z.setParent(K, i), z.initChildren(i), i == null || i.add(z, G.Added), z.hydrateAncestors(), z.addSelfToProject(i);
59333
+ const ue = ((te = q.dataType) == null ? void 0 : te.clone(i, z)) || null;
59334
+ ue && (i == null || i.add(ue, G.Added)), z.setDataType(ue, i);
59335
59335
  });
59336
59336
  }
59337
59337
  return i == null || i.attemptAutoclose("implement-as-function-declaration", this.id), T;
@@ -59588,7 +59588,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
59588
59588
  O.AddInput
59589
59589
  )
59590
59590
  )) {
59591
- return this.checkCanEdit(this) ? (this.inputs.find((l) => l.id === i.id) || (this.inputs.push(i), a == null || a.add(this, G.Affected)), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (z.warn(
59591
+ return this.checkCanEdit(this) ? (this.inputs.find((l) => l.id === i.id) || (this.inputs.push(i), a == null || a.add(this, G.Affected)), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
59592
59592
  `[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
59593
59593
  ), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
59594
59594
  }
@@ -59602,7 +59602,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
59602
59602
  O.RemoveInput
59603
59603
  )
59604
59604
  )) {
59605
- return this.checkCanEdit(this) ? (this.inputs.find((l) => l.id === i.id) && (this.inputs = this.inputs.filter((l) => l.id !== i.id), a == null || a.add(this, G.Affected)), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this) : (z.warn(
59605
+ return this.checkCanEdit(this) ? (this.inputs.find((l) => l.id === i.id) && (this.inputs = this.inputs.filter((l) => l.id !== i.id), a == null || a.add(this, G.Affected)), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this) : (J.warn(
59606
59606
  `[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
59607
59607
  ), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this);
59608
59608
  }
@@ -59617,7 +59617,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
59617
59617
  )
59618
59618
  )) {
59619
59619
  if (!this.checkCanEdit(this))
59620
- return z.warn(
59620
+ return J.warn(
59621
59621
  `[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
59622
59622
  ), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
59623
59623
  const l = this.dataType;
@@ -59633,7 +59633,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
59633
59633
  O.RemoveDataType
59634
59634
  )
59635
59635
  )) {
59636
- return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (z.warn(
59636
+ return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
59637
59637
  `[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
59638
59638
  ), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
59639
59639
  }
@@ -60237,7 +60237,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
60237
60237
  )
60238
60238
  )) {
60239
60239
  if (!this.checkCanEdit(this))
60240
- return z.warn(
60240
+ return J.warn(
60241
60241
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
60242
60242
  ), a == null || a.attemptAutoclose(
60243
60243
  O.UpdateWithShallowTransfer,
@@ -60353,7 +60353,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
60353
60353
  )
60354
60354
  )) {
60355
60355
  if (!this.checkCanEdit(this))
60356
- return z.warn(
60356
+ return J.warn(
60357
60357
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
60358
60358
  ), i == null || i.attemptAutoclose(
60359
60359
  O.AfterAllChildrenInitialized,
@@ -60462,7 +60462,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
60462
60462
  )
60463
60463
  )) {
60464
60464
  if (!this.checkCanEdit(this))
60465
- return z.warn(
60465
+ return J.warn(
60466
60466
  `[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
60467
60467
  ), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this;
60468
60468
  const l = this.inputs.findIndex((c) => c.id === i.id);
@@ -60478,7 +60478,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
60478
60478
  O.AddInput
60479
60479
  )
60480
60480
  )) {
60481
- return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (z.warn(
60481
+ return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
60482
60482
  `[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
60483
60483
  ), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
60484
60484
  }
@@ -60492,7 +60492,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
60492
60492
  "add-output"
60493
60493
  )
60494
60494
  )) {
60495
- return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (z.warn(
60495
+ return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
60496
60496
  `[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
60497
60497
  ), a == null || a.attemptAutoclose("add-output", this.id), this);
60498
60498
  }
@@ -60507,7 +60507,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
60507
60507
  )
60508
60508
  )) {
60509
60509
  if (!this.checkCanEdit(this))
60510
- return z.warn(
60510
+ return J.warn(
60511
60511
  `[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
60512
60512
  ), a == null || a.attemptAutoclose("remove-output", this.id), this;
60513
60513
  const l = this.outputs.findIndex((c) => c.id === i.id);
@@ -60816,7 +60816,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
60816
60816
  )
60817
60817
  )) {
60818
60818
  if (!this.checkCanEdit(this))
60819
- return z.warn(
60819
+ return J.warn(
60820
60820
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
60821
60821
  ), i == null || i.attemptAutoclose(
60822
60822
  O.RemoveFromParent,
@@ -60858,7 +60858,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
60858
60858
  )) {
60859
60859
  var v;
60860
60860
  if (!this.checkCanDelete(this))
60861
- return z.warn(
60861
+ return J.warn(
60862
60862
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
60863
60863
  ), a == null || a.event({
60864
60864
  id: `${O.RemoveEntity}-${this.id}`,
@@ -60961,7 +60961,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
60961
60961
  )
60962
60962
  )) {
60963
60963
  if (!this.checkCanEdit(this))
60964
- return z.warn(
60964
+ return J.warn(
60965
60965
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
60966
60966
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
60967
60967
  const a = [], l = [], c = [], e = [];
@@ -61490,7 +61490,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
61490
61490
  } = this.syncFixedBodyArgumentDeclarations(i);
61491
61491
  a.push(...y), l.push(...v), c.push(...T);
61492
61492
  const I = this.getUniqueInputMaps(), E = this.body.inputs;
61493
- if (I.sort((J, ue) => J.index - ue.index), ((q = (K = (M = this.body) == null ? void 0 : M.dataType) == null ? void 0 : K.entity) == null ? void 0 : q.id) !== pe["primitive-entity"].void.id && !E.find(
61493
+ if (I.sort((z, ue) => z.index - ue.index), ((q = (K = (M = this.body) == null ? void 0 : M.dataType) == null ? void 0 : K.entity) == null ? void 0 : q.id) !== pe["primitive-entity"].void.id && !E.find(
61494
61494
  (ue) => {
61495
61495
  var te, le, he, X, fe, Ee, Te;
61496
61496
  return ue.id !== ((te = this.currentIterationNumberArgumentDeclaration) == null ? void 0 : te.id) && ue.id !== ((le = this.currentValueArgumentDeclaration) == null ? void 0 : le.id) && ((X = (he = ue.dataType) == null ? void 0 : he.entity) == null ? void 0 : X.id) === ((Te = (Ee = (fe = this.body) == null ? void 0 : fe.dataType) == null ? void 0 : Ee.entity) == null ? void 0 : Te.id);
@@ -61580,19 +61580,19 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
61580
61580
  let M = (((Z = (q = (K = this.body) == null ? void 0 : K.dataType) == null ? void 0 : q.entity) == null ? void 0 : Z.properties) || []).filter(
61581
61581
  (H) => !D.find(
61582
61582
  (ae) => {
61583
- var J, ue;
61584
- return !ae.deleted && !((J = ae.declaration) != null && J.deleted) && ((ue = ae.declaration) == null ? void 0 : ue.id) === H.id;
61583
+ var z, ue;
61584
+ return !ae.deleted && !((z = ae.declaration) != null && z.deleted) && ((ue = ae.declaration) == null ? void 0 : ue.id) === H.id;
61585
61585
  }
61586
61586
  )
61587
61587
  );
61588
61588
  N.forEach((H) => {
61589
61589
  const ae = H.getDataType(i);
61590
61590
  if (H.readsValue) {
61591
- const J = Y(
61591
+ const z = Y(
61592
61592
  H.readsValue,
61593
61593
  this.project
61594
61594
  ), ue = M.find(
61595
- (te) => Y(te, this.project) === J && ns(te.dataType, ae)
61595
+ (te) => Y(te, this.project) === z && ns(te.dataType, ae)
61596
61596
  );
61597
61597
  if (ue) {
61598
61598
  H.setDeclaration(ue, i), a.push(H), M = M.filter(
@@ -61602,23 +61602,23 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
61602
61602
  }
61603
61603
  }
61604
61604
  }), L.forEach((H) => {
61605
- const ae = H.getDataType(i), J = M.find(
61605
+ const ae = H.getDataType(i), z = M.find(
61606
61606
  (ue) => ns(ue.dataType, ae)
61607
61607
  );
61608
- if (J) {
61609
- H.setDeclaration(J, i), a.push(H), M = M.filter(
61610
- (ue) => ue !== J
61608
+ if (z) {
61609
+ H.setDeclaration(z, i), a.push(H), M = M.filter(
61610
+ (ue) => ue !== z
61611
61611
  );
61612
61612
  return;
61613
61613
  }
61614
61614
  }), D.forEach((H) => {
61615
61615
  const ae = M.find(
61616
- (J) => Y(J, this.project) === Y(H, this.project)
61616
+ (z) => Y(z, this.project) === Y(H, this.project)
61617
61617
  );
61618
61618
  H.declaration && !M.includes(
61619
61619
  H.declaration
61620
61620
  ) && ae && (H.setDeclaration(ae, i), a.push(H), M = M.filter(
61621
- (J) => J !== ae
61621
+ (z) => z !== ae
61622
61622
  ));
61623
61623
  });
61624
61624
  }), i == null || i.attemptAutoclose(
@@ -61652,7 +61652,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
61652
61652
  "sync-outputs-properties"
61653
61653
  )
61654
61654
  )) {
61655
- var L, M, K, q, Z, H, ae, J, ue, te, le, he, X, fe, Ee, Te, Ce, be, Ie, De, Ne;
61655
+ var L, M, K, q, Z, H, ae, z, ue, te, le, he, X, fe, Ee, Te, Ce, be, Ie, De, Ne;
61656
61656
  const a = [], l = [], c = [], e = [], y = [
61657
61657
  ...this.breakStatements,
61658
61658
  ...this.continueStatements
@@ -61697,7 +61697,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
61697
61697
  this.project
61698
61698
  );
61699
61699
  ke.setParent(
61700
- (J = this.body) == null ? void 0 : J.dataType,
61700
+ (z = this.body) == null ? void 0 : z.dataType,
61701
61701
  i
61702
61702
  ), ke.hydrateAncestors(), i == null || i.add(ke, G.Added), ke.addSelfToProject(i), ke.initChildren(i), l.push(ke), I = ke, (te = (ue = this.body) == null ? void 0 : ue.dataType) == null || te.metaSync(
61703
61703
  {
@@ -62090,12 +62090,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
62090
62090
  );
62091
62091
  if (!ae)
62092
62092
  break;
62093
- const J = this.getCurrentValueBuiltInValueDescriptor();
62093
+ const z = this.getCurrentValueBuiltInValueDescriptor();
62094
62094
  if (H) {
62095
- J && !H.implements.find(
62096
- (he) => he.id === J.id
62095
+ z && !H.implements.find(
62096
+ (he) => he.id === z.id
62097
62097
  ) && (H.addImplementation(
62098
- J,
62098
+ z,
62099
62099
  i
62100
62100
  ), a.push(H));
62101
62101
  let te = H.getDataType(i);
@@ -62159,7 +62159,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
62159
62159
  index: this.body.inputs.length,
62160
62160
  constant: !0,
62161
62161
  required: !0,
62162
- implements: [J],
62162
+ implements: [z],
62163
62163
  writesValues: [],
62164
62164
  dataType: null,
62165
62165
  parent: this.body.toReference()
@@ -62170,10 +62170,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
62170
62170
  te.setParent(this.body, i), te.initChildren(i), i == null || i.add(
62171
62171
  te,
62172
62172
  G.Added
62173
- ), te.addSelfToProject(i), J && !te.implements.find(
62174
- (le) => le.id === J.id
62173
+ ), te.addSelfToProject(i), z && !te.implements.find(
62174
+ (le) => le.id === z.id
62175
62175
  ) && (te.addImplementation(
62176
- J,
62176
+ z,
62177
62177
  i
62178
62178
  ), a.push(te)), l.push(te);
62179
62179
  }
@@ -62192,11 +62192,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
62192
62192
  return ((te = ue.declaration) == null ? void 0 : te.id) === pe[p.Loop][Ze.ObjectKeys].inputs.object.id;
62193
62193
  }))
62194
62194
  break;
62195
- const J = this.getCurrentValueBuiltInValueDescriptor();
62195
+ const z = this.getCurrentValueBuiltInValueDescriptor();
62196
62196
  if (H) {
62197
- J && !H.implements.find(
62198
- (le) => le.id === J.id
62199
- ) && (H.addImplementation(J), a.push(H));
62197
+ z && !H.implements.find(
62198
+ (le) => le.id === z.id
62199
+ ) && (H.addImplementation(z), a.push(H));
62200
62200
  let te = H.getDataType(i);
62201
62201
  if (te) {
62202
62202
  const le = this.project.getBuiltIn(
@@ -62259,7 +62259,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
62259
62259
  index: this.body.inputs.length,
62260
62260
  constant: !0,
62261
62261
  required: !0,
62262
- implements: [J],
62262
+ implements: [z],
62263
62263
  writesValues: [],
62264
62264
  dataType: null,
62265
62265
  parent: this.body.toReference()
@@ -62270,10 +62270,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
62270
62270
  te.setParent(this.body, i), te.initChildren(i), i == null || i.add(
62271
62271
  te,
62272
62272
  G.Added
62273
- ), te.addSelfToProject(i), J && !te.implements.find(
62274
- (le) => le.id === J.id
62273
+ ), te.addSelfToProject(i), z && !te.implements.find(
62274
+ (le) => le.id === z.id
62275
62275
  ) && (te.addImplementation(
62276
- J,
62276
+ z,
62277
62277
  i
62278
62278
  ), a.push(te)), l.push(te);
62279
62279
  }
@@ -62288,12 +62288,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
62288
62288
  });
62289
62289
  if (!ae)
62290
62290
  break;
62291
- const J = this.getCurrentValueBuiltInValueDescriptor();
62291
+ const z = this.getCurrentValueBuiltInValueDescriptor();
62292
62292
  if (H) {
62293
- J && !H.implements.find(
62294
- (le) => le.id === J.id
62293
+ z && !H.implements.find(
62294
+ (le) => le.id === z.id
62295
62295
  ) && (H.addImplementation(
62296
- J,
62296
+ z,
62297
62297
  i
62298
62298
  ), a.push(H));
62299
62299
  let te = H.getDataType(i);
@@ -62444,7 +62444,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
62444
62444
  defaultValue: null,
62445
62445
  index: this.body.inputs.length,
62446
62446
  required: !0,
62447
- implements: [J],
62447
+ implements: [z],
62448
62448
  writesValues: [],
62449
62449
  dataType: null,
62450
62450
  parent: this.body.toReference()
@@ -62455,10 +62455,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
62455
62455
  te.setParent(this.body, i), te.initChildren(i), i == null || i.add(
62456
62456
  te,
62457
62457
  G.Added
62458
- ), te.addSelfToProject(i), J && !te.implements.find(
62459
- (le) => le.id === J.id
62458
+ ), te.addSelfToProject(i), z && !te.implements.find(
62459
+ (le) => le.id === z.id
62460
62460
  ) && (te.addImplementation(
62461
- J,
62461
+ z,
62462
62462
  i
62463
62463
  ), a.push(te)), l.push(te);
62464
62464
  }
@@ -62473,12 +62473,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
62473
62473
  return ((te = ue.declaration) == null ? void 0 : te.id) === pe[p.Loop][Ze.String].inputs.string.id;
62474
62474
  }))
62475
62475
  break;
62476
- const J = this.getCurrentValueBuiltInValueDescriptor();
62476
+ const z = this.getCurrentValueBuiltInValueDescriptor();
62477
62477
  if (H) {
62478
- J && !H.implements.find(
62479
- (le) => le.id === J.id
62478
+ z && !H.implements.find(
62479
+ (le) => le.id === z.id
62480
62480
  ) && (H.addImplementation(
62481
- J,
62481
+ z,
62482
62482
  i
62483
62483
  ), a.push(H));
62484
62484
  let te = H.getDataType(i);
@@ -62543,7 +62543,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
62543
62543
  required: !0,
62544
62544
  constant: !0,
62545
62545
  defaultValue: null,
62546
- implements: [J],
62546
+ implements: [z],
62547
62547
  writesValues: [],
62548
62548
  dataType: null,
62549
62549
  parent: this.body.toReference()
@@ -62554,10 +62554,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
62554
62554
  te.setParent(this.body, i), te.initChildren(i), i == null || i.add(
62555
62555
  te,
62556
62556
  G.Added
62557
- ), te.addSelfToProject(i), J && !te.implements.find(
62558
- (le) => le.id === J.id
62557
+ ), te.addSelfToProject(i), z && !te.implements.find(
62558
+ (le) => le.id === z.id
62559
62559
  ) && (te.addImplementation(
62560
- J,
62560
+ z,
62561
62561
  i
62562
62562
  ), a.push(te)), l.push(te);
62563
62563
  }
@@ -62940,7 +62940,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
62940
62940
  };
62941
62941
  }
62942
62942
  checkIsSynced() {
62943
- var E, D, N, L, M, K, q, Z, H, ae, J, ue, te, le, he, X, fe, Ee, Te, Ce, be, Ie, De, Ne, Le;
62943
+ var E, D, N, L, M, K, q, Z, H, ae, z, ue, te, le, he, X, fe, Ee, Te, Ce, be, Ie, De, Ne, Le;
62944
62944
  if ((!this.body || !((E = this.body) != null && E.dataType) || !((D = this.body) != null && D.dataType.entity)) && this.id)
62945
62945
  return !1;
62946
62946
  const i = [
@@ -63019,7 +63019,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
63019
63019
  if (this.inputs.length !== 1)
63020
63020
  return !1;
63021
63021
  const ke = this.inputs[0], ot = this.getValueInputMapDeclarationId();
63022
- if (((J = ke.declaration) == null ? void 0 : J.id) !== ot)
63022
+ if (((z = ke.declaration) == null ? void 0 : z.id) !== ot)
63023
63023
  return !1;
63024
63024
  } else if (this.inputs.length > 0)
63025
63025
  return !1;
@@ -63195,7 +63195,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
63195
63195
  )
63196
63196
  )) {
63197
63197
  if (!this.checkCanEdit(this))
63198
- return z.warn(
63198
+ return J.warn(
63199
63199
  `[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
63200
63200
  ), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
63201
63201
  const l = this.dataType;
@@ -63233,7 +63233,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
63233
63233
  O.RemoveDataType
63234
63234
  )
63235
63235
  )) {
63236
- return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (z.warn(
63236
+ return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
63237
63237
  `[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
63238
63238
  ), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
63239
63239
  }
@@ -63735,7 +63735,7 @@ If an entity is called by another, they must be in the same scope, which means t
63735
63735
  )) {
63736
63736
  var l, c;
63737
63737
  if (!this.checkCanEdit(this))
63738
- return z.warn(
63738
+ return J.warn(
63739
63739
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
63740
63740
  ), a == null || a.attemptAutoclose(
63741
63741
  O.UpdateWithShallowTransfer,
@@ -63868,7 +63868,7 @@ If an entity is called by another, they must be in the same scope, which means t
63868
63868
  )) {
63869
63869
  var I, E;
63870
63870
  if (!this.checkCanEdit(this))
63871
- return z.warn(
63871
+ return J.warn(
63872
63872
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
63873
63873
  ), i == null || i.attemptAutoclose(
63874
63874
  O.AfterAllChildrenInitialized,
@@ -63975,7 +63975,7 @@ If an entity is called by another, they must be in the same scope, which means t
63975
63975
  )
63976
63976
  )) {
63977
63977
  if (!this.checkCanEdit(this))
63978
- return z.warn(
63978
+ return J.warn(
63979
63979
  `[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
63980
63980
  ), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this;
63981
63981
  const l = this.inputs.findIndex((c) => c.id === i.id);
@@ -63991,7 +63991,7 @@ If an entity is called by another, they must be in the same scope, which means t
63991
63991
  O.AddInput
63992
63992
  )
63993
63993
  )) {
63994
- return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (z.warn(
63994
+ return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
63995
63995
  `[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
63996
63996
  ), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
63997
63997
  }
@@ -64159,7 +64159,7 @@ If an entity is called by another, they must be in the same scope, which means t
64159
64159
  )
64160
64160
  )) {
64161
64161
  if (!this.checkCanEdit(this))
64162
- return z.warn(
64162
+ return J.warn(
64163
64163
  `[removeChildGroup] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
64164
64164
  ), a == null || a.attemptAutoclose(
64165
64165
  O.RemoveChildGroup,
@@ -64322,7 +64322,7 @@ If an entity is called by another, they must be in the same scope, which means t
64322
64322
  )) {
64323
64323
  var y;
64324
64324
  if (!this.checkCanEdit(this))
64325
- return z.warn(
64325
+ return J.warn(
64326
64326
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
64327
64327
  ), i == null || i.attemptAutoclose(
64328
64328
  O.RemoveFromParent,
@@ -64364,7 +64364,7 @@ If an entity is called by another, they must be in the same scope, which means t
64364
64364
  )) {
64365
64365
  var v;
64366
64366
  if (!this.checkCanDelete(this))
64367
- return z.warn(
64367
+ return J.warn(
64368
64368
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
64369
64369
  ), a == null || a.event({
64370
64370
  id: `${O.RemoveEntity}-${this.id}`,
@@ -64453,7 +64453,7 @@ If an entity is called by another, they must be in the same scope, which means t
64453
64453
  )
64454
64454
  )) {
64455
64455
  if (!this.checkCanEdit(this))
64456
- return z.warn(
64456
+ return J.warn(
64457
64457
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
64458
64458
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
64459
64459
  const a = [], l = [], c = [], e = [];
@@ -64814,7 +64814,7 @@ If an entity is called by another, they must be in the same scope, which means t
64814
64814
  O.AddToAndGroup
64815
64815
  )
64816
64816
  )) {
64817
- return this.checkCanEdit(this) ? (this.andChildrenGroup || (this.andChildrenGroup = []), this.andChildrenGroup.includes(i) || (this.andChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToAndGroup, this.id), this) : (z.warn(
64817
+ return this.checkCanEdit(this) ? (this.andChildrenGroup || (this.andChildrenGroup = []), this.andChildrenGroup.includes(i) || (this.andChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToAndGroup, this.id), this) : (J.warn(
64818
64818
  `[addToAndGroup] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
64819
64819
  ), a == null || a.attemptAutoclose(O.AddToAndGroup, this.id), this);
64820
64820
  }
@@ -64829,7 +64829,7 @@ If an entity is called by another, they must be in the same scope, which means t
64829
64829
  O.AddToOrGroup
64830
64830
  )
64831
64831
  )) {
64832
- return this.checkCanEdit(this) ? (this.orChildrenGroup || (this.orChildrenGroup = []), this.orChildrenGroup.includes(i) || (this.orChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToOrGroup, this.id), this) : (z.warn(
64832
+ return this.checkCanEdit(this) ? (this.orChildrenGroup || (this.orChildrenGroup = []), this.orChildrenGroup.includes(i) || (this.orChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToOrGroup, this.id), this) : (J.warn(
64833
64833
  `[addToOrGroup] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
64834
64834
  ), a == null || a.attemptAutoclose(O.AddToOrGroup, this.id), this);
64835
64835
  }
@@ -64844,7 +64844,7 @@ If an entity is called by another, they must be in the same scope, which means t
64844
64844
  )
64845
64845
  )) {
64846
64846
  if (!this.checkCanEdit(this))
64847
- return z.warn(
64847
+ return J.warn(
64848
64848
  `[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
64849
64849
  ), i == null || i.attemptAutoclose(
64850
64850
  O.RemoveUnrecognizedInputs,
@@ -64904,7 +64904,7 @@ If an entity is called by another, they must be in the same scope, which means t
64904
64904
  )
64905
64905
  )) {
64906
64906
  if (!this.checkCanEdit(this))
64907
- return z.warn(
64907
+ return J.warn(
64908
64908
  `[syncInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
64909
64909
  ), i == null || i.attemptAutoclose(O.SyncInputs, this.id), {
64910
64910
  updated: [],
@@ -65133,7 +65133,7 @@ class Tm {
65133
65133
  );
65134
65134
  y ? i[a] = y : delete u[a];
65135
65135
  } catch (e) {
65136
- z.error("Error hydrating ancestors: ", e), delete u[a];
65136
+ J.error("Error hydrating ancestors: ", e), delete u[a];
65137
65137
  }
65138
65138
  }), this.values = {
65139
65139
  ...this.values,
@@ -65184,7 +65184,7 @@ class Tm {
65184
65184
  this.project
65185
65185
  );
65186
65186
  }
65187
- l.standalone = !0, l.initialData.standaloneParent || z.warn("instance.initialData: ", l.initialData), l.setStandaloneParent(u), l.hydrateAncestors(), l.initChildren(null), i && (l.metaSync(
65187
+ l.standalone = !0, l.initialData.standaloneParent || J.warn("instance.initialData: ", l.initialData), l.setStandaloneParent(u), l.hydrateAncestors(), l.initChildren(null), i && (l.metaSync(
65188
65188
  {
65189
65189
  ...i
65190
65190
  },
@@ -65299,10 +65299,10 @@ function Ea(d, u, i = /* @__PURE__ */ new Set()) {
65299
65299
  d,
65300
65300
  ...d.getCounterparts()
65301
65301
  ];
65302
- return z.log(
65302
+ return J.log(
65303
65303
  "Resolved counterparts for return declaration: ",
65304
65304
  `${d.name} ${d.id}`
65305
- ), z.log(
65305
+ ), J.log(
65306
65306
  "equivalentReturnDeclarations: ",
65307
65307
  e.map((y) => `${y.name} ${y.id}`)
65308
65308
  ), R([
@@ -65975,14 +65975,14 @@ function NB(d, u, i = !1) {
65975
65975
  Y(d, u.project)
65976
65976
  );
65977
65977
  if (H != null && H.value && Ti(H.value.value)) {
65978
- const J = H.value.value[ae], ue = rt(
65978
+ const z = H.value.value[ae], ue = rt(
65979
65979
  d.getDataType(null),
65980
65980
  d,
65981
65981
  u.project
65982
65982
  );
65983
65983
  return ue == null || ue.metaSync(
65984
65984
  {
65985
- value: J
65985
+ value: z
65986
65986
  },
65987
65987
  null
65988
65988
  ), {
@@ -66046,18 +66046,18 @@ function NB(d, u, i = !1) {
66046
66046
  };
66047
66047
  }
66048
66048
  }
66049
- const J = rt(
66049
+ const z = rt(
66050
66050
  ((N = d.declaration) == null ? void 0 : N.dataType) || null,
66051
66051
  d,
66052
66052
  u.project
66053
66053
  );
66054
- return J == null || J.metaSync(
66054
+ return z == null || z.metaSync(
66055
66055
  {
66056
66056
  value: null
66057
66057
  },
66058
66058
  null
66059
66059
  ), {
66060
- value: J,
66060
+ value: z,
66061
66061
  valueOwner: d,
66062
66062
  type: _e.Inherited,
66063
66063
  inheritanceLink: {
@@ -66096,18 +66096,18 @@ function NB(d, u, i = !1) {
66096
66096
  };
66097
66097
  }
66098
66098
  }
66099
- const J = rt(
66099
+ const z = rt(
66100
66100
  ((M = d.declaration) == null ? void 0 : M.dataType) || null,
66101
66101
  d,
66102
66102
  u.project
66103
66103
  );
66104
- return J == null || J.metaSync(
66104
+ return z == null || z.metaSync(
66105
66105
  {
66106
66106
  value: null
66107
66107
  },
66108
66108
  null
66109
66109
  ), {
66110
- value: J,
66110
+ value: z,
66111
66111
  valueOwner: d,
66112
66112
  type: _e.Inherited,
66113
66113
  inheritanceLink: {
@@ -66117,19 +66117,19 @@ function NB(d, u, i = !1) {
66117
66117
  };
66118
66118
  }
66119
66119
  case p.Operation: {
66120
- const H = e.outputs.map((J) => {
66120
+ const H = e.outputs.map((z) => {
66121
66121
  var ue, te;
66122
- if ((ue = u.persistedExecutionResults) != null && ue.values[J.id]) {
66123
- const le = (te = u.persistedExecutionResults) == null ? void 0 : te.values[J.id];
66122
+ if ((ue = u.persistedExecutionResults) != null && ue.values[z.id]) {
66123
+ const le = (te = u.persistedExecutionResults) == null ? void 0 : te.values[z.id];
66124
66124
  if (le.value !== null || le.valueAsType !== null)
66125
66125
  return {
66126
66126
  value: le,
66127
- valueOwner: J,
66127
+ valueOwner: z,
66128
66128
  type: _e.ExecutionResult,
66129
66129
  inheritanceLink: null
66130
66130
  };
66131
66131
  }
66132
- }).filter((J) => !!J), ae = rt(
66132
+ }).filter((z) => !!z), ae = rt(
66133
66133
  ((K = d.declaration) == null ? void 0 : K.dataType) || null,
66134
66134
  d,
66135
66135
  u.project
@@ -66151,8 +66151,8 @@ function NB(d, u, i = !1) {
66151
66151
  }
66152
66152
  case p.FunctionCall: {
66153
66153
  const H = e.inputs.map(
66154
- (J) => xA(J, u, i)
66155
- ).filter((J) => !!J), ae = rt(
66154
+ (z) => xA(z, u, i)
66155
+ ).filter((z) => !!z), ae = rt(
66156
66156
  ((q = d.declaration) == null ? void 0 : q.dataType) || null,
66157
66157
  d,
66158
66158
  u.project
@@ -66169,8 +66169,8 @@ function NB(d, u, i = !1) {
66169
66169
  }
66170
66170
  case p.Loop: {
66171
66171
  const H = e.inputs.map(
66172
- (J) => xA(J, u, i)
66173
- ).filter((J) => !!J), ae = rt(
66172
+ (z) => xA(z, u, i)
66173
+ ).filter((z) => !!z), ae = rt(
66174
66174
  ((Z = d.declaration) == null ? void 0 : Z.dataType) || null,
66175
66175
  d,
66176
66176
  u.project
@@ -66309,11 +66309,11 @@ function Tgt(d, u, i = !1) {
66309
66309
  );
66310
66310
  const q = T && cd(K), Z = !!((N = u.execution) != null && N.entities.length), H = (L = u.execution) == null ? void 0 : L.hasEntity(a), ae = a.readsValue;
66311
66311
  if (ae) {
66312
- const J = (M = u.execution) == null ? void 0 : M.hasEntity(ae);
66312
+ const z = (M = u.execution) == null ? void 0 : M.hasEntity(ae);
66313
66313
  if (q && // There isn't an active test
66314
66314
  (!Z || // Or there is an active test, and both entities are part of it
66315
- Z && J && H || // Or there is an active test, but neither entity is a part it
66316
- Z && !J && !H))
66315
+ Z && z && H || // Or there is an active test, but neither entity is a part it
66316
+ Z && !z && !H))
66317
66317
  return {
66318
66318
  value: null,
66319
66319
  valueOwner: d,
@@ -66761,7 +66761,7 @@ function wgt(d, u, i, a) {
66761
66761
  });
66762
66762
  const K = Ti(d) ? d : M;
66763
66763
  L.inputs.forEach((q) => {
66764
- var Z, H, ae, J, ue;
66764
+ var Z, H, ae, z, ue;
66765
66765
  if (((Z = q.declaration) == null ? void 0 : Z.type) === p.Property && q.declaration.static) {
66766
66766
  let te = l ? ((H = u.getDefaultValue) == null ? void 0 : H.call(u)) || null : e == null ? void 0 : e.readValue(q.declaration.id);
66767
66767
  te ? !l && te && te.id === ((ae = q.declaration.getDefaultValue()) == null ? void 0 : ae.id) && (te = rt(
@@ -66788,7 +66788,7 @@ function wgt(d, u, i, a) {
66788
66788
  q.declaration,
66789
66789
  te
66790
66790
  );
66791
- } else if (((J = q.declaration) == null ? void 0 : J.type) === p.Property) {
66791
+ } else if (((z = q.declaration) == null ? void 0 : z.type) === p.Property) {
66792
66792
  let te = l ? ((ue = u.getDefaultValue) == null ? void 0 : ue.call(u)) || null : e == null ? void 0 : e.readValue(q.id);
66793
66793
  te && te.metaSync(
66794
66794
  {
@@ -68848,7 +68848,7 @@ const s4 = (d) => {
68848
68848
  return;
68849
68849
  const H = Zn.from(
68850
68850
  "getAllResponseHeaders" in K && K.getAllResponseHeaders()
68851
- ), J = {
68851
+ ), z = {
68852
68852
  data: !y || y === "text" || y === "json" ? K.responseText : K.response,
68853
68853
  status: K.status,
68854
68854
  statusText: K.statusText,
@@ -68860,7 +68860,7 @@ const s4 = (d) => {
68860
68860
  i(te), M();
68861
68861
  }, function(te) {
68862
68862
  a(te), M();
68863
- }, J), K = null;
68863
+ }, z), K = null;
68864
68864
  }
68865
68865
  "onloadend" in K ? K.onloadend = q : K.onreadystatechange = function() {
68866
68866
  !K || K.readyState !== 4 || K.status === 0 && !(K.responseURL && K.responseURL.indexOf("file:") === 0) || setTimeout(q);
@@ -68870,15 +68870,15 @@ const s4 = (d) => {
68870
68870
  a(new Kt("Network Error", Kt.ERR_NETWORK, d, K)), K = null;
68871
68871
  }, K.ontimeout = function() {
68872
68872
  let ae = l.timeout ? "timeout of " + l.timeout + "ms exceeded" : "timeout exceeded";
68873
- const J = l.transitional || QB;
68873
+ const z = l.transitional || QB;
68874
68874
  l.timeoutErrorMessage && (ae = l.timeoutErrorMessage), a(new Kt(
68875
68875
  ae,
68876
- J.clarifyTimeoutError ? Kt.ETIMEDOUT : Kt.ECONNABORTED,
68876
+ z.clarifyTimeoutError ? Kt.ETIMEDOUT : Kt.ECONNABORTED,
68877
68877
  d,
68878
68878
  K
68879
68879
  )), K = null;
68880
- }, c === void 0 && e.setContentType(null), "setRequestHeader" in K && ge.forEach(e.toJSON(), function(ae, J) {
68881
- K.setRequestHeader(J, ae);
68880
+ }, c === void 0 && e.setContentType(null), "setRequestHeader" in K && ge.forEach(e.toJSON(), function(ae, z) {
68881
+ K.setRequestHeader(z, ae);
68882
68882
  }), ge.isUndefined(l.withCredentials) || (K.withCredentials = !!l.withCredentials), y && y !== "json" && (K.responseType = l.responseType), T && ([D, L] = Km(T, !0), K.addEventListener("progress", D)), v && K.upload && ([E, N] = Km(v), K.upload.addEventListener("progress", E), K.upload.addEventListener("loadend", N)), (l.cancelToken || l.signal) && (I = (H) => {
68883
68883
  K && (a(!H || H.type ? new Ep(null, d, K) : H), K.abort(), K = null);
68884
68884
  }, l.cancelToken && l.cancelToken.subscribe(I), l.signal && (l.signal.aborted ? I() : l.signal.addEventListener("abort", I)));
@@ -69035,17 +69035,17 @@ const uOt = async (d) => {
69035
69035
  let K;
69036
69036
  try {
69037
69037
  if (v && dOt && i !== "get" && i !== "head" && (K = await pOt(I, a)) !== 0) {
69038
- let J = new Request(u, {
69038
+ let z = new Request(u, {
69039
69039
  method: "POST",
69040
69040
  body: a,
69041
69041
  duplex: "half"
69042
69042
  }), ue;
69043
- if (ge.isFormData(a) && (ue = J.headers.get("content-type")) && I.setContentType(ue), J.body) {
69043
+ if (ge.isFormData(a) && (ue = z.headers.get("content-type")) && I.setContentType(ue), z.body) {
69044
69044
  const [te, le] = M$(
69045
69045
  K,
69046
69046
  Km(B$(v))
69047
69047
  );
69048
- a = j$(J.body, G$, te, le);
69048
+ a = j$(z.body, G$, te, le);
69049
69049
  }
69050
69050
  }
69051
69051
  ge.isString(E) || (E = E ? "include" : "omit");
@@ -69062,9 +69062,9 @@ const uOt = async (d) => {
69062
69062
  let Z = await fetch(L);
69063
69063
  const H = jA && (T === "stream" || T === "response");
69064
69064
  if (jA && (y || H && M)) {
69065
- const J = {};
69065
+ const z = {};
69066
69066
  ["status", "statusText", "headers"].forEach((he) => {
69067
- J[he] = Z[he];
69067
+ z[he] = Z[he];
69068
69068
  });
69069
69069
  const ue = ge.toFiniteNumber(Z.headers.get("content-length")), [te, le] = y && M$(
69070
69070
  ue,
@@ -69074,13 +69074,13 @@ const uOt = async (d) => {
69074
69074
  j$(Z.body, G$, te, () => {
69075
69075
  le && le(), M && M();
69076
69076
  }),
69077
- J
69077
+ z
69078
69078
  );
69079
69079
  }
69080
69080
  T = T || "text";
69081
69081
  let ae = await qm[ge.findKey(qm, T) || "text"](Z, d);
69082
- return !H && M && M(), await new Promise((J, ue) => {
69083
- i4(J, ue, {
69082
+ return !H && M && M(), await new Promise((z, ue) => {
69083
+ i4(z, ue, {
69084
69084
  data: ae,
69085
69085
  headers: Zn.from(Z.headers),
69086
69086
  status: Z.status,
@@ -70184,22 +70184,22 @@ class xOt extends pt {
70184
70184
  });
70185
70185
  _(this, "module", {
70186
70186
  init: (i) => {
70187
- z.log("Initializing Random Generate Short Identifier Module");
70187
+ J.log("Initializing Random Generate Short Identifier Module");
70188
70188
  const a = i.find(
70189
70189
  (l) => l.contextType === Pe.Logic
70190
70190
  );
70191
70191
  if (a) {
70192
- z.log("Project state found, setting up operation");
70192
+ J.log("Project state found, setting up operation");
70193
70193
  const l = a.get(
70194
70194
  qe.GenerateShortIdentifier
70195
70195
  );
70196
- l ? (z.log(
70196
+ l ? (J.log(
70197
70197
  "Operation found, setting autoexecutable and implementation"
70198
- ), l.autoexecutable = !0, l.implementation = this.module.main) : z.warn(
70198
+ ), l.autoexecutable = !0, l.implementation = this.module.main) : J.warn(
70199
70199
  "Operation generate-short-identifier not found in project state"
70200
70200
  );
70201
70201
  } else
70202
- z.warn(
70202
+ J.warn(
70203
70203
  "Project state not found in contexts for Random Generate Short Identifier Module"
70204
70204
  );
70205
70205
  },
@@ -72383,7 +72383,7 @@ class b$t extends pt {
72383
72383
  return ((v = y.value) == null ? void 0 : v.valueAsType) || ((T = y.value) == null ? void 0 : T.value);
72384
72384
  }
72385
72385
  );
72386
- z.log("Inputs for entity validation: ", l);
72386
+ J.log("Inputs for entity validation: ", l);
72387
72387
  const e = ix(
72388
72388
  l[1]
72389
72389
  ).safeParse(l[0]);
@@ -72444,7 +72444,7 @@ class E$t extends pt {
72444
72444
  headers: c,
72445
72445
  data: l[4]
72446
72446
  };
72447
- z.log("Axios request config: ", e);
72447
+ J.log("Axios request config: ", e);
72448
72448
  const y = await bOt(e);
72449
72449
  return {
72450
72450
  value: S.Success,
@@ -72709,7 +72709,7 @@ class I$t {
72709
72709
  );
72710
72710
  }
72711
72711
  async setup() {
72712
- A$t(this), z.log("Initializing extensions without context..."), this.initForReady();
72712
+ A$t(this), J.log("Initializing extensions without context..."), this.initForReady();
72713
72713
  }
72714
72714
  requestContext(u) {
72715
72715
  switch (u) {
@@ -72769,22 +72769,22 @@ class I$t {
72769
72769
  }
72770
72770
  // Initialize all extensions that have ready contexts
72771
72771
  async initForReady() {
72772
- z.log("Initializing extensions for ready contexts...");
72772
+ J.log("Initializing extensions for ready contexts...");
72773
72773
  for (const u of this.extensionInOrder)
72774
72774
  if (u.module.init && !this.initialized.has(u.manifest.id)) {
72775
- z.log("Initializing " + u.manifest.id + " extension...");
72775
+ J.log("Initializing " + u.manifest.id + " extension...");
72776
72776
  const i = this.requestContexts(u);
72777
72777
  u.manifest.contexts.every(
72778
72778
  (l) => !!i.find((c) => c.contextType === l)
72779
- ) ? (await u.module.init(i), this.initialized.add(u.manifest.id)) : z.warn(
72779
+ ) ? (await u.module.init(i), this.initialized.add(u.manifest.id)) : J.warn(
72780
72780
  `Skipping initialization of ${u.manifest.id} extension, not all contexts are ready.`,
72781
72781
  `Required contexts: ${u.manifest.contexts.join(", ")}`,
72782
72782
  `Available contexts: ${i.map((l) => l.contextType).join(", ")}`
72783
72783
  );
72784
72784
  } else
72785
- !u.module.init && !this.initialized.has(u.manifest.id) ? (z.log(
72785
+ !u.module.init && !this.initialized.has(u.manifest.id) ? (J.log(
72786
72786
  "Set " + u.manifest.id + " extension as initialized by default..."
72787
- ), this.initialized.add(u.manifest.id)) : z.log(
72787
+ ), this.initialized.add(u.manifest.id)) : J.log(
72788
72788
  `Skipping initialization of ${u.manifest.id} extension, already initialized or no init method defined.`
72789
72789
  );
72790
72790
  }
@@ -72823,7 +72823,7 @@ class I$t {
72823
72823
  }
72824
72824
  async contextAvailable(u) {
72825
72825
  if (this.initializedContexts.has(u)) {
72826
- z.warn(
72826
+ J.warn(
72827
72827
  `Context ${u} is already initialized. Skipping re-initialization.`
72828
72828
  );
72829
72829
  return;
@@ -72844,7 +72844,7 @@ class I$t {
72844
72844
  break;
72845
72845
  }
72846
72846
  }
72847
- z.log(
72847
+ J.log(
72848
72848
  `Context ${u} is now available. Initializing extensions for this context...`
72849
72849
  ), await this.initForReady();
72850
72850
  }
@@ -73058,7 +73058,7 @@ class Ko extends ku {
73058
73058
  const I = this.parentContext.requestExtension(
73059
73059
  vf + i.declaration.id
73060
73060
  ).module.main;
73061
- I ? T = await I(i, a) : z.warn(
73061
+ I ? T = await I(i, a) : J.warn(
73062
73062
  `No implementation found for built-in function: ${i.declaration.id}`
73063
73063
  );
73064
73064
  } else {
@@ -73070,7 +73070,7 @@ class Ko extends ku {
73070
73070
  );
73071
73071
  let I = null;
73072
73072
  if (T.error) {
73073
- z.warn("Raw error executing entity: ", T.error);
73073
+ J.warn("Raw error executing entity: ", T.error);
73074
73074
  const E = (y = i.error) == null ? void 0 : y.getDataType(null), D = rt(
73075
73075
  E || null,
73076
73076
  i.error,
@@ -73105,7 +73105,7 @@ class Ko extends ku {
73105
73105
  entity: i
73106
73106
  };
73107
73107
  } catch (T) {
73108
- z.warn("Internal call execution error: ", T);
73108
+ J.warn("Internal call execution error: ", T);
73109
73109
  let I = null;
73110
73110
  if (i.error) {
73111
73111
  const E = (v = i.error) == null ? void 0 : v.getDataType(null), D = rt(
@@ -73149,7 +73149,7 @@ class Ko extends ku {
73149
73149
  ));
73150
73150
  let v = null;
73151
73151
  if (y.error && i.error) {
73152
- z.warn("Raw error executing entity: ", y.error);
73152
+ J.warn("Raw error executing entity: ", y.error);
73153
73153
  const E = ((c = i.error) == null ? void 0 : c.getDataType(null)) || null, D = rt(
73154
73154
  E,
73155
73155
  i.error,
@@ -73189,7 +73189,7 @@ class Ko extends ku {
73189
73189
  }
73190
73190
  };
73191
73191
  } catch (y) {
73192
- z.warn("Operation execution error: ", y);
73192
+ J.warn("Operation execution error: ", y);
73193
73193
  let v = null;
73194
73194
  if (i.error) {
73195
73195
  const T = (e = i.error) == null ? void 0 : e.getDataType(null), I = rt(
@@ -73261,7 +73261,7 @@ class Ko extends ku {
73261
73261
  }
73262
73262
  };
73263
73263
  } catch (e) {
73264
- if (z.warn(`Search node execution error: ${e}`), !i.error)
73264
+ if (J.warn(`Search node execution error: ${e}`), !i.error)
73265
73265
  return {
73266
73266
  value: i.catchesError || i.errorCalls.length ? S.CaughtError : S.UnhandledError,
73267
73267
  entity: i,
@@ -73305,17 +73305,17 @@ class Ko extends ku {
73305
73305
  };
73306
73306
  const L = a.map(
73307
73307
  (ae) => {
73308
- var J, ue;
73309
- return ((J = ae == null ? void 0 : ae.value) == null ? void 0 : J.valueAsType) || ((ue = ae == null ? void 0 : ae.value) == null ? void 0 : ue.value);
73308
+ var z, ue;
73309
+ return ((z = ae == null ? void 0 : ae.value) == null ? void 0 : z.valueAsType) || ((ue = ae == null ? void 0 : ae.value) == null ? void 0 : ue.value);
73310
73310
  }
73311
73311
  );
73312
73312
  let M = {};
73313
73313
  i.getUniqueInputMaps().forEach((ae) => {
73314
- const J = i.body.inputs.find(
73314
+ const z = i.body.inputs.find(
73315
73315
  (he) => Y(he, l) === Y(ae, l)
73316
73316
  ), ue = ae == null ? void 0 : ae.getDataType(null), te = rt(
73317
73317
  ue,
73318
- J,
73318
+ z,
73319
73319
  l
73320
73320
  );
73321
73321
  ue != null && ue.asType ? te == null || te.setValueAsTypeList([]) : te == null || te.metaSync(
@@ -73324,16 +73324,16 @@ class Ko extends ku {
73324
73324
  },
73325
73325
  null
73326
73326
  ), this.lastExecutionResults.writeValue(
73327
- J,
73327
+ z,
73328
73328
  te
73329
73329
  );
73330
73330
  const le = {
73331
73331
  value: te,
73332
- valueOwner: J,
73332
+ valueOwner: z,
73333
73333
  type: _e.ExecutionResult,
73334
73334
  inheritanceLink: null
73335
73335
  };
73336
- M[J.id] = le;
73336
+ M[z.id] = le;
73337
73337
  });
73338
73338
  let q = {
73339
73339
  value: S.Success,
@@ -73344,8 +73344,8 @@ class Ko extends ku {
73344
73344
  switch (i.declaration.id) {
73345
73345
  case pe.loop["counted-loop"].id: {
73346
73346
  const ae = L[0];
73347
- let J = 1;
73348
- for (; J <= ae && J <= 50; ) {
73347
+ let z = 1;
73348
+ for (; z <= ae && z <= 50; ) {
73349
73349
  const ue = i.body.inputs.map((te) => {
73350
73350
  if (te === i.currentIterationNumberArgumentDeclaration) {
73351
73351
  const le = i.currentIterationNumberArgumentDeclaration.getDataType(
@@ -73356,7 +73356,7 @@ class Ko extends ku {
73356
73356
  if (X) {
73357
73357
  X.metaSync(
73358
73358
  {
73359
- value: J
73359
+ value: z
73360
73360
  },
73361
73361
  null
73362
73362
  ), this.lastExecutionResults.writeValue(te, X);
@@ -73379,7 +73379,7 @@ class Ko extends ku {
73379
73379
  author: V.sessionAuthor,
73380
73380
  deleted: !1,
73381
73381
  previousVersion: null,
73382
- value: J,
73382
+ value: z,
73383
73383
  valueAsTypeSingle: null,
73384
73384
  valueAsTypeList: null,
73385
73385
  parent: null,
@@ -73429,14 +73429,14 @@ class Ko extends ku {
73429
73429
  S.Return
73430
73430
  ].includes(q.value))
73431
73431
  break;
73432
- J++;
73432
+ z++;
73433
73433
  }
73434
73434
  break;
73435
73435
  }
73436
73436
  case pe.loop["manual-flow-loop"].id: {
73437
73437
  let ae = 1;
73438
73438
  for (; ae <= 50; ) {
73439
- const J = i.body.inputs.map((ue) => {
73439
+ const z = i.body.inputs.map((ue) => {
73440
73440
  if (ue === i.currentIterationNumberArgumentDeclaration) {
73441
73441
  const te = this.lastExecutionResults.readValue(
73442
73442
  ue.id
@@ -73482,7 +73482,7 @@ class Ko extends ku {
73482
73482
  }).filter((ue) => !!ue);
73483
73483
  if (q = await this.executeFullFunctionDeclarationLogic(
73484
73484
  i.body,
73485
- J,
73485
+ z,
73486
73486
  e
73487
73487
  ), (q.results || []).forEach((ue) => {
73488
73488
  var X, fe, Ee;
@@ -73512,7 +73512,7 @@ class Ko extends ku {
73512
73512
  }
73513
73513
  case pe.loop["list-loop"].id: {
73514
73514
  const ae = L[0];
73515
- let J = 1;
73515
+ let z = 1;
73516
73516
  const ue = ae;
73517
73517
  for (let te = 0; te < ue.length; te++) {
73518
73518
  const le = ue[te], he = i.body.inputs.map((X) => {
@@ -73523,7 +73523,7 @@ class Ko extends ku {
73523
73523
  if (fe)
73524
73524
  return fe.metaSync(
73525
73525
  {
73526
- value: J
73526
+ value: z
73527
73527
  },
73528
73528
  null
73529
73529
  ), this.lastExecutionResults.writeValue(X, fe), {
@@ -73541,7 +73541,7 @@ class Ko extends ku {
73541
73541
  );
73542
73542
  return Te == null || Te.metaSync(
73543
73543
  {
73544
- value: J
73544
+ value: z
73545
73545
  },
73546
73546
  null
73547
73547
  ), this.lastExecutionResults.writeValue(
@@ -73628,13 +73628,13 @@ class Ko extends ku {
73628
73628
  S.Return
73629
73629
  ].includes(q.value))
73630
73630
  break;
73631
- J++;
73631
+ z++;
73632
73632
  }
73633
73633
  break;
73634
73634
  }
73635
73635
  case pe.loop["object-keys-loop"].id: {
73636
73636
  const ae = L[0];
73637
- let J = 1;
73637
+ let z = 1;
73638
73638
  const ue = ae ? Object.keys(ae) : [];
73639
73639
  for (let te = 0; te < ue.length; te++) {
73640
73640
  const le = ue[te], he = i.body.inputs.map((X) => {
@@ -73645,7 +73645,7 @@ class Ko extends ku {
73645
73645
  if (fe)
73646
73646
  return fe.metaSync(
73647
73647
  {
73648
- value: J
73648
+ value: z
73649
73649
  },
73650
73650
  null
73651
73651
  ), this.lastExecutionResults.writeValue(X, fe), {
@@ -73663,7 +73663,7 @@ class Ko extends ku {
73663
73663
  );
73664
73664
  return Te == null || Te.metaSync(
73665
73665
  {
73666
- value: J
73666
+ value: z
73667
73667
  },
73668
73668
  null
73669
73669
  ), this.lastExecutionResults.writeValue(
@@ -73750,13 +73750,13 @@ class Ko extends ku {
73750
73750
  S.Return
73751
73751
  ].includes(q.value))
73752
73752
  break;
73753
- J++;
73753
+ z++;
73754
73754
  }
73755
73755
  break;
73756
73756
  }
73757
73757
  case pe.loop["object-values-loop"].id: {
73758
73758
  const ae = L[0];
73759
- let J = 1;
73759
+ let z = 1;
73760
73760
  const ue = ae ? Object.values(ae) : [];
73761
73761
  for (let te = 0; te < ue.length; te++) {
73762
73762
  const le = ue[te], he = i.body.inputs.map((X) => {
@@ -73767,7 +73767,7 @@ class Ko extends ku {
73767
73767
  if (fe)
73768
73768
  return fe.metaSync(
73769
73769
  {
73770
- value: J
73770
+ value: z
73771
73771
  },
73772
73772
  null
73773
73773
  ), this.lastExecutionResults.writeValue(X, fe), {
@@ -73785,7 +73785,7 @@ class Ko extends ku {
73785
73785
  );
73786
73786
  return Te == null || Te.metaSync(
73787
73787
  {
73788
- value: J
73788
+ value: z
73789
73789
  },
73790
73790
  null
73791
73791
  ), this.lastExecutionResults.writeValue(
@@ -73872,13 +73872,13 @@ class Ko extends ku {
73872
73872
  S.Return
73873
73873
  ].includes(q.value))
73874
73874
  break;
73875
- J++;
73875
+ z++;
73876
73876
  }
73877
73877
  break;
73878
73878
  }
73879
73879
  case pe.loop["string-loop"].id: {
73880
73880
  const ae = L[0];
73881
- let J = 1;
73881
+ let z = 1;
73882
73882
  const ue = ae.split("");
73883
73883
  for (let te = 0; te < ue.length; te++) {
73884
73884
  const le = ue[te], he = i.body.inputs.map((X) => {
@@ -73889,7 +73889,7 @@ class Ko extends ku {
73889
73889
  if (fe)
73890
73890
  return fe.metaSync(
73891
73891
  {
73892
- value: J
73892
+ value: z
73893
73893
  },
73894
73894
  null
73895
73895
  ), this.lastExecutionResults.writeValue(X, fe), {
@@ -73907,7 +73907,7 @@ class Ko extends ku {
73907
73907
  );
73908
73908
  return Te == null || Te.metaSync(
73909
73909
  {
73910
- value: J
73910
+ value: z
73911
73911
  },
73912
73912
  null
73913
73913
  ), this.lastExecutionResults.writeValue(
@@ -73994,7 +73994,7 @@ class Ko extends ku {
73994
73994
  S.Return
73995
73995
  ].includes(q.value))
73996
73996
  break;
73997
- J++;
73997
+ z++;
73998
73998
  }
73999
73999
  break;
74000
74000
  }
@@ -74007,12 +74007,12 @@ class Ko extends ku {
74007
74007
  error: ((v = (y = q.error) == null ? void 0 : y.value) == null ? void 0 : v.value) || null,
74008
74008
  result: ((I = (T = q == null ? void 0 : q.result) == null ? void 0 : T.value) == null ? void 0 : I.value) || null
74009
74009
  }, N.error && i.error) {
74010
- const ae = (E = i.error) == null ? void 0 : E.getDataType(null), J = rt(
74010
+ const ae = (E = i.error) == null ? void 0 : E.getDataType(null), z = rt(
74011
74011
  ae || null,
74012
74012
  i.error,
74013
74013
  l
74014
74014
  );
74015
- ae != null && ae.asType ? J == null || J.setValueAsTypeSingle(N.error) : J == null || J.metaSync(
74015
+ ae != null && ae.asType ? z == null || z.setValueAsTypeSingle(N.error) : z == null || z.metaSync(
74016
74016
  {
74017
74017
  value: N.error
74018
74018
  },
@@ -74022,7 +74022,7 @@ class Ko extends ku {
74022
74022
  valueOwner: i.error,
74023
74023
  type: _e.ExecutionResult,
74024
74024
  inheritanceLink: null,
74025
- value: J
74025
+ value: z
74026
74026
  };
74027
74027
  return {
74028
74028
  value: N.value,
@@ -74053,7 +74053,7 @@ class Ko extends ku {
74053
74053
  }
74054
74054
  };
74055
74055
  } catch (N) {
74056
- if (z.warn("Error executing loop: ", N), i.error) {
74056
+ if (J.warn("Error executing loop: ", N), i.error) {
74057
74057
  const L = (D = i.error) == null ? void 0 : D.getDataType(null), M = rt(
74058
74058
  L,
74059
74059
  i.error,
@@ -74104,7 +74104,7 @@ class Ko extends ku {
74104
74104
  );
74105
74105
  let I = null;
74106
74106
  if (T.error && i.error) {
74107
- z.warn("Raw error executing entity: ", T.error);
74107
+ J.warn("Raw error executing entity: ", T.error);
74108
74108
  const E = (y = i.error) == null ? void 0 : y.getDataType(null), D = rt(
74109
74109
  E || null,
74110
74110
  i.error,
@@ -74160,7 +74160,7 @@ class Ko extends ku {
74160
74160
  }
74161
74161
  }
74162
74162
  async executeCondition(i, a) {
74163
- var c, e, y, v, T, I, E, D, N, L, M, K, q, Z, H, ae, J, ue, te, le, he, X, fe, Ee, Te, Ce, be, Ie, De, Ne, Le, ke, ot, Se, xt, _t, hi, Mi, Hi, Xr, vr, jt, Ai, qs, Zs, Np, fo, xp;
74163
+ var c, e, y, v, T, I, E, D, N, L, M, K, q, Z, H, ae, z, ue, te, le, he, X, fe, Ee, Te, Ce, be, Ie, De, Ne, Le, ke, ot, Se, xt, _t, hi, Mi, Hi, Xr, vr, jt, Ai, qs, Zs, Np, fo, xp;
74164
74164
  let l = !1;
74165
74165
  switch (i.declaration.id) {
74166
74166
  case Or.Empty: {
@@ -74185,7 +74185,7 @@ class Ko extends ku {
74185
74185
  break;
74186
74186
  }
74187
74187
  if (((K = (M = a[0]) == null ? void 0 : M.value) == null ? void 0 : K.name) === ie.KeyValue || ((Z = (q = a[0]) == null ? void 0 : q.value) == null ? void 0 : Z.name) === ie.Untyped) {
74188
- const ia = (ae = (H = a[0]) == null ? void 0 : H.value) == null ? void 0 : ae.value, Vr = (ue = (J = a[1]) == null ? void 0 : J.value) == null ? void 0 : ue.value;
74188
+ const ia = (ae = (H = a[0]) == null ? void 0 : H.value) == null ? void 0 : ae.value, Vr = (ue = (z = a[1]) == null ? void 0 : z.value) == null ? void 0 : ue.value;
74189
74189
  l = JSON.stringify(ia) === JSON.stringify(Vr);
74190
74190
  break;
74191
74191
  }
@@ -74421,19 +74421,19 @@ class Ko extends ku {
74421
74421
  Z
74422
74422
  );
74423
74423
  else {
74424
- const J = rt(
74424
+ const z = rt(
74425
74425
  M.getDataType(null),
74426
74426
  M,
74427
74427
  this.project
74428
74428
  );
74429
- J == null || J.metaSync(
74429
+ z == null || z.metaSync(
74430
74430
  {
74431
74431
  value: L[ae]
74432
74432
  },
74433
74433
  null
74434
74434
  ), this.lastExecutionResults.writeValue(
74435
74435
  M.declaration,
74436
- J
74436
+ z
74437
74437
  );
74438
74438
  }
74439
74439
  }
@@ -74541,19 +74541,19 @@ class Ko extends ku {
74541
74541
  Z
74542
74542
  );
74543
74543
  else {
74544
- const J = rt(
74544
+ const z = rt(
74545
74545
  M.getDataType(null),
74546
74546
  M,
74547
74547
  this.project
74548
74548
  );
74549
- J == null || J.metaSync(
74549
+ z == null || z.metaSync(
74550
74550
  {
74551
74551
  value: L[ae]
74552
74552
  },
74553
74553
  null
74554
74554
  ), this.lastExecutionResults.writeValue(
74555
74555
  M.declaration,
74556
- J
74556
+ z
74557
74557
  );
74558
74558
  }
74559
74559
  }
@@ -74661,19 +74661,19 @@ class Ko extends ku {
74661
74661
  Z
74662
74662
  );
74663
74663
  else {
74664
- const J = rt(
74664
+ const z = rt(
74665
74665
  M.getDataType(null),
74666
74666
  M,
74667
74667
  this.project
74668
74668
  );
74669
- J == null || J.metaSync(
74669
+ z == null || z.metaSync(
74670
74670
  {
74671
74671
  value: L[ae]
74672
74672
  },
74673
74673
  null
74674
74674
  ), this.lastExecutionResults.writeValue(
74675
74675
  M.declaration,
74676
- J
74676
+ z
74677
74677
  );
74678
74678
  }
74679
74679
  }
@@ -74764,19 +74764,19 @@ class Ko extends ku {
74764
74764
  Z
74765
74765
  );
74766
74766
  else {
74767
- const J = rt(
74767
+ const z = rt(
74768
74768
  M.getDataType(null),
74769
74769
  M,
74770
74770
  this.project
74771
74771
  );
74772
- J == null || J.metaSync(
74772
+ z == null || z.metaSync(
74773
74773
  {
74774
74774
  value: L[ae]
74775
74775
  },
74776
74776
  null
74777
74777
  ), this.lastExecutionResults.writeValue(
74778
74778
  M.declaration,
74779
- J
74779
+ z
74780
74780
  );
74781
74781
  }
74782
74782
  }
@@ -77363,7 +77363,7 @@ class vBt {
77363
77363
  }
77364
77364
  onUpdate(u) {
77365
77365
  var i;
77366
- if (z.log("onUpdate", u), (i = u.payload) != null && i.stepType) {
77366
+ if (J.log("onUpdate", u), (i = u.payload) != null && i.stepType) {
77367
77367
  const a = this.steps.find(
77368
77368
  (l) => {
77369
77369
  var c;
@@ -78199,7 +78199,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
78199
78199
  )
78200
78200
  )) {
78201
78201
  if (!this.checkCanEdit(this))
78202
- return z.warn(
78202
+ return J.warn(
78203
78203
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
78204
78204
  ), a == null || a.attemptAutoclose(
78205
78205
  O.UpdateWithShallowTransfer,
@@ -78332,7 +78332,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
78332
78332
  )) {
78333
78333
  var be;
78334
78334
  if (!this.checkCanEdit(this))
78335
- return z.warn(
78335
+ return J.warn(
78336
78336
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
78337
78337
  ), i == null || i.attemptAutoclose(
78338
78338
  O.AfterAllChildrenInitialized,
@@ -78380,10 +78380,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
78380
78380
  const {
78381
78381
  added: H,
78382
78382
  updated: ae,
78383
- removed: J,
78383
+ removed: z,
78384
78384
  affected: ue
78385
78385
  } = this.removeUnrecognizedInputs(i);
78386
- l.push(...H), a.push(...ae), c.push(...J), e.push(...ue);
78386
+ l.push(...H), a.push(...ae), c.push(...z), e.push(...ue);
78387
78387
  const {
78388
78388
  added: te,
78389
78389
  updated: le,
@@ -78524,7 +78524,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
78524
78524
  )
78525
78525
  )) {
78526
78526
  if (!this.checkCanEdit(this))
78527
- return z.warn(
78527
+ return J.warn(
78528
78528
  `[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
78529
78529
  ), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this;
78530
78530
  const l = this.inputs.findIndex((c) => c.id === i.id);
@@ -78540,7 +78540,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
78540
78540
  O.AddInput
78541
78541
  )
78542
78542
  )) {
78543
- return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (z.warn(
78543
+ return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
78544
78544
  `[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
78545
78545
  ), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
78546
78546
  }
@@ -78554,7 +78554,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
78554
78554
  "add-output"
78555
78555
  )
78556
78556
  )) {
78557
- return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (z.warn(
78557
+ return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
78558
78558
  `[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
78559
78559
  ), a == null || a.attemptAutoclose("add-output", this.id), this);
78560
78560
  }
@@ -78569,7 +78569,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
78569
78569
  )
78570
78570
  )) {
78571
78571
  if (!this.checkCanEdit(this))
78572
- return z.warn(
78572
+ return J.warn(
78573
78573
  `[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
78574
78574
  ), a == null || a.attemptAutoclose("remove-output", this.id), this;
78575
78575
  const l = this.outputs.findIndex((c) => c.id === i.id);
@@ -78858,7 +78858,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
78858
78858
  i,
78859
78859
  O.SetValueWriter,
78860
78860
  a
78861
- ) ? this : !i && !this.checkCanEdit(this) ? (z.warn(
78861
+ ) ? this : !i && !this.checkCanEdit(this) ? (J.warn(
78862
78862
  `[setValueWriter] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
78863
78863
  ), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this);
78864
78864
  }
@@ -78965,7 +78965,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
78965
78965
  )
78966
78966
  )) {
78967
78967
  if (!this.checkCanEdit(this))
78968
- return z.warn(
78968
+ return J.warn(
78969
78969
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
78970
78970
  ), i == null || i.attemptAutoclose(
78971
78971
  O.RemoveFromParent,
@@ -79007,7 +79007,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
79007
79007
  )) {
79008
79008
  var v;
79009
79009
  if (!this.checkCanDelete(this))
79010
- return z.warn(
79010
+ return J.warn(
79011
79011
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
79012
79012
  ), a == null || a.event({
79013
79013
  id: `${O.RemoveEntity}-${this.id}`,
@@ -79111,7 +79111,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
79111
79111
  )
79112
79112
  )) {
79113
79113
  if (!this.checkCanEdit(this))
79114
- return z.warn(
79114
+ return J.warn(
79115
79115
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
79116
79116
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
79117
79117
  const a = [], l = [], c = [], e = [];
@@ -79478,7 +79478,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
79478
79478
  )
79479
79479
  )) {
79480
79480
  if (!this.checkCanEdit(this))
79481
- return z.warn(
79481
+ return J.warn(
79482
79482
  `[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
79483
79483
  ), a == null || a.attemptAutoclose("set-default-value", this.id), this;
79484
79484
  const l = this.defaultValue;
@@ -79558,7 +79558,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
79558
79558
  )
79559
79559
  )) {
79560
79560
  if (!this.checkCanEdit(this))
79561
- return z.warn(
79561
+ return J.warn(
79562
79562
  `[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
79563
79563
  ), i == null || i.attemptAutoclose(
79564
79564
  O.RemoveUnrecognizedInputs,
@@ -79612,7 +79612,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
79612
79612
  )
79613
79613
  )) {
79614
79614
  if (!this.checkCanEdit(this))
79615
- return z.warn(
79615
+ return J.warn(
79616
79616
  `[removeUnrecognizedOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
79617
79617
  ), i == null || i.attemptAutoclose(
79618
79618
  O.RemoveUnrecognizedOutputs,
@@ -79857,7 +79857,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
79857
79857
  )
79858
79858
  )) {
79859
79859
  if (!this.checkCanEdit(this))
79860
- return z.warn(
79860
+ return J.warn(
79861
79861
  `[syncOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
79862
79862
  ), i == null || i.attemptAutoclose(O.SyncOutputs, this.id), {
79863
79863
  updated: [],
@@ -80542,7 +80542,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
80542
80542
  )
80543
80543
  )) {
80544
80544
  if (!this.checkCanEdit(this))
80545
- return z.warn(
80545
+ return J.warn(
80546
80546
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
80547
80547
  ), a == null || a.attemptAutoclose(
80548
80548
  O.UpdateWithShallowTransfer,
@@ -80658,7 +80658,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
80658
80658
  )
80659
80659
  )) {
80660
80660
  if (!this.checkCanEdit(this))
80661
- return z.warn(
80661
+ return J.warn(
80662
80662
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
80663
80663
  ), i == null || i.attemptAutoclose(
80664
80664
  O.AfterAllChildrenInitialized,
@@ -80704,10 +80704,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
80704
80704
  const {
80705
80705
  added: H,
80706
80706
  updated: ae,
80707
- removed: J,
80707
+ removed: z,
80708
80708
  affected: ue
80709
80709
  } = this.removeUnrecognizedInputs(i);
80710
- l.push(...H), a.push(...ae), c.push(...J), e.push(...ue);
80710
+ l.push(...H), a.push(...ae), c.push(...z), e.push(...ue);
80711
80711
  const {
80712
80712
  added: te,
80713
80713
  updated: le,
@@ -80867,7 +80867,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
80867
80867
  )
80868
80868
  )) {
80869
80869
  if (!this.checkCanEdit(this))
80870
- return z.warn(
80870
+ return J.warn(
80871
80871
  `[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
80872
80872
  ), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this;
80873
80873
  const l = this.inputs.findIndex((c) => c.id === i.id);
@@ -80883,7 +80883,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
80883
80883
  O.AddInput
80884
80884
  )
80885
80885
  )) {
80886
- return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (z.warn(
80886
+ return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
80887
80887
  `[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
80888
80888
  ), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
80889
80889
  }
@@ -80897,7 +80897,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
80897
80897
  "add-output"
80898
80898
  )
80899
80899
  )) {
80900
- return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (z.warn(
80900
+ return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
80901
80901
  `[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
80902
80902
  ), a == null || a.attemptAutoclose("add-output", this.id), this);
80903
80903
  }
@@ -80912,7 +80912,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
80912
80912
  )
80913
80913
  )) {
80914
80914
  if (!this.checkCanEdit(this))
80915
- return z.warn(
80915
+ return J.warn(
80916
80916
  `[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
80917
80917
  ), a == null || a.attemptAutoclose("remove-output", this.id), this;
80918
80918
  const l = this.outputs.findIndex((c) => c.id === i.id);
@@ -81216,7 +81216,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
81216
81216
  i,
81217
81217
  O.SetValueWriter,
81218
81218
  a
81219
- ) ? this : !i && !this.checkCanEdit(this) ? (z.warn(
81219
+ ) ? this : !i && !this.checkCanEdit(this) ? (J.warn(
81220
81220
  `[setValueWriter] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
81221
81221
  ), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this);
81222
81222
  }
@@ -81267,7 +81267,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
81267
81267
  "infer-data-type-and-sync-instances-inputs-and-outputs"
81268
81268
  )
81269
81269
  )) {
81270
- var q, Z, H, ae, J, ue, te;
81270
+ var q, Z, H, ae, z, ue, te;
81271
81271
  const a = [], l = [], c = [], e = [];
81272
81272
  if (!this.dataType) {
81273
81273
  const le = Wr.new(i);
@@ -81302,7 +81302,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
81302
81302
  v.find(
81303
81303
  (X) => Y(X, this.project) === Y(le, this.project)
81304
81304
  ) || v.push(le);
81305
- }), (!((H = this.dataType) != null && H.entity) || ((J = (ae = this.dataType) == null ? void 0 : ae.entity) == null ? void 0 : J.type) === p.DefinitionEntity && ((ue = this.dataType) == null ? void 0 : ue.entity.parent) === this.dataType) && ((te = this.dataType) == null || te.inferFromInputs(v, i)), !this.dataType)
81305
+ }), (!((H = this.dataType) != null && H.entity) || ((z = (ae = this.dataType) == null ? void 0 : ae.entity) == null ? void 0 : z.type) === p.DefinitionEntity && ((ue = this.dataType) == null ? void 0 : ue.entity.parent) === this.dataType) && ((te = this.dataType) == null || te.inferFromInputs(v, i)), !this.dataType)
81306
81306
  return i == null || i.attemptAutoclose(
81307
81307
  "infer-data-type-and-sync-instances-inputs-and-outputs",
81308
81308
  this.id
@@ -81418,7 +81418,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
81418
81418
  )
81419
81419
  )) {
81420
81420
  if (!this.checkCanEdit(this))
81421
- return z.warn(
81421
+ return J.warn(
81422
81422
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
81423
81423
  ), i == null || i.attemptAutoclose(
81424
81424
  O.RemoveFromParent,
@@ -81460,7 +81460,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
81460
81460
  )) {
81461
81461
  var v;
81462
81462
  if (!this.checkCanDelete(this))
81463
- return z.warn(
81463
+ return J.warn(
81464
81464
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
81465
81465
  ), a == null || a.event({
81466
81466
  id: `${O.RemoveEntity}-${this.id}`,
@@ -81573,7 +81573,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
81573
81573
  )
81574
81574
  )) {
81575
81575
  if (!this.checkCanEdit(this))
81576
- return z.warn(
81576
+ return J.warn(
81577
81577
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
81578
81578
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
81579
81579
  const a = [], l = [], c = [], e = [];
@@ -81975,7 +81975,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
81975
81975
  )
81976
81976
  )) {
81977
81977
  if (!this.checkCanEdit(this))
81978
- return z.warn(
81978
+ return J.warn(
81979
81979
  `[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
81980
81980
  ), a == null || a.attemptAutoclose("set-default-value", this.id), this;
81981
81981
  const l = this.defaultValue;
@@ -82104,7 +82104,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
82104
82104
  )) {
82105
82105
  var v;
82106
82106
  if (!this.checkCanEdit(this))
82107
- return z.warn(
82107
+ return J.warn(
82108
82108
  `[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
82109
82109
  ), i == null || i.attemptAutoclose(
82110
82110
  O.RemoveUnrecognizedInputs,
@@ -82181,7 +82181,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
82181
82181
  )) {
82182
82182
  var v;
82183
82183
  if (!this.checkCanEdit(this))
82184
- return z.warn(
82184
+ return J.warn(
82185
82185
  `[removeUnrecognizedOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
82186
82186
  ), i == null || i.attemptAutoclose(
82187
82187
  O.RemoveUnrecognizedOutputs,
@@ -82445,7 +82445,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
82445
82445
  )
82446
82446
  )) {
82447
82447
  if (!this.checkCanEdit(this))
82448
- return z.warn(
82448
+ return J.warn(
82449
82449
  `[syncOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
82450
82450
  ), i == null || i.attemptAutoclose(O.SyncOutputs, this.id), {
82451
82451
  updated: [],
@@ -82592,7 +82592,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
82592
82592
  )
82593
82593
  )) {
82594
82594
  if (!this.checkCanEdit(this))
82595
- return z.warn(
82595
+ return J.warn(
82596
82596
  `[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
82597
82597
  ), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
82598
82598
  const l = this.dataType;
@@ -82608,7 +82608,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
82608
82608
  O.RemoveDataType
82609
82609
  )
82610
82610
  )) {
82611
- return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (z.warn(
82611
+ return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
82612
82612
  `[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
82613
82613
  ), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
82614
82614
  }
@@ -84346,7 +84346,7 @@ const wu = ls, QE = Iy, Ru = EU, B = vi, Ta = Wn, P = sv, xr = nv, Q$ = av, g =
84346
84346
  };
84347
84347
  function a(l, c) {
84348
84348
  c = c !== void 0 ? c : {};
84349
- var e = {}, y = c.grammarSource, v = { start: BR }, T = BR, I = ";", E = ",", D = ".", N = "*", L = "=", M = ":", K = "[", q = "]", Z = "<", H = ">", ae = ":=", J = "||", ue = "&&", te = ">=", le = "<=", he = "<>", X = "!=", fe = "<=>", Ee = "==", Te = "||/", Ce = "|/", be = ">>", Ie = "<<", De = "!~~*", Ne = "~~*", Le = "!~~", ke = "~~", ot = "!~*", Se = "~*", xt = "!~", _t = "^@", hi = "->>", Mi = "->", Hi = "#>>", Xr = "#>", vr = "@>", jt = "<@", Ai = "?|", qs = "?&", Zs = "#-", Np = "@?", fo = "@@", xp = "!", ia = "~", Vr = "@", Nd = "#", Lp = "&", wv = "|", yo = "`", Rv = "?", Cv = "/", _v = "%", xd = "^", Ld = "-", Vy = "+", Ny = "::", It = "(", gt = ")", F1 = "=>", pn = "$", K1 = "``", q1 = "]]", Nn = "_", ho = `
84349
+ var e = {}, y = c.grammarSource, v = { start: BR }, T = BR, I = ";", E = ",", D = ".", N = "*", L = "=", M = ":", K = "[", q = "]", Z = "<", H = ">", ae = ":=", z = "||", ue = "&&", te = ">=", le = "<=", he = "<>", X = "!=", fe = "<=>", Ee = "==", Te = "||/", Ce = "|/", be = ">>", Ie = "<<", De = "!~~*", Ne = "~~*", Le = "!~~", ke = "~~", ot = "!~*", Se = "~*", xt = "!~", _t = "^@", hi = "->>", Mi = "->", Hi = "#>>", Xr = "#>", vr = "@>", jt = "<@", Ai = "?|", qs = "?&", Zs = "#-", Np = "@?", fo = "@@", xp = "!", ia = "~", Vr = "@", Nd = "#", Lp = "&", wv = "|", yo = "`", Rv = "?", Cv = "/", _v = "%", xd = "^", Ld = "-", Vy = "+", Ny = "::", It = "(", gt = ")", F1 = "=>", pn = "$", K1 = "``", q1 = "]]", Nn = "_", ho = `
84350
84350
  `, _s = "'", vG = "E", xy = "U&", Ly = "''", ra = '"', My = '""', pl = "'''", cl = '"""', Z1 = "\\n", W1 = "\\r", H1 = "\\t", J1 = "\\b", z1 = "\\f", Y1 = "\\v", S1 = "\\a", mo = "\\", gv = "x", TG = "u", bG = "U", X1 = "\\%", Q1 = "\\_", eR = "\\0", tR = "\\Z", EG = "n", AG = "r", IG = "rb", wG = "br", fl = "$$", iR = "b", Md = "0x", By = "0b", rR = "0o", Uy = "/*", cn = "*/", sR = "--", nR = `\r
84351
84351
  `, RG = "abort", CG = "access", _G = "action", gG = "add", DG = "admin", OG = "after", $G = "against", PG = "all", VG = "alter", NG = "always", xG = "analyze", LG = "and", MG = "any", BG = "array", UG = "as", jG = "asc", GG = "assert", kG = "assignment", FG = "at", KG = "atomic", qG = "attach", ZG = "attribute", WG = "authorization", HG = "auto_increment", JG = "autoextend_size", zG = "autoincrement", YG = "avg_row_length", SG = "before", XG = "begin", QG = "bernoulli", ek = "between", tk = "bi_capacity", ik = "bigdecimal", rk = "bigint", sk = "bignumeric", nk = "binary", ak = "bit", lk = "blob", ok = "bool", dk = "boolean", uk = "breadth", pk = "break", ck = "by", fk = "bypassrls", yk = "byteint", hk = "bytes", mk = "cache", vk = "call", Tk = "called", bk = "capacity", Ek = "cascade", Ak = "cascaded", Ik = "case", wk = "cast", Rk = "century", Ck = "chain", _k = "char", gk = "character", Dk = "check", Ok = "checksum", $k = "clone", Pk = "cluster", Vk = "collate", Nk = "column", xk = "column_format", Lk = "columns", Mk = "comment", Bk = "comments", Uk = "commit", jk = "committed", Gk = "compact", kk = "compressed", Fk = "compression", Kk = "concurrently", qk = "conflict", Zk = "connect", Wk = "connection", Hk = "constraint", Jk = "constraints", zk = "continue", Yk = "copy", Sk = "cost", Xk = "create", Qk = "createdb", e3 = "createrole", t3 = "cross", i3 = "cube", r3 = "cume_dist", s3 = "current", n3 = "current_catalog", a3 = "current_date", l3 = "current_datetime", o3 = "current_role", d3 = "current_schema", u3 = "current_time", p3 = "current_timestamp", c3 = "current_user", f3 = "cycle", y3 = "data", h3 = "database", m3 = "date", v3 = "datetime", T3 = "day", b3 = "day_hour", E3 = "day_microsecond", A3 = "day_minute", I3 = "day_second", w3 = "dayofweek", R3 = "dayofyear", C3 = "dec", _3 = "decade", g3 = "decimal", D3 = "declare", O3 = "default", $3 = "defaults", P3 = "deferrable", V3 = "deferred", N3 = "definer", x3 = "delay_key_write", L3 = "delayed", M3 = "delete", B3 = "dense_rank", U3 = "depends", j3 = "depth", G3 = "desc", k3 = "describe", F3 = "detach", K3 = "deterministic", q3 = "directory", Z3 = "disable", W3 = "disk", H3 = "distinct", J3 = "distinctrow", z3 = "div", Y3 = "do", S3 = "domain", X3 = "double", Q3 = "dow", eF = "doy", tF = "drop", iF = "dual", rF = "dumpfile", sF = "duplicate", nF = "dynamic", aF = "each", lF = "else", oF = "elseif", dF = "enable", uF = "enclosed", pF = "encrypted", cF = "encryption", fF = "end", yF = "enforced", hF = "engine", mF = "engine_attribute", vF = "enum", TF = "epoch", bF = "error", EF = "escape", AF = "escaped", IF = "examined", wF = "except", RF = "exception", CF = "exclude", _F = "excluding", gF = "exclusive", DF = "execute", OF = "exists", $F = "expansion", PF = "explain", VF = "export", NF = "expression", xF = "extended", LF = "extension", MF = "external", BF = "extract", UF = "fail", jF = "false", GF = "fetch", kF = "fields", FF = "files", KF = "filter", qF = "first", ZF = "first_value", WF = "fixed", HF = "float", JF = "float64", zF = "following", YF = "for", SF = "force", XF = "foreign", QF = "format", e5 = "friday", t5 = "from", i5 = "full", r5 = "fulltext", s5 = "function", n5 = "functions", a5 = "generated", l5 = "geography", o5 = "glob", d5 = "global", u5 = "grant", p5 = "granted", c5 = "group", f5 = "grouping", y5 = "groups", h5 = "hash", m5 = "having", v5 = "high_priority", T5 = "hour", b5 = "hour_microsecond", E5 = "hour_minute", A5 = "hour_second", I5 = "identity", w5 = "if", R5 = "ignore", C5 = "ilike", _5 = "immediate", g5 = "immutable", D5 = "in", O5 = "include", $5 = "including", P5 = "increment", V5 = "index", N5 = "indexed", x5 = "indexes", L5 = "inherit", M5 = "inherits", B5 = "initially", U5 = "inner", j5 = "inout", G5 = "input", k5 = "insert", F5 = "insert_method", K5 = "instead", q5 = "int", Z5 = "int64", W5 = "integer", H5 = "intersect", J5 = "interval", z5 = "into", Y5 = "invisible", S5 = "invoker", X5 = "is", Q5 = "isnull", e6 = "isodow", t6 = "isolation", i6 = "isoweek", r6 = "isoyear", s6 = "iterate", n6 = "join", a6 = "json", l6 = "jsonb", o6 = "julian", d6 = "key", u6 = "key_block_size", p6 = "lag", c6 = "language", f6 = "large", y6 = "last", h6 = "last_value", m6 = "lateral", v6 = "lead", T6 = "leakproof", b6 = "leave", E6 = "left", A6 = "level", I6 = "like", w6 = "limit", R6 = "lines", C6 = "list", _6 = "load", g6 = "local", D6 = "localtime", O6 = "localtimestamp", $6 = "lock", P6 = "locked", V6 = "logged", N6 = "login", x6 = "longblob", L6 = "longtext", M6 = "loop", B6 = "low_priority", U6 = "main", j6 = "maintain", G6 = "match", k6 = "matched", F6 = "materialized", K6 = "max", q6 = "max_rows", Z6 = "maxvalue", W6 = "mediumblob", H6 = "mediumint", J6 = "mediumtext", z6 = "member", Y6 = "memory", S6 = "merge", X6 = "message", Q6 = "method", eK = "microsecond", tK = "microseconds", iK = "millennium", rK = "millisecond", sK = "milliseconds", nK = "min", aK = "min_rows", lK = "minute", oK = "minute_microsecond", dK = "minute_second", uK = "minvalue", pK = "mod", cK = "mode", fK = "modulus", yK = "monday", hK = "month", mK = "native", vK = "natural", TK = "nchar", bK = "new", EK = "next", AK = "nfc", IK = "nfd", wK = "nfkc", RK = "nfkd", CK = "no", _K = "nobypassrls", gK = "nocreatedb", DK = "nocreaterole", OK = "noinherit", $K = "nologin", PK = "none", VK = "noreplication", NK = "normalized", xK = "nosuperuser", LK = "not", MK = "nothing", BK = "notnull", UK = "nowait", jK = "nth_value", GK = "ntile", kK = "null", FK = "nulls", KK = "numeric", qK = "nvarchar", ZK = "object", WK = "of", HK = "offset", JK = "oids", zK = "old", YK = "on", SK = "only", XK = "operator", QK = "option", e7 = "optionally", t7 = "options", i7 = "or", r7 = "order", s7 = "ordinal", n7 = "ordinality", a7 = "organization", l7 = "others", o7 = "out", d7 = "outer", u7 = "outfile", p7 = "over", c7 = "overriding", f7 = "overwrite", y7 = "owned", h7 = "owner", m7 = "pack_keys", v7 = "parallel", T7 = "parameter", b7 = "partial", E7 = "partition", A7 = "password", I7 = "percent", w7 = "percent_rank", R7 = "permissive", C7 = "pivot", _7 = "plain", g7 = "plan", D7 = "policies", O7 = "policy", $7 = "pragma", P7 = "preceding", V7 = "precision", N7 = "preserve", x7 = "primary", L7 = "privileges", M7 = "procedure", B7 = "procedures", U7 = "project", j7 = "public", G7 = "qualify", k7 = "quarter", F7 = "query", K7 = "quick", q7 = "raise", Z7 = "range", W7 = "rank", H7 = "read", J7 = "real", z7 = "recursive", Y7 = "redundant", S7 = "references", X7 = "referencing", Q7 = "refresh", e9 = "regexp", t9 = "reindex", i9 = "release", r9 = "remainder", s9 = "remote", n9 = "rename", a9 = "repeat", l9 = "repeatable", o9 = "replace", d9 = "replica", u9 = "replication", p9 = "reservation", c9 = "reset", f9 = "respect", y9 = "restart", h9 = "restrict", m9 = "restricted", v9 = "restrictive", T9 = "return", b9 = "returning", E9 = "returns", A9 = "revoke", I9 = "right", w9 = "rlike", R9 = "role", C9 = "rollback", _9 = "rollup", g9 = "routine", D9 = "routines", O9 = "row", $9 = "row_format", P9 = "row_number", V9 = "rowid", N9 = "rows", x9 = "rule", L9 = "safe", M9 = "safe_cast", B9 = "safe_offset", U9 = "safe_ordinal", j9 = "saturday", G9 = "savepoint", k9 = "schema", F9 = "search", K9 = "second", q9 = "second_microsecond", Z9 = "secondary_engine_attribute", W9 = "security", H9 = "select", J9 = "sequence", z9 = "sequences", Y9 = "serializable", S9 = "server", X9 = "session", Q9 = "session_user", eq = "set", tq = "sets", iq = "share", rq = "similar", sq = "simple", nq = "skip", aq = "smallint", lq = "snapshot", oq = "some", dq = "sounds", uq = "source", pq = "spatial", cq = "sql_big_result", fq = "sql_buffer_result", yq = "sql_cache", hq = "sql_calc_found_rows", mq = "sql_no_cache", vq = "sql_small_result", Tq = "stable", bq = "start", Eq = "starting", Aq = "statement", Iq = "statistics", wq = "stats_auto_recalc", Rq = "stats_persistent", Cq = "stats_sample_pages", _q = "storage", gq = "stored", Dq = "straight_join", Oq = "strict", $q = "string", Pq = "struct", Vq = "sunday", Nq = "superuser", xq = "support", Lq = "symmetric", Mq = "sysid", Bq = "system", Uq = "system_time", jq = "system_user", Gq = "table", kq = "tables", Fq = "tablesample", Kq = "tablespace", qq = "target", Zq = "temp", Wq = "temporary", Hq = "terminated", Jq = "text", zq = "then", Yq = "thursday", Sq = "ties", Xq = "time", Qq = "timestamp", e8 = "timezone", t8 = "timezone_hour", i8 = "timezone_minute", r8 = "tinyblob", s8 = "tinyint", n8 = "tinytext", a8 = "to", l8 = "transaction", o8 = "transform", d8 = "trigger", u8 = "true", p8 = "truncate", c8 = "tuesday", f8 = "type", y8 = "uescape", h8 = "unbounded", m8 = "uncommitted", v8 = "union", T8 = "unique", b8 = "unknown", E8 = "unlogged", A8 = "unnest", I8 = "unpivot", w8 = "unsafe", R8 = "until", C8 = "update", _8 = "usage", g8 = "user", D8 = "using", O8 = "vacuum", $8 = "valid", P8 = "validate", V8 = "value", N8 = "values", x8 = "varbinary", L8 = "varchar", M8 = "variadic", B8 = "varying", U8 = "vector", j8 = "verbose", G8 = "view", k8 = "virtual", F8 = "visible", K8 = "volatile", q8 = "wednesday", Z8 = "week", W8 = "when", H8 = "where", J8 = "while", z8 = "window", Y8 = "with", S8 = "without", X8 = "work", Q8 = "wrapper", eZ = "write", tZ = "xor", iZ = "year", rZ = "year_month", sZ = "zone", aR = /^[\-+*\/<>=~!@#%\^&|`?]/, lR = /^[^`]/, oR = /^[^`\\]/, dR = /^[^.`]/, uR = /^[^\]]/, nZ = /^[A-Za-z_]/, aZ = /^[A-Za-z_\x80-\uFFFF]/, Bd = /^[^'\\]/, Ud = /^[^']/, jd = /^[^"]/, Gd = /^[^"\\]/, cs = /^[0-7]/, sa = /^[01]/, lZ = /^[eE]/, oZ = /^[+\-]/, dZ = /^[0-9]/, uZ = /^[0-9a-fA-F]/, pR = /^[ \t]/, pZ = /^[\n\r]/, cR = /^[^;]/, kd = U(";", !1), Qr = SVe(), xe = U(",", !1), xn = U(".", !1), Mp = U("*", !1), fs = U("=", !1), vo = U(":", !1), Bp = U("[", !1), Up = U("]", !1), jy = U("<", !1), Gy = U(">", !1), fR = U(":=", !1), jp = U("||", !1), yR = U("&&", !1), Dv = U(">=", !1), Ov = U("<=", !1), $v = U("<>", !1), Pv = U("!=", !1), cZ = U("<=>", !1), fZ = U("==", !1), yZ = U("||/", !1), hZ = U("|/", !1), Vv = U(">>", !1), Nv = U("<<", !1), mZ = U("!~~*", !1), vZ = U("~~*", !1), TZ = U("!~~", !1), bZ = U("~~", !1), EZ = U("!~*", !1), AZ = U("~*", !1), IZ = U("!~", !1), wZ = U("^@", !1), hR = U("->>", !1), mR = U("->", !1), RZ = U("#>>", !1), CZ = U("#>", !1), _Z = U("@>", !1), gZ = U("<@", !1), DZ = U("?|", !1), OZ = U("?&", !1), $Z = U("#-", !1), PZ = U("@?", !1), vR = U("@@", !1), TR = U("!", !1), ky = U("~", !1), Fd = U("@", !1), bR = U("#", !1), xv = U("&", !1), Lv = U("|", !1), To = U("`", !1), Mv = U("?", !1), ER = Nr(["-", "+", "*", "/", "<", ">", "=", "~", "!", "@", "#", "%", "^", "&", "|", "`", "?"], !1, !1), Bv = U("/", !1), Uv = U("%", !1), Kd = U("^", !1), qd = U("-", !1), Fy = U("+", !1), AR = U("::", !1), wt = U("(", !1), Dt = U(")", !1), VZ = U("=>", !1), fn = U("$", !1), NZ = Jy("identifier"), IR = Nr(["`"], !0, !1), xZ = U("``", !1), wR = Nr(["`", "\\"], !0, !1), RR = Nr([".", "`"], !0, !1), CR = Nr(["]"], !0, !1), LZ = U("]]", !1), MZ = Nr([["A", "Z"], ["a", "z"], "_"], !1, !1), BZ = Nr([["A", "Z"], ["a", "z"], "_", ["€", "￿"]], !1, !1), UZ = Jy("string"), Ln = U("_", !1), bo = U(`
84352
84352
  `, !1), gs = U("'", !1), Zd = Nr(["'", "\\"], !0, !1), jZ = U("E", !1), _R = U("U&", !1), Wd = Nr(["'"], !0, !1), gR = U("''", !1), na = U('"', !1), Hd = Nr(['"'], !0, !1), DR = U('""', !1), Jd = Nr(['"', "\\"], !0, !1), Ky = U("'''", !1), qy = U('"""', !1), GZ = U("\\n", !1), kZ = U("\\r", !1), FZ = U("\\t", !1), KZ = U("\\b", !1), qZ = U("\\f", !1), ZZ = U("\\v", !1), WZ = U("\\a", !1), Eo = U("\\", !1), ys = Nr([["0", "7"]], !1, !1), HZ = U("x", !1), JZ = U("x", !0), zZ = U("u", !1), YZ = U("U", !1), SZ = U("\\%", !1), XZ = U("\\_", !1), QZ = U("\\0", !1), eW = U("\\Z", !1), tW = U("N", !0), iW = U("R", !0), rW = U("RB", !0), sW = U("BR", !0), Zy = U("$$", !1), nW = U("B", !0), aW = U("X", !0), lW = U("b", !0), aa = Nr(["0", "1"], !1, !1), oW = Jy("number"), jv = U("0x", !1), OR = U("0b", !1), dW = U("0o", !1), uW = Nr(["e", "E"], !1, !1), pW = Nr(["+", "-"], !1, !1), cW = Nr([["0", "9"]], !1, !1), fW = Nr([["0", "9"], ["a", "f"], ["A", "F"]], !1, !1), yW = Jy("whitespace"), $R = U("/*", !1), zd = U("*/", !1), hW = U("--", !1), PR = Nr([" ", " "], !1, !1), mW = U(`\r
@@ -95611,8 +95611,8 @@ const wu = ls, QE = Iy, Ru = EU, B = vi, Ta = Wn, P = sv, xr = nv, Q$ = av, g =
95611
95611
  function Z4e() {
95612
95612
  var t, n, s, o, f, h, b, C;
95613
95613
  if (t = r, n = sb(), n !== e) {
95614
- for (s = [], o = r, f = A(), h = ms(), h === e && (l.substr(r, 2) === J ? (h = J, r += 2) : (h = e, m === 0 && $(jp))), h !== e ? (b = A(), C = sb(), C !== e ? (f = [f, h, b, C], o = f) : (r = o, o = e)) : (r = o, o = e); o !== e; )
95615
- s.push(o), o = r, f = A(), h = ms(), h === e && (l.substr(r, 2) === J ? (h = J, r += 2) : (h = e, m === 0 && $(jp))), h !== e ? (b = A(), C = sb(), C !== e ? (f = [f, h, b, C], o = f) : (r = o, o = e)) : (r = o, o = e);
95614
+ for (s = [], o = r, f = A(), h = ms(), h === e && (l.substr(r, 2) === z ? (h = z, r += 2) : (h = e, m === 0 && $(jp))), h !== e ? (b = A(), C = sb(), C !== e ? (f = [f, h, b, C], o = f) : (r = o, o = e)) : (r = o, o = e); o !== e; )
95615
+ s.push(o), o = r, f = A(), h = ms(), h === e && (l.substr(r, 2) === z ? (h = z, r += 2) : (h = e, m === 0 && $(jp))), h !== e ? (b = A(), C = sb(), C !== e ? (f = [f, h, b, C], o = f) : (r = o, o = e)) : (r = o, o = e);
95616
95616
  w = t, t = Ome(n, s);
95617
95617
  } else
95618
95618
  r = t, t = e;
@@ -95784,7 +95784,7 @@ const wu = ls, QE = Iy, Ru = EU, B = vi, Ta = Wn, P = sv, xr = nv, Q$ = av, g =
95784
95784
  }
95785
95785
  function fg() {
95786
95786
  var t, n;
95787
- return t = r, l.substr(r, 3) === Te ? (n = Te, r += 3) : (n = e, m === 0 && $(yZ)), n === e && (l.substr(r, 2) === Ce ? (n = Ce, r += 2) : (n = e, m === 0 && $(hZ)), n === e && (l.substr(r, 2) === J ? (n = J, r += 2) : (n = e, m === 0 && $(jp)), n === e && (l.substr(r, 2) === be ? (n = be, r += 2) : (n = e, m === 0 && $(Vv)), n === e && (l.substr(r, 2) === Ie ? (n = Ie, r += 2) : (n = e, m === 0 && $(Nv)), n === e && (l.substr(r, 4) === De ? (n = De, r += 4) : (n = e, m === 0 && $(mZ)), n === e && (l.substr(r, 3) === Ne ? (n = Ne, r += 3) : (n = e, m === 0 && $(vZ)), n === e && (l.substr(r, 3) === Le ? (n = Le, r += 3) : (n = e, m === 0 && $(TZ)), n === e && (l.substr(r, 2) === ke ? (n = ke, r += 2) : (n = e, m === 0 && $(bZ)), n === e && (l.substr(r, 3) === ot ? (n = ot, r += 3) : (n = e, m === 0 && $(EZ)), n === e && (l.substr(r, 2) === Se ? (n = Se, r += 2) : (n = e, m === 0 && $(AZ)), n === e && (l.substr(r, 2) === xt ? (n = xt, r += 2) : (n = e, m === 0 && $(IZ)), n === e && (l.substr(r, 2) === _t ? (n = _t, r += 2) : (n = e, m === 0 && $(wZ)), n === e && (l.substr(r, 3) === hi ? (n = hi, r += 3) : (n = e, m === 0 && $(hR)), n === e && (l.substr(r, 2) === Mi ? (n = Mi, r += 2) : (n = e, m === 0 && $(mR)), n === e && (l.substr(r, 3) === Hi ? (n = Hi, r += 3) : (n = e, m === 0 && $(RZ)), n === e && (l.substr(r, 2) === Xr ? (n = Xr, r += 2) : (n = e, m === 0 && $(CZ)), n === e && (l.substr(r, 2) === vr ? (n = vr, r += 2) : (n = e, m === 0 && $(_Z)), n === e && (l.substr(r, 2) === jt ? (n = jt, r += 2) : (n = e, m === 0 && $(gZ)), n === e && (l.substr(r, 2) === Ai ? (n = Ai, r += 2) : (n = e, m === 0 && $(DZ)), n === e && (l.substr(r, 2) === qs ? (n = qs, r += 2) : (n = e, m === 0 && $(OZ)), n === e && (l.substr(r, 2) === Zs ? (n = Zs, r += 2) : (n = e, m === 0 && $($Z)), n === e && (l.substr(r, 2) === Np ? (n = Np, r += 2) : (n = e, m === 0 && $(PZ)), n === e && (l.substr(r, 2) === fo ? (n = fo, r += 2) : (n = e, m === 0 && $(vR)), n === e && (l.charCodeAt(r) === 33 ? (n = xp, r++) : (n = e, m === 0 && $(TR)), n === e && (l.charCodeAt(r) === 126 ? (n = ia, r++) : (n = e, m === 0 && $(ky)), n === e && (l.charCodeAt(r) === 64 ? (n = Vr, r++) : (n = e, m === 0 && $(Fd)), n === e && (l.charCodeAt(r) === 35 ? (n = Nd, r++) : (n = e, m === 0 && $(bR)), n === e && (l.charCodeAt(r) === 38 ? (n = Lp, r++) : (n = e, m === 0 && $(xv)), n === e && (l.charCodeAt(r) === 124 ? (n = wv, r++) : (n = e, m === 0 && $(Lv)), n === e && (l.charCodeAt(r) === 96 ? (n = yo, r++) : (n = e, m === 0 && $(To)), n === e && (l.charCodeAt(r) === 63 ? (n = Rv, r++) : (n = e, m === 0 && $(Mv))))))))))))))))))))))))))))))))), n !== e && (w = t, n = g0e(n)), t = n, t;
95787
+ return t = r, l.substr(r, 3) === Te ? (n = Te, r += 3) : (n = e, m === 0 && $(yZ)), n === e && (l.substr(r, 2) === Ce ? (n = Ce, r += 2) : (n = e, m === 0 && $(hZ)), n === e && (l.substr(r, 2) === z ? (n = z, r += 2) : (n = e, m === 0 && $(jp)), n === e && (l.substr(r, 2) === be ? (n = be, r += 2) : (n = e, m === 0 && $(Vv)), n === e && (l.substr(r, 2) === Ie ? (n = Ie, r += 2) : (n = e, m === 0 && $(Nv)), n === e && (l.substr(r, 4) === De ? (n = De, r += 4) : (n = e, m === 0 && $(mZ)), n === e && (l.substr(r, 3) === Ne ? (n = Ne, r += 3) : (n = e, m === 0 && $(vZ)), n === e && (l.substr(r, 3) === Le ? (n = Le, r += 3) : (n = e, m === 0 && $(TZ)), n === e && (l.substr(r, 2) === ke ? (n = ke, r += 2) : (n = e, m === 0 && $(bZ)), n === e && (l.substr(r, 3) === ot ? (n = ot, r += 3) : (n = e, m === 0 && $(EZ)), n === e && (l.substr(r, 2) === Se ? (n = Se, r += 2) : (n = e, m === 0 && $(AZ)), n === e && (l.substr(r, 2) === xt ? (n = xt, r += 2) : (n = e, m === 0 && $(IZ)), n === e && (l.substr(r, 2) === _t ? (n = _t, r += 2) : (n = e, m === 0 && $(wZ)), n === e && (l.substr(r, 3) === hi ? (n = hi, r += 3) : (n = e, m === 0 && $(hR)), n === e && (l.substr(r, 2) === Mi ? (n = Mi, r += 2) : (n = e, m === 0 && $(mR)), n === e && (l.substr(r, 3) === Hi ? (n = Hi, r += 3) : (n = e, m === 0 && $(RZ)), n === e && (l.substr(r, 2) === Xr ? (n = Xr, r += 2) : (n = e, m === 0 && $(CZ)), n === e && (l.substr(r, 2) === vr ? (n = vr, r += 2) : (n = e, m === 0 && $(_Z)), n === e && (l.substr(r, 2) === jt ? (n = jt, r += 2) : (n = e, m === 0 && $(gZ)), n === e && (l.substr(r, 2) === Ai ? (n = Ai, r += 2) : (n = e, m === 0 && $(DZ)), n === e && (l.substr(r, 2) === qs ? (n = qs, r += 2) : (n = e, m === 0 && $(OZ)), n === e && (l.substr(r, 2) === Zs ? (n = Zs, r += 2) : (n = e, m === 0 && $($Z)), n === e && (l.substr(r, 2) === Np ? (n = Np, r += 2) : (n = e, m === 0 && $(PZ)), n === e && (l.substr(r, 2) === fo ? (n = fo, r += 2) : (n = e, m === 0 && $(vR)), n === e && (l.charCodeAt(r) === 33 ? (n = xp, r++) : (n = e, m === 0 && $(TR)), n === e && (l.charCodeAt(r) === 126 ? (n = ia, r++) : (n = e, m === 0 && $(ky)), n === e && (l.charCodeAt(r) === 64 ? (n = Vr, r++) : (n = e, m === 0 && $(Fd)), n === e && (l.charCodeAt(r) === 35 ? (n = Nd, r++) : (n = e, m === 0 && $(bR)), n === e && (l.charCodeAt(r) === 38 ? (n = Lp, r++) : (n = e, m === 0 && $(xv)), n === e && (l.charCodeAt(r) === 124 ? (n = wv, r++) : (n = e, m === 0 && $(Lv)), n === e && (l.charCodeAt(r) === 96 ? (n = yo, r++) : (n = e, m === 0 && $(To)), n === e && (l.charCodeAt(r) === 63 ? (n = Rv, r++) : (n = e, m === 0 && $(Mv))))))))))))))))))))))))))))))))), n !== e && (w = t, n = g0e(n)), t = n, t;
95788
95788
  }
95789
95789
  function Xp() {
95790
95790
  var t, n, s, o;
@@ -95948,7 +95948,7 @@ const wu = ls, QE = Iy, Ru = EU, B = vi, Ta = Wn, P = sv, xr = nv, Q$ = av, g =
95948
95948
  }
95949
95949
  function mg() {
95950
95950
  var t, n, s, o;
95951
- return l.charCodeAt(r) === 42 ? (t = N, r++) : (t = e, m === 0 && $(Mp)), t === e && (l.charCodeAt(r) === 47 ? (t = Cv, r++) : (t = e, m === 0 && $(Bv)), t === e && (t = r, l.charCodeAt(r) === 37 ? (n = _v, r++) : (n = e, m === 0 && $(Uv)), n !== e ? (s = r, m++, o = Ge(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = H0e(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = D3e(), n !== e ? (s = r, m++, o = Ge(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = J0e(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = m5e(), n !== e ? (s = r, m++, o = Ge(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = z0e(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, l.substr(r, 2) === J ? (n = J, r += 2) : (n = e, m === 0 && $(jp)), n !== e ? (s = r, m++, o = Me(), m--, o !== e ? (r = s, s = void 0) : s = e, s !== e ? (w = t, t = Y0e(n)) : (r = t, t = e)) : (r = t, t = e)))))), t;
95951
+ return l.charCodeAt(r) === 42 ? (t = N, r++) : (t = e, m === 0 && $(Mp)), t === e && (l.charCodeAt(r) === 47 ? (t = Cv, r++) : (t = e, m === 0 && $(Bv)), t === e && (t = r, l.charCodeAt(r) === 37 ? (n = _v, r++) : (n = e, m === 0 && $(Uv)), n !== e ? (s = r, m++, o = Ge(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = H0e(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = D3e(), n !== e ? (s = r, m++, o = Ge(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = J0e(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = m5e(), n !== e ? (s = r, m++, o = Ge(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = z0e(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, l.substr(r, 2) === z ? (n = z, r += 2) : (n = e, m === 0 && $(jp)), n !== e ? (s = r, m++, o = Me(), m--, o !== e ? (r = s, s = void 0) : s = e, s !== e ? (w = t, t = Y0e(n)) : (r = t, t = e)) : (r = t, t = e)))))), t;
95952
95952
  }
95953
95953
  function Tb() {
95954
95954
  var t, n, s, o, f, h, b, C, F;
@@ -95975,7 +95975,7 @@ const wu = ls, QE = Iy, Ru = EU, B = vi, Ta = Wn, P = sv, xr = nv, Q$ = av, g =
95975
95975
  }
95976
95976
  function vg() {
95977
95977
  var t, n, s, o;
95978
- return t = r, l.substr(r, 2) === J ? (n = J, r += 2) : (n = e, m === 0 && $(jp)), n !== e ? (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e, s !== e ? (w = t, t = eve(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, l.substr(r, 3) === hi ? (n = hi, r += 3) : (n = e, m === 0 && $(hR)), n !== e ? (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = Tl(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = tve(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, l.substr(r, 2) === Mi ? (n = Mi, r += 2) : (n = e, m === 0 && $(mR)), n !== e ? (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = Tl(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = ive(n)) : (r = t, t = e)) : (r = t, t = e))), t;
95978
+ return t = r, l.substr(r, 2) === z ? (n = z, r += 2) : (n = e, m === 0 && $(jp)), n !== e ? (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e, s !== e ? (w = t, t = eve(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, l.substr(r, 3) === hi ? (n = hi, r += 3) : (n = e, m === 0 && $(hR)), n !== e ? (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = Tl(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = tve(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, l.substr(r, 2) === Mi ? (n = Mi, r += 2) : (n = e, m === 0 && $(mR)), n !== e ? (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = Tl(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = ive(n)) : (r = t, t = e)) : (r = t, t = e))), t;
95979
95979
  }
95980
95980
  function gh() {
95981
95981
  var t, n, s, o, f, h;
@@ -101577,8 +101577,8 @@ function gVt() {
101577
101577
  if (jP)
101578
101578
  return gc;
101579
101579
  jP = 1, Object.defineProperty(gc, "__esModule", { value: !0 }), gc.transformMap = void 0;
101580
- const d = FPt(), u = KPt(), i = qPt(), a = ZPt(), l = WPt(), c = HPt(), e = JPt(), y = zPt(), v = YPt(), T = SPt(), I = XPt(), E = QPt(), D = eVt(), N = tVt(), L = iVt(), M = rVt(), K = sVt(), q = nVt(), Z = aVt(), H = lVt(), ae = oVt(), J = dVt(), ue = uVt(), te = pVt(), le = cVt(), he = fVt(), X = yVt(), fe = hVt(), Ee = mVt(), Te = vVt(), Ce = TVt(), be = bVt(), Ie = EVt(), De = AVt(), Ne = IVt(), Le = wVt(), ke = RVt(), ot = CVt(), Se = _Vt(), xt = ov;
101581
- return gc.transformMap = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, a.baseMap), le.selectMap), Ie.frameMap), M.insertMap), Ce.updateMap), v.deleteMap), Te.truncateMap), K.mergeMap), c.createTableMap), l.constraintMap), u.alterTableMap), d.alterActionMap), I.dropTableMap), De.renameTableMap), te.schemaMap), be.viewMap), L.indexMap), Ee.triggerMap), he.sequenceMap), X.typeMap), T.domainMap), ue.roleMap), q.policyMap), N.functionMap), ae.procedureMap), J.procClauseMap), i.analyzeMap), E.explainMap), fe.transactionMap), y.dclMap), H.proceduralLanguageMap), Z.preparedStatementsMap), Ne.otherClausesMap), ot.sqliteMap), Le.bigqueryMap), Se.mysqlMap), ke.postgresqlMap), D.exprMap), e.dataTypeMap), xt.unsupportedGrammarMap), gc;
101580
+ const d = FPt(), u = KPt(), i = qPt(), a = ZPt(), l = WPt(), c = HPt(), e = JPt(), y = zPt(), v = YPt(), T = SPt(), I = XPt(), E = QPt(), D = eVt(), N = tVt(), L = iVt(), M = rVt(), K = sVt(), q = nVt(), Z = aVt(), H = lVt(), ae = oVt(), z = dVt(), ue = uVt(), te = pVt(), le = cVt(), he = fVt(), X = yVt(), fe = hVt(), Ee = mVt(), Te = vVt(), Ce = TVt(), be = bVt(), Ie = EVt(), De = AVt(), Ne = IVt(), Le = wVt(), ke = RVt(), ot = CVt(), Se = _Vt(), xt = ov;
101581
+ return gc.transformMap = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, a.baseMap), le.selectMap), Ie.frameMap), M.insertMap), Ce.updateMap), v.deleteMap), Te.truncateMap), K.mergeMap), c.createTableMap), l.constraintMap), u.alterTableMap), d.alterActionMap), I.dropTableMap), De.renameTableMap), te.schemaMap), be.viewMap), L.indexMap), Ee.triggerMap), he.sequenceMap), X.typeMap), T.domainMap), ue.roleMap), q.policyMap), N.functionMap), ae.procedureMap), z.procClauseMap), i.analyzeMap), E.explainMap), fe.transactionMap), y.dclMap), H.proceduralLanguageMap), Z.preparedStatementsMap), Ne.otherClausesMap), ot.sqliteMap), Le.bigqueryMap), Se.mysqlMap), ke.postgresqlMap), D.exprMap), e.dataTypeMap), xt.unsupportedGrammarMap), gc;
101582
101582
  }
101583
101583
  var GP;
101584
101584
  function fi() {
@@ -102940,7 +102940,7 @@ function f1(d, u, i, a, l, c = !1) {
102940
102940
  };
102941
102941
  }
102942
102942
  function Aa(d, u, i, a, l = !1) {
102943
- var e, y, v, T, I, E, D, N, L, M, K, q, Z, H, ae, J;
102943
+ var e, y, v, T, I, E, D, N, L, M, K, q, Z, H, ae, z;
102944
102944
  if (!d)
102945
102945
  return null;
102946
102946
  const c = new CU(i);
@@ -103064,7 +103064,7 @@ function Aa(d, u, i, a, l = !1) {
103064
103064
  if (fe) {
103065
103065
  c.right = new Ii(i), c.right.source = fe, c.right.as = Tt(fe.as);
103066
103066
  const Ee = new Ns(i);
103067
- Ee.entity = ((Z = fe.parent) == null ? void 0 : Z.entity) || null, Ee.query = ((H = fe.parent) == null ? void 0 : H.query) || null, Ee.aggregation = ((ae = fe.parent) == null ? void 0 : ae.aggregation) || null, Ee.sourceType = ((J = fe.parent) == null ? void 0 : J.sourceType) || null;
103067
+ Ee.entity = ((Z = fe.parent) == null ? void 0 : Z.entity) || null, Ee.query = ((H = fe.parent) == null ? void 0 : H.query) || null, Ee.aggregation = ((ae = fe.parent) == null ? void 0 : ae.aggregation) || null, Ee.sourceType = ((z = fe.parent) == null ? void 0 : z.sourceType) || null;
103068
103068
  const Te = i.addDataSource(Ee);
103069
103069
  if (c.right.parent = Te, l)
103070
103070
  debugger;
@@ -103210,15 +103210,15 @@ function y1(d, u, i, a, l, c = {
103210
103210
  ae.as = d.right.alias.text || Tt(
103211
103211
  ((M = (L = ae.statement) == null ? void 0 : L.from) == null ? void 0 : M.as) || ""
103212
103212
  ) || null;
103213
- const J = Lf(
103213
+ const z = Lf(
103214
103214
  H,
103215
103215
  l,
103216
103216
  null
103217
103217
  );
103218
- y.push(...J.errors), ae.statement = J.state;
103218
+ y.push(...z.errors), ae.statement = z.state;
103219
103219
  const ue = new Ns(a);
103220
103220
  ue.query = ae, ue.sourceType = Wa.Query;
103221
- const te = ((K = J.state) == null ? void 0 : K.columns.map((fe) => {
103221
+ const te = ((K = z.state) == null ? void 0 : K.columns.map((fe) => {
103222
103222
  const Ee = N.find(
103223
103223
  (Te) => Te.from === Tt(fe.as)
103224
103224
  );
@@ -103253,7 +103253,7 @@ function y1(d, u, i, a, l, c = {
103253
103253
  } else if (d.right.expr.type === "identifier") {
103254
103254
  const H = (q = c.onDescribeTable) == null ? void 0 : q.call(c, I), ae = new Ns(a);
103255
103255
  if (H) {
103256
- const J = H.columns.map((le) => {
103256
+ const z = H.columns.map((le) => {
103257
103257
  const he = N.find(
103258
103258
  (X) => X.from === le.columnName
103259
103259
  );
@@ -103265,7 +103265,7 @@ function y1(d, u, i, a, l, c = {
103265
103265
  column: le
103266
103266
  };
103267
103267
  });
103268
- T.push(...J), ae.entity = H.entity, ae.sourceType = Wa.Table;
103268
+ T.push(...z), ae.entity = H.entity, ae.sourceType = Wa.Table;
103269
103269
  const ue = new Om(
103270
103270
  a
103271
103271
  ), te = $m(
@@ -103294,7 +103294,7 @@ function y1(d, u, i, a, l, c = {
103294
103294
  } else if (d.right.type === "identifier") {
103295
103295
  const H = (Z = c.onDescribeTable) == null ? void 0 : Z.call(c, I), ae = new Ns(a);
103296
103296
  if (H) {
103297
- const J = H.columns.map((le) => {
103297
+ const z = H.columns.map((le) => {
103298
103298
  const he = N.find(
103299
103299
  (X) => X.from === le.columnName
103300
103300
  );
@@ -103306,7 +103306,7 @@ function y1(d, u, i, a, l, c = {
103306
103306
  column: le
103307
103307
  };
103308
103308
  });
103309
- T.push(...J), ae.entity = H.entity, ae.sourceType = Wa.Table;
103309
+ T.push(...z), ae.entity = H.entity, ae.sourceType = Wa.Table;
103310
103310
  const ue = new Om(
103311
103311
  a
103312
103312
  ), te = $m(
@@ -103661,13 +103661,13 @@ function Lf(d, u, i = null, a = !1) {
103661
103661
  const Ee = new Zu(c);
103662
103662
  Ee.parent = fe, c.addSelection(Ee);
103663
103663
  });
103664
- const J = GU(
103664
+ const z = GU(
103665
103665
  y,
103666
103666
  c.columns,
103667
103667
  c,
103668
103668
  u
103669
103669
  );
103670
- c.where = J;
103670
+ c.where = z;
103671
103671
  const ue = kU(
103672
103672
  y
103673
103673
  ), te = FU(ue), le = KU(ue), he = qU(
@@ -103893,14 +103893,14 @@ function qP(d, u, i) {
103893
103893
  } else {
103894
103894
  let Z = null;
103895
103895
  if (E.literalValue) {
103896
- const J = FP(
103896
+ const z = FP(
103897
103897
  E.literalValue.valueType,
103898
103898
  d.project
103899
103899
  );
103900
- J && (Z = J);
103900
+ z && (Z = z);
103901
103901
  } else if (E.property) {
103902
- const J = E.property.getDataType(null);
103903
- ((N = J == null ? void 0 : J.entity) == null ? void 0 : N.type) === p.DefinitionEntity || ((L = J == null ? void 0 : J.entity) == null ? void 0 : L.type) === p.PrimitiveEntity ? Z = J == null ? void 0 : J.entity : Z = d.project.get(
103902
+ const z = E.property.getDataType(null);
103903
+ ((N = z == null ? void 0 : z.entity) == null ? void 0 : N.type) === p.DefinitionEntity || ((L = z == null ? void 0 : z.entity) == null ? void 0 : L.type) === p.PrimitiveEntity ? Z = z == null ? void 0 : z.entity : Z = d.project.get(
103904
103904
  pe["primitive-entity"].untyped.id
103905
103905
  );
103906
103906
  }
@@ -104587,7 +104587,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
104587
104587
  )
104588
104588
  )) {
104589
104589
  if (!this.checkCanEdit(this))
104590
- return z.warn(
104590
+ return J.warn(
104591
104591
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
104592
104592
  ), a == null || a.attemptAutoclose(O.UpdateWithShallowTransfer, this.id), this;
104593
104593
  if (this.metaSync(i, a), this.version = i.version, this.createdAt = i.createdAt, this.author = i.author, this.deleted = i.deleted, this.previousVersion = i.previousVersion, this.unsubscribeFromDependencies(), i.parent) {
@@ -104675,7 +104675,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
104675
104675
  )
104676
104676
  )) {
104677
104677
  if (!this.checkCanEdit(this))
104678
- return z.warn(
104678
+ return J.warn(
104679
104679
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
104680
104680
  ), i == null || i.attemptAutoclose(O.AfterAllChildrenInitialized, this.id), {
104681
104681
  updated: [],
@@ -104781,7 +104781,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
104781
104781
  O.AddInput
104782
104782
  )
104783
104783
  )) {
104784
- return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (z.warn(
104784
+ return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
104785
104785
  `[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
104786
104786
  ), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
104787
104787
  }
@@ -104867,7 +104867,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
104867
104867
  "add-output"
104868
104868
  )
104869
104869
  )) {
104870
- return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (z.warn(
104870
+ return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
104871
104871
  `[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
104872
104872
  ), a == null || a.attemptAutoclose("add-output", this.id), this);
104873
104873
  }
@@ -104882,7 +104882,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
104882
104882
  )
104883
104883
  )) {
104884
104884
  if (!this.checkCanEdit(this))
104885
- return z.warn(
104885
+ return J.warn(
104886
104886
  `[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
104887
104887
  ), a == null || a.attemptAutoclose("remove-output", this.id), this;
104888
104888
  const l = this.outputs.findIndex((c) => c.id === i.id);
@@ -105170,7 +105170,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
105170
105170
  )
105171
105171
  )) {
105172
105172
  if (!this.checkCanEdit(this))
105173
- return z.warn(
105173
+ return J.warn(
105174
105174
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
105175
105175
  ), i == null || i.attemptAutoclose(O.RemoveFromParent, this.id), {
105176
105176
  added: [],
@@ -105209,7 +105209,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
105209
105209
  )) {
105210
105210
  var v;
105211
105211
  if (!this.checkCanDelete(this))
105212
- return z.warn(
105212
+ return J.warn(
105213
105213
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
105214
105214
  ), a == null || a.event({
105215
105215
  id: `${O.RemoveEntity}-${this.id}`,
@@ -105320,7 +105320,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
105320
105320
  )
105321
105321
  )) {
105322
105322
  if (!this.checkCanEdit(this))
105323
- return z.warn(
105323
+ return J.warn(
105324
105324
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
105325
105325
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
105326
105326
  const a = [], l = [], c = [], e = [];
@@ -105870,7 +105870,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
105870
105870
  )
105871
105871
  )) {
105872
105872
  if (!this.checkCanEdit(this))
105873
- return z.warn(
105873
+ return J.warn(
105874
105874
  `[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
105875
105875
  ), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
105876
105876
  const l = this.dataType;
@@ -105886,7 +105886,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
105886
105886
  O.RemoveDataType
105887
105887
  )
105888
105888
  )) {
105889
- return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (z.warn(
105889
+ return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
105890
105890
  `[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
105891
105891
  ), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
105892
105892
  }
@@ -106261,7 +106261,7 @@ const VBt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
106261
106261
  )
106262
106262
  )) {
106263
106263
  if (!this.checkCanEdit(this))
106264
- return z.warn(
106264
+ return J.warn(
106265
106265
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
106266
106266
  ), a == null || a.attemptAutoclose(O.UpdateWithShallowTransfer, this.id), this;
106267
106267
  if (this.metaSync(i, a), this.version = i.version, this.createdAt = i.createdAt, this.author = i.author, this.deleted = i.deleted, this.previousVersion = i.previousVersion, this.unsubscribeFromDependencies(), i.parent) {
@@ -106311,7 +106311,7 @@ const VBt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
106311
106311
  )
106312
106312
  )) {
106313
106313
  if (!this.checkCanEdit(this))
106314
- return z.warn(
106314
+ return J.warn(
106315
106315
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
106316
106316
  ), i == null || i.attemptAutoclose(O.AfterAllChildrenInitialized, this.id), {
106317
106317
  updated: [],
@@ -106459,7 +106459,7 @@ const VBt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
106459
106459
  )
106460
106460
  )) {
106461
106461
  if (!this.checkCanEdit(this))
106462
- return z.warn(
106462
+ return J.warn(
106463
106463
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
106464
106464
  ), i == null || i.attemptAutoclose(O.RemoveFromParent, this.id), {
106465
106465
  added: [],
@@ -106498,7 +106498,7 @@ const VBt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
106498
106498
  )) {
106499
106499
  var v;
106500
106500
  if (!this.checkCanDelete(this))
106501
- return z.warn(
106501
+ return J.warn(
106502
106502
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
106503
106503
  ), a == null || a.event({
106504
106504
  id: `${O.RemoveEntity}-${this.id}`,
@@ -107755,7 +107755,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
107755
107755
  )
107756
107756
  )) {
107757
107757
  if (!this.checkCanEdit(this))
107758
- return z.warn(
107758
+ return J.warn(
107759
107759
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
107760
107760
  ), a == null || a.attemptAutoclose(
107761
107761
  O.UpdateWithShallowTransfer,
@@ -107879,7 +107879,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
107879
107879
  )
107880
107880
  )) {
107881
107881
  if (!this.checkCanEdit(this))
107882
- return z.warn(
107882
+ return J.warn(
107883
107883
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
107884
107884
  ), i == null || i.attemptAutoclose(
107885
107885
  O.AfterAllChildrenInitialized,
@@ -107990,7 +107990,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
107990
107990
  )
107991
107991
  )) {
107992
107992
  if (!this.checkCanEdit(this))
107993
- return z.warn(
107993
+ return J.warn(
107994
107994
  `[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
107995
107995
  ), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this;
107996
107996
  const l = this.inputs.findIndex((c) => c.id === i.id);
@@ -108006,7 +108006,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
108006
108006
  O.AddInput
108007
108007
  )
108008
108008
  )) {
108009
- return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (z.warn(
108009
+ return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
108010
108010
  `[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
108011
108011
  ), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
108012
108012
  }
@@ -108020,7 +108020,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
108020
108020
  "add-output"
108021
108021
  )
108022
108022
  )) {
108023
- return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (z.warn(
108023
+ return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
108024
108024
  `[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
108025
108025
  ), a == null || a.attemptAutoclose("add-output", this.id), this);
108026
108026
  }
@@ -108035,7 +108035,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
108035
108035
  )
108036
108036
  )) {
108037
108037
  if (!this.checkCanEdit(this))
108038
- return z.warn(
108038
+ return J.warn(
108039
108039
  `[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
108040
108040
  ), a == null || a.attemptAutoclose("remove-output", this.id), this;
108041
108041
  const l = this.outputs.findIndex((c) => c.id === i.id);
@@ -108387,7 +108387,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
108387
108387
  )
108388
108388
  )) {
108389
108389
  if (!this.checkCanEdit(this))
108390
- return z.warn(
108390
+ return J.warn(
108391
108391
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
108392
108392
  ), i == null || i.attemptAutoclose(
108393
108393
  O.RemoveFromParent,
@@ -108429,7 +108429,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
108429
108429
  )) {
108430
108430
  var v;
108431
108431
  if (!this.checkCanDelete(this))
108432
- return z.warn(
108432
+ return J.warn(
108433
108433
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
108434
108434
  ), a == null || a.event({
108435
108435
  id: `${O.RemoveEntity}-${this.id}`,
@@ -108523,7 +108523,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
108523
108523
  )
108524
108524
  )) {
108525
108525
  if (!this.checkCanEdit(this))
108526
- return z.warn(
108526
+ return J.warn(
108527
108527
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
108528
108528
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
108529
108529
  const a = [], l = [], c = [], e = [];
@@ -108881,7 +108881,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
108881
108881
  )
108882
108882
  )) {
108883
108883
  if (!this.checkCanEdit(this))
108884
- return z.warn(
108884
+ return J.warn(
108885
108885
  `[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
108886
108886
  ), i == null || i.attemptAutoclose(
108887
108887
  O.RemoveUnrecognizedInputs,
@@ -108940,7 +108940,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
108940
108940
  )
108941
108941
  )) {
108942
108942
  if (!this.checkCanEdit(this))
108943
- return z.warn(
108943
+ return J.warn(
108944
108944
  `[removeUnrecognizedOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
108945
108945
  ), i == null || i.attemptAutoclose(
108946
108946
  O.RemoveUnrecognizedOutputs,
@@ -109000,7 +109000,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
109000
109000
  )
109001
109001
  )) {
109002
109002
  if (!this.checkCanEdit(this))
109003
- return z.warn(
109003
+ return J.warn(
109004
109004
  `[syncInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
109005
109005
  ), i == null || i.attemptAutoclose(O.SyncInputs, this.id), {
109006
109006
  updated: [],
@@ -109077,7 +109077,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
109077
109077
  )
109078
109078
  )) {
109079
109079
  if (!this.checkCanEdit(this))
109080
- return z.warn(
109080
+ return J.warn(
109081
109081
  `[syncOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
109082
109082
  ), i == null || i.attemptAutoclose(O.SyncOutputs, this.id), {
109083
109083
  updated: [],
@@ -109829,7 +109829,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
109829
109829
  )
109830
109830
  )) {
109831
109831
  if (!this.checkCanEdit(this))
109832
- return z.warn(
109832
+ return J.warn(
109833
109833
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
109834
109834
  ), a == null || a.attemptAutoclose(
109835
109835
  O.UpdateWithShallowTransfer,
@@ -109923,7 +109923,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
109923
109923
  )
109924
109924
  )) {
109925
109925
  if (!this.checkCanEdit(this))
109926
- return z.warn(
109926
+ return J.warn(
109927
109927
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
109928
109928
  ), i == null || i.attemptAutoclose(
109929
109929
  O.AfterAllChildrenInitialized,
@@ -110020,7 +110020,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
110020
110020
  )
110021
110021
  )) {
110022
110022
  if (!this.checkCanEdit(this))
110023
- return z.warn(
110023
+ return J.warn(
110024
110024
  `[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
110025
110025
  ), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
110026
110026
  const l = this.dataType;
@@ -110036,7 +110036,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
110036
110036
  O.RemoveDataType
110037
110037
  )
110038
110038
  )) {
110039
- return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (z.warn(
110039
+ return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
110040
110040
  `[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
110041
110041
  ), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
110042
110042
  }
@@ -110086,7 +110086,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
110086
110086
  i,
110087
110087
  O.SetValueWriter,
110088
110088
  a
110089
- ) ? this : !i && !this.checkCanEdit(this) ? (z.warn(
110089
+ ) ? this : !i && !this.checkCanEdit(this) ? (J.warn(
110090
110090
  `[setValueWriter] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
110091
110091
  ), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this);
110092
110092
  }
@@ -110172,7 +110172,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
110172
110172
  )) {
110173
110173
  var y;
110174
110174
  if (!this.checkCanEdit(this))
110175
- return z.warn(
110175
+ return J.warn(
110176
110176
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
110177
110177
  ), i == null || i.attemptAutoclose(
110178
110178
  O.RemoveFromParent,
@@ -110220,7 +110220,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
110220
110220
  )) {
110221
110221
  var v, T, I, E, D;
110222
110222
  if (!this.checkCanDelete(this))
110223
- return z.warn(
110223
+ return J.warn(
110224
110224
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
110225
110225
  ), a == null || a.event({
110226
110226
  id: `${O.RemoveEntity}-${this.id}`,
@@ -110318,7 +110318,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
110318
110318
  )
110319
110319
  )) {
110320
110320
  if (!this.checkCanEdit(this))
110321
- return z.warn(
110321
+ return J.warn(
110322
110322
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
110323
110323
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
110324
110324
  const a = [], l = [], c = [], e = [];
@@ -110552,7 +110552,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
110552
110552
  )
110553
110553
  )) {
110554
110554
  if (!this.checkCanEdit(this))
110555
- return z.warn(
110555
+ return J.warn(
110556
110556
  `[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
110557
110557
  ), a == null || a.attemptAutoclose("set-default-value", this.id), this;
110558
110558
  const l = this.defaultValue;
@@ -111182,7 +111182,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
111182
111182
  )
111183
111183
  )) {
111184
111184
  if (!this.checkCanEdit(this))
111185
- return z.warn(
111185
+ return J.warn(
111186
111186
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
111187
111187
  ), a == null || a.attemptAutoclose(
111188
111188
  O.UpdateWithShallowTransfer,
@@ -111276,7 +111276,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
111276
111276
  )
111277
111277
  )) {
111278
111278
  if (!this.checkCanEdit(this))
111279
- return z.warn(
111279
+ return J.warn(
111280
111280
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
111281
111281
  ), i == null || i.attemptAutoclose(
111282
111282
  O.AfterAllChildrenInitialized,
@@ -111409,7 +111409,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
111409
111409
  )
111410
111410
  )) {
111411
111411
  if (!this.checkCanEdit(this))
111412
- return z.warn(
111412
+ return J.warn(
111413
111413
  `[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
111414
111414
  ), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
111415
111415
  const l = this.dataType;
@@ -111425,7 +111425,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
111425
111425
  O.RemoveDataType
111426
111426
  )
111427
111427
  )) {
111428
- return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (z.warn(
111428
+ return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
111429
111429
  `[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
111430
111430
  ), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
111431
111431
  }
@@ -111521,7 +111521,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
111521
111521
  )
111522
111522
  )) {
111523
111523
  if (!this.checkCanEdit(this))
111524
- return z.warn(
111524
+ return J.warn(
111525
111525
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
111526
111526
  ), i == null || i.attemptAutoclose(
111527
111527
  O.RemoveFromParent,
@@ -111563,7 +111563,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
111563
111563
  )) {
111564
111564
  var v;
111565
111565
  if (!this.checkCanDelete(this))
111566
- return z.warn(
111566
+ return J.warn(
111567
111567
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
111568
111568
  ), a == null || a.event({
111569
111569
  id: `${O.RemoveEntity}-${this.id}`,
@@ -111635,7 +111635,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
111635
111635
  )
111636
111636
  )) {
111637
111637
  if (!this.checkCanEdit(this))
111638
- return z.warn(
111638
+ return J.warn(
111639
111639
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
111640
111640
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
111641
111641
  const a = [], l = [], c = [], e = [];
@@ -112407,7 +112407,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
112407
112407
  )
112408
112408
  )) {
112409
112409
  if (!this.checkCanEdit(this))
112410
- return z.warn(
112410
+ return J.warn(
112411
112411
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
112412
112412
  ), a == null || a.attemptAutoclose(
112413
112413
  O.UpdateWithShallowTransfer,
@@ -112463,10 +112463,16 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
112463
112463
  const e = ee(
112464
112464
  this.initialData.parent
112465
112465
  ), y = this.project.get(e);
112466
- if (y)
112467
- this.setParent(y, null), i.push(y);
112466
+ if (J.log(
112467
+ `[LiteralValueState.hydrateAncestors] Hydrating parent reference '${e}' for entity with id '${this.id}'`
112468
+ ), y)
112469
+ J.log(
112470
+ `[LiteralValueState.hydrateAncestors] Setting parent reference '${y.id}' for entity with id '${this.id}'`
112471
+ ), this.setParent(y, null), i.push(y);
112468
112472
  else
112469
- throw new Error(
112473
+ throw J.error(
112474
+ `[LiteralValueState.hydrateAncestors] Parent reference '${e}' for entity with id '${this.id}' not found in the project`
112475
+ ), new Error(
112470
112476
  `${this.type} with id '${this.id}' has a 'parent' reference '${e}' that isn't found in the project`
112471
112477
  );
112472
112478
  } else if (this.initialData.standaloneParent) {
@@ -112475,14 +112481,22 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
112475
112481
  ), y = this.project.get(
112476
112482
  e
112477
112483
  );
112478
- if (y)
112479
- this.setStandaloneParent(y);
112484
+ if (J.log(
112485
+ `[LiteralValueState.hydrateAncestors] Hydrating standalone parent reference '${e}' for entity with id '${this.id}'`
112486
+ ), y)
112487
+ J.log(
112488
+ `[LiteralValueState.hydrateAncestors] Setting standalone parent reference '${y.id}' for entity with id '${this.id}'`
112489
+ ), this.setStandaloneParent(y);
112480
112490
  else
112481
- throw new Error(
112491
+ throw J.error(
112492
+ `[LiteralValueState.hydrateAncestors] Standalone parent reference '${e}' for entity with id '${this.id}' not found in the project`
112493
+ ), new Error(
112482
112494
  `${this.type} with id '${this.id}' has a 'standaloneParent' reference '${e}' that isn't found in the project`
112483
112495
  );
112484
112496
  } else
112485
- throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
112497
+ throw J.error(
112498
+ `[LiteralValueState.hydrateAncestors] Entity with id '${this.id}' must have a 'parent'`
112499
+ ), new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
112486
112500
  if (this.initialData.valueAsTypeList && Array.isArray(this.initialData.valueAsTypeList))
112487
112501
  this.valueAsTypeList = this.valueAsTypeList || [], this.initialData.valueAsTypeList.forEach((e) => {
112488
112502
  const y = ee(e), v = this.project.get(y);
@@ -112515,7 +112529,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
112515
112529
  )
112516
112530
  )) {
112517
112531
  if (!this.checkCanEdit(this))
112518
- return z.warn(
112532
+ return J.warn(
112519
112533
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
112520
112534
  ), i == null || i.attemptAutoclose(
112521
112535
  O.AfterAllChildrenInitialized,
@@ -112598,7 +112612,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
112598
112612
  return this.checkCanEdit(this) ? (this.valueAsTypeSingle !== i && (this.valueAsTypeSingle = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(
112599
112613
  O.SetValueAsTypeSingle,
112600
112614
  this.id
112601
- ), this) : (z.warn(
112615
+ ), this) : (J.warn(
112602
112616
  `[setValueAsTypeSingle] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
112603
112617
  ), a == null || a.attemptAutoclose(
112604
112618
  O.SetValueAsTypeSingle,
@@ -112619,7 +112633,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
112619
112633
  return this.checkCanEdit(this) ? (!i && this.valueAsTypeList ? (this.valueAsTypeList = null, a == null || a.add(this, G.Updated)) : i && !this.valueAsTypeList ? (this.valueAsTypeList = i, a == null || a.add(this, G.Updated)) : i && this.valueAsTypeList && ((l = this.valueAsTypeList) == null ? void 0 : l.length) !== i.length ? (this.valueAsTypeList = i, a == null || a.add(this, G.Updated)) : i && this.valueAsTypeList && ((c = this.valueAsTypeList) != null && c.every((e, y) => e !== i[y])) && (this.valueAsTypeList = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(
112620
112634
  O.SetValueAsTypeList,
112621
112635
  this.id
112622
- ), this) : (z.warn(
112636
+ ), this) : (J.warn(
112623
112637
  `[setValueAsTypeList] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
112624
112638
  ), a == null || a.attemptAutoclose(
112625
112639
  O.SetValueAsTypeList,
@@ -112636,7 +112650,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
112636
112650
  O.SetValueAsType
112637
112651
  )
112638
112652
  )) {
112639
- return this.checkCanEdit(this) ? i ? (Array.isArray(i) ? this.setValueAsTypeList(i, a) : this.setValueAsTypeSingle(i, a), a == null || a.attemptAutoclose(O.SetValueAsType, this.id), this) : (this.setValueAsTypeSingle(null, a), this.setValueAsTypeList(null, a), this) : (z.warn(
112653
+ return this.checkCanEdit(this) ? i ? (Array.isArray(i) ? this.setValueAsTypeList(i, a) : this.setValueAsTypeSingle(i, a), a == null || a.attemptAutoclose(O.SetValueAsType, this.id), this) : (this.setValueAsTypeSingle(null, a), this.setValueAsTypeList(null, a), this) : (J.warn(
112640
112654
  `[setValueAsType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
112641
112655
  ), a == null || a.attemptAutoclose(O.SetValueAsType, this.id), this);
112642
112656
  }
@@ -112800,7 +112814,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
112800
112814
  )
112801
112815
  )) {
112802
112816
  if (!this.checkCanEdit(this))
112803
- return z.warn(
112817
+ return J.warn(
112804
112818
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
112805
112819
  ), i == null || i.attemptAutoclose(
112806
112820
  O.RemoveFromParent,
@@ -112845,7 +112859,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
112845
112859
  )) {
112846
112860
  var v;
112847
112861
  if (!this.checkCanDelete(this))
112848
- return z.warn(
112862
+ return J.warn(
112849
112863
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
112850
112864
  ), a == null || a.event({
112851
112865
  id: `${O.RemoveEntity}-${this.id}`,
@@ -112908,7 +112922,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
112908
112922
  )
112909
112923
  )) {
112910
112924
  if (!this.checkCanEdit(this))
112911
- return z.warn(
112925
+ return J.warn(
112912
112926
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
112913
112927
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
112914
112928
  const a = [], l = [], c = [], e = [];
@@ -113646,7 +113660,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
113646
113660
  )
113647
113661
  )) {
113648
113662
  if (!this.checkCanEdit(this))
113649
- return z.warn(
113663
+ return J.warn(
113650
113664
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
113651
113665
  ), a == null || a.attemptAutoclose(
113652
113666
  O.UpdateWithShallowTransfer,
@@ -113775,7 +113789,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
113775
113789
  )
113776
113790
  )) {
113777
113791
  if (!this.checkCanEdit(this))
113778
- return z.warn(
113792
+ return J.warn(
113779
113793
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
113780
113794
  ), i == null || i.attemptAutoclose(
113781
113795
  O.AfterAllChildrenInitialized,
@@ -113935,7 +113949,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
113935
113949
  )) {
113936
113950
  var l;
113937
113951
  if (!this.checkCanEdit(this))
113938
- return z.warn(
113952
+ return J.warn(
113939
113953
  `[setThrows] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
113940
113954
  ), a == null || a.attemptAutoclose("set-throws", this.id), this;
113941
113955
  if (i !== null && i.parentRelationType !== Ll.Error)
@@ -113954,7 +113968,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
113954
113968
  "add-output"
113955
113969
  )
113956
113970
  )) {
113957
- return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (z.warn(
113971
+ return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
113958
113972
  `[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
113959
113973
  ), a == null || a.attemptAutoclose("add-output", this.id), this);
113960
113974
  }
@@ -113969,7 +113983,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
113969
113983
  )
113970
113984
  )) {
113971
113985
  if (!this.checkCanEdit(this))
113972
- return z.warn(
113986
+ return J.warn(
113973
113987
  `[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
113974
113988
  ), a == null || a.attemptAutoclose("remove-output", this.id), this;
113975
113989
  const l = this.outputs.findIndex((c) => c.id === i.id);
@@ -114004,7 +114018,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
114004
114018
  )
114005
114019
  )) {
114006
114020
  var l;
114007
- return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (z.warn(
114021
+ return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (J.warn(
114008
114022
  `[setImplements] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
114009
114023
  ), a == null || a.attemptAutoclose(O.SetImplements, this.id), this);
114010
114024
  }
@@ -114023,7 +114037,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
114023
114037
  i,
114024
114038
  O.SetValueWriter,
114025
114039
  a
114026
- ) ? this : !i && !this.checkCanEdit(this) ? (z.warn(
114040
+ ) ? this : !i && !this.checkCanEdit(this) ? (J.warn(
114027
114041
  `[setValueWriter] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
114028
114042
  ), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this);
114029
114043
  }
@@ -114144,7 +114158,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
114144
114158
  )
114145
114159
  )) {
114146
114160
  if (!this.checkCanEdit(this))
114147
- return z.warn(
114161
+ return J.warn(
114148
114162
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
114149
114163
  ), i == null || i.attemptAutoclose(
114150
114164
  O.RemoveFromParent,
@@ -114186,7 +114200,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
114186
114200
  )) {
114187
114201
  var v, T, I;
114188
114202
  if (!this.checkCanDelete(this))
114189
- return z.warn(
114203
+ return J.warn(
114190
114204
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
114191
114205
  ), a == null || a.event({
114192
114206
  id: `${O.RemoveEntity}-${this.id}`,
@@ -114281,7 +114295,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
114281
114295
  )
114282
114296
  )) {
114283
114297
  if (!this.checkCanEdit(this))
114284
- return z.warn(
114298
+ return J.warn(
114285
114299
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
114286
114300
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
114287
114301
  const a = [], l = [], c = [], e = [];
@@ -114563,7 +114577,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
114563
114577
  )
114564
114578
  )) {
114565
114579
  if (!this.checkCanEdit(this))
114566
- return z.warn(
114580
+ return J.warn(
114567
114581
  `[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
114568
114582
  ), a == null || a.attemptAutoclose("set-default-value", this.id), this;
114569
114583
  const l = this.defaultValue;
@@ -114730,7 +114744,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
114730
114744
  )
114731
114745
  )) {
114732
114746
  if (!this.checkCanEdit(this))
114733
- return z.warn(
114747
+ return J.warn(
114734
114748
  `[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
114735
114749
  ), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
114736
114750
  const l = this.dataType;
@@ -114746,7 +114760,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
114746
114760
  O.RemoveDataType
114747
114761
  )
114748
114762
  )) {
114749
- return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (z.warn(
114763
+ return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
114750
114764
  `[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
114751
114765
  ), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
114752
114766
  }
@@ -115255,7 +115269,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
115255
115269
  )
115256
115270
  )) {
115257
115271
  if (!this.checkCanEdit(this))
115258
- return z.warn(
115272
+ return J.warn(
115259
115273
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
115260
115274
  ), a == null || a.attemptAutoclose(
115261
115275
  O.UpdateWithShallowTransfer,
@@ -115376,7 +115390,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
115376
115390
  )
115377
115391
  )) {
115378
115392
  if (!this.checkCanEdit(this))
115379
- return z.warn(
115393
+ return J.warn(
115380
115394
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
115381
115395
  ), i == null || i.attemptAutoclose(
115382
115396
  O.AfterAllChildrenInitialized,
@@ -115536,7 +115550,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
115536
115550
  )) {
115537
115551
  var l;
115538
115552
  if (!this.checkCanEdit(this))
115539
- return z.warn(
115553
+ return J.warn(
115540
115554
  `[setThrows] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
115541
115555
  ), a == null || a.attemptAutoclose("set-throws", this.id), this;
115542
115556
  if (i !== null && i.parentRelationType !== Ll.Error)
@@ -115555,7 +115569,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
115555
115569
  "add-output"
115556
115570
  )
115557
115571
  )) {
115558
- return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (z.warn(
115572
+ return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
115559
115573
  `[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
115560
115574
  ), a == null || a.attemptAutoclose("add-output", this.id), this);
115561
115575
  }
@@ -115570,7 +115584,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
115570
115584
  )
115571
115585
  )) {
115572
115586
  if (!this.checkCanEdit(this))
115573
- return z.warn(
115587
+ return J.warn(
115574
115588
  `[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
115575
115589
  ), a == null || a.attemptAutoclose("remove-output", this.id), this;
115576
115590
  const l = this.outputs.findIndex((c) => c.id === i.id);
@@ -115605,7 +115619,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
115605
115619
  )
115606
115620
  )) {
115607
115621
  var l;
115608
- return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (z.warn(
115622
+ return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (J.warn(
115609
115623
  `[setImplements] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
115610
115624
  ), a == null || a.attemptAutoclose(O.SetImplements, this.id), this);
115611
115625
  }
@@ -115624,7 +115638,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
115624
115638
  i,
115625
115639
  O.SetValueWriter,
115626
115640
  a
115627
- ) ? this : !i && !this.checkCanEdit(this) ? (z.warn(
115641
+ ) ? this : !i && !this.checkCanEdit(this) ? (J.warn(
115628
115642
  `[setValueWriter] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
115629
115643
  ), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this);
115630
115644
  }
@@ -115745,7 +115759,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
115745
115759
  )
115746
115760
  )) {
115747
115761
  if (!this.checkCanEdit(this))
115748
- return z.warn(
115762
+ return J.warn(
115749
115763
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
115750
115764
  ), i == null || i.attemptAutoclose(
115751
115765
  O.RemoveFromParent,
@@ -115787,7 +115801,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
115787
115801
  )) {
115788
115802
  var v, T, I;
115789
115803
  if (!this.checkCanDelete(this))
115790
- return z.warn(
115804
+ return J.warn(
115791
115805
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
115792
115806
  ), a == null || a.event({
115793
115807
  id: `${O.RemoveEntity}-${this.id}`,
@@ -115882,7 +115896,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
115882
115896
  )
115883
115897
  )) {
115884
115898
  if (!this.checkCanEdit(this))
115885
- return z.warn(
115899
+ return J.warn(
115886
115900
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
115887
115901
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
115888
115902
  const a = [], l = [], c = [], e = [];
@@ -116167,7 +116181,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
116167
116181
  )
116168
116182
  )) {
116169
116183
  if (!this.checkCanEdit(this))
116170
- return z.warn(
116184
+ return J.warn(
116171
116185
  `[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
116172
116186
  ), a == null || a.attemptAutoclose("set-default-value", this.id), this;
116173
116187
  const l = this.defaultValue;
@@ -116334,7 +116348,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
116334
116348
  )
116335
116349
  )) {
116336
116350
  if (!this.checkCanEdit(this))
116337
- return z.warn(
116351
+ return J.warn(
116338
116352
  `[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
116339
116353
  ), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
116340
116354
  const l = this.dataType;
@@ -116350,7 +116364,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
116350
116364
  O.RemoveDataType
116351
116365
  )
116352
116366
  )) {
116353
- return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (z.warn(
116367
+ return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
116354
116368
  `[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
116355
116369
  ), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
116356
116370
  }
@@ -116770,7 +116784,7 @@ ${qa(
116770
116784
  )
116771
116785
  )) {
116772
116786
  if (!this.checkCanEdit(this))
116773
- return z.warn(
116787
+ return J.warn(
116774
116788
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
116775
116789
  ), a == null || a.attemptAutoclose(
116776
116790
  O.UpdateWithShallowTransfer,
@@ -116832,7 +116846,7 @@ ${qa(
116832
116846
  )
116833
116847
  )) {
116834
116848
  if (!this.checkCanEdit(this))
116835
- return z.warn(
116849
+ return J.warn(
116836
116850
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
116837
116851
  ), i == null || i.attemptAutoclose(
116838
116852
  O.AfterAllChildrenInitialized,
@@ -116982,7 +116996,7 @@ ${qa(
116982
116996
  )) {
116983
116997
  var y, v, T;
116984
116998
  if (!this.checkCanEdit(this))
116985
- return z.warn(
116999
+ return J.warn(
116986
117000
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
116987
117001
  ), i == null || i.attemptAutoclose(
116988
117002
  O.RemoveFromParent,
@@ -117024,7 +117038,7 @@ ${qa(
117024
117038
  )) {
117025
117039
  var T;
117026
117040
  if (!this.checkCanDelete(this))
117027
- return z.warn(
117041
+ return J.warn(
117028
117042
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
117029
117043
  ), a == null || a.event({
117030
117044
  id: `${O.RemoveEntity}-${this.id}`,
@@ -117116,7 +117130,7 @@ ${qa(
117116
117130
  )) {
117117
117131
  var y, v, T;
117118
117132
  if (!this.checkCanEdit(this))
117119
- return z.warn(
117133
+ return J.warn(
117120
117134
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
117121
117135
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
117122
117136
  const a = [], l = [], c = [], e = [];
@@ -117388,7 +117402,7 @@ ${qa(
117388
117402
  )
117389
117403
  )) {
117390
117404
  if (!this.checkCanEdit(this))
117391
- return z.warn(
117405
+ return J.warn(
117392
117406
  `[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
117393
117407
  ), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
117394
117408
  const l = this.dataType;
@@ -117408,7 +117422,7 @@ ${qa(
117408
117422
  )
117409
117423
  )) {
117410
117424
  if (!this.checkCanEdit(this))
117411
- return z.warn(
117425
+ return J.warn(
117412
117426
  `[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
117413
117427
  ), a == null || a.attemptAutoclose("set-default-value", this.id), this;
117414
117428
  const l = this.defaultValue;
@@ -117424,7 +117438,7 @@ ${qa(
117424
117438
  O.RemoveDataType
117425
117439
  )
117426
117440
  )) {
117427
- return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (z.warn(
117441
+ return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
117428
117442
  `[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
117429
117443
  ), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
117430
117444
  }
@@ -122126,7 +122140,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
122126
122140
  )
122127
122141
  )) {
122128
122142
  if (!this.checkCanEdit(this))
122129
- return z.warn(
122143
+ return J.warn(
122130
122144
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
122131
122145
  ), a == null || a.attemptAutoclose(
122132
122146
  O.UpdateWithShallowTransfer,
@@ -122242,7 +122256,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
122242
122256
  )
122243
122257
  )) {
122244
122258
  if (!this.checkCanEdit(this))
122245
- return z.warn(
122259
+ return J.warn(
122246
122260
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
122247
122261
  ), i == null || i.attemptAutoclose(
122248
122262
  O.AfterAllChildrenInitialized,
@@ -122329,7 +122343,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
122329
122343
  )
122330
122344
  )) {
122331
122345
  if (!this.checkCanEdit(this))
122332
- return z.warn(
122346
+ return J.warn(
122333
122347
  `[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
122334
122348
  ), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this;
122335
122349
  const l = this.inputs.findIndex((c) => c.id === i.id);
@@ -122345,7 +122359,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
122345
122359
  O.AddInput
122346
122360
  )
122347
122361
  )) {
122348
- return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (z.warn(
122362
+ return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
122349
122363
  `[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
122350
122364
  ), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
122351
122365
  }
@@ -122359,7 +122373,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
122359
122373
  "add-output"
122360
122374
  )
122361
122375
  )) {
122362
- return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (z.warn(
122376
+ return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
122363
122377
  `[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
122364
122378
  ), a == null || a.attemptAutoclose("add-output", this.id), this);
122365
122379
  }
@@ -122374,7 +122388,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
122374
122388
  )
122375
122389
  )) {
122376
122390
  if (!this.checkCanEdit(this))
122377
- return z.warn(
122391
+ return J.warn(
122378
122392
  `[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
122379
122393
  ), a == null || a.attemptAutoclose("remove-output", this.id), this;
122380
122394
  const l = this.outputs.findIndex((c) => c.id === i.id);
@@ -122714,7 +122728,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
122714
122728
  )
122715
122729
  )) {
122716
122730
  if (!this.checkCanEdit(this))
122717
- return z.warn(
122731
+ return J.warn(
122718
122732
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
122719
122733
  ), i == null || i.attemptAutoclose(
122720
122734
  O.RemoveFromParent,
@@ -122756,7 +122770,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
122756
122770
  )) {
122757
122771
  var v;
122758
122772
  if (!this.checkCanDelete(this))
122759
- return z.warn(
122773
+ return J.warn(
122760
122774
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
122761
122775
  ), a == null || a.event({
122762
122776
  id: `${O.RemoveEntity}-${this.id}`,
@@ -122850,7 +122864,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
122850
122864
  )
122851
122865
  )) {
122852
122866
  if (!this.checkCanEdit(this))
122853
- return z.warn(
122867
+ return J.warn(
122854
122868
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
122855
122869
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
122856
122870
  const a = [], l = [], c = [], e = [];
@@ -123202,7 +123216,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
123202
123216
  )
123203
123217
  )) {
123204
123218
  if (!this.checkCanEdit(this))
123205
- return z.warn(
123219
+ return J.warn(
123206
123220
  `[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
123207
123221
  ), i == null || i.attemptAutoclose(
123208
123222
  O.RemoveUnrecognizedInputs,
@@ -123262,7 +123276,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
123262
123276
  )) {
123263
123277
  var T, I;
123264
123278
  if (!this.checkCanEdit(this))
123265
- return z.warn(
123279
+ return J.warn(
123266
123280
  `[removeUnrecognizedOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
123267
123281
  ), i == null || i.attemptAutoclose(
123268
123282
  O.RemoveUnrecognizedOutputs,
@@ -123322,7 +123336,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
123322
123336
  )
123323
123337
  )) {
123324
123338
  if (!this.checkCanEdit(this))
123325
- return z.warn(
123339
+ return J.warn(
123326
123340
  `[syncInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
123327
123341
  ), i == null || i.attemptAutoclose(O.SyncInputs, this.id), {
123328
123342
  updated: [],
@@ -123397,7 +123411,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
123397
123411
  )) {
123398
123412
  var D, N;
123399
123413
  if (!this.checkCanEdit(this))
123400
- return z.warn(
123414
+ return J.warn(
123401
123415
  `[syncOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
123402
123416
  ), i == null || i.attemptAutoclose(O.SyncOutputs, this.id), {
123403
123417
  updated: [],
@@ -123610,7 +123624,7 @@ class Xa {
123610
123624
  let u = !1;
123611
123625
  for (let i = 0; i < this.order.length; i++) {
123612
123626
  const a = this.order[i], l = this.flatRecord[a];
123613
- if (l || z.warn(
123627
+ if (l || J.warn(
123614
123628
  `Entity with id ${a} not found in flatRecord. Skipping...`
123615
123629
  ), this.moveEntityAfterDependencies(l)) {
123616
123630
  u = !0;
@@ -123846,7 +123860,7 @@ function jxt(d, u) {
123846
123860
  let L = N.find((Z) => !!Z.properties.find((H) => {
123847
123861
  var ae;
123848
123862
  return H.implements.find(
123849
- (J) => J.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id
123863
+ (z) => z.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id
123850
123864
  ) && ((ae = H.getDefaultValue()) == null ? void 0 : ae.value) === !0;
123851
123865
  }));
123852
123866
  if (!L && N.length)
@@ -123860,7 +123874,7 @@ function jxt(d, u) {
123860
123874
  );
123861
123875
  const H = L.properties.find(
123862
123876
  (ae) => ae.implements.find(
123863
- (J) => J.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id
123877
+ (z) => z.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id
123864
123878
  )
123865
123879
  );
123866
123880
  (v = H == null ? void 0 : H.defaultValue) == null || v.metaSync(
@@ -123929,29 +123943,29 @@ function jxt(d, u) {
123929
123943
  case pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.id: {
123930
123944
  const N = d.project.entities.filter(
123931
123945
  (ae) => ae.implements.find(
123932
- (J) => J.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.id
123946
+ (z) => z.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.id
123933
123947
  ) && ae.id !== d.id
123934
123948
  ), L = N.map((ae) => {
123935
123949
  var te;
123936
- const J = ae.properties.find(
123950
+ const z = ae.properties.find(
123937
123951
  (le) => le.implements.find(
123938
123952
  (he) => he.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.identifier.id
123939
123953
  )
123940
123954
  );
123941
- return (te = J == null ? void 0 : J.getDefaultValue()) == null ? void 0 : te.value;
123955
+ return (te = z == null ? void 0 : z.getDefaultValue()) == null ? void 0 : te.value;
123942
123956
  }).filter((ae) => !!ae), M = d.properties.find(
123943
123957
  (ae) => ae.implements.find(
123944
- (J) => J.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.identifier.id
123958
+ (z) => z.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.identifier.id
123945
123959
  )
123946
123960
  );
123947
- if (!N.find((ae) => !!ae.properties.find((J) => {
123961
+ if (!N.find((ae) => !!ae.properties.find((z) => {
123948
123962
  var ue;
123949
- return J.implements.find(
123963
+ return z.implements.find(
123950
123964
  (te) => te.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id
123951
- ) && ((ue = J.getDefaultValue()) == null ? void 0 : ue.value) === !0;
123965
+ ) && ((ue = z.getDefaultValue()) == null ? void 0 : ue.value) === !0;
123952
123966
  }))) {
123953
123967
  const ae = d.properties.find(
123954
- (J) => J.implements.find(
123968
+ (z) => z.implements.find(
123955
123969
  (ue) => ue.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id
123956
123970
  )
123957
123971
  );
@@ -123960,10 +123974,10 @@ function jxt(d, u) {
123960
123974
  "Default boolean property not found for relational database entity with id: " + d.id
123961
123975
  );
123962
123976
  if (!(ae != null && ae.defaultValue)) {
123963
- const J = Mr.new(u);
123964
- J.parent = ae.toReference();
123977
+ const z = Mr.new(u);
123978
+ z.parent = ae.toReference();
123965
123979
  const ue = se(
123966
- J,
123980
+ z,
123967
123981
  d.project
123968
123982
  );
123969
123983
  ue.hydrateAncestors(), ue.setParent(ae, u), ue.addSelfToProject(u), u == null || u.add(
@@ -123985,11 +123999,11 @@ function jxt(d, u) {
123985
123999
  if (!(M != null && M.defaultValue)) {
123986
124000
  const ae = Mr.new(u);
123987
124001
  ae.parent = M.toReference();
123988
- const J = se(
124002
+ const z = se(
123989
124003
  ae,
123990
124004
  d.project
123991
124005
  );
123992
- J.hydrateAncestors(), J.setParent(M, u), J.addSelfToProject(u), J.initChildren(u), u == null || u.add(J, G.Added);
124006
+ z.hydrateAncestors(), z.setParent(M, u), z.addSelfToProject(u), z.initChildren(u), u == null || u.add(z, G.Added);
123993
124007
  }
123994
124008
  const q = Bxt(
123995
124009
  L,
@@ -124002,7 +124016,7 @@ function jxt(d, u) {
124002
124016
  u
124003
124017
  );
124004
124018
  const Z = d.properties.find((ae) => ae.implements.find(
124005
- (J) => J.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.password.id
124019
+ (z) => z.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.password.id
124006
124020
  ));
124007
124021
  if (!Z)
124008
124022
  throw new Error(
@@ -124011,14 +124025,14 @@ function jxt(d, u) {
124011
124025
  if (!Z.defaultValue) {
124012
124026
  const ae = Mr.new(u);
124013
124027
  ae.parent = Z.toReference();
124014
- const J = se(
124028
+ const z = se(
124015
124029
  ae,
124016
124030
  d.project
124017
124031
  );
124018
- J.hydrateAncestors(), J.setParent(Z, u), J.addSelfToProject(u), J.initChildren(u), u == null || u.add(
124019
- J,
124032
+ z.hydrateAncestors(), z.setParent(Z, u), z.addSelfToProject(u), z.initChildren(u), u == null || u.add(
124033
+ z,
124020
124034
  G.Added
124021
- ), a.push(J);
124035
+ ), a.push(z);
124022
124036
  }
124023
124037
  const H = UB(24);
124024
124038
  (D = Z.defaultValue) == null || D.metaSync(
@@ -124232,8 +124246,8 @@ function Kj(d, u, i, a, l) {
124232
124246
  },
124233
124247
  a
124234
124248
  ), d.length > 0) {
124235
- const H = d.slice(0, 5).filter((J) => J !== void 0);
124236
- if (H.every((J) => typeof J == typeof H[0]) && (typeof H[0] != "object" || H[0] === null))
124249
+ const H = d.slice(0, 5).filter((z) => z !== void 0);
124250
+ if (H.every((z) => typeof z == typeof H[0]) && (typeof H[0] != "object" || H[0] === null))
124237
124251
  switch (typeof H[0]) {
124238
124252
  case "string":
124239
124253
  u.setEntity(
@@ -124269,7 +124283,7 @@ function Kj(d, u, i, a, l) {
124269
124283
  break;
124270
124284
  }
124271
124285
  else {
124272
- const J = [];
124286
+ const z = [];
124273
124287
  let ue = !1;
124274
124288
  H.forEach((le) => {
124275
124289
  var he, X, fe, Ee;
@@ -124284,11 +124298,11 @@ function Kj(d, u, i, a, l) {
124284
124298
  a,
124285
124299
  l
124286
124300
  );
124287
- Te.hasCreated && J.push((he = Te.changeSet) == null ? void 0 : he.self), c.push(...(X = Te.changeSet) == null ? void 0 : X.updated), e.push(...(fe = Te.changeSet) == null ? void 0 : fe.added), y.push(...(Ee = Te.changeSet) == null ? void 0 : Ee.removed);
124301
+ Te.hasCreated && z.push((he = Te.changeSet) == null ? void 0 : he.self), c.push(...(X = Te.changeSet) == null ? void 0 : X.updated), e.push(...(fe = Te.changeSet) == null ? void 0 : fe.added), y.push(...(Ee = Te.changeSet) == null ? void 0 : Ee.removed);
124288
124302
  }
124289
124303
  });
124290
124304
  const te = R(
124291
- J
124305
+ z
124292
124306
  );
124293
124307
  if (!te.length && !ue) {
124294
124308
  H.forEach((le) => {
@@ -126026,7 +126040,7 @@ function Vi(d, u = /* @__PURE__ */ new Set()) {
126026
126040
  function rn(d, u = /* @__PURE__ */ new Set()) {
126027
126041
  if (u.has(d.id))
126028
126042
  return [];
126029
- u.add(d.id), z.log(
126043
+ u.add(d.id), J.log(
126030
126044
  "[flattenDerivedCanvasEntities]",
126031
126045
  d.type,
126032
126046
  Y(d, d.project),
@@ -126035,7 +126049,7 @@ function rn(d, u = /* @__PURE__ */ new Set()) {
126035
126049
  const i = wa(d);
126036
126050
  return i.forEach((l) => {
126037
126051
  u.add(l.id);
126038
- }), [...i.reduce((l, c) => (z.log(
126052
+ }), [...i.reduce((l, c) => (J.log(
126039
126053
  "[Recursive -- flattenDerivedCanvasEntities]",
126040
126054
  c.type,
126041
126055
  Y(c, c.project),
@@ -126144,25 +126158,25 @@ function _f(d, u = {}, i = {}) {
126144
126158
  const l = d, c = d, e = d, y = d, v = d, T = d, I = d, E = d, D = d, N = d, L = d, M = d, K = d, q = [
126145
126159
  ...K.readsValue ? [K.readsValue] : [],
126146
126160
  ...K.declaration ? [K.declaration] : [],
126147
- ...(M.calledByEntry || []).flatMap((J) => J),
126161
+ ...(M.calledByEntry || []).flatMap((z) => z),
126148
126162
  ...(M.calledBySuccess || []).flatMap(
126149
- (J) => J
126163
+ (z) => z
126150
126164
  ),
126151
- ...(M.calledByError || []).flatMap((J) => J),
126165
+ ...(M.calledByError || []).flatMap((z) => z),
126152
126166
  ...N.parent ? [N.parent] : []
126153
126167
  ];
126154
126168
  Array.isArray(e.implements) ? q.push(
126155
126169
  ...e.implements.flatMap(
126156
- (J) => J
126170
+ (z) => z
126157
126171
  )
126158
126172
  ) : y.implements && q.push(y.implements), Array.isArray(e.extends) ? q.push(
126159
126173
  ...e.extends.flatMap(
126160
- (J) => J
126174
+ (z) => z
126161
126175
  )
126162
126176
  ) : D.extends && q.push(D.extends), v.valueAsTypeList && Array.isArray(v.valueAsTypeList) && q.push(
126163
- ...v.valueAsTypeList.flatMap((J) => J)
126164
- ), v.valueAsTypeSingle && q.push(v.valueAsTypeSingle), (K.internalCalls || []).forEach((J) => {
126165
- const ue = ee(J);
126177
+ ...v.valueAsTypeList.flatMap((z) => z)
126178
+ ), v.valueAsTypeSingle && q.push(v.valueAsTypeSingle), (K.internalCalls || []).forEach((z) => {
126179
+ const ue = ee(z);
126166
126180
  if (ue && u[ue]) {
126167
126181
  const te = u[ue];
126168
126182
  [
@@ -126176,46 +126190,46 @@ function _f(d, u = {}, i = {}) {
126176
126190
  }
126177
126191
  });
126178
126192
  const Z = [
126179
- ...(l.inputs || []).flatMap((J) => J),
126180
- ...(L.inputsDeclarations || []).flatMap((J) => J),
126181
- ...(L.outputs || []).flatMap((J) => J),
126193
+ ...(l.inputs || []).flatMap((z) => z),
126194
+ ...(L.inputsDeclarations || []).flatMap((z) => z),
126195
+ ...(L.outputs || []).flatMap((z) => z),
126182
126196
  ...(K.internalCalls || []).flatMap(
126183
- (J) => J
126197
+ (z) => z
126184
126198
  ),
126185
126199
  ...K.writesValues || [],
126186
126200
  ...M.dataType ? [M.dataType] : [],
126187
126201
  ...T.body ? [T.body] : [],
126188
126202
  ...M.defaultValue ? [M.defaultValue] : [],
126189
- ...(M.successCalls || []).flatMap((J) => J),
126190
- ...(M.errorCalls || []).flatMap((J) => J),
126191
- ...(e.properties || []).flatMap((J) => J),
126192
- ...(e.methods || []).flatMap((J) => J),
126193
- ...(e.abstractMethods || []).flatMap((J) => J),
126203
+ ...(M.successCalls || []).flatMap((z) => z),
126204
+ ...(M.errorCalls || []).flatMap((z) => z),
126205
+ ...(e.properties || []).flatMap((z) => z),
126206
+ ...(e.methods || []).flatMap((z) => z),
126207
+ ...(e.abstractMethods || []).flatMap((z) => z),
126194
126208
  ...I.error ? [I.error] : [],
126195
126209
  ...N.throws ? [N.throws] : [],
126196
126210
  ...(c.andChildrenGroup || []).flatMap(
126197
- (J) => J
126211
+ (z) => z
126198
126212
  ),
126199
126213
  ...(c.orChildrenGroup || []).flatMap(
126200
- (J) => J
126214
+ (z) => z
126201
126215
  ),
126202
- ...(E.entities || []).flatMap((J) => J),
126203
- ...(E.functions || []).flatMap((J) => J),
126204
- ...(E.functionCalls || []).flatMap((J) => J),
126205
- ...(E.events || []).flatMap((J) => J),
126206
- ...(E.conditions || []).flatMap((J) => J),
126207
- ...(E.operations || []).flatMap((J) => J),
126208
- ...(E.loops || []).flatMap((J) => J),
126209
- ...(E.variableDeclarations || []).flatMap((J) => J),
126210
- ...(E.variableInstances || []).flatMap((J) => J),
126211
- ...(E.searches || []).flatMap((J) => J),
126212
- ...(E.projects || []).flatMap((J) => J),
126213
- ...(y.calls || []).flatMap((J) => J)
126216
+ ...(E.entities || []).flatMap((z) => z),
126217
+ ...(E.functions || []).flatMap((z) => z),
126218
+ ...(E.functionCalls || []).flatMap((z) => z),
126219
+ ...(E.events || []).flatMap((z) => z),
126220
+ ...(E.conditions || []).flatMap((z) => z),
126221
+ ...(E.operations || []).flatMap((z) => z),
126222
+ ...(E.loops || []).flatMap((z) => z),
126223
+ ...(E.variableDeclarations || []).flatMap((z) => z),
126224
+ ...(E.variableInstances || []).flatMap((z) => z),
126225
+ ...(E.searches || []).flatMap((z) => z),
126226
+ ...(E.projects || []).flatMap((z) => z),
126227
+ ...(y.calls || []).flatMap((z) => z)
126214
126228
  ];
126215
126229
  d.type === p.DataType && (c.entity && u[ee(c.entity)] && u[ee(c.entity)].parent && ee(
126216
126230
  u[ee(c.entity)].parent
126217
- ) === d.id ? Z.push(c.entity) : c.entity && q.push(c.entity)), (K.internalCalls || []).forEach((J) => {
126218
- const ue = ee(J);
126231
+ ) === d.id ? Z.push(c.entity) : c.entity && q.push(c.entity)), (K.internalCalls || []).forEach((z) => {
126232
+ const ue = ee(z);
126219
126233
  if (ue && u[ue]) {
126220
126234
  const te = u[ue];
126221
126235
  [
@@ -126228,26 +126242,26 @@ function _f(d, u = {}, i = {}) {
126228
126242
  }
126229
126243
  });
126230
126244
  const H = {}, ae = {};
126231
- return q.forEach((J) => {
126245
+ return q.forEach((z) => {
126232
126246
  var le;
126233
- const ue = ee(J);
126234
- if (ue && a.ignoreBuiltInBaseEntities && (xs.includes(J.type) || (a.allBuiltInEntityIds || []).includes(
126247
+ const ue = ee(z);
126248
+ if (ue && a.ignoreBuiltInBaseEntities && (xs.includes(z.type) || (a.allBuiltInEntityIds || []).includes(
126235
126249
  ue
126236
126250
  )))
126237
126251
  return;
126238
- const te = J.version;
126252
+ const te = z.version;
126239
126253
  if (ue) {
126240
126254
  const he = ((le = a.entityMaps) == null ? void 0 : le.get(ue)) || ue;
126241
126255
  H[he] = te;
126242
126256
  }
126243
- }), Z.forEach((J) => {
126257
+ }), Z.forEach((z) => {
126244
126258
  var le;
126245
- const ue = ee(J);
126246
- if (ue && a.ignoreBuiltInBaseEntities && (xs.includes(J.type) || (a.allBuiltInEntityIds || []).includes(
126259
+ const ue = ee(z);
126260
+ if (ue && a.ignoreBuiltInBaseEntities && (xs.includes(z.type) || (a.allBuiltInEntityIds || []).includes(
126247
126261
  ue
126248
126262
  )))
126249
126263
  return;
126250
- const te = J.version;
126264
+ const te = z.version;
126251
126265
  if (ue) {
126252
126266
  const he = ((le = a.entityMaps) == null ? void 0 : le.get(ue)) || ue;
126253
126267
  ae[he] = te;
@@ -126963,7 +126977,7 @@ function ULt(d) {
126963
126977
  ) : null;
126964
126978
  }
126965
126979
  function wa(d, u = !1) {
126966
- z.log(
126980
+ J.log(
126967
126981
  "[getRelatedCanvasElementsOnTheRight]",
126968
126982
  d.type,
126969
126983
  Y(d, d.project),
@@ -126988,7 +127002,7 @@ function wa(d, u = !1) {
126988
127002
  const a = [
126989
127003
  ...d.suggestedMethods,
126990
127004
  ...d.methods
126991
- ].flatMap((l) => l.collapsed && u ? [] : (z.log(
127005
+ ].flatMap((l) => l.collapsed && u ? [] : (J.log(
126992
127006
  "[Recursive -- getRelatedCanvasElementsOnTheRight]",
126993
127007
  l.type,
126994
127008
  Y(l, l.project),
@@ -127570,20 +127584,20 @@ function $r(d, u, i = null) {
127570
127584
  }
127571
127585
  function Pp(d, u) {
127572
127586
  if (xs.includes(d.type))
127573
- return z.warn(
127587
+ return J.warn(
127574
127588
  `getRootEntryPointScopeOwner is \`null\` because it was called with a built-in entity type: ${d.type}`
127575
127589
  ), null;
127576
127590
  if (u.getBuiltIn(d.id))
127577
- return z.warn(
127591
+ return J.warn(
127578
127592
  `getRootEntryPointScopeOwner is \`null\` because it was called with a built-in entity: ${d.id}`
127579
127593
  ), null;
127580
127594
  const i = Ts(
127581
127595
  d.parent,
127582
127596
  u
127583
127597
  );
127584
- return i ? i === u ? ir.includes(d.type) ? d : (z.warn(
127598
+ return i ? i === u ? ir.includes(d.type) ? d : (J.warn(
127585
127599
  `getRootEntryPointScopeOwner is \`null\` because it was called with an entity that has the project as parent: ${d.id}`
127586
- ), null) : i.type === p.DefinitionEntity ? d : Pp(i, u) : (z.warn(
127600
+ ), null) : i.type === p.DefinitionEntity ? d : Pp(i, u) : (J.warn(
127587
127601
  `getRootEntryPointScopeOwner is \`null\` because it was called with an entity that has no parent: ${d.id}`
127588
127602
  ), null);
127589
127603
  }
@@ -129747,7 +129761,7 @@ ${SA}`
129747
129761
  )
129748
129762
  )) {
129749
129763
  if (!this.checkCanEdit(this))
129750
- return z.warn(
129764
+ return J.warn(
129751
129765
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
129752
129766
  ), a == null || a.attemptAutoclose(
129753
129767
  O.UpdateWithShallowTransfer,
@@ -129849,7 +129863,7 @@ ${SA}`
129849
129863
  )
129850
129864
  )) {
129851
129865
  if (!this.checkCanEdit(this))
129852
- return z.warn(
129866
+ return J.warn(
129853
129867
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
129854
129868
  ), i == null || i.attemptAutoclose(
129855
129869
  O.AfterAllChildrenInitialized,
@@ -129959,7 +129973,7 @@ ${SA}`
129959
129973
  O.AddImplementation
129960
129974
  )
129961
129975
  )) {
129962
- return this.checkCanEdit(this) ? (this.implements.includes(i) || (this.implements.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddImplementation, this.id), this) : (z.warn(
129976
+ return this.checkCanEdit(this) ? (this.implements.includes(i) || (this.implements.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddImplementation, this.id), this) : (J.warn(
129963
129977
  `[addImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
129964
129978
  ), a == null || a.attemptAutoclose(
129965
129979
  O.AddImplementation,
@@ -129979,7 +129993,7 @@ ${SA}`
129979
129993
  return this.checkCanEdit(this) ? (this.implements.includes(i) && (this.implements = this.implements.filter((l) => l.id !== i.id), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(
129980
129994
  O.RemoveImplementation,
129981
129995
  this.id
129982
- ), this) : (z.warn(
129996
+ ), this) : (J.warn(
129983
129997
  `[removeImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
129984
129998
  ), a == null || a.attemptAutoclose(
129985
129999
  O.RemoveImplementation,
@@ -129997,7 +130011,7 @@ ${SA}`
129997
130011
  )
129998
130012
  )) {
129999
130013
  var l;
130000
- return this.checkCanEdit(this) ? (((l = this.extends) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.extends = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetExtends, this.id), this) : (z.warn(
130014
+ return this.checkCanEdit(this) ? (((l = this.extends) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.extends = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetExtends, this.id), this) : (J.warn(
130001
130015
  `[setExtends] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
130002
130016
  ), a == null || a.attemptAutoclose(O.SetExtends, this.id), this);
130003
130017
  }
@@ -130099,7 +130113,7 @@ ${SA}`
130099
130113
  )
130100
130114
  )) {
130101
130115
  if (!this.checkCanEdit(this))
130102
- return z.warn(
130116
+ return J.warn(
130103
130117
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
130104
130118
  ), i == null || i.attemptAutoclose(
130105
130119
  O.RemoveFromParent,
@@ -130141,7 +130155,7 @@ ${SA}`
130141
130155
  )) {
130142
130156
  var v;
130143
130157
  if (!this.checkCanDelete(this))
130144
- return z.warn(
130158
+ return J.warn(
130145
130159
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
130146
130160
  ), a == null || a.event({
130147
130161
  id: `${O.RemoveEntity}-${this.id}`,
@@ -130222,7 +130236,7 @@ ${SA}`
130222
130236
  )
130223
130237
  )) {
130224
130238
  if (!this.checkCanEdit(this))
130225
- return z.warn(
130239
+ return J.warn(
130226
130240
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
130227
130241
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
130228
130242
  const a = [], l = [], c = [], e = [];
@@ -130600,7 +130614,7 @@ ${SA}`
130600
130614
  )
130601
130615
  )) {
130602
130616
  if (!this.checkCanEdit(this))
130603
- return z.warn(
130617
+ return J.warn(
130604
130618
  `[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
130605
130619
  ), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
130606
130620
  const l = this.dataType;
@@ -130616,7 +130630,7 @@ ${SA}`
130616
130630
  O.RemoveDataType
130617
130631
  )
130618
130632
  )) {
130619
- return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (z.warn(
130633
+ return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
130620
130634
  `[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
130621
130635
  ), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
130622
130636
  }
@@ -130654,7 +130668,7 @@ ${SA}`
130654
130668
  )
130655
130669
  )) {
130656
130670
  if (!this.checkCanEdit(this))
130657
- return z.warn(
130671
+ return J.warn(
130658
130672
  `[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
130659
130673
  ), a == null || a.attemptAutoclose("set-default-value", this.id), this;
130660
130674
  const l = this.defaultValue;
@@ -130674,7 +130688,7 @@ ${SA}`
130674
130688
  )) {
130675
130689
  var v;
130676
130690
  if (!this.checkCanEdit(this))
130677
- return z.warn(
130691
+ return J.warn(
130678
130692
  `[syncWithImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
130679
130693
  ), i == null || i.attemptAutoclose("sync-with-implementation", this.id), {
130680
130694
  added: [],
@@ -131351,7 +131365,7 @@ function c2t(d, u, i = !1) {
131351
131365
  );
131352
131366
  a.push(...K.errors);
131353
131367
  }
131354
- i && z.log("self.implements.length", d.implements.length), d.implements.length && d.implements.forEach((E) => {
131368
+ i && J.log("self.implements.length", d.implements.length), d.implements.length && d.implements.forEach((E) => {
131355
131369
  if (E.type === p.BuiltInBaseEntity) {
131356
131370
  const D = l.filter(
131357
131371
  (N) => N.id !== E.id
@@ -132218,7 +132232,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
132218
132232
  )
132219
132233
  )) {
132220
132234
  if (!this.checkCanEdit(this))
132221
- return z.warn(
132235
+ return J.warn(
132222
132236
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
132223
132237
  ), a == null || a.attemptAutoclose(
132224
132238
  O.UpdateWithShallowTransfer,
@@ -132318,7 +132332,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
132318
132332
  )
132319
132333
  )) {
132320
132334
  if (!this.checkCanEdit(this))
132321
- return z.warn(
132335
+ return J.warn(
132322
132336
  `[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
132323
132337
  ), i == null || i.attemptAutoclose(
132324
132338
  O.AfterAllChildrenInitialized,
@@ -132356,9 +132370,9 @@ Alternatively you can update the parent data-type entity with 'update' action to
132356
132370
  updated: Z,
132357
132371
  added: H,
132358
132372
  removed: ae,
132359
- affected: J
132373
+ affected: z
132360
132374
  } = this.syncImplementationMethods(i);
132361
- a.push(...Z), l.push(...H), c.push(...ae), e.push(...J);
132375
+ a.push(...Z), l.push(...H), c.push(...ae), e.push(...z);
132362
132376
  const {
132363
132377
  updated: ue,
132364
132378
  added: te,
@@ -132440,7 +132454,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
132440
132454
  )
132441
132455
  )) {
132442
132456
  var l;
132443
- return this.checkCanEdit(this) ? (((l = this.extends) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.extends = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetExtension, this.id), this) : (z.warn(
132457
+ return this.checkCanEdit(this) ? (((l = this.extends) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.extends = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetExtension, this.id), this) : (J.warn(
132444
132458
  `[setExtension] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
132445
132459
  ), a == null || a.attemptAutoclose(O.SetExtension, this.id), this);
132446
132460
  }
@@ -132454,7 +132468,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
132454
132468
  O.AddImplementation
132455
132469
  )
132456
132470
  )) {
132457
- return this.checkCanEdit(this) ? (this.implements.includes(i) || (this.implements.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddImplementation, this.id), this) : (z.warn(
132471
+ return this.checkCanEdit(this) ? (this.implements.includes(i) || (this.implements.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddImplementation, this.id), this) : (J.warn(
132458
132472
  `[addImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
132459
132473
  ), a == null || a.attemptAutoclose(
132460
132474
  O.AddImplementation,
@@ -132474,7 +132488,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
132474
132488
  return this.checkCanEdit(this) ? (this.implements.includes(i) && (this.implements = this.implements.filter((l) => l.id !== i.id), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(
132475
132489
  O.RemoveImplementation,
132476
132490
  this.id
132477
- ), this) : (z.warn(
132491
+ ), this) : (J.warn(
132478
132492
  `[removeImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
132479
132493
  ), a == null || a.attemptAutoclose(
132480
132494
  O.RemoveImplementation,
@@ -132491,7 +132505,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
132491
132505
  O.RemoveProperty
132492
132506
  )
132493
132507
  )) {
132494
- return this.checkCanEdit(this) ? (this.properties.includes(i) && (this.properties = this.properties.filter((l) => l.id !== i.id), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.RemoveProperty, this.id), this) : (z.warn(
132508
+ return this.checkCanEdit(this) ? (this.properties.includes(i) && (this.properties = this.properties.filter((l) => l.id !== i.id), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.RemoveProperty, this.id), this) : (J.warn(
132495
132509
  `[removeProperty] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
132496
132510
  ), a == null || a.attemptAutoclose(O.RemoveProperty, this.id), this);
132497
132511
  }
@@ -132507,7 +132521,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
132507
132521
  )) {
132508
132522
  return this.checkCanEdit(this) ? (this.methods.includes(i) || (this.methods.push(i), this.suggestedMethods = this.suggestedMethods.filter(
132509
132523
  (l) => l.name !== i.name
132510
- ), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddMethod, this.id), this) : (z.warn(
132524
+ ), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddMethod, this.id), this) : (J.warn(
132511
132525
  `[addMethod] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
132512
132526
  ), a == null || a.attemptAutoclose(O.AddMethod, this.id), this);
132513
132527
  }
@@ -132521,7 +132535,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
132521
132535
  O.RemoveMethod
132522
132536
  )
132523
132537
  )) {
132524
- return this.checkCanEdit(this) ? (this.methods.includes(i) && (this.methods = this.methods.filter((l) => l.id !== i.id), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.RemoveMethod, this.id), this) : (z.warn(
132538
+ return this.checkCanEdit(this) ? (this.methods.includes(i) && (this.methods = this.methods.filter((l) => l.id !== i.id), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.RemoveMethod, this.id), this) : (J.warn(
132525
132539
  `[removeMethod] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
132526
132540
  ), a == null || a.attemptAutoclose(O.RemoveMethod, this.id), this);
132527
132541
  }
@@ -132537,7 +132551,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
132537
132551
  )) {
132538
132552
  return this.checkCanEdit(this) ? (this.properties.includes(i) || (this.properties.push(i), this.suggestedProperties = this.suggestedProperties.filter(
132539
132553
  (l) => l.name !== i.name
132540
- ), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddProperty, this.id), this) : (z.warn(
132554
+ ), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddProperty, this.id), this) : (J.warn(
132541
132555
  `[addProperty] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
132542
132556
  ), a == null || a.attemptAutoclose(O.AddProperty, this.id), this);
132543
132557
  }
@@ -132567,7 +132581,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
132567
132581
  O.AddAbstractMethod
132568
132582
  )
132569
132583
  )) {
132570
- return this.checkCanEdit(this) ? (this.abstractMethods.includes(i) || (this.abstractMethods.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddAbstractMethod, this.id), this) : (z.warn(
132584
+ return this.checkCanEdit(this) ? (this.abstractMethods.includes(i) || (this.abstractMethods.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddAbstractMethod, this.id), this) : (J.warn(
132571
132585
  `[addAbstractMethod] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
132572
132586
  ), a == null || a.attemptAutoclose(
132573
132587
  O.AddAbstractMethod,
@@ -132589,7 +132603,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
132589
132603
  ), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(
132590
132604
  O.RemoveAbstractMethod,
132591
132605
  this.id
132592
- ), this) : (z.warn(
132606
+ ), this) : (J.warn(
132593
132607
  `[removeAbstractMethod] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
132594
132608
  ), a == null || a.attemptAutoclose(
132595
132609
  O.RemoveAbstractMethod,
@@ -132742,7 +132756,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
132742
132756
  ))
132743
132757
  return;
132744
132758
  const N = this.methods.find((M) => {
132745
- var ae, J;
132759
+ var ae, z;
132746
132760
  if (M.name === E.name && !M.implements)
132747
132761
  return !0;
132748
132762
  const K = fr(
@@ -132751,7 +132765,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
132751
132765
  ), q = fr(
132752
132766
  this,
132753
132767
  ce.HTTP_ENDPOINT
132754
- ), Z = ((ae = M.implements) == null ? void 0 : ae.id) === pe["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.methods.handler.id, H = ((J = M.implements) == null ? void 0 : J.id) === pe["built-in-base-entity"].BUILT_IN_CRON_JOB_ENTITY.methods.handler.id;
132768
+ ), Z = ((ae = M.implements) == null ? void 0 : ae.id) === pe["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.methods.handler.id, H = ((z = M.implements) == null ? void 0 : z.id) === pe["built-in-base-entity"].BUILT_IN_CRON_JOB_ENTITY.methods.handler.id;
132755
132769
  return !!(K && !H && !q && Z || q && !Z && !K && H);
132756
132770
  });
132757
132771
  if (N && N.type === p.FunctionDeclaration) {
@@ -133013,7 +133027,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
133013
133027
  )
133014
133028
  )) {
133015
133029
  if (!this.checkCanEdit(this))
133016
- return z.warn(
133030
+ return J.warn(
133017
133031
  `[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
133018
133032
  ), i == null || i.attemptAutoclose(
133019
133033
  O.RemoveFromParent,
@@ -133061,7 +133075,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
133061
133075
  )) {
133062
133076
  var v;
133063
133077
  if (!this.checkCanDelete(this))
133064
- return z.warn(
133078
+ return J.warn(
133065
133079
  `[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
133066
133080
  ), a == null || a.event({
133067
133081
  id: `${O.RemoveEntity}-${this.id}`,
@@ -133164,7 +133178,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
133164
133178
  )
133165
133179
  )) {
133166
133180
  if (!this.checkCanEdit(this))
133167
- return z.warn(
133181
+ return J.warn(
133168
133182
  `[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
133169
133183
  ), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
133170
133184
  const a = [], l = [], c = [], e = [];
@@ -133629,7 +133643,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
133629
133643
  v.forEach((E) => {
133630
133644
  var Z, H, ae;
133631
133645
  const D = T.find(
133632
- (J) => Y(J, this.project) === Y(E, this.project)
133646
+ (z) => Y(z, this.project) === Y(E, this.project)
133633
133647
  );
133634
133648
  if (!D)
133635
133649
  return;
@@ -133661,8 +133675,8 @@ Alternatively you can update the parent data-type entity with 'update' action to
133661
133675
  )));
133662
133676
  let q = null;
133663
133677
  if (E.declaration && D.id !== ((ae = E.declaration) == null ? void 0 : ae.id) && (q = E.declaration), E.setDeclaration(D, a), a == null || a.add(E, G.Updated), q) {
133664
- const { updated: J, removed: ue } = q.remove({ ignoreUpstream: !1 }, a);
133665
- c.push(...J), e.push(...ue);
133678
+ const { updated: z, removed: ue } = q.remove({ ignoreUpstream: !1 }, a);
133679
+ c.push(...z), e.push(...ue);
133666
133680
  }
133667
133681
  });
133668
133682
  const I = [];
@@ -133681,7 +133695,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
133681
133695
  affected: [],
133682
133696
  self: this
133683
133697
  }) : (I.forEach((E) => {
133684
- var H, ae, J, ue;
133698
+ var H, ae, z, ue;
133685
133699
  const D = this.properties.find(
133686
133700
  (te) => Y(te, this.project) === Y(E, this.project)
133687
133701
  );
@@ -133734,7 +133748,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
133734
133748
  V.UUID.uuid(),
133735
133749
  !0
133736
133750
  );
133737
- return Z && ((J = L.dataType) == null || J.merge(Z, a), Z.id !== ((ue = L.dataType) == null ? void 0 : ue.id) && Z.remove({ ignoreUpstream: !1 }, a), L.dataType && (L.dataType.metaSync(
133751
+ return Z && ((z = L.dataType) == null || z.merge(Z, a), Z.id !== ((ue = L.dataType) == null ? void 0 : ue.id) && Z.remove({ ignoreUpstream: !1 }, a), L.dataType && (L.dataType.metaSync(
133738
133752
  {
133739
133753
  inferred: !0,
133740
133754
  like: !0
@@ -133786,7 +133800,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
133786
133800
  )
133787
133801
  )) {
133788
133802
  if (!this.checkCanEdit(this))
133789
- return z.warn(
133803
+ return J.warn(
133790
133804
  `[setAdditionalPropertiesDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
133791
133805
  ), a == null || a.attemptAutoclose(
133792
133806
  O.SetAdditionalPropertiesDataType,
@@ -133814,7 +133828,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
133814
133828
  ), i == null || i.add(this, G.Affected), this.additionalPropertiesDataType = null), i == null || i.attemptAutoclose(
133815
133829
  O.RemoveAllPropertiesImplement,
133816
133830
  this.id
133817
- ), this) : (z.warn(
133831
+ ), this) : (J.warn(
133818
133832
  `[removeAdditionalPropertiesDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
133819
133833
  ), i == null || i.attemptAutoclose(
133820
133834
  O.RemoveAllPropertiesImplement,
@@ -133832,7 +133846,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
133832
133846
  )
133833
133847
  )) {
133834
133848
  if (!this.checkCanEdit(this))
133835
- return z.warn(
133849
+ return J.warn(
133836
133850
  `[setAllPropertiesImplement] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
133837
133851
  ), a == null || a.attemptAutoclose(
133838
133852
  O.SetAllPropertiesImplement,
@@ -133857,7 +133871,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
133857
133871
  return this.checkCanEdit(this) ? (this.allPropertiesImplement && (this.allPropertiesImplement.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.allPropertiesImplement = null), i == null || i.attemptAutoclose(
133858
133872
  O.RemoveAllPropertiesImplement,
133859
133873
  this.id
133860
- ), this) : (z.warn(
133874
+ ), this) : (J.warn(
133861
133875
  `[removeAllPropertiesImplement] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
133862
133876
  ), i == null || i.attemptAutoclose(
133863
133877
  O.RemoveAllPropertiesImplement,
@@ -135068,7 +135082,7 @@ const mG = {
135068
135082
  return a;
135069
135083
  const l = this.history.find((y) => y.open);
135070
135084
  if (l)
135071
- throw z.warn("Previous still open: ", l), z.warn("New change set: ", i), new Error(
135085
+ throw J.warn("Previous still open: ", l), J.warn("New change set: ", i), new Error(
135072
135086
  `There is already an open change-set with id '${l.id}'.`
135073
135087
  );
135074
135088
  return this.undoableStackValueIndex = O$(
@@ -135254,7 +135268,7 @@ const mG = {
135254
135268
  O.UpdateWithShallowTransfer
135255
135269
  )
135256
135270
  )) {
135257
- return this.checkCanEdit(this) ? (this.metaSync(i, a), this.version = i.version, this.createdAt = i.createdAt, this.author = i.author, this.deleted = i.deleted, this.previousVersion = i.previousVersion, this.captureVersion(), this.subscribeToDependencies(), a == null || a.attemptAutoclose(O.UpdateWithShallowTransfer, this.id), this) : (z.warn(
135271
+ return this.checkCanEdit(this) ? (this.metaSync(i, a), this.version = i.version, this.createdAt = i.createdAt, this.author = i.author, this.deleted = i.deleted, this.previousVersion = i.previousVersion, this.captureVersion(), this.subscribeToDependencies(), a == null || a.attemptAutoclose(O.UpdateWithShallowTransfer, this.id), this) : (J.warn(
135258
135272
  `[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
135259
135273
  ), a == null || a.attemptAutoclose(O.UpdateWithShallowTransfer, this.id), this);
135260
135274
  }
@@ -136539,9 +136553,9 @@ const mG = {
136539
136553
  So in the temporary change-set, those entities will be present under 'removed' and 'added' will be empty
136540
136554
  */
136541
136555
  undo() {
136542
- z.log("Undoing, from: ", this.undoableStackValueIndex), this.undoableStackValueIndex = this.undoableStackValueIndex - 1, z.log("To: ", this.undoableStackValueIndex);
136556
+ J.log("Undoing, from: ", this.undoableStackValueIndex), this.undoableStackValueIndex = this.undoableStackValueIndex - 1, J.log("To: ", this.undoableStackValueIndex);
136543
136557
  const i = this.history[this.undoableStackValueIndex + 1], a = this.history[this.undoableStackValueIndex];
136544
- return z.log("Current change set: ", i == null ? void 0 : i.toJSON()), z.log("Change set to restore: ", a == null ? void 0 : a.toJSON()), g$(
136558
+ return J.log("Current change set: ", i == null ? void 0 : i.toJSON()), J.log("Change set to restore: ", a == null ? void 0 : a.toJSON()), g$(
136545
136559
  i || "initial",
136546
136560
  a || "initial",
136547
136561
  this
@@ -136549,9 +136563,9 @@ const mG = {
136549
136563
  }
136550
136564
  // The currently active change-set is the one with one index lower than the given 'newActiveIndex'
136551
136565
  redo() {
136552
- z.log("Undoing, from: ", this.undoableStackValueIndex), this.undoableStackValueIndex = this.undoableStackValueIndex + 1, z.log("To: ", this.undoableStackValueIndex);
136566
+ J.log("Undoing, from: ", this.undoableStackValueIndex), this.undoableStackValueIndex = this.undoableStackValueIndex + 1, J.log("To: ", this.undoableStackValueIndex);
136553
136567
  const i = this.history[this.undoableStackValueIndex - 1], a = this.history[this.undoableStackValueIndex];
136554
- return z.log("Current change set: ", i == null ? void 0 : i.toJSON()), z.log("Change set to restore: ", a.toJSON()), g$(
136568
+ return J.log("Current change set: ", i == null ? void 0 : i.toJSON()), J.log("Change set to restore: ", a.toJSON()), g$(
136555
136569
  i || "initial",
136556
136570
  a || "initial",
136557
136571
  this
@@ -136583,23 +136597,23 @@ const mG = {
136583
136597
  y.forEach((T) => {
136584
136598
  var I;
136585
136599
  if (!e[T]) {
136586
- z.warn(
136600
+ J.warn(
136587
136601
  `Entity '${T}' not found in change set transfer. Cannot apply changes.`
136588
136602
  );
136589
136603
  const E = (I = this.get(T)) == null ? void 0 : I.toShallowJSON();
136590
- throw E ? z.warn("Entity in project: ", E) : z.warn("Entity not in project"), new Error(
136604
+ throw E ? J.warn("Entity in project: ", E) : J.warn("Entity not in project"), new Error(
136591
136605
  `Entity '${T}' not found in change set transfer. Cannot apply changes.`
136592
136606
  );
136593
136607
  }
136594
136608
  });
136595
136609
  const v = new Xa(c);
136596
- return v.flatRecord = e, v.order = y, v.orderEntities(), z.log(
136610
+ return v.flatRecord = e, v.order = y, v.orderEntities(), J.log(
136597
136611
  "All entities: ",
136598
136612
  v.order.map((T, I) => `${I + 1}: ${e[T].type} - ${T}`).join(`,
136599
136613
  `)
136600
- ), z.log("Persisting new additions"), v.visit(async (T, I) => {
136614
+ ), J.log("Persisting new additions"), v.visit(async (T, I) => {
136601
136615
  if (a.added[T.id]) {
136602
- z.log("Adding: ", T.id);
136616
+ J.log("Adding: ", T.id);
136603
136617
  try {
136604
136618
  const E = se(
136605
136619
  T,
@@ -136608,12 +136622,12 @@ const mG = {
136608
136622
  if (E.hydrateAncestors(), E.addSelfToProject(l), l.add(E, G.Added), !this.get(T.id))
136609
136623
  throw new Error(`Entity ${T.id} was not added to the project`);
136610
136624
  } catch (E) {
136611
- z.error("Error: ", E), z.error("Errored entity: ", T);
136625
+ J.error("Error: ", E), J.error("Errored entity: ", T);
136612
136626
  }
136613
136627
  }
136614
- }), z.log("Persisting updates"), v.visit(async (T, I) => {
136628
+ }), J.log("Persisting updates"), v.visit(async (T, I) => {
136615
136629
  if (a.updated[T.id]) {
136616
- z.log("Updating: ", T.id);
136630
+ J.log("Updating: ", T.id);
136617
136631
  try {
136618
136632
  const E = this.get(
136619
136633
  T.id
@@ -136624,21 +136638,21 @@ const mG = {
136624
136638
  ), l.add(
136625
136639
  E,
136626
136640
  G.Updated
136627
- )) : z.warn(
136641
+ )) : J.warn(
136628
136642
  `Active version of ${T.id} not found when applying external changes`
136629
136643
  );
136630
136644
  } catch (E) {
136631
- z.error("Error: ", E), z.error("Errored entity: ", T);
136645
+ J.error("Error: ", E), J.error("Errored entity: ", T);
136632
136646
  }
136633
136647
  }
136634
- }), z.log("Persisting removals"), v.visit(async (T, I) => {
136648
+ }), J.log("Persisting removals"), v.visit(async (T, I) => {
136635
136649
  if (a.removed[T.id]) {
136636
- z.log("Removing: ", T.id);
136650
+ J.log("Removing: ", T.id);
136637
136651
  try {
136638
136652
  const E = this.get(T.id);
136639
136653
  E && E.remove({ ignoreUpstream: !1 }, l);
136640
136654
  } catch (E) {
136641
- z.error("Error: ", E), z.error("Errored entity: ", T);
136655
+ J.error("Error: ", E), J.error("Errored entity: ", T);
136642
136656
  }
136643
136657
  }
136644
136658
  }), l;
@@ -136983,7 +136997,7 @@ class D2t extends Mt {
136983
136997
  "sync-entity-to-match-input-map-data-type"
136984
136998
  )
136985
136999
  )) {
136986
- var I, E, D, N, L, M, K, q, Z, H, ae, J, ue, te, le, he, X;
137000
+ var I, E, D, N, L, M, K, q, Z, H, ae, z, ue, te, le, he, X;
136987
137001
  const l = [], c = [], e = [], y = [];
136988
137002
  if (((I = i.declaration) == null ? void 0 : I.id) !== pe.operation[Ar.Validate].inputs.entityToMatch.id)
136989
137003
  return a == null || a.attemptAutoclose(
@@ -137036,7 +137050,7 @@ class D2t extends Mt {
137036
137050
  asType: !0,
137037
137051
  options: ((H = i.declaration.dataType) == null ? void 0 : H.options) || null,
137038
137052
  implementationChooseOne: ((ae = i.declaration.dataType) == null ? void 0 : ae.implementationChooseOne) || !1,
137039
- staticEntities: ((J = i.declaration.dataType) == null ? void 0 : J.staticEntities) ?? null,
137053
+ staticEntities: ((z = i.declaration.dataType) == null ? void 0 : z.staticEntities) ?? null,
137040
137054
  interactiveEntities: ((ue = i.declaration.dataType) == null ? void 0 : ue.interactiveEntities) ?? null,
137041
137055
  actionEntities: ((te = i.declaration.dataType) == null ? void 0 : te.actionEntities) ?? null,
137042
137056
  isList: ((le = i.declaration.dataType) == null ? void 0 : le.isList) || !1
@@ -137877,7 +137891,7 @@ function H2t(d, u = {
137877
137891
  });
137878
137892
  } catch (M) {
137879
137893
  if (c)
137880
- z.error("Error hydrating ancestors: ", M);
137894
+ J.error("Error hydrating ancestors: ", M);
137881
137895
  else
137882
137896
  throw M;
137883
137897
  }
@@ -137946,7 +137960,7 @@ async function J2t(d, u = Qm) {
137946
137960
  }
137947
137961
  };
137948
137962
  }
137949
- return z.log("Fetching project from external API"), new Promise(
137963
+ return J.log("Fetching project from external API"), new Promise(
137950
137964
  async (l) => {
137951
137965
  try {
137952
137966
  if (i.onFetch) {
@@ -137958,7 +137972,7 @@ async function J2t(d, u = Qm) {
137958
137972
  } else
137959
137973
  l({ data: null });
137960
137974
  } catch (c) {
137961
- z.error("Error fetching project: ", c), l({ data: null });
137975
+ J.error("Error fetching project: ", c), l({ data: null });
137962
137976
  }
137963
137977
  }
137964
137978
  );
@@ -138322,7 +138336,7 @@ export {
138322
138336
  dt as ListOperations,
138323
138337
  zVt as LiteralValueDependencyField,
138324
138338
  Mr as LiteralValueState,
138325
- z as Logger,
138339
+ J as Logger,
138326
138340
  ugt as LoopDependencyField,
138327
138341
  Yo as LoopState,
138328
138342
  Ze as LoopTypes,