@elyx-code/project-logic-tree 0.0.6661 → 0.0.6663

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.
Files changed (3) hide show
  1. package/dist/index.cjs +394 -0
  2. package/dist/index.js +209 -213
  3. package/package.json +11 -11
package/dist/index.js CHANGED
@@ -133833,7 +133833,7 @@ class Cn {
133833
133833
  }), p(i);
133834
133834
  }
133835
133835
  }
133836
- var rm = /* @__PURE__ */ ((d) => (d.Amazon = "amazon", d.Google = "google", d.Microsoft = "microsoft", d))(rm || {}), pr = /* @__PURE__ */ ((d) => (d.RelationalDatabase = "relational-database", d.CompiledLocalCodebase = "compiled-local-codebase", d.CloudHostedCodebase = "cloud-hosted-codebase", d.HttpApi = "http-api", d.HttpEndpoint = "http-endpoint", d.ServerlessFunction = "serverless-function", d))(pr || {}), TD = /* @__PURE__ */ ((d) => (d.Post = "post", d.Get = "get", d.Acknowledgement = "acknowledgment", d.Progress = "progress", d.Error = "error", d.Complete = "complete", d))(TD || {}), Lp = /* @__PURE__ */ ((d) => (d.Queued = "queued", d.Running = "running", d.Success = "success", d.Failed = "failed", d.CleanedUp = "cleaned-up", d.Skipped = "skipped", d.AbortedByUser = "aborted-by-user", d.UnrecoverableFailure = "unrecoverable-failure", d.Reverted = "reverted", d.UnpublishingStarted = "unpublishing-started", d.Unpublished = "unpublished", d))(Lp || {}), vD = /* @__PURE__ */ ((d) => (d.Queued = "queued", d.Running = "running", d.Success = "success", d.Failed = "failed", d.CleanedUp = "cleaned-up", d.UnrecoverableFailure = "unrecoverable-failure", d.Reverted = "reverted", d.UnpublishingStarted = "unpublishing-started", d.Unpublished = "unpublished", d))(vD || {}), Vt = /* @__PURE__ */ ((d) => (d.ProjectNotFound = "project-not-found", d.ProjectPublishRequestAcknowledged = "project-publish-request-acknowledged", d.PublicationStepFailedReasonUnknown = "publication-step-failed-reason-unknown", d.DeploymentCompleted = "deployment-completed", d.DeploymentStarted = "deployment-started", d.DeploymentFailed = "deployment-failed", d.AllInfrastructureSuccessfullyProvisioned = "all-infrastucture-successfully-provisioned", d.RequestPayloadValidationFailed = "request-payload-validation-failed", d.ProjectStateValidationFailedMissingName = "project-state-validation-failed-missing-name", d.ProjectStateValidationFailedMissingAnyFunctionality = "project-state-validation-failed-missing-any-functionality", d.ProjectAlreadyBeingPublished = "project-already-being-published", d.BillingSubscriptionUpdateFailed = "billing-subscription-update-failed", d.RelationalDatabaseDeploymentStarted = "relational-database-deployment-started", d.RelationalDatabaseDeploymentCompleted = "relational-database-deployment-completed", d.RelationalDatabaseDeploymentFailed = "relational-database-deployment-failed", d.CreatingNewRelationalDatabase = "creating-new-relational-database", d.WaitingForPreviousRelationalDatabaseDeployment = "waiting-for-previous-relationa-database-deployment", d.RelationalDatabaseAlreadyExists = "relational-database-already-exists", d.RelationalDatabaseDeletionStarted = "relational-database-deletion-started", d.RelationalDatabaseDeletionCompleted = "relational-database-deletion-completed", d.RelationalDatabaseDeletionFailed = "relational-database-deletion-failed", d.WaitingForPreviousRelationalDatabaseDeletion = "waiting-for-previous-relationa-database-deletion", d.HttpApiDeploymentStarted = "http-api-deployment-started", d.HttpApiDeploymentCompleted = "http-api-deployment-completed", d.HttpApiDeploymentFailed = "http-api-deployment-failed", d.CreatingNewHttpApi = "creating-new-http-api", d.HttpApiAlreadyExists = "http-api-already-exists", d.HttpApiDeletionStarted = "http-api-deletion-started", d.HttpApiDeletionCompleted = "http-api-deletion-completed", d.HttpApiDeletionFailed = "http-api-deletion-failed", d.WaitingForPreviousHttpApiDeletion = "waiting-for-previous-http-api-deletion", d.BusinessLogicCodebaseDeploymentStarted = "business-logic-codebase-deployment-started", d.BusinessLogicCodebaseDeploymentCompleted = "business-logic-codebase-deployment-completed", d.BusinessLogicCodebaseDeploymentFailed = "business-logic-codebase-deployment-failed", d.BundlingCodebaseForDownload = "bundling-codebase-for-download", d.UploadingCodebaseToCloudStorage = "uploading-codebase-to-cloud-storage", d.UploadingCodebaseToCloudStorageCompleted = "uploading-codebase-to-cloud-storage-completed", d.UploadingCodebaseToCloudStorageFailed = "uploading-codebase-to-cloud-storage-failed", d.InfrastructureValuesCodebaseInterpolationStarted = "infrastructure-values-codebase-interpolation-started", d.InfrastructureValuesCodebaseInterpolationCompleted = "infrastructure-values-codebase-interpolation-completed", d.InfrastructureValuesCodebaseInterpolationFailed = "infrastructure-values-codebase-interpolation-failed", d.CodeCompilationStarted = "code-compilation-started", d.CodeCompilationCompleted = "code-compilation-completed", d.CodeCompilationFailed = "code-compilation-failed", d.BundleCodebaseStarted = "bundle-codebase-started", d.BundleCodebaseCompleted = "bundle-codebase-completed", d.BundleCodebaseFailed = "bundle-codebase-failed", d.InstallingCodebaseDependenciesStarted = "installing-codebase-dependencies-started", d.InstallingCodebaseDependenciesCompleted = "installing-codebase-dependencies-completed", d.InstallingCodebaseDependenciesFailed = "installing-codebase-dependencies-failed", d.MigrateRelationalDatabaseStarted = "migrate-relational-database-started", d.MigrateRelationalDatabaseCompleted = "migrate-relational-database-completed", d.MigrateRelationalDatabaseFailed = "migrate-relational-database-failed", d.ExecutePublicationCompletedEventStarted = "execute-publication-completed-event-started", d.ExecutePublicationCompletedEventCompleted = "execute-publication-completed-event-completed", d.ExecutePublicationCompletedEventFailed = "execute-publication-completed-event-failed", d.ExecutePublicationCompletedEventTimedOut = "execute-publication-completed-event-timed-out", d))(Vt || {}), dl = /* @__PURE__ */ ((d) => (d.CodeCompilation = "code-compilation", d.RelationalDatabaseDeployment = "relational-database-deployment", d.RelationalDatabaseDeletion = "relational-database-deletion", d.HttpApiDeployment = "http-api-deployment", d.HttpApiDeletion = "http-api-deletion", d.InfrastructureValuesCodebaseInterpolation = "infrastructure-values-codebase-interpolation", d.BundleCodebase = "bundle-codebase", d.MigrateRelationalDatabase = "migrate-relational-database", d.BusinessLogicCodebaseDeployment = "business-logic-codebase-deployment", d.ExecutePublicationCompletedEvent = "execute-publication-completed-event", d.CodebaseCleanup = "codebase-cleanup", d))(dl || {});
133836
+ var rm = /* @__PURE__ */ ((d) => (d.Amazon = "amazon", d.Google = "google", d.Microsoft = "microsoft", d))(rm || {}), pr = /* @__PURE__ */ ((d) => (d.RelationalDatabase = "relational-database", d.CompiledLocalCodebase = "compiled-local-codebase", d.CloudHostedCodebase = "cloud-hosted-codebase", d.HttpApi = "http-api", d.HttpEndpoint = "http-endpoint", d.ServerlessFunction = "serverless-function", d))(pr || {}), TD = /* @__PURE__ */ ((d) => (d.Post = "post", d.Get = "get", d.Acknowledgement = "acknowledgment", d.Progress = "progress", d.Error = "error", d.Complete = "complete", d))(TD || {}), Lp = /* @__PURE__ */ ((d) => (d.Queued = "queued", d.Running = "running", d.Success = "success", d.Failed = "failed", d.CleanedUp = "cleaned-up", d.Skipped = "skipped", d.AbortedByUser = "aborted-by-user", d.UnrecoverableFailure = "unrecoverable-failure", d.Reverted = "reverted", d.UnpublishingStarted = "unpublishing-started", d.Unpublished = "unpublished", d))(Lp || {}), vD = /* @__PURE__ */ ((d) => (d.Queued = "queued", d.Running = "running", d.Success = "success", d.Failed = "failed", d.CleanedUp = "cleaned-up", d.UnrecoverableFailure = "unrecoverable-failure", d.Reverted = "reverted", d.UnpublishingStarted = "unpublishing-started", d.Unpublished = "unpublished", d))(vD || {}), Nt = /* @__PURE__ */ ((d) => (d.ProjectNotFound = "project-not-found", d.ProjectPublishRequestAcknowledged = "project-publish-request-acknowledged", d.PublicationStepFailedReasonUnknown = "publication-step-failed-reason-unknown", d.DeploymentCompleted = "deployment-completed", d.DeploymentStarted = "deployment-started", d.DeploymentFailed = "deployment-failed", d.AllInfrastructureSuccessfullyProvisioned = "all-infrastucture-successfully-provisioned", d.RequestPayloadValidationFailed = "request-payload-validation-failed", d.ProjectStateValidationFailedMissingName = "project-state-validation-failed-missing-name", d.ProjectStateValidationFailedMissingAnyFunctionality = "project-state-validation-failed-missing-any-functionality", d.ProjectAlreadyBeingPublished = "project-already-being-published", d.BillingSubscriptionUpdateFailed = "billing-subscription-update-failed", d.RelationalDatabaseDeploymentStarted = "relational-database-deployment-started", d.RelationalDatabaseDeploymentCompleted = "relational-database-deployment-completed", d.RelationalDatabaseDeploymentFailed = "relational-database-deployment-failed", d.CreatingNewRelationalDatabase = "creating-new-relational-database", d.WaitingForPreviousRelationalDatabaseDeployment = "waiting-for-previous-relationa-database-deployment", d.RelationalDatabaseAlreadyExists = "relational-database-already-exists", d.RelationalDatabaseDeletionStarted = "relational-database-deletion-started", d.RelationalDatabaseDeletionCompleted = "relational-database-deletion-completed", d.RelationalDatabaseDeletionFailed = "relational-database-deletion-failed", d.WaitingForPreviousRelationalDatabaseDeletion = "waiting-for-previous-relationa-database-deletion", d.HttpApiDeploymentStarted = "http-api-deployment-started", d.HttpApiDeploymentCompleted = "http-api-deployment-completed", d.HttpApiDeploymentFailed = "http-api-deployment-failed", d.CreatingNewHttpApi = "creating-new-http-api", d.HttpApiAlreadyExists = "http-api-already-exists", d.HttpApiDeletionStarted = "http-api-deletion-started", d.HttpApiDeletionCompleted = "http-api-deletion-completed", d.HttpApiDeletionFailed = "http-api-deletion-failed", d.WaitingForPreviousHttpApiDeletion = "waiting-for-previous-http-api-deletion", d.BusinessLogicCodebaseDeploymentStarted = "business-logic-codebase-deployment-started", d.BusinessLogicCodebaseDeploymentCompleted = "business-logic-codebase-deployment-completed", d.BusinessLogicCodebaseDeploymentFailed = "business-logic-codebase-deployment-failed", d.BundlingCodebaseForDownload = "bundling-codebase-for-download", d.UploadingCodebaseToCloudStorage = "uploading-codebase-to-cloud-storage", d.UploadingCodebaseToCloudStorageCompleted = "uploading-codebase-to-cloud-storage-completed", d.UploadingCodebaseToCloudStorageFailed = "uploading-codebase-to-cloud-storage-failed", d.InfrastructureValuesCodebaseInterpolationStarted = "infrastructure-values-codebase-interpolation-started", d.InfrastructureValuesCodebaseInterpolationCompleted = "infrastructure-values-codebase-interpolation-completed", d.InfrastructureValuesCodebaseInterpolationFailed = "infrastructure-values-codebase-interpolation-failed", d.CodeCompilationStarted = "code-compilation-started", d.CodeCompilationCompleted = "code-compilation-completed", d.CodeCompilationFailed = "code-compilation-failed", d.BundleCodebaseStarted = "bundle-codebase-started", d.BundleCodebaseCompleted = "bundle-codebase-completed", d.BundleCodebaseFailed = "bundle-codebase-failed", d.InstallingCodebaseDependenciesStarted = "installing-codebase-dependencies-started", d.InstallingCodebaseDependenciesCompleted = "installing-codebase-dependencies-completed", d.InstallingCodebaseDependenciesFailed = "installing-codebase-dependencies-failed", d.MigrateRelationalDatabaseStarted = "migrate-relational-database-started", d.MigrateRelationalDatabaseCompleted = "migrate-relational-database-completed", d.MigrateRelationalDatabaseFailed = "migrate-relational-database-failed", d.ExecutePublicationCompletedEventStarted = "execute-publication-completed-event-started", d.ExecutePublicationCompletedEventCompleted = "execute-publication-completed-event-completed", d.ExecutePublicationCompletedEventFailed = "execute-publication-completed-event-failed", d.ExecutePublicationCompletedEventTimedOut = "execute-publication-completed-event-timed-out", d))(Nt || {}), dl = /* @__PURE__ */ ((d) => (d.CodeCompilation = "code-compilation", d.RelationalDatabaseDeployment = "relational-database-deployment", d.RelationalDatabaseDeletion = "relational-database-deletion", d.HttpApiDeployment = "http-api-deployment", d.HttpApiDeletion = "http-api-deletion", d.InfrastructureValuesCodebaseInterpolation = "infrastructure-values-codebase-interpolation", d.BundleCodebase = "bundle-codebase", d.MigrateRelationalDatabase = "migrate-relational-database", d.BusinessLogicCodebaseDeployment = "business-logic-codebase-deployment", d.ExecutePublicationCompletedEvent = "execute-publication-completed-event", d.CodebaseCleanup = "codebase-cleanup", d))(dl || {});
133837
133837
  pr.CloudHostedCodebase, pr.HttpApi, pr.RelationalDatabase, pr.CloudHostedCodebase, pr.CloudHostedCodebase, pr.RelationalDatabase, pr.CloudHostedCodebase, pr.CloudHostedCodebase;
