@zuplo/cli 1.80.0 → 1.81.0

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 (84) hide show
  1. package/dist/cli.js +23 -21
  2. package/dist/cmds/convert.js +2 -2
  3. package/dist/cmds/delete.js +2 -2
  4. package/dist/cmds/deploy.js +2 -2
  5. package/dist/cmds/dev.js +2 -2
  6. package/dist/cmds/editor.js +2 -2
  7. package/dist/cmds/link.js +2 -2
  8. package/dist/cmds/list.js +2 -2
  9. package/dist/cmds/login.js +2 -2
  10. package/dist/cmds/project/index.js +2 -2
  11. package/dist/cmds/project/update.js +2 -2
  12. package/dist/cmds/test.js +2 -2
  13. package/dist/cmds/tunnel/create.js +2 -2
  14. package/dist/cmds/tunnel/delete.js +2 -2
  15. package/dist/cmds/tunnel/describe.js +2 -2
  16. package/dist/cmds/tunnel/index.js +2 -2
  17. package/dist/cmds/tunnel/list.js +2 -2
  18. package/dist/cmds/tunnel/rotate-token.js +2 -2
  19. package/dist/cmds/tunnel/services/describe.js +2 -2
  20. package/dist/cmds/tunnel/services/index.js +2 -2
  21. package/dist/cmds/tunnel/services/update.js +2 -2
  22. package/dist/cmds/variable/create.js +2 -2
  23. package/dist/cmds/variable/index.js +2 -2
  24. package/dist/cmds/variable/update.js +2 -2
  25. package/dist/common/alias.js +2 -2
  26. package/dist/common/analytics/lib.js +2 -2
  27. package/dist/common/api/lib.js +2 -2
  28. package/dist/common/constants.js +2 -2
  29. package/dist/common/deno-utils/locator.js +2 -2
  30. package/dist/common/handler.js +2 -2
  31. package/dist/common/logger.js +2 -2
  32. package/dist/common/machine-id/lib.js +2 -2
  33. package/dist/common/middleware/user-configuration.js +2 -2
  34. package/dist/common/middleware/user-identification.js +2 -2
  35. package/dist/common/models.js +2 -2
  36. package/dist/common/output.js +2 -2
  37. package/dist/common/settings.js +2 -2
  38. package/dist/common/upgraders/lib.js +2 -2
  39. package/dist/common/upgraders/package-json-upgrader.js +2 -2
  40. package/dist/common/upgraders/vscode-settings-json-upgrader.js +2 -2
  41. package/dist/common/validators/file-system-validator.js +2 -2
  42. package/dist/common/validators/lib.js +2 -2
  43. package/dist/common/validators/login-state-validator.js +2 -2
  44. package/dist/common/validators/project-name-validator.js +2 -2
  45. package/dist/common/xdg/lib.js +2 -2
  46. package/dist/convert/engine.js +2 -2
  47. package/dist/convert/handler.js +2 -2
  48. package/dist/convert/routes.generated.js +2 -2
  49. package/dist/delete/handler.js +2 -2
  50. package/dist/delete/poll-deployment.js +2 -2
  51. package/dist/deploy/archive.js +2 -2
  52. package/dist/deploy/file-upload.js +2 -2
  53. package/dist/deploy/handler.js +2 -2
  54. package/dist/deploy/poll-deployment.js +2 -2
  55. package/dist/dev/handler.js +13 -3
  56. package/dist/editor/assets/index-03352ce7.js +2 -2
  57. package/dist/editor/handler.js +2 -2
  58. package/dist/editor/server/cors-plugin.js +2 -2
  59. package/dist/editor/server/server.js +12 -4
  60. package/dist/editor/server/xfs.js +2 -2
  61. package/dist/link/handler.js +2 -2
  62. package/dist/link/populate.js +2 -2
  63. package/dist/list/handler.js +2 -2
  64. package/dist/login/handler.js +2 -2
  65. package/dist/login/server.js +2 -2
  66. package/dist/project/update/handler.js +2 -2
  67. package/dist/test/esbuild-config.js +2 -2
  68. package/dist/test/esbuild-plugins/deno-test-prep-plugin.js +2 -2
  69. package/dist/test/handler.js +2 -2
  70. package/dist/test/invoke-test.js +2 -2
  71. package/dist/tunnel/create/handler.js +2 -2
  72. package/dist/tunnel/delete/handler.js +2 -2
  73. package/dist/tunnel/delete/poll-teardown-operation.js +2 -2
  74. package/dist/tunnel/describe/handler.js +2 -2
  75. package/dist/tunnel/list/handler.js +2 -2
  76. package/dist/tunnel/models.js +2 -2
  77. package/dist/tunnel/rotate-token/handler.js +2 -2
  78. package/dist/tunnel/services/describe/handler.js +2 -2
  79. package/dist/tunnel/services/update/handler.js +2 -2
  80. package/dist/tunnel/services/update/poll-provisioning-operations.js +2 -2
  81. package/dist/variable/create/handler.js +2 -2
  82. package/dist/variable/models.js +2 -2
  83. package/dist/variable/update/handler.js +2 -2
  84. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1cd4863b-e160-5034-be8d-a7c8eb8c8ae2")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d154f5e9-c679-56f7-bd91-57416bf774ef")}catch(e){}}();
3
3
  import { parse } from "jsonc-parser";
4
4
  import { existsSync } from "node:fs";
5
5
  import { readFile, writeFile } from "node:fs/promises";
@@ -93,4 +93,4 @@ export class VsCodeSettingsJsonUpgrader extends StandardUpgrader {
93
93
  }
94
94
  }
95
95
  //# sourceMappingURL=vscode-settings-json-upgrader.js.map
96
- //# debugId=1cd4863b-e160-5034-be8d-a7c8eb8c8ae2
96
+ //# debugId=d154f5e9-c679-56f7-bd91-57416bf774ef
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ea9751e2-2193-5d3e-87ee-31d1edaf2797")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="648539ee-2075-5ac0-b268-fc5ae066e234")}catch(e){}}();
3
3
  import fg from "fast-glob";
4
4
  import { existsSync, readdirSync } from "node:fs";
5
5
  import { join } from "node:path";
@@ -163,4 +163,4 @@ export const validDeployDirectoryValidator = new CompositeValidator(new ZuploPro
163
163
  export const validTestDirectoryValidator = new CompositeValidator(new ZuploProjectValidator(), new ZuploProjectHasTestsValidator());
164
164
  export const validLinkDirectoryValidator = new CompositeValidator(new ZuploProjectValidator(), new UserIsLoggedInValidator());
165
165
  //# sourceMappingURL=file-system-validator.js.map
166
- //# debugId=ea9751e2-2193-5d3e-87ee-31d1edaf2797
166
+ //# debugId=648539ee-2075-5ac0-b268-fc5ae066e234
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="51b930c4-1a49-59cf-858d-ccd74935ce72")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2f478e87-b9eb-58aa-a642-edebf3c67d1f")}catch(e){}}();
3
3
  export class CompositeValidator {
4
4
  validators = new Array();
5
5
  constructor(...validators) {
@@ -31,4 +31,4 @@ export class YargsChecker {
31
31
  }
32
32
  }
33
33
  //# sourceMappingURL=lib.js.map
34
- //# debugId=51b930c4-1a49-59cf-858d-ccd74935ce72
34
+ //# debugId=2f478e87-b9eb-58aa-a642-edebf3c67d1f
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1ef82943-79ab-58c3-85ba-7a052b51014b")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b7b6a78a-851e-5dd1-9612-d6e35ceab3cb")}catch(e){}}();
3
3
  import { existsSync } from "node:fs";
4
4
  import { readFile } from "node:fs/promises";
5
5
  import { join } from "node:path";
@@ -36,4 +36,4 @@ export class UserIsLoggedInValidator {
36
36
  }
37
37
  }
38
38
  //# sourceMappingURL=login-state-validator.js.map
