jbilcke-hf HF staff commited on
Commit
955ce73
β€’
1 Parent(s): baf7691

small clean-up

Browse files
This view is limited to 50 files because it contains too many changes. Β  See raw diff
Files changed (50) hide show
  1. package-lock.json +485 -570
  2. src/index.mts +65 -8
  3. src/main.mts +2 -2
  4. src/production/assembleShots.mts +1 -1
  5. src/production/postInterpolation.mts +1 -1
  6. src/production/renderImage.mts +2 -2
  7. src/production/renderImageAnalysis.mts +2 -2
  8. src/production/renderImageSegmentation.mts +3 -2
  9. src/production/renderImageUpscaling.mts +1 -1
  10. src/production/renderPipeline.mts +1 -1
  11. src/production/renderVideo.mts +1 -1
  12. src/production/renderVideoSegmentation.mts +3 -3
  13. src/{production β†’ providers/audio-generation}/generateAudio.mts +2 -2
  14. src/{production β†’ providers/audio-generation}/generateAudioLegacy.mts +1 -1
  15. src/{production β†’ providers/character-model}/generateActor.mts +0 -0
  16. src/{analysis β†’ providers/image-caption}/analyzeImageWithIDEFICS.mts +0 -0
  17. src/{analysis β†’ providers/image-caption}/analyzeImageWithIDEFICSAndNastyHack.mts +3 -3
  18. src/{utils β†’ providers/image-generation}/generateImage.mts +2 -2
  19. src/{utils β†’ providers/image-generation}/generateImageSDXL.mts +2 -2
  20. src/{utils β†’ providers/image-generation}/generateImageSDXL360.mts +2 -2
  21. src/{utils β†’ providers/image-segmentation}/segmentImage.mts +4 -4
  22. src/{utils β†’ providers/image-segmentation}/segmentImageFromURL.mts +4 -4
  23. src/{utils β†’ providers/image-upscaling}/upscaleImage.mts +1 -1
  24. src/{llm β†’ providers/language-model}/enrichVideoSpecsUsingLLM.mts +4 -4
  25. src/{llm β†’ providers/language-model}/openai/createChatCompletion.mts +0 -0
  26. src/{llm β†’ providers/language-model}/openai/createChatCompletionStream.mts +0 -0
  27. src/{llm β†’ providers/language-model}/openai/generateYAML.mts +0 -0
  28. src/{llm β†’ providers/language-model}/openai/getTextPrompt.mts +0 -0
  29. src/{llm β†’ providers/language-model}/openai/getUserContent.mts +0 -0
  30. src/{llm β†’ providers/language-model}/openai/openai.mts +0 -0
  31. src/{llm β†’ providers/language-model}/openai/runModerationCheck.mts +0 -0
  32. src/{llm β†’ providers/language-model}/openai/stream.mts +0 -0
  33. src/{llm β†’ providers/language-model}/types.mts +0 -0
  34. src/providers/music-to-caption/musicToCaption.mts +50 -0
  35. src/{speechToText β†’ providers/speech-to-text}/speechToTextWithWhisperLib.txt +0 -0
  36. src/{speechToText β†’ providers/speech-to-text}/speechToTextWithWhisperSpace.mts +1 -1
  37. src/{production β†’ providers/video-generation}/generateVideo.mts +1 -1
  38. src/{production β†’ providers/video-interpolation}/interpolateVideo.mts +3 -3
  39. src/{production β†’ providers/video-interpolation}/interpolateVideoLegacy.mts +1 -1
  40. src/{production β†’ providers/video-upscaling}/upscaleVideo.mts +3 -3
  41. src/{production β†’ providers/voice-generation}/generateVoice.mts +1 -1
  42. src/providers/voice-generation/generateVoiceWithCoqui.txt +52 -0
  43. src/{utils β†’ scheduler}/copyVideoFromPendingToCompleted.mts +0 -0
  44. src/{utils β†’ scheduler}/copyVideoFromTmpToCompleted.mts +0 -0
  45. src/{utils β†’ scheduler}/copyVideoFromTmpToPending.mts +0 -1
  46. src/scheduler/deleteVideo.mts +1 -1
  47. src/{utils β†’ scheduler}/getFirstVideoFrame.mts +0 -0
  48. src/{utils β†’ scheduler}/getFirstVideoFrameAsBase64.mts +0 -0
  49. src/{utils β†’ scheduler}/moveVideoFromPendingToCompleted.mts +2 -2
  50. src/{utils β†’ scheduler}/moveVideoFromTmpToCompleted.mts +2 -2
package-lock.json CHANGED
@@ -36,31 +36,32 @@
36
  }
37
  },
38
  "node_modules/@babel/code-frame": {
39
- "version": "7.22.5",
40
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz",
41
- "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==",
42
  "dependencies": {
43
- "@babel/highlight": "^7.22.5"
 
44
  },
45
  "engines": {
46
  "node": ">=6.9.0"
47
  }
48
  },
49
  "node_modules/@babel/helper-validator-identifier": {
50
- "version": "7.22.5",
51
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz",
52
- "integrity": "sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==",
53
  "engines": {
54
  "node": ">=6.9.0"
55
  }
56
  },
57
  "node_modules/@babel/highlight": {
58
- "version": "7.22.5",
59
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz",
60
- "integrity": "sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==",
61
  "dependencies": {
62
- "@babel/helper-validator-identifier": "^7.22.5",
63
- "chalk": "^2.0.0",
64
  "js-tokens": "^4.0.0"
65
  },
66
  "engines": {
@@ -93,20 +94,20 @@
93
  }
94
  },
95
  "node_modules/@gorgonjs/file-provider": {
96
- "version": "1.4.1",
97
- "resolved": "https://registry.npmjs.org/@gorgonjs/file-provider/-/file-provider-1.4.1.tgz",
98
- "integrity": "sha512-pDhD7KvFmukHkfL69AHL/hpu5GFBJX9lUlJIll7K6yUxdZmJcXW7Egy7o3XPDff7Lfn8hftKNVUngfETdTTXAw==",
99
  "dependencies": {
100
  "fast-glob": "^3.3.0"
101
  },
102
  "peerDependencies": {
103
- "@gorgonjs/gorgon": "^1.4.0"
104
  }
105
  },
106
  "node_modules/@gorgonjs/gorgon": {
107
- "version": "1.4.1",
108
- "resolved": "https://registry.npmjs.org/@gorgonjs/gorgon/-/gorgon-1.4.1.tgz",
109
- "integrity": "sha512-XUTvRODad+uD89CVoLQEi3aOaJC/x9+KqLBKil4a+hKlrDRc6TAoEofn/Kje/S4Q+ylwJRbhZnb98QgiSZxIqw=="
110
  },
111
  "node_modules/@gradio/client": {
112
  "version": "0.1.4",
@@ -318,15 +319,15 @@
318
  }
319
  },
320
  "node_modules/@puppeteer/browsers": {
321
- "version": "1.4.3",
322
- "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-1.4.3.tgz",
323
- "integrity": "sha512-8Jfkpb8qhPQhMsNBmIY8b6+ic2kvcmHZlyvifmcNKBC5jNZf3MAKq3gryKfmrjFAYFl3naPjiKljPUq5wuolfQ==",
324
  "dependencies": {
325
  "debug": "4.3.4",
326
  "extract-zip": "2.0.1",
327
  "progress": "2.0.3",
328
- "proxy-agent": "6.2.1",
329
- "tar-fs": "3.0.3",
330
  "unbzip2-stream": "1.4.3",
331
  "yargs": "17.7.1"
332
  },
@@ -366,6 +367,26 @@
366
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
367
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
368
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
369
  "node_modules/@tootallnate/once": {
370
  "version": "2.0.0",
371
  "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz",
@@ -374,6 +395,11 @@
374
  "node": ">= 10"
375
  }
376
  },
 
 
 
 
 
377
  "node_modules/@tsconfig/node10": {
378
  "version": "1.0.9",
379
  "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz",
@@ -395,26 +421,26 @@
395
  "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA=="
396
  },
397
  "node_modules/@types/body-parser": {
398
- "version": "1.19.2",
399
- "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz",
400
- "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==",
401
  "dependencies": {
402
  "@types/connect": "*",
403
  "@types/node": "*"
404
  }
405
  },
406
  "node_modules/@types/connect": {
407
- "version": "3.4.35",
408
- "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz",
409
- "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==",
410
  "dependencies": {
411
  "@types/node": "*"
412
  }
413
  },
414
  "node_modules/@types/express": {
415
- "version": "4.17.17",
416
- "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.17.tgz",
417
- "integrity": "sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q==",
418
  "dependencies": {
419
  "@types/body-parser": "*",
420
  "@types/express-serve-static-core": "^4.17.33",
@@ -423,9 +449,9 @@
423
  }
424
  },
425
  "node_modules/@types/express-serve-static-core": {
426
- "version": "4.17.35",
427
- "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.35.tgz",
428
- "integrity": "sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg==",
429
  "dependencies": {
430
  "@types/node": "*",
431
  "@types/qs": "*",
@@ -434,48 +460,48 @@
434
  }
435
  },
436
  "node_modules/@types/ffmpeg-concat": {
437
- "version": "1.1.2",
438
- "resolved": "https://registry.npmjs.org/@types/ffmpeg-concat/-/ffmpeg-concat-1.1.2.tgz",
439
- "integrity": "sha512-stcLl48uKQigETbJmvEZoCBUMYzY+egrXqGINkth8w2kOmbNZ6ljgjji5/uQQGR8pJ8Fr9ZvCB6LALhuOwnqYw=="
440
  },
441
  "node_modules/@types/http-errors": {
442
- "version": "2.0.1",
443
- "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.1.tgz",
444
- "integrity": "sha512-/K3ds8TRAfBvi5vfjuz8y6+GiAYBZ0x4tXv1Av6CWBWn0IlADc+ZX9pMq7oU0fNQPnBwIZl3rmeLp6SBApbxSQ=="
445
  },
446
  "node_modules/@types/mime": {
447
- "version": "1.3.2",
448
- "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz",
449
- "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw=="
450
  },
451
  "node_modules/@types/node": {
452
- "version": "20.4.1",
453
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.1.tgz",
454
- "integrity": "sha512-JIzsAvJeA/5iY6Y/OxZbv1lUcc8dNSE77lb2gnBH+/PJ3lFR1Ccvgwl5JWnHAkNHcRsT0TbpVOsiMKZ1F/yyJg=="
455
  },
456
  "node_modules/@types/qs": {
457
- "version": "6.9.7",
458
- "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz",
459
- "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw=="
460
  },
461
  "node_modules/@types/range-parser": {
462
- "version": "1.2.4",
463
- "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz",
464
- "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw=="
465
  },
466
  "node_modules/@types/send": {
467
- "version": "0.17.1",
468
- "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.1.tgz",
469
- "integrity": "sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==",
470
  "dependencies": {
471
  "@types/mime": "^1",
472
  "@types/node": "*"
473
  }
474
  },
475
  "node_modules/@types/serve-static": {
476
- "version": "1.15.2",
477
- "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.2.tgz",
478
- "integrity": "sha512-J2LqtvFYCzaj8pVYKw8klQXrLLk7TBZmQ4ShlcdkELFKGwGMfevMLneMMRkMgZxotOD9wg497LpC7O8PcvAmfw==",
479
  "dependencies": {
480
  "@types/http-errors": "*",
481
  "@types/mime": "*",
@@ -483,14 +509,14 @@
483
  }
484
  },
485
  "node_modules/@types/uuid": {
486
- "version": "9.0.2",
487
- "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.2.tgz",
488
- "integrity": "sha512-kNnC1GFBLuhImSnV7w4njQkUiJi0ZXUycu1rUaouPqiKlXkh77JKgdRnTAp1x5eBwcIwbtI+3otwzuIDEuDoxQ=="
489
  },
490
  "node_modules/@types/yauzl": {
491
- "version": "2.10.0",
492
- "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.0.tgz",
493
- "integrity": "sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==",
494
  "optional": true,
495
  "dependencies": {
496
  "@types/node": "*"
@@ -541,14 +567,14 @@
541
  }
542
  },
543
  "node_modules/agent-base": {
544
- "version": "7.1.0",
545
- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz",
546
- "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==",
547
  "dependencies": {
548
- "debug": "^4.3.4"
549
  },
550
  "engines": {
551
- "node": ">= 14"
552
  }
553
  },
554
  "node_modules/agent-base/node_modules/debug": {
@@ -573,39 +599,16 @@
573
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
574
  },
575
  "node_modules/agentkeepalive": {
576
- "version": "4.3.0",
577
- "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz",
578
- "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==",
579
  "dependencies": {
580
- "debug": "^4.1.0",
581
- "depd": "^2.0.0",
582
  "humanize-ms": "^1.2.1"
583
  },
584
  "engines": {
585
  "node": ">= 8.0.0"
586
  }
587
  },
588
- "node_modules/agentkeepalive/node_modules/debug": {
589
- "version": "4.3.4",
590
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
591
- "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
592
- "dependencies": {
593
- "ms": "2.1.2"
594
- },
595
- "engines": {
596
- "node": ">=6.0"
597
- },
598
- "peerDependenciesMeta": {
599
- "supports-color": {
600
- "optional": true
601
- }
602
- }
603
- },
604
- "node_modules/agentkeepalive/node_modules/ms": {
605
- "version": "2.1.2",
606
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
607
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
608
- },
609
  "node_modules/aggregate-error": {
610
  "version": "3.1.0",
611
  "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz",
@@ -939,15 +942,15 @@
939
  }
940
  },
941
  "node_modules/cacache": {
942
- "version": "17.1.3",
943
- "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.3.tgz",
944
- "integrity": "sha512-jAdjGxmPxZh0IipMdR7fK/4sDSrHMLUV0+GvVUsjwyGNKHsh79kW/otg+GkbXwl6Uzvy9wsvHOX4nUoWldeZMg==",
945
  "dependencies": {
946
  "@npmcli/fs": "^3.1.0",
947
  "fs-minipass": "^3.0.0",
948
  "glob": "^10.2.2",
949
  "lru-cache": "^7.7.1",
950
- "minipass": "^5.0.0",
951
  "minipass-collect": "^1.0.2",
952
  "minipass-flush": "^1.0.5",
953
  "minipass-pipeline": "^1.2.4",
@@ -969,18 +972,18 @@
969
  }
970
  },
971
  "node_modules/cacache/node_modules/glob": {
972
- "version": "10.3.3",
973
- "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz",
974
- "integrity": "sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==",
975
  "dependencies": {
976
  "foreground-child": "^3.1.0",
977
- "jackspeak": "^2.0.3",
978
  "minimatch": "^9.0.1",
979
  "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0",
980
  "path-scurry": "^1.10.1"
981
  },
982
  "bin": {
983
- "glob": "dist/cjs/src/bin.js"
984
  },
985
  "engines": {
986
  "node": ">=16 || 14 >=14.17"
@@ -1003,6 +1006,14 @@
1003
  "url": "https://github.com/sponsors/isaacs"
1004
  }
1005
  },
 
 
 
 
 
 
 
 
1006
  "node_modules/cacache/node_modules/p-map": {
1007
  "version": "4.0.0",
1008
  "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz",
@@ -1298,9 +1309,9 @@
1298
  }
1299
  },
1300
  "node_modules/cross-fetch/node_modules/node-fetch": {
1301
- "version": "2.6.12",
1302
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz",
1303
- "integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==",
1304
  "dependencies": {
1305
  "whatwg-url": "^5.0.0"
1306
  },
@@ -1359,12 +1370,9 @@
1359
  }
1360
  },
1361
  "node_modules/data-uri-to-buffer": {
1362
- "version": "4.0.1",
1363
- "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz",
1364
- "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==",
1365
- "engines": {
1366
- "node": ">= 12"
1367
- }
1368
  },
1369
  "node_modules/debug": {
1370
  "version": "2.6.9",
@@ -1401,20 +1409,14 @@
1401
  "node": ">=4.0.0"
1402
  }
1403
  },
1404
- "node_modules/deep-is": {
1405
- "version": "0.1.4",
1406
- "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
1407
- "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ=="
1408
- },
1409
  "node_modules/degenerator": {
1410
- "version": "4.0.4",
1411
- "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-4.0.4.tgz",
1412
- "integrity": "sha512-MTZdZsuNxSBL92rsjx3VFWe57OpRlikyLbcx2B5Dmdv6oScqpMrvpY7zHLMymrUxo3U5+suPUMsNgW/+SZB1lg==",
1413
  "dependencies": {
1414
  "ast-types": "^0.13.4",
1415
- "escodegen": "^1.14.3",
1416
- "esprima": "^4.0.1",
1417
- "vm2": "^3.9.19"
1418
  },
1419
  "engines": {
1420
  "node": ">= 14"
@@ -1459,9 +1461,9 @@
1459
  }
1460
  },