133838
133838
  function UPi(d) {
133839
133839
  return `project-${d}-http-api`;
@@ -134179,7 +134179,7 @@ class vBi {
134179
134179
  p.forEach((n) => {
134180
134180
  this.addStep(n, i);
134181
134181
  }), this.editor.events.emit(
134182
- Vt.ProjectPublishRequestAcknowledged,
134182
+ Nt.ProjectPublishRequestAcknowledged,
134183
134183
  {}
134184
134184
  );
134185
134185
  }
@@ -134263,111 +134263,111 @@ function bBi(d) {
134263
134263
  }
134264
134264
  function EBi(d) {
134265
134265
  switch (d) {
134266
- case Vt.DeploymentCompleted:
134266
+ case Nt.DeploymentCompleted:
134267
134267
  return "Successfully published";
134268
- case Vt.DeploymentStarted:
134268
+ case Nt.DeploymentStarted:
134269
134269
  return "Publication started";
134270
- case Vt.DeploymentFailed:
134270
+ case Nt.DeploymentFailed:
134271
134271
  return "Publication failed";
134272
- case Vt.AllInfrastructureSuccessfullyProvisioned:
134272
+ case Nt.AllInfrastructureSuccessfullyProvisioned:
134273
134273
  return "All infrastructure successfully provisioned";
134274
- case Vt.RequestPayloadValidationFailed:
134274
+ case Nt.RequestPayloadValidationFailed:
134275
134275
  return "Request payload validation failed";
134276
- case Vt.ProjectStateValidationFailedMissingName:
134276
+ case Nt.ProjectStateValidationFailedMissingName:
134277
134277
  return "Project state validation failed: missing name";
134278
- case Vt.ProjectStateValidationFailedMissingAnyFunctionality:
134278
+ case Nt.ProjectStateValidationFailedMissingAnyFunctionality:
134279
134279
  return "Project state validation failed: missing any functionality";
134280
- case Vt.RelationalDatabaseDeploymentStarted:
134280
+ case Nt.RelationalDatabaseDeploymentStarted:
134281
134281
  return "Database creation started";
134282
- case Vt.RelationalDatabaseDeploymentCompleted:
134282
+ case Nt.RelationalDatabaseDeploymentCompleted:
134283
134283
  return "Database creation completed";
134284
- case Vt.RelationalDatabaseDeploymentFailed:
134284
+ case Nt.RelationalDatabaseDeploymentFailed:
134285
134285
  return "Database creation failed";
134286
- case Vt.CreatingNewRelationalDatabase:
134286
+ case Nt.CreatingNewRelationalDatabase:
134287
134287
  return "Creating new database (up to 5 mins)";
134288
- case Vt.WaitingForPreviousRelationalDatabaseDeployment:
134288
+ case Nt.WaitingForPreviousRelationalDatabaseDeployment:
134289
134289
  return "Waiting for previous database creation";
134290
- case Vt.RelationalDatabaseAlreadyExists:
134290
+ case Nt.RelationalDatabaseAlreadyExists:
134291
134291
  return "Database already exists";
134292
- case Vt.HttpApiDeploymentStarted:
134292
+ case Nt.HttpApiDeploymentStarted:
134293
134293
  return "HTTP gateway creation started";
134294
- case Vt.HttpApiDeploymentCompleted:
134294
+ case Nt.HttpApiDeploymentCompleted:
134295
134295
  return "HTTP gateway creation completed";
134296
- case Vt.HttpApiDeploymentFailed:
134296
+ case Nt.HttpApiDeploymentFailed:
134297
134297
  return "HTTP gateway creation failed";
134298
- case Vt.CreatingNewHttpApi:
134298
+ case Nt.CreatingNewHttpApi:
134299
134299
  return "Creating new HTTP gateway";
134300
- case Vt.HttpApiAlreadyExists:
134300
+ case Nt.HttpApiAlreadyExists:
134301
134301
  return "HTTP gateway already exists";
134302
- case Vt.BusinessLogicCodebaseDeploymentStarted:
134302
+ case Nt.BusinessLogicCodebaseDeploymentStarted:
134303
134303
  return "Update servers with new code started";
134304
- case Vt.BusinessLogicCodebaseDeploymentCompleted:
134304
+ case Nt.BusinessLogicCodebaseDeploymentCompleted:
134305
134305
  return "Update servers with new code completed";
134306
- case Vt.BusinessLogicCodebaseDeploymentFailed:
134306
+ case Nt.BusinessLogicCodebaseDeploymentFailed:
134307
134307
  return "Update servers with new code failed";
134308
- case Vt.BundlingCodebaseForDownload:
134308
+ case Nt.BundlingCodebaseForDownload:
134309
134309
  return "Bundling code for download";
134310
- case Vt.UploadingCodebaseToCloudStorage:
134310
+ case Nt.UploadingCodebaseToCloudStorage:
134311
134311
  return "Uploading code to cloud storage";
134312
- case Vt.InfrastructureValuesCodebaseInterpolationStarted:
134312
+ case Nt.InfrastructureValuesCodebaseInterpolationStarted:
134313
134313
  return "Linking code with resources started";
134314
- case Vt.InfrastructureValuesCodebaseInterpolationCompleted:
134314
+ case Nt.InfrastructureValuesCodebaseInterpolationCompleted:
134315
134315
  return "Linking code with resources completed";
134316
- case Vt.InfrastructureValuesCodebaseInterpolationFailed:
134316
+ case Nt.InfrastructureValuesCodebaseInterpolationFailed:
134317
134317
  return "Linking code with resources failed";
134318
- case Vt.CodeCompilationStarted:
134318
+ case Nt.CodeCompilationStarted:
134319
134319
  return "Code generation started";
134320
- case Vt.CodeCompilationCompleted:
134320
+ case Nt.CodeCompilationCompleted:
134321
134321
  return "Code generation completed";
134322
- case Vt.CodeCompilationFailed:
134322
+ case Nt.CodeCompilationFailed:
134323
134323
  return "Code generation failed";
134324
- case Vt.BundleCodebaseStarted:
134324
+ case Nt.BundleCodebaseStarted:
134325
134325
  return "Code bundling started";
134326
- case Vt.BundleCodebaseCompleted:
134326
+ case Nt.BundleCodebaseCompleted:
134327
134327
  return "Code bundling completed";
134328
- case Vt.BundleCodebaseFailed:
134328
+ case Nt.BundleCodebaseFailed:
134329
134329
  return "Code bundling failed";
134330
- case Vt.InstallingCodebaseDependenciesStarted:
134330
+ case Nt.InstallingCodebaseDependenciesStarted:
134331
134331
  return "Installing code dependencies";
134332
- case Vt.InstallingCodebaseDependenciesCompleted:
134332
+ case Nt.InstallingCodebaseDependenciesCompleted:
134333
134333
  return "Installing code dependencies completed";
134334
- case Vt.InstallingCodebaseDependenciesFailed:
134334
+ case Nt.InstallingCodebaseDependenciesFailed:
134335
134335
  return "Installing code dependencies failed";
134336
- case Vt.MigrateRelationalDatabaseStarted:
134336
+ case Nt.MigrateRelationalDatabaseStarted:
134337
134337
  return "Database structure migration started";
134338
- case Vt.MigrateRelationalDatabaseCompleted:
134338
+ case Nt.MigrateRelationalDatabaseCompleted:
134339
134339
  return "Database structure migration completed";
134340
- case Vt.MigrateRelationalDatabaseFailed:
134340
+ case Nt.MigrateRelationalDatabaseFailed:
134341
134341
  return "Database structure migration failed";
134342
- case Vt.ProjectAlreadyBeingPublished:
134342
+ case Nt.ProjectAlreadyBeingPublished:
134343
134343
  return "Project already being published. You need to wait for the previous publication to complete";
134344
- case Vt.ProjectPublishRequestAcknowledged:
134344
+ case Nt.ProjectPublishRequestAcknowledged:
134345
134345
  return "Project publish request acknowledged";
134346
- case Vt.UploadingCodebaseToCloudStorageCompleted:
134346
+ case Nt.UploadingCodebaseToCloudStorageCompleted:
134347
134347
  return "Uploading code to cloud storage completed";
134348
- case Vt.UploadingCodebaseToCloudStorageFailed:
134348
+ case Nt.UploadingCodebaseToCloudStorageFailed:
134349
134349
  return "Uploading code to cloud storage failed";
134350
- case Vt.BillingSubscriptionUpdateFailed:
134350
+ case Nt.BillingSubscriptionUpdateFailed:
134351
134351
  return "Billing subscription update failed";
134352
- case Vt.ProjectNotFound:
134352
+ case Nt.ProjectNotFound:
134353
134353
  return "Project not found";
134354
- case Vt.HttpApiDeletionCompleted:
134354
+ case Nt.HttpApiDeletionCompleted:
134355
134355
  return "HTTP gateway deletion completed";
134356
- case Vt.HttpApiDeletionFailed:
134356
+ case Nt.HttpApiDeletionFailed:
134357
134357
  return "HTTP gateway deletion failed";
134358
- case Vt.HttpApiDeletionStarted:
134358
+ case Nt.HttpApiDeletionStarted:
134359
134359
  return "HTTP gateway deletion started";
134360
- case Vt.PublicationStepFailedReasonUnknown:
134360
+ case Nt.PublicationStepFailedReasonUnknown:
134361
134361
  return "Publication step failed: reason unknown";
134362
- case Vt.WaitingForPreviousHttpApiDeletion:
134362
+ case Nt.WaitingForPreviousHttpApiDeletion:
134363
134363
  return "Waiting for previous HTTP gateway deletion";
134364
- case Vt.RelationalDatabaseDeletionStarted:
134364
+ case Nt.RelationalDatabaseDeletionStarted:
134365
134365
  return "Database deletion started";
134366
- case Vt.RelationalDatabaseDeletionCompleted:
134366
+ case Nt.RelationalDatabaseDeletionCompleted:
134367
134367
  return "Database deletion completed";
134368
- case Vt.RelationalDatabaseDeletionFailed:
134368
+ case Nt.RelationalDatabaseDeletionFailed:
134369
134369
  return "Database deletion failed";
134370
- case Vt.WaitingForPreviousRelationalDatabaseDeletion:
134370
+ case Nt.WaitingForPreviousRelationalDatabaseDeletion:
134371
134371
  return "Waiting for previous database deletion";
134372
134372
  }
134373
134373
  return "Unknown event";
@@ -146643,7 +146643,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
146643
146643
  // @ts-ignore
146644
146644
  type: "postgresql_operator",
146645
146645
  // @ts-ignore
146646
- operator: _t()
146646
+ operator: Vt()
146647
146647
  });
