@elyx-code/project-logic-tree 0.0.6470 → 0.0.6471

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
@@ -68,7 +68,7 @@ const yy = {
68
68
  },
69
69
  fromUUID: (d) => d
70
70
  };
71
- var f = /* @__PURE__ */ ((d) => (d.DefinitionEntity = "definition-entity", d.BuiltInBaseEntity = "built-in-base-entity", d.Project = "project", d.InstalledProject = "installed-project", d.GlobalEvent = "global-event", d.DataType = "data-type", d.FunctionCall = "function-call", d.FunctionDeclaration = "function-declaration", d.ActionDescriptor = "action-descriptor", d.ValueDescriptor = "value-descriptor", d.ArgumentDeclaration = "argument-declaration", d.InputMap = "input-map", d.ReturnStatement = "return-statement", d.BreakStatement = "break-statement", d.ContinueStatement = "continue-statement", d.ReturnDeclaration = "return-declaration", d.OutputMap = "output-map", d.PrimitiveEntity = "primitive-entity", d.LiteralValue = "literal-value", d.Property = "property", d.Operation = "operation", d.Condition = "condition", d.VariableDeclaration = "variable-declaration", d.VariableInstance = "variable-instance", d.Search = "search", d.Loop = "loop", d.InternalCall = "internal-call", d.GenericReference = "generic-reference", d))(f || {}), Ve = /* @__PURE__ */ ((d) => (d.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", d.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", d.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", d.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", d.EXECUTION = "BUILT_IN_EXECUTION_ENTITY", d.KEY_VALUE_PARAM = "BUILT_IN_KEY_VALUE_PARAM_ENTITY", d))(Ve || {}), Zr = /* @__PURE__ */ ((d) => (d.CurrentDateAndTime = "current-date-and-time", d.Unique = "unique", d.Random = "random", d))(Zr || {}), ne = /* @__PURE__ */ ((d) => (d.EntityTemplate = "entity-template", d.ActionDescriptor = "action-descriptor", d.String = "string", d.Number = "number", d.Boolean = "boolean", d.Null = "null", d.Enum = "enum", d.KeyValue = "key-value", d.Date = "date", d.UUID = "uuid", d.File = "file", d.Untyped = "untyped", d))(ne || {}), Qt = /* @__PURE__ */ ((d) => (d.Addition = "addition", d.Subtraction = "subtraction", d.Multiplication = "multiplication", d.Division = "division", d.Remainder = "remainder", d.Exponentiation = "exponentiation", d))(Qt || {}), _e = /* @__PURE__ */ ((d) => (d.GenerateRandomInteger = "generate-random-integer", d.GenerateRandomFloat = "generate-random-float", d.GenerateRandomHexadecimal = "generate-random-hexadecimal", d.GenerateRandomBase62 = "generate-random-base62", d.GenerateRandomBase64 = "generate-random-base64", d.GenerateRandomAlphanumeric = "generate-random-alphanumeric", d.GenerateIdentifier = "generate-identifier", d.GenerateRandomUUIDv4 = "generate-random-uuidv4", d.GenerateShortIdentifier = "generate-short-identifier", d.GenerateHexadecimalToken = "generate-hexadecimal-token", d))(_e || {}), je = /* @__PURE__ */ ((d) => (d.Join = "string-join", d.Split = "string-split", d.DeleteLast = "string-delete-last", d.DeleteFirst = "string-delete-first", d.DeleteIndex = "string-delete-index", d.AddIndex = "string-add-index", d.ReplaceFirst = "string-replace-first", d.ReplaceLast = "string-replace-last", d.ReplaceIndex = "string-replace-index", d.ReplaceSingleMatch = "string-replace-single-match", d.ReplaceAllMatches = "string-replace-all-matches", d.GetIndexItem = "string-get-index-item", d.GetFirst = "string-get-first", d.GetLast = "string-get-last", d.GetIndexOf = "string-get-index-of", d.Append = "string-append", d.Prepend = "string-prepend", d.Reverse = "string-reverse", d.ToLowerCase = "string-to-lower-case", d.ToUpperCase = "string-to-upper-case", d))(je || {}), Se = /* @__PURE__ */ ((d) => (d.Join = "list-join", d.Split = "list-split", d.DeleteLast = "list-delete-last", d.DeleteFirst = "list-delete-first", d.DeleteIndex = "list-delete-index", d.AddIndex = "list-add-index", d.ReplaceFirst = "list-replace-first", d.ReplaceLast = "list-replace-last", d.ReplaceIndex = "list-replace-index", d.GetIndexItem = "list-get-index-item", d.GetFirst = "list-get-first", d.GetLast = "list-get-last", d.Append = "list-append", d.Prepend = "list-prepend", d.Reverse = "list-reverse", d))(Se || {}), tr = /* @__PURE__ */ ((d) => (d.Parallel = "parallel", d.Sequential = "sequential", d.Wait = "wait", d))(tr || {}), fr = /* @__PURE__ */ ((d) => (d.CreateNewInstance = "create-new-instance", d.Validate = "validate", d))(fr || {}), Ai = /* @__PURE__ */ ((d) => (d.HttpRequest = "base-http-request", d))(Ai || {}), ht = /* @__PURE__ */ ((d) => (d.Equal = "equal", d.NotEqual = "not-equal", d.LessThan = "less-than", d.MoreThan = "more-than", d.LessThanOrEqual = "less-than-or-equal", d.MoreThanOrEqual = "more-than-or-equal", d))(ht || {}), fi = /* @__PURE__ */ ((d) => (d.Empty = "empty", d.NotEmpty = "not-empty", d))(fi || {}), qr = /* @__PURE__ */ ((d) => (d.And = "and", d.Or = "or", d))(qr || {}), Je = /* @__PURE__ */ ((d) => (d.ManualFlow = "manual-flow-loop", d.Counted = "counted-loop", d.List = "list-loop", d.ObjectKeys = "object-keys-loop", d.ObjectValues = "object-values-loop", d.String = "string-loop", d))(Je || {}), le = /* @__PURE__ */ ((d) => (d.FixedArguments = "fixed-arguments", d.FixedReturns = "fixed-returns", d.ReturnedError = "returned-error", d.OngoingProcessExecution = "ongoing-process-execution", d.DynamicArgument = "dynamic-argument-types", d.DynamicReturn = "dynamic-return-types", d))(le || {}), Ti = /* @__PURE__ */ ((d) => (d.OrDataTypeGroup = "or-data-type-group", d.AndDataTypeGroup = "and-data-type-group", d))(Ti || {}), Xa = /* @__PURE__ */ ((d) => (d.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", d))(Xa || {}), ii = /* @__PURE__ */ ((d) => (d.DeletePersistedEntity = "base-delete-persisted-entity", d.CreatePersistedEntity = "base-create-persisted-entity", d.UpdatePersistedEntity = "base-update-persisted-entity", d.AbortExecution = "base-abort-execution", d))(ii || {}), jo = /* @__PURE__ */ ((d) => (d.Error = "error", d.Task = "task", d.Return = "return", d))(jo || {});
71
+ var f = /* @__PURE__ */ ((d) => (d.DefinitionEntity = "definition-entity", d.BuiltInBaseEntity = "built-in-base-entity", d.Project = "project", d.InstalledProject = "installed-project", d.GlobalEvent = "global-event", d.DataType = "data-type", d.FunctionCall = "function-call", d.FunctionDeclaration = "function-declaration", d.ActionDescriptor = "action-descriptor", d.ValueDescriptor = "value-descriptor", d.ArgumentDeclaration = "argument-declaration", d.InputMap = "input-map", d.ReturnStatement = "return-statement", d.BreakStatement = "break-statement", d.ContinueStatement = "continue-statement", d.ReturnDeclaration = "return-declaration", d.OutputMap = "output-map", d.PrimitiveEntity = "primitive-entity", d.LiteralValue = "literal-value", d.Property = "property", d.Operation = "operation", d.Condition = "condition", d.VariableDeclaration = "variable-declaration", d.VariableInstance = "variable-instance", d.Search = "search", d.Loop = "loop", d.InternalCall = "internal-call", d.GenericReference = "generic-reference", d))(f || {}), Ve = /* @__PURE__ */ ((d) => (d.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", d.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", d.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", d.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", d.EXECUTION = "BUILT_IN_EXECUTION_ENTITY", d.KEY_VALUE_PARAM = "BUILT_IN_KEY_VALUE_PARAM_ENTITY", d))(Ve || {}), Zr = /* @__PURE__ */ ((d) => (d.CurrentDateAndTime = "current-date-and-time", d.Unique = "unique", d.Random = "random", d))(Zr || {}), ne = /* @__PURE__ */ ((d) => (d.EntityTemplate = "entity-template", d.ActionDescriptor = "action-descriptor", d.String = "string", d.Number = "number", d.Boolean = "boolean", d.Null = "null", d.Enum = "enum", d.KeyValue = "key-value", d.Date = "date", d.UUID = "uuid", d.File = "file", d.Untyped = "untyped", d))(ne || {}), Qt = /* @__PURE__ */ ((d) => (d.Addition = "addition", d.Subtraction = "subtraction", d.Multiplication = "multiplication", d.Division = "division", d.Remainder = "remainder", d.Exponentiation = "exponentiation", d))(Qt || {}), _e = /* @__PURE__ */ ((d) => (d.GenerateRandomInteger = "generate-random-integer", d.GenerateRandomFloat = "generate-random-float", d.GenerateRandomHexadecimal = "generate-random-hexadecimal", d.GenerateRandomBase62 = "generate-random-base62", d.GenerateRandomBase64 = "generate-random-base64", d.GenerateRandomAlphanumeric = "generate-random-alphanumeric", d.GenerateIdentifier = "generate-identifier", d.GenerateRandomUUIDv4 = "generate-random-uuidv4", d.GenerateShortIdentifier = "generate-short-identifier", d.GenerateHexadecimalToken = "generate-hexadecimal-token", d))(_e || {}), je = /* @__PURE__ */ ((d) => (d.Join = "string-join", d.Split = "string-split", d.DeleteLast = "string-delete-last", d.DeleteFirst = "string-delete-first", d.DeleteIndex = "string-delete-index", d.AddIndex = "string-add-index", d.ReplaceFirst = "string-replace-first", d.ReplaceLast = "string-replace-last", d.ReplaceIndex = "string-replace-index", d.ReplaceSingleMatch = "string-replace-single-match", d.ReplaceAllMatches = "string-replace-all-matches", d.GetIndexItem = "string-get-index-item", d.GetFirst = "string-get-first", d.GetLast = "string-get-last", d.GetIndexOf = "string-get-index-of", d.Append = "string-append", d.Prepend = "string-prepend", d.Reverse = "string-reverse", d.ToLowerCase = "string-to-lower-case", d.ToUpperCase = "string-to-upper-case", d))(je || {}), Se = /* @__PURE__ */ ((d) => (d.Join = "list-join", d.Split = "list-split", d.DeleteLast = "list-delete-last", d.DeleteFirst = "list-delete-first", d.DeleteIndex = "list-delete-index", d.AddIndex = "list-add-index", d.ReplaceFirst = "list-replace-first", d.ReplaceLast = "list-replace-last", d.ReplaceIndex = "list-replace-index", d.GetIndexItem = "list-get-index-item", d.GetFirst = "list-get-first", d.GetLast = "list-get-last", d.Append = "list-append", d.Prepend = "list-prepend", d.Reverse = "list-reverse", d))(Se || {}), tr = /* @__PURE__ */ ((d) => (d.Parallel = "parallel", d.Sequential = "sequential", d.Wait = "wait", d))(tr || {}), pr = /* @__PURE__ */ ((d) => (d.CreateNewInstance = "create-new-instance", d.Validate = "validate", d))(pr || {}), Ai = /* @__PURE__ */ ((d) => (d.HttpRequest = "base-http-request", d))(Ai || {}), ht = /* @__PURE__ */ ((d) => (d.Equal = "equal", d.NotEqual = "not-equal", d.LessThan = "less-than", d.MoreThan = "more-than", d.LessThanOrEqual = "less-than-or-equal", d.MoreThanOrEqual = "more-than-or-equal", d))(ht || {}), fi = /* @__PURE__ */ ((d) => (d.Empty = "empty", d.NotEmpty = "not-empty", d))(fi || {}), qr = /* @__PURE__ */ ((d) => (d.And = "and", d.Or = "or", d))(qr || {}), Je = /* @__PURE__ */ ((d) => (d.ManualFlow = "manual-flow-loop", d.Counted = "counted-loop", d.List = "list-loop", d.ObjectKeys = "object-keys-loop", d.ObjectValues = "object-values-loop", d.String = "string-loop", d))(Je || {}), le = /* @__PURE__ */ ((d) => (d.FixedArguments = "fixed-arguments", d.FixedReturns = "fixed-returns", d.ReturnedError = "returned-error", d.OngoingProcessExecution = "ongoing-process-execution", d.DynamicArgument = "dynamic-argument-types", d.DynamicReturn = "dynamic-return-types", d))(le || {}), Ti = /* @__PURE__ */ ((d) => (d.OrDataTypeGroup = "or-data-type-group", d.AndDataTypeGroup = "and-data-type-group", d))(Ti || {}), Xa = /* @__PURE__ */ ((d) => (d.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", d))(Xa || {}), ii = /* @__PURE__ */ ((d) => (d.DeletePersistedEntity = "base-delete-persisted-entity", d.CreatePersistedEntity = "base-create-persisted-entity", d.UpdatePersistedEntity = "base-update-persisted-entity", d.AbortExecution = "base-abort-execution", d))(ii || {}), jo = /* @__PURE__ */ ((d) => (d.Error = "error", d.Task = "task", d.Return = "return", d))(jo || {});
72
72
  const Kn = [
73
73
  f.VariableDeclaration,
74
74
  f.VariableInstance,
@@ -142,14 +142,14 @@ const Kn = [
142
142
  ], MI = [
143
143
  ...w$,
144
144
  f.Condition
145
- ], cr = [
145
+ ], ur = [
146
146
  ...MI,
147
147
  f.InternalCall
148
148
  ], gt = [
149
149
  f.FunctionDeclaration,
150
150
  ...jd
151
151
  ], Hi = [
152
- ...cr,
152
+ ...ur,
153
153
  f.ReturnStatement,
154
154
  f.BreakStatement,
155
155
  f.ContinueStatement
@@ -159,7 +159,7 @@ const Kn = [
159
159
  f.BreakStatement,
160
160
  f.ContinueStatement
161
161
  ], Bi = [
162
- ...cr,
162
+ ...ur,
163
163
  ...gt
164
164
  ], j5e = [
165
165
  ...MI,
@@ -603,8 +603,8 @@ const fe = {
603
603
  }
604
604
  }
605
605
  },
606
- [fr.Validate]: {
607
- id: fr.Validate,
606
+ [pr.Validate]: {
607
+ id: pr.Validate,
608
608
  inputs: {
609
609
  entityToMatch: {
610
610
  id: "validate-data-entity-to-match-input-id"
@@ -3712,7 +3712,7 @@ var z9e = /* @__PURE__ */ ((d) => (d.EntityToInstanciate = "entity-to-instanciat
3712
3712
  const X9e = {
3713
3713
  type: f.GenericReference,
3714
3714
  id: "new-entity-data-argument-declaration-parent-ref",
3715
- entityId: fr.CreateNewInstance,
3715
+ entityId: pr.CreateNewInstance,
3716
3716
  version: "1",
3717
3717
  entityType: f.ActionDescriptor
3718
3718
  }, Q9e = {
@@ -3798,7 +3798,7 @@ const X9e = {
3798
3798
  id: "create-new-instance-operation-ref",
3799
3799
  version: "1",
3800
3800
  entityType: f.ActionDescriptor,
3801
- entityId: fr.CreateNewInstance
3801
+ entityId: pr.CreateNewInstance
3802
3802
  }, n7e = {
3803
3803
  id: "entity-to-instanciate-argument-declaration",
3804
3804
  type: f.ValueDescriptor,
@@ -3819,7 +3819,7 @@ const X9e = {
3819
3819
  }, a7e = {
3820
3820
  type: f.GenericReference,
3821
3821
  id: "create-new-instance-output-entity-declaration-parent-ref",
3822
- entityId: fr.CreateNewInstance,
3822
+ entityId: pr.CreateNewInstance,
3823
3823
  version: "1",
3824
3824
  entityType: f.ActionDescriptor
3825
3825
  }, o7e = {
@@ -3842,7 +3842,7 @@ const X9e = {
3842
3842
  }, l7e = {
3843
3843
  type: f.GenericReference,
3844
3844
  id: "create-new-instance-error-parent-ref",
3845
- entityId: fr.CreateNewInstance,
3845
+ entityId: pr.CreateNewInstance,
3846
3846
  version: "1",
3847
3847
  entityType: f.ActionDescriptor
3848
3848
  }, d7e = {
@@ -3863,7 +3863,7 @@ const X9e = {
3863
3863
  index: 1,
3864
3864
  parent: l7e
3865
3865
  }, Kd = {
3866
- id: fr.CreateNewInstance,
3866
+ id: pr.CreateNewInstance,
3867
3867
  type: f.ActionDescriptor,
3868
3868
  description: "Creates a new copy of a given entity, with the given values for each property, or default values if a value is not provided",
3869
3869
  version: "1",
@@ -3872,7 +3872,7 @@ const X9e = {
3872
3872
  previousVersion: null,
3873
3873
  deleted: !1,
3874
3874
  codeName: null,
3875
- name: fr.CreateNewInstance,
3875
+ name: pr.CreateNewInstance,
3876
3876
  inputs: [
3877
3877
  n7e,
3878
3878
  t7e
@@ -3880,7 +3880,7 @@ const X9e = {
3880
3880
  outputs: [o7e],
3881
3881
  error: d7e,
3882
3882
  parent: null
3883
- }, kd = fe[f.Operation][fr.Validate], u7e = {
3883
+ }, kd = fe[f.Operation][pr.Validate], u7e = {
3884
3884
  type: f.GenericReference,
3885
3885
  id: "validate-data-operation-data-to-validate-argument-declaration-ref",
3886
3886
  version: "1",
@@ -3914,7 +3914,7 @@ const X9e = {
3914
3914
  id: "validate-data-operation-data-to-validate-argument-parent-ref",
3915
3915
  version: "1",
3916
3916
  entityType: f.ActionDescriptor,
3917
- entityId: fr.Validate
3917
+ entityId: pr.Validate
3918
3918
  }, f7e = {
3919
3919
  id: kd.inputs.dataToValidate.id,
3920
3920
  type: f.ValueDescriptor,
@@ -3966,7 +3966,7 @@ const X9e = {
3966
3966
  id: "validate-data-operation-entity-to-match-type-argument-parent-ref",
3967
3967
  version: "1",
3968
3968
  entityType: f.ActionDescriptor,
3969
- entityId: fr.Validate
3969
+ entityId: pr.Validate
3970
3970
  }, v7e = {
3971
3971
  id: kd.inputs.entityToMatch.id,
3972
3972
  type: f.ValueDescriptor,
@@ -3987,7 +3987,7 @@ const X9e = {
3987
3987
  }, E7e = {
3988
3988
  type: f.GenericReference,
3989
3989
  id: "validate-data-operation-output-entity-declaration-parent-ref",
3990
- entityId: fr.Validate,
3990
+ entityId: pr.Validate,
3991
3991
  version: "1",
3992
3992
  entityType: f.ActionDescriptor
3993
3993
  }, T7e = {
@@ -4010,7 +4010,7 @@ const X9e = {
4010
4010
  }, I7e = {
4011
4011
  type: f.GenericReference,
4012
4012
  id: "wait-operation-error-parent-ref",
4013
- entityId: fr.Validate,
4013
+ entityId: pr.Validate,
4014
4014
  version: "1",
4015
4015
  entityType: f.ActionDescriptor
4016
4016
  }, A7e = {
@@ -4031,7 +4031,7 @@ const X9e = {
4031
4031
  parent: I7e,
4032
4032
  parentRelationType: le.ReturnedError
4033
4033
  }, Sd = {
4034
- id: fr.Validate,
4034
+ id: pr.Validate,
4035
4035
  type: f.ActionDescriptor,
4036
4036
  description: "Validates the given data to see if it matches the structure of a given type/entity",
4037
4037
  version: "1",
@@ -4040,7 +4040,7 @@ const X9e = {
4040
4040
  previousVersion: null,
4041
4041
  deleted: !1,
4042
4042
  codeName: null,
4043
- name: fr.Validate,
4043
+ name: pr.Validate,
4044
4044
  inputs: [
4045
4045
  v7e,
4046
4046
  f7e
@@ -4049,8 +4049,8 @@ const X9e = {
4049
4049
  error: A7e,
4050
4050
  parent: null
4051
4051
  }, b7e = {
4052
- [fr.CreateNewInstance]: Kd,
4053
- [fr.Validate]: Sd
4052
+ [pr.CreateNewInstance]: Kd,
4053
+ [pr.Validate]: Sd
4054
4054
  }, Xr = fe[f.Operation]["base-http-request"], w7e = {
4055
4055
  type: f.GenericReference,
4056
4056
  id: "d87cf943-57e1-4d19-9f05-190fa8c8ebc4",
@@ -27330,7 +27330,7 @@ var H2 = { exports: {} };
27330
27330
  (function(i, a) {
27331
27331
  d.exports = a();
27332
27332
  })(Vs, function() {
27333
- var i = 1e3, a = 6e4, o = 36e5, p = "millisecond", e = "second", y = "minute", v = "hour", E = "day", w = "week", A = "month", C = "quarter", N = "year", x = "date", G = "Invalid Date", K = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, S = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, re = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function($e) {
27333
+ var i = 1e3, a = 6e4, o = 36e5, p = "millisecond", e = "second", y = "minute", v = "hour", E = "day", w = "week", A = "month", C = "quarter", N = "year", M = "date", G = "Invalid Date", K = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, S = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, re = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function($e) {
27334
27334
  var Ce = ["th", "st", "nd", "rd"], Oe = $e % 100;
27335
27335
  return "[" + $e + (Ce[(Oe - 20) % 10] || Ce[Oe] || Ce[0]) + "]";
27336
27336
  } }, J = function($e, Ce, Oe) {
@@ -27347,7 +27347,7 @@ var H2 = { exports: {} };
27347
27347
  }, a: function($e) {
27348
27348
  return $e < 0 ? Math.ceil($e) || 0 : Math.floor($e);
27349
27349
  }, p: function($e) {
27350
- return { M: A, y: N, w, d: E, D: x, h: v, m: y, s: e, ms: p, Q: C }[$e] || String($e || "").toLowerCase().replace(/s$/, "");
27350
+ return { M: A, y: N, w, d: E, D: M, h: v, m: y, s: e, ms: p, Q: C }[$e] || String($e || "").toLowerCase().replace(/s$/, "");
27351
27351
  }, u: function($e) {
27352
27352
  return $e === void 0;
27353
27353
  } }, Y = "en", ue = {};
@@ -27437,7 +27437,7 @@ var H2 = { exports: {} };
27437
27437
  var As = this.$locale().weekStart || 0, rn = ($r < As ? $r + 7 : $r) - As;
27438
27438
  return or(st ? si - rn : si + (6 - rn), Jr);
27439
27439
  case E:
27440
- case x:
27440
+ case M:
27441
27441
  return Ir(rs + "Hours", 0);
27442
27442
  case v:
27443
27443
  return Ir(rs + "Minutes", 1);
@@ -27451,10 +27451,10 @@ var H2 = { exports: {} };
27451
27451
  }, Ce.endOf = function(Oe) {
27452
27452
  return this.startOf(Oe, !1);
27453
27453
  }, Ce.$set = function(Oe, ke) {
27454
- var Be, st = de.p(Oe), bt = "set" + (this.$u ? "UTC" : ""), or = (Be = {}, Be[E] = bt + "Date", Be[x] = bt + "Date", Be[A] = bt + "Month", Be[N] = bt + "FullYear", Be[v] = bt + "Hours", Be[y] = bt + "Minutes", Be[e] = bt + "Seconds", Be[p] = bt + "Milliseconds", Be)[st], Ir = st === E ? this.$D + (ke - this.$W) : ke;
27454
+ var Be, st = de.p(Oe), bt = "set" + (this.$u ? "UTC" : ""), or = (Be = {}, Be[E] = bt + "Date", Be[M] = bt + "Date", Be[A] = bt + "Month", Be[N] = bt + "FullYear", Be[v] = bt + "Hours", Be[y] = bt + "Minutes", Be[e] = bt + "Seconds", Be[p] = bt + "Milliseconds", Be)[st], Ir = st === E ? this.$D + (ke - this.$W) : ke;
27455
27455
  if (st === A || st === N) {
27456
- var $r = this.clone().set(x, 1);
27457
- $r.$d[or](Ir), $r.init(), this.$d = $r.set(x, Math.min(this.$D, $r.daysInMonth())).$d;
27456
+ var $r = this.clone().set(M, 1);
27457
+ $r.$d[or](Ir), $r.init(), this.$d = $r.set(M, Math.min(this.$D, $r.daysInMonth())).$d;
27458
27458
  } else
27459
27459
  or && this.$d[or](Ir);
27460
27460
  return this.init(), this;
@@ -27604,7 +27604,7 @@ var H2 = { exports: {} };
27604
27604
  return this.$d.toUTCString();
27605
27605
  }, $e;
27606
27606
  }(), Me = ve.prototype;
27607
- return Q.prototype = Me, [["$ms", p], ["$s", e], ["$m", y], ["$H", v], ["$W", E], ["$M", A], ["$y", N], ["$D", x]].forEach(function($e) {
27607
+ return Q.prototype = Me, [["$ms", p], ["$s", e], ["$m", y], ["$H", v], ["$W", E], ["$M", A], ["$y", N], ["$D", M]].forEach(function($e) {
27608
27608
  Me[$e[1]] = function(Ce) {
27609
27609
  return this.$g(Ce, $e[0], $e[1]);
27610
27610
  };
@@ -29497,26 +29497,26 @@ function JC(d, u, i) {
29497
29497
  C,
29498
29498
  // ADDED ENTITIES
29499
29499
  (N) => {
29500
- const x = i.instances[N.id] || i.deletedInstances[N.id];
29500
+ const M = i.instances[N.id] || i.deletedInstances[N.id];
29501
29501
  let G = "";
29502
29502
  try {
29503
29503
  G = W(N, i);
29504
29504
  } catch {
29505
29505
  }
29506
- if (!x)
29506
+ if (!M)
29507
29507
  throw new Error(
29508
29508
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" doesn't have an 'activeVersion' set.`
29509
29509
  );
29510
- if (!x.knownVersions)
29510
+ if (!M.knownVersions)
29511
29511
  throw new Error(
29512
29512
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" has an active version instance missing the 'knownVersions' property value.`
29513
29513
  );
29514
- if (!x.knownVersions.get(N.version))
29514
+ if (!M.knownVersions.get(N.version))
29515
29515
  throw new Error(
29516
29516
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" has an active version instance missing the 'knownVersions' property value for version "${N.version}".`
29517
29517
  );
29518
- x.restoreVersion(N.version), o.timestamp = x.createdAt, o.add(
29519
- x,
29518
+ M.restoreVersion(N.version), o.timestamp = M.createdAt, o.add(
29519
+ M,
29520
29520
  F.Added,
29521
29521
  {
29522
29522
  preventRecursion: !0
@@ -29525,26 +29525,26 @@ function JC(d, u, i) {
29525
29525
  },
29526
29526
  // UPDATED ENTITIES
29527
29527
  (N) => {
29528
- const x = i.instances[N.id] || i.deletedInstances[N.id];
29528
+ const M = i.instances[N.id] || i.deletedInstances[N.id];
29529
29529
  let G = "";
29530
29530
  try {
29531
29531
  G = W(N, i);
29532
29532
  } catch {
29533
29533
  }
29534
- if (!x)
29534
+ if (!M)
29535
29535
  throw new Error(
29536
29536
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" doesn't have an 'activeVersion' set.`
29537
29537
  );
29538
- if (!x.knownVersions)
29538
+ if (!M.knownVersions)
29539
29539
  throw new Error(
29540
29540
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" has an active version instance missing the 'knownVersions' property value.`
29541
29541
  );
29542
- if (!x.knownVersions.get(N.version))
29542
+ if (!M.knownVersions.get(N.version))
29543
29543
  throw new Error(
29544
29544
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" has an active version instance missing the 'knownVersions' property value for version "${N.version}".`
29545
29545
  );
29546
- x.restoreVersion(N.version), o.timestamp = x.createdAt, o.add(
29547
- x,
29546
+ M.restoreVersion(N.version), o.timestamp = M.createdAt, o.add(
29547
+ M,
29548
29548
  F.Updated,
29549
29549
  {
29550
29550
  preventRecursion: !0
@@ -29553,26 +29553,26 @@ function JC(d, u, i) {
29553
29553
  },
29554
29554
  // REMOVED ENTITIES
29555
29555
  (N) => {
29556
- const x = i.instances[N.id] || i.deletedInstances[N.id];
29556
+ const M = i.instances[N.id] || i.deletedInstances[N.id];
29557
29557
  let G = "";
29558
29558
  try {
29559
29559
  G = W(N, i);
29560
29560
  } catch {
29561
29561
  }
29562
- if (!x)
29562
+ if (!M)
29563
29563
  throw new Error(
29564
29564
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" doesn't have an 'activeVersion' set.`
29565
29565
  );
29566
- if (!x.knownVersions)
29566
+ if (!M.knownVersions)
29567
29567
  throw new Error(
29568
29568
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" has an active version instance missing the 'knownVersions' property value.`
29569
29569
  );
29570
- if (!x.knownVersions.get(N.version))
29570
+ if (!M.knownVersions.get(N.version))
29571
29571
  throw new Error(
29572
29572
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" has an active version instance missing the 'knownVersions' property value for version "${N.version}".`
29573
29573
  );
29574
- x.restoreVersion(N.version), o.timestamp = x.createdAt, o.add(
29575
- x,
29574
+ M.restoreVersion(N.version), o.timestamp = M.createdAt, o.add(
29575
+ M,
29576
29576
  F.Removed,
29577
29577
  {
29578
29578
  preventRecursion: !0
@@ -29602,26 +29602,26 @@ function JC(d, u, i) {
29602
29602
  C,
29603
29603
  // ADDED ENTITIES
29604
29604
  (N) => {
29605
- const x = i.instances[N.id] || i.deletedInstances[N.id];
29605
+ const M = i.instances[N.id] || i.deletedInstances[N.id];
29606
29606
  let G = "";
29607
29607
  try {
29608
29608
  G = W(N, i);
29609
29609
  } catch {
29610
29610
  }
29611
- if (!x)
29611
+ if (!M)
29612
29612
  throw new Error(
29613
29613
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" doesn't have an 'activeVersion' set.`
29614
29614
  );
29615
- if (!x.knownVersions)
29615
+ if (!M.knownVersions)
29616
29616
  throw new Error(
29617
29617
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" has an active version instance missing the 'knownVersions' property value.`
29618
29618
  );
29619
- if (!x.knownVersions.get(N.version))
29619
+ if (!M.knownVersions.get(N.version))
29620
29620
  throw new Error(
29621
29621
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" has an active version instance missing the 'knownVersions' property value for version "${N.version}".`
29622
29622
  );
29623
- N.previousVersion && x.restoreVersion(N.previousVersion), o.timestamp = x.createdAt, o.add(
29624
- x,
29623
+ N.previousVersion && M.restoreVersion(N.previousVersion), o.timestamp = M.createdAt, o.add(
29624
+ M,
29625
29625
  F.Removed,
29626
29626
  {
29627
29627
  preventRecursion: !0
@@ -29630,26 +29630,26 @@ function JC(d, u, i) {
29630
29630
  },
29631
29631
  // UPDATED ENTITIES
29632
29632
  (N) => {
29633
- const x = i.instances[N.id] || i.deletedInstances[N.id];
29633
+ const M = i.instances[N.id] || i.deletedInstances[N.id];
29634
29634
  let G = "";
29635
29635
  try {
29636
29636
  G = W(N, i);
29637
29637
  } catch {
29638
29638
  }
29639
- if (!x)
29639
+ if (!M)
29640
29640
  throw new Error(
29641
29641
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" doesn't have an 'activeVersion' set.`
29642
29642
  );
29643
- if (!x.knownVersions)
29643
+ if (!M.knownVersions)
29644
29644
  throw new Error(
29645
29645
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" has an active version instance missing the 'knownVersions' property value.`
29646
29646
  );
29647
- if (!x.knownVersions.get(N.version))
29647
+ if (!M.knownVersions.get(N.version))
29648
29648
  throw new Error(
29649
29649
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" has an active version instance missing the 'knownVersions' property value for version "${N.version}".`
29650
29650
  );
29651
- x.restoreVersion(N.previousVersion), o.timestamp = x.createdAt, o.add(
29652
- x,
29651
+ M.restoreVersion(N.previousVersion), o.timestamp = M.createdAt, o.add(
29652
+ M,
29653
29653
  F.Updated,
29654
29654
  {
29655
29655
  preventRecursion: !0
@@ -29658,26 +29658,26 @@ function JC(d, u, i) {
29658
29658
  },
29659
29659
  // REMOVED ENTITIES
29660
29660
  (N) => {
29661
- const x = i.instances[N.id] || i.deletedInstances[N.id];
29661
+ const M = i.instances[N.id] || i.deletedInstances[N.id];
29662
29662
  let G = "";
29663
29663
  try {
29664
29664
  G = W(N, i);
29665
29665
  } catch {
29666
29666
  }
29667
- if (!x)
29667
+ if (!M)
29668
29668
  throw new Error(
29669
29669
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" doesn't have an 'activeVersion' set.`
29670
29670
  );
29671
- if (!x.knownVersions)
29671
+ if (!M.knownVersions)
29672
29672
  throw new Error(
29673
29673
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" has an active version instance missing the 'knownVersions' property value.`
29674
29674
  );
29675
- if (!x.knownVersions.get(N.version))
29675
+ if (!M.knownVersions.get(N.version))
29676
29676
  throw new Error(
29677
29677
  `Entity ${N.type} ${G ? `"${G}" ` : ""}with id "${N.id}" has an active version instance missing the 'knownVersions' property value for version "${N.version}".`
29678
29678
  );
29679
- x.restoreVersion(N.previousVersion), o.timestamp = x.createdAt, o.add(
29680
- x,
29679
+ M.restoreVersion(N.previousVersion), o.timestamp = M.createdAt, o.add(
29680
+ M,
29681
29681
  F.Added,
29682
29682
  {
29683
29683
  preventRecursion: !0
@@ -29886,7 +29886,7 @@ const $t = class $t extends Or {
29886
29886
  )
29887
29887
  ), N = C.find(
29888
29888
  (K) => K.name === o.name
29889
- ), x = C.length ? `The parent entity already implements the following arguments: ${it(
29889
+ ), M = C.length ? `The parent entity already implements the following arguments: ${it(
29890
29890
  C.map(
29891
29891
  (K) => `'${K.id}' (${K.name})`
29892
29892
  ),
@@ -29906,7 +29906,7 @@ const $t = class $t extends Or {
29906
29906
  severity: q.Error,
29907
29907
  message: `Entity of type '${f.ArgumentDeclaration}' with id '${o.id}' should not exist in a parent entity of type '${v.type}' with id '${v.id}' that implements a ${f.ActionDescriptor} with fixed arguments.
29908
29908
  Adding a new argument would make the implementation invalid. An argument with the same name already exists in the parent entity.
29909
- ${x}
29909
+ ${M}
29910
29910
  ${G}`
29911
29911
  })
29912
29912
  ) : p.push(
@@ -29916,7 +29916,7 @@ ${G}`
29916
29916
  severity: q.Error,
29917
29917
  message: `Entity of type '${f.ArgumentDeclaration}' with id '${o.id}' should not exist in a parent entity of type '${v.type}' with id '${v.id}' that implements a ${f.ActionDescriptor} with fixed arguments.
29918
29918
  Adding a new argument would make the implementation invalid. There are no arguments in the descriptor with the same name.
29919
- ${x}
29919
+ ${M}
29920
29920
  ${G}`
29921
29921
  })
29922
29922
  );
@@ -30750,7 +30750,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
30750
30750
  let e = Fr(a, this);
30751
30751
  const y = this.toJSON(), v = o || P.UUID.uuid();
30752
30752
  y.dataType = null, y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
30753
- const E = ur(
30753
+ const E = dr(
30754
30754
  y,
30755
30755
  e
30756
30756
  );
@@ -31154,7 +31154,7 @@ const Pt = class Pt extends Or {
31154
31154
  o = e.modifiedData;
31155
31155
  const y = xB(o, a), v = o.parent ? a.get(o.parent) : null;
31156
31156
  if (v && v.type === f.DefinitionEntity) {
31157
- const C = v, x = xi(C).filter(
31157
+ const C = v, M = xi(C).filter(
31158
31158
  (K) => !K.interactive
31159
31159
  ), G = C.methods.find(
31160
31160
  (K) => {
@@ -31172,16 +31172,16 @@ A ${f.FunctionDeclaration} that has a parent of type '${f.DefinitionEntity}' is
31172
31172
  ${f.ActionDescriptor} entities inside a ${f.DefinitionEntity} are considered abstract methods that can be implemented by ${f.FunctionDeclaration} entities inside the same parent.
31173
31173
  If you want to modify the existing implementation, you can update the existing method instead, but it will have to match the same base ${f.ActionDescriptor} signature, otherwise the implementation will have a validation error.`
31174
31174
  })
31175
- ), !o.implements && x.length) {
31176
- let K = x.length > 1 ? `The entity of type '${i.type}' with id '${i.id}' can't be added to the 'parent' entity with id '${C.id}' because it extends or implements multiple '${f.BuiltInBaseEntity}' entities that are non-interactive ("${it(
31177
- x.map(
31175
+ ), !o.implements && M.length) {
31176
+ let K = M.length > 1 ? `The entity of type '${i.type}' with id '${i.id}' can't be added to the 'parent' entity with id '${C.id}' because it extends or implements multiple '${f.BuiltInBaseEntity}' entities that are non-interactive ("${it(
31177
+ M.map(
31178
31178
  (S) => W(S, S.project)
31179
31179
  ),
31180
31180
  '", "',
31181
31181
  '" and "'
31182
31182
  )}").` : `The entity of type '${i.type}' with id '${i.id}' can't be added to the 'parent' entity with id '${C.id}' because it extends or implements a '${f.BuiltInBaseEntity}' entity that is non-interactive ("${W(
31183
- x[0],
31184
- x[0].project
31183
+ M[0],
31184
+ M[0].project
31185
31185
  )}").`;
31186
31186
  K += `
31187
31187
  ${nl}`, K += `
@@ -32193,13 +32193,13 @@ Please consider than any updates might affect the overlap with the signature of
32193
32193
  let y = Fr(a, this);
32194
32194
  const v = this.toJSON(), E = o || P.UUID.uuid();
32195
32195
  v.inputs = [], v.calls = [], v.id = E, v.version = P.UUID.uuid(), v.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), v.author = (i == null ? void 0 : i.author) || "1", v.previousVersion = null, v.deleted = !1;
32196
- const w = ur(
32196
+ const w = dr(
32197
32197
  v,
32198
32198
  y
32199
32199
  );
32200
32200
  a ? w.setParent(a, null) : w.setParent(this.parent, null), p && w.subscribe(), w.initChildren(i), i == null || i.add(w, F.Added);
32201
32201
  const A = (N = this.inputs) == null ? void 0 : N.map(
32202
- (x) => x.clone(
32202
+ (M) => M.clone(
32203
32203
  i,
32204
32204
  w,
32205
32205
  P.UUID.uuid(),
@@ -32208,7 +32208,7 @@ Please consider than any updates might affect the overlap with the signature of
32208
32208
  )
32209
32209
  );
32210
32210
  return w.inputs = A, e ? (Ns(this).map(
32211
- (x) => x.clone(
32211
+ (M) => M.clone(
32212
32212
  i,
32213
32213
  w,
32214
32214
  P.UUID.uuid(),
@@ -32365,8 +32365,8 @@ Please consider than any updates might affect the overlap with the signature of
32365
32365
  self: this
32366
32366
  };
32367
32367
  this.inputs.forEach((C) => {
32368
- var x;
32369
- if (!(((x = this.implements) == null ? void 0 : x.inputs) || []).find(
32368
+ var M;
32369
+ if (!(((M = this.implements) == null ? void 0 : M.inputs) || []).find(
32370
32370
  (G) => {
32371
32371
  var K;
32372
32372
  return G.id === ((K = C.implements) == null ? void 0 : K.id);
@@ -32376,13 +32376,13 @@ Please consider than any updates might affect the overlap with the signature of
32376
32376
  p.push(...G.removed), a.push(...G.updated);
32377
32377
  }
32378
32378
  }), this.inputs.filter((C, N) => {
32379
- const x = this.inputs.findIndex(
32379
+ const M = this.inputs.findIndex(
32380
32380
  (K) => K.implements === C.implements && K !== C
32381
32381
  );
32382
- if (x === -1)
32382
+ if (M === -1)
32383
32383
  return !1;
32384
- const G = this.inputs[x];
32385
- return V(G == null ? void 0 : G.createdAt).isSame(V(C.createdAt)) ? N > x : !!V(G == null ? void 0 : G.createdAt).isAfter(C.createdAt);
32384
+ const G = this.inputs[M];
32385
+ return V(G == null ? void 0 : G.createdAt).isSame(V(C.createdAt)) ? N > M : !!V(G == null ? void 0 : G.createdAt).isAfter(C.createdAt);
32386
32386
  }).forEach((C) => {
32387
32387
  const N = C.remove({ ignoreUpstream: !1 }, i);
32388
32388
  p.push(...N.removed), a.push(...N.updated);
@@ -32391,9 +32391,9 @@ Please consider than any updates might affect the overlap with the signature of
32391
32391
  let E = !0;
32392
32392
  if (v) {
32393
32393
  const C = this.parent.properties.find(
32394
- (x) => {
32394
+ (M) => {
32395
32395
  var G;
32396
- return ((G = x.implements) == null ? void 0 : G.id) === fe["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.properties.method.id;
32396
+ return ((G = M.implements) == null ? void 0 : G.id) === fe["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.properties.method.id;
32397
32397
  }
32398
32398
  ), N = (((A = C == null ? void 0 : C.defaultValue) == null ? void 0 : A.value) || "").toString().toLowerCase();
32399
32399
  E = !(N === "get" || N === "head" || N === "options");
@@ -32401,8 +32401,8 @@ Please consider than any updates might affect the overlap with the signature of
32401
32401
  if (v && !E) {
32402
32402
  const C = this.inputs.find(
32403
32403
  (N) => {
32404
- var x;
32405
- return ((x = N.implements) == null ? void 0 : x.id) === fe["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.methods.handler.inputs.body.id;
32404
+ var M;
32405
+ return ((M = N.implements) == null ? void 0 : M.id) === fe["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.methods.handler.inputs.body.id;
32406
32406
  }
32407
32407
  );
32408
32408
  if (C) {
@@ -32432,7 +32432,7 @@ Please consider than any updates might affect the overlap with the signature of
32432
32432
  "sync-missing-fixed-inputs"
32433
32433
  )
32434
32434
  )) {
32435
- var N, x, G;
32435
+ var N, M, G;
32436
32436
  const a = [], o = [], p = [], e = [], y = (((N = this.implements) == null ? void 0 : N.inputs) || []).filter(
32437
32437
  (K) => K.parentRelationType === le.FixedArguments && !this.inputs.find(
32438
32438
  (S) => {
@@ -32442,7 +32442,7 @@ Please consider than any updates might affect the overlap with the signature of
32442
32442
  )
32443
32443
  );
32444
32444
  this.inputs.sort((K, S) => K.index - S.index);
32445
- const v = ((x = this.implements) == null ? void 0 : x.id) === fe["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.methods.handler.id;
32445
+ const v = ((M = this.implements) == null ? void 0 : M.id) === fe["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.methods.handler.id;
32446
32446
  let E = !0;
32447
32447
  if (v) {
32448
32448
  const K = this.parent.properties.find(
@@ -32777,7 +32777,7 @@ const Nt = class Nt extends Or {
32777
32777
  );
32778
32778
  if (C.length) {
32779
32779
  const N = C.length > 1 ? `entities with ids '${it(
32780
- C.map((x) => x.id),
32780
+ C.map((M) => M.id),
32781
32781
  "', '",
32782
32782
  "' and '"
32783
32783
  )}'` : `entity with id '${C[0].id}'`;
@@ -33718,7 +33718,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
33718
33718
  "clone-entity"
33719
33719
  )
33720
33720
  ), a = null, o = null, p = !0) {
33721
- var N, x, G;
33721
+ var N, M, G;
33722
33722
  let e = Fr(a, this), y = a || this.parent;
33723
33723
  const E = {
33724
33724
  id: o || P.UUID.uuid(),
@@ -33743,7 +33743,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
33743
33743
  orChildrenGroup: null,
33744
33744
  entity: null,
33745
33745
  parent: y.toReference()
33746
- }, w = ur(
33746
+ }, w = dr(
33747
33747
  E,
33748
33748
  e
33749
33749
  );
@@ -33756,7 +33756,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
33756
33756
  // parentIdPrefix + '-and-group-data-type-' + index + '-id',
33757
33757
  p
33758
33758
  )
33759
- ), C = (x = this.orChildrenGroup) == null ? void 0 : x.map(
33759
+ ), C = (M = this.orChildrenGroup) == null ? void 0 : M.map(
33760
33760
  (K) => K.clone(
33761
33761
  i,
33762
33762
  w,
@@ -34602,7 +34602,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
34602
34602
  removed: C
34603
34603
  } = this.syncOutputs(i), {
34604
34604
  updated: N,
34605
- added: x,
34605
+ added: M,
34606
34606
  removed: G
34607
34607
  } = this.declaration.syncOperationInstance(this, i);
34608
34608
  return a.push(
@@ -35402,18 +35402,18 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35402
35402
  "clone-entity"
35403
35403
  )
35404
35404
  ), a = null, o = null, p = !0) {
35405
- var x, G;
35405
+ var M, G;
35406
35406
  let e = Fr(a, this);
35407
35407
  const y = this.toJSON(), v = o || P.UUID.uuid();
35408
35408
  y.inputs = [];
35409
35409
  const E = v.split("-id"), w = E[E.length - 1 || 0] || v;
35410
35410
  y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
35411
- const A = ur(
35411
+ const A = dr(
35412
35412
  y,
35413
35413
  e
35414
35414
  );
35415
35415
  a ? A.setParent(a, null) : A.setParent(this.parent, null), p && A.subscribe(), A.initChildren(i), i == null || i.add(A, F.Added);
35416
- const C = (x = this.inputs) == null ? void 0 : x.map(
35416
+ const C = (M = this.inputs) == null ? void 0 : M.map(
35417
35417
  (K, S) => K.clone(
35418
35418
  i,
35419
35419
  A,
@@ -35548,8 +35548,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35548
35548
  )
35549
35549
  );
35550
35550
  this.inputs.sort((A, C) => A.index - C.index), y.forEach((A) => {
35551
- this.inputs.forEach((x) => {
35552
- x.index >= A.index && x.metaSync({ index: x.index + 1 }, i);
35551
+ this.inputs.forEach((M) => {
35552
+ M.index >= A.index && M.metaSync({ index: M.index + 1 }, i);
35553
35553
  });
35554
35554
  const C = {
35555
35555
  id: P.UUID.uuid(),
@@ -35609,8 +35609,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35609
35609
  )
35610
35610
  );
35611
35611
  this.outputs.sort((A, C) => A.index - C.index), y.forEach((A) => {
35612
- this.outputs.forEach((x) => {
35613
- x.index >= A.index && x.index++;
35612
+ this.outputs.forEach((M) => {
35613
+ M.index >= A.index && M.index++;
35614
35614
  });
35615
35615
  const C = {
35616
35616
  id: P.UUID.uuid(),
@@ -35914,7 +35914,7 @@ ${c$}`
35914
35914
  if (C) {
35915
35915
  const N = C.outputs.find(
35916
35916
  (J) => J.name === o.name
35917
- ), x = C.outputs.filter((J) => !w.outputs.find(
35917
+ ), M = C.outputs.filter((J) => !w.outputs.find(
35918
35918
  (Y) => Y.type === f.ReturnDeclaration && Y.name === J.name
35919
35919
  )), G = w.outputs.filter(
35920
35920
  (J) => J.type === f.ReturnDeclaration
@@ -35926,8 +35926,8 @@ ${c$}`
35926
35926
  ),
35927
35927
  ", ",
35928
35928
  " and "
35929
- )}.` : "The parent entity does not yet have any implemented return declarations.", re = x.length ? `The parent entity is still missing the following returns in the implementation: ${it(
35930
- x.map(
35929
+ )}.` : "The parent entity does not yet have any implemented return declarations.", re = M.length ? `The parent entity is still missing the following returns in the implementation: ${it(
35930
+ M.map(
35931
35931
  (J) => `'${J.id}' (${J.name})`
35932
35932
  ),
35933
35933
  ", ",
@@ -36856,7 +36856,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
36856
36856
  let e = Fr(a, this);
36857
36857
  const y = this.toJSON(), v = o || P.UUID.uuid();
36858
36858
  y.dataType = null, y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
36859
- const E = ur(
36859
+ const E = dr(
36860
36860
  y,
36861
36861
  e
36862
36862
  );
@@ -38105,13 +38105,13 @@ Specifically for continue statements the parent needs to always be the 'loop' en
38105
38105
  y.outputs = [];
38106
38106
  const E = v.split("-id"), w = E[E.length - 1 || 0] || v;
38107
38107
  y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
38108
- const A = ur(
38108
+ const A = dr(
38109
38109
  y,
38110
38110
  e
38111
38111
  );
38112
38112
  a ? A.setParent(a, null) : A.setParent(this.parent, null), p && A.subscribe(), A.initChildren(i), i == null || i.add(A, F.Added);
38113
38113
  const C = (N = this.outputs) == null ? void 0 : N.map(
38114
- (x, G) => x.clone(
38114
+ (M, G) => M.clone(
38115
38115
  i,
38116
38116
  A,
38117
38117
  w + "-return-declaration-" + G + "-id",
@@ -39156,13 +39156,13 @@ Specifically for return statements the parent needs to always be the 'function-d
39156
39156
  y.outputs = [];
39157
39157
  const E = v.split("-id"), w = E[E.length - 1 || 0] || v;
39158
39158
  y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
39159
- const A = ur(
39159
+ const A = dr(
39160
39160
  y,
39161
39161
  e
39162
39162
  );
39163
39163
  a ? A.setParent(a, null) : A.setParent(this.parent, null), p && A.subscribe(), A.initChildren(i), i == null || i.add(A, F.Added);
39164
39164
  const C = (N = this.outputs) == null ? void 0 : N.map(
39165
- (x, G) => x.clone(
39165
+ (M, G) => M.clone(
39166
39166
  i,
39167
39167
  A,
39168
39168
  w + "-return-declaration-" + G + "-id",
@@ -39197,13 +39197,13 @@ Specifically for return statements the parent needs to always be the 'function-d
39197
39197
  return this.throws && this.outputs.length && this.outputs.forEach((C) => {
39198
39198
  var N;
39199
39199
  if (C.id !== ((N = this.throws) == null ? void 0 : N.id)) {
39200
- const { updated: x, removed: G } = C.remove(
39200
+ const { updated: M, removed: G } = C.remove(
39201
39201
  {
39202
39202
  ignoreUpstream: !0
39203
39203
  },
39204
39204
  i
39205
39205
  );
39206
- a.push(...x), p.push(...G), this.removeOutputDeclaration(C, i);
39206
+ a.push(...M), p.push(...G), this.removeOutputDeclaration(C, i);
39207
39207
  }
39208
39208
  }), i == null || i.attemptAutoclose("sync-return-declarations", this.id), {
39209
39209
  updated: _(
@@ -39227,13 +39227,13 @@ Specifically for return statements the parent needs to always be the 'function-d
39227
39227
  const C = v.implementAsReturnDeclaration(i, this);
39228
39228
  return o.push(C), this.outputs.forEach((N) => {
39229
39229
  if (N.id !== C.id) {
39230
- const { updated: x, removed: G } = N.remove(
39230
+ const { updated: M, removed: G } = N.remove(
39231
39231
  {
39232
39232
  ignoreUpstream: !0
39233
39233
  },
39234
39234
  i
39235
39235
  );
39236
- a.push(...x), p.push(...G), this.removeOutputDeclaration(N, i);
39236
+ a.push(...M), p.push(...G), this.removeOutputDeclaration(N, i);
39237
39237
  }
39238
39238
  }), i == null || i.attemptAutoclose("sync-return-declarations", this.id), {
39239
39239
  updated: _(
@@ -39260,8 +39260,8 @@ Specifically for return statements the parent needs to always be the 'function-d
39260
39260
  }
39261
39261
  return E.filter(
39262
39262
  (C) => !this.outputs.find((N) => {
39263
- var x;
39264
- return ((x = N.implements) == null ? void 0 : x.id) === C.id && !N.isError;
39263
+ var M;
39264
+ return ((M = N.implements) == null ? void 0 : M.id) === C.id && !N.isError;
39265
39265
  })
39266
39266
  ).forEach((C) => {
39267
39267
  const N = C.implementAsReturnDeclaration(i, this);
@@ -40320,7 +40320,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
40320
40320
  v.inputs = [];
40321
40321
  const w = E.split("-id"), A = w[w.length - 1 || 0] || E;
40322
40322
  v.id = E, v.version = P.UUID.uuid(), v.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), v.author = (i == null ? void 0 : i.author) || "1", v.previousVersion = null, v.deleted = !1;
40323
- const C = ur(
40323
+ const C = dr(
40324
40324
  v,
40325
40325
  y
40326
40326
  );
@@ -41344,7 +41344,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
41344
41344
  ), y = [];
41345
41345
  if (this.outputs.length) {
41346
41346
  const E = this.outputs.map(
41347
- (N, x) => {
41347
+ (N, M) => {
41348
41348
  var K;
41349
41349
  const G = {
41350
41350
  id: P.UUID.uuid(),
@@ -41371,7 +41371,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
41371
41371
  defaultValue: null,
41372
41372
  implements: N.toJSON(),
41373
41373
  isError: !1,
41374
- index: x,
41374
+ index: M,
41375
41375
  dataType: ((K = N.dataType) == null ? void 0 : K.toJSONClone()) || null,
41376
41376
  parent: G
41377
41377
  };
@@ -41489,13 +41489,13 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
41489
41489
  index: A,
41490
41490
  dataType: null,
41491
41491
  parent: C
41492
- }, x = se(
41492
+ }, M = se(
41493
41493
  N,
41494
41494
  this.project
41495
41495
  );
41496
- x.setParent(E, i), x.initChildren(i), i == null || i.add(x, F.Added), x.hydrateAncestors(), x.addSelfToProject(i);
41497
- const G = ((K = w.dataType) == null ? void 0 : K.clone(i, x)) || null;
41498
- G && (i == null || i.add(G, F.Added)), x.setDataType(G, i);
41496
+ M.setParent(E, i), M.initChildren(i), i == null || i.add(M, F.Added), M.hydrateAncestors(), M.addSelfToProject(i);
41497
+ const G = ((K = w.dataType) == null ? void 0 : K.clone(i, M)) || null;
41498
+ G && (i == null || i.add(G, F.Added)), M.setDataType(G, i);
41499
41499
  }), this.outputs.length) {
41500
41500
  const w = P.UUID.uuid(), A = P.UUID.uuid(), C = {
41501
41501
  id: P.UUID.uuid(),
@@ -41510,7 +41510,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
41510
41510
  version: y,
41511
41511
  entityType: f.GlobalEvent,
41512
41512
  entityId: e
41513
- }, x = {
41513
+ }, M = {
41514
41514
  id: w,
41515
41515
  version: A,
41516
41516
  createdAt: (i == null ? void 0 : i.timestamp) || V().toISOString(),
@@ -41527,7 +41527,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
41527
41527
  x: 0,
41528
41528
  y: 0
41529
41529
  }, G = se(
41530
- x,
41530
+ M,
41531
41531
  this.project
41532
41532
  );
41533
41533
  G.setParent(E, i), G.initChildren(i), i == null || i.add(G, F.Added), G.hydrateAncestors(), G.addSelfToProject(i), this.outputs.map((K, S) => {
@@ -41617,7 +41617,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
41617
41617
  version: y,
41618
41618
  entityType: f.FunctionDeclaration,
41619
41619
  entityId: e
41620
- }, x = {
41620
+ }, M = {
41621
41621
  id: w,
41622
41622
  version: A,
41623
41623
  createdAt: (i == null ? void 0 : i.timestamp) || V().toISOString(),
@@ -41634,7 +41634,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
41634
41634
  x: 0,
41635
41635
  y: 0
41636
41636
  }, G = se(
41637
- x,
41637
+ M,
41638
41638
  this.project
41639
41639
  );
41640
41640
  G.hydrateAncestors(), G.setParent(E, i), G.addSelfToProject(i), i == null || i.add(G, F.Added), G.initChildren(i);
@@ -41799,7 +41799,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
41799
41799
  v.inputs = [], v.outputs = [], v.error = null;
41800
41800
  const w = E.split("-id"), A = w[w.length - 1 || 0] || E;
41801
41801
  v.id = E, v.version = P.UUID.uuid(), v.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), v.author = (i == null ? void 0 : i.author) || "1", v.previousVersion = null, v.deleted = !1;
41802
- const C = ur(
41802
+ const C = dr(
41803
41803
  v,
41804
41804
  y
41805
41805
  );
@@ -41813,7 +41813,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
41813
41813
  )
41814
41814
  );
41815
41815
  C.inputs = N;
41816
- const x = (K = this.outputs) == null ? void 0 : K.map(
41816
+ const M = (K = this.outputs) == null ? void 0 : K.map(
41817
41817
  (S, re) => S.clone(
41818
41818
  i,
41819
41819
  C,
@@ -41821,7 +41821,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
41821
41821
  p
41822
41822
  )
41823
41823
  );
41824
- return C.outputs = x, this.error && (C.error = this.error.clone(
41824
+ return C.outputs = M, this.error && (C.error = this.error.clone(
41825
41825
  i,
41826
41826
  C,
41827
41827
  A + "-error-action-descriptor-id",
@@ -43315,18 +43315,18 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
43315
43315
  "clone-entity"
43316
43316
  )
43317
43317
  ), a = null, o = null, p = !0) {
43318
- var x, G;
43318
+ var M, G;
43319
43319
  let e = Fr(a, this);
43320
43320
  const y = this.toJSON(), v = o || P.UUID.uuid();
43321
43321
  y.inputs = [];
43322
43322
  const E = v.split("-id"), w = E[E.length - 1 || 0] || v;
43323
43323
  y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
43324
- const A = ur(
43324
+ const A = dr(
43325
43325
  y,
43326
43326
  e
43327
43327
  );
43328
43328
  a ? A.setParent(a, null) : A.setParent(this.parent, null), p && A.subscribe(), A.initChildren(i), i == null || i.add(A, F.Added);
43329
- const C = (x = this.inputs) == null ? void 0 : x.map(
43329
+ const C = (M = this.inputs) == null ? void 0 : M.map(
43330
43330
  (K, S) => K.clone(
43331
43331
  i,
43332
43332
  A,
@@ -43593,9 +43593,9 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
43593
43593
  const {
43594
43594
  updated: C,
43595
43595
  added: N,
43596
- removed: x
43596
+ removed: M
43597
43597
  } = this.removeExtraBodyArgumentDeclarations(i);
43598
- return a.push(...C), o.push(...N), p.push(...x), i == null || i.attemptAutoclose("sync-body-arguments-declarations", this.id), {
43598
+ return a.push(...C), o.push(...N), p.push(...M), i == null || i.attemptAutoclose("sync-body-arguments-declarations", this.id), {
43599
43599
  updated: _(a),
43600
43600
  added: _(o),
43601
43601
  removed: _(p),
@@ -43756,10 +43756,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
43756
43756
  return y.forEach((w) => {
43757
43757
  var N;
43758
43758
  let C = v.find(
43759
- (x) => {
43759
+ (M) => {
43760
43760
  var G, K;
43761
- return ((G = x.declaration) == null ? void 0 : G.id) === w.id && mn(
43762
- (K = x.declaration) == null ? void 0 : K.dataType,
43761
+ return ((G = M.declaration) == null ? void 0 : G.id) === w.id && mn(
43762
+ (K = M.declaration) == null ? void 0 : K.dataType,
43763
43763
  w.dataType
43764
43764
  );
43765
43765
  }
@@ -43767,7 +43767,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
43767
43767
  if (C)
43768
43768
  ((N = C.declaration) == null ? void 0 : N.id) !== w.id && (C.setDeclaration(w, i), a.push(C));
43769
43769
  else {
43770
- const x = {
43770
+ const M = {
43771
43771
  id: P.UUID.uuid(),
43772
43772
  version: P.UUID.uuid(),
43773
43773
  createdAt: (i == null ? void 0 : i.timestamp) || V().toISOString(),
@@ -43781,7 +43781,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
43781
43781
  writesValues: [],
43782
43782
  parent: this.toReference()
43783
43783
  }, G = se(
43784
- x,
43784
+ M,
43785
43785
  this.project
43786
43786
  );
43787
43787
  G.setParent(this, i), G.initChildren(i), i == null || i.add(G, F.Added), G.addSelfToProject(i), o.push(G), C = G;
@@ -43972,7 +43972,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
43972
43972
  "create-current-value-input-based-on-input-map"
43973
43973
  )
43974
43974
  )) {
43975
- var w, A, C, N, x, G, K, S, re;
43975
+ var w, A, C, N, M, G, K, S, re;
43976
43976
  const a = [], o = [], p = [], e = [];
43977
43977
  switch (this.declaration.id) {
43978
43978
  case Je.List: {
@@ -44262,7 +44262,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
44262
44262
  F.Added
44263
44263
  ), ce.addSelfToProject(i), z = ce;
44264
44264
  const Q = oe.getDataType(i);
44265
- (((x = Q == null ? void 0 : Q.entity) == null ? void 0 : x.properties) || []).forEach((ve) => {
44265
+ (((M = Q == null ? void 0 : Q.entity) == null ? void 0 : M.properties) || []).forEach((ve) => {
44266
44266
  if (!ve.getDataType(i)) {
44267
44267
  const $e = {
44268
44268
  id: P.UUID.uuid(),
@@ -44829,10 +44829,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
44829
44829
  a.push(...w), o.push(...A), p.push(...C);
44830
44830
  const {
44831
44831
  updated: N,
44832
- added: x,
44832
+ added: M,
44833
44833
  removed: G
44834
44834
  } = this.syncTerminationStatements(i);
44835
- a.push(...N), o.push(...x), p.push(...G);
44835
+ a.push(...N), o.push(...M), p.push(...G);
44836
44836
  const {
44837
44837
  updated: K,
44838
44838
  added: S,
@@ -45029,24 +45029,24 @@ const Zt = class Zt extends Or {
45029
45029
  var C, N;
45030
45030
  let o = a;
45031
45031
  if (i.parent) {
45032
- const x = Z(i.parent);
45033
- o = a.get(x);
45032
+ const M = Z(i.parent);
45033
+ o = a.get(M);
45034
45034
  }
45035
- const p = i.calledByEntry.map((x) => {
45036
- const G = Z(x);
45035
+ const p = i.calledByEntry.map((M) => {
45036
+ const G = Z(M);
45037
45037
  return a.get(G);
45038
- }), e = i.calledBySuccess.map((x) => {
45039
- const G = Z(x);
45038
+ }), e = i.calledBySuccess.map((M) => {
45039
+ const G = Z(M);
45040
45040
  return a.get(G);
45041
- }), y = i.calledByError.map((x) => {
45042
- const G = Z(x);
45041
+ }), y = i.calledByError.map((M) => {
45042
+ const G = Z(M);
45043
45043
  return a.get(G);
45044
45044
  });
45045
45045
  let v;
45046
45046
  if (i.declaration) {
45047
- const x = Z(i.declaration);
45047
+ const M = Z(i.declaration);
45048
45048
  v = a.get(
45049
- x
45049
+ M
45050
45050
  );
45051
45051
  }
45052
45052
  let E = null;
@@ -45061,14 +45061,14 @@ const Zt = class Zt extends Or {
45061
45061
  type: f.Condition,
45062
45062
  index: E,
45063
45063
  declaration: v,
45064
- andChildrenGroup: i.andChildrenGroup ? i.andChildrenGroup.map((x) => {
45065
- const G = Z(x);
45064
+ andChildrenGroup: i.andChildrenGroup ? i.andChildrenGroup.map((M) => {
45065
+ const G = Z(M);
45066
45066
  return a.get(G);
45067
- }).filter((x) => !!x) : null,
45068
- orChildrenGroup: i.orChildrenGroup ? i.orChildrenGroup.map((x) => {
45069
- const G = Z(x);
45067
+ }).filter((M) => !!M) : null,
45068
+ orChildrenGroup: i.orChildrenGroup ? i.orChildrenGroup.map((M) => {
45069
+ const G = Z(M);
45070
45070
  return a.get(G);
45071
- }).filter((x) => !!x) : null,
45071
+ }).filter((M) => !!M) : null,
45072
45072
  calledByEntry: p,
45073
45073
  calledBySuccess: e,
45074
45074
  calledByError: y,
@@ -46258,7 +46258,7 @@ If an entity is called by another, they must be in the same scope, which means t
46258
46258
  y.inputs = [];
46259
46259
  const E = v.split("-id"), w = E[E.length - 1 || 0] || v;
46260
46260
  y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
46261
- const A = ur(
46261
+ const A = dr(
46262
46262
  y,
46263
46263
  e
46264
46264
  );
@@ -46269,7 +46269,7 @@ If an entity is called by another, they must be in the same scope, which means t
46269
46269
  (re) => re.clone(i, A, P.UUID.uuid(), p)
46270
46270
  );
46271
46271
  A.andChildrenGroup = C || null, A.orChildrenGroup = N || null;
46272
- const x = (S = this.inputs) == null ? void 0 : S.map(
46272
+ const M = (S = this.inputs) == null ? void 0 : S.map(
46273
46273
  (re, J) => re.clone(
46274
46274
  i,
46275
46275
  A,
@@ -46277,7 +46277,7 @@ If an entity is called by another, they must be in the same scope, which means t
46277
46277
  p
46278
46278
  )
46279
46279
  );
46280
- return A.inputs = x, i == null || i.attemptAutoclose("clone-entity", this.id), A;
46280
+ return A.inputs = M, i == null || i.attemptAutoclose("clone-entity", this.id), A;
46281
46281
  }
46282
46282
  // Add a child to the 'and' group
46283
46283
  addToAndGroup(i, a = this.project.addChangeSet(
@@ -46365,8 +46365,8 @@ If an entity is called by another, they must be in the same scope, which means t
46365
46365
  )
46366
46366
  );
46367
46367
  this.inputs.sort((A, C) => A.index - C.index), y.forEach((A) => {
46368
- this.inputs.forEach((x) => {
46369
- x.index >= A.index && x.metaSync({ index: x.index + 1 }, i);
46368
+ this.inputs.forEach((M) => {
46369
+ M.index >= A.index && M.metaSync({ index: M.index + 1 }, i);
46370
46370
  });
46371
46371
  const C = {
46372
46372
  id: P.UUID.uuid(),
@@ -46669,14 +46669,14 @@ const Bt = class Bt extends Or {
46669
46669
  const p = Z(i.declaration), e = a.get(
46670
46670
  p
46671
46671
  ), y = i.calledByEntry.map((N) => {
46672
- const x = Z(N);
46673
- return a.get(x);
46672
+ const M = Z(N);
46673
+ return a.get(M);
46674
46674
  }), v = i.calledBySuccess.map((N) => {
46675
- const x = Z(N);
46676
- return a.get(x);
46675
+ const M = Z(N);
46676
+ return a.get(M);
46677
46677
  }), E = i.calledByError.map((N) => {
46678
- const x = Z(N);
46679
- return a.get(x);
46678
+ const M = Z(N);
46679
+ return a.get(M);
46680
46680
  });
46681
46681
  let w = null;
46682
46682
  if (i.readsValue) {
@@ -47174,9 +47174,9 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
47174
47174
  added: A,
47175
47175
  updated: C,
47176
47176
  removed: N,
47177
- affected: x
47177
+ affected: M
47178
47178
  } = this.syncOutputs(i);
47179
- o.push(...A), a.push(...C), p.push(...N), e.push(...x);
47179
+ o.push(...A), a.push(...C), p.push(...N), e.push(...M);
47180
47180
  const {
47181
47181
  added: G,
47182
47182
  updated: K,
@@ -48148,16 +48148,16 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
48148
48148
  "clone-entity"
48149
48149
  )
48150
48150
  ), a = null, o = null, p = !0) {
48151
- var x, G, K, S;
48151
+ var M, G, K, S;
48152
48152
  let e = Fr(a, this);
48153
48153
  const y = this.toJSON(), v = o || P.UUID.uuid();
48154
48154
  y.inputs = [], y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
48155
- const E = ur(
48155
+ const E = dr(
48156
48156
  y,
48157
48157
  e
48158
48158
  );
48159
48159
  a ? E.setParent(a, null) : E.setParent(this.parent, null), p && E.subscribe(), E.initChildren(i), i == null || i.add(E, F.Added);
48160
- const w = (x = this.defaultValue) == null ? void 0 : x.clone(
48160
+ const w = (M = this.defaultValue) == null ? void 0 : M.clone(
48161
48161
  i,
48162
48162
  E,
48163
48163
  P.UUID.uuid(),
@@ -48399,10 +48399,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
48399
48399
  );
48400
48400
  if (!N)
48401
48401
  return;
48402
- const x = Zn(
48402
+ const M = Zn(
48403
48403
  N
48404
48404
  );
48405
- A.setDataType(x, i), C.setDeclaration(A, i);
48405
+ A.setDataType(M, i), C.setDeclaration(A, i);
48406
48406
  }), y.filter((A) => !this.inputs.find(
48407
48407
  (C) => {
48408
48408
  var N;
@@ -48550,8 +48550,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
48550
48550
  ].includes(this.declaration.dataType.entity.type) && !this.declaration.dataType.isList && [
48551
48551
  ...this.declaration.dataType.entity.getAllInteractiveMethods()
48552
48552
  ].filter((E) => !this.internalCalls.find((A) => {
48553
- var N, x, G, K, S;
48554
- return (((N = A.declaration) == null ? void 0 : N.id) || ((G = (x = A.initialData) == null ? void 0 : x.declaration) == null ? void 0 : G.entityId) || ((S = (K = A.initialData) == null ? void 0 : K.declaration) == null ? void 0 : S.id)) === E.id;
48553
+ var N, M, G, K, S;
48554
+ return (((N = A.declaration) == null ? void 0 : N.id) || ((G = (M = A.initialData) == null ? void 0 : M.declaration) == null ? void 0 : G.entityId) || ((S = (K = A.initialData) == null ? void 0 : K.declaration) == null ? void 0 : S.id)) === E.id;
48555
48555
  })).map((E) => {
48556
48556
  const w = E.createInternalCall(i, this);
48557
48557
  return i == null || i.add(w, F.Added), this.addInternalCall(w), w;
@@ -49237,9 +49237,9 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
49237
49237
  added: A,
49238
49238
  updated: C,
49239
49239
  removed: N,
49240
- affected: x
49240
+ affected: M
49241
49241
  } = this.syncOutputs(i);
49242
- o.push(...A), a.push(...C), p.push(...N), e.push(...x);
49242
+ o.push(...A), a.push(...C), p.push(...N), e.push(...M);
49243
49243
  const {
49244
49244
  added: G,
49245
49245
  updated: K,
@@ -49751,11 +49751,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
49751
49751
  a.push(...w), o.push(...E), p.push(...A), e.push(...C);
49752
49752
  const {
49753
49753
  updated: N,
49754
- added: x,
49754
+ added: M,
49755
49755
  removed: G,
49756
49756
  affected: K
49757
49757
  } = this.syncOutputs(i);
49758
- return a.push(...x), o.push(...N), p.push(...G), e.push(...K), this.variableInstances.forEach((H) => {
49758
+ return a.push(...M), o.push(...N), p.push(...G), e.push(...K), this.variableInstances.forEach((H) => {
49759
49759
  const {
49760
49760
  updated: ce,
49761
49761
  added: Q,
@@ -50351,7 +50351,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
50351
50351
  let e = Fr(a, this);
50352
50352
  const y = this.toJSON(), v = o || P.UUID.uuid();
50353
50353
  y.inputs = [], y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
50354
- const E = ur(
50354
+ const E = dr(
50355
50355
  y,
50356
50356
  e
50357
50357
  );
@@ -50390,7 +50390,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
50390
50390
  )
50391
50391
  );
50392
50392
  E.outputs = N;
50393
- const x = (J = this.internalCalls) == null ? void 0 : J.map(
50393
+ const M = (J = this.internalCalls) == null ? void 0 : J.map(
50394
50394
  (oe) => oe.clone(
50395
50395
  i,
50396
50396
  E,
@@ -50399,7 +50399,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
50399
50399
  p
50400
50400
  )
50401
50401
  );
50402
- return E.internalCalls = x, i == null || i.attemptAutoclose("clone-entity", this.id), E;
50402
+ return E.internalCalls = M, i == null || i.attemptAutoclose("clone-entity", this.id), E;
50403
50403
  }
50404
50404
  addInternalCall(i) {
50405
50405
  return this.internalCalls.find((a) => a === i) || this.internalCalls.push(i), this;
@@ -50677,10 +50677,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
50677
50677
  );
50678
50678
  if (!N)
50679
50679
  return;
50680
- const x = Zn(
50680
+ const M = Zn(
50681
50681
  N
50682
50682
  );
50683
- A.setDataType(x, i), C.setDeclaration(A, i);
50683
+ A.setDataType(M, i), C.setDeclaration(A, i);
50684
50684
  }), y.filter((A) => !this.inputs.find(
50685
50685
  (C) => {
50686
50686
  var N;
@@ -50824,8 +50824,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
50824
50824
  ].includes(this.dataType.entity.type) && [
50825
50825
  ...this.dataType.entity.getAllInteractiveMethods()
50826
50826
  ].filter((E) => !this.internalCalls.find((A) => {
50827
- var N, x, G, K, S;
50828
- return (((N = A.declaration) == null ? void 0 : N.id) || ((G = (x = A.initialData) == null ? void 0 : x.declaration) == null ? void 0 : G.entityId) || ((S = (K = A.initialData) == null ? void 0 : K.declaration) == null ? void 0 : S.id)) === E.id;
50827
+ var N, M, G, K, S;
50828
+ return (((N = A.declaration) == null ? void 0 : N.id) || ((G = (M = A.initialData) == null ? void 0 : M.declaration) == null ? void 0 : G.entityId) || ((S = (K = A.initialData) == null ? void 0 : K.declaration) == null ? void 0 : S.id)) === E.id;
50829
50829
  })).map((E) => {
50830
50830
  const w = E.createInternalCall(i, this);
50831
50831
  return i == null || i.add(w, F.Added), this.addInternalCall(w), w;
@@ -52522,7 +52522,7 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
52522
52522
  }
52523
52523
  var v = this.location.start, E = this.location.source && typeof this.location.source.offset == "function" ? this.location.source.offset(v) : v, w = this.location.source + ":" + E.line + ":" + E.column;
52524
52524
  if (e) {
52525
- var A = this.location.end, C = i("", E.line.toString().length, " "), N = e[v.line - 1], x = v.line === A.line ? A.column : N.length + 1, G = x - v.column || 1;
52525
+ var A = this.location.end, C = i("", E.line.toString().length, " "), N = e[v.line - 1], M = v.line === A.line ? A.column : N.length + 1, G = M - v.column || 1;
52526
52526
  p += `
52527
52527
  --> ` + w + `
52528
52528
  ` + C + ` |
@@ -52541,10 +52541,10 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
52541
52541
  },
52542
52542
  // @ts-ignore
52543
52543
  class: function(N) {
52544
- var x = N.parts.map(function(G) {
52544
+ var M = N.parts.map(function(G) {
52545
52545
  return Array.isArray(G) ? E(G[0]) + "-" + E(G[1]) : E(G);
52546
52546
  });
52547
- return "[" + (N.inverted ? "^" : "") + x.join("") + "]";
52547
+ return "[" + (N.inverted ? "^" : "") + M.join("") + "]";
52548
52548
  },
52549
52549
  // @ts-ignore
52550
52550
  any: function() {
@@ -52563,36 +52563,36 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
52563
52563
  return N.charCodeAt(0).toString(16).toUpperCase();
52564
52564
  }
52565
52565
  function v(N) {
52566
- return N.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\0/g, "\\0").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/[\x00-\x0F]/g, function(x) {
52567
- return "\\x0" + y(x);
52568
- }).replace(/[\x10-\x1F\x7F-\x9F]/g, function(x) {
52569
- return "\\x" + y(x);
52566
+ return N.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\0/g, "\\0").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/[\x00-\x0F]/g, function(M) {
52567
+ return "\\x0" + y(M);
52568
+ }).replace(/[\x10-\x1F\x7F-\x9F]/g, function(M) {
52569
+ return "\\x" + y(M);
52570
52570
  });
52571
52571
  }
52572
52572
  function E(N) {
52573
- return N.replace(/\\/g, "\\\\").replace(/\]/g, "\\]").replace(/\^/g, "\\^").replace(/-/g, "\\-").replace(/\0/g, "\\0").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/[\x00-\x0F]/g, function(x) {
52574
- return "\\x0" + y(x);
52575
- }).replace(/[\x10-\x1F\x7F-\x9F]/g, function(x) {
52576
- return "\\x" + y(x);
52573
+ return N.replace(/\\/g, "\\\\").replace(/\]/g, "\\]").replace(/\^/g, "\\^").replace(/-/g, "\\-").replace(/\0/g, "\\0").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/[\x00-\x0F]/g, function(M) {
52574
+ return "\\x0" + y(M);
52575
+ }).replace(/[\x10-\x1F\x7F-\x9F]/g, function(M) {
52576
+ return "\\x" + y(M);
52577
52577
  });
52578
52578
  }
52579
52579
  function w(N) {
52580
52580
  return e[N.type](N);
52581
52581
  }
52582
52582
  function A(N) {
52583
- var x = N.map(w), G, K;
52584
- if (x.sort(), x.length > 0) {
52585
- for (G = 1, K = 1; G < x.length; G++)
52586
- x[G - 1] !== x[G] && (x[K] = x[G], K++);
52587
- x.length = K;
52583
+ var M = N.map(w), G, K;
52584
+ if (M.sort(), M.length > 0) {
52585
+ for (G = 1, K = 1; G < M.length; G++)
52586
+ M[G - 1] !== M[G] && (M[K] = M[G], K++);
52587
+ M.length = K;
52588
52588
  }
52589
- switch (x.length) {
52589
+ switch (M.length) {
52590
52590
  case 1:
52591
- return x[0];
52591
+ return M[0];
52592
52592
  case 2:
52593
- return x[0] + " or " + x[1];
52593
+ return M[0] + " or " + M[1];
52594
52594
  default:
52595
- return x.slice(0, -1).join(", ") + ", or " + x[x.length - 1];
52595
+ return M.slice(0, -1).join(", ") + ", or " + M[M.length - 1];
52596
52596
  }
52597
52597
  }
52598
52598
  function C(N) {
@@ -52602,12 +52602,12 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
52602
52602
  };
52603
52603
  function a(o, p) {
52604
52604
  p = p !== void 0 ? p : {};
52605
- var e = {}, y = p.grammarSource, v = { start: o1 }, E = o1, w = ";", A = ",", C = ".", N = "*", x = "=", G = ":", K = "[", S = "]", re = "<", J = ">", oe = ":=", Y = "||", ue = "&&", z = ">=", H = "<=", ce = "<>", Q = "!=", de = "<=>", ve = "==", Me = "||/", $e = "|/", Ce = ">>", Oe = "<<", ke = "!~~*", Be = "~~*", st = "!~~", bt = "~~", or = "!~*", Ir = "~*", $r = "!~", Jr = "^@", si = "->>", rs = "->", As = "#>>", rn = "#>", bs = "@>", ni = "<@", is = "?|", sn = "?&", bn = "#-", cu = "@?", co = "@@", pu = "!", wn = "~", ai = "@", Dl = "#", fu = "&", Ym = "|", po = "`", Xm = "?", Qm = "/", e0 = "%", Cl = "^", Ol = "-", yf = "+", mf = "::", Et = "(", It = ")", pw = "=>", Fs = "$", fw = "``", hw = "]]", nn = "_", fo = `
52605
+ var e = {}, y = p.grammarSource, v = { start: o1 }, E = o1, w = ";", A = ",", C = ".", N = "*", M = "=", G = ":", K = "[", S = "]", re = "<", J = ">", oe = ":=", Y = "||", ue = "&&", z = ">=", H = "<=", ce = "<>", Q = "!=", de = "<=>", ve = "==", Me = "||/", $e = "|/", Ce = ">>", Oe = "<<", ke = "!~~*", Be = "~~*", st = "!~~", bt = "~~", or = "!~*", Ir = "~*", $r = "!~", Jr = "^@", si = "->>", rs = "->", As = "#>>", rn = "#>", bs = "@>", ni = "<@", is = "?|", sn = "?&", bn = "#-", cu = "@?", co = "@@", pu = "!", wn = "~", ai = "@", Dl = "#", fu = "&", Ym = "|", po = "`", Xm = "?", Qm = "/", e0 = "%", Cl = "^", Ol = "-", yf = "+", mf = "::", Et = "(", It = ")", pw = "=>", Fs = "$", fw = "``", hw = "]]", nn = "_", fo = `
52606
52606
  `, ss = "'", HB = "E", vf = "U&", Ef = "''", _n = '"', Tf = '""', Oa = "'''", $a = '"""', yw = "\\n", mw = "\\r", vw = "\\t", Ew = "\\b", Tw = "\\f", Iw = "\\v", Aw = "\\a", ho = "\\", t0 = "x", zB = "u", YB = "U", bw = "\\%", ww = "\\_", _w = "\\0", Rw = "\\Z", XB = "n", QB = "r", eU = "rb", tU = "br", Pa = "$$", gw = "b", $l = "0x", If = "0b", Dw = "0o", Af = "/*", Ks = "*/", Cw = "--", Ow = `\r
52607
- `, rU = "abort", iU = "access", sU = "action", nU = "add", aU = "admin", oU = "after", lU = "against", dU = "all", uU = "alter", cU = "always", pU = "analyze", fU = "and", hU = "any", yU = "array", mU = "as", vU = "asc", EU = "assert", TU = "assignment", IU = "at", AU = "atomic", bU = "attach", wU = "attribute", _U = "authorization", RU = "auto_increment", gU = "autoextend_size", DU = "autoincrement", CU = "avg_row_length", OU = "before", $U = "begin", PU = "bernoulli", NU = "between", VU = "bi_capacity", LU = "bigdecimal", xU = "bigint", MU = "bignumeric", BU = "binary", UU = "bit", jU = "blob", GU = "bool", FU = "boolean", KU = "breadth", kU = "break", SU = "by", qU = "bypassrls", ZU = "byteint", JU = "bytes", WU = "cache", HU = "call", zU = "called", YU = "capacity", XU = "cascade", QU = "cascaded", ej = "case", tj = "cast", rj = "century", ij = "chain", sj = "char", nj = "character", aj = "check", oj = "checksum", lj = "clone", dj = "cluster", uj = "collate", cj = "column", pj = "column_format", fj = "columns", hj = "comment", yj = "comments", mj = "commit", vj = "committed", Ej = "compact", Tj = "compressed", Ij = "compression", Aj = "concurrently", bj = "conflict", wj = "connect", _j = "connection", Rj = "constraint", gj = "constraints", Dj = "continue", Cj = "copy", Oj = "cost", $j = "create", Pj = "createdb", Nj = "createrole", Vj = "cross", Lj = "cube", xj = "cume_dist", Mj = "current", Bj = "current_catalog", Uj = "current_date", jj = "current_datetime", Gj = "current_role", Fj = "current_schema", Kj = "current_time", kj = "current_timestamp", Sj = "current_user", qj = "cycle", Zj = "data", Jj = "database", Wj = "date", Hj = "datetime", zj = "day", Yj = "day_hour", Xj = "day_microsecond", Qj = "day_minute", e3 = "day_second", t3 = "dayofweek", r3 = "dayofyear", i3 = "dec", s3 = "decade", n3 = "decimal", a3 = "declare", o3 = "default", l3 = "defaults", d3 = "deferrable", u3 = "deferred", c3 = "definer", p3 = "delay_key_write", f3 = "delayed", h3 = "delete", y3 = "dense_rank", m3 = "depends", v3 = "depth", E3 = "desc", T3 = "describe", I3 = "detach", A3 = "deterministic", b3 = "directory", w3 = "disable", _3 = "disk", R3 = "distinct", g3 = "distinctrow", D3 = "div", C3 = "do", O3 = "domain", $3 = "double", P3 = "dow", N3 = "doy", V3 = "drop", L3 = "dual", x3 = "dumpfile", M3 = "duplicate", B3 = "dynamic", U3 = "each", j3 = "else", G3 = "elseif", F3 = "enable", K3 = "enclosed", k3 = "encrypted", S3 = "encryption", q3 = "end", Z3 = "enforced", J3 = "engine", W3 = "engine_attribute", H3 = "enum", z3 = "epoch", Y3 = "error", X3 = "escape", Q3 = "escaped", eG = "examined", tG = "except", rG = "exception", iG = "exclude", sG = "excluding", nG = "exclusive", aG = "execute", oG = "exists", lG = "expansion", dG = "explain", uG = "export", cG = "expression", pG = "extended", fG = "extension", hG = "external", yG = "extract", mG = "fail", vG = "false", EG = "fetch", TG = "fields", IG = "files", AG = "filter", bG = "first", wG = "first_value", _G = "fixed", RG = "float", gG = "float64", DG = "following", CG = "for", OG = "force", $G = "foreign", PG = "format", NG = "friday", VG = "from", LG = "full", xG = "fulltext", MG = "function", BG = "functions", UG = "generated", jG = "geography", GG = "glob", FG = "global", KG = "grant", kG = "granted", SG = "group", qG = "grouping", ZG = "groups", JG = "hash", WG = "having", HG = "high_priority", zG = "hour", YG = "hour_microsecond", XG = "hour_minute", QG = "hour_second", eF = "identity", tF = "if", rF = "ignore", iF = "ilike", sF = "immediate", nF = "immutable", aF = "in", oF = "include", lF = "including", dF = "increment", uF = "index", cF = "indexed", pF = "indexes", fF = "inherit", hF = "inherits", yF = "initially", mF = "inner", vF = "inout", EF = "input", TF = "insert", IF = "insert_method", AF = "instead", bF = "int", wF = "int64", _F = "integer", RF = "intersect", gF = "interval", DF = "into", CF = "invisible", OF = "invoker", $F = "is", PF = "isnull", NF = "isodow", VF = "isolation", LF = "isoweek", xF = "isoyear", MF = "iterate", BF = "join", UF = "json", jF = "jsonb", GF = "julian", FF = "key", KF = "key_block_size", kF = "lag", SF = "language", qF = "large", ZF = "last", JF = "last_value", WF = "lateral", HF = "lead", zF = "leakproof", YF = "leave", XF = "left", QF = "level", e6 = "like", t6 = "limit", r6 = "lines", i6 = "list", s6 = "load", n6 = "local", a6 = "localtime", o6 = "localtimestamp", l6 = "lock", d6 = "locked", u6 = "logged", c6 = "login", p6 = "longblob", f6 = "longtext", h6 = "loop", y6 = "low_priority", m6 = "main", v6 = "maintain", E6 = "match", T6 = "matched", I6 = "materialized", A6 = "max", b6 = "max_rows", w6 = "maxvalue", _6 = "mediumblob", R6 = "mediumint", g6 = "mediumtext", D6 = "member", C6 = "memory", O6 = "merge", $6 = "message", P6 = "method", N6 = "microsecond", V6 = "microseconds", L6 = "millennium", x6 = "millisecond", M6 = "milliseconds", B6 = "min", U6 = "min_rows", j6 = "minute", G6 = "minute_microsecond", F6 = "minute_second", K6 = "minvalue", k6 = "mod", S6 = "mode", q6 = "modulus", Z6 = "monday", J6 = "month", W6 = "native", H6 = "natural", z6 = "nchar", Y6 = "new", X6 = "next", Q6 = "nfc", e5 = "nfd", t5 = "nfkc", r5 = "nfkd", i5 = "no", s5 = "nobypassrls", n5 = "nocreatedb", a5 = "nocreaterole", o5 = "noinherit", l5 = "nologin", d5 = "none", u5 = "noreplication", c5 = "normalized", p5 = "nosuperuser", f5 = "not", h5 = "nothing", y5 = "notnull", m5 = "nowait", v5 = "nth_value", E5 = "ntile", T5 = "null", I5 = "nulls", A5 = "numeric", b5 = "nvarchar", w5 = "object", _5 = "of", R5 = "offset", g5 = "oids", D5 = "old", C5 = "on", O5 = "only", $5 = "operator", P5 = "option", N5 = "optionally", V5 = "options", L5 = "or", x5 = "order", M5 = "ordinal", B5 = "ordinality", U5 = "organization", j5 = "others", G5 = "out", F5 = "outer", K5 = "outfile", k5 = "over", S5 = "overriding", q5 = "overwrite", Z5 = "owned", J5 = "owner", W5 = "pack_keys", H5 = "parallel", z5 = "parameter", Y5 = "partial", X5 = "partition", Q5 = "password", eK = "percent", tK = "percent_rank", rK = "permissive", iK = "pivot", sK = "plain", nK = "plan", aK = "policies", oK = "policy", lK = "pragma", dK = "preceding", uK = "precision", cK = "preserve", pK = "primary", fK = "privileges", hK = "procedure", yK = "procedures", mK = "project", vK = "public", EK = "qualify", TK = "quarter", IK = "query", AK = "quick", bK = "raise", wK = "range", _K = "rank", RK = "read", gK = "real", DK = "recursive", CK = "redundant", OK = "references", $K = "referencing", PK = "refresh", NK = "regexp", VK = "reindex", LK = "release", xK = "remainder", MK = "remote", BK = "rename", UK = "repeat", jK = "repeatable", GK = "replace", FK = "replica", KK = "replication", kK = "reservation", SK = "reset", qK = "respect", ZK = "restart", JK = "restrict", WK = "restricted", HK = "restrictive", zK = "return", YK = "returning", XK = "returns", QK = "revoke", ek = "right", tk = "rlike", rk = "role", ik = "rollback", sk = "rollup", nk = "routine", ak = "routines", ok = "row", lk = "row_format", dk = "row_number", uk = "rowid", ck = "rows", pk = "rule", fk = "safe", hk = "safe_cast", yk = "safe_offset", mk = "safe_ordinal", vk = "saturday", Ek = "savepoint", Tk = "schema", Ik = "search", Ak = "second", bk = "second_microsecond", wk = "secondary_engine_attribute", _k = "security", Rk = "select", gk = "sequence", Dk = "sequences", Ck = "serializable", Ok = "server", $k = "session", Pk = "session_user", Nk = "set", Vk = "sets", Lk = "share", xk = "similar", Mk = "simple", Bk = "skip", Uk = "smallint", jk = "snapshot", Gk = "some", Fk = "sounds", Kk = "source", kk = "spatial", Sk = "sql_big_result", qk = "sql_buffer_result", Zk = "sql_cache", Jk = "sql_calc_found_rows", Wk = "sql_no_cache", Hk = "sql_small_result", zk = "stable", Yk = "start", Xk = "starting", Qk = "statement", e9 = "statistics", t9 = "stats_auto_recalc", r9 = "stats_persistent", i9 = "stats_sample_pages", s9 = "storage", n9 = "stored", a9 = "straight_join", o9 = "strict", l9 = "string", d9 = "struct", u9 = "sunday", c9 = "superuser", p9 = "support", f9 = "symmetric", h9 = "sysid", y9 = "system", m9 = "system_time", v9 = "system_user", E9 = "table", T9 = "tables", I9 = "tablesample", A9 = "tablespace", b9 = "target", w9 = "temp", _9 = "temporary", R9 = "terminated", g9 = "text", D9 = "then", C9 = "thursday", O9 = "ties", $9 = "time", P9 = "timestamp", N9 = "timezone", V9 = "timezone_hour", L9 = "timezone_minute", x9 = "tinyblob", M9 = "tinyint", B9 = "tinytext", U9 = "to", j9 = "transaction", G9 = "transform", F9 = "trigger", K9 = "true", k9 = "truncate", S9 = "tuesday", q9 = "type", Z9 = "uescape", J9 = "unbounded", W9 = "uncommitted", H9 = "union", z9 = "unique", Y9 = "unknown", X9 = "unlogged", Q9 = "unnest", e7 = "unpivot", t7 = "unsafe", r7 = "until", i7 = "update", s7 = "usage", n7 = "user", a7 = "using", o7 = "vacuum", l7 = "valid", d7 = "validate", u7 = "value", c7 = "values", p7 = "varbinary", f7 = "varchar", h7 = "variadic", y7 = "varying", m7 = "vector", v7 = "verbose", E7 = "view", T7 = "virtual", I7 = "visible", A7 = "volatile", b7 = "wednesday", w7 = "week", _7 = "when", R7 = "where", g7 = "while", D7 = "window", C7 = "with", O7 = "without", $7 = "work", P7 = "wrapper", N7 = "write", V7 = "xor", L7 = "year", x7 = "year_month", M7 = "zone", $w = /^[\-+*\/<>=~!@#%\^&|`?]/, Pw = /^[^`]/, Nw = /^[^`\\]/, Vw = /^[^.`]/, Lw = /^[^\]]/, B7 = /^[A-Za-z_]/, U7 = /^[A-Za-z_\x80-\uFFFF]/, Pl = /^[^'\\]/, Nl = /^[^']/, Vl = /^[^"]/, Ll = /^[^"\\]/, Gi = /^[0-7]/, Rn = /^[01]/, j7 = /^[eE]/, G7 = /^[+\-]/, F7 = /^[0-9]/, K7 = /^[0-9a-fA-F]/, xw = /^[ \t]/, k7 = /^[\n\r]/, Mw = /^[^;]/, xl = M(";", !1), Ri = O$e(), we = M(",", !1), an = M(".", !1), hu = M("*", !1), Fi = M("=", !1), yo = M(":", !1), yu = M("[", !1), mu = M("]", !1), bf = M("<", !1), wf = M(">", !1), Bw = M(":=", !1), vu = M("||", !1), Uw = M("&&", !1), r0 = M(">=", !1), i0 = M("<=", !1), s0 = M("<>", !1), n0 = M("!=", !1), S7 = M("<=>", !1), q7 = M("==", !1), Z7 = M("||/", !1), J7 = M("|/", !1), a0 = M(">>", !1), o0 = M("<<", !1), W7 = M("!~~*", !1), H7 = M("~~*", !1), z7 = M("!~~", !1), Y7 = M("~~", !1), X7 = M("!~*", !1), Q7 = M("~*", !1), e8 = M("!~", !1), t8 = M("^@", !1), jw = M("->>", !1), Gw = M("->", !1), r8 = M("#>>", !1), i8 = M("#>", !1), s8 = M("@>", !1), n8 = M("<@", !1), a8 = M("?|", !1), o8 = M("?&", !1), l8 = M("#-", !1), d8 = M("@?", !1), Fw = M("@@", !1), Kw = M("!", !1), _f = M("~", !1), Ml = M("@", !1), kw = M("#", !1), l0 = M("&", !1), d0 = M("|", !1), mo = M("`", !1), u0 = M("?", !1), Sw = oi(["-", "+", "*", "/", "<", ">", "=", "~", "!", "@", "#", "%", "^", "&", "|", "`", "?"], !1, !1), c0 = M("/", !1), p0 = M("%", !1), Bl = M("^", !1), Ul = M("-", !1), Rf = M("+", !1), qw = M("::", !1), Tt = M("(", !1), At = M(")", !1), u8 = M("=>", !1), ks = M("$", !1), c8 = Pf("identifier"), Zw = oi(["`"], !0, !1), p8 = M("``", !1), Jw = oi(["`", "\\"], !0, !1), Ww = oi([".", "`"], !0, !1), Hw = oi(["]"], !0, !1), f8 = M("]]", !1), h8 = oi([["A", "Z"], ["a", "z"], "_"], !1, !1), y8 = oi([["A", "Z"], ["a", "z"], "_", ["€", "￿"]], !1, !1), m8 = Pf("string"), on = M("_", !1), vo = M(`
52608
- `, !1), ns = M("'", !1), jl = oi(["'", "\\"], !0, !1), v8 = M("E", !1), zw = M("U&", !1), Gl = oi(["'"], !0, !1), Yw = M("''", !1), gn = M('"', !1), Fl = oi(['"'], !0, !1), Xw = M('""', !1), Kl = oi(['"', "\\"], !0, !1), gf = M("'''", !1), Df = M('"""', !1), E8 = M("\\n", !1), T8 = M("\\r", !1), I8 = M("\\t", !1), A8 = M("\\b", !1), b8 = M("\\f", !1), w8 = M("\\v", !1), _8 = M("\\a", !1), Eo = M("\\", !1), Ki = oi([["0", "7"]], !1, !1), R8 = M("x", !1), g8 = M("x", !0), D8 = M("u", !1), C8 = M("U", !1), O8 = M("\\%", !1), $8 = M("\\_", !1), P8 = M("\\0", !1), N8 = M("\\Z", !1), V8 = M("N", !0), L8 = M("R", !0), x8 = M("RB", !0), M8 = M("BR", !0), Cf = M("$$", !1), B8 = M("B", !0), U8 = M("X", !0), j8 = M("b", !0), Dn = oi(["0", "1"], !1, !1), G8 = Pf("number"), f0 = M("0x", !1), Qw = M("0b", !1), F8 = M("0o", !1), K8 = oi(["e", "E"], !1, !1), k8 = oi(["+", "-"], !1, !1), S8 = oi([["0", "9"]], !1, !1), q8 = oi([["0", "9"], ["a", "f"], ["A", "F"]], !1, !1), Z8 = Pf("whitespace"), e1 = M("/*", !1), kl = M("*/", !1), J8 = M("--", !1), t1 = oi([" ", " "], !1, !1), W8 = M(`\r
52607
+ `, rU = "abort", iU = "access", sU = "action", nU = "add", aU = "admin", oU = "after", lU = "against", dU = "all", uU = "alter", cU = "always", pU = "analyze", fU = "and", hU = "any", yU = "array", mU = "as", vU = "asc", EU = "assert", TU = "assignment", IU = "at", AU = "atomic", bU = "attach", wU = "attribute", _U = "authorization", RU = "auto_increment", gU = "autoextend_size", DU = "autoincrement", CU = "avg_row_length", OU = "before", $U = "begin", PU = "bernoulli", NU = "between", VU = "bi_capacity", LU = "bigdecimal", xU = "bigint", MU = "bignumeric", BU = "binary", UU = "bit", jU = "blob", GU = "bool", FU = "boolean", KU = "breadth", kU = "break", SU = "by", qU = "bypassrls", ZU = "byteint", JU = "bytes", WU = "cache", HU = "call", zU = "called", YU = "capacity", XU = "cascade", QU = "cascaded", ej = "case", tj = "cast", rj = "century", ij = "chain", sj = "char", nj = "character", aj = "check", oj = "checksum", lj = "clone", dj = "cluster", uj = "collate", cj = "column", pj = "column_format", fj = "columns", hj = "comment", yj = "comments", mj = "commit", vj = "committed", Ej = "compact", Tj = "compressed", Ij = "compression", Aj = "concurrently", bj = "conflict", wj = "connect", _j = "connection", Rj = "constraint", gj = "constraints", Dj = "continue", Cj = "copy", Oj = "cost", $j = "create", Pj = "createdb", Nj = "createrole", Vj = "cross", Lj = "cube", xj = "cume_dist", Mj = "current", Bj = "current_catalog", Uj = "current_date", jj = "current_datetime", Gj = "current_role", Fj = "current_schema", Kj = "current_time", kj = "current_timestamp", Sj = "current_user", qj = "cycle", Zj = "data", Jj = "database", Wj = "date", Hj = "datetime", zj = "day", Yj = "day_hour", Xj = "day_microsecond", Qj = "day_minute", e3 = "day_second", t3 = "dayofweek", r3 = "dayofyear", i3 = "dec", s3 = "decade", n3 = "decimal", a3 = "declare", o3 = "default", l3 = "defaults", d3 = "deferrable", u3 = "deferred", c3 = "definer", p3 = "delay_key_write", f3 = "delayed", h3 = "delete", y3 = "dense_rank", m3 = "depends", v3 = "depth", E3 = "desc", T3 = "describe", I3 = "detach", A3 = "deterministic", b3 = "directory", w3 = "disable", _3 = "disk", R3 = "distinct", g3 = "distinctrow", D3 = "div", C3 = "do", O3 = "domain", $3 = "double", P3 = "dow", N3 = "doy", V3 = "drop", L3 = "dual", x3 = "dumpfile", M3 = "duplicate", B3 = "dynamic", U3 = "each", j3 = "else", G3 = "elseif", F3 = "enable", K3 = "enclosed", k3 = "encrypted", S3 = "encryption", q3 = "end", Z3 = "enforced", J3 = "engine", W3 = "engine_attribute", H3 = "enum", z3 = "epoch", Y3 = "error", X3 = "escape", Q3 = "escaped", eG = "examined", tG = "except", rG = "exception", iG = "exclude", sG = "excluding", nG = "exclusive", aG = "execute", oG = "exists", lG = "expansion", dG = "explain", uG = "export", cG = "expression", pG = "extended", fG = "extension", hG = "external", yG = "extract", mG = "fail", vG = "false", EG = "fetch", TG = "fields", IG = "files", AG = "filter", bG = "first", wG = "first_value", _G = "fixed", RG = "float", gG = "float64", DG = "following", CG = "for", OG = "force", $G = "foreign", PG = "format", NG = "friday", VG = "from", LG = "full", xG = "fulltext", MG = "function", BG = "functions", UG = "generated", jG = "geography", GG = "glob", FG = "global", KG = "grant", kG = "granted", SG = "group", qG = "grouping", ZG = "groups", JG = "hash", WG = "having", HG = "high_priority", zG = "hour", YG = "hour_microsecond", XG = "hour_minute", QG = "hour_second", eF = "identity", tF = "if", rF = "ignore", iF = "ilike", sF = "immediate", nF = "immutable", aF = "in", oF = "include", lF = "including", dF = "increment", uF = "index", cF = "indexed", pF = "indexes", fF = "inherit", hF = "inherits", yF = "initially", mF = "inner", vF = "inout", EF = "input", TF = "insert", IF = "insert_method", AF = "instead", bF = "int", wF = "int64", _F = "integer", RF = "intersect", gF = "interval", DF = "into", CF = "invisible", OF = "invoker", $F = "is", PF = "isnull", NF = "isodow", VF = "isolation", LF = "isoweek", xF = "isoyear", MF = "iterate", BF = "join", UF = "json", jF = "jsonb", GF = "julian", FF = "key", KF = "key_block_size", kF = "lag", SF = "language", qF = "large", ZF = "last", JF = "last_value", WF = "lateral", HF = "lead", zF = "leakproof", YF = "leave", XF = "left", QF = "level", e6 = "like", t6 = "limit", r6 = "lines", i6 = "list", s6 = "load", n6 = "local", a6 = "localtime", o6 = "localtimestamp", l6 = "lock", d6 = "locked", u6 = "logged", c6 = "login", p6 = "longblob", f6 = "longtext", h6 = "loop", y6 = "low_priority", m6 = "main", v6 = "maintain", E6 = "match", T6 = "matched", I6 = "materialized", A6 = "max", b6 = "max_rows", w6 = "maxvalue", _6 = "mediumblob", R6 = "mediumint", g6 = "mediumtext", D6 = "member", C6 = "memory", O6 = "merge", $6 = "message", P6 = "method", N6 = "microsecond", V6 = "microseconds", L6 = "millennium", x6 = "millisecond", M6 = "milliseconds", B6 = "min", U6 = "min_rows", j6 = "minute", G6 = "minute_microsecond", F6 = "minute_second", K6 = "minvalue", k6 = "mod", S6 = "mode", q6 = "modulus", Z6 = "monday", J6 = "month", W6 = "native", H6 = "natural", z6 = "nchar", Y6 = "new", X6 = "next", Q6 = "nfc", e5 = "nfd", t5 = "nfkc", r5 = "nfkd", i5 = "no", s5 = "nobypassrls", n5 = "nocreatedb", a5 = "nocreaterole", o5 = "noinherit", l5 = "nologin", d5 = "none", u5 = "noreplication", c5 = "normalized", p5 = "nosuperuser", f5 = "not", h5 = "nothing", y5 = "notnull", m5 = "nowait", v5 = "nth_value", E5 = "ntile", T5 = "null", I5 = "nulls", A5 = "numeric", b5 = "nvarchar", w5 = "object", _5 = "of", R5 = "offset", g5 = "oids", D5 = "old", C5 = "on", O5 = "only", $5 = "operator", P5 = "option", N5 = "optionally", V5 = "options", L5 = "or", x5 = "order", M5 = "ordinal", B5 = "ordinality", U5 = "organization", j5 = "others", G5 = "out", F5 = "outer", K5 = "outfile", k5 = "over", S5 = "overriding", q5 = "overwrite", Z5 = "owned", J5 = "owner", W5 = "pack_keys", H5 = "parallel", z5 = "parameter", Y5 = "partial", X5 = "partition", Q5 = "password", eK = "percent", tK = "percent_rank", rK = "permissive", iK = "pivot", sK = "plain", nK = "plan", aK = "policies", oK = "policy", lK = "pragma", dK = "preceding", uK = "precision", cK = "preserve", pK = "primary", fK = "privileges", hK = "procedure", yK = "procedures", mK = "project", vK = "public", EK = "qualify", TK = "quarter", IK = "query", AK = "quick", bK = "raise", wK = "range", _K = "rank", RK = "read", gK = "real", DK = "recursive", CK = "redundant", OK = "references", $K = "referencing", PK = "refresh", NK = "regexp", VK = "reindex", LK = "release", xK = "remainder", MK = "remote", BK = "rename", UK = "repeat", jK = "repeatable", GK = "replace", FK = "replica", KK = "replication", kK = "reservation", SK = "reset", qK = "respect", ZK = "restart", JK = "restrict", WK = "restricted", HK = "restrictive", zK = "return", YK = "returning", XK = "returns", QK = "revoke", ek = "right", tk = "rlike", rk = "role", ik = "rollback", sk = "rollup", nk = "routine", ak = "routines", ok = "row", lk = "row_format", dk = "row_number", uk = "rowid", ck = "rows", pk = "rule", fk = "safe", hk = "safe_cast", yk = "safe_offset", mk = "safe_ordinal", vk = "saturday", Ek = "savepoint", Tk = "schema", Ik = "search", Ak = "second", bk = "second_microsecond", wk = "secondary_engine_attribute", _k = "security", Rk = "select", gk = "sequence", Dk = "sequences", Ck = "serializable", Ok = "server", $k = "session", Pk = "session_user", Nk = "set", Vk = "sets", Lk = "share", xk = "similar", Mk = "simple", Bk = "skip", Uk = "smallint", jk = "snapshot", Gk = "some", Fk = "sounds", Kk = "source", kk = "spatial", Sk = "sql_big_result", qk = "sql_buffer_result", Zk = "sql_cache", Jk = "sql_calc_found_rows", Wk = "sql_no_cache", Hk = "sql_small_result", zk = "stable", Yk = "start", Xk = "starting", Qk = "statement", e9 = "statistics", t9 = "stats_auto_recalc", r9 = "stats_persistent", i9 = "stats_sample_pages", s9 = "storage", n9 = "stored", a9 = "straight_join", o9 = "strict", l9 = "string", d9 = "struct", u9 = "sunday", c9 = "superuser", p9 = "support", f9 = "symmetric", h9 = "sysid", y9 = "system", m9 = "system_time", v9 = "system_user", E9 = "table", T9 = "tables", I9 = "tablesample", A9 = "tablespace", b9 = "target", w9 = "temp", _9 = "temporary", R9 = "terminated", g9 = "text", D9 = "then", C9 = "thursday", O9 = "ties", $9 = "time", P9 = "timestamp", N9 = "timezone", V9 = "timezone_hour", L9 = "timezone_minute", x9 = "tinyblob", M9 = "tinyint", B9 = "tinytext", U9 = "to", j9 = "transaction", G9 = "transform", F9 = "trigger", K9 = "true", k9 = "truncate", S9 = "tuesday", q9 = "type", Z9 = "uescape", J9 = "unbounded", W9 = "uncommitted", H9 = "union", z9 = "unique", Y9 = "unknown", X9 = "unlogged", Q9 = "unnest", e7 = "unpivot", t7 = "unsafe", r7 = "until", i7 = "update", s7 = "usage", n7 = "user", a7 = "using", o7 = "vacuum", l7 = "valid", d7 = "validate", u7 = "value", c7 = "values", p7 = "varbinary", f7 = "varchar", h7 = "variadic", y7 = "varying", m7 = "vector", v7 = "verbose", E7 = "view", T7 = "virtual", I7 = "visible", A7 = "volatile", b7 = "wednesday", w7 = "week", _7 = "when", R7 = "where", g7 = "while", D7 = "window", C7 = "with", O7 = "without", $7 = "work", P7 = "wrapper", N7 = "write", V7 = "xor", L7 = "year", x7 = "year_month", M7 = "zone", $w = /^[\-+*\/<>=~!@#%\^&|`?]/, Pw = /^[^`]/, Nw = /^[^`\\]/, Vw = /^[^.`]/, Lw = /^[^\]]/, B7 = /^[A-Za-z_]/, U7 = /^[A-Za-z_\x80-\uFFFF]/, Pl = /^[^'\\]/, Nl = /^[^']/, Vl = /^[^"]/, Ll = /^[^"\\]/, Gi = /^[0-7]/, Rn = /^[01]/, j7 = /^[eE]/, G7 = /^[+\-]/, F7 = /^[0-9]/, K7 = /^[0-9a-fA-F]/, xw = /^[ \t]/, k7 = /^[\n\r]/, Mw = /^[^;]/, xl = x(";", !1), Ri = O$e(), we = x(",", !1), an = x(".", !1), hu = x("*", !1), Fi = x("=", !1), yo = x(":", !1), yu = x("[", !1), mu = x("]", !1), bf = x("<", !1), wf = x(">", !1), Bw = x(":=", !1), vu = x("||", !1), Uw = x("&&", !1), r0 = x(">=", !1), i0 = x("<=", !1), s0 = x("<>", !1), n0 = x("!=", !1), S7 = x("<=>", !1), q7 = x("==", !1), Z7 = x("||/", !1), J7 = x("|/", !1), a0 = x(">>", !1), o0 = x("<<", !1), W7 = x("!~~*", !1), H7 = x("~~*", !1), z7 = x("!~~", !1), Y7 = x("~~", !1), X7 = x("!~*", !1), Q7 = x("~*", !1), e8 = x("!~", !1), t8 = x("^@", !1), jw = x("->>", !1), Gw = x("->", !1), r8 = x("#>>", !1), i8 = x("#>", !1), s8 = x("@>", !1), n8 = x("<@", !1), a8 = x("?|", !1), o8 = x("?&", !1), l8 = x("#-", !1), d8 = x("@?", !1), Fw = x("@@", !1), Kw = x("!", !1), _f = x("~", !1), Ml = x("@", !1), kw = x("#", !1), l0 = x("&", !1), d0 = x("|", !1), mo = x("`", !1), u0 = x("?", !1), Sw = oi(["-", "+", "*", "/", "<", ">", "=", "~", "!", "@", "#", "%", "^", "&", "|", "`", "?"], !1, !1), c0 = x("/", !1), p0 = x("%", !1), Bl = x("^", !1), Ul = x("-", !1), Rf = x("+", !1), qw = x("::", !1), Tt = x("(", !1), At = x(")", !1), u8 = x("=>", !1), ks = x("$", !1), c8 = Pf("identifier"), Zw = oi(["`"], !0, !1), p8 = x("``", !1), Jw = oi(["`", "\\"], !0, !1), Ww = oi([".", "`"], !0, !1), Hw = oi(["]"], !0, !1), f8 = x("]]", !1), h8 = oi([["A", "Z"], ["a", "z"], "_"], !1, !1), y8 = oi([["A", "Z"], ["a", "z"], "_", ["€", "￿"]], !1, !1), m8 = Pf("string"), on = x("_", !1), vo = x(`
52608
+ `, !1), ns = x("'", !1), jl = oi(["'", "\\"], !0, !1), v8 = x("E", !1), zw = x("U&", !1), Gl = oi(["'"], !0, !1), Yw = x("''", !1), gn = x('"', !1), Fl = oi(['"'], !0, !1), Xw = x('""', !1), Kl = oi(['"', "\\"], !0, !1), gf = x("'''", !1), Df = x('"""', !1), E8 = x("\\n", !1), T8 = x("\\r", !1), I8 = x("\\t", !1), A8 = x("\\b", !1), b8 = x("\\f", !1), w8 = x("\\v", !1), _8 = x("\\a", !1), Eo = x("\\", !1), Ki = oi([["0", "7"]], !1, !1), R8 = x("x", !1), g8 = x("x", !0), D8 = x("u", !1), C8 = x("U", !1), O8 = x("\\%", !1), $8 = x("\\_", !1), P8 = x("\\0", !1), N8 = x("\\Z", !1), V8 = x("N", !0), L8 = x("R", !0), x8 = x("RB", !0), M8 = x("BR", !0), Cf = x("$$", !1), B8 = x("B", !0), U8 = x("X", !0), j8 = x("b", !0), Dn = oi(["0", "1"], !1, !1), G8 = Pf("number"), f0 = x("0x", !1), Qw = x("0b", !1), F8 = x("0o", !1), K8 = oi(["e", "E"], !1, !1), k8 = oi(["+", "-"], !1, !1), S8 = oi([["0", "9"]], !1, !1), q8 = oi([["0", "9"], ["a", "f"], ["A", "F"]], !1, !1), Z8 = Pf("whitespace"), e1 = x("/*", !1), kl = x("*/", !1), J8 = x("--", !1), t1 = oi([" ", " "], !1, !1), W8 = x(`\r
52609
52609
  `, !1), H8 = oi([`
52610
- `, "\r"], !1, !1), r1 = oi([";"], !0, !1), z8 = M("ABORT", !0), Y8 = M("ACCESS", !0), X8 = M("ACTION", !0), Q8 = M("ADD", !0), eS = M("ADMIN", !0), tS = M("AFTER", !0), rS = M("AGAINST", !0), iS = M("ALL", !0), sS = M("ALTER", !0), nS = M("ALWAYS", !0), aS = M("ANALYZE", !0), oS = M("AND", !0), lS = M("ANY", !0), dS = M("ARRAY", !0), uS = M("AS", !0), cS = M("ASC", !0), pS = M("ASSERT", !0), fS = M("ASSIGNMENT", !0), hS = M("AT", !0), yS = M("ATOMIC", !0), mS = M("ATTACH", !0), vS = M("ATTRIBUTE", !0), ES = M("AUTHORIZATION", !0), TS = M("AUTO_INCREMENT", !0), IS = M("AUTOEXTEND_SIZE", !0), AS = M("AUTOINCREMENT", !0), bS = M("AVG_ROW_LENGTH", !0), wS = M("BEFORE", !0), _S = M("BEGIN", !0), RS = M("BERNOULLI", !0), gS = M("BETWEEN", !0), DS = M("BI_CAPACITY", !0), CS = M("BIGDECIMAL", !0), OS = M("BIGINT", !0), $S = M("BIGNUMERIC", !0), PS = M("BINARY", !0), NS = M("BIT", !0), VS = M("BLOB", !0), LS = M("BOOL", !0), xS = M("BOOLEAN", !0), MS = M("BREADTH", !0), BS = M("BREAK", !0), US = M("BY", !0), jS = M("BYPASSRLS", !0), GS = M("BYTEINT", !0), FS = M("BYTES", !0), KS = M("CACHE", !0), kS = M("CALL", !0), SS = M("CALLED", !0), qS = M("CAPACITY", !0), ZS = M("CASCADE", !0), JS = M("CASCADED", !0), WS = M("CASE", !0), HS = M("CAST", !0), zS = M("CENTURY", !0), YS = M("CHAIN", !0), XS = M("CHAR", !0), QS = M("CHARACTER", !0), eq = M("CHECK", !0), tq = M("CHECKSUM", !0), rq = M("CLONE", !0), iq = M("CLUSTER", !0), sq = M("COLLATE", !0), nq = M("COLUMN", !0), aq = M("COLUMN_FORMAT", !0), oq = M("COLUMNS", !0), lq = M("COMMENT", !0), dq = M("COMMENTS", !0), uq = M("COMMIT", !0), cq = M("COMMITTED", !0), pq = M("COMPACT", !0), fq = M("COMPRESSED", !0), hq = M("COMPRESSION", !0), yq = M("CONCURRENTLY", !0), mq = M("CONFLICT", !0), vq = M("CONNECT", !0), Eq = M("CONNECTION", !0), Tq = M("CONSTRAINT", !0), Iq = M("CONSTRAINTS", !0), Aq = M("CONTINUE", !0), bq = M("COPY", !0), wq = M("COST", !0), _q = M("CREATE", !0), Rq = M("CREATEDB", !0), gq = M("CREATEROLE", !0), Dq = M("CROSS", !0), Cq = M("CUBE", !0), Oq = M("CUME_DIST", !0), $q = M("CURRENT", !0), Pq = M("CURRENT_CATALOG", !0), Nq = M("CURRENT_DATE", !0), Vq = M("CURRENT_DATETIME", !0), Lq = M("CURRENT_ROLE", !0), xq = M("CURRENT_SCHEMA", !0), Mq = M("CURRENT_TIME", !0), Bq = M("CURRENT_TIMESTAMP", !0), Uq = M("CURRENT_USER", !0), jq = M("CYCLE", !0), Gq = M("DATA", !0), Fq = M("DATABASE", !0), Kq = M("DATE", !0), kq = M("DATETIME", !0), Sq = M("DAY", !0), qq = M("DAY_HOUR", !0), Zq = M("DAY_MICROSECOND", !0), Jq = M("DAY_MINUTE", !0), Wq = M("DAY_SECOND", !0), Hq = M("DAYOFWEEK", !0), zq = M("DAYOFYEAR", !0), Yq = M("DEC", !0), Xq = M("DECADE", !0), Qq = M("DECIMAL", !0), eZ = M("DECLARE", !0), tZ = M("DEFAULT", !0), rZ = M("DEFAULTS", !0), iZ = M("DEFERRABLE", !0), sZ = M("DEFERRED", !0), nZ = M("DEFINER", !0), aZ = M("DELAY_KEY_WRITE", !0), oZ = M("DELAYED", !0), lZ = M("DELETE", !0), dZ = M("DENSE_RANK", !0), uZ = M("DEPENDS", !0), cZ = M("DEPTH", !0), pZ = M("DESC", !0), fZ = M("DESCRIBE", !0), hZ = M("DETACH", !0), yZ = M("DETERMINISTIC", !0), mZ = M("DIRECTORY", !0), vZ = M("DISABLE", !0), EZ = M("DISK", !0), TZ = M("DISTINCT", !0), IZ = M("DISTINCTROW", !0), AZ = M("DIV", !0), bZ = M("DO", !0), wZ = M("DOMAIN", !0), _Z = M("DOUBLE", !0), RZ = M("DOW", !0), gZ = M("DOY", !0), DZ = M("DROP", !0), CZ = M("DUAL", !0), OZ = M("DUMPFILE", !0), $Z = M("DUPLICATE", !0), PZ = M("DYNAMIC", !0), NZ = M("EACH", !0), VZ = M("ELSE", !0), LZ = M("ELSEIF", !0), xZ = M("ENABLE", !0), MZ = M("ENCLOSED", !0), BZ = M("ENCRYPTED", !0), UZ = M("ENCRYPTION", !0), jZ = M("END", !0), GZ = M("ENFORCED", !0), FZ = M("ENGINE", !0), KZ = M("ENGINE_ATTRIBUTE", !0), kZ = M("ENUM", !0), SZ = M("EPOCH", !0), qZ = M("ERROR", !0), ZZ = M("ESCAPE", !0), JZ = M("ESCAPED", !0), WZ = M("EXAMINED", !0), HZ = M("EXCEPT", !0), zZ = M("EXCEPTION", !0), YZ = M("EXCLUDE", !0), XZ = M("EXCLUDING", !0), QZ = M("EXCLUSIVE", !0), eJ = M("EXECUTE", !0), tJ = M("EXISTS", !0), rJ = M("EXPANSION", !0), iJ = M("EXPLAIN", !0), sJ = M("EXPORT", !0), nJ = M("EXPRESSION", !0), aJ = M("EXTENDED", !0), oJ = M("EXTENSION", !0), lJ = M("EXTERNAL", !0), dJ = M("EXTRACT", !0), uJ = M("FAIL", !0), cJ = M("FALSE", !0), pJ = M("FETCH", !0), fJ = M("FIELDS", !0), hJ = M("FILES", !0), yJ = M("FILTER", !0), mJ = M("FIRST", !0), vJ = M("FIRST_VALUE", !0), EJ = M("FIXED", !0), TJ = M("FLOAT", !0), IJ = M("FLOAT64", !0), AJ = M("FOLLOWING", !0), bJ = M("FOR", !0), wJ = M("FORCE", !0), _J = M("FOREIGN", !0), RJ = M("FORMAT", !0), gJ = M("FRIDAY", !0), DJ = M("FROM", !0), CJ = M("FULL", !0), OJ = M("FULLTEXT", !0), $J = M("FUNCTION", !0), PJ = M("FUNCTIONS", !0), NJ = M("GENERATED", !0), VJ = M("GEOGRAPHY", !0), LJ = M("GLOB", !0), xJ = M("GLOBAL", !0), MJ = M("GRANT", !0), BJ = M("GRANTED", !0), UJ = M("GROUP", !0), jJ = M("GROUPING", !0), GJ = M("GROUPS", !0), FJ = M("HASH", !0), KJ = M("HAVING", !0), kJ = M("HIGH_PRIORITY", !0), SJ = M("HOUR", !0), qJ = M("HOUR_MICROSECOND", !0), ZJ = M("HOUR_MINUTE", !0), JJ = M("HOUR_SECOND", !0), WJ = M("IDENTITY", !0), HJ = M("IF", !0), zJ = M("IGNORE", !0), YJ = M("ILIKE", !0), XJ = M("IMMEDIATE", !0), QJ = M("IMMUTABLE", !0), eW = M("IN", !0), tW = M("INCLUDE", !0), rW = M("INCLUDING", !0), iW = M("INCREMENT", !0), sW = M("INDEX", !0), nW = M("INDEXED", !0), aW = M("INDEXES", !0), oW = M("INHERIT", !0), lW = M("INHERITS", !0), dW = M("INITIALLY", !0), uW = M("INNER", !0), cW = M("INOUT", !0), pW = M("INPUT", !0), fW = M("INSERT", !0), hW = M("INSERT_METHOD", !0), yW = M("INSTEAD", !0), mW = M("INT", !0), vW = M("INT64", !0), EW = M("INTEGER", !0), TW = M("INTERSECT", !0), IW = M("INTERVAL", !0), AW = M("INTO", !0), bW = M("INVISIBLE", !0), wW = M("INVOKER", !0), _W = M("IS", !0), RW = M("ISNULL", !0), gW = M("ISODOW", !0), DW = M("ISOLATION", !0), CW = M("ISOWEEK", !0), OW = M("ISOYEAR", !0), $W = M("ITERATE", !0), PW = M("JOIN", !0), NW = M("JSON", !0), VW = M("JSONB", !0), LW = M("JULIAN", !0), xW = M("KEY", !0), MW = M("KEY_BLOCK_SIZE", !0), BW = M("LAG", !0), UW = M("LANGUAGE", !0), jW = M("LARGE", !0), GW = M("LAST", !0), FW = M("LAST_VALUE", !0), KW = M("LATERAL", !0), kW = M("LEAD", !0), SW = M("LEAKPROOF", !0), qW = M("LEAVE", !0), ZW = M("LEFT", !0), JW = M("LEVEL", !0), WW = M("LIKE", !0), HW = M("LIMIT", !0), zW = M("LINES", !0), YW = M("LIST", !0), XW = M("LOAD", !0), QW = M("LOCAL", !0), eH = M("LOCALTIME", !0), tH = M("LOCALTIMESTAMP", !0), rH = M("LOCK", !0), iH = M("LOCKED", !0), sH = M("LOGGED", !0), nH = M("LOGIN", !0), aH = M("LONGBLOB", !0), oH = M("LONGTEXT", !0), lH = M("LOOP", !0), dH = M("LOW_PRIORITY", !0), uH = M("MAIN", !0), cH = M("MAINTAIN", !0), pH = M("MATCH", !0), fH = M("MATCHED", !0), hH = M("MATERIALIZED", !0), yH = M("MAX", !0), mH = M("MAX_ROWS", !0), vH = M("MAXVALUE", !0), EH = M("MEDIUMBLOB", !0), TH = M("MEDIUMINT", !0), IH = M("MEDIUMTEXT", !0), AH = M("MEMBER", !0), bH = M("MEMORY", !0), wH = M("MERGE", !0), _H = M("MESSAGE", !0), RH = M("METHOD", !0), gH = M("MICROSECOND", !0), DH = M("MICROSECONDS", !0), CH = M("MILLENNIUM", !0), OH = M("MILLISECOND", !0), $H = M("MILLISECONDS", !0), PH = M("MIN", !0), NH = M("MIN_ROWS", !0), VH = M("MINUTE", !0), LH = M("MINUTE_MICROSECOND", !0), xH = M("MINUTE_SECOND", !0), MH = M("MINVALUE", !0), BH = M("MOD", !0), UH = M("MODE", !0), jH = M("MODULUS", !0), GH = M("MONDAY", !0), FH = M("MONTH", !0), KH = M("NATIVE", !0), kH = M("NATURAL", !0), SH = M("NCHAR", !0), qH = M("NEW", !0), ZH = M("NEXT", !0), JH = M("NFC", !0), WH = M("NFD", !0), HH = M("NFKC", !0), zH = M("NFKD", !0), YH = M("NO", !0), XH = M("NOBYPASSRLS", !0), QH = M("NOCREATEDB", !0), ez = M("NOCREATEROLE", !0), tz = M("NOINHERIT", !0), rz = M("NOLOGIN", !0), iz = M("NONE", !0), sz = M("NOREPLICATION", !0), nz = M("NORMALIZED", !0), az = M("NOSUPERUSER", !0), oz = M("NOT", !0), lz = M("NOTHING", !0), dz = M("NOTNULL", !0), uz = M("NOWAIT", !0), cz = M("NTH_VALUE", !0), pz = M("NTILE", !0), fz = M("NULL", !0), hz = M("NULLS", !0), yz = M("NUMERIC", !0), mz = M("NVARCHAR", !0), vz = M("OBJECT", !0), Ez = M("OF", !0), Tz = M("OFFSET", !0), Iz = M("OIDS", !0), Az = M("OLD", !0), bz = M("ON", !0), wz = M("ONLY", !0), _z = M("OPERATOR", !0), Rz = M("OPTION", !0), gz = M("OPTIONALLY", !0), Dz = M("OPTIONS", !0), Cz = M("OR", !0), Oz = M("ORDER", !0), $z = M("ORDINAL", !0), Pz = M("ORDINALITY", !0), Nz = M("ORGANIZATION", !0), Vz = M("OTHERS", !0), Lz = M("OUT", !0), xz = M("OUTER", !0), Mz = M("OUTFILE", !0), Bz = M("OVER", !0), Uz = M("OVERRIDING", !0), jz = M("OVERWRITE", !0), Gz = M("OWNED", !0), Fz = M("OWNER", !0), Kz = M("PACK_KEYS", !0), kz = M("PARALLEL", !0), Sz = M("PARAMETER", !0), qz = M("PARTIAL", !0), Zz = M("PARTITION", !0), Jz = M("PASSWORD", !0), Wz = M("PERCENT", !0), Hz = M("PERCENT_RANK", !0), zz = M("PERMISSIVE", !0), Yz = M("PIVOT", !0), Xz = M("PLAIN", !0), Qz = M("PLAN", !0), eY = M("POLICIES", !0), tY = M("POLICY", !0), rY = M("PRAGMA", !0), iY = M("PRECEDING", !0), sY = M("PRECISION", !0), nY = M("PRESERVE", !0), aY = M("PRIMARY", !0), oY = M("PRIVILEGES", !0), lY = M("PROCEDURE", !0), dY = M("PROCEDURES", !0), uY = M("PROJECT", !0), cY = M("PUBLIC", !0), pY = M("QUALIFY", !0), fY = M("QUARTER", !0), hY = M("QUERY", !0), yY = M("QUICK", !0), mY = M("RAISE", !0), vY = M("RANGE", !0), EY = M("RANK", !0), TY = M("READ", !0), IY = M("REAL", !0), AY = M("RECURSIVE", !0), bY = M("REDUNDANT", !0), wY = M("REFERENCES", !0), _Y = M("REFERENCING", !0), RY = M("REFRESH", !0), gY = M("REGEXP", !0), DY = M("REINDEX", !0), CY = M("RELEASE", !0), OY = M("REMAINDER", !0), $Y = M("REMOTE", !0), PY = M("RENAME", !0), NY = M("REPEAT", !0), VY = M("REPEATABLE", !0), LY = M("REPLACE", !0), xY = M("REPLICA", !0), MY = M("REPLICATION", !0), BY = M("RESERVATION", !0), UY = M("RESET", !0), jY = M("RESPECT", !0), GY = M("RESTART", !0), FY = M("RESTRICT", !0), KY = M("RESTRICTED", !0), kY = M("RESTRICTIVE", !0), SY = M("RETURN", !0), qY = M("RETURNING", !0), ZY = M("RETURNS", !0), JY = M("REVOKE", !0), WY = M("RIGHT", !0), HY = M("RLIKE", !0), zY = M("ROLE", !0), YY = M("ROLLBACK", !0), XY = M("ROLLUP", !0), QY = M("ROUTINE", !0), eX = M("ROUTINES", !0), tX = M("ROW", !0), rX = M("ROW_FORMAT", !0), iX = M("ROW_NUMBER", !0), sX = M("ROWID", !0), nX = M("ROWS", !0), aX = M("RULE", !0), oX = M("SAFE", !0), lX = M("SAFE_CAST", !0), dX = M("SAFE_OFFSET", !0), uX = M("SAFE_ORDINAL", !0), cX = M("SATURDAY", !0), pX = M("SAVEPOINT", !0), fX = M("SCHEMA", !0), hX = M("SEARCH", !0), yX = M("SECOND", !0), mX = M("SECOND_MICROSECOND", !0), vX = M("SECONDARY_ENGINE_ATTRIBUTE", !0), EX = M("SECURITY", !0), TX = M("SELECT", !0), IX = M("SEQUENCE", !0), AX = M("SEQUENCES", !0), bX = M("SERIALIZABLE", !0), wX = M("SERVER", !0), _X = M("SESSION", !0), RX = M("SESSION_USER", !0), gX = M("SET", !0), DX = M("SETS", !0), CX = M("SHARE", !0), OX = M("SIMILAR", !0), $X = M("SIMPLE", !0), PX = M("SKIP", !0), NX = M("SMALLINT", !0), VX = M("SNAPSHOT", !0), LX = M("SOME", !0), xX = M("SOUNDS", !0), MX = M("SOURCE", !0), BX = M("SPATIAL", !0), UX = M("SQL_BIG_RESULT", !0), jX = M("SQL_BUFFER_RESULT", !0), GX = M("SQL_CACHE", !0), FX = M("SQL_CALC_FOUND_ROWS", !0), KX = M("SQL_NO_CACHE", !0), kX = M("SQL_SMALL_RESULT", !0), SX = M("STABLE", !0), qX = M("START", !0), ZX = M("STARTING", !0), JX = M("STATEMENT", !0), WX = M("STATISTICS", !0), HX = M("STATS_AUTO_RECALC", !0), zX = M("STATS_PERSISTENT", !0), YX = M("STATS_SAMPLE_PAGES", !0), XX = M("STORAGE", !0), QX = M("STORED", !0), eQ = M("STRAIGHT_JOIN", !0), tQ = M("STRICT", !0), rQ = M("STRING", !0), iQ = M("STRUCT", !0), sQ = M("SUNDAY", !0), nQ = M("SUPERUSER", !0), aQ = M("SUPPORT", !0), oQ = M("SYMMETRIC", !0), lQ = M("SYSID", !0), dQ = M("SYSTEM", !0), uQ = M("SYSTEM_TIME", !0), cQ = M("SYSTEM_USER", !0), pQ = M("TABLE", !0), fQ = M("TABLES", !0), hQ = M("TABLESAMPLE", !0), yQ = M("TABLESPACE", !0), mQ = M("TARGET", !0), vQ = M("TEMP", !0), EQ = M("TEMPORARY", !0), TQ = M("TERMINATED", !0), IQ = M("TEXT", !0), AQ = M("THEN", !0), bQ = M("THURSDAY", !0), wQ = M("TIES", !0), _Q = M("TIME", !0), RQ = M("TIMESTAMP", !0), gQ = M("TIMEZONE", !0), DQ = M("TIMEZONE_HOUR", !0), CQ = M("TIMEZONE_MINUTE", !0), OQ = M("TINYBLOB", !0), $Q = M("TINYINT", !0), PQ = M("TINYTEXT", !0), NQ = M("TO", !0), VQ = M("TRANSACTION", !0), LQ = M("TRANSFORM", !0), xQ = M("TRIGGER", !0), MQ = M("TRUE", !0), BQ = M("TRUNCATE", !0), UQ = M("TUESDAY", !0), jQ = M("TYPE", !0), GQ = M("UESCAPE", !0), FQ = M("UNBOUNDED", !0), KQ = M("UNCOMMITTED", !0), kQ = M("UNION", !0), SQ = M("UNIQUE", !0), qQ = M("UNKNOWN", !0), ZQ = M("UNLOGGED", !0), JQ = M("UNNEST", !0), WQ = M("UNPIVOT", !0), HQ = M("UNSAFE", !0), zQ = M("UNTIL", !0), YQ = M("UPDATE", !0), XQ = M("USAGE", !0), QQ = M("USER", !0), eee = M("USING", !0), tee = M("VACUUM", !0), ree = M("VALID", !0), iee = M("VALIDATE", !0), see = M("VALUE", !0), nee = M("VALUES", !0), aee = M("VARBINARY", !0), oee = M("VARCHAR", !0), lee = M("VARIADIC", !0), dee = M("VARYING", !0), uee = M("VECTOR", !0), cee = M("VERBOSE", !0), pee = M("VIEW", !0), fee = M("VIRTUAL", !0), hee = M("VISIBLE", !0), yee = M("VOLATILE", !0), mee = M("WEDNESDAY", !0), vee = M("WEEK", !0), Eee = M("WHEN", !0), Tee = M("WHERE", !0), Iee = M("WHILE", !0), Aee = M("WINDOW", !0), bee = M("WITH", !0), wee = M("WITHOUT", !0), _ee = M("WORK", !0), Ree = M("WRAPPER", !0), gee = M("WRITE", !0), Dee = M("XOR", !0), Cee = M("YEAR", !0), Oee = M("YEAR_MONTH", !0), $ee = M("ZONE", !0), Pee = function(t, n, s) {
52610
+ `, "\r"], !1, !1), r1 = oi([";"], !0, !1), z8 = x("ABORT", !0), Y8 = x("ACCESS", !0), X8 = x("ACTION", !0), Q8 = x("ADD", !0), eS = x("ADMIN", !0), tS = x("AFTER", !0), rS = x("AGAINST", !0), iS = x("ALL", !0), sS = x("ALTER", !0), nS = x("ALWAYS", !0), aS = x("ANALYZE", !0), oS = x("AND", !0), lS = x("ANY", !0), dS = x("ARRAY", !0), uS = x("AS", !0), cS = x("ASC", !0), pS = x("ASSERT", !0), fS = x("ASSIGNMENT", !0), hS = x("AT", !0), yS = x("ATOMIC", !0), mS = x("ATTACH", !0), vS = x("ATTRIBUTE", !0), ES = x("AUTHORIZATION", !0), TS = x("AUTO_INCREMENT", !0), IS = x("AUTOEXTEND_SIZE", !0), AS = x("AUTOINCREMENT", !0), bS = x("AVG_ROW_LENGTH", !0), wS = x("BEFORE", !0), _S = x("BEGIN", !0), RS = x("BERNOULLI", !0), gS = x("BETWEEN", !0), DS = x("BI_CAPACITY", !0), CS = x("BIGDECIMAL", !0), OS = x("BIGINT", !0), $S = x("BIGNUMERIC", !0), PS = x("BINARY", !0), NS = x("BIT", !0), VS = x("BLOB", !0), LS = x("BOOL", !0), xS = x("BOOLEAN", !0), MS = x("BREADTH", !0), BS = x("BREAK", !0), US = x("BY", !0), jS = x("BYPASSRLS", !0), GS = x("BYTEINT", !0), FS = x("BYTES", !0), KS = x("CACHE", !0), kS = x("CALL", !0), SS = x("CALLED", !0), qS = x("CAPACITY", !0), ZS = x("CASCADE", !0), JS = x("CASCADED", !0), WS = x("CASE", !0), HS = x("CAST", !0), zS = x("CENTURY", !0), YS = x("CHAIN", !0), XS = x("CHAR", !0), QS = x("CHARACTER", !0), eq = x("CHECK", !0), tq = x("CHECKSUM", !0), rq = x("CLONE", !0), iq = x("CLUSTER", !0), sq = x("COLLATE", !0), nq = x("COLUMN", !0), aq = x("COLUMN_FORMAT", !0), oq = x("COLUMNS", !0), lq = x("COMMENT", !0), dq = x("COMMENTS", !0), uq = x("COMMIT", !0), cq = x("COMMITTED", !0), pq = x("COMPACT", !0), fq = x("COMPRESSED", !0), hq = x("COMPRESSION", !0), yq = x("CONCURRENTLY", !0), mq = x("CONFLICT", !0), vq = x("CONNECT", !0), Eq = x("CONNECTION", !0), Tq = x("CONSTRAINT", !0), Iq = x("CONSTRAINTS", !0), Aq = x("CONTINUE", !0), bq = x("COPY", !0), wq = x("COST", !0), _q = x("CREATE", !0), Rq = x("CREATEDB", !0), gq = x("CREATEROLE", !0), Dq = x("CROSS", !0), Cq = x("CUBE", !0), Oq = x("CUME_DIST", !0), $q = x("CURRENT", !0), Pq = x("CURRENT_CATALOG", !0), Nq = x("CURRENT_DATE", !0), Vq = x("CURRENT_DATETIME", !0), Lq = x("CURRENT_ROLE", !0), xq = x("CURRENT_SCHEMA", !0), Mq = x("CURRENT_TIME", !0), Bq = x("CURRENT_TIMESTAMP", !0), Uq = x("CURRENT_USER", !0), jq = x("CYCLE", !0), Gq = x("DATA", !0), Fq = x("DATABASE", !0), Kq = x("DATE", !0), kq = x("DATETIME", !0), Sq = x("DAY", !0), qq = x("DAY_HOUR", !0), Zq = x("DAY_MICROSECOND", !0), Jq = x("DAY_MINUTE", !0), Wq = x("DAY_SECOND", !0), Hq = x("DAYOFWEEK", !0), zq = x("DAYOFYEAR", !0), Yq = x("DEC", !0), Xq = x("DECADE", !0), Qq = x("DECIMAL", !0), eZ = x("DECLARE", !0), tZ = x("DEFAULT", !0), rZ = x("DEFAULTS", !0), iZ = x("DEFERRABLE", !0), sZ = x("DEFERRED", !0), nZ = x("DEFINER", !0), aZ = x("DELAY_KEY_WRITE", !0), oZ = x("DELAYED", !0), lZ = x("DELETE", !0), dZ = x("DENSE_RANK", !0), uZ = x("DEPENDS", !0), cZ = x("DEPTH", !0), pZ = x("DESC", !0), fZ = x("DESCRIBE", !0), hZ = x("DETACH", !0), yZ = x("DETERMINISTIC", !0), mZ = x("DIRECTORY", !0), vZ = x("DISABLE", !0), EZ = x("DISK", !0), TZ = x("DISTINCT", !0), IZ = x("DISTINCTROW", !0), AZ = x("DIV", !0), bZ = x("DO", !0), wZ = x("DOMAIN", !0), _Z = x("DOUBLE", !0), RZ = x("DOW", !0), gZ = x("DOY", !0), DZ = x("DROP", !0), CZ = x("DUAL", !0), OZ = x("DUMPFILE", !0), $Z = x("DUPLICATE", !0), PZ = x("DYNAMIC", !0), NZ = x("EACH", !0), VZ = x("ELSE", !0), LZ = x("ELSEIF", !0), xZ = x("ENABLE", !0), MZ = x("ENCLOSED", !0), BZ = x("ENCRYPTED", !0), UZ = x("ENCRYPTION", !0), jZ = x("END", !0), GZ = x("ENFORCED", !0), FZ = x("ENGINE", !0), KZ = x("ENGINE_ATTRIBUTE", !0), kZ = x("ENUM", !0), SZ = x("EPOCH", !0), qZ = x("ERROR", !0), ZZ = x("ESCAPE", !0), JZ = x("ESCAPED", !0), WZ = x("EXAMINED", !0), HZ = x("EXCEPT", !0), zZ = x("EXCEPTION", !0), YZ = x("EXCLUDE", !0), XZ = x("EXCLUDING", !0), QZ = x("EXCLUSIVE", !0), eJ = x("EXECUTE", !0), tJ = x("EXISTS", !0), rJ = x("EXPANSION", !0), iJ = x("EXPLAIN", !0), sJ = x("EXPORT", !0), nJ = x("EXPRESSION", !0), aJ = x("EXTENDED", !0), oJ = x("EXTENSION", !0), lJ = x("EXTERNAL", !0), dJ = x("EXTRACT", !0), uJ = x("FAIL", !0), cJ = x("FALSE", !0), pJ = x("FETCH", !0), fJ = x("FIELDS", !0), hJ = x("FILES", !0), yJ = x("FILTER", !0), mJ = x("FIRST", !0), vJ = x("FIRST_VALUE", !0), EJ = x("FIXED", !0), TJ = x("FLOAT", !0), IJ = x("FLOAT64", !0), AJ = x("FOLLOWING", !0), bJ = x("FOR", !0), wJ = x("FORCE", !0), _J = x("FOREIGN", !0), RJ = x("FORMAT", !0), gJ = x("FRIDAY", !0), DJ = x("FROM", !0), CJ = x("FULL", !0), OJ = x("FULLTEXT", !0), $J = x("FUNCTION", !0), PJ = x("FUNCTIONS", !0), NJ = x("GENERATED", !0), VJ = x("GEOGRAPHY", !0), LJ = x("GLOB", !0), xJ = x("GLOBAL", !0), MJ = x("GRANT", !0), BJ = x("GRANTED", !0), UJ = x("GROUP", !0), jJ = x("GROUPING", !0), GJ = x("GROUPS", !0), FJ = x("HASH", !0), KJ = x("HAVING", !0), kJ = x("HIGH_PRIORITY", !0), SJ = x("HOUR", !0), qJ = x("HOUR_MICROSECOND", !0), ZJ = x("HOUR_MINUTE", !0), JJ = x("HOUR_SECOND", !0), WJ = x("IDENTITY", !0), HJ = x("IF", !0), zJ = x("IGNORE", !0), YJ = x("ILIKE", !0), XJ = x("IMMEDIATE", !0), QJ = x("IMMUTABLE", !0), eW = x("IN", !0), tW = x("INCLUDE", !0), rW = x("INCLUDING", !0), iW = x("INCREMENT", !0), sW = x("INDEX", !0), nW = x("INDEXED", !0), aW = x("INDEXES", !0), oW = x("INHERIT", !0), lW = x("INHERITS", !0), dW = x("INITIALLY", !0), uW = x("INNER", !0), cW = x("INOUT", !0), pW = x("INPUT", !0), fW = x("INSERT", !0), hW = x("INSERT_METHOD", !0), yW = x("INSTEAD", !0), mW = x("INT", !0), vW = x("INT64", !0), EW = x("INTEGER", !0), TW = x("INTERSECT", !0), IW = x("INTERVAL", !0), AW = x("INTO", !0), bW = x("INVISIBLE", !0), wW = x("INVOKER", !0), _W = x("IS", !0), RW = x("ISNULL", !0), gW = x("ISODOW", !0), DW = x("ISOLATION", !0), CW = x("ISOWEEK", !0), OW = x("ISOYEAR", !0), $W = x("ITERATE", !0), PW = x("JOIN", !0), NW = x("JSON", !0), VW = x("JSONB", !0), LW = x("JULIAN", !0), xW = x("KEY", !0), MW = x("KEY_BLOCK_SIZE", !0), BW = x("LAG", !0), UW = x("LANGUAGE", !0), jW = x("LARGE", !0), GW = x("LAST", !0), FW = x("LAST_VALUE", !0), KW = x("LATERAL", !0), kW = x("LEAD", !0), SW = x("LEAKPROOF", !0), qW = x("LEAVE", !0), ZW = x("LEFT", !0), JW = x("LEVEL", !0), WW = x("LIKE", !0), HW = x("LIMIT", !0), zW = x("LINES", !0), YW = x("LIST", !0), XW = x("LOAD", !0), QW = x("LOCAL", !0), eH = x("LOCALTIME", !0), tH = x("LOCALTIMESTAMP", !0), rH = x("LOCK", !0), iH = x("LOCKED", !0), sH = x("LOGGED", !0), nH = x("LOGIN", !0), aH = x("LONGBLOB", !0), oH = x("LONGTEXT", !0), lH = x("LOOP", !0), dH = x("LOW_PRIORITY", !0), uH = x("MAIN", !0), cH = x("MAINTAIN", !0), pH = x("MATCH", !0), fH = x("MATCHED", !0), hH = x("MATERIALIZED", !0), yH = x("MAX", !0), mH = x("MAX_ROWS", !0), vH = x("MAXVALUE", !0), EH = x("MEDIUMBLOB", !0), TH = x("MEDIUMINT", !0), IH = x("MEDIUMTEXT", !0), AH = x("MEMBER", !0), bH = x("MEMORY", !0), wH = x("MERGE", !0), _H = x("MESSAGE", !0), RH = x("METHOD", !0), gH = x("MICROSECOND", !0), DH = x("MICROSECONDS", !0), CH = x("MILLENNIUM", !0), OH = x("MILLISECOND", !0), $H = x("MILLISECONDS", !0), PH = x("MIN", !0), NH = x("MIN_ROWS", !0), VH = x("MINUTE", !0), LH = x("MINUTE_MICROSECOND", !0), xH = x("MINUTE_SECOND", !0), MH = x("MINVALUE", !0), BH = x("MOD", !0), UH = x("MODE", !0), jH = x("MODULUS", !0), GH = x("MONDAY", !0), FH = x("MONTH", !0), KH = x("NATIVE", !0), kH = x("NATURAL", !0), SH = x("NCHAR", !0), qH = x("NEW", !0), ZH = x("NEXT", !0), JH = x("NFC", !0), WH = x("NFD", !0), HH = x("NFKC", !0), zH = x("NFKD", !0), YH = x("NO", !0), XH = x("NOBYPASSRLS", !0), QH = x("NOCREATEDB", !0), ez = x("NOCREATEROLE", !0), tz = x("NOINHERIT", !0), rz = x("NOLOGIN", !0), iz = x("NONE", !0), sz = x("NOREPLICATION", !0), nz = x("NORMALIZED", !0), az = x("NOSUPERUSER", !0), oz = x("NOT", !0), lz = x("NOTHING", !0), dz = x("NOTNULL", !0), uz = x("NOWAIT", !0), cz = x("NTH_VALUE", !0), pz = x("NTILE", !0), fz = x("NULL", !0), hz = x("NULLS", !0), yz = x("NUMERIC", !0), mz = x("NVARCHAR", !0), vz = x("OBJECT", !0), Ez = x("OF", !0), Tz = x("OFFSET", !0), Iz = x("OIDS", !0), Az = x("OLD", !0), bz = x("ON", !0), wz = x("ONLY", !0), _z = x("OPERATOR", !0), Rz = x("OPTION", !0), gz = x("OPTIONALLY", !0), Dz = x("OPTIONS", !0), Cz = x("OR", !0), Oz = x("ORDER", !0), $z = x("ORDINAL", !0), Pz = x("ORDINALITY", !0), Nz = x("ORGANIZATION", !0), Vz = x("OTHERS", !0), Lz = x("OUT", !0), xz = x("OUTER", !0), Mz = x("OUTFILE", !0), Bz = x("OVER", !0), Uz = x("OVERRIDING", !0), jz = x("OVERWRITE", !0), Gz = x("OWNED", !0), Fz = x("OWNER", !0), Kz = x("PACK_KEYS", !0), kz = x("PARALLEL", !0), Sz = x("PARAMETER", !0), qz = x("PARTIAL", !0), Zz = x("PARTITION", !0), Jz = x("PASSWORD", !0), Wz = x("PERCENT", !0), Hz = x("PERCENT_RANK", !0), zz = x("PERMISSIVE", !0), Yz = x("PIVOT", !0), Xz = x("PLAIN", !0), Qz = x("PLAN", !0), eY = x("POLICIES", !0), tY = x("POLICY", !0), rY = x("PRAGMA", !0), iY = x("PRECEDING", !0), sY = x("PRECISION", !0), nY = x("PRESERVE", !0), aY = x("PRIMARY", !0), oY = x("PRIVILEGES", !0), lY = x("PROCEDURE", !0), dY = x("PROCEDURES", !0), uY = x("PROJECT", !0), cY = x("PUBLIC", !0), pY = x("QUALIFY", !0), fY = x("QUARTER", !0), hY = x("QUERY", !0), yY = x("QUICK", !0), mY = x("RAISE", !0), vY = x("RANGE", !0), EY = x("RANK", !0), TY = x("READ", !0), IY = x("REAL", !0), AY = x("RECURSIVE", !0), bY = x("REDUNDANT", !0), wY = x("REFERENCES", !0), _Y = x("REFERENCING", !0), RY = x("REFRESH", !0), gY = x("REGEXP", !0), DY = x("REINDEX", !0), CY = x("RELEASE", !0), OY = x("REMAINDER", !0), $Y = x("REMOTE", !0), PY = x("RENAME", !0), NY = x("REPEAT", !0), VY = x("REPEATABLE", !0), LY = x("REPLACE", !0), xY = x("REPLICA", !0), MY = x("REPLICATION", !0), BY = x("RESERVATION", !0), UY = x("RESET", !0), jY = x("RESPECT", !0), GY = x("RESTART", !0), FY = x("RESTRICT", !0), KY = x("RESTRICTED", !0), kY = x("RESTRICTIVE", !0), SY = x("RETURN", !0), qY = x("RETURNING", !0), ZY = x("RETURNS", !0), JY = x("REVOKE", !0), WY = x("RIGHT", !0), HY = x("RLIKE", !0), zY = x("ROLE", !0), YY = x("ROLLBACK", !0), XY = x("ROLLUP", !0), QY = x("ROUTINE", !0), eX = x("ROUTINES", !0), tX = x("ROW", !0), rX = x("ROW_FORMAT", !0), iX = x("ROW_NUMBER", !0), sX = x("ROWID", !0), nX = x("ROWS", !0), aX = x("RULE", !0), oX = x("SAFE", !0), lX = x("SAFE_CAST", !0), dX = x("SAFE_OFFSET", !0), uX = x("SAFE_ORDINAL", !0), cX = x("SATURDAY", !0), pX = x("SAVEPOINT", !0), fX = x("SCHEMA", !0), hX = x("SEARCH", !0), yX = x("SECOND", !0), mX = x("SECOND_MICROSECOND", !0), vX = x("SECONDARY_ENGINE_ATTRIBUTE", !0), EX = x("SECURITY", !0), TX = x("SELECT", !0), IX = x("SEQUENCE", !0), AX = x("SEQUENCES", !0), bX = x("SERIALIZABLE", !0), wX = x("SERVER", !0), _X = x("SESSION", !0), RX = x("SESSION_USER", !0), gX = x("SET", !0), DX = x("SETS", !0), CX = x("SHARE", !0), OX = x("SIMILAR", !0), $X = x("SIMPLE", !0), PX = x("SKIP", !0), NX = x("SMALLINT", !0), VX = x("SNAPSHOT", !0), LX = x("SOME", !0), xX = x("SOUNDS", !0), MX = x("SOURCE", !0), BX = x("SPATIAL", !0), UX = x("SQL_BIG_RESULT", !0), jX = x("SQL_BUFFER_RESULT", !0), GX = x("SQL_CACHE", !0), FX = x("SQL_CALC_FOUND_ROWS", !0), KX = x("SQL_NO_CACHE", !0), kX = x("SQL_SMALL_RESULT", !0), SX = x("STABLE", !0), qX = x("START", !0), ZX = x("STARTING", !0), JX = x("STATEMENT", !0), WX = x("STATISTICS", !0), HX = x("STATS_AUTO_RECALC", !0), zX = x("STATS_PERSISTENT", !0), YX = x("STATS_SAMPLE_PAGES", !0), XX = x("STORAGE", !0), QX = x("STORED", !0), eQ = x("STRAIGHT_JOIN", !0), tQ = x("STRICT", !0), rQ = x("STRING", !0), iQ = x("STRUCT", !0), sQ = x("SUNDAY", !0), nQ = x("SUPERUSER", !0), aQ = x("SUPPORT", !0), oQ = x("SYMMETRIC", !0), lQ = x("SYSID", !0), dQ = x("SYSTEM", !0), uQ = x("SYSTEM_TIME", !0), cQ = x("SYSTEM_USER", !0), pQ = x("TABLE", !0), fQ = x("TABLES", !0), hQ = x("TABLESAMPLE", !0), yQ = x("TABLESPACE", !0), mQ = x("TARGET", !0), vQ = x("TEMP", !0), EQ = x("TEMPORARY", !0), TQ = x("TERMINATED", !0), IQ = x("TEXT", !0), AQ = x("THEN", !0), bQ = x("THURSDAY", !0), wQ = x("TIES", !0), _Q = x("TIME", !0), RQ = x("TIMESTAMP", !0), gQ = x("TIMEZONE", !0), DQ = x("TIMEZONE_HOUR", !0), CQ = x("TIMEZONE_MINUTE", !0), OQ = x("TINYBLOB", !0), $Q = x("TINYINT", !0), PQ = x("TINYTEXT", !0), NQ = x("TO", !0), VQ = x("TRANSACTION", !0), LQ = x("TRANSFORM", !0), xQ = x("TRIGGER", !0), MQ = x("TRUE", !0), BQ = x("TRUNCATE", !0), UQ = x("TUESDAY", !0), jQ = x("TYPE", !0), GQ = x("UESCAPE", !0), FQ = x("UNBOUNDED", !0), KQ = x("UNCOMMITTED", !0), kQ = x("UNION", !0), SQ = x("UNIQUE", !0), qQ = x("UNKNOWN", !0), ZQ = x("UNLOGGED", !0), JQ = x("UNNEST", !0), WQ = x("UNPIVOT", !0), HQ = x("UNSAFE", !0), zQ = x("UNTIL", !0), YQ = x("UPDATE", !0), XQ = x("USAGE", !0), QQ = x("USER", !0), eee = x("USING", !0), tee = x("VACUUM", !0), ree = x("VALID", !0), iee = x("VALIDATE", !0), see = x("VALUE", !0), nee = x("VALUES", !0), aee = x("VARBINARY", !0), oee = x("VARCHAR", !0), lee = x("VARIADIC", !0), dee = x("VARYING", !0), uee = x("VECTOR", !0), cee = x("VERBOSE", !0), pee = x("VIEW", !0), fee = x("VIRTUAL", !0), hee = x("VISIBLE", !0), yee = x("VOLATILE", !0), mee = x("WEDNESDAY", !0), vee = x("WEEK", !0), Eee = x("WHEN", !0), Tee = x("WHERE", !0), Iee = x("WHILE", !0), Aee = x("WINDOW", !0), bee = x("WITH", !0), wee = x("WITHOUT", !0), _ee = x("WORK", !0), Ree = x("WRAPPER", !0), gee = x("WRITE", !0), Dee = x("XOR", !0), Cee = x("YEAR", !0), Oee = x("YEAR_MONTH", !0), $ee = x("ZONE", !0), Pee = function(t, n, s) {
52611
52611
  return (0, Un.surrounding)(t, n, s);
52612
52612
  }, Nee = function(t, n) {
52613
52613
  return (0, D.loc)({
@@ -60506,7 +60506,7 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
60506
60506
  function pt() {
60507
60507
  return o.substring(b, r);
60508
60508
  }
60509
- function M(t, n) {
60509
+ function x(t, n) {
60510
60510
  return { type: "literal", text: t, ignoreCase: n };
60511
60511
  }
60512
60512
  function oi(t, n, s) {
@@ -61356,7 +61356,7 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
61356
61356
  }
61357
61357
  function F0() {
61358
61358
  var t, n, s, l, c, h;
61359
- return t = r, n = r, s = XBe(), s === e && (s = gi()), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (o.charCodeAt(r) === 61 ? (s = x, r++) : (s = e, m === 0 && O(Fi)), s !== e ? (l = r, c = I(), h = nNe(), h !== e ? (c = [c, h], l = c) : (r = l, l = e), l !== e ? (b = t, t = rse(n, l)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t;
61359
+ return t = r, n = r, s = XBe(), s === e && (s = gi()), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (o.charCodeAt(r) === 61 ? (s = M, r++) : (s = e, m === 0 && O(Fi)), s !== e ? (l = r, c = I(), h = nNe(), h !== e ? (c = [c, h], l = c) : (r = l, l = e), l !== e ? (b = t, t = rse(n, l)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t;
61360
61360
  }
61361
61361
  function nNe() {
61362
61362
  var t, n, s, l;
@@ -61799,7 +61799,7 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
61799
61799
  }
61800
61800
  function X0() {
61801
61801
  var t, n, s, l, c, h;
61802
- return t = r, n = r, s = be(), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (o.charCodeAt(r) === 61 ? (s = x, r++) : (s = e, m === 0 && O(Fi)), s !== e ? (l = r, c = I(), h = ze(), h !== e ? (c = [c, h], l = c) : (r = l, l = e), l !== e ? (b = t, t = Zne(n, l)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t;
61802
+ return t = r, n = r, s = be(), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (o.charCodeAt(r) === 61 ? (s = M, r++) : (s = e, m === 0 && O(Fi)), s !== e ? (l = r, c = I(), h = ze(), h !== e ? (c = [c, h], l = c) : (r = l, l = e), l !== e ? (b = t, t = Zne(n, l)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t;
61803
61803
  }
61804
61804
  function t_() {
61805
61805
  var t, n, s, l, c, h;
@@ -62475,7 +62475,7 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
62475
62475
  }
62476
62476
  function zf() {
62477
62477
  var t, n, s, l, c, h, T;
62478
- return t = r, n = r, s = Xt(), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (s = r, l = be(), l !== e ? (c = I(), l = [l, c], s = l) : (r = s, s = e), s !== e ? (o.charCodeAt(r) === 61 ? (l = x, r++) : (l = e, m === 0 && O(Fi)), l === e && (l = ri()), l !== e ? (c = r, h = I(), T = IBe(), T !== e ? (h = [h, T], c = h) : (r = c, c = e), c !== e ? (b = t, t = Ole(n, s, l, c)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t;
62478
+ return t = r, n = r, s = Xt(), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (s = r, l = be(), l !== e ? (c = I(), l = [l, c], s = l) : (r = s, s = e), s !== e ? (o.charCodeAt(r) === 61 ? (l = M, r++) : (l = e, m === 0 && O(Fi)), l === e && (l = ri()), l !== e ? (c = r, h = I(), T = IBe(), T !== e ? (h = [h, T], c = h) : (r = c, c = e), c !== e ? (b = t, t = Ole(n, s, l, c)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t;
62479
62479
  }
62480
62480
  function yv() {
62481
62481
  var t;
@@ -62548,7 +62548,7 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
62548
62548
  }
62549
62549
  function M_() {
62550
62550
  var t, n, s, l, c;
62551
- return t = r, n = ti(), n === e && (o.charCodeAt(r) === 61 ? (n = x, r++) : (n = e, m === 0 && O(Fi))), n !== e ? (s = r, l = I(), c = ze(), c !== e ? (l = [l, c], s = l) : (r = s, s = e), s !== e ? (b = t, t = jle(n, s)) : (r = t, t = e)) : (r = t, t = e), t;
62551
+ return t = r, n = ti(), n === e && (o.charCodeAt(r) === 61 ? (n = M, r++) : (n = e, m === 0 && O(Fi))), n !== e ? (s = r, l = I(), c = ze(), c !== e ? (l = [l, c], s = l) : (r = s, s = e), s !== e ? (b = t, t = jle(n, s)) : (r = t, t = e)) : (r = t, t = e), t;
62552
62552
  }
62553
62553
  function B_() {
62554
62554
  var t, n, s;
@@ -62837,7 +62837,7 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
62837
62837
  }
62838
62838
  function nLe() {
62839
62839
  var t, n, s, l, c, h, T;
62840
- return t = r, n = r, s = Xt(), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (s = r, l = be(), l !== e ? (c = I(), l = [l, c], s = l) : (r = s, s = e), s !== e ? (o.charCodeAt(r) === 61 ? (l = x, r++) : (l = e, m === 0 && O(Fi)), l === e && (l = ri()), l !== e ? (c = r, h = I(), T = Hl(), T === e && (T = xg()), T !== e ? (h = [h, T], c = h) : (r = c, c = e), c !== e ? (b = t, t = Ode(n, s, l, c)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t;
62840
+ return t = r, n = r, s = Xt(), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (s = r, l = be(), l !== e ? (c = I(), l = [l, c], s = l) : (r = s, s = e), s !== e ? (o.charCodeAt(r) === 61 ? (l = M, r++) : (l = e, m === 0 && O(Fi)), l === e && (l = ri()), l !== e ? (c = r, h = I(), T = Hl(), T === e && (T = xg()), T !== e ? (h = [h, T], c = h) : (r = c, c = e), c !== e ? (b = t, t = Ode(n, s, l, c)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t;
62841
62841
  }
62842
62842
  function aLe() {
62843
62843
  var t, n, s, l, c, h, T;
@@ -63185,7 +63185,7 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
63185
63185
  }
63186
63186
  function bv() {
63187
63187
  var t, n, s, l, c, h, T;
63188
- return t = r, n = r, m++, s = Ne(), m--, s !== e ? (r = n, n = void 0) : n = e, n !== e ? (s = r, l = be(), l === e && (l = Mu(), l === e && (l = _o(), l === e && (l = Q4e()))), l !== e ? (c = I(), l = [l, c], s = l) : (r = s, s = e), s !== e ? (o.charCodeAt(r) === 61 ? (l = x, r++) : (l = e, m === 0 && O(Fi)), l !== e ? (c = r, h = I(), T = ze(), T !== e ? (h = [h, T], c = h) : (r = c, c = e), c !== e ? (b = t, t = fce(s, c)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = r, m++, s = Ne(), m--, s === e ? n = void 0 : (r = n, n = e), n !== e ? (s = r, l = be(), l === e && (l = _o()), l !== e ? (c = I(), l = [l, c], s = l) : (r = s, s = e), s !== e ? (o.charCodeAt(r) === 61 ? (l = x, r++) : (l = e, m === 0 && O(Fi)), l !== e ? (c = r, h = I(), T = ze(), T !== e ? (h = [h, T], c = h) : (r = c, c = e), c !== e ? (b = t, t = hce(s, c)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e)), t;
63188
+ return t = r, n = r, m++, s = Ne(), m--, s !== e ? (r = n, n = void 0) : n = e, n !== e ? (s = r, l = be(), l === e && (l = Mu(), l === e && (l = _o(), l === e && (l = Q4e()))), l !== e ? (c = I(), l = [l, c], s = l) : (r = s, s = e), s !== e ? (o.charCodeAt(r) === 61 ? (l = M, r++) : (l = e, m === 0 && O(Fi)), l !== e ? (c = r, h = I(), T = ze(), T !== e ? (h = [h, T], c = h) : (r = c, c = e), c !== e ? (b = t, t = fce(s, c)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = r, m++, s = Ne(), m--, s === e ? n = void 0 : (r = n, n = e), n !== e ? (s = r, l = be(), l === e && (l = _o()), l !== e ? (c = I(), l = [l, c], s = l) : (r = s, s = e), s !== e ? (o.charCodeAt(r) === 61 ? (l = M, r++) : (l = e, m === 0 && O(Fi)), l !== e ? (c = r, h = I(), T = ze(), T !== e ? (h = [h, T], c = h) : (r = c, c = e), c !== e ? (b = t, t = hce(s, c)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e)), t;
63189
63189
  }
63190
63190
  function YLe() {
63191
63191
  var t, n, s, l, c, h, T, R;
@@ -63276,7 +63276,7 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
63276
63276
  }
63277
63277
  function lxe() {
63278
63278
  var t, n, s, l, c, h;
63279
- return t = r, n = r, s = qi(), s !== e ? (l = I(), c = UGe(), c !== e ? (h = I(), s = [s, l, c, h], n = s) : (r = n, n = e)) : (r = n, n = e), n !== e ? (o.charCodeAt(r) === 61 ? (s = x, r++) : (s = e, m === 0 && O(Fi)), s !== e ? (l = r, c = I(), h = rr(), h !== e ? (c = [c, h], l = c) : (r = l, l = e), l !== e ? (b = t, t = Lce(n, l)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t;
63279
+ return t = r, n = r, s = qi(), s !== e ? (l = I(), c = UGe(), c !== e ? (h = I(), s = [s, l, c, h], n = s) : (r = n, n = e)) : (r = n, n = e), n !== e ? (o.charCodeAt(r) === 61 ? (s = M, r++) : (s = e, m === 0 && O(Fi)), s !== e ? (l = r, c = I(), h = rr(), h !== e ? (c = [c, h], l = c) : (r = l, l = e), l !== e ? (b = t, t = Lce(n, l)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t;
63280
63280
  }
63281
63281
  function wv() {
63282
63282
  var t, n, s, l, c, h, T, R;
@@ -63316,7 +63316,7 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
63316
63316
  }
63317
63317
  function vxe() {
63318
63318
  var t, n, s, l, c, h;
63319
- return t = r, n = r, s = Ue(), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (o.charCodeAt(r) === 61 ? (s = x, r++) : (s = e, m === 0 && O(Fi)), s !== e ? (l = r, c = I(), h = dR(), h !== e ? (c = [c, h], l = c) : (r = l, l = e), l !== e ? (b = t, t = Sce(n, l)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t;
63319
+ return t = r, n = r, s = Ue(), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (o.charCodeAt(r) === 61 ? (s = M, r++) : (s = e, m === 0 && O(Fi)), s !== e ? (l = r, c = I(), h = dR(), h !== e ? (c = [c, h], l = c) : (r = l, l = e), l !== e ? (b = t, t = Sce(n, l)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t;
63320
63320
  }
63321
63321
  function Exe() {
63322
63322
  var t, n, s, l, c;
@@ -63441,7 +63441,7 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
63441
63441
  }
63442
63442
  function _v() {
63443
63443
  var t, n, s, l, c, h;
63444
- return t = r, n = r, s = Ue(), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (o.charCodeAt(r) === 61 ? (s = x, r++) : (s = e, m === 0 && O(Fi)), s !== e ? (l = r, c = I(), h = ze(), h === e && (h = xg()), h !== e ? (c = [c, h], l = c) : (r = l, l = e), l !== e ? (b = t, t = upe(n, l)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = Ue(), n !== e && (b = t, n = cpe(n)), t = n), t;
63444
+ return t = r, n = r, s = Ue(), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (o.charCodeAt(r) === 61 ? (s = M, r++) : (s = e, m === 0 && O(Fi)), s !== e ? (l = r, c = I(), h = ze(), h === e && (h = xg()), h !== e ? (c = [c, h], l = c) : (r = l, l = e), l !== e ? (b = t, t = upe(n, l)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = Ue(), n !== e && (b = t, n = cpe(n)), t = n), t;
63445
63445
  }
63446
63446
  function fR() {
63447
63447
  var t, n, s, l;
@@ -63478,7 +63478,7 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
63478
63478
  }
63479
63479
  function Uxe() {
63480
63480
  var t, n, s, l, c, h;
63481
- return t = r, n = r, s = hR(), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (o.charCodeAt(r) === 61 ? (s = x, r++) : (s = e, m === 0 && O(Fi)), s !== e ? (l = r, c = I(), h = yR(), h !== e ? (c = [c, h], l = c) : (r = l, l = e), l !== e ? (b = t, t = Tpe(n, l)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = r, s = hR(), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (s = yR(), s !== e ? (b = t, t = Ipe(n, s)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = r, s = sT(), s !== e ? (l = I(), c = Xu(), c !== e ? (s = [s, l, c], n = s) : (r = n, n = e)) : (r = n, n = e), n !== e && (b = t, n = Ape(n)), t = n)), t;
63481
+ return t = r, n = r, s = hR(), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (o.charCodeAt(r) === 61 ? (s = M, r++) : (s = e, m === 0 && O(Fi)), s !== e ? (l = r, c = I(), h = yR(), h !== e ? (c = [c, h], l = c) : (r = l, l = e), l !== e ? (b = t, t = Tpe(n, l)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = r, s = hR(), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e ? (s = yR(), s !== e ? (b = t, t = Ipe(n, s)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = r, s = sT(), s !== e ? (l = I(), c = Xu(), c !== e ? (s = [s, l, c], n = s) : (r = n, n = e)) : (r = n, n = e), n !== e && (b = t, n = Ape(n)), t = n)), t;
63482
63482
  }
63483
63483
  function hR() {
63484
63484
  var t, n, s, l, c, h, T;
@@ -63588,7 +63588,7 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
63588
63588
  }
63589
63589
  function Yxe() {
63590
63590
  var t, n, s, l, c, h;
63591
- return t = r, n = fD(), n === e && (n = rC()), n !== e ? (s = r, l = I(), o.charCodeAt(r) === 61 ? (c = x, r++) : (c = e, m === 0 && O(Fi)), c !== e ? (l = [l, c], s = l) : (r = s, s = e), s === e && (s = null), l = r, c = I(), h = rr(), h !== e ? (c = [c, h], l = c) : (r = l, l = e), l !== e ? (b = t, t = Qpe(n, s, l)) : (r = t, t = e)) : (r = t, t = e), t;
63591
+ return t = r, n = fD(), n === e && (n = rC()), n !== e ? (s = r, l = I(), o.charCodeAt(r) === 61 ? (c = M, r++) : (c = e, m === 0 && O(Fi)), c !== e ? (l = [l, c], s = l) : (r = s, s = e), s === e && (s = null), l = r, c = I(), h = rr(), h !== e ? (c = [c, h], l = c) : (r = l, l = e), l !== e ? (b = t, t = Qpe(n, s, l)) : (r = t, t = e)) : (r = t, t = e), t;
63592
63592
  }
63593
63593
  function Xxe() {
63594
63594
  var t, n, s, l;
@@ -63937,8 +63937,8 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
63937
63937
  function xv() {
63938
63938
  var t, n, s, l, c, h, T, R;
63939
63939
  if (t = r, n = Mv(), n !== e) {
63940
- for (s = [], l = r, c = I(), o.substr(r, 2) === z ? (h = z, r += 2) : (h = e, m === 0 && O(r0)), h === e && (o.charCodeAt(r) === 62 ? (h = J, r++) : (h = e, m === 0 && O(wf)), h === e && (o.substr(r, 2) === H ? (h = H, r += 2) : (h = e, m === 0 && O(i0)), h === e && (o.substr(r, 2) === ce ? (h = ce, r += 2) : (h = e, m === 0 && O(s0)), h === e && (o.charCodeAt(r) === 60 ? (h = re, r++) : (h = e, m === 0 && O(bf)), h === e && (o.charCodeAt(r) === 61 ? (h = x, r++) : (h = e, m === 0 && O(Fi)), h === e && (o.substr(r, 2) === Q ? (h = Q, r += 2) : (h = e, m === 0 && O(n0)))))))), h !== e ? (T = I(), R = Ou(), R === e && (R = Mv()), R !== e ? (c = [c, h, T, R], l = c) : (r = l, l = e)) : (r = l, l = e); l !== e; )
63941
- s.push(l), l = r, c = I(), o.substr(r, 2) === z ? (h = z, r += 2) : (h = e, m === 0 && O(r0)), h === e && (o.charCodeAt(r) === 62 ? (h = J, r++) : (h = e, m === 0 && O(wf)), h === e && (o.substr(r, 2) === H ? (h = H, r += 2) : (h = e, m === 0 && O(i0)), h === e && (o.substr(r, 2) === ce ? (h = ce, r += 2) : (h = e, m === 0 && O(s0)), h === e && (o.charCodeAt(r) === 60 ? (h = re, r++) : (h = e, m === 0 && O(bf)), h === e && (o.charCodeAt(r) === 61 ? (h = x, r++) : (h = e, m === 0 && O(Fi)), h === e && (o.substr(r, 2) === Q ? (h = Q, r += 2) : (h = e, m === 0 && O(n0)))))))), h !== e ? (T = I(), R = Ou(), R === e && (R = Mv()), R !== e ? (c = [c, h, T, R], l = c) : (r = l, l = e)) : (r = l, l = e);
63940
+ for (s = [], l = r, c = I(), o.substr(r, 2) === z ? (h = z, r += 2) : (h = e, m === 0 && O(r0)), h === e && (o.charCodeAt(r) === 62 ? (h = J, r++) : (h = e, m === 0 && O(wf)), h === e && (o.substr(r, 2) === H ? (h = H, r += 2) : (h = e, m === 0 && O(i0)), h === e && (o.substr(r, 2) === ce ? (h = ce, r += 2) : (h = e, m === 0 && O(s0)), h === e && (o.charCodeAt(r) === 60 ? (h = re, r++) : (h = e, m === 0 && O(bf)), h === e && (o.charCodeAt(r) === 61 ? (h = M, r++) : (h = e, m === 0 && O(Fi)), h === e && (o.substr(r, 2) === Q ? (h = Q, r += 2) : (h = e, m === 0 && O(n0)))))))), h !== e ? (T = I(), R = Ou(), R === e && (R = Mv()), R !== e ? (c = [c, h, T, R], l = c) : (r = l, l = e)) : (r = l, l = e); l !== e; )
63941
+ s.push(l), l = r, c = I(), o.substr(r, 2) === z ? (h = z, r += 2) : (h = e, m === 0 && O(r0)), h === e && (o.charCodeAt(r) === 62 ? (h = J, r++) : (h = e, m === 0 && O(wf)), h === e && (o.substr(r, 2) === H ? (h = H, r += 2) : (h = e, m === 0 && O(i0)), h === e && (o.substr(r, 2) === ce ? (h = ce, r += 2) : (h = e, m === 0 && O(s0)), h === e && (o.charCodeAt(r) === 60 ? (h = re, r++) : (h = e, m === 0 && O(bf)), h === e && (o.charCodeAt(r) === 61 ? (h = M, r++) : (h = e, m === 0 && O(Fi)), h === e && (o.substr(r, 2) === Q ? (h = Q, r += 2) : (h = e, m === 0 && O(n0)))))))), h !== e ? (T = I(), R = Ou(), R === e && (R = Mv()), R !== e ? (c = [c, h, T, R], l = c) : (r = l, l = e)) : (r = l, l = e);
63942
63942
  b = t, t = Ehe(n, s);
63943
63943
  } else
63944
63944
  r = t, t = e;
@@ -63986,7 +63986,7 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = mm, li = vm, QC = Em, D =
63986
63986
  }
63987
63987
  function LR() {
63988
63988
  var t, n, s, l;
63989
- return t = r, o.substr(r, 3) === de ? (n = de, r += 3) : (n = e, m === 0 && O(S7)), n !== e ? (s = r, m++, l = Ne(), m--, l !== e ? (r = s, s = void 0) : s = e, s !== e ? (b = t, t = Ghe(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, o.substr(r, 2) === ve ? (n = ve, r += 2) : (n = e, m === 0 && O(q7)), n !== e ? (s = r, m++, l = Ye(), m--, l !== e ? (r = s, s = void 0) : s = e, s !== e ? (b = t, t = Fhe(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (o.substr(r, 2) === z ? (t = z, r += 2) : (t = e, m === 0 && O(r0)), t === e && (o.charCodeAt(r) === 62 ? (t = J, r++) : (t = e, m === 0 && O(wf)), t === e && (o.substr(r, 2) === H ? (t = H, r += 2) : (t = e, m === 0 && O(i0)), t === e && (o.substr(r, 2) === ce ? (t = ce, r += 2) : (t = e, m === 0 && O(s0)), t === e && (o.charCodeAt(r) === 60 ? (t = re, r++) : (t = e, m === 0 && O(bf)), t === e && (o.charCodeAt(r) === 61 ? (t = x, r++) : (t = e, m === 0 && O(Fi)), t === e && (o.substr(r, 2) === Q ? (t = Q, r += 2) : (t = e, m === 0 && O(n0)), t === e && (t = Bv(), t === e && (t = NMe())))))))))), t;
63989
+ return t = r, o.substr(r, 3) === de ? (n = de, r += 3) : (n = e, m === 0 && O(S7)), n !== e ? (s = r, m++, l = Ne(), m--, l !== e ? (r = s, s = void 0) : s = e, s !== e ? (b = t, t = Ghe(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, o.substr(r, 2) === ve ? (n = ve, r += 2) : (n = e, m === 0 && O(q7)), n !== e ? (s = r, m++, l = Ye(), m--, l !== e ? (r = s, s = void 0) : s = e, s !== e ? (b = t, t = Fhe(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (o.substr(r, 2) === z ? (t = z, r += 2) : (t = e, m === 0 && O(r0)), t === e && (o.charCodeAt(r) === 62 ? (t = J, r++) : (t = e, m === 0 && O(wf)), t === e && (o.substr(r, 2) === H ? (t = H, r += 2) : (t = e, m === 0 && O(i0)), t === e && (o.substr(r, 2) === ce ? (t = ce, r += 2) : (t = e, m === 0 && O(s0)), t === e && (o.charCodeAt(r) === 60 ? (t = re, r++) : (t = e, m === 0 && O(bf)), t === e && (o.charCodeAt(r) === 61 ? (t = M, r++) : (t = e, m === 0 && O(Fi)), t === e && (o.substr(r, 2) === Q ? (t = Q, r += 2) : (t = e, m === 0 && O(n0)), t === e && (t = Bv(), t === e && (t = NMe())))))))))), t;
63990
63990
  }
63991
63991
  function Bv() {
63992
63992
  var t, n, s, l, c, h, T, R, U;
@@ -69833,8 +69833,8 @@ function Kvt() {
69833
69833
  if (jO)
69834
69834
  return sc;
69835
69835
  jO = 1, Object.defineProperty(sc, "__esModule", { value: !0 }), sc.transformMap = void 0;
69836
- const d = ivt(), u = svt(), i = nvt(), a = avt(), o = ovt(), p = lvt(), e = dvt(), y = uvt(), v = cvt(), E = pvt(), w = fvt(), A = hvt(), C = yvt(), N = mvt(), x = vvt(), G = Evt(), K = Tvt(), S = Ivt(), re = Avt(), J = bvt(), oe = wvt(), Y = _vt(), ue = Rvt(), z = gvt(), H = Dvt(), ce = Cvt(), Q = Ovt(), de = $vt(), ve = Pvt(), Me = Nvt(), $e = Vvt(), Ce = Lvt(), Oe = xvt(), ke = Mvt(), Be = Bvt(), st = Uvt(), bt = jvt(), or = Gvt(), Ir = Fvt(), $r = Im;
69837
- return sc.transformMap = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, a.baseMap), H.selectMap), Oe.frameMap), G.insertMap), $e.updateMap), v.deleteMap), Me.truncateMap), K.mergeMap), p.createTableMap), o.constraintMap), u.alterTableMap), d.alterActionMap), w.dropTableMap), ke.renameTableMap), z.schemaMap), Ce.viewMap), x.indexMap), ve.triggerMap), ce.sequenceMap), Q.typeMap), E.domainMap), ue.roleMap), S.policyMap), N.functionMap), oe.procedureMap), Y.procClauseMap), i.analyzeMap), A.explainMap), de.transactionMap), y.dclMap), J.proceduralLanguageMap), re.preparedStatementsMap), Be.otherClausesMap), or.sqliteMap), st.bigqueryMap), Ir.mysqlMap), bt.postgresqlMap), C.exprMap), e.dataTypeMap), $r.unsupportedGrammarMap), sc;
69836
+ const d = ivt(), u = svt(), i = nvt(), a = avt(), o = ovt(), p = lvt(), e = dvt(), y = uvt(), v = cvt(), E = pvt(), w = fvt(), A = hvt(), C = yvt(), N = mvt(), M = vvt(), G = Evt(), K = Tvt(), S = Ivt(), re = Avt(), J = bvt(), oe = wvt(), Y = _vt(), ue = Rvt(), z = gvt(), H = Dvt(), ce = Cvt(), Q = Ovt(), de = $vt(), ve = Pvt(), Me = Nvt(), $e = Vvt(), Ce = Lvt(), Oe = xvt(), ke = Mvt(), Be = Bvt(), st = Uvt(), bt = jvt(), or = Gvt(), Ir = Fvt(), $r = Im;
69837
+ return sc.transformMap = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, a.baseMap), H.selectMap), Oe.frameMap), G.insertMap), $e.updateMap), v.deleteMap), Me.truncateMap), K.mergeMap), p.createTableMap), o.constraintMap), u.alterTableMap), d.alterActionMap), w.dropTableMap), ke.renameTableMap), z.schemaMap), Ce.viewMap), M.indexMap), ve.triggerMap), ce.sequenceMap), Q.typeMap), E.domainMap), ue.roleMap), S.policyMap), N.functionMap), oe.procedureMap), Y.procClauseMap), i.analyzeMap), A.explainMap), de.transactionMap), y.dclMap), J.proceduralLanguageMap), re.preparedStatementsMap), Be.otherClausesMap), or.sqliteMap), st.bigqueryMap), Ir.mysqlMap), bt.postgresqlMap), C.exprMap), e.dataTypeMap), $r.unsupportedGrammarMap), sc;
69838
69838
  }
69839
69839
  var GO;
69840
69840
  function Yt() {
@@ -69869,10 +69869,10 @@ Am.validDialectNames = {
69869
69869
  (function(d) {
69870
69870
  var u = Vs && Vs.__createBinding || (Object.create ? function(w, A, C, N) {
69871
69871
  N === void 0 && (N = C);
69872
- var x = Object.getOwnPropertyDescriptor(A, C);
69873
- (!x || ("get" in x ? !A.__esModule : x.writable || x.configurable)) && (x = { enumerable: !0, get: function() {
69872
+ var M = Object.getOwnPropertyDescriptor(A, C);
69873
+ (!M || ("get" in M ? !A.__esModule : M.writable || M.configurable)) && (M = { enumerable: !0, get: function() {
69874
69874
  return A[C];
69875
- } }), Object.defineProperty(w, N, x);
69875
+ } }), Object.defineProperty(w, N, M);
69876
69876
  } : function(w, A, C, N) {
69877
69877
  N === void 0 && (N = C), w[N] = A[C];
69878
69878
  }), i = Vs && Vs.__exportStar || function(w, A) {
@@ -70011,7 +70011,7 @@ class Xo {
70011
70011
  return this.inputMap ? `'{{::${this.inputMap.id}}}'` : "";
70012
70012
  }
70013
70013
  }
70014
- var pr = /* @__PURE__ */ ((d) => (d.String = "string", d.Number = "number", d.Boolean = "boolean", d.Null = "null", d.Date = "date", d))(pr || {});
70014
+ var cr = /* @__PURE__ */ ((d) => (d.String = "string", d.Number = "number", d.Boolean = "boolean", d.Null = "null", d.Date = "date", d))(cr || {});
70015
70015
  class Sr {
70016
70016
  constructor(u) {
70017
70017
  g(this, "owner");
@@ -70629,8 +70629,8 @@ class yM {
70629
70629
  break;
70630
70630
  }
70631
70631
  case "column-ref": {
70632
- const x = ((C = E.source) == null ? void 0 : C.type) === "column-ref" ? E.source : E;
70633
- E.parent && (u += E.parent.as + "."), ((N = E.source) == null ? void 0 : N.type) === "search-statement-literal-value" ? u += E.source.toQuery() : u += x.as, u += " AS " + E.as, v = !0;
70632
+ const M = ((C = E.source) == null ? void 0 : C.type) === "column-ref" ? E.source : E;
70633
+ E.parent && (u += E.parent.as + "."), ((N = E.source) == null ? void 0 : N.type) === "search-statement-literal-value" ? u += E.source.toQuery() : u += M.as, u += " AS " + E.as, v = !0;
70634
70634
  break;
70635
70635
  }
70636
70636
  default: {
@@ -70642,13 +70642,13 @@ class yM {
70642
70642
  });
70643
70643
  }
70644
70644
  if (this.from && this.from.isValid && (u += " FROM ", this.from.sourceType === "table" ? this.from.entity && (u += `"${Ep((i = this.from.entity) == null ? void 0 : i.name)}"`) : (o = (a = this.from) == null ? void 0 : a.query) != null && o.isValid && (u += `(${(e = (p = this.from) == null ? void 0 : p.query) == null ? void 0 : e.toQuery()}) AS ${((y = this.from) == null ? void 0 : y.as) || "NestedQuery"}`), this.aggregations.length > 0 && this.aggregations.forEach((v) => {
70645
- var w, A, C, N, x, G, K, S;
70645
+ var w, A, C, N, M, G, K, S;
70646
70646
  if (!v.on || !v.on.isValid || !v.dataSource || !v.dataSource.isValid)
70647
70647
  return;
70648
70648
  let E = "";
70649
70649
  v.joinType === "inner" ? E += "INNER JOIN " : v.joinType === "left" ? E += "LEFT JOIN " : v.joinType === "right" ? E += "RIGHT JOIN " : v.joinType === "full" ? E += "FULL JOIN " : v.joinType === "cross" ? E += "CROSS JOIN " : v.joinType === "self" ? E += "SELF JOIN " : v.joinType === "natural" && (E += "NATURAL JOIN "), ((w = v.dataSource) == null ? void 0 : w.sourceType) === "table" ? (A = v.dataSource) != null && A.entity && (E += `"${Ep(
70650
70650
  (N = (C = v.dataSource) == null ? void 0 : C.entity) == null ? void 0 : N.name
70651
- )}"`) : E += `(${(G = (x = v.dataSource) == null ? void 0 : x.query) == null ? void 0 : G.toQuery()}) AS ${(K = v.dataSource) == null ? void 0 : K.as}`, E += v.on ? " ON " + ((S = v.on) == null ? void 0 : S.toQuery()) : "", u += " " + E;
70651
+ )}"`) : E += `(${(G = (M = v.dataSource) == null ? void 0 : M.query) == null ? void 0 : G.toQuery()}) AS ${(K = v.dataSource) == null ? void 0 : K.as}`, E += v.on ? " ON " + ((S = v.on) == null ? void 0 : S.toQuery()) : "", u += " " + E;
70652
70652
  })), this.where && this.where.isValid && this.from && this.from.isValid && (u += " WHERE " + this.where.toQuery()), this.validSortings.length > 0) {
70653
70653
  const v = this.validSortings.sort((w, A) => w.index - A.index);
70654
70654
  let E = "";
@@ -70807,7 +70807,7 @@ const iRt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
70807
70807
  DataSource: fs,
70808
70808
  DataSourceType: pa,
70809
70809
  NestedSearchStatement: Rb,
70810
- SearchLiteralValueType: pr,
70810
+ SearchLiteralValueType: cr,
70811
70811
  SearchStatementLiteralValue: Sr,
70812
70812
  SearchStatementNodeType: Ry,
70813
70813
  SearchStatementState: yM,
@@ -71194,7 +71194,7 @@ function Ob(d, u, i, a, o, p = !1) {
71194
71194
  };
71195
71195
  }
71196
71196
  function kn(d, u, i, a, o = !1) {
71197
- var e, y, v, E, w, A, C, N, x, G, K, S, re, J, oe, Y;
71197
+ var e, y, v, E, w, A, C, N, M, G, K, S, re, J, oe, Y;
71198
71198
  if (!d)
71199
71199
  return null;
71200
71200
  const p = new pM(i);
@@ -71240,7 +71240,7 @@ function kn(d, u, i, a, o = !1) {
71240
71240
  debugger;
71241
71241
  } else if (H.type === "number_literal") {
71242
71242
  const Q = new Sr(i);
71243
- Q.value = H.value, Q.valueType = pr.Number, p.left = Q, p.operator = z;
71243
+ Q.value = H.value, Q.valueType = cr.Number, p.left = Q, p.operator = z;
71244
71244
  } else if (H.type === "string_literal")
71245
71245
  if (H.value.includes("{{::")) {
71246
71246
  const de = H.value.split("{{::")[1].split("}}")[0], ve = a.get(
@@ -71252,14 +71252,14 @@ function kn(d, u, i, a, o = !1) {
71252
71252
  }
71253
71253
  } else {
71254
71254
  const de = new Sr(i);
71255
- V(H.value).isValid() ? (de.value = new Date(H.value), de.valueType = pr.Date) : (de.value = H.value, de.valueType = pr.String), p.left = de, p.operator = z;
71255
+ V(H.value).isValid() ? (de.value = new Date(H.value), de.valueType = cr.Date) : (de.value = H.value, de.valueType = cr.String), p.left = de, p.operator = z;
71256
71256
  }
71257
71257
  else if (H.type === "boolean_literal") {
71258
71258
  const Q = new Sr(i);
71259
- Q.value = H.value, Q.valueType = pr.Boolean, p.left = Q, p.operator = z;
71259
+ Q.value = H.value, Q.valueType = cr.Boolean, p.left = Q, p.operator = z;
71260
71260
  } else if (H.type === "null_literal") {
71261
71261
  const Q = new Sr(i);
71262
- Q.value = H.value, Q.valueType = pr.Null, p.left = Q, p.operator = z;
71262
+ Q.value = H.value, Q.valueType = cr.Null, p.left = Q, p.operator = z;
71263
71263
  } else if (H.type === "binary_expr") {
71264
71264
  const Q = tp(
71265
71265
  H
@@ -71303,7 +71303,7 @@ function kn(d, u, i, a, o = !1) {
71303
71303
  if (Q) {
71304
71304
  p.right = new nr(i), p.right.source = Q, p.right.as = ut(Q.as);
71305
71305
  const de = new fs(i);
71306
- de.entity = ((x = Q.parent) == null ? void 0 : x.entity) || null, de.query = ((G = Q.parent) == null ? void 0 : G.query) || null, de.aggregation = ((K = Q.parent) == null ? void 0 : K.aggregation) || null, de.sourceType = ((S = Q.parent) == null ? void 0 : S.sourceType) || null;
71306
+ de.entity = ((M = Q.parent) == null ? void 0 : M.entity) || null, de.query = ((G = Q.parent) == null ? void 0 : G.query) || null, de.aggregation = ((K = Q.parent) == null ? void 0 : K.aggregation) || null, de.sourceType = ((S = Q.parent) == null ? void 0 : S.sourceType) || null;
71307
71307
  const ve = i.addDataSource(de);
71308
71308
  p.right.parent = ve;
71309
71309
  }
@@ -71327,7 +71327,7 @@ function kn(d, u, i, a, o = !1) {
71327
71327
  debugger;
71328
71328
  } else if (ce.type === "number_literal") {
71329
71329
  const Q = new Sr(i);
71330
- Q.value = ce.value, Q.valueType = pr.Number, p.right = Q;
71330
+ Q.value = ce.value, Q.valueType = cr.Number, p.right = Q;
71331
71331
  } else if (ce.type === "string_literal")
71332
71332
  if (ce.value.includes("{{::")) {
71333
71333
  const de = ce.value.split("{{::")[1].split("}}")[0], ve = a.get(
@@ -71339,14 +71339,14 @@ function kn(d, u, i, a, o = !1) {
71339
71339
  return Me.inputMap = ve, p.right = Me, p;
71340
71340
  } else {
71341
71341
  const de = new Sr(i);
71342
- V(ce.value).isValid() ? (de.value = new Date(ce.value), de.valueType = pr.Date) : (de.value = ce.value, de.valueType = pr.String), p.right = de;
71342
+ V(ce.value).isValid() ? (de.value = new Date(ce.value), de.valueType = cr.Date) : (de.value = ce.value, de.valueType = cr.String), p.right = de;
71343
71343
  }
71344
71344
  else if (ce.type === "boolean_literal") {
71345
71345
  const Q = new Sr(i);
71346
- Q.value = ce.value, Q.valueType = pr.Boolean, p.right = Q;
71346
+ Q.value = ce.value, Q.valueType = cr.Boolean, p.right = Q;
71347
71347
  } else if (ce.type === "null_literal") {
71348
71348
  const Q = new Sr(i);
71349
- Q.value = ce.value, Q.valueType = pr.Null, p.right = Q;
71349
+ Q.value = ce.value, Q.valueType = cr.Null, p.right = Q;
71350
71350
  } else if (ce.type === "binary_expr") {
71351
71351
  if (o)
71352
71352
  debugger;
@@ -71422,7 +71422,7 @@ function dy(d, u, i, a, o = !1) {
71422
71422
  function $b(d, u, i, a, o, p = {
71423
71423
  onDescribeTable: () => null
71424
71424
  }, e = !1) {
71425
- var x, G, K, S, re;
71425
+ var M, G, K, S, re;
71426
71426
  const y = [];
71427
71427
  let v = [], E = [];
71428
71428
  const w = wM(d);
@@ -71462,7 +71462,7 @@ function $b(d, u, i, a, o, p = {
71462
71462
  debugger;
71463
71463
  const oe = new Rb(a);
71464
71464
  oe.as = d.right.alias.text || ut(
71465
- ((G = (x = oe.statement) == null ? void 0 : x.from) == null ? void 0 : G.as) || ""
71465
+ ((G = (M = oe.statement) == null ? void 0 : M.from) == null ? void 0 : G.as) || ""
71466
71466
  ) || null;
71467
71467
  const Y = cp(
71468
71468
  J,
@@ -71632,23 +71632,23 @@ function RM(d, u, i, a = !1) {
71632
71632
  }
71633
71633
  } else {
71634
71634
  const w = new Sr(u);
71635
- V(v.value).isValid() ? (w.value = new Date(v.value), w.valueType = pr.Date) : (w.value = v.value, w.valueType = pr.String);
71635
+ V(v.value).isValid() ? (w.value = new Date(v.value), w.valueType = cr.Date) : (w.value = v.value, w.valueType = cr.String);
71636
71636
  const A = new nr(u);
71637
71637
  A.source = w, A.as = e.alias.text, y.push(A);
71638
71638
  }
71639
71639
  else if (v.type === "number_literal") {
71640
71640
  const E = new Sr(u);
71641
- E.value = v.value, E.valueType = pr.Number;
71641
+ E.value = v.value, E.valueType = cr.Number;
71642
71642
  const w = new nr(u);
71643
71643
  w.source = E, w.as = e.alias.text, y.push(w);
71644
71644
  } else if (v.type === "boolean_literal") {
71645
71645
  const E = new Sr(u);
71646
- E.value = v.value, E.valueType = pr.Boolean;
71646
+ E.value = v.value, E.valueType = cr.Boolean;
71647
71647
  const w = new nr(u);
71648
71648
  w.source = E, w.as = e.alias.text, y.push(w);
71649
71649
  } else if (v.type === "null_literal") {
71650
71650
  const E = new Sr(u);
71651
- E.value = v.value, E.valueType = pr.Null;
71651
+ E.value = v.value, E.valueType = cr.Null;
71652
71652
  const w = new nr(u);
71653
71653
  w.source = E, w.as = e.alias.text, y.push(w);
71654
71654
  }
@@ -71665,23 +71665,23 @@ function RM(d, u, i, a = !1) {
71665
71665
  }
71666
71666
  } else {
71667
71667
  const E = new Sr(u);
71668
- V(e.value).isValid() ? (E.value = new Date(e.value), E.valueType = pr.Date) : (E.value = e.value, E.valueType = pr.String);
71668
+ V(e.value).isValid() ? (E.value = new Date(e.value), E.valueType = cr.Date) : (E.value = e.value, E.valueType = cr.String);
71669
71669
  const w = new nr(u);
71670
71670
  w.source = E, w.as = e.value.toString(), y.push(w);
71671
71671
  }
71672
71672
  else if (e.type === "number_literal") {
71673
71673
  const v = new Sr(u);
71674
- v.value = e.value, v.valueType = pr.Number;
71674
+ v.value = e.value, v.valueType = cr.Number;
71675
71675
  const E = new nr(u);
71676
71676
  E.source = v, E.as = e.value.toString(), y.push(E);
71677
71677
  } else if (e.type === "boolean_literal") {
71678
71678
  const v = new Sr(u);
71679
- v.value = e.value, v.valueType = pr.Boolean;
71679
+ v.value = e.value, v.valueType = cr.Boolean;
71680
71680
  const E = new nr(u);
71681
71681
  E.source = v, E.as = "boolean", y.push(E);
71682
71682
  } else if (e.type === "null_literal") {
71683
71683
  const v = new Sr(u);
71684
- v.value = e.value, v.valueType = pr.Null;
71684
+ v.value = e.value, v.valueType = cr.Null;
71685
71685
  const E = new nr(u);
71686
71686
  E.source = v, E.as = "empty", y.push(E);
71687
71687
  }
@@ -71731,19 +71731,19 @@ function NM(d, u, i, a) {
71731
71731
  var C, N;
71732
71732
  let y, v = "";
71733
71733
  ((C = e.direction) == null ? void 0 : C.type) === "sort_direction_asc" ? y = "asc" : ((N = e.direction) == null ? void 0 : N.type) === "sort_direction_desc" ? y = "desc" : y = "asc", e.expr.type === "member_expr" ? e.expr.property.type === "identifier" && (v += ut(e.expr.property.text)) : e.expr.type === "identifier" && (v = ut(e.expr.text));
71734
- const E = new hM(a), w = a.selections.find((x) => {
71734
+ const E = new hM(a), w = a.selections.find((M) => {
71735
71735
  var G, K;
71736
- if (x.type === Ry.ColumnRef) {
71737
- if (((G = x.source) == null ? void 0 : G.type) === f.Property)
71738
- return x.as === v || xr(
71739
- W(x.source, x.source.project)
71736
+ if (M.type === Ry.ColumnRef) {
71737
+ if (((G = M.source) == null ? void 0 : G.type) === f.Property)
71738
+ return M.as === v || xr(
71739
+ W(M.source, M.source.project)
71740
71740
  ) === v;
71741
- if (((K = x.source) == null ? void 0 : K.type) === Ry.ColumnRef)
71742
- return x.as === v || x.source.as === v;
71741
+ if (((K = M.source) == null ? void 0 : K.type) === Ry.ColumnRef)
71742
+ return M.as === v || M.source.as === v;
71743
71743
  }
71744
71744
  return !1;
71745
71745
  }), A = p.find(
71746
- (x) => x.column === w
71746
+ (M) => M.column === w
71747
71747
  );
71748
71748
  return w && !A ? (E.direction = y, E.column = w, [...p, E]) : p;
71749
71749
  }, []);
@@ -71832,12 +71832,12 @@ function cp(d, u, i = null, a = !1) {
71832
71832
  ) : [], N = w ? ep(
71833
71833
  w,
71834
71834
  ut(v == null ? void 0 : v.as) || ""
71835
- ) : [], x = [
71835
+ ) : [], M = [
71836
71836
  ...C,
71837
71837
  ...N
71838
71838
  // Filter out duplicates
71839
71839
  ].filter((Q, de, ve) => ve.findIndex((Me) => Me.to === Q.to) === de), G = w ? A.filter(
71840
- (Q) => !x.find(
71840
+ (Q) => !M.find(
71841
71841
  (de) => de.to === Q.to
71842
71842
  )
71843
71843
  ) : [], K = AM(w);
@@ -71846,7 +71846,7 @@ function cp(d, u, i = null, a = !1) {
71846
71846
  (de) => de.to === Q.name
71847
71847
  )
71848
71848
  )) || []).forEach((Q) => {
71849
- x.push({
71849
+ M.push({
71850
71850
  from: Q.name,
71851
71851
  to: Q.name
71852
71852
  });
@@ -71873,7 +71873,7 @@ function cp(d, u, i = null, a = !1) {
71873
71873
  ].filter((Q, de, ve) => ve.findIndex(
71874
71874
  (Me) => ut(Me.as) === ut(Q.as)
71875
71875
  ) === de);
71876
- x.forEach((Q) => {
71876
+ M.forEach((Q) => {
71877
71877
  var Me, $e, Ce, Oe, ke;
71878
71878
  const de = new nr(p), ve = (((Me = p.from) == null ? void 0 : Me.columns) || []).find(
71879
71879
  (Be) => Be.as === Q.from
@@ -71929,11 +71929,11 @@ function cp(d, u, i = null, a = !1) {
71929
71929
  );
71930
71930
  if (H !== null) {
71931
71931
  const Q = new Sr(p);
71932
- Q.valueType = pr.Number, Q.value = H, p.limit = Q;
71932
+ Q.valueType = cr.Number, Q.value = H, p.limit = Q;
71933
71933
  }
71934
71934
  if ((p.limit === null || p.limit === void 0 || H === 1) && (p.asList = (i == null ? void 0 : i.resultsAsList) || !1), z !== null) {
71935
71935
  const Q = new Sr(p);
71936
- Q.valueType = pr.Number, Q.value = z, p.offset = Q;
71936
+ Q.valueType = cr.Number, Q.value = z, p.offset = Q;
71937
71937
  }
71938
71938
  return ce && NM(
71939
71939
  ce,
@@ -71985,13 +71985,13 @@ const sRt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
71985
71985
  }, Symbol.toStringTag, { value: "Module" }));
71986
71986
  function FO(d) {
71987
71987
  switch (d) {
71988
- case pr.String:
71988
+ case cr.String:
71989
71989
  return ne.String;
71990
- case pr.Number:
71990
+ case cr.Number:
71991
71991
  return ne.Number;
71992
- case pr.Boolean:
71992
+ case cr.Boolean:
71993
71993
  return ne.Boolean;
71994
- case pr.Date:
71994
+ case cr.Date:
71995
71995
  return ne.Date;
71996
71996
  default:
71997
71997
  return ne.String;
@@ -71999,19 +71999,19 @@ function FO(d) {
71999
71999
  }
72000
72000
  function KO(d, u) {
72001
72001
  switch (d) {
72002
- case pr.String:
72002
+ case cr.String:
72003
72003
  return u.get(
72004
72004
  fe["primitive-entity"].string.id
72005
72005
  );
72006
- case pr.Number:
72006
+ case cr.Number:
72007
72007
  return u.get(
72008
72008
  fe["primitive-entity"].number.id
72009
72009
  );
72010
- case pr.Boolean:
72010
+ case cr.Boolean:
72011
72011
  return u.get(
72012
72012
  fe["primitive-entity"].boolean.id
72013
72013
  );
72014
- case pr.Date:
72014
+ case cr.Date:
72015
72015
  return u.get(
72016
72016
  fe["primitive-entity"].date.id
72017
72017
  );
@@ -72078,7 +72078,7 @@ function SO(d, u, i) {
72078
72078
  i
72079
72079
  ), !u.isUntouchedEntity && e && u.selectedColumns.filter(
72080
72080
  (E) => {
72081
- var A, C, N, x;
72081
+ var A, C, N, M;
72082
72082
  const w = e.properties.find(
72083
72083
  (G) => G.name === E.as
72084
72084
  );
@@ -72104,7 +72104,7 @@ function SO(d, u, i) {
72104
72104
  ), i == null || i.add(
72105
72105
  G,
72106
72106
  F.Updated
72107
- )) : ((x = K == null ? void 0 : K.entity) == null ? void 0 : x.type) === f.PrimitiveEntity ? (G.setEntity(K.entity, i), i == null || i.add(
72107
+ )) : ((M = K == null ? void 0 : K.entity) == null ? void 0 : M.type) === f.PrimitiveEntity ? (G.setEntity(K.entity, i), i == null || i.add(
72108
72108
  G,
72109
72109
  F.Updated
72110
72110
  )) : (G.setEntity(
@@ -72165,14 +72165,14 @@ function SO(d, u, i) {
72165
72165
  N.name = FO(
72166
72166
  E.literalValue.valueType
72167
72167
  ), N.value = E.literalValue.value, N.parent = C.toReference();
72168
- const x = se(
72168
+ const M = se(
72169
72169
  N,
72170
72170
  d.project
72171
72171
  );
72172
- x.hydrateAncestors(), i == null || i.add(
72173
- x,
72172
+ M.hydrateAncestors(), i == null || i.add(
72173
+ M,
72174
72174
  F.Added
72175
- ), x.addSelfToProject(i), x.initChildren(i), C.setDefaultValue(x), i == null || i.add(C, F.Affected);
72175
+ ), M.addSelfToProject(i), M.initChildren(i), C.setDefaultValue(M), i == null || i.add(C, F.Affected);
72176
72176
  const G = Ls.new(i);
72177
72177
  G.parent = C.toReference();
72178
72178
  const K = se(
@@ -73742,7 +73742,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
73742
73742
  y.inputs = [];
73743
73743
  const E = v.split("-id"), w = E[E.length - 1 || 0] || v;
73744
73744
  y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
73745
- const A = ur(
73745
+ const A = dr(
73746
73746
  y,
73747
73747
  e
73748
73748
  );
@@ -73765,7 +73765,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
73765
73765
  )
73766
73766
  );
73767
73767
  A.outputsDeclarations = N;
73768
- const x = (re = this.inputs) == null ? void 0 : re.map(
73768
+ const M = (re = this.inputs) == null ? void 0 : re.map(
73769
73769
  (oe, Y) => oe.clone(
73770
73770
  i,
73771
73771
  A,
@@ -73773,7 +73773,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
73773
73773
  p
73774
73774
  )
73775
73775
  );
73776
- A.inputs = x;
73776
+ A.inputs = M;
73777
73777
  const G = (J = this.outputs) == null ? void 0 : J.map(
73778
73778
  (oe, Y) => oe.clone(
73779
73779
  i,
@@ -74716,18 +74716,18 @@ const nRt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
74716
74716
  "clone-entity"
74717
74717
  )
74718
74718
  ), a = null, o = null, p = !0) {
74719
- var x, G;
74719
+ var M, G;
74720
74720
  let e = Fr(a, this);
74721
74721
  const y = this.toJSON(), v = o || P.UUID.uuid();
74722
74722
  y.functions = [], y.events = [];
74723
74723
  const E = v.split("-id"), w = E[E.length - 1 || 0] || v;
74724
74724
  y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
74725
- const A = ur(
74725
+ const A = dr(
74726
74726
  y,
74727
74727
  e
74728
74728
  );
74729
74729
  a && A.setParent(a, null), p && A.subscribe(), A.initChildren(i), i == null || i.add(A, F.Added);
74730
- const C = (x = this.functions) == null ? void 0 : x.map(
74730
+ const C = (M = this.functions) == null ? void 0 : M.map(
74731
74731
  (K, S) => K.clone(
74732
74732
  i,
74733
74733
  A,
@@ -74924,7 +74924,7 @@ function Jvt(d, u) {
74924
74924
  }
74925
74925
  var hn = /* @__PURE__ */ ((d) => (d.BothUnconstrained = "both-unconstrained", d.AConstraintBUnconstrained = "a-constraint-b-unconstrained", d.BConstraintAUnconstrained = "b-constraint-a-unconstrained", d.Same = "same", d.AIsListBIsNot = "a-is-list-b-is-not", d.BIsListAIsNot = "b-is-list-a-is-not", d.AIsNullableBIsNot = "a-is-nullable-b-is-not", d.BIsNullableAIsNot = "b-is-nullable-a-is-not", d.AIsTemplateBIsNot = "a-is-template-b-is-not", d.BIsTemplateAIsNot = "b-is-template-a-is-not", d.BothUntyped = "both-untyped", d.AIsUntypedBIsNot = "a-is-untyped-b-is-not", d.BIsUntypedAIsNot = "b-is-untyped-a-is-not", d.TypeEntityMismatch = "type-entity-mismatch", d.SameDefinitionEntities = "same-definition-entities", d.CompatibleDefinitionEntities = "compatible-definition-entities", d.IncompatibleDefinitionEntities = "incompatible-definition-entities", d.SamePrimitiveEntities = "same-primitive-entities", d.IncompatiblePrimitiveEntities = "incompatible-primitive-entities", d.SameBuiltInBaseEntities = "same-built-in-base-entities", d.IncompatibleBuiltInBaseEntities = "incompatible-built-in-base-entities", d.CheckUnknown = "check-unknown", d))(hn || {});
74926
74926
  function mn(d, u) {
74927
- var o, p, e, y, v, E, w, A, C, N, x;
74927
+ var o, p, e, y, v, E, w, A, C, N, M;
74928
74928
  if (d && d.type !== f.DataType || u && u.type !== f.DataType)
74929
74929
  throw new Error(
74930
74930
  `Expected data-type entities for comparison. But got ${d == null ? void 0 : d.type} and ${u == null ? void 0 : u.type}.`
@@ -75021,7 +75021,7 @@ function mn(d, u) {
75021
75021
  compatible: !1,
75022
75022
  type: "incompatible-primitive-entities"
75023
75023
  /* IncompatiblePrimitiveEntities */
75024
- } : ((C = d.entity) == null ? void 0 : C.type) === f.BuiltInBaseEntity ? ((N = d.entity) == null ? void 0 : N.id) === ((x = u.entity) == null ? void 0 : x.id) ? {
75024
+ } : ((C = d.entity) == null ? void 0 : C.type) === f.BuiltInBaseEntity ? ((N = d.entity) == null ? void 0 : N.id) === ((M = u.entity) == null ? void 0 : M.id) ? {
75025
75025
  compatible: !0,
75026
75026
  type: "same-built-in-base-entities"
75027
75027
  /* SameBuiltInBaseEntities */
@@ -75226,14 +75226,14 @@ const jt = class jt extends Or {
75226
75226
  const o = Z(i.parent), p = a.get(o), e = Z(i.declaration), y = a.get(
75227
75227
  e
75228
75228
  ), v = i.calledByEntry.map((N) => {
75229
- const x = Z(N);
75230
- return a.get(x);
75229
+ const M = Z(N);
75230
+ return a.get(M);
75231
75231
  }), E = i.calledBySuccess.map((N) => {
75232
- const x = Z(N);
75233
- return a.get(x);
75232
+ const M = Z(N);
75233
+ return a.get(M);
75234
75234
  }), w = i.calledByError.map((N) => {
75235
- const x = Z(N);
75236
- return a.get(x);
75235
+ const M = Z(N);
75236
+ return a.get(M);
75237
75237
  }), A = {
75238
75238
  id: i.id,
75239
75239
  version: P.UUID.uuid(),
@@ -76538,18 +76538,18 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
76538
76538
  "clone-entity"
76539
76539
  )
76540
76540
  ), a = null, o = null, p = !0) {
76541
- var x, G;
76541
+ var M, G;
76542
76542
  let e = Fr(a, this);
76543
76543
  const y = this.toJSON(), v = o || P.UUID.uuid();
76544
76544
  y.inputs = [];
76545
76545
  const E = v.split("-id"), w = E[E.length - 1 || 0] || v;
76546
76546
  y.id = v, y.version = P.UUID.uuid();
76547
- const A = ur(
76547
+ const A = dr(
76548
76548
  y,
76549
76549
  e
76550
76550
  );
76551
76551
  a ? A.setParent(a, null) : A.setParent(this.parent, null), p && A.subscribe(), A.initChildren(i), i == null || i.add(A, F.Added);
76552
- const C = (x = this.inputs) == null ? void 0 : x.map(
76552
+ const C = (M = this.inputs) == null ? void 0 : M.map(
76553
76553
  (K, S) => K.clone(
76554
76554
  i,
76555
76555
  A,
@@ -76681,8 +76681,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
76681
76681
  )
76682
76682
  );
76683
76683
  this.inputs.sort((A, C) => A.index - C.index), y.forEach((A) => {
76684
- this.inputs.forEach((x) => {
76685
- x.index >= A.index && x.metaSync({ index: x.index + 1 }, i);
76684
+ this.inputs.forEach((M) => {
76685
+ M.index >= A.index && M.metaSync({ index: M.index + 1 }, i);
76686
76686
  });
76687
76687
  const C = {
76688
76688
  id: P.UUID.uuid(),
@@ -76747,8 +76747,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
76747
76747
  const v = this.declaration.getUniqueReturnDeclarations().filter(
76748
76748
  (C) => !this.outputs.find(
76749
76749
  (N) => {
76750
- var x;
76751
- return ((x = N.declaration) == null ? void 0 : x.id) === C.id;
76750
+ var M;
76751
+ return ((M = N.declaration) == null ? void 0 : M.id) === C.id;
76752
76752
  }
76753
76753
  )
76754
76754
  );
@@ -76756,7 +76756,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
76756
76756
  this.outputs.forEach((S) => {
76757
76757
  S.index >= C.index && S.index++;
76758
76758
  });
76759
- const x = y.includes(C.index) ? this.outputs.length - 1 + N : C.index, G = {
76759
+ const M = y.includes(C.index) ? this.outputs.length - 1 + N : C.index, G = {
76760
76760
  id: P.UUID.uuid(),
76761
76761
  version: P.UUID.uuid(),
76762
76762
  createdAt: (i == null ? void 0 : i.timestamp) || V().toISOString(),
@@ -76767,7 +76767,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
76767
76767
  declaration: C.toJSON(),
76768
76768
  defaultValue: null,
76769
76769
  writesValues: [],
76770
- index: x,
76770
+ index: M,
76771
76771
  parent: this.toReference()
76772
76772
  }, K = se(
76773
76773
  G,
@@ -76906,7 +76906,7 @@ function uRt(d) {
76906
76906
  } else
76907
76907
  return !1;
76908
76908
  if (d.declaration.private) {
76909
- const u = dr(d), i = hf(
76909
+ const u = fr(d), i = hf(
76910
76910
  u,
76911
76911
  d.project
76912
76912
  );
@@ -77025,7 +77025,7 @@ const Gt = class Gt extends Or {
77025
77025
  {
77026
77026
  parent: {
77027
77027
  list: !1,
77028
- types: [...cr, f.InputMap]
77028
+ types: [...ur, f.InputMap]
77029
77029
  }
77030
77030
  },
77031
77031
  a
@@ -77120,8 +77120,8 @@ You can't edit input-map entities as they need to match their argument declarati
77120
77120
  })
77121
77121
  );
77122
77122
  else if (vt.includes(y.type)) {
77123
- const N = Ui(y).dataType, x = N == null ? void 0 : N.entity;
77124
- if (x && x.type === f.ActionDescriptor)
77123
+ const N = Ui(y).dataType, M = N == null ? void 0 : N.entity;
77124
+ if (M && M.type === f.ActionDescriptor)
77125
77125
  p.push(
77126
77126
  new ie({
77127
77127
  id: `${o.id}--${te.NoOverlapWithImplementedSignature}`,
@@ -77132,8 +77132,8 @@ This means it can hold a function-call or operation as its value, to be executed
77132
77132
  Input maps can only be added to variables which hold an entity with properties.`
77133
77133
  })
77134
77134
  );
77135
- else if (x && !(N != null && N.inferred) && !x.properties.find((K) => K.id === v.id)) {
77136
- const K = x.properties;
77135
+ else if (M && !(N != null && N.inferred) && !M.properties.find((K) => K.id === v.id)) {
77136
+ const K = M.properties;
77137
77137
  let S = `
77138
77138
  The parent ${y.type} has a data-type that references an entity with `;
77139
77139
  K.length ? S += `the following properties that can be referenced by input-maps as their declarations, ids: '${it(
@@ -77144,7 +77144,7 @@ The parent ${y.type} has a data-type that references an entity with `;
77144
77144
  "' and '"
77145
77145
  )}'` : S += `no properties. Meaning, no input maps can be added this ${y.type}.`, S += `
77146
77146
  The entity is ${y$(
77147
- x,
77147
+ M,
77148
77148
  a
77149
77149
  )}`, S += "Technically, an implemented variable-declaration or variable-instance will be generated with all ", p.push(
77150
77150
  new ie({
@@ -77155,12 +77155,12 @@ The entity is ${y$(
77155
77155
  })
77156
77156
  );
77157
77157
  }
77158
- } else if (cr.filter(
77158
+ } else if (ur.filter(
77159
77159
  (A) => vt.includes(A)
77160
77160
  ).includes(y.type)) {
77161
77161
  const C = DB(y), N = C.find(
77162
77162
  (G) => G.id === o.declaration
77163
- ), x = `The parent entity has the following argument declarations that can be referenced by input-maps, ids: '${it(
77163
+ ), M = `The parent entity has the following argument declarations that can be referenced by input-maps, ids: '${it(
77164
77164
  C.map((G) => G.id),
77165
77165
  "', '",
77166
77166
  "' and '"
@@ -77172,7 +77172,7 @@ The entity is ${y$(
77172
77172
  severity: q.Error,
77173
77173
  message: `Entity of type '${f.InputMap}' with id '${o.id}' cannot be added to the parent entity of type '${y.type}' with id '${y.id}'. The parent entity does not have an 'argument-declaration' with id '${o.declaration}'.
77174
77174
  You can't add an input-map to an entity that doesn't have a matching 'argument-declaration'.
77175
- ${x}`
77175
+ ${M}`
77176
77176
  })
77177
77177
  );
77178
77178
  }
@@ -77727,14 +77727,14 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
77727
77727
  if (p.push(this), this.unsubscribe(), this.unsubscribeFromDependencies(), this.project.subscribeDeletedInstance(this), this.metaSync({ deleted: !0 }, a), Object.values(this.detachedDependents).forEach((C) => {
77728
77728
  const {
77729
77729
  updated: N,
77730
- removed: x,
77730
+ removed: M,
77731
77731
  added: G
77732
77732
  } = C.entity.onDetachedDependencyRemoved(
77733
77733
  this,
77734
77734
  C.field,
77735
77735
  a
77736
77736
  );
77737
- o.push(...N), p.push(...x), e.push(...G);
77737
+ o.push(...N), p.push(...M), e.push(...G);
77738
77738
  }), this.defaultValue) {
77739
77739
  const { updated: C, removed: N } = this.defaultValue.remove(
77740
77740
  {
@@ -77874,7 +77874,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
77874
77874
  });
77875
77875
  }
77876
77876
  toJSONClone(i = Ge) {
77877
- var o, p, e, y, v, E, w, A, C, N, x;
77877
+ var o, p, e, y, v, E, w, A, C, N, M;
77878
77878
  let a;
77879
77879
  return (o = i.seenEntityMaps) != null && o.has(this.id) ? a = i.seenEntityMaps.get(this.id) : (a = i.newId || Kr(this, this.project, i.uuidStrategy), i.seenEntityMaps && i.seenEntityMaps.set(this.id, a)), (p = i.seenEntities) != null && p.has(a) || (e = i.seenEntities) != null && e.has(this.id) ? this.toReference({ seenEntityMaps: i.seenEntityMaps }) : ((y = i.seenEntities) == null || y.add(a), (v = i.seenEntities) == null || v.add(this.id), {
77880
77880
  id: a,
@@ -77898,7 +77898,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
77898
77898
  ...i,
77899
77899
  newId: null
77900
77900
  })) || null,
77901
- readsValue: ((x = this.readsValue) == null ? void 0 : x.toReference({
77901
+ readsValue: ((M = this.readsValue) == null ? void 0 : M.toReference({
77902
77902
  seenEntityMaps: i.seenEntityMaps
77903
77903
  })) || null,
77904
77904
  parent: this.parent.toReference({
@@ -78021,7 +78021,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
78021
78021
  let e = Fr(a, this);
78022
78022
  const y = this.toJSON(), v = o || P.UUID.uuid();
78023
78023
  y.defaultValue = null, y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
78024
- const E = ur(
78024
+ const E = dr(
78025
78025
  y,
78026
78026
  e
78027
78027
  );
@@ -78072,7 +78072,7 @@ g(Gt, "repository", {
78072
78072
  APILoad: async (i, ...a) => null,
78073
78073
  APILoadVersion: async (i, a, ...o) => null
78074
78074
  }), g(Gt, "type", f.InputMap), g(Gt, "USER_MANAGED_PARENT_TYPES", [
78075
- ...cr
78075
+ ...ur
78076
78076
  ]), g(Gt, "PARENT_TYPES", [
78077
78077
  ...Gt.USER_MANAGED_PARENT_TYPES
78078
78078
  ]), g(Gt, "MUTABLE_BASE_PROPERTIES", ["name", "codeName", "description"]), g(Gt, "INMUTABLE_BASE_PROPERTIES", [
@@ -78232,7 +78232,7 @@ const Ft = class Ft extends Or {
78232
78232
  {
78233
78233
  parent: {
78234
78234
  list: !1,
78235
- types: cr.filter(
78235
+ types: ur.filter(
78236
78236
  (E) => E !== f.Condition
78237
78237
  )
78238
78238
  },
@@ -78247,7 +78247,7 @@ const Ft = class Ft extends Or {
78247
78247
  const y = a.get(
78248
78248
  o.parent
78249
78249
  );
78250
- if (y && cr.filter(
78250
+ if (y && ur.filter(
78251
78251
  (E) => E !== f.Condition
78252
78252
  ).includes(y.type)) {
78253
78253
  const E = y.outputs.find(
@@ -79034,7 +79034,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
79034
79034
  newId: null
79035
79035
  })) || null,
79036
79036
  writesValues: this.writesValues.map(
79037
- (x) => x.toJSONClone({
79037
+ (M) => M.toJSONClone({
79038
79038
  ...i,
79039
79039
  newId: null
79040
79040
  })
@@ -79168,7 +79168,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
79168
79168
  let e = Fr(a, this);
79169
79169
  const y = this.toJSON(), v = o || P.UUID.uuid();
79170
79170
  y.id = v;
79171
- const E = ur(
79171
+ const E = dr(
79172
79172
  y,
79173
79173
  e
79174
79174
  );
@@ -80350,7 +80350,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
80350
80350
  let e = Fr(a, this);
80351
80351
  const y = this.toJSON(), v = o || P.UUID.uuid();
80352
80352
  y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
80353
- const E = ur(
80353
+ const E = dr(
80354
80354
  y,
80355
80355
  e
80356
80356
  );
@@ -81427,13 +81427,13 @@ Specifically for break statements the parent needs to always be the 'loop' entit
81427
81427
  y.outputs = [];
81428
81428
  const E = v.split("-id"), w = E[E.length - 1 || 0] || v;
81429
81429
  y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
81430
- const A = ur(
81430
+ const A = dr(
81431
81431
  y,
81432
81432
  e
81433
81433
  );
81434
81434
  a ? A.setParent(a, null) : A.setParent(this.parent, null), p && A.subscribe(), A.initChildren(i), i == null || i.add(A, F.Added);
81435
81435
  const C = (N = this.outputs) == null ? void 0 : N.map(
81436
- (x, G) => x.clone(
81436
+ (M, G) => M.clone(
81437
81437
  i,
81438
81438
  A,
81439
81439
  w + "-return-declaration-" + G + "-id",
@@ -81904,9 +81904,9 @@ ${ua(
81904
81904
  "add-self-to-project"
81905
81905
  )
81906
81906
  )) {
81907
- var y, v, E, w, A, C, N, x;
81907
+ var y, v, E, w, A, C, N, M;
81908
81908
  const a = [this], o = [], p = [], e = [];
81909
- return this.parentRelationType === le.FixedArguments || this.parentRelationType === le.DynamicArgument ? ((y = this.parent) == null ? void 0 : y.type) === f.Search || ((v = this.parent) == null ? void 0 : v.type) === f.Loop ? (this.parent.addInputDeclaration(this, i), e.push(this.parent)) : ((w = (E = this.parent) == null ? void 0 : E.addInput) == null || w.call(E, this, i), a.push(this.parent)) : this.parentRelationType === le.FixedReturns || this.parentRelationType === le.DynamicReturn ? ((A = this.parent) == null ? void 0 : A.type) === f.Search || ((C = this.parent) == null ? void 0 : C.type) === f.Loop ? (this.parent.addOutputDeclaration(this, i), e.push(this.parent)) : ((x = (N = this.parent) == null ? void 0 : N.addOutput) == null || x.call(N, this, i), a.push(this.parent)) : this.parentRelationType === le.ReturnedError && this.parent && (this.parent.error = this, e.push(this.parent)), this.subscribe(), this.subscribeToDependencies(), i == null || i.attemptAutoclose("add-self-to-project", this.id), {
81909
+ return this.parentRelationType === le.FixedArguments || this.parentRelationType === le.DynamicArgument ? ((y = this.parent) == null ? void 0 : y.type) === f.Search || ((v = this.parent) == null ? void 0 : v.type) === f.Loop ? (this.parent.addInputDeclaration(this, i), e.push(this.parent)) : ((w = (E = this.parent) == null ? void 0 : E.addInput) == null || w.call(E, this, i), a.push(this.parent)) : this.parentRelationType === le.FixedReturns || this.parentRelationType === le.DynamicReturn ? ((A = this.parent) == null ? void 0 : A.type) === f.Search || ((C = this.parent) == null ? void 0 : C.type) === f.Loop ? (this.parent.addOutputDeclaration(this, i), e.push(this.parent)) : ((M = (N = this.parent) == null ? void 0 : N.addOutput) == null || M.call(N, this, i), a.push(this.parent)) : this.parentRelationType === le.ReturnedError && this.parent && (this.parent.error = this, e.push(this.parent)), this.subscribe(), this.subscribeToDependencies(), i == null || i.attemptAutoclose("add-self-to-project", this.id), {
81910
81910
  updated: _(a),
81911
81911
  added: _(o),
81912
81912
  removed: _(p),
@@ -82115,27 +82115,27 @@ ${ua(
82115
82115
  const a = [], o = [], p = [], e = [];
82116
82116
  if (i != null && i.hasAdded(this.id))
82117
82117
  return i == null || i.attemptAutoclose("restore-entity", this.id), { added: [], updated: [], removed: [], affected: [], self: this };
82118
- if (this.subscribe(), this.project.unsubscribeDeletedInstance(this), this.metaSync({ deleted: !1 }, i), Object.values(this.detachedDependents).forEach((x) => {
82118
+ if (this.subscribe(), this.project.unsubscribeDeletedInstance(this), this.metaSync({ deleted: !1 }, i), Object.values(this.detachedDependents).forEach((M) => {
82119
82119
  const {
82120
82120
  updated: G,
82121
82121
  removed: K,
82122
82122
  added: S
82123
- } = x.entity.onDetachedDependencyRestored(
82123
+ } = M.entity.onDetachedDependencyRestored(
82124
82124
  this,
82125
- x.field,
82125
+ M.field,
82126
82126
  i
82127
82127
  );
82128
82128
  o.push(...G), p.push(...K), a.push(...S);
82129
82129
  }), this.defaultValue) {
82130
- const { updated: x } = this.defaultValue.restore(
82130
+ const { updated: M } = this.defaultValue.restore(
82131
82131
  {},
82132
82132
  i
82133
82133
  );
82134
- o.push(...x);
82134
+ o.push(...M);
82135
82135
  }
82136
82136
  if (this.dataType) {
82137
- const { updated: x } = this.dataType.restore({}, i);
82138
- o.push(...x);
82137
+ const { updated: M } = this.dataType.restore({}, i);
82138
+ o.push(...M);
82139
82139
  }
82140
82140
  return ((y = this.parent) == null ? void 0 : y.type) === f.Search ? this.parentRelationType === le.FixedReturns || this.parentRelationType === le.DynamicReturn ? (v = this.parent) == null || v.addOutputDeclaration(this, i) : (this.parentRelationType === le.FixedArguments || this.parentRelationType === le.DynamicArgument) && ((E = this.parent) == null || E.addInputDeclaration(this, i)) : ((w = this.parent) == null ? void 0 : w.type) === f.Loop ? (this.parentRelationType === le.FixedReturns || this.parentRelationType === le.DynamicReturn) && ((A = this.parent) == null || A.addOutputDeclaration(this, i)) : this.parentRelationType === le.FixedReturns || this.parentRelationType === le.DynamicReturn ? (C = this.parent) == null || C.addOutput(this, i) : (this.parentRelationType === le.FixedArguments || this.parentRelationType === le.DynamicArgument) && ((N = this.parent) == null || N.addInput(this, i)), i == null || i.attemptAutoclose("restore-entity", this.id), {
82141
82141
  added: _(a),
@@ -82322,7 +82322,7 @@ ${ua(
82322
82322
  "clone-entity"
82323
82323
  )
82324
82324
  ), a = null, o = null, p = !0) {
82325
- var N, x;
82325
+ var N, M;
82326
82326
  if (Array.from(
82327
82327
  /* @__PURE__ */ new Set([...In(), ...this.project.getAllBuiltInIds()])
82328
82328
  ).includes(this.id))
@@ -82330,7 +82330,7 @@ ${ua(
82330
82330
  let y = Fr(a, this);
82331
82331
  const v = o || P.UUID.uuid(), E = this.toJSON();
82332
82332
  E.id = v, E.version = P.UUID.uuid(), E.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), E.author = (i == null ? void 0 : i.author) || "1", E.previousVersion = null, E.deleted = !1;
82333
- const w = ur(
82333
+ const w = dr(
82334
82334
  E,
82335
82335
  y
82336
82336
  );
@@ -82342,7 +82342,7 @@ ${ua(
82342
82342
  p
82343
82343
  )) || null;
82344
82344
  A && w.setDataType(A, i);
82345
- const C = (x = this.defaultValue) == null ? void 0 : x.clone(
82345
+ const C = (M = this.defaultValue) == null ? void 0 : M.clone(
82346
82346
  i,
82347
82347
  w,
82348
82348
  P.UUID.uuid(),
@@ -82406,7 +82406,7 @@ ${ua(
82406
82406
  ), a, o) {
82407
82407
  const p = ys.new(i);
82408
82408
  p.id = o || p.id, p.name = this.name, p.description = this.description, p.parent = a.toReference(), p.implements = this.toJSON(), p.isError = this.parentRelationType === le.ReturnedError;
82409
- const e = ur(
82409
+ const e = dr(
82410
82410
  p,
82411
82411
  this.project
82412
82412
  );
@@ -82438,7 +82438,7 @@ ${ua(
82438
82438
  ), a, o) {
82439
82439
  const p = ma.new(i);
82440
82440
  p.id = o || p.id, p.name = this.name, p.description = this.description, p.parent = a.toReference(), p.implements = this.toJSON();
82441
- const e = ur(
82441
+ const e = dr(
82442
82442
  p,
82443
82443
  this.project
82444
82444
  );
@@ -84129,7 +84129,7 @@ class ty {
84129
84129
  if (i instanceof Xi)
84130
84130
  o = i;
84131
84131
  else if (i)
84132
- o = ur(
84132
+ o = dr(
84133
84133
  i,
84134
84134
  this.project
84135
84135
  );
@@ -84150,7 +84150,7 @@ class ty {
84150
84150
  autogeneration: null,
84151
84151
  name: Ad(u.getDataType(null))
84152
84152
  };
84153
- o = ur(
84153
+ o = dr(
84154
84154
  p,
84155
84155
  this.project
84156
84156
  );
@@ -84467,18 +84467,18 @@ function $Tt(d, u) {
84467
84467
  ...i,
84468
84468
  ...d.dataType.entity.getActiveRawDefaultValue()
84469
84469
  }), u.execution && u.execution.hasEntity(d)) {
84470
- const x = (E = u.lastExecutionResults) == null ? void 0 : E.readValue(
84470
+ const M = (E = u.lastExecutionResults) == null ? void 0 : E.readValue(
84471
84471
  d.id
84472
84472
  );
84473
- if (x) {
84474
- if (vr(x.value)) {
84473
+ if (M) {
84474
+ if (vr(M.value)) {
84475
84475
  const K = {
84476
84476
  ...i,
84477
- ...x.value
84477
+ ...M.value
84478
84478
  }, S = {
84479
84479
  ...ry(K, d, u)
84480
84480
  };
84481
- x.metaSync(
84481
+ M.metaSync(
84482
84482
  {
84483
84483
  value: S
84484
84484
  },
@@ -84486,7 +84486,7 @@ function $Tt(d, u) {
84486
84486
  );
84487
84487
  }
84488
84488
  return {
84489
- value: x,
84489
+ value: M,
84490
84490
  valueOwner: d,
84491
84491
  type: Ie.ExecutionResult,
84492
84492
  inheritanceLink: null
@@ -84496,11 +84496,11 @@ function $Tt(d, u) {
84496
84496
  const a = !!((w = u.execution) != null && w.entities.length), o = (A = u.execution) == null ? void 0 : A.hasEntity(d), p = d.readsValue;
84497
84497
  let e = null;
84498
84498
  if (p) {
84499
- const x = (C = u.execution) == null ? void 0 : C.hasEntity(p);
84499
+ const M = (C = u.execution) == null ? void 0 : C.hasEntity(p);
84500
84500
  if (// There isn't an active test
84501
84501
  (!a || // Or there is an active test, and both entities are part of it
84502
- a && x && o || // Or there is an active test, but neither entity is a part it
84503
- a && !x && !o) && (e = pf(d, u), e && e.value && vr(e.value.value))) {
84502
+ a && M && o || // Or there is an active test, but neither entity is a part it
84503
+ a && !M && !o) && (e = pf(d, u), e && e.value && vr(e.value.value))) {
84504
84504
  const K = {
84505
84505
  ...i,
84506
84506
  ...e.value.value
@@ -84516,10 +84516,10 @@ function $Tt(d, u) {
84516
84516
  }
84517
84517
  }
84518
84518
  if (!e && d.defaultValue) {
84519
- const x = d.defaultValue;
84520
- if (x.value === null && x.autogeneration) {
84521
- const G = fA(x);
84522
- if (x.metaSync(
84519
+ const M = d.defaultValue;
84520
+ if (M.value === null && M.autogeneration) {
84521
+ const G = fA(M);
84522
+ if (M.metaSync(
84523
84523
  {
84524
84524
  value: G
84525
84525
  },
@@ -84532,7 +84532,7 @@ function $Tt(d, u) {
84532
84532
  u
84533
84533
  )
84534
84534
  };
84535
- x.metaSync(
84535
+ M.metaSync(
84536
84536
  {
84537
84537
  value: K
84538
84538
  },
@@ -84541,23 +84541,23 @@ function $Tt(d, u) {
84541
84541
  }
84542
84542
  }
84543
84543
  e = {
84544
- value: x,
84544
+ value: M,
84545
84545
  valueOwner: d,
84546
- type: x.value === null ? Ie.Empty : Ie.DefaultValue,
84546
+ type: M.value === null ? Ie.Empty : Ie.DefaultValue,
84547
84547
  inheritanceLink: null
84548
84548
  };
84549
84549
  }
84550
84550
  if (!e || e.type === Ie.DefaultValue) {
84551
- const x = (N = u.localTestValues) == null ? void 0 : N.readValue(d.id);
84552
- if (x) {
84553
- if (vr(x.value)) {
84551
+ const M = (N = u.localTestValues) == null ? void 0 : N.readValue(d.id);
84552
+ if (M) {
84553
+ if (vr(M.value)) {
84554
84554
  const G = {
84555
84555
  ...i,
84556
- ...x.value
84556
+ ...M.value
84557
84557
  }, K = {
84558
84558
  ...ry(G, d, u)
84559
84559
  };
84560
- x.metaSync(
84560
+ M.metaSync(
84561
84561
  {
84562
84562
  value: K
84563
84563
  },
@@ -84565,7 +84565,7 @@ function $Tt(d, u) {
84565
84565
  );
84566
84566
  }
84567
84567
  return {
84568
- value: x,
84568
+ value: M,
84569
84569
  valueOwner: d,
84570
84570
  type: Ie.Testing,
84571
84571
  inheritanceLink: null
@@ -84667,7 +84667,7 @@ function Om(d, u) {
84667
84667
  var y, v, E, w, A;
84668
84668
  if ((y = d.dataType) != null && y.isObject())
84669
84669
  return $Tt(d, u);
84670
- const i = dr(d), a = !!((v = u.execution) != null && v.entities.length), o = (E = u.execution) == null ? void 0 : E.hasEntity(i), p = d.readsValue;
84670
+ const i = fr(d), a = !!((v = u.execution) != null && v.entities.length), o = (E = u.execution) == null ? void 0 : E.hasEntity(i), p = d.readsValue;
84671
84671
  let e = null;
84672
84672
  if (p) {
84673
84673
  const C = (w = u.execution) == null ? void 0 : w.hasEntity(p);
@@ -84839,7 +84839,7 @@ function w4(d, u) {
84839
84839
  inheritanceLink: null
84840
84840
  };
84841
84841
  }
84842
- const i = dr(d), a = d.parent.type === f.FunctionDeclaration && d.parent.parent.type === f.Loop ? d.parent : null, o = !!((E = u.execution) != null && E.hasEntity(i)) || !!a && !!((w = u.execution) != null && w.hasEntity(a));
84842
+ const i = fr(d), a = d.parent.type === f.FunctionDeclaration && d.parent.parent.type === f.Loop ? d.parent : null, o = !!((E = u.execution) != null && E.hasEntity(i)) || !!a && !!((w = u.execution) != null && w.hasEntity(a));
84843
84843
  let p = null;
84844
84844
  if (d.defaultValue) {
84845
84845
  const C = d.defaultValue;
@@ -84892,25 +84892,25 @@ function w4(d, u) {
84892
84892
  function _4(d, u) {
84893
84893
  var E, w, A, C, N;
84894
84894
  if (u.execution && u.execution.hasEntity(d)) {
84895
- const x = (E = u.lastExecutionResults) == null ? void 0 : E.readValue(
84895
+ const M = (E = u.lastExecutionResults) == null ? void 0 : E.readValue(
84896
84896
  d.id
84897
84897
  );
84898
- if (x)
84898
+ if (M)
84899
84899
  return {
84900
- value: x,
84900
+ value: M,
84901
84901
  valueOwner: d,
84902
84902
  type: Ie.ExecutionResult,
84903
84903
  inheritanceLink: null
84904
84904
  };
84905
84905
  }
84906
- const i = dr(d), a = !!((w = u.execution) != null && w.entities.length), o = (A = u.execution) == null ? void 0 : A.hasEntity(i), p = d.readsValue;
84906
+ const i = fr(d), a = !!((w = u.execution) != null && w.entities.length), o = (A = u.execution) == null ? void 0 : A.hasEntity(i), p = d.readsValue;
84907
84907
  let e = null;
84908
84908
  if (p) {
84909
- const x = (C = u.execution) == null ? void 0 : C.hasEntity(p);
84909
+ const M = (C = u.execution) == null ? void 0 : C.hasEntity(p);
84910
84910
  // There isn't an active test
84911
84911
  (!a || // Or there is an active test, and both entities are part of it
84912
- a && x && o || // Or there is an active test, but neither entity is a part it
84913
- a && !x && !o) && (e = pf(d, u));
84912
+ a && M && o || // Or there is an active test, but neither entity is a part it
84913
+ a && !M && !o) && (e = pf(d, u));
84914
84914
  }
84915
84915
  if (!e && d.defaultValue && (e = {
84916
84916
  value: d.defaultValue,
@@ -84918,10 +84918,10 @@ function _4(d, u) {
84918
84918
  type: Ie.DefaultValue,
84919
84919
  inheritanceLink: null
84920
84920
  }), !e || e.type === Ie.DefaultValue) {
84921
- const x = (N = u.localTestValues) == null ? void 0 : N.readValue(d.id);
84922
- if (x)
84921
+ const M = (N = u.localTestValues) == null ? void 0 : N.readValue(d.id);
84922
+ if (M)
84923
84923
  return {
84924
- value: x,
84924
+ value: M,
84925
84925
  valueOwner: d,
84926
84926
  type: Ie.Testing,
84927
84927
  inheritanceLink: null
@@ -84941,7 +84941,7 @@ function _4(d, u) {
84941
84941
  } : e;
84942
84942
  }
84943
84943
  function R4(d, u) {
84944
- var y, v, E, w, A, C, N, x, G, K, S, re;
84944
+ var y, v, E, w, A, C, N, M, G, K, S, re;
84945
84945
  if (u.execution && u.execution.hasEntity(d)) {
84946
84946
  const J = (y = u.lastExecutionResults) == null ? void 0 : y.readValue(
84947
84947
  d.id
@@ -84954,7 +84954,7 @@ function R4(d, u) {
84954
84954
  inheritanceLink: null
84955
84955
  };
84956
84956
  }
84957
- const i = dr(d);
84957
+ const i = fr(d);
84958
84958
  if (vt.includes(i.type)) {
84959
84959
  const J = Bd(i, u), oe = xr(
84960
84960
  W(d, u.project)
@@ -85064,7 +85064,7 @@ function R4(d, u) {
85064
85064
  const ue = d.declaration;
85065
85065
  if (vr(oe.value.value)) {
85066
85066
  const z = oe.value.value[ue.name], H = dt(
85067
- ((x = d.declaration) == null ? void 0 : x.dataType) || null,
85067
+ ((M = d.declaration) == null ? void 0 : M.dataType) || null,
85068
85068
  d,
85069
85069
  u.project
85070
85070
  );
@@ -85243,7 +85243,7 @@ function VTt(d, u) {
85243
85243
  };
85244
85244
  }
85245
85245
  function LTt(d, u) {
85246
- var w, A, C, N, x;
85246
+ var w, A, C, N, M;
85247
85247
  if (!vt.includes(d.parent.type) || !Jm(d))
85248
85248
  return null;
85249
85249
  if (((w = d.declaration) == null ? void 0 : w.type) === f.Property && d.declaration.static)
@@ -85292,7 +85292,7 @@ function LTt(d, u) {
85292
85292
  );
85293
85293
  const K = v && Hb(G), S = !!((C = u.execution) != null && C.entities.length), re = (N = u.execution) == null ? void 0 : N.hasEntity(i), J = i.readsValue;
85294
85294
  if (J) {
85295
- const oe = (x = u.execution) == null ? void 0 : x.hasEntity(J);
85295
+ const oe = (M = u.execution) == null ? void 0 : M.hasEntity(J);
85296
85296
  if (K && // There isn't an active test
85297
85297
  (!S || // Or there is an active test, and both entities are part of it
85298
85298
  S && oe && re || // Or there is an active test, but neither entity is a part it
@@ -85323,40 +85323,40 @@ function LTt(d, u) {
85323
85323
  }
85324
85324
  function $m(d, u) {
85325
85325
  var E, w, A, C, N;
85326
- const i = dr(d), a = !!((E = u.execution) != null && E.entities.length), o = (w = u.execution) == null ? void 0 : w.hasEntity(i), p = d.readsValue;
85326
+ const i = fr(d), a = !!((E = u.execution) != null && E.entities.length), o = (w = u.execution) == null ? void 0 : w.hasEntity(i), p = d.readsValue;
85327
85327
  let e = null;
85328
85328
  if (p) {
85329
- const x = (A = u.execution) == null ? void 0 : A.hasEntity(p);
85329
+ const M = (A = u.execution) == null ? void 0 : A.hasEntity(p);
85330
85330
  // There isn't an active test
85331
85331
  (!a || // Or there is an active test, and both entities are part of it
85332
- a && x && o || // Or there is an active test, but neither entity is a part it
85333
- a && !x && !o) && (e = pf(d, u));
85332
+ a && M && o || // Or there is an active test, but neither entity is a part it
85333
+ a && !M && !o) && (e = pf(d, u));
85334
85334
  }
85335
85335
  if (!e && d.defaultValue) {
85336
- const x = d.defaultValue;
85337
- x && (e = {
85338
- value: x,
85336
+ const M = d.defaultValue;
85337
+ M && (e = {
85338
+ value: M,
85339
85339
  valueOwner: d,
85340
85340
  type: Ie.DefaultValue,
85341
85341
  inheritanceLink: null
85342
85342
  });
85343
85343
  }
85344
85344
  if (!e && d.declaration) {
85345
- const x = Bd(d.declaration, u);
85346
- x && x.value && (e = {
85347
- ...x,
85345
+ const M = Bd(d.declaration, u);
85346
+ M && M.value && (e = {
85347
+ ...M,
85348
85348
  // It becomes its own value owner
85349
85349
  valueOwner: d,
85350
85350
  type: Ie.DefaultValue
85351
85351
  });
85352
85352
  }
85353
85353
  if (!e || e.type === Ie.DefaultValue || (e == null ? void 0 : e.type) === Ie.Empty) {
85354
- const x = (C = u.persistedExecutionResults) == null ? void 0 : C.readValue(
85354
+ const M = (C = u.persistedExecutionResults) == null ? void 0 : C.readValue(
85355
85355
  d.id
85356
85356
  );
85357
- if (x)
85357
+ if (M)
85358
85358
  return {
85359
- value: x,
85359
+ value: M,
85360
85360
  valueOwner: d,
85361
85361
  type: Ie.Testing,
85362
85362
  inheritanceLink: null
@@ -85556,7 +85556,7 @@ function Rd(d, u, i, a) {
85556
85556
  a instanceof j ? (o = !0, p = a, e = null) : (p = null, e = a);
85557
85557
  const y = d.parent;
85558
85558
  return u.getVariableDeclarations().forEach((E) => {
85559
- var A, C, N, x;
85559
+ var A, C, N, M;
85560
85560
  const w = E.getDataType(null);
85561
85561
  if (((A = w == null ? void 0 : w.entity) == null ? void 0 : A.id) === y.id) {
85562
85562
  let G = o ? E.defaultValue : e == null ? void 0 : e.readValue(E.id);
@@ -85576,7 +85576,7 @@ function Rd(d, u, i, a) {
85576
85576
  );
85577
85577
  const K = W(d, u), S = xr(K);
85578
85578
  let re = {};
85579
- ((x = (N = E.dataType) == null ? void 0 : N.entity) == null ? void 0 : x.type) === f.DefinitionEntity && (re = {
85579
+ ((M = (N = E.dataType) == null ? void 0 : N.entity) == null ? void 0 : M.type) === f.DefinitionEntity && (re = {
85580
85580
  ...re,
85581
85581
  ...E.dataType.entity.getActiveRawDefaultValue()
85582
85582
  }), vr(G == null ? void 0 : G.value) && (re = {
@@ -85596,7 +85596,7 @@ function Rd(d, u, i, a) {
85596
85596
  }), p;
85597
85597
  }
85598
85598
  function $y(d, u, i, a) {
85599
- var N, x, G;
85599
+ var N, M, G;
85600
85600
  let o = !1, p = null, e = null;
85601
85601
  a instanceof j ? (o = !0, p = a, e = null) : (p = null, e = a);
85602
85602
  const y = Ui(d.parent), v = y.getDataType(null);
@@ -85619,7 +85619,7 @@ function $y(d, u, i, a) {
85619
85619
  );
85620
85620
  const w = W(d, u), A = xr(w);
85621
85621
  let C = {};
85622
- if (((G = (x = y.dataType) == null ? void 0 : x.entity) == null ? void 0 : G.type) === f.DefinitionEntity && (C = {
85622
+ if (((G = (M = y.dataType) == null ? void 0 : M.entity) == null ? void 0 : G.type) === f.DefinitionEntity && (C = {
85623
85623
  ...C,
85624
85624
  ...y.dataType.entity.getActiveRawDefaultValue()
85625
85625
  }), vr(E == null ? void 0 : E.value) && (C = {
@@ -85658,10 +85658,10 @@ function UTt(d, u, i) {
85658
85658
  if (i instanceof j ? (a = !0, o = i, p = null) : (o = null, p = i), vt.includes(d.type)) {
85659
85659
  const A = Ui(d);
85660
85660
  (e = A.dataType) != null && e.isObject() && A.inputs.forEach((C) => {
85661
- var N, x, G, K;
85661
+ var N, M, G, K;
85662
85662
  if (((N = C.declaration) == null ? void 0 : N.type) === f.Property && C.declaration.static) {
85663
85663
  let S = a ? d.defaultValue : p == null ? void 0 : p.readValue(C.declaration.id);
85664
- S ? !a && S && S.id === ((x = C.declaration.defaultValue) == null ? void 0 : x.id) && (S = dt(
85664
+ S ? !a && S && S.id === ((M = C.declaration.defaultValue) == null ? void 0 : M.id) && (S = dt(
85665
85665
  C.declaration.getDataType(null),
85666
85666
  C.declaration,
85667
85667
  u
@@ -85723,15 +85723,15 @@ function jTt(d, u, i, a) {
85723
85723
  var y, v, E, w, A, C, N;
85724
85724
  let o = !1, p = null, e = null;
85725
85725
  if (a instanceof j ? (o = !0, p = a, e = null) : (p = null, e = a), vt.includes(u.type)) {
85726
- const x = Ui(u);
85727
- if ((y = x.dataType) != null && y.isObject()) {
85726
+ const M = Ui(u);
85727
+ if ((y = M.dataType) != null && y.isObject()) {
85728
85728
  let G = {};
85729
- ((E = (v = x.dataType) == null ? void 0 : v.entity) == null ? void 0 : E.type) === f.DefinitionEntity && (G = {
85729
+ ((E = (v = M.dataType) == null ? void 0 : v.entity) == null ? void 0 : E.type) === f.DefinitionEntity && (G = {
85730
85730
  ...G,
85731
- ...x.dataType.entity.getActiveRawDefaultValue()
85731
+ ...M.dataType.entity.getActiveRawDefaultValue()
85732
85732
  });
85733
85733
  const K = vr(d) ? d : G;
85734
- x.inputs.forEach((S) => {
85734
+ M.inputs.forEach((S) => {
85735
85735
  var re, J, oe;
85736
85736
  if (((re = S.declaration) == null ? void 0 : re.type) === f.Property && S.declaration.static) {
85737
85737
  let Y = o ? u.defaultValue : e == null ? void 0 : e.readValue(S.declaration.id);
@@ -85868,7 +85868,7 @@ function gd(d, u, i, a) {
85868
85868
  a instanceof j ? (o = !0, p = a, e = null) : (p = null, e = a);
85869
85869
  const y = d.parent;
85870
85870
  return u.getVariableDeclarations().forEach((E) => {
85871
- var A, C, N, x;
85871
+ var A, C, N, M;
85872
85872
  const w = E.getDataType(null);
85873
85873
  if (((A = w == null ? void 0 : w.entity) == null ? void 0 : A.id) === y.id) {
85874
85874
  let G = o ? E.defaultValue : e == null ? void 0 : e.readValue(E.id);
@@ -85888,7 +85888,7 @@ function gd(d, u, i, a) {
85888
85888
  );
85889
85889
  const K = W(d, u), S = xr(K);
85890
85890
  let re = {};
85891
- ((x = (N = E.dataType) == null ? void 0 : N.entity) == null ? void 0 : x.type) === f.DefinitionEntity && (re = {
85891
+ ((M = (N = E.dataType) == null ? void 0 : N.entity) == null ? void 0 : M.type) === f.DefinitionEntity && (re = {
85892
85892
  ...re,
85893
85893
  ...E.dataType.entity.getActiveRawDefaultValue()
85894
85894
  }), vr(G == null ? void 0 : G.value) && (re = {
@@ -85908,7 +85908,7 @@ function gd(d, u, i, a) {
85908
85908
  }), p;
85909
85909
  }
85910
85910
  function Py(d, u, i, a) {
85911
- var N, x, G;
85911
+ var N, M, G;
85912
85912
  let o = !1, p = null, e = null;
85913
85913
  a instanceof j ? (o = !0, p = a, e = null) : (p = null, e = a);
85914
85914
  const y = Ui(d.parent), v = y.getDataType(null);
@@ -85931,7 +85931,7 @@ function Py(d, u, i, a) {
85931
85931
  );
85932
85932
  const w = W(d, u), A = xr(w);
85933
85933
  let C = {};
85934
- if (((G = (x = y.dataType) == null ? void 0 : x.entity) == null ? void 0 : G.type) === f.DefinitionEntity && (C = {
85934
+ if (((G = (M = y.dataType) == null ? void 0 : M.entity) == null ? void 0 : G.type) === f.DefinitionEntity && (C = {
85935
85935
  ...C,
85936
85936
  ...y.dataType.entity.getActiveRawDefaultValue()
85937
85937
  }), vr(E == null ? void 0 : E.value) && (C = {
@@ -86655,8 +86655,8 @@ const Wc = "built-in-function-implementations__", nt = "operations-implementatio
86655
86655
  BUILT_IN_FUNCTION_IMPLEMENTATIONS__UPDATE_PERSISTED_ENTITY: Wc + ii.UpdatePersistedEntity,
86656
86656
  BUILT_IN_FUNCTION_IMPLEMENTATIONS__DELETE_PERSISTED_ENTITY: Wc + ii.DeletePersistedEntity,
86657
86657
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__HTTP_REQUEST: nt + Ai.HttpRequest,
86658
- BUILT_INT_OPERATIONS_IMPLEMENTATIONS__VALIDATE_ENTITY: nt + fr.Validate,
86659
- BUILT_INT_OPERATIONS_IMPLEMENTATIONS__CREATE_NEW_INSTANCE: nt + fr.CreateNewInstance,
86658
+ BUILT_INT_OPERATIONS_IMPLEMENTATIONS__VALIDATE_ENTITY: nt + pr.Validate,
86659
+ BUILT_INT_OPERATIONS_IMPLEMENTATIONS__CREATE_NEW_INSTANCE: nt + pr.CreateNewInstance,
86660
86660
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__EXECUTE_SEQUENTIAL: nt + tr.Sequential,
86661
86661
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__EXECUTE_PARALLEL: nt + tr.Parallel,
86662
86662
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__EXECUTE_WAIT: nt + tr.Wait,
@@ -87207,21 +87207,21 @@ function xm(d, u, i) {
87207
87207
  const a = i.metaTokens, o = i.visitor || w, p = i.dots, e = i.indexes, v = (i.Blob || typeof Blob < "u" && Blob) && Ee.isSpecCompliantForm(u);
87208
87208
  if (!Ee.isFunction(o))
87209
87209
  throw new TypeError("visitor must be a function");
87210
- function E(x) {
87211
- if (x === null)
87210
+ function E(M) {
87211
+ if (M === null)
87212
87212
  return "";
87213
- if (Ee.isDate(x))
87214
- return x.toISOString();
87215
- if (!v && Ee.isBlob(x))
87213
+ if (Ee.isDate(M))
87214
+ return M.toISOString();
87215
+ if (!v && Ee.isBlob(M))
87216
87216
  throw new Ot("Blob is not supported. Use a Buffer instead.");
87217
- return Ee.isArrayBuffer(x) || Ee.isTypedArray(x) ? v && typeof Blob == "function" ? new Blob([x]) : Buffer.from(x) : x;
87217
+ return Ee.isArrayBuffer(M) || Ee.isTypedArray(M) ? v && typeof Blob == "function" ? new Blob([M]) : Buffer.from(M) : M;
87218
87218
  }
87219
- function w(x, G, K) {
87220
- let S = x;
87221
- if (x && !K && typeof x == "object") {
87219
+ function w(M, G, K) {
87220
+ let S = M;
87221
+ if (M && !K && typeof M == "object") {
87222
87222
  if (Ee.endsWith(G, "{}"))
87223
- G = a ? G : G.slice(0, -2), x = JSON.stringify(x);
87224
- else if (Ee.isArray(x) && qIt(x) || (Ee.isFileList(x) || Ee.endsWith(G, "[]")) && (S = Ee.toArray(x)))
87223
+ G = a ? G : G.slice(0, -2), M = JSON.stringify(M);
87224
+ else if (Ee.isArray(M) && qIt(M) || (Ee.isFileList(M) || Ee.endsWith(G, "[]")) && (S = Ee.toArray(M)))
87225
87225
  return G = F4(G), S.forEach(function(J, oe) {
87226
87226
  !(Ee.isUndefined(J) || J === null) && u.append(
87227
87227
  // eslint-disable-next-line no-nested-ternary
@@ -87230,18 +87230,18 @@ function xm(d, u, i) {
87230
87230
  );
87231
87231
  }), !1;
87232
87232
  }
87233
- return yI(x) ? !0 : (u.append(JO(K, G, p), E(x)), !1);
87233
+ return yI(M) ? !0 : (u.append(JO(K, G, p), E(M)), !1);
87234
87234
  }
87235
87235
  const A = [], C = Object.assign(ZIt, {
87236
87236
  defaultVisitor: w,
87237
87237
  convertValue: E,
87238
87238
  isVisitable: yI
87239
87239
  });
87240
- function N(x, G) {
87241
- if (!Ee.isUndefined(x)) {
87242
- if (A.indexOf(x) !== -1)
87240
+ function N(M, G) {
87241
+ if (!Ee.isUndefined(M)) {
87242
+ if (A.indexOf(M) !== -1)
87243
87243
  throw Error("Circular reference detected in " + G.join("."));
87244
- A.push(x), Ee.forEach(x, function(S, re) {
87244
+ A.push(M), Ee.forEach(M, function(S, re) {
87245
87245
  (!(Ee.isUndefined(S) || S === null) && o.call(
87246
87246
  u,
87247
87247
  S,
@@ -87914,9 +87914,9 @@ const H4 = (d) => {
87914
87914
  const o = H4(d);
87915
87915
  let p = o.data;
87916
87916
  const e = Tn.from(o.headers).normalize();
87917
- let { responseType: y, onUploadProgress: v, onDownloadProgress: E } = o, w, A, C, N, x;
87917
+ let { responseType: y, onUploadProgress: v, onDownloadProgress: E } = o, w, A, C, N, M;
87918
87918
  function G() {
87919
- N && N(), x && x(), o.cancelToken && o.cancelToken.unsubscribe(w), o.signal && o.signal.removeEventListener("abort", w);
87919
+ N && N(), M && M(), o.cancelToken && o.cancelToken.unsubscribe(w), o.signal && o.signal.removeEventListener("abort", w);
87920
87920
  }
87921
87921
  let K = new XMLHttpRequest();
87922
87922
  K.open(o.method.toUpperCase(), o.url, !0), K.timeout = o.timeout;
@@ -87956,7 +87956,7 @@ const H4 = (d) => {
87956
87956
  )), K = null;
87957
87957
  }, p === void 0 && e.setContentType(null), "setRequestHeader" in K && Ee.forEach(e.toJSON(), function(oe, Y) {
87958
87958
  K.setRequestHeader(Y, oe);
87959
- }), Ee.isUndefined(o.withCredentials) || (K.withCredentials = !!o.withCredentials), y && y !== "json" && (K.responseType = o.responseType), E && ([C, x] = Ny(E, !0), K.addEventListener("progress", C)), v && K.upload && ([A, N] = Ny(v), K.upload.addEventListener("progress", A), K.upload.addEventListener("loadend", N)), (o.cancelToken || o.signal) && (w = (J) => {
87959
+ }), Ee.isUndefined(o.withCredentials) || (K.withCredentials = !!o.withCredentials), y && y !== "json" && (K.responseType = o.responseType), E && ([C, M] = Ny(E, !0), K.addEventListener("progress", C)), v && K.upload && ([A, N] = Ny(v), K.upload.addEventListener("progress", A), K.upload.addEventListener("loadend", N)), (o.cancelToken || o.signal) && (w = (J) => {
87960
87960
  K && (a(!J || J.type ? new uu(null, d, K) : J), K.abort(), K = null);
87961
87961
  }, o.cancelToken && o.cancelToken.subscribe(w), o.signal && (o.signal.aborted ? w() : o.signal.addEventListener("abort", w)));
87962
87962
  const re = fAt(o.url);
@@ -88105,7 +88105,7 @@ const OAt = async (d) => {
88105
88105
  fetchOptions: C
88106
88106
  } = H4(d);
88107
88107
  E = E ? (E + "").toLowerCase() : "text";
88108
- let N = wAt([o, p && p.toAbortSignal()], e), x;
88108
+ let N = wAt([o, p && p.toAbortSignal()], e), M;
88109
88109
  const G = N && N.unsubscribe && (() => {
88110
88110
  N.unsubscribe();
88111
88111
  });
@@ -88127,7 +88127,7 @@ const OAt = async (d) => {
88127
88127
  }
88128
88128
  Ee.isString(A) || (A = A ? "include" : "omit");
88129
88129
  const S = "credentials" in Request.prototype;
88130
- x = new Request(u, {
88130
+ M = new Request(u, {
88131
88131
  ...C,
88132
88132
  signal: N,
88133
88133
  method: i.toUpperCase(),
@@ -88136,7 +88136,7 @@ const OAt = async (d) => {
88136
88136
  duplex: "half",
88137
88137
  credentials: S ? A : void 0
88138
88138
  });
88139
- let re = await fetch(x);
88139
+ let re = await fetch(M);
88140
88140
  const J = vI && (E === "stream" || E === "response");
88141
88141
  if (vI && (y || J && G)) {
88142
88142
  const Y = {};
@@ -88163,16 +88163,16 @@ const OAt = async (d) => {
88163
88163
  status: re.status,
88164
88164
  statusText: re.statusText,
88165
88165
  config: d,
88166
- request: x
88166
+ request: M
88167
88167
  });
88168
88168
  });
88169
88169
  } catch (S) {
88170
88170
  throw G && G(), S && S.name === "TypeError" && /Load failed|fetch/i.test(S.message) ? Object.assign(
88171
- new Ot("Network Error", Ot.ERR_NETWORK, d, x),
88171
+ new Ot("Network Error", Ot.ERR_NETWORK, d, M),
88172
88172
  {
88173
88173
  cause: S.cause || S
88174
88174
  }
88175
- ) : Ot.from(S, S && S.code, d, x);
88175
+ ) : Ot.from(S, S && S.code, d, M);
88176
88176
  }
88177
88177
  }), EI = {
88178
88178
  http: SIt,
@@ -88344,8 +88344,8 @@ class Ly {
88344
88344
  );
88345
88345
  p && Ee.forEach(
88346
88346
  ["delete", "get", "head", "post", "put", "patch", "common"],
88347
- (x) => {
88348
- delete p[x];
88347
+ (M) => {
88348
+ delete p[M];
88349
88349
  }
88350
88350
  ), i.headers = Tn.concat(e, p);
88351
88351
  const y = [];
@@ -88359,17 +88359,17 @@ class Ly {
88359
88359
  });
88360
88360
  let w, A = 0, C;
88361
88361
  if (!v) {
88362
- const x = [i$.bind(this), void 0];
88363
- for (x.unshift.apply(x, y), x.push.apply(x, E), C = x.length, w = Promise.resolve(i); A < C; )
88364
- w = w.then(x[A++], x[A++]);
88362
+ const M = [i$.bind(this), void 0];
88363
+ for (M.unshift.apply(M, y), M.push.apply(M, E), C = M.length, w = Promise.resolve(i); A < C; )
88364
+ w = w.then(M[A++], M[A++]);
88365
88365
  return w;
88366
88366
  }
88367
88367
  C = y.length;
88368
88368
  let N = i;
88369
88369
  for (A = 0; A < C; ) {
88370
- const x = y[A++], G = y[A++];
88370
+ const M = y[A++], G = y[A++];
88371
88371
  try {
88372
- N = x(N);
88372
+ N = M(N);
88373
88373
  } catch (K) {
88374
88374
  G.call(this, K);
88375
88375
  break;
@@ -88377,8 +88377,8 @@ class Ly {
88377
88377
  }
88378
88378
  try {
88379
88379
  w = i$.call(this, N);
88380
- } catch (x) {
88381
- return Promise.reject(x);
88380
+ } catch (M) {
88381
+ return Promise.reject(M);
88382
88382
  }
88383
88383
  for (A = 0, C = E.length; A < C; )
88384
88384
  w = w.then(E[A++], E[A++]);
@@ -91443,7 +91443,7 @@ class Ubt extends tt {
91443
91443
  );
91444
91444
  if (a) {
91445
91445
  const o = a.get(
91446
- fr.CreateNewInstance
91446
+ pr.CreateNewInstance
91447
91447
  );
91448
91448
  o && (o.implementation = this.module.main);
91449
91449
  }
@@ -91526,7 +91526,7 @@ class jbt extends tt {
91526
91526
  );
91527
91527
  if (a) {
91528
91528
  const o = a.get(
91529
- fr.Validate
91529
+ pr.Validate
91530
91530
  );
91531
91531
  o && (o.autoexecutable = !0, o.implementation = this.module.main);
91532
91532
  }
@@ -92111,7 +92111,7 @@ class Gn extends pp {
92111
92111
  // And returns a resolved list of dynamic values to be used during the execution
92112
92112
  mergeExernalValuesWithInternalInputs(i, a) {
92113
92113
  const o = [];
92114
- return [...cr, ...gt].includes(
92114
+ return [...ur, ...gt].includes(
92115
92115
  a.type
92116
92116
  ) ? o.push(
92117
92117
  ...a.inputs
@@ -92154,7 +92154,7 @@ class Gn extends pp {
92154
92154
  this.project
92155
92155
  ), E = y ? [y] : [];
92156
92156
  return v.forEach((w) => {
92157
- var N, x, G;
92157
+ var N, M, G;
92158
92158
  if (w.id === (y == null ? void 0 : y.valueOwner.id))
92159
92159
  return;
92160
92160
  const A = dt(
@@ -92167,7 +92167,7 @@ class Gn extends pp {
92167
92167
  value: (N = y == null ? void 0 : y.value) == null ? void 0 : N.value
92168
92168
  },
92169
92169
  null
92170
- ), A == null || A.setValueAsTypeList(((x = y == null ? void 0 : y.value) == null ? void 0 : x.valueAsTypeList) || null), A == null || A.setValueAsTypeSingle(
92170
+ ), A == null || A.setValueAsTypeList(((M = y == null ? void 0 : y.value) == null ? void 0 : M.valueAsTypeList) || null), A == null || A.setValueAsTypeSingle(
92171
92171
  ((G = y == null ? void 0 : y.value) == null ? void 0 : G.valueAsTypeSingle) || null
92172
92172
  );
92173
92173
  const C = {
@@ -92220,7 +92220,7 @@ class Gn extends pp {
92220
92220
  const N = [
92221
92221
  ...C.declaration.getCounterparts(),
92222
92222
  C.declaration
92223
- ], x = E.results.find(
92223
+ ], M = E.results.find(
92224
92224
  (Y) => N.some(
92225
92225
  (z) => Y.valueOwner.id === (z == null ? void 0 : z.id)
92226
92226
  )
@@ -92229,13 +92229,13 @@ class Gn extends pp {
92229
92229
  C,
92230
92230
  o
92231
92231
  );
92232
- return G != null && G.asType ? Array.isArray((S = x == null ? void 0 : x.value) == null ? void 0 : S.valueAsType) ? K == null || K.setValueAsTypeList(
92233
- (re = x == null ? void 0 : x.value) == null ? void 0 : re.valueAsTypeList
92232
+ return G != null && G.asType ? Array.isArray((S = M == null ? void 0 : M.value) == null ? void 0 : S.valueAsType) ? K == null || K.setValueAsTypeList(
92233
+ (re = M == null ? void 0 : M.value) == null ? void 0 : re.valueAsTypeList
92234
92234
  ) : K == null || K.setValueAsTypeSingle(
92235
- ((J = x == null ? void 0 : x.value) == null ? void 0 : J.valueAsType) || null
92235
+ ((J = M == null ? void 0 : M.value) == null ? void 0 : J.valueAsType) || null
92236
92236
  ) : K == null || K.metaSync(
92237
92237
  {
92238
- value: (oe = x == null ? void 0 : x.value) == null ? void 0 : oe.value
92238
+ value: (oe = M == null ? void 0 : M.value) == null ? void 0 : oe.value
92239
92239
  },
92240
92240
  null
92241
92241
  ), {
@@ -92560,7 +92560,7 @@ class Gn extends pp {
92560
92560
  parent: null,
92561
92561
  name: ue,
92562
92562
  standaloneParent: oe.toReference()
92563
- }, ce = ur(
92563
+ }, ce = dr(
92564
92564
  H,
92565
92565
  o
92566
92566
  );
@@ -92763,7 +92763,7 @@ class Gn extends pp {
92763
92763
  parent: null,
92764
92764
  name: ce,
92765
92765
  standaloneParent: z.toReference()
92766
- }, ve = ur(
92766
+ }, ve = dr(
92767
92767
  de,
92768
92768
  o
92769
92769
  );
@@ -92885,7 +92885,7 @@ class Gn extends pp {
92885
92885
  parent: null,
92886
92886
  name: ce,
92887
92887
  standaloneParent: z.toReference()
92888
- }, ve = ur(
92888
+ }, ve = dr(
92889
92889
  de,
92890
92890
  o
92891
92891
  );
@@ -93007,7 +93007,7 @@ class Gn extends pp {
93007
93007
  parent: null,
93008
93008
  name: ce,
93009
93009
  standaloneParent: z.toReference()
93010
- }, ve = ur(
93010
+ }, ve = dr(
93011
93011
  de,
93012
93012
  o
93013
93013
  );
@@ -93129,7 +93129,7 @@ class Gn extends pp {
93129
93129
  parent: null,
93130
93130
  name: ce,
93131
93131
  standaloneParent: z.toReference()
93132
- }, ve = ur(
93132
+ }, ve = dr(
93133
93133
  de,
93134
93134
  o
93135
93135
  );
@@ -93178,7 +93178,7 @@ class Gn extends pp {
93178
93178
  break;
93179
93179
  }
93180
93180
  }
93181
- let x = [];
93181
+ let M = [];
93182
93182
  i.body.inputs.forEach((K) => {
93183
93183
  var re;
93184
93184
  const S = A[K.id];
@@ -93192,7 +93192,7 @@ class Gn extends pp {
93192
93192
  );
93193
93193
  if (!oe)
93194
93194
  return;
93195
- x.push({
93195
+ M.push({
93196
93196
  valueOwner: oe,
93197
93197
  type: Ie.ExecutionResult,
93198
93198
  inheritanceLink: null,
@@ -93205,7 +93205,7 @@ class Gn extends pp {
93205
93205
  ae.Return
93206
93206
  ].includes(N.value) ? N.value : ae.Success,
93207
93207
  error: null,
93208
- results: x
93208
+ results: M
93209
93209
  };
93210
93210
  let G = null;
93211
93211
  if (E.error && i.error) {
@@ -93289,20 +93289,20 @@ class Gn extends pp {
93289
93289
  const N = [
93290
93290
  ...C.declaration.getCounterparts(),
93291
93291
  C.declaration
93292
- ], x = E.results.find((Y) => N.some(
93292
+ ], M = E.results.find((Y) => N.some(
93293
93293
  (z) => Y.valueOwner.id === (z == null ? void 0 : z.id)
93294
93294
  )), G = C == null ? void 0 : C.getDataType(null), K = dt(
93295
93295
  G,
93296
93296
  C,
93297
93297
  o
93298
93298
  );
93299
- return G != null && G.asType ? Array.isArray((S = x == null ? void 0 : x.value) == null ? void 0 : S.valueAsType) ? K == null || K.setValueAsTypeList(
93300
- (re = x == null ? void 0 : x.value) == null ? void 0 : re.valueAsTypeList
93299
+ return G != null && G.asType ? Array.isArray((S = M == null ? void 0 : M.value) == null ? void 0 : S.valueAsType) ? K == null || K.setValueAsTypeList(
93300
+ (re = M == null ? void 0 : M.value) == null ? void 0 : re.valueAsTypeList
93301
93301
  ) : K == null || K.setValueAsTypeSingle(
93302
- ((J = x == null ? void 0 : x.value) == null ? void 0 : J.valueAsType) || null
93302
+ ((J = M == null ? void 0 : M.value) == null ? void 0 : J.valueAsType) || null
93303
93303
  ) : K == null || K.metaSync(
93304
93304
  {
93305
- value: (oe = x == null ? void 0 : x.value) == null ? void 0 : oe.value
93305
+ value: (oe = M == null ? void 0 : M.value) == null ? void 0 : oe.value
93306
93306
  },
93307
93307
  null
93308
93308
  ), {
@@ -93371,7 +93371,7 @@ class Gn extends pp {
93371
93371
  }
93372
93372
  }
93373
93373
  async executeCondition(i, a) {
93374
- var p, e, y, v, E, w, A, C, N, x, G, K, S, re, J, oe, Y, ue, z, H, ce, Q, de, ve, Me, $e, Ce, Oe, ke, Be, st, bt, or, Ir, $r, Jr, si, rs, As, rn, bs, ni, is, sn, bn, cu, co, pu;
93374
+ var p, e, y, v, E, w, A, C, N, M, G, K, S, re, J, oe, Y, ue, z, H, ce, Q, de, ve, Me, $e, Ce, Oe, ke, Be, st, bt, or, Ir, $r, Jr, si, rs, As, rn, bs, ni, is, sn, bn, cu, co, pu;
93375
93375
  let o = !1;
93376
93376
  switch (i.declaration.id) {
93377
93377
  case fi.Empty: {
@@ -93392,7 +93392,7 @@ class Gn extends pp {
93392
93392
  ne.Date,
93393
93393
  ne.UUID
93394
93394
  ].includes((w = (E = a[0]) == null ? void 0 : E.value) == null ? void 0 : w.name)) {
93395
- o = ((C = (A = a[0]) == null ? void 0 : A.value) == null ? void 0 : C.value) === ((x = (N = a[1]) == null ? void 0 : N.value) == null ? void 0 : x.value);
93395
+ o = ((C = (A = a[0]) == null ? void 0 : A.value) == null ? void 0 : C.value) === ((M = (N = a[1]) == null ? void 0 : N.value) == null ? void 0 : M.value);
93396
93396
  break;
93397
93397
  }
93398
93398
  if (((K = (G = a[0]) == null ? void 0 : G.value) == null ? void 0 : K.name) === ne.KeyValue || ((re = (S = a[0]) == null ? void 0 : S.value) == null ? void 0 : re.name) === ne.Untyped) {
@@ -93523,7 +93523,7 @@ class Gn extends pp {
93523
93523
  e.forEach((A) => {
93524
93524
  this.addEntity(A);
93525
93525
  }), e.reduce(
93526
- (A, C) => mr.includes(C.type) ? [...A, ...C.outputs] : cr.includes(C.type) && C.type !== f.Condition ? [
93526
+ (A, C) => mr.includes(C.type) ? [...A, ...C.outputs] : ur.includes(C.type) && C.type !== f.Condition ? [
93527
93527
  ...A,
93528
93528
  ...C.outputs,
93529
93529
  ...C.inputs
@@ -93538,7 +93538,7 @@ class Gn extends pp {
93538
93538
  a
93539
93539
  ), w = i.getUniqueReturnDeclarations().reduce((A, C) => {
93540
93540
  const N = v == null ? void 0 : v.results.find(
93541
- (x) => x.valueOwner.id === C.id
93541
+ (M) => M.valueOwner.id === C.id
93542
93542
  );
93543
93543
  return N ? [...A, N] : A;
93544
93544
  }, []);
@@ -93602,7 +93602,7 @@ class Gn extends pp {
93602
93602
  return o;
93603
93603
  }
93604
93604
  async executeEntity(i, a = [], o = {}) {
93605
- var y, v, E, w, A, C, N, x, G, K, S, re, J, oe, Y, ue, z;
93605
+ var y, v, E, w, A, C, N, M, G, K, S, re, J, oe, Y, ue, z;
93606
93606
  const p = {
93607
93607
  ...qa,
93608
93608
  ...o
@@ -93728,7 +93728,7 @@ class Gn extends pp {
93728
93728
  ce,
93729
93729
  H == null ? void 0 : H.value
93730
93730
  );
93731
- const de = [], ve = (N = H == null ? void 0 : H.value) != null && N.value && vr((x = H.value) == null ? void 0 : x.value) ? ((G = H.value) == null ? void 0 : G.value) || {} : {};
93731
+ const de = [], ve = (N = H == null ? void 0 : H.value) != null && N.value && vr((M = H.value) == null ? void 0 : M.value) ? ((G = H.value) == null ? void 0 : G.value) || {} : {};
93732
93732
  return i.outputs.map((Me) => {
93733
93733
  const $e = xr(
93734
93734
  W(Me, this.project)
@@ -93926,10 +93926,10 @@ class Gn extends pp {
93926
93926
  w.map(
93927
93927
  (G) => this.schedule(G, v.results, p)
93928
93928
  )
93929
- )).filter((G) => !!G), x = N.filter((G) => !!G).find(
93929
+ )).filter((G) => !!G), M = N.filter((G) => !!G).find(
93930
93930
  (G) => G.value === ae.Error || G.value === ae.Return || G.value === ae.Break || G.value === ae.Continue
93931
93931
  );
93932
- return x || (C = [...C, ...N], v);
93932
+ return M || (C = [...C, ...N], v);
93933
93933
  } else if (v.value === ae.Error) {
93934
93934
  const w = (i.errorCalls || []).filter((G) => this.hasEntity(G));
93935
93935
  (i.successCalls || i.calls || []).forEach((G) => {
@@ -93940,10 +93940,10 @@ class Gn extends pp {
93940
93940
  w.map(
93941
93941
  (G) => this.schedule(G, v.results, p)
93942
93942
  )
93943
- )).filter((G) => !!G), x = N.filter((G) => !!G).find(
93943
+ )).filter((G) => !!G), M = N.filter((G) => !!G).find(
93944
93944
  (G) => G.value === ae.Error || G.value === ae.Return || G.value === ae.Break || G.value === ae.Continue
93945
93945
  );
93946
- return x || (C = [...C, ...N], v);
93946
+ return M || (C = [...C, ...N], v);
93947
93947
  } else {
93948
93948
  if (v.value === ae.Return)
93949
93949
  return v;
@@ -93998,7 +93998,7 @@ class Gn extends pp {
93998
93998
  return this.entities.includes(
93999
93999
  i.parent
94000
94000
  );
94001
- const a = dr(
94001
+ const a = fr(
94002
94002
  i
94003
94003
  );
94004
94004
  if (!a)
@@ -94333,7 +94333,7 @@ function Ybt(d) {
94333
94333
  i += w.height;
94334
94334
  }));
94335
94335
  }
94336
- cr.includes(d.type) ? (vt.includes(d.type) ? a.push(
94336
+ ur.includes(d.type) ? (vt.includes(d.type) ? a.push(
94337
94337
  ...(d.usedInputs || []).flatMap((v) => [
94338
94338
  v
94339
94339
  ]) || []
@@ -94351,7 +94351,7 @@ function Ybt(d) {
94351
94351
  const p = [];
94352
94352
  if (d.type === f.FunctionDeclaration || d.type === f.GlobalEvent ? p.push(
94353
94353
  ...d.inputs || []
94354
- ) : cr.includes(d.type) && (vt.includes(d.type) ? p.push(...d.usedOutputs || []) : p.push(...d.outputs || [])), vt.includes(d.type)) {
94354
+ ) : ur.includes(d.type) && (vt.includes(d.type) ? p.push(...d.usedOutputs || []) : p.push(...d.outputs || [])), vt.includes(d.type)) {
94355
94355
  d.readsValue && (i += Za, i += II), d.writesValues.length && (i += Za, i += II), d.internalCalls.length && d.usedInternalCalls.forEach(
94356
94356
  () => i += CT + Za
94357
94357
  );
@@ -95626,7 +95626,7 @@ class vi {
95626
95626
  o.push(E);
95627
95627
  return;
95628
95628
  }
95629
- const w = dr(E);
95629
+ const w = fr(E);
95630
95630
  i.push(w);
95631
95631
  }), Lr.includes(this.entity.type) && a.push(
95632
95632
  ...this.entity.detachedChildren
@@ -95953,7 +95953,7 @@ class vi {
95953
95953
  ))
95954
95954
  ).filter(
95955
95955
  (N) => N.id !== this.entity.id
95956
- ).map((N) => this.findAreaFromEntity(N)).filter((N) => !!N), w = this.getFullAreaUntilAny(E), A = a.getFullAreaUntilAny(E), C = e.reduce((N, x) => x === this || x.fullBranchArea.left !== w.left ? N : Math.max(N, x.fullBranchArea.bottom), A.bottom);
95956
+ ).map((N) => this.findAreaFromEntity(N)).filter((N) => !!N), w = this.getFullAreaUntilAny(E), A = a.getFullAreaUntilAny(E), C = e.reduce((N, M) => M === this || M.fullBranchArea.left !== w.left ? N : Math.max(N, M.fullBranchArea.bottom), A.bottom);
95957
95957
  if (w.top < C) {
95958
95958
  const N = C - w.top + OT;
95959
95959
  return this.shiftDownUntilAny(
@@ -96877,7 +96877,7 @@ ${Mo}`,
96877
96877
  severity: q.Error,
96878
96878
  code: k.InvalidInmutablePropertyOverride
96879
96879
  })
96880
- ) : cr.includes(u.type) && (d.successCalls && i.push(
96880
+ ) : ur.includes(u.type) && (d.successCalls && i.push(
96881
96881
  new ie({
96882
96882
  id: `${u.id}--${k.InvalidInmutablePropertyOverride}`,
96883
96883
  message: `Entity of type "${u.type}" with id "${u.id}" cannot have the property "successCalls" updated.
@@ -97392,7 +97392,7 @@ function it(d, u, i) {
97392
97392
  }
97393
97393
  const sl = `Pass-through callable entities are entities that need to be called by another caller, then they execute some internal logic and when finished, it can call other callable entities with the "calledBySuccess" property or "calledByError" property based on whether their internal execution was successful or an error ocurred respectively.
97394
97394
  All pass-through callable entities are: ${it(
97395
- cr,
97395
+ ur,
97396
97396
  ", ",
97397
97397
  " and "
97398
97398
  )}.`, Fm = `Entry point entities are the entities which start the execution of a logic chain. They are ${it(
@@ -97529,7 +97529,7 @@ Termination entities are ${it(
97529
97529
  )}.${p}`
97530
97530
  })
97531
97531
  );
97532
- } else if (!cr.includes(u.type))
97532
+ } else if (!ur.includes(u.type))
97533
97533
  a.push(
97534
97534
  new ie({
97535
97535
  id: `${d.id}--${u.id}--${k.InvalidReference}`,
@@ -97594,7 +97594,7 @@ Termination entities are ${it(
97594
97594
  )}.${o}`
97595
97595
  })
97596
97596
  );
97597
- } else if (!cr.includes(u.type))
97597
+ } else if (!ur.includes(u.type))
97598
97598
  i.push(
97599
97599
  new ie({
97600
97600
  id: `${d.id}--${u.id}--${k.InvalidReference}`,
@@ -97648,7 +97648,7 @@ Termination entities are ${it(
97648
97648
  )}.${o}`
97649
97649
  })
97650
97650
  );
97651
- } else if (cr.includes(u.type))
97651
+ } else if (ur.includes(u.type))
97652
97652
  i.push(
97653
97653
  new ie({
97654
97654
  id: `${d.id}--${u.id}--${k.InvalidReference}`,
@@ -97803,7 +97803,7 @@ function cwt(d, u) {
97803
97803
  C,
97804
97804
  u
97805
97805
  ) ? (mr.includes(a.type) && ((a.calledBySuccess || []).find(
97806
- (x) => x === A.id
97806
+ (M) => M === A.id
97807
97807
  ) ? (A.successCalls || []).find(
97808
97808
  (K) => mr.includes(K.type)
97809
97809
  ) && i.push(
@@ -97815,7 +97815,7 @@ function cwt(d, u) {
97815
97815
  The new termination statement is redundant because both entities would be called from the same parent caller branch "successCalls", at the same time.`
97816
97816
  })
97817
97817
  ) : (a.calledByError || []).find(
97818
- (x) => x === A.id
97818
+ (M) => M === A.id
97819
97819
  ) ? (A.errorCalls || []).find(
97820
97820
  (K) => mr.includes(K.type)
97821
97821
  ) && i.push(
@@ -97827,7 +97827,7 @@ The new termination statement is redundant because both entities would be called
97827
97827
  The new termination statement is redundant because both entities would be called from the same parent caller branch "errorCalls", at the same time.`
97828
97828
  })
97829
97829
  ) : (a.calledByEntry || []).find(
97830
- (x) => x === A.id
97830
+ (M) => M === A.id
97831
97831
  ) && (A.calls || []).find(
97832
97832
  (K) => mr.includes(K.type)
97833
97833
  ) && i.push(
@@ -97862,7 +97862,7 @@ The new termination statement is redundant because both entities would be called
97862
97862
  u
97863
97863
  );
97864
97864
  N ? (mr.includes(a.type) && ((a.calledBySuccess || []).find(
97865
- (x) => x === A.id
97865
+ (M) => M === A.id
97866
97866
  ) ? (A.successCalls || []).find(
97867
97867
  (K) => mr.includes(K.type)
97868
97868
  ) && i.push(
@@ -97874,7 +97874,7 @@ The new termination statement is redundant because both entities would be called
97874
97874
  The new termination statement is redundant because both entities would be called from the same parent caller branch "successCalls", at the same time.`
97875
97875
  })
97876
97876
  ) : (a.calledByError || []).find(
97877
- (x) => x === A.id
97877
+ (M) => M === A.id
97878
97878
  ) ? (A.errorCalls || []).find(
97879
97879
  (K) => mr.includes(K.type)
97880
97880
  ) && i.push(
@@ -97886,7 +97886,7 @@ The new termination statement is redundant because both entities would be called
97886
97886
  The new termination statement is redundant because both entities would be called from the same parent caller branch "errorCalls", at the same time.`
97887
97887
  })
97888
97888
  ) : (a.calledByEntry || []).find(
97889
- (x) => x === A.id
97889
+ (M) => M === A.id
97890
97890
  ) && (A.calls || []).find(
97891
97891
  (K) => mr.includes(K.type)
97892
97892
  ) && i.push(
@@ -98181,12 +98181,12 @@ ${f$}`
98181
98181
  if (E.list)
98182
98182
  if (Array.isArray(C))
98183
98183
  for (const N of C) {
98184
- const x = u$(
98184
+ const M = u$(
98185
98185
  e,
98186
98186
  { key: v, types: w, optional: A },
98187
98187
  i
98188
98188
  );
98189
- o.push(...x);
98189
+ o.push(...M);
98190
98190
  }
98191
98191
  else {
98192
98192
  o.push(
@@ -98237,7 +98237,7 @@ function bgt(d, u, i = "calledBy") {
98237
98237
  message: `Entity with id "${d}" referenced in '${i}' property not found in the project. Perhaps it should be created first? Perhaps it is the wrong ID?`
98238
98238
  })
98239
98239
  ), a;
98240
- if ([...cr, ...gt].includes(o.type))
98240
+ if ([...ur, ...gt].includes(o.type))
98241
98241
  return [];
98242
98242
  if (mr.includes(o.type)) {
98243
98243
  const p = o.calledBy || [], e = p.length ? `
@@ -98293,7 +98293,7 @@ function wgt(d, u, i = "calledByError") {
98293
98293
  message: `Entity with id "${d}" referenced in '${i}' property not found in the project. Perhaps it should be created first? Perhaps it is the wrong ID?`
98294
98294
  })
98295
98295
  ), a;
98296
- if (cr.includes(o.type))
98296
+ if (ur.includes(o.type))
98297
98297
  return [];
98298
98298
  if (mr.includes(o.type)) {
98299
98299
  const p = o.calledBy || [], e = p.length ? `
@@ -100337,18 +100337,18 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
100337
100337
  "clone-entity"
100338
100338
  )
100339
100339
  ), a = null, o = null, p = !0) {
100340
- var x, G;
100340
+ var M, G;
100341
100341
  let e = Fr(a, this);
100342
100342
  const y = this.toJSON(), v = o || P.UUID.uuid();
100343
100343
  y.inputs = [];
100344
100344
  const E = v.split("-id"), w = E[E.length - 1 || 0] || v;
100345
100345
  y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
100346
- const A = ur(
100346
+ const A = dr(
100347
100347
  y,
100348
100348
  e
100349
100349
  );
100350
100350
  a ? A.setParent(a, null) : A.setParent(this.parent, null), p && A.subscribe(), A.initChildren(i), i == null || i.add(A, F.Added);
100351
- const C = (x = this.inputs) == null ? void 0 : x.map(
100351
+ const C = (M = this.inputs) == null ? void 0 : M.map(
100352
100352
  (K, S) => K.clone(
100353
100353
  i,
100354
100354
  A,
@@ -100480,8 +100480,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
100480
100480
  )
100481
100481
  );
100482
100482
  this.inputs.sort((A, C) => A.index - C.index), y.forEach((A) => {
100483
- this.inputs.forEach((x) => {
100484
- x.index >= A.index && x.metaSync({ index: x.index + 1 }, i);
100483
+ this.inputs.forEach((M) => {
100484
+ M.index >= A.index && M.metaSync({ index: M.index + 1 }, i);
100485
100485
  });
100486
100486
  const C = {
100487
100487
  id: P.UUID.uuid(),
@@ -100544,17 +100544,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
100544
100544
  );
100545
100545
  return G ? [...C, G] : C;
100546
100546
  }
100547
- const x = se(
100547
+ const M = se(
100548
100548
  N,
100549
100549
  this.project
100550
100550
  );
100551
- return y.push(x.index), x.setParent(this, null), x.initChildren(i), [...C, x];
100551
+ return y.push(M.index), M.setParent(this, null), M.initChildren(i), [...C, M];
100552
100552
  }, []);
100553
100553
  const v = this.declaration.getUniqueReturnDeclarations().filter(
100554
100554
  (C) => !this.outputs.find(
100555
100555
  (N) => {
100556
- var x;
100557
- return ((x = N.declaration) == null ? void 0 : x.id) === C.id;
100556
+ var M;
100557
+ return ((M = N.declaration) == null ? void 0 : M.id) === C.id;
100558
100558
  }
100559
100559
  )
100560
100560
  );
@@ -100562,7 +100562,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
100562
100562
  this.outputs.forEach((S) => {
100563
100563
  S.index >= C.index && S.index++;
100564
100564
  });
100565
- const x = y.includes(C.index) ? this.outputs.length - 1 + N : C.index, G = {
100565
+ const M = y.includes(C.index) ? this.outputs.length - 1 + N : C.index, G = {
100566
100566
  id: P.UUID.uuid(),
100567
100567
  version: P.UUID.uuid(),
100568
100568
  createdAt: (i == null ? void 0 : i.timestamp) || V().toISOString(),
@@ -100573,7 +100573,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
100573
100573
  declaration: C.toJSON(),
100574
100574
  defaultValue: null,
100575
100575
  writesValues: [],
100576
- index: x,
100576
+ index: M,
100577
100577
  parent: this.toReference()
100578
100578
  }, K = se(
100579
100579
  G,
@@ -100917,12 +100917,12 @@ function Ewt(d, u) {
100917
100917
  case fe["built-in-base-entity"].BUILT_IN_PERSISTED_ENTITY_ENTITY.id: {
100918
100918
  const E = d.project.entities.filter(
100919
100919
  (N) => N.implements.find(
100920
- (x) => x.id === fe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.id
100920
+ (M) => M.id === fe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.id
100921
100921
  )
100922
100922
  );
100923
- let w = E.find((N) => !!N.properties.find((x) => {
100923
+ let w = E.find((N) => !!N.properties.find((M) => {
100924
100924
  var G;
100925
- return x.implements && x.implements.id === fe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id && ((G = x.getDefaultValue()) == null ? void 0 : G.value) === !0;
100925
+ return M.implements && M.implements.id === fe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id && ((G = M.getDefaultValue()) == null ? void 0 : G.value) === !0;
100926
100926
  }));
100927
100927
  if (!w && E.length)
100928
100928
  w = E[0];
@@ -100933,13 +100933,13 @@ function Ewt(d, u) {
100933
100933
  "Relational database",
100934
100934
  u
100935
100935
  );
100936
- const x = w.properties.find(
100936
+ const M = w.properties.find(
100937
100937
  (G) => {
100938
100938
  var K;
100939
100939
  return ((K = G.implements) == null ? void 0 : K.id) === fe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id;
100940
100940
  }
100941
100941
  );
100942
- (v = x == null ? void 0 : x.defaultValue) == null || v.metaSync(
100942
+ (v = M == null ? void 0 : M.defaultValue) == null || v.metaSync(
100943
100943
  {
100944
100944
  value: !0
100945
100945
  },
@@ -100963,11 +100963,11 @@ function Ewt(d, u) {
100963
100963
  valueAsTypeSingle: (w == null ? void 0 : w.toJSON()) || null,
100964
100964
  valueAsTypeList: null,
100965
100965
  parent: A == null ? void 0 : A.toReference()
100966
- }, x = se(
100966
+ }, M = se(
100967
100967
  N,
100968
100968
  d.project
100969
100969
  );
100970
- x.hydrateAncestors(), x.setParent(A, u), x.addSelfToProject(u), x.initChildren(u), u == null || u.add(x, F.Added), a.push(x);
100970
+ M.hydrateAncestors(), M.setParent(A, u), M.addSelfToProject(u), M.initChildren(u), u == null || u.add(M, F.Added), a.push(M);
100971
100971
  return;
100972
100972
  } else
100973
100973
  C && !C.valueAsTypeSingle && C.setValueAsTypeSingle(w || null, u);
@@ -101059,7 +101059,7 @@ function Twt(d, u, i, a = Ti.OrDataTypeGroup) {
101059
101059
  };
101060
101060
  }
101061
101061
  function bB(d, u, i, a, o) {
101062
- var E, w, A, C, N, x, G, K;
101062
+ var E, w, A, C, N, M, G, K;
101063
101063
  const p = [], e = [], y = [], v = [];
101064
101064
  switch (typeof d) {
101065
101065
  case "string":
@@ -101321,7 +101321,7 @@ function bB(d, u, i, a, o) {
101321
101321
  a,
101322
101322
  o
101323
101323
  );
101324
- u.setEntity((N = J.changeSet) == null ? void 0 : N.self, a), p.push(...(x = J.changeSet) == null ? void 0 : x.updated), e.push(...(G = J.changeSet) == null ? void 0 : G.added), y.push(...(K = J.changeSet) == null ? void 0 : K.removed);
101324
+ u.setEntity((N = J.changeSet) == null ? void 0 : N.self, a), p.push(...(M = J.changeSet) == null ? void 0 : M.updated), e.push(...(G = J.changeSet) == null ? void 0 : G.added), y.push(...(K = J.changeSet) == null ? void 0 : K.removed);
101325
101325
  break;
101326
101326
  }
101327
101327
  }
@@ -101367,11 +101367,11 @@ function MT(d, u, i, a, o) {
101367
101367
  x: 0,
101368
101368
  y: 0,
101369
101369
  parent: u.toReference()
101370
- }, x = se(
101370
+ }, M = se(
101371
101371
  N,
101372
101372
  u
101373
101373
  );
101374
- return x.setParent(u, a), x.initChildren(a), a == null || a.add(x, F.Added), x.addSelfToProject(a), e.push(x), E.forEach((G, K) => {
101374
+ return M.setParent(u, a), M.initChildren(a), a == null || a.add(M, F.Added), M.addSelfToProject(a), e.push(M), E.forEach((G, K) => {
101375
101375
  const re = {
101376
101376
  id: P.UUID.uuid(),
101377
101377
  version: P.UUID.uuid(),
@@ -101395,12 +101395,12 @@ function MT(d, u, i, a, o) {
101395
101395
  hidden: !1,
101396
101396
  private: !1,
101397
101397
  required: !0,
101398
- parent: x.toReference()
101398
+ parent: M.toReference()
101399
101399
  }, J = se(
101400
101400
  re,
101401
101401
  u
101402
101402
  );
101403
- J.setParent(x, a), J.initChildren(a), a == null || a.add(J, F.Added), J.addSelfToProject(a), e.push(J);
101403
+ J.setParent(M, a), J.initChildren(a), a == null || a.add(J, F.Added), J.addSelfToProject(a), e.push(J);
101404
101404
  const oe = d[G], ue = {
101405
101405
  id: P.UUID.uuid(),
101406
101406
  version: P.UUID.uuid(),
@@ -101438,7 +101438,7 @@ function MT(d, u, i, a, o) {
101438
101438
  id: P.UUID.uuid()
101439
101439
  },
101440
101440
  a,
101441
- o || x
101441
+ o || M
101442
101442
  );
101443
101443
  p.push(...H.updated), e.push(...H.added), y.push(...H.removed);
101444
101444
  }), {
@@ -101450,7 +101450,7 @@ function MT(d, u, i, a, o) {
101450
101450
  affected: _(
101451
101451
  v
101452
101452
  ),
101453
- self: x
101453
+ self: M
101454
101454
  }
101455
101455
  };
101456
101456
  }
@@ -101726,7 +101726,7 @@ function Mgt(d, u) {
101726
101726
  if (gt.includes(d.type)) {
101727
101727
  if (d.calls.includes(u))
101728
101728
  return d.type === f.Loop ? "loop-body" : "entry";
101729
- } else if (cr.includes(d.type) && d.type !== f.InternalCall) {
101729
+ } else if (ur.includes(d.type) && d.type !== f.InternalCall) {
101730
101730
  if (d.successCalls.includes(u))
101731
101731
  return "success";
101732
101732
  if (d.errorCalls.includes(u))
@@ -101788,7 +101788,7 @@ function wwt(d, u) {
101788
101788
  ancestor: a,
101789
101789
  callType: "entry"
101790
101790
  };
101791
- } else if (cr.includes(a.type)) {
101791
+ } else if (ur.includes(a.type)) {
101792
101792
  if (a.successCalls.includes(
101793
101793
  i
101794
101794
  ))
@@ -101822,7 +101822,7 @@ function wwt(d, u) {
101822
101822
  ancestor: C.callee,
101823
101823
  callType: "entry"
101824
101824
  };
101825
- if (cr.includes(C.callee.type)) {
101825
+ if (ur.includes(C.callee.type)) {
101826
101826
  if (C.callType === "success" && C.callee.type === f.InternalCall)
101827
101827
  return {
101828
101828
  ancestor: C.callee,
@@ -101842,8 +101842,8 @@ function wwt(d, u) {
101842
101842
  (C) => {
101843
101843
  const N = mt(
101844
101844
  C.callee
101845
- ), x = y.filter((K) => K.callee !== C.callee).map((K) => K.callee);
101846
- return !N.some((K) => !!x.find((re) => re === K));
101845
+ ), M = y.filter((K) => K.callee !== C.callee).map((K) => K.callee);
101846
+ return !N.some((K) => !!M.find((re) => re === K));
101847
101847
  }
101848
101848
  );
101849
101849
  if (v.length === 0)
@@ -102319,12 +102319,12 @@ function Ugt(d, u, i = !0) {
102319
102319
  callType: "entry"
102320
102320
  };
102321
102321
  }
102322
- function dr(d) {
102322
+ function fr(d) {
102323
102323
  if (BI.includes(d.type)) {
102324
102324
  if (d.type === f.FunctionDeclaration) {
102325
102325
  const u = d.parent;
102326
102326
  if (u.type === f.DefinitionEntity)
102327
- return dr(u);
102327
+ return fr(u);
102328
102328
  if (u.type === f.Loop)
102329
102329
  return u;
102330
102330
  }
@@ -102332,11 +102332,11 @@ function dr(d) {
102332
102332
  // Some definition-entities are implicitly created by the system
102333
102333
  // To represent dynamically inferred data-types, in which case,
102334
102334
  // they are not canvas entities, but we can still find their parent canvas entity as usual
102335
- d.type === f.DefinitionEntity && d.parent.type === f.DataType || d.type === f.Condition && d.parent.type === f.Condition ? dr(d.parent) : d
102335
+ d.type === f.DefinitionEntity && d.parent.type === f.DataType || d.type === f.Condition && d.parent.type === f.Condition ? fr(d.parent) : d
102336
102336
  );
102337
102337
  } else {
102338
102338
  const u = d.parent;
102339
- return u ? dr(u) : null;
102339
+ return u ? fr(u) : null;
102340
102340
  }
102341
102341
  }
102342
102342
  function rp(d, u) {
@@ -102401,7 +102401,7 @@ function xy(d) {
102401
102401
  };
102402
102402
  });
102403
102403
  }
102404
- if (cr.includes(d.type)) {
102404
+ if (ur.includes(d.type)) {
102405
102405
  const u = [
102406
102406
  ...Li(d.successCalls).map(
102407
102407
  (o) => ({
@@ -102463,7 +102463,7 @@ function DI(d) {
102463
102463
  function Dwt(d) {
102464
102464
  if (!d)
102465
102465
  return null;
102466
- if (cr.includes(d.type))
102466
+ if (ur.includes(d.type))
102467
102467
  return d;
102468
102468
  const u = d.parent;
102469
102469
  return u ? Dwt(u) : null;
@@ -102477,7 +102477,7 @@ function Cwt(d) {
102477
102477
  return u ? Cwt(u) : null;
102478
102478
  }
102479
102479
  function jgt(d) {
102480
- return d.type === f.VariableDeclaration ? [d] : cr.includes(d.type) ? [
102480
+ return d.type === f.VariableDeclaration ? [d] : ur.includes(d.type) ? [
102481
102481
  ...d.inputs,
102482
102482
  ...d.outputs || []
102483
102483
  ] : mr.includes(d.type) ? d.outputs : jd.includes(d.type) || d.type === f.FunctionDeclaration ? d.inputs : [];
@@ -102507,12 +102507,12 @@ function Fgt(d) {
102507
102507
  }
102508
102508
  function Ya(d) {
102509
102509
  const u = d.map(
102510
- (i) => dr(i)
102510
+ (i) => fr(i)
102511
102511
  );
102512
102512
  return _(u);
102513
102513
  }
102514
102514
  function nw(d) {
102515
- return cr.includes(d.type) ? [
102515
+ return ur.includes(d.type) ? [
102516
102516
  ...Ya(
102517
102517
  d.successCalls
102518
102518
  ),
@@ -102564,7 +102564,7 @@ function mt(d) {
102564
102564
  ...Li(d.successCalls),
102565
102565
  ...Li(d.errorCalls),
102566
102566
  ...d.body ? mt(d.body) : []
102567
- ]) : cr.includes(d.type) ? _([
102567
+ ]) : ur.includes(d.type) ? _([
102568
102568
  ...Li(d.successCalls),
102569
102569
  ...Li(d.errorCalls)
102570
102570
  ]) : gt.includes(d.type) ? _(
@@ -102572,7 +102572,7 @@ function mt(d) {
102572
102572
  ) : [];
102573
102573
  }
102574
102574
  function qgt(d) {
102575
- return cr.includes(d.type) ? [
102575
+ return ur.includes(d.type) ? [
102576
102576
  ...Li(d.successCalls),
102577
102577
  ...Li(d.errorCalls)
102578
102578
  ] : gt.includes(d.type) ? Li(d.calls) : [];
@@ -102599,7 +102599,7 @@ function yr(d, u = /* @__PURE__ */ new Set()) {
102599
102599
  return [
102600
102600
  ...mt(d).reduce(
102601
102601
  (p, e) => {
102602
- const y = dr(e);
102602
+ const y = fr(e);
102603
102603
  return [
102604
102604
  ...p,
102605
102605
  ...yr(
@@ -102618,7 +102618,7 @@ function yr(d, u = /* @__PURE__ */ new Set()) {
102618
102618
  d.inputs
102619
102619
  ), o = mt(d).reduce(
102620
102620
  (p, e) => {
102621
- const y = dr(e);
102621
+ const y = fr(e);
102622
102622
  return [
102623
102623
  ...p,
102624
102624
  ...yr(
@@ -102640,7 +102640,7 @@ function yr(d, u = /* @__PURE__ */ new Set()) {
102640
102640
  d
102641
102641
  ).reduce(
102642
102642
  (p, e) => {
102643
- const y = dr(e);
102643
+ const y = fr(e);
102644
102644
  return [
102645
102645
  ...p,
102646
102646
  ...yr(
@@ -102657,7 +102657,7 @@ function yr(d, u = /* @__PURE__ */ new Set()) {
102657
102657
  u.add(d.id);
102658
102658
  const a = mt(d).reduce(
102659
102659
  (o, p) => {
102660
- const e = dr(p);
102660
+ const e = fr(p);
102661
102661
  return [
102662
102662
  ...o,
102663
102663
  ...yr(
@@ -102744,7 +102744,7 @@ function jwt(d, u) {
102744
102744
  case f.Operation:
102745
102745
  return a.outputs.find((o) => o.id === d.id) !== void 0;
102746
102746
  case f.VariableDeclaration:
102747
- return cr.includes(d.type) ? h1t(
102747
+ return ur.includes(d.type) ? h1t(
102748
102748
  d
102749
102749
  ).find((p) => {
102750
102750
  var e;
@@ -102785,7 +102785,7 @@ function ip(d, u = {}, i = {}) {
102785
102785
  upstream: {},
102786
102786
  downstream: {}
102787
102787
  };
102788
- const o = d, p = d, e = d, y = d, v = d, E = d, w = d, A = d, C = d, N = d, x = d, G = d, K = d, S = [
102788
+ const o = d, p = d, e = d, y = d, v = d, E = d, w = d, A = d, C = d, N = d, M = d, G = d, K = d, S = [
102789
102789
  ...K.readsValue ? [K.readsValue] : [],
102790
102790
  ...K.declaration ? [K.declaration] : [],
102791
102791
  ...(G.calledByEntry || []).flatMap((Y) => Y),
@@ -102821,9 +102821,9 @@ function ip(d, u = {}, i = {}) {
102821
102821
  });
102822
102822
  const re = [
102823
102823
  ...(o.inputs || []).flatMap((Y) => Y),
102824
- ...(x.inputsDeclarations || []).flatMap((Y) => Y),
102824
+ ...(M.inputsDeclarations || []).flatMap((Y) => Y),
102825
102825
  ...(o.outputs || []).flatMap((Y) => Y),
102826
- ...(x.outputsDeclarations || []).flatMap((Y) => Y),
102826
+ ...(M.outputsDeclarations || []).flatMap((Y) => Y),
102827
102827
  ...(K.internalCalls || []).flatMap(
102828
102828
  (Y) => Y
102829
102829
  ),
@@ -102937,7 +102937,7 @@ function gl(d) {
102937
102937
  const u = [];
102938
102938
  if (Hi.includes(d.type)) {
102939
102939
  d.calledBy.forEach((o) => {
102940
- const p = dr(o);
102940
+ const p = fr(o);
102941
102941
  p && u.push(p);
102942
102942
  });
102943
102943
  const a = [
@@ -103523,7 +103523,7 @@ function Wgt(d, u) {
103523
103523
  return u.type === f.Condition ? u.inputs.find((i) => i.declaration.id === d.id) : u.type === f.FunctionCall || u.type === f.Operation ? u.inputs.find((i) => i.declaration.id === d.id) : null;
103524
103524
  }
103525
103525
  function h1t(d) {
103526
- return cr.includes(d.type) ? d.inputs : [];
103526
+ return ur.includes(d.type) ? d.inputs : [];
103527
103527
  }
103528
103528
  function y1t(d) {
103529
103529
  var u;
@@ -103538,11 +103538,11 @@ function Hgt(d, u) {
103538
103538
  }) || null;
103539
103539
  }
103540
103540
  function zgt(d) {
103541
- return d.type === f.Condition ? [] : cr.includes(d.type) ? d.outputs : [];
103541
+ return d.type === f.Condition ? [] : ur.includes(d.type) ? d.outputs : [];
103542
103542
  }
103543
103543
  function OI(d) {
103544
103544
  const u = d.readsValue;
103545
- return u ? dr(u) : null;
103545
+ return u ? fr(u) : null;
103546
103546
  }
103547
103547
  function m1t(d, u) {
103548
103548
  const i = d.readsValue;
@@ -103572,7 +103572,7 @@ function qc(d) {
103572
103572
  if (vt.includes(a.type))
103573
103573
  i.push(a);
103574
103574
  else if (Kn.includes(a.type)) {
103575
- const o = dr(
103575
+ const o = fr(
103576
103576
  a.parent
103577
103577
  );
103578
103578
  i.push(o);
@@ -103623,7 +103623,7 @@ function Jn(d, u = !1) {
103623
103623
  i.push(...a);
103624
103624
  }
103625
103625
  if (d.type === f.Condition) {
103626
- const a = d.successCalls.map((p) => dr(p)), o = d.errorCalls.map((p) => dr(p));
103626
+ const a = d.successCalls.map((p) => fr(p)), o = d.errorCalls.map((p) => fr(p));
103627
103627
  i.push(
103628
103628
  ...a,
103629
103629
  ...o
@@ -103633,7 +103633,7 @@ function Jn(d, u = !1) {
103633
103633
  if (d.collapsed && u)
103634
103634
  return [];
103635
103635
  const a = d.inputs.map((p) => qc(p)).flat(), o = d.calls.map(
103636
- (p) => dr(p)
103636
+ (p) => fr(p)
103637
103637
  );
103638
103638
  i.push(
103639
103639
  ..._(
@@ -103642,11 +103642,11 @@ function Jn(d, u = !1) {
103642
103642
  ...o
103643
103643
  );
103644
103644
  }
103645
- if (cr.includes(d.type) && d.type !== f.Condition && d.type !== f.Loop) {
103645
+ if (ur.includes(d.type) && d.type !== f.Condition && d.type !== f.Loop) {
103646
103646
  const a = d == null ? void 0 : d.outputs.map((e) => qc(e)).flat(), o = d.successCalls.map(
103647
- (e) => dr(e)
103647
+ (e) => fr(e)
103648
103648
  ), p = d.errorCalls.map(
103649
- (e) => dr(e)
103649
+ (e) => fr(e)
103650
103650
  );
103651
103651
  i.push(
103652
103652
  ..._(
@@ -103675,8 +103675,8 @@ function Jn(d, u = !1) {
103675
103675
  i.push(...e);
103676
103676
  }
103677
103677
  const o = d.errorCalls.map(
103678
- (e) => dr(e)
103679
- ), p = d.successCalls.map((e) => dr(e));
103678
+ (e) => fr(e)
103679
+ ), p = d.successCalls.map((e) => fr(e));
103680
103680
  i.push(
103681
103681
  ..._(
103682
103682
  a
@@ -103688,7 +103688,7 @@ function Jn(d, u = !1) {
103688
103688
  if (d.type === f.FunctionDeclaration) {
103689
103689
  if (d.collapsed && u)
103690
103690
  return [];
103691
- const a = d.inputs.map((p) => qc(p)).flat(), o = d.calls.map((p) => dr(p));
103691
+ const a = d.inputs.map((p) => qc(p)).flat(), o = d.calls.map((p) => fr(p));
103692
103692
  i.push(
103693
103693
  ..._(
103694
103694
  a
@@ -103737,7 +103737,7 @@ function $I(d, u = !1) {
103737
103737
  ...o
103738
103738
  );
103739
103739
  }
103740
- if (cr.includes(d.type) && d.type !== f.Condition && d.type !== f.Loop) {
103740
+ if (ur.includes(d.type) && d.type !== f.Condition && d.type !== f.Loop) {
103741
103741
  const a = d == null ? void 0 : d.outputs.map((e) => Zc(e)).flat(), o = d.successCalls, p = d.errorCalls;
103742
103742
  i.push(
103743
103743
  ..._(
@@ -104247,77 +104247,72 @@ function ol(d) {
104247
104247
  return !u || u.type === f.Project ? null : ol(u);
104248
104248
  }
104249
104249
  function hy(d) {
104250
- var p, e, y;
104251
104250
  const u = [];
104252
- function i(v, E) {
104253
- return u.some((w) => w.blockedByCaller === v && w.blockedByCalling === E);
104251
+ function i(p, e) {
104252
+ return u.some((y) => y.blockedByCaller === p && y.blockedByCalling === e);
104254
104253
  }
104255
- function a(v, E) {
104256
- i(v, E) || u.push({
104257
- blockedByCaller: v,
104258
- blockedByCalling: E
104254
+ function a(p, e) {
104255
+ i(p, e) || u.push({
104256
+ blockedByCaller: p,
104257
+ blockedByCalling: e
104259
104258
  });
104260
104259
  }
104261
104260
  const o = hf(
104262
104261
  d,
104263
104262
  d.project
104264
104263
  );
104265
- if (!o && ((p = dr(d)) == null ? void 0 : p.parent) !== d.project)
104266
- throw new Error(
104267
- `Could not find entry point for entity: ${d.id}, parent: ${(y = (e = dr(d)) == null ? void 0 : e.parent) == null ? void 0 : y.id}`
104268
- );
104269
- return o ? (d.calledBySuccess.forEach((v) => {
104264
+ return o ? (d.calledBySuccess.forEach((p) => {
104270
104265
  [
104271
- ...v.successCalls || []
104272
- ].forEach((A) => {
104273
- mr.includes(A.type) && A !== d && (mt(
104266
+ ...p.successCalls || []
104267
+ ].forEach((v) => {
104268
+ mr.includes(v.type) && v !== d && (mt(
104274
104269
  d
104275
- ).find((x) => x === A) || a(v, A));
104270
+ ).find((A) => A === v) || a(p, v));
104276
104271
  });
104277
- let w;
104278
- if (cr.includes(v.type) && (w = v), w) {
104279
- const A = hy(w);
104280
- A.reachable || mt(
104272
+ let y;
104273
+ if (ur.includes(p.type) && (y = p), y) {
104274
+ const v = hy(y);
104275
+ v.reachable || mt(
104281
104276
  d
104282
- ).find((x) => x === v) || A.blocks.forEach((x) => {
104283
- a(v, x.blockedByCalling);
104277
+ ).find((A) => A === p) || v.blocks.forEach((A) => {
104278
+ a(p, A.blockedByCalling);
104284
104279
  });
104285
104280
  }
104286
- }), d.calledByError.forEach((v) => {
104281
+ }), d.calledByError.forEach((p) => {
104287
104282
  [
104288
- ...v.errorCalls || []
104289
- ].forEach((A) => {
104290
- mr.includes(A.type) && A !== d && (mt(
104283
+ ...p.errorCalls || []
104284
+ ].forEach((v) => {
104285
+ mr.includes(v.type) && v !== d && (mt(
104291
104286
  d
104292
- ).find((x) => x === A) || a(v, A));
104287
+ ).find((A) => A === v) || a(p, v));
104293
104288
  });
104294
- let w;
104295
- if (cr.includes(v.type) && (w = v), w) {
104296
- const A = hy(w);
104297
- A.reachable || mt(
104289
+ let y;
104290
+ if (ur.includes(p.type) && (y = p), y) {
104291
+ const v = hy(y);
104292
+ v.reachable || mt(
104298
104293
  d
104299
- ).find((x) => x === v) || A.blocks.forEach((x) => {
104300
- a(v, x.blockedByCalling);
104294
+ ).find((A) => A === p) || v.blocks.forEach((A) => {
104295
+ a(p, A.blockedByCalling);
104301
104296
  });
104302
104297
  }
104303
- }), d.calledByEntry.forEach((v) => {
104304
- if ([...v.calls || []].forEach((A) => {
104305
- mr.includes(A.type) && A !== d && (mt(
104298
+ }), d.calledByEntry.forEach((p) => {
104299
+ if ([...p.calls || []].forEach((v) => {
104300
+ mr.includes(v.type) && v !== d && (mt(
104306
104301
  d
104307
- ).find((x) => x === A) || a(v, A));
104308
- }), v === o)
104302
+ ).find((A) => A === v) || a(p, v));
104303
+ }), p === o)
104309
104304
  return;
104310
- let w;
104311
- if (v.type === f.FunctionDeclaration) {
104312
- const A = dr(v);
104313
- if (A.type === f.DefinitionEntity)
104305
+ let y;
104306
+ if (p.type === f.FunctionDeclaration) {
104307
+ const v = fr(p);
104308
+ if (v.type === f.DefinitionEntity)
104314
104309
  return;
104315
- A.type === f.Loop && (w = A);
104310
+ v.type === f.Loop && (y = v);
104316
104311
  }
104317
- if (w) {
104318
- const A = hy(w);
104319
- A.reachable || A.blocks.forEach((C) => {
104320
- a(v, C.blockedByCalling);
104312
+ if (y) {
104313
+ const v = hy(y);
104314
+ v.reachable || v.blocks.forEach((E) => {
104315
+ a(p, E.blockedByCalling);
104321
104316
  });
104322
104317
  }
104323
104318
  }), {
@@ -104541,7 +104536,7 @@ function uDt(d) {
104541
104536
  ...d.listUpdated,
104542
104537
  ...d.listAffected
104543
104538
  ].forEach((a) => {
104544
- const o = dr(a);
104539
+ const o = fr(a);
104545
104540
  !o || i.has(o.id) || (i.add(o.id), u.push(o));
104546
104541
  }), _(u);
104547
104542
  }
@@ -104602,7 +104597,7 @@ function Jm(d) {
104602
104597
  } else
104603
104598
  return !1;
104604
104599
  if (d.declaration.private) {
104605
- const u = dr(d), i = hf(
104600
+ const u = fr(d), i = hf(
104606
104601
  u,
104607
104602
  d.project
104608
104603
  );
@@ -104621,7 +104616,7 @@ function E$(d) {
104621
104616
  } else
104622
104617
  return !1;
104623
104618
  if (d.private) {
104624
- const u = dr(d), i = hf(
104619
+ const u = fr(d), i = hf(
104625
104620
  u,
104626
104621
  d.project
104627
104622
  );
@@ -104925,7 +104920,7 @@ function x1t(d) {
104925
104920
  return "Run in sequence";
104926
104921
  case Ai.HttpRequest:
104927
104922
  return "HTTP request";
104928
- case fr.CreateNewInstance:
104923
+ case pr.CreateNewInstance:
104929
104924
  return "Create new copy of entity";
104930
104925
  case Se.AddIndex:
104931
104926
  return "Add item at index position";
@@ -106182,9 +106177,9 @@ ${_I}`
106182
106177
  updated: A,
106183
106178
  added: C,
106184
106179
  removed: N,
106185
- affected: x
106180
+ affected: M
106186
106181
  } = A$(this, i);
106187
- return a.push(...A), o.push(...C), p.push(...N), e.push(...x), this.captureVersion(), i == null || i.attemptAutoclose("after-all-children-initialized", this.id), {
106182
+ return a.push(...A), o.push(...C), p.push(...N), e.push(...M), this.captureVersion(), i == null || i.attemptAutoclose("after-all-children-initialized", this.id), {
106188
106183
  updated: _(a),
106189
106184
  added: _(o),
106190
106185
  removed: _(p),
@@ -106724,7 +106719,7 @@ ${_I}`
106724
106719
  "clone-entity"
106725
106720
  )
106726
106721
  ), a = null, o = null, p = !0) {
106727
- var N, x;
106722
+ var N, M;
106728
106723
  let e = Fr(a, this);
106729
106724
  const y = o || P.UUID.uuid();
106730
106725
  let v = a || this.parent;
@@ -106752,7 +106747,7 @@ ${_I}`
106752
106747
  implements: this.implements,
106753
106748
  extends: this.extends,
106754
106749
  parent: v
106755
- }, w = ur(
106750
+ }, w = dr(
106756
106751
  E,
106757
106752
  e
106758
106753
  );
@@ -106764,7 +106759,7 @@ ${_I}`
106764
106759
  p
106765
106760
  )) || null;
106766
106761
  A && w.setDataType(A, i);
106767
- const C = (x = this.defaultValue) == null ? void 0 : x.clone(
106762
+ const C = (M = this.defaultValue) == null ? void 0 : M.clone(
106768
106763
  i,
106769
106764
  w,
106770
106765
  P.UUID.uuid(),
@@ -107400,10 +107395,10 @@ function q1t(d, u, i = !1) {
107400
107395
  }
107401
107396
  );
107402
107397
  A.length && A.forEach((C) => {
107403
- var N, x, G, K;
107398
+ var N, M, G, K;
107404
107399
  if (C.id !== ((N = d.extends) == null ? void 0 : N.id)) {
107405
107400
  const S = ct({
107406
- id: d.id + "--" + C.id + "--" + ((x = d.extends) == null ? void 0 : x.id) + "--" + ee.ExtendsIncompatibleEntities,
107401
+ id: d.id + "--" + C.id + "--" + ((M = d.extends) == null ? void 0 : M.id) + "--" + ee.ExtendsIncompatibleEntities,
107407
107402
  message: `Entity "${d.name}" with id "${d.id}" is extending built-in entity "${C.name}" with id "${C.id}" but also extends entity "${(G = d.extends) == null ? void 0 : G.name}" with id "${(K = d.extends) == null ? void 0 : K.id}" which is incompatible`,
107408
107403
  severity: q.Error,
107409
107404
  code: ee.ExtendsIncompatibleEntities,
@@ -107446,8 +107441,8 @@ function q1t(d, u, i = !1) {
107446
107441
  }
107447
107442
  )
107448
107443
  ));
107449
- let x = [...d.extends.methods];
107450
- C && (x = x.filter(
107444
+ let M = [...d.extends.methods];
107445
+ C && (M = M.filter(
107451
107446
  (S) => !u.methods.find(
107452
107447
  (re) => {
107453
107448
  var J;
@@ -107464,7 +107459,7 @@ function q1t(d, u, i = !1) {
107464
107459
  a.push(...G.errors);
107465
107460
  const K = Ha(
107466
107461
  u.abstractMethods,
107467
- x,
107462
+ M,
107468
107463
  te.MethodOverwritesOtherExtendedEntitysMethodWithSameImplementation,
107469
107464
  te.MethodOverwritesOtherExtendedEntitysMethodWithSameName
107470
107465
  );
@@ -107477,7 +107472,7 @@ function q1t(d, u, i = !1) {
107477
107472
  );
107478
107473
  C.length && C.forEach((N) => {
107479
107474
  if (N.id !== A.id) {
107480
- const x = new sr({
107475
+ const M = new sr({
107481
107476
  id: d.id + "--" + N.id + "--" + A.id + "--" + ee.ImplementsIncompatibleEntities,
107482
107477
  message: `Entity "${d.name}" with id "${d.id}" is implementing built-in entity "${N.name}" with id "${N.id}" but also implements entity "${A.name}" with id "${A.id}" which is incompatible`,
107483
107478
  severity: q.Error,
@@ -107486,7 +107481,7 @@ function q1t(d, u, i = !1) {
107486
107481
  firstRelationship: N,
107487
107482
  secondRelationship: A
107488
107483
  });
107489
- a.push(x);
107484
+ a.push(M);
107490
107485
  }
107491
107486
  });
107492
107487
  } else {
@@ -107516,13 +107511,13 @@ function q1t(d, u, i = !1) {
107516
107511
  te.PropertyOverwritesOtherImplementedEntitysPropertyWithSameName
107517
107512
  );
107518
107513
  a.push(...N.errors);
107519
- const x = Ha(
107514
+ const M = Ha(
107520
107515
  u.abstractMethods,
107521
107516
  [...A.abstractMethods, ...A.methods],
107522
107517
  te.MethodOverwritesOtherImplementedEntitysMethodWithSameImplementation,
107523
107518
  te.MethodOverwritesOtherImplementedEntitysMethodWithSameName
107524
107519
  );
107525
- a.push(...x.errors);
107520
+ a.push(...M.errors);
107526
107521
  }
107527
107522
  });
107528
107523
  const e = Ha(
@@ -108396,9 +108391,9 @@ Alternatively you can update the parent data-type entity with 'update' action to
108396
108391
  updated: A,
108397
108392
  added: C,
108398
108393
  removed: N,
108399
- affected: x
108394
+ affected: M
108400
108395
  } = this.addExtendedProperties(i);
108401
- a.push(...A), o.push(...C), p.push(...N), e.push(...x);
108396
+ a.push(...A), o.push(...C), p.push(...N), e.push(...M);
108402
108397
  const {
108403
108398
  updated: G,
108404
108399
  added: K,
@@ -108654,8 +108649,8 @@ Alternatively you can update the parent data-type entity with 'update' action to
108654
108649
  ];
108655
108650
  return v.filter((A) => !E.find(
108656
108651
  (N) => {
108657
- var x;
108658
- return ((x = N.implements) == null ? void 0 : x.id) === A.id;
108652
+ var M;
108653
+ return ((M = N.implements) == null ? void 0 : M.id) === A.id;
108659
108654
  }
108660
108655
  )).forEach((A) => {
108661
108656
  if (this.methods.find(
@@ -108690,8 +108685,8 @@ Alternatively you can update the parent data-type entity with 'update' action to
108690
108685
  ), i == null || i.add(this, F.Updated);
108691
108686
  return;
108692
108687
  }
108693
- const x = A.implementAsFunctionDeclaration(i, this);
108694
- o.push(x), i == null || i.add(x, F.Added), this.addMethod(x);
108688
+ const M = A.implementAsFunctionDeclaration(i, this);
108689
+ o.push(M), i == null || i.add(M, F.Added), this.addMethod(M);
108695
108690
  }), i == null || i.attemptAutoclose("sync-implementation-methods", this.id), {
108696
108691
  updated: _(a),
108697
108692
  added: _(o),
@@ -108720,8 +108715,8 @@ Alternatively you can update the parent data-type entity with 'update' action to
108720
108715
  return v.filter(
108721
108716
  (A) => !E.find(
108722
108717
  (N) => {
108723
- var x;
108724
- return ((x = N.implements) == null ? void 0 : x.id) === A.id;
108718
+ var M;
108719
+ return ((M = N.implements) == null ? void 0 : M.id) === A.id;
108725
108720
  }
108726
108721
  )
108727
108722
  ).forEach((A) => {
@@ -108739,12 +108734,12 @@ Alternatively you can update the parent data-type entity with 'update' action to
108739
108734
  N.setImplements(A, i), N.metaSync({ abstract: !1 }, i), N.afterAllChildrenInitialized(i);
108740
108735
  return;
108741
108736
  }
108742
- const x = A.implement(
108737
+ const M = A.implement(
108743
108738
  this,
108744
108739
  i,
108745
108740
  P.UUID.uuid()
108746
108741
  );
108747
- o.push(x), i == null || i.add(x, F.Added);
108742
+ o.push(M), i == null || i.add(M, F.Added);
108748
108743
  }), i == null || i.attemptAutoclose("sync-implementation-properties", this.id), {
108749
108744
  updated: _(a),
108750
108745
  added: _(o),
@@ -108805,8 +108800,8 @@ Alternatively you can update the parent data-type entity with 'update' action to
108805
108800
  )) {
108806
108801
  const a = [], o = [], p = [], e = [], y = this.properties, v = this.extendedPropertiesFromOriginalParents, E = v.filter((A) => v.find(
108807
108802
  (N) => {
108808
- var x;
108809
- return ((x = N.implements) == null ? void 0 : x.id) === A.id;
108803
+ var M;
108804
+ return ((M = N.implements) == null ? void 0 : M.id) === A.id;
108810
108805
  }
108811
108806
  ) ? !1 : !A.abstract), w = new Set(
108812
108807
  y.filter((A) => {
@@ -109358,7 +109353,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
109358
109353
  y.properties = [], y.methods = [], y.abstractMethods = [];
109359
109354
  const E = v.split("-id"), w = E[E.length - 1 || 0] || v;
109360
109355
  y.id = v, y.version = P.UUID.uuid(), y.createdAt = (i == null ? void 0 : i.timestamp) || V().toISOString(), y.author = (i == null ? void 0 : i.author) || "1", y.previousVersion = null, y.deleted = !1;
109361
- const A = ur(
109356
+ const A = dr(
109362
109357
  y,
109363
109358
  e
109364
109359
  );
@@ -109376,7 +109371,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
109376
109371
  )
109377
109372
  );
109378
109373
  A.methods = N;
109379
- const x = (S = this.abstractMethods) == null ? void 0 : S.map(
109374
+ const M = (S = this.abstractMethods) == null ? void 0 : S.map(
109380
109375
  (re, J) => re.clone(
109381
109376
  i,
109382
109377
  A,
@@ -109384,7 +109379,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
109384
109379
  p
109385
109380
  )
109386
109381
  );
109387
- return A.abstractMethods = x, i == null || i.attemptAutoclose("clone-entity", this.id), A;
109382
+ return A.abstractMethods = M, i == null || i.attemptAutoclose("clone-entity", this.id), A;
109388
109383
  }
109389
109384
  getFunctionDeclaration(i) {
109390
109385
  return this.methods.find((a) => a.id === i);
@@ -109456,12 +109451,12 @@ Alternatively you can update the parent data-type entity with 'update' action to
109456
109451
  );
109457
109452
  if (!C)
109458
109453
  return;
109459
- const x = Ui(
109454
+ const M = Ui(
109460
109455
  A.parent
109461
109456
  ).getMasterInputWithValueWritterFromAllInstances(
109462
109457
  A
109463
109458
  ), G = Zn(
109464
- x,
109459
+ M,
109465
109460
  a
109466
109461
  ), K = G == null ? void 0 : G.clone(
109467
109462
  a,
@@ -109540,11 +109535,11 @@ Alternatively you can update the parent data-type entity with 'update' action to
109540
109535
  }
109541
109536
  const N = Ta.new(a);
109542
109537
  N.parent = this.toReference(), N.index = A.index, N.name = W(A, this.project), N.codeName = A.codeName, N.description = A.description;
109543
- const x = se(
109538
+ const M = se(
109544
109539
  N,
109545
109540
  this.project
109546
109541
  );
109547
- x.hydrateAncestors(), a == null || a.add(x, F.Added), x.setParent(this, a), x.initChildren(a);
109542
+ M.hydrateAncestors(), a == null || a.add(M, F.Added), M.setParent(this, a), M.initChildren(a);
109548
109543
  const K = Ui(
109549
109544
  A.parent
109550
109545
  ).getMasterInputWithValueWritterFromAllInstances(
@@ -109553,17 +109548,17 @@ Alternatively you can update the parent data-type entity with 'update' action to
109553
109548
  K
109554
109549
  ), re = S == null ? void 0 : S.clone(
109555
109550
  a,
109556
- x,
109551
+ M,
109557
109552
  P.UUID.uuid(),
109558
109553
  !0
109559
109554
  );
109560
- return re && ((Y = x.dataType) == null || Y.merge(re, a), re.id !== ((ue = x.dataType) == null ? void 0 : ue.id) && re.remove({ ignoreUpstream: !1 }, a), x.dataType && (x.dataType.metaSync(
109555
+ return re && ((Y = M.dataType) == null || Y.merge(re, a), re.id !== ((ue = M.dataType) == null ? void 0 : ue.id) && re.remove({ ignoreUpstream: !1 }, a), M.dataType && (M.dataType.metaSync(
109561
109556
  {
109562
109557
  inferred: !0,
109563
109558
  like: !0
109564
109559
  },
109565
109560
  a
109566
- ), x.setDataType(x.dataType, a), a == null || a.add(x, F.Affected))), this.addProperty(x), A.setDeclaration(x, a), a == null || a.add(A, F.Updated), x;
109561
+ ), M.setDataType(M.dataType, a), a == null || a.add(M, F.Affected))), this.addProperty(M), A.setDeclaration(M, a), a == null || a.add(A, F.Updated), M;
109567
109562
  }), a == null || a.attemptAutoclose("infer-definition-entity-from-inputs", this.id), {
109568
109563
  added: _(o),
109569
109564
  updated: _(p),
@@ -110258,7 +110253,7 @@ g(By, "repository", {
110258
110253
  APILoad: async (i, ...a) => null
110259
110254
  });
110260
110255
  let cs = By;
110261
- function ur(d, u) {
110256
+ function dr(d, u) {
110262
110257
  if (!d)
110263
110258
  throw new Error("Entity is null");
110264
110259
  const i = u.get(d.id);
@@ -110326,7 +110321,7 @@ function ur(d, u) {
110326
110321
  function se(d, u) {
110327
110322
  if (!d)
110328
110323
  throw new Error("Entity is null");
110329
- const i = ur(d, u);
110324
+ const i = dr(d, u);
110330
110325
  return i.subscribe(), i;
110331
110326
  }
110332
110327
  function TDt(d, u) {
@@ -112509,7 +112504,7 @@ class o_t extends yt {
112509
112504
  return i.inputs.find(
112510
112505
  (a) => {
112511
112506
  var o;
112512
- return ((o = a.declaration) == null ? void 0 : o.id) === fe.operation[fr.Validate].inputs.entityToMatch.id;
112507
+ return ((o = a.declaration) == null ? void 0 : o.id) === fe.operation[pr.Validate].inputs.entityToMatch.id;
112513
112508
  }
112514
112509
  ) || null;
112515
112510
  }
@@ -112517,7 +112512,7 @@ class o_t extends yt {
112517
112512
  return i.inputs.find(
112518
112513
  (a) => {
112519
112514
  var o;
112520
- return ((o = a.declaration) == null ? void 0 : o.id) === fe.operation[fr.Validate].inputs.dataToValidate.id;
112515
+ return ((o = a.declaration) == null ? void 0 : o.id) === fe.operation[pr.Validate].inputs.dataToValidate.id;
112521
112516
  }
112522
112517
  ) || null;
112523
112518
  }
@@ -112525,7 +112520,7 @@ class o_t extends yt {
112525
112520
  return i.outputs.find(
112526
112521
  (a) => {
112527
112522
  var o;
112528
- return ((o = a.declaration) == null ? void 0 : o.id) === fe.operation[fr.Validate].outputs.outputEntity.id;
112523
+ return ((o = a.declaration) == null ? void 0 : o.id) === fe.operation[pr.Validate].outputs.outputEntity.id;
112529
112524
  }
112530
112525
  ) || null;
112531
112526
  }
@@ -112559,12 +112554,12 @@ class o_t extends yt {
112559
112554
  added: A,
112560
112555
  updated: C,
112561
112556
  removed: N,
112562
- affected: x
112557
+ affected: M
112563
112558
  } = this.syncEntityToMatchInputMapDataType(
112564
112559
  v,
112565
112560
  a
112566
112561
  );
112567
- o.push(...C), p.push(...A), e.push(...N), y.push(...x);
112562
+ o.push(...C), p.push(...A), e.push(...N), y.push(...M);
112568
112563
  }
112569
112564
  const E = this.getDataToValidateInputMap(i);
112570
112565
  if (E) {
@@ -112572,12 +112567,12 @@ class o_t extends yt {
112572
112567
  added: A,
112573
112568
  updated: C,
112574
112569
  removed: N,
112575
- affected: x
112570
+ affected: M
112576
112571
  } = this.syncDataToValidateInputMapDataType(
112577
112572
  E,
112578
112573
  a
112579
112574
  );
112580
- o.push(...C), p.push(...A), e.push(...N), y.push(...x);
112575
+ o.push(...C), p.push(...A), e.push(...N), y.push(...M);
112581
112576
  }
112582
112577
  const w = this.getOutputDataOutputMap(i);
112583
112578
  if (w) {
@@ -112585,9 +112580,9 @@ class o_t extends yt {
112585
112580
  added: A,
112586
112581
  updated: C,
112587
112582
  removed: N,
112588
- affected: x
112583
+ affected: M
112589
112584
  } = this.syncOutputDataOutputMapDataType(w, a);
112590
- o.push(...C), p.push(...A), e.push(...N), y.push(...x);
112585
+ o.push(...C), p.push(...A), e.push(...N), y.push(...M);
112591
112586
  }
112592
112587
  return a == null || a.attemptAutoclose(
112593
112588
  "sync-operation-instance-validate-data",
@@ -112612,9 +112607,9 @@ class o_t extends yt {
112612
112607
  "sync-entity-to-match-input-map-data-type"
112613
112608
  )
112614
112609
  )) {
112615
- var w, A, C, N, x, G, K, S, re, J, oe, Y, ue, z, H, ce, Q;
112610
+ var w, A, C, N, M, G, K, S, re, J, oe, Y, ue, z, H, ce, Q;
112616
112611
  const o = [], p = [], e = [], y = [];
112617
- if (((w = i.declaration) == null ? void 0 : w.id) !== fe.operation[fr.Validate].inputs.entityToMatch.id)
112612
+ if (((w = i.declaration) == null ? void 0 : w.id) !== fe.operation[pr.Validate].inputs.entityToMatch.id)
112618
112613
  return a == null || a.attemptAutoclose(
112619
112614
  "sync-entity-to-match-input-map-data-type",
112620
112615
  this.id
@@ -112638,7 +112633,7 @@ class o_t extends yt {
112638
112633
  parentRelationType: null,
112639
112634
  options: ((C = i.declaration.dataType) == null ? void 0 : C.options) || null,
112640
112635
  implementationChooseOne: ((N = i.declaration.dataType) == null ? void 0 : N.implementationChooseOne) || !1,
112641
- staticEntities: ((x = i.declaration.dataType) == null ? void 0 : x.staticEntities) ?? null,
112636
+ staticEntities: ((M = i.declaration.dataType) == null ? void 0 : M.staticEntities) ?? null,
112642
112637
  interactiveEntities: ((G = i.declaration.dataType) == null ? void 0 : G.interactiveEntities) ?? null,
112643
112638
  actionEntities: ((K = i.declaration.dataType) == null ? void 0 : K.actionEntities) ?? null,
112644
112639
  index: ((S = i.declaration.dataType) == null ? void 0 : S.index) ?? null,
@@ -112694,7 +112689,7 @@ class o_t extends yt {
112694
112689
  )) {
112695
112690
  var A, C, N;
112696
112691
  const o = [], p = [], e = [], y = [];
112697
- if (((A = i.declaration) == null ? void 0 : A.id) !== fe.operation[fr.Validate].inputs.dataToValidate.id)
112692
+ if (((A = i.declaration) == null ? void 0 : A.id) !== fe.operation[pr.Validate].inputs.dataToValidate.id)
112698
112693
  return a == null || a.attemptAutoclose(
112699
112694
  "sync-data-to-validate-input-map-data-type",
112700
112695
  this.id
@@ -112734,7 +112729,7 @@ class o_t extends yt {
112734
112729
  self: null
112735
112730
  };
112736
112731
  if (!i.dataType) {
112737
- const x = {
112732
+ const M = {
112738
112733
  id: P.UUID.uuid(),
112739
112734
  version: P.UUID.uuid(),
112740
112735
  createdAt: (a == null ? void 0 : a.timestamp) || (/* @__PURE__ */ new Date()).toISOString(),
@@ -112758,7 +112753,7 @@ class o_t extends yt {
112758
112753
  inferred: !0,
112759
112754
  parent: i.toReference()
112760
112755
  }, G = se(
112761
- x,
112756
+ M,
112762
112757
  i.project
112763
112758
  );
112764
112759
  G.setParent(i, a), G.initChildren(a), a == null || a.add(G, F.Added), o.push(G), i.setDataType(G, a);
@@ -112798,9 +112793,9 @@ class o_t extends yt {
112798
112793
  "sync-output-data-output-map-data-type"
112799
112794
  )
112800
112795
  )) {
112801
- var C, N, x, G;
112796
+ var C, N, M, G;
112802
112797
  const o = [], p = [], e = [], y = [];
112803
- if (((C = i.declaration) == null ? void 0 : C.id) !== fe.operation[fr.Validate].outputs.outputEntity.id)
112798
+ if (((C = i.declaration) == null ? void 0 : C.id) !== fe.operation[pr.Validate].outputs.outputEntity.id)
112804
112799
  return a == null || a.attemptAutoclose(
112805
112800
  "sync-output-data-output-map-data-type",
112806
112801
  this.id
@@ -112870,7 +112865,7 @@ class o_t extends yt {
112870
112865
  );
112871
112866
  S.hydrateAncestors(), S.setParent(i, a), S.initChildren(a), S.setEntity(A, a), a == null || a.add(S, F.Added), o.push(S), i.setDataType(S, a);
112872
112867
  }
112873
- return (x = i.dataType) == null || x.metaSync(
112868
+ return (M = i.dataType) == null || M.metaSync(
112874
112869
  {
112875
112870
  inferred: !0,
112876
112871
  like: !0,
@@ -112905,7 +112900,7 @@ class o_t extends yt {
112905
112900
  )
112906
112901
  )) {
112907
112902
  var p, e, y;
112908
- if (((p = i.declaration) == null ? void 0 : p.id) === fe.operation[fr.Validate].inputs.entityToMatch.id) {
112903
+ if (((p = i.declaration) == null ? void 0 : p.id) === fe.operation[pr.Validate].inputs.entityToMatch.id) {
112909
112904
  const { added: v, updated: E, removed: w, affected: A } = this.syncEntityToMatchInputMapDataType(i, a);
112910
112905
  return a == null || a.attemptAutoclose("infer-input-map-data-type", this.id), {
112911
112906
  updated: _(
@@ -112921,7 +112916,7 @@ class o_t extends yt {
112921
112916
  self: i.dataType
112922
112917
  };
112923
112918
  }
112924
- if (((e = i.declaration) == null ? void 0 : e.id) === fe.operation[fr.Validate].inputs.dataToValidate.id) {
112919
+ if (((e = i.declaration) == null ? void 0 : e.id) === fe.operation[pr.Validate].inputs.dataToValidate.id) {
112925
112920
  const { added: v, updated: E, removed: w, affected: A } = this.syncDataToValidateInputMapDataType(i, a);
112926
112921
  return a == null || a.attemptAutoclose("infer-input-map-data-type", this.id), {
112927
112922
  updated: _(
@@ -112987,7 +112982,7 @@ class o_t extends yt {
112987
112982
  )
112988
112983
  )) {
112989
112984
  var o;
112990
- if (((o = i.declaration) == null ? void 0 : o.id) === fe.operation[fr.Validate].outputs.outputEntity.id) {
112985
+ if (((o = i.declaration) == null ? void 0 : o.id) === fe.operation[pr.Validate].outputs.outputEntity.id) {
112991
112986
  const { added: p, updated: e, removed: y, affected: v } = this.syncOutputDataOutputMapDataType(i, a);
112992
112987
  return a == null || a.attemptAutoclose(
112993
112988
  "infer-output-map-data-type-validate-data",
@@ -113212,9 +113207,9 @@ class v_t extends Aa {
113212
113207
  (w) => ps(w, Ve.HTTP_ENDPOINT) && w.id !== e.parent.id
113213
113208
  ).map((w) => {
113214
113209
  const A = w.properties.find(
113215
- (x) => {
113210
+ (M) => {
113216
113211
  var G;
113217
- return ((G = x.implements) == null ? void 0 : G.id) === fe["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.properties.path.id;
113212
+ return ((G = M.implements) == null ? void 0 : G.id) === fe["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.properties.path.id;
113218
113213
  }
113219
113214
  );
113220
113215
  if (!A)
@@ -113475,12 +113470,12 @@ function R_t(d, u = {
113475
113470
  return v.visit((N) => {
113476
113471
  if (N.id === A.id)
113477
113472
  return;
113478
- const x = se(
113473
+ const M = se(
113479
113474
  N,
113480
113475
  A
113481
113476
  );
113482
113477
  try {
113483
- x.hydrateAncestors(), x.addSelfToProject(null);
113478
+ M.hydrateAncestors(), M.addSelfToProject(null);
113484
113479
  const G = ip(N);
113485
113480
  Object.keys(G.downstream).forEach((K) => {
113486
113481
  const S = A.get(
@@ -113497,15 +113492,15 @@ function R_t(d, u = {
113497
113492
  }), o ? (v.visit((N) => {
113498
113493
  if (N.id === A.id)
113499
113494
  return;
113500
- const x = A.get(
113495
+ const M = A.get(
113501
113496
  N.id
113502
113497
  );
113503
- x && x.afterAllChildrenInitialized(C);
113498
+ M && M.afterAllChildrenInitialized(C);
113504
113499
  }), A.afterAllChildrenInitialized(C)) : cw(
113505
113500
  A,
113506
113501
  w
113507
- ).forEach((x) => {
113508
- x.remove({ ignoreUpstream: !0 }, null);
113502
+ ).forEach((M) => {
113503
+ M.remove({ ignoreUpstream: !0 }, null);
113509
113504
  }), A.instancesList.forEach((N) => {
113510
113505
  N.previousVersion = null;
113511
113506
  }), C == null || C.attemptAutoclose(
@@ -113652,11 +113647,11 @@ function PDt(d, {
113652
113647
  }), G)
113653
113648
  return;
113654
113649
  }
113655
- const x = se(
113650
+ const M = se(
113656
113651
  C,
113657
113652
  v
113658
113653
  );
113659
- x.hydrateAncestors(), x.addSelfToProject(E), E == null || E.add(x, F.Added);
113654
+ M.hydrateAncestors(), M.addSelfToProject(E), E == null || E.add(M, F.Added);
113660
113655
  }), u ? (w.visit((A) => {
113661
113656
  if (A.id === v.id)
113662
113657
  return;
@@ -113869,7 +113864,7 @@ export {
113869
113864
  ie as EntityGenerationError,
113870
113865
  k as EntityGenerationErrorCode,
113871
113866
  ee as EntityInstanceErrorCode,
113872
- fr as EntityOperations,
113867
+ pr as EntityOperations,
113873
113868
  f as EntityType,
113874
113869
  ODt as EntityWithLogicScopeClass,
113875
113870
  CDt as EntityWithValueClass,
@@ -113987,7 +113982,7 @@ export {
113987
113982
  zn as OutputMapState,
113988
113983
  NT as PARENT_AUTO_CALCULATION_FROM_CALLER_EXPLANATION,
113989
113984
  sl as PASS_THROUGH_CALLABLE_ENTITIES_EXPLANATION,
113990
- cr as PASS_THROUGH_CALLABLE_TYPES,
113985
+ ur as PASS_THROUGH_CALLABLE_TYPES,
113991
113986
  U5e as PASS_THROUGH_CALLABLE_TYPES_WITH_OUTPUTS,
113992
113987
  CTt as PLACEHOLDER_VALUE_STORE_CLIENT,
113993
113988
  DT as PROPERTY_HEIGHT,
@@ -114166,7 +114161,7 @@ export {
114166
114161
  xJe as createPersistedEntityMethodParentRef,
114167
114162
  M1t as createSemanticId,
114168
114163
  TDt as createStateFromGenerationTargetType,
114169
- ur as createStateFromType,
114164
+ dr as createStateFromType,
114170
114165
  se as createStateFromTypeAndSubscribe,
114171
114166
  aA as cronJobBuiltInBaseEntity,
114172
114167
  rWe as cronJobBuiltInBaseEntityExpressionProperty,
@@ -114529,7 +114524,7 @@ export {
114529
114524
  DI as getParentCallableEntity,
114530
114525
  Cwt as getParentCallerEntity,
114531
114526
  Ya as getParentCanvasEntities,
114532
- dr as getParentCanvasEntity,
114527
+ fr as getParentCanvasEntity,
114533
114528
  rp as getParentCanvasEntityFromTransfer,
114534
114529
  yp as getParentEntryPoint,
114535
114530
  _B as getParentExecutableEntity,