1461
  "node_modules/devtools-protocol": {
1462
- "version": "0.0.1135028",
1463
- "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1135028.tgz",
1464
- "integrity": "sha512-jEcNGrh6lOXNRJvZb9RjeevtZGrgugPKSMJZxfyxWQnhlKawMPhMtk/dfC+Z/6xNXExlzTKlY5LzIAK/fRpQIw=="
1465
  },
1466
  "node_modules/diff": {
1467
  "version": "4.0.2",
@@ -1580,21 +1582,20 @@
1580
  }
1581
  },
1582
  "node_modules/escodegen": {
1583
- "version": "1.14.3",
1584
- "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz",
1585
- "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==",
1586
  "dependencies": {
1587
  "esprima": "^4.0.1",
1588
- "estraverse": "^4.2.0",
1589
- "esutils": "^2.0.2",
1590
- "optionator": "^0.8.1"
1591
  },
1592
  "bin": {
1593
  "escodegen": "bin/escodegen.js",
1594
  "esgenerate": "bin/esgenerate.js"
1595
  },
1596
  "engines": {
1597
- "node": ">=4.0"
1598
  },
1599
  "optionalDependencies": {
1600
  "source-map": "~0.6.1"
@@ -1613,9 +1614,9 @@
1613
  }
1614
  },
1615
  "node_modules/estraverse": {
1616
- "version": "4.3.0",
1617
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
1618
- "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
1619
  "engines": {
1620
  "node": ">=4.0"
1621
  }
@@ -1637,9 +1638,9 @@
1637
  }
1638
  },
1639
  "node_modules/eventsource-parser": {
1640
- "version": "1.0.0",
1641
- "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-1.0.0.tgz",
1642
- "integrity": "sha512-9jgfSCa3dmEme2ES3mPByGXfgZ87VbP97tng1G2nWwWx6bV2nYxm2AWCrbQjXToSe+yYlqaZNtxffR9IeQr95g==",
1643
  "engines": {
1644
  "node": ">=14.18"
1645
  }
@@ -1661,14 +1662,6 @@
1661
  "node": ">=4"
1662
  }
1663
  },
1664
- "node_modules/execa/node_modules/get-stream": {
1665
- "version": "3.0.0",
1666
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",
1667
- "integrity": "sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ==",
1668
- "engines": {
1669
- "node": ">=4"
1670
- }
1671
- },
1672
  "node_modules/expand-template": {
1673
  "version": "2.0.3",
1674
  "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
@@ -1763,6 +1756,20 @@
1763
  }
1764
  }
1765
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1766
  "node_modules/extract-zip/node_modules/ms": {
1767
  "version": "2.1.2",
1768
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
@@ -1782,9 +1789,9 @@
1782
  "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
1783
  },
1784
  "node_modules/fast-fifo": {
1785
- "version": "1.3.0",
1786
- "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.0.tgz",
1787
- "integrity": "sha512-IgfweLvEpwyA4WgiQe9Nx6VV2QkML2NkvZnk1oKnIzXgXdWxuhF7zw4DvLTPZJn6PIUneiAXPF24QmoEqHTjyw=="
1788
  },
1789
  "node_modules/fast-glob": {
1790
  "version": "3.3.1",
@@ -1806,11 +1813,6 @@
1806
  "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
1807
  "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
1808
  },
1809
- "node_modules/fast-levenshtein": {
1810
- "version": "2.0.6",
1811
- "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
1812
- "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw=="
1813
- },
1814
  "node_modules/fastq": {
1815
  "version": "1.15.0",
1816
  "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz",
@@ -1881,11 +1883,6 @@
1881
  "node": ">=10.13.0"
1882
  }
1883
  },
1884
- "node_modules/ffmpeg-concat/node_modules/chownr": {
1885
- "version": "1.1.4",
1886
- "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
1887
- "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg=="
1888
- },
1889
  "node_modules/ffmpeg-concat/node_modules/fs-extra": {
1890
  "version": "7.0.1",
1891
  "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz",
@@ -1959,32 +1956,6 @@
1959
  "url": "https://opencollective.com/libvips"
1960
  }
1961
  },
1962
- "node_modules/ffmpeg-concat/node_modules/tar-fs": {
1963
- "version": "2.1.1",
1964
- "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",
1965
- "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",
1966
- "dependencies": {
1967
- "chownr": "^1.1.1",
1968
- "mkdirp-classic": "^0.5.2",
1969
- "pump": "^3.0.0",
1970
- "tar-stream": "^2.1.4"
1971
- }
1972
- },
1973
- "node_modules/ffmpeg-concat/node_modules/tar-stream": {
1974
- "version": "2.2.0",
1975
- "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
1976
- "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
1977
- "dependencies": {
1978
- "bl": "^4.0.3",
1979
- "end-of-stream": "^1.4.1",
1980
- "fs-constants": "^1.0.0",
1981
- "inherits": "^2.0.3",
1982
- "readable-stream": "^3.1.1"
1983
- },
1984
- "engines": {
1985
- "node": ">=6"
1986
- }
1987
- },
1988
  "node_modules/ffmpeg-concat/node_modules/universalify": {
1989
  "version": "0.1.2",
1990
  "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
@@ -2024,50 +1995,6 @@
2024
  "node": ">=16"
2025
  }
2026
  },
2027
- "node_modules/ffmpeg-static/node_modules/agent-base": {
2028
- "version": "6.0.2",
2029
- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
2030
- "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
2031
- "dependencies": {
2032
- "debug": "4"
2033
- },
2034
- "engines": {
2035
- "node": ">= 6.0.0"
2036
- }
2037
- },
2038
- "node_modules/ffmpeg-static/node_modules/debug": {
2039
- "version": "4.3.4",
2040
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
2041
- "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
2042
- "dependencies": {
2043
- "ms": "2.1.2"
2044
- },
2045
- "engines": {
2046
- "node": ">=6.0"
2047
- },
2048
- "peerDependenciesMeta": {
2049
- "supports-color": {
2050
- "optional": true
2051
- }
2052
- }
2053
- },
2054
- "node_modules/ffmpeg-static/node_modules/https-proxy-agent": {
2055
- "version": "5.0.1",
2056
- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
2057
- "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
2058
- "dependencies": {
2059
- "agent-base": "6",
2060
- "debug": "4"
2061
- },
2062
- "engines": {
2063
- "node": ">= 6"
2064
- }
2065
- },
2066
- "node_modules/ffmpeg-static/node_modules/ms": {
2067
- "version": "2.1.2",
2068
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
2069
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
2070
- },
2071
  "node_modules/file-uri-to-path": {
2072
  "version": "1.0.0",
2073
  "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
@@ -2114,9 +2041,9 @@
2114
  }
2115
  },
2116
  "node_modules/follow-redirects": {
2117
- "version": "1.15.2",
2118
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
2119
- "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==",
2120
  "funding": [
2121
  {
2122
  "type": "individual",
@@ -2188,9 +2115,9 @@
2188
  }
2189
  },
2190
  "node_modules/foreground-child/node_modules/signal-exit": {
2191
- "version": "4.0.2",
2192
- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.2.tgz",
2193
- "integrity": "sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q==",
2194
  "engines": {
2195
  "node": ">=14"
2196
  },
@@ -2221,16 +2148,16 @@
2221
  }
2222
  },
2223
  "node_modules/form-data": {
2224
- "version": "2.3.3",
2225
- "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
2226
- "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
2227
  "dependencies": {
2228
  "asynckit": "^0.4.0",
2229
- "combined-stream": "^1.0.6",
2230
  "mime-types": "^2.1.12"
2231
  },
2232
  "engines": {
2233
- "node": ">= 0.12"
2234
  }
2235
  },
2236
  "node_modules/formdata-polyfill": {
@@ -2279,16 +2206,24 @@
2279
  }
2280
  },
2281
  "node_modules/fs-minipass": {
2282
- "version": "3.0.2",
2283
- "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.2.tgz",
2284
- "integrity": "sha512-2GAfyfoaCDRrM6jaOS3UsBts8yJ55VioXdWcOL7dK9zdAuKT71+WBA4ifnNYqVjYv+4SsPxjK0JT4yIIn4cA/g==",
2285
  "dependencies": {
2286
- "minipass": "^5.0.0"
2287
  },
2288
  "engines": {
2289
  "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
2290
  }
2291
  },
 
 
 
 
 
 
 
 
2292
  "node_modules/fs.realpath": {
2293
  "version": "1.0.0",
2294
  "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -2357,32 +2292,21 @@
2357
  "through": "^2.3.4"
2358
  }
2359
  },
2360
- "node_modules/get-pixels/node_modules/data-uri-to-buffer": {
2361
- "version": "0.0.3",
2362
- "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-0.0.3.tgz",
2363
- "integrity": "sha512-Cp+jOa8QJef5nXS5hU7M1DWzXPEIoVR3kbV0dQuVGwROZg8bGf1DcCnkmajBTnvghTtSNMUdRrPjgaT6ZQucbw=="
2364
- },
2365
  "node_modules/get-stream": {
2366
- "version": "5.2.0",
2367
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
2368
- "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
2369
- "dependencies": {
2370
- "pump": "^3.0.0"
2371
- },
2372
  "engines": {
2373
- "node": ">=8"
2374
- },
2375
- "funding": {
2376
- "url": "https://github.com/sponsors/sindresorhus"
2377
  }
2378
  },
2379
  "node_modules/get-uri": {
2380
- "version": "6.0.1",
2381
- "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.1.tgz",
2382
- "integrity": "sha512-7ZqONUVqaabogsYNWlYj0t3YZaL6dhuEueZXGF+/YVmf6dHmaFg8/6psJKqhx9QykIDKzpGcy2cn4oV4YC7V/Q==",
2383
  "dependencies": {
2384
  "basic-ftp": "^5.0.2",
2385
- "data-uri-to-buffer": "^5.0.1",
2386
  "debug": "^4.3.4",
2387
  "fs-extra": "^8.1.0"
2388
  },
@@ -2391,9 +2315,9 @@
2391
  }
2392
  },
2393
  "node_modules/get-uri/node_modules/data-uri-to-buffer": {
2394
- "version": "5.0.1",
2395
- "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-5.0.1.tgz",
2396
- "integrity": "sha512-a9l6T1qqDogvvnw0nKlfZzqsyikEBZBClF39V3TFoKhDtGBqHu2HkuomJc02j5zft8zrUaXEuoicLeW54RkzPg==",
2397
  "engines": {
2398
  "node": ">= 14"
2399
  }
@@ -2598,9 +2522,9 @@
2598
  }
2599
  },
2600
  "node_modules/gpt-tokens": {
2601
- "version": "1.1.1",
2602
- "resolved": "https://registry.npmjs.org/gpt-tokens/-/gpt-tokens-1.1.1.tgz",
2603
- "integrity": "sha512-fB1u0ZH7PywF9FByfWCqn6Hpp3so/pFUmk3AiV4QlOskr57LK8Ds3YJOjdemWKRGJQ+2pT9ikt++Eb+/et9gTQ==",
2604
  "dependencies": {
2605
  "decimal.js": "^10.4.3",
2606
  "js-tiktoken": "^1.0.7",
@@ -2708,15 +2632,16 @@
2708
  }
2709
  },
2710
  "node_modules/http-proxy-agent": {
2711
- "version": "7.0.0",
2712
- "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz",
2713
- "integrity": "sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==",
2714
  "dependencies": {
2715
- "agent-base": "^7.1.0",
2716
- "debug": "^4.3.4"
 
2717
  },
2718
  "engines": {
2719
- "node": ">= 14"
2720
  }
2721
  },
2722
  "node_modules/http-proxy-agent/node_modules/debug": {
@@ -2768,15 +2693,15 @@
2768
  }
2769
  },
2770
  "node_modules/https-proxy-agent": {
2771
- "version": "7.0.0",
2772
- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.0.tgz",
2773
- "integrity": "sha512-0euwPCRyAPSgGdzD1IVN9nJYHtBhJwb6XPfbpQcYbPCwrBidX6GzxmchnaF4sfF/jPb74Ojx5g4yTg3sixlyPw==",
2774
  "dependencies": {
2775
- "agent-base": "^7.0.2",
2776
  "debug": "4"
2777
  },
2778
  "engines": {
2779
- "node": ">= 14"
2780
  }
2781
  },
2782
  "node_modules/https-proxy-agent/node_modules/debug": {
@@ -3041,9 +2966,9 @@
3041
  "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g=="
3042
  },
3043
  "node_modules/jackspeak": {
3044
- "version": "2.2.1",
3045
- "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.1.tgz",
3046
- "integrity": "sha512-MXbxovZ/Pm42f6cDIDkl3xpwv1AGwObKwfmjs2nQePiy85tP3fatofl3FC1aBsOtP/6fq5SbtgHwWcMsLP+bDw==",
3047
  "dependencies": {
3048
  "@isaacs/cliui": "^8.0.2"
3049
  },
@@ -3150,18 +3075,6 @@
3150
  "integrity": "sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA==",
3151
  "deprecated": "use String.prototype.padStart()"
3152
  },
3153
- "node_modules/levn": {
3154
- "version": "0.3.0",
3155
- "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
3156
- "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==",
3157
- "dependencies": {
3158
- "prelude-ls": "~1.1.2",
3159
- "type-check": "~0.3.2"
3160
- },
3161
- "engines": {
3162
- "node": ">= 0.8.0"
3163
- }
3164
- },
3165
  "node_modules/lines-and-columns": {
3166
  "version": "1.2.4",
3167
  "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
@@ -3217,76 +3130,6 @@
3217
  "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
3218
  }
3219
  },
3220
- "node_modules/make-fetch-happen/node_modules/agent-base": {
3221
- "version": "6.0.2",
3222
- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
3223
- "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
3224
- "dependencies": {
3225
- "debug": "4"
3226
- },
3227
- "engines": {
3228
- "node": ">= 6.0.0"
3229
- }
3230
- },
3231
- "node_modules/make-fetch-happen/node_modules/debug": {
3232
- "version": "4.3.4",
3233
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
3234
- "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
3235
- "dependencies": {
3236
- "ms": "2.1.2"
3237
- },
3238
- "engines": {
3239
- "node": ">=6.0"
3240
- },
3241
- "peerDependenciesMeta": {
3242
- "supports-color": {
3243
- "optional": true
3244
- }
3245
- }
3246
- },
3247
- "node_modules/make-fetch-happen/node_modules/http-proxy-agent": {
3248
- "version": "5.0.0",
3249
- "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz",
3250
- "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==",
3251
- "dependencies": {
3252
- "@tootallnate/once": "2",
3253
- "agent-base": "6",
3254
- "debug": "4"
3255
- },
3256
- "engines": {
3257
- "node": ">= 6"
3258
- }
3259
- },
3260
- "node_modules/make-fetch-happen/node_modules/https-proxy-agent": {
3261
- "version": "5.0.1",
3262
- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
3263
- "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
3264
- "dependencies": {
3265
- "agent-base": "6",
3266
- "debug": "4"
3267
- },
3268
- "engines": {
3269
- "node": ">= 6"
3270
- }
3271
- },
3272
- "node_modules/make-fetch-happen/node_modules/ms": {
3273
- "version": "2.1.2",
3274
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
3275
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
3276
- },
3277
- "node_modules/make-fetch-happen/node_modules/socks-proxy-agent": {
3278
- "version": "7.0.0",
3279
- "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz",
3280
- "integrity": "sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==",
3281
- "dependencies": {
3282
- "agent-base": "^6.0.2",
3283
- "debug": "^4.3.3",
3284
- "socks": "^2.6.2"
3285
- },
3286
- "engines": {
3287
- "node": ">= 10"
3288
- }
3289
- },
3290
  "node_modules/media-typer": {
3291
  "version": "0.3.0",
3292
  "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
@@ -3419,11 +3262,11 @@
3419
  }
3420
  },
3421
  "node_modules/minipass-fetch": {
3422
- "version": "3.0.3",
3423
- "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.3.tgz",
3424
- "integrity": "sha512-n5ITsTkDqYkYJZjcRWzZt9qnZKCT7nKCosJhHoj7S7zD+BP4jVbWs+odsniw5TA3E0sLomhTKOKjF86wf11PuQ==",
3425
  "dependencies": {
3426
- "minipass": "^5.0.0",
3427
  "minipass-sized": "^1.0.3",
3428
  "minizlib": "^2.1.2"
3429
  },
@@ -3434,6 +3277,14 @@
3434
  "encoding": "^0.1.13"
3435
  }
3436
  },
 
 
 
 
 
 
 
 
3437
  "node_modules/minipass-flush": {
3438
  "version": "1.0.5",
3439
  "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz",
@@ -3561,9 +3412,9 @@
3561
  }