39
- //# debugId=1ef82943-79ab-58c3-85ba-7a052b51014b
39
+ //# debugId=b7b6a78a-851e-5dd1-9612-d6e35ceab3cb
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9ee5b134-48fd-5a2b-a162-b5e08f2fac22")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="277e3041-3783-5b05-9c9e-046eccec3cf9")}catch(e){}}();
3
3
  export class ProjectIsNotSet extends Error {
4
4
  constructor() {
5
5
  super(`Missing project name. This command requires a project to be specified. Either specify it using --project or set it in zuplo.jsonc.
@@ -30,4 +30,4 @@ export class ProjectIsSetValidator {
30
30
  }
31
31
  }
32
32
  //# sourceMappingURL=project-name-validator.js.map
33
- //# debugId=9ee5b134-48fd-5a2b-a162-b5e08f2fac22
33
+ //# debugId=277e3041-3783-5b05-9c9e-046eccec3cf9
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="07c0e893-1d9c-5043-8872-af7d12092a4e")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b489b940-9f72-5e46-bb6b-f86931bf9503")}catch(e){}}();
3
3
  import { homedir } from "node:os";
4
4
  import path from "node:path";
5
5
  import { ZUPLO_CLI_XDG_FOLDER_NAME } from "../constants.js";
@@ -18,4 +18,4 @@ export const ZUPLO_XDG_CONFIG_HOME = path.join(XDG_CONFIG_HOME, ZUPLO_CLI_XDG_FO
18
18
  export const ZUPLO_XDG_DATA_HOME = path.join(XDG_DATA_HOME, ZUPLO_CLI_XDG_FOLDER_NAME);
19
19
  export const ZUPLO_XDG_STATE_HOME = path.join(XDG_STATE_HOME, ZUPLO_CLI_XDG_FOLDER_NAME);
20
20
  //# sourceMappingURL=lib.js.map
21
- //# debugId=07c0e893-1d9c-5043-8872-af7d12092a4e
21
+ //# debugId=b489b940-9f72-5e46-bb6b-f86931bf9503
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="23fb1ec0-0928-5d06-9636-644e8145f6a9")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d65a6f87-4437-515b-b099-6e6be3b46f6e")}catch(e){}}();
3
3
  import { join } from "node:path";
4
4
  export function convertRoutes(routesConfig) {
5
5
  const base = generateBaseOpenAPIConfig();
@@ -73,4 +73,4 @@ function fullPath(path, context) {
73
73
  return join(versionPrefix, path.path);
74
74
  }
75
75
  //# sourceMappingURL=engine.js.map
76
- //# debugId=23fb1ec0-0928-5d06-9636-644e8145f6a9
76
+ //# debugId=d65a6f87-4437-515b-b099-6e6be3b46f6e
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="db6c1425-6761-5670-845d-9666688009f3")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="98ec46cb-efc5-52e5-8f3c-7c9a206b4cf6")}catch(e){}}();
3
3
  import { writeFileSync } from "node:fs";
4
4
  import { readFile } from "node:fs/promises";
5
5
  import { join, relative } from "node:path";
@@ -36,4 +36,4 @@ export async function convert(argv) {
36
36
  }
37
37
  }
38
38
  //# sourceMappingURL=handler.js.map
39
- //# debugId=db6c1425-6761-5670-845d-9666688009f3
39
+ //# debugId=98ec46cb-efc5-52e5-8f3c-7c9a206b4cf6
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="35e679d7-a1d9-5f0c-a4f2-4c90d01b90f4")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="08f01bb2-9972-5856-87c5-86eced9af7f2")}catch(e){}}();
3
3
  export {};
4
4
  //# sourceMappingURL=routes.generated.js.map
5
- //# debugId=35e679d7-a1d9-5f0c-a4f2-4c90d01b90f4
5
+ //# debugId=08f01bb2-9972-5856-87c5-86eced9af7f2
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7ae3068d-6542-5bf3-8958-ead0b73483aa")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c0e12a81-6398-5654-b44c-994a9ced2056")}catch(e){}}();
3
3
  import { logger } from "../common/logger.js";
4
4
  import { printCriticalFailureToConsoleAndExit, printResultToConsoleAndExitGracefully, } from "../common/output.js";
5
5
  import settings from "../common/settings.js";
@@ -61,4 +61,4 @@ export async function deleteZup(argv) {
61
61
  }
62
62
  }
63
63
  //# sourceMappingURL=handler.js.map
64
- //# debugId=7ae3068d-6542-5bf3-8958-ead0b73483aa
64
+ //# debugId=c0e12a81-6398-5654-b44c-994a9ced2056
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="102b0f71-4dcb-58c1-bcbc-12e041500ae2")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a698b41b-5ddc-5fef-ba13-85d60383e927")}catch(e){}}();
3
3
  import { printDiagnosticsToConsole } from "../common/output.js";
4
4
  import settings from "../common/settings.js";
5
5
  function wait(duration = settings.POLL_INTERVAL) {
@@ -20,4 +20,4 @@ export async function pingDeployment(argv) {
20
20
  return false;
21
21
  }
22
22
  //# sourceMappingURL=poll-deployment.js.map
23
- //# debugId=102b0f71-4dcb-58c1-bcbc-12e041500ae2
23
+ //# debugId=a698b41b-5ddc-5fef-ba13-85d60383e927
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="401ea435-fc40-5640-97e4-e6aa5cc1f299")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f72f9cae-79e9-568c-8463-bf22056cdd05")}catch(e){}}();
3
3
  import ignore from "ignore";
4
4
  import minimatch from "minimatch";
5
5
  import { existsSync, mkdirSync, readFileSync, writeFileSync, } from "node:fs";
@@ -102,4 +102,4 @@ async function writeGeneratedMetadata(dir, metadata) {
102
102
  });
103
103
  }
104
104
  //# sourceMappingURL=archive.js.map
105
- //# debugId=401ea435-fc40-5640-97e4-e6aa5cc1f299
105
+ //# debugId=f72f9cae-79e9-568c-8463-bf22056cdd05
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d63a44e0-41f1-5993-a4ea-ca09e5369aeb")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="276fdbdc-f00d-56c1-9119-77780a0328cc")}catch(e){}}();
3
3
  import { readFileSync, statSync } from "node:fs";
4
4
  export async function upload(tarballPath, url) {
5
5
  const stats = statSync(tarballPath);
@@ -14,4 +14,4 @@ export async function upload(tarballPath, url) {
14
14
  });
15
15
  }
16
16
  //# sourceMappingURL=file-upload.js.map
17
- //# debugId=d63a44e0-41f1-5993-a4ea-ca09e5369aeb
17
+ //# debugId=276fdbdc-f00d-56c1-9119-77780a0328cc
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="688ea3e1-aa7a-58dd-8251-a8a0f7cb46d4")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a8d73cfc-a631-5b55-ba40-3fec95f13f5f")}catch(e){}}();
3
3
  import { parse } from "node:path";
4
4
  import { logger } from "../common/logger.js";
5
5
  import { printCriticalFailureToConsoleAndExit, printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, } from "../common/output.js";
@@ -49,4 +49,4 @@ export async function deploy(argv) {
49
49
  }
50
50
  }
51
51
  //# sourceMappingURL=handler.js.map
52
- //# debugId=688ea3e1-aa7a-58dd-8251-a8a0f7cb46d4
52
+ //# debugId=a8d73cfc-a631-5b55-ba40-3fec95f13f5f
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="be10cb83-f95d-5db4-8bda-0d5797e852d5")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d51d59c4-00c9-53e6-a25b-48339755ffa5")}catch(e){}}();
3
3
  import { logger } from "../common/logger.js";
4
4
  import { printDiagnosticsToConsole, textOrJson } from "../common/output.js";
5
5
  import settings from "../common/settings.js";
@@ -63,4 +63,4 @@ export async function pollDeployment(argv, fileId, account, project) {
63
63
  return {};
64
64
  }
65
65
  //# sourceMappingURL=poll-deployment.js.map
66
- //# debugId=be10cb83-f95d-5db4-8bda-0d5797e852d5
66
+ //# debugId=d51d59c4-00c9-53e6-a25b-48339755ffa5
@@ -1,11 +1,12 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0da34659-f864-54aa-a7c3-eb71f09560d2")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c73be6b5-a5f8-54e9-8902-e6c42cb6b377")}catch(e){}}();
3
3
  import * as dotenv from "dotenv";
4
4
  import { cpSync, existsSync } from "node:fs";
5
5
  import { readFile } from "node:fs/promises";
6
6
  import { join, relative, resolve } from "node:path";
7
7
  import { fileURLToPath, pathToFileURL } from "node:url";
8
8
  import { locateDenoExecutable } from "../common/deno-utils/locator.js";
9
+ import { printDiagnosticsToConsole } from "../common/output.js";
9
10
  export async function dev(argv) {
10
11
  const sourceDirectory = resolve(join(relative(process.cwd(), argv.dir)));
11
12
  const zuploRuntimePath = new URL("../../node_modules/@zuplo/runtime", import.meta.url);
@@ -36,9 +37,18 @@ export async function dev(argv) {
36
37
  disableIntegratedDevPortalBuild: false,
37
38
  },
38
39
  });
40
+ printDiagnosticsToConsole("Started local development setup");
41
+ printDiagnosticsToConsole("Ctrl+C to exit");
42
+ printDiagnosticsToConsole("");
43
+ printDiagnosticsToConsole(`🚀 Zuplo Gateway: http://localhost:${port}`);
44
+ printDiagnosticsToConsole("");
45
+ printDiagnosticsToConsole("");
39
46
  return new Promise((resolve) => {
40
- serverProcess.on("exit", resolve);
47
+ serverProcess.on("exit", () => {
48
+ printDiagnosticsToConsole("Closing local development setup");
49
+ resolve(void 0);
50
+ });
41
51
  });
42
52
  }
43
53
  //# sourceMappingURL=handler.js.map
44
- //# debugId=0da34659-f864-54aa-a7c3-eb71f09560d2
54
+ //# debugId=c73be6b5-a5f8-54e9-8902-e6c42cb6b377
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e8f5357b-56f4-5430-9858-c6af684b04da")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9075f1bc-f700-574c-ab92-506d5c35e85b")}catch(e){}}();
3
3
  var _N=Object.defineProperty;var FN=(e,t,n)=>t in e?_N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var se=(e,t,n)=>(FN(e,typeof t!="symbol"?t+"":t,n),n),gd=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var Y=(e,t,n)=>(gd(e,t,"read from private field"),n?n.call(e):t.get(e)),Et=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Ye=(e,t,n,r)=>(gd(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var Li=(e,t,n)=>(gd(e,t,"access private method"),n);function HN(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function sl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Z0={exports:{}},Hu={},Y0={exports:{}},ye={};/**
4
4
  * @license React
5
5
  * react.production.min.js
@@ -168,4 +168,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
168
168
  `}function XH(e,t,n,r,i,o){return wN(e,e,t,n,r,i,o)}function qH(e,t){return e.length!==t.length?!1:Yp(e,t)}function Yp(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}function KH(e){var t=Qp(e.lines),n=t.oldLines,r=t.newLines;n!==void 0?e.oldLines=n:delete e.oldLines,r!==void 0?e.newLines=r:delete e.newLines}function eW(e,t,n){e=E0(e,n),t=E0(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(T0(e)?T0(t)?(r.oldFileName=Ms(r,e.oldFileName,t.oldFileName),r.newFileName=Ms(r,e.newFileName,t.newFileName),r.oldHeader=Ms(r,e.oldHeader,t.oldHeader),r.newHeader=Ms(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var i=0,o=0,a=0,l=0;i<e.hunks.length||o<t.hunks.length;){var s=e.hunks[i]||{oldStart:1/0},u=t.hunks[o]||{oldStart:1/0};if(j0(s,u))r.hunks.push(P0(s,a)),i++,l+=s.newLines-s.oldLines;else if(j0(u,s))r.hunks.push(P0(u,l)),o++,a+=u.newLines-u.oldLines;else{var c={oldStart:Math.min(s.oldStart,u.oldStart),oldLines:0,newStart:Math.min(s.newStart+a,u.oldStart+l),newLines:0,lines:[]};tW(c,s.oldStart,s.lines,u.oldStart,u.lines),o++,i++,r.hunks.push(c)}}return r}function E0(e,t){if(typeof e=="string"){if(/^@@/m.test(e)||/^Index:/m.test(e))return ud(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return fh(void 0,void 0,t,e)}return e}function T0(e){return e.newFileName&&e.newFileName!==e.oldFileName}function Ms(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function j0(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function P0(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function tW(e,t,n,r,i){var o={offset:t,lines:n,index:0},a={offset:r,lines:i,index:0};for(R0(e,o,a),R0(e,a,o);o.index<o.lines.length&&a.index<a.lines.length;){var l=o.lines[o.index],s=a.lines[a.index];if((l[0]==="-"||l[0]==="+")&&(s[0]==="-"||s[0]==="+"))nW(e,o,a);else if(l[0]==="+"&&s[0]===" "){var u;(u=e.lines).push.apply(u,or(ui(o)))}else if(s[0]==="+"&&l[0]===" "){var c;(c=e.lines).push.apply(c,or(ui(a)))}else l[0]==="-"&&s[0]===" "?L0(e,o,a):s[0]==="-"&&l[0]===" "?L0(e,a,o,!0):l===s?(e.lines.push(l),o.index++,a.index++):ph(e,ui(o),ui(a))}O0(e,o),O0(e,a),KH(e)}function nW(e,t,n){var r=ui(t),i=ui(n);if(k0(r)&&k0(i)){if(Yp(r,i)&&z0(n,r,r.length-i.length)){var o;(o=e.lines).push.apply(o,or(r));return}else if(Yp(i,r)&&z0(t,i,i.length-r.length)){var a;(a=e.lines).push.apply(a,or(i));return}}else if(qH(r,i)){var l;(l=e.lines).push.apply(l,or(r));return}ph(e,r,i)}function L0(e,t,n,r){var i=ui(t),o=rW(n,i);if(o.merged){var a;(a=e.lines).push.apply(a,or(o.merged))}else ph(e,r?o:i,r?i:o)}function ph(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function R0(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}function O0(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function ui(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if(n==="-"&&r[0]==="+"&&(n="+"),n===r[0])t.push(r),e.index++;else break}return t}function rW(e,t){for(var n=[],r=[],i=0,o=!1,a=!1;i<t.length&&e.index<e.lines.length;){var l=e.lines[e.index],s=t[i];if(s[0]==="+")break;if(o=o||l[0]!==" ",r.push(s),i++,l[0]==="+")for(a=!0;l[0]==="+";)n.push(l),l=e.lines[++e.index];s.substr(1)===l.substr(1)?(n.push(l),e.index++):a=!0}if((t[i]||"")[0]==="+"&&o&&(a=!0),a)return n;for(;i<t.length;)r.push(t[i++]);return{merged:r,changes:n}}function k0(e){return e.reduce(function(t,n){return t&&n[0]==="-"},!0)}function z0(e,t,n){for(var r=0;r<n;r++){var i=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+i)return!1}return e.index+=n,!0}function Qp(e){var t=0,n=0;return e.forEach(function(r){if(typeof r!="string"){var i=Qp(r.mine),o=Qp(r.theirs);t!==void 0&&(i.oldLines===o.oldLines?t+=i.oldLines:t=void 0),n!==void 0&&(i.newLines===o.newLines?n+=i.newLines:n=void 0)}else n!==void 0&&(r[0]==="+"||r[0]===" ")&&n++,t!==void 0&&(r[0]==="-"||r[0]===" ")&&t++}),{oldLines:t,newLines:n}}function iW(e){for(var t=[],n,r,i=0;i<e.length;i++)n=e[i],n.added?r=1:n.removed?r=-1:r=0,t.push([r,n.value]);return t}function oW(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push(aW(r.value)),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}return t.join("")}function aW(e){var t=e;return t=t.replace(/&/g,"&amp;"),t=t.replace(/</g,"&lt;"),t=t.replace(/>/g,"&gt;"),t=t.replace(/"/g,"&quot;"),t}const lW=Object.freeze(Object.defineProperty({__proto__:null,Diff:Xn,applyPatch:IN,applyPatches:JH,canonicalize:Bu,convertChangesToDMP:iW,convertChangesToXML:oW,createPatch:XH,createTwoFilesPatch:wN,diffArrays:YH,diffChars:zH,diffCss:FH,diffJson:ZH,diffLines:dh,diffSentences:_H,diffTrimmedLines:$H,diffWords:BH,diffWordsWithSpace:UH,merge:eW,parsePatch:ud,structuredPatch:fh},Symbol.toStringTag,{value:"Module"}));function sW(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function uW(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var cW=function(){function e(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(uW(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=sW(i);try{o.insertRule(r,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0},e}(),xt="-ms-",$u="-moz-",xe="-webkit-",bN="comm",mh="rule",gh="decl",dW="@import",xN="@keyframes",fW="@layer",pW=Math.abs,cd=String.fromCharCode,mW=Object.assign;function gW(e,t){return ht(e,0)^45?(((t<<2^ht(e,0))<<2^ht(e,1))<<2^ht(e,2))<<2^ht(e,3):0}function MN(e){return e.trim()}function hW(e,t){return(e=t.exec(e))?e[0]:e}function Me(e,t,n){return e.replace(t,n)}function Jp(e,t){return e.indexOf(t)}function ht(e,t){return e.charCodeAt(t)|0}function il(e,t,n){return e.slice(t,n)}function Bn(e){return e.length}function hh(e){return e.length}function Ss(e,t){return t.push(e),e}function vW(e,t){return e.map(t).join("")}var dd=1,Do=1,SN=0,Gt=0,qe=0,zo="";function fd(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:dd,column:Do,length:a,return:""}}function oa(e,t){return mW(fd("",null,null,"",null,null,0),e,{length:-e.length},t)}function yW(){return qe}function IW(){return qe=Gt>0?ht(zo,--Gt):0,Do--,qe===10&&(Do=1,dd--),qe}function nn(){return qe=Gt<SN?ht(zo,Gt++):0,Do++,qe===10&&(Do=1,dd++),qe}function Vn(){return ht(zo,Gt)}function Fs(){return Gt}function Hl(e,t){return il(zo,e,t)}function ol(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function NN(e){return dd=Do=1,SN=Bn(zo=e),Gt=0,[]}function DN(e){return zo="",e}function Hs(e){return MN(Hl(Gt-1,Xp(e===91?e+2:e===40?e+1:e)))}function wW(e){for(;(qe=Vn())&&qe<33;)nn();return ol(e)>2||ol(qe)>3?"":" "}function bW(e,t){for(;--t&&nn()&&!(qe<48||qe>102||qe>57&&qe<65||qe>70&&qe<97););return Hl(e,Fs()+(t<6&&Vn()==32&&nn()==32))}function Xp(e){for(;nn();)switch(qe){case e:return Gt;case 34:case 39:e!==34&&e!==39&&Xp(qe);break;case 40:e===41&&Xp(e);break;case 92:nn();break}return Gt}function xW(e,t){for(;nn()&&e+qe!==47+10;)if(e+qe===42+42&&Vn()===47)break;return"/*"+Hl(t,Gt-1)+"*"+cd(e===47?e:nn())}function MW(e){for(;!ol(Vn());)nn();return Hl(e,Gt)}function SW(e){return DN(Ws("",null,null,null,[""],e=NN(e),0,[0],e))}function Ws(e,t,n,r,i,o,a,l,s){for(var u=0,c=0,d=a,f=0,p=0,g=0,h=1,w=1,I=1,y=0,b="",x=i,N=o,M=r,S=b;w;)switch(g=y,y=nn()){case 40:if(g!=108&&ht(S,d-1)==58){Jp(S+=Me(Hs(y),"&","&\f"),"&\f")!=-1&&(I=-1);break}case 34:case 39:case 91:S+=Hs(y);break;case 9:case 10:case 13:case 32:S+=wW(g);break;case 92:S+=bW(Fs()-1,7);continue;case 47:switch(Vn()){case 42:case 47:Ss(NW(xW(nn(),Fs()),t,n),s);break;default:S+="/"}break;case 123*h:l[u++]=Bn(S)*I;case 125*h:case 59:case 0:switch(y){case 0:case 125:w=0;case 59+c:I==-1&&(S=Me(S,/\f/g,"")),p>0&&Bn(S)-d&&Ss(p>32?U0(S+";",r,n,d-1):U0(Me(S," ","")+";",r,n,d-2),s);break;case 59:S+=";";default:if(Ss(M=B0(S,t,n,u,c,i,l,b,x=[],N=[],d),o),y===123)if(c===0)Ws(S,t,M,M,x,o,d,l,N);else switch(f===99&&ht(S,3)===110?100:f){case 100:case 108:case 109:case 115:Ws(e,M,M,r&&Ss(B0(e,M,M,0,0,i,l,b,i,x=[],d),N),i,N,d,l,r?x:N);break;default:Ws(S,M,M,M,[""],N,0,l,N)}}u=c=p=0,h=I=1,b=S="",d=a;break;case 58:d=1+Bn(S),p=g;default:if(h<1){if(y==123)--h;else if(y==125&&h++==0&&IW()==125)continue}switch(S+=cd(y),y*h){case 38:I=c>0?1:(S+="\f",-1);break;case 44:l[u++]=(Bn(S)-1)*I,I=1;break;case 64:Vn()===45&&(S+=Hs(nn())),f=Vn(),c=d=Bn(b=S+=MW(Fs())),y++;break;case 45:g===45&&Bn(S)==2&&(h=0)}}return o}function B0(e,t,n,r,i,o,a,l,s,u,c){for(var d=i-1,f=i===0?o:[""],p=hh(f),g=0,h=0,w=0;g<r;++g)for(var I=0,y=il(e,d+1,d=pW(h=a[g])),b=e;I<p;++I)(b=MN(h>0?f[I]+" "+y:Me(y,/&\f/g,f[I])))&&(s[w++]=b);return fd(e,t,n,i===0?mh:l,s,u,c)}function NW(e,t,n){return fd(e,t,n,bN,cd(yW()),il(e,2,-2),0)}function U0(e,t,n,r){return fd(e,t,n,gh,il(e,0,r),il(e,r+1,-1),r)}function oo(e,t){for(var n="",r=hh(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function DW(e,t,n,r){switch(e.type){case fW:if(e.children.length)break;case dW:case gh:return e.return=e.return||e.value;case bN:return"";case xN:return e.return=e.value+"{"+oo(e.children,r)+"}";case mh:e.value=e.props.join(",")}return Bn(n=oo(e.children,r))?e.return=e.value+"{"+n+"}":""}function AW(e){var t=hh(e);return function(n,r,i,o){for(var a="",l=0;l<t;l++)a+=e[l](n,r,i,o)||"";return a}}function CW(e){return function(t){t.root||(t=t.return)&&e(t)}}function EW(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var TW=function(t,n,r){for(var i=0,o=0;i=o,o=Vn(),i===38&&o===12&&(n[r]=1),!ol(o);)nn();return Hl(t,Gt)},jW=function(t,n){var r=-1,i=44;do switch(ol(i)){case 0:i===38&&Vn()===12&&(n[r]=1),t[r]+=TW(Gt-1,n,r);break;case 2:t[r]+=Hs(i);break;case 4:if(i===44){t[++r]=Vn()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=cd(i)}while(i=nn());return t},PW=function(t,n){return DN(jW(NN(t),n))},$0=new WeakMap,LW=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!$0.get(r))&&!i){$0.set(t,!0);for(var o=[],a=PW(n,o),l=r.props,s=0,u=0;s<a.length;s++)for(var c=0;c<l.length;c++,u++)t.props[u]=o[s]?a[s].replace(/&\f/g,l[c]):l[c]+" "+a[s]}}},RW=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function AN(e,t){switch(gW(e,t)){case 5103:return xe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return xe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return xe+e+$u+e+xt+e+e;case 6828:case 4268:return xe+e+xt+e+e;case 6165:return xe+e+xt+"flex-"+e+e;case 5187:return xe+e+Me(e,/(\w+).+(:[^]+)/,xe+"box-$1$2"+xt+"flex-$1$2")+e;case 5443:return xe+e+xt+"flex-item-"+Me(e,/flex-|-self/,"")+e;case 4675:return xe+e+xt+"flex-line-pack"+Me(e,/align-content|flex-|-self/,"")+e;case 5548:return xe+e+xt+Me(e,"shrink","negative")+e;case 5292:return xe+e+xt+Me(e,"basis","preferred-size")+e;case 6060:return xe+"box-"+Me(e,"-grow","")+xe+e+xt+Me(e,"grow","positive")+e;case 4554:return xe+Me(e,/([^-])(transform)/g,"$1"+xe+"$2")+e;case 6187:return Me(Me(Me(e,/(zoom-|grab)/,xe+"$1"),/(image-set)/,xe+"$1"),e,"")+e;case 5495:case 3959:return Me(e,/(image-set\([^]*)/,xe+"$1$`$1");case 4968:return Me(Me(e,/(.+:)(flex-)?(.*)/,xe+"box-pack:$3"+xt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+xe+e+e;case 4095:case 3583:case 4068:case 2532:return Me(e,/(.+)-inline(.+)/,xe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Bn(e)-1-t>6)switch(ht(e,t+1)){case 109:if(ht(e,t+4)!==45)break;case 102:return Me(e,/(.+:)(.+)-([^]+)/,"$1"+xe+"$2-$3$1"+$u+(ht(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Jp(e,"stretch")?AN(Me(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ht(e,t+1)!==115)break;case 6444:switch(ht(e,Bn(e)-3-(~Jp(e,"!important")&&10))){case 107:return Me(e,":",":"+xe)+e;case 101:return Me(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+xe+(ht(e,14)===45?"inline-":"")+"box$3$1"+xe+"$2$3$1"+xt+"$2box$3")+e}break;case 5936:switch(ht(e,t+11)){case 114:return xe+e+xt+Me(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return xe+e+xt+Me(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return xe+e+xt+Me(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return xe+e+xt+e+e}return e}var OW=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case gh:t.return=AN(t.value,t.length);break;case xN:return oo([oa(t,{value:Me(t.value,"@","@"+xe)})],i);case mh:if(t.length)return vW(t.props,function(o){switch(hW(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return oo([oa(t,{props:[Me(o,/:(read-\w+)/,":"+$u+"$1")]})],i);case"::placeholder":return oo([oa(t,{props:[Me(o,/:(plac\w+)/,":"+xe+"input-$1")]}),oa(t,{props:[Me(o,/:(plac\w+)/,":"+$u+"$1")]}),oa(t,{props:[Me(o,/:(plac\w+)/,xt+"input-$1")]})],i)}return""})}},kW=[OW],zW=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(h){var w=h.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var i=t.stylisPlugins||kW,o={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(h){for(var w=h.getAttribute("data-emotion").split(" "),I=1;I<w.length;I++)o[w[I]]=!0;l.push(h)});var s,u=[LW,RW];{var c,d=[DW,CW(function(h){c.insert(h)})],f=AW(u.concat(i,d)),p=function(w){return oo(SW(w),f)};s=function(w,I,y,b){c=y,p(w?w+"{"+I.styles+"}":I.styles),b&&(g.inserted[I.name]=!0)}}var g={key:n,sheet:new cW({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:s};return g.sheet.hydrate(l),g};function BW(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var UW={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},$W=/[A-Z]|^ms/g,_W=/_EMO_([^_]+?)_([^]*?)_EMO_/g,CN=function(t){return t.charCodeAt(1)===45},_0=function(t){return t!=null&&typeof t!="boolean"},Nf=EW(function(e){return CN(e)?e:e.replace($W,"-$&").toLowerCase()}),F0=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(_W,function(r,i,o){return Un={name:i,styles:o,next:Un},i})}return UW[t]!==1&&!CN(t)&&typeof n=="number"&&n!==0?n+"px":n};function al(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Un={name:n.name,styles:n.styles,next:Un},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Un={name:r.name,styles:r.styles,next:Un},r=r.next;var i=n.styles+";";return i}return FW(e,t,n)}case"function":{if(e!==void 0){var o=Un,a=n(e);return Un=o,al(e,t,a)}break}}if(t==null)return n;var l=t[n];return l!==void 0?l:n}function FW(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=al(e,t,n[i])+";";else for(var o in n){var a=n[o];if(typeof a!="object")t!=null&&t[a]!==void 0?r+=o+"{"+t[a]+"}":_0(a)&&(r+=Nf(o)+":"+F0(o,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)_0(a[l])&&(r+=Nf(o)+":"+F0(o,a[l])+";");else{var s=al(e,t,a);switch(o){case"animation":case"animationName":{r+=Nf(o)+":"+s+";";break}default:r+=o+"{"+s+"}"}}}return r}var H0=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Un,Df=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";Un=void 0;var a=t[0];a==null||a.raw===void 0?(i=!1,o+=al(r,n,a)):o+=a[0];for(var l=1;l<t.length;l++)o+=al(r,n,t[l]),i&&(o+=a[l]);H0.lastIndex=0;for(var s="",u;(u=H0.exec(o))!==null;)s+="-"+u[1];var c=BW(o)+s;return{name:c,styles:o,next:Un}},HW=!0;function EN(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var WW=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||HW===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},GW=function(t,n,r){WW(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function W0(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function G0(e,t,n){var r=[],i=EN(e,r,n);return r.length<2?n:i+t(r)}var VW=function(t){var n=zW(t);n.sheet.speedy=function(l){this.isSpeedy=l},n.compat=!0;var r=function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];var d=Df(u,n.registered,void 0);return GW(n,d,!1),n.key+"-"+d.name},i=function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];var d=Df(u,n.registered),f="animation-"+d.name;return W0(n,{name:d.name,styles:"@keyframes "+f+"{"+d.styles+"}"}),f},o=function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];var d=Df(u,n.registered);W0(n,d)},a=function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];return G0(n.registered,r,ZW(u))};return{css:r,cx:a,injectGlobal:o,keyframes:i,hydrate:function(s){s.forEach(function(u){n.inserted[u]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:EN.bind(null,n.registered),merge:G0.bind(null,n.registered,r)}},ZW=function e(t){for(var n="",r=0;r<t.length;r++){var i=t[r];if(i!=null){var o=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))o=e(i);else{o="";for(var a in i)i[a]&&a&&(o&&(o+=" "),o+=a)}break}default:o=i}o&&(n&&(n+=" "),n+=o)}}return n},TN=VW({key:"css"}),YW=TN.cx,We=TN.css,QW=lW,V0=e=>{const t=e.split(`
169
169
  `);if(t.every(o=>!o))return t.length===2?[]:(t.pop(),t);const r=t[t.length-1],i=t[0];return r||t.pop(),i||t.shift(),t},JW=(e,t,n="diffChars")=>{const r=QW[n](e,t),i={left:[],right:[]};return r.forEach(({added:o,removed:a,value:l})=>{const s={};return o&&(s.type=1,s.value=l,i.right.push(s)),a&&(s.type=2,s.value=l,i.left.push(s)),!a&&!o&&(s.type=0,s.value=l,i.right.push(s),i.left.push(s)),s}),i},XW=(e,t,n=!1,r="diffChars",i=0)=>{const o=dh(e.trimRight(),t.trimRight(),{newlineIsToken:!0,ignoreWhitespace:!1,ignoreCase:!1});let a=i,l=i,s=[],u=0;const c=[],d=[],f=(p,g,h,w,I)=>V0(p).map((b,x)=>{const N={},M={};if(!(d.includes(`${g}-${x}`)||I&&x!==0)){if(h||w)if(c.includes(u)||c.push(u),w){l+=1,N.lineNumber=l,N.type=2,N.value=b||" ";const S=o[g+1];if(S&&S.added&&V0(S.value)[x]){const{value:L,lineNumber:R,type:O}=f(S.value,g,!0,!1,!0)[0].right;if(d.push(`${g+1}-${x}`),M.lineNumber=R,M.type=O,n)M.value=L;else{const J=JW(b,L,r);M.value=J.right,N.value=J.left}}}else a+=1,M.lineNumber=a,M.type=1,M.value=b;else l+=1,a+=1,N.lineNumber=l,N.type=0,N.value=b,M.lineNumber=a,M.type=0,M.value=b;return u+=1,{right:M,left:N}}}).filter(Boolean);return o.forEach(({added:p,removed:g,value:h},w)=>{s=[...s,...f(h,w,p,g)]}),{lineInformation:s,diffLines:c}},qW=(e,t=!1)=>{const{variables:n={},...r}=e,i={light:{diffViewerBackground:"#fff",diffViewerColor:"#212529",addedBackground:"#e6ffed",addedColor:"#24292e",removedBackground:"#ffeef0",removedColor:"#24292e",wordAddedBackground:"#acf2bd",wordRemovedBackground:"#fdb8c0",addedGutterBackground:"#cdffd8",removedGutterBackground:"#ffdce0",gutterBackground:"#f7f7f7",gutterBackgroundDark:"#f3f1f1",highlightBackground:"#fffbdd",highlightGutterBackground:"#fff5b1",codeFoldGutterBackground:"#dbedff",codeFoldBackground:"#f1f8ff",emptyLineBackground:"#fafbfc",gutterColor:"#212529",addedGutterColor:"#212529",removedGutterColor:"#212529",codeFoldContentColor:"#212529",diffViewerTitleBackground:"#fafbfc",diffViewerTitleColor:"#212529",diffViewerTitleBorderColor:"#eee",...n.light||{}},dark:{diffViewerBackground:"#2e303c",diffViewerColor:"#FFF",addedBackground:"#044B53",addedColor:"white",removedBackground:"#632F34",removedColor:"white",wordAddedBackground:"#055d67",wordRemovedBackground:"#7d383f",addedGutterBackground:"#034148",removedGutterBackground:"#632b30",gutterBackground:"#2c2f3a",gutterBackgroundDark:"#262933",highlightBackground:"#2a3967",highlightGutterBackground:"#2d4077",codeFoldGutterBackground:"#21232b",codeFoldBackground:"#262831",emptyLineBackground:"#363946",gutterColor:"#464c67",addedGutterColor:"#8c8c8c",removedGutterColor:"#8c8c8c",codeFoldContentColor:"#555a7b",diffViewerTitleBackground:"#2f323e",diffViewerTitleColor:"#555a7b",diffViewerTitleBorderColor:"#353846",...n.dark||{}}},o=t?i.dark:i.light,a=We({width:"100%",label:"content"}),l=We({[`.${a}`]:{width:"50%"},label:"split-view"}),s=We({width:"100%",background:o.diffViewerBackground,pre:{margin:0,whiteSpace:"pre-wrap",lineHeight:"25px"},label:"diff-container",borderCollapse:"collapse"}),u=We({color:o.codeFoldContentColor,label:"code-fold-content"}),c=We({color:o.diffViewerColor,label:"content-text"}),d=We({background:o.diffViewerTitleBackground,padding:10,borderBottom:`1px solid ${o.diffViewerTitleBorderColor}`,label:"title-block",":last-child":{borderLeft:`1px solid ${o.diffViewerTitleBorderColor}`},[`.${c}`]:{color:o.diffViewerTitleColor}}),f=We({color:o.gutterColor,label:"line-number"}),p=We({background:o.removedBackground,color:o.removedColor,pre:{color:o.removedColor},[`.${f}`]:{color:o.removedGutterColor},label:"diff-removed"}),g=We({background:o.addedBackground,color:o.addedColor,pre:{color:o.addedColor},[`.${f}`]:{color:o.addedGutterColor},label:"diff-added"}),h=We({padding:2,display:"inline-flex",borderRadius:1,label:"word-diff"}),w=We({background:o.wordAddedBackground,label:"word-added"}),I=We({background:o.wordRemovedBackground,label:"word-removed"}),y=We({backgroundColor:o.codeFoldGutterBackground,label:"code-fold-gutter"}),b=We({backgroundColor:o.codeFoldBackground,height:40,fontSize:14,fontWeight:700,label:"code-fold",a:{textDecoration:"underline !important",cursor:"pointer",pre:{display:"inline"}}}),x=We({backgroundColor:o.emptyLineBackground,label:"empty-line"}),N=We({width:25,paddingLeft:10,paddingRight:10,userSelect:"none",label:"marker",[`&.${g}`]:{pre:{color:o.addedColor}},[`&.${p}`]:{pre:{color:o.removedColor}}}),M=We({background:o.highlightBackground,label:"highlighted-line",[`.${w}, .${I}`]:{backgroundColor:"initial"}}),S=We({label:"highlighted-gutter"}),C=We({userSelect:"none",minWidth:50,padding:"0 10px",label:"gutter",textAlign:"right",background:o.gutterBackground,"&:hover":{cursor:"pointer",background:o.gutterBackgroundDark,pre:{opacity:1}},pre:{opacity:.5},[`&.${g}`]:{background:o.addedGutterBackground},[`&.${p}`]:{background:o.removedGutterBackground},[`&.${S}`]:{background:o.highlightGutterBackground,"&:hover":{background:o.highlightGutterBackground}}}),L=We({"&:hover":{background:o.gutterBackground,cursor:"initial"},label:"empty-gutter"}),R=We({verticalAlign:"baseline",label:"line"}),O={diffContainer:s,diffRemoved:p,diffAdded:g,splitView:l,marker:N,highlightedGutter:S,highlightedLine:M,gutter:C,line:R,wordDiff:h,wordAdded:w,wordRemoved:I,codeFoldGutter:y,codeFold:b,emptyGutter:L,emptyLine:x,lineNumber:f,contentText:c,content:a,codeFoldContent:u,titleBlock:d},J=Object.keys(r).reduce((U,G)=>({...U,[G]:We(r[G])}),{});return Object.keys(O).reduce((U,G)=>({...U,[G]:J[G]?YW(O[G],J[G]):O[G]}),{})},jN=class extends v.Component{constructor(e){super(e),this.resetCodeBlocks=()=>this.state.expandedBlocks.length>0?(this.setState({expandedBlocks:[]}),!0):!1,this.onBlockExpand=t=>{const n=this.state.expandedBlocks.slice();n.push(t),this.setState({expandedBlocks:n})},this.computeStyles=LH(qW),this.onLineNumberClickProxy=t=>this.props.onLineNumberClick?n=>this.props.onLineNumberClick(t,n):()=>{},this.renderWordDiff=(t,n)=>t.map((r,i)=>v.createElement("span",{key:i,className:ae(this.styles.wordDiff,{[this.styles.wordAdded]:r.type===1,[this.styles.wordRemoved]:r.type===2})},n?n(r.value):r.value)),this.renderLine=(t,n,r,i,o,a)=>{const l=`${r}-${t}`,s=`${a}-${o}`,u=this.props.highlightLines.includes(l)||this.props.highlightLines.includes(s),c=n===1,d=n===2;let f;return Array.isArray(i)?f=this.renderWordDiff(i,this.props.renderContent):this.props.renderContent?f=this.props.renderContent(i):f=i,v.createElement(v.Fragment,null,!this.props.hideLineNumbers&&v.createElement("td",{onClick:t&&this.onLineNumberClickProxy(l),className:ae(this.styles.gutter,{[this.styles.emptyGutter]:!t,[this.styles.diffAdded]:c,[this.styles.diffRemoved]:d,[this.styles.highlightedGutter]:u})},v.createElement("pre",{className:this.styles.lineNumber},t)),!this.props.splitView&&!this.props.hideLineNumbers&&v.createElement("td",{onClick:o&&this.onLineNumberClickProxy(s),className:ae(this.styles.gutter,{[this.styles.emptyGutter]:!o,[this.styles.diffAdded]:c,[this.styles.diffRemoved]:d,[this.styles.highlightedGutter]:u})},v.createElement("pre",{className:this.styles.lineNumber},o)),v.createElement("td",{className:ae(this.styles.marker,{[this.styles.emptyLine]:!f,[this.styles.diffAdded]:c,[this.styles.diffRemoved]:d,[this.styles.highlightedLine]:u})},v.createElement("pre",null,c&&"+",d&&"-")),v.createElement("td",{className:ae(this.styles.content,{[this.styles.emptyLine]:!f,[this.styles.diffAdded]:c,[this.styles.diffRemoved]:d,[this.styles.highlightedLine]:u})},v.createElement("pre",{className:this.styles.contentText},f)))},this.renderSplitView=({left:t,right:n},r)=>v.createElement("tr",{key:r,className:this.styles.line},this.renderLine(t.lineNumber,t.type,"L",t.value),this.renderLine(n.lineNumber,n.type,"R",n.value)),this.renderInlineView=({left:t,right:n},r)=>{let i;return t.type===2&&n.type===1?v.createElement(v.Fragment,{key:r},v.createElement("tr",{className:this.styles.line},this.renderLine(t.lineNumber,t.type,"L",t.value,null)),v.createElement("tr",{className:this.styles.line},this.renderLine(null,n.type,"R",n.value,n.lineNumber))):(t.type===2&&(i=this.renderLine(t.lineNumber,t.type,"L",t.value,null)),t.type===0&&(i=this.renderLine(t.lineNumber,t.type,"L",t.value,n.lineNumber,"R")),n.type===1&&(i=this.renderLine(null,n.type,"R",n.value,n.lineNumber)),v.createElement("tr",{key:r,className:this.styles.line},i))},this.onBlockClickProxy=t=>()=>this.onBlockExpand(t),this.renderSkippedLineIndicator=(t,n,r,i)=>{const{hideLineNumbers:o,splitView:a}=this.props,l=this.props.codeFoldMessageRenderer?this.props.codeFoldMessageRenderer(t,r,i):v.createElement("pre",{className:this.styles.codeFoldContent},"Expand ",t," lines ..."),s=v.createElement("td",null,v.createElement("a",{onClick:this.onBlockClickProxy(n),tabIndex:0},l)),u=!a&&!o;return v.createElement("tr",{key:`${r}-${i}`,className:this.styles.codeFold},!o&&v.createElement("td",{className:this.styles.codeFoldGutter}),v.createElement("td",{className:ae({[this.styles.codeFoldGutter]:u})}),u?v.createElement(v.Fragment,null,v.createElement("td",null),s):v.createElement(v.Fragment,null,s,v.createElement("td",null)),v.createElement("td",null),v.createElement("td",null))},this.renderDiff=()=>{const{oldValue:t,newValue:n,splitView:r,disableWordDiff:i,compareMethod:o,linesOffset:a}=this.props,{lineInformation:l,diffLines:s}=XW(t,n,i,o,a),u=this.props.extraLinesSurroundingDiff<0?0:this.props.extraLinesSurroundingDiff;let c=[];return l.map((d,f)=>{const p=s[0],g=p-f;if(this.props.showDiffOnly&&(g===-u&&(c=[],s.shift()),d.left.type===0&&(g>u||typeof p>"u")&&!this.state.expandedBlocks.includes(p)))return c.push(f+1),f===l.length-1&&c.length>1?this.renderSkippedLineIndicator(c.length,p,d.left.lineNumber,d.right.lineNumber):null;const h=r?this.renderSplitView(d,f):this.renderInlineView(d,f);if(g===u&&c.length>0){const{length:w}=c;return c=[],v.createElement(v.Fragment,{key:f},this.renderSkippedLineIndicator(w,p,d.left.lineNumber,d.right.lineNumber),h)}return h})},this.render=()=>{const{oldValue:t,newValue:n,useDarkTheme:r,leftTitle:i,rightTitle:o,splitView:a,hideLineNumbers:l}=this.props;if(typeof t!="string"||typeof n!="string")throw Error('"oldValue" and "newValue" should be strings');this.styles=this.computeStyles(this.props.styles,r);const s=this.renderDiff(),u=l?2:3,c=l?2:4,d=(i||o)&&v.createElement("tr",null,v.createElement("td",{colSpan:a?u:c,className:this.styles.titleBlock},v.createElement("pre",{className:this.styles.contentText},i)),a&&v.createElement("td",{colSpan:u,className:this.styles.titleBlock},v.createElement("pre",{className:this.styles.contentText},o)));return v.createElement("table",{className:ae(this.styles.diffContainer,{[this.styles.splitView]:a})},v.createElement("tbody",null,d,s))},this.state={expandedBlocks:[]}}};jN.defaultProps={oldValue:"",newValue:"",splitView:!0,highlightLines:[],disableWordDiff:!1,compareMethod:"diffChars",styles:{},hideLineNumbers:!1,extraLinesSurroundingDiff:3,showDiffOnly:!0,useDarkTheme:!1,linesOffset:0};var KW=jN;const eG={line:{padding:"5px 2px","&:hover":{background:"#a26ea1"}},titleBlock:{padding:"5px",paddingLeft:"15px"}},tG=({url:e,surfaceResponse:t})=>{const n=Cl().get("path"),r=$c(),i=El(),o=Al(),[a,l]=v.useState(!1),[s,u]=v.useState(!1),[c,d]=v.useState(null),[f,p]=v.useState(null),[g,h]=v.useState(!0);v.useEffect(()=>{(async()=>{try{(await fetch(`${e}/ping`)).ok||h(!1)}catch{h(!1)}})()},[g]),v.useEffect(()=>{async function N(M){const S=await fetch(`${e}/open-api-content?path=${n}`,{method:"GET"});if(S.status!==200){const R=await S.json();throw Error(R.message)}const L=(await S.json()).filter(R=>R.path===M);if(L.length>0)return L[0]}if(g){const M=new EventSource(`${e}/updates`);return M.onmessage=async S=>{const C=JSON.parse(S.data);if(C.type==="update"){if(n===null)return;const R=/([a-zA-Z0-9\.\-\_]*)$/.exec(C.filePath);if(!R||!R[0])return;const O=R[0];if(O!==zp&&O!==n){console.log(`discarded event since changes were on '${C.filePath}'`);return}try{const J=await N(O);if(J){const U={path:J.path,type:xu.File,content:JSON.stringify(J.content,void 0,4),saveState:Nt.unmodified};O===zp&&i.policyListFileModel.saveState!==Nt.unmodified||O===n&&r.openApiFileModel.saveState!==Nt.unmodified?x(O,U):(o(U,Nt.unmodified),t(`Successfully updated Local Designer with external file changes from '${U.path}'.`,"info"))}}catch(J){const U=J.message&&J.message.includes("Failed to fetch")?Bc:`Error: ${J.message}`;t(U,"error")}}},M.onerror=S=>{console.warn("Hot-reload error:",S),t("An error occurred while attempting to set the hot-reload connection. Try restarting the editor.","error"),M.close(),h(!1)},M.addEventListener("close",()=>M.close()),()=>{M.close()}}},[i,r,g]);const w=()=>{l(!1),b(),d(null),p(null),u(!1)},I=()=>{if(f===null){t("An error occurred while attempting to overwrite using the external file changes. Try refreshing the editor session.","error"),w();return}o(f,Nt.unmodified),t(`Successfully updated Local Designer with external file changes from '${f.path}'.`,"info"),w()},[y,b]=ho(()=>m.jsx(Ob,{onClose:w,isOpen:!0,maxWidth:"max-w-4xl",children:m.jsxs("div",{className:"space-y-4",children:[m.jsx("div",{className:"text-xl font-bold",children:"Changes outside of Local Designer"}),m.jsx("div",{className:"text-left text-sm text-gray-600 whitespace-pre-line w-full mb-2",children:m.jsxs("p",{className:"leading-6 mb-5",children:["Failed to hot-reload '",c,"': The content in Local Designer is newer.",m.jsx("br",{})," Please choose if you want to keep current Local Designer changes or overwrite them with the external changes."]})}),s?m.jsx("div",{className:"overflow-scroll h-96 text-sm border",children:m.jsx(KW,{oldValue:(f==null?void 0:f.path)==="policies.json"?i.policyListFileModel.content:r.openApiFileModel.content,newValue:f==null?void 0:f.content,splitView:!0,leftTitle:"Current changes",rightTitle:"External changes",styles:eG})}):m.jsx("div",{className:"text-sm",children:"* This diff is too large to display properly."}),m.jsxs("div",{className:"flex flex-row items-center justify-center space-x-2",children:[m.jsx(En,{label:"Keep current changes",onClick:w}),m.jsx(En,{dataTestId:"connect-non-empty-repo-confirm",buttonType:xi.WHITE,label:"Overwrite current changes",onClick:I})]})]})}),[c,i,f,r]),x=(N,M)=>{d(N),p(M);try{if(M.path.endsWith(".oas.json")&&M.content){const S=JSON.parse(M.content);S.paths&&Object.keys(S.paths).length<40&&u(!0)}else if(M.path.endsWith("policies.json")&&M.content){const S=JSON.parse(M.content);S.policies&&S.policies.length<40&&u(!0)}}catch{console.warn("Failed while calculating the diff size")}y()};return m.jsx("div",{})},nG=5e3;function rG(){const[e,t]=v.useState(null),n=o=>{t({message:o,type:"error"})},r=(o,a)=>{t({message:o,type:a}),setTimeout(()=>{t(null)},nG)},i="http://localhost:5500";return m.jsx("div",{className:"h-screen min-w-lg",children:m.jsx(i3,{children:m.jsx(vC,{children:m.jsx(pk,{children:m.jsx(a3,{url:i,handleErrors:n,children:m.jsx(c3,{children:m.jsxs(m.Fragment,{children:[m.jsxs("div",{className:"flex gap-5 px-3 mx-4 ",children:[m.jsx("div",{className:"flex-grow",children:m.jsx(RM,{url:i,handleErrors:n})}),m.jsx("div",{className:"flex-grow",children:e!==null&&m.jsx(TH,{message:e.message,type:e.type})}),m.jsx("div",{className:"flex-grow",children:m.jsx(EH,{url:i,surfaceResponse:r})})]}),m.jsx(tG,{url:i,surfaceResponse:r}),m.jsx("div",{className:"flex-grow",children:m.jsx(CH,{})})]})})})})})})})}Af.createRoot(document.getElementById("root")).render(m.jsx(k.StrictMode,{children:m.jsx(rG,{})}));
170
170
 
171
- //# debugId=e8f5357b-56f4-5430-9858-c6af684b04da
171
+ //# debugId=9075f1bc-f700-574c-ab92-506d5c35e85b
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7eb1c399-ebb2-5b8a-a80f-f827c9bac32d")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a91948d7-c2a9-5d47-a291-0780bc4b373e")}catch(e){}}();
3
3
  import { logger } from "../common/logger.js";
4
4
  import { ApiServer } from "./server/server.js";
5
5
  export async function editor(argv) {
@@ -18,4 +18,4 @@ export async function editor(argv) {
18
18
  });
19
19
  }
20
20
  //# sourceMappingURL=handler.js.map
21
- //# debugId=7eb1c399-ebb2-5b8a-a80f-f827c9bac32d
21
+ //# debugId=a91948d7-c2a9-5d47-a291-0780bc4b373e
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2c771966-b118-5f81-8fe4-56b64755a2f5")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6dd8502e-8d2f-5f28-aa0e-50cb0ead72d4")}catch(e){}}();
3
3
  import fp from 'fastify-plugin';
4
4
  import cors from '@fastify/cors';
5
5
  export const corsPlugin = fp(async function (fastify, opts) {
@@ -16,4 +16,4 @@ export const corsPlugin = fp(async function (fastify, opts) {
16
16
  });
17
17
  });
18
18
  //# sourceMappingURL=cors-plugin.js.map
19
- //# debugId=2c771966-b118-5f81-8fe4-56b64755a2f5
19
+ //# debugId=6dd8502e-8d2f-5f28-aa0e-50cb0ead72d4
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cf6db85e-4a14-503e-918f-daa35bc7f81c")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="70ff8667-6414-5c3f-83ad-33606a7805f6")}catch(e){}}();
3
3
  import fastifyStatic from "@fastify/static";
4
4
  import chokidar from "chokidar";
5
5
  import Fastify from "fastify";
@@ -8,6 +8,7 @@ import fs, { readdir } from "node:fs/promises";
8
8
  import path from "node:path";
9
9
  import { fileURLToPath } from "node:url";
10
10
  import { logger } from "../../common/logger.js";
11
+ import { printDiagnosticsToConsole } from "../../common/output.js";
11
12
  import { corsPlugin } from "./cors-plugin.js";
12
13
  import { dirExists, fileExists } from "./xfs.js";
13
14
  const POLICIES_FILENAME = "policies.json";
@@ -169,13 +170,20 @@ export class ApiServer {
169
170
  };
170
171
  start = async () => {
171
172
  await this.init();
173
+ this.fastify.log.level = "silent";
172
174
  const start = async () => {
173
175
  return new Promise((resolve, reject) => {
174
176
  this.fastify.listen({ port: this.listenerPort, host: this.listenerHost }, (err) => {
175
177
  if (err) {
176
178
  reject(err);
177
179
  }
178
- this.fastify.log.info(`API server listening on: http://${this.listenerHost}:${this.listenerPort}`);
180
+ this.fastify.log.level = "info";
181
+ printDiagnosticsToConsole("Started route designer");
182
+ printDiagnosticsToConsole("Ctrl+C to exit");
183
+ printDiagnosticsToConsole("");
184
+ printDiagnosticsToConsole(`📘 Route Designer: http://${this.listenerHost}:${this.listenerPort}`);
185
+ printDiagnosticsToConsole("");
186
+ printDiagnosticsToConsole("");
179
187
  resolve();
180
188
  });
181
189
  });
@@ -186,7 +194,7 @@ export class ApiServer {
186
194
  return this.fastify.ready();
187
195
  };
188
196
  close = async () => {
189
- this.fastify.log.info("Closing api server");
197
+ printDiagnosticsToConsole("Closing route designer");
190
198
  try {
191
199
  if (this.sseContext) {
192
200
  this.sseContext.source.end();
@@ -203,4 +211,4 @@ export class ApiServer {
203
211
  };
204
212
  }
205
213
  //# sourceMappingURL=server.js.map
206
- //# debugId=cf6db85e-4a14-503e-918f-daa35bc7f81c
214
+ //# debugId=70ff8667-6414-5c3f-83ad-33606a7805f6
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="789e8c6e-c34f-5e44-8883-e3cc42dff578")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1b54efb0-e801-5361-9801-9ede9473aab8")}catch(e){}}();
3
3
  import fs from 'node:fs/promises';
4
4
  export async function fileExists(fsPath) {
5
5
  try {
@@ -20,4 +20,4 @@ export async function dirExists(fsPath) {
20
20
  }
21
21
  }
22
22
  //# sourceMappingURL=xfs.js.map
23
- //# debugId=789e8c6e-c34f-5e44-8883-e3cc42dff578
23
+ //# debugId=1b54efb0-e801-5361-9801-9ede9473aab8
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ebabd7dc-5b6b-51bd-bf6f-d8997a9bad4f")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="58dd100d-a3cc-5513-8100-f19039643f55")}catch(e){}}();
3
3
  import { select } from "@inquirer/prompts";
4
4
  import { readFile } from "node:fs/promises";
5
5
  import { join } from "node:path";
@@ -80,4 +80,4 @@ Successfully linked your local directory to the ${project} project in the ${acco
80
80
  .env.zuplo and zuplo.jsonc have been updated with the new values.`);
81
81
  }
82
82
  //# sourceMappingURL=handler.js.map
83
- //# debugId=ebabd7dc-5b6b-51bd-bf6f-d8997a9bad4f
83
+ //# debugId=58dd100d-a3cc-5513-8100-f19039643f55
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a4ba6780-1db5-59a6-af4e-76cebc9e9a1e")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="50bbf97c-4d18-5bc7-a456-bcf385c394c2")}catch(e){}}();
3
3
  import { applyEdits, modify } from "jsonc-parser";
4
4
  import { existsSync } from "node:fs";
5
5
  import { readFile, writeFile } from "node:fs/promises";
@@ -66,4 +66,4 @@ export async function pullSystemConfig(dir, options) {
66
66
  await writeFile(zuploPreferredConfigFile, content);
67
67
  }
68
68
  //# sourceMappingURL=populate.js.map
69
- //# debugId=a4ba6780-1db5-59a6-af4e-76cebc9e9a1e
69
+ //# debugId=50bbf97c-4d18-5bc7-a456-bcf385c394c2
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b92cf828-73b6-5f1c-9a8a-1545e96cc93e")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d0ecad85-2c6c-57cf-b9e7-541651faca67")}catch(e){}}();
3
3
  import { logger } from "../common/logger.js";
4
4
  import { printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, textOrJson, } from "../common/output.js";
5
5
  import settings from "../common/settings.js";
@@ -26,4 +26,4 @@ export async function list(argv) {
26
26
  }
27
27
  }
28
28
  //# sourceMappingURL=handler.js.map
29
- //# debugId=b92cf828-73b6-5f1c-9a8a-1545e96cc93e
29
+ //# debugId=d0ecad85-2c6c-57cf-b9e7-541651faca67
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="678d01cf-2b77-5d58-8b82-98a0fd47a94e")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9953f515-a669-5828-bb13-a7d715329281")}catch(e){}}();
3
3
  import crypto from "node:crypto";
4
4
  import { existsSync, mkdirSync } from "node:fs";
5
5
  import { writeFile } from "node:fs/promises";
@@ -75,4 +75,4 @@ export async function login(args) {
75
75
  printResultToConsoleAndExitGracefully("Successfully authenticated.");
76
76
  }
77
77
  //# sourceMappingURL=handler.js.map
78
- //# debugId=678d01cf-2b77-5d58-8b82-98a0fd47a94e
78
+ //# debugId=9953f515-a669-5828-bb13-a7d715329281
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0e67bc58-b817-5fe0-8e05-53b8a9375c97")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a4c1761e-d022-5f51-95b8-a151c837e0e3")}catch(e){}}();
3
3
  import http from "node:http";
4
4
  import opn from "open";
5
5
  import { printCriticalFailureToConsoleAndExit } from "../common/output.js";
@@ -35,4 +35,4 @@ export async function browserAuth(authorizationUrl) {
35
35
  return params;
36
36
  }
37
37
  //# sourceMappingURL=server.js.map
38
- //# debugId=0e67bc58-b817-5fe0-8e05-53b8a9375c97
38
+ //# debugId=a4c1761e-d022-5f51-95b8-a151c837e0e3
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b06a2506-c7df-54cc-805a-49ae467e40af")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4ec643f3-3663-54ed-ae6a-1c72fda19548")}catch(e){}}();
3
3
  import { confirm } from "@inquirer/prompts";
4
4
  import { printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, } from "../../common/output.js";
5
5
  import { PackageJsonUpgrader } from "../../common/upgraders/package-json-upgrader.js";
@@ -26,4 +26,4 @@ export async function update(argv) {
26
26
  }
27
27
  }
28
28
  //# sourceMappingURL=handler.js.map
29
- //# debugId=b06a2506-c7df-54cc-805a-49ae467e40af
29
+ //# debugId=4ec643f3-3663-54ed-ae6a-1c72fda19548
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="83d43197-be5e-5d4b-8a4a-0972a6339917")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f13aec76-f70a-5053-8b92-7e9a9134dbfc")}catch(e){}}();
3
3
  import { TEST_OUT_FOLDER } from "../common/constants.js";
4
4
  import { denoTestPrepPlugin } from "./esbuild-plugins/deno-test-prep-plugin.js";
5
5
  export function generateBuildOptionsForTest(argv) {
@@ -20,4 +20,4 @@ export function generateBuildOptionsForTest(argv) {
20
20
  };
21
21
  }
22
22
  //# sourceMappingURL=esbuild-config.js.map
23
- //# debugId=83d43197-be5e-5d4b-8a4a-0972a6339917
23
+ //# debugId=f13aec76-f70a-5053-8b92-7e9a9134dbfc
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d99da9ce-3bab-5cdb-b8a7-edfe098a9ff1")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="56373cfd-334d-515f-8073-fb8560249602")}catch(e){}}();
3
3
  export function denoTestPrepPlugin(argv, options) {
4
4
  const aliases = Object.keys(options);
5
5
  const re = new RegExp(`^(${aliases.map((x) => escapeRegExp(x)).join("|")})$`);
@@ -96,4 +96,4 @@ function generateTestContents(argv) {
96
96
  `;
97
97
  }
98
98
  //# sourceMappingURL=deno-test-prep-plugin.js.map
99
- //# debugId=d99da9ce-3bab-5cdb-b8a7-edfe098a9ff1
99
+ //# debugId=56373cfd-334d-515f-8073-fb8560249602
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="aca6c312-c3e9-57ed-928a-8fe7fd3e5dde")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3013b06a-1c1b-580e-bea6-b42c687d931d")}catch(e){}}();
3
3
  import fg from "fast-glob";
4
4
  import { promisify } from "node:util";
5
5
  import rimraf from "rimraf";
@@ -27,4 +27,4 @@ export async function test(argv) {
27
27
  }
28
28
  }
29
29
  //# sourceMappingURL=handler.js.map
30
- //# debugId=aca6c312-c3e9-57ed-928a-8fe7fd3e5dde
30
+ //# debugId=3013b06a-1c1b-580e-bea6-b42c687d931d
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="47367187-aa4c-5f3c-b7cd-a8a57cc30bc9")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f6dd3ed4-5d26-57b8-bdbe-7165fe72db14")}catch(e){}}();
3
3
  import { execa } from "execa";
4
4
  import { TEST_OUT_FOLDER } from "../common/constants.js";
5
5
  import { locateDenoExecutable, MissingDenoExecutableError, } from "../common/deno-utils/locator.js";
@@ -35,4 +35,4 @@ export async function runTests(argv) {
35
35
  }
36
36
  }
37
37
  //# sourceMappingURL=invoke-test.js.map
38
- //# debugId=47367187-aa4c-5f3c-b7cd-a8a57cc30bc9
38
+ //# debugId=f6dd3ed4-5d26-57b8-bdbe-7165fe72db14