@innovatorved/code-lab 0.1.6 → 0.1.8

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 (51) hide show
  1. package/ARCHITECTURE.md +34 -16
  2. package/README.md +17 -7
  3. package/dist/code-lab.css +26 -0
  4. package/dist/code-lab.d.ts +271 -1
  5. package/dist/code-lab.esm.js +2909 -166
  6. package/dist/code-lab.js +2869 -164
  7. package/dist/csp.d.ts +86 -0
  8. package/dist/diagnostics.d.ts +43 -0
  9. package/dist/extensions/guided-lab.esm.js +66 -0
  10. package/dist/extensions/guided-lab.js +66 -0
  11. package/dist/html.d.ts +24 -0
  12. package/dist/index.d.ts +9 -1
  13. package/dist/logger.d.ts +60 -0
  14. package/dist/preview-sw.js +425 -11
  15. package/dist/runtime.d.ts +6 -27
  16. package/dist/runtime.esm.js +171 -31
  17. package/dist/runtime.js +171 -31
  18. package/dist/schemas.d.ts +366 -25
  19. package/dist/schemas.esm.js +73 -0
  20. package/dist/schemas.js +73 -0
  21. package/dist/scm.d.ts +77 -0
  22. package/dist/search.d.ts +75 -0
  23. package/dist/shell.d.ts +18 -47
  24. package/dist/shell.esm.js +236 -37
  25. package/dist/shell.js +236 -37
  26. package/dist/storage.d.ts +57 -0
  27. package/dist/terminal.d.ts +11 -87
  28. package/dist/terminal.esm.js +124 -7
  29. package/dist/terminal.js +124 -7
  30. package/dist/zip.d.ts +42 -0
  31. package/package.json +11 -3
  32. package/src/code-lab.css +26 -0
  33. package/src/csp.ts +396 -0
  34. package/src/diagnostics.ts +116 -0
  35. package/src/html.ts +88 -0
  36. package/src/index.ts +39 -1
  37. package/src/logger.ts +139 -0
  38. package/src/preview-sw.js +97 -11
  39. package/src/runtime.ts +132 -105
  40. package/src/schemas.ts +94 -1
  41. package/src/scm.ts +268 -0
  42. package/src/search.ts +389 -0
  43. package/src/shell.ts +410 -369
  44. package/src/storage.ts +377 -0
  45. package/src/terminal.ts +898 -918
  46. package/src/workbench.ts +926 -89
  47. package/src/zip.ts +326 -0
  48. package/src/runtime.js +0 -8229
  49. package/src/shell.js +0 -7257
  50. package/src/terminal.js +0 -1046
  51. package/src/workbench.js +0 -7353
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * ============================================================
3
- * @innovatorved/code-lab v2.0.0 — Standalone Browser Code IDE & Virtual Runtime
3
+ * @innovatorved/code-lab v0.1.8 — Standalone Browser Code IDE & Virtual Runtime
4
4
  * ============================================================
5
5
  * Features:
6
6
  * - Sandboxed Web Worker Execution Engine with Multi-Instance Isolation & Watchdog Timer
@@ -15,7 +15,109 @@
15
15
  * ============================================================
16
16
  */
17
17
  const _root = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : {};
