@w6w/ui 0.2.67 → 0.2.68

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 (37) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{CodeBlock-C1IC5_6O.cjs → CodeBlock-85y9qvE3.cjs} +4 -4
  3. package/dist/{CodeBlock-C1IC5_6O.cjs.map → CodeBlock-85y9qvE3.cjs.map} +1 -1
  4. package/dist/{CodeBlock-CsdRXzb0.js → CodeBlock-a5QVaIGk.js} +158 -131
  5. package/dist/{CodeBlock-CsdRXzb0.js.map → CodeBlock-a5QVaIGk.js.map} +1 -1
  6. package/dist/NodeConfigForm.d.ts +8 -2
  7. package/dist/StepBuilderModal.d.ts +2 -0
  8. package/dist/code.cjs +1 -1
  9. package/dist/code.mjs +1 -1
  10. package/dist/components/ExecutionLogDock.d.ts +44 -0
  11. package/dist/components/ExecutionLogPanel.d.ts +66 -0
  12. package/dist/components/ExecutionLogView.d.ts +30 -0
  13. package/dist/components/icons.d.ts +1 -1
  14. package/dist/connection-app-meta-DID4zDg-.cjs +29 -0
  15. package/dist/connection-app-meta-DID4zDg-.cjs.map +1 -0
  16. package/dist/{connection-app-meta-DEC0n4PA.js → connection-app-meta-mmyKM3H9.js} +4606 -3725
  17. package/dist/connection-app-meta-mmyKM3H9.js.map +1 -0
  18. package/dist/flow-types.d.ts +25 -1
  19. package/dist/flow.cjs +7 -5
  20. package/dist/flow.cjs.map +1 -1
  21. package/dist/flow.mjs +1119 -980
  22. package/dist/flow.mjs.map +1 -1
  23. package/dist/form-schema.d.ts +34 -0
  24. package/dist/index.cjs +3 -2
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.d.ts +4 -0
  27. package/dist/index.mjs +1683 -1313
  28. package/dist/index.mjs.map +1 -1
  29. package/dist/provider.d.ts +2 -0
  30. package/package.json +2 -2
  31. package/src/styles/_execution-log-view.scss +322 -0
  32. package/src/styles/_form-builder.scss +13 -0
  33. package/src/styles.css +335 -0
  34. package/src/styles.scss +1 -0
  35. package/dist/connection-app-meta-DEC0n4PA.js.map +0 -1
  36. package/dist/connection-app-meta-Dk6F3KEH.cjs +0 -29
  37. package/dist/connection-app-meta-Dk6F3KEH.cjs.map +0 -1