3562
  },
3563
  "node_modules/nan": {
3564
- "version": "2.17.0",
3565
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz",
3566
- "integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ=="
3567
  },
3568
  "node_modules/napi-build-utils": {
3569
  "version": "1.0.2",
@@ -3618,9 +3469,9 @@
3618
  "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ=="
3619
  },
3620
  "node_modules/node-abi": {
3621
- "version": "3.45.0",
3622
- "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.45.0.tgz",
3623
- "integrity": "sha512-iwXuFrMAcFVi/ZoZiqq8BzAdsLw9kxDfTC0HMyjXfSL/6CSDAGD5UmR7azrAgWV1zKYq7dUUMj4owusBWKLsiQ==",
3624
  "dependencies": {
3625
  "semver": "^7.3.5"
3626
  },
@@ -3685,9 +3536,9 @@
3685
  }
3686
  },
3687
  "node_modules/node-fetch": {
3688
- "version": "3.3.1",
3689
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.1.tgz",
3690
- "integrity": "sha512-cRVc/kyto/7E5shrWca1Wsea4y6tL9iYJE5FBCius3JQfb/4P4I295PfhgbJQBLTx6lATE4z+wK0rPM4VS2uow==",
3691
  "dependencies": {
3692
  "data-uri-to-buffer": "^4.0.0",
3693
  "fetch-blob": "^3.1.4",
@@ -3701,6 +3552,14 @@
3701
  "url": "https://opencollective.com/node-fetch"
3702
  }
3703
  },
 
 
 
 
 
 
 
 
3704
  "node_modules/node-gyp": {
3705
  "version": "9.4.0",
3706
  "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.0.tgz",
@@ -3726,9 +3585,9 @@
3726
  }
3727
  },
3728
  "node_modules/node-gyp-build": {
3729
- "version": "4.6.0",
3730
- "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz",
3731
- "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==",
3732
  "bin": {
3733
  "node-gyp-build": "bin.js",
3734
  "node-gyp-build-optional": "optional.js",
@@ -3875,35 +3734,6 @@
3875
  "form-data": "^4.0.0"
3876
  }
3877
  },
3878
- "node_modules/openai/node_modules/form-data": {
3879
- "version": "4.0.0",
3880
- "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
3881
- "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
3882
- "dependencies": {
3883
- "asynckit": "^0.4.0",
3884
- "combined-stream": "^1.0.8",
3885
- "mime-types": "^2.1.12"
3886
- },
3887
- "engines": {
3888
- "node": ">= 6"
3889
- }
3890
- },
3891
- "node_modules/optionator": {
3892
- "version": "0.8.3",
3893
- "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz",
3894
- "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==",
3895
- "dependencies": {
3896
- "deep-is": "~0.1.3",
3897
- "fast-levenshtein": "~2.0.6",
3898
- "levn": "~0.3.0",
3899
- "prelude-ls": "~1.1.2",
3900
- "type-check": "~0.3.2",
3901
- "word-wrap": "~1.2.3"
3902
- },
3903
- "engines": {
3904
- "node": ">= 0.8.0"
3905
- }
3906
- },
3907
  "node_modules/p-finally": {
3908
  "version": "1.0.0",
3909
  "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
@@ -3932,17 +3762,29 @@
3932
  }
3933
  },
3934
  "node_modules/pac-proxy-agent": {
3935
- "version": "6.0.3",
3936
- "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-6.0.3.tgz",
3937
- "integrity": "sha512-5Hr1KgPDoc21Vn3rsXBirwwDnF/iac1jN/zkpsOYruyT+ZgsUhUOgVwq3v9+ukjZd/yGm/0nzO1fDfl7rkGoHQ==",
3938
  "dependencies": {
 
3939
  "agent-base": "^7.0.2",
3940
  "debug": "^4.3.4",
3941
  "get-uri": "^6.0.1",
3942
  "http-proxy-agent": "^7.0.0",
3943
- "https-proxy-agent": "^7.0.0",
3944
- "pac-resolver": "^6.0.1",
3945
- "socks-proxy-agent": "^8.0.1"
 
 
 
 
 
 
 
 
 
 
 
3946
  },
3947
  "engines": {
3948
  "node": ">= 14"
@@ -3964,17 +3806,54 @@
3964
  }
3965
  }
3966
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3967
  "node_modules/pac-proxy-agent/node_modules/ms": {
3968
  "version": "2.1.2",
3969
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
3970
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
3971
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
3972
  "node_modules/pac-resolver": {
3973
- "version": "6.0.2",
3974
- "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-6.0.2.tgz",
3975
- "integrity": "sha512-EQpuJ2ifOjpZY5sg1Q1ZeAxvtLwR7Mj3RgY8cysPGbsRu3RBXyJFWxnMus9PScjxya/0LzvVDxNh/gl0eXBU4w==",
3976
  "dependencies": {
3977
- "degenerator": "^4.0.4",
3978
  "ip": "^1.1.8",
3979
  "netmask": "^2.0.2"
3980
  },
@@ -4017,11 +3896,6 @@
4017
  "data-uri-to-buffer": "0.0.3"
4018
  }
4019
  },
4020
- "node_modules/parse-data-uri/node_modules/data-uri-to-buffer": {
4021
- "version": "0.0.3",
4022
- "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-0.0.3.tgz",
4023
- "integrity": "sha512-Cp+jOa8QJef5nXS5hU7M1DWzXPEIoVR3kbV0dQuVGwROZg8bGf1DcCnkmajBTnvghTtSNMUdRrPjgaT6ZQucbw=="
4024
- },
4025
  "node_modules/parse-json": {
4026
  "version": "5.2.0",
4027
  "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
@@ -4084,9 +3958,9 @@
4084
  }
4085
  },
4086
  "node_modules/path-scurry/node_modules/lru-cache": {
4087
- "version": "10.0.0",
4088
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.0.tgz",
4089
- "integrity": "sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw==",
4090
  "engines": {
4091
  "node": "14 || >=16.14"
4092
  }
@@ -4158,45 +4032,6 @@
4158
  "node": ">=10"
4159
  }
4160
  },
4161
- "node_modules/prebuild-install/node_modules/chownr": {
4162
- "version": "1.1.4",
4163
- "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
4164
- "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg=="
4165
- },
4166
- "node_modules/prebuild-install/node_modules/tar-fs": {
4167
- "version": "2.1.1",
4168
- "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",
4169
- "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",
4170
- "dependencies": {
4171
- "chownr": "^1.1.1",
4172
- "mkdirp-classic": "^0.5.2",
4173
- "pump": "^3.0.0",
4174
- "tar-stream": "^2.1.4"
4175
- }
4176
- },
4177
- "node_modules/prebuild-install/node_modules/tar-stream": {
4178
- "version": "2.2.0",
4179
- "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
4180
- "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
4181
- "dependencies": {
4182
- "bl": "^4.0.3",
4183
- "end-of-stream": "^1.4.1",
4184
- "fs-constants": "^1.0.0",
4185
- "inherits": "^2.0.3",
4186
- "readable-stream": "^3.1.1"
4187
- },
4188
- "engines": {
4189
- "node": ">=6"
4190
- }
4191
- },
4192
- "node_modules/prelude-ls": {
4193
- "version": "1.1.2",
4194
- "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
4195
- "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==",
4196
- "engines": {
4197
- "node": ">= 0.8.0"
4198
- }
4199
- },
4200
  "node_modules/progress": {
4201
  "version": "2.0.3",
4202
  "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
@@ -4230,16 +4065,16 @@
4230
  }
4231
  },
4232
  "node_modules/proxy-agent": {
4233
- "version": "6.2.1",
4234
- "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.2.1.tgz",
4235
- "integrity": "sha512-OIbBKlRAT+ycCm6wAYIzMwPejzRtjy8F3QiDX0eKOA3e4pe3U9F/IvzcHP42bmgQxVv97juG+J8/gx+JIeCX/Q==",
4236
  "dependencies": {
4237
  "agent-base": "^7.0.2",
4238
  "debug": "^4.3.4",
4239
  "http-proxy-agent": "^7.0.0",
4240
  "https-proxy-agent": "^7.0.0",
4241
  "lru-cache": "^7.14.1",
4242
- "pac-proxy-agent": "^6.0.3",
4243
  "proxy-from-env": "^1.1.0",
4244
  "socks-proxy-agent": "^8.0.1"
4245
  },
@@ -4247,6 +4082,17 @@
4247
  "node": ">= 14"
4248
  }
4249
  },
 
 
 
 
 
 
 
 
 
 
 
4250
  "node_modules/proxy-agent/node_modules/debug": {
4251
  "version": "4.3.4",
4252
  "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
@@ -4263,11 +4109,48 @@
4263
  }
4264
  }
4265
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4266
  "node_modules/proxy-agent/node_modules/ms": {
4267
  "version": "2.1.2",
4268
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
4269
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
4270
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
4271
  "node_modules/proxy-from-env": {
4272
  "version": "1.1.0",
4273
  "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
@@ -4296,29 +4179,29 @@
4296
  }
4297
  },
4298
  "node_modules/puppeteer": {
4299
- "version": "20.8.0",
4300
- "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-20.8.0.tgz",
4301
- "integrity": "sha512-DnTwtQMUzWGkJYN3rvUW8y2LciFMnM0YR9cgwWmYmMLhUnYQw1XX+Q+5cAO8+AADglVuJCz0kaopd0lMI5j04g==",
4302
  "hasInstallScript": true,
4303
  "dependencies": {
4304
- "@puppeteer/browsers": "1.4.3",
4305
  "cosmiconfig": "8.2.0",
4306
- "puppeteer-core": "20.8.0"
4307
  },
4308
  "engines": {
4309
  "node": ">=16.3.0"
4310
  }
4311
  },
4312
  "node_modules/puppeteer-core": {
4313
- "version": "20.8.0",
4314
- "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-20.8.0.tgz",
4315
- "integrity": "sha512-sQcuH6nv9jnFiaaePk53+C0O9BaJP6OaPmYKqJ3sWhziThv6uaaosK49Kg3g1HUUEP9KYhbOhedPIUCXJSQUxw==",
4316
  "dependencies": {
4317
- "@puppeteer/browsers": "1.4.3",
4318
  "chromium-bidi": "0.4.16",
4319
  "cross-fetch": "4.0.0",
4320
  "debug": "4.3.4",
4321
- "devtools-protocol": "0.0.1135028",
4322
  "ws": "8.13.0"
4323
  },
4324
  "engines": {
@@ -4354,6 +4237,26 @@
4354
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
4355
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
4356
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4357
  "node_modules/qs": {
4358
  "version": "6.11.0",
4359
  "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz",
@@ -4529,6 +4432,19 @@
4529
  "node": ">= 6"
4530
  }
4531
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
4532
  "node_modules/request/node_modules/qs": {
4533
  "version": "6.5.3",
4534
  "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz",
@@ -4576,9 +4492,9 @@
4576
  }
4577
  },
4578
  "node_modules/resolve": {
4579
- "version": "1.22.4",
4580
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz",
4581
- "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==",
4582
  "dependencies": {
4583
  "is-core-module": "^2.13.0",
4584
  "path-parse": "^1.0.7",
@@ -4777,9 +4693,9 @@
4777
  "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
4778
  },
4779
  "node_modules/sharp": {
4780
- "version": "0.32.4",
4781
- "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.32.4.tgz",
4782
- "integrity": "sha512-exUnZewqVZC6UXqXuQ8fyJJv0M968feBi04jb9GcUHrWtkRoAKnbJt8IfwT4NJs7FskArbJ14JAFGVuooszoGg==",
4783
  "hasInstallScript": true,
4784
  "dependencies": {
4785
  "color": "^4.2.3",
@@ -4833,6 +4749,16 @@
4833
  "tar-stream": "^3.1.5"
4834
  }
4835
  },
 
 
 
 
 
 
 
 
 
 
4836
  "node_modules/shebang-command": {
4837
  "version": "1.2.0",
4838
  "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
@@ -4965,16 +4891,16 @@
4965
  }
4966
  },
4967
  "node_modules/socks-proxy-agent": {
4968
- "version": "8.0.1",
4969
- "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.1.tgz",
4970
- "integrity": "sha512-59EjPbbgg8U3x62hhKOFVAmySQUcfRQ4C7Q/D5sEHnZTQRrQlNKINks44DMR1gwXp0p4LaVIeccX2KHTTcHVqQ==",
4971
  "dependencies": {
4972
- "agent-base": "^7.0.1",
4973
- "debug": "^4.3.4",
4974
- "socks": "^2.7.1"
4975
  },
4976
  "engines": {
4977
- "node": ">= 14"
4978
  }
4979
  },
4980
  "node_modules/socks-proxy-agent/node_modules/debug": {
@@ -5013,9 +4939,9 @@
5013
  }
5014
  },
5015
  "node_modules/sprintf-js": {
5016
- "version": "1.1.2",
5017
- "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz",
5018
- "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug=="
5019
  },
5020
  "node_modules/sshpk": {
5021
  "version": "1.17.0",
@@ -5042,16 +4968,24 @@
5042
  }
5043
  },
5044
  "node_modules/ssri": {
5045
- "version": "10.0.4",
5046
- "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.4.tgz",
5047
- "integrity": "sha512-12+IR2CB2C28MMAw0Ncqwj5QbTcs0nGIhgJzYWzDkb21vWmfNI83KS4f3Ci6GI98WreIfG7o9UXp3C0qbpA8nQ==",
5048
  "dependencies": {
5049
- "minipass": "^5.0.0"
5050
  },
5051
  "engines": {
5052
  "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
5053
  }
5054
  },
 
 
 
 
 
 
 
 
5055
  "node_modules/statuses": {
5056
  "version": "2.0.1",
5057
  "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
@@ -5061,9 +4995,9 @@
5061
  }
5062
  },
5063
  "node_modules/streamx": {
5064
- "version": "2.15.0",
5065
- "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.0.tgz",
5066
- "integrity": "sha512-HcxY6ncGjjklGs1xsP1aR71INYcsXFJet5CU1CHqihQ2J5nOsbd4OjgjHO42w/4QNv9gZb3BueV+Vxok5pLEXg==",
5067
  "dependencies": {
5068
  "fast-fifo": "^1.1.0",
5069
  "queue-tick": "^1.0.1"
@@ -5166,9 +5100,9 @@
5166
  }
5167
  },
5168
  "node_modules/tar": {
5169
- "version": "6.1.15",
5170
- "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.15.tgz",
5171
- "integrity": "sha512-/zKt9UyngnxIT/EAGYuxaMYgOIJiP81ab9ZfkILq4oNLPFX50qyYmu7jRj9qeXoxmJHjGlbH0+cm2uy1WCs10A==",
5172
  "dependencies": {
5173
  "chownr": "^2.0.0",
5174
  "fs-minipass": "^2.0.0",
@@ -5182,23 +5116,34 @@
5182
  }
5183
  },
5184
  "node_modules/tar-fs": {
5185
- "version": "3.0.3",
5186
- "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.3.tgz",
5187
- "integrity": "sha512-ZK36riGYnFI6LujIBfBRoDfeaaWUkStIFKwtPjnDWCKnsDE9kuQthG09aQjLjpzoRtVElEMZ/AIAURNb7N9mkA==",
5188
  "dependencies": {
 
5189
  "mkdirp-classic": "^0.5.2",
5190
  "pump": "^3.0.0",
5191
- "tar-stream": "^3.1.0"
5192
  }
5193
  },
 
 
 
 
 
5194
  "node_modules/tar-stream": {
5195
- "version": "3.1.6",
5196
- "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.6.tgz",
5197
- "integrity": "sha512-B/UyjYwPpMBv+PaFSWAmtYjwdrlEaZQEhMIBFNC5oEG8lpiW8XjcSdmEaClj28ArfKScKHs2nshz3k2le6crsg==",
5198
  "dependencies": {
5199
- "b4a": "^1.6.4",
5200
- "fast-fifo": "^1.2.0",
5201
- "streamx": "^2.15.0"
 
 
 
 
 
5202
  }
5203
  },
5204
  "node_modules/tar/node_modules/fs-minipass": {
@@ -5360,9 +5305,9 @@
5360
  }
5361
  },
5362
  "node_modules/tslib": {
5363
- "version": "2.6.0",
5364
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz",
5365
- "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA=="
5366
  },
5367
  "node_modules/tts-react": {
5368
  "version": "3.0.1",
@@ -5393,17 +5338,6 @@
5393
  "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
5394
  "integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA=="
5395
  },