18
+ var CodeLabLogger = (() => {
19
+ var __defProp = Object.defineProperty;
20
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
21
+ var __getOwnPropNames = Object.getOwnPropertyNames;
22
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
23
+ var __export = (target, all) => {
24
+ for (var name in all)
25
+ __defProp(target, name, { get: all[name], enumerable: true });
26
+ };
27
+ var __copyProps = (to, from, except, desc) => {
28
+ if (from && typeof from === "object" || typeof from === "function") {
29
+ for (let key of __getOwnPropNames(from))
30
+ if (!__hasOwnProp.call(to, key) && key !== except)
31
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
32
+ }
33
+ return to;
34
+ };
35
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
36
+
37
+ // src/logger.ts
38
+ var logger_exports = {};
39
+ __export(logger_exports, {
40
+ CodeLabError: () => CodeLabError,
41
+ DEFAULT_LOGGER: () => DEFAULT_LOGGER,
42
+ LOG_PREFIX: () => LOG_PREFIX,
43
+ createLogger: () => createLogger,
44
+ default: () => logger_default,
45
+ isCodeLabError: () => isCodeLabError
46
+ });
47
+ var LOG_PREFIX = "[code-lab]";
48
+ var CodeLabError = class extends Error {
49
+ code;
50
+ options;
51
+ cause;
52
+ recoverable;
53
+ details;
54
+ context;
55
+ constructor(code, message, options = {}) {
56
+ super(message);
57
+ this.name = "CodeLabError";
58
+ this.code = code;
59
+ this.options = options;
60
+ this.cause = options.cause;
61
+ this.recoverable = options.recoverable !== false;
62
+ const meta = options.details ?? options.context;
63
+ if (meta !== void 0) {
64
+ this.details = meta;
65
+ this.context = meta;
66
+ }
67
+ Object.setPrototypeOf(this, new.target.prototype);
68
+ }
69
+ };
70
+ function isCodeLabError(value) {
71
+ return Boolean(
72
+ value && typeof value === "object" && (value instanceof CodeLabError || value.name === "CodeLabError" && typeof value.code === "string")
73
+ );
74
+ }
75
+ function createLogger(options = {}) {
76
+ const sink = options.logger ?? null;
77
+ const debugEnabled = options.debug === true;
78
+ const prefix = options.prefix || LOG_PREFIX;
79
+ const write = (level, args) => {
80
+ if (level === "debug" && !debugEnabled) return;
81
+ if (sink && typeof sink[level] === "function") {
82
+ let sinkError = null;
83
+ try {
84
+ sink[level](...args);
85
+ return;
86
+ } catch (err) {
87
+ sinkError = err;
88
+ }
89
+ }
90
+ const consoleObj = typeof console !== "undefined" ? console : null;
91
+ const fn = consoleObj ? consoleObj[level] : null;
92
+ if (typeof fn === "function") {
93
+ fn.call(consoleObj, prefix, ...args);
94
+ }
95
+ };
96
+ return {
97
+ debug: (...args) => write("debug", args),
98
+ info: (...args) => write("info", args),
99
+ warn: (...args) => write("warn", args),
100
+ error: (...args) => write("error", args)
101
+ };
102
+ }
103
+ var DEFAULT_LOGGER = createLogger();
104
+ var _loggerNamespace = {
105
+ LOG_PREFIX,
106
+ CodeLabError,
107
+ isCodeLabError,
108
+ createLogger,
109
+ DEFAULT_LOGGER
110
+ };
111
+ var _globalRoot = typeof globalThis !== "undefined" ? globalThis : null;
112
+ if (_globalRoot && !_globalRoot.CodeLabLogger) {
113
+ _globalRoot.CodeLabLogger = _loggerNamespace;
114
+ }
115
+ var logger_default = _loggerNamespace;
116
+ return __toCommonJS(logger_exports);
117
+ })();
118
+
18
119
  (function () {
120
+ // @ts-nocheck
19
121
  'use strict';
20
122
  if (typeof globalThis !== 'undefined' && typeof globalThis.Bun === 'undefined') {
21
123
  globalThis.Bun = { version: '1.1.20' };
@@ -37,6 +139,14 @@ if (typeof globalThis !== 'undefined' && typeof globalThis.Bun === 'undefined')
37
139
  */
38
140
 
39
141
  function __initVirtualRuntime(rootScope) {
142
+ const _runtimeLogger = (rootScope && rootScope.CodeLabLogger && typeof rootScope.CodeLabLogger.createLogger === 'function')
143
+ ? rootScope.CodeLabLogger.createLogger()
144
+ : {
145
+ debug() {},
146
+ info() {},
147
+ warn(msg, meta) { if (typeof console !== 'undefined' && console.warn) console.warn('[CodeLab]', msg, meta || ''); },
148
+ error(msg, meta) { if (typeof console !== 'undefined' && console.error) console.error('[CodeLab]', msg, meta || ''); }
149
+ };
40
150
  // =========================================================================
41
151
  // 1. UTF-8 / HEX / BASE64 / BASE64URL CODECS & VIRTUAL BUFFER
42
152
  // =========================================================================
@@ -1596,7 +1706,7 @@ function __initVirtualRuntime(rootScope) {
1596
1706
  },
1597
1707
  final(cb) {
1598
1708
  if (fd !== null) {
1599
- try { fsShim.closeSync(fd); } catch (_) {}
1709
+ try { fsShim.closeSync(fd); } catch (err) { _runtimeLogger.debug('vfs writeStream closeSync failed', err); }
1600
1710
  fd = null;
1601
1711
  }
1602
1712
  cb(null);
@@ -2116,7 +2226,9 @@ function __initVirtualRuntime(rootScope) {
2116
2226
  return pathname + search + hash;
2117
2227
  }
2118
2228
  return resolvedUrl.href;
2119
- } catch (_) {}
2229
+ } catch (err) {
2230
+ _runtimeLogger.debug('url.resolve fallback used', err);
2231
+ }
2120
2232
  }
2121
2233
  if (toStr.startsWith('/')) {
2122
2234
  const m = /^([a-zA-Z][a-zA-Z0-9+.-]*:\/\/[^/?#]+)/.exec(fromStr);
@@ -2555,10 +2667,10 @@ function __initVirtualRuntime(rootScope) {
2555
2667
  for (const [port, entry] of Array.from(table.entries())) {
2556
2668
  if (entry.pid !== undefined && String(entry.pid) === pStr) {
2557
2669
  if (entry.server && typeof entry.server.close === 'function') {
2558
- try { entry.server.close(); } catch (_) {}
2670
+ try { entry.server.close(); } catch (err) { _runtimeLogger.debug('portTable server.close failed', err); }
2559
2671
  }
2560
2672
  if (typeof entry.stop === 'function') {
2561
- try { entry.stop(); } catch (_) {}
2673
+ try { entry.stop(); } catch (err) { _runtimeLogger.debug('portTable entry.stop failed', err); }
2562
2674
  }
2563
2675
  // Avoid a double 'close' emission when entry.server.close() already
2564
2676
  // unregistered the port through unregisterServer().
@@ -3195,7 +3307,7 @@ function __initVirtualRuntime(rootScope) {
3195
3307
  },
3196
3308
  closeAllServers() {
3197
3309
  for (const s of Array.from(activeServers.values())) {
3198
- try { s.close(); } catch (_) {}
3310
+ try { s.close(); } catch (err) { _runtimeLogger.debug('vhttp closeAllServers close failed', err); }
3199
3311
  }
3200
3312
  activeServers.clear();
3201
3313
  }
@@ -4021,7 +4133,7 @@ function __initVirtualRuntime(rootScope) {
4021
4133
 
4022
4134
  function closeAllServers() {
4023
4135
  for (const srv of servers.values()) {
4024
- try { srv.close(); } catch (_) {}
4136
+ try { srv.close(); } catch (err) { _runtimeLogger.debug('vnet closeAllServers close failed', err); }
4025
4137
  }
4026
4138
  servers.clear();
4027
4139
  }
@@ -5101,7 +5213,9 @@ function __initVirtualRuntime(rootScope) {
5101
5213
  try {
5102
5214
  const pkgJson = JSON.parse(content);
5103
5215
  for (const dep of Object.keys(pkgJson.dependencies || {})) addSpec(dep);
5104
- } catch (_) {}
5216
+ } catch (err) {
5217
+ _runtimeLogger.debug('preloadNpmPackages invalid package.json', err);
5218
+ }
5105
5219
  continue;
5106
5220
  }
5107
5221
  const reqRe = /\brequire\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
@@ -5130,7 +5244,9 @@ function __initVirtualRuntime(rootScope) {
5130
5244
  const meta = await res.json();
5131
5245
  deps = Object.keys((meta && meta.dependencies) || {});
5132
5246
  }
5133
- } catch (_) {}
5247
+ } catch (err) {
5248
+ _runtimeLogger.debug('preloadNpmPackages metadata fetch failed', { pkg, err });
5249
+ }
5134
5250
  _npmMetadataCache.set(pkg, deps);
5135
5251
  }));
5136
5252
  for (const pkg of pending) {
@@ -5148,7 +5264,7 @@ function __initVirtualRuntime(rootScope) {
5148
5264
  continue;
5149
5265
  }
5150
5266
  if (typeof onProgress === 'function') {
5151
- try { onProgress(pkg); } catch (_) {}
5267
+ try { onProgress(pkg); } catch (err) { _runtimeLogger.debug('preloadNpmPackages onProgress callback failed', err); }
5152
5268
  }
5153
5269
  if (typeof fetch === 'function') {
5154
5270
  try {
@@ -5158,7 +5274,9 @@ function __initVirtualRuntime(rootScope) {
5158
5274
  if (typeof existingCache.set === 'function') existingCache.set(pkg, text);
5159
5275
  loaded[pkg] = text;
5160
5276
  }
5161
- } catch (_) {}
5277
+ } catch (err) {
5278
+ _runtimeLogger.debug('preloadNpmPackages package fetch failed', { pkg, err });
5279
+ }
5162
5280
  }
5163
5281
  }
5164
5282
  return loaded;
@@ -5350,7 +5468,9 @@ function __initVirtualRuntime(rootScope) {
5350
5468
  const dir = VirtualPath.dirname(abs);
5351
5469
  if (!vfs.existsSync(dir)) vfs.mkdirSync(dir, { recursive: true });
5352
5470
  vfs.writeFileSync(abs, content);
5353
- } catch (_) {}
5471
+ } catch (err) {
5472
+ _runtimeLogger.warn('vfs initial file seed failed', { abs, err });
5473
+ }
5354
5474
  }