146648
146648
  }, tIe = function(t, s) {
146649
146649
  return (0, O.loc)((0, k.createPrefixOpExpr)(t, (0, P.read)(s)));
@@ -147040,7 +147040,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147040
147040
  }, qRe = function() {
147041
147041
  return (0, pn.hasParamType)("@`name`");
147042
147042
  }, ZRe = function() {
147043
- return (0, O.loc)({ type: "parameter", text: _t() });
147043
+ return (0, O.loc)({ type: "parameter", text: Vt() });
147044
147044
  }, HRe = function(t, s, a) {
147045
147045
  return (0, O.loc)((0, k.createParenExpr)(t, s, a));
147046
147046
  }, WRe = function(t, s, a) {
@@ -147333,31 +147333,31 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147333
147333
  }, cCe = function(t) {
147334
147334
  return (0, O.loc)((0, k.createIdentifier)(t.text, t.value));
147335
147335
  }, fCe = function(t) {
147336
- return (0, O.loc)((0, k.createIdentifier)(_t(), t.join("")));
147336
+ return (0, O.loc)((0, k.createIdentifier)(Vt(), t.join("")));
147337
147337
  }, yCe = function() {
147338
147338
  return "`";
147339
147339
  }, hCe = function(t) {
147340
- return (0, O.loc)((0, k.createIdentifier)(_t(), t.join("")));
147340
+ return (0, O.loc)((0, k.createIdentifier)(Vt(), t.join("")));
147341
147341
  }, mCe = function(t) {
147342
147342
  return (0, O.loc)({ type: "bigquery_quoted_member_expr", expr: t });
147343
147343
  }, TCe = function(t, s) {
147344
147344
  return (0, k.createMemberExprChain)(t, s);
147345
147345
  }, vCe = function() {
147346
- return (0, O.loc)((0, k.createIdentifier)(_t(), _t()));
147346
+ return (0, O.loc)((0, k.createIdentifier)(Vt(), Vt()));
147347
147347
  }, bCe = function() {
147348
147348
  return !0;
147349
147349
  }, ECe = function() {
147350
147350
  return [];
147351
147351
  }, ACe = function(t) {
147352
- return (0, O.loc)((0, k.createIdentifier)(_t(), t.join("")));
147352
+ return (0, O.loc)((0, k.createIdentifier)(Vt(), t.join("")));
147353
147353
  }, gCe = function() {
147354
147354
  return "]";
147355
147355
  }, ICe = function() {
147356
- return _t();
147356
+ return Vt();
147357
147357
  }, RCe = function() {
147358
- return _t();
147358
+ return Vt();
147359
147359
  }, DCe = function() {
147360
- return _t();
147360
+ return Vt();
147361
147361
  }, wCe = function(t) {
147362
147362
  return (0, O.loc)({
147363
147363
  // @ts-ignore
@@ -147365,7 +147365,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147365
147365
  // @ts-ignore
147366
147366
  name: t,
147367
147367
  // @ts-ignore
147368
- text: _t()
147368
+ text: Vt()
147369
147369
  });
147370
147370
  }, CCe = function(t) {
147371
147371
  return (0, O.loc)({
@@ -147374,7 +147374,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147374
147374
  // @ts-ignore
147375
147375
  name: t.name,
147376
147376
  // @ts-ignore
147377
- text: _t()
147377
+ text: Vt()
147378
147378
  });
147379
147379
  }, OCe = function(t) {
147380
147380
  return (0, O.loc)({
@@ -147383,7 +147383,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147383
147383
  // @ts-ignore
147384
147384
  name: t.value,
147385
147385
  // @ts-ignore
147386
- text: _t()
147386
+ text: Vt()
147387
147387
  });
147388
147388
  }, _Ce = function(t) {
147389
147389
  return (0, O.loc)({
@@ -147392,7 +147392,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147392
147392
  // @ts-ignore
147393
147393
  name: t,
147394
147394
  // @ts-ignore
147395
- text: _t()
147395
+ text: Vt()
147396
147396
  });
147397
147397
  }, VCe = function(t, s) {
147398
147398
  return (0, O.loc)({
@@ -147462,7 +147462,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147462
147462
  }, HCe = function(t) {
147463
147463
  return t;
147464
147464
  }, WCe = function() {
147465
- return _t();
147465
+ return Vt();
147466
147466
  }, zCe = function(t, s) {
147467
147467
  return (0, k.createBinaryExprChain)(t, s);
147468
147468
  }, JCe = function(t, s) {
@@ -147476,7 +147476,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147476
147476
  // @ts-ignore
147477
147477
  type: "string_literal",
147478
147478
  // @ts-ignore
147479
- text: _t(),
147479
+ text: Vt(),
147480
147480
  // @ts-ignore
147481
147481
  value: t.join("")
147482
147482
  });
@@ -147485,7 +147485,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147485
147485
  // @ts-ignore
147486
147486
  type: "string_literal",
147487
147487
  // @ts-ignore
147488
- text: _t(),
147488
+ text: Vt(),
147489
147489
  // @ts-ignore
147490
147490
  value: t.value
147491
147491
  });