5396
- "node_modules/type-check": {
5397
- "version": "0.3.2",
5398
- "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
5399
- "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==",
5400
- "dependencies": {
5401
- "prelude-ls": "~1.1.2"
5402
- },
5403
- "engines": {
5404
- "node": ">= 0.8.0"
5405
- }
5406
- },
5407
  "node_modules/type-is": {
5408
  "version": "1.6.18",
5409
  "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
@@ -5431,9 +5365,9 @@
5431
  }
5432
  },
5433
  "node_modules/typescript": {
5434
- "version": "5.1.6",
5435
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz",
5436
- "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==",
5437
  "peer": true,
5438
  "bin": {
5439
  "tsc": "bin/tsc",
@@ -5537,9 +5471,13 @@
5537
  }
5538
  },
5539
  "node_modules/uuid": {
5540
- "version": "9.0.0",
5541
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz",
5542
- "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==",
 
 
 
 
5543
  "bin": {
5544
  "uuid": "dist/bin/uuid"
5545
  }
@@ -5581,21 +5519,6 @@
5581
  "extsprintf": "^1.2.0"
5582
  }
5583
  },
5584
- "node_modules/vm2": {
5585
- "version": "3.9.19",
5586
- "resolved": "https://registry.npmjs.org/vm2/-/vm2-3.9.19.tgz",
5587
- "integrity": "sha512-J637XF0DHDMV57R6JyVsTak7nIL8gy5KH4r1HiwWLf/4GBbb5MKL5y7LpmF4A8E2nR6XmzpmMFQ7V7ppPTmUQg==",
5588
- "dependencies": {
5589
- "acorn": "^8.7.0",
5590
- "acorn-walk": "^8.2.0"
5591
- },
5592
- "bin": {
5593
- "vm2": "bin/vm2"
5594
- },
5595
- "engines": {
5596
- "node": ">=6.0"
5597
- }
5598
- },
5599
  "node_modules/weakmap-shim": {
5600
  "version": "1.1.1",
5601
  "resolved": "https://registry.npmjs.org/weakmap-shim/-/weakmap-shim-1.1.1.tgz",
@@ -5642,14 +5565,6 @@
5642
  "string-width": "^1.0.2 || 2 || 3 || 4"
5643
  }
5644
  },
5645
- "node_modules/word-wrap": {
5646
- "version": "1.2.3",
5647
- "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
5648
- "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
5649
- "engines": {
5650
- "node": ">=0.10.0"
5651
- }
5652
- },
5653
  "node_modules/wrap-ansi": {
5654
  "version": "7.0.0",
5655
  "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
@@ -5749,9 +5664,9 @@
5749
  "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
5750
  },
5751
  "node_modules/ws": {
5752
- "version": "8.13.0",
5753
- "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz",
5754
- "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==",
5755
  "engines": {
5756
  "node": ">=10.0.0"
5757
  },
@@ -5790,9 +5705,9 @@
5790
  "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
5791
  },
5792
  "node_modules/yaml": {
5793
- "version": "2.3.1",
5794
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz",
5795
- "integrity": "sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==",
5796
  "engines": {
5797
  "node": ">= 14"
5798
  }
 
36
  }
37
  },
38
  "node_modules/@babel/code-frame": {
39
+ "version": "7.22.13",
40
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz",
41
+ "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==",
42
  "dependencies": {
43
+ "@babel/highlight": "^7.22.13",
44
+ "chalk": "^2.4.2"
45
  },
46
  "engines": {
47
  "node": ">=6.9.0"
48
  }
49
  },
50
  "node_modules/@babel/helper-validator-identifier": {
51
+ "version": "7.22.20",
52
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
53
+ "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==",
54
  "engines": {
55
  "node": ">=6.9.0"
56
  }
57
  },
58
  "node_modules/@babel/highlight": {
59
+ "version": "7.22.20",
60
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz",
61
+ "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==",
62
  "dependencies": {
63
+ "@babel/helper-validator-identifier": "^7.22.20",
64
+ "chalk": "^2.4.2",
65
  "js-tokens": "^4.0.0"
66
  },
67
  "engines": {
 
94
  }
95
  },
96
  "node_modules/@gorgonjs/file-provider": {
97
+ "version": "1.5.0",
98
+ "resolved": "https://registry.npmjs.org/@gorgonjs/file-provider/-/file-provider-1.5.0.tgz",
99
+ "integrity": "sha512-VhYEOH74qTySGoNo5RnNaL/i3RPOh16VJMtXsW9YceGS86eTM2wrgnJis71p16BZufmepJUQDU8QJoNvrYbuZg==",
100
  "dependencies": {
101
  "fast-glob": "^3.3.0"
102
  },
103
  "peerDependencies": {
104
+ "@gorgonjs/gorgon": "^1.5.0"
105
  }
106
  },
107
  "node_modules/@gorgonjs/gorgon": {
108
+ "version": "1.5.0",
109
+ "resolved": "https://registry.npmjs.org/@gorgonjs/gorgon/-/gorgon-1.5.0.tgz",
110
+ "integrity": "sha512-xCOGgeYTkWx8IqJkUa42whTSLquJCiTtuScEVAuPxm6Yae8GsD0pibHqI0EW4VWdBlj5GJu3WjKWQx15/sVywA=="
111
  },
112
  "node_modules/@gradio/client": {
113
  "version": "0.1.4",
 
319
  }
320
  },
321
  "node_modules/@puppeteer/browsers": {
322
+ "version": "1.4.6",
323
+ "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-1.4.6.tgz",
324
+ "integrity": "sha512-x4BEjr2SjOPowNeiguzjozQbsc6h437ovD/wu+JpaenxVLm3jkgzHY2xOslMTp50HoTvQreMjiexiGQw1sqZlQ==",
325
  "dependencies": {
326
  "debug": "4.3.4",
327
  "extract-zip": "2.0.1",
328
  "progress": "2.0.3",
329
+ "proxy-agent": "6.3.0",
330
+ "tar-fs": "3.0.4",
331
  "unbzip2-stream": "1.4.3",
332
  "yargs": "17.7.1"
333
  },
 
367
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
368
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
369
  },
370
+ "node_modules/@puppeteer/browsers/node_modules/tar-fs": {
371
+ "version": "3.0.4",
372
+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.4.tgz",
373
+ "integrity": "sha512-5AFQU8b9qLfZCX9zp2duONhPmZv0hGYiBPJsyUdqMjzq/mqVpy/rEUSeHk1+YitmxugaptgBh5oDGU3VsAJq4w==",
374
+ "dependencies": {
375
+ "mkdirp-classic": "^0.5.2",
376
+ "pump": "^3.0.0",
377
+ "tar-stream": "^3.1.5"
378
+ }
379
+ },
380
+ "node_modules/@puppeteer/browsers/node_modules/tar-stream": {
381
+ "version": "3.1.6",
382
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.6.tgz",
383
+ "integrity": "sha512-B/UyjYwPpMBv+PaFSWAmtYjwdrlEaZQEhMIBFNC5oEG8lpiW8XjcSdmEaClj28ArfKScKHs2nshz3k2le6crsg==",
384
+ "dependencies": {
385
+ "b4a": "^1.6.4",
386
+ "fast-fifo": "^1.2.0",
387
+ "streamx": "^2.15.0"
388
+ }
389
+ },
390
  "node_modules/@tootallnate/once": {
391
  "version": "2.0.0",
392
  "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz",
 
395
  "node": ">= 10"
396
  }
397
  },
398
+ "node_modules/@tootallnate/quickjs-emscripten": {
399
+ "version": "0.23.0",
400
+ "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz",
401
+ "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA=="
402
+ },
403
  "node_modules/@tsconfig/node10": {
404
  "version": "1.0.9",
405
  "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz",
 
421
  "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA=="
422
  },
423
  "node_modules/@types/body-parser": {
424
+ "version": "1.19.3",
425
+ "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.3.tgz",
426
+ "integrity": "sha512-oyl4jvAfTGX9Bt6Or4H9ni1Z447/tQuxnZsytsCaExKlmJiU8sFgnIBRzJUpKwB5eWn9HuBYlUlVA74q/yN0eQ==",
427
  "dependencies": {
428
  "@types/connect": "*",
429
  "@types/node": "*"
430
  }
431
  },
432
  "node_modules/@types/connect": {
433
+ "version": "3.4.36",
434
+ "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.36.tgz",
435
+ "integrity": "sha512-P63Zd/JUGq+PdrM1lv0Wv5SBYeA2+CORvbrXbngriYY0jzLUWfQMQQxOhjONEz/wlHOAxOdY7CY65rgQdTjq2w==",
436
  "dependencies": {
437
  "@types/node": "*"
438
  }
439
  },
440
  "node_modules/@types/express": {
441
+ "version": "4.17.18",
442
+ "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.18.tgz",
443
+ "integrity": "sha512-Sxv8BSLLgsBYmcnGdGjjEjqET2U+AKAdCRODmMiq02FgjwuV75Ut85DRpvFjyw/Mk0vgUOliGRU0UUmuuZHByQ==",
444
  "dependencies": {
445
  "@types/body-parser": "*",
446
  "@types/express-serve-static-core": "^4.17.33",
 
449
  }
450
  },
451
  "node_modules/@types/express-serve-static-core": {
452
+ "version": "4.17.37",
453
+ "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.37.tgz",
454
+ "integrity": "sha512-ZohaCYTgGFcOP7u6aJOhY9uIZQgZ2vxC2yWoArY+FeDXlqeH66ZVBjgvg+RLVAS/DWNq4Ap9ZXu1+SUQiiWYMg==",
455
  "dependencies": {
456
  "@types/node": "*",
457
  "@types/qs": "*",
 
460
  }
461
  },
462
  "node_modules/@types/ffmpeg-concat": {
463
+ "version": "1.1.3",
464
+ "resolved": "https://registry.npmjs.org/@types/ffmpeg-concat/-/ffmpeg-concat-1.1.3.tgz",
465
+ "integrity": "sha512-bZqywSNWbvjX4N8RWwiJbkhmu3+2wZM8kFTvKaaDW3S2CRHoTCAi9bo+NsdVLMNJtPXbtU2sxGNUhLWkA2+ojA=="
466
  },
467
  "node_modules/@types/http-errors": {
468
+ "version": "2.0.2",
469
+ "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.2.tgz",
470
+ "integrity": "sha512-lPG6KlZs88gef6aD85z3HNkztpj7w2R7HmR3gygjfXCQmsLloWNARFkMuzKiiY8FGdh1XDpgBdrSf4aKDiA7Kg=="
471
  },
472
  "node_modules/@types/mime": {
473
+ "version": "1.3.3",
474
+ "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.3.tgz",
475
+ "integrity": "sha512-Ys+/St+2VF4+xuY6+kDIXGxbNRO0mesVg0bbxEfB97Od1Vjpjx9KD1qxs64Gcb3CWPirk9Xe+PT4YiiHQ9T+eg=="
476
  },
477
  "node_modules/@types/node": {
478
+ "version": "20.8.0",
479
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.0.tgz",
480
+ "integrity": "sha512-LzcWltT83s1bthcvjBmiBvGJiiUe84NWRHkw+ZV6Fr41z2FbIzvc815dk2nQ3RAKMuN2fkenM/z3Xv2QzEpYxQ=="
481
  },
482
  "node_modules/@types/qs": {
483
+ "version": "6.9.8",
484
+ "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.8.tgz",
485
+ "integrity": "sha512-u95svzDlTysU5xecFNTgfFG5RUWu1A9P0VzgpcIiGZA9iraHOdSzcxMxQ55DyeRaGCSxQi7LxXDI4rzq/MYfdg=="
486
  },
487
  "node_modules/@types/range-parser": {
488
+ "version": "1.2.5",
489
+ "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.5.tgz",
490
+ "integrity": "sha512-xrO9OoVPqFuYyR/loIHjnbvvyRZREYKLjxV4+dY6v3FQR3stQ9ZxIGkaclF7YhI9hfjpuTbu14hZEy94qKLtOA=="
491
  },
492
  "node_modules/@types/send": {
493
+ "version": "0.17.2",
494
+ "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.2.tgz",
495
+ "integrity": "sha512-aAG6yRf6r0wQ29bkS+x97BIs64ZLxeE/ARwyS6wrldMm3C1MdKwCcnnEwMC1slI8wuxJOpiUH9MioC0A0i+GJw==",
496
  "dependencies": {
497
  "@types/mime": "^1",
498
  "@types/node": "*"
499
  }
500
  },
501
  "node_modules/@types/serve-static": {
502
+ "version": "1.15.3",
503
+ "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.3.tgz",
504
+ "integrity": "sha512-yVRvFsEMrv7s0lGhzrggJjNOSmZCdgCjw9xWrPr/kNNLp6FaDfMC1KaYl3TSJ0c58bECwNBMoQrZJ8hA8E1eFg==",
505
  "dependencies": {
506
  "@types/http-errors": "*",
507
  "@types/mime": "*",
 
509
  }
510
  },
511
  "node_modules/@types/uuid": {
512
+ "version": "9.0.4",
513
+ "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.4.tgz",
514
+ "integrity": "sha512-zAuJWQflfx6dYJM62vna+Sn5aeSWhh3OB+wfUEACNcqUSc0AGc5JKl+ycL1vrH7frGTXhJchYjE1Hak8L819dA=="
515
  },
516
  "node_modules/@types/yauzl": {
517
+ "version": "2.10.1",
518
+ "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.1.tgz",
519
+ "integrity": "sha512-CHzgNU3qYBnp/O4S3yv2tXPlvMTq0YWSTVg2/JYLqWZGHwwgJGAwd00poay/11asPq8wLFwHzubyInqHIFmmiw==",
520
  "optional": true,
521
  "dependencies": {
522
  "@types/node": "*"
 
567
  }
568
  },
569
  "node_modules/agent-base": {
570
+ "version": "6.0.2",
571
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
572
+ "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
573
  "dependencies": {
574
+ "debug": "4"
575
  },
576
  "engines": {
577
+ "node": ">= 6.0.0"
578
  }
579
  },
580
  "node_modules/agent-base/node_modules/debug": {
 
599
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
600
  },
601
  "node_modules/agentkeepalive": {
602
+ "version": "4.5.0",
603
+ "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz",
604
+ "integrity": "sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==",
605
  "dependencies": {
 
 
606
  "humanize-ms": "^1.2.1"
607
  },
608
  "engines": {
609
  "node": ">= 8.0.0"
610
  }
611
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
612
  "node_modules/aggregate-error": {
613
  "version": "3.1.0",
614
  "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz",
 
942
  }
943
  },
944
  "node_modules/cacache": {
945
+ "version": "17.1.4",
946
+ "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.4.tgz",
947
+ "integrity": "sha512-/aJwG2l3ZMJ1xNAnqbMpA40of9dj/pIH3QfiuQSqjfPJF747VR0J/bHn+/KdNnHKc6XQcWt/AfRSBft82W1d2A==",
948
  "dependencies": {
949
  "@npmcli/fs": "^3.1.0",
950
  "fs-minipass": "^3.0.0",
951
  "glob": "^10.2.2",
952
  "lru-cache": "^7.7.1",
953
+ "minipass": "^7.0.3",
954
  "minipass-collect": "^1.0.2",
955
  "minipass-flush": "^1.0.5",
956
  "minipass-pipeline": "^1.2.4",
 
972
  }
973
  },
974
  "node_modules/cacache/node_modules/glob": {
975
+ "version": "10.3.10",
976
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz",
977
+ "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==",
978
  "dependencies": {
979
  "foreground-child": "^3.1.0",
980
+ "jackspeak": "^2.3.5",
981
  "minimatch": "^9.0.1",
982
  "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0",
983
  "path-scurry": "^1.10.1"
984
  },
985
  "bin": {
986
+ "glob": "dist/esm/bin.mjs"
987
  },
988
  "engines": {
989
  "node": ">=16 || 14 >=14.17"
 
1006
  "url": "https://github.com/sponsors/isaacs"
1007
  }
1008
  },
1009
+ "node_modules/cacache/node_modules/minipass": {
1010
+ "version": "7.0.4",
1011
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz",
1012
+ "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==",
1013
+ "engines": {
1014
+ "node": ">=16 || 14 >=14.17"
1015
+ }
1016
+ },
1017
  "node_modules/cacache/node_modules/p-map": {
1018
  "version": "4.0.0",
1019
  "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz",
 
1309
  }
1310
  },
1311
  "node_modules/cross-fetch/node_modules/node-fetch": {
1312
+ "version": "2.7.0",
1313
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
1314
+ "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",
1315
  "dependencies": {
1316
  "whatwg-url": "^5.0.0"
1317
  },
 
1370
  }
1371
  },
1372
  "node_modules/data-uri-to-buffer": {
1373
+ "version": "0.0.3",
1374
+ "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-0.0.3.tgz",
1375
+ "integrity": "sha512-Cp+jOa8QJef5nXS5hU7M1DWzXPEIoVR3kbV0dQuVGwROZg8bGf1DcCnkmajBTnvghTtSNMUdRrPjgaT6ZQucbw=="
 
 
 
1376
  },