5355
5475
  }
5356
5476
  const vhttp = createVirtualHttp(resourceTracker, activePortTable);
@@ -5795,7 +5915,7 @@ function __initVirtualRuntime(rootScope) {
5795
5915
  exitCode = Number(code) || 0;
5796
5916
  if (!hasExited) {
5797
5917
  hasExited = true;
5798
- try { sandboxProcess.emit('exit', exitCode); } catch (_) {}
5918
+ try { sandboxProcess.emit('exit', exitCode); } catch (err) { _runtimeLogger.debug('process exit listener threw', err); }
5799
5919
  }
5800
5920
  if (syncExecDepth > 0) {
5801
5921
  throw new ProcessExitSignal(exitCode);
@@ -5828,8 +5948,8 @@ function __initVirtualRuntime(rootScope) {
5828
5948
  resourceTracker.inFlightHttp.clear();
5829
5949
 
5830
5950
  if (!isBackground) {
5831
- try { vhttp.closeAllServers(); } catch (_) {}
5832
- try { vnet.closeAllServers(); } catch (_) {}
5951
+ try { vhttp.closeAllServers(); } catch (err) { _runtimeLogger.debug('SIGINT vhttp closeAllServers failed', err); }
5952
+ try { vnet.closeAllServers(); } catch (err) { _runtimeLogger.debug('SIGINT vnet closeAllServers failed', err); }
5833
5953
  }
5834
5954
  };
5835
5955
 
@@ -5939,10 +6059,10 @@ function __initVirtualRuntime(rootScope) {
5939
6059
  sandboxConsole.log(`✗ ${fullName}\n ${e && e.stack ? e.stack : e}`);
5940
6060
  } finally {
5941
6061
  for (const ae of hooksSnapshot.afterEachList) {
5942
- try { await ae(); } catch (_) {}
6062
+ try { await ae(); } catch (err) { _runtimeLogger.debug('node:test afterEach hook failed', err); }
5943
6063
  }
5944
6064
  for (const af of hooksSnapshot.afterToRun) {
5945
- try { await af(); } catch (_) {}
6065
+ try { await af(); } catch (err) { _runtimeLogger.debug('node:test after hook failed', err); }
5946
6066
  }
5947
6067
  hooksSnapshot.afterToRun.length = 0;
5948
6068
  }
@@ -5990,7 +6110,7 @@ function __initVirtualRuntime(rootScope) {
5990
6110
  const afters = [...suiteCtx.afterCallbacks];
5991
6111
  const cleanupTask = nodeTestChain.then(async () => {
5992
6112
  for (const af of afters) {
5993
- try { await af(); } catch (_) {}
6113
+ try { await af(); } catch (err) { _runtimeLogger.debug('node:test suite after hook failed', err); }
5994
6114
  }
5995
6115
  });
5996
6116
  nodeTestChain = cleanupTask.catch(() => {});
@@ -6036,7 +6156,7 @@ function __initVirtualRuntime(rootScope) {
6036
6156
  getEntriesByName: (n, t) => (entry.name === n && (!t || entry.entryType === t) ? [entry] : []),
6037
6157
  getEntriesByType: (t) => (entry.entryType === t ? [entry] : [])
6038
6158
  };
6039
- try { obs._cb(list, obs); } catch (_) {}
6159
+ try { obs._cb(list, obs); } catch (err) { _runtimeLogger.debug('PerformanceObserver callback failed', err); }
6040
6160
  }
6041
6161
  }
6042
6162
  }
