@closedrouter/cli 1.1.51 → 1.1.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +2 -0
  2. package/assets/native/core-linux-arm64 +0 -0
  3. package/assets/native/core-linux-arm64.sig +1 -2
  4. package/assets/native/core-linux-x64 +0 -0
  5. package/assets/native/core-linux-x64.sig +1 -1
  6. package/assets/native/workers.json +2 -2
  7. package/assets/novnc-rfb.js +1343 -1341
  8. package/dist/core-darwin-arm64 +0 -0
  9. package/dist/core-darwin-arm64.sig +0 -0
  10. package/dist/core-darwin-x64 +0 -0
  11. package/dist/core-darwin-x64.sig +0 -0
  12. package/dist/core-linux-arm64 +0 -0
  13. package/dist/core-linux-arm64.sig +1 -2
  14. package/dist/core-linux-x64 +0 -0
  15. package/dist/core-linux-x64.sig +1 -1
  16. package/dist/core-win32-arm64.exe +0 -0
  17. package/dist/core-win32-arm64.exe.sig +0 -0
  18. package/dist/core-win32-x64.exe +0 -0
  19. package/dist/core-win32-x64.exe.sig +0 -0
  20. package/dist/index.js +19 -19
  21. package/dist/licenses/npm-@rolldown-binding-linux-x64-gnu-1.2.11/NOTICE.txt +2 -0
  22. package/dist/licenses/npm-@rolldown-binding-linux-x64-musl-1.2.11/NOTICE.txt +2 -0
  23. package/dist/licenses/npm-@tailwindcss-oxide-linux-x64-gnu-4.3.3/NOTICE.txt +2 -0
  24. package/dist/licenses/{npm-fsevents-2.3.3 → npm-@tailwindcss-oxide-linux-x64-musl-4.3.3}/LICENSE +5 -6
  25. package/dist/licenses/npm-@tailwindcss-oxide-linux-x64-musl-4.3.3/NOTICE.txt +2 -0
  26. package/dist/licenses/npm-lightningcss-linux-x64-gnu-1.32.0/NOTICE.txt +2 -0
  27. package/dist/licenses/npm-lightningcss-linux-x64-gnu-1.33.0/NOTICE.txt +2 -0
  28. package/dist/licenses/npm-lightningcss-linux-x64-musl-1.32.0/LICENSE +373 -0
  29. package/dist/licenses/npm-lightningcss-linux-x64-musl-1.32.0/NOTICE.txt +2 -0
  30. package/dist/licenses/npm-lightningcss-linux-x64-musl-1.33.0/LICENSE +373 -0
  31. package/dist/licenses/npm-lightningcss-linux-x64-musl-1.33.0/NOTICE.txt +2 -0
  32. package/package.json +1 -1
  33. package/dist/licenses/npm-@rolldown-binding-darwin-arm64-1.2.11/NOTICE.txt +0 -2
  34. package/dist/licenses/npm-@tailwindcss-oxide-darwin-arm64-4.3.3/NOTICE.txt +0 -2
  35. package/dist/licenses/npm-fsevents-2.3.3/NOTICE.txt +0 -2
  36. package/dist/licenses/npm-lightningcss-darwin-arm64-1.32.0/NOTICE.txt +0 -2
  37. package/dist/licenses/npm-lightningcss-darwin-arm64-1.33.0/NOTICE.txt +0 -2
  38. /package/dist/licenses/{npm-@tailwindcss-oxide-darwin-arm64-4.3.3 → npm-@tailwindcss-oxide-linux-x64-gnu-4.3.3}/LICENSE +0 -0
  39. /package/dist/licenses/{npm-@typescript-typescript-darwin-arm64-7.0.2 → npm-@typescript-typescript-linux-x64-7.0.2}/LICENSE +0 -0
  40. /package/dist/licenses/{npm-@typescript-typescript-darwin-arm64-7.0.2 → npm-@typescript-typescript-linux-x64-7.0.2}/NOTICE.txt +0 -0
  41. /package/dist/licenses/{npm-lightningcss-darwin-arm64-1.32.0 → npm-lightningcss-linux-x64-gnu-1.32.0}/LICENSE +0 -0
  42. /package/dist/licenses/{npm-lightningcss-darwin-arm64-1.33.0 → npm-lightningcss-linux-x64-gnu-1.33.0}/LICENSE +0 -0
@@ -17,13 +17,15 @@ var __toESM = (mod, isNodeMode, target) => {
17
17
  return cached;
18
18
  }
19
19
  target = mod != null ? __create(__getProtoOf(mod)) : {};
20
- const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
21
- for (let key of __getOwnPropNames(mod))
22
- if (!__hasOwnProp.call(to, key))
23
- __defProp(to, key, {
24
- get: __accessProp.bind(mod, key),
25
- enumerable: true
26
- });
20
+ const to = isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
21
+ if (mod && typeof mod === "object" || typeof mod === "function") {
22
+ for (let key of __getOwnPropNames(mod))
23
+ if (!__hasOwnProp.call(to, key))
24
+ __defProp(to, key, {
25
+ get: __accessProp.bind(mod, key),
26
+ enumerable: true
27
+ });
28
+ }
27
29
  if (canCache)
28
30
  cache.set(mod, to);
29
31
  return to;