1377
  "node_modules/debug": {
1378
  "version": "2.6.9",
 
1409
  "node": ">=4.0.0"
1410
  }
1411
  },
 
 
 
 
 
1412
  "node_modules/degenerator": {
1413
+ "version": "5.0.1",
1414
+ "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz",
1415
+ "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==",
1416
  "dependencies": {
1417
  "ast-types": "^0.13.4",
1418
+ "escodegen": "^2.1.0",
1419
+ "esprima": "^4.0.1"
 
1420
  },
1421
  "engines": {
1422
  "node": ">= 14"
 
1461
  }
1462
  },
1463
  "node_modules/devtools-protocol": {
1464
+ "version": "0.0.1147663",
1465
+ "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1147663.tgz",
1466
+ "integrity": "sha512-hyWmRrexdhbZ1tcJUGpO95ivbRhWXz++F4Ko+n21AY5PNln2ovoJw+8ZMNDTtip+CNFQfrtLVh/w4009dXO/eQ=="
1467
  },
1468
  "node_modules/diff": {
1469
  "version": "4.0.2",
 
1582
  }
1583
  },
1584
  "node_modules/escodegen": {
1585
+ "version": "2.1.0",
1586
+ "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz",
1587
+ "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==",
1588
  "dependencies": {
1589
  "esprima": "^4.0.1",
1590
+ "estraverse": "^5.2.0",
1591
+ "esutils": "^2.0.2"
 
1592
  },
1593
  "bin": {
1594
  "escodegen": "bin/escodegen.js",
1595
  "esgenerate": "bin/esgenerate.js"
1596
  },
1597
  "engines": {
1598
+ "node": ">=6.0"
1599
  },
1600
  "optionalDependencies": {
1601
  "source-map": "~0.6.1"
 
1614
  }
1615
  },
1616
  "node_modules/estraverse": {
1617
+ "version": "5.3.0",
1618
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
1619
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
1620
  "engines": {
1621
  "node": ">=4.0"
1622
  }
 
1638
  }
1639
  },
1640
  "node_modules/eventsource-parser": {
1641
+ "version": "1.1.1",
1642
+ "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-1.1.1.tgz",
1643
+ "integrity": "sha512-3Ej2iLj6ZnX+5CMxqyUb8syl9yVZwcwm8IIMrOJlF7I51zxOOrRlU3zxSb/6hFbl03ts1ZxHAGJdWLZOLyKG7w==",
1644
  "engines": {
1645
  "node": ">=14.18"
1646
  }
 
1662
  "node": ">=4"
1663
  }
1664
  },
 
 
 
 
 
 
 
 
1665
  "node_modules/expand-template": {
1666
  "version": "2.0.3",
1667
  "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
 
1756
  }
1757
  }
1758
  },
1759
+ "node_modules/extract-zip/node_modules/get-stream": {
1760
+ "version": "5.2.0",
1761
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
1762
+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
1763
+ "dependencies": {
1764
+ "pump": "^3.0.0"
1765
+ },
1766
+ "engines": {
1767
+ "node": ">=8"
1768
+ },
1769
+ "funding": {
1770
+ "url": "https://github.com/sponsors/sindresorhus"
1771
+ }
1772
+ },
1773
  "node_modules/extract-zip/node_modules/ms": {
1774
  "version": "2.1.2",
1775
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
 
1789
  "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
1790
  },
1791
  "node_modules/fast-fifo": {
1792
+ "version": "1.3.2",
1793
+ "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz",
1794
+ "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ=="
1795
  },
1796
  "node_modules/fast-glob": {
1797
  "version": "3.3.1",
 
1813
  "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
1814
  "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
1815
  },
 
 
 
 
 
1816
  "node_modules/fastq": {
1817
  "version": "1.15.0",
1818
  "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz",
 
1883
  "node": ">=10.13.0"
1884
  }
1885
  },
 
 
 
 
 
1886
  "node_modules/ffmpeg-concat/node_modules/fs-extra": {
1887
  "version": "7.0.1",
1888
  "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz",
 
1956
  "url": "https://opencollective.com/libvips"
1957
  }
1958
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1959
  "node_modules/ffmpeg-concat/node_modules/universalify": {
1960
  "version": "0.1.2",
1961
  "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
 
1995
  "node": ">=16"
1996
  }
1997
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1998
  "node_modules/file-uri-to-path": {
1999
  "version": "1.0.0",
2000
  "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
 
2041
  }
2042
  },
2043
  "node_modules/follow-redirects": {
2044
+ "version": "1.15.3",
2045
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz",
2046
+ "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==",
2047
  "funding": [
2048
  {
2049
  "type": "individual",
 
2115
  }
2116
  },
2117
  "node_modules/foreground-child/node_modules/signal-exit": {
2118
+ "version": "4.1.0",
2119
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
2120
+ "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
2121
  "engines": {
2122
  "node": ">=14"
2123
  },
 
2148
  }
2149
  },
2150
  "node_modules/form-data": {
2151
+ "version": "4.0.0",
2152
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
2153
+ "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
2154
  "dependencies": {
2155
  "asynckit": "^0.4.0",
2156
+ "combined-stream": "^1.0.8",
2157
  "mime-types": "^2.1.12"
2158
  },
2159
  "engines": {
2160
+ "node": ">= 6"
2161
  }
2162
  },
2163
  "node_modules/formdata-polyfill": {
 
2206
  }
2207
  },
2208
  "node_modules/fs-minipass": {
2209
+ "version": "3.0.3",
2210
+ "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz",
2211
+ "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==",
2212
  "dependencies": {
2213
+ "minipass": "^7.0.3"
2214
  },
2215
  "engines": {
2216
  "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
2217
  }
2218
  },
2219
+ "node_modules/fs-minipass/node_modules/minipass": {
2220
+ "version": "7.0.4",
2221
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz",
2222
+ "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==",
2223
+ "engines": {
2224
+ "node": ">=16 || 14 >=14.17"
2225
+ }
2226
+ },
2227
  "node_modules/fs.realpath": {
2228
  "version": "1.0.0",
2229
  "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
 
2292
  "through": "^2.3.4"
2293
  }
2294
  },
 
 
 
 
 
2295
  "node_modules/get-stream": {
2296
+ "version": "3.0.0",
2297
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",
2298
+ "integrity": "sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ==",
 
 
 
2299
  "engines": {
2300
+ "node": ">=4"
 
 
 
2301
  }
2302
  },
2303
  "node_modules/get-uri": {
2304
+ "version": "6.0.2",
2305
+ "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.2.tgz",
2306
+ "integrity": "sha512-5KLucCJobh8vBY1K07EFV4+cPZH3mrV9YeAruUseCQKHB58SGjjT2l9/eA9LD082IiuMjSlFJEcdJ27TXvbZNw==",
2307
  "dependencies": {
2308
  "basic-ftp": "^5.0.2",
2309
+ "data-uri-to-buffer": "^6.0.0",
2310
  "debug": "^4.3.4",
2311
  "fs-extra": "^8.1.0"
2312
  },
 
2315
  }
2316
  },
2317
  "node_modules/get-uri/node_modules/data-uri-to-buffer": {
2318
+ "version": "6.0.1",
2319
+ "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.1.tgz",
2320
+ "integrity": "sha512-MZd3VlchQkp8rdend6vrx7MmVDJzSNTBvghvKjirLkD+WTChA3KUf0jkE68Q4UyctNqI11zZO9/x2Yx+ub5Cvg==",
2321
  "engines": {
2322
  "node": ">= 14"
2323
  }
 
2522
  }
2523
  },
2524
  "node_modules/gpt-tokens": {
2525
+ "version": "1.1.2",
2526
+ "resolved": "https://registry.npmjs.org/gpt-tokens/-/gpt-tokens-1.1.2.tgz",
2527
+ "integrity": "sha512-Q/HdIRl6IuljdM649NgOA172IJf+Xv+ulLBoq1r/7GlzNpauXhZVNpsN+y34dVEzpy49XUg74CMR1BaaDvQtoA==",
2528
  "dependencies": {
2529
  "decimal.js": "^10.4.3",
2530
  "js-tiktoken": "^1.0.7",
 
2632
  }
2633
  },
2634
  "node_modules/http-proxy-agent": {
2635
+ "version": "5.0.0",
2636
+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz",
2637
+ "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==",
2638
  "dependencies": {
2639
+ "@tootallnate/once": "2",
2640
+ "agent-base": "6",
2641
+ "debug": "4"
2642
  },
2643
  "engines": {
2644
+ "node": ">= 6"
2645
  }
2646
  },
2647
  "node_modules/http-proxy-agent/node_modules/debug": {
 
2693
  }
2694
  },
2695
  "node_modules/https-proxy-agent": {
2696
+ "version": "5.0.1",
2697
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
2698
+ "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
2699
  "dependencies": {
2700
+ "agent-base": "6",
2701
  "debug": "4"
2702
  },
2703
  "engines": {
2704
+ "node": ">= 6"
2705
  }
2706
  },
2707
  "node_modules/https-proxy-agent/node_modules/debug": {
 
2966
  "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g=="
2967
  },
2968
  "node_modules/jackspeak": {
2969
+ "version": "2.3.6",
2970
+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz",
2971
+ "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==",
2972
  "dependencies": {
2973
  "@isaacs/cliui": "^8.0.2"
2974
  },
 
3075
  "integrity": "sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA==",
3076
  "deprecated": "use String.prototype.padStart()"
3077
  },
 
 
 
 
 
 
 
 
 
 
 
 
3078
  "node_modules/lines-and-columns": {
3079
  "version": "1.2.4",
3080
  "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
 
3130
  "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
3131
  }
3132
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3133
  "node_modules/media-typer": {
3134
  "version": "0.3.0",
3135
  "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
 
3262
  }
3263
  },
3264
  "node_modules/minipass-fetch": {
3265
+ "version": "3.0.4",
3266
+ "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz",
3267
+ "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==",
3268
  "dependencies": {
3269
+ "minipass": "^7.0.3",
3270
  "minipass-sized": "^1.0.3",
3271
  "minizlib": "^2.1.2"
3272
  },
 
3277
  "encoding": "^0.1.13"
3278
  }
3279
  },
3280
+ "node_modules/minipass-fetch/node_modules/minipass": {
3281
+ "version": "7.0.4",
3282
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz",
3283
+ "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==",
3284
+ "engines": {
3285
+ "node": ">=16 || 14 >=14.17"
3286
+ }
3287
+ },
3288
  "node_modules/minipass-flush": {
3289
  "version": "1.0.5",
3290
  "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz",
 
3412
  }
3413
  },
3414
  "node_modules/nan": {
3415
+ "version": "2.18.0",
3416
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.18.0.tgz",
3417
+ "integrity": "sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w=="
3418
  },
3419
  "node_modules/napi-build-utils": {
3420
  "version": "1.0.2",
 
3469
  "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ=="
3470
  },
3471
  "node_modules/node-abi": {
3472
+ "version": "3.47.0",
3473
+ "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.47.0.tgz",
3474
+ "integrity": "sha512-2s6B2CWZM//kPgwnuI0KrYwNjfdByE25zvAaEpq9IH4zcNsarH8Ihu/UuX6XMPEogDAxkuUFeZn60pXNHAqn3A==",
3475
  "dependencies": {
3476
  "semver": "^7.3.5"
3477
  },
 
3536
  }
3537
  },
3538
  "node_modules/node-fetch": {
3539
+ "version": "3.3.2",
3540
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz",
3541
+ "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==",
3542
  "dependencies": {
3543
  "data-uri-to-buffer": "^4.0.0",
3544
  "fetch-blob": "^3.1.4",
 
3552
  "url": "https://opencollective.com/node-fetch"
3553
  }
3554
  },
3555
+ "node_modules/node-fetch/node_modules/data-uri-to-buffer": {
3556
+ "version": "4.0.1",
3557
+ "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz",
3558
+ "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==",
3559
+ "engines": {
3560
+ "node": ">= 12"
3561
+ }
3562
+ },
3563
  "node_modules/node-gyp": {
3564
  "version": "9.4.0",
3565
  "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.0.tgz",
 
3585
  }
3586
  },
3587
  "node_modules/node-gyp-build": {
3588
+ "version": "4.6.1",
3589
+ "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.1.tgz",
3590
+ "integrity": "sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ==",
3591
  "bin": {
3592
  "node-gyp-build": "bin.js",
3593
  "node-gyp-build-optional": "optional.js",
 
3734
  "form-data": "^4.0.0"
3735
  }
3736
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3737
  "node_modules/p-finally": {
3738
  "version": "1.0.0",
3739
  "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
 
3762
  }
3763
  },
3764
  "node_modules/pac-proxy-agent": {
3765
+ "version": "7.0.1",
3766
+ "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.1.tgz",
3767
+ "integrity": "sha512-ASV8yU4LLKBAjqIPMbrgtaKIvxQri/yh2OpI+S6hVa9JRkUI3Y3NPFbfngDtY7oFtSMD3w31Xns89mDa3Feo5A==",
3768
  "dependencies": {
3769
+ "@tootallnate/quickjs-emscripten": "^0.23.0",
3770
  "agent-base": "^7.0.2",
3771
  "debug": "^4.3.4",
3772
  "get-uri": "^6.0.1",
3773
  "http-proxy-agent": "^7.0.0",
3774
+ "https-proxy-agent": "^7.0.2",
3775
+ "pac-resolver": "^7.0.0",
3776
+ "socks-proxy-agent": "^8.0.2"
3777
+ },
3778
+ "engines": {
3779
+ "node": ">= 14"
3780
+ }
3781
+ },
3782
+ "node_modules/pac-proxy-agent/node_modules/agent-base": {
3783
+ "version": "7.1.0",
3784
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz",
3785
+ "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==",
3786
+ "dependencies": {
3787
+ "debug": "^4.3.4"
3788
  },
3789
  "engines": {
3790
  "node": ">= 14"
 
3806
  }
3807
  }
3808
  },
3809
+ "node_modules/pac-proxy-agent/node_modules/http-proxy-agent": {
3810
+ "version": "7.0.0",
3811
+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz",
3812
+ "integrity": "sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==",
3813
+ "dependencies": {
3814
+ "agent-base": "^7.1.0",
3815
+ "debug": "^4.3.4"
3816
+ },
3817
+ "engines": {
3818
+ "node": ">= 14"
3819
+ }
3820
+ },
3821
+ "node_modules/pac-proxy-agent/node_modules/https-proxy-agent": {
3822
+ "version": "7.0.2",
3823
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz",
3824
+ "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==",
3825
+ "dependencies": {
3826
+ "agent-base": "^7.0.2",
3827
+ "debug": "4"
3828
+ },
3829
+ "engines": {
3830
+ "node": ">= 14"
3831
+ }
3832
+ },
3833
  "node_modules/pac-proxy-agent/node_modules/ms": {
3834
  "version": "2.1.2",
3835
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
3836
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
3837
  },
3838
+ "node_modules/pac-proxy-agent/node_modules/socks-proxy-agent": {
3839
+ "version": "8.0.2",
3840
+ "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz",
3841
+ "integrity": "sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==",
3842
+ "dependencies": {
3843
+ "agent-base": "^7.0.2",
3844
+ "debug": "^4.3.4",
3845
+ "socks": "^2.7.1"
3846
+ },
3847
+ "engines": {
3848
+ "node": ">= 14"
3849
+ }
3850
+ },
3851
  "node_modules/pac-resolver": {
3852
+ "version": "7.0.0",
3853
+ "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.0.tgz",
3854
+ "integrity": "sha512-Fd9lT9vJbHYRACT8OhCbZBbxr6KRSawSovFpy8nDGshaK99S/EBhVIHp9+crhxrsZOuvLpgL1n23iyPg6Rl2hg==",
3855
  "dependencies": {
3856
+ "degenerator": "^5.0.0",
3857
  "ip": "^1.1.8",
3858
  "netmask": "^2.0.2"
3859
  },
 
3896
  "data-uri-to-buffer": "0.0.3"
3897
  }
3898
  },
 
 
 
 
 
3899
  "node_modules/parse-json": {
3900
  "version": "5.2.0",
3901
  "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
 
3958
  }
3959
  },
3960
  "node_modules/path-scurry/node_modules/lru-cache": {
3961
+ "version": "10.0.1",
3962
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.1.tgz",
3963
+ "integrity": "sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==",
3964
  "engines": {
3965
  "node": "14 || >=16.14"
3966
  }
 
4032
  "node": ">=10"
4033
  }
4034
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4035
  "node_modules/progress": {
4036
  "version": "2.0.3",
4037
  "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
 
4065
  }