@@ -6141,7 +6261,7 @@ function __initVirtualRuntime(rootScope) {
6141
6261
  getEntriesByName: (n, t) => buffered.filter((e) => e.name === n && (!t || e.entryType === t)),
6142
6262
  getEntriesByType: (t) => buffered.filter((e) => e.entryType === t)
6143
6263
  };
6144
- queueMicrotask(() => { try { this._cb(list, this); } catch (_) {} });
6264
+ queueMicrotask(() => { try { this._cb(list, this); } catch (err) { _runtimeLogger.debug('PerformanceObserver buffered callback failed', err); } });
6145
6265
  }
6146
6266
  }
6147
6267
  }
@@ -7412,7 +7532,9 @@ function __initVirtualRuntime(rootScope) {
7412
7532
  const resolvedEntry = resolveFileOrDirCandidates(VirtualPath.resolve(base, entryRel));
7413
7533
  if (resolvedEntry) return resolvedEntry;
7414
7534
  }
7415
- } catch (_) {}
7535
+ } catch (err) {
7536
+ _runtimeLogger.debug('resolveFileOrDirCandidates package.json parse failed', err);
7537
+ }
7416
7538
  }
7417
7539
  const indexCandidates = ['index.js', 'index.ts', 'index.mjs', 'index.cjs', 'index.json'];