@@ -31,7 +33,7 @@ var __toESM = (mod, isNodeMode, target) => {
31
33
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
32
34
 
33
35
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/int.js
34
- var require_int = __commonJS((exports) => {
36
+ var require_int = __commonJS(function(exports) {
35
37
  Object.defineProperty(exports, "__esModule", {
36
38
  value: true
37
39
  });
@@ -46,7 +48,7 @@ var require_int = __commonJS((exports) => {
46
48
  });
47
49
 
48
50
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/logging.js
49
- var require_logging = __commonJS((exports) => {
51
+ var require_logging = __commonJS(function(exports) {
50
52
  Object.defineProperty(exports, "__esModule", {
51
53
  value: true
52
54
  });
@@ -54,17 +56,17 @@ var require_logging = __commonJS((exports) => {
54
56
  exports.getLogging = getLogging;
55
57
  exports.initLogging = initLogging;
56
58
  var _logLevel = "warn";
57
- var Debug = exports.Debug = function Debug2() {};
58
- var Info = exports.Info = function Info2() {};
59
- var Warn = exports.Warn = function Warn2() {};
60
- var Error2 = exports.Error = function Error3() {};
59
+ var Debug = exports.Debug = function Debug() {};
60
+ var Info = exports.Info = function Info() {};
61
+ var Warn = exports.Warn = function Warn() {};
62
+ var Error2 = exports.Error = function Error2() {};
61
63
  function initLogging(level) {
62
64
  if (typeof level === "undefined") {
63
65
  level = _logLevel;
64
66
  } else {
65
67
  _logLevel = level;
66
68
  }
67
- exports.Debug = Debug = exports.Info = Info = exports.Warn = Warn = exports.Error = Error2 = function Error3() {};
69
+ exports.Debug = Debug = exports.Info = Info = exports.Warn = Warn = exports.Error = Error2 = function Error2() {};
68
70
  if (typeof window.console !== "undefined") {
69
71
  switch (level) {
70
72
  case "debug":
@@ -89,7 +91,7 @@ var require_logging = __commonJS((exports) => {
89
91
  });
90
92
 
91
93
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/strings.js
92
- var require_strings = __commonJS((exports) => {
94
+ var require_strings = __commonJS(function(exports) {
93
95
  Object.defineProperty(exports, "__esModule", {
94
96
  value: true
95
97
  });
@@ -114,13 +116,13 @@ var require_strings = __commonJS((exports) => {
114
116
  });
115
117
 
116
118
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/base64.js
117
- var require_base64 = __commonJS((exports) => {
119
+ var require_base64 = __commonJS(function(exports) {
118
120
  function _typeof(o) {
119
121
  "@babel/helpers - typeof";
120
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
121
- return typeof o2;
122
- } : function(o2) {
123
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
122
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
123
+ return typeof o;
124
+ } : function(o) {
125
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
124
126
  }, _typeof(o);
125
127
  }
126
128
  Object.defineProperty(exports, "__esModule", {
@@ -132,8 +134,8 @@ var require_base64 = __commonJS((exports) => {
132
134
  if (typeof WeakMap != "function")
133
135
  return null;
134
136
  var r = new WeakMap, t = new WeakMap;
135
- return (_getRequireWildcardCache = function _getRequireWildcardCache2(e2) {
136
- return e2 ? t : r;
137
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
138
+ return e ? t : r;
137
139
  })(e);
138
140
  }
139
141
  function _interopRequireWildcard(e, r) {
@@ -218,7 +220,7 @@ var require_base64 = __commonJS((exports) => {
218
220
  });
219
221
 
220
222
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/browser.js
221
- var require_browser = __commonJS((exports) => {
223
+ var require_browser = __commonJS(function(exports) {
222
224
  Object.defineProperty(exports, "__esModule", {
223
225
  value: true
224
226
  });
@@ -248,8 +250,8 @@ var require_browser = __commonJS((exports) => {
248
250
  if (typeof WeakMap != "function")
249
251
  return null;
250
252
  var r = new WeakMap, t = new WeakMap;
251
- return (_getRequireWildcardCache = function _getRequireWildcardCache2(e2) {
252
- return e2 ? t : r;
253
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
254
+ return e ? t : r;
253
255
  })(e);
254
256
  }
255
257
  function _interopRequireWildcard(e, r) {
@@ -270,10 +272,10 @@ var require_browser = __commonJS((exports) => {
270
272
  }
271
273
  function _typeof(o) {
272
274
  "@babel/helpers - typeof";
273
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
274
- return typeof o2;
275
- } : function(o2) {
276
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
275
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
276
+ return typeof o;
277
+ } : function(o) {
278
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
277
279
  }, _typeof(o);
278
280
  }
279
281
  var isTouchDevice = exports.isTouchDevice = "ontouchstart" in document.documentElement || document.ontouchstart !== undefined || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
@@ -362,7 +364,7 @@ var require_browser = __commonJS((exports) => {
362
364
  });
363
365
 
364
366
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/element.js
365
- var require_element = __commonJS((exports) => {
367
+ var require_element = __commonJS(function(exports) {
366
368
  Object.defineProperty(exports, "__esModule", {
367
369
  value: true
368
370
  });
@@ -392,7 +394,7 @@ var require_element = __commonJS((exports) => {
392
394
  });
393
395
 
394
396
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/events.js
395
- var require_events = __commonJS((exports) => {
397
+ var require_events = __commonJS(function(exports) {
396
398
  Object.defineProperty(exports, "__esModule", {
397
399
  value: true
398
400
  });
@@ -486,17 +488,17 @@ var require_events = __commonJS((exports) => {
486
488
  });
487
489
 
488
490
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/eventtarget.js
489
- var require_eventtarget = __commonJS((exports) => {
491
+ var require_eventtarget = __commonJS(function(exports) {
490
492
  Object.defineProperty(exports, "__esModule", {
491
493
  value: true
492
494
  });
493
495
  exports.default = undefined;
494
496
  function _typeof(o) {
495
497
  "@babel/helpers - typeof";
496
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
497
- return typeof o2;
498
- } : function(o2) {
499
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
498
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
499
+ return typeof o;
500
+ } : function(o) {
501
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
500
502
  }, _typeof(o);
501
503
  }
502
504
  function _classCallCheck(a, n) {
@@ -529,11 +531,11 @@ var require_eventtarget = __commonJS((exports) => {
529
531
  return (r === "string" ? String : Number)(t);
530
532
  }
531
533
  var EventTargetMixin = exports.default = /* @__PURE__ */ function() {
532
- function EventTargetMixin2() {
533
- _classCallCheck(this, EventTargetMixin2);
534
+ function EventTargetMixin() {
535
+ _classCallCheck(this, EventTargetMixin);
534
536
  this._listeners = new Map;
535
537
  }
536
- return _createClass(EventTargetMixin2, [{
538
+ return _createClass(EventTargetMixin, [{
537
539
  key: "addEventListener",
538
540
  value: function addEventListener(type, callback) {
539
541
  if (!this._listeners.has(type)) {
@@ -565,7 +567,7 @@ var require_eventtarget = __commonJS((exports) => {
565
567
  });
566
568
 
567
569
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/display.js
568
- var require_display = __commonJS((exports) => {
570
+ var require_display = __commonJS(function(exports) {
569
571
  Object.defineProperty(exports, "__esModule", {
570
572
  value: true
571
573
  });
@@ -580,8 +582,8 @@ var require_display = __commonJS((exports) => {
580
582
  if (typeof WeakMap != "function")
581
583
  return null;
582
584
  var r = new WeakMap, t = new WeakMap;
583
- return (_getRequireWildcardCache = function _getRequireWildcardCache2(e2) {
584
- return e2 ? t : r;
585
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
586
+ return e ? t : r;
585
587
  })(e);
586
588
  }
587
589
  function _interopRequireWildcard(e, r) {
@@ -602,10 +604,10 @@ var require_display = __commonJS((exports) => {
602
604
  }
603
605
  function _typeof(o) {
604
606
  "@babel/helpers - typeof";
605
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
606
- return typeof o2;
607
- } : function(o2) {
608
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
607
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
608
+ return typeof o;
609
+ } : function(o) {
610
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
609
611
  }, _typeof(o);
610
612
  }
611
613
  function _classCallCheck(a, n) {
@@ -638,8 +640,8 @@ var require_display = __commonJS((exports) => {
638
640
  return (r === "string" ? String : Number)(t);
639
641
  }
640
642
  var Display = exports.default = /* @__PURE__ */ function() {
641
- function Display2(target) {
642
- _classCallCheck(this, Display2);
643
+ function Display(target) {
644
+ _classCallCheck(this, Display);
643
645
  this._drawCtx = null;
644
646
  this._renderQ = [];
645
647
  this._flushPromise = null;
@@ -677,7 +679,7 @@ var require_display = __commonJS((exports) => {
677
679
  this._scale = 1;
678
680
  this._clipViewport = false;
679
681
  }
680
- return _createClass(Display2, [{
682
+ return _createClass(Display, [{
681
683
  key: "scale",
682
684
  get: function get() {
683
685
  return this._scale;
@@ -1062,7 +1064,7 @@ var require_display = __commonJS((exports) => {
1062
1064
  value: function _scanRenderQ() {
1063
1065
  var _this2 = this;
1064
1066
  var ready = true;
1065
- var _loop = function _loop2() {
1067
+ var _loop = function _loop() {
1066
1068
  var a = _this2._renderQ[0];
1067
1069
  switch (a.type) {
1068
1070
  case "flip":
@@ -1137,7 +1139,7 @@ var require_display = __commonJS((exports) => {
1137
1139
  });
1138
1140
 
1139
1141
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/utils/common.js
1140
- var require_common = __commonJS((exports) => {
1142
+ var require_common = __commonJS(function(exports) {
1141
1143
  Object.defineProperty(exports, "__esModule", {
1142
1144
  value: true
1143
1145
  });
@@ -1185,7 +1187,7 @@ var require_common = __commonJS((exports) => {
1185
1187
  });
1186
1188
 
1187
1189
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/adler32.js
1188
- var require_adler32 = __commonJS((exports) => {
1190
+ var require_adler32 = __commonJS(function(exports) {
1189
1191
  Object.defineProperty(exports, "__esModule", {
1190
1192
  value: true
1191
1193
  });
@@ -1207,7 +1209,7 @@ var require_adler32 = __commonJS((exports) => {
1207
1209
  });
1208
1210
 
1209
1211
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/crc32.js
1210
- var require_crc32 = __commonJS((exports) => {
1212
+ var require_crc32 = __commonJS(function(exports) {
1211
1213
  Object.defineProperty(exports, "__esModule", {
1212
1214
  value: true
1213
1215
  });
@@ -1227,7 +1229,7 @@ var require_crc32 = __commonJS((exports) => {
1227
1229
  });
1228
1230
 
1229
1231
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/inffast.js
1230
- var require_inffast = __commonJS((exports) => {
1232
+ var require_inffast = __commonJS(function(exports) {
1231
1233
  Object.defineProperty(exports, "__esModule", {
1232
1234
  value: true
1233
1235
  });
@@ -1457,13 +1459,13 @@ var require_inffast = __commonJS((exports) => {
1457
1459
  });
1458
1460
 
1459
1461
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/inftrees.js
1460
- var require_inftrees = __commonJS((exports) => {
1462
+ var require_inftrees = __commonJS(function(exports) {
1461
1463
  function _typeof(o) {
1462
1464
  "@babel/helpers - typeof";
1463
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
1464
- return typeof o2;
1465
- } : function(o2) {
1466
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
1465
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
1466
+ return typeof o;
1467
+ } : function(o) {
1468
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
1467
1469
  }, _typeof(o);
1468
1470
  }
1469
1471
  Object.defineProperty(exports, "__esModule", {
@@ -1475,8 +1477,8 @@ var require_inftrees = __commonJS((exports) => {
1475
1477
  if (typeof WeakMap != "function")
1476
1478
  return null;
1477
1479
  var r = new WeakMap, t = new WeakMap;
1478
- return (_getRequireWildcardCache = function _getRequireWildcardCache2(e2) {
1479
- return e2 ? t : r;
1480
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
1481
+ return e ? t : r;
1480
1482
  })(e);
1481
1483
  }
1482
1484
  function _interopRequireWildcard(e, r) {
@@ -1802,13 +1804,13 @@ var require_inftrees = __commonJS((exports) => {
1802
1804
  });
1803
1805
 
1804
1806
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/inflate.js
1805
- var require_inflate = __commonJS((exports) => {
1807
+ var require_inflate = __commonJS(function(exports) {
1806
1808
  function _typeof(o) {
1807
1809
  "@babel/helpers - typeof";
1808
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
1809
- return typeof o2;
1810
- } : function(o2) {
1811
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
1810
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
1811
+ return typeof o;
1812
+ } : function(o) {
1813
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
1812
1814
  }, _typeof(o);
1813
1815
  }
1814
1816
  Object.defineProperty(exports, "__esModule", {
@@ -1837,8 +1839,8 @@ var require_inflate = __commonJS((exports) => {
1837
1839
  if (typeof WeakMap != "function")
1838
1840
  return null;
1839
1841
  var r = new WeakMap, t = new WeakMap;
1840
- return (_getRequireWildcardCache = function _getRequireWildcardCache2(e2) {
1841
- return e2 ? t : r;
1842
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
1843
+ return e ? t : r;
1842
1844
  })(e);
1843
1845
  }
1844
1846
  function _interopRequireWildcard(e, r) {
@@ -3050,7 +3052,7 @@ var require_inflate = __commonJS((exports) => {
3050
3052
  });
3051
3053
 
3052
3054
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/zstream.js
3053
- var require_zstream = __commonJS((exports) => {
3055
+ var require_zstream = __commonJS(function(exports) {
3054
3056
  Object.defineProperty(exports, "__esModule", {
3055
3057
  value: true
3056
3058
  });
@@ -3072,7 +3074,7 @@ var require_zstream = __commonJS((exports) => {
3072
3074
  });
3073
3075
 
3074
3076
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/inflator.js
3075
- var require_inflator = __commonJS((exports) => {
3077
+ var require_inflator = __commonJS(function(exports) {
3076
3078
  Object.defineProperty(exports, "__esModule", {
3077
3079
  value: true
3078
3080
  });
@@ -3084,10 +3086,10 @@ var require_inflator = __commonJS((exports) => {
3084
3086
  }
3085
3087
  function _typeof(o) {
3086
3088
  "@babel/helpers - typeof";
3087
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
3088
- return typeof o2;
3089
- } : function(o2) {
3090
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
3089
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
3090
+ return typeof o;
3091
+ } : function(o) {
3092
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
3091
3093
  }, _typeof(o);
3092
3094
  }
3093
3095
  function _classCallCheck(a, n) {
@@ -3120,14 +3122,14 @@ var require_inflator = __commonJS((exports) => {
3120
3122
  return (r === "string" ? String : Number)(t);
3121
3123
  }
3122
3124
  var Inflate = exports.default = /* @__PURE__ */ function() {
3123
- function Inflate2() {
3124
- _classCallCheck(this, Inflate2);
3125
+ function Inflate() {
3126
+ _classCallCheck(this, Inflate);
3125
3127
  this.strm = new _zstream["default"];
3126
3128
  this.chunkSize = 1024 * 10 * 10;
3127
3129
  this.strm.output = new Uint8Array(this.chunkSize);
3128
3130
  (0, _inflate2.inflateInit)(this.strm);
3129
3131
  }
3130
- return _createClass(Inflate2, [{
3132
+ return _createClass(Inflate, [{
3131
3133
  key: "setInput",
3132
3134
  value: function setInput(data) {
3133
3135
  if (!data) {
@@ -3168,13 +3170,13 @@ var require_inflator = __commonJS((exports) => {
3168
3170
  });
3169
3171
 
3170
3172
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/trees.js
3171
- var require_trees = __commonJS((exports) => {
3173
+ var require_trees = __commonJS(function(exports) {
3172
3174
  function _typeof(o) {
3173
3175
  "@babel/helpers - typeof";
3174
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
3175
- return typeof o2;
3176
- } : function(o2) {
3177
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
3176
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
3177
+ return typeof o;
3178
+ } : function(o) {
3179
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
3178
3180
  }, _typeof(o);
3179
3181
  }
3180
3182
  Object.defineProperty(exports, "__esModule", {
@@ -3190,8 +3192,8 @@ var require_trees = __commonJS((exports) => {
3190
3192
  if (typeof WeakMap != "function")
3191
3193
  return null;
3192
3194
  var r = new WeakMap, t = new WeakMap;
3193
- return (_getRequireWildcardCache = function _getRequireWildcardCache2(e2) {
3194
- return e2 ? t : r;
3195
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
3196
+ return e ? t : r;
3195
3197
  })(e);
3196
3198
  }
3197
3199
  function _interopRequireWildcard(e, r) {
@@ -3803,7 +3805,7 @@ var require_trees = __commonJS((exports) => {
3803
3805
  });
3804
3806
 
3805
3807
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/messages.js
3806
- var require_messages = __commonJS((exports) => {
3808
+ var require_messages = __commonJS(function(exports) {
3807
3809
  Object.defineProperty(exports, "__esModule", {
3808
3810
  value: true
3809
3811
  });
@@ -3822,13 +3824,13 @@ var require_messages = __commonJS((exports) => {
3822
3824
  });
3823
3825
 
3824
3826
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/vendor/pako/lib/zlib/deflate.js
3825
- var require_deflate = __commonJS((exports) => {
3827
+ var require_deflate = __commonJS(function(exports) {
3826
3828
  function _typeof(o) {
3827
3829
  "@babel/helpers - typeof";
3828
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
3829
- return typeof o2;
3830
- } : function(o2) {
3831
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
3830
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
3831
+ return typeof o;
3832
+ } : function(o) {
3833
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
3832
3834
  }, _typeof(o);
3833
3835
  }
3834
3836
  Object.defineProperty(exports, "__esModule", {
@@ -3856,8 +3858,8 @@ var require_deflate = __commonJS((exports) => {
3856
3858
  if (typeof WeakMap != "function")
3857
3859
  return null;
3858
3860
  var r = new WeakMap, t = new WeakMap;
3859
- return (_getRequireWildcardCache = function _getRequireWildcardCache2(e2) {
3860
- return e2 ? t : r;
3861
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
3862
+ return e ? t : r;
3861
3863
  })(e);
3862
3864
  }
3863
3865
  function _interopRequireWildcard(e, r) {
@@ -4892,7 +4894,7 @@ var require_deflate = __commonJS((exports) => {
4892
4894
  });
4893
4895
 
4894
4896
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/deflator.js
4895
- var require_deflator = __commonJS((exports) => {
4897
+ var require_deflator = __commonJS(function(exports) {
4896
4898
  Object.defineProperty(exports, "__esModule", {
4897
4899
  value: true
4898
4900
  });
@@ -4904,10 +4906,10 @@ var require_deflator = __commonJS((exports) => {
4904
4906
  }
4905
4907
  function _typeof(o) {
4906
4908
  "@babel/helpers - typeof";
4907
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
4908
- return typeof o2;
4909
- } : function(o2) {
4910
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
4909
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
4910
+ return typeof o;
4911
+ } : function(o) {
4912
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
4911
4913
  }, _typeof(o);
4912
4914
  }
4913
4915
  function _classCallCheck(a, n) {
@@ -4940,14 +4942,14 @@ var require_deflator = __commonJS((exports) => {
4940
4942
  return (r === "string" ? String : Number)(t);
4941
4943
  }
4942
4944
  var Deflator = exports.default = /* @__PURE__ */ function() {
4943
- function Deflator2() {
4944
- _classCallCheck(this, Deflator2);
4945
+ function Deflator() {
4946
+ _classCallCheck(this, Deflator);
4945
4947
  this.strm = new _zstream["default"];
4946
4948
  this.chunkSize = 1024 * 10 * 10;
4947
4949
  this.outputBuffer = new Uint8Array(this.chunkSize);
4948
4950
  (0, _deflate2.deflateInit)(this.strm, _deflate2.Z_DEFAULT_COMPRESSION);
4949
4951
  }
4950
- return _createClass(Deflator2, [{
4952
+ return _createClass(Deflator, [{
4951
4953
  key: "deflate",
4952
4954
  value: function deflate(inData) {
4953
4955
  this.strm.input = inData;
@@ -4994,7 +4996,7 @@ var require_deflator = __commonJS((exports) => {
4994
4996
  });
4995
4997
 
4996
4998
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/keysym.js
4997
- var require_keysym = __commonJS((exports) => {
4999
+ var require_keysym = __commonJS(function(exports) {
4998
5000
  Object.defineProperty(exports, "__esModule", {
4999
5001
  value: true
5000
5002
  });
@@ -5558,7 +5560,7 @@ var require_keysym = __commonJS((exports) => {
5558
5560
  });
5559
5561
 
5560
5562
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/keysymdef.js
5561
- var require_keysymdef = __commonJS((exports) => {
5563
+ var require_keysymdef = __commonJS(function(exports) {
5562
5564
  Object.defineProperty(exports, "__esModule", {
5563
5565
  value: true
5564
5566
  });
@@ -6239,7 +6241,7 @@ var require_keysymdef = __commonJS((exports) => {
6239
6241
  });
6240
6242
 
6241
6243
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/vkeys.js
6242
- var require_vkeys = __commonJS((exports) => {
6244
+ var require_vkeys = __commonJS(function(exports) {
6243
6245
  Object.defineProperty(exports, "__esModule", {
6244
6246
  value: true
6245
6247
  });
@@ -6352,7 +6354,7 @@ var require_vkeys = __commonJS((exports) => {
6352
6354
  });
6353
6355
 
6354
6356
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/fixedkeys.js
6355
- var require_fixedkeys = __commonJS((exports) => {
6357
+ var require_fixedkeys = __commonJS(function(exports) {
6356
6358
  Object.defineProperty(exports, "__esModule", {
6357
6359
  value: true
6358
6360
  });
@@ -6449,7 +6451,7 @@ var require_fixedkeys = __commonJS((exports) => {
6449
6451
  });
6450
6452
 
6451
6453
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/domkeytable.js
6452
- var require_domkeytable = __commonJS((exports) => {
6454
+ var require_domkeytable = __commonJS(function(exports) {
6453
6455
  Object.defineProperty(exports, "__esModule", {
6454
6456
  value: true
6455
6457
  });
@@ -6659,13 +6661,13 @@ var require_domkeytable = __commonJS((exports) => {
6659
6661
  });
6660
6662
 
6661
6663
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/util.js
6662
- var require_util = __commonJS((exports) => {
6664
+ var require_util = __commonJS(function(exports) {
6663
6665
  function _typeof(o) {
6664
6666
  "@babel/helpers - typeof";
6665
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
6666
- return typeof o2;
6667
- } : function(o2) {
6668
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
6667
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
6668
+ return typeof o;
6669
+ } : function(o) {
6670
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
6669
6671
  }, _typeof(o);
6670
6672
  }
6671
6673
  Object.defineProperty(exports, "__esModule", {
@@ -6684,8 +6686,8 @@ var require_util = __commonJS((exports) => {
6684
6686
  if (typeof WeakMap != "function")
6685
6687
  return null;
6686
6688
  var r = new WeakMap, t = new WeakMap;
6687
- return (_getRequireWildcardCache = function _getRequireWildcardCache2(e2) {
6688
- return e2 ? t : r;
6689
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
6690
+ return e ? t : r;
6689
6691
  })(e);
6690
6692
  }
6691
6693
  function _interopRequireWildcard(e, r) {
@@ -6855,7 +6857,7 @@ var require_util = __commonJS((exports) => {
6855
6857
  });
6856
6858
 
6857
6859
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/keyboard.js
6858
- var require_keyboard = __commonJS((exports) => {
6860
+ var require_keyboard = __commonJS(function(exports) {
6859
6861
  Object.defineProperty(exports, "__esModule", {
6860
6862
  value: true
6861
6863
  });
@@ -6872,8 +6874,8 @@ var require_keyboard = __commonJS((exports) => {
6872
6874
  if (typeof WeakMap != "function")
6873
6875
  return null;
6874
6876
  var r = new WeakMap, t = new WeakMap;
6875
- return (_getRequireWildcardCache = function _getRequireWildcardCache2(e2) {
6876
- return e2 ? t : r;
6877
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
6878
+ return e ? t : r;
6877
6879
  })(e);
6878
6880
  }
6879
6881
  function _interopRequireWildcard(e, r) {
@@ -6894,10 +6896,10 @@ var require_keyboard = __commonJS((exports) => {
6894
6896
  }
6895
6897
  function _typeof(o) {
6896
6898
  "@babel/helpers - typeof";
6897
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
6898
- return typeof o2;
6899
- } : function(o2) {
6900
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
6899
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
6900
+ return typeof o;
6901
+ } : function(o) {
6902
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
6901
6903
  }, _typeof(o);
6902
6904
  }
6903
6905
  function _classCallCheck(a, n) {
@@ -6930,8 +6932,8 @@ var require_keyboard = __commonJS((exports) => {
6930
6932
  return (r === "string" ? String : Number)(t);
6931
6933
  }
6932
6934
  var Keyboard = exports.default = /* @__PURE__ */ function() {
6933
- function Keyboard2(target) {
6934
- _classCallCheck(this, Keyboard2);
6935
+ function Keyboard(target) {
6936
+ _classCallCheck(this, Keyboard);
6935
6937
  this._target = target || null;
6936
6938
  this._keyDownList = {};
6937
6939
  this._altGrArmed = false;
@@ -6942,7 +6944,7 @@ var require_keyboard = __commonJS((exports) => {
6942
6944
  };
6943
6945
  this.onkeyevent = function() {};
6944
6946
  }
6945
- return _createClass(Keyboard2, [{
6947
+ return _createClass(Keyboard, [{
6946
6948
  key: "_sendKeyEvent",
6947
6949
  value: function _sendKeyEvent(keysym, code, down) {
6948
6950
  var numlock = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
@@ -7114,17 +7116,17 @@ var require_keyboard = __commonJS((exports) => {
7114
7116
  });
7115
7117
 
7116
7118
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/gesturehandler.js
7117
- var require_gesturehandler = __commonJS((exports) => {
7119
+ var require_gesturehandler = __commonJS(function(exports) {
7118
7120
  Object.defineProperty(exports, "__esModule", {
7119
7121
  value: true
7120
7122
  });
7121
7123
  exports.default = undefined;
7122
7124
  function _typeof(o) {
7123
7125
  "@babel/helpers - typeof";
7124
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
7125
- return typeof o2;
7126
- } : function(o2) {
7127
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
7126
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
7127
+ return typeof o;
7128
+ } : function(o) {
7129
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
7128
7130
  }, _typeof(o);
7129
7131
  }
7130
7132
  function _classCallCheck(a, n) {
@@ -7172,8 +7174,8 @@ var require_gesturehandler = __commonJS((exports) => {
7172
7174
  var GH_LONGPRESS_TIMEOUT = 1000;
7173
7175
  var GH_TWOTOUCH_TIMEOUT = 50;
7174
7176
  var GestureHandler = exports.default = /* @__PURE__ */ function() {
7175
- function GestureHandler2() {
7176
- _classCallCheck(this, GestureHandler2);
7177
+ function GestureHandler() {
7178
+ _classCallCheck(this, GestureHandler);
7177
7179
  this._target = null;
7178
7180
  this._state = GH_INITSTATE;
7179
7181
  this._tracked = [];
@@ -7184,7 +7186,7 @@ var require_gesturehandler = __commonJS((exports) => {
7184
7186
  this._twoTouchTimeoutId = null;
7185
7187
  this._boundEventHandler = this._eventHandler.bind(this);
7186
7188
  }
7187
- return _createClass(GestureHandler2, [{
7189
+ return _createClass(GestureHandler, [{
7188
7190
  key: "attach",
7189
7191
  value: function attach(target) {
7190
7192
  this.detach();
@@ -7615,7 +7617,7 @@ var require_gesturehandler = __commonJS((exports) => {
7615
7617
  });
7616
7618
 
7617
7619
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/util/cursor.js
7618
- var require_cursor = __commonJS((exports) => {
7620
+ var require_cursor = __commonJS(function(exports) {
7619
7621
  Object.defineProperty(exports, "__esModule", {
7620
7622
  value: true
7621
7623
  });
@@ -7623,10 +7625,10 @@ var require_cursor = __commonJS((exports) => {
7623
7625
  var _browser = require_browser();
7624
7626
  function _typeof(o) {
7625
7627
  "@babel/helpers - typeof";
7626
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
7627
- return typeof o2;
7628
- } : function(o2) {
7629
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
7628
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
7629
+ return typeof o;
7630
+ } : function(o) {
7631
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
7630
7632
  }, _typeof(o);
7631
7633
  }
7632
7634
  function _classCallCheck(a, n) {
@@ -7660,8 +7662,8 @@ var require_cursor = __commonJS((exports) => {
7660
7662
  }
7661
7663
  var useFallback = !_browser.supportsCursorURIs || _browser.isTouchDevice;
7662
7664
  var Cursor = exports.default = /* @__PURE__ */ function() {
7663
- function Cursor2() {
7664
- _classCallCheck(this, Cursor2);
7665
+ function Cursor() {
7666
+ _classCallCheck(this, Cursor);
7665
7667
  this._target = null;
7666
7668
  this._canvas = document.createElement("canvas");
7667
7669
  if (useFallback) {
@@ -7687,7 +7689,7 @@ var require_cursor = __commonJS((exports) => {
7687
7689
  mouseup: this._handleMouseUp.bind(this)
7688
7690
  };
7689
7691
  }
7690
- return _createClass(Cursor2, [{
7692
+ return _createClass(Cursor, [{
7691
7693
  key: "attach",
7692
7694
  value: function attach(target) {
7693
7695
  if (this._target) {
@@ -7873,7 +7875,7 @@ var require_cursor = __commonJS((exports) => {
7873
7875
  });
7874
7876
 
7875
7877
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/websock.js
7876
- var require_websock = __commonJS((exports) => {
7878
+ var require_websock = __commonJS(function(exports) {
7877
7879
  Object.defineProperty(exports, "__esModule", {
7878
7880
  value: true
7879
7881
  });
@@ -7883,8 +7885,8 @@ var require_websock = __commonJS((exports) => {
7883
7885
  if (typeof WeakMap != "function")
7884
7886
  return null;
7885
7887
  var r = new WeakMap, t = new WeakMap;
7886
- return (_getRequireWildcardCache = function _getRequireWildcardCache2(e2) {
7887
- return e2 ? t : r;
7888
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
7889
+ return e ? t : r;
7888
7890
  })(e);
7889
7891
  }
7890
7892
  function _interopRequireWildcard(e, r) {
@@ -7905,10 +7907,10 @@ var require_websock = __commonJS((exports) => {
7905
7907
  }
7906
7908
  function _typeof(o) {
7907
7909
  "@babel/helpers - typeof";
7908
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
7909
- return typeof o2;
7910
- } : function(o2) {
7911
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
7910
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
7911
+ return typeof o;
7912
+ } : function(o) {
7913
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
7912
7914
  }, _typeof(o);
7913
7915
  }
7914
7916
  function _toConsumableArray(r) {
@@ -7984,8 +7986,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7984
7986
  };
7985
7987
  var rawChannelProps = ["send", "close", "binaryType", "onerror", "onmessage", "onopen", "protocol", "readyState"];
7986
7988
  var Websock = exports.default = /* @__PURE__ */ function() {
7987
- function Websock2() {
7988
- _classCallCheck(this, Websock2);
7989
+ function Websock() {
7990
+ _classCallCheck(this, Websock);
7989
7991
  this._websocket = null;
7990
7992
  this._rQi = 0;
7991
7993
  this._rQlen = 0;
@@ -8001,7 +8003,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8001
8003
  error: function error() {}
8002
8004
  };
8003
8005
  }
8004
- return _createClass(Websock2, [{
8006
+ return _createClass(Websock, [{
8005
8007
  key: "readyState",
8006
8008
  get: function get() {
8007
8009
  var subState;
@@ -8285,7 +8287,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8285
8287
  });
8286
8288
 
8287
8289
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/input/xtscancodes.js
8288
- var require_xtscancodes = __commonJS((exports) => {
8290
+ var require_xtscancodes = __commonJS(function(exports) {
8289
8291
  Object.defineProperty(exports, "__esModule", {
8290
8292
  value: true
8291
8293
  });
@@ -8460,7 +8462,7 @@ var require_xtscancodes = __commonJS((exports) => {
8460
8462
  });
8461
8463
 
8462
8464
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/encodings.js
8463
- var require_encodings = __commonJS((exports) => {
8465
+ var require_encodings = __commonJS(function(exports) {
8464
8466
  Object.defineProperty(exports, "__esModule", {
8465
8467
  value: true
8466
8468
  });
@@ -8524,46 +8526,46 @@ var require_encodings = __commonJS((exports) => {
8524
8526
  });
8525
8527
 
8526
8528
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/crypto/aes.js
8527
- var require_aes = __commonJS((exports) => {
8529
+ var require_aes = __commonJS(function(exports) {
8528
8530
  Object.defineProperty(exports, "__esModule", {
8529
8531
  value: true
8530
8532
  });
8531
8533
  exports.AESECBCipher = exports.AESEAXCipher = undefined;
8532
8534
  function _typeof(o) {
8533
8535
  "@babel/helpers - typeof";
8534
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
8535
- return typeof o2;
8536
- } : function(o2) {
8537
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
8536
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
8537
+ return typeof o;
8538
+ } : function(o) {
8539
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
8538
8540
  }, _typeof(o);
8539
8541
  }
8540
8542
  function _regeneratorRuntime() {
8541
8543
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
8542
- _regeneratorRuntime = function _regeneratorRuntime2() {
8544
+ _regeneratorRuntime = function _regeneratorRuntime() {
8543
8545
  return e;
8544
8546
  };
8545
- var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t2, e2, r2) {
8546
- t2[e2] = r2.value;
8547
+ var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t, e, r) {
8548
+ t[e] = r.value;
8547
8549
  }, i = typeof Symbol == "function" ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
8548
- function define(t2, e2, r2) {
8549
- return Object.defineProperty(t2, e2, { value: r2, enumerable: true, configurable: true, writable: true }), t2[e2];
8550
+ function define(t, e, r) {
8551
+ return Object.defineProperty(t, e, { value: r, enumerable: true, configurable: true, writable: true }), t[e];
8550
8552
  }
8551
8553
  try {
8552
8554
  define({}, "");
8553
- } catch (t2) {
8554
- define = function define2(t3, e2, r2) {
8555
- return t3[e2] = r2;
8555
+ } catch (t) {
8556
+ define = function define(t, e, r) {
8557
+ return t[e] = r;
8556
8558
  };
8557
8559
  }
8558
- function wrap(t2, e2, r2, n2) {
8559
- var i2 = e2 && e2.prototype instanceof Generator ? e2 : Generator, a2 = Object.create(i2.prototype), c2 = new Context(n2 || []);
8560
- return o(a2, "_invoke", { value: makeInvokeMethod(t2, r2, c2) }), a2;
8560
+ function wrap(t, e, r, n) {
8561
+ var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []);
8562
+ return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a;
8561
8563
  }
8562
- function tryCatch(t2, e2, r2) {
8564
+ function tryCatch(t, e, r) {
8563
8565
  try {
8564
- return { type: "normal", arg: t2.call(e2, r2) };
8565
- } catch (t3) {
8566
- return { type: "throw", arg: t3 };
8566
+ return { type: "normal", arg: t.call(e, r) };
8567
+ } catch (t) {
8568
+ return { type: "throw", arg: t };
8567
8569
  }
8568
8570
  }
8569
8571
  e.wrap = wrap;
@@ -8578,232 +8580,232 @@ var require_aes = __commonJS((exports) => {
8578
8580
  var d = Object.getPrototypeOf, v = d && d(d(values([])));
8579
8581
  v && v !== r && n.call(v, a) && (p = v);
8580
8582
  var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
8581
- function defineIteratorMethods(t2) {
8582
- ["next", "throw", "return"].forEach(function(e2) {
8583
- define(t2, e2, function(t3) {
8584
- return this._invoke(e2, t3);
8583
+ function defineIteratorMethods(t) {
8584
+ ["next", "throw", "return"].forEach(function(e) {
8585
+ define(t, e, function(t) {
8586
+ return this._invoke(e, t);
8585
8587
  });
8586
8588
  });
8587
8589
  }
8588
- function AsyncIterator(t2, e2) {
8589
- function invoke(r3, o2, i2, a2) {
8590
- var c2 = tryCatch(t2[r3], t2, o2);
8591
- if (c2.type !== "throw") {
8592
- var u2 = c2.arg, h2 = u2.value;
8593
- return h2 && _typeof(h2) == "object" && n.call(h2, "__await") ? e2.resolve(h2.__await).then(function(t3) {
8594
- invoke("next", t3, i2, a2);
8595
- }, function(t3) {
8596
- invoke("throw", t3, i2, a2);
8597
- }) : e2.resolve(h2).then(function(t3) {
8598
- u2.value = t3, i2(u2);
8599
- }, function(t3) {
8600
- return invoke("throw", t3, i2, a2);
8590
+ function AsyncIterator(t, e) {
8591
+ function invoke(r, o, i, a) {
8592
+ var c = tryCatch(t[r], t, o);
8593
+ if (c.type !== "throw") {
8594
+ var u = c.arg, h = u.value;
8595
+ return h && _typeof(h) == "object" && n.call(h, "__await") ? e.resolve(h.__await).then(function(t) {
8596
+ invoke("next", t, i, a);
8597
+ }, function(t) {
8598
+ invoke("throw", t, i, a);
8599
+ }) : e.resolve(h).then(function(t) {
8600
+ u.value = t, i(u);
8601
+ }, function(t) {
8602
+ return invoke("throw", t, i, a);
8601
8603
  });
8602
8604
  }
8603
- a2(c2.arg);
8605
+ a(c.arg);
8604
8606
  }
8605
- var r2;
8606
- o(this, "_invoke", { value: function value(t3, n2) {
8607
+ var r;
8608
+ o(this, "_invoke", { value: function value(t, n) {
8607
8609
  function callInvokeWithMethodAndArg() {
8608
- return new e2(function(e3, r3) {
8609
- invoke(t3, n2, e3, r3);
8610
+ return new e(function(e, r) {
8611
+ invoke(t, n, e, r);
8610
8612
  });
8611
8613
  }
8612
- return r2 = r2 ? r2.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
8614
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
8613
8615
  } });
8614
8616
  }
8615
- function makeInvokeMethod(e2, r2, n2) {
8616
- var o2 = h;
8617
- return function(i2, a2) {
8618
- if (o2 === f)
8617
+ function makeInvokeMethod(e, r, n) {
8618
+ var o = h;
8619
+ return function(i, a) {
8620
+ if (o === f)
8619
8621
  throw Error("Generator is already running");
8620
- if (o2 === s) {
8621
- if (i2 === "throw")
8622
- throw a2;
8622
+ if (o === s) {
8623
+ if (i === "throw")
8624
+ throw a;
8623
8625
  return { value: t, done: true };
8624
8626
  }
8625
- for (n2.method = i2, n2.arg = a2;; ) {
8626
- var c2 = n2.delegate;
8627
- if (c2) {
8628
- var u2 = maybeInvokeDelegate(c2, n2);
8629
- if (u2) {
8630
- if (u2 === y)
8627
+ for (n.method = i, n.arg = a;; ) {
8628
+ var c = n.delegate;
8629
+ if (c) {
8630
+ var u = maybeInvokeDelegate(c, n);
8631
+ if (u) {
8632
+ if (u === y)
8631
8633
  continue;
8632
- return u2;
8634
+ return u;
8633
8635
  }
8634
8636
  }
8635
- if (n2.method === "next")
8636
- n2.sent = n2._sent = n2.arg;
8637
- else if (n2.method === "throw") {
8638
- if (o2 === h)
8639
- throw o2 = s, n2.arg;
8640
- n2.dispatchException(n2.arg);
8637
+ if (n.method === "next")
8638
+ n.sent = n._sent = n.arg;
8639
+ else if (n.method === "throw") {
8640
+ if (o === h)
8641
+ throw o = s, n.arg;
8642
+ n.dispatchException(n.arg);
8641
8643
  } else
8642
- n2.method === "return" && n2.abrupt("return", n2.arg);
8643
- o2 = f;
8644
- var p2 = tryCatch(e2, r2, n2);
8645
- if (p2.type === "normal") {
8646
- if (o2 = n2.done ? s : l, p2.arg === y)
8644
+ n.method === "return" && n.abrupt("return", n.arg);
8645
+ o = f;
8646
+ var p = tryCatch(e, r, n);
8647
+ if (p.type === "normal") {
8648
+ if (o = n.done ? s : l, p.arg === y)
8647
8649
  continue;
8648
- return { value: p2.arg, done: n2.done };
8650
+ return { value: p.arg, done: n.done };
8649
8651
  }
8650
- p2.type === "throw" && (o2 = s, n2.method = "throw", n2.arg = p2.arg);
8652
+ p.type === "throw" && (o = s, n.method = "throw", n.arg = p.arg);
8651
8653
  }
8652
8654
  };
8653
8655
  }
8654
- function maybeInvokeDelegate(e2, r2) {
8655
- var n2 = r2.method, o2 = e2.iterator[n2];
8656
- if (o2 === t)
8657
- return r2.delegate = null, n2 === "throw" && e2.iterator["return"] && (r2.method = "return", r2.arg = t, maybeInvokeDelegate(e2, r2), r2.method === "throw") || n2 !== "return" && (r2.method = "throw", r2.arg = new TypeError("The iterator does not provide a '" + n2 + "' method")), y;
8658
- var i2 = tryCatch(o2, e2.iterator, r2.arg);
8659
- if (i2.type === "throw")
8660
- return r2.method = "throw", r2.arg = i2.arg, r2.delegate = null, y;
8661
- var a2 = i2.arg;
8662
- return a2 ? a2.done ? (r2[e2.resultName] = a2.value, r2.next = e2.nextLoc, r2.method !== "return" && (r2.method = "next", r2.arg = t), r2.delegate = null, y) : a2 : (r2.method = "throw", r2.arg = new TypeError("iterator result is not an object"), r2.delegate = null, y);
8663
- }
8664
- function pushTryEntry(t2) {
8665
- var e2 = { tryLoc: t2[0] };
8666
- 1 in t2 && (e2.catchLoc = t2[1]), 2 in t2 && (e2.finallyLoc = t2[2], e2.afterLoc = t2[3]), this.tryEntries.push(e2);
8667
- }
8668
- function resetTryEntry(t2) {
8669
- var e2 = t2.completion || {};
8670
- e2.type = "normal", delete e2.arg, t2.completion = e2;
8671
- }
8672
- function Context(t2) {
8673
- this.tryEntries = [{ tryLoc: "root" }], t2.forEach(pushTryEntry, this), this.reset(true);
8674
- }
8675
- function values(e2) {
8676
- if (e2 || e2 === "") {
8677
- var r2 = e2[a];
8678
- if (r2)
8679
- return r2.call(e2);
8680
- if (typeof e2.next == "function")
8681
- return e2;
8682
- if (!isNaN(e2.length)) {
8683
- var o2 = -1, i2 = function next() {
8684
- for (;++o2 < e2.length; )
8685
- if (n.call(e2, o2))
8686
- return next.value = e2[o2], next.done = false, next;
8656
+ function maybeInvokeDelegate(e, r) {
8657
+ var n = r.method, o = e.iterator[n];
8658
+ if (o === t)
8659
+ return r.delegate = null, n === "throw" && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), r.method === "throw") || n !== "return" && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
8660
+ var i = tryCatch(o, e.iterator, r.arg);
8661
+ if (i.type === "throw")
8662
+ return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
8663
+ var a = i.arg;
8664
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, r.method !== "return" && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
8665
+ }
8666
+ function pushTryEntry(t) {
8667
+ var e = { tryLoc: t[0] };
8668
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
8669
+ }
8670
+ function resetTryEntry(t) {
8671
+ var e = t.completion || {};
8672
+ e.type = "normal", delete e.arg, t.completion = e;
8673
+ }
8674
+ function Context(t) {
8675
+ this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(true);
8676
+ }
8677
+ function values(e) {
8678
+ if (e || e === "") {
8679
+ var r = e[a];
8680
+ if (r)
8681
+ return r.call(e);
8682
+ if (typeof e.next == "function")
8683
+ return e;
8684
+ if (!isNaN(e.length)) {
8685
+ var o = -1, i = function next() {
8686
+ for (;++o < e.length; )
8687
+ if (n.call(e, o))
8688
+ return next.value = e[o], next.done = false, next;
8687
8689
  return next.value = t, next.done = true, next;
8688
8690
  };
8689
- return i2.next = i2;
8691
+ return i.next = i;
8690
8692
  }
8691
8693
  }
8692
- throw new TypeError(_typeof(e2) + " is not iterable");
8694
+ throw new TypeError(_typeof(e) + " is not iterable");
8693
8695
  }
8694
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t2) {
8695
- var e2 = typeof t2 == "function" && t2.constructor;
8696
- return !!e2 && (e2 === GeneratorFunction || (e2.displayName || e2.name) === "GeneratorFunction");
8697
- }, e.mark = function(t2) {
8698
- return Object.setPrototypeOf ? Object.setPrototypeOf(t2, GeneratorFunctionPrototype) : (t2.__proto__ = GeneratorFunctionPrototype, define(t2, u, "GeneratorFunction")), t2.prototype = Object.create(g), t2;
8699
- }, e.awrap = function(t2) {
8700
- return { __await: t2 };
8696
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t) {
8697
+ var e = typeof t == "function" && t.constructor;
8698
+ return !!e && (e === GeneratorFunction || (e.displayName || e.name) === "GeneratorFunction");
8699
+ }, e.mark = function(t) {
8700
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
8701
+ }, e.awrap = function(t) {
8702
+ return { __await: t };
8701
8703
  }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function() {
8702
8704
  return this;
8703
- }), e.AsyncIterator = AsyncIterator, e.async = function(t2, r2, n2, o2, i2) {
8704
- i2 === undefined && (i2 = Promise);
8705
- var a2 = new AsyncIterator(wrap(t2, r2, n2, o2), i2);
8706
- return e.isGeneratorFunction(r2) ? a2 : a2.next().then(function(t3) {
8707
- return t3.done ? t3.value : a2.next();
8705
+ }), e.AsyncIterator = AsyncIterator, e.async = function(t, r, n, o, i) {
8706
+ i === undefined && (i = Promise);
8707
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
8708
+ return e.isGeneratorFunction(r) ? a : a.next().then(function(t) {
8709
+ return t.done ? t.value : a.next();
8708
8710
  });
8709
8711
  }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function() {
8710
8712
  return this;
8711
8713
  }), define(g, "toString", function() {
8712
8714
  return "[object Generator]";
8713
- }), e.keys = function(t2) {
8714
- var e2 = Object(t2), r2 = [];
8715
- for (var n2 in e2)
8716
- r2.push(n2);
8717
- return r2.reverse(), function next() {
8718
- for (;r2.length; ) {
8719
- var t3 = r2.pop();
8720
- if (t3 in e2)
8721
- return next.value = t3, next.done = false, next;
8715
+ }), e.keys = function(t) {
8716
+ var e = Object(t), r = [];
8717
+ for (var n in e)
8718
+ r.push(n);
8719
+ return r.reverse(), function next() {
8720
+ for (;r.length; ) {
8721
+ var t = r.pop();
8722
+ if (t in e)
8723
+ return next.value = t, next.done = false, next;
8722
8724
  }
8723
8725
  return next.done = true, next;
8724
8726
  };
8725
- }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e2) {
8726
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e2)
8727
- for (var r2 in this)
8728
- r2.charAt(0) === "t" && n.call(this, r2) && !isNaN(+r2.slice(1)) && (this[r2] = t);
8727
+ }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) {
8728
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e)
8729
+ for (var r in this)
8730
+ r.charAt(0) === "t" && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
8729
8731
  }, stop: function stop() {
8730
8732
  this.done = true;
8731
- var t2 = this.tryEntries[0].completion;
8732
- if (t2.type === "throw")
8733
- throw t2.arg;
8733
+ var t = this.tryEntries[0].completion;
8734
+ if (t.type === "throw")
8735
+ throw t.arg;
8734
8736
  return this.rval;
8735
- }, dispatchException: function dispatchException(e2) {
8737
+ }, dispatchException: function dispatchException(e) {
8736
8738
  if (this.done)
8737
- throw e2;
8738
- var r2 = this;
8739
- function handle(n2, o3) {
8740
- return a2.type = "throw", a2.arg = e2, r2.next = n2, o3 && (r2.method = "next", r2.arg = t), !!o3;
8741
- }
8742
- for (var o2 = this.tryEntries.length - 1;o2 >= 0; --o2) {
8743
- var i2 = this.tryEntries[o2], a2 = i2.completion;
8744
- if (i2.tryLoc === "root")
8739
+ throw e;
8740
+ var r = this;
8741
+ function handle(n, o) {
8742
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
8743
+ }
8744
+ for (var o = this.tryEntries.length - 1;o >= 0; --o) {
8745
+ var i = this.tryEntries[o], a = i.completion;
8746
+ if (i.tryLoc === "root")
8745
8747
  return handle("end");
8746
- if (i2.tryLoc <= this.prev) {
8747
- var c2 = n.call(i2, "catchLoc"), u2 = n.call(i2, "finallyLoc");
8748
- if (c2 && u2) {
8749
- if (this.prev < i2.catchLoc)
8750
- return handle(i2.catchLoc, true);
8751
- if (this.prev < i2.finallyLoc)
8752
- return handle(i2.finallyLoc);
8753
- } else if (c2) {
8754
- if (this.prev < i2.catchLoc)
8755
- return handle(i2.catchLoc, true);
8748
+ if (i.tryLoc <= this.prev) {
8749
+ var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc");
8750
+ if (c && u) {
8751
+ if (this.prev < i.catchLoc)
8752
+ return handle(i.catchLoc, true);
8753
+ if (this.prev < i.finallyLoc)
8754
+ return handle(i.finallyLoc);
8755
+ } else if (c) {
8756
+ if (this.prev < i.catchLoc)
8757
+ return handle(i.catchLoc, true);
8756
8758
  } else {
8757
- if (!u2)
8759
+ if (!u)
8758
8760
  throw Error("try statement without catch or finally");
8759
- if (this.prev < i2.finallyLoc)
8760
- return handle(i2.finallyLoc);
8761
+ if (this.prev < i.finallyLoc)
8762
+ return handle(i.finallyLoc);
8761
8763
  }
8762
8764
  }
8763
8765
  }
8764
- }, abrupt: function abrupt(t2, e2) {
8765
- for (var r2 = this.tryEntries.length - 1;r2 >= 0; --r2) {
8766
- var o2 = this.tryEntries[r2];
8767
- if (o2.tryLoc <= this.prev && n.call(o2, "finallyLoc") && this.prev < o2.finallyLoc) {
8768
- var i2 = o2;
8766
+ }, abrupt: function abrupt(t, e) {
8767
+ for (var r = this.tryEntries.length - 1;r >= 0; --r) {
8768
+ var o = this.tryEntries[r];
8769
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
8770
+ var i = o;
8769
8771
  break;
8770
8772
  }
8771
8773
  }
8772
- i2 && (t2 === "break" || t2 === "continue") && i2.tryLoc <= e2 && e2 <= i2.finallyLoc && (i2 = null);
8773
- var a2 = i2 ? i2.completion : {};
8774
- return a2.type = t2, a2.arg = e2, i2 ? (this.method = "next", this.next = i2.finallyLoc, y) : this.complete(a2);
8775
- }, complete: function complete(t2, e2) {
8776
- if (t2.type === "throw")
8777
- throw t2.arg;
8778
- return t2.type === "break" || t2.type === "continue" ? this.next = t2.arg : t2.type === "return" ? (this.rval = this.arg = t2.arg, this.method = "return", this.next = "end") : t2.type === "normal" && e2 && (this.next = e2), y;
8779
- }, finish: function finish(t2) {
8780
- for (var e2 = this.tryEntries.length - 1;e2 >= 0; --e2) {
8781
- var r2 = this.tryEntries[e2];
8782
- if (r2.finallyLoc === t2)
8783
- return this.complete(r2.completion, r2.afterLoc), resetTryEntry(r2), y;
8784
- }
8785
- }, catch: function _catch(t2) {
8786
- for (var e2 = this.tryEntries.length - 1;e2 >= 0; --e2) {
8787
- var r2 = this.tryEntries[e2];
8788
- if (r2.tryLoc === t2) {
8789
- var n2 = r2.completion;
8790
- if (n2.type === "throw") {
8791
- var o2 = n2.arg;
8792
- resetTryEntry(r2);
8774
+ i && (t === "break" || t === "continue") && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
8775
+ var a = i ? i.completion : {};
8776
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
8777
+ }, complete: function complete(t, e) {
8778
+ if (t.type === "throw")
8779
+ throw t.arg;
8780
+ return t.type === "break" || t.type === "continue" ? this.next = t.arg : t.type === "return" ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : t.type === "normal" && e && (this.next = e), y;
8781
+ }, finish: function finish(t) {
8782
+ for (var e = this.tryEntries.length - 1;e >= 0; --e) {
8783
+ var r = this.tryEntries[e];
8784
+ if (r.finallyLoc === t)
8785
+ return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
8786
+ }
8787
+ }, catch: function _catch(t) {
8788
+ for (var e = this.tryEntries.length - 1;e >= 0; --e) {
8789
+ var r = this.tryEntries[e];
8790
+ if (r.tryLoc === t) {
8791
+ var n = r.completion;
8792
+ if (n.type === "throw") {
8793
+ var o = n.arg;
8794
+ resetTryEntry(r);
8793
8795
  }
8794
- return o2;
8796
+ return o;
8795
8797
  }
8796
8798
  }
8797
8799
  throw Error("illegal catch attempt");
8798
- }, delegateYield: function delegateYield(e2, r2, n2) {
8799
- return this.delegate = { iterator: values(e2), resultName: r2, nextLoc: n2 }, this.method === "next" && (this.arg = t), y;
8800
+ }, delegateYield: function delegateYield(e, r, n) {
8801
+ return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, this.method === "next" && (this.arg = t), y;
8800
8802
  } }, e;
8801
8803
  }
8802
8804
  function asyncGeneratorStep(n, t, e, r, o, a, c) {
8803
8805
  try {
8804
8806
  var i = n[a](c), u = i.value;
8805
- } catch (n2) {
8806
- return void e(n2);
8807
+ } catch (n) {
8808
+ return void e(n);
8807
8809
  }
8808
8810
  i.done ? t(u) : Promise.resolve(u).then(r, o);
8809
8811
  }
@@ -8812,11 +8814,11 @@ var require_aes = __commonJS((exports) => {
8812
8814
  var t = this, e = arguments;
8813
8815
  return new Promise(function(r, o) {
8814
8816
  var a = n.apply(t, e);
8815
- function _next(n2) {
8816
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n2);
8817
+ function _next(n) {
8818
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
8817
8819
  }
8818
- function _throw(n2) {
8819
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n2);
8820
+ function _throw(n) {
8821
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
8820
8822
  }
8821
8823
  _next(undefined);
8822
8824
  });
@@ -8852,11 +8854,11 @@ var require_aes = __commonJS((exports) => {
8852
8854
  return (r === "string" ? String : Number)(t);
8853
8855
  }
8854
8856
  var AESECBCipher = exports.AESECBCipher = /* @__PURE__ */ function() {
8855
- function AESECBCipher2() {
8856
- _classCallCheck(this, AESECBCipher2);
8857
+ function AESECBCipher() {
8858
+ _classCallCheck(this, AESECBCipher);
8857
8859
  this._key = null;
8858
8860
  }
8859
- return _createClass(AESECBCipher2, [{
8861
+ return _createClass(AESECBCipher, [{
8860
8862
  key: "algorithm",
8861
8863
  get: function get() {
8862
8864
  return {
@@ -8947,7 +8949,7 @@ var require_aes = __commonJS((exports) => {
8947
8949
  while (true)
8948
8950
  switch (_context3.prev = _context3.next) {
8949
8951
  case 0:
8950
- cipher = new AESECBCipher2;
8952
+ cipher = new AESECBCipher;
8951
8953
  _context3.next = 3;
8952
8954
  return cipher._importKey(key, extractable, keyUsages);
8953
8955
  case 3:
@@ -8966,8 +8968,8 @@ var require_aes = __commonJS((exports) => {
8966
8968
  }]);
8967
8969
  }();
8968
8970
  var AESEAXCipher = exports.AESEAXCipher = /* @__PURE__ */ function() {
8969
- function AESEAXCipher2() {
8970
- _classCallCheck(this, AESEAXCipher2);
8971
+ function AESEAXCipher() {
8972
+ _classCallCheck(this, AESEAXCipher);
8971
8973
  this._rawKey = null;
8972
8974
  this._ctrKey = null;
8973
8975
  this._cbcKey = null;
@@ -8976,7 +8978,7 @@ var require_aes = __commonJS((exports) => {
8976
8978
  this._prefixBlock1 = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]);
8977
8979
  this._prefixBlock2 = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2]);
8978
8980
  }
8979
- return _createClass(AESEAXCipher2, [{
8981
+ return _createClass(AESEAXCipher, [{
8980
8982
  key: "algorithm",
8981
8983
  get: function get() {
8982
8984
  return {
@@ -9311,7 +9313,7 @@ var require_aes = __commonJS((exports) => {
9311
9313
  while (true)
9312
9314
  switch (_context12.prev = _context12.next) {
9313
9315
  case 0:
9314
- cipher = new AESEAXCipher2;
9316
+ cipher = new AESEAXCipher;
9315
9317
  _context12.next = 3;
9316
9318
  return cipher._importKey(key);
9317
9319
  case 3:
@@ -9332,31 +9334,31 @@ var require_aes = __commonJS((exports) => {
9332
9334
  });
9333
9335
 
9334
9336
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/crypto/des.js
9335
- var require_des = __commonJS((exports) => {
9337
+ var require_des = __commonJS(function(exports) {
9336
9338
  Object.defineProperty(exports, "__esModule", {
9337
9339
  value: true
9338
9340
  });
9339
9341
  exports.DESECBCipher = exports.DESCBCCipher = undefined;
9340
9342
  function _typeof(o) {
9341
9343
  "@babel/helpers - typeof";
9342
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
9343
- return typeof o2;
9344
- } : function(o2) {
9345
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
9344
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
9345
+ return typeof o;
9346
+ } : function(o) {
9347
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
9346
9348
  }, _typeof(o);
9347
9349
  }
9348
- function _classCallCheck(a2, n) {
9349
- if (!(a2 instanceof n))
9350
+ function _classCallCheck(a, n) {
9351
+ if (!(a instanceof n))
9350
9352
  throw new TypeError("Cannot call a class as a function");
9351
9353
  }
9352
- function _defineProperties(e2, r) {
9354
+ function _defineProperties(e, r) {
9353
9355
  for (var t = 0;t < r.length; t++) {
9354
9356
  var o = r[t];
9355
- o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e2, _toPropertyKey(o.key), o);
9357
+ o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o);
9356
9358
  }
9357
9359
  }
9358
- function _createClass(e2, r, t) {
9359
- return r && _defineProperties(e2.prototype, r), t && _defineProperties(e2, t), Object.defineProperty(e2, "prototype", { writable: false }), e2;
9360
+ function _createClass(e, r, t) {
9361
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: false }), e;
9360
9362
  }
9361
9363
  function _toPropertyKey(t) {
9362
9364
  var i = _toPrimitive(t, "string");
@@ -9365,9 +9367,9 @@ var require_des = __commonJS((exports) => {
9365
9367
  function _toPrimitive(t, r) {
9366
9368
  if (_typeof(t) != "object" || !t)
9367
9369
  return t;
9368
- var e2 = t[Symbol.toPrimitive];
9369
- if (e2 !== undefined) {
9370
- var i = e2.call(t, r || "default");
9370
+ var e = t[Symbol.toPrimitive];
9371
+ if (e !== undefined) {
9372
+ var i = e.call(t, r || "default");
9371
9373
  if (_typeof(i) != "object")
9372
9374
  return i;
9373
9375
  throw new TypeError("@@toPrimitive must return a primitive value.");
@@ -9440,8 +9442,8 @@ var require_des = __commonJS((exports) => {
9440
9442
  f = d | e;
9441
9443
  var SP8 = [b | f, z | e, a | z, c | f, b | z, b | f, z | d, b | z, a | d, c | z, c | f, a | e, c | e, a | f, z | e, z | d, c | z, b | d, b | e, z | f, a | e, a | d, c | d, c | e, z | f, z | z, z | z, c | d, b | d, b | e, a | f, a | z, a | f, a | z, c | e, z | e, z | d, c | d, z | e, a | f, b | e, z | d, b | d, c | z, c | d, b | z, a | z, b | f, z | z, c | f, a | d, b | d, c | z, b | e, b | f, z | z, c | f, a | e, a | e, z | f, z | f, a | d, b | z, c | e];
9442
9444
  var DES = /* @__PURE__ */ function() {
9443
- function DES2(password) {
9444
- _classCallCheck(this, DES2);
9445
+ function DES(password) {
9446
+ _classCallCheck(this, DES);
9445
9447
  this.keys = [];
9446
9448
  var pc1m = [], pcr = [], kn = [];
9447
9449
  for (var j = 0, l = 56;j < 56; ++j, l -= 8) {
@@ -9483,13 +9485,13 @@ var require_des = __commonJS((exports) => {
9483
9485
  ++KnLi;
9484
9486
  }
9485
9487
  }
9486
- return _createClass(DES2, [{
9488
+ return _createClass(DES, [{
9487
9489
  key: "enc8",
9488
9490
  value: function enc8(text) {
9489
- var b2 = text.slice();
9491
+ var b = text.slice();
9490
9492
  var i = 0, l, r, x;
9491
- l = b2[i++] << 24 | b2[i++] << 16 | b2[i++] << 8 | b2[i++];
9492
- r = b2[i++] << 24 | b2[i++] << 16 | b2[i++] << 8 | b2[i++];
9493
+ l = b[i++] << 24 | b[i++] << 16 | b[i++] << 8 | b[i++];
9494
+ r = b[i++] << 24 | b[i++] << 16 | b[i++] << 8 | b[i++];
9493
9495
  x = (l >>> 4 ^ r) & 252645135;
9494
9496
  r ^= x;
9495
9497
  l ^= x << 4;
@@ -9552,21 +9554,21 @@ var require_des = __commonJS((exports) => {
9552
9554
  r ^= x << 4;
9553
9555
  x = [r, l];
9554
9556
  for (i = 0;i < 8; i++) {
9555
- b2[i] = (x[i >>> 2] >>> 8 * (3 - i % 4)) % 256;
9556
- if (b2[i] < 0) {
9557
- b2[i] += 256;
9557
+ b[i] = (x[i >>> 2] >>> 8 * (3 - i % 4)) % 256;
9558
+ if (b[i] < 0) {
9559
+ b[i] += 256;
9558
9560
  }
9559
9561
  }
9560
- return b2;
9562
+ return b;
9561
9563
  }
9562
9564
  }]);
9563
9565
  }();
9564
9566
  var DESECBCipher = exports.DESECBCipher = /* @__PURE__ */ function() {
9565
- function DESECBCipher2() {
9566
- _classCallCheck(this, DESECBCipher2);
9567
+ function DESECBCipher() {
9568
+ _classCallCheck(this, DESECBCipher);
9567
9569
  this._cipher = null;
9568
9570
  }
9569
- return _createClass(DESECBCipher2, [{
9571
+ return _createClass(DESECBCipher, [{
9570
9572
  key: "algorithm",
9571
9573
  get: function get() {
9572
9574
  return {
@@ -9594,18 +9596,18 @@ var require_des = __commonJS((exports) => {
9594
9596
  }], [{
9595
9597
  key: "importKey",
9596
9598
  value: function importKey(key, _algorithm, _extractable, _keyUsages) {
9597
- var cipher = new DESECBCipher2;
9599
+ var cipher = new DESECBCipher;
9598
9600
  cipher._importKey(key);
9599
9601
  return cipher;
9600
9602
  }
9601
9603
  }]);
9602
9604
  }();
9603
9605
  var DESCBCCipher = exports.DESCBCCipher = /* @__PURE__ */ function() {
9604
- function DESCBCCipher2() {
9605
- _classCallCheck(this, DESCBCCipher2);
9606
+ function DESCBCCipher() {
9607
+ _classCallCheck(this, DESCBCCipher);
9606
9608
  this._cipher = null;
9607
9609
  }
9608
- return _createClass(DESCBCCipher2, [{
9610
+ return _createClass(DESCBCCipher, [{
9609
9611
  key: "algorithm",
9610
9612
  get: function get() {
9611
9613
  return {
@@ -9638,7 +9640,7 @@ var require_des = __commonJS((exports) => {
9638
9640
  }], [{
9639
9641
  key: "importKey",
9640
9642
  value: function importKey(key, _algorithm, _extractable, _keyUsages) {
9641
- var cipher = new DESCBCCipher2;
9643
+ var cipher = new DESCBCCipher;
9642
9644
  cipher._importKey(key);
9643
9645
  return cipher;
9644
9646
  }
@@ -9647,7 +9649,7 @@ var require_des = __commonJS((exports) => {
9647
9649
  });
9648
9650
 
9649
9651
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/crypto/bigint.js
9650
- var require_bigint = __commonJS((exports) => {
9652
+ var require_bigint = __commonJS(function(exports) {
9651
9653
  Object.defineProperty(exports, "__esModule", {
9652
9654
  value: true
9653
9655
  });
@@ -9690,7 +9692,7 @@ var require_bigint = __commonJS((exports) => {
9690
9692
  });
9691
9693
 
9692
9694
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/crypto/rsa.js
9693
- var require_rsa = __commonJS((exports) => {
9695
+ var require_rsa = __commonJS(function(exports) {
9694
9696
  Object.defineProperty(exports, "__esModule", {
9695
9697
  value: true
9696
9698
  });
@@ -9702,39 +9704,39 @@ var require_rsa = __commonJS((exports) => {
9702
9704
  }
9703
9705
  function _typeof(o) {
9704
9706
  "@babel/helpers - typeof";
9705
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
9706
- return typeof o2;
9707
- } : function(o2) {
9708
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
9707
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
9708
+ return typeof o;
9709
+ } : function(o) {
9710
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
9709
9711
  }, _typeof(o);
9710
9712
  }
9711
9713
  function _regeneratorRuntime() {
9712
9714
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
9713
- _regeneratorRuntime = function _regeneratorRuntime2() {
9715
+ _regeneratorRuntime = function _regeneratorRuntime() {
9714
9716
  return e;
9715
9717
  };
9716
- var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t2, e2, r2) {
9717
- t2[e2] = r2.value;
9718
+ var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t, e, r) {
9719
+ t[e] = r.value;
9718
9720
  }, i = typeof Symbol == "function" ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
9719
- function define(t2, e2, r2) {
9720
- return Object.defineProperty(t2, e2, { value: r2, enumerable: true, configurable: true, writable: true }), t2[e2];
9721
+ function define(t, e, r) {
9722
+ return Object.defineProperty(t, e, { value: r, enumerable: true, configurable: true, writable: true }), t[e];
9721
9723
  }
9722
9724
  try {
9723
9725
  define({}, "");
9724
- } catch (t2) {
9725
- define = function define2(t3, e2, r2) {
9726
- return t3[e2] = r2;
9726
+ } catch (t) {
9727
+ define = function define(t, e, r) {
9728
+ return t[e] = r;
9727
9729
  };
9728
9730
  }
9729
- function wrap(t2, e2, r2, n2) {
9730
- var i2 = e2 && e2.prototype instanceof Generator ? e2 : Generator, a2 = Object.create(i2.prototype), c2 = new Context(n2 || []);
9731
- return o(a2, "_invoke", { value: makeInvokeMethod(t2, r2, c2) }), a2;
9731
+ function wrap(t, e, r, n) {
9732
+ var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []);
9733
+ return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a;
9732
9734
  }
9733
- function tryCatch(t2, e2, r2) {
9735
+ function tryCatch(t, e, r) {
9734
9736
  try {
9735
- return { type: "normal", arg: t2.call(e2, r2) };
9736
- } catch (t3) {
9737
- return { type: "throw", arg: t3 };
9737
+ return { type: "normal", arg: t.call(e, r) };
9738
+ } catch (t) {
9739
+ return { type: "throw", arg: t };
9738
9740
  }
9739
9741
  }
9740
9742
  e.wrap = wrap;
@@ -9749,232 +9751,232 @@ var require_rsa = __commonJS((exports) => {
9749
9751
  var d = Object.getPrototypeOf, v = d && d(d(values([])));
9750
9752
  v && v !== r && n.call(v, a) && (p = v);
9751
9753
  var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
9752
- function defineIteratorMethods(t2) {
9753
- ["next", "throw", "return"].forEach(function(e2) {
9754
- define(t2, e2, function(t3) {
9755
- return this._invoke(e2, t3);
9754
+ function defineIteratorMethods(t) {
9755
+ ["next", "throw", "return"].forEach(function(e) {
9756
+ define(t, e, function(t) {
9757
+ return this._invoke(e, t);
9756
9758
  });
9757
9759
  });
9758
9760
  }
9759
- function AsyncIterator(t2, e2) {
9760
- function invoke(r3, o2, i2, a2) {
9761
- var c2 = tryCatch(t2[r3], t2, o2);
9762
- if (c2.type !== "throw") {
9763
- var u2 = c2.arg, h2 = u2.value;
9764
- return h2 && _typeof(h2) == "object" && n.call(h2, "__await") ? e2.resolve(h2.__await).then(function(t3) {
9765
- invoke("next", t3, i2, a2);
9766
- }, function(t3) {
9767
- invoke("throw", t3, i2, a2);
9768
- }) : e2.resolve(h2).then(function(t3) {
9769
- u2.value = t3, i2(u2);
9770
- }, function(t3) {
9771
- return invoke("throw", t3, i2, a2);
9761
+ function AsyncIterator(t, e) {
9762
+ function invoke(r, o, i, a) {
9763
+ var c = tryCatch(t[r], t, o);
9764
+ if (c.type !== "throw") {
9765
+ var u = c.arg, h = u.value;
9766
+ return h && _typeof(h) == "object" && n.call(h, "__await") ? e.resolve(h.__await).then(function(t) {
9767
+ invoke("next", t, i, a);
9768
+ }, function(t) {
9769
+ invoke("throw", t, i, a);
9770
+ }) : e.resolve(h).then(function(t) {
9771
+ u.value = t, i(u);
9772
+ }, function(t) {
9773
+ return invoke("throw", t, i, a);
9772
9774
  });
9773
9775
  }
9774
- a2(c2.arg);
9776
+ a(c.arg);
9775
9777
  }
9776
- var r2;
9777
- o(this, "_invoke", { value: function value(t3, n2) {
9778
+ var r;
9779
+ o(this, "_invoke", { value: function value(t, n) {
9778
9780
  function callInvokeWithMethodAndArg() {
9779
- return new e2(function(e3, r3) {
9780
- invoke(t3, n2, e3, r3);
9781
+ return new e(function(e, r) {
9782
+ invoke(t, n, e, r);
9781
9783
  });
9782
9784
  }
9783
- return r2 = r2 ? r2.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
9785
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
9784
9786
  } });
9785
9787
  }
9786
- function makeInvokeMethod(e2, r2, n2) {
9787
- var o2 = h;
9788
- return function(i2, a2) {
9789
- if (o2 === f)
9788
+ function makeInvokeMethod(e, r, n) {
9789
+ var o = h;
9790
+ return function(i, a) {
9791
+ if (o === f)
9790
9792
  throw Error("Generator is already running");
9791
- if (o2 === s) {
9792
- if (i2 === "throw")
9793
- throw a2;
9793
+ if (o === s) {
9794
+ if (i === "throw")
9795
+ throw a;
9794
9796
  return { value: t, done: true };
9795
9797
  }
9796
- for (n2.method = i2, n2.arg = a2;; ) {
9797
- var c2 = n2.delegate;
9798
- if (c2) {
9799
- var u2 = maybeInvokeDelegate(c2, n2);
9800
- if (u2) {
9801
- if (u2 === y)
9798
+ for (n.method = i, n.arg = a;; ) {
9799
+ var c = n.delegate;
9800
+ if (c) {
9801
+ var u = maybeInvokeDelegate(c, n);
9802
+ if (u) {
9803
+ if (u === y)
9802
9804
  continue;
9803
- return u2;
9805
+ return u;
9804
9806
  }
9805
9807
  }
9806
- if (n2.method === "next")
9807
- n2.sent = n2._sent = n2.arg;
9808
- else if (n2.method === "throw") {
9809
- if (o2 === h)
9810
- throw o2 = s, n2.arg;
9811
- n2.dispatchException(n2.arg);
9808
+ if (n.method === "next")
9809
+ n.sent = n._sent = n.arg;
9810
+ else if (n.method === "throw") {
9811
+ if (o === h)
9812
+ throw o = s, n.arg;
9813
+ n.dispatchException(n.arg);
9812
9814
  } else
9813
- n2.method === "return" && n2.abrupt("return", n2.arg);
9814
- o2 = f;
9815
- var p2 = tryCatch(e2, r2, n2);
9816
- if (p2.type === "normal") {
9817
- if (o2 = n2.done ? s : l, p2.arg === y)
9815
+ n.method === "return" && n.abrupt("return", n.arg);
9816
+ o = f;
9817
+ var p = tryCatch(e, r, n);
9818
+ if (p.type === "normal") {
9819
+ if (o = n.done ? s : l, p.arg === y)
9818
9820
  continue;
9819
- return { value: p2.arg, done: n2.done };
9821
+ return { value: p.arg, done: n.done };
9820
9822
  }
9821
- p2.type === "throw" && (o2 = s, n2.method = "throw", n2.arg = p2.arg);
9823
+ p.type === "throw" && (o = s, n.method = "throw", n.arg = p.arg);
9822
9824
  }
9823
9825
  };
9824
9826
  }
9825
- function maybeInvokeDelegate(e2, r2) {
9826
- var n2 = r2.method, o2 = e2.iterator[n2];
9827
- if (o2 === t)
9828
- return r2.delegate = null, n2 === "throw" && e2.iterator["return"] && (r2.method = "return", r2.arg = t, maybeInvokeDelegate(e2, r2), r2.method === "throw") || n2 !== "return" && (r2.method = "throw", r2.arg = new TypeError("The iterator does not provide a '" + n2 + "' method")), y;
9829
- var i2 = tryCatch(o2, e2.iterator, r2.arg);
9830
- if (i2.type === "throw")
9831
- return r2.method = "throw", r2.arg = i2.arg, r2.delegate = null, y;
9832
- var a2 = i2.arg;
9833
- return a2 ? a2.done ? (r2[e2.resultName] = a2.value, r2.next = e2.nextLoc, r2.method !== "return" && (r2.method = "next", r2.arg = t), r2.delegate = null, y) : a2 : (r2.method = "throw", r2.arg = new TypeError("iterator result is not an object"), r2.delegate = null, y);
9834
- }
9835
- function pushTryEntry(t2) {
9836
- var e2 = { tryLoc: t2[0] };
9837
- 1 in t2 && (e2.catchLoc = t2[1]), 2 in t2 && (e2.finallyLoc = t2[2], e2.afterLoc = t2[3]), this.tryEntries.push(e2);
9838
- }
9839
- function resetTryEntry(t2) {
9840
- var e2 = t2.completion || {};
9841
- e2.type = "normal", delete e2.arg, t2.completion = e2;
9842
- }
9843
- function Context(t2) {
9844
- this.tryEntries = [{ tryLoc: "root" }], t2.forEach(pushTryEntry, this), this.reset(true);
9845
- }
9846
- function values(e2) {
9847
- if (e2 || e2 === "") {
9848
- var r2 = e2[a];
9849
- if (r2)
9850
- return r2.call(e2);
9851
- if (typeof e2.next == "function")
9852
- return e2;
9853
- if (!isNaN(e2.length)) {
9854
- var o2 = -1, i2 = function next() {
9855
- for (;++o2 < e2.length; )
9856
- if (n.call(e2, o2))
9857
- return next.value = e2[o2], next.done = false, next;
9827
+ function maybeInvokeDelegate(e, r) {
9828
+ var n = r.method, o = e.iterator[n];
9829
+ if (o === t)
9830
+ return r.delegate = null, n === "throw" && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), r.method === "throw") || n !== "return" && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
9831
+ var i = tryCatch(o, e.iterator, r.arg);
9832
+ if (i.type === "throw")
9833
+ return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
9834
+ var a = i.arg;
9835
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, r.method !== "return" && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
9836
+ }
9837
+ function pushTryEntry(t) {
9838
+ var e = { tryLoc: t[0] };
9839
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
9840
+ }
9841
+ function resetTryEntry(t) {
9842
+ var e = t.completion || {};
9843
+ e.type = "normal", delete e.arg, t.completion = e;
9844
+ }
9845
+ function Context(t) {
9846
+ this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(true);
9847
+ }
9848
+ function values(e) {
9849
+ if (e || e === "") {
9850
+ var r = e[a];
9851
+ if (r)
9852
+ return r.call(e);
9853
+ if (typeof e.next == "function")
9854
+ return e;
9855
+ if (!isNaN(e.length)) {
9856
+ var o = -1, i = function next() {
9857
+ for (;++o < e.length; )
9858
+ if (n.call(e, o))
9859
+ return next.value = e[o], next.done = false, next;
9858
9860
  return next.value = t, next.done = true, next;
9859
9861
  };
9860
- return i2.next = i2;
9862
+ return i.next = i;
9861
9863
  }
9862
9864
  }
9863
- throw new TypeError(_typeof(e2) + " is not iterable");
9865
+ throw new TypeError(_typeof(e) + " is not iterable");
9864
9866
  }
9865
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t2) {
9866
- var e2 = typeof t2 == "function" && t2.constructor;
9867
- return !!e2 && (e2 === GeneratorFunction || (e2.displayName || e2.name) === "GeneratorFunction");
9868
- }, e.mark = function(t2) {
9869
- return Object.setPrototypeOf ? Object.setPrototypeOf(t2, GeneratorFunctionPrototype) : (t2.__proto__ = GeneratorFunctionPrototype, define(t2, u, "GeneratorFunction")), t2.prototype = Object.create(g), t2;
9870
- }, e.awrap = function(t2) {
9871
- return { __await: t2 };
9867
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t) {
9868
+ var e = typeof t == "function" && t.constructor;
9869
+ return !!e && (e === GeneratorFunction || (e.displayName || e.name) === "GeneratorFunction");
9870
+ }, e.mark = function(t) {
9871
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
9872
+ }, e.awrap = function(t) {
9873
+ return { __await: t };
9872
9874
  }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function() {
9873
9875
  return this;
9874
- }), e.AsyncIterator = AsyncIterator, e.async = function(t2, r2, n2, o2, i2) {
9875
- i2 === undefined && (i2 = Promise);
9876
- var a2 = new AsyncIterator(wrap(t2, r2, n2, o2), i2);
9877
- return e.isGeneratorFunction(r2) ? a2 : a2.next().then(function(t3) {
9878
- return t3.done ? t3.value : a2.next();
9876
+ }), e.AsyncIterator = AsyncIterator, e.async = function(t, r, n, o, i) {
9877
+ i === undefined && (i = Promise);
9878
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
9879
+ return e.isGeneratorFunction(r) ? a : a.next().then(function(t) {
9880
+ return t.done ? t.value : a.next();
9879
9881
  });
9880
9882
  }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function() {
9881
9883
  return this;
9882
9884
  }), define(g, "toString", function() {
9883
9885
  return "[object Generator]";
9884
- }), e.keys = function(t2) {
9885
- var e2 = Object(t2), r2 = [];
9886
- for (var n2 in e2)
9887
- r2.push(n2);
9888
- return r2.reverse(), function next() {
9889
- for (;r2.length; ) {
9890
- var t3 = r2.pop();
9891
- if (t3 in e2)
9892
- return next.value = t3, next.done = false, next;
9886
+ }), e.keys = function(t) {
9887
+ var e = Object(t), r = [];
9888
+ for (var n in e)
9889
+ r.push(n);
9890
+ return r.reverse(), function next() {
9891
+ for (;r.length; ) {
9892
+ var t = r.pop();
9893
+ if (t in e)
9894
+ return next.value = t, next.done = false, next;
9893
9895
  }
9894
9896
  return next.done = true, next;
9895
9897
  };
9896
- }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e2) {
9897
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e2)
9898
- for (var r2 in this)
9899
- r2.charAt(0) === "t" && n.call(this, r2) && !isNaN(+r2.slice(1)) && (this[r2] = t);
9898
+ }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) {
9899
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e)
9900
+ for (var r in this)
9901
+ r.charAt(0) === "t" && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
9900
9902
  }, stop: function stop() {
9901
9903
  this.done = true;
9902
- var t2 = this.tryEntries[0].completion;
9903
- if (t2.type === "throw")
9904
- throw t2.arg;
9904
+ var t = this.tryEntries[0].completion;
9905
+ if (t.type === "throw")
9906
+ throw t.arg;
9905
9907
  return this.rval;
9906
- }, dispatchException: function dispatchException(e2) {
9908
+ }, dispatchException: function dispatchException(e) {
9907
9909
  if (this.done)
9908
- throw e2;
9909
- var r2 = this;
9910
- function handle(n2, o3) {
9911
- return a2.type = "throw", a2.arg = e2, r2.next = n2, o3 && (r2.method = "next", r2.arg = t), !!o3;
9912
- }
9913
- for (var o2 = this.tryEntries.length - 1;o2 >= 0; --o2) {
9914
- var i2 = this.tryEntries[o2], a2 = i2.completion;
9915
- if (i2.tryLoc === "root")
9910
+ throw e;
9911
+ var r = this;
9912
+ function handle(n, o) {
9913
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
9914
+ }
9915
+ for (var o = this.tryEntries.length - 1;o >= 0; --o) {
9916
+ var i = this.tryEntries[o], a = i.completion;
9917
+ if (i.tryLoc === "root")
9916
9918
  return handle("end");
9917
- if (i2.tryLoc <= this.prev) {
9918
- var c2 = n.call(i2, "catchLoc"), u2 = n.call(i2, "finallyLoc");
9919
- if (c2 && u2) {
9920
- if (this.prev < i2.catchLoc)
9921
- return handle(i2.catchLoc, true);
9922
- if (this.prev < i2.finallyLoc)
9923
- return handle(i2.finallyLoc);
9924
- } else if (c2) {
9925
- if (this.prev < i2.catchLoc)
9926
- return handle(i2.catchLoc, true);
9919
+ if (i.tryLoc <= this.prev) {
9920
+ var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc");
9921
+ if (c && u) {
9922
+ if (this.prev < i.catchLoc)
9923
+ return handle(i.catchLoc, true);
9924
+ if (this.prev < i.finallyLoc)
9925
+ return handle(i.finallyLoc);
9926
+ } else if (c) {
9927
+ if (this.prev < i.catchLoc)
9928
+ return handle(i.catchLoc, true);
9927
9929
  } else {
9928
- if (!u2)
9930
+ if (!u)
9929
9931
  throw Error("try statement without catch or finally");
9930
- if (this.prev < i2.finallyLoc)
9931
- return handle(i2.finallyLoc);
9932
+ if (this.prev < i.finallyLoc)
9933
+ return handle(i.finallyLoc);
9932
9934
  }
9933
9935
  }
9934
9936
  }
9935
- }, abrupt: function abrupt(t2, e2) {
9936
- for (var r2 = this.tryEntries.length - 1;r2 >= 0; --r2) {
9937
- var o2 = this.tryEntries[r2];
9938
- if (o2.tryLoc <= this.prev && n.call(o2, "finallyLoc") && this.prev < o2.finallyLoc) {
9939
- var i2 = o2;
9937
+ }, abrupt: function abrupt(t, e) {
9938
+ for (var r = this.tryEntries.length - 1;r >= 0; --r) {
9939
+ var o = this.tryEntries[r];
9940
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
9941
+ var i = o;
9940
9942
  break;
9941
9943
  }
9942
9944
  }
9943
- i2 && (t2 === "break" || t2 === "continue") && i2.tryLoc <= e2 && e2 <= i2.finallyLoc && (i2 = null);
9944
- var a2 = i2 ? i2.completion : {};
9945
- return a2.type = t2, a2.arg = e2, i2 ? (this.method = "next", this.next = i2.finallyLoc, y) : this.complete(a2);
9946
- }, complete: function complete(t2, e2) {
9947
- if (t2.type === "throw")
9948
- throw t2.arg;
9949
- return t2.type === "break" || t2.type === "continue" ? this.next = t2.arg : t2.type === "return" ? (this.rval = this.arg = t2.arg, this.method = "return", this.next = "end") : t2.type === "normal" && e2 && (this.next = e2), y;
9950
- }, finish: function finish(t2) {
9951
- for (var e2 = this.tryEntries.length - 1;e2 >= 0; --e2) {
9952
- var r2 = this.tryEntries[e2];
9953
- if (r2.finallyLoc === t2)
9954
- return this.complete(r2.completion, r2.afterLoc), resetTryEntry(r2), y;
9955
- }
9956
- }, catch: function _catch(t2) {
9957
- for (var e2 = this.tryEntries.length - 1;e2 >= 0; --e2) {
9958
- var r2 = this.tryEntries[e2];
9959
- if (r2.tryLoc === t2) {
9960
- var n2 = r2.completion;
9961
- if (n2.type === "throw") {
9962
- var o2 = n2.arg;
9963
- resetTryEntry(r2);
9945
+ i && (t === "break" || t === "continue") && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
9946
+ var a = i ? i.completion : {};
9947
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
9948
+ }, complete: function complete(t, e) {
9949
+ if (t.type === "throw")
9950
+ throw t.arg;
9951
+ return t.type === "break" || t.type === "continue" ? this.next = t.arg : t.type === "return" ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : t.type === "normal" && e && (this.next = e), y;
9952
+ }, finish: function finish(t) {
9953
+ for (var e = this.tryEntries.length - 1;e >= 0; --e) {
9954
+ var r = this.tryEntries[e];
9955
+ if (r.finallyLoc === t)
9956
+ return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
9957
+ }
9958
+ }, catch: function _catch(t) {
9959
+ for (var e = this.tryEntries.length - 1;e >= 0; --e) {
9960
+ var r = this.tryEntries[e];
9961
+ if (r.tryLoc === t) {
9962
+ var n = r.completion;
9963
+ if (n.type === "throw") {
9964
+ var o = n.arg;
9965
+ resetTryEntry(r);
9964
9966
  }
9965
- return o2;
9967
+ return o;
9966
9968
  }
9967
9969
  }
9968
9970
  throw Error("illegal catch attempt");
9969
- }, delegateYield: function delegateYield(e2, r2, n2) {
9970
- return this.delegate = { iterator: values(e2), resultName: r2, nextLoc: n2 }, this.method === "next" && (this.arg = t), y;
9971
+ }, delegateYield: function delegateYield(e, r, n) {
9972
+ return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, this.method === "next" && (this.arg = t), y;
9971
9973
  } }, e;
9972
9974
  }
9973
9975
  function asyncGeneratorStep(n, t, e, r, o, a, c) {
9974
9976
  try {
9975
9977
  var i = n[a](c), u = i.value;
9976
- } catch (n2) {
9977
- return void e(n2);
9978
+ } catch (n) {
9979
+ return void e(n);
9978
9980
  }
9979
9981
  i.done ? t(u) : Promise.resolve(u).then(r, o);
9980
9982
  }
@@ -9983,11 +9985,11 @@ var require_rsa = __commonJS((exports) => {
9983
9985
  var t = this, e = arguments;
9984
9986
  return new Promise(function(r, o) {
9985
9987
  var a = n.apply(t, e);
9986
- function _next(n2) {
9987
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n2);
9988
+ function _next(n) {
9989
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
9988
9990
  }
9989
- function _throw(n2) {
9990
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n2);
9991
+ function _throw(n) {
9992
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
9991
9993
  }
9992
9994
  _next(undefined);
9993
9995
  });
@@ -10023,8 +10025,8 @@ var require_rsa = __commonJS((exports) => {
10023
10025
  return (r === "string" ? String : Number)(t);
10024
10026
  }
10025
10027
  var RSACipher = exports.RSACipher = /* @__PURE__ */ function() {
10026
- function RSACipher2() {
10027
- _classCallCheck(this, RSACipher2);
10028
+ function RSACipher() {
10029
+ _classCallCheck(this, RSACipher);
10028
10030
  this._keyLength = 0;
10029
10031
  this._keyBytes = 0;
10030
10032
  this._n = null;
@@ -10035,7 +10037,7 @@ var require_rsa = __commonJS((exports) => {
10035
10037
  this._dBigInt = null;
10036
10038
  this._extractable = false;
10037
10039
  }
10038
- return _createClass(RSACipher2, [{
10040
+ return _createClass(RSACipher, [{
10039
10041
  key: "algorithm",
10040
10042
  get: function get() {
10041
10043
  return {
@@ -10272,7 +10274,7 @@ var require_rsa = __commonJS((exports) => {
10272
10274
  while (true)
10273
10275
  switch (_context6.prev = _context6.next) {
10274
10276
  case 0:
10275
- cipher = new RSACipher2;
10277
+ cipher = new RSACipher;
10276
10278
  _context6.next = 3;
10277
10279
  return cipher._generateKey(algorithm, extractable);
10278
10280
  case 3:
@@ -10305,7 +10307,7 @@ var require_rsa = __commonJS((exports) => {
10305
10307
  }
10306
10308
  throw new Error("only support importing RSA public key");
10307
10309
  case 2:
10308
- cipher = new RSACipher2;
10310
+ cipher = new RSACipher;
10309
10311
  _context7.next = 5;
10310
10312
  return cipher._importKey(key, extractable);
10311
10313
  case 5:
@@ -10326,7 +10328,7 @@ var require_rsa = __commonJS((exports) => {
10326
10328
  });
10327
10329
 
10328
10330
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/crypto/dh.js
10329
- var require_dh = __commonJS((exports) => {
10331
+ var require_dh = __commonJS(function(exports) {
10330
10332
  Object.defineProperty(exports, "__esModule", {
10331
10333
  value: true
10332
10334
  });
@@ -10334,10 +10336,10 @@ var require_dh = __commonJS((exports) => {
10334
10336
  var _bigint = require_bigint();
10335
10337
  function _typeof(o) {
10336
10338
  "@babel/helpers - typeof";
10337
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
10338
- return typeof o2;
10339
- } : function(o2) {
10340
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
10339
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
10340
+ return typeof o;
10341
+ } : function(o) {
10342
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
10341
10343
  }, _typeof(o);
10342
10344
  }
10343
10345
  function _classCallCheck(a, n) {
@@ -10370,11 +10372,11 @@ var require_dh = __commonJS((exports) => {
10370
10372
  return (r === "string" ? String : Number)(t);
10371
10373
  }
10372
10374
  var DHPublicKey = /* @__PURE__ */ function() {
10373
- function DHPublicKey2(key) {
10374
- _classCallCheck(this, DHPublicKey2);
10375
+ function DHPublicKey(key) {
10376
+ _classCallCheck(this, DHPublicKey);
10375
10377
  this._key = key;
10376
10378
  }
10377
- return _createClass(DHPublicKey2, [{
10379
+ return _createClass(DHPublicKey, [{
10378
10380
  key: "algorithm",
10379
10381
  get: function get() {
10380
10382
  return {
@@ -10389,15 +10391,15 @@ var require_dh = __commonJS((exports) => {
10389
10391
  }]);
10390
10392
  }();
10391
10393
  var DHCipher = exports.DHCipher = /* @__PURE__ */ function() {
10392
- function DHCipher2() {
10393
- _classCallCheck(this, DHCipher2);
10394
+ function DHCipher() {
10395
+ _classCallCheck(this, DHCipher);
10394
10396
  this._g = null;
10395
10397
  this._p = null;
10396
10398
  this._gBigInt = null;
10397
10399
  this._pBigInt = null;
10398
10400
  this._privateKey = null;
10399
10401
  }
10400
- return _createClass(DHCipher2, [{
10402
+ return _createClass(DHCipher, [{
10401
10403
  key: "algorithm",
10402
10404
  get: function get() {
10403
10405
  return {
@@ -10428,7 +10430,7 @@ var require_dh = __commonJS((exports) => {
10428
10430
  }], [{
10429
10431
  key: "generateKey",
10430
10432
  value: function generateKey(algorithm, _extractable) {
10431
- var cipher = new DHCipher2;
10433
+ var cipher = new DHCipher;
10432
10434
  cipher._generateKey(algorithm);
10433
10435
  return {
10434
10436
  privateKey: cipher,
@@ -10440,46 +10442,46 @@ var require_dh = __commonJS((exports) => {
10440
10442
  });
10441
10443
 
10442
10444
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/crypto/md5.js
10443
- var require_md5 = __commonJS((exports) => {
10445
+ var require_md5 = __commonJS(function(exports) {
10444
10446
  Object.defineProperty(exports, "__esModule", {
10445
10447
  value: true
10446
10448
  });
10447
10449
  exports.MD5 = MD5;
10448
10450
  function _typeof(o) {
10449
10451
  "@babel/helpers - typeof";
10450
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
10451
- return typeof o2;
10452
- } : function(o2) {
10453
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
10452
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
10453
+ return typeof o;
10454
+ } : function(o) {
10455
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
10454
10456
  }, _typeof(o);
10455
10457
  }
10456
10458
  function _regeneratorRuntime() {
10457
10459
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
10458
- _regeneratorRuntime = function _regeneratorRuntime2() {
10460
+ _regeneratorRuntime = function _regeneratorRuntime() {
10459
10461
  return e;
10460
10462
  };
10461
- var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t2, e2, r2) {
10462
- t2[e2] = r2.value;
10463
+ var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t, e, r) {
10464
+ t[e] = r.value;
10463
10465
  }, i = typeof Symbol == "function" ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
10464
- function define(t2, e2, r2) {
10465
- return Object.defineProperty(t2, e2, { value: r2, enumerable: true, configurable: true, writable: true }), t2[e2];
10466
+ function define(t, e, r) {
10467
+ return Object.defineProperty(t, e, { value: r, enumerable: true, configurable: true, writable: true }), t[e];
10466
10468
  }
10467
10469
  try {
10468
10470
  define({}, "");
10469
- } catch (t2) {
10470
- define = function define2(t3, e2, r2) {
10471
- return t3[e2] = r2;
10471
+ } catch (t) {
10472
+ define = function define(t, e, r) {
10473
+ return t[e] = r;
10472
10474
  };
10473
10475
  }
10474
- function wrap(t2, e2, r2, n2) {
10475
- var i2 = e2 && e2.prototype instanceof Generator ? e2 : Generator, a2 = Object.create(i2.prototype), c2 = new Context(n2 || []);
10476
- return o(a2, "_invoke", { value: makeInvokeMethod(t2, r2, c2) }), a2;
10476
+ function wrap(t, e, r, n) {
10477
+ var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []);
10478
+ return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a;
10477
10479
  }
10478
- function tryCatch(t2, e2, r2) {
10480
+ function tryCatch(t, e, r) {
10479
10481
  try {
10480
- return { type: "normal", arg: t2.call(e2, r2) };
10481
- } catch (t3) {
10482
- return { type: "throw", arg: t3 };
10482
+ return { type: "normal", arg: t.call(e, r) };
10483
+ } catch (t) {
10484
+ return { type: "throw", arg: t };
10483
10485
  }
10484
10486
  }
10485
10487
  e.wrap = wrap;
@@ -10494,232 +10496,232 @@ var require_md5 = __commonJS((exports) => {
10494
10496
  var d = Object.getPrototypeOf, v = d && d(d(values([])));
10495
10497
  v && v !== r && n.call(v, a) && (p = v);
10496
10498
  var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
10497
- function defineIteratorMethods(t2) {
10498
- ["next", "throw", "return"].forEach(function(e2) {
10499
- define(t2, e2, function(t3) {
10500
- return this._invoke(e2, t3);
10499
+ function defineIteratorMethods(t) {
10500
+ ["next", "throw", "return"].forEach(function(e) {
10501
+ define(t, e, function(t) {
10502
+ return this._invoke(e, t);
10501
10503
  });
10502
10504
  });
10503
10505
  }
10504
- function AsyncIterator(t2, e2) {
10505
- function invoke(r3, o2, i2, a2) {
10506
- var c2 = tryCatch(t2[r3], t2, o2);
10507
- if (c2.type !== "throw") {
10508
- var u2 = c2.arg, h2 = u2.value;
10509
- return h2 && _typeof(h2) == "object" && n.call(h2, "__await") ? e2.resolve(h2.__await).then(function(t3) {
10510
- invoke("next", t3, i2, a2);
10511
- }, function(t3) {
10512
- invoke("throw", t3, i2, a2);
10513
- }) : e2.resolve(h2).then(function(t3) {
10514
- u2.value = t3, i2(u2);
10515
- }, function(t3) {
10516
- return invoke("throw", t3, i2, a2);
10506
+ function AsyncIterator(t, e) {
10507
+ function invoke(r, o, i, a) {
10508
+ var c = tryCatch(t[r], t, o);
10509
+ if (c.type !== "throw") {
10510
+ var u = c.arg, h = u.value;
10511
+ return h && _typeof(h) == "object" && n.call(h, "__await") ? e.resolve(h.__await).then(function(t) {
10512
+ invoke("next", t, i, a);
10513
+ }, function(t) {
10514
+ invoke("throw", t, i, a);
10515
+ }) : e.resolve(h).then(function(t) {
10516
+ u.value = t, i(u);
10517
+ }, function(t) {
10518
+ return invoke("throw", t, i, a);
10517
10519
  });
10518
10520
  }
10519
- a2(c2.arg);
10521
+ a(c.arg);
10520
10522
  }
10521
- var r2;
10522
- o(this, "_invoke", { value: function value(t3, n2) {
10523
+ var r;
10524
+ o(this, "_invoke", { value: function value(t, n) {
10523
10525
  function callInvokeWithMethodAndArg() {
10524
- return new e2(function(e3, r3) {
10525
- invoke(t3, n2, e3, r3);
10526
+ return new e(function(e, r) {
10527
+ invoke(t, n, e, r);
10526
10528
  });
10527
10529
  }
10528
- return r2 = r2 ? r2.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
10530
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
10529
10531
  } });
10530
10532
  }
10531
- function makeInvokeMethod(e2, r2, n2) {
10532
- var o2 = h;
10533
- return function(i2, a2) {
10534
- if (o2 === f)
10533
+ function makeInvokeMethod(e, r, n) {
10534
+ var o = h;
10535
+ return function(i, a) {
10536
+ if (o === f)
10535
10537
  throw Error("Generator is already running");
10536
- if (o2 === s) {
10537
- if (i2 === "throw")
10538
- throw a2;
10538
+ if (o === s) {
10539
+ if (i === "throw")
10540
+ throw a;
10539
10541
  return { value: t, done: true };
10540
10542
  }
10541
- for (n2.method = i2, n2.arg = a2;; ) {
10542
- var c2 = n2.delegate;
10543
- if (c2) {
10544
- var u2 = maybeInvokeDelegate(c2, n2);
10545
- if (u2) {
10546
- if (u2 === y)
10543
+ for (n.method = i, n.arg = a;; ) {
10544
+ var c = n.delegate;
10545
+ if (c) {
10546
+ var u = maybeInvokeDelegate(c, n);
10547
+ if (u) {
10548
+ if (u === y)
10547
10549
  continue;
10548
- return u2;
10550
+ return u;
10549
10551
  }
10550
10552
  }
10551
- if (n2.method === "next")
10552
- n2.sent = n2._sent = n2.arg;
10553
- else if (n2.method === "throw") {
10554
- if (o2 === h)
10555
- throw o2 = s, n2.arg;
10556
- n2.dispatchException(n2.arg);
10553
+ if (n.method === "next")
10554
+ n.sent = n._sent = n.arg;
10555
+ else if (n.method === "throw") {
10556
+ if (o === h)
10557
+ throw o = s, n.arg;
10558
+ n.dispatchException(n.arg);
10557
10559
  } else
10558
- n2.method === "return" && n2.abrupt("return", n2.arg);
10559
- o2 = f;
10560
- var p2 = tryCatch(e2, r2, n2);
10561
- if (p2.type === "normal") {
10562
- if (o2 = n2.done ? s : l, p2.arg === y)
10560
+ n.method === "return" && n.abrupt("return", n.arg);
10561
+ o = f;
10562
+ var p = tryCatch(e, r, n);
10563
+ if (p.type === "normal") {
10564
+ if (o = n.done ? s : l, p.arg === y)
10563
10565
  continue;
10564
- return { value: p2.arg, done: n2.done };
10566
+ return { value: p.arg, done: n.done };
10565
10567
  }
10566
- p2.type === "throw" && (o2 = s, n2.method = "throw", n2.arg = p2.arg);
10568
+ p.type === "throw" && (o = s, n.method = "throw", n.arg = p.arg);
10567
10569
  }
10568
10570
  };
10569
10571
  }
10570
- function maybeInvokeDelegate(e2, r2) {
10571
- var n2 = r2.method, o2 = e2.iterator[n2];
10572
- if (o2 === t)
10573
- return r2.delegate = null, n2 === "throw" && e2.iterator["return"] && (r2.method = "return", r2.arg = t, maybeInvokeDelegate(e2, r2), r2.method === "throw") || n2 !== "return" && (r2.method = "throw", r2.arg = new TypeError("The iterator does not provide a '" + n2 + "' method")), y;
10574
- var i2 = tryCatch(o2, e2.iterator, r2.arg);
10575
- if (i2.type === "throw")
10576
- return r2.method = "throw", r2.arg = i2.arg, r2.delegate = null, y;
10577
- var a2 = i2.arg;
10578
- return a2 ? a2.done ? (r2[e2.resultName] = a2.value, r2.next = e2.nextLoc, r2.method !== "return" && (r2.method = "next", r2.arg = t), r2.delegate = null, y) : a2 : (r2.method = "throw", r2.arg = new TypeError("iterator result is not an object"), r2.delegate = null, y);
10579
- }
10580
- function pushTryEntry(t2) {
10581
- var e2 = { tryLoc: t2[0] };
10582
- 1 in t2 && (e2.catchLoc = t2[1]), 2 in t2 && (e2.finallyLoc = t2[2], e2.afterLoc = t2[3]), this.tryEntries.push(e2);
10583
- }
10584
- function resetTryEntry(t2) {
10585
- var e2 = t2.completion || {};
10586
- e2.type = "normal", delete e2.arg, t2.completion = e2;
10587
- }
10588
- function Context(t2) {
10589
- this.tryEntries = [{ tryLoc: "root" }], t2.forEach(pushTryEntry, this), this.reset(true);
10590
- }
10591
- function values(e2) {
10592
- if (e2 || e2 === "") {
10593
- var r2 = e2[a];
10594
- if (r2)
10595
- return r2.call(e2);
10596
- if (typeof e2.next == "function")
10597
- return e2;
10598
- if (!isNaN(e2.length)) {
10599
- var o2 = -1, i2 = function next() {
10600
- for (;++o2 < e2.length; )
10601
- if (n.call(e2, o2))
10602
- return next.value = e2[o2], next.done = false, next;
10572
+ function maybeInvokeDelegate(e, r) {
10573
+ var n = r.method, o = e.iterator[n];
10574
+ if (o === t)
10575
+ return r.delegate = null, n === "throw" && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), r.method === "throw") || n !== "return" && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
10576
+ var i = tryCatch(o, e.iterator, r.arg);
10577
+ if (i.type === "throw")
10578
+ return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
10579
+ var a = i.arg;
10580
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, r.method !== "return" && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
10581
+ }
10582
+ function pushTryEntry(t) {
10583
+ var e = { tryLoc: t[0] };
10584
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
10585
+ }
10586
+ function resetTryEntry(t) {
10587
+ var e = t.completion || {};
10588
+ e.type = "normal", delete e.arg, t.completion = e;
10589
+ }
10590
+ function Context(t) {
10591
+ this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(true);
10592
+ }
10593
+ function values(e) {
10594
+ if (e || e === "") {
10595
+ var r = e[a];
10596
+ if (r)
10597
+ return r.call(e);
10598
+ if (typeof e.next == "function")
10599
+ return e;
10600
+ if (!isNaN(e.length)) {
10601
+ var o = -1, i = function next() {
10602
+ for (;++o < e.length; )
10603
+ if (n.call(e, o))
10604
+ return next.value = e[o], next.done = false, next;
10603
10605
  return next.value = t, next.done = true, next;
10604
10606
  };
10605
- return i2.next = i2;
10607
+ return i.next = i;
10606
10608
  }
10607
10609
  }
10608
- throw new TypeError(_typeof(e2) + " is not iterable");
10610
+ throw new TypeError(_typeof(e) + " is not iterable");
10609
10611
  }
10610
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t2) {
10611
- var e2 = typeof t2 == "function" && t2.constructor;
10612
- return !!e2 && (e2 === GeneratorFunction || (e2.displayName || e2.name) === "GeneratorFunction");
10613
- }, e.mark = function(t2) {
10614
- return Object.setPrototypeOf ? Object.setPrototypeOf(t2, GeneratorFunctionPrototype) : (t2.__proto__ = GeneratorFunctionPrototype, define(t2, u, "GeneratorFunction")), t2.prototype = Object.create(g), t2;
10615
- }, e.awrap = function(t2) {
10616
- return { __await: t2 };
10612
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t) {
10613
+ var e = typeof t == "function" && t.constructor;
10614
+ return !!e && (e === GeneratorFunction || (e.displayName || e.name) === "GeneratorFunction");
10615
+ }, e.mark = function(t) {
10616
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
10617
+ }, e.awrap = function(t) {
10618
+ return { __await: t };
10617
10619
  }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function() {
10618
10620
  return this;
10619
- }), e.AsyncIterator = AsyncIterator, e.async = function(t2, r2, n2, o2, i2) {
10620
- i2 === undefined && (i2 = Promise);
10621
- var a2 = new AsyncIterator(wrap(t2, r2, n2, o2), i2);
10622
- return e.isGeneratorFunction(r2) ? a2 : a2.next().then(function(t3) {
10623
- return t3.done ? t3.value : a2.next();
10621
+ }), e.AsyncIterator = AsyncIterator, e.async = function(t, r, n, o, i) {
10622
+ i === undefined && (i = Promise);
10623
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
10624
+ return e.isGeneratorFunction(r) ? a : a.next().then(function(t) {
10625
+ return t.done ? t.value : a.next();
10624
10626
  });
10625
10627
  }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function() {
10626
10628
  return this;
10627
10629
  }), define(g, "toString", function() {
10628
10630
  return "[object Generator]";
10629
- }), e.keys = function(t2) {
10630
- var e2 = Object(t2), r2 = [];
10631
- for (var n2 in e2)
10632
- r2.push(n2);
10633
- return r2.reverse(), function next() {
10634
- for (;r2.length; ) {
10635
- var t3 = r2.pop();
10636
- if (t3 in e2)
10637
- return next.value = t3, next.done = false, next;
10631
+ }), e.keys = function(t) {
10632
+ var e = Object(t), r = [];
10633
+ for (var n in e)
10634
+ r.push(n);
10635
+ return r.reverse(), function next() {
10636
+ for (;r.length; ) {
10637
+ var t = r.pop();
10638
+ if (t in e)
10639
+ return next.value = t, next.done = false, next;
10638
10640
  }
10639
10641
  return next.done = true, next;
10640
10642
  };
10641
- }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e2) {
10642
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e2)
10643
- for (var r2 in this)
10644
- r2.charAt(0) === "t" && n.call(this, r2) && !isNaN(+r2.slice(1)) && (this[r2] = t);
10643
+ }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) {
10644
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e)
10645
+ for (var r in this)
10646
+ r.charAt(0) === "t" && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
10645
10647
  }, stop: function stop() {
10646
10648
  this.done = true;
10647
- var t2 = this.tryEntries[0].completion;
10648
- if (t2.type === "throw")
10649
- throw t2.arg;
10649
+ var t = this.tryEntries[0].completion;
10650
+ if (t.type === "throw")
10651
+ throw t.arg;
10650
10652
  return this.rval;
10651
- }, dispatchException: function dispatchException(e2) {
10653
+ }, dispatchException: function dispatchException(e) {
10652
10654
  if (this.done)
10653
- throw e2;
10654
- var r2 = this;
10655
- function handle(n2, o3) {
10656
- return a2.type = "throw", a2.arg = e2, r2.next = n2, o3 && (r2.method = "next", r2.arg = t), !!o3;
10657
- }
10658
- for (var o2 = this.tryEntries.length - 1;o2 >= 0; --o2) {
10659
- var i2 = this.tryEntries[o2], a2 = i2.completion;
10660
- if (i2.tryLoc === "root")
10655
+ throw e;
10656
+ var r = this;
10657
+ function handle(n, o) {
10658
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
10659
+ }
10660
+ for (var o = this.tryEntries.length - 1;o >= 0; --o) {
10661
+ var i = this.tryEntries[o], a = i.completion;
10662
+ if (i.tryLoc === "root")
10661
10663
  return handle("end");
10662
- if (i2.tryLoc <= this.prev) {
10663
- var c2 = n.call(i2, "catchLoc"), u2 = n.call(i2, "finallyLoc");
10664
- if (c2 && u2) {
10665
- if (this.prev < i2.catchLoc)
10666
- return handle(i2.catchLoc, true);
10667
- if (this.prev < i2.finallyLoc)
10668
- return handle(i2.finallyLoc);
10669
- } else if (c2) {
10670
- if (this.prev < i2.catchLoc)
10671
- return handle(i2.catchLoc, true);
10664
+ if (i.tryLoc <= this.prev) {
10665
+ var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc");
10666
+ if (c && u) {
10667
+ if (this.prev < i.catchLoc)
10668
+ return handle(i.catchLoc, true);
10669
+ if (this.prev < i.finallyLoc)
10670
+ return handle(i.finallyLoc);
10671
+ } else if (c) {
10672
+ if (this.prev < i.catchLoc)
10673
+ return handle(i.catchLoc, true);
10672
10674
  } else {
10673
- if (!u2)
10675
+ if (!u)
10674
10676
  throw Error("try statement without catch or finally");
10675
- if (this.prev < i2.finallyLoc)
10676
- return handle(i2.finallyLoc);
10677
+ if (this.prev < i.finallyLoc)
10678
+ return handle(i.finallyLoc);
10677
10679
  }
10678
10680
  }
10679
10681
  }
10680
- }, abrupt: function abrupt(t2, e2) {
10681
- for (var r2 = this.tryEntries.length - 1;r2 >= 0; --r2) {
10682
- var o2 = this.tryEntries[r2];
10683
- if (o2.tryLoc <= this.prev && n.call(o2, "finallyLoc") && this.prev < o2.finallyLoc) {
10684
- var i2 = o2;
10682
+ }, abrupt: function abrupt(t, e) {
10683
+ for (var r = this.tryEntries.length - 1;r >= 0; --r) {
10684
+ var o = this.tryEntries[r];
10685
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
10686
+ var i = o;
10685
10687
  break;
10686
10688
  }
10687
10689
  }
10688
- i2 && (t2 === "break" || t2 === "continue") && i2.tryLoc <= e2 && e2 <= i2.finallyLoc && (i2 = null);
10689
- var a2 = i2 ? i2.completion : {};
10690
- return a2.type = t2, a2.arg = e2, i2 ? (this.method = "next", this.next = i2.finallyLoc, y) : this.complete(a2);
10691
- }, complete: function complete(t2, e2) {
10692
- if (t2.type === "throw")
10693
- throw t2.arg;
10694
- return t2.type === "break" || t2.type === "continue" ? this.next = t2.arg : t2.type === "return" ? (this.rval = this.arg = t2.arg, this.method = "return", this.next = "end") : t2.type === "normal" && e2 && (this.next = e2), y;
10695
- }, finish: function finish(t2) {
10696
- for (var e2 = this.tryEntries.length - 1;e2 >= 0; --e2) {
10697
- var r2 = this.tryEntries[e2];
10698
- if (r2.finallyLoc === t2)
10699
- return this.complete(r2.completion, r2.afterLoc), resetTryEntry(r2), y;
10700
- }
10701
- }, catch: function _catch(t2) {
10702
- for (var e2 = this.tryEntries.length - 1;e2 >= 0; --e2) {
10703
- var r2 = this.tryEntries[e2];
10704
- if (r2.tryLoc === t2) {
10705
- var n2 = r2.completion;
10706
- if (n2.type === "throw") {
10707
- var o2 = n2.arg;
10708
- resetTryEntry(r2);
10690
+ i && (t === "break" || t === "continue") && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
10691
+ var a = i ? i.completion : {};
10692
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
10693
+ }, complete: function complete(t, e) {
10694
+ if (t.type === "throw")
10695
+ throw t.arg;
10696
+ return t.type === "break" || t.type === "continue" ? this.next = t.arg : t.type === "return" ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : t.type === "normal" && e && (this.next = e), y;
10697
+ }, finish: function finish(t) {
10698
+ for (var e = this.tryEntries.length - 1;e >= 0; --e) {
10699
+ var r = this.tryEntries[e];
10700
+ if (r.finallyLoc === t)
10701
+ return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
10702
+ }
10703
+ }, catch: function _catch(t) {
10704
+ for (var e = this.tryEntries.length - 1;e >= 0; --e) {
10705
+ var r = this.tryEntries[e];
10706
+ if (r.tryLoc === t) {
10707
+ var n = r.completion;
10708
+ if (n.type === "throw") {
10709
+ var o = n.arg;
10710
+ resetTryEntry(r);
10709
10711
  }
10710
- return o2;
10712
+ return o;
10711
10713
  }
10712
10714
  }
10713
10715
  throw Error("illegal catch attempt");
10714
- }, delegateYield: function delegateYield(e2, r2, n2) {
10715
- return this.delegate = { iterator: values(e2), resultName: r2, nextLoc: n2 }, this.method === "next" && (this.arg = t), y;
10716
+ }, delegateYield: function delegateYield(e, r, n) {
10717
+ return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, this.method === "next" && (this.arg = t), y;
10716
10718
  } }, e;
10717
10719
  }
10718
10720
  function asyncGeneratorStep(n, t, e, r, o, a, c) {
10719
10721
  try {
10720
10722
  var i = n[a](c), u = i.value;
10721
- } catch (n2) {
10722
- return void e(n2);
10723
+ } catch (n) {
10724
+ return void e(n);
10723
10725
  }
10724
10726
  i.done ? t(u) : Promise.resolve(u).then(r, o);
10725
10727
  }
@@ -10728,11 +10730,11 @@ var require_md5 = __commonJS((exports) => {
10728
10730
  var t = this, e = arguments;
10729
10731
  return new Promise(function(r, o) {
10730
10732
  var a = n.apply(t, e);
10731
- function _next(n2) {
10732
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n2);
10733
+ function _next(n) {
10734
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
10733
10735
  }
10734
- function _throw(n2) {
10735
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n2);
10736
+ function _throw(n) {
10737
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
10736
10738
  }
10737
10739
  _next(undefined);
10738
10740
  });
@@ -10816,7 +10818,7 @@ var require_md5 = __commonJS((exports) => {
10816
10818
  });
10817
10819
 
10818
10820
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/crypto/crypto.js
10819
- var require_crypto = __commonJS((exports) => {
10821
+ var require_crypto = __commonJS(function(exports) {
10820
10822
  Object.defineProperty(exports, "__esModule", {
10821
10823
  value: true
10822
10824
  });
@@ -10828,10 +10830,10 @@ var require_crypto = __commonJS((exports) => {
10828
10830
  var _md = require_md5();
10829
10831
  function _typeof(o) {
10830
10832
  "@babel/helpers - typeof";
10831
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
10832
- return typeof o2;
10833
- } : function(o2) {
10834
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
10833
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
10834
+ return typeof o;
10835
+ } : function(o) {
10836
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
10835
10837
  }, _typeof(o);
10836
10838
  }
10837
10839
  function _classCallCheck(a, n) {
@@ -10864,8 +10866,8 @@ var require_crypto = __commonJS((exports) => {
10864
10866
  return (r === "string" ? String : Number)(t);
10865
10867
  }
10866
10868
  var LegacyCrypto = /* @__PURE__ */ function() {
10867
- function LegacyCrypto2() {
10868
- _classCallCheck(this, LegacyCrypto2);
10869
+ function LegacyCrypto() {
10870
+ _classCallCheck(this, LegacyCrypto);
10869
10871
  this._algorithms = {
10870
10872
  "AES-ECB": _aes.AESECBCipher,
10871
10873
  "AES-EAX": _aes.AESEAXCipher,
@@ -10876,7 +10878,7 @@ var require_crypto = __commonJS((exports) => {
10876
10878
  MD5: _md.MD5
10877
10879
  };
10878
10880
  }
10879
- return _createClass(LegacyCrypto2, [{
10881
+ return _createClass(LegacyCrypto, [{
10880
10882
  key: "encrypt",
10881
10883
  value: function encrypt(algorithm, key, data) {
10882
10884
  if (key.algorithm.name !== algorithm.name) {
@@ -10956,7 +10958,7 @@ var require_crypto = __commonJS((exports) => {
10956
10958
  });
10957
10959
 
10958
10960
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/ra2.js
10959
- var require_ra2 = __commonJS((exports) => {
10961
+ var require_ra2 = __commonJS(function(exports) {
10960
10962
  Object.defineProperty(exports, "__esModule", {
10961
10963
  value: true
10962
10964
  });
@@ -10985,14 +10987,14 @@ var require_ra2 = __commonJS((exports) => {
10985
10987
  function _isNativeReflectConstruct() {
10986
10988
  try {
10987
10989
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
10988
- } catch (t2) {}
10989
- return (_isNativeReflectConstruct = function _isNativeReflectConstruct2() {
10990
+ } catch (t) {}
10991
+ return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
10990
10992
  return !!t;
10991
10993
  })();
10992
10994
  }
10993
10995
  function _getPrototypeOf(t) {
10994
- return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
10995
- return t2.__proto__ || Object.getPrototypeOf(t2);
10996
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
10997
+ return t.__proto__ || Object.getPrototypeOf(t);
10996
10998
  }, _getPrototypeOf(t);
10997
10999
  }
10998
11000
  function _inherits(t, e) {
@@ -11001,45 +11003,45 @@ var require_ra2 = __commonJS((exports) => {
11001
11003
  t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: true, configurable: true } }), Object.defineProperty(t, "prototype", { writable: false }), e && _setPrototypeOf(t, e);
11002
11004
  }
11003
11005
  function _setPrototypeOf(t, e) {
11004
- return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
11005
- return t2.__proto__ = e2, t2;
11006
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
11007
+ return t.__proto__ = e, t;
11006
11008
  }, _setPrototypeOf(t, e);
11007
11009
  }
11008
11010
  function _typeof(o) {
11009
11011
  "@babel/helpers - typeof";
11010
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
11011
- return typeof o2;
11012
- } : function(o2) {
11013
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
11012
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
11013
+ return typeof o;
11014
+ } : function(o) {
11015
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
11014
11016
  }, _typeof(o);
11015
11017
  }
11016
11018
  function _regeneratorRuntime() {
11017
11019
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
11018
- _regeneratorRuntime = function _regeneratorRuntime2() {
11020
+ _regeneratorRuntime = function _regeneratorRuntime() {
11019
11021
  return e;
11020
11022
  };
11021
- var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t2, e2, r2) {
11022
- t2[e2] = r2.value;
11023
+ var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t, e, r) {
11024
+ t[e] = r.value;
11023
11025
  }, i = typeof Symbol == "function" ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
11024
- function define(t2, e2, r2) {
11025
- return Object.defineProperty(t2, e2, { value: r2, enumerable: true, configurable: true, writable: true }), t2[e2];
11026
+ function define(t, e, r) {
11027
+ return Object.defineProperty(t, e, { value: r, enumerable: true, configurable: true, writable: true }), t[e];
11026
11028
  }
11027
11029
  try {
11028
11030
  define({}, "");
11029
- } catch (t2) {
11030
- define = function define2(t3, e2, r2) {
11031
- return t3[e2] = r2;
11031
+ } catch (t) {
11032
+ define = function define(t, e, r) {
11033
+ return t[e] = r;
11032
11034
  };
11033
11035
  }
11034
- function wrap(t2, e2, r2, n2) {
11035
- var i2 = e2 && e2.prototype instanceof Generator ? e2 : Generator, a2 = Object.create(i2.prototype), c2 = new Context(n2 || []);
11036
- return o(a2, "_invoke", { value: makeInvokeMethod(t2, r2, c2) }), a2;
11036
+ function wrap(t, e, r, n) {
11037
+ var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []);
11038
+ return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a;
11037
11039
  }
11038
- function tryCatch(t2, e2, r2) {
11040
+ function tryCatch(t, e, r) {
11039
11041
  try {
11040
- return { type: "normal", arg: t2.call(e2, r2) };
11041
- } catch (t3) {
11042
- return { type: "throw", arg: t3 };
11042
+ return { type: "normal", arg: t.call(e, r) };
11043
+ } catch (t) {
11044
+ return { type: "throw", arg: t };
11043
11045
  }
11044
11046
  }
11045
11047
  e.wrap = wrap;
@@ -11054,232 +11056,232 @@ var require_ra2 = __commonJS((exports) => {
11054
11056
  var d = Object.getPrototypeOf, v = d && d(d(values([])));
11055
11057
  v && v !== r && n.call(v, a) && (p = v);
11056
11058
  var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
11057
- function defineIteratorMethods(t2) {
11058
- ["next", "throw", "return"].forEach(function(e2) {
11059
- define(t2, e2, function(t3) {
11060
- return this._invoke(e2, t3);
11059
+ function defineIteratorMethods(t) {
11060
+ ["next", "throw", "return"].forEach(function(e) {
11061
+ define(t, e, function(t) {
11062
+ return this._invoke(e, t);
11061
11063
  });
11062
11064
  });
11063
11065
  }
11064
- function AsyncIterator(t2, e2) {
11065
- function invoke(r3, o2, i2, a2) {
11066
- var c2 = tryCatch(t2[r3], t2, o2);
11067
- if (c2.type !== "throw") {
11068
- var u2 = c2.arg, h2 = u2.value;
11069
- return h2 && _typeof(h2) == "object" && n.call(h2, "__await") ? e2.resolve(h2.__await).then(function(t3) {
11070
- invoke("next", t3, i2, a2);
11071
- }, function(t3) {
11072
- invoke("throw", t3, i2, a2);
11073
- }) : e2.resolve(h2).then(function(t3) {
11074
- u2.value = t3, i2(u2);
11075
- }, function(t3) {
11076
- return invoke("throw", t3, i2, a2);
11066
+ function AsyncIterator(t, e) {
11067
+ function invoke(r, o, i, a) {
11068
+ var c = tryCatch(t[r], t, o);
11069
+ if (c.type !== "throw") {
11070
+ var u = c.arg, h = u.value;
11071
+ return h && _typeof(h) == "object" && n.call(h, "__await") ? e.resolve(h.__await).then(function(t) {
11072
+ invoke("next", t, i, a);
11073
+ }, function(t) {
11074
+ invoke("throw", t, i, a);
11075
+ }) : e.resolve(h).then(function(t) {
11076
+ u.value = t, i(u);
11077
+ }, function(t) {
11078
+ return invoke("throw", t, i, a);
11077
11079
  });
11078
11080
  }
11079
- a2(c2.arg);
11081
+ a(c.arg);
11080
11082
  }
11081
- var r2;
11082
- o(this, "_invoke", { value: function value(t3, n2) {
11083
+ var r;
11084
+ o(this, "_invoke", { value: function value(t, n) {
11083
11085
  function callInvokeWithMethodAndArg() {
11084
- return new e2(function(e3, r3) {
11085
- invoke(t3, n2, e3, r3);
11086
+ return new e(function(e, r) {
11087
+ invoke(t, n, e, r);
11086
11088
  });
11087
11089
  }
11088
- return r2 = r2 ? r2.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
11090
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
11089
11091
  } });
11090
11092
  }
11091
- function makeInvokeMethod(e2, r2, n2) {
11092
- var o2 = h;
11093
- return function(i2, a2) {
11094
- if (o2 === f)
11093
+ function makeInvokeMethod(e, r, n) {
11094
+ var o = h;
11095
+ return function(i, a) {
11096
+ if (o === f)
11095
11097
  throw Error("Generator is already running");
11096
- if (o2 === s) {
11097
- if (i2 === "throw")
11098
- throw a2;
11098
+ if (o === s) {
11099
+ if (i === "throw")
11100
+ throw a;
11099
11101
  return { value: t, done: true };
11100
11102
  }
11101
- for (n2.method = i2, n2.arg = a2;; ) {
11102
- var c2 = n2.delegate;
11103
- if (c2) {
11104
- var u2 = maybeInvokeDelegate(c2, n2);
11105
- if (u2) {
11106
- if (u2 === y)
11103
+ for (n.method = i, n.arg = a;; ) {
11104
+ var c = n.delegate;
11105
+ if (c) {
11106
+ var u = maybeInvokeDelegate(c, n);
11107
+ if (u) {
11108
+ if (u === y)
11107
11109
  continue;
11108
- return u2;
11110
+ return u;
11109
11111
  }
11110
11112
  }
11111
- if (n2.method === "next")
11112
- n2.sent = n2._sent = n2.arg;
11113
- else if (n2.method === "throw") {
11114
- if (o2 === h)
11115
- throw o2 = s, n2.arg;
11116
- n2.dispatchException(n2.arg);
11113
+ if (n.method === "next")
11114
+ n.sent = n._sent = n.arg;
11115
+ else if (n.method === "throw") {
11116
+ if (o === h)
11117
+ throw o = s, n.arg;
11118
+ n.dispatchException(n.arg);
11117
11119
  } else
11118
- n2.method === "return" && n2.abrupt("return", n2.arg);
11119
- o2 = f;
11120
- var p2 = tryCatch(e2, r2, n2);
11121
- if (p2.type === "normal") {
11122
- if (o2 = n2.done ? s : l, p2.arg === y)
11120
+ n.method === "return" && n.abrupt("return", n.arg);
11121
+ o = f;
11122
+ var p = tryCatch(e, r, n);
11123
+ if (p.type === "normal") {
11124
+ if (o = n.done ? s : l, p.arg === y)
11123
11125
  continue;
11124
- return { value: p2.arg, done: n2.done };
11126
+ return { value: p.arg, done: n.done };
11125
11127
  }
11126
- p2.type === "throw" && (o2 = s, n2.method = "throw", n2.arg = p2.arg);
11128
+ p.type === "throw" && (o = s, n.method = "throw", n.arg = p.arg);
11127
11129
  }
11128
11130
  };
11129
11131
  }
11130
- function maybeInvokeDelegate(e2, r2) {
11131
- var n2 = r2.method, o2 = e2.iterator[n2];
11132
- if (o2 === t)
11133
- return r2.delegate = null, n2 === "throw" && e2.iterator["return"] && (r2.method = "return", r2.arg = t, maybeInvokeDelegate(e2, r2), r2.method === "throw") || n2 !== "return" && (r2.method = "throw", r2.arg = new TypeError("The iterator does not provide a '" + n2 + "' method")), y;
11134
- var i2 = tryCatch(o2, e2.iterator, r2.arg);
11135
- if (i2.type === "throw")
11136
- return r2.method = "throw", r2.arg = i2.arg, r2.delegate = null, y;
11137
- var a2 = i2.arg;
11138
- return a2 ? a2.done ? (r2[e2.resultName] = a2.value, r2.next = e2.nextLoc, r2.method !== "return" && (r2.method = "next", r2.arg = t), r2.delegate = null, y) : a2 : (r2.method = "throw", r2.arg = new TypeError("iterator result is not an object"), r2.delegate = null, y);
11139
- }
11140
- function pushTryEntry(t2) {
11141
- var e2 = { tryLoc: t2[0] };
11142
- 1 in t2 && (e2.catchLoc = t2[1]), 2 in t2 && (e2.finallyLoc = t2[2], e2.afterLoc = t2[3]), this.tryEntries.push(e2);
11143
- }
11144
- function resetTryEntry(t2) {
11145
- var e2 = t2.completion || {};
11146
- e2.type = "normal", delete e2.arg, t2.completion = e2;
11147
- }
11148
- function Context(t2) {
11149
- this.tryEntries = [{ tryLoc: "root" }], t2.forEach(pushTryEntry, this), this.reset(true);
11150
- }
11151
- function values(e2) {
11152
- if (e2 || e2 === "") {
11153
- var r2 = e2[a];
11154
- if (r2)
11155
- return r2.call(e2);
11156
- if (typeof e2.next == "function")
11157
- return e2;
11158
- if (!isNaN(e2.length)) {
11159
- var o2 = -1, i2 = function next() {
11160
- for (;++o2 < e2.length; )
11161
- if (n.call(e2, o2))
11162
- return next.value = e2[o2], next.done = false, next;
11132
+ function maybeInvokeDelegate(e, r) {
11133
+ var n = r.method, o = e.iterator[n];
11134
+ if (o === t)
11135
+ return r.delegate = null, n === "throw" && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), r.method === "throw") || n !== "return" && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
11136
+ var i = tryCatch(o, e.iterator, r.arg);
11137
+ if (i.type === "throw")
11138
+ return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
11139
+ var a = i.arg;
11140
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, r.method !== "return" && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
11141
+ }
11142
+ function pushTryEntry(t) {
11143
+ var e = { tryLoc: t[0] };
11144
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
11145
+ }
11146
+ function resetTryEntry(t) {
11147
+ var e = t.completion || {};
11148
+ e.type = "normal", delete e.arg, t.completion = e;
11149
+ }
11150
+ function Context(t) {
11151
+ this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(true);
11152
+ }
11153
+ function values(e) {
11154
+ if (e || e === "") {
11155
+ var r = e[a];
11156
+ if (r)
11157
+ return r.call(e);
11158
+ if (typeof e.next == "function")
11159
+ return e;
11160
+ if (!isNaN(e.length)) {
11161
+ var o = -1, i = function next() {
11162
+ for (;++o < e.length; )
11163
+ if (n.call(e, o))
11164
+ return next.value = e[o], next.done = false, next;
11163
11165
  return next.value = t, next.done = true, next;
11164
11166
  };
11165
- return i2.next = i2;
11167
+ return i.next = i;
11166
11168
  }
11167
11169
  }
11168
- throw new TypeError(_typeof(e2) + " is not iterable");
11170
+ throw new TypeError(_typeof(e) + " is not iterable");
11169
11171
  }
11170
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t2) {
11171
- var e2 = typeof t2 == "function" && t2.constructor;
11172
- return !!e2 && (e2 === GeneratorFunction || (e2.displayName || e2.name) === "GeneratorFunction");
11173
- }, e.mark = function(t2) {
11174
- return Object.setPrototypeOf ? Object.setPrototypeOf(t2, GeneratorFunctionPrototype) : (t2.__proto__ = GeneratorFunctionPrototype, define(t2, u, "GeneratorFunction")), t2.prototype = Object.create(g), t2;
11175
- }, e.awrap = function(t2) {
11176
- return { __await: t2 };
11172
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t) {
11173
+ var e = typeof t == "function" && t.constructor;
11174
+ return !!e && (e === GeneratorFunction || (e.displayName || e.name) === "GeneratorFunction");
11175
+ }, e.mark = function(t) {
11176
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
11177
+ }, e.awrap = function(t) {
11178
+ return { __await: t };
11177
11179
  }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function() {
11178
11180
  return this;
11179
- }), e.AsyncIterator = AsyncIterator, e.async = function(t2, r2, n2, o2, i2) {
11180
- i2 === undefined && (i2 = Promise);
11181
- var a2 = new AsyncIterator(wrap(t2, r2, n2, o2), i2);
11182
- return e.isGeneratorFunction(r2) ? a2 : a2.next().then(function(t3) {
11183
- return t3.done ? t3.value : a2.next();
11181
+ }), e.AsyncIterator = AsyncIterator, e.async = function(t, r, n, o, i) {
11182
+ i === undefined && (i = Promise);
11183
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
11184
+ return e.isGeneratorFunction(r) ? a : a.next().then(function(t) {
11185
+ return t.done ? t.value : a.next();
11184
11186
  });
11185
11187
  }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function() {
11186
11188
  return this;
11187
11189
  }), define(g, "toString", function() {
11188
11190
  return "[object Generator]";
11189
- }), e.keys = function(t2) {
11190
- var e2 = Object(t2), r2 = [];
11191
- for (var n2 in e2)
11192
- r2.push(n2);
11193
- return r2.reverse(), function next() {
11194
- for (;r2.length; ) {
11195
- var t3 = r2.pop();
11196
- if (t3 in e2)
11197
- return next.value = t3, next.done = false, next;
11191
+ }), e.keys = function(t) {
11192
+ var e = Object(t), r = [];
11193
+ for (var n in e)
11194
+ r.push(n);
11195
+ return r.reverse(), function next() {
11196
+ for (;r.length; ) {
11197
+ var t = r.pop();
11198
+ if (t in e)
11199
+ return next.value = t, next.done = false, next;
11198
11200
  }
11199
11201
  return next.done = true, next;
11200
11202
  };
11201
- }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e2) {
11202
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e2)
11203
- for (var r2 in this)
11204
- r2.charAt(0) === "t" && n.call(this, r2) && !isNaN(+r2.slice(1)) && (this[r2] = t);
11203
+ }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) {
11204
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e)
11205
+ for (var r in this)
11206
+ r.charAt(0) === "t" && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
11205
11207
  }, stop: function stop() {
11206
11208
  this.done = true;
11207
- var t2 = this.tryEntries[0].completion;
11208
- if (t2.type === "throw")
11209
- throw t2.arg;
11209
+ var t = this.tryEntries[0].completion;
11210
+ if (t.type === "throw")
11211
+ throw t.arg;
11210
11212
  return this.rval;
11211
- }, dispatchException: function dispatchException(e2) {
11213
+ }, dispatchException: function dispatchException(e) {
11212
11214
  if (this.done)
11213
- throw e2;
11214
- var r2 = this;
11215
- function handle(n2, o3) {
11216
- return a2.type = "throw", a2.arg = e2, r2.next = n2, o3 && (r2.method = "next", r2.arg = t), !!o3;
11217
- }
11218
- for (var o2 = this.tryEntries.length - 1;o2 >= 0; --o2) {
11219
- var i2 = this.tryEntries[o2], a2 = i2.completion;
11220
- if (i2.tryLoc === "root")
11215
+ throw e;
11216
+ var r = this;
11217
+ function handle(n, o) {
11218
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
11219
+ }
11220
+ for (var o = this.tryEntries.length - 1;o >= 0; --o) {
11221
+ var i = this.tryEntries[o], a = i.completion;
11222
+ if (i.tryLoc === "root")
11221
11223
  return handle("end");
11222
- if (i2.tryLoc <= this.prev) {
11223
- var c2 = n.call(i2, "catchLoc"), u2 = n.call(i2, "finallyLoc");
11224
- if (c2 && u2) {
11225
- if (this.prev < i2.catchLoc)
11226
- return handle(i2.catchLoc, true);
11227
- if (this.prev < i2.finallyLoc)
11228
- return handle(i2.finallyLoc);
11229
- } else if (c2) {
11230
- if (this.prev < i2.catchLoc)
11231
- return handle(i2.catchLoc, true);
11224
+ if (i.tryLoc <= this.prev) {
11225
+ var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc");
11226
+ if (c && u) {
11227
+ if (this.prev < i.catchLoc)
11228
+ return handle(i.catchLoc, true);
11229
+ if (this.prev < i.finallyLoc)
11230
+ return handle(i.finallyLoc);
11231
+ } else if (c) {
11232
+ if (this.prev < i.catchLoc)
11233
+ return handle(i.catchLoc, true);
11232
11234
  } else {
11233
- if (!u2)
11235
+ if (!u)
11234
11236
  throw Error("try statement without catch or finally");
11235
- if (this.prev < i2.finallyLoc)
11236
- return handle(i2.finallyLoc);
11237
+ if (this.prev < i.finallyLoc)
11238
+ return handle(i.finallyLoc);
11237
11239
  }
11238
11240
  }
11239
11241
  }
11240
- }, abrupt: function abrupt(t2, e2) {
11241
- for (var r2 = this.tryEntries.length - 1;r2 >= 0; --r2) {
11242
- var o2 = this.tryEntries[r2];
11243
- if (o2.tryLoc <= this.prev && n.call(o2, "finallyLoc") && this.prev < o2.finallyLoc) {
11244
- var i2 = o2;
11242
+ }, abrupt: function abrupt(t, e) {
11243
+ for (var r = this.tryEntries.length - 1;r >= 0; --r) {
11244
+ var o = this.tryEntries[r];
11245
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
11246
+ var i = o;
11245
11247
  break;
11246
11248
  }
11247
11249
  }
11248
- i2 && (t2 === "break" || t2 === "continue") && i2.tryLoc <= e2 && e2 <= i2.finallyLoc && (i2 = null);
11249
- var a2 = i2 ? i2.completion : {};
11250
- return a2.type = t2, a2.arg = e2, i2 ? (this.method = "next", this.next = i2.finallyLoc, y) : this.complete(a2);
11251
- }, complete: function complete(t2, e2) {
11252
- if (t2.type === "throw")
11253
- throw t2.arg;
11254
- return t2.type === "break" || t2.type === "continue" ? this.next = t2.arg : t2.type === "return" ? (this.rval = this.arg = t2.arg, this.method = "return", this.next = "end") : t2.type === "normal" && e2 && (this.next = e2), y;
11255
- }, finish: function finish(t2) {
11256
- for (var e2 = this.tryEntries.length - 1;e2 >= 0; --e2) {
11257
- var r2 = this.tryEntries[e2];
11258
- if (r2.finallyLoc === t2)
11259
- return this.complete(r2.completion, r2.afterLoc), resetTryEntry(r2), y;
11260
- }
11261
- }, catch: function _catch(t2) {
11262
- for (var e2 = this.tryEntries.length - 1;e2 >= 0; --e2) {
11263
- var r2 = this.tryEntries[e2];
11264
- if (r2.tryLoc === t2) {
11265
- var n2 = r2.completion;
11266
- if (n2.type === "throw") {
11267
- var o2 = n2.arg;
11268
- resetTryEntry(r2);
11250
+ i && (t === "break" || t === "continue") && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
11251
+ var a = i ? i.completion : {};
11252
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
11253
+ }, complete: function complete(t, e) {
11254
+ if (t.type === "throw")
11255
+ throw t.arg;
11256
+ return t.type === "break" || t.type === "continue" ? this.next = t.arg : t.type === "return" ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : t.type === "normal" && e && (this.next = e), y;
11257
+ }, finish: function finish(t) {
11258
+ for (var e = this.tryEntries.length - 1;e >= 0; --e) {
11259
+ var r = this.tryEntries[e];
11260
+ if (r.finallyLoc === t)
11261
+ return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
11262
+ }
11263
+ }, catch: function _catch(t) {
11264
+ for (var e = this.tryEntries.length - 1;e >= 0; --e) {
11265
+ var r = this.tryEntries[e];
11266
+ if (r.tryLoc === t) {
11267
+ var n = r.completion;
11268
+ if (n.type === "throw") {
11269
+ var o = n.arg;
11270
+ resetTryEntry(r);
11269
11271
  }
11270
- return o2;
11272
+ return o;
11271
11273
  }
11272
11274
  }
11273
11275
  throw Error("illegal catch attempt");
11274
- }, delegateYield: function delegateYield(e2, r2, n2) {
11275
- return this.delegate = { iterator: values(e2), resultName: r2, nextLoc: n2 }, this.method === "next" && (this.arg = t), y;
11276
+ }, delegateYield: function delegateYield(e, r, n) {
11277
+ return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, this.method === "next" && (this.arg = t), y;
11276
11278
  } }, e;
11277
11279
  }
11278
11280
  function asyncGeneratorStep(n, t, e, r, o, a, c) {
11279
11281
  try {
11280
11282
  var i = n[a](c), u = i.value;
11281
- } catch (n2) {
11282
- return void e(n2);
11283
+ } catch (n) {
11284
+ return void e(n);
11283
11285
  }
11284
11286
  i.done ? t(u) : Promise.resolve(u).then(r, o);
11285
11287
  }
@@ -11288,11 +11290,11 @@ var require_ra2 = __commonJS((exports) => {
11288
11290
  var t = this, e = arguments;
11289
11291
  return new Promise(function(r, o) {
11290
11292
  var a = n.apply(t, e);
11291
- function _next(n2) {
11292
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n2);
11293
+ function _next(n) {
11294
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
11293
11295
  }
11294
- function _throw(n2) {
11295
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n2);
11296
+ function _throw(n) {
11297
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
11296
11298
  }
11297
11299
  _next(undefined);
11298
11300
  });
@@ -11328,12 +11330,12 @@ var require_ra2 = __commonJS((exports) => {
11328
11330
  return (r === "string" ? String : Number)(t);
11329
11331
  }
11330
11332
  var RA2Cipher = /* @__PURE__ */ function() {
11331
- function RA2Cipher2() {
11332
- _classCallCheck(this, RA2Cipher2);
11333
+ function RA2Cipher() {
11334
+ _classCallCheck(this, RA2Cipher);
11333
11335
  this._cipher = null;
11334
11336
  this._counter = new Uint8Array(16);
11335
11337
  }
11336
- return _createClass(RA2Cipher2, [{
11338
+ return _createClass(RA2Cipher, [{
11337
11339
  key: "setKey",
11338
11340
  value: function() {
11339
11341
  var _setKey = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee(key) {
@@ -11428,10 +11430,10 @@ var require_ra2 = __commonJS((exports) => {
11428
11430
  }]);
11429
11431
  }();
11430
11432
  var RSAAESAuthenticationState = exports.default = /* @__PURE__ */ function(_EventTargetMixin) {
11431
- function RSAAESAuthenticationState2(sock, getCredentials) {
11433
+ function RSAAESAuthenticationState(sock, getCredentials) {
11432
11434
  var _this;
11433
- _classCallCheck(this, RSAAESAuthenticationState2);
11434
- _this = _callSuper(this, RSAAESAuthenticationState2);
11435
+ _classCallCheck(this, RSAAESAuthenticationState);
11436
+ _this = _callSuper(this, RSAAESAuthenticationState);
11435
11437
  _this._hasStarted = false;
11436
11438
  _this._checkSock = null;
11437
11439
  _this._checkCredentials = null;
@@ -11443,13 +11445,13 @@ var require_ra2 = __commonJS((exports) => {
11443
11445
  _this._getCredentials = getCredentials;
11444
11446
  return _this;
11445
11447
  }
11446
- _inherits(RSAAESAuthenticationState2, _EventTargetMixin);
11447
- return _createClass(RSAAESAuthenticationState2, [{
11448
+ _inherits(RSAAESAuthenticationState, _EventTargetMixin);
11449
+ return _createClass(RSAAESAuthenticationState, [{
11448
11450
  key: "_waitSockAsync",
11449
11451
  value: function _waitSockAsync(len) {
11450
11452
  var _this2 = this;
11451
11453
  return new Promise(function(resolve, reject) {
11452
- var hasData = function hasData2() {
11454
+ var hasData = function hasData() {
11453
11455
  return !_this2._sock.rQwait("RA2", len);
11454
11456
  };
11455
11457
  if (hasData()) {
@@ -11479,7 +11481,7 @@ var require_ra2 = __commonJS((exports) => {
11479
11481
  key: "_waitCredentialsAsync",
11480
11482
  value: function _waitCredentialsAsync(subtype) {
11481
11483
  var _this4 = this;
11482
- var hasCredentials = function hasCredentials2() {
11484
+ var hasCredentials = function hasCredentials() {
11483
11485
  if (subtype === 1 && _this4._getCredentials().username !== undefined && _this4._getCredentials().password !== undefined) {
11484
11486
  return true;
11485
11487
  } else if (subtype === 2 && _this4._getCredentials().password !== undefined) {
@@ -11835,17 +11837,17 @@ var require_ra2 = __commonJS((exports) => {
11835
11837
  });
11836
11838
 
11837
11839
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/raw.js
11838
- var require_raw = __commonJS((exports) => {
11840
+ var require_raw = __commonJS(function(exports) {
11839
11841
  Object.defineProperty(exports, "__esModule", {
11840
11842
  value: true
11841
11843
  });
11842
11844
  exports.default = undefined;
11843
11845
  function _typeof(o) {
11844
11846
  "@babel/helpers - typeof";
11845
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
11846
- return typeof o2;
11847
- } : function(o2) {
11848
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
11847
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
11848
+ return typeof o;
11849
+ } : function(o) {
11850
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
11849
11851
  }, _typeof(o);
11850
11852
  }
11851
11853
  function _classCallCheck(a, n) {
@@ -11878,11 +11880,11 @@ var require_raw = __commonJS((exports) => {
11878
11880
  return (r === "string" ? String : Number)(t);
11879
11881
  }
11880
11882
  var RawDecoder = exports.default = /* @__PURE__ */ function() {
11881
- function RawDecoder2() {
11882
- _classCallCheck(this, RawDecoder2);
11883
+ function RawDecoder() {
11884
+ _classCallCheck(this, RawDecoder);
11883
11885
  this._lines = 0;
11884
11886
  }
11885
- return _createClass(RawDecoder2, [{
11887
+ return _createClass(RawDecoder, [{
11886
11888
  key: "decodeRect",
11887
11889
  value: function decodeRect(x, y, width, height, sock, display, depth) {
11888
11890
  if (width === 0 || height === 0) {
@@ -11922,17 +11924,17 @@ var require_raw = __commonJS((exports) => {
11922
11924
  });
11923
11925
 
11924
11926
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/copyrect.js
11925
- var require_copyrect = __commonJS((exports) => {
11927
+ var require_copyrect = __commonJS(function(exports) {
11926
11928
  Object.defineProperty(exports, "__esModule", {
11927
11929
  value: true
11928
11930
  });
11929
11931
  exports.default = undefined;
11930
11932
  function _typeof(o) {
11931
11933
  "@babel/helpers - typeof";
11932
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
11933
- return typeof o2;
11934
- } : function(o2) {
11935
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
11934
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
11935
+ return typeof o;
11936
+ } : function(o) {
11937
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
11936
11938
  }, _typeof(o);
11937
11939
  }
11938
11940
  function _classCallCheck(a, n) {
@@ -11965,10 +11967,10 @@ var require_copyrect = __commonJS((exports) => {
11965
11967
  return (r === "string" ? String : Number)(t);
11966
11968
  }
11967
11969
  var CopyRectDecoder = exports.default = /* @__PURE__ */ function() {
11968
- function CopyRectDecoder2() {
11969
- _classCallCheck(this, CopyRectDecoder2);
11970
+ function CopyRectDecoder() {
11971
+ _classCallCheck(this, CopyRectDecoder);
11970
11972
  }
11971
- return _createClass(CopyRectDecoder2, [{
11973
+ return _createClass(CopyRectDecoder, [{
11972
11974
  key: "decodeRect",
11973
11975
  value: function decodeRect(x, y, width, height, sock, display, depth) {
11974
11976
  if (sock.rQwait("COPYRECT", 4)) {
@@ -11987,17 +11989,17 @@ var require_copyrect = __commonJS((exports) => {
11987
11989
  });
11988
11990
 
11989
11991
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/rre.js
11990
- var require_rre = __commonJS((exports) => {
11992
+ var require_rre = __commonJS(function(exports) {
11991
11993
  Object.defineProperty(exports, "__esModule", {
11992
11994
  value: true
11993
11995
  });
11994
11996
  exports.default = undefined;
11995
11997
  function _typeof(o) {
11996
11998
  "@babel/helpers - typeof";
11997
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
11998
- return typeof o2;
11999
- } : function(o2) {
12000
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
11999
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
12000
+ return typeof o;
12001
+ } : function(o) {
12002
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
12001
12003
  }, _typeof(o);
12002
12004
  }
12003
12005
  function _classCallCheck(a, n) {
@@ -12030,11 +12032,11 @@ var require_rre = __commonJS((exports) => {
12030
12032
  return (r === "string" ? String : Number)(t);
12031
12033
  }
12032
12034
  var RREDecoder = exports.default = /* @__PURE__ */ function() {
12033
- function RREDecoder2() {
12034
- _classCallCheck(this, RREDecoder2);
12035
+ function RREDecoder() {
12036
+ _classCallCheck(this, RREDecoder);
12035
12037
  this._subrects = 0;
12036
12038
  }
12037
- return _createClass(RREDecoder2, [{
12039
+ return _createClass(RREDecoder, [{
12038
12040
  key: "decodeRect",
12039
12041
  value: function decodeRect(x, y, width, height, sock, display, depth) {
12040
12042
  if (this._subrects === 0) {
@@ -12064,7 +12066,7 @@ var require_rre = __commonJS((exports) => {
12064
12066
  });
12065
12067
 
12066
12068
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/hextile.js
12067
- var require_hextile = __commonJS((exports) => {
12069
+ var require_hextile = __commonJS(function(exports) {
12068
12070
  Object.defineProperty(exports, "__esModule", {
12069
12071
  value: true
12070
12072
  });
@@ -12074,8 +12076,8 @@ var require_hextile = __commonJS((exports) => {
12074
12076
  if (typeof WeakMap != "function")
12075
12077
  return null;
12076
12078
  var r = new WeakMap, t = new WeakMap;
12077
- return (_getRequireWildcardCache = function _getRequireWildcardCache2(e2) {
12078
- return e2 ? t : r;
12079
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
12080
+ return e ? t : r;
12079
12081
  })(e);
12080
12082
  }
12081
12083
  function _interopRequireWildcard(e, r) {
@@ -12096,10 +12098,10 @@ var require_hextile = __commonJS((exports) => {
12096
12098
  }
12097
12099
  function _typeof(o) {
12098
12100
  "@babel/helpers - typeof";
12099
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
12100
- return typeof o2;
12101
- } : function(o2) {
12102
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
12101
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
12102
+ return typeof o;
12103
+ } : function(o) {
12104
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
12103
12105
  }, _typeof(o);
12104
12106
  }
12105
12107
  function _classCallCheck(a, n) {
@@ -12132,13 +12134,13 @@ var require_hextile = __commonJS((exports) => {
12132
12134
  return (r === "string" ? String : Number)(t);
12133
12135
  }
12134
12136
  var HextileDecoder = exports.default = /* @__PURE__ */ function() {
12135
- function HextileDecoder2() {
12136
- _classCallCheck(this, HextileDecoder2);
12137
+ function HextileDecoder() {
12138
+ _classCallCheck(this, HextileDecoder);
12137
12139
  this._tiles = 0;
12138
12140
  this._lastsubencoding = 0;
12139
12141
  this._tileBuffer = new Uint8Array(16 * 16 * 4);
12140
12142
  }
12141
- return _createClass(HextileDecoder2, [{
12143
+ return _createClass(HextileDecoder, [{
12142
12144
  key: "decodeRect",
12143
12145
  value: function decodeRect(x, y, width, height, sock, display, depth) {
12144
12146
  if (this._tiles === 0) {
@@ -12283,7 +12285,7 @@ var require_hextile = __commonJS((exports) => {
12283
12285
  });
12284
12286
 
12285
12287
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/zlib.js
12286
- var require_zlib = __commonJS((exports) => {
12288
+ var require_zlib = __commonJS(function(exports) {
12287
12289
  Object.defineProperty(exports, "__esModule", {
12288
12290
  value: true
12289
12291
  });
@@ -12294,10 +12296,10 @@ var require_zlib = __commonJS((exports) => {
12294
12296
  }
12295
12297
  function _typeof(o) {
12296
12298
  "@babel/helpers - typeof";
12297
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
12298
- return typeof o2;
12299
- } : function(o2) {
12300
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
12299
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
12300
+ return typeof o;
12301
+ } : function(o) {
12302
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
12301
12303
  }, _typeof(o);
12302
12304
  }
12303
12305
  function _classCallCheck(a, n) {
@@ -12330,12 +12332,12 @@ var require_zlib = __commonJS((exports) => {
12330
12332
  return (r === "string" ? String : Number)(t);
12331
12333
  }
12332
12334
  var ZlibDecoder = exports.default = /* @__PURE__ */ function() {
12333
- function ZlibDecoder2() {
12334
- _classCallCheck(this, ZlibDecoder2);
12335
+ function ZlibDecoder() {
12336
+ _classCallCheck(this, ZlibDecoder);
12335
12337
  this._zlib = new _inflator["default"];
12336
12338
  this._length = 0;
12337
12339
  }
12338
- return _createClass(ZlibDecoder2, [{
12340
+ return _createClass(ZlibDecoder, [{
12339
12341
  key: "decodeRect",
12340
12342
  value: function decodeRect(x, y, width, height, sock, display, depth) {
12341
12343
  if (width === 0 || height === 0) {
@@ -12366,7 +12368,7 @@ var require_zlib = __commonJS((exports) => {
12366
12368
  });
12367
12369
 
12368
12370
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/tight.js
12369
- var require_tight = __commonJS((exports) => {
12371
+ var require_tight = __commonJS(function(exports) {
12370
12372
  Object.defineProperty(exports, "__esModule", {
12371
12373
  value: true
12372
12374
  });
@@ -12380,8 +12382,8 @@ var require_tight = __commonJS((exports) => {
12380
12382
  if (typeof WeakMap != "function")
12381
12383
  return null;
12382
12384
  var r = new WeakMap, t = new WeakMap;
12383
- return (_getRequireWildcardCache = function _getRequireWildcardCache2(e2) {
12384
- return e2 ? t : r;
12385
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
12386
+ return e ? t : r;
12385
12387
  })(e);
12386
12388
  }
12387
12389
  function _interopRequireWildcard(e, r) {
@@ -12402,10 +12404,10 @@ var require_tight = __commonJS((exports) => {
12402
12404
  }
12403
12405
  function _typeof(o) {
12404
12406
  "@babel/helpers - typeof";
12405
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
12406
- return typeof o2;
12407
- } : function(o2) {
12408
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
12407
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
12408
+ return typeof o;
12409
+ } : function(o) {
12410
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
12409
12411
  }, _typeof(o);
12410
12412
  }
12411
12413
  function _classCallCheck(a, n) {
@@ -12438,8 +12440,8 @@ var require_tight = __commonJS((exports) => {
12438
12440
  return (r === "string" ? String : Number)(t);
12439
12441
  }
12440
12442
  var TightDecoder = exports.default = /* @__PURE__ */ function() {
12441
- function TightDecoder2() {
12442
- _classCallCheck(this, TightDecoder2);
12443
+ function TightDecoder() {
12444
+ _classCallCheck(this, TightDecoder);
12443
12445
  this._ctl = null;
12444
12446
  this._filter = null;
12445
12447
  this._numColors = 0;
@@ -12450,7 +12452,7 @@ var require_tight = __commonJS((exports) => {
12450
12452
  this._zlibs[i] = new _inflator["default"];
12451
12453
  }
12452
12454
  }
12453
- return _createClass(TightDecoder2, [{
12455
+ return _createClass(TightDecoder, [{
12454
12456
  key: "decodeRect",
12455
12457
  value: function decodeRect(x, y, width, height, sock, display, depth) {
12456
12458
  if (this._ctl === null) {
@@ -12760,13 +12762,13 @@ var require_tight = __commonJS((exports) => {
12760
12762
  });
12761
12763
 
12762
12764
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/tightpng.js
12763
- var require_tightpng = __commonJS((exports) => {
12765
+ var require_tightpng = __commonJS(function(exports) {
12764
12766
  function _typeof(o) {
12765
12767
  "@babel/helpers - typeof";
12766
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
12767
- return typeof o2;
12768
- } : function(o2) {
12769
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
12768
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
12769
+ return typeof o;
12770
+ } : function(o) {
12771
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
12770
12772
  }, _typeof(o);
12771
12773
  }
12772
12774
  Object.defineProperty(exports, "__esModule", {
@@ -12824,14 +12826,14 @@ var require_tightpng = __commonJS((exports) => {
12824
12826
  function _isNativeReflectConstruct() {
12825
12827
  try {
12826
12828
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
12827
- } catch (t2) {}
12828
- return (_isNativeReflectConstruct = function _isNativeReflectConstruct2() {
12829
+ } catch (t) {}
12830
+ return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
12829
12831
  return !!t;
12830
12832
  })();
12831
12833
  }
12832
12834
  function _getPrototypeOf(t) {
12833
- return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
12834
- return t2.__proto__ || Object.getPrototypeOf(t2);
12835
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
12836
+ return t.__proto__ || Object.getPrototypeOf(t);
12835
12837
  }, _getPrototypeOf(t);
12836
12838
  }
12837
12839
  function _inherits(t, e) {
@@ -12840,17 +12842,17 @@ var require_tightpng = __commonJS((exports) => {
12840
12842
  t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: true, configurable: true } }), Object.defineProperty(t, "prototype", { writable: false }), e && _setPrototypeOf(t, e);
12841
12843
  }
12842
12844
  function _setPrototypeOf(t, e) {
12843
- return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
12844
- return t2.__proto__ = e2, t2;
12845
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
12846
+ return t.__proto__ = e, t;
12845
12847
  }, _setPrototypeOf(t, e);
12846
12848
  }
12847
12849
  var TightPNGDecoder = exports.default = /* @__PURE__ */ function(_TightDecoder) {
12848
- function TightPNGDecoder2() {
12849
- _classCallCheck(this, TightPNGDecoder2);
12850
- return _callSuper(this, TightPNGDecoder2, arguments);
12850
+ function TightPNGDecoder() {
12851
+ _classCallCheck(this, TightPNGDecoder);
12852
+ return _callSuper(this, TightPNGDecoder, arguments);
12851
12853
  }
12852
- _inherits(TightPNGDecoder2, _TightDecoder);
12853
- return _createClass(TightPNGDecoder2, [{
12854
+ _inherits(TightPNGDecoder, _TightDecoder);
12855
+ return _createClass(TightPNGDecoder, [{
12854
12856
  key: "_pngRect",
12855
12857
  value: function _pngRect(x, y, width, height, sock, display, depth) {
12856
12858
  var data = this._readData(sock);
@@ -12870,7 +12872,7 @@ var require_tightpng = __commonJS((exports) => {
12870
12872
  });
12871
12873
 
12872
12874
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/zrle.js
12873
- var require_zrle = __commonJS((exports) => {
12875
+ var require_zrle = __commonJS(function(exports) {
12874
12876
  Object.defineProperty(exports, "__esModule", {
12875
12877
  value: true
12876
12878
  });
@@ -12881,10 +12883,10 @@ var require_zrle = __commonJS((exports) => {
12881
12883
  }
12882
12884
  function _typeof(o) {
12883
12885
  "@babel/helpers - typeof";
12884
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
12885
- return typeof o2;
12886
- } : function(o2) {
12887
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
12886
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
12887
+ return typeof o;
12888
+ } : function(o) {
12889
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
12888
12890
  }, _typeof(o);
12889
12891
  }
12890
12892
  function _classCallCheck(a, n) {
@@ -12919,14 +12921,14 @@ var require_zrle = __commonJS((exports) => {
12919
12921
  var ZRLE_TILE_WIDTH = 64;
12920
12922
  var ZRLE_TILE_HEIGHT = 64;
12921
12923
  var ZRLEDecoder = exports.default = /* @__PURE__ */ function() {
12922
- function ZRLEDecoder2() {
12923
- _classCallCheck(this, ZRLEDecoder2);
12924
+ function ZRLEDecoder() {
12925
+ _classCallCheck(this, ZRLEDecoder);
12924
12926
  this._length = 0;
12925
12927
  this._inflator = new _inflator["default"];
12926
12928
  this._pixelBuffer = new Uint8Array(ZRLE_TILE_WIDTH * ZRLE_TILE_HEIGHT * 4);
12927
12929
  this._tileBuffer = new Uint8Array(ZRLE_TILE_WIDTH * ZRLE_TILE_HEIGHT * 4);
12928
12930
  }
12929
- return _createClass(ZRLEDecoder2, [{
12931
+ return _createClass(ZRLEDecoder, [{
12930
12932
  key: "decodeRect",
12931
12933
  value: function decodeRect(x, y, width, height, sock, display, depth) {
12932
12934
  if (this._length === 0) {
@@ -13086,17 +13088,17 @@ var require_zrle = __commonJS((exports) => {
13086
13088
  });
13087
13089
 
13088
13090
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/jpeg.js
13089
- var require_jpeg = __commonJS((exports) => {
13091
+ var require_jpeg = __commonJS(function(exports) {
13090
13092
  Object.defineProperty(exports, "__esModule", {
13091
13093
  value: true
13092
13094
  });
13093
13095
  exports.default = undefined;
13094
13096
  function _typeof(o) {
13095
13097
  "@babel/helpers - typeof";
13096
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
13097
- return typeof o2;
13098
- } : function(o2) {
13099
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
13098
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
13099
+ return typeof o;
13100
+ } : function(o) {
13101
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
13100
13102
  }, _typeof(o);
13101
13103
  }
13102
13104
  function _toConsumableArray(r) {
@@ -13119,11 +13121,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13119
13121
  if (!t) {
13120
13122
  if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && typeof r.length == "number") {
13121
13123
  t && (r = t);
13122
- var _n = 0, F = function F2() {};
13124
+ var _n = 0, F = function F() {};
13123
13125
  return { s: F, n: function n() {
13124
13126
  return _n >= r.length ? { done: true } : { done: false, value: r[_n++] };
13125
- }, e: function e2(r2) {
13126
- throw r2;
13127
+ }, e: function e(r) {
13128
+ throw r;
13127
13129
  }, f: F };
13128
13130
  }
13129
13131
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
@@ -13133,10 +13135,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13133
13135
  return { s: function s() {
13134
13136
  t = t.call(r);
13135
13137
  }, n: function n() {
13136
- var r2 = t.next();
13137
- return a = r2.done, r2;
13138
- }, e: function e2(r2) {
13139
- u = true, o = r2;
13138
+ var r = t.next();
13139
+ return a = r.done, r;
13140
+ }, e: function e(r) {
13141
+ u = true, o = r;
13140
13142
  }, f: function f() {
13141
13143
  try {
13142
13144
  a || t["return"] == null || t["return"]();
@@ -13190,13 +13192,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13190
13192
  return (r === "string" ? String : Number)(t);
13191
13193
  }
13192
13194
  var JPEGDecoder = exports.default = /* @__PURE__ */ function() {
13193
- function JPEGDecoder2() {
13194
- _classCallCheck(this, JPEGDecoder2);
13195
+ function JPEGDecoder() {
13196
+ _classCallCheck(this, JPEGDecoder);
13195
13197
  this._cachedQuantTables = [];
13196
13198
  this._cachedHuffmanTables = [];
13197
13199
  this._segments = [];
13198
13200
  }
13199
- return _createClass(JPEGDecoder2, [{
13201
+ return _createClass(JPEGDecoder, [{
13200
13202
  key: "decodeRect",
13201
13203
  value: function decodeRect(x, y, width, height, sock, display, depth) {
13202
13204
  while (true) {
@@ -13227,8 +13229,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13227
13229
  } finally {
13228
13230
  _iterator.f();
13229
13231
  }
13230
- var sofIndex = this._segments.findIndex(function(x2) {
13231
- return x2[1] == 192 || x2[1] == 194;
13232
+ var sofIndex = this._segments.findIndex(function(x) {
13233
+ return x[1] == 192 || x[1] == 194;
13232
13234
  });
13233
13235
  if (sofIndex == -1) {
13234
13236
  throw new Error("Illegal JPEG image without SOF");
@@ -13329,7 +13331,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13329
13331
  });
13330
13332
 
13331
13333
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/decoders/h264.js
13332
- var require_h264 = __commonJS((exports) => {
13334
+ var require_h264 = __commonJS(function(exports) {
13333
13335
  Object.defineProperty(exports, "__esModule", {
13334
13336
  value: true
13335
13337
  });
@@ -13339,8 +13341,8 @@ var require_h264 = __commonJS((exports) => {
13339
13341
  if (typeof WeakMap != "function")
13340
13342
  return null;
13341
13343
  var r = new WeakMap, t = new WeakMap;
13342
- return (_getRequireWildcardCache = function _getRequireWildcardCache2(e2) {
13343
- return e2 ? t : r;
13344
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
13345
+ return e ? t : r;
13344
13346
  })(e);
13345
13347
  }
13346
13348
  function _interopRequireWildcard(e, r) {
@@ -13361,10 +13363,10 @@ var require_h264 = __commonJS((exports) => {
13361
13363
  }
13362
13364
  function _typeof(o) {
13363
13365
  "@babel/helpers - typeof";
13364
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
13365
- return typeof o2;
13366
- } : function(o2) {
13367
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
13366
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
13367
+ return typeof o;
13368
+ } : function(o) {
13369
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
13368
13370
  }, _typeof(o);
13369
13371
  }
13370
13372
  function _slicedToArray(r, e) {
@@ -13400,8 +13402,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13400
13402
  } else
13401
13403
  for (;!(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = true)
13402
13404
  ;
13403
- } catch (r2) {
13404
- o = true, n = r2;
13405
+ } catch (r) {
13406
+ o = true, n = r;
13405
13407
  } finally {
13406
13408
  try {
13407
13409
  if (!f && t["return"] != null && (u = t["return"](), Object(u) !== u))
@@ -13448,15 +13450,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13448
13450
  return (r === "string" ? String : Number)(t);
13449
13451
  }
13450
13452
  var H264Parser = exports.H264Parser = /* @__PURE__ */ function() {
13451
- function H264Parser2(data) {
13452
- _classCallCheck(this, H264Parser2);
13453
+ function H264Parser(data) {
13454
+ _classCallCheck(this, H264Parser);
13453
13455
  this._data = data;
13454
13456
  this._index = 0;
13455
13457
  this.profileIdc = null;
13456
13458
  this.constraintSet = null;
13457
13459
  this.levelIdc = null;
13458
13460
  }
13459
- return _createClass(H264Parser2, [{
13461
+ return _createClass(H264Parser, [{
13460
13462
  key: "_getStartSequenceLen",
13461
13463
  value: function _getStartSequenceLen(index) {
13462
13464
  var data = this._data;
@@ -13527,7 +13529,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13527
13529
  if (startSequenceLen == 0) {
13528
13530
  throw new Error("Invalid start sequence in bit stream");
13529
13531
  }
13530
- var _this$_parseNalUnit = this._parseNalUnit(this._index + startSequenceLen), slice = _this$_parseNalUnit.slice, key = _this$_parseNalUnit.key;
13532
+ var _this$_parseNalUnit = this._parseNalUnit(this._index + startSequenceLen), { slice, key } = _this$_parseNalUnit;
13531
13533
  var nextIndex = this._indexOfNextNalUnit(this._index + startSequenceLen);
13532
13534
  if (nextIndex == -1) {
13533
13535
  this._index = this._data.length;
@@ -13552,8 +13554,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13552
13554
  }]);
13553
13555
  }();
13554
13556
  var H264Context = exports.H264Context = /* @__PURE__ */ function() {
13555
- function H264Context2(width, height) {
13556
- _classCallCheck(this, H264Context2);
13557
+ function H264Context(width, height) {
13558
+ _classCallCheck(this, H264Context);
13557
13559
  this.lastUsed = 0;
13558
13560
  this._width = width;
13559
13561
  this._height = height;
@@ -13563,7 +13565,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13563
13565
  this._decoder = null;
13564
13566
  this._pendingFrames = [];
13565
13567
  }
13566
- return _createClass(H264Context2, [{
13568
+ return _createClass(H264Context, [{
13567
13569
  key: "_handleFrame",
13568
13570
  value: function _handleFrame(frame) {
13569
13571
  var pending = this._pendingFrames.shift();
@@ -13671,12 +13673,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13671
13673
  }]);
13672
13674
  }();
13673
13675
  var H264Decoder = exports.default = /* @__PURE__ */ function() {
13674
- function H264Decoder2() {
13675
- _classCallCheck(this, H264Decoder2);
13676
+ function H264Decoder() {
13677
+ _classCallCheck(this, H264Decoder);
13676
13678
  this._tick = 0;
13677
13679
  this._contexts = {};
13678
13680
  }
13679
- return _createClass(H264Decoder2, [{
13681
+ return _createClass(H264Decoder, [{
13680
13682
  key: "_contextId",
13681
13683
  value: function _contextId(x, y, width, height) {
13682
13684
  return [x, y, width, height].join(",");
@@ -13757,13 +13759,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13757
13759
  });
13758
13760
 
13759
13761
  // ../node_modules/.bun/@novnc+novnc@1.6.0/node_modules/@novnc/novnc/lib/rfb.js
13760
- var require_rfb = __commonJS((exports) => {
13762
+ var require_rfb = __commonJS(function(exports) {
13761
13763
  function _typeof(o) {
13762
13764
  "@babel/helpers - typeof";
13763
- return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
13764
- return typeof o2;
13765
- } : function(o2) {
13766
- return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
13765
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
13766
+ return typeof o;
13767
+ } : function(o) {
13768
+ return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
13767
13769
  }, _typeof(o);
13768
13770
  }
13769
13771
  Object.defineProperty(exports, "__esModule", {
@@ -13806,8 +13808,8 @@ var require_rfb = __commonJS((exports) => {
13806
13808
  if (typeof WeakMap != "function")
13807
13809
  return null;
13808
13810
  var r = new WeakMap, t = new WeakMap;
13809
- return (_getRequireWildcardCache = function _getRequireWildcardCache2(e2) {
13810
- return e2 ? t : r;
13811
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
13812
+ return e ? t : r;
13811
13813
  })(e);
13812
13814
  }
13813
13815
  function _interopRequireWildcard(e, r) {
@@ -13828,31 +13830,31 @@ var require_rfb = __commonJS((exports) => {
13828
13830
  }
13829
13831
  function _regeneratorRuntime() {
13830
13832
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
13831
- _regeneratorRuntime = function _regeneratorRuntime2() {
13833
+ _regeneratorRuntime = function _regeneratorRuntime() {
13832
13834
  return e;
13833
13835
  };
13834
- var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t2, e2, r2) {
13835
- t2[e2] = r2.value;
13836
+ var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t, e, r) {
13837
+ t[e] = r.value;
13836
13838
  }, i = typeof Symbol == "function" ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
13837
- function define(t2, e2, r2) {
13838
- return Object.defineProperty(t2, e2, { value: r2, enumerable: true, configurable: true, writable: true }), t2[e2];
13839
+ function define(t, e, r) {
13840
+ return Object.defineProperty(t, e, { value: r, enumerable: true, configurable: true, writable: true }), t[e];
13839
13841
  }
13840
13842
  try {
13841
13843
  define({}, "");
13842
- } catch (t2) {
13843
- define = function define2(t3, e2, r2) {
13844
- return t3[e2] = r2;
13844
+ } catch (t) {
13845
+ define = function define(t, e, r) {
13846
+ return t[e] = r;
13845
13847
  };
13846
13848
  }
13847
- function wrap(t2, e2, r2, n2) {
13848
- var i2 = e2 && e2.prototype instanceof Generator ? e2 : Generator, a2 = Object.create(i2.prototype), c2 = new Context(n2 || []);
13849
- return o(a2, "_invoke", { value: makeInvokeMethod(t2, r2, c2) }), a2;
13849
+ function wrap(t, e, r, n) {
13850
+ var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []);
13851
+ return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a;
13850
13852
  }
13851
- function tryCatch(t2, e2, r2) {
13853
+ function tryCatch(t, e, r) {
13852
13854
  try {
13853
- return { type: "normal", arg: t2.call(e2, r2) };
13854
- } catch (t3) {
13855
- return { type: "throw", arg: t3 };
13855
+ return { type: "normal", arg: t.call(e, r) };
13856
+ } catch (t) {
13857
+ return { type: "throw", arg: t };
13856
13858
  }
13857
13859
  }
13858
13860
  e.wrap = wrap;
@@ -13867,232 +13869,232 @@ var require_rfb = __commonJS((exports) => {
13867
13869
  var d = Object.getPrototypeOf, v = d && d(d(values([])));
13868
13870
  v && v !== r && n.call(v, a) && (p = v);
13869
13871
  var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
13870
- function defineIteratorMethods(t2) {
13871
- ["next", "throw", "return"].forEach(function(e2) {
13872
- define(t2, e2, function(t3) {
13873
- return this._invoke(e2, t3);
13872
+ function defineIteratorMethods(t) {
13873
+ ["next", "throw", "return"].forEach(function(e) {
13874
+ define(t, e, function(t) {
13875
+ return this._invoke(e, t);
13874
13876
  });
13875
13877
  });
13876
13878
  }
13877
- function AsyncIterator(t2, e2) {
13878
- function invoke(r3, o2, i2, a2) {
13879
- var c2 = tryCatch(t2[r3], t2, o2);
13880
- if (c2.type !== "throw") {
13881
- var u2 = c2.arg, h2 = u2.value;
13882
- return h2 && _typeof(h2) == "object" && n.call(h2, "__await") ? e2.resolve(h2.__await).then(function(t3) {
13883
- invoke("next", t3, i2, a2);
13884
- }, function(t3) {
13885
- invoke("throw", t3, i2, a2);
13886
- }) : e2.resolve(h2).then(function(t3) {
13887
- u2.value = t3, i2(u2);
13888
- }, function(t3) {
13889
- return invoke("throw", t3, i2, a2);
13879
+ function AsyncIterator(t, e) {
13880
+ function invoke(r, o, i, a) {
13881
+ var c = tryCatch(t[r], t, o);
13882
+ if (c.type !== "throw") {
13883
+ var u = c.arg, h = u.value;
13884
+ return h && _typeof(h) == "object" && n.call(h, "__await") ? e.resolve(h.__await).then(function(t) {
13885
+ invoke("next", t, i, a);
13886
+ }, function(t) {
13887
+ invoke("throw", t, i, a);
13888
+ }) : e.resolve(h).then(function(t) {
13889
+ u.value = t, i(u);
13890
+ }, function(t) {
13891
+ return invoke("throw", t, i, a);
13890
13892
  });
13891
13893
  }
13892
- a2(c2.arg);
13894
+ a(c.arg);
13893
13895
  }
13894
- var r2;
13895
- o(this, "_invoke", { value: function value(t3, n2) {
13896
+ var r;
13897
+ o(this, "_invoke", { value: function value(t, n) {
13896
13898
  function callInvokeWithMethodAndArg() {
13897
- return new e2(function(e3, r3) {
13898
- invoke(t3, n2, e3, r3);
13899
+ return new e(function(e, r) {
13900
+ invoke(t, n, e, r);
13899
13901
  });
13900
13902
  }
13901
- return r2 = r2 ? r2.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
13903
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
13902
13904
  } });
13903
13905
  }
13904
- function makeInvokeMethod(e2, r2, n2) {
13905
- var o2 = h;
13906
- return function(i2, a2) {
13907
- if (o2 === f)
13906
+ function makeInvokeMethod(e, r, n) {
13907
+ var o = h;
13908
+ return function(i, a) {
13909
+ if (o === f)
13908
13910
  throw Error("Generator is already running");
13909
- if (o2 === s) {
13910
- if (i2 === "throw")
13911
- throw a2;
13911
+ if (o === s) {
13912
+ if (i === "throw")
13913
+ throw a;
13912
13914
  return { value: t, done: true };
13913
13915
  }
13914
- for (n2.method = i2, n2.arg = a2;; ) {
13915
- var c2 = n2.delegate;
13916
- if (c2) {
13917
- var u2 = maybeInvokeDelegate(c2, n2);
13918
- if (u2) {
13919
- if (u2 === y)
13916
+ for (n.method = i, n.arg = a;; ) {
13917
+ var c = n.delegate;
13918
+ if (c) {
13919
+ var u = maybeInvokeDelegate(c, n);
13920
+ if (u) {
13921
+ if (u === y)
13920
13922
  continue;
13921
- return u2;
13923
+ return u;
13922
13924
  }
13923
13925
  }
13924
- if (n2.method === "next")
13925
- n2.sent = n2._sent = n2.arg;
13926
- else if (n2.method === "throw") {
13927
- if (o2 === h)
13928
- throw o2 = s, n2.arg;
13929
- n2.dispatchException(n2.arg);
13926
+ if (n.method === "next")
13927
+ n.sent = n._sent = n.arg;
13928
+ else if (n.method === "throw") {
13929
+ if (o === h)
13930
+ throw o = s, n.arg;
13931
+ n.dispatchException(n.arg);
13930
13932
  } else
13931
- n2.method === "return" && n2.abrupt("return", n2.arg);
13932
- o2 = f;
13933
- var p2 = tryCatch(e2, r2, n2);
13934
- if (p2.type === "normal") {
13935
- if (o2 = n2.done ? s : l, p2.arg === y)
13933
+ n.method === "return" && n.abrupt("return", n.arg);
13934
+ o = f;
13935
+ var p = tryCatch(e, r, n);
13936
+ if (p.type === "normal") {
13937
+ if (o = n.done ? s : l, p.arg === y)
13936
13938
  continue;
13937
- return { value: p2.arg, done: n2.done };
13939
+ return { value: p.arg, done: n.done };
13938
13940
  }
13939
- p2.type === "throw" && (o2 = s, n2.method = "throw", n2.arg = p2.arg);
13941
+ p.type === "throw" && (o = s, n.method = "throw", n.arg = p.arg);
13940
13942
  }
13941
13943
  };
13942
13944
  }
13943
- function maybeInvokeDelegate(e2, r2) {
13944
- var n2 = r2.method, o2 = e2.iterator[n2];
13945
- if (o2 === t)
13946
- return r2.delegate = null, n2 === "throw" && e2.iterator["return"] && (r2.method = "return", r2.arg = t, maybeInvokeDelegate(e2, r2), r2.method === "throw") || n2 !== "return" && (r2.method = "throw", r2.arg = new TypeError("The iterator does not provide a '" + n2 + "' method")), y;
13947
- var i2 = tryCatch(o2, e2.iterator, r2.arg);
13948
- if (i2.type === "throw")
13949
- return r2.method = "throw", r2.arg = i2.arg, r2.delegate = null, y;
13950
- var a2 = i2.arg;
13951
- return a2 ? a2.done ? (r2[e2.resultName] = a2.value, r2.next = e2.nextLoc, r2.method !== "return" && (r2.method = "next", r2.arg = t), r2.delegate = null, y) : a2 : (r2.method = "throw", r2.arg = new TypeError("iterator result is not an object"), r2.delegate = null, y);
13952
- }
13953
- function pushTryEntry(t2) {
13954
- var e2 = { tryLoc: t2[0] };
13955
- 1 in t2 && (e2.catchLoc = t2[1]), 2 in t2 && (e2.finallyLoc = t2[2], e2.afterLoc = t2[3]), this.tryEntries.push(e2);
13956
- }
13957
- function resetTryEntry(t2) {
13958
- var e2 = t2.completion || {};
13959
- e2.type = "normal", delete e2.arg, t2.completion = e2;
13960
- }
13961
- function Context(t2) {
13962
- this.tryEntries = [{ tryLoc: "root" }], t2.forEach(pushTryEntry, this), this.reset(true);
13963
- }
13964
- function values(e2) {
13965
- if (e2 || e2 === "") {
13966
- var r2 = e2[a];
13967
- if (r2)
13968
- return r2.call(e2);
13969
- if (typeof e2.next == "function")
13970
- return e2;
13971
- if (!isNaN(e2.length)) {
13972
- var o2 = -1, i2 = function next() {
13973
- for (;++o2 < e2.length; )
13974
- if (n.call(e2, o2))
13975
- return next.value = e2[o2], next.done = false, next;
13945
+ function maybeInvokeDelegate(e, r) {
13946
+ var n = r.method, o = e.iterator[n];
13947
+ if (o === t)
13948
+ return r.delegate = null, n === "throw" && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), r.method === "throw") || n !== "return" && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
13949
+ var i = tryCatch(o, e.iterator, r.arg);
13950
+ if (i.type === "throw")
13951
+ return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
13952
+ var a = i.arg;
13953
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, r.method !== "return" && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
13954
+ }
13955
+ function pushTryEntry(t) {
13956
+ var e = { tryLoc: t[0] };
13957
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
13958
+ }
13959
+ function resetTryEntry(t) {
13960
+ var e = t.completion || {};
13961
+ e.type = "normal", delete e.arg, t.completion = e;
13962
+ }
13963
+ function Context(t) {
13964
+ this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(true);
13965
+ }
13966
+ function values(e) {
13967
+ if (e || e === "") {
13968
+ var r = e[a];
13969
+ if (r)
13970
+ return r.call(e);
13971
+ if (typeof e.next == "function")
13972
+ return e;
13973
+ if (!isNaN(e.length)) {
13974
+ var o = -1, i = function next() {
13975
+ for (;++o < e.length; )
13976
+ if (n.call(e, o))
13977
+ return next.value = e[o], next.done = false, next;
13976
13978
  return next.value = t, next.done = true, next;
13977
13979
  };
13978
- return i2.next = i2;
13980
+ return i.next = i;
13979
13981
  }
13980
13982
  }
13981
- throw new TypeError(_typeof(e2) + " is not iterable");
13983
+ throw new TypeError(_typeof(e) + " is not iterable");
13982
13984
  }
13983
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t2) {
13984
- var e2 = typeof t2 == "function" && t2.constructor;
13985
- return !!e2 && (e2 === GeneratorFunction || (e2.displayName || e2.name) === "GeneratorFunction");
13986
- }, e.mark = function(t2) {
13987
- return Object.setPrototypeOf ? Object.setPrototypeOf(t2, GeneratorFunctionPrototype) : (t2.__proto__ = GeneratorFunctionPrototype, define(t2, u, "GeneratorFunction")), t2.prototype = Object.create(g), t2;
13988
- }, e.awrap = function(t2) {
13989
- return { __await: t2 };
13985
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: true }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: true }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t) {
13986
+ var e = typeof t == "function" && t.constructor;
13987
+ return !!e && (e === GeneratorFunction || (e.displayName || e.name) === "GeneratorFunction");
13988
+ }, e.mark = function(t) {
13989
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
13990
+ }, e.awrap = function(t) {
13991
+ return { __await: t };
13990
13992
  }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function() {
13991
13993
  return this;
13992
- }), e.AsyncIterator = AsyncIterator, e.async = function(t2, r2, n2, o2, i2) {
13993
- i2 === undefined && (i2 = Promise);
13994
- var a2 = new AsyncIterator(wrap(t2, r2, n2, o2), i2);
13995
- return e.isGeneratorFunction(r2) ? a2 : a2.next().then(function(t3) {
13996
- return t3.done ? t3.value : a2.next();
13994
+ }), e.AsyncIterator = AsyncIterator, e.async = function(t, r, n, o, i) {
13995
+ i === undefined && (i = Promise);
13996
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
13997
+ return e.isGeneratorFunction(r) ? a : a.next().then(function(t) {
13998
+ return t.done ? t.value : a.next();
13997
13999
  });
13998
14000
  }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function() {
13999
14001
  return this;
14000
14002
  }), define(g, "toString", function() {
14001
14003
  return "[object Generator]";
14002
- }), e.keys = function(t2) {
14003
- var e2 = Object(t2), r2 = [];
14004
- for (var n2 in e2)
14005
- r2.push(n2);
14006
- return r2.reverse(), function next() {
14007
- for (;r2.length; ) {
14008
- var t3 = r2.pop();
14009
- if (t3 in e2)
14010
- return next.value = t3, next.done = false, next;
14004
+ }), e.keys = function(t) {
14005
+ var e = Object(t), r = [];
14006
+ for (var n in e)
14007
+ r.push(n);
14008
+ return r.reverse(), function next() {
14009
+ for (;r.length; ) {
14010
+ var t = r.pop();
14011
+ if (t in e)
14012
+ return next.value = t, next.done = false, next;
14011
14013
  }
14012
14014
  return next.done = true, next;
14013
14015
  };
14014
- }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e2) {
14015
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e2)
14016
- for (var r2 in this)
14017
- r2.charAt(0) === "t" && n.call(this, r2) && !isNaN(+r2.slice(1)) && (this[r2] = t);
14016
+ }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) {
14017
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e)
14018
+ for (var r in this)
14019
+ r.charAt(0) === "t" && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
14018
14020
  }, stop: function stop() {
14019
14021
  this.done = true;
14020
- var t2 = this.tryEntries[0].completion;
14021
- if (t2.type === "throw")
14022
- throw t2.arg;
14022
+ var t = this.tryEntries[0].completion;
14023
+ if (t.type === "throw")
14024
+ throw t.arg;
14023
14025
  return this.rval;
14024
- }, dispatchException: function dispatchException(e2) {
14026
+ }, dispatchException: function dispatchException(e) {
14025
14027
  if (this.done)
14026
- throw e2;
14027
- var r2 = this;
14028
- function handle(n2, o3) {
14029
- return a2.type = "throw", a2.arg = e2, r2.next = n2, o3 && (r2.method = "next", r2.arg = t), !!o3;
14030
- }
14031
- for (var o2 = this.tryEntries.length - 1;o2 >= 0; --o2) {
14032
- var i2 = this.tryEntries[o2], a2 = i2.completion;
14033
- if (i2.tryLoc === "root")
14028
+ throw e;
14029
+ var r = this;
14030
+ function handle(n, o) {
14031
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
14032
+ }
14033
+ for (var o = this.tryEntries.length - 1;o >= 0; --o) {
14034
+ var i = this.tryEntries[o], a = i.completion;
14035
+ if (i.tryLoc === "root")
14034
14036
  return handle("end");
14035
- if (i2.tryLoc <= this.prev) {
14036
- var c2 = n.call(i2, "catchLoc"), u2 = n.call(i2, "finallyLoc");
14037
- if (c2 && u2) {
14038
- if (this.prev < i2.catchLoc)
14039
- return handle(i2.catchLoc, true);
14040
- if (this.prev < i2.finallyLoc)
14041
- return handle(i2.finallyLoc);
14042
- } else if (c2) {
14043
- if (this.prev < i2.catchLoc)
14044
- return handle(i2.catchLoc, true);
14037
+ if (i.tryLoc <= this.prev) {
14038
+ var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc");
14039
+ if (c && u) {
14040
+ if (this.prev < i.catchLoc)
14041
+ return handle(i.catchLoc, true);
14042
+ if (this.prev < i.finallyLoc)
14043
+ return handle(i.finallyLoc);
14044
+ } else if (c) {
14045
+ if (this.prev < i.catchLoc)
14046
+ return handle(i.catchLoc, true);
14045
14047
  } else {
14046
- if (!u2)
14048
+ if (!u)
14047
14049
  throw Error("try statement without catch or finally");
14048
- if (this.prev < i2.finallyLoc)
14049
- return handle(i2.finallyLoc);
14050
+ if (this.prev < i.finallyLoc)
14051
+ return handle(i.finallyLoc);
14050
14052
  }
14051
14053
  }
14052
14054
  }
14053
- }, abrupt: function abrupt(t2, e2) {
14054
- for (var r2 = this.tryEntries.length - 1;r2 >= 0; --r2) {
14055
- var o2 = this.tryEntries[r2];
14056
- if (o2.tryLoc <= this.prev && n.call(o2, "finallyLoc") && this.prev < o2.finallyLoc) {
14057
- var i2 = o2;
14055
+ }, abrupt: function abrupt(t, e) {
14056
+ for (var r = this.tryEntries.length - 1;r >= 0; --r) {
14057
+ var o = this.tryEntries[r];
14058
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
14059
+ var i = o;
14058
14060
  break;
14059
14061
  }
14060
14062
  }
14061
- i2 && (t2 === "break" || t2 === "continue") && i2.tryLoc <= e2 && e2 <= i2.finallyLoc && (i2 = null);
14062
- var a2 = i2 ? i2.completion : {};
14063
- return a2.type = t2, a2.arg = e2, i2 ? (this.method = "next", this.next = i2.finallyLoc, y) : this.complete(a2);
14064
- }, complete: function complete(t2, e2) {
14065
- if (t2.type === "throw")
14066
- throw t2.arg;
14067
- return t2.type === "break" || t2.type === "continue" ? this.next = t2.arg : t2.type === "return" ? (this.rval = this.arg = t2.arg, this.method = "return", this.next = "end") : t2.type === "normal" && e2 && (this.next = e2), y;
14068
- }, finish: function finish(t2) {
14069
- for (var e2 = this.tryEntries.length - 1;e2 >= 0; --e2) {
14070
- var r2 = this.tryEntries[e2];
14071
- if (r2.finallyLoc === t2)
14072
- return this.complete(r2.completion, r2.afterLoc), resetTryEntry(r2), y;
14073
- }
14074
- }, catch: function _catch(t2) {
14075
- for (var e2 = this.tryEntries.length - 1;e2 >= 0; --e2) {
14076
- var r2 = this.tryEntries[e2];
14077
- if (r2.tryLoc === t2) {
14078
- var n2 = r2.completion;
14079
- if (n2.type === "throw") {
14080
- var o2 = n2.arg;
14081
- resetTryEntry(r2);
14063
+ i && (t === "break" || t === "continue") && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
14064
+ var a = i ? i.completion : {};
14065
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
14066
+ }, complete: function complete(t, e) {
14067
+ if (t.type === "throw")
14068
+ throw t.arg;
14069
+ return t.type === "break" || t.type === "continue" ? this.next = t.arg : t.type === "return" ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : t.type === "normal" && e && (this.next = e), y;
14070
+ }, finish: function finish(t) {
14071
+ for (var e = this.tryEntries.length - 1;e >= 0; --e) {
14072
+ var r = this.tryEntries[e];
14073
+ if (r.finallyLoc === t)
14074
+ return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
14075
+ }
14076
+ }, catch: function _catch(t) {
14077
+ for (var e = this.tryEntries.length - 1;e >= 0; --e) {
14078
+ var r = this.tryEntries[e];
14079
+ if (r.tryLoc === t) {
14080
+ var n = r.completion;
14081
+ if (n.type === "throw") {
14082
+ var o = n.arg;
14083
+ resetTryEntry(r);
14082
14084
  }
14083
- return o2;
14085
+ return o;
14084
14086
  }
14085
14087
  }
14086
14088
  throw Error("illegal catch attempt");
14087
- }, delegateYield: function delegateYield(e2, r2, n2) {
14088
- return this.delegate = { iterator: values(e2), resultName: r2, nextLoc: n2 }, this.method === "next" && (this.arg = t), y;
14089
+ }, delegateYield: function delegateYield(e, r, n) {
14090
+ return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, this.method === "next" && (this.arg = t), y;
14089
14091
  } }, e;
14090
14092
  }
14091
14093
  function asyncGeneratorStep(n, t, e, r, o, a, c) {
14092
14094
  try {
14093
14095
  var i = n[a](c), u = i.value;
14094
- } catch (n2) {
14095
- return void e(n2);
14096
+ } catch (n) {
14097
+ return void e(n);
14096
14098
  }
14097
14099
  i.done ? t(u) : Promise.resolve(u).then(r, o);
14098
14100
  }
@@ -14101,11 +14103,11 @@ var require_rfb = __commonJS((exports) => {
14101
14103
  var t = this, e = arguments;
14102
14104
  return new Promise(function(r, o) {
14103
14105
  var a = n.apply(t, e);
14104
- function _next(n2) {
14105
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n2);
14106
+ function _next(n) {
14107
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
14106
14108
  }
14107
- function _throw(n2) {
14108
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n2);
14109
+ function _throw(n) {
14110
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
14109
14111
  }
14110
14112
  _next(undefined);
14111
14113
  });
@@ -14130,8 +14132,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14130
14132
  } else
14131
14133
  for (;!(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = true)
14132
14134
  ;
14133
- } catch (r2) {
14134
- o = true, n = r2;
14135
+ } catch (r) {
14136
+ o = true, n = r;
14135
14137
  } finally {
14136
14138
  try {
14137
14139
  if (!f && t["return"] != null && (u = t["return"](), Object(u) !== u))
@@ -14153,11 +14155,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14153
14155
  if (!t) {
14154
14156
  if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && typeof r.length == "number") {
14155
14157
  t && (r = t);
14156
- var _n = 0, F = function F2() {};
14158
+ var _n = 0, F = function F() {};
14157
14159
  return { s: F, n: function n() {
14158
14160
  return _n >= r.length ? { done: true } : { done: false, value: r[_n++] };
14159
- }, e: function e2(r2) {
14160
- throw r2;
14161
+ }, e: function e(r) {
14162
+ throw r;
14161
14163
  }, f: F };
14162
14164
  }
14163
14165
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
@@ -14167,10 +14169,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14167
14169
  return { s: function s() {
14168
14170
  t = t.call(r);
14169
14171
  }, n: function n() {
14170
- var r2 = t.next();
14171
- return a = r2.done, r2;
14172
- }, e: function e2(r2) {
14173
- u = true, o = r2;
14172
+ var r = t.next();
14173
+ return a = r.done, r;
14174
+ }, e: function e(r) {
14175
+ u = true, o = r;
14174
14176
  }, f: function f() {
14175
14177
  try {
14176
14178
  a || t["return"] == null || t["return"]();
@@ -14241,14 +14243,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14241
14243
  function _isNativeReflectConstruct() {
14242
14244
  try {
14243
14245
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
14244
- } catch (t2) {}
14245
- return (_isNativeReflectConstruct = function _isNativeReflectConstruct2() {
14246
+ } catch (t) {}
14247
+ return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
14246
14248
  return !!t;
14247
14249
  })();
14248
14250
  }
14249
14251
  function _getPrototypeOf(t) {
14250
- return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
14251
- return t2.__proto__ || Object.getPrototypeOf(t2);
14252
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
14253
+ return t.__proto__ || Object.getPrototypeOf(t);
14252
14254
  }, _getPrototypeOf(t);
14253
14255
  }
14254
14256
  function _inherits(t, e) {
@@ -14257,8 +14259,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14257
14259
  t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: true, configurable: true } }), Object.defineProperty(t, "prototype", { writable: false }), e && _setPrototypeOf(t, e);
14258
14260
  }
14259
14261
  function _setPrototypeOf(t, e) {
14260
- return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
14261
- return t2.__proto__ = e2, t2;
14262
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
14263
+ return t.__proto__ = e, t;
14262
14264
  }, _setPrototypeOf(t, e);
14263
14265
  }
14264
14266
  var DISCONNECT_TIMEOUT = 3;
@@ -14291,9 +14293,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14291
14293
  var extendedClipboardActionNotify = 1 << 27;
14292
14294
  var extendedClipboardActionProvide = 1 << 28;
14293
14295
  var RFB = exports.default = /* @__PURE__ */ function(_EventTargetMixin) {
14294
- function RFB2(target, urlOrChannel, options) {
14296
+ function RFB(target, urlOrChannel, options) {
14295
14297
  var _this;
14296
- _classCallCheck(this, RFB2);
14298
+ _classCallCheck(this, RFB);
14297
14299
  if (!target) {
14298
14300
  throw new Error("Must specify target");
14299
14301
  }
@@ -14303,7 +14305,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14303
14305
  if (!window.isSecureContext) {
14304
14306
  Log.Error("noVNC requires a secure context (TLS). Expect crashes!");
14305
14307
  }
14306
- _this = _callSuper(this, RFB2);
14308
+ _this = _callSuper(this, RFB);
14307
14309
  _this._target = target;
14308
14310
  if (typeof urlOrChannel === "string") {
14309
14311
  _this._url = urlOrChannel;
@@ -14399,7 +14401,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14399
14401
  _this._canvas.tabIndex = -1;
14400
14402
  _this._screen.appendChild(_this._canvas);
14401
14403
  _this._cursor = new _cursor["default"];
14402
- _this._cursorImage = RFB2.cursors.none;
14404
+ _this._cursorImage = RFB.cursors.none;
14403
14405
  _this._decoders[_encodings.encodings.encodingRaw] = new _raw["default"];
14404
14406
  _this._decoders[_encodings.encodings.encodingCopyRect] = new _copyrect["default"];
14405
14407
  _this._decoders[_encodings.encodings.encodingRRE] = new _rre["default"];
@@ -14448,8 +14450,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14448
14450
  _this._compressionLevel = 2;
14449
14451
  return _this;
14450
14452
  }
14451
- _inherits(RFB2, _EventTargetMixin);
14452
- return _createClass(RFB2, [{
14453
+ _inherits(RFB, _EventTargetMixin);
14454
+ return _createClass(RFB, [{
14453
14455
  key: "viewOnly",
14454
14456
  get: function get() {
14455
14457
  return this._viewOnly;
@@ -14649,13 +14651,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14649
14651
  if (this._qemuExtKeyEventSupported && scancode) {
14650
14652
  keysym = keysym || 0;
14651
14653
  Log.Info("Sending key (" + (down ? "down" : "up") + "): keysym " + keysym + ", scancode " + scancode);
14652
- RFB2.messages.QEMUExtendedKeyEvent(this._sock, keysym, down, scancode);
14654
+ RFB.messages.QEMUExtendedKeyEvent(this._sock, keysym, down, scancode);
14653
14655
  } else {
14654
14656
  if (!keysym) {
14655
14657
  return;
14656
14658
  }
14657
14659
  Log.Info("Sending keysym (" + (down ? "down" : "up") + "): " + keysym);
14658
- RFB2.messages.keyEvent(this._sock, keysym, down ? 1 : 0);
14660
+ RFB.messages.keyEvent(this._sock, keysym, down ? 1 : 0);
14659
14661
  }
14660
14662
  }
14661
14663
  }, {
@@ -14676,7 +14678,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14676
14678
  }
14677
14679
  if (this._clipboardServerCapabilitiesFormats[extendedClipboardFormatText] && this._clipboardServerCapabilitiesActions[extendedClipboardActionNotify]) {
14678
14680
  this._clipboardText = text;
14679
- RFB2.messages.extendedClipboardNotify(this._sock, [extendedClipboardFormatText]);
14681
+ RFB.messages.extendedClipboardNotify(this._sock, [extendedClipboardFormatText]);
14680
14682
  } else {
14681
14683
  var length, i;
14682
14684
  var data;
@@ -14709,7 +14711,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14709
14711
  } finally {
14710
14712
  _iterator2.f();
14711
14713
  }
14712
- RFB2.messages.clientCutText(this._sock, data);
14714
+ RFB.messages.clientCutText(this._sock, data);
14713
14715
  }
14714
14716
  }
14715
14717
  }, {
@@ -14953,7 +14955,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14953
14955
  }
14954
14956
  this._pendingRemoteResize = true;
14955
14957
  this._lastResize = Date.now();
14956
- RFB2.messages.setDesktopSize(this._sock, Math.floor(size.w), Math.floor(size.h), this._screenID, this._screenFlags);
14958
+ RFB.messages.setDesktopSize(this._sock, Math.floor(size.w), Math.floor(size.h), this._screenID, this._screenFlags);
14957
14959
  Log.Debug("Requested new desktop size: " + size.w + "x" + size.h);
14958
14960
  }
14959
14961
  }, {
@@ -15153,7 +15155,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
15153
15155
  return;
15154
15156
  }
15155
15157
  var pos = (0, _element.clientToElement)(ev.clientX, ev.clientY, this._canvas);
15156
- var bmask = RFB2._convertButtonMask(ev.buttons);
15158
+ var bmask = RFB._convertButtonMask(ev.buttons);
15157
15159
  var down = ev.type == "mousedown";
15158
15160
  switch (ev.type) {
15159
15161
  case "mousedown":
@@ -15249,9 +15251,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
15249
15251
  }
15250
15252
  var extendedMouseButtons = mask & 32640;
15251
15253
  if (this._extendedPointerEventSupported && extendedMouseButtons) {
15252
- RFB2.messages.extendedPointerEvent(this._sock, this._display.absX(x), this._display.absY(y), mask);
15254
+ RFB.messages.extendedPointerEvent(this._sock, this._display.absX(x), this._display.absY(y), mask);
15253
15255
  } else {
15254
- RFB2.messages.pointerEvent(this._sock, this._display.absX(x), this._display.absY(y), mask);
15256
+ RFB.messages.pointerEvent(this._sock, this._display.absX(x), this._display.absY(y), mask);
15255
15257
  }
15256
15258
  }
15257
15259
  }, {
@@ -15266,7 +15268,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
15266
15268
  ev.stopPropagation();
15267
15269
  ev.preventDefault();
15268
15270
  var pos = (0, _element.clientToElement)(ev.clientX, ev.clientY, this._canvas);
15269
- var bmask = RFB2._convertButtonMask(ev.buttons);
15271
+ var bmask = RFB._convertButtonMask(ev.buttons);
15270
15272
  var dX = ev.deltaX;
15271
15273
  var dY = ev.deltaY;
15272
15274
  if (ev.deltaMode !== 0) {
@@ -15745,7 +15747,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
15745
15747
  return false;
15746
15748
  }
15747
15749
  var challenge = Array.prototype.slice.call(this._sock.rQshiftBytes(16));
15748
- var response = RFB2.genDES(this._rfbCredentials.password, challenge);
15750
+ var response = RFB.genDES(this._rfbCredentials.password, challenge);
15749
15751
  this._sock.sQpushBytes(response);
15750
15752
  this._sock.flush();
15751
15753
  this._rfbInitState = "SecurityResult";
@@ -16173,9 +16175,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16173
16175
  Log.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode.");
16174
16176
  this._fbDepth = 8;
16175
16177
  }
16176
- RFB2.messages.pixelFormat(this._sock, this._fbDepth, true);
16178
+ RFB.messages.pixelFormat(this._sock, this._fbDepth, true);
16177
16179
  this._sendEncodings();
16178
- RFB2.messages.fbUpdateRequest(this._sock, false, 0, 0, this._fbWidth, this._fbHeight);
16180
+ RFB.messages.fbUpdateRequest(this._sock, false, 0, 0, this._fbWidth, this._fbHeight);
16179
16181
  this._updateConnectionState("connected");
16180
16182
  return true;
16181
16183
  }
@@ -16214,7 +16216,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16214
16216
  encs.push(_encodings.encodings.pseudoEncodingVMwareCursor);
16215
16217
  encs.push(_encodings.encodings.pseudoEncodingCursor);
16216
16218
  }
16217
- RFB2.messages.clientEncodings(this._sock, encs);
16219
+ RFB.messages.clientEncodings(this._sock, encs);
16218
16220
  }
16219
16221
  }, {
16220
16222
  key: "_initMsg",
@@ -16296,7 +16298,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16296
16298
  this._clipboardServerCapabilitiesActions[_index] = !!(actions & _index);
16297
16299
  }
16298
16300
  var clientActions = [extendedClipboardActionCaps, extendedClipboardActionRequest, extendedClipboardActionPeek, extendedClipboardActionNotify, extendedClipboardActionProvide];
16299
- RFB2.messages.extendedClipboardCaps(this._sock, clientActions, {
16301
+ RFB.messages.extendedClipboardCaps(this._sock, clientActions, {
16300
16302
  extendedClipboardFormatText: 0
16301
16303
  });
16302
16304
  } else if (actions === extendedClipboardActionRequest) {
@@ -16305,7 +16307,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16305
16307
  }
16306
16308
  if (this._clipboardText != null && this._clipboardServerCapabilitiesActions[extendedClipboardActionProvide]) {
16307
16309
  if (formats & extendedClipboardFormatText) {
16308
- RFB2.messages.extendedClipboardProvide(this._sock, [extendedClipboardFormatText], [this._clipboardText]);
16310
+ RFB.messages.extendedClipboardProvide(this._sock, [extendedClipboardFormatText], [this._clipboardText]);
16309
16311
  }
16310
16312
  }
16311
16313
  } else if (actions === extendedClipboardActionPeek) {
@@ -16314,9 +16316,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16314
16316
  }
16315
16317
  if (this._clipboardServerCapabilitiesActions[extendedClipboardActionNotify]) {
16316
16318
  if (this._clipboardText != null) {
16317
- RFB2.messages.extendedClipboardNotify(this._sock, [extendedClipboardFormatText]);
16319
+ RFB.messages.extendedClipboardNotify(this._sock, [extendedClipboardFormatText]);
16318
16320
  } else {
16319
- RFB2.messages.extendedClipboardNotify(this._sock, []);
16321
+ RFB.messages.extendedClipboardNotify(this._sock, []);
16320
16322
  }
16321
16323
  }
16322
16324
  } else if (actions === extendedClipboardActionNotify) {
@@ -16325,7 +16327,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16325
16327
  }
16326
16328
  if (this._clipboardServerCapabilitiesActions[extendedClipboardActionRequest]) {
16327
16329
  if (formats & extendedClipboardFormatText) {
16328
- RFB2.messages.extendedClipboardRequest(this._sock, [extendedClipboardFormatText]);
16330
+ RFB.messages.extendedClipboardRequest(this._sock, [extendedClipboardFormatText]);
16329
16331
  }
16330
16332
  }
16331
16333
  } else if (actions === extendedClipboardActionProvide) {
@@ -16403,7 +16405,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16403
16405
  return this._fail("Unexpected fence response");
16404
16406
  }
16405
16407
  flags &= 1 << 0 | 1 << 1;
16406
- RFB2.messages.clientFence(this._sock, flags, payload);
16408
+ RFB.messages.clientFence(this._sock, flags, payload);
16407
16409
  return true;
16408
16410
  }
16409
16411
  }, {
@@ -16444,7 +16446,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16444
16446
  case 0:
16445
16447
  ret = this._framebufferUpdate();
16446
16448
  if (ret && !this._enabledContinuousUpdates) {
16447
- RFB2.messages.fbUpdateRequest(this._sock, true, 0, 0, this._fbWidth, this._fbHeight);
16449
+ RFB.messages.fbUpdateRequest(this._sock, true, 0, 0, this._fbWidth, this._fbHeight);
16448
16450
  }
16449
16451
  return ret;
16450
16452
  case 1:
@@ -16465,7 +16467,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16465
16467
  this._enabledContinuousUpdates = true;
16466
16468
  this._updateContinuousUpdates();
16467
16469
  Log.Info("Enabling continuous updates.");
16468
- } else {}
16470
+ }
16469
16471
  return true;
16470
16472
  case 248:
16471
16473
  return this._handleServerFenceMsg();
@@ -16768,7 +16770,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16768
16770
  if (!this._enabledContinuousUpdates) {
16769
16771
  return;
16770
16772
  }
16771
- RFB2.messages.enableContinuousUpdates(this._sock, true, 0, 0, this._fbWidth, this._fbHeight);
16773
+ RFB.messages.enableContinuousUpdates(this._sock, true, 0, 0, this._fbWidth, this._fbHeight);
16772
16774
  }
16773
16775
  }, {
16774
16776
  key: "_resize",
@@ -16788,7 +16790,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16788
16790
  return;
16789
16791
  }
16790
16792
  Log.Info("Sending XVP operation " + op + " (version " + ver + ")");
16791
- RFB2.messages.xvpOp(this._sock, ver, op);
16793
+ RFB.messages.xvpOp(this._sock, ver, op);
16792
16794
  }
16793
16795
  }, {
16794
16796
  key: "_updateCursor",
@@ -16821,7 +16823,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16821
16823
  if (this._rfbConnectionState !== "connecting" && this._rfbConnectionState !== "connected") {
16822
16824
  return;
16823
16825
  }
16824
- var image = this._shouldShowDotCursor() ? RFB2.cursors.dot : this._cursorImage;
16826
+ var image = this._shouldShowDotCursor() ? RFB.cursors.dot : this._cursorImage;
16825
16827
  this._cursor.change(image.rgbaPixels, image.hotx, image.hoty, image.w, image.h);
16826
16828
  }
16827
16829
  }], [{