@@ -147494,7 +147494,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147494
147494
  // @ts-ignore
147495
147495
  type: "string_literal",
147496
147496
  // @ts-ignore
147497
- text: _t(),
147497
+ text: Vt(),
147498
147498
  // @ts-ignore
147499
147499
  value: t.value
147500
147500
  });
@@ -147503,7 +147503,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147503
147503
  // @ts-ignore
147504
147504
  type: "string_literal",
147505
147505
  // @ts-ignore
147506
- text: _t(),
147506
+ text: Vt(),
147507
147507
  // @ts-ignore
147508
147508
  value: t.value
147509
147509
  });
@@ -147512,7 +147512,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147512
147512
  // @ts-ignore
147513
147513
  type: "string_literal",
147514
147514
  // @ts-ignore
147515
- text: _t(),
147515
+ text: Vt(),
147516
147516
  // @ts-ignore
147517
147517
  value: t.join("")
147518
147518
  });
@@ -147521,7 +147521,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147521
147521
  // @ts-ignore
147522
147522
  type: "string_literal",
147523
147523
  // @ts-ignore
147524
- text: _t(),
147524
+ text: Vt(),
147525
147525
  // @ts-ignore
147526
147526
  value: t.join("")
147527
147527
  });
@@ -147532,7 +147532,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147532
147532
  // @ts-ignore
147533
147533
  type: "string_literal",
147534
147534
  // @ts-ignore
147535
- text: _t(),
147535
+ text: Vt(),
147536
147536
  // @ts-ignore
147537
147537
  value: t.join("")
147538
147538
  });
@@ -147543,7 +147543,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147543
147543
  // @ts-ignore
147544
147544
  type: "string_literal",
147545
147545
  // @ts-ignore
147546
- text: _t(),
147546
+ text: Vt(),
147547
147547
  // @ts-ignore
147548
147548
  value: t.join("")
147549
147549
  });
@@ -147552,7 +147552,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147552
147552
  // @ts-ignore
147553
147553
  type: "string_literal",
147554
147554
  // @ts-ignore
147555
- text: _t(),
147555
+ text: Vt(),
147556
147556
  // @ts-ignore
147557
147557
  value: t.join("")
147558
147558
  });
@@ -147561,7 +147561,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147561
147561
  // @ts-ignore
147562
147562
  type: "string_literal",
147563
147563
  // @ts-ignore
147564
- text: _t(),
147564
+ text: Vt(),
147565
147565
  // @ts-ignore
147566
147566
  value: t.join("")
147567
147567
  });
@@ -147572,7 +147572,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147572
147572
  // @ts-ignore
147573
147573
  type: "string_literal",
147574
147574
  // @ts-ignore
147575
- text: _t(),
147575
+ text: Vt(),
147576
147576
  // @ts-ignore
147577
147577
  value: t.join("")
147578
147578
  });
@@ -147620,7 +147620,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147620
147620
  // @ts-ignore
147621
147621
  type: "string_literal",
147622
147622
  // @ts-ignore
147623
- text: _t(),
147623
+ text: Vt(),
147624
147624
  // @ts-ignore
147625
147625
  value: t.value
147626
147626
  });
@@ -147629,7 +147629,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147629
147629
  // @ts-ignore
147630
147630
  type: "string_literal",
147631
147631
  // @ts-ignore
147632
- text: _t(),
147632
+ text: Vt(),
147633
147633
  // @ts-ignore
147634
147634
  value: t
147635
147635
  });
@@ -147638,7 +147638,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147638
147638
  // @ts-ignore
147639
147639
  type: "blob_literal",
147640
147640
  // @ts-ignore
147641
- text: _t(),
147641
+ text: Vt(),
147642
147642
  // @ts-ignore
147643
147643
  value: (0, wf.parseTextBlob)(t)
147644
147644
  });
@@ -147655,7 +147655,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147655
147655
  // @ts-ignore
147656
147656
  type: "string_literal",
147657
147657
  // @ts-ignore
147658
- text: _t(),
147658
+ text: Vt(),
147659
147659
  // @ts-ignore
147660
147660
  value: t
147661
147661
  });
@@ -147668,18 +147668,18 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147668
147668
  // @ts-ignore
147669
147669
  type: "string_literal",
147670
147670
  // @ts-ignore
147671
- text: _t(),
147671
+ text: Vt(),
147672
147672
  // @ts-ignore
147673
147673
  value: s
147674
147674
  });
147675
147675
  }, KOe = function() {
147676
- return _t();
147676
+ return Vt();
147677
147677
  }, FOe = function(t) {
147678
147678
  return (0, O.loc)({
147679
147679
  // @ts-ignore
147680
147680
  type: "blob_literal",
147681
147681
  // @ts-ignore
147682
- text: _t(),
147682
+ text: Vt(),
147683
147683
  // @ts-ignore
147684
147684
  value: (0, wf.parseTextBlob)(t.value)
147685
147685
  });
@@ -147779,7 +147779,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147779
147779
  // @ts-ignore
147780
147780
  type: "blob_literal",
147781
147781
  // @ts-ignore
147782
- text: _t(),
147782
+ text: Vt(),
147783
147783
  // @ts-ignore
147784
147784
  value: (0, wf.parseHexBlob)(t)
147785
147785
  });
@@ -147788,7 +147788,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147788
147788
  // @ts-ignore
147789
147789
  type: "blob_literal",
147790
147790
  // @ts-ignore
147791
- text: _t(),
147791
+ text: Vt(),
147792
147792
  // @ts-ignore
147793
147793
  value: (0, wf.parseBitBlob)(t)
147794
147794
  });
@@ -147805,25 +147805,25 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147805
147805
  // @ts-ignore
147806
147806
  type: "number_literal",
147807
147807
  // @ts-ignore
147808
- text: _t(),
147808
+ text: Vt(),
147809
147809
  // @ts-ignore
147810
- value: parseInt(_t().replace(/_/g, ""), 16)
147810
+ value: parseInt(Vt().replace(/_/g, ""), 16)
147811
147811
  });
147812
147812
  }, p_e = function() {
147813
147813
  return (0, O.loc)({
147814
147814
  // @ts-ignore
147815
147815
  type: "number_literal",
147816
147816
  // @ts-ignore
147817
- text: _t(),
147817
+ text: Vt(),
147818
147818
  // @ts-ignore
147819
- value: parseInt(_t(), 16)
147819
+ value: parseInt(Vt(), 16)
147820
147820
  });
147821
147821
  }, c_e = function(t) {
147822
147822
  return (0, O.loc)({
147823
147823
  // @ts-ignore
147824
147824
  type: "blob_literal",
147825
147825
  // @ts-ignore
147826
- text: _t(),
147826
+ text: Vt(),
147827
147827
  // @ts-ignore
147828
147828
  value: (0, wf.parseHexBlob)(t)
147829
147829
  });
@@ -147832,7 +147832,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147832
147832
  // @ts-ignore
147833
147833
  type: "number_literal",
147834
147834
  // @ts-ignore
147835
- text: _t(),
147835
+ text: Vt(),
147836
147836
  // @ts-ignore
147837
147837
  value: parseInt(t.replace(/_/g, ""), 2)
147838
147838
  });
@@ -147841,7 +147841,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147841
147841
  // @ts-ignore
147842
147842
  type: "blob_literal",
147843
147843
  // @ts-ignore
147844
- text: _t(),
147844
+ text: Vt(),
147845
147845
  // @ts-ignore
147846
147846
  value: (0, wf.parseBitBlob)(t)
147847
147847
  });
@@ -147850,7 +147850,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147850
147850
  // @ts-ignore
147851
147851
  type: "number_literal",
147852
147852
  // @ts-ignore
147853
- text: _t(),
147853
+ text: Vt(),
147854
147854
  // @ts-ignore
147855
147855
  value: parseInt(t.replace(/_/g, ""), 8)
147856
147856
  });
@@ -147859,21 +147859,21 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147859
147859
  // @ts-ignore
147860
147860
  type: "number_literal",
147861
147861
  // @ts-ignore
147862
- text: _t(),
147862
+ text: Vt(),
147863
147863
  // @ts-ignore
147864
- value: parseFloat(_t().replace(/_/g, ""))
147864
+ value: parseFloat(Vt().replace(/_/g, ""))
147865
147865
  });
147866
147866
  }, T_e = function() {
147867
147867
  return (0, O.loc)({
147868
147868
  // @ts-ignore
147869
147869
  type: "number_literal",
147870
147870
  // @ts-ignore
147871
- text: _t(),
147871
+ text: Vt(),
147872
147872
  // @ts-ignore
147873
- value: parseFloat(_t())
147873
+ value: parseFloat(Vt())
147874
147874
  });
147875
147875
  }, v_e = function() {
147876
- return _t();
147876
+ return Vt();
147877
147877
  }, b_e = function(t) {
147878
147878
  return t.filter(pn.isEnabledWhitespace);
147879
147879
  }, E_e = function(t) {
@@ -147889,33 +147889,33 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147889
147889
  // @ts-ignore
147890
147890
  type: "block_comment",
147891
147891
  // @ts-ignore
147892
- text: _t()
147892
+ text: Vt()
147893
147893
  });