7418
7540
  for (const idx of indexCandidates) {
@@ -7482,7 +7604,9 @@ function __initVirtualRuntime(rootScope) {
7482
7604
  if (found) return found;
7483
7605
  }
7484
7606
  }
7485
- } catch (_) {}
7607
+ } catch (err) {
7608
+ _runtimeLogger.debug('resolveModulePath subpath package.json parse failed', err);
7609
+ }
7486
7610
  }
7487
7611
  const foundSub = resolveFileOrDirCandidates(VirtualPath.join(pkgRoot, subpath));
7488
7612
  if (foundSub) return foundSub;
@@ -7524,7 +7648,9 @@ function __initVirtualRuntime(rootScope) {
7524
7648
  if (isLocal && activePortTable) {
7525
7649
  return await activePortTable.dispatchRequest(urlStr, finalInit);
7526
7650
  }
7527
- } catch (_) {}
7651
+ } catch (err) {
7652
+ _runtimeLogger.debug('virtualFetch local URL dispatch skipped', err);
7653
+ }
7528
7654
 
7529
7655
  if (typeof globalThis.fetch === 'function') {
7530
7656
  return await globalThis.fetch(urlOrReq, init);
@@ -7691,7 +7817,9 @@ function __initVirtualRuntime(rootScope) {
7691
7817
  if (err instanceof SyntaxError && (/\bawait\b/.test(body) || /await/i.test(err.message))) {
7692
7818
  try {
7693
7819
  return new AsyncFunction(...argNames, body);
7694
- } catch (_) {}
7820
+ } catch (asyncErr) {
7821
+ _runtimeLogger.debug('AsyncFunction compilation fallback failed', asyncErr);
7822
+ }
7695
7823
  }
7696
7824
  if (
7697
7825
  err &&
@@ -7745,7 +7873,9 @@ function __initVirtualRuntime(rootScope) {
7745
7873
  if (signal && onAbort) {
7746
7874
  try {
7747
7875
  signal.removeEventListener('abort', onAbort);
7748
- } catch (_) {}
7876
+ } catch (err) {
7877
+ _runtimeLogger.debug('raceWithAbort removeEventListener failed', err);
7878
+ }
7749
7879
  }
7750
7880
  };
7751
7881
 
@@ -7904,11 +8034,11 @@ function __initVirtualRuntime(rootScope) {
7904
8034
  }
7905
8035
  } finally {
7906
8036
  if (signal && signalListener) {
7907
- try { signal.removeEventListener('abort', signalListener); } catch (_) {}
8037
+ try { signal.removeEventListener('abort', signalListener); } catch (err) { _runtimeLogger.debug('executeInVirtualRuntime removeEventListener failed', err); }
7908
8038
  }
7909
8039
  if (!hasExited) {
7910
8040
  hasExited = true;
7911
- try { sandboxProcess.emit('exit', exitCode); } catch (_) {}
8041
+ try { sandboxProcess.emit('exit', exitCode); } catch (err) { _runtimeLogger.debug('executeInVirtualRuntime exit listener failed', err); }
7912
8042
  }
7913
8043
  for (const rawId of resourceTracker.allTimers) {
7914
8044
  clearTimeout(rawId);
@@ -8016,7 +8146,16 @@ function createWorkerRuntimeSource() {
8016
8146
  return `'use strict';\nself.__virtualRuntime = (${__initVirtualRuntime.toString()})(self);\n(${__workerMessageLoop.toString()})(self);\n`;
8017
8147
  }
8018
8148
 
8019
- const _hostRuntime = __initVirtualRuntime(typeof globalThis !== 'undefined' ? globalThis : (typeof window !== 'undefined' ? window : global));
8149
+ const _hostScope = typeof globalThis !== 'undefined' ? globalThis : (typeof window !== 'undefined' ? window : global);
8150
+ const _hostLogger = (_hostScope && _hostScope.CodeLabLogger && typeof _hostScope.CodeLabLogger.createLogger === 'function')
8151
+ ? _hostScope.CodeLabLogger.createLogger()
8152
+ : {
8153
+ debug() {},
8154
+ info() {},
8155
+ warn(msg, meta) { if (typeof console !== 'undefined' && console.warn) console.warn('[CodeLab]', msg, meta || ''); },
8156
+ error(msg, meta) { if (typeof console !== 'undefined' && console.error) console.error('[CodeLab]', msg, meta || ''); }
8157
+ };
8158
+ const _hostRuntime = __initVirtualRuntime(_hostScope);
8020
8159
  _hostRuntime.createWorkerRuntimeSource = createWorkerRuntimeSource;
8021
8160
 
8022
8161
  let _cachedWorkerUrl = null;
@@ -8040,7 +8179,7 @@ function _ensureWarmWorker() {
8040
8179
 
8041
8180
  function _destroyWarmWorker() {
8042
8181
  if (_warmWorker) {
8043
- try { _warmWorker.terminate(); } catch (_) {}
8182
+ try { _warmWorker.terminate(); } catch (err) { _hostLogger.debug('warmWorker.terminate failed', err); }
8044
8183
  _warmWorker = null;
8045
8184
  }
8046
8185
  _warmWorkerBusy = false;
@@ -8095,7 +8234,7 @@ _hostRuntime.executeInWorker = async function executeInWorker(options = {}) {
8095
8234
 
8096
8235
  function releaseWorker(terminateWorker) {
8097
8236
  if (options.signal && abortListener) {
8098
- try { options.signal.removeEventListener('abort', abortListener); } catch (_) {}
8237
+ try { options.signal.removeEventListener('abort', abortListener); } catch (err) { _hostLogger.debug('executeInWorker removeEventListener failed', err); }
8099
8238
  abortListener = null;
8100
8239
  }
8101
8240
  _activeWorkerJobs.delete(requestId);
@@ -8110,7 +8249,7 @@ _hostRuntime.executeInWorker = async function executeInWorker(options = {}) {
8110
8249
  }
8111
8250
  }
8112
8251
  } else {
8113
- try { worker.terminate(); } catch (_) {}
8252
+ try { worker.terminate(); } catch (err) { _hostLogger.debug('worker.terminate failed', err); }
8114
8253
  }
8115
8254
  }
8116
8255
 
@@ -8246,6 +8385,7 @@ if (typeof module !== 'undefined' && module.exports) {
8246
8385
  }
8247
8386
 
8248
8387
 
8388
+
8249
8389
  })();
8250
8390
 
8251
8391
  const CodeLabRuntime = _root.CodeLabRuntime;