4066
  },
4067
  "node_modules/proxy-agent": {
4068
+ "version": "6.3.0",
4069
+ "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.3.0.tgz",
4070
+ "integrity": "sha512-0LdR757eTj/JfuU7TL2YCuAZnxWXu3tkJbg4Oq3geW/qFNT/32T0sp2HnZ9O0lMR4q3vwAt0+xCA8SR0WAD0og==",
4071
  "dependencies": {
4072
  "agent-base": "^7.0.2",
4073
  "debug": "^4.3.4",
4074
  "http-proxy-agent": "^7.0.0",
4075
  "https-proxy-agent": "^7.0.0",
4076
  "lru-cache": "^7.14.1",
4077
+ "pac-proxy-agent": "^7.0.0",
4078
  "proxy-from-env": "^1.1.0",
4079
  "socks-proxy-agent": "^8.0.1"
4080
  },
 
4082
  "node": ">= 14"
4083
  }
4084
  },
4085
+ "node_modules/proxy-agent/node_modules/agent-base": {
4086
+ "version": "7.1.0",
4087
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz",
4088
+ "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==",
4089
+ "dependencies": {
4090
+ "debug": "^4.3.4"
4091
+ },
4092
+ "engines": {
4093
+ "node": ">= 14"
4094
+ }
4095
+ },
4096
  "node_modules/proxy-agent/node_modules/debug": {
4097
  "version": "4.3.4",
4098
  "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
 
4109
  }
4110
  }
4111
  },
4112
+ "node_modules/proxy-agent/node_modules/http-proxy-agent": {
4113
+ "version": "7.0.0",
4114
+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz",
4115
+ "integrity": "sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==",
4116
+ "dependencies": {
4117
+ "agent-base": "^7.1.0",
4118
+ "debug": "^4.3.4"
4119
+ },
4120
+ "engines": {
4121
+ "node": ">= 14"
4122
+ }
4123
+ },
4124
+ "node_modules/proxy-agent/node_modules/https-proxy-agent": {
4125
+ "version": "7.0.2",
4126
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz",
4127
+ "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==",
4128
+ "dependencies": {
4129
+ "agent-base": "^7.0.2",
4130
+ "debug": "4"
4131
+ },
4132
+ "engines": {
4133
+ "node": ">= 14"
4134
+ }
4135
+ },
4136
  "node_modules/proxy-agent/node_modules/ms": {
4137
  "version": "2.1.2",
4138
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
4139
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
4140
  },
4141
+ "node_modules/proxy-agent/node_modules/socks-proxy-agent": {
4142
+ "version": "8.0.2",
4143
+ "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz",
4144
+ "integrity": "sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==",
4145
+ "dependencies": {
4146
+ "agent-base": "^7.0.2",
4147
+ "debug": "^4.3.4",
4148
+ "socks": "^2.7.1"
4149
+ },
4150
+ "engines": {
4151
+ "node": ">= 14"
4152
+ }
4153
+ },
4154
  "node_modules/proxy-from-env": {
4155
  "version": "1.1.0",
4156
  "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
 
4179
  }
4180
  },
4181
  "node_modules/puppeteer": {
4182
+ "version": "20.9.0",
4183
+ "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-20.9.0.tgz",
4184
+ "integrity": "sha512-kAglT4VZ9fWEGg3oLc4/de+JcONuEJhlh3J6f5R1TLkrY/EHHIHxWXDOzXvaxQCtedmyVXBwg8M+P8YCO/wZjw==",
4185
  "hasInstallScript": true,
4186
  "dependencies": {
4187
+ "@puppeteer/browsers": "1.4.6",
4188
  "cosmiconfig": "8.2.0",
4189
+ "puppeteer-core": "20.9.0"
4190
  },
4191
  "engines": {
4192
  "node": ">=16.3.0"
4193
  }
4194
  },
4195
  "node_modules/puppeteer-core": {
4196
+ "version": "20.9.0",
4197
+ "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-20.9.0.tgz",
4198
+ "integrity": "sha512-H9fYZQzMTRrkboEfPmf7m3CLDN6JvbxXA3qTtS+dFt27tR+CsFHzPsT6pzp6lYL6bJbAPaR0HaPO6uSi+F94Pg==",
4199
  "dependencies": {
4200
+ "@puppeteer/browsers": "1.4.6",
4201
  "chromium-bidi": "0.4.16",
4202
  "cross-fetch": "4.0.0",
4203
  "debug": "4.3.4",
4204
+ "devtools-protocol": "0.0.1147663",
4205
  "ws": "8.13.0"
4206
  },
4207
  "engines": {
 
4237
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
4238
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
4239
  },
4240
+ "node_modules/puppeteer-core/node_modules/ws": {
4241
+ "version": "8.13.0",
4242
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz",
4243
+ "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==",
4244
+ "engines": {
4245
+ "node": ">=10.0.0"
4246
+ },
4247
+ "peerDependencies": {
4248
+ "bufferutil": "^4.0.1",
4249
+ "utf-8-validate": ">=5.0.2"
4250
+ },
4251
+ "peerDependenciesMeta": {
4252
+ "bufferutil": {
4253
+ "optional": true
4254
+ },
4255
+ "utf-8-validate": {
4256
+ "optional": true
4257
+ }
4258
+ }
4259
+ },
4260
  "node_modules/qs": {
4261
  "version": "6.11.0",
4262
  "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz",
 
4432
  "node": ">= 6"
4433
  }
4434
  },
4435
+ "node_modules/request/node_modules/form-data": {
4436
+ "version": "2.3.3",
4437
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
4438
+ "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
4439
+ "dependencies": {
4440
+ "asynckit": "^0.4.0",
4441
+ "combined-stream": "^1.0.6",
4442
+ "mime-types": "^2.1.12"
4443
+ },
4444
+ "engines": {
4445
+ "node": ">= 0.12"
4446
+ }
4447
+ },
4448
  "node_modules/request/node_modules/qs": {
4449
  "version": "6.5.3",
4450
  "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz",
 
4492
  }
4493
  },
4494
  "node_modules/resolve": {
4495
+ "version": "1.22.6",
4496
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.6.tgz",
4497
+ "integrity": "sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw==",
4498
  "dependencies": {
4499
  "is-core-module": "^2.13.0",
4500
  "path-parse": "^1.0.7",
 
4693
  "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
4694
  },
4695
  "node_modules/sharp": {
4696
+ "version": "0.32.6",
4697
+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.32.6.tgz",
4698
+ "integrity": "sha512-KyLTWwgcR9Oe4d9HwCwNM2l7+J0dUQwn/yf7S0EnTtb0eVS4RxO0eUSvxPtzT4F3SY+C4K6fqdv/DO27sJ/v/w==",
4699
  "hasInstallScript": true,
4700
  "dependencies": {
4701
  "color": "^4.2.3",
 
4749
  "tar-stream": "^3.1.5"
4750
  }
4751
  },
4752
+ "node_modules/sharp/node_modules/tar-stream": {
4753
+ "version": "3.1.6",
4754
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.6.tgz",
4755
+ "integrity": "sha512-B/UyjYwPpMBv+PaFSWAmtYjwdrlEaZQEhMIBFNC5oEG8lpiW8XjcSdmEaClj28ArfKScKHs2nshz3k2le6crsg==",
4756
+ "dependencies": {
4757
+ "b4a": "^1.6.4",
4758
+ "fast-fifo": "^1.2.0",
4759
+ "streamx": "^2.15.0"
4760
+ }
4761
+ },
4762
  "node_modules/shebang-command": {
4763
  "version": "1.2.0",
4764
  "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
 
4891
  }
4892
  },
4893
  "node_modules/socks-proxy-agent": {
4894
+ "version": "7.0.0",
4895
+ "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz",
4896
+ "integrity": "sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==",
4897
  "dependencies": {
4898
+ "agent-base": "^6.0.2",
4899
+ "debug": "^4.3.3",
4900
+ "socks": "^2.6.2"
4901
  },
4902
  "engines": {
4903
+ "node": ">= 10"
4904
  }
4905
  },
4906
  "node_modules/socks-proxy-agent/node_modules/debug": {
 
4939
  }
4940
  },
4941
  "node_modules/sprintf-js": {
4942
+ "version": "1.1.3",
4943
+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz",
4944
+ "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA=="
4945
  },
4946
  "node_modules/sshpk": {
4947
  "version": "1.17.0",
 
4968
  }
4969
  },
4970
  "node_modules/ssri": {
4971
+ "version": "10.0.5",
4972
+ "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.5.tgz",
4973
+ "integrity": "sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A==",
4974
  "dependencies": {
4975
+ "minipass": "^7.0.3"
4976
  },
4977
  "engines": {
4978
  "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
4979
  }
4980
  },
4981
+ "node_modules/ssri/node_modules/minipass": {
4982
+ "version": "7.0.4",
4983
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz",
4984
+ "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==",
4985
+ "engines": {
4986
+ "node": ">=16 || 14 >=14.17"
4987
+ }
4988
+ },
4989
  "node_modules/statuses": {
4990
  "version": "2.0.1",
4991
  "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
 
4995
  }
4996
  },
4997
  "node_modules/streamx": {
4998
+ "version": "2.15.1",
4999
+ "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.1.tgz",
5000
+ "integrity": "sha512-fQMzy2O/Q47rgwErk/eGeLu/roaFWV0jVsogDmrszM9uIw8L5OA+t+V93MgYlufNptfjmYR1tOMWhei/Eh7TQA==",
5001
  "dependencies": {
5002
  "fast-fifo": "^1.1.0",
5003
  "queue-tick": "^1.0.1"
 
5100
  }
5101
  },
5102
  "node_modules/tar": {
5103
+ "version": "6.2.0",
5104
+ "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz",
5105
+ "integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==",
5106
  "dependencies": {
5107
  "chownr": "^2.0.0",
5108
  "fs-minipass": "^2.0.0",
 
5116
  }
5117
  },
5118
  "node_modules/tar-fs": {
5119
+ "version": "2.1.1",
5120
+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",
5121
+ "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",
5122
  "dependencies": {
5123
+ "chownr": "^1.1.1",
5124
  "mkdirp-classic": "^0.5.2",
5125
  "pump": "^3.0.0",
5126
+ "tar-stream": "^2.1.4"
5127
  }
5128
  },
5129
+ "node_modules/tar-fs/node_modules/chownr": {
5130
+ "version": "1.1.4",
5131
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
5132
+ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg=="
5133
+ },
5134
  "node_modules/tar-stream": {
5135
+ "version": "2.2.0",
5136
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
5137
+ "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
5138
  "dependencies": {
5139
+ "bl": "^4.0.3",
5140
+ "end-of-stream": "^1.4.1",
5141
+ "fs-constants": "^1.0.0",
5142
+ "inherits": "^2.0.3",
5143
+ "readable-stream": "^3.1.1"
5144
+ },
5145
+ "engines": {
5146
+ "node": ">=6"
5147
  }
5148
  },
5149
  "node_modules/tar/node_modules/fs-minipass": {
 
5305
  }
5306
  },
5307
  "node_modules/tslib": {
5308
+ "version": "2.6.2",
5309
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
5310
+ "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
5311
  },
5312
  "node_modules/tts-react": {
5313
  "version": "3.0.1",
 
5338
  "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
5339
  "integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA=="
5340
  },
 
 
 
 
 
 
 
 
 
 
 
5341
  "node_modules/type-is": {
5342
  "version": "1.6.18",
5343
  "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
 
5365
  }
5366
  },
5367
  "node_modules/typescript": {
5368
+ "version": "5.2.2",
5369
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz",
5370
+ "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==",
5371
  "peer": true,
5372
  "bin": {
5373
  "tsc": "bin/tsc",
 
5471
  }
5472
  },
5473
  "node_modules/uuid": {
5474
+ "version": "9.0.1",
5475
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz",
5476
+ "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==",
5477
+ "funding": [
5478
+ "https://github.com/sponsors/broofa",
5479
+ "https://github.com/sponsors/ctavan"
5480
+ ],
5481
  "bin": {
5482
  "uuid": "dist/bin/uuid"
5483
  }
 
5519
  "extsprintf": "^1.2.0"
5520
  }
5521
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5522
  "node_modules/weakmap-shim": {
5523
  "version": "1.1.1",
5524
  "resolved": "https://registry.npmjs.org/weakmap-shim/-/weakmap-shim-1.1.1.tgz",
 
5565
  "string-width": "^1.0.2 || 2 || 3 || 4"
5566
  }
5567
  },
 
 
 
 
 
 
 
 
5568
  "node_modules/wrap-ansi": {
5569
  "version": "7.0.0",
5570
  "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
 
5664
  "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
5665
  },
5666
  "node_modules/ws": {
5667
+ "version": "8.14.2",
5668
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz",
5669
+ "integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==",
5670
  "engines": {
5671
  "node": ">=10.0.0"
5672
  },
 
5705
  "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
5706
  },
5707
  "node_modules/yaml": {
5708
+ "version": "2.3.2",
5709
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.2.tgz",
5710
+ "integrity": "sha512-N/lyzTPaJasoDmfV7YTrYCI0G/3ivm/9wdG0aHuheKowWQwGTsK0Eoiw6utmzAnI6pkJa0DUVygvp3spqqEKXg==",
5711
  "engines": {
5712
  "node": ">= 14"
5713
  }
src/index.mts CHANGED
@@ -5,7 +5,7 @@ import { validate as uuidValidate } from "uuid"
5
  import express from "express"
6
  import { Video, VideoStatus, VideoAPIRequest, RenderRequest, RenderedScene, ImageAnalysisRequest, ImageAnalysisResponse, SoundAnalysisResponse, SoundAnalysisRequest } from "./types.mts"
7
 
8
- import { parseVideoRequest } from "./utils/parseVideoRequest.mts"
9
  import { savePendingVideo } from "./scheduler/savePendingVideo.mts"
10
  import { getVideo } from "./scheduler/getVideo.mts"
11
  import { main } from "./main.mts"
@@ -15,15 +15,16 @@ import { markVideoAsToAbort } from "./scheduler/markVideoAsToAbort.mts"
15
  import { markVideoAsToPause } from "./scheduler/markVideoAsToPause.mts"
16
  import { markVideoAsPending } from "./scheduler/markVideoAsPending.mts"
17
  import { getPendingVideos } from "./scheduler/getPendingVideos.mts"
18
- import { hasValidAuthorization } from "./utils/hasValidAuthorization.mts"
19
  import { getAllVideosForOwner } from "./scheduler/getAllVideosForOwner.mts"
20
- import { initFolders } from "./initFolders.mts"
21
- import { sortVideosByYoungestFirst } from "./utils/sortVideosByYoungestFirst.mts"
22
  import { getRenderedScene, renderScene } from "./production/renderScene.mts"
23
- import { parseRenderRequest } from "./utils/parseRenderRequest.mts"
24
- import { loadRenderedSceneFromCache } from "./utils/loadRenderedSceneFromCache.mts"
25
- import { analyzeImage } from "./analysis/analyzeImageWithIDEFICSAndNastyHack.mts"
26
- import { upscaleImage } from "./utils/upscaleImage.mts"
 
27
  // import { speechToText } from "./speechToText/speechToTextWithWhisperLib.mts"
28
 
29
  initFolders()
@@ -624,6 +625,62 @@ app.get("/:ownerId", async (req, res) => {
624
  }
625
  })
626
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
627
  // get all pending videos - this is for admin usage only
628
  app.get("/", async (req, res) => {
629
  if (!hasValidAuthorization(req.headers)) {
 
5
  import express from "express"
6
  import { Video, VideoStatus, VideoAPIRequest, RenderRequest, RenderedScene, ImageAnalysisRequest, ImageAnalysisResponse, SoundAnalysisResponse, SoundAnalysisRequest } from "./types.mts"
7
 
8
+ import { parseVideoRequest } from "./utils/requests/parseVideoRequest.mts"
9
  import { savePendingVideo } from "./scheduler/savePendingVideo.mts"
10
  import { getVideo } from "./scheduler/getVideo.mts"
11
  import { main } from "./main.mts"
 
15
  import { markVideoAsToPause } from "./scheduler/markVideoAsToPause.mts"
16
  import { markVideoAsPending } from "./scheduler/markVideoAsPending.mts"
17
  import { getPendingVideos } from "./scheduler/getPendingVideos.mts"
18
+ import { hasValidAuthorization } from "./utils/requests/hasValidAuthorization.mts"
19
  import { getAllVideosForOwner } from "./scheduler/getAllVideosForOwner.mts"
20
+ import { initFolders } from "./utils/filesystem/initFolders.mts"
21
+ import { sortVideosByYoungestFirst } from "./scheduler/sortVideosByYoungestFirst.mts"
22
  import { getRenderedScene, renderScene } from "./production/renderScene.mts"
23
+ import { parseRenderRequest } from "./utils/requests/parseRenderRequest.mts"
24
+ import { loadRenderedSceneFromCache } from "./utils/requests/loadRenderedSceneFromCache.mts"
25
+
26
+ import { upscaleImage } from "./providers/image-upscaling/upscaleImage.mts"
27
+ import { analyzeImage } from "./providers/image-caption/analyzeImageWithIDEFICSAndNastyHack.mts"
28
  // import { speechToText } from "./speechToText/speechToTextWithWhisperLib.mts"
29
 
30
  initFolders()
 
625
  }
626
  })