147894
147894
  }, D_e = function() {
147895
147895
  return (0, O.loc)({
147896
147896
  // @ts-ignore
147897
147897
  type: "block_comment",
147898
147898
  // @ts-ignore
147899
- text: _t()
147899
+ text: Vt()
147900
147900
  });
147901
147901
  }, w_e = function() {
147902
147902
  return (0, O.loc)({
147903
147903
  // @ts-ignore
147904
147904
  type: "line_comment",
147905
147905
  // @ts-ignore
147906
- text: _t()
147906
+ text: Vt()
147907
147907
  });
147908
147908
  }, C_e = function() {
147909
147909
  return (0, O.loc)({
147910
147910
  // @ts-ignore
147911
147911
  type: "line_comment",
147912
147912
  // @ts-ignore
147913
- text: _t()
147913
+ text: Vt()
147914
147914
  });
147915
147915
  }, O_e = function() {
147916
- return { type: "space", text: _t() };
147916
+ return { type: "space", text: Vt() };
147917
147917
  }, __e = function() {
147918
- return { type: "newline", text: _t() };
147918
+ return { type: "newline", text: Vt() };
147919
147919
  }, V_e = function() {
147920
147920
  return (0, pn.isBigquery)();
147921
147921
  }, N_e = function() {
@@ -147933,7 +147933,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
147933
147933
  // @ts-ignore
147934
147934
  type: "unsupported_grammar_stmt",
147935
147935
  // @ts-ignore
147936
- text: _t()
147936
+ text: Vt()
147937
147937
  });
147938
147938
  }, M_e = function(t) {
147939
147939
  return (0, O.loc)((0, k.createKeyword)(t));
@@ -149097,7 +149097,7 @@ const Df = Jn, xR = MT, wf = n3, k = $i, so = fl, P = kA, pn = jA, BL = KA, O =
149097
149097
  throw new Error(`Can't start parsing from rule "` + c.startRule + '".');
149098
149098
  v = T[c.startRule];
149099
149099
  }
149100
- function _t() {
149100
+ function Vt() {
149101
149101
  return l.substring(R, r);
149102
149102
  }
149103
149103
  function K(t, s) {
@@ -159415,7 +159415,7 @@ const NBi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
159415
159415
  resolveAreThereConflictingColumnsInSelectAll: l3,
159416
159416
  whereStatementOperatorToSQL: o3
159417
159417
  }, Symbol.toStringTag, { value: "Module" })), f3 = (d) => d !== null && typeof d == "object";
