@elyx-code/project-logic-tree 0.0.6254 → 0.0.6256

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
@@ -1,7 +1,7 @@
1
1
  var Gv = Object.defineProperty;
2
2
  var Fv = (r, a, e) => a in r ? Gv(r, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[a] = e;
3
3
  var f = (r, a, e) => (Fv(r, typeof a != "symbol" ? a + "" : a, e), e);
4
- var n = /* @__PURE__ */ ((r) => (r.DefinitionEntity = "definition-entity", r.BuiltInBaseEntity = "built-in-base-entity", r.Project = "project", r.InstalledProject = "installed-project", r.GlobalEvent = "global-event", r.DataType = "data-type", r.FunctionCall = "function-call", r.FunctionDeclaration = "function-declaration", r.ActionDescriptor = "action-descriptor", r.ValueDescriptor = "value-descriptor", r.ArgumentDeclaration = "argument-declaration", r.InputMap = "input-map", r.ReturnStatement = "return-statement", r.BreakStatement = "break-statement", r.ContinueStatement = "continue-statement", r.ReturnDeclaration = "return-declaration", r.OutputMap = "output-map", r.PrimitiveEntity = "primitive-entity", r.LiteralValue = "literal-value", r.Property = "property", r.Operation = "operation", r.Condition = "condition", r.VariableDeclaration = "variable-declaration", r.VariableInstance = "variable-instance", r.Search = "search", r.Loop = "loop", r.InternalCall = "internal-call", r.GenericReference = "generic-reference", r))(n || {}), Y = /* @__PURE__ */ ((r) => (r.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", r.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", r.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", r.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", r.EXECUTION = "BUILT_IN_EXECUTION_ENTITY", r.KEY_VALUE_PARAM = "BUILT_IN_KEY_VALUE_PARAM_ENTITY", r))(Y || {}), Tt = /* @__PURE__ */ ((r) => (r.CurrentDateAndTime = "current-date-and-time", r.Unique = "unique", r.Random = "random", r))(Tt || {}), B = /* @__PURE__ */ ((r) => (r.EntityTemplate = "entity-template", r.ActionDescriptor = "action-descriptor", r.String = "string", r.Number = "number", r.Boolean = "boolean", r.Null = "null", r.Enum = "enum", r.KeyValue = "key-value", r.Date = "date", r.UUID = "uuid", r.File = "file", r.Untyped = "untyped", r))(B || {}), it = /* @__PURE__ */ ((r) => (r.Addition = "addition", r.Subtraction = "subtraction", r.Multiplication = "multiplication", r.Division = "division", r.Remainder = "remainder", r.Exponentiation = "exponentiation", r))(it || {}), ke = /* @__PURE__ */ ((r) => (r.Join = "string-join", r.Split = "string-split", r.DeleteLast = "string-delete-last", r.DeleteFirst = "string-delete-first", r.DeleteIndex = "string-delete-index", r.AddIndex = "string-add-index", r.ReplaceFirst = "string-replace-first", r.ReplaceLast = "string-replace-last", r.ReplaceIndex = "string-replace-index", r.ReplaceSingleMatch = "string-replace-single-match", r.ReplaceAllMatches = "string-replace-all-matches", r.GetIndex = "string-get-index", r.GetFirst = "string-get-first", r.GetLast = "string-get-last", r.Append = "string-append", r.Prepend = "string-prepend", r))(ke || {}), he = /* @__PURE__ */ ((r) => (r.Join = "list-join", r.Split = "list-split", r.DeleteLast = "list-delete-last", r.DeleteFirst = "list-delete-first", r.DeleteIndex = "list-delete-index", r.AddIndex = "list-add-index", r.ReplaceFirst = "list-replace-first", r.ReplaceLast = "list-replace-last", r.ReplaceIndex = "list-replace-index", r.ReplaceSingleMatch = "list-replace-single-match", r.ReplaceAllMatches = "list-replace-all-matches", r.GetIndex = "list-get-index", r.GetFirst = "list-get-first", r.GetLast = "list-get-last", r.Append = "list-append", r.Prepend = "list-prepend", r))(he || {}), Qe = /* @__PURE__ */ ((r) => (r.Parallel = "parallel", r.Sequential = "sequential", r.Wait = "wait", r))(Qe || {}), et = /* @__PURE__ */ ((r) => (r.CreateNewInstance = "create-new-instance", r.Validate = "validate", r))(et || {}), gt = /* @__PURE__ */ ((r) => (r.HttpRequest = "base-http-request", r))(gt || {}), ft = /* @__PURE__ */ ((r) => (r.Equal = "equal", r.NotEqual = "not-equal", r.And = "and", r.Or = "or", r.LessThan = "less-than", r.MoreThan = "more-than", r.LessThanOrEqual = "less-than-or-equal", r.MoreThanOrEqual = "more-than-or-equal", r))(ft || {}), _i = /* @__PURE__ */ ((r) => (r.Empty = "empty", r.NotEmpty = "not-empty", r))(_i || {}), ee = /* @__PURE__ */ ((r) => (r.ManualFlow = "manual-flow-loop", r.Counted = "counted-loop", r.List = "list-loop", r.ObjectKeys = "object-keys-loop", r.ObjectValues = "object-values-loop", r.String = "string-loop", r))(ee || {}), N = /* @__PURE__ */ ((r) => (r.FixedArguments = "fixed-arguments", r.FixedReturns = "fixed-returns", r.ReturnedError = "returned-error", r.OngoingProcessExecution = "ongoing-process-execution", r.DynamicArgument = "dynamic-argument-types", r.DynamicReturn = "dynamic-return-types", r))(N || {}), wt = /* @__PURE__ */ ((r) => (r.OrDataTypeGroup = "or-data-type-group", r.AndDataTypeGroup = "and-data-type-group", r))(wt || {}), mr = /* @__PURE__ */ ((r) => (r.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", r))(mr || {}), Ii = /* @__PURE__ */ ((r) => (r.DeletePersistedEntity = "base-delete-persisted-entity", r.SoftDeletePersistedEntity = "base-soft-delete-persisted-entity", r.AbortExecution = "base-abort-execution", r))(Ii || {}), Rs = /* @__PURE__ */ ((r) => (r.Error = "error", r.Task = "task", r.Return = "return", r))(Rs || {});
4
+ var n = /* @__PURE__ */ ((r) => (r.DefinitionEntity = "definition-entity", r.BuiltInBaseEntity = "built-in-base-entity", r.Project = "project", r.InstalledProject = "installed-project", r.GlobalEvent = "global-event", r.DataType = "data-type", r.FunctionCall = "function-call", r.FunctionDeclaration = "function-declaration", r.ActionDescriptor = "action-descriptor", r.ValueDescriptor = "value-descriptor", r.ArgumentDeclaration = "argument-declaration", r.InputMap = "input-map", r.ReturnStatement = "return-statement", r.BreakStatement = "break-statement", r.ContinueStatement = "continue-statement", r.ReturnDeclaration = "return-declaration", r.OutputMap = "output-map", r.PrimitiveEntity = "primitive-entity", r.LiteralValue = "literal-value", r.Property = "property", r.Operation = "operation", r.Condition = "condition", r.VariableDeclaration = "variable-declaration", r.VariableInstance = "variable-instance", r.Search = "search", r.Loop = "loop", r.InternalCall = "internal-call", r.GenericReference = "generic-reference", r))(n || {}), Y = /* @__PURE__ */ ((r) => (r.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", r.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", r.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", r.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", r.EXECUTION = "BUILT_IN_EXECUTION_ENTITY", r.KEY_VALUE_PARAM = "BUILT_IN_KEY_VALUE_PARAM_ENTITY", r))(Y || {}), Tt = /* @__PURE__ */ ((r) => (r.CurrentDateAndTime = "current-date-and-time", r.Unique = "unique", r.Random = "random", r))(Tt || {}), B = /* @__PURE__ */ ((r) => (r.EntityTemplate = "entity-template", r.ActionDescriptor = "action-descriptor", r.String = "string", r.Number = "number", r.Boolean = "boolean", r.Null = "null", r.Enum = "enum", r.KeyValue = "key-value", r.Date = "date", r.UUID = "uuid", r.File = "file", r.Untyped = "untyped", r))(B || {}), it = /* @__PURE__ */ ((r) => (r.Addition = "addition", r.Subtraction = "subtraction", r.Multiplication = "multiplication", r.Division = "division", r.Remainder = "remainder", r.Exponentiation = "exponentiation", r))(it || {}), ke = /* @__PURE__ */ ((r) => (r.Join = "string-join", r.Split = "string-split", r.DeleteLast = "string-delete-last", r.DeleteFirst = "string-delete-first", r.DeleteIndex = "string-delete-index", r.AddIndex = "string-add-index", r.ReplaceFirst = "string-replace-first", r.ReplaceLast = "string-replace-last", r.ReplaceIndex = "string-replace-index", r.ReplaceSingleMatch = "string-replace-single-match", r.ReplaceAllMatches = "string-replace-all-matches", r.GetIndex = "string-get-index", r.GetFirst = "string-get-first", r.GetLast = "string-get-last", r.Append = "string-append", r.Prepend = "string-prepend", r))(ke || {}), he = /* @__PURE__ */ ((r) => (r.Join = "list-join", r.Split = "list-split", r.DeleteLast = "list-delete-last", r.DeleteFirst = "list-delete-first", r.DeleteIndex = "list-delete-index", r.AddIndex = "list-add-index", r.ReplaceFirst = "list-replace-first", r.ReplaceLast = "list-replace-last", r.ReplaceIndex = "list-replace-index", r.ReplaceSingleMatch = "list-replace-single-match", r.ReplaceAllMatches = "list-replace-all-matches", r.GetIndex = "list-get-index", r.GetFirst = "list-get-first", r.GetLast = "list-get-last", r.Append = "list-append", r.Prepend = "list-prepend", r))(he || {}), Qe = /* @__PURE__ */ ((r) => (r.Parallel = "parallel", r.Sequential = "sequential", r.Wait = "wait", r))(Qe || {}), et = /* @__PURE__ */ ((r) => (r.CreateNewInstance = "create-new-instance", r.Validate = "validate", r))(et || {}), gt = /* @__PURE__ */ ((r) => (r.HttpRequest = "base-http-request", r))(gt || {}), ct = /* @__PURE__ */ ((r) => (r.Equal = "equal", r.NotEqual = "not-equal", r.And = "and", r.Or = "or", r.LessThan = "less-than", r.MoreThan = "more-than", r.LessThanOrEqual = "less-than-or-equal", r.MoreThanOrEqual = "more-than-or-equal", r))(ct || {}), _i = /* @__PURE__ */ ((r) => (r.Empty = "empty", r.NotEmpty = "not-empty", r))(_i || {}), ee = /* @__PURE__ */ ((r) => (r.ManualFlow = "manual-flow-loop", r.Counted = "counted-loop", r.List = "list-loop", r.ObjectKeys = "object-keys-loop", r.ObjectValues = "object-values-loop", r.String = "string-loop", r))(ee || {}), N = /* @__PURE__ */ ((r) => (r.FixedArguments = "fixed-arguments", r.FixedReturns = "fixed-returns", r.ReturnedError = "returned-error", r.OngoingProcessExecution = "ongoing-process-execution", r.DynamicArgument = "dynamic-argument-types", r.DynamicReturn = "dynamic-return-types", r))(N || {}), wt = /* @__PURE__ */ ((r) => (r.OrDataTypeGroup = "or-data-type-group", r.AndDataTypeGroup = "and-data-type-group", r))(wt || {}), mr = /* @__PURE__ */ ((r) => (r.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", r))(mr || {}), Ii = /* @__PURE__ */ ((r) => (r.DeletePersistedEntity = "base-delete-persisted-entity", r.SoftDeletePersistedEntity = "base-soft-delete-persisted-entity", r.AbortExecution = "base-abort-execution", r))(Ii || {}), Rs = /* @__PURE__ */ ((r) => (r.Error = "error", r.Task = "task", r.Return = "return", r))(Rs || {});
5
5
  const $r = [
6
6
  n.VariableDeclaration,
7
7
  n.VariableInstance,
@@ -78,7 +78,7 @@ const $r = [
78
78
  ], dt = [
79
79
  ...gl,
80
80
  n.InternalCall
81
- ], lt = [
81
+ ], nt = [
82
82
  n.FunctionDeclaration,
83
83
  ...Js
84
84
  ], ar = [
@@ -93,17 +93,17 @@ const $r = [
93
93
  n.ContinueStatement
94
94
  ], Qi = [
95
95
  ...dt,
96
- ...lt
96
+ ...nt
97
97
  ], Jv = [
98
98
  ...gl,
99
- ...lt
100
- ], $q = [...ar, ...lt], Gq = [
99
+ ...nt
100
+ ], $q = [...ar, ...nt], Gq = [
101
101
  ...Kp,
102
- ...lt
103
- ], ut = [
104
- ...lt,
102
+ ...nt
103
+ ], ft = [
104
+ ...nt,
105
105
  n.Loop
106
- ], ot = [
106
+ ], lt = [
107
107
  n.ReturnStatement,
108
108
  n.BreakStatement,
109
109
  n.ContinueStatement
@@ -644,8 +644,8 @@ const g = {
644
644
  }
645
645
  },
646
646
  [n.Condition]: {
647
- [ft.MoreThanOrEqual]: {
648
- id: ft.MoreThanOrEqual,
647
+ [ct.MoreThanOrEqual]: {
648
+ id: ct.MoreThanOrEqual,
649
649
  inputs: {
650
650
  leftHand: {
651
651
  id: "condition-more-than-or-equal-left-hand-input-id",
@@ -7145,7 +7145,7 @@ const nA = {
7145
7145
  id: "more-than-or-equal-condition-left-hand-argument-parent-ref",
7146
7146
  version: "1",
7147
7147
  entityType: n.ActionDescriptor,
7148
- entityId: ft.MoreThanOrEqual
7148
+ entityId: ct.MoreThanOrEqual
7149
7149
  }, _1 = {
7150
7150
  id: Sn.inputs.leftHand.id,
7151
7151
  type: n.ValueDescriptor,
@@ -7195,7 +7195,7 @@ const nA = {
7195
7195
  id: "more-than-or-equal-condition-right-hand-argument-parent-ref",
7196
7196
  version: "1",
7197
7197
  entityType: n.ActionDescriptor,
7198
- entityId: ft.MoreThanOrEqual
7198
+ entityId: ct.MoreThanOrEqual
7199
7199
  }, U1 = {
7200
7200
  id: Sn.inputs.rightHand.id,
7201
7201
  type: n.ValueDescriptor,
@@ -7214,13 +7214,13 @@ const nA = {
7214
7214
  parent: N1
7215
7215
  }, ea = {
7216
7216
  type: n.ActionDescriptor,
7217
- id: ft.MoreThanOrEqual,
7217
+ id: ct.MoreThanOrEqual,
7218
7218
  version: "1",
7219
7219
  createdAt: "2024-01-01T00:00:00.000Z",
7220
7220
  author: "1",
7221
7221
  previousVersion: null,
7222
7222
  deleted: !1,
7223
- name: ft.MoreThanOrEqual,
7223
+ name: ct.MoreThanOrEqual,
7224
7224
  description: "Checks if the value is not empty",
7225
7225
  parent: null,
7226
7226
  inputs: [
@@ -7230,7 +7230,7 @@ const nA = {
7230
7230
  outputs: [],
7231
7231
  error: null
7232
7232
  }, j1 = {
7233
- [ft.MoreThanOrEqual]: ea
7233
+ [ct.MoreThanOrEqual]: ea
7234
7234
  }, L1 = {
7235
7235
  ...w1,
7236
7236
  ...j1
@@ -24969,8 +24969,8 @@ var Tm = { exports: {} };
24969
24969
  if (!Q && Ie.length > 1)
24970
24970
  return ye(Ie[0]);
24971
24971
  } else {
24972
- var at = te.name;
24973
- q[at] = te, Q = at;
24972
+ var ot = te.name;
24973
+ q[ot] = te, Q = ot;
24974
24974
  }
24975
24975
  return !le && Q && (Z = Q), Q || !le && Z;
24976
24976
  }, X = function(ye, te) {
@@ -24999,8 +24999,8 @@ var Tm = { exports: {} };
24999
24999
  if (typeof Q == "string" && !/Z$/i.test(Q)) {
25000
25000
  var Ie = Q.match(V);
25001
25001
  if (Ie) {
25002
- var at = Ie[2] - 1 || 0, At = (Ie[7] || "0").substring(0, 3);
25003
- return Ee ? new Date(Date.UTC(Ie[1], at, Ie[3] || 1, Ie[4] || 0, Ie[5] || 0, Ie[6] || 0, At)) : new Date(Ie[1], at, Ie[3] || 1, Ie[4] || 0, Ie[5] || 0, Ie[6] || 0, At);
25002
+ var ot = Ie[2] - 1 || 0, At = (Ie[7] || "0").substring(0, 3);
25003
+ return Ee ? new Date(Date.UTC(Ie[1], ot, Ie[3] || 1, Ie[4] || 0, Ie[5] || 0, Ie[6] || 0, At)) : new Date(Ie[1], ot, Ie[3] || 1, Ie[4] || 0, Ie[5] || 0, Ie[6] || 0, At);
25004
25004
  }
25005
25005
  }
25006
25006
  return new Date(Q);
@@ -25026,7 +25026,7 @@ var Tm = { exports: {} };
25026
25026
  }, te.valueOf = function() {
25027
25027
  return this.$d.getTime();
25028
25028
  }, te.startOf = function(z, le) {
25029
- var Q = this, Ee = !!ae.u(le) || le, Ie = ae.p(z), at = function(Lr, ei) {
25029
+ var Q = this, Ee = !!ae.u(le) || le, Ie = ae.p(z), ot = function(Lr, ei) {
25030
25030
  var cr = ae.w(Q.$u ? Date.UTC(Q.$y, ei, Lr) : new Date(Q.$y, ei, Lr), Q);
25031
25031
  return Ee ? cr : cr.endOf(u);
25032
25032
  }, At = function(Lr, ei) {
@@ -25034,12 +25034,12 @@ var Tm = { exports: {} };
25034
25034
  }, Ot = this.$W, Ut = this.$M, Ti = this.$D, Bn = "set" + (this.$u ? "UTC" : "");
25035
25035
  switch (Ie) {
25036
25036
  case E:
25037
- return Ee ? at(1, 0) : at(31, 11);
25037
+ return Ee ? ot(1, 0) : ot(31, 11);
25038
25038
  case c:
25039
- return Ee ? at(1, Ut) : at(0, Ut + 1);
25039
+ return Ee ? ot(1, Ut) : ot(0, Ut + 1);
25040
25040
  case h:
25041
25041
  var jr = this.$locale().weekStart || 0, Ts = (Ot < jr ? Ot + 7 : Ot) - jr;
25042
- return at(Ee ? Ti - Ts : Ti + (6 - Ts), Ut);
25042
+ return ot(Ee ? Ti - Ts : Ti + (6 - Ts), Ut);
25043
25043
  case u:
25044
25044
  case R:
25045
25045
  return At(Bn + "Hours", 0);
@@ -25055,12 +25055,12 @@ var Tm = { exports: {} };
25055
25055
  }, te.endOf = function(z) {
25056
25056
  return this.startOf(z, !1);
25057
25057
  }, te.$set = function(z, le) {
25058
- var Q, Ee = ae.p(z), Ie = "set" + (this.$u ? "UTC" : ""), at = (Q = {}, Q[u] = Ie + "Date", Q[R] = Ie + "Date", Q[c] = Ie + "Month", Q[E] = Ie + "FullYear", Q[d] = Ie + "Hours", Q[o] = Ie + "Minutes", Q[l] = Ie + "Seconds", Q[s] = Ie + "Milliseconds", Q)[Ee], At = Ee === u ? this.$D + (le - this.$W) : le;
25058
+ var Q, Ee = ae.p(z), Ie = "set" + (this.$u ? "UTC" : ""), ot = (Q = {}, Q[u] = Ie + "Date", Q[R] = Ie + "Date", Q[c] = Ie + "Month", Q[E] = Ie + "FullYear", Q[d] = Ie + "Hours", Q[o] = Ie + "Minutes", Q[l] = Ie + "Seconds", Q[s] = Ie + "Milliseconds", Q)[Ee], At = Ee === u ? this.$D + (le - this.$W) : le;
25059
25059
  if (Ee === c || Ee === E) {
25060
25060
  var Ot = this.clone().set(R, 1);
25061
- Ot.$d[at](At), Ot.init(), this.$d = Ot.set(R, Math.min(this.$D, Ot.daysInMonth())).$d;
25061
+ Ot.$d[ot](At), Ot.init(), this.$d = Ot.set(R, Math.min(this.$D, Ot.daysInMonth())).$d;
25062
25062
  } else
25063
- at && this.$d[at](At);
25063
+ ot && this.$d[ot](At);
25064
25064
  return this.init(), this;
25065
25065
  }, te.set = function(z, le) {
25066
25066
  return this.clone().$set(z, le);
@@ -25069,7 +25069,7 @@ var Tm = { exports: {} };
25069
25069
  }, te.add = function(z, le) {
25070
25070
  var Q, Ee = this;
25071
25071
  z = Number(z);
25072
- var Ie = ae.p(le), at = function(Ut) {
25072
+ var Ie = ae.p(le), ot = function(Ut) {
25073
25073
  var Ti = X(Ee);
25074
25074
  return ae.w(Ti.date(Ti.date() + Math.round(Ut * z)), Ee);
25075
25075
  };
@@ -25078,9 +25078,9 @@ var Tm = { exports: {} };
25078
25078
  if (Ie === E)
25079
25079
  return this.set(E, this.$y + z);
25080
25080
  if (Ie === u)
25081
- return at(1);
25081
+ return ot(1);
25082
25082
  if (Ie === h)
25083
- return at(7);
25083
+ return ot(7);
25084
25084
  var At = (Q = {}, Q[o] = t, Q[d] = i, Q[l] = e, Q)[Ie] || 1, Ot = this.$d.getTime() + z * At;
25085
25085
  return ae.w(Ot, this);
25086
25086
  }, te.subtract = function(z, le) {
@@ -25089,10 +25089,10 @@ var Tm = { exports: {} };
25089
25089
  var le = this, Q = this.$locale();
25090
25090
  if (!this.isValid())
25091
25091
  return Q.invalidDate || O;
25092
- var Ee = z || "YYYY-MM-DDTHH:mm:ssZ", Ie = ae.z(this), at = this.$H, At = this.$m, Ot = this.$M, Ut = Q.weekdays, Ti = Q.months, Bn = Q.meridiem, jr = function(ei, cr, Es, Da) {
25092
+ var Ee = z || "YYYY-MM-DDTHH:mm:ssZ", Ie = ae.z(this), ot = this.$H, At = this.$m, Ot = this.$M, Ut = Q.weekdays, Ti = Q.months, Bn = Q.meridiem, jr = function(ei, cr, Es, Da) {
25093
25093
  return ei && (ei[cr] || ei(le, Ee)) || Es[cr].slice(0, Da);
25094
25094
  }, Ts = function(ei) {
25095
- return ae.s(at % 12 || 12, ei, "0");
25095
+ return ae.s(ot % 12 || 12, ei, "0");
25096
25096
  }, Lr = Bn || function(ei, cr, Es) {
25097
25097
  var Da = ei < 12 ? "AM" : "PM";
25098
25098
  return Es ? Da.toLowerCase() : Da;
@@ -25125,17 +25125,17 @@ var Tm = { exports: {} };
25125
25125
  case "dddd":
25126
25126
  return Ut[le.$W];
25127
25127
  case "H":
25128
- return String(at);
25128
+ return String(ot);
25129
25129
  case "HH":
25130
- return ae.s(at, 2, "0");
25130
+ return ae.s(ot, 2, "0");
25131
25131
  case "h":
25132
25132
  return Ts(1);
25133
25133
  case "hh":
25134
25134
  return Ts(2);
25135
25135
  case "a":
25136
- return Lr(at, At, !0);
25136
+ return Lr(ot, At, !0);
25137
25137
  case "A":
25138
- return Lr(at, At, !1);
25138
+ return Lr(ot, At, !1);
25139
25139
  case "m":
25140
25140
  return String(At);
25141
25141
  case "mm":
@@ -25155,10 +25155,10 @@ var Tm = { exports: {} };
25155
25155
  }, te.utcOffset = function() {
25156
25156
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
25157
25157
  }, te.diff = function(z, le, Q) {
25158
- var Ee, Ie = this, at = ae.p(le), At = X(z), Ot = (At.utcOffset() - this.utcOffset()) * t, Ut = this - At, Ti = function() {
25158
+ var Ee, Ie = this, ot = ae.p(le), At = X(z), Ot = (At.utcOffset() - this.utcOffset()) * t, Ut = this - At, Ti = function() {
25159
25159
  return ae.m(Ie, At);
25160
25160
  };
25161
- switch (at) {
25161
+ switch (ot) {
25162
25162
  case E:
25163
25163
  Ee = Ti() / 12;
25164
25164
  break;
@@ -25746,8 +25746,8 @@ function H8() {
25746
25746
  }
25747
25747
  function K8() {
25748
25748
  return m.object({
25749
- calledBySuccess: m.array(nt()),
25750
- calledByError: m.array(nt()),
25749
+ calledBySuccess: m.array(st()),
25750
+ calledByError: m.array(st()),
25751
25751
  calledByEntry: m.array(Dt()),
25752
25752
  declaration: xi(),
25753
25753
  inputs: m.array(Bi()),
@@ -25819,8 +25819,8 @@ function Q8() {
25819
25819
  }
25820
25820
  function e6() {
25821
25821
  return m.object({
25822
- calledBySuccess: m.array(nt()),
25823
- calledByError: m.array(nt()),
25822
+ calledBySuccess: m.array(st()),
25823
+ calledByError: m.array(st()),
25824
25824
  calledByEntry: m.array(Dt()),
25825
25825
  outputs: m.array(tr()),
25826
25826
  throws: m.optional(tr()),
@@ -25884,8 +25884,8 @@ function r6() {
25884
25884
  }
25885
25885
  function n6() {
25886
25886
  return m.object({
25887
- calledBySuccess: m.array(nt()),
25888
- calledByError: m.array(nt()),
25887
+ calledBySuccess: m.array(st()),
25888
+ calledByError: m.array(st()),
25889
25889
  calledByEntry: m.array(Dt()),
25890
25890
  outputs: m.array(tr()),
25891
25891
  throws: m.optional(tr()),
@@ -26013,8 +26013,8 @@ function p6() {
26013
26013
  }
26014
26014
  function c6() {
26015
26015
  return m.object({
26016
- calledBySuccess: m.array(nt()),
26017
- calledByError: m.array(nt()),
26016
+ calledBySuccess: m.array(st()),
26017
+ calledByError: m.array(st()),
26018
26018
  calledByEntry: m.array(Dt()),
26019
26019
  outputs: m.array(tr()),
26020
26020
  throws: m.optional(tr()),
@@ -26076,7 +26076,7 @@ function m6() {
26076
26076
  Rn()
26077
26077
  ]),
26078
26078
  parent: m.union([
26079
- nt(),
26079
+ st(),
26080
26080
  Yi(),
26081
26081
  pr()
26082
26082
  ])
@@ -26141,8 +26141,8 @@ function I6() {
26141
26141
  return m.object({
26142
26142
  successCalls: m.array(Ct()),
26143
26143
  errorCalls: m.array(Ct()),
26144
- calledBySuccess: m.array(nt()),
26145
- calledByError: m.array(nt()),
26144
+ calledBySuccess: m.array(st()),
26145
+ calledByError: m.array(st()),
26146
26146
  calledByEntry: m.array(Dt()),
26147
26147
  writesValues: m.array(_r()),
26148
26148
  declaration: mi(),
@@ -26160,14 +26160,14 @@ function A6() {
26160
26160
  }
26161
26161
  function b6() {
26162
26162
  return m.enum([
26163
- ft.Equal,
26164
- ft.NotEqual,
26165
- ft.MoreThan,
26166
- ft.MoreThanOrEqual,
26167
- ft.LessThan,
26168
- ft.LessThanOrEqual,
26169
- ft.And,
26170
- ft.Or,
26163
+ ct.Equal,
26164
+ ct.NotEqual,
26165
+ ct.MoreThan,
26166
+ ct.MoreThanOrEqual,
26167
+ ct.LessThan,
26168
+ ct.LessThanOrEqual,
26169
+ ct.And,
26170
+ ct.Or,
26171
26171
  _i.Empty,
26172
26172
  _i.NotEmpty
26173
26173
  ]);
@@ -26227,8 +26227,8 @@ function O6() {
26227
26227
  return m.object({
26228
26228
  successCalls: m.array(Ct()),
26229
26229
  errorCalls: m.array(Ct()),
26230
- calledBySuccess: m.array(nt()),
26231
- calledByError: m.array(nt()),
26230
+ calledBySuccess: m.array(st()),
26231
+ calledByError: m.array(st()),
26232
26232
  calledByEntry: m.array(Dt()),
26233
26233
  leftValue: Bi(),
26234
26234
  rightValue: Bi().nullable(),
@@ -26303,8 +26303,8 @@ function C6() {
26303
26303
  return m.object({
26304
26304
  successCalls: m.array(Ct()),
26305
26305
  errorCalls: m.array(Ct()),
26306
- calledBySuccess: m.array(nt()),
26307
- calledByError: m.array(nt()),
26306
+ calledBySuccess: m.array(st()),
26307
+ calledByError: m.array(st()),
26308
26308
  calledByEntry: m.array(Dt()),
26309
26309
  inputsDeclarations: m.array(Vn()),
26310
26310
  inputs: m.array(Bi()),
@@ -26377,8 +26377,8 @@ function N6() {
26377
26377
  return m.object({
26378
26378
  successCalls: m.array(Ct()),
26379
26379
  errorCalls: m.array(Ct()),
26380
- calledBySuccess: m.array(nt()),
26381
- calledByError: m.array(nt()),
26380
+ calledBySuccess: m.array(st()),
26381
+ calledByError: m.array(st()),
26382
26382
  calledByEntry: m.array(Dt()),
26383
26383
  writesValues: m.array(_r()),
26384
26384
  declaration: mi(),
@@ -26452,7 +26452,7 @@ function x6() {
26452
26452
  declaration: m.union([Vn(), Rn()]).nullable(),
26453
26453
  readsValue: Wo().nullable(),
26454
26454
  parent: m.union([
26455
- nt(),
26455
+ st(),
26456
26456
  go(),
26457
26457
  Yi(),
26458
26458
  pr()
@@ -26522,8 +26522,8 @@ function g6() {
26522
26522
  m.object({
26523
26523
  successCalls: m.array(Ct()),
26524
26524
  errorCalls: m.array(Ct()),
26525
- calledBySuccess: m.array(nt()),
26526
- calledByError: m.array(nt()),
26525
+ calledBySuccess: m.array(st()),
26526
+ calledByError: m.array(st()),
26527
26527
  calledByEntry: m.array(Dt()),
26528
26528
  writesValues: m.array(_r()),
26529
26529
  declaration: xi(),
@@ -26850,8 +26850,8 @@ function u3() {
26850
26850
  successCalls: m.array(Ct()),
26851
26851
  errorCalls: m.array(Ct()),
26852
26852
  internalCalls: m.array(Ta()),
26853
- calledBySuccess: m.array(nt()),
26854
- calledByError: m.array(nt()),
26853
+ calledBySuccess: m.array(st()),
26854
+ calledByError: m.array(st()),
26855
26855
  calledByEntry: m.array(Dt()),
26856
26856
  parent: m.union([
26857
26857
  Mr(),
@@ -26928,8 +26928,8 @@ function y3() {
26928
26928
  successCalls: m.array(Ct()),
26929
26929
  errorCalls: m.array(Ct()),
26930
26930
  internalCalls: m.array(Ta()),
26931
- calledBySuccess: m.array(nt()),
26932
- calledByError: m.array(nt()),
26931
+ calledBySuccess: m.array(st()),
26932
+ calledByError: m.array(st()),
26933
26933
  calledByEntry: m.array(Dt()),
26934
26934
  parent: m.union([
26935
26935
  Mr(),
@@ -27128,7 +27128,7 @@ function Gu() {
27128
27128
  as()
27129
27129
  ]);
27130
27130
  }
27131
- function nt() {
27131
+ function st() {
27132
27132
  return m.union([
27133
27133
  fs(),
27134
27134
  ha(),
@@ -27169,7 +27169,7 @@ function C3() {
27169
27169
  }
27170
27170
  function Ct() {
27171
27171
  return m.union([
27172
- nt(),
27172
+ st(),
27173
27173
  ds(),
27174
27174
  pr(),
27175
27175
  ls()
@@ -27211,7 +27211,7 @@ function Xq() {
27211
27211
  }
27212
27212
  function Qq() {
27213
27213
  return m.union([
27214
- nt(),
27214
+ st(),
27215
27215
  Dt()
27216
27216
  ]);
27217
27217
  }
@@ -27268,7 +27268,7 @@ function oW() {
27268
27268
  }
27269
27269
  function lW() {
27270
27270
  return m.union([
27271
- nt(),
27271
+ st(),
27272
27272
  Dt()
27273
27273
  ]);
27274
27274
  }
@@ -29168,7 +29168,7 @@ function j0(r, a) {
29168
29168
  const i = Ft(Je(r)).filter(
29169
29169
  (s) => s.type === n.VariableDeclaration
29170
29170
  );
29171
- e.push(...i), r.parent && (ut.includes(r.parent.type) || r.parent.type === n.Project) && e.push(
29171
+ e.push(...i), r.parent && (ft.includes(r.parent.type) || r.parent.type === n.Project) && e.push(
29172
29172
  ...j0(
29173
29173
  r.parent
29174
29174
  )
@@ -29269,21 +29269,21 @@ function AW(r) {
29269
29269
  }
29270
29270
  function fl(r) {
29271
29271
  switch (r.declaration.id) {
29272
- case ft.Equal:
29272
+ case ct.Equal:
29273
29273
  return "is equal to";
29274
- case ft.NotEqual:
29274
+ case ct.NotEqual:
29275
29275
  return "is not equal to";
29276
- case ft.MoreThan:
29276
+ case ct.MoreThan:
29277
29277
  return "is greater than";
29278
- case ft.MoreThanOrEqual:
29278
+ case ct.MoreThanOrEqual:
29279
29279
  return "is greater than or equal to";
29280
- case ft.LessThan:
29280
+ case ct.LessThan:
29281
29281
  return "is less than";
29282
- case ft.LessThanOrEqual:
29282
+ case ct.LessThanOrEqual:
29283
29283
  return "is less than or equal to";
29284
- case ft.And:
29284
+ case ct.And:
29285
29285
  return "and";
29286
- case ft.Or:
29286
+ case ct.Or:
29287
29287
  return "or";
29288
29288
  case _i.Empty:
29289
29289
  return "is empty";
@@ -30103,7 +30103,7 @@ ${ln}`, e.push(
30103
30103
  const t = bt(r, {}, a);
30104
30104
  return e.push(...t.errors), e;
30105
30105
  }
30106
- class st {
30106
+ class at {
30107
30107
  constructor(a) {
30108
30108
  f(this, "version");
30109
30109
  f(this, "previousVersion", null);
@@ -30512,7 +30512,7 @@ function OW(r) {
30512
30512
  ]);
30513
30513
  }
30514
30514
  var r7 = /* @__PURE__ */ ((r) => (r.Implements = "implements", r.DataTypeEntity = "data-type-entity", r))(r7 || {});
30515
- const Ae = class Ae extends st {
30515
+ const Ae = class Ae extends at {
30516
30516
  constructor(e, t) {
30517
30517
  super(e);
30518
30518
  f(this, "initialData");
@@ -30628,7 +30628,7 @@ const Ae = class Ae extends st {
30628
30628
  return s.push(
30629
30629
  ...l,
30630
30630
  ...o,
30631
- ...pt(i)
30631
+ ...ut(i)
30632
30632
  ), {
30633
30633
  errors: s,
30634
30634
  modifiedData: i
@@ -31012,7 +31012,7 @@ ${jl}`,
31012
31012
  "meta-sync"
31013
31013
  )
31014
31014
  )) {
31015
- const i = ct(this, e), s = this.toMeta();
31015
+ const i = pt(this, e), s = this.toMeta();
31016
31016
  return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.abstract = e.abstract !== void 0 ? e.abstract : s.abstract, this.private = e.private !== void 0 ? e.private : s.private, this.index = e.index || (e.index !== 0 ? s.index : 0), this.static = e.static !== void 0 ? e.static : s.static, this.hidden = e.hidden !== void 0 ? e.hidden : s.hidden, this.constant = e.constant !== void 0 ? e.constant : s.constant, this.required = e.required !== void 0 ? e.required : s.required, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
31017
31017
  }
31018
31018
  async APILoad(e = j, ...t) {
@@ -31518,7 +31518,7 @@ const wW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31518
31518
  validate: q0
31519
31519
  }, Symbol.toStringTag, { value: "Module" }));
31520
31520
  var n7 = /* @__PURE__ */ ((r) => (r.Implements = "implements", r.DataTypeEntity = "data-type-entity", r))(n7 || {});
31521
- const be = class be extends st {
31521
+ const be = class be extends at {
31522
31522
  constructor(e, t) {
31523
31523
  super(e);
31524
31524
  f(this, "initialData");
@@ -31689,7 +31689,7 @@ ${Jp}`,
31689
31689
  }
31690
31690
  } else if (h && h.type === n.ReturnStatement) {
31691
31691
  const c = h.parent;
31692
- if (c && lt.includes(c.type)) {
31692
+ if (c && nt.includes(c.type)) {
31693
31693
  const T = c.implements;
31694
31694
  if (T) {
31695
31695
  const E = T.outputs.find(
@@ -31743,7 +31743,7 @@ ${x}`,
31743
31743
  return s.push(
31744
31744
  ...l.errors,
31745
31745
  ...o,
31746
- ...pt(i)
31746
+ ...ut(i)
31747
31747
  ), {
31748
31748
  errors: s,
31749
31749
  modifiedData: i
@@ -32165,7 +32165,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
32165
32165
  "meta-sync"
32166
32166
  )
32167
32167
  )) {
32168
- const i = ct(this, e), s = this.toMeta();
32168
+ const i = pt(this, e), s = this.toMeta();
32169
32169
  return this.index = e.index || (e.index !== 0 ? s.index : 0), this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.required = e.required !== void 0 ? e.required : this.required, this.isError = e.isError !== void 0 ? e.isError : this.isError, this.constant = e.constant !== void 0 ? e.constant : s.constant, this.required = e.required !== void 0 ? e.required : s.required, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
32170
32170
  }
32171
32171
  async APILoad(e = j, ...t) {
@@ -32259,7 +32259,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
32259
32259
  )) {
32260
32260
  const d = this.getCounterparts();
32261
32261
  d.length && d.forEach((u) => {
32262
- if (!(t != null && t.hasRemoved(u.id))) {
32262
+ if ((!(t != null && t.hasRemoved(u.id)) || !t) && !u.deleted) {
32263
32263
  const {
32264
32264
  updated: h,
32265
32265
  removed: c,
@@ -32275,7 +32275,9 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
32275
32275
  }
32276
32276
  });
32277
32277
  }
32278
- if (!e && this.parent && (this.isError ? (this.parent.throws = null, t == null || t.add(this.parent, I.Updated)) : this.parent.removeOutputDeclaration(this, t)), this.isError && this.parent.type === n.ReturnStatement) {
32278
+ if (!e && this.parent && (this.isError ? (this.parent.throws = null, t == null || t.add(this.parent, I.Updated)) : this.parent.removeOutputDeclaration(this, t)), !e && this.parent && [n.BreakStatement, n.ContinueStatement].includes(
32279
+ this.parent.type
32280
+ ) && this.parent.parent && this.parent.parent.type === n.Loop && (t == null ? void 0 : t.self) === this && this.parent.parent.afterAllChildrenInitialized(t), this.isError && this.parent.type === n.ReturnStatement) {
32279
32281
  const {
32280
32282
  updated: d,
32281
32283
  added: u,
@@ -32757,7 +32759,7 @@ const VW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32757
32759
  validate: z0
32758
32760
  }, Symbol.toStringTag, { value: "Module" }));
32759
32761
  var Y0 = /* @__PURE__ */ ((r) => (r.Parent = "parent", r))(Y0 || {});
32760
- const xe = class xe extends st {
32762
+ const xe = class xe extends at {
32761
32763
  constructor(e, t) {
32762
32764
  super(e);
32763
32765
  f(this, "initialData");
@@ -32874,7 +32876,7 @@ const xe = class xe extends st {
32874
32876
  );
32875
32877
  return i = l.modifiedData, s.push(
32876
32878
  ...l.errors,
32877
- ...pt(i)
32879
+ ...ut(i)
32878
32880
  ), {
32879
32881
  errors: s,
32880
32882
  modifiedData: i
@@ -33317,7 +33319,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
33317
33319
  "meta-sync"
33318
33320
  )
33319
33321
  )) {
33320
- const i = ct(this, e), s = this.toMeta();
33322
+ const i = pt(this, e), s = this.toMeta();
33321
33323
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
33322
33324
  }
33323
33325
  async APILoad(e = j, ...t) {
@@ -33731,7 +33733,7 @@ f(xe, "MUTABLE_DOWNSTREAM_PROPERTIES", ["outputs", "throws"]), f(xe, "INMUTABLE_
33731
33733
  ]);
33732
33734
  let Gt = xe;
33733
33735
  var up = /* @__PURE__ */ ((r) => (r.Parent = "return-statement-parent", r))(up || {});
33734
- const Xe = class Xe extends st {
33736
+ const Xe = class Xe extends at {
33735
33737
  constructor(e, t) {
33736
33738
  super(e);
33737
33739
  f(this, "initialData");
@@ -33829,7 +33831,7 @@ const Xe = class Xe extends st {
33829
33831
  {
33830
33832
  parent: {
33831
33833
  list: !1,
33832
- types: ut
33834
+ types: ft
33833
33835
  }
33834
33836
  // calledByEntry: {
33835
33837
  // list: true,
@@ -33848,7 +33850,7 @@ const Xe = class Xe extends st {
33848
33850
  );
33849
33851
  return i = l.modifiedData, s.push(
33850
33852
  ...l.errors,
33851
- ...pt(i)
33853
+ ...ut(i)
33852
33854
  // ...callerReferencesValidation.errors
33853
33855
  ), {
33854
33856
  errors: s,
@@ -34294,7 +34296,7 @@ Specifically for return statements the parent needs to always be the 'function-d
34294
34296
  "meta-sync"
34295
34297
  )
34296
34298
  )) {
34297
- const i = ct(this, e), s = this.toMeta();
34299
+ const i = pt(this, e), s = this.toMeta();
34298
34300
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
34299
34301
  }
34300
34302
  async APILoad(e = j, ...t) {
@@ -34763,7 +34765,7 @@ f(Xe, "repository", {
34763
34765
  APILoad: async (e, ...t) => null,
34764
34766
  APILoadVersion: async (e, t, ...i) => null
34765
34767
  }), f(Xe, "type", n.ReturnStatement), f(Xe, "USER_MANAGED_PARENT_TYPES", [
34766
- ...ut
34768
+ ...ft
34767
34769
  ]), f(Xe, "PARENT_TYPES", [
34768
34770
  ...Xe.USER_MANAGED_PARENT_TYPES
34769
34771
  ]), f(Xe, "MUTABLE_BASE_PROPERTIES", []), f(Xe, "INMUTABLE_BASE_PROPERTIES", [
@@ -34848,7 +34850,7 @@ const CW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
34848
34850
  validate: H0
34849
34851
  }, Symbol.toStringTag, { value: "Module" }));
34850
34852
  var o7 = /* @__PURE__ */ ((r) => (r.Implements = "implements", r))(o7 || {});
34851
- const Re = class Re extends st {
34853
+ const Re = class Re extends at {
34852
34854
  constructor(e, t) {
34853
34855
  super(e);
34854
34856
  f(this, "initialData");
@@ -35066,7 +35068,7 @@ If you want to modify the existing implementation, you can update the existing m
35066
35068
  ), s.push(
35067
35069
  ...l.errors,
35068
35070
  ...o,
35069
- ...pt(i)
35071
+ ...ut(i)
35070
35072
  ), {
35071
35073
  errors: s,
35072
35074
  modifiedData: i
@@ -35506,7 +35508,7 @@ Please consider than any updates might affect the overlap with the signature of
35506
35508
  "meta-sync"
35507
35509
  )
35508
35510
  )) {
35509
- const i = ct(this, e), s = this.toMeta();
35511
+ const i = pt(this, e), s = this.toMeta();
35510
35512
  return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.private = e.private !== void 0 ? e.private : this.private, this.index = e.index || (e.index !== 0 ? s.index : 0), this.collapsed = e.collapsed !== void 0 ? e.collapsed : s.collapsed, this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
35511
35513
  }
35512
35514
  async APILoad(e = j, ...t) {
@@ -36181,7 +36183,7 @@ function l7(r, a) {
36181
36183
  return e;
36182
36184
  }
36183
36185
  var S0 = /* @__PURE__ */ ((r) => (r.Entity = "entity", r))(S0 || {});
36184
- const De = class De extends st {
36186
+ const De = class De extends at {
36185
36187
  constructor(e, t) {
36186
36188
  super(e);
36187
36189
  f(this, "initialData");
@@ -36289,7 +36291,7 @@ const De = class De extends st {
36289
36291
  const s = [], l = l7(i, t);
36290
36292
  if (s.push(
36291
36293
  ...l,
36292
- ...pt(i)
36294
+ ...ut(i)
36293
36295
  ), i.entity) {
36294
36296
  const h = t.get(i.entity);
36295
36297
  if (h.type === n.DefinitionEntity) {
@@ -36755,7 +36757,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
36755
36757
  "meta-sync"
36756
36758
  )
36757
36759
  )) {
36758
- const i = ct(this, e), s = this.toMeta();
36760
+ const i = pt(this, e), s = this.toMeta();
36759
36761
  return this.options = e.options || s.options, this.parentRelationType = e.parentRelationType || s.parentRelationType, this.isList = e.isList !== void 0 ? e.isList : s.isList, this.inferred = e.inferred !== void 0 ? e.inferred : s.inferred, this.like = e.like !== void 0 ? e.like : s.like, this.asType = e.asType !== void 0 ? e.asType : s.asType, this.implementationChooseOne = e.implementationChooseOne !== void 0 ? e.implementationChooseOne : s.implementationChooseOne, this.staticEntities = e.staticEntities !== void 0 ? e.staticEntities : s.staticEntities, this.interactiveEntities = e.interactiveEntities !== void 0 ? e.interactiveEntities : s.interactiveEntities, this.actionEntities = e.actionEntities !== void 0 ? e.actionEntities : s.actionEntities, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
36760
36762
  }
36761
36763
  async APILoad(e = j, ...t) {
@@ -37479,7 +37481,7 @@ const MW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
37479
37481
  validate: X0
37480
37482
  }, Symbol.toStringTag, { value: "Module" }));
37481
37483
  var u7 = /* @__PURE__ */ ((r) => (r.Parent = "parent", r))(u7 || {});
37482
- const Oe = class Oe extends st {
37484
+ const Oe = class Oe extends at {
37483
37485
  constructor(e, t) {
37484
37486
  super(e);
37485
37487
  f(this, "initialData");
@@ -37598,7 +37600,7 @@ const Oe = class Oe extends st {
37598
37600
  {
37599
37601
  parent: {
37600
37602
  list: !1,
37601
- types: [...ut, n.Project],
37603
+ types: [...ft, n.Project],
37602
37604
  optional: !0
37603
37605
  }
37604
37606
  // calledByEntry: {
@@ -37622,7 +37624,7 @@ const Oe = class Oe extends st {
37622
37624
  );
37623
37625
  i = l.modifiedData, s.push(
37624
37626
  ...l.errors,
37625
- ...pt(i)
37627
+ ...ut(i)
37626
37628
  );
37627
37629
  const o = _(
37628
37630
  i.declaration
@@ -38279,7 +38281,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
38279
38281
  "meta-sync"
38280
38282
  )
38281
38283
  )) {
38282
- const i = ct(this, e), s = this.toMeta();
38284
+ const i = pt(this, e), s = this.toMeta();
38283
38285
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
38284
38286
  }
38285
38287
  async APILoad(e = j, ...t) {
@@ -38941,7 +38943,7 @@ f(Oe, "repository", {
38941
38943
  APILoad: async (e, ...t) => null,
38942
38944
  APILoadVersion: async (e, t, ...i) => null
38943
38945
  }), f(Oe, "type", n.Operation), f(Oe, "USER_MANAGED_PARENT_TYPES", [
38944
- ...ut,
38946
+ ...ft,
38945
38947
  n.Project
38946
38948
  ]), f(Oe, "PARENT_TYPES", [
38947
38949
  ...Oe.USER_MANAGED_PARENT_TYPES
@@ -39002,7 +39004,7 @@ function Q0(r) {
39002
39004
  const BW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
39003
39005
  __proto__: null,
39004
39006
  validate: Q0
39005
- }, Symbol.toStringTag, { value: "Module" })), we = class we extends st {
39007
+ }, Symbol.toStringTag, { value: "Module" })), we = class we extends at {
39006
39008
  constructor(e, t) {
39007
39009
  super(e);
39008
39010
  f(this, "initialData");
@@ -39110,7 +39112,7 @@ const BW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
39110
39112
  );
39111
39113
  if (i = l.modifiedData, s.push(
39112
39114
  ...l.errors,
39113
- ...pt(i)
39115
+ ...ut(i)
39114
39116
  ), !e.implements)
39115
39117
  s.push(
39116
39118
  new w({
@@ -39581,7 +39583,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
39581
39583
  "meta-sync"
39582
39584
  )
39583
39585
  )) {
39584
- const i = ct(this, e), s = this.toMeta();
39586
+ const i = pt(this, e), s = this.toMeta();
39585
39587
  return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.x = e.x || s.x, this.y = e.y || s.y, this.collapsed = e.collapsed !== void 0 ? e.collapsed : s.collapsed, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
39586
39588
  }
39587
39589
  async APILoad(e = j, ...t) {
@@ -40024,7 +40026,7 @@ const NW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
40024
40026
  validate: ev
40025
40027
  }, Symbol.toStringTag, { value: "Module" }));
40026
40028
  var tv = /* @__PURE__ */ ((r) => (r.Parent = "parent", r))(tv || {});
40027
- const $e = class $e extends st {
40029
+ const $e = class $e extends at {
40028
40030
  constructor(e, t) {
40029
40031
  super(e);
40030
40032
  f(this, "initialData");
@@ -40141,7 +40143,7 @@ const $e = class $e extends st {
40141
40143
  );
40142
40144
  return i = l.modifiedData, s.push(
40143
40145
  ...l.errors,
40144
- ...pt(i)
40146
+ ...ut(i)
40145
40147
  ), {
40146
40148
  errors: s,
40147
40149
  modifiedData: i
@@ -40580,7 +40582,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
40580
40582
  "meta-sync"
40581
40583
  )
40582
40584
  )) {
40583
- const i = ct(this, e), s = this.toMeta();
40585
+ const i = pt(this, e), s = this.toMeta();
40584
40586
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
40585
40587
  }
40586
40588
  async APILoad(e = j, ...t) {
@@ -41019,7 +41021,7 @@ const jW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41019
41021
  validate: iv
41020
41022
  }, Symbol.toStringTag, { value: "Module" }));
41021
41023
  var c7 = /* @__PURE__ */ ((r) => (r.Success = "success", r.Error = "error", r.Break = "break", r.Continue = "continue", r.Return = "return", r))(c7 || {});
41022
- const Pe = class Pe extends st {
41024
+ const Pe = class Pe extends at {
41023
41025
  constructor(e, t) {
41024
41026
  super(e);
41025
41027
  f(this, "initialData");
@@ -41165,7 +41167,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
41165
41167
  }
41166
41168
  return s.push(
41167
41169
  ...l.errors,
41168
- ...pt(i)
41170
+ ...ut(i)
41169
41171
  ), {
41170
41172
  errors: s,
41171
41173
  modifiedData: i
@@ -41545,7 +41547,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
41545
41547
  "meta-sync"
41546
41548
  )
41547
41549
  )) {
41548
- const i = ct(this, e), s = this.toMeta();
41550
+ const i = pt(this, e), s = this.toMeta();
41549
41551
  return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
41550
41552
  }
41551
41553
  async APILoad(e = j, ...t) {
@@ -42489,7 +42491,7 @@ f(Pe, "MUTABLE_DOWNSTREAM_PROPERTIES", ["inputs", "outputs"]), f(Pe, "INMUTABLE_
42489
42491
  ]);
42490
42492
  let We = Pe;
42491
42493
  var f7 = /* @__PURE__ */ ((r) => (r.Parent = "parent", r))(f7 || {});
42492
- const oe = class oe extends st {
42494
+ const oe = class oe extends at {
42493
42495
  constructor(e, t) {
42494
42496
  super(e);
42495
42497
  f(this, "initialData");
@@ -42618,7 +42620,7 @@ const oe = class oe extends st {
42618
42620
  {
42619
42621
  parent: {
42620
42622
  list: !1,
42621
- types: [...ut, n.Project],
42623
+ types: [...ft, n.Project],
42622
42624
  optional: !0
42623
42625
  },
42624
42626
  // calledByEntry: {
@@ -42642,7 +42644,7 @@ const oe = class oe extends st {
42642
42644
  );
42643
42645
  return i = l.modifiedData, s.push(
42644
42646
  ...l.errors,
42645
- ...pt(i)
42647
+ ...ut(i)
42646
42648
  ), e.declaration ? t.get(
42647
42649
  e.declaration
42648
42650
  ) ? t.conditionDeclarations.find(
@@ -43336,7 +43338,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
43336
43338
  "meta-sync"
43337
43339
  )
43338
43340
  )) {
43339
- const i = ct(this, e), s = this.toMeta();
43341
+ const i = pt(this, e), s = this.toMeta();
43340
43342
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
43341
43343
  }
43342
43344
  async APILoad(e = j, ...t) {
@@ -43828,10 +43830,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
43828
43830
  }
43829
43831
  // The return statements, don't belong to the loop itself, but to the parent scope entity
43830
43832
  addReturnStatement(e) {
43831
- return lt.includes(this.parent.type) && this.parent.addReturnStatement(e), this;
43833
+ return nt.includes(this.parent.type) && this.parent.addReturnStatement(e), this;
43832
43834
  }
43833
43835
  removeReturnStatement(e) {
43834
- return lt.includes(this.parent.type) && this.parent.removeReturnStatement(e), this;
43836
+ return nt.includes(this.parent.type) && this.parent.removeReturnStatement(e), this;
43835
43837
  }
43836
43838
  addBreakStatement(e) {
43837
43839
  return this.breakStatements.includes(e) || this.breakStatements.push(e), this;
@@ -45325,7 +45327,7 @@ f(oe, "repository", {
45325
45327
  APILoad: async (e, ...t) => null,
45326
45328
  APILoadVersion: async (e, t, ...i) => null
45327
45329
  }), f(oe, "type", n.Loop), f(oe, "USER_MANAGED_PARENT_TYPES", [
45328
- ...ut,
45330
+ ...ft,
45329
45331
  n.Project
45330
45332
  ]), f(oe, "PARENT_TYPES", [
45331
45333
  ...We.USER_MANAGED_PARENT_TYPES
@@ -45387,7 +45389,7 @@ const LW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
45387
45389
  validate: rv
45388
45390
  }, Symbol.toStringTag, { value: "Module" }));
45389
45391
  var h7 = /* @__PURE__ */ ((r) => (r.Parent = "parent", r))(h7 || {});
45390
- const Ge = class Ge extends st {
45392
+ const Ge = class Ge extends at {
45391
45393
  constructor(e, t) {
45392
45394
  super(e);
45393
45395
  f(this, "initialData");
@@ -45503,7 +45505,7 @@ const Ge = class Ge extends st {
45503
45505
  {
45504
45506
  parent: {
45505
45507
  list: !1,
45506
- types: [...ut, n.Project],
45508
+ types: [...ft, n.Project],
45507
45509
  optional: !0
45508
45510
  }
45509
45511
  // calledByEntry: {
@@ -45523,7 +45525,7 @@ const Ge = class Ge extends st {
45523
45525
  );
45524
45526
  return i = l.modifiedData, s.push(
45525
45527
  ...l.errors,
45526
- ...pt(i)
45528
+ ...ut(i)
45527
45529
  ), e.declaration ? t.get(
45528
45530
  e.declaration
45529
45531
  ) ? t.conditionDeclarations.find(
@@ -46101,7 +46103,7 @@ If an entity is called by another, they must be in the same scope, which means t
46101
46103
  "meta-sync"
46102
46104
  )
46103
46105
  )) {
46104
- const i = ct(this, e), s = this.toMeta();
46106
+ const i = pt(this, e), s = this.toMeta();
46105
46107
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
46106
46108
  }
46107
46109
  async APILoad(e = j, ...t) {
@@ -46572,7 +46574,7 @@ f(Ge, "repository", {
46572
46574
  APILoad: async (e, ...t) => null,
46573
46575
  APILoadVersion: async (e, t, ...i) => null
46574
46576
  }), f(Ge, "type", n.Condition), f(Ge, "USER_MANAGED_PARENT_TYPES", [
46575
- ...ut,
46577
+ ...ft,
46576
46578
  n.Project
46577
46579
  ]), f(Ge, "PARENT_TYPES", [
46578
46580
  ...Ge.USER_MANAGED_PARENT_TYPES
@@ -46683,7 +46685,7 @@ const $W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
46683
46685
  validate: sv
46684
46686
  }, Symbol.toStringTag, { value: "Module" }));
46685
46687
  var av = /* @__PURE__ */ ((r) => (r.Parent = "parent", r.DataTypeEntity = "data-type-entity", r.VarDeclaration = "var-declaration", r))(av || {});
46686
- const Ve = class Ve extends st {
46688
+ const Ve = class Ve extends at {
46687
46689
  constructor(e, t) {
46688
46690
  super(e);
46689
46691
  f(this, "initialData");
@@ -46818,7 +46820,7 @@ const Ve = class Ve extends st {
46818
46820
  {
46819
46821
  parent: {
46820
46822
  list: !1,
46821
- types: [...ut, n.Project],
46823
+ types: [...ft, n.Project],
46822
46824
  optional: !0
46823
46825
  },
46824
46826
  // calledByEntry: {
@@ -46846,7 +46848,7 @@ const Ve = class Ve extends st {
46846
46848
  );
46847
46849
  return i = l.modifiedData, s.push(
46848
46850
  ...l.errors,
46849
- ...pt(i)
46851
+ ...ut(i)
46850
46852
  ), {
46851
46853
  errors: s,
46852
46854
  modifiedData: i
@@ -47620,7 +47622,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
47620
47622
  "meta-sync"
47621
47623
  )
47622
47624
  )) {
47623
- const i = ct(this, e), s = this.toMeta();
47625
+ const i = pt(this, e), s = this.toMeta();
47624
47626
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
47625
47627
  }
47626
47628
  async APILoad(e = j, ...t) {
@@ -48421,7 +48423,7 @@ f(Ve, "repository", {
48421
48423
  APILoad: async (e, ...t) => null,
48422
48424
  APILoadVersion: async (e, t, ...i) => null
48423
48425
  }), f(Ve, "type", n.VariableInstance), f(Ve, "USER_MANAGED_PARENT_TYPES", [
48424
- ...ut,
48426
+ ...ft,
48425
48427
  n.Project
48426
48428
  ]), f(Ve, "PARENT_TYPES", [
48427
48429
  ...Ve.USER_MANAGED_PARENT_TYPES
@@ -48473,7 +48475,7 @@ f(Ve, "MUTABLE_DOWNSTREAM_PROPERTIES", [
48473
48475
  ]);
48474
48476
  let en = Ve;
48475
48477
  var y7 = /* @__PURE__ */ ((r) => (r.Parent = "parent", r.DataTypeEntity = "data-type-entity", r))(y7 || {});
48476
- const Ce = class Ce extends st {
48478
+ const Ce = class Ce extends at {
48477
48479
  constructor(e, t) {
48478
48480
  super(e);
48479
48481
  f(this, "initialData");
@@ -48618,7 +48620,7 @@ const Ce = class Ce extends st {
48618
48620
  {
48619
48621
  parent: {
48620
48622
  list: !1,
48621
- types: [...ut, n.Project],
48623
+ types: [...ft, n.Project],
48622
48624
  optional: !0
48623
48625
  }
48624
48626
  // calledByEntry: {
@@ -48645,7 +48647,7 @@ const Ce = class Ce extends st {
48645
48647
  return s.push(
48646
48648
  ...l.errors,
48647
48649
  ...o,
48648
- ...pt(i)
48650
+ ...ut(i)
48649
48651
  ), {
48650
48652
  errors: s,
48651
48653
  modifiedData: i
@@ -49544,7 +49546,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
49544
49546
  "meta-sync"
49545
49547
  )
49546
49548
  )) {
49547
- const i = ct(this, e), s = this.toMeta();
49549
+ const i = pt(this, e), s = this.toMeta();
49548
49550
  return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.x = e.x || s.x, this.y = e.y || s.y, this.constant = e.constant !== void 0 ? e.constant : s.constant, this.required = e.required !== void 0 ? e.required : s.required, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
49549
49551
  }
49550
49552
  async APILoad(e = j, ...t) {
@@ -50425,7 +50427,7 @@ f(Ce, "repository", {
50425
50427
  APILoad: async (e, ...t) => null,
50426
50428
  APILoadVersion: async (e, t, ...i) => null
50427
50429
  }), f(Ce, "type", n.VariableDeclaration), f(Ce, "USER_MANAGED_PARENT_TYPES", [
50428
- ...ut,
50430
+ ...ft,
50429
50431
  n.Project
50430
50432
  ]), f(Ce, "PARENT_TYPES", [
50431
50433
  ...Ce.USER_MANAGED_PARENT_TYPES
@@ -50502,7 +50504,7 @@ const GW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
50502
50504
  validate: ov
50503
50505
  }, Symbol.toStringTag, { value: "Module" }));
50504
50506
  var m7 = /* @__PURE__ */ ((r) => (r.Parent = "parent", r))(m7 || {});
50505
- const qe = class qe extends st {
50507
+ const qe = class qe extends at {
50506
50508
  constructor(e, t) {
50507
50509
  super(e);
50508
50510
  f(this, "initialData");
@@ -50628,7 +50630,7 @@ const qe = class qe extends st {
50628
50630
  {
50629
50631
  parent: {
50630
50632
  list: !1,
50631
- types: [...ut, n.Project],
50633
+ types: [...ft, n.Project],
50632
50634
  optional: !0
50633
50635
  }
50634
50636
  },
@@ -50636,7 +50638,7 @@ const qe = class qe extends st {
50636
50638
  );
50637
50639
  return i = l.modifiedData, s.push(
50638
50640
  ...l.errors,
50639
- ...pt(i)
50641
+ ...ut(i)
50640
50642
  ), {
50641
50643
  errors: s,
50642
50644
  modifiedData: i
@@ -51277,7 +51279,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
51277
51279
  "meta-sync"
51278
51280
  )
51279
51281
  )) {
51280
- const i = ct(this, e), s = this.toMeta();
51282
+ const i = pt(this, e), s = this.toMeta();
51281
51283
  return this.x = e.x || s.x, this.y = e.y || s.y, this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, e.query !== void 0 && (this.query = e.query), super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
51282
51284
  }
51283
51285
  async APILoad(e = j, ...t) {
@@ -51889,7 +51891,7 @@ f(qe, "repository", {
51889
51891
  APILoad: async (e, ...t) => null,
51890
51892
  APILoadVersion: async (e, t, ...i) => null
51891
51893
  }), f(qe, "type", n.Search), f(qe, "USER_MANAGED_PARENT_TYPES", [
51892
- ...ut,
51894
+ ...ft,
51893
51895
  n.Project
51894
51896
  ]), f(qe, "PARENT_TYPES", [
51895
51897
  ...qe.USER_MANAGED_PARENT_TYPES
@@ -51947,7 +51949,7 @@ function lv(r) {
51947
51949
  const FW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
51948
51950
  __proto__: null,
51949
51951
  validate: lv
51950
- }, Symbol.toStringTag, { value: "Module" })), Fe = class Fe extends st {
51952
+ }, Symbol.toStringTag, { value: "Module" })), Fe = class Fe extends at {
51951
51953
  constructor(e, t) {
51952
51954
  super(e);
51953
51955
  f(this, "initialData");
@@ -52037,7 +52039,7 @@ const FW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
52037
52039
  JSON.stringify(e)
52038
52040
  );
52039
52041
  const s = [];
52040
- return s.push(...pt(i)), { errors: s, modifiedData: i };
52042
+ return s.push(...ut(i)), { errors: s, modifiedData: i };
52041
52043
  }
52042
52044
  validateGeneratedUpdate(e) {
52043
52045
  const t = [];
@@ -52338,7 +52340,7 @@ const FW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
52338
52340
  "meta-sync"
52339
52341
  )
52340
52342
  )) {
52341
- const i = ct(this, e), s = this.toMeta();
52343
+ const i = pt(this, e), s = this.toMeta();
52342
52344
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
52343
52345
  }
52344
52346
  async APILoad(e = j, ...t) {
@@ -52828,7 +52830,7 @@ const gW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
52828
52830
  validateParentRelation: uv
52829
52831
  }, Symbol.toStringTag, { value: "Module" }));
52830
52832
  var v7 = /* @__PURE__ */ ((r) => (r.Declaration = "declaration", r))(v7 || {});
52831
- const _e = class _e extends st {
52833
+ const _e = class _e extends at {
52832
52834
  constructor(e, t) {
52833
52835
  super(e);
52834
52836
  f(this, "initialData");
@@ -53073,7 +53075,7 @@ The you can attach the new internal-call to it.`,
53073
53075
  }
53074
53076
  return s.push(
53075
53077
  ...l.errors,
53076
- ...pt(i)
53078
+ ...ut(i)
53077
53079
  ), {
53078
53080
  errors: s,
53079
53081
  modifiedData: i
@@ -53610,7 +53612,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
53610
53612
  );
53611
53613
  this.setParent(t, null), this.parent.initChildren(e), this.parent.addInternalCall(this);
53612
53614
  const i = this.calledBy.find(
53613
- (s) => !!s.parent && ut.includes(s.parent.type)
53615
+ (s) => !!s.parent && ft.includes(s.parent.type)
53614
53616
  );
53615
53617
  if (i) {
53616
53618
  const s = P(
@@ -53702,7 +53704,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
53702
53704
  "meta-sync"
53703
53705
  )
53704
53706
  )) {
53705
- const i = ct(this, e), s = this.toMeta();
53707
+ const i = pt(this, e), s = this.toMeta();
53706
53708
  return this.index = e.index || (e.index !== 0 ? s.index : 0), super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
53707
53709
  }
53708
53710
  async APILoad(e = j, ...t) {
@@ -54438,7 +54440,7 @@ const kW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
54438
54440
  validate: pv
54439
54441
  }, Symbol.toStringTag, { value: "Module" }));
54440
54442
  var T7 = /* @__PURE__ */ ((r) => (r.Declaration = "declaration", r.DataTypeEntity = "data-type-entity", r))(T7 || {});
54441
- const Me = class Me extends st {
54443
+ const Me = class Me extends at {
54442
54444
  constructor(e, t) {
54443
54445
  super(e);
54444
54446
  f(this, "initialData");
@@ -54697,7 +54699,7 @@ ${R}`,
54697
54699
  }
54698
54700
  return s.push(
54699
54701
  ...l.errors,
54700
- ...pt(i)
54702
+ ...ut(i)
54701
54703
  ), {
54702
54704
  errors: s,
54703
54705
  modifiedData: i
@@ -55109,7 +55111,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
55109
55111
  "meta-sync"
55110
55112
  )
55111
55113
  )) {
55112
- const i = ct(this, e), s = this.toMeta();
55114
+ const i = pt(this, e), s = this.toMeta();
55113
55115
  return this.index = e.index || (e.index !== 0 ? s.index : 0), this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
55114
55116
  }
55115
55117
  async APILoad(e = j, ...t) {
@@ -55596,7 +55598,7 @@ const qW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
55596
55598
  validate: cv
55597
55599
  }, Symbol.toStringTag, { value: "Module" }));
55598
55600
  var E7 = /* @__PURE__ */ ((r) => (r.Declaration = "declaration", r.DataTypeEntity = "data-type-entity", r))(E7 || {});
55599
- const Be = class Be extends st {
55601
+ const Be = class Be extends at {
55600
55602
  constructor(e, t) {
55601
55603
  super(e);
55602
55604
  f(this, "initialData");
@@ -55788,7 +55790,7 @@ You can't edit output-map entities as they need to match their return declaratio
55788
55790
  }
55789
55791
  return s.push(
55790
55792
  ...l.errors,
55791
- ...pt(i)
55793
+ ...ut(i)
55792
55794
  ), {
55793
55795
  errors: s,
55794
55796
  modifiedData: i
@@ -56191,7 +56193,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
56191
56193
  "meta-sync"
56192
56194
  )
56193
56195
  )) {
56194
- const i = ct(this, e), s = this.toMeta();
56196
+ const i = pt(this, e), s = this.toMeta();
56195
56197
  return this.index = e.index || (e.index !== 0 ? s.index : 0), this.parentRelationType = e.parentRelationType !== void 0 ? e.parentRelationType : this.parentRelationType, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
56196
56198
  }
56197
56199
  async APILoad(e = j, ...t) {
@@ -56676,7 +56678,7 @@ const YW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
56676
56678
  validate: fv
56677
56679
  }, Symbol.toStringTag, { value: "Module" }));
56678
56680
  var I7 = /* @__PURE__ */ ((r) => (r.DataTypeEntity = "data-type-entity", r.Implements = "implements", r))(I7 || {});
56679
- const Ne = class Ne extends st {
56681
+ const Ne = class Ne extends at {
56680
56682
  constructor(e, t) {
56681
56683
  super(e);
56682
56684
  f(this, "initialData");
@@ -56787,7 +56789,7 @@ const Ne = class Ne extends st {
56787
56789
  const d = t.get(
56788
56790
  _(i.parent)
56789
56791
  );
56790
- if (d && lt.includes(d.type)) {
56792
+ if (d && nt.includes(d.type)) {
56791
56793
  const u = d.implements;
56792
56794
  if (u) {
56793
56795
  const h = u.inputs.find(
@@ -56852,7 +56854,7 @@ ${O}`,
56852
56854
  return s.push(
56853
56855
  ...l.errors,
56854
56856
  ...o,
56855
- ...pt(i)
56857
+ ...ut(i)
56856
56858
  ), { errors: s, modifiedData: i };
56857
56859
  }
56858
56860
  get codeNativeValueValidation() {
@@ -57238,7 +57240,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
57238
57240
  "meta-sync"
57239
57241
  )
57240
57242
  )) {
57241
- const i = ct(this, e), s = this.toMeta();
57243
+ const i = pt(this, e), s = this.toMeta();
57242
57244
  return this.index = e.index || (e.index !== 0 ? s.index : 0), this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.required = e.required !== void 0 ? e.required : this.required, this.constant = !0, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
57243
57245
  }
57244
57246
  async APILoad(e = j, ...t) {
@@ -57655,7 +57657,7 @@ f(Ne, "repository", {
57655
57657
  },
57656
57658
  APILoad: async (e, ...t) => null,
57657
57659
  APILoadVersion: async (e, t, ...i) => null
57658
- }), f(Ne, "type", n.ArgumentDeclaration), f(Ne, "USER_MANAGED_PARENT_TYPES", [...lt]), f(Ne, "PARENT_TYPES", [
57660
+ }), f(Ne, "type", n.ArgumentDeclaration), f(Ne, "USER_MANAGED_PARENT_TYPES", [...nt]), f(Ne, "PARENT_TYPES", [
57659
57661
  ...Ne.USER_MANAGED_PARENT_TYPES
57660
57662
  ]), f(Ne, "MUTABLE_BASE_PROPERTIES", [
57661
57663
  "name",
@@ -57835,7 +57837,7 @@ Or 'delete' and then 'post' actions to replace it.`,
57835
57837
  return e;
57836
57838
  }
57837
57839
  var b7 = /* @__PURE__ */ ((r) => (r.ValueAsTypeSingle = "value-as-type-single", r.ValueAsTypeList = "value-as-type-list", r))(b7 || {});
57838
- const Ue = class Ue extends st {
57840
+ const Ue = class Ue extends at {
57839
57841
  constructor(e, t) {
57840
57842
  super(e);
57841
57843
  f(this, "initialData");
@@ -57925,7 +57927,7 @@ const Ue = class Ue extends st {
57925
57927
  const s = [], l = A7(i, t);
57926
57928
  return s.push(
57927
57929
  ...l,
57928
- ...pt(i)
57930
+ ...ut(i)
57929
57931
  ), {
57930
57932
  errors: s,
57931
57933
  modifiedData: i
@@ -58417,7 +58419,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
58417
58419
  "meta-sync"
58418
58420
  )
58419
58421
  )) {
58420
- const i = ct(this, e), s = this.toMeta();
58422
+ const i = pt(this, e), s = this.toMeta();
58421
58423
  return this.name = e.name !== void 0 ? e.name : s.name, this.autogeneration = e.autogeneration !== void 0 ? e.autogeneration : s.autogeneration, this.value = e.value !== void 0 ? e.value : s.value, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
58422
58424
  }
58423
58425
  async APILoad(e = j, ...t) {
@@ -58809,7 +58811,7 @@ const KW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
58809
58811
  validate: yv
58810
58812
  }, Symbol.toStringTag, { value: "Module" }));
58811
58813
  var R7 = /* @__PURE__ */ ((r) => (r.DataTypeEntity = "data-type-entity", r))(R7 || {});
58812
- const je = class je extends st {
58814
+ const je = class je extends at {
58813
58815
  constructor(e, t) {
58814
58816
  super(e);
58815
58817
  f(this, "initialData");
@@ -58905,7 +58907,7 @@ const je = class je extends st {
58905
58907
  );
58906
58908
  i = l.modifiedData, s.push(
58907
58909
  ...l.errors,
58908
- ...pt(i)
58910
+ ...ut(i)
58909
58911
  );
58910
58912
  const o = i.parent && t.get(i.parent), d = o && pn(o);
58911
58913
  return d && d.type === n.ActionDescriptor && s.push(
@@ -59245,7 +59247,7 @@ ${Si(
59245
59247
  "meta-sync"
59246
59248
  )
59247
59249
  )) {
59248
- const i = ct(this, e), s = this.toMeta();
59250
+ const i = pt(this, e), s = this.toMeta();
59249
59251
  return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.index = e.index || (e.index !== 0 ? s.index : 0), this.required = e.required !== void 0 ? e.required : this.required, this.parentRelationType = e.parentRelationType !== void 0 ? e.parentRelationType : this.parentRelationType, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
59250
59252
  }
59251
59253
  async APILoad(e = j, ...t) {
@@ -60059,7 +60061,7 @@ function XW(r, a) {
60059
60061
  modifiedData: null,
60060
60062
  messageAddition: ""
60061
60063
  };
60062
- if (lt.includes(a.type) ? r.calls && e.push(
60064
+ if (nt.includes(a.type) ? r.calls && e.push(
60063
60065
  new w({
60064
60066
  id: `${a.id}--${b.InvalidInmutablePropertyOverride}`,
60065
60067
  message: `Entity of type "${a.type}" with id "${a.id}" cannot have the property "calls" updated.
@@ -60391,7 +60393,7 @@ function mv(r, a) {
60391
60393
  })
60392
60394
  );
60393
60395
  }
60394
- function pt(r, a) {
60396
+ function ut(r, a) {
60395
60397
  const e = [], t = O7(r);
60396
60398
  if (t) {
60397
60399
  const s = t.safeParse(r);
@@ -60610,7 +60612,7 @@ All pass-through callable entities are: ${ne(
60610
60612
  ", ",
60611
60613
  " and "
60612
60614
  )}.`, Ho = `Entry point entities are the entities which start the execution of a logic chain. They are ${ne(
60613
- lt,
60615
+ nt,
60614
60616
  ", ",
60615
60617
  " and "
60616
60618
  )}. They aren't explicitly called by any entities. Rather, they can be called implicitly by the system, or as a function-call somewhere else in the case of a function-declaration. `, w7 = `Caller entities are entities that can call other entities. Regarless of whether they are entry-point entities or pass-through callable entities. All caller entity types are: ${ne(
@@ -60703,7 +60705,7 @@ function V7(r, a) {
60703
60705
  const e = JSON.parse(
60704
60706
  JSON.stringify(r)
60705
60707
  ), t = [];
60706
- if (lt.includes(a.type))
60708
+ if (nt.includes(a.type))
60707
60709
  t.push(
60708
60710
  new w({
60709
60711
  id: `${r.id}--${a.id}--${b.InvalidReference}`,
@@ -60718,7 +60720,7 @@ We have moved the reference to 'calledByEntry' for you.`,
60718
60720
  ), e.calledByEntry.push(a.id), e.calledBySuccess = e.calledBySuccess.filter(
60719
60721
  (i) => i !== a.id
60720
60722
  );
60721
- else if (ot.includes(a.type)) {
60723
+ else if (lt.includes(a.type)) {
60722
60724
  const i = a.calledBy || [], s = i.length ? `
60723
60725
 
60724
60726
  This ${a.type} is called by ${ne(
@@ -60736,7 +60738,7 @@ This ${a.type} is called by ${ne(
60736
60738
  message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a '${a.type}' entity at 'calledBySuccess' with id "${a.id}".
60737
60739
  ${a.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
60738
60740
  Termination entities are ${ne(
60739
- ot,
60741
+ lt,
60740
60742
  ", ",
60741
60743
  " and "
60742
60744
  )}.${s}`,
@@ -60775,7 +60777,7 @@ ${on}`,
60775
60777
  }
60776
60778
  function C7(r, a) {
60777
60779
  const e = [];
60778
- if (lt.includes(a.type))
60780
+ if (nt.includes(a.type))
60779
60781
  e.push(
60780
60782
  new w({
60781
60783
  id: `${r.id}--${a.id}--${b.InvalidReference}`,
@@ -60787,7 +60789,7 @@ ${Ho}`,
60787
60789
  issue: null
60788
60790
  })
60789
60791
  );
60790
- else if (ot.includes(a.type)) {
60792
+ else if (lt.includes(a.type)) {
60791
60793
  const t = a.calledBy || [], i = t.length ? `
60792
60794
 
60793
60795
  This ${a.type} is called by ${ne(
@@ -60805,7 +60807,7 @@ This ${a.type} is called by ${ne(
60805
60807
  message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a '${a.type}' entity at 'calledByError' with id "${a.id}".
60806
60808
  ${a.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
60807
60809
  Termination entities are ${ne(
60808
- ot,
60810
+ lt,
60809
60811
  ", ",
60810
60812
  " and "
60811
60813
  )}.${i}`,
@@ -60844,7 +60846,7 @@ ${on}`,
60844
60846
  }
60845
60847
  function _7(r, a) {
60846
60848
  const e = [];
60847
- if (ot.includes(a.type)) {
60849
+ if (lt.includes(a.type)) {
60848
60850
  const t = a.calledBy || [], i = t.length ? `
60849
60851
 
60850
60852
  This ${a.type} is called by ${ne(
@@ -60862,7 +60864,7 @@ This ${a.type} is called by ${ne(
60862
60864
  message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a '${a.type}' entity at 'calledByEntry' with id "${a.id}".
60863
60865
  ${a.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
60864
60866
  Termination entities are ${ne(
60865
- ot,
60867
+ lt,
60866
60868
  ", ",
60867
60869
  " and "
60868
60870
  )}.${i}`,
@@ -60979,13 +60981,13 @@ function M7(r, a) {
60979
60981
  })
60980
60982
  );
60981
60983
  const l = zt(t, a);
60982
- t.type === n.ReturnStatement && l && !lt.includes(l.type) ? e.push(
60984
+ t.type === n.ReturnStatement && l && !nt.includes(l.type) ? e.push(
60983
60985
  new w({
60984
60986
  id: `${t.id}--${b.IncompatibleScope}`,
60985
60987
  code: b.IncompatibleScope,
60986
60988
  severity: D.Error,
60987
60989
  message: `Entity of type "${t.type}" with id "${t.id}" has an explicitly set parent, but it isn't a '${ne(
60988
- lt,
60990
+ nt,
60989
60991
  "', '",
60990
60992
  "' or '"
60991
60993
  )}' entity. A return statement's parent should always be resolved to a function declaration or global event.${ml}`,
@@ -61030,10 +61032,10 @@ function M7(r, a) {
61030
61032
  l,
61031
61033
  T,
61032
61034
  a
61033
- ) ? (ot.includes(t.type) && ((t.calledBySuccess || []).find(
61035
+ ) ? (lt.includes(t.type) && ((t.calledBySuccess || []).find(
61034
61036
  (R) => R === c.id
61035
61037
  ) ? (c.successCalls || []).find(
61036
- (V) => ot.includes(V.type)
61038
+ (V) => lt.includes(V.type)
61037
61039
  ) && e.push(
61038
61040
  new w({
61039
61041
  id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
@@ -61046,7 +61048,7 @@ The new termination statement is redundant because both entities would be called
61046
61048
  ) : (t.calledByError || []).find(
61047
61049
  (R) => R === c.id
61048
61050
  ) ? (c.errorCalls || []).find(
61049
- (V) => ot.includes(V.type)
61051
+ (V) => lt.includes(V.type)
61050
61052
  ) && e.push(
61051
61053
  new w({
61052
61054
  id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
@@ -61059,7 +61061,7 @@ The new termination statement is redundant because both entities would be called
61059
61061
  ) : (t.calledByEntry || []).find(
61060
61062
  (R) => R === c.id
61061
61063
  ) && (c.calls || []).find(
61062
- (V) => ot.includes(V.type)
61064
+ (V) => lt.includes(V.type)
61063
61065
  ) && e.push(
61064
61066
  new w({
61065
61067
  id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
@@ -61093,10 +61095,10 @@ The new termination statement is redundant because both entities would be called
61093
61095
  T,
61094
61096
  a
61095
61097
  );
61096
- E ? (ot.includes(t.type) && ((t.calledBySuccess || []).find(
61098
+ E ? (lt.includes(t.type) && ((t.calledBySuccess || []).find(
61097
61099
  (R) => R === c.id
61098
61100
  ) ? (c.successCalls || []).find(
61099
- (V) => ot.includes(V.type)
61101
+ (V) => lt.includes(V.type)
61100
61102
  ) && e.push(
61101
61103
  new w({
61102
61104
  id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
@@ -61109,7 +61111,7 @@ The new termination statement is redundant because both entities would be called
61109
61111
  ) : (t.calledByError || []).find(
61110
61112
  (R) => R === c.id
61111
61113
  ) ? (c.errorCalls || []).find(
61112
- (V) => ot.includes(V.type)
61114
+ (V) => lt.includes(V.type)
61113
61115
  ) && e.push(
61114
61116
  new w({
61115
61117
  id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
@@ -61122,7 +61124,7 @@ The new termination statement is redundant because both entities would be called
61122
61124
  ) : (t.calledByEntry || []).find(
61123
61125
  (R) => R === c.id
61124
61126
  ) && (c.calls || []).find(
61125
- (V) => ot.includes(V.type)
61127
+ (V) => lt.includes(V.type)
61126
61128
  ) && e.push(
61127
61129
  new w({
61128
61130
  id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
@@ -61172,13 +61174,13 @@ To add a caller, use the 'add_caller' action with the properties: 'callerEntityI
61172
61174
  Return statements need to have a caller when created, since their purpose is to terminate a call chain.` : t.type === n.ContinueStatement ? s += `
61173
61175
  Continue statements need to have a caller when created, since they are used to skip the rest of the current iteration of a loop and can't be detached from a call chain.` : t.type === n.BreakStatement && (s += `
61174
61176
  Break statements need to have a caller when created, since they are used to exit a loop and can't be detached from a call chain.`), s += `
61175
- ${w7}`, ot.includes(t.type) || (s += `
61177
+ ${w7}`, lt.includes(t.type) || (s += `
61176
61178
  It is recommended to have a caller reference already at the moment of creation in the payload of the generation action.`), e.push(
61177
61179
  new w({
61178
61180
  id: `${t.id}--${L.MissingCaller}`,
61179
61181
  code: L.MissingCaller,
61180
61182
  // If it is a termination statement, make it an error, otherwise a warning
61181
- severity: ot.includes(t.type) ? D.Error : D.Warning,
61183
+ severity: lt.includes(t.type) ? D.Error : D.Warning,
61182
61184
  message: s,
61183
61185
  issue: null
61184
61186
  })
@@ -61490,9 +61492,9 @@ function rz(r, a, e = "calledBy") {
61490
61492
  issue: null
61491
61493
  })
61492
61494
  ), t;
61493
- if ([...dt, ...lt].includes(i.type))
61495
+ if ([...dt, ...nt].includes(i.type))
61494
61496
  return [];
61495
- if (ot.includes(i.type)) {
61497
+ if (lt.includes(i.type)) {
61496
61498
  const s = i.calledBy || [], l = s.length ? `
61497
61499
 
61498
61500
  This ${i.type} is called by ${ne(
@@ -61510,7 +61512,7 @@ This ${i.type} is called by ${ne(
61510
61512
  message: `Entity with id '${i.id}' referenced in '${e}' property is of type '${i.type}'.
61511
61513
  ${i.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
61512
61514
  Termination entities are ${ne(
61513
- ot,
61515
+ lt,
61514
61516
  ", ",
61515
61517
  " and "
61516
61518
  )}.${l}`,
@@ -61551,7 +61553,7 @@ function nz(r, a, e = "calledByError") {
61551
61553
  ), t;
61552
61554
  if (dt.includes(i.type))
61553
61555
  return [];
61554
- if (ot.includes(i.type)) {
61556
+ if (lt.includes(i.type)) {
61555
61557
  const s = i.calledBy || [], l = s.length ? `
61556
61558
 
61557
61559
  This ${i.type} is called by ${ne(
@@ -61569,7 +61571,7 @@ This ${i.type} is called by ${ne(
61569
61571
  message: `Entity with id '${i.id}' referenced in '${e}' property is of type '${i.type}'.
61570
61572
  ${i.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
61571
61573
  Termination entities are ${ne(
61572
- ot,
61574
+ lt,
61573
61575
  ", ",
61574
61576
  " and "
61575
61577
  )}.${l}`,
@@ -61577,7 +61579,7 @@ Termination entities are ${ne(
61577
61579
  })
61578
61580
  );
61579
61581
  } else
61580
- lt.includes(i.type) ? t.push(
61582
+ nt.includes(i.type) ? t.push(
61581
61583
  new w({
61582
61584
  id: `last-action--${i.id}--${b.InvalidReference}`,
61583
61585
  code: b.InvalidReference,
@@ -62198,7 +62200,7 @@ const dz = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
62198
62200
  validate: bv
62199
62201
  }, Symbol.toStringTag, { value: "Module" }));
62200
62202
  var L7 = /* @__PURE__ */ ((r) => (r.Parent = "parent", r.Declaration = "declaration", r))(L7 || {});
62201
- const ge = class ge extends st {
62203
+ const ge = class ge extends at {
62202
62204
  constructor(e, t) {
62203
62205
  super(e);
62204
62206
  f(this, "initialData");
@@ -62317,7 +62319,7 @@ const ge = class ge extends st {
62317
62319
  {
62318
62320
  parent: {
62319
62321
  list: !1,
62320
- types: [...ut, n.Project],
62322
+ types: [...ft, n.Project],
62321
62323
  optional: !0
62322
62324
  }
62323
62325
  // calledByEntry: {
@@ -62341,7 +62343,7 @@ const ge = class ge extends st {
62341
62343
  );
62342
62344
  i = l.modifiedData, s.push(
62343
62345
  ...l.errors,
62344
- ...pt(i)
62346
+ ...ut(i)
62345
62347
  );
62346
62348
  const o = _(
62347
62349
  i.declaration
@@ -63016,7 +63018,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
63016
63018
  "meta-sync"
63017
63019
  )
63018
63020
  )) {
63019
- const i = ct(this, e), s = this.toMeta();
63021
+ const i = pt(this, e), s = this.toMeta();
63020
63022
  return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
63021
63023
  }
63022
63024
  async APILoad(e = j, ...t) {
@@ -63683,7 +63685,7 @@ f(ge, "repository", {
63683
63685
  APILoad: async (e, ...t) => null,
63684
63686
  APILoadVersion: async (e, t, ...i) => null
63685
63687
  }), f(ge, "type", n.FunctionCall), f(ge, "USER_MANAGED_PARENT_TYPES", [
63686
- ...ut,
63688
+ ...ft,
63687
63689
  n.Project
63688
63690
  ]), f(ge, "PARENT_TYPES", [
63689
63691
  ...ge.USER_MANAGED_PARENT_TYPES
@@ -64716,12 +64718,12 @@ function K(r, a) {
64716
64718
  else if ((r.type === n.ContinueStatement || r.type === n.BreakStatement) && e.type !== n.Loop) {
64717
64719
  r.remove({ ignoreUpstream: !1 }, a);
64718
64720
  return;
64719
- } else if (r.type === n.ReturnStatement && !ut.includes(e.type)) {
64721
+ } else if (r.type === n.ReturnStatement && !ft.includes(e.type)) {
64720
64722
  r.remove({ ignoreUpstream: !1 }, a);
64721
64723
  return;
64722
64724
  } else
64723
64725
  r.setParent(e, a), r.addSelfToProject(a);
64724
- if (ot.includes(r.type))
64726
+ if (lt.includes(r.type))
64725
64727
  return;
64726
64728
  Je(r).forEach((l) => {
64727
64729
  var d, u;
@@ -64731,7 +64733,7 @@ function K(r, a) {
64731
64733
  else if ((l.type === n.ContinueStatement || l.type === n.BreakStatement) && o.type !== n.Loop) {
64732
64734
  l.remove({ ignoreUpstream: !1 }, a);
64733
64735
  return;
64734
- } else if (l.type === n.ReturnStatement && !ut.includes(o.type)) {
64736
+ } else if (l.type === n.ReturnStatement && !ft.includes(o.type)) {
64735
64737
  l.remove({ ignoreUpstream: !1 }, a);
64736
64738
  return;
64737
64739
  } else
@@ -64759,11 +64761,11 @@ function hz(r, a) {
64759
64761
  return !!Zs(r, a).last;
64760
64762
  }
64761
64763
  function yz(r) {
64762
- if (lt.includes(r.type))
64764
+ if (nt.includes(r.type))
64763
64765
  return r;
64764
64766
  if ([...ar, n.VariableDeclaration].includes(r.type)) {
64765
64767
  const a = r.parent;
64766
- return lt.includes(a.type) ? a : null;
64768
+ return nt.includes(a.type) ? a : null;
64767
64769
  }
64768
64770
  return null;
64769
64771
  }
@@ -64857,7 +64859,7 @@ function mz(r) {
64857
64859
  return r.type === n.VariableDeclaration ? [r] : dt.includes(r.type) ? [
64858
64860
  ...r.inputs,
64859
64861
  ...r.outputs || []
64860
- ] : ot.includes(r.type) ? r.outputs : Js.includes(r.type) || r.type === n.FunctionDeclaration ? r.inputs : [];
64862
+ ] : lt.includes(r.type) ? r.outputs : Js.includes(r.type) || r.type === n.FunctionDeclaration ? r.inputs : [];
64861
64863
  }
64862
64864
  function vz(r) {
64863
64865
  const a = un(r), e = [], t = [];
@@ -64896,7 +64898,7 @@ function wv(r) {
64896
64898
  ...Ft(
64897
64899
  r.errorCalls
64898
64900
  )
64899
- ] : lt.includes(r.type) ? Ft(
64901
+ ] : nt.includes(r.type) ? Ft(
64900
64902
  r.calls
64901
64903
  ) : [];
64902
64904
  }
@@ -64960,7 +64962,7 @@ function Je(r) {
64960
64962
  r.errorCalls
64961
64963
  )
64962
64964
  )
64963
- ]) : lt.includes(r.type) ? p(
64965
+ ]) : nt.includes(r.type) ? p(
64964
64966
  Pi(
64965
64967
  Ft(
64966
64968
  r.calls
@@ -64980,7 +64982,7 @@ function bz(r) {
64980
64982
  r.errorCalls
64981
64983
  )
64982
64984
  )
64983
- ] : lt.includes(r.type) ? Pi(
64985
+ ] : nt.includes(r.type) ? Pi(
64984
64986
  Ft(
64985
64987
  r.calls
64986
64988
  )
@@ -65888,7 +65890,7 @@ function BJ(r) {
65888
65890
  var a;
65889
65891
  return r.type === n.FunctionCall ? ((a = r.declaration.returnStatements[0]) == null ? void 0 : a.outputs) || [] : [n.Operation, n.Condition, n.Loop].includes(
65890
65892
  r.type
65891
- ) ? r.declaration.outputs : r.type === n.Search ? r.outputsDeclarations : ot.includes(r.type) ? r.outputs : [];
65893
+ ) ? r.declaration.outputs : r.type === n.Search ? r.outputsDeclarations : lt.includes(r.type) ? r.outputs : [];
65892
65894
  }
65893
65895
  function wz(r, a) {
65894
65896
  return a.type === n.Condition ? null : a.type === n.FunctionCall || a.type === n.Operation ? a.outputs.find((e) => e.declaration.id === r.id) : null;
@@ -65945,7 +65947,7 @@ function un(r, a = !1) {
65945
65947
  ...(r == null ? void 0 : r.functionCalls) || [],
65946
65948
  ...(r == null ? void 0 : r.events) || [],
65947
65949
  ...(r == null ? void 0 : r.projects) || []
65948
- ), ut.includes(r.type) && e.push(
65950
+ ), ft.includes(r.type) && e.push(
65949
65951
  ...(r == null ? void 0 : r.detachedChildren) || []
65950
65952
  ), r.type === n.DefinitionEntity) {
65951
65953
  const t = [
@@ -66152,7 +66154,7 @@ function Bv(r) {
66152
66154
  }
66153
66155
  function GJ(r) {
66154
66156
  if ([
66155
- ...lt,
66157
+ ...nt,
66156
66158
  n.DefinitionEntity,
66157
66159
  n.InstalledProject,
66158
66160
  n.Project
@@ -66165,7 +66167,7 @@ function GJ(r) {
66165
66167
  }
66166
66168
  function Nv(r) {
66167
66169
  return [
66168
- ...lt,
66170
+ ...nt,
66169
66171
  n.DefinitionEntity,
66170
66172
  n.InstalledProject,
66171
66173
  n.Project
@@ -66265,49 +66267,55 @@ function el(r) {
66265
66267
  return null;
66266
66268
  }
66267
66269
  }
66268
- function zt(r, a) {
66269
- const e = r != null && r.parent ? _(r == null ? void 0 : r.parent) : null;
66270
- let t = e ? a.get(e) : null;
66270
+ function zt(r, a, e = null) {
66271
+ const t = r != null && r.parent ? _(r == null ? void 0 : r.parent) : null;
66272
+ let i = t ? a.get(t) : null, s = e || r;
66271
66273
  if (r.type === n.ReturnStatement)
66272
- return Et(r, a);
66273
- if (r.type === n.FunctionDeclaration && (t == null ? void 0 : t.type) === n.Loop)
66274
- return t;
66275
- if (ut.includes(r.type))
66274
+ return Et(r, a, s);
66275
+ if (r.type === n.FunctionDeclaration && (i == null ? void 0 : i.type) === n.Loop)
66276
+ return i;
66277
+ if (nt.includes(r.type))
66276
66278
  return r;
66279
+ if (r.type === n.Loop)
66280
+ return s.id === r.id ? i : r;
66277
66281
  if (pi.includes(r.type))
66278
66282
  return null;
66279
- const i = r.parent;
66280
- if (!i)
66283
+ const l = r.parent;
66284
+ if (!l)
66281
66285
  return null;
66282
- if (i.type === n.GenericReference) {
66283
- const s = _(i);
66284
- if (!s)
66286
+ if (l.type === n.GenericReference) {
66287
+ const o = _(l);
66288
+ if (!o)
66285
66289
  return null;
66286
- const l = a.get(s);
66287
- return l ? zt(l, a) : null;
66290
+ const d = a.get(o);
66291
+ return d ? zt(d, a, s) : null;
66288
66292
  } else
66289
- return i === a ? a : zt(i, a);
66293
+ return l === a ? a : zt(l, a, s);
66290
66294
  }
66291
- function Et(r, a) {
66292
- const e = r != null && r.parent ? _(r == null ? void 0 : r.parent) : null;
66293
- let t = e ? a.get(e) : null;
66294
- if (r.type === n.FunctionDeclaration && (t == null ? void 0 : t.type) === n.Loop)
66295
- return Et(t.parent, a);
66296
- if (lt.includes(r.type))
66295
+ function Et(r, a, e = null) {
66296
+ const t = r != null && r.parent ? _(r == null ? void 0 : r.parent) : null;
66297
+ let i = t ? a.get(t) : null, s = e || r;
66298
+ if (r.type === n.FunctionDeclaration && (i == null ? void 0 : i.type) === n.Loop)
66299
+ return Et(
66300
+ i.parent,
66301
+ a,
66302
+ s
66303
+ );
66304
+ if (nt.includes(r.type))
66297
66305
  return r;
66298
66306
  if (pi.includes(r.type))
66299
66307
  return null;
66300
- const i = r.parent;
66301
- if (!i)
66308
+ const l = r.parent;
66309
+ if (!l)
66302
66310
  return null;
66303
- if (i.type === n.GenericReference) {
66304
- const s = _(i);
66305
- if (!s)
66311
+ if (l.type === n.GenericReference) {
66312
+ const o = _(l);
66313
+ if (!o)
66306
66314
  return null;
66307
- const l = a.get(s);
66308
- return l ? Et(l, a) : null;
66315
+ const d = a.get(o);
66316
+ return d ? Et(d, a, s) : null;
66309
66317
  } else
66310
- return i === a ? a : Et(i, a);
66318
+ return l === a ? a : Et(l, a, s);
66311
66319
  }
66312
66320
  function Uv(r, a) {
66313
66321
  if (pi.includes(r.type) || a.getBuiltIn(r.id))
@@ -66316,7 +66324,7 @@ function Uv(r, a) {
66316
66324
  r.parent,
66317
66325
  a
66318
66326
  );
66319
- return e ? e === a ? ut.includes(r.type) ? r : null : e.type === n.DefinitionEntity ? r : Uv(e, a) : null;
66327
+ return e ? e === a ? ft.includes(r.type) ? r : null : e.type === n.DefinitionEntity ? r : Uv(e, a) : null;
66320
66328
  }
66321
66329
  function $l(r, a, e) {
66322
66330
  if (r === a || a === e || r === e)
@@ -66485,7 +66493,7 @@ function Ua(r) {
66485
66493
  [
66486
66494
  ...s.successCalls || []
66487
66495
  ].forEach((d) => {
66488
- ot.includes(d.type) && d !== r && (Je(
66496
+ lt.includes(d.type) && d !== r && (Je(
66489
66497
  r
66490
66498
  ).find((c) => c === d) || t(s, d));
66491
66499
  });
@@ -66502,7 +66510,7 @@ function Ua(r) {
66502
66510
  [
66503
66511
  ...s.errorCalls || []
66504
66512
  ].forEach((d) => {
66505
- ot.includes(d.type) && d !== r && (Je(
66513
+ lt.includes(d.type) && d !== r && (Je(
66506
66514
  r
66507
66515
  ).find((c) => c === d) || t(s, d));
66508
66516
  });
@@ -66517,7 +66525,7 @@ function Ua(r) {
66517
66525
  }
66518
66526
  }), r.calledByEntry.forEach((s) => {
66519
66527
  if ([...s.calls || []].forEach((d) => {
66520
- ot.includes(d.type) && d !== r && (Je(
66528
+ lt.includes(d.type) && d !== r && (Je(
66521
66529
  r
66522
66530
  ).find((c) => c === d) || t(s, d));
66523
66531
  }), s === i)
@@ -66710,7 +66718,7 @@ function gz(r) {
66710
66718
  new Set(r == null ? void 0 : r.affected.map((e) => e.id))
66711
66719
  ), a;
66712
66720
  }
66713
- function ct(r, a) {
66721
+ function pt(r, a) {
66714
66722
  const e = el(
66715
66723
  r.type
66716
66724
  );
@@ -67661,7 +67669,7 @@ function tq(r, a) {
67661
67669
  }), e;
67662
67670
  }
67663
67671
  var Fl = /* @__PURE__ */ ((r) => (r.Extends = "extends", r.Implements = "implements", r))(Fl || {});
67664
- const Le = class Le extends st {
67672
+ const Le = class Le extends at {
67665
67673
  constructor(e, t) {
67666
67674
  super(e);
67667
67675
  f(this, "initialData");
@@ -67779,7 +67787,7 @@ const Le = class Le extends st {
67779
67787
  s.push(
67780
67788
  ...l,
67781
67789
  ...o,
67782
- ...pt(i)
67790
+ ...ut(i)
67783
67791
  );
67784
67792
  const d = i.parent ? t.get(i.parent) : null;
67785
67793
  if (d && d.type === n.DataType) {
@@ -68633,7 +68641,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
68633
68641
  "meta-sync"
68634
68642
  )
68635
68643
  )) {
68636
- const i = ct(this, e), s = this.toMeta();
68644
+ const i = pt(this, e), s = this.toMeta();
68637
68645
  return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.x = e.x || s.x, this.y = e.y || s.y, this.static = e.static !== void 0 ? e.static : this.static, this.abstract = e.abstract !== void 0 ? e.abstract : this.abstract, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
68638
68646
  }
68639
68647
  async APILoad(e = j, ...t) {
@@ -69388,7 +69396,7 @@ function iq(r) {
69388
69396
  const i = [];
69389
69397
  return Se(r.errors, i);
69390
69398
  }
69391
- const Os = class Os extends st {
69399
+ const Os = class Os extends at {
69392
69400
  constructor(e, t) {
69393
69401
  super(e);
69394
69402
  f(this, "initialData");
@@ -69706,7 +69714,7 @@ function rq(r) {
69706
69714
  const i = [];
69707
69715
  return Se(r.errors, i);
69708
69716
  }
69709
- const Qa = class Qa extends st {
69717
+ const Qa = class Qa extends at {
69710
69718
  constructor(e, t) {
69711
69719
  super(e);
69712
69720
  f(this, "initialData");
@@ -70209,7 +70217,7 @@ class Rr {
70209
70217
  if (a.readsValue) {
70210
70218
  if (tt.includes(a.readsValue.type)) {
70211
70219
  let e = a.parent;
70212
- ut.includes(e.type) || (e = e.parent);
70220
+ ft.includes(e.type) || (e = e.parent);
70213
70221
  const t = a.type === n.InputMap && a.parent.type === n.Loop;
70214
70222
  t && (e = a.parent.parent), a.readsValue.setParent(
70215
70223
  e,
@@ -70244,7 +70252,7 @@ class Rr {
70244
70252
  if (a.readsValue) {
70245
70253
  if (tt.includes(a.readsValue.type)) {
70246
70254
  let e = a.parent;
70247
- ut.includes(e.type) || (e = e.parent);
70255
+ ft.includes(e.type) || (e = e.parent);
70248
70256
  const t = a.type === n.InputMap && a.parent.type === n.Loop;
70249
70257
  t && (e = a.parent.parent), a.readsValue.setParent(
70250
70258
  e,
@@ -70286,7 +70294,7 @@ class tl {
70286
70294
  }
70287
70295
  class tY {
70288
70296
  }
70289
- const ie = class ie extends st {
70297
+ const ie = class ie extends at {
70290
70298
  constructor(e) {
70291
70299
  super(e);
70292
70300
  f(this, "initialData");
@@ -70395,7 +70403,7 @@ const ie = class ie extends st {
70395
70403
  JSON.stringify(e)
70396
70404
  );
70397
70405
  const s = [];
70398
- return s.push(...pt(i)), {
70406
+ return s.push(...ut(i)), {
70399
70407
  errors: s,
70400
70408
  modifiedData: i
70401
70409
  };
@@ -70844,7 +70852,7 @@ const ie = class ie extends st {
70844
70852
  "meta-sync"
70845
70853
  )
70846
70854
  )) {
70847
- const i = ct(this, e), s = this.toMeta();
70855
+ const i = pt(this, e), s = this.toMeta();
70848
70856
  return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
70849
70857
  }
70850
70858
  async APILoad(e = j, ...t) {
@@ -73236,7 +73244,7 @@ export {
73236
73244
  I as ChangeSetEntityChangeType,
73237
73245
  Kz as ChildEntityState,
73238
73246
  F7 as CommonStringValidationErrorCodes,
73239
- ft as ComparisonOperatorTypes,
73247
+ ct as ComparisonOperatorTypes,
73240
73248
  h7 as ConditionDependencyField,
73241
73249
  Qr as ConditionState,
73242
73250
  Y0 as ContinueStatementDependencyField,
@@ -73261,14 +73269,14 @@ export {
73261
73269
  J as ENTITY_RECUSION_OPTIONS_DEFAULTS,
73262
73270
  Fq as ENTITY_TYPES,
73263
73271
  xq as ENTITY_WITH_DECLARATION_TYPES,
73264
- ut as ENTITY_WITH_LOGIC_SCOPE_TYPES,
73272
+ ft as ENTITY_WITH_LOGIC_SCOPE_TYPES,
73265
73273
  qv as ENTITY_WITH_NAMES_TYPES,
73266
73274
  jq as ENTITY_WITH_PARENT_TYPES,
73267
73275
  kv as ENTITY_WITH_USER_MANAGED_DECLARATION_TYPES,
73268
73276
  Lq as ENTITY_WITH_USER_MANAGED_SINGLE_IMPLEMENTS_TYPES,
73269
73277
  gv as ENTITY_WITH_VALUE_TYPES,
73270
73278
  Ho as ENTRY_POINT_ENTITIES_EXPLANATION,
73271
- lt as ENTRY_POINT_TYPES,
73279
+ nt as ENTRY_POINT_TYPES,
73272
73280
  Js as EVENT_TYPES,
73273
73281
  $q as EXECUTABLE_TYPES,
73274
73282
  tA as EXECUTION_OPERATIONS,
@@ -73356,7 +73364,7 @@ export {
73356
73364
  ME as SplitListOperationOutputIds,
73357
73365
  _i as StandaloneOperatorTypes,
73358
73366
  ke as StringOperations,
73359
- ot as TERMINATION_TYPES,
73367
+ lt as TERMINATION_TYPES,
73360
73368
  fp as Traverser,
73361
73369
  Wv as USER_MANAGED_ENTITY_TYPES,
73362
73370
  zz as UserManagedEntityStateTemplate,
@@ -73410,7 +73418,7 @@ export {
73410
73418
  kZ as checkArePropertiesCompatibleAsDataType,
73411
73419
  mp as checkExtendsBaseEntity,
73412
73420
  Sa as checkHasBaseEntity,
73413
- ct as checkHasMetadataChanged,
73421
+ pt as checkHasMetadataChanged,
73414
73422
  hr as checkImplementationsOverlap,
73415
73423
  Uz as checkImplementsBaseEntity,
73416
73424
  Ha as checkIsBranchDependentButNotDirectlyOnBranch,
@@ -73704,7 +73712,7 @@ export {
73704
73712
  yp as getParentCanvasEntityFromTransfer,
73705
73713
  yz as getParentEntryPoint,
73706
73714
  q7 as getParentPassthroughCallableEntity,
73707
- nt as getPassThroughCallableEntityReferenceSchema,
73715
+ st as getPassThroughCallableEntityReferenceSchema,
73708
73716
  Gu as getPassThroughCallableEntityTypeSchema,
73709
73717
  jz as getPeristedEntities,
73710
73718
  lW as getPlayableEntityReferenceSchema,
@@ -74185,7 +74193,7 @@ export {
74185
74193
  x0 as validateFunctionDeclarationName,
74186
74194
  QW as validateGeneratedEntityParentIsNotBuiltInEntity,
74187
74195
  SW as validateGeneration,
74188
- pt as validateGenerationTarget,
74196
+ ut as validateGenerationTarget,
74189
74197
  XW as validateGenerationUpdate,
74190
74198
  lz as validateLoopEntityDeclaration,
74191
74199
  RW as validateName,