627
 
628
+ // caption an audio sample
629
+ app.post("/audio/caption", async (req, res) => {
630
+
631
+ if (!hasValidAuthorization(req.headers)) {
632
+ console.log("Invalid authorization")
633
+ res.status(401)
634
+ res.write(JSON.stringify({ error: "invalid token" }))
635
+ res.end()
636
+ return
637
+ }
638
+
639
+ const image = `${req.body.image}`
640
+
641
+ if (!image) {
642
+ console.error("invalid input image")
643
+ res.status(400)
644
+ res.write(JSON.stringify({ error: `invalid input image` }))
645
+ res.end()
646
+ return
647
+ }
648
+
649
+ let response = {
650
+ caption: "",
651
+ error: "",
652
+ }
653
+
654
+ let caption = ""
655
+ try {
656
+ try {
657
+ caption = await audioToCaption(audio, req.body.factor)
658
+ } catch (err) {
659
+ // hmm.. let's try again?
660
+ try {
661
+ caption = await audioToCaption(audio, req.body.factor)
662
+ } catch (err) {
663
+ throw new Error(`second attempt to caption the audio failed (${err})`)
664
+ }
665
+ }
666
+ if (!caption) {
667
+ throw new Error(`no caption to return`)
668
+ }
669
+
670
+ response.caption = caption
671
+ res.status(200)
672
+ res.write(JSON.stringify(response))
673
+ res.end()
674
+ return
675
+ } catch (err) {
676
+ response.error = `${err}`
677
+ console.error(`${err}`)
678
+ res.status(500)
679
+ res.write(JSON.stringify(response))
680
+ res.end()
681
+ }
682
+ })
683
+
684
  // get all pending videos - this is for admin usage only