159418
- function Ot(d) {
159418
+ function _t(d) {
159419
159419
  const p = d || "";
159420
159420
  let i = (p == null ? void 0 : p.replaceAll('""', '"').trim()) || "";
159421
159421
  return p.startsWith('"') && (i = i.slice(1)), p.endsWith('"') && (i = i.slice(0, i.length - 1)), i;
@@ -159508,18 +159508,18 @@ function m3(d) {
159508
159508
  function WO(d, p) {
159509
159509
  var i;
159510
159510
  if (d.type === "identifier") {
159511
- const n = ((i = p == null ? void 0 : p.right) == null ? void 0 : i.type) === "alias" ? p.right.alias.text : Ot(d.text);
159511
+ const n = ((i = p == null ? void 0 : p.right) == null ? void 0 : i.type) === "alias" ? p.right.alias.text : _t(d.text);
159512
159512
  return {
159513
159513
  type: "table",
159514
- name: Ot(d.text),
159514
+ name: _t(d.text),
159515
159515
  as: n
159516
159516
  };
159517
159517
  } else {
159518
159518
  if (d.type === "alias")
159519
159519
  return {
159520
159520
  type: "table",
159521
- name: d.expr.type === "identifier" ? Ot(d.expr.text) : "",
159522
- as: Ot(d.alias.text)
159521
+ name: d.expr.type === "identifier" ? _t(d.expr.text) : "",
159522
+ as: _t(d.alias.text)
159523
159523
  };
159524
159524
  if (d.type === "join_expr")
159525
159525
  return WO(d.left, d);
@@ -159537,10 +159537,10 @@ function v3(d) {
159537
159537
  if (p != null && p.name)
159538
159538
  return p;
159539
159539
  const i = m3(d);
159540
- return i && i.selectStatement && Ot(i.as) ? {
159540
+ return i && i.selectStatement && _t(i.as) ? {
159541
159541
  type: "query",
159542
159542
  subquery: i.selectStatement,
159543
- as: Ot(i.as)
159543
+ as: _t(i.as)
159544
159544
  } : null;
159545
159545
  }
159546
159546
  function zO(d) {
@@ -159553,11 +159553,11 @@ function lm(d, p = "") {
159553
159553
  const i = [];
159554
159554
  return (n = d.columns) == null || n.items.forEach((l) => {
159555
159555
  if (l.type === "alias") {
159556
- if (l.expr.type === "member_expr" && l.expr.object.type === "identifier" && (p && Ot(l.expr.object.text) === p || !p)) {
159556
+ if (l.expr.type === "member_expr" && l.expr.object.type === "identifier" && (p && _t(l.expr.object.text) === p || !p)) {
159557
159557
  let c = "", e = "";
159558
- if (l.expr.property.type === "identifier" && (e = Ot(
159558
+ if (l.expr.property.type === "identifier" && (e = _t(
159559
159559
  l.expr.property.text
159560
- )), l.alias.type === "identifier" && (c = Ot(l.alias.text)), l.expr.property.text === Ot(l.alias.text) || !e || !c)
159560
+ )), l.alias.type === "identifier" && (c = _t(l.alias.text)), l.expr.property.text === _t(l.alias.text) || !e || !c)
159561
159561
  return;
159562
159562
  i.push({
159563
159563
  from: e,
@@ -159566,7 +159566,7 @@ function lm(d, p = "") {
159566
159566
  return;
159567
159567
  } else if (l.alias.type === "identifier") {
159568
159568
  let c = "", e = "";
159569
- if (l.expr.type === "identifier" && (e = Ot(l.expr.text)), l.alias.type === "identifier" && (c = Ot(l.alias.text)), !e || !c)
159569
+ if (l.expr.type === "identifier" && (e = _t(l.expr.text)), l.alias.type === "identifier" && (c = _t(l.alias.text)), !e || !c)
159570
159570
  return;
159571
159571
  i.push({
159572
159572
  from: e,
@@ -159574,9 +159574,9 @@ function lm(d, p = "") {
159574
159574
  });
159575
159575
  return;
159576
159576
  }
159577
- } else if (l.type === "member_expr" && l.object.type === "identifier" && (p && Ot(l.object.text) === p || !p)) {
159577
+ } else if (l.type === "member_expr" && l.object.type === "identifier" && (p && _t(l.object.text) === p || !p)) {
159578
159578
  let c = "", e = "";
159579
- if (l.property.type === "identifier" && (e = Ot(l.property.text), c = Ot(l.property.text)), l.property.text === e || !e || !c)
159579
+ if (l.property.type === "identifier" && (e = _t(l.property.text), c = _t(l.property.text)), l.property.text === e || !e || !c)
159580
159580
  return;
159581
159581
  i.push({
159582
159582
  from: e,
@@ -159585,7 +159585,7 @@ function lm(d, p = "") {
159585
159585
  return;
159586
159586
  } else if (l.type === "identifier") {
159587
159587
  let c = "", e = "";
159588
- if (l.type === "identifier" && (e = Ot(l.text)), l.type === "identifier" && (c = Ot(l.text)), !e || !c)
159588
+ if (l.type === "identifier" && (e = _t(l.text)), l.type === "identifier" && (c = _t(l.text)), !e || !c)
159589
159589
  return;
159590
159590
  i.push({
159591
159591
  from: e,
@@ -159604,23 +159604,23 @@ function b3(d) {
159604
159604
  name: l.alias.text,
159605
159605
  source: null
159606
159606
  };
159607
- l.expr.type === "member_expr" && l.expr.object.type === "identifier" && (e.source = Ot(
159607
+ l.expr.type === "member_expr" && l.expr.object.type === "identifier" && (e.source = _t(
159608
159608
  l.expr.object.text
159609
159609
  )), n.columns.push(e);
159610
159610
  } else if (l.type === "member_expr")
159611
159611
  if (l.property.type === "identifier") {
159612
159612
  const c = {
159613
- name: Ot(l.property.text),
159613
+ name: _t(l.property.text),
159614
159614
  source: null
159615
159615
  };
159616
- l.object.type === "identifier" && (c.source = Ot(l.object.text)), n.columns.push(c);
159616
+ l.object.type === "identifier" && (c.source = _t(l.object.text)), n.columns.push(c);
159617
159617
  } else
159618
159618
  l.property.type === "all_columns" && l.object.type === "identifier" && n.scopedSelectAll.push(
159619
- Ot(l.object.text)
159619
+ _t(l.object.text)
159620
159620
  );
159621
159621
  else if (l.type === "identifier") {
159622
159622
  const c = {
159623
- name: Ot(l.text),
159623
+ name: _t(l.text),
159624
159624
  source: null
159625
159625
  };
159626
159626
  n.columns.push(c);
@@ -159641,13 +159641,13 @@ function E3(d) {
159641
159641
  }
159642
159642
  function A3(d) {
159643
159643
  if (d.right.type === "identifier")
159644
- return Ot(d.right.text);
159644
+ return _t(d.right.text);
159645
159645
  if (d.right.type === "alias") {
159646
159646
  const p = d.right;
159647
159647
  if (p.expr.type === "identifier")
159648
- return Ot(p.expr.text);
159648
+ return _t(p.expr.text);
159649
159649
  if (p.alias.type === "identifier")
159650
- return Ot(p.alias.text);
159650
+ return _t(p.alias.text);
159651
159651
  }
159652
159652
  return "";
159653
159653
  }
@@ -159807,10 +159807,10 @@ function uo(d, p, i, n, l = !1) {
159807
159807
  const ce = d.left;
159808
159808
  if (ce.type === "identifier") {
159809
159809
  const re = p.find(
159810
- (ye) => Ot(ye.as) === Ot(ce.text)
159810
+ (ye) => _t(ye.as) === _t(ce.text)
159811
159811
  );
159812
159812
  if (re) {
159813
- c.left = new Gi(i), c.left.source = re.source, c.left.as = Ot(re.as);
159813
+ c.left = new Gi(i), c.left.source = re.source, c.left.as = _t(re.as);
159814
159814
  const ye = new wa(i);
159815
159815
  ye.entity = ((e = re.parent) == null ? void 0 : e.entity) || null, ye.query = ((y = re.parent) == null ? void 0 : y.query) || null, ye.aggregation = ((T = re.parent) == null ? void 0 : T.aggregation) || null, ye.sourceType = ((v = re.parent) == null ? void 0 : v.sourceType) || null;
159816
159816
  const _e = i.addDataSource(ye);
@@ -159819,13 +159819,13 @@ function uo(d, p, i, n, l = !1) {
159819
159819
  } else if (ce.type === "member_expr") {
159820
159820
  if (l)
159821
159821
  debugger;
159822
- const re = ce.property.type === "identifier" ? Ot(ce.property.text) : "", ye = p.find(
159823
- (_e) => Ot(_e.as) === re
159822
+ const re = ce.property.type === "identifier" ? _t(ce.property.text) : "", ye = p.find(
159823
+ (_e) => _t(_e.as) === re
159824
159824
  );
159825
159825
  if (l)
159826
159826
  debugger;
159827
159827
  if (ye) {
159828
- c.left = new Gi(i), c.left.source = ye, c.left.as = Ot(ye.as);
159828
+ c.left = new Gi(i), c.left.source = ye, c.left.as = _t(ye.as);
159829
159829
  const _e = new wa(i);
159830
159830
  _e.entity = ((b = ye.parent) == null ? void 0 : b.entity) || null, _e.query = ((E = ye.parent) == null ? void 0 : E.query) || null, _e.aggregation = ((w = ye.parent) == null ? void 0 : w.aggregation) || null, _e.sourceType = ((_ = ye.parent) == null ? void 0 : _.sourceType) || null;
159831
159831
  const Ne = i.addDataSource(_e);
@@ -159894,10 +159894,10 @@ function uo(d, p, i, n, l = !1) {
159894
159894
  debugger;
159895
159895
  if (me.type === "identifier") {
159896
159896
  const re = p.find(
159897
- (ye) => Ot(ye.as) === Ot(me.text)
159897
+ (ye) => _t(ye.as) === _t(me.text)
159898
159898
  );
159899
159899
  if (re) {
159900
- c.right = new Gi(i), c.right.source = re, c.right.as = Ot(re.as);
159900
+ c.right = new Gi(i), c.right.source = re, c.right.as = _t(re.as);
159901
159901
  const ye = new wa(i);
159902
159902
  ye.entity = (($ = re.parent) == null ? void 0 : $.entity) || null, ye.query = ((L = re.parent) == null ? void 0 : L.query) || null, ye.aggregation = ((U = re.parent) == null ? void 0 : U.aggregation) || null, ye.sourceType = ((F = re.parent) == null ? void 0 : F.sourceType) || null;
159903
159903
  const _e = i.addDataSource(ye);
@@ -159906,13 +159906,13 @@ function uo(d, p, i, n, l = !1) {
159906
159906
  } else if (me.type === "member_expr") {
159907
159907
  if (l)
159908
159908
  debugger;
159909
- const re = me.property.type === "identifier" ? Ot(me.property.text) : "", ye = p.find(
159910
- (_e) => Ot(_e.as) === re
159909
+ const re = me.property.type === "identifier" ? _t(me.property.text) : "", ye = p.find(
159910
+ (_e) => _t(_e.as) === re
159911
159911
  );
159912
159912
  if (l)
159913
159913
  debugger;
159914
159914
  if (ye) {
159915
- c.right = new Gi(i), c.right.source = ye, c.right.as = Ot(ye.as);
159915
+ c.right = new Gi(i), c.right.source = ye, c.right.as = _t(ye.as);
159916
159916
  const _e = new wa(i);
159917
159917
  _e.entity = ((Z = ye.parent) == null ? void 0 : Z.entity) || null, _e.query = ((X = ye.parent) == null ? void 0 : X.query) || null, _e.aggregation = ((ae = ye.parent) == null ? void 0 : ae.aggregation) || null, _e.sourceType = ((Q = ye.parent) == null ? void 0 : Q.sourceType) || null;
159918
159918
  const Ne = i.addDataSource(_e);
@@ -160057,7 +160057,7 @@ function YO(d, p, i, n, l, c = {
160057
160057
  if (e)
160058
160058
  debugger;
160059
160059
  const ae = new ZO(n);
160060
- ae.as = d.right.alias.text || Ot(
160060
+ ae.as = d.right.alias.text || _t(
160061
160061
  ((L = ($ = ae.statement) == null ? void 0 : $.from) == null ? void 0 : L.as) || ""
160062
160062
  ) || null;
160063
160063
  const Q = Tm(
@@ -160070,24 +160070,24 @@ function YO(d, p, i, n, l, c = {
160070
160070
  fe.query = ae, fe.sourceType = Xo.Query;
160071
160071
  const oe = ((U = Q.state) == null ? void 0 : U.columns.map((ye) => {
160072
160072
  const _e = _.find(
160073
- (Ne) => Ne.from === Ot(ye.as)
160073
+ (Ne) => Ne.from === _t(ye.as)
160074
160074
  );
160075
160075
  return _e ? {
160076
160076
  as: _e.to,
160077
160077
  column: {
160078
- columnName: Ot(ye.as),
160078
+ columnName: _t(ye.as),
160079
160079
  property: ye.property
160080
160080
  }
160081
160081
  } : {
160082
- as: Ot(ye.as),
160082
+ as: _t(ye.as),
160083
160083
  column: {
160084
- columnName: Ot(ye.as),
160084
+ columnName: _t(ye.as),
160085
160085
  property: ye.property
160086
160086
  }
160087
160087
  };
160088
160088
  })) || [];
160089
160089
  v.push(...oe);
160090
- const ce = Ot(d.right.alias.text), me = new Hb(n), re = Wb(
160090
+ const ce = _t(d.right.alias.text), me = new Hb(n), re = Wb(
160091
160091
  d,
160092
160092
  [...fe.columns, ...i],
160093
160093
  n,
@@ -160128,7 +160128,7 @@ function YO(d, p, i, n, l, c = {
160128
160128
  if (fe.joinType = E, Object.values(Mf).includes(E)) {
160129
160129
  fe.on = oe;
160130
160130
  const ce = n.addDataSource(ae);
160131
- if (fe.dataSource = ce, fe.as = Ot(
160131
+ if (fe.dataSource = ce, fe.as = _t(
160132
160132
  d.right.alias.text
160133
160133
  ), e)
160134
160134
  debugger;
@@ -160168,7 +160168,7 @@ function YO(d, p, i, n, l, c = {
160168
160168
  );
160169
160169
  if (fe.joinType = E, Object.values(Mf).includes(E)) {
160170
160170
  const ce = n.addDataSource(ae);
160171
- if (fe.dataSource = ce, fe.on = oe, fe.as = Ot(d.right.text), e)
160171
+ if (fe.dataSource = ce, fe.on = oe, fe.as = _t(d.right.text), e)
160172
160172
  debugger;
160173
160173
  T.push(fe);
160174
160174
  }
@@ -160326,7 +160326,7 @@ function V3(d, p, i, n) {
160326
160326
  return d.specifications.items.reduce((c, e) => {
160327
160327
  var w, _;
160328
160328
  let y, T = "";
160329
- ((w = e.direction) == null ? void 0 : w.type) === "sort_direction_asc" ? y = "asc" : ((_ = e.direction) == null ? void 0 : _.type) === "sort_direction_desc" ? y = "desc" : y = "asc", e.expr.type === "member_expr" ? e.expr.property.type === "identifier" && (T += Ot(e.expr.property.text)) : e.expr.type === "identifier" && (T = Ot(e.expr.text));
160329
+ ((w = e.direction) == null ? void 0 : w.type) === "sort_direction_asc" ? y = "asc" : ((_ = e.direction) == null ? void 0 : _.type) === "sort_direction_desc" ? y = "desc" : y = "asc", e.expr.type === "member_expr" ? e.expr.property.type === "identifier" && (T += _t(e.expr.property.text)) : e.expr.type === "identifier" && (T = _t(e.expr.text));
160330
160330
  const v = new p3(n), b = n.selections.find(($) => {
160331
160331
  var L, U;
160332
160332
  if ($.type === dE.ColumnRef) {
@@ -160403,7 +160403,7 @@ function Tm(d, p, i = null, n = !1) {
160403
160403
  }
160404
160404
  } else if ((T == null ? void 0 : T.type) === "query") {
160405
160405
  const re = new ZO(c);
160406
- re.as = Ot(T == null ? void 0 : T.as) || (T == null ? void 0 : T.name) || "Nested search";
160406
+ re.as = _t(T == null ? void 0 : T.as) || (T == null ? void 0 : T.name) || "Nested search";
160407
160407
  const ye = Tm(
160408
160408
  T.subquery,
160409
160409
  p
@@ -160427,7 +160427,7 @@ function Tm(d, p, i = null, n = !1) {
160427
160427
  (T == null ? void 0 : T.name) || ""
160428
160428
  ) : [], _ = b ? lm(
160429
160429
  b,
160430
- Ot(T == null ? void 0 : T.as) || ""
160430
+ _t(T == null ? void 0 : T.as) || ""
160431
160431
  ) : [], $ = [
160432
160432
  ...w,
160433
160433
  ..._
@@ -160467,7 +160467,7 @@ function Tm(d, p, i = null, n = !1) {
160467
160467
  ...Z.columnMappings
160468
160468
  // Filter out duplicates
160469
160469
  ].filter((re, ye, _e) => _e.findIndex(
160470
- (Ne) => Ot(Ne.as) === Ot(re.as)
160470
+ (Ne) => _t(Ne.as) === _t(re.as)
160471
160471
  ) === ye);
160472
160472
  $.forEach((re) => {
160473
160473
  var Ne, Me, xe, Ge, We;
@@ -160475,7 +160475,7 @@ function Tm(d, p, i = null, n = !1) {
160475
160475
  (Fe) => Fe.as === re.from
160476
160476
  );
160477
160477
  if (_e) {
160478
- ye.source = _e, ye.as = Ot(re.to);
160478
+ ye.source = _e, ye.as = _t(re.to);
160479
160479
  const Fe = new wa(c);
160480
160480
  Fe.entity = (Me = _e.parent) == null ? void 0 : Me.entity, Fe.sourceType = ((xe = _e.parent) == null ? void 0 : xe.sourceType) || null, Fe.query = ((Ge = _e.parent) == null ? void 0 : Ge.query) || null, Fe.aggregation = ((We = _e.parent) == null ? void 0 : We.aggregation) || null;
160481
160481
  const Se = c.addDataSource(Fe);
@@ -160486,9 +160486,9 @@ function Tm(d, p, i = null, n = !1) {
160486
160486
  const _e = Z.aggregations[ye];
160487
160487
  for (let Ne = 0; Ne < _e.columns.length; Ne++) {
160488
160488
  const Me = _e.columns[Ne];
160489
- if (Ot(Me.as) === re.from) {
160489
+ if (_t(Me.as) === re.from) {
160490
160490
  const xe = new Gi(c);
160491
- xe.source = Me, xe.as = Ot(re.to);
160491
+ xe.source = Me, xe.as = _t(re.to);
160492
160492
  const Ge = new wa(c);
160493
160493
  Ge.sourceType = Xo.Aggregation, Ge.aggregation = _e;
160494
160494
  const We = c.addDataSource(Ge);
@@ -160505,7 +160505,7 @@ function Tm(d, p, i = null, n = !1) {
160505
160505
  ).forEach((re) => {
160506
160506
  c.addSelection(re);
160507
160507
  }), U == null || U.scopedSelectAll.forEach((re) => {
160508
- const ye = c.usedDataSources.find((Ne) => Ot(Ne.as) === re);
160508
+ const ye = c.usedDataSources.find((Ne) => _t(Ne.as) === re);
160509
160509
  if (!ye)
160510
160510
  return;
160511
160511
  const _e = new zf(c);
@@ -160577,7 +160577,7 @@ const PBi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
160577
160577
  hydrateSearchStatementState: Tm,
160578
160578
  loadProjectDatasources: HO,
160579
160579
  sanitizeQuery: Pf,
160580
- sanitizeSQLIdentifierText: Ot
160580
+ sanitizeSQLIdentifierText: _t
160581
160581
  }, Symbol.toStringTag, { value: "Module" }));
160582
160582
  function wG(d) {
160583
160583
  switch (d) {
@@ -195116,7 +195116,7 @@ const xZ = {
195116
195116
  }, fMi = {
195117
195117
  requestActiveDynamicValue: (d, p = !1) => null,
195118
195118
  ...xZ
195119
- }, Nt = class Nt extends $r {
195119
+ }, Ot = class Ot extends $r {
195120
195120
  constructor(i, n = {
195121
195121
  ...fMi,
195122
195122
  // Override the events with a new instance so multiple projects can coexist
@@ -195183,7 +195183,7 @@ const xZ = {
195183
195183
  I(this, "onPersistChangeSetInParallelCallback", null);
195184
195184
  I(this, "onAddChangeSetCallback", null);
195185
195185
  I(this, "onDiscardChangeSetCallback", null);
195186
- if (this.parentContext = n, this.initialData = i, this.id = i.id, this.name = i.name, this.description = i.description, this.x = 0, this.y = 0, this.instances[this.id] = this, !Nt.UUID)
195186
+ if (this.parentContext = n, this.initialData = i, this.id = i.id, this.name = i.name, this.description = i.description, this.x = 0, this.y = 0, this.instances[this.id] = this, !Ot.UUID)
195187
195187
  throw new Error(
195188
195188
  "UUID module is already initialized. Please inject a valid UUID module."
195189
195189
  );
@@ -195195,10 +195195,10 @@ const xZ = {
195195
195195
  // Creates a new empty entity transfer object
195196
195196
  static new(i = null) {
195197
195197
  return {
195198
- id: Nt.UUID.uuid(),
195199
- version: Nt.UUID.uuid(),
195198
+ id: Ot.UUID.uuid(),
195199
+ version: Ot.UUID.uuid(),
195200
195200
  createdAt: (i == null ? void 0 : i.timestamp) || G().toISOString(),
195201
- author: (i == null ? void 0 : i.author) || Nt.sessionAuthor,
195201
+ author: (i == null ? void 0 : i.author) || Ot.sessionAuthor,
195202
195202
  previousVersion: null,
195203
195203
  deleted: !1,
195204
195204
  deletable: !0,
@@ -195415,7 +195415,7 @@ const xZ = {
195415
195415
  syncDependents(i = this.project.addChangeSet(
195416
195416
  new q(
195417
195417
  this.project,
195418
- Nt.sessionAuthor,
195418
+ Ot.sessionAuthor,
195419
195419
  G().toISOString(),
195420
195420
  this,
195421
195421
  !0,
@@ -195477,18 +195477,14 @@ const xZ = {
195477
195477
  throw new Error(
195478
195478
  `The shared timestamp '${i}' is not a valid ISO 8601 date string.`
195479
195479
  );
195480
- if (i && G(i).isSame(G(this.createdAt)))
195481
- return this;
195482
- throw new Error(
195483
- "Test error. Current v: " + this.version + ", prev: " + this.previousVersion + ", sharedTs: " + i
195484
- );
195480
+ return i && G(i).isSame(G(this.createdAt)) ? this : (this.previousVersion = this.version, this.version = Ot.UUID.uuid(), this.createdAt = G(i).toISOString() || G().toISOString(), this);
195485
195481
  }
195486
195482
  // Creates a new instance of the current entity state
195487
195483
  // with all of its data and entity references
195488
195484
  // And adds it to the 'knownVersions' map
195489
195485
  captureVersion() {
195490
195486
  var n;
195491
- const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new Nt(this);
195487
+ const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new Ot(this);
195492
195488
  return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.entities = [...this.entities], i.projects = [...this.projects], i.functions = [...this.functions], i.events = [...this.events], i.variableDeclarations = [...this.variableDeclarations], i.variableInstances = [...this.variableInstances], i.conditions = [...this.conditions], i.operations = [...this.operations], i.functionCalls = [...this.functionCalls], i.loops = [...this.loops], i.searches = [...this.searches], this;
195493
195489
  }
195494
195490
  // Traverses upstream entities and captures their versions as well
@@ -195548,7 +195544,7 @@ const xZ = {
195548
195544
  throw new Error(
195549
195545
  `Version with id '${i}' for entity with id '${this.id}' not found.`
195550
195546
  );
195551
- y = new Nt(v);
195547
+ y = new Ot(v);
195552
195548
  }
195553
195549
  return this.metaSync(y.toShallowJSON(), null), this.previousVersion = y.previousVersion, this.version = y.version, this.createdAt = y.createdAt, this.author = y.author, this.deleted = y.deleted, this.entities = y.entities, this.projects = y.projects, this.functions = y.functions, this.events = y.events, this.variableDeclarations = y.variableDeclarations, this.variableInstances = y.variableInstances, this.conditions = y.conditions, this.operations = y.operations, this.functionCalls = y.functionCalls, this.loops = y.loops, this.searches = y.searches, {
195554
195550
  updated: D(n),
@@ -195563,7 +195559,7 @@ const xZ = {
195563
195559
  updateWithShallowTransfer(i, n = this.project.addChangeSet(
195564
195560
  new q(
195565
195561
  this.project,
195566
- Nt.sessionAuthor,
195562
+ Ot.sessionAuthor,
195567
195563
  G().toISOString(),
195568
195564
  this,
195569
195565
  !0,
@@ -195635,7 +195631,7 @@ const xZ = {
195635
195631
  initChildren(i = this.project.addChangeSet(
195636
195632
  new q(
195637
195633
  this.project,
195638
- Nt.sessionAuthor,
195634
+ Ot.sessionAuthor,
195639
195635
  G().toISOString(),
195640
195636
  this,
195641
195637
  !0,
@@ -195757,7 +195753,7 @@ const xZ = {
195757
195753
  metaSync(i, n = this.project.addChangeSet(
195758
195754
  new q(
195759
195755
  this.project,
195760
- Nt.sessionAuthor,
195756
+ Ot.sessionAuthor,
195761
195757
  G().toISOString(),
195762
195758
  this,
195763
195759
  !0,
@@ -195768,22 +195764,22 @@ const xZ = {
195768
195764
  return this.name = l.name !== void 0 ? l.name : e.name, this.description = l.description !== void 0 ? l.description : e.description, this.x = l.x || e.x, this.y = l.y || e.y, super.baseMetaSync(l, this, n), l.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : l.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
195769
195765
  }
195770
195766
  async APILoad(i = Be, ...n) {
195771
- return await Nt.repository.APILoad(this.id, ...n), this;
195767
+ return await Ot.repository.APILoad(this.id, ...n), this;
195772
195768
  }
195773
195769
  async APICreate(i = Be, ...n) {
195774
- return await Nt.repository.APICreate(this.toShallowJSON(), ...n), this;
195770
+ return await Ot.repository.APICreate(this.toShallowJSON(), ...n), this;
195775
195771
  }
195776
195772
  async APIUpdate(i = Be, ...n) {
195777
- return await Nt.repository.APIUpdate(this.toShallowJSON(), ...n), this;
195773
+ return await Ot.repository.APIUpdate(this.toShallowJSON(), ...n), this;
195778
195774
  }
195779
195775
  async APIDelete(i = Be, ...n) {
195780
- return await Nt.repository.APIDelete(this.toShallowJSON(), ...n), this;
195776
+ return await Ot.repository.APIDelete(this.toShallowJSON(), ...n), this;
195781
195777
  }
195782
195778
  async APIClone(i = Be, ...n) {
195783
- return await Nt.repository.APIClone(this.id, ...n), this;
195779
+ return await Ot.repository.APIClone(this.id, ...n), this;
195784
195780
  }
195785
195781
  async APILoadVersion(i = Be, n, ...l) {
195786
- return await Nt.repository.APILoadVersion(
195782
+ return await Ot.repository.APILoadVersion(
195787
195783
  this.id,
195788
195784
  n,
195789
195785
  ...l
@@ -195799,7 +195795,7 @@ const xZ = {
195799
195795
  }, n = this.project.addChangeSet(
195800
195796
  new q(
195801
195797
  this.project,
195802
- Nt.sessionAuthor,
195798
+ Ot.sessionAuthor,
195803
195799
  G().toISOString(),
195804
195800
  this,
195805
195801
  !0,
@@ -195814,7 +195810,7 @@ const xZ = {
195814
195810
  restore({} = {}, i = this.project.addChangeSet(
195815
195811
  new q(
195816
195812
  this.project,
195817
- Nt.sessionAuthor,
195813
+ Ot.sessionAuthor,
195818
195814
  G().toISOString(),
195819
195815
  this,
195820
195816
  !0,
@@ -195979,7 +195975,7 @@ const xZ = {
195979
195975
  n.set(e, e);
195980
195976
  return;
195981
195977
  }
195982
- n.set(e, Nt.UUID.uuid());
195978
+ n.set(e, Ot.UUID.uuid());
195983
195979
  }), l.add(this.id), {
195984
195980
  id: n.get(this.id),
195985
195981
  version: this.version,
@@ -196086,7 +196082,7 @@ const xZ = {
196086
196082
  var l;
196087
196083
  let n = this.id;
196088
196084
  return (l = i.seenEntityMaps) != null && l.has(this.id) && (n = i.seenEntityMaps.get(this.id)), {
196089
- id: n + "--" + Nt.UUID.uuid() + "--ref",
196085
+ id: n + "--" + Ot.UUID.uuid() + "--ref",
196090
196086
  type: o.GenericReference,
196091
196087
  entityId: n,
196092
196088
  version: this.version,
@@ -196993,8 +196989,8 @@ const xZ = {
196993
196989
  };
196994
196990
  }
196995
196991
  };
196996
- I(Nt, "parentContext", xZ), I(Nt, "sessionAuthor", "1"), // User UUID of the current session author if known
196997
- I(Nt, "repository", {
196992
+ I(Ot, "parentContext", xZ), I(Ot, "sessionAuthor", "1"), // User UUID of the current session author if known
196993
+ I(Ot, "repository", {
196998
196994
  APICreate: async (i, ...n) => i,
196999
196995
  APIUpdate: async (i, ...n) => i,
197000
196996
  APIDelete: async (i, ...n) => i,
@@ -197002,42 +196998,42 @@ I(Nt, "repository", {
197002
196998
  },
197003
196999
  APILoad: async (i, ...n) => null,
197004
197000
  APILoadVersion: async (i, n, ...l) => null
197005
- }), I(Nt, "type", o.Project), I(Nt, "USER_MANAGED_PARENT_TYPES", []), I(Nt, "PARENT_TYPES", [
197006
- ...Nt.USER_MANAGED_PARENT_TYPES
197007
- ]), I(Nt, "MUTABLE_BASE_PROPERTIES", ["name", "description"]), I(Nt, "INMUTABLE_BASE_PROPERTIES", [
197001
+ }), I(Ot, "type", o.Project), I(Ot, "USER_MANAGED_PARENT_TYPES", []), I(Ot, "PARENT_TYPES", [
197002
+ ...Ot.USER_MANAGED_PARENT_TYPES
197003
+ ]), I(Ot, "MUTABLE_BASE_PROPERTIES", ["name", "description"]), I(Ot, "INMUTABLE_BASE_PROPERTIES", [
197008
197004
  "id",
197009
197005
  "type",
197010
197006
  "version",
197011
197007
  "createdAt",
197012
197008
  "author",
197013
197009
  "previousVersion"
197014
- ]), I(Nt, "BASE_PROPERTIES", [
197015
- ...Nt.MUTABLE_BASE_PROPERTIES,
197016
- ...Nt.INMUTABLE_BASE_PROPERTIES
197010
+ ]), I(Ot, "BASE_PROPERTIES", [
197011
+ ...Ot.MUTABLE_BASE_PROPERTIES,
197012
+ ...Ot.INMUTABLE_BASE_PROPERTIES
197017
197013
  ]), // Includes the base properties and the meta properties
197018
197014
  // Often contains properties related to UX, not necessary for the logic
197019
- I(Nt, "MUTABLE_META_PROPERTIES", [
197020
- ...Nt.MUTABLE_BASE_PROPERTIES,
197015
+ I(Ot, "MUTABLE_META_PROPERTIES", [
197016
+ ...Ot.MUTABLE_BASE_PROPERTIES,
197021
197017
  "x",
197022
197018
  "y"
197023
- ]), I(Nt, "INMUTABLE_META_PROPERTIES", [
197024
- ...Nt.INMUTABLE_BASE_PROPERTIES
197025
- ]), I(Nt, "META_PROPERTIES", [
197026
- ...Nt.MUTABLE_META_PROPERTIES,
197027
- ...Nt.INMUTABLE_META_PROPERTIES
197019
+ ]), I(Ot, "INMUTABLE_META_PROPERTIES", [
197020
+ ...Ot.INMUTABLE_BASE_PROPERTIES
197021
+ ]), I(Ot, "META_PROPERTIES", [
197022
+ ...Ot.MUTABLE_META_PROPERTIES,
197023
+ ...Ot.INMUTABLE_META_PROPERTIES
197028
197024
  ]), // Properties pointing to nested entities that are declared before the entity itself
197029
- I(Nt, "MUTABLE_UPSTREAM_PROPERTIES", []), I(Nt, "INMUTABLE_UPSTREAM_PROPERTIES", [
197025
+ I(Ot, "MUTABLE_UPSTREAM_PROPERTIES", []), I(Ot, "INMUTABLE_UPSTREAM_PROPERTIES", [
197030
197026
  "primitives",
197031
197027
  "builtInBaseEntities",
197032
197028
  "operationDeclarations",
197033
197029
  "globalEventActionDescriptors",
197034
197030
  "loopDeclarations",
197035
197031
  "builtInInstances"
197036
- ]), I(Nt, "UPSTREAM_PROPERTIES", [
197037
- ...Nt.MUTABLE_UPSTREAM_PROPERTIES,
197038
- ...Nt.INMUTABLE_UPSTREAM_PROPERTIES
197032
+ ]), I(Ot, "UPSTREAM_PROPERTIES", [
197033
+ ...Ot.MUTABLE_UPSTREAM_PROPERTIES,
197034
+ ...Ot.INMUTABLE_UPSTREAM_PROPERTIES
197039
197035
  ]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
197040
- I(Nt, "MUTABLE_DOWNSTREAM_PROPERTIES", [
197036
+ I(Ot, "MUTABLE_DOWNSTREAM_PROPERTIES", [
197041
197037
  "entities",
197042
197038
  "projects",
197043
197039
  "functions",
@@ -197049,15 +197045,15 @@ I(Nt, "MUTABLE_DOWNSTREAM_PROPERTIES", [
197049
197045
  "functionCalls",
197050
197046
  "loops",
197051
197047
  "searches"
197052
- ]), I(Nt, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), I(Nt, "DOWNSTREAM_PROPERTIES", [
197053
- ...Nt.MUTABLE_DOWNSTREAM_PROPERTIES,
197054
- ...Nt.INMUTABLE_DOWNSTREAM_PROPERTIES
197055
- ]), I(Nt, "PROPERTIES", [
197056
- ...Nt.META_PROPERTIES,
197057
- ...Nt.UPSTREAM_PROPERTIES,
197058
- ...Nt.DOWNSTREAM_PROPERTIES
197048
+ ]), I(Ot, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), I(Ot, "DOWNSTREAM_PROPERTIES", [
197049
+ ...Ot.MUTABLE_DOWNSTREAM_PROPERTIES,
197050
+ ...Ot.INMUTABLE_DOWNSTREAM_PROPERTIES
197051
+ ]), I(Ot, "PROPERTIES", [
197052
+ ...Ot.META_PROPERTIES,
197053
+ ...Ot.UPSTREAM_PROPERTIES,
197054
+ ...Ot.DOWNSTREAM_PROPERTIES
197059
197055
  ]);
197060
- let x = Nt;
197056
+ let x = Ot;
197061
197057
  class yMi extends Ni {
197062
197058
  constructor(p) {
197063
197059
  super(SE, p);