@@ -33,12 +33,12 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
33
33
  }, Te = (e, a) => {
34
34
  for (var r in a)
35
35
  V(e, r, { get: a[r], enumerable: !0 });
36
- }, Re = (e, a, r, l) => {
36
+ }, Be = (e, a, r, l) => {
37
37
  if (a && typeof a == "object" || typeof a == "function")
38
38
  for (let u of ue(a))
39
39
  !J.call(e, u) && u !== r && V(e, u, { get: () => a[u], enumerable: !(l = Ae(a, u)) || l.enumerable });
40
40
  return e;
41
- }, Be = (e, a, r) => (r = e != null ? xe(_e(e)) : {}, Re(
41
+ }, Re = (e, a, r) => (r = e != null ? xe(_e(e)) : {}, Be(
42
42
  // If the importer is in node compatibility mode or this is not an ESM
43
43
  // file that has been converted to a CommonJS file using a Babel-
44
44
  // compatible transform (i.e. "__esModule" has not been set), then set
@@ -102,24 +102,24 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
102
102
  */
103
103
  clone: function n(o, i) {
104
104
  i = i || {};
105
- var y, c;
105
+ var g, c;
106
106
  switch (p.util.type(o)) {
107
107
  case "Object":
108
108
  if (c = p.util.objId(o), i[c])
109
109
  return i[c];
110
- y = /** @type {Record<string, any>} */
111
- {}, i[c] = y;
110
+ g = /** @type {Record<string, any>} */
111
+ {}, i[c] = g;
112
112
  for (var b in o)
113
- o.hasOwnProperty(b) && (y[b] = n(o[b], i));
113
+ o.hasOwnProperty(b) && (g[b] = n(o[b], i));
114
114
  return (
115
115
  /** @type {any} */
116
- y
116
+ g
117
117
  );
118
118
  case "Array":
119
- return c = p.util.objId(o), i[c] ? i[c] : (y = [], i[c] = y, o.forEach(function(E, S) {
120
- y[S] = n(E, i);
119
+ return c = p.util.objId(o), i[c] ? i[c] : (g = [], i[c] = g, o.forEach(function(E, S) {
120
+ g[S] = n(E, i);
121
121
  }), /** @type {any} */
122
- y);
122
+ g);
123
123
  default:
124
124
  return o;
125
125
  }
@@ -171,11 +171,11 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
171
171
  * @returns {boolean}
172
172
  */
173
173
  isActive: function(n, o, i) {
174
- for (var y = "no-" + o; n; ) {
174
+ for (var g = "no-" + o; n; ) {
175
175
  var c = n.classList;
176
176
  if (c.contains(o))
177
177
  return !0;
178
- if (c.contains(y))
178
+ if (c.contains(g))
179
179
  return !1;
180
180
  n = n.parentElement;
181
181
  }
@@ -227,8 +227,8 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
227
227
  */
228
228
  extend: function(n, o) {
229
229
  var i = p.util.clone(p.languages[n]);
230
- for (var y in o)
231
- i[y] = o[y];
230
+ for (var g in o)
231
+ i[g] = o[g];
232
232
  return i;
233
233
  },
234
234
  /**
@@ -306,10 +306,10 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
306
306
  * @returns {Grammar} The new grammar object.
307
307
  * @public
308
308
  */
309
- insertBefore: function(n, o, i, y) {
310
- y = y || /** @type {any} */
309
+ insertBefore: function(n, o, i, g) {
310
+ g = g || /** @type {any} */
311
311
  p.languages;
312
- var c = y[n], b = {};
312
+ var c = g[n], b = {};
313
313
  for (var E in c)
314
314
  if (c.hasOwnProperty(E)) {
315
315
  if (E == o)
@@ -317,18 +317,18 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
317
317
  i.hasOwnProperty(S) && (b[S] = i[S]);
318
318
  i.hasOwnProperty(E) || (b[E] = c[E]);
319
319
  }
320
- var F = y[n];
321
- return y[n] = b, p.languages.DFS(p.languages, function(_, T) {
320
+ var F = g[n];
321
+ return g[n] = b, p.languages.DFS(p.languages, function(_, T) {
322
322
  T === F && _ != n && (this[_] = b);
323
323
  }), b;
324
324
  },
325
325
  // Traverse a language definition with Depth First Search
326
- DFS: function n(o, i, y, c) {
326
+ DFS: function n(o, i, g, c) {
327
327
  c = c || {};
328
328
  var b = p.util.objId;
329
329
  for (var E in o)
330
330
  if (o.hasOwnProperty(E)) {
331
- i.call(o, E, o[E], y || E);
331
+ i.call(o, E, o[E], g || E);
332
332
  var S = o[E], F = p.util.type(S);
333
333
  F === "Object" && !c[b(S)] ? (c[b(S)] = !0, n(S, i, null, c)) : F === "Array" && !c[b(S)] && (c[b(S)] = !0, n(S, i, E, c));
334
334
  }
@@ -356,14 +356,14 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
356
356
  * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
357
357
  */
358
358
  highlight: function(n, o, i) {
359
- var y = {
359
+ var g = {
360
360
  code: n,
361
361
  grammar: o,
362
362
  language: i
363
363
  };
364
- if (p.hooks.run("before-tokenize", y), !y.grammar)
365
- throw new Error('The language "' + y.language + '" has no grammar.');
366
- return y.tokens = p.tokenize(y.code, y.grammar), p.hooks.run("after-tokenize", y), v.stringify(p.util.encode(y.tokens), y.language);
364
+ if (p.hooks.run("before-tokenize", g), !g.grammar)
365
+ throw new Error('The language "' + g.language + '" has no grammar.');
366
+ return g.tokens = p.tokenize(g.code, g.grammar), p.hooks.run("after-tokenize", g), v.stringify(p.util.encode(g.tokens), g.language);
367
367
  },
368
368
  /**
369
369
  * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
@@ -392,8 +392,8 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
392
392
  tokenize: function(n, o) {
393
393
  var i = o.rest;
394
394
  if (i) {
395
- for (var y in i)
396
- o[y] = i[y];
395
+ for (var g in i)
396
+ o[g] = i[g];
397
397
  delete o.rest;
398
398
  }
399
399
  var c = new m();
@@ -434,23 +434,23 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
434
434
  run: function(n, o) {
435
435
  var i = p.hooks.all[n];
436
436
  if (!(!i || !i.length))
437
- for (var y = 0, c; c = i[y++]; )
437
+ for (var g = 0, c; c = i[g++]; )
438
438
  c(o);
439
439
  }
440
440
  },
441
441
  Token: v
442
442
  };
443
- function v(n, o, i, y) {
444
- this.type = n, this.content = o, this.alias = i, this.length = (y || "").length | 0;
443
+ function v(n, o, i, g) {
444
+ this.type = n, this.content = o, this.alias = i, this.length = (g || "").length | 0;
445
445
  }
446
446
  v.stringify = function n(o, i) {
447
447
  if (typeof o == "string")
448
448
  return o;
449
449
  if (Array.isArray(o)) {
450
- var y = "";
450
+ var g = "";
451
451
  return o.forEach(function(F) {
452
- y += n(F, i);
453
- }), y;
452
+ g += n(F, i);
453
+ }), g;
454
454
  }
455
455
  var c = {
456
456
  type: o.type,
@@ -466,16 +466,16 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
466
466
  E += " " + S + '="' + (c.attributes[S] || "").replace(/"/g, "&quot;") + '"';
467
467
  return "<" + c.tag + ' class="' + c.classes.join(" ") + '"' + E + ">" + c.content + "</" + c.tag + ">";
468
468
  };
469
- function g(n, o, i, y) {
469
+ function y(n, o, i, g) {
470
470
  n.lastIndex = o;
471
471
  var c = n.exec(i);
472
- if (c && y && c[1]) {
472
+ if (c && g && c[1]) {
473
473
  var b = c[1].length;
474
474
  c.index += b, c[0] = c[0].slice(b);
475
475
  }
476
476
  return c;
477
477
  }
478
- function f(n, o, i, y, c, b) {
478
+ function f(n, o, i, g, c, b) {
479
479
  for (var E in i)
480
480
  if (!(!i.hasOwnProperty(E) || !i[E])) {
481
481
  var S = i[E];
@@ -483,41 +483,41 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
483
483
  for (var F = 0; F < S.length; ++F) {
484
484
  if (b && b.cause == E + "," + F)
485
485
  return;
486
- var _ = S[F], T = _.inside, R = !!_.lookbehind, C = !!_.greedy, I = _.alias;
486
+ var _ = S[F], T = _.inside, B = !!_.lookbehind, C = !!_.greedy, I = _.alias;
487
487
  if (C && !_.pattern.global) {
488
488
  var N = _.pattern.toString().match(/[imsuy]*$/)[0];
489
489
  _.pattern = RegExp(_.pattern.source, N + "g");
490
490
  }
491
- for (var ee = _.pattern || _, B = y.next, M = c; B !== o.tail && !(b && M >= b.reach); M += B.value.length, B = B.next) {
492
- var P = B.value;
491
+ for (var ee = _.pattern || _, R = g.next, M = c; R !== o.tail && !(b && M >= b.reach); M += R.value.length, R = R.next) {
492
+ var P = R.value;
493
493
  if (o.length > n.length)
494
494
  return;
495
495
  if (!(P instanceof v)) {
496
496
  var Z = 1, O;
497
497
  if (C) {
498
- if (O = g(ee, M, n, R), !O || O.index >= n.length)
498
+ if (O = y(ee, M, n, B), !O || O.index >= n.length)
499
499
  break;
500
- var H = O.index, he = O.index + O[0].length, $ = M;
501
- for ($ += B.value.length; H >= $; )
502
- B = B.next, $ += B.value.length;
503
- if ($ -= B.value.length, M = $, B.value instanceof v)
500
+ var W = O.index, he = O.index + O[0].length, $ = M;
501
+ for ($ += R.value.length; W >= $; )
502
+ R = R.next, $ += R.value.length;
503
+ if ($ -= R.value.length, M = $, R.value instanceof v)
504
504
  continue;
505
- for (var z = B; z !== o.tail && ($ < he || typeof z.value == "string"); z = z.next)
505
+ for (var z = R; z !== o.tail && ($ < he || typeof z.value == "string"); z = z.next)
506
506
  Z++, $ += z.value.length;
507
507
  Z--, P = n.slice(M, $), O.index -= M;
508
- } else if (O = g(ee, 0, P, R), !O)
508
+ } else if (O = y(ee, 0, P, B), !O)
509
509
  continue;
510
- var H = O.index, W = O[0], Y = P.slice(0, H), te = P.slice(H + W.length), K = M + P.length;
510
+ var W = O.index, H = O[0], Y = P.slice(0, W), te = P.slice(W + H.length), K = M + P.length;
511
511
  b && K > b.reach && (b.reach = K);
512
- var U = B.prev;
512
+ var U = R.prev;
513
513
  Y && (U = d(o, U, Y), M += Y.length), w(o, U, Z);
514
- var me = new v(E, T ? p.tokenize(W, T) : W, I, W);
515
- if (B = d(o, U, me), te && d(o, B, te), Z > 1) {
514
+ var me = new v(E, T ? p.tokenize(H, T) : H, I, H);
515
+ if (R = d(o, U, me), te && d(o, R, te), Z > 1) {
516
516
  var X = {
517
517
  cause: E + "," + F,
518
518
  reach: K
519
519
  };
520
- f(n, o, i, B.prev, M, X), b && X.reach > b.reach && (b.reach = X.reach);
520
+ f(n, o, i, R.prev, M, X), b && X.reach > b.reach && (b.reach = X.reach);
521
521
  }
522
522
  }
523
523
  }
@@ -529,13 +529,13 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
529
529
  n.next = o, this.head = n, this.tail = o, this.length = 0;
530
530
  }
531
531
  function d(n, o, i) {
532
- var y = o.next, c = { value: i, prev: o, next: y };
533
- return o.next = c, y.prev = c, n.length++, c;
532
+ var g = o.next, c = { value: i, prev: o, next: g };
533
+ return o.next = c, g.prev = c, n.length++, c;
534
534
  }
535
535
  function w(n, o, i) {
536
- for (var y = o.next, c = 0; c < i && y !== n.tail; c++)
537
- y = y.next;
538
- o.next = y, y.prev = o, n.length -= c;
536
+ for (var g = o.next, c = 0; c < i && g !== n.tail; c++)
537
+ g = g.next;
538
+ o.next = g, g.prev = o, n.length -= c;
539
539
  }
540
540
  function A(n) {
541
541
  for (var o = [], i = n.head.next; i !== n.tail; )
@@ -546,7 +546,7 @@ var xe = Object.create, V = Object.defineProperty, Ee = Object.defineProperties,
546
546
  })();
547
547
  a.exports = r, r.default = r;
548
548
  }
549
- }), s = Be(Le());
549
+ }), s = Re(Le());
550
550
  s.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy: !0 }, prolog: { pattern: /<\?[\s\S]+?\?>/, greedy: !0 }, doctype: { pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i, greedy: !0, inside: { "internal-subset": { pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/, lookbehind: !0, greedy: !0, inside: null }, string: { pattern: /"[^"]*"|'[^']*'/, greedy: !0 }, punctuation: /^<!|>$|[[\]]/, "doctype-tag": /^DOCTYPE/i, name: /[^\s<>'"]+/ } }, cdata: { pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i, greedy: !0 }, tag: { pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/, greedy: !0, inside: { tag: { pattern: /^<\/?[^\s>\/]+/, inside: { punctuation: /^<\/?/, namespace: /^[^\s>\/:]+:/ } }, "special-attr": [], "attr-value": { pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/, inside: { punctuation: [{ pattern: /^=/, alias: "attr-equals" }, { pattern: /^(\s*)["']|["']$/, lookbehind: !0 }] } }, punctuation: /\/?>/, "attr-name": { pattern: /[^\s>\/]+/, inside: { namespace: /^[^\s>\/:]+:/ } } } }, entity: [{ pattern: /&[\da-z]{1,8};/i, alias: "named-entity" }, /&#x?[\da-f]{1,8};/i] }, s.languages.markup.tag.inside["attr-value"].inside.entity = s.languages.markup.entity, s.languages.markup.doctype.inside["internal-subset"].inside = s.languages.markup, s.hooks.add("wrap", function(e) {
551
551
  e.type === "entity" && (e.attributes.title = e.content.replace(/&amp;/, "&"));
552
552
  }), Object.defineProperty(s.languages.markup.tag, "addInlined", { value: function(e, l) {
@@ -570,12 +570,12 @@ s.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
570
570
  d.inside || (d.inside = {}), d.inside.rest = l;
571
571
  }, p = "doc-comment";
572
572
  if (v = e.languages[u]) {
573
- var v, g = v[p];
574
- if ((g = g || (v = e.languages.insertBefore(u, "comment", { "doc-comment": { pattern: /(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/, lookbehind: !0, alias: "comment" } }))[p]) instanceof RegExp && (g = v[p] = { pattern: g }), Array.isArray(g))
575
- for (var f = 0, m = g.length; f < m; f++)
576
- g[f] instanceof RegExp && (g[f] = { pattern: g[f] }), k(g[f]);
573
+ var v, y = v[p];
574
+ if ((y = y || (v = e.languages.insertBefore(u, "comment", { "doc-comment": { pattern: /(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/, lookbehind: !0, alias: "comment" } }))[p]) instanceof RegExp && (y = v[p] = { pattern: y }), Array.isArray(y))
575
+ for (var f = 0, m = y.length; f < m; f++)
576
+ y[f] instanceof RegExp && (y[f] = { pattern: y[f] }), k(y[f]);
577
577
  else
578
- k(g);
578
+ k(y);
579
579
  }
580
580
  });
581
581
  } }), a.addSupport(["java", "javascript", "php"], a);
@@ -589,14 +589,14 @@ s.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
589
589
  var a = /[*&][^\s[\]{},]+/, r = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, l = "(?:" + r.source + "(?:[ ]+" + a.source + ")?|" + a.source + "(?:[ ]+" + r.source + ")?)", u = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
590
590
  return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
591
591
  }), k = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
592
- function p(v, g) {
593
- g = (g || "").replace(/m/g, "") + "m";
592
+ function p(v, y) {
593
+ y = (y || "").replace(/m/g, "") + "m";
594
594
  var f = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
595
595
  return l;
596
596
  }).replace(/<<value>>/g, function() {
597
597
  return v;
598
598
  });
599
- return RegExp(f, g);
599
+ return RegExp(f, y);
600
600
  }
601
601
  e.languages.yaml = { scalar: { pattern: RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g, function() {
602
602
  return l;
@@ -637,16 +637,16 @@ s.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
637
637
  }
638
638
  var n, o = e.languages[m];
639
639
  o ? f.content = e.highlight((function(i) {
640
- return i = i.replace(p, ""), i = i.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(y, c) {
640
+ return i = i.replace(p, ""), i = i.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(g, c) {
641
641
  var b;
642
- return (c = c.toLowerCase())[0] === "#" ? (b = c[1] === "x" ? parseInt(c.slice(2), 16) : Number(c.slice(1)), g(b)) : v[c] || y;
642
+ return (c = c.toLowerCase())[0] === "#" ? (b = c[1] === "x" ? parseInt(c.slice(2), 16) : Number(c.slice(1)), y(b)) : v[c] || g;
643
643
  });
644
644
  })(f.content), o, m) : m && m !== "none" && e.plugins.autoloader && (n = "md-" + (/* @__PURE__ */ new Date()).valueOf() + "-" + Math.floor(1e16 * Math.random()), f.attributes.id = n, e.plugins.autoloader.loadLanguages(m, function() {
645
645
  var i = document.getElementById(n);
646
646
  i && (i.innerHTML = e.highlight(i.textContent, e.languages[m], m));
647
647
  }));
648
648
  }
649
- }), RegExp(e.languages.markup.tag.pattern.source, "gi")), v = { amp: "&", lt: "<", gt: ">", quot: '"' }, g = String.fromCodePoint || String.fromCharCode;
649
+ }), RegExp(e.languages.markup.tag.pattern.source, "gi")), v = { amp: "&", lt: "<", gt: ">", quot: '"' }, y = String.fromCodePoint || String.fromCharCode;
650
650
  e.languages.md = e.languages.markdown;
651
651
  })(s), s.languages.graphql = { comment: /#.*/, description: { pattern: /(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i, greedy: !0, alias: "string", inside: { "language-markdown": { pattern: /(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/, lookbehind: !0, inside: s.languages.markdown } } }, string: { pattern: /"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/, greedy: !0 }, number: /(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i, boolean: /\b(?:false|true)\b/, variable: /\$[a-z_]\w*/i, directive: { pattern: /@[a-z_]\w*/i, alias: "function" }, "attr-name": { pattern: /\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i, greedy: !0 }, "atom-input": { pattern: /\b[A-Z]\w*Input\b/, alias: "class-name" }, scalar: /\b(?:Boolean|Float|ID|Int|String)\b/, constant: /\b[A-Z][A-Z_\d]*\b/, "class-name": { pattern: /(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/, lookbehind: !0 }, fragment: { pattern: /(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/, lookbehind: !0, alias: "function" }, "definition-mutation": { pattern: /(\bmutation\s+)[a-zA-Z_]\w*/, lookbehind: !0, alias: "function" }, "definition-query": { pattern: /(\bquery\s+)[a-zA-Z_]\w*/, lookbehind: !0, alias: "function" }, keyword: /\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/, operator: /[!=|&]|\.{3}/, "property-query": /\w+(?=\s*\()/, object: /\w+(?=\s*\{)/, punctuation: /[!(){}\[\]:=,]/, property: /\w+/ }, s.hooks.add("after-tokenize", function(e) {
652
652
  if (e.language === "graphql")
@@ -670,8 +670,8 @@ s.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
670
670
  if (d(["punctuation", "property-query"]) && m(0).content === "{" && (r++, A(m(0), "property-mutation"), 0 < u.length)) {
671
671
  var v = w(/^\{$/, /^\}$/);
672
672
  if (v !== -1)
673
- for (var g = r; g < v; g++) {
674
- var f = a[g];
673
+ for (var y = r; y < v; y++) {
674
+ var f = a[y];
675
675
  f.type === "variable" && 0 <= u.indexOf(f.content) && A(f, "variable-input");
676
676
  }
677
677
  }
@@ -683,20 +683,20 @@ s.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
683
683
  function d(n, o) {
684
684
  o = o || 0;
685
685
  for (var i = 0; i < n.length; i++) {
686
- var y = m(i + o);
687
- if (!y || y.type !== n[i])
686
+ var g = m(i + o);
687
+ if (!g || g.type !== n[i])
688
688
  return;
689
689
  }
690
690
  return 1;
691
691
  }
692
692
  function w(n, o) {
693
- for (var i = 1, y = r; y < a.length; y++) {
694
- var c = a[y], b = c.content;
693
+ for (var i = 1, g = r; g < a.length; g++) {
694
+ var c = a[g], b = c.content;
695
695
  if (c.type === "punctuation" && typeof b == "string") {
696
696
  if (n.test(b))
697
697
  i++;
698
698
  else if (o.test(b) && --i === 0)
699
- return y;
699
+ return g;
700
700
  }
701
701
  }
702
702
  return -1;
@@ -714,20 +714,20 @@ s.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
714
714
  function v(d, w, A) {
715
715
  return d = { code: d, grammar: w, language: A }, e.hooks.run("before-tokenize", d), d.tokens = e.tokenize(d.code, d.grammar), e.hooks.run("after-tokenize", d), d.tokens;
716
716
  }
717
- function g(d, w, A) {
717
+ function y(d, w, A) {
718
718
  var i = e.tokenize(d, { interpolation: { pattern: RegExp(k), lookbehind: !0 } }), n = 0, o = {}, i = v(i.map(function(c) {
719
719
  if (typeof c == "string")
720
720
  return c;
721
721
  for (var b, E, c = c.content; d.indexOf((E = n++, b = "___" + A.toUpperCase() + "_" + E + "___")) !== -1; )
722
722
  ;
723
723
  return o[b] = c, b;
724
- }).join(""), w, A), y = Object.keys(o);
724
+ }).join(""), w, A), g = Object.keys(o);
725
725
  return n = 0, (function c(b) {
726
726
  for (var E = 0; E < b.length; E++) {
727
- if (n >= y.length)
727
+ if (n >= g.length)
728
728
  return;
729
- var S, F, _, T, R, C, I, N = b[E];
730
- typeof N == "string" || typeof N.content == "string" ? (S = y[n], (I = (C = typeof N == "string" ? N : N.content).indexOf(S)) !== -1 && (++n, F = C.substring(0, I), R = o[S], _ = void 0, (T = {})["interpolation-punctuation"] = u, (T = e.tokenize(R, T)).length === 3 && ((_ = [1, 1]).push.apply(_, v(T[1], e.languages.javascript, "javascript")), T.splice.apply(T, _)), _ = new e.Token("interpolation", T, l.alias, R), T = C.substring(I + S.length), R = [], F && R.push(F), R.push(_), T && (c(C = [T]), R.push.apply(R, C)), typeof N == "string" ? (b.splice.apply(b, [E, 1].concat(R)), E += R.length - 1) : N.content = R)) : (I = N.content, Array.isArray(I) ? c(I) : c([I]));
729
+ var S, F, _, T, B, C, I, N = b[E];
730
+ typeof N == "string" || typeof N.content == "string" ? (S = g[n], (I = (C = typeof N == "string" ? N : N.content).indexOf(S)) !== -1 && (++n, F = C.substring(0, I), B = o[S], _ = void 0, (T = {})["interpolation-punctuation"] = u, (T = e.tokenize(B, T)).length === 3 && ((_ = [1, 1]).push.apply(_, v(T[1], e.languages.javascript, "javascript")), T.splice.apply(T, _)), _ = new e.Token("interpolation", T, l.alias, B), T = C.substring(I + S.length), B = [], F && B.push(F), B.push(_), T && (c(C = [T]), B.push.apply(B, C)), typeof N == "string" ? (b.splice.apply(b, [E, 1].concat(B)), E += B.length - 1) : N.content = B)) : (I = N.content, Array.isArray(I) ? c(I) : c([I]));
731
731
  }
732
732
  })(i), new e.Token(A, i, "language-" + A, d);
733
733
  }
@@ -739,8 +739,8 @@ s.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
739
739
  e.hooks.add("after-tokenize", function(d) {
740
740
  d.language in f && (function w(A) {
741
741
  for (var n = 0, o = A.length; n < o; n++) {
742
- var i, y, c, b = A[n];
743
- typeof b != "string" && (i = b.content, Array.isArray(i) ? b.type === "template-string" ? (b = i[1], i.length === 3 && typeof b != "string" && b.type === "embedded-code" && (y = m(b), b = b.alias, b = Array.isArray(b) ? b[0] : b, c = e.languages[b]) && (i[1] = g(y, c, b))) : w(i) : typeof i != "string" && w([i]));
742
+ var i, g, c, b = A[n];
743
+ typeof b != "string" && (i = b.content, Array.isArray(i) ? b.type === "template-string" ? (b = i[1], i.length === 3 && typeof b != "string" && b.type === "embedded-code" && (g = m(b), b = b.alias, b = Array.isArray(b) ? b[0] : b, c = e.languages[b]) && (i[1] = y(g, c, b))) : w(i) : typeof i != "string" && w([i]));
744
744
  }
745
745
  })(d.tokens);
746
746
  });
@@ -768,27 +768,27 @@ s.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
768
768
  }
769
769
  })(s), (function(e) {
770
770
  var a = e.util.clone(e.languages.javascript), r = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, l = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, u = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
771
- function k(g, f) {
772
- return g = g.replace(/<S>/g, function() {
771
+ function k(y, f) {
772
+ return y = y.replace(/<S>/g, function() {
773
773
  return r;
774
774
  }).replace(/<BRACES>/g, function() {
775
775
  return l;
776
776
  }).replace(/<SPREAD>/g, function() {
777
777
  return u;
778
- }), RegExp(g, f);
778
+ }), RegExp(y, f);
779
779
  }
780
780
  u = k(u).source, e.languages.jsx = e.languages.extend("markup", a), e.languages.jsx.tag.pattern = k(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source), e.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/, e.languages.jsx.tag.inside["attr-value"].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/, e.languages.jsx.tag.inside.tag.inside["class-name"] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/, e.languages.jsx.tag.inside.comment = a.comment, e.languages.insertBefore("inside", "attr-name", { spread: { pattern: k(/<SPREAD>/.source), inside: e.languages.jsx } }, e.languages.jsx.tag), e.languages.insertBefore("inside", "special-attr", { script: { pattern: k(/=<BRACES>/.source), alias: "language-javascript", inside: { "script-punctuation": { pattern: /^=(?=\{)/, alias: "punctuation" }, rest: e.languages.jsx } } }, e.languages.jsx.tag);
781
- function p(g) {
782
- for (var f = [], m = 0; m < g.length; m++) {
783
- var d = g[m], w = !1;
784
- typeof d != "string" && (d.type === "tag" && d.content[0] && d.content[0].type === "tag" ? d.content[0].content[0].content === "</" ? 0 < f.length && f[f.length - 1].tagName === v(d.content[0].content[1]) && f.pop() : d.content[d.content.length - 1].content !== "/>" && f.push({ tagName: v(d.content[0].content[1]), openedBraces: 0 }) : 0 < f.length && d.type === "punctuation" && d.content === "{" ? f[f.length - 1].openedBraces++ : 0 < f.length && 0 < f[f.length - 1].openedBraces && d.type === "punctuation" && d.content === "}" ? f[f.length - 1].openedBraces-- : w = !0), (w || typeof d == "string") && 0 < f.length && f[f.length - 1].openedBraces === 0 && (w = v(d), m < g.length - 1 && (typeof g[m + 1] == "string" || g[m + 1].type === "plain-text") && (w += v(g[m + 1]), g.splice(m + 1, 1)), 0 < m && (typeof g[m - 1] == "string" || g[m - 1].type === "plain-text") && (w = v(g[m - 1]) + w, g.splice(m - 1, 1), m--), g[m] = new e.Token("plain-text", w, null, w)), d.content && typeof d.content != "string" && p(d.content);
781
+ function p(y) {
782
+ for (var f = [], m = 0; m < y.length; m++) {
783
+ var d = y[m], w = !1;
784
+ typeof d != "string" && (d.type === "tag" && d.content[0] && d.content[0].type === "tag" ? d.content[0].content[0].content === "</" ? 0 < f.length && f[f.length - 1].tagName === v(d.content[0].content[1]) && f.pop() : d.content[d.content.length - 1].content !== "/>" && f.push({ tagName: v(d.content[0].content[1]), openedBraces: 0 }) : 0 < f.length && d.type === "punctuation" && d.content === "{" ? f[f.length - 1].openedBraces++ : 0 < f.length && 0 < f[f.length - 1].openedBraces && d.type === "punctuation" && d.content === "}" ? f[f.length - 1].openedBraces-- : w = !0), (w || typeof d == "string") && 0 < f.length && f[f.length - 1].openedBraces === 0 && (w = v(d), m < y.length - 1 && (typeof y[m + 1] == "string" || y[m + 1].type === "plain-text") && (w += v(y[m + 1]), y.splice(m + 1, 1)), 0 < m && (typeof y[m - 1] == "string" || y[m - 1].type === "plain-text") && (w = v(y[m - 1]) + w, y.splice(m - 1, 1), m--), y[m] = new e.Token("plain-text", w, null, w)), d.content && typeof d.content != "string" && p(d.content);
785
785
  }
786
786
  }
787
- var v = function(g) {
788
- return g ? typeof g == "string" ? g : typeof g.content == "string" ? g.content : g.content.map(v).join("") : "";
787
+ var v = function(y) {
788
+ return y ? typeof y == "string" ? y : typeof y.content == "string" ? y.content : y.content.map(v).join("") : "";
789
789
  };
790
- e.hooks.add("after-tokenize", function(g) {
791
- g.language !== "jsx" && g.language !== "tsx" || p(g.tokens);
790
+ e.hooks.add("after-tokenize", function(y) {
791
+ y.language !== "jsx" && y.language !== "tsx" || p(y.tokens);
792
792
  });
793
793
  })(s), (function(e) {
794
794
  var a = e.util.clone(e.languages.typescript), a = (e.languages.tsx = e.languages.extend("jsx", a), delete e.languages.tsx.parameter, delete e.languages.tsx["literal-property"], e.languages.tsx.tag);
@@ -828,16 +828,16 @@ Te(Ie, {
828
828
  jettwaveDark: () => it,
829
829
  jettwaveLight: () => ct,
830
830
  nightOwl: () => Ze,
831
- nightOwlLight: () => We,
831
+ nightOwlLight: () => He,
832
832
  oceanicNext: () => Ge,
833
833
  okaidia: () => qe,
834
834
  oneDark: () => pt,
835
- oneLight: () => gt,
835
+ oneLight: () => yt,
836
836
  palenight: () => Ke,
837
837
  shadesOfPurple: () => Qe,
838
838
  synthwave84: () => et,
839
839
  ultramin: () => at,
840
- vsDark: () => ge,
840
+ vsDark: () => ye,
841
841
  vsLight: () => ot
842
842
  });
843
843
  var Oe = {
@@ -1271,7 +1271,7 @@ var Oe = {
1271
1271
  }
1272
1272
  }
1273
1273
  ]
1274
- }, Ze = je, He = {
1274
+ }, Ze = je, We = {
1275
1275
  plain: {
1276
1276
  color: "#403f53",
1277
1277
  backgroundColor: "#FBFBFB"
@@ -1363,7 +1363,7 @@ var Oe = {
1363
1363
  }
1364
1364
  }
1365
1365
  ]
1366
- }, We = He, L = {
1366
+ }, He = We, L = {
1367
1367
  char: "#D8DEE9",
1368
1368
  comment: "#999999",
1369
1369
  keyword: "#c5a5c5",
@@ -2045,7 +2045,7 @@ var Oe = {
2045
2045
  }
2046
2046
  }
2047
2047
  ]
2048
- }, ge = rt, nt = {
2048
+ }, ye = rt, nt = {
2049
2049
  plain: {
2050
2050
  color: "#000000",
2051
2051
  backgroundColor: "#ffffff"
@@ -2515,7 +2515,7 @@ var Oe = {
2515
2515
  }
2516
2516
  }
2517
2517
  ]
2518
- }, gt = dt, yt = {
2518
+ }, yt = dt, gt = {
2519
2519
  plain: {
2520
2520
  color: "#ebdbb2",
2521
2521
  backgroundColor: "#292828"
@@ -2588,7 +2588,7 @@ var Oe = {
2588
2588
  }
2589
2589
  }
2590
2590
  ]
2591
- }, ft = yt, bt = {
2591
+ }, ft = gt, bt = {
2592
2592
  plain: {
2593
2593
  color: "#654735",
2594
2594
  backgroundColor: "#f9f5d7"
@@ -2690,12 +2690,12 @@ var Oe = {
2690
2690
  return j(
2691
2691
  (r) => {
2692
2692
  var l = r, { token: u, className: k, style: p } = l, v = de(l, ["token", "className", "style"]);
2693
- const g = q(D({}, v), {
2693
+ const y = q(D({}, v), {
2694
2694
  className: ce("token", ...u.types, k),
2695
2695
  children: u.content,
2696
2696
  style: a(u)
2697
2697
  });
2698
- return p != null && (g.style = D(D({}, g.style || {}), p)), g;
2698
+ return p != null && (y.style = D(D({}, y.style || {}), p)), y;
2699
2699
  },
2700
2700
  [a]
2701
2701
  );
@@ -2713,7 +2713,7 @@ var Oe = {
2713
2713
  }, wt = (e) => {
2714
2714
  const a = [[]], r = [e], l = [0], u = [e.length];
2715
2715
  let k = 0, p = 0, v = [];
2716
- const g = [v];
2716
+ const y = [v];
2717
2717
  for (; p > -1; ) {
2718
2718
  for (; (k = l[p]++) < u[p]; ) {
2719
2719
  let f, m = a[p];
@@ -2728,14 +2728,14 @@ var Oe = {
2728
2728
  content: A[0]
2729
2729
  });
2730
2730
  for (let o = 1; o < n; o++)
2731
- re(v), g.push(v = []), v.push({
2731
+ re(v), y.push(v = []), v.push({
2732
2732
  types: m,
2733
2733
  content: A[o]
2734
2734
  });
2735
2735
  }
2736
2736
  p--, a.pop(), r.pop(), l.pop(), u.pop();
2737
2737
  }
2738
- return re(v), g;
2738
+ return re(v), y;
2739
2739
  }, oe = wt, xt = ({ prism: e, code: a, grammar: r, language: l }) => ve(() => {
2740
2740
  if (r == null)
2741
2741
  return oe([a]);
@@ -2755,9 +2755,9 @@ var Oe = {
2755
2755
  ]), Et = (e, a) => {
2756
2756
  const { plain: r } = e, l = e.styles.reduce((u, k) => {
2757
2757
  const { languages: p, style: v } = k;
2758
- return p && !p.includes(a) || k.types.forEach((g) => {
2759
- const f = D(D({}, u[g]), v);
2760
- u[g] = f;
2758
+ return p && !p.includes(a) || k.types.forEach((y) => {
2759
+ const f = D(D({}, u[y]), v);
2760
+ u[y] = f;
2761
2761
  }), u;
2762
2762
  }, {});
2763
2763
  return l.root = r, l.plain = q(D({}, r), { backgroundColor: void 0 }), l;
@@ -2768,17 +2768,17 @@ var Oe = {
2768
2768
  theme: l,
2769
2769
  prism: u
2770
2770
  }) => {
2771
- const k = a.toLowerCase(), p = At(l, k), v = mt(p), g = vt(p), f = u.languages[k], m = xt({ prism: u, language: k, code: r, grammar: f });
2771
+ const k = a.toLowerCase(), p = At(l, k), v = mt(p), y = vt(p), f = u.languages[k], m = xt({ prism: u, language: k, code: r, grammar: f });
2772
2772
  return e({
2773
2773
  tokens: m,
2774
2774
  className: `prism-code language-${k}`,
2775
2775
  style: p != null ? p.root : {},
2776
2776
  getLineProps: v,
2777
- getTokenProps: g
2777
+ getTokenProps: y
2778
2778
  });
2779
2779
  }, _t = (e) => Q(St, q(D({}, e), {
2780
2780
  prism: e.prism || s,
2781
- theme: e.theme || ge,
2781
+ theme: e.theme || ye,
2782
2782
  code: e.code,
2783
2783
  language: e.language
2784
2784
  }));
@@ -2809,7 +2809,7 @@ function Ft() {
2809
2809
  ] })
2810
2810
  ] });
2811
2811
  }
2812
- const ye = {
2812
+ const ge = {
2813
2813
  /**
2814
2814
  * ui/src/components/EditButton.tsx (the two-path Feather pencil) — also drawn by `WorkflowFlowEditor.tsx`.
2815
2815
  */
@@ -3557,6 +3557,33 @@ const ye = {
3557
3557
  * ui/src/CanvasLayer.tsx's note toolbar menus — Feather `chevron-down`.
3558
3558
  * Drawn here; first user.
3559
3559
  */
3560
+ "chevron-up": {
3561
+ viewBox: "0 0 24 24",
3562
+ variant: "stroke",
3563
+ strokeWidth: 2,
3564
+ body: /* @__PURE__ */ t(h, { children: /* @__PURE__ */ t("polyline", { points: "18 15 12 9 6 15" }) })
3565
+ },
3566
+ /** Pop a docked panel out into its own floating window (the run log dock). Feather `external-link`. */
3567
+ "external-link": {
3568
+ viewBox: "0 0 24 24",
3569
+ variant: "stroke",
3570
+ strokeWidth: 2,
3571
+ body: /* @__PURE__ */ x(h, { children: [
3572
+ /* @__PURE__ */ t("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
3573
+ /* @__PURE__ */ t("polyline", { points: "15 3 21 3 21 9" }),
3574
+ /* @__PURE__ */ t("line", { x1: "10", y1: "14", x2: "21", y2: "3" })
3575
+ ] })
3576
+ },
3577
+ /** Dock a floating panel back to the bottom of its host (the run log dock). */
3578
+ "panel-bottom": {
3579
+ viewBox: "0 0 24 24",
3580
+ variant: "stroke",
3581
+ strokeWidth: 2,
3582
+ body: /* @__PURE__ */ x(h, { children: [
3583
+ /* @__PURE__ */ t("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
3584
+ /* @__PURE__ */ t("line", { x1: "3", y1: "15", x2: "21", y2: "15" })
3585
+ ] })
3586
+ },
3560
3587
  "chevron-down": {
3561
3588
  viewBox: "0 0 24 24",
3562
3589
  variant: "stroke",
@@ -3623,7 +3650,7 @@ const ye = {
3623
3650
  /* @__PURE__ */ t("circle", { cx: "5", cy: "12", r: "1" })
3624
3651
  ] })
3625
3652
  }
3626
- }, Dt = Object.keys(ye);
3653
+ }, Dt = Object.keys(ge);
3627
3654
  function Tt(e) {
3628
3655
  return e.variant === "fill" ? { fill: "currentColor" } : e.variant === "stroke" ? {
3629
3656
  fill: "none",
@@ -3634,7 +3661,7 @@ function Tt(e) {
3634
3661
  } : {};
3635
3662
  }
3636
3663
  function fe(e) {
3637
- const { name: a, size: r = 16, label: l, className: u } = e, k = ye[a], p = !!l;
3664
+ const { name: a, size: r = 16, label: l, className: u } = e, k = ge[a], p = !!l;
3638
3665
  return /* @__PURE__ */ t(
3639
3666
  "svg",
3640
3667
  {
@@ -3652,7 +3679,7 @@ function fe(e) {
3652
3679
  );
3653
3680
  }
3654
3681
  const be = 1500;
3655
- function Rt(e, a = be) {
3682
+ function Bt(e, a = be) {
3656
3683
  const [r, l] = we(!1), u = se(null);
3657
3684
  ie(() => () => {
3658
3685
  u.current !== null && clearTimeout(u.current);
@@ -3667,7 +3694,7 @@ function Rt(e, a = be) {
3667
3694
  }, [e, a]);
3668
3695
  return { copied: r, copy: k };
3669
3696
  }
3670
- function Bt() {
3697
+ function Rt() {
3671
3698
  return /* @__PURE__ */ t(fe, { name: "copy", size: 14 });
3672
3699
  }
3673
3700
  function Lt() {
@@ -3681,7 +3708,7 @@ function It(e) {
3681
3708
  label: u = "Copy",
3682
3709
  className: k,
3683
3710
  children: p
3684
- } = e, { copied: v, copy: g } = Rt(a, r), f = se(null), m = j(() => {
3711
+ } = e, { copied: v, copy: y } = Bt(a, r), f = se(null), m = j(() => {
3685
3712
  var w;
3686
3713
  const d = (w = f.current) == null ? void 0 : w.querySelector("input, textarea");
3687
3714
  d == null || d.select();
@@ -3695,10 +3722,10 @@ function It(e) {
3695
3722
  const n = A.target;
3696
3723
  if ((i = n == null ? void 0 : n.closest) != null && i.call(n, "button")) return;
3697
3724
  const o = window.getSelection();
3698
- o && !o.isCollapsed && d.contains(o.anchorNode) || (g(), m());
3725
+ o && !o.isCollapsed && d.contains(o.anchorNode) || (y(), m());
3699
3726
  };
3700
3727
  return d.addEventListener("click", w), () => d.removeEventListener("click", w);
3701
- }, [l, g, m]), /* @__PURE__ */ x("div", { ref: f, className: ["w6w-copyable", k ?? ""].filter(Boolean).join(" "), children: [
3728
+ }, [l, y, m]), /* @__PURE__ */ x("div", { ref: f, className: ["w6w-copyable", k ?? ""].filter(Boolean).join(" "), children: [
3702
3729
  p,
3703
3730
  /* @__PURE__ */ t(
3704
3731
  "button",
@@ -3708,9 +3735,9 @@ function It(e) {
3708
3735
  "aria-label": u,
3709
3736
  onPointerDown: (d) => d.stopPropagation(),
3710
3737
  onClick: (d) => {
3711
- d.stopPropagation(), g();
3738
+ d.stopPropagation(), y();
3712
3739
  },
3713
- children: v ? /* @__PURE__ */ t(Lt, {}) : /* @__PURE__ */ t(Bt, {})
3740
+ children: v ? /* @__PURE__ */ t(Lt, {}) : /* @__PURE__ */ t(Rt, {})
3714
3741
  }
3715
3742
  ),
3716
3743
  /* @__PURE__ */ t("span", { className: "w6w-copyable-status", "aria-live": "polite", children: v ? "Copied" : "" })
@@ -3772,7 +3799,7 @@ function $t(e) {
3772
3799
  maxHeight: k,
3773
3800
  className: p,
3774
3801
  copyable: v = !0,
3775
- copiedMs: g
3802
+ copiedMs: y
3776
3803
  } = e, f = a.replace(/\n+$/, "");
3777
3804
  return /* @__PURE__ */ t(_t, { theme: Ct, code: f, language: r, children: ({ className: m, style: d, tokens: w, getLineProps: A, getTokenProps: n }) => {
3778
3805
  const o = /* @__PURE__ */ t(
@@ -3789,11 +3816,11 @@ function $t(e) {
3789
3816
  "aria-label": e["aria-label"] ?? `${r} code`,
3790
3817
  children: /* @__PURE__ */ t("code", { children: (() => {
3791
3818
  let i = 0;
3792
- return w.map((y, c) => {
3793
- const b = A({ line: y }), E = `w6w-code-line ${b.className ?? ""}`, S = `L${i}`;
3819
+ return w.map((g, c) => {
3820
+ const b = A({ line: g }), E = `w6w-code-line ${b.className ?? ""}`, S = `L${i}`;
3794
3821
  let F = i;
3795
- const _ = y.map((T, R) => {
3796
- const C = n({ token: T }), I = `T${F}-${R}`;
3822
+ const _ = g.map((T, B) => {
3823
+ const C = n({ token: T }), I = `T${F}-${B}`;
3797
3824
  return F += T.content.length, /* @__PURE__ */ Q("span", { ...C, key: I });
3798
3825
  });
3799
3826
  return i = F + 1, /* @__PURE__ */ Q("span", { ...b, key: S, className: E }, u && /* @__PURE__ */ t("span", { className: "w6w-code-line-no", "aria-hidden": "true", children: c + 1 }), /* @__PURE__ */ t("span", { className: "w6w-code-line-text", children: _ }));
@@ -3801,7 +3828,7 @@ function $t(e) {
3801
3828
  })() })
3802
3829
  }
3803
3830
  );
3804
- return v ? /* @__PURE__ */ t(It, { value: f, copiedMs: g, readOnly: !0, children: o }) : o;
3831
+ return v ? /* @__PURE__ */ t(It, { value: f, copiedMs: y, readOnly: !0, children: o }) : o;
3805
3832
  } });
3806
3833
  }
3807
3834
  export {
@@ -3809,8 +3836,8 @@ export {
3809
3836
  fe as I,
3810
3837
  It as a,
3811
3838
  Lt as b,
3812
- Bt as c,
3839
+ Rt as c,
3813
3840
  Dt as i,
3814
- Rt as u
3841
+ Bt as u
3815
3842
  };
3816
- //# sourceMappingURL=CodeBlock-CsdRXzb0.js.map
3843
+ //# sourceMappingURL=CodeBlock-a5QVaIGk.js.map