685
  app.get("/", async (req, res) => {
686
  if (!hasValidAuthorization(req.headers)) {
src/main.mts CHANGED
@@ -1,7 +1,7 @@
1
- import { initFolders } from "./initFolders.mts"
2
  import { getPendingVideos } from "./scheduler/getPendingVideos.mts"
3
  import { processVideo } from "./scheduler/processVideo.mts"
4
- import { sortPendingVideosByLeastCompletedFirst } from "./utils/sortPendingVideosByLeastCompletedFirst.mts"
5
 
6
  export const main = async () => {
7
 
 
1
+
2
  import { getPendingVideos } from "./scheduler/getPendingVideos.mts"
3
  import { processVideo } from "./scheduler/processVideo.mts"
4
+ import { sortPendingVideosByLeastCompletedFirst } from "./scheduler/sortPendingVideosByLeastCompletedFirst.mts"
5
 
6
  export const main = async () => {
7
 
src/production/assembleShots.mts CHANGED
@@ -2,7 +2,7 @@ import path from "node:path"
2
 
3
  // due to Docker issues, we disable OpenGL transitions for now
4
  // import concat from 'ffmpeg-concat'
5
- import concat from './concatNoGL.mts'
6
 
7
  import { VideoShot } from '../types.mts'
8
  import { pendingFilesDirFilePath } from "../config.mts"
 
2
 
3
  // due to Docker issues, we disable OpenGL transitions for now
4
  // import concat from 'ffmpeg-concat'
5
+ import concat from '../utils/video/concatNoGL.mts'
6
 
7
  import { VideoShot } from '../types.mts'
8
  import { pendingFilesDirFilePath } from "../config.mts"
src/production/postInterpolation.mts CHANGED
@@ -3,7 +3,7 @@ import path from "node:path"
3
  import { v4 as uuidv4 } from "uuid"
4
  import tmpDir from "temp-dir"
5
  import ffmpeg from "fluent-ffmpeg"
6
- import { moveFileFromTmpToPending } from "../utils/moveFileFromTmpToPending.mts"
7
  import { pendingFilesDirFilePath } from "../config.mts"
8
 
9
  export const postInterpolation = async (fileName: string, durationMs: number, nbFrames: number, noiseAmount: number): Promise<string> => {
 
3
  import { v4 as uuidv4 } from "uuid"
4
  import tmpDir from "temp-dir"
5
  import ffmpeg from "fluent-ffmpeg"
6
+ import { moveFileFromTmpToPending } from "../utils/filesystem/moveFileFromTmpToPending.mts"
7
  import { pendingFilesDirFilePath } from "../config.mts"
8
 
9
  export const postInterpolation = async (fileName: string, durationMs: number, nbFrames: number, noiseAmount: number): Promise<string> => {
src/production/renderImage.mts CHANGED
@@ -1,6 +1,6 @@
 
 
1
  import { RenderedScene, RenderRequest } from "../types.mts"
2
- import { generateImageSDXLAsBase64 } from "../utils/generateImageSDXL.mts"
3
- import { generateImageSDXL360AsBase64 } from "../utils/generateImageSDXL360.mts"
4
 
5
  export async function renderImage(
6
  request: RenderRequest,
 
1
+ import { generateImageSDXLAsBase64 } from "../providers/image-generation/generateImageSDXL.mts"
2
+ import { generateImageSDXL360AsBase64 } from "../providers/image-generation/generateImageSDXL360.mts"
3
  import { RenderedScene, RenderRequest } from "../types.mts"
 
 
4
 
5
  export async function renderImage(
6
  request: RenderRequest,
src/production/renderImageAnalysis.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { analyzeImage } from "../analysis/analyzeImageWithIDEFICSAndNastyHack.mts"
2
  import { RenderedScene, RenderRequest } from "../types.mts"
3
- import { upscaleImage } from "../utils/upscaleImage.mts"
4
 
5
  export async function renderImageAnalysis(
6
  request: RenderRequest,
 
1
+
2
  import { RenderedScene, RenderRequest } from "../types.mts"
3
+ import { analyzeImage } from "../providers/image-caption/analyzeImageWithIDEFICSAndNastyHack.mts"
4
 
5
  export async function renderImageAnalysis(
6
  request: RenderRequest,
src/production/renderImageSegmentation.mts CHANGED
@@ -4,8 +4,9 @@ import { v4 as uuidv4 } from "uuid"
4
  import tmpDir from "temp-dir"
5
 
6
  import { RenderedScene, RenderRequest } from "../types.mts"
7
- import { segmentImage } from "../utils/segmentImage.mts"
8
- import { writeBase64ToFile } from "../utils/writeBase64ToFile.mts"
 
9
 
10
 
11
  export async function renderImageSegmentation(
 
4
  import tmpDir from "temp-dir"
5
 
6
  import { RenderedScene, RenderRequest } from "../types.mts"
7
+
8
+ import { writeBase64ToFile } from "../utils/filesystem/writeBase64ToFile.mts"
9
+ import { segmentImage } from "../providers/image-segmentation/segmentImage.mts"
10
 
11
 
12
  export async function renderImageSegmentation(
src/production/renderImageUpscaling.mts CHANGED
@@ -1,5 +1,5 @@
1
  import { RenderedScene, RenderRequest } from "../types.mts"
2
- import { upscaleImage } from "../utils/upscaleImage.mts"
3
 
4
  export async function renderImageUpscaling(
5
  request: RenderRequest,
 
1
  import { RenderedScene, RenderRequest } from "../types.mts"
2
+ import { upscaleImage } from "../providers/image-upscaling/upscaleImage.mts"
3
 
4
  export async function renderImageUpscaling(
5
  request: RenderRequest,
src/production/renderPipeline.mts CHANGED
@@ -6,7 +6,7 @@ import { renderVideo } from "./renderVideo.mts"
6
  import { renderImageSegmentation } from "./renderImageSegmentation.mts"
7
  import { renderVideoSegmentation } from "./renderVideoSegmentation.mts"
8
  import { renderImageUpscaling } from "./renderImageUpscaling.mts"
9
- import { saveRenderedSceneToCache } from "../utils/saveRenderedSceneToCache.mts"
10
  import { renderImageAnalysis } from "./renderImageAnalysis.mts"
11
 
12
  export async function renderPipeline(request: RenderRequest, response: RenderedScene) {
 
6
  import { renderImageSegmentation } from "./renderImageSegmentation.mts"
7
  import { renderVideoSegmentation } from "./renderVideoSegmentation.mts"
8
  import { renderImageUpscaling } from "./renderImageUpscaling.mts"
9
+ import { saveRenderedSceneToCache } from "../utils/filesystem/saveRenderedSceneToCache.mts"
10
  import { renderImageAnalysis } from "./renderImageAnalysis.mts"
11
 
12
  export async function renderPipeline(request: RenderRequest, response: RenderedScene) {
src/production/renderVideo.mts CHANGED
@@ -1,5 +1,5 @@
1
  import { RenderedScene, RenderRequest } from "../types.mts"
2
- import { generateVideo } from "./generateVideo.mts"
3
 
4
  export async function renderVideo(
5
  request: RenderRequest,
 
1
  import { RenderedScene, RenderRequest } from "../types.mts"
2
+ import { generateVideo } from "../providers/video-generation/generateVideo.mts"
3
 
4
  export async function renderVideo(
5
  request: RenderRequest,
src/production/renderVideoSegmentation.mts CHANGED
@@ -1,9 +1,9 @@
1
  import { v4 as uuidv4 } from "uuid"
2
 
3
  import { RenderedScene, RenderRequest } from "../types.mts"
4
- import { downloadFileToTmp } from "../utils/downloadFileToTmp.mts"
5
- import { getFirstVideoFrame } from "../utils/getFirstVideoFrame.mts"
6
- import { segmentImage } from "../utils/segmentImage.mts"
7
 
8
  export async function renderVideoSegmentation(
9
  request: RenderRequest,
 
1
  import { v4 as uuidv4 } from "uuid"
2
 
3
  import { RenderedScene, RenderRequest } from "../types.mts"
4
+ import { downloadFileToTmp } from "../utils/download/downloadFileToTmp.mts"
5
+ import { getFirstVideoFrame } from "../scheduler/getFirstVideoFrame.mts"
6
+ import { segmentImage } from "../providers/image-segmentation/segmentImage.mts"
7
 
8
  export async function renderVideoSegmentation(
9
  request: RenderRequest,
src/{production β†’ providers/audio-generation}/generateAudio.mts RENAMED
@@ -1,8 +1,8 @@
1
  import { v4 as uuidv4 } from "uuid"
2
  import puppeteer from "puppeteer"
3
 
4
- import { downloadFileToTmp } from "../utils/downloadFileToTmp.mts"
5
- import { moveFileFromTmpToPending } from "../utils/moveFileFromTmpToPending.mts"
6
 
7
  export const state = {
8
  load: 0,
 
1
  import { v4 as uuidv4 } from "uuid"
2
  import puppeteer from "puppeteer"
3
 
4
+ import { downloadFileToTmp } from "../../utils/download/downloadFileToTmp.mts"
5
+ import { moveFileFromTmpToPending } from "../../utils/filesystem/moveFileFromTmpToPending.mts"
6
 
7
  export const state = {
8
  load: 0,
src/{production β†’ providers/audio-generation}/generateAudioLegacy.mts RENAMED
@@ -1,6 +1,6 @@
1
  import { client } from '@gradio/client'
2
 
3
- import { generateSeed } from "../utils/generateSeed.mts"
4
 
5
  export const state = {
6
  load: 0
 
1
  import { client } from '@gradio/client'
2
 
3
+ import { generateSeed } from "../../utils/misc/generateSeed.mts"
4
 
5
  export const state = {
6
  load: 0
src/{production β†’ providers/character-model}/generateActor.mts RENAMED
File without changes
src/{analysis β†’ providers/image-caption}/analyzeImageWithIDEFICS.mts RENAMED
File without changes
src/{analysis β†’ providers/image-caption}/analyzeImageWithIDEFICSAndNastyHack.mts RENAMED
@@ -23,9 +23,9 @@ import { v4 as uuidv4 } from "uuid"
23
  import tmpDir from "temp-dir"
24
  import puppeteer from "puppeteer"
25
 
26
- import { writeBase64ToFile } from "../utils/writeBase64ToFile.mts"
27
- import { sleep } from "../utils/sleep.mts"
28
- import { deleteFileIfExists } from "../utils/deleteFileIfExists.mts"
29
 
30
  const instances: string[] = [
31
  `${process.env.VC_ANALYSIS_SPACE_API_URL || ""}`,
 
23
  import tmpDir from "temp-dir"
24
  import puppeteer from "puppeteer"
25
 
26
+ import { writeBase64ToFile } from "../../utils/filesystem/writeBase64ToFile.mts"
27
+ import { sleep } from "../../utils/misc/sleep.mts"
28
+ import { deleteFileIfExists } from "../../utils/filesystem/deleteFileIfExists.mts"
29
 
30
  const instances: string[] = [
31
  `${process.env.VC_ANALYSIS_SPACE_API_URL || ""}`,
src/{utils β†’ providers/image-generation}/generateImage.mts RENAMED
@@ -1,7 +1,7 @@
1
  import { HfInference } from "@huggingface/inference"
2
 
3
- import { getValidNumber } from "./getValidNumber.mts"
4
- import { generateSeed } from "./generateSeed.mts"
5
 
6
  const hf = new HfInference(process.env.VC_HF_API_TOKEN)
7
 
 
1
  import { HfInference } from "@huggingface/inference"
2
 
3
+ import { getValidNumber } from "../../utils/validators/getValidNumber.mts"
4
+ import { generateSeed } from "../../utils/misc/generateSeed.mts"
5
 
6
  const hf = new HfInference(process.env.VC_HF_API_TOKEN)
7
 
src/{utils β†’ providers/image-generation}/generateImageSDXL.mts RENAMED
@@ -1,7 +1,7 @@
1
  import { client } from "@gradio/client"
2
 
3
- import { generateSeed } from "../utils/generateSeed.mts"
4
- import { getValidNumber } from "./getValidNumber.mts"
5
 
6
  // note: to reduce costs we use the small A10s
7
  // anyway, we will soon not need to use this cloud anymore
 
1
  import { client } from "@gradio/client"
2
 
3
+ import { generateSeed } from "../../utils/misc/generateSeed.mts"
4
+ import { getValidNumber } from "../../utils/validators/getValidNumber.mts"
5
 
6
  // note: to reduce costs we use the small A10s
7
  // anyway, we will soon not need to use this cloud anymore
src/{utils β†’ providers/image-generation}/generateImageSDXL360.mts RENAMED
@@ -1,7 +1,7 @@
1
  import { client } from "@gradio/client"
2
 
3
- import { generateSeed } from "../utils/generateSeed.mts"
4
- import { getValidNumber } from "./getValidNumber.mts"
5
 
6
  // we don't use replicas yet, because it ain't easy to get their hostname
7
  const instances: string[] = [
 
1
  import { client } from "@gradio/client"
2
 
3
+ import { generateSeed } from "../../utils/misc/generateSeed.mts"
4
+ import { getValidNumber } from "../../utils/validators/getValidNumber.mts"
5
 
6
  // we don't use replicas yet, because it ain't easy to get their hostname
7
  const instances: string[] = [
src/{utils β†’ providers/image-segmentation}/segmentImage.mts RENAMED
@@ -1,9 +1,9 @@
1
  import puppeteer from "puppeteer"
2
 
3
- import { sleep } from "./sleep.mts"
4
- import { ImageSegment } from "../types.mts"
5
- import { downloadImageAsBase64 } from "./downloadFileAsBase64.mts"
6
- import { resizeBase64Image } from "./resizeBase64Image.mts"
7
 
8
  // we don't use replicas yet, because it ain't easy to get their hostname
9
  const instances: string[] = [
 
1
  import puppeteer from "puppeteer"
2
 
3
+ import { sleep } from "../../utils/misc/sleep.mts"
4
+ import { ImageSegment } from "../../types.mts"
5
+ import { downloadImageAsBase64 } from "../../utils/download/downloadFileAsBase64.mts"
6
+ import { resizeBase64Image } from "../../utils/image/resizeBase64Image.mts"
7
 
8
  // we don't use replicas yet, because it ain't easy to get their hostname
9
  const instances: string[] = [
src/{utils β†’ providers/image-segmentation}/segmentImageFromURL.mts RENAMED
@@ -1,12 +1,12 @@
1
  import { v4 as uuidv4 } from "uuid"
2
 
3
- import { downloadFileToTmp } from "./downloadFileToTmp.mts"
4
  import { segmentImage } from "./segmentImage.mts"
5
 
6
  // TODO we should use an inference endpoint instead
7
 
8
- // note: on a large T4 (8 vCPU)
9
- // it takes about 30 seconds to compute
10
  export async function segmentImageFromURL(
11
  inputUrl: string,
12
  actionnables: string[]
@@ -18,7 +18,7 @@ export async function segmentImageFromURL(
18
  const tmpFileName = `${uuidv4()}`
19
  const tmpFilePath = await downloadFileToTmp(inputUrl, tmpFileName)
20
 
21
- const results = await segmentImage(tmpFilePath, actionnables)
22
 
23
  console.log("image has been segmented!", results)
24
  return results
 
1
  import { v4 as uuidv4 } from "uuid"
2
 
3
+ import { downloadFileToTmp } from "../../utils/download/downloadFileToTmp.mts"
4
  import { segmentImage } from "./segmentImage.mts"
5
 
6
  // TODO we should use an inference endpoint instead
7
 
8
+ // WARNING: this function is currently unused
9
+ // if you do attempt to use it, please check the hardcoded 1024x1024 thing line 21, and refactor it to your needs
10
  export async function segmentImageFromURL(
11
  inputUrl: string,
12
  actionnables: string[]
 
18
  const tmpFileName = `${uuidv4()}`
19
  const tmpFilePath = await downloadFileToTmp(inputUrl, tmpFileName)
20
 
21
+ const results = await segmentImage(tmpFilePath, actionnables, 1024, 1024)
22
 
23
  console.log("image has been segmented!", results)
24
  return results
src/{utils β†’ providers/image-upscaling}/upscaleImage.mts RENAMED
@@ -1,7 +1,7 @@
1
 
2
  import { client } from "@gradio/client"
3
 
4
- import { getValidNumber } from "./getValidNumber.mts"
5
 
6
  // we don't use replicas yet, because it ain't easy to get their hostname
7
  const instances: string[] = [
 
1
 
2
  import { client } from "@gradio/client"
3
 
4
+ import { getValidNumber } from "../../utils/validators/getValidNumber.mts"
5
 
6
  // we don't use replicas yet, because it ain't easy to get their hostname
7
  const instances: string[] = [
src/{llm β†’ providers/language-model}/enrichVideoSpecsUsingLLM.mts RENAMED
@@ -1,11 +1,11 @@
1
  import { ChatCompletionRequestMessage } from "openai"
2
 
3
- import { Video, VideoAPIRequest } from "../types.mts"
4
  import { generateYAML } from "./openai/generateYAML.mts"
5
  import { HallucinatedVideoRequest, OpenAIErrorResponse } from "./types.mts"
6
- import { getQueryChatMessages } from "../preproduction/prompts.mts"
7
- import { getValidNumber } from "../utils/getValidNumber.mts"
8
- import { parseShotRequest } from "../utils/parseShotRequest.mts"
9
 
10
 
11
  export const enrichVideoSpecsUsingLLM = async (video: Video): Promise<Video> => {
 
1
  import { ChatCompletionRequestMessage } from "openai"
2
 
3
+ import { Video, VideoAPIRequest } from "../../types.mts"
4
  import { generateYAML } from "./openai/generateYAML.mts"
5
  import { HallucinatedVideoRequest, OpenAIErrorResponse } from "./types.mts"
6
+ import { getQueryChatMessages } from "../../preproduction/prompts.mts"
7
+ import { getValidNumber } from "../../utils/validators/getValidNumber.mts"
8
+ import { parseShotRequest } from "../../utils/requests/parseShotRequest.mts"
9
 
10
 
11
  export const enrichVideoSpecsUsingLLM = async (video: Video): Promise<Video> => {
src/{llm β†’ providers/language-model}/openai/createChatCompletion.mts RENAMED
File without changes
src/{llm β†’ providers/language-model}/openai/createChatCompletionStream.mts RENAMED
File without changes
src/{llm β†’ providers/language-model}/openai/generateYAML.mts RENAMED
File without changes
src/{llm β†’ providers/language-model}/openai/getTextPrompt.mts RENAMED
File without changes
src/{llm β†’ providers/language-model}/openai/getUserContent.mts RENAMED
File without changes
src/{llm β†’ providers/language-model}/openai/openai.mts RENAMED
File without changes
src/{llm β†’ providers/language-model}/openai/runModerationCheck.mts RENAMED
File without changes
src/{llm β†’ providers/language-model}/openai/stream.mts RENAMED
File without changes
src/{llm β†’ providers/language-model}/types.mts RENAMED
File without changes
src/providers/music-to-caption/musicToCaption.mts ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ import { client } from "@gradio/client"
3
+
4
+ import { generateSeed } from "../../utils/misc/generateSeed.mts"
5
+
6
+ export const state = {
7
+ load: 0,
8
+ }
9
+
10
+ // we don't use replicas yet, because it ain't easy to get their hostname
11
+ const instances: string[] = [
12
+ `${process.env.VC_MUSIC_CAPTION_SPACE_API_URL_1 || ""}`,
13
+ ].filter(instance => instance?.length > 0)
14
+
15
+ const secretToken = `${process.env.VC_MICROSERVICE_SECRET_TOKEN || ""}`
16
+
17
+ export const musicToCaption = async (musicBlob: string) => {
18
+
19
+ state.load += 1
20
+
21
+ try {
22
+
23
+ const instance = instances.shift()
24
+ instances.push(instance)
25
+
26
+ console.log("musicToCaption")
27
+
28
+ const api = await client(instance, {
29
+ hf_token: `${process.env.VC_HF_API_TOKEN}` as any
30
+ })
31
+
32
+ // const input = new Blob([wav], { type: 'audio/wav' })
33
+ // const blob = new Blob([video], { type: 'video/mp4' })
34
+
35
+ const rawResponse = await api.predict('/predict', [
36
+ musicBlob, // string in 'Prompt' Textbox component
37
+ // secretToken,
38
+ ]) as any
39
+
40
+ console.log("rawResponse:", rawResponse)
41
+
42
+ const { name } = rawResponse?.data?.[0]?.[0] as { name: string, orig_name: string }
43
+
44
+ return "TODO"
45
+ } catch (err) {
46
+ throw err
47
+ } finally {
48
+ state.load -= 1
49
+ }
50
+ }
src/{speechToText β†’ providers/speech-to-text}/speechToTextWithWhisperLib.txt RENAMED
File without changes
src/{speechToText β†’ providers/speech-to-text}/speechToTextWithWhisperSpace.mts RENAMED
@@ -1,7 +1,7 @@
1
 
2
  import { client } from "@gradio/client"
3
 
4
- import { convertMp3ToWavBase64 } from "../utils/convertMp3ToWavBase64.mts"
5
 
6
  const instances: string[] = [
7
  `${process.env.VC_SPEECH_TO_TEXT_SPACE_API_URL_1 || ""}`,
 
1
 
2
  import { client } from "@gradio/client"
3
 
4
+ import { convertMp3ToWavBase64 } from "../../utils/audio/convertMp3ToWavBase64.mts"
5
 
6
  const instances: string[] = [
7
  `${process.env.VC_SPEECH_TO_TEXT_SPACE_API_URL_1 || ""}`,
src/{production β†’ providers/video-generation}/generateVideo.mts RENAMED
@@ -1,6 +1,6 @@
1
  import { client } from "@gradio/client"
2
 
3
- import { generateSeed } from "../utils/generateSeed.mts"
4
 
5
  export const state = {
6
  load: 0,
 
1
  import { client } from "@gradio/client"
2
 
3
+ import { generateSeed } from "../../utils/misc/generateSeed.mts"
4
 
5
  export const state = {
6
  load: 0,
src/{production β†’ providers/video-interpolation}/interpolateVideo.mts RENAMED
@@ -3,9 +3,9 @@ import path from "node:path"
3
  import { v4 as uuidv4 } from "uuid"
4
  import puppeteer from "puppeteer"
5
 
6
- import { downloadFileToTmp } from "../utils/downloadFileToTmp.mts"
7
- import { pendingFilesDirFilePath } from "../config.mts"
8
- import { moveFileFromTmpToPending } from "../utils/moveFileFromTmpToPending.mts"
9
 
10
  export const state = {
11
  load: 0
 
3
  import { v4 as uuidv4 } from "uuid"
4
  import puppeteer from "puppeteer"
5
 
6
+ import { downloadFileToTmp } from "../../utils/download/downloadFileToTmp.mts"
7
+ import { pendingFilesDirFilePath } from "../../config.mts"
8
+ import { moveFileFromTmpToPending } from "../../utils/filesystem/moveFileFromTmpToPending.mts"
9
 
10
  export const state = {
11
  load: 0
src/{production β†’ providers/video-interpolation}/interpolateVideoLegacy.mts RENAMED
@@ -5,7 +5,7 @@ import { Blob } from "buffer"
5
  import { client } from "@gradio/client"
6
  import tmpDir from "temp-dir"
7
 
8
- import { downloadFileToTmp } from '../utils/downloadFileToTmp.mts'
9
 
10
  export const state = {
11
  load: 0
 
5
  import { client } from "@gradio/client"
6
  import tmpDir from "temp-dir"
7
 
8
+ import { downloadFileToTmp } from '../../utils/download/downloadFileToTmp.mts'
9
 
10
  export const state = {
11
  load: 0
src/{production β†’ providers/video-upscaling}/upscaleVideo.mts RENAMED
@@ -4,9 +4,9 @@ import { v4 as uuidv4 } from "uuid"
4
  import tmpDir from "temp-dir"
5
  import puppeteer from "puppeteer"
6
 
7
- import { downloadFileToTmp } from '../utils/downloadFileToTmp.mts'
8
- import { pendingFilesDirFilePath } from '../config.mts'
9
- import { moveFileFromTmpToPending } from "../utils/moveFileFromTmpToPending.mts"
10
 
11
  const instances: string[] = [
12
  `${process.env.VC_VIDEO_UPSCALE_SPACE_API_URL_1 || ""}`
 
4
  import tmpDir from "temp-dir"
5
  import puppeteer from "puppeteer"
6
 
7
+ import { downloadFileToTmp } from '../../utils/download/downloadFileToTmp.mts'
8
+ import { pendingFilesDirFilePath } from '../../config.mts'
9
+ import { moveFileFromTmpToPending } from "../../utils/filesystem/moveFileFromTmpToPending.mts"
10
 
11
  const instances: string[] = [
12
  `${process.env.VC_VIDEO_UPSCALE_SPACE_API_URL_1 || ""}`
src/{production β†’ providers/voice-generation}/generateVoice.mts RENAMED
@@ -1,6 +1,6 @@
1
  import puppeteer from "puppeteer"
2
 
3
- import { downloadFileToTmp } from "../utils/downloadFileToTmp.mts"
4
 
5
  export const state = {
6
  load: 0
 
1
  import puppeteer from "puppeteer"
2
 
3
+ import { downloadFileToTmp } from "../../utils/download/downloadFileToTmp.mts"
4
 
5
  export const state = {
6
  load: 0
src/providers/voice-generation/generateVoiceWithCoqui.txt ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ // installed using:
3
+ // npx api install @coqui-api/v1.0#fbrqr4dllng0lnk
4
+ import sdk from "@api/coqui-api"
5
+
6
+ export const generateVoiceWithCoqui = async ({
7
+ dialogueLine = "",
8
+ characterDescription = "",
9
+ characterName = "",
10
+ }: {
11
+ dialogueLine: string
12
+ characterDescription: string
13
+ characterName: string
14
+ }) => {
15
+ if (!dialogueLine) {
16
+ throw new Error("Missing dialogue line")
17
+ }
18
+ if (!characterDescription) {
19
+ throw new Error("Missing character description")
20
+ }
21
+ if (!characterName) {
22
+ throw new Error("Missing character name")
23
+ }
24
+ const coquiToken = `${process.env.PROVIDER_COQUI_API_TOKEN || ""}`
25
+ if (!coquiToken) {
26
+ throw new Error("Missing Coqui API token")
27
+ }
28
+
29
+ sdk.auth(coquiToken)
30
+
31
+ const something = await sdk.samples_xtts_render_from_prompt_create({
32
+ prompt: characterDescription,
33
+ name: characterName,
34
+ text: dialogueLine,
35
+ speed: 1
36
+ })
37
+
38
+ if (!something.data) {
39
+ throw new Error(`requiest failed: ${something.data}`)
40
+ }
41
+
42
+ /*
43
+ audio_url:
44
+ "https://coqui-prod-creator-app-synthesized-samples.s3.amazonaws.com/xtts_samples/03050b77-489d-4999-b0fc-d7a56ff62b78.wav"
45
+ created_at: "2023-09-18T21:47:49.357225Z"
46
+ id: "03050b77-489d-4999-b0fc-d7a56ff62b78"
47
+ language: "en"
48
+ name: "Al Dongino"
49
+ text: "Keep your friends close, but your enemies closer."
50
+ */
51
+ return something.data
52
+ }
src/{utils β†’ scheduler}/copyVideoFromPendingToCompleted.mts RENAMED
File without changes
src/{utils β†’ scheduler}/copyVideoFromTmpToCompleted.mts RENAMED
File without changes
src/{utils β†’ scheduler}/copyVideoFromTmpToPending.mts RENAMED
@@ -3,7 +3,6 @@ import { promises as fs } from "node:fs"
3
 
4
  import tmpDir from "temp-dir"
5
  import { pendingFilesDirFilePath } from "../config.mts"
6
- import { moveFile } from "./moveFile.mts"
7
 
8
  // a function to copy a video to the pending video directory
9
  // this implementation is safe to use on a Hugging Face Space
 
3
 
4
  import tmpDir from "temp-dir"
5
  import { pendingFilesDirFilePath } from "../config.mts"
 
6
 
7
  // a function to copy a video to the pending video directory
8
  // this implementation is safe to use on a Hugging Face Space
src/scheduler/deleteVideo.mts CHANGED
@@ -2,7 +2,7 @@ import tmpDir from "temp-dir"
2
  import { validate as uuidValidate } from "uuid"
3
 
4
  import { completedMetadataDirFilePath, completedFilesDirFilePath, pendingMetadataDirFilePath, pendingFilesDirFilePath } from "../config.mts"
5
- import { deleteFilesWithName } from "../utils/deleteAllFilesWith.mts"
6
 
7
 
8
  // note: we make sure ownerId and videoId are *VALID*
 
2
  import { validate as uuidValidate } from "uuid"
3
 
4
  import { completedMetadataDirFilePath, completedFilesDirFilePath, pendingMetadataDirFilePath, pendingFilesDirFilePath } from "../config.mts"
5
+ import { deleteFilesWithName } from "../utils/filesystem/deleteAllFilesWith.mts"
6
 
7
 
8
  // note: we make sure ownerId and videoId are *VALID*
src/{utils β†’ scheduler}/getFirstVideoFrame.mts RENAMED
File without changes
src/{utils β†’ scheduler}/getFirstVideoFrameAsBase64.mts RENAMED
File without changes
src/{utils β†’ scheduler}/moveVideoFromPendingToCompleted.mts RENAMED
@@ -1,7 +1,7 @@
1
  import path from "path"
2
 
3
- import { completedFilesDirFilePath, pendingFilesDirFilePath } from "../config.mts"
4
- import { moveFile } from "./moveFile.mts"
5
 
6
  export const moveVideoFromPendingToCompleted = async (pendingFileName: string, completedFileName?: string) => {
7
  if (!completedFileName) {
 
1
  import path from "path"
2
 
3
+ import { completedFilesDirFilePath, pendingFilesDirFilePath } from "../config.mjs"
4
+ import { moveFile } from "../utils/filesystem/moveFile.mjs"
5
 
6
  export const moveVideoFromPendingToCompleted = async (pendingFileName: string, completedFileName?: string) => {
7
  if (!completedFileName) {
src/{utils β†’ scheduler}/moveVideoFromTmpToCompleted.mts RENAMED
@@ -2,8 +2,8 @@ import path from "node:path"
2
 
3
  import tmpDir from "temp-dir"
4
 
5
- import { completedFilesDirFilePath } from "../config.mts"
6
- import { moveFile } from "./moveFile.mts"
7
 
8
  // a function to move a video to the completed video directory
9
  // this implementation is safe to use on a Hugging Face Space
 
2
 
3
  import tmpDir from "temp-dir"
4
 
5
+ import { completedFilesDirFilePath } from "../config.mjs"
6
+ import { moveFile } from "../utils/filesystem/moveFile.mjs"
7
 
8
  // a function to move a video to the completed video directory
9
  // this implementation is safe to use on a Hugging Face Space