@runmedev/react-components 3.15.12 → 3.15.13

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.
@@ -9817,6 +9817,172 @@ function xe(e) {
9817
9817
  function J2(e) {
9818
9818
  return xe({ ...e, state: !0, attribute: !1 });
9819
9819
  }
9820
+ var z2 = (e, t, r, n) => {
9821
+ for (var i = t, o = e.length - 1, l; o >= 0; o--)
9822
+ (l = e[o]) && (i = l(i) || i);
9823
+ return i;
9824
+ };
9825
+ let fc = class extends Bt {
9826
+ onClose(e) {
9827
+ e.defaultPrevented && e.preventDefault();
9828
+ const t = new CustomEvent("closed");
9829
+ this.dispatchEvent(t);
9830
+ }
9831
+ render() {
9832
+ return Ae`
9833
+ <div class="close-button tooltip">
9834
+ <span class="tooltiptext">Close</span>
9835
+ <vscode-button
9836
+ class="control"
9837
+ appearance="icon"
9838
+ aria-label="Close"
9839
+ @click="${this.onClose}"
9840
+ >
9841
+ <span class="icon icon-close"></span>
9842
+ </vscode-button>
9843
+ </div>
9844
+ `;
9845
+ }
9846
+ };
9847
+ fc.styles = or`
9848
+ :host {
9849
+ --button-icon-hover-background: var(--vscode-toolbar-hoverBackground);
9850
+ --tooltip-background: #343434;
9851
+ }
9852
+
9853
+ .close-button .control {
9854
+ outline: none;
9855
+ }
9856
+
9857
+ .close-button {
9858
+ position: absolute;
9859
+ top: 5px;
9860
+ right: 5px;
9861
+ }
9862
+
9863
+ .close-button,
9864
+ .close-button:hover {
9865
+ border: none;
9866
+ }
9867
+
9868
+ @media (prefers-color-scheme: light) {
9869
+ .icon-close {
9870
+ background-image: url("data:image/svg+xml,%0A%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.00028 8.70711L11.6467 12.3536L12.3538 11.6465L8.70739 8.00001L12.3538 4.35356L11.6467 3.64645L8.00028 7.2929L4.35384 3.64645L3.64673 4.35356L7.29317 8.00001L3.64673 11.6465L4.35384 12.3536L8.00028 8.70711Z' fill='%23424242'/%3E%3C/svg%3E%0A");
9871
+ }
9872
+ }
9873
+
9874
+ @media (prefers-color-scheme: dark) {
9875
+ .icon-close {
9876
+ background-image: url("data:image/svg+xml,%0A%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.00004 8.70711L11.6465 12.3536L12.3536 11.6465L8.70714 8.00001L12.3536 4.35356L11.6465 3.64645L8.00004 7.2929L4.35359 3.64645L3.64648 4.35356L7.29293 8.00001L3.64648 11.6465L4.35359 12.3536L8.00004 8.70711Z' fill='%23C5C5C5'/%3E%3C/svg%3E%0A");
9877
+ }
9878
+ }
9879
+
9880
+ .tooltip .tooltiptext {
9881
+ visibility: hidden;
9882
+ width: 50px;
9883
+ background-color: var(--tooltip-background);
9884
+ color: #fff;
9885
+ text-align: center;
9886
+ padding: 5px 0;
9887
+ position: absolute;
9888
+ z-index: 1;
9889
+ bottom: 150%;
9890
+ right: -60%;
9891
+ margin-left: -60px;
9892
+ top: 126%;
9893
+ height: 15px;
9894
+ box-shadow: 2px 2px 4px -2px var(--vscode-input-border);
9895
+ }
9896
+
9897
+ .tooltip .tooltiptext::after {
9898
+ content: ' ';
9899
+ position: absolute;
9900
+ bottom: 100%; /* At the top of the tooltip */
9901
+ left: 50%;
9902
+ margin-left: -5px;
9903
+ border-width: 5px;
9904
+ border-style: solid;
9905
+ border-color: transparent transparent var(--tooltip-background) transparent;
9906
+ }
9907
+
9908
+ .tooltip .tooltiptext {
9909
+ transition-delay: 1s;
9910
+ }
9911
+
9912
+ .tooltip:hover .tooltiptext {
9913
+ visibility: visible;
9914
+ }
9915
+
9916
+ .tooltip:not(:hover) .tooltiptext {
9917
+ transition-delay: 0s;
9918
+ }
9919
+ `;
9920
+ fc = z2([
9921
+ zt("close-cell-button")
9922
+ ], fc);
9923
+ const Xm = Ae`
9924
+ <svg
9925
+ class="icon"
9926
+ width="16"
9927
+ height="16"
9928
+ viewBox="0 0 16 16"
9929
+ xmlns="http://www.w3.org/2000/svg"
9930
+ fill="currentColor"
9931
+ >
9932
+ <path
9933
+ fill-rule="evenodd"
9934
+ clip-rule="evenodd"
9935
+ d="M4 4l1-1h5.414L14 6.586V14l-1 1H5l-1-1V4zm9 3l-3-3H5v10h8V7z"
9936
+ />
9937
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M3 1L2 2v10l1 1V2h6.414l-1-1H3z" />
9938
+ </svg>
9939
+ `;
9940
+ var Q2 = Object.defineProperty, q2 = Object.getOwnPropertyDescriptor, Ym = (e, t, r, n) => {
9941
+ for (var i = n > 1 ? void 0 : n ? q2(t, r) : t, o = e.length - 1, l; o >= 0; o--)
9942
+ (l = e[o]) && (i = (n ? l(t, r, i) : l(i)) || i);
9943
+ return n && i && Q2(t, r, i), i;
9944
+ };
9945
+ let yo = class extends Bt {
9946
+ constructor() {
9947
+ super(...arguments), this.copyText = "Copy";
9948
+ }
9949
+ onCopy(e) {
9950
+ e.defaultPrevented && e.preventDefault();
9951
+ const t = new CustomEvent("onCopy");
9952
+ this.dispatchEvent(t);
9953
+ }
9954
+ render() {
9955
+ return Ae`
9956
+ <vscode-button appearance="secondary" @click=${this.onCopy}>
9957
+ ${Xm} ${this.copyText}
9958
+ </vscode-button>
9959
+ `;
9960
+ }
9961
+ };
9962
+ yo.styles = or`
9963
+ vscode-button {
9964
+ color: var(--vscode-button-foreground);
9965
+ background-color: var(--vscode-button-background);
9966
+ transform: scale(0.9);
9967
+ }
9968
+ vscode-button:hover {
9969
+ background: var(--vscode-button-hoverBackground);
9970
+ }
9971
+ vscode-button:focus {
9972
+ outline: #007fd4 1px solid;
9973
+ }
9974
+ .icon {
9975
+ width: 13px;
9976
+ margin: 0 5px 0 -5px;
9977
+ padding: 0;
9978
+ }
9979
+ `;
9980
+ Ym([
9981
+ xe({ type: String })
9982
+ ], yo.prototype, "copyText", 2);
9983
+ yo = Ym([
9984
+ zt("copy-button")
9985
+ ], yo);
9820
9986
  /**
9821
9987
  * @license
9822
9988
  * Copyright 2021 Google LLC
@@ -9826,7 +9992,7 @@ function ut(e, t, r) {
9826
9992
  return e ? t(e) : r == null ? void 0 : r(e);
9827
9993
  }
9828
9994
  var Th = { exports: {} }, Nh;
9829
- function z2() {
9995
+ function eS() {
9830
9996
  return Nh || (Nh = 1, (function(e, t) {
9831
9997
  (function(r, n) {
9832
9998
  e.exports = n();
@@ -11512,7 +11678,7 @@ WARNING: This link could potentially be dangerous`)) {
11512
11678
  }
11513
11679
  }
11514
11680
  s.JoinedCellData = y;
11515
- let d = s.CharacterJoinerService = class Xm {
11681
+ let d = s.CharacterJoinerService = class $m {
11516
11682
  constructor(f) {
11517
11683
  this._bufferService = f, this._characterJoiners = [], this._nextCharacterJoinerId = 0, this._workCell = new _.CellData();
11518
11684
  }
@@ -11556,7 +11722,7 @@ WARNING: This link could potentially be dangerous`)) {
11556
11722
  }
11557
11723
  for (let R = 1; R < this._characterJoiners.length; R++) try {
11558
11724
  const L = this._characterJoiners[R].handler(N);
11559
- for (let V = 0; V < L.length; V++) Xm._mergeRanges(E, L[V]);
11725
+ for (let V = 0; V < L.length; V++) $m._mergeRanges(E, L[V]);
11560
11726
  } catch (L) {
11561
11727
  console.error(L);
11562
11728
  }
@@ -15924,12 +16090,12 @@ WARNING: This link could potentially be dangerous`)) {
15924
16090
  })()));
15925
16091
  })(Th)), Th.exports;
15926
16092
  }
15927
- var Q2 = z2(), fc = { exports: {} }, q2 = fc.exports, Ah;
15928
- function eS() {
16093
+ var tS = eS(), pc = { exports: {} }, rS = pc.exports, Ah;
16094
+ function nS() {
15929
16095
  return Ah || (Ah = 1, (function(e, t) {
15930
16096
  (function(r, n) {
15931
16097
  e.exports = n();
15932
- })(q2, (() => (() => {
16098
+ })(rS, (() => (() => {
15933
16099
  var r = { 930: (l, s, a) => {
15934
16100
  Object.defineProperty(s, "__esModule", { value: !0 }), s.ColorContrastCache = void 0;
15935
16101
  const c = a(485);
@@ -16487,14 +16653,14 @@ function eS() {
16487
16653
  l.HTMLSerializeHandler = C;
16488
16654
  })(), o;
16489
16655
  })()));
16490
- })(fc)), fc.exports;
16656
+ })(pc)), pc.exports;
16491
16657
  }
16492
- var tS = eS(), pc = { exports: {} }, rS = pc.exports, Rh;
16493
- function nS() {
16658
+ var iS = nS(), mc = { exports: {} }, sS = mc.exports, Rh;
16659
+ function oS() {
16494
16660
  return Rh || (Rh = 1, (function(e, t) {
16495
16661
  (function(r, n) {
16496
16662
  e.exports = n();
16497
- })(rS, (() => (() => {
16663
+ })(sS, (() => (() => {
16498
16664
  var r = { 433: (l, s, a) => {
16499
16665
  Object.defineProperty(s, "__esModule", { value: !0 }), s.UnicodeV11 = void 0;
16500
16666
  const c = a(938), m = [[768, 879], [1155, 1161], [1425, 1469], [1471, 1471], [1473, 1474], [1476, 1477], [1479, 1479], [1536, 1541], [1552, 1562], [1564, 1564], [1611, 1631], [1648, 1648], [1750, 1757], [1759, 1764], [1767, 1768], [1770, 1773], [1807, 1807], [1809, 1809], [1840, 1866], [1958, 1968], [2027, 2035], [2045, 2045], [2070, 2073], [2075, 2083], [2085, 2087], [2089, 2093], [2137, 2139], [2259, 2306], [2362, 2362], [2364, 2364], [2369, 2376], [2381, 2381], [2385, 2391], [2402, 2403], [2433, 2433], [2492, 2492], [2497, 2500], [2509, 2509], [2530, 2531], [2558, 2558], [2561, 2562], [2620, 2620], [2625, 2626], [2631, 2632], [2635, 2637], [2641, 2641], [2672, 2673], [2677, 2677], [2689, 2690], [2748, 2748], [2753, 2757], [2759, 2760], [2765, 2765], [2786, 2787], [2810, 2815], [2817, 2817], [2876, 2876], [2879, 2879], [2881, 2884], [2893, 2893], [2902, 2902], [2914, 2915], [2946, 2946], [3008, 3008], [3021, 3021], [3072, 3072], [3076, 3076], [3134, 3136], [3142, 3144], [3146, 3149], [3157, 3158], [3170, 3171], [3201, 3201], [3260, 3260], [3263, 3263], [3270, 3270], [3276, 3277], [3298, 3299], [3328, 3329], [3387, 3388], [3393, 3396], [3405, 3405], [3426, 3427], [3530, 3530], [3538, 3540], [3542, 3542], [3633, 3633], [3636, 3642], [3655, 3662], [3761, 3761], [3764, 3772], [3784, 3789], [3864, 3865], [3893, 3893], [3895, 3895], [3897, 3897], [3953, 3966], [3968, 3972], [3974, 3975], [3981, 3991], [3993, 4028], [4038, 4038], [4141, 4144], [4146, 4151], [4153, 4154], [4157, 4158], [4184, 4185], [4190, 4192], [4209, 4212], [4226, 4226], [4229, 4230], [4237, 4237], [4253, 4253], [4448, 4607], [4957, 4959], [5906, 5908], [5938, 5940], [5970, 5971], [6002, 6003], [6068, 6069], [6071, 6077], [6086, 6086], [6089, 6099], [6109, 6109], [6155, 6158], [6277, 6278], [6313, 6313], [6432, 6434], [6439, 6440], [6450, 6450], [6457, 6459], [6679, 6680], [6683, 6683], [6742, 6742], [6744, 6750], [6752, 6752], [6754, 6754], [6757, 6764], [6771, 6780], [6783, 6783], [6832, 6846], [6912, 6915], [6964, 6964], [6966, 6970], [6972, 6972], [6978, 6978], [7019, 7027], [7040, 7041], [7074, 7077], [7080, 7081], [7083, 7085], [7142, 7142], [7144, 7145], [7149, 7149], [7151, 7153], [7212, 7219], [7222, 7223], [7376, 7378], [7380, 7392], [7394, 7400], [7405, 7405], [7412, 7412], [7416, 7417], [7616, 7673], [7675, 7679], [8203, 8207], [8234, 8238], [8288, 8292], [8294, 8303], [8400, 8432], [11503, 11505], [11647, 11647], [11744, 11775], [12330, 12333], [12441, 12442], [42607, 42610], [42612, 42621], [42654, 42655], [42736, 42737], [43010, 43010], [43014, 43014], [43019, 43019], [43045, 43046], [43204, 43205], [43232, 43249], [43263, 43263], [43302, 43309], [43335, 43345], [43392, 43394], [43443, 43443], [43446, 43449], [43452, 43453], [43493, 43493], [43561, 43566], [43569, 43570], [43573, 43574], [43587, 43587], [43596, 43596], [43644, 43644], [43696, 43696], [43698, 43700], [43703, 43704], [43710, 43711], [43713, 43713], [43756, 43757], [43766, 43766], [44005, 44005], [44008, 44008], [44013, 44013], [64286, 64286], [65024, 65039], [65056, 65071], [65279, 65279], [65529, 65531]], h = [[66045, 66045], [66272, 66272], [66422, 66426], [68097, 68099], [68101, 68102], [68108, 68111], [68152, 68154], [68159, 68159], [68325, 68326], [68900, 68903], [69446, 69456], [69633, 69633], [69688, 69702], [69759, 69761], [69811, 69814], [69817, 69818], [69821, 69821], [69837, 69837], [69888, 69890], [69927, 69931], [69933, 69940], [70003, 70003], [70016, 70017], [70070, 70078], [70089, 70092], [70191, 70193], [70196, 70196], [70198, 70199], [70206, 70206], [70367, 70367], [70371, 70378], [70400, 70401], [70459, 70460], [70464, 70464], [70502, 70508], [70512, 70516], [70712, 70719], [70722, 70724], [70726, 70726], [70750, 70750], [70835, 70840], [70842, 70842], [70847, 70848], [70850, 70851], [71090, 71093], [71100, 71101], [71103, 71104], [71132, 71133], [71219, 71226], [71229, 71229], [71231, 71232], [71339, 71339], [71341, 71341], [71344, 71349], [71351, 71351], [71453, 71455], [71458, 71461], [71463, 71467], [71727, 71735], [71737, 71738], [72148, 72151], [72154, 72155], [72160, 72160], [72193, 72202], [72243, 72248], [72251, 72254], [72263, 72263], [72273, 72278], [72281, 72283], [72330, 72342], [72344, 72345], [72752, 72758], [72760, 72765], [72767, 72767], [72850, 72871], [72874, 72880], [72882, 72883], [72885, 72886], [73009, 73014], [73018, 73018], [73020, 73021], [73023, 73029], [73031, 73031], [73104, 73105], [73109, 73109], [73111, 73111], [73459, 73460], [78896, 78904], [92912, 92916], [92976, 92982], [94031, 94031], [94095, 94098], [113821, 113822], [113824, 113827], [119143, 119145], [119155, 119170], [119173, 119179], [119210, 119213], [119362, 119364], [121344, 121398], [121403, 121452], [121461, 121461], [121476, 121476], [121499, 121503], [121505, 121519], [122880, 122886], [122888, 122904], [122907, 122913], [122915, 122916], [122918, 122922], [123184, 123190], [123628, 123631], [125136, 125142], [125252, 125258], [917505, 917505], [917536, 917631], [917760, 917999]], b = [[4352, 4447], [8986, 8987], [9001, 9002], [9193, 9196], [9200, 9200], [9203, 9203], [9725, 9726], [9748, 9749], [9800, 9811], [9855, 9855], [9875, 9875], [9889, 9889], [9898, 9899], [9917, 9918], [9924, 9925], [9934, 9934], [9940, 9940], [9962, 9962], [9970, 9971], [9973, 9973], [9978, 9978], [9981, 9981], [9989, 9989], [9994, 9995], [10024, 10024], [10060, 10060], [10062, 10062], [10067, 10069], [10071, 10071], [10133, 10135], [10160, 10160], [10175, 10175], [11035, 11036], [11088, 11088], [11093, 11093], [11904, 11929], [11931, 12019], [12032, 12245], [12272, 12283], [12288, 12329], [12334, 12350], [12353, 12438], [12443, 12543], [12549, 12591], [12593, 12686], [12688, 12730], [12736, 12771], [12784, 12830], [12832, 12871], [12880, 19903], [19968, 42124], [42128, 42182], [43360, 43388], [44032, 55203], [63744, 64255], [65040, 65049], [65072, 65106], [65108, 65126], [65128, 65131], [65281, 65376], [65504, 65510]], _ = [[94176, 94179], [94208, 100343], [100352, 101106], [110592, 110878], [110928, 110930], [110948, 110951], [110960, 111355], [126980, 126980], [127183, 127183], [127374, 127374], [127377, 127386], [127488, 127490], [127504, 127547], [127552, 127560], [127568, 127569], [127584, 127589], [127744, 127776], [127789, 127797], [127799, 127868], [127870, 127891], [127904, 127946], [127951, 127955], [127968, 127984], [127988, 127988], [127992, 128062], [128064, 128064], [128066, 128252], [128255, 128317], [128331, 128334], [128336, 128359], [128378, 128378], [128405, 128406], [128420, 128420], [128507, 128591], [128640, 128709], [128716, 128716], [128720, 128722], [128725, 128725], [128747, 128748], [128756, 128762], [128992, 129003], [129293, 129393], [129395, 129398], [129402, 129442], [129445, 129450], [129454, 129482], [129485, 129535], [129648, 129651], [129656, 129658], [129664, 129666], [129680, 129685], [131072, 196605], [196608, 262141]];
@@ -16671,10 +16837,10 @@ function nS() {
16671
16837
  };
16672
16838
  })(), o;
16673
16839
  })()));
16674
- })(pc)), pc.exports;
16840
+ })(mc)), mc.exports;
16675
16841
  }
16676
- var iS = nS(), Bh = { exports: {} }, xh;
16677
- function sS() {
16842
+ var aS = oS(), Bh = { exports: {} }, xh;
16843
+ function cS() {
16678
16844
  return xh || (xh = 1, (function(e, t) {
16679
16845
  (function(r, n) {
16680
16846
  e.exports = n();
@@ -16794,17 +16960,17 @@ function sS() {
16794
16960
  })()));
16795
16961
  })(Bh)), Bh.exports;
16796
16962
  }
16797
- var oS = sS();
16963
+ var lS = cS();
16798
16964
  function xt(e) {
16799
16965
  return typeof e == "function";
16800
16966
  }
16801
- function Ym(e) {
16967
+ function jm(e) {
16802
16968
  var t = function(n) {
16803
16969
  Error.call(n), n.stack = new Error().stack;
16804
16970
  }, r = e(t);
16805
16971
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
16806
16972
  }
16807
- var Oa = Ym(function(e) {
16973
+ var Oa = jm(function(e) {
16808
16974
  return function(t) {
16809
16975
  e(this), this.message = t ? t.length + ` errors occurred during unsubscription:
16810
16976
  ` + t.map(function(r, n) {
@@ -16813,7 +16979,7 @@ var Oa = Ym(function(e) {
16813
16979
  `) : "", this.name = "UnsubscriptionError", this.errors = t;
16814
16980
  };
16815
16981
  });
16816
- function yo(e, t) {
16982
+ function So(e, t) {
16817
16983
  if (e) {
16818
16984
  var r = e.indexOf(t);
16819
16985
  0 <= r && e.splice(r, 1);
@@ -16899,24 +17065,24 @@ var os = (function() {
16899
17065
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
16900
17066
  }, e.prototype._removeParent = function(t) {
16901
17067
  var r = this._parentage;
16902
- r === t ? this._parentage = null : Array.isArray(r) && yo(r, t);
17068
+ r === t ? this._parentage = null : Array.isArray(r) && So(r, t);
16903
17069
  }, e.prototype.remove = function(t) {
16904
17070
  var r = this._finalizers;
16905
- r && yo(r, t), t instanceof e && t._removeParent(this);
17071
+ r && So(r, t), t instanceof e && t._removeParent(this);
16906
17072
  }, e.EMPTY = (function() {
16907
17073
  var t = new e();
16908
17074
  return t.closed = !0, t;
16909
17075
  })(), e;
16910
- })(), $m = os.EMPTY;
16911
- function jm(e) {
17076
+ })(), Jm = os.EMPTY;
17077
+ function zm(e) {
16912
17078
  return e instanceof os || e && "closed" in e && xt(e.remove) && xt(e.add) && xt(e.unsubscribe);
16913
17079
  }
16914
17080
  function Lh(e) {
16915
17081
  xt(e) ? e() : e.unsubscribe();
16916
17082
  }
16917
- var aS = {
17083
+ var uS = {
16918
17084
  Promise: void 0
16919
- }, cS = {
17085
+ }, dS = {
16920
17086
  setTimeout: function(e, t) {
16921
17087
  for (var r = [], n = 2; n < arguments.length; n++)
16922
17088
  r[n - 2] = arguments[n];
@@ -16927,8 +17093,8 @@ var aS = {
16927
17093
  },
16928
17094
  delegate: void 0
16929
17095
  };
16930
- function Jm(e) {
16931
- cS.setTimeout(function() {
17096
+ function Qm(e) {
17097
+ dS.setTimeout(function() {
16932
17098
  throw e;
16933
17099
  });
16934
17100
  }
@@ -16941,7 +17107,7 @@ var bl = (function(e) {
16941
17107
  Xr(t, e);
16942
17108
  function t(r) {
16943
17109
  var n = e.call(this) || this;
16944
- return n.isStopped = !1, r ? (n.destination = r, jm(r) && r.add(n)) : n.destination = dS, n;
17110
+ return n.isStopped = !1, r ? (n.destination = r, zm(r) && r.add(n)) : n.destination = pS, n;
16945
17111
  }
16946
17112
  return t.create = function(r, n, i) {
16947
17113
  return new Yi(r, n, i);
@@ -16968,7 +17134,7 @@ var bl = (function(e) {
16968
17134
  this.unsubscribe();
16969
17135
  }
16970
17136
  }, t;
16971
- })(os), lS = (function() {
17137
+ })(os), hS = (function() {
16972
17138
  function e(t) {
16973
17139
  this.partialObserver = t;
16974
17140
  }
@@ -17007,29 +17173,29 @@ var bl = (function(e) {
17007
17173
  next: r ?? void 0,
17008
17174
  error: n ?? void 0,
17009
17175
  complete: i ?? void 0
17010
- } : l = r, o.destination = new lS(l), o;
17176
+ } : l = r, o.destination = new hS(l), o;
17011
17177
  }
17012
17178
  return t;
17013
17179
  })(bl);
17014
17180
  function Us(e) {
17015
- Jm(e);
17181
+ Qm(e);
17016
17182
  }
17017
- function uS(e) {
17183
+ function fS(e) {
17018
17184
  throw e;
17019
17185
  }
17020
- var dS = {
17186
+ var pS = {
17021
17187
  closed: !0,
17022
17188
  next: Oh,
17023
- error: uS,
17189
+ error: fS,
17024
17190
  complete: Oh
17025
17191
  }, _l = (function() {
17026
17192
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
17027
17193
  })();
17028
- function zm(e) {
17194
+ function qm(e) {
17029
17195
  return e;
17030
17196
  }
17031
- function hS(e) {
17032
- return e.length === 0 ? zm : e.length === 1 ? e[0] : function(t) {
17197
+ function mS(e) {
17198
+ return e.length === 0 ? qm : e.length === 1 ? e[0] : function(t) {
17033
17199
  return e.reduce(function(r, n) {
17034
17200
  return n(r);
17035
17201
  }, t);
@@ -17043,7 +17209,7 @@ var kr = (function() {
17043
17209
  var r = new e();
17044
17210
  return r.source = this, r.operator = t, r;
17045
17211
  }, e.prototype.subscribe = function(t, r, n) {
17046
- var i = this, o = pS(t) ? t : new Yi(t, r, n);
17212
+ var i = this, o = vS(t) ? t : new Yi(t, r, n);
17047
17213
  return qs(function() {
17048
17214
  var l = i, s = l.operator, a = l.source;
17049
17215
  o.add(s ? s.call(o, a) : a ? i._subscribe(o) : i._trySubscribe(o));
@@ -17078,7 +17244,7 @@ var kr = (function() {
17078
17244
  }, e.prototype.pipe = function() {
17079
17245
  for (var t = [], r = 0; r < arguments.length; r++)
17080
17246
  t[r] = arguments[r];
17081
- return hS(t)(this);
17247
+ return mS(t)(this);
17082
17248
  }, e.prototype.toPromise = function(t) {
17083
17249
  var r = this;
17084
17250
  return t = Dh(t), new t(function(n, i) {
@@ -17097,20 +17263,20 @@ var kr = (function() {
17097
17263
  })();
17098
17264
  function Dh(e) {
17099
17265
  var t;
17100
- return (t = e ?? aS.Promise) !== null && t !== void 0 ? t : Promise;
17266
+ return (t = e ?? uS.Promise) !== null && t !== void 0 ? t : Promise;
17101
17267
  }
17102
- function fS(e) {
17268
+ function gS(e) {
17103
17269
  return e && xt(e.next) && xt(e.error) && xt(e.complete);
17104
17270
  }
17105
- function pS(e) {
17106
- return e && e instanceof bl || fS(e) && jm(e);
17271
+ function vS(e) {
17272
+ return e && e instanceof bl || gS(e) && zm(e);
17107
17273
  }
17108
- function mS(e) {
17274
+ function bS(e) {
17109
17275
  return xt(e == null ? void 0 : e.lift);
17110
17276
  }
17111
17277
  function as(e) {
17112
17278
  return function(t) {
17113
- if (mS(t))
17279
+ if (bS(t))
17114
17280
  return t.lift(function(r) {
17115
17281
  try {
17116
17282
  return e(r, this);
@@ -17122,9 +17288,9 @@ function as(e) {
17122
17288
  };
17123
17289
  }
17124
17290
  function Fo(e, t, r, n, i) {
17125
- return new gS(e, t, r, n, i);
17291
+ return new _S(e, t, r, n, i);
17126
17292
  }
17127
- var gS = (function(e) {
17293
+ var _S = (function(e) {
17128
17294
  Xr(t, e);
17129
17295
  function t(r, n, i, o, l, s) {
17130
17296
  var a = e.call(this, r) || this;
@@ -17159,11 +17325,11 @@ var gS = (function(e) {
17159
17325
  e.prototype.unsubscribe.call(this), !n && ((r = this.onFinalize) === null || r === void 0 || r.call(this));
17160
17326
  }
17161
17327
  }, t;
17162
- })(bl), vS = Ym(function(e) {
17328
+ })(bl), yS = jm(function(e) {
17163
17329
  return function() {
17164
17330
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
17165
17331
  };
17166
- }), Qm = (function(e) {
17332
+ }), eg = (function(e) {
17167
17333
  Xr(t, e);
17168
17334
  function t() {
17169
17335
  var r = e.call(this) || this;
@@ -17174,7 +17340,7 @@ var gS = (function(e) {
17174
17340
  return n.operator = r, n;
17175
17341
  }, t.prototype._throwIfClosed = function() {
17176
17342
  if (this.closed)
17177
- throw new vS();
17343
+ throw new yS();
17178
17344
  }, t.prototype.next = function(r) {
17179
17345
  var n = this;
17180
17346
  qs(function() {
@@ -17230,8 +17396,8 @@ var gS = (function(e) {
17230
17396
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
17231
17397
  }, t.prototype._innerSubscribe = function(r) {
17232
17398
  var n = this, i = this, o = i.hasError, l = i.isStopped, s = i.observers;
17233
- return o || l ? $m : (this.currentObservers = null, s.push(r), new os(function() {
17234
- n.currentObservers = null, yo(s, r);
17399
+ return o || l ? Jm : (this.currentObservers = null, s.push(r), new os(function() {
17400
+ n.currentObservers = null, So(s, r);
17235
17401
  }));
17236
17402
  }, t.prototype._checkFinalizedStatuses = function(r) {
17237
17403
  var n = this, i = n.hasError, o = n.thrownError, l = n.isStopped;
@@ -17259,13 +17425,13 @@ var gS = (function(e) {
17259
17425
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
17260
17426
  }, t.prototype._subscribe = function(r) {
17261
17427
  var n, i;
17262
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $m;
17428
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Jm;
17263
17429
  }, t;
17264
- })(Qm), bS = {
17430
+ })(eg), SS = {
17265
17431
  now: function() {
17266
17432
  return Date.now();
17267
17433
  }
17268
- }, _S = (function(e) {
17434
+ }, ES = (function(e) {
17269
17435
  Xr(t, e);
17270
17436
  function t(r, n) {
17271
17437
  return e.call(this) || this;
@@ -17283,7 +17449,7 @@ var gS = (function(e) {
17283
17449
  return clearInterval(e);
17284
17450
  },
17285
17451
  delegate: void 0
17286
- }, yS = (function(e) {
17452
+ }, wS = (function(e) {
17287
17453
  Xr(t, e);
17288
17454
  function t(r, n) {
17289
17455
  var i = e.call(this, r, n) || this;
@@ -17322,17 +17488,17 @@ var gS = (function(e) {
17322
17488
  }, t.prototype.unsubscribe = function() {
17323
17489
  if (!this.closed) {
17324
17490
  var r = this, n = r.id, i = r.scheduler, o = i.actions;
17325
- this.work = this.state = this.scheduler = null, this.pending = !1, yo(o, this), n != null && (this.id = this.recycleAsyncId(i, n, null)), this.delay = null, e.prototype.unsubscribe.call(this);
17491
+ this.work = this.state = this.scheduler = null, this.pending = !1, So(o, this), n != null && (this.id = this.recycleAsyncId(i, n, null)), this.delay = null, e.prototype.unsubscribe.call(this);
17326
17492
  }
17327
17493
  }, t;
17328
- })(_S), Uh = (function() {
17494
+ })(ES), Uh = (function() {
17329
17495
  function e(t, r) {
17330
17496
  r === void 0 && (r = e.now), this.schedulerActionCtor = t, this.now = r;
17331
17497
  }
17332
17498
  return e.prototype.schedule = function(t, r, n) {
17333
17499
  return r === void 0 && (r = 0), new this.schedulerActionCtor(this, t).schedule(n, r);
17334
- }, e.now = bS.now, e;
17335
- })(), SS = (function(e) {
17500
+ }, e.now = SS.now, e;
17501
+ })(), CS = (function(e) {
17336
17502
  Xr(t, e);
17337
17503
  function t(r, n) {
17338
17504
  n === void 0 && (n = Uh.now);
@@ -17357,29 +17523,29 @@ var gS = (function(e) {
17357
17523
  throw i;
17358
17524
  }
17359
17525
  }, t;
17360
- })(Uh), ES = new SS(yS), wS = (function(e) {
17526
+ })(Uh), IS = new CS(wS), kS = (function(e) {
17361
17527
  return e && typeof e.length == "number" && typeof e != "function";
17362
17528
  });
17363
- function CS(e) {
17529
+ function TS(e) {
17364
17530
  return xt(e == null ? void 0 : e.then);
17365
17531
  }
17366
- function IS(e) {
17532
+ function NS(e) {
17367
17533
  return xt(e[_l]);
17368
17534
  }
17369
- function kS(e) {
17535
+ function AS(e) {
17370
17536
  return Symbol.asyncIterator && xt(e == null ? void 0 : e[Symbol.asyncIterator]);
17371
17537
  }
17372
- function TS(e) {
17538
+ function RS(e) {
17373
17539
  return new TypeError("You provided " + (e !== null && typeof e == "object" ? "an invalid object" : "'" + e + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
17374
17540
  }
17375
- function NS() {
17541
+ function BS() {
17376
17542
  return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
17377
17543
  }
17378
- var AS = NS();
17379
- function RS(e) {
17380
- return xt(e == null ? void 0 : e[AS]);
17544
+ var xS = BS();
17545
+ function LS(e) {
17546
+ return xt(e == null ? void 0 : e[xS]);
17381
17547
  }
17382
- function BS(e) {
17548
+ function OS(e) {
17383
17549
  return N2(this, arguments, function() {
17384
17550
  var t, r, n, i;
17385
17551
  return Mm(this, function(o) {
@@ -17410,29 +17576,29 @@ function BS(e) {
17410
17576
  });
17411
17577
  });
17412
17578
  }
17413
- function xS(e) {
17579
+ function DS(e) {
17414
17580
  return xt(e == null ? void 0 : e.getReader);
17415
17581
  }
17416
- function qm(e) {
17582
+ function tg(e) {
17417
17583
  if (e instanceof kr)
17418
17584
  return e;
17419
17585
  if (e != null) {
17420
- if (IS(e))
17421
- return LS(e);
17422
- if (wS(e))
17423
- return OS(e);
17424
- if (CS(e))
17425
- return DS(e);
17426
- if (kS(e))
17427
- return eg(e);
17428
- if (RS(e))
17586
+ if (NS(e))
17429
17587
  return FS(e);
17430
- if (xS(e))
17588
+ if (kS(e))
17431
17589
  return VS(e);
17590
+ if (TS(e))
17591
+ return US(e);
17592
+ if (AS(e))
17593
+ return rg(e);
17594
+ if (LS(e))
17595
+ return PS(e);
17596
+ if (DS(e))
17597
+ return MS(e);
17432
17598
  }
17433
- throw TS(e);
17599
+ throw RS(e);
17434
17600
  }
17435
- function LS(e) {
17601
+ function FS(e) {
17436
17602
  return new kr(function(t) {
17437
17603
  var r = e[_l]();
17438
17604
  if (xt(r.subscribe))
@@ -17440,23 +17606,23 @@ function LS(e) {
17440
17606
  throw new TypeError("Provided object does not correctly implement Symbol.observable");
17441
17607
  });
17442
17608
  }
17443
- function OS(e) {
17609
+ function VS(e) {
17444
17610
  return new kr(function(t) {
17445
17611
  for (var r = 0; r < e.length && !t.closed; r++)
17446
17612
  t.next(e[r]);
17447
17613
  t.complete();
17448
17614
  });
17449
17615
  }
17450
- function DS(e) {
17616
+ function US(e) {
17451
17617
  return new kr(function(t) {
17452
17618
  e.then(function(r) {
17453
17619
  t.closed || (t.next(r), t.complete());
17454
17620
  }, function(r) {
17455
17621
  return t.error(r);
17456
- }).then(null, Jm);
17622
+ }).then(null, Qm);
17457
17623
  });
17458
17624
  }
17459
- function FS(e) {
17625
+ function PS(e) {
17460
17626
  return new kr(function(t) {
17461
17627
  var r, n;
17462
17628
  try {
@@ -17477,17 +17643,17 @@ function FS(e) {
17477
17643
  t.complete();
17478
17644
  });
17479
17645
  }
17480
- function eg(e) {
17646
+ function rg(e) {
17481
17647
  return new kr(function(t) {
17482
- US(e, t).catch(function(r) {
17648
+ WS(e, t).catch(function(r) {
17483
17649
  return t.error(r);
17484
17650
  });
17485
17651
  });
17486
17652
  }
17487
- function VS(e) {
17488
- return eg(BS(e));
17653
+ function MS(e) {
17654
+ return rg(OS(e));
17489
17655
  }
17490
- function US(e, t) {
17656
+ function WS(e, t) {
17491
17657
  var r, n, i, o;
17492
17658
  return T2(this, void 0, void 0, function() {
17493
17659
  var l, s;
@@ -17525,7 +17691,7 @@ function US(e, t) {
17525
17691
  });
17526
17692
  });
17527
17693
  }
17528
- function PS(e, t) {
17694
+ function ZS(e, t) {
17529
17695
  return as(function(r, n) {
17530
17696
  var i = 0;
17531
17697
  r.subscribe(Fo(n, function(o) {
@@ -17533,7 +17699,7 @@ function PS(e, t) {
17533
17699
  }));
17534
17700
  });
17535
17701
  }
17536
- function tg(e, t) {
17702
+ function ng(e, t) {
17537
17703
  return as(function(r, n) {
17538
17704
  var i = 0;
17539
17705
  r.subscribe(Fo(n, function(o) {
@@ -17541,8 +17707,8 @@ function tg(e, t) {
17541
17707
  }));
17542
17708
  });
17543
17709
  }
17544
- function rg(e, t) {
17545
- return t === void 0 && (t = ES), as(function(r, n) {
17710
+ function ig(e, t) {
17711
+ return t === void 0 && (t = IS), as(function(r, n) {
17546
17712
  var i = null, o = null, l = null, s = function() {
17547
17713
  if (i) {
17548
17714
  i.unsubscribe(), i = null;
@@ -17567,8 +17733,8 @@ function rg(e, t) {
17567
17733
  }));
17568
17734
  });
17569
17735
  }
17570
- function ng(e, t) {
17571
- return t === void 0 && (t = zm), e = e ?? MS, as(function(r, n) {
17736
+ function sg(e, t) {
17737
+ return t === void 0 && (t = qm), e = e ?? GS, as(function(r, n) {
17572
17738
  var i, o = !0;
17573
17739
  r.subscribe(Fo(n, function(l) {
17574
17740
  var s = t(l);
@@ -17576,13 +17742,13 @@ function ng(e, t) {
17576
17742
  }));
17577
17743
  });
17578
17744
  }
17579
- function MS(e, t) {
17745
+ function GS(e, t) {
17580
17746
  return e === t;
17581
17747
  }
17582
- function WS(e) {
17748
+ function KS(e) {
17583
17749
  e === void 0 && (e = {});
17584
17750
  var t = e.connector, r = t === void 0 ? function() {
17585
- return new Qm();
17751
+ return new eg();
17586
17752
  } : t, n = e.resetOnError, i = n === void 0 ? !0 : n, o = e.resetOnComplete, l = o === void 0 ? !0 : o, s = e.resetOnRefCountZero, a = s === void 0 ? !0 : s;
17587
17753
  return function(c) {
17588
17754
  var m, h, b, _ = 0, C = !1, y = !1, d = function() {
@@ -17608,7 +17774,7 @@ function WS(e) {
17608
17774
  complete: function() {
17609
17775
  C = !0, d(), h = Da(p, l), k.complete();
17610
17776
  }
17611
- }), qm(g).subscribe(m));
17777
+ }), tg(g).subscribe(m));
17612
17778
  })(c);
17613
17779
  };
17614
17780
  }
@@ -17625,15 +17791,15 @@ function Da(e, t) {
17625
17791
  i.unsubscribe(), e();
17626
17792
  }
17627
17793
  });
17628
- return qm(t.apply(void 0, Zi([], Wi(r)))).subscribe(i);
17794
+ return tg(t.apply(void 0, Zi([], Wi(r)))).subscribe(i);
17629
17795
  }
17630
17796
  }
17631
17797
  /**
17632
17798
  * Copyright (c) 2017 The xterm.js authors. All rights reserved.
17633
17799
  * @license MIT
17634
17800
  */
17635
- const ZS = 2, GS = 1;
17636
- class KS {
17801
+ const HS = 2, XS = 1;
17802
+ class YS {
17637
17803
  constructor() {
17638
17804
  }
17639
17805
  activate(t) {
@@ -17661,8 +17827,8 @@ class KS {
17661
17827
  left: parseInt(s.getPropertyValue("padding-left"))
17662
17828
  }, c = a.top + a.bottom, m = a.right + a.left, h = o - c, b = l - m - n, { width: _, height: C } = this.getCellSize();
17663
17829
  return {
17664
- cols: Math.max(ZS, Math.floor(b / _)),
17665
- rows: Math.max(GS, Math.floor(h / C))
17830
+ cols: Math.max(HS, Math.floor(b / _)),
17831
+ rows: Math.max(XS, Math.floor(h / C))
17666
17832
  };
17667
17833
  }
17668
17834
  getCellSize() {
@@ -17678,9 +17844,9 @@ class KS {
17678
17844
  return this._terminal._core;
17679
17845
  }
17680
17846
  }
17681
- function HS({}) {
17847
+ function $S({}) {
17682
17848
  }
17683
- function XS(e) {
17849
+ function jS(e) {
17684
17850
  return e.toLocaleDateString("en-US", {
17685
17851
  year: "numeric",
17686
17852
  month: "short",
@@ -17691,176 +17857,10 @@ function XS(e) {
17691
17857
  hour12: !0
17692
17858
  });
17693
17859
  }
17694
- function YS(e) {
17860
+ function JS(e) {
17695
17861
  const t = (/* @__PURE__ */ new Date()).getTime() - e.getTime(), r = Math.floor(t / 1e3) * -1, n = new Intl.RelativeTimeFormat("en", { numeric: "auto" });
17696
17862
  return Math.abs(r) < 60 ? n.format(Math.round(r), "second") : Math.abs(r) < 3600 ? n.format(Math.round(r / 60), "minute") : Math.abs(r) < 86400 ? n.format(Math.round(r / 3600), "hour") : n.format(Math.round(r / 86400), "day");
17697
17863
  }
17698
- var $S = (e, t, r, n) => {
17699
- for (var i = t, o = e.length - 1, l; o >= 0; o--)
17700
- (l = e[o]) && (i = l(i) || i);
17701
- return i;
17702
- };
17703
- let mc = class extends Bt {
17704
- onClose(e) {
17705
- e.defaultPrevented && e.preventDefault();
17706
- const t = new CustomEvent("closed");
17707
- this.dispatchEvent(t);
17708
- }
17709
- render() {
17710
- return Ae`
17711
- <div class="close-button tooltip">
17712
- <span class="tooltiptext">Close</span>
17713
- <vscode-button
17714
- class="control"
17715
- appearance="icon"
17716
- aria-label="Close"
17717
- @click="${this.onClose}"
17718
- >
17719
- <span class="icon icon-close"></span>
17720
- </vscode-button>
17721
- </div>
17722
- `;
17723
- }
17724
- };
17725
- mc.styles = or`
17726
- :host {
17727
- --button-icon-hover-background: var(--vscode-toolbar-hoverBackground);
17728
- --tooltip-background: #343434;
17729
- }
17730
-
17731
- .close-button .control {
17732
- outline: none;
17733
- }
17734
-
17735
- .close-button {
17736
- position: absolute;
17737
- top: 5px;
17738
- right: 5px;
17739
- }
17740
-
17741
- .close-button,
17742
- .close-button:hover {
17743
- border: none;
17744
- }
17745
-
17746
- @media (prefers-color-scheme: light) {
17747
- .icon-close {
17748
- background-image: url("data:image/svg+xml,%0A%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.00028 8.70711L11.6467 12.3536L12.3538 11.6465L8.70739 8.00001L12.3538 4.35356L11.6467 3.64645L8.00028 7.2929L4.35384 3.64645L3.64673 4.35356L7.29317 8.00001L3.64673 11.6465L4.35384 12.3536L8.00028 8.70711Z' fill='%23424242'/%3E%3C/svg%3E%0A");
17749
- }
17750
- }
17751
-
17752
- @media (prefers-color-scheme: dark) {
17753
- .icon-close {
17754
- background-image: url("data:image/svg+xml,%0A%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.00004 8.70711L11.6465 12.3536L12.3536 11.6465L8.70714 8.00001L12.3536 4.35356L11.6465 3.64645L8.00004 7.2929L4.35359 3.64645L3.64648 4.35356L7.29293 8.00001L3.64648 11.6465L4.35359 12.3536L8.00004 8.70711Z' fill='%23C5C5C5'/%3E%3C/svg%3E%0A");
17755
- }
17756
- }
17757
-
17758
- .tooltip .tooltiptext {
17759
- visibility: hidden;
17760
- width: 50px;
17761
- background-color: var(--tooltip-background);
17762
- color: #fff;
17763
- text-align: center;
17764
- padding: 5px 0;
17765
- position: absolute;
17766
- z-index: 1;
17767
- bottom: 150%;
17768
- right: -60%;
17769
- margin-left: -60px;
17770
- top: 126%;
17771
- height: 15px;
17772
- box-shadow: 2px 2px 4px -2px var(--vscode-input-border);
17773
- }
17774
-
17775
- .tooltip .tooltiptext::after {
17776
- content: ' ';
17777
- position: absolute;
17778
- bottom: 100%; /* At the top of the tooltip */
17779
- left: 50%;
17780
- margin-left: -5px;
17781
- border-width: 5px;
17782
- border-style: solid;
17783
- border-color: transparent transparent var(--tooltip-background) transparent;
17784
- }
17785
-
17786
- .tooltip .tooltiptext {
17787
- transition-delay: 1s;
17788
- }
17789
-
17790
- .tooltip:hover .tooltiptext {
17791
- visibility: visible;
17792
- }
17793
-
17794
- .tooltip:not(:hover) .tooltiptext {
17795
- transition-delay: 0s;
17796
- }
17797
- `;
17798
- mc = $S([
17799
- zt("close-cell-button")
17800
- ], mc);
17801
- const ig = Ae`
17802
- <svg
17803
- class="icon"
17804
- width="16"
17805
- height="16"
17806
- viewBox="0 0 16 16"
17807
- xmlns="http://www.w3.org/2000/svg"
17808
- fill="currentColor"
17809
- >
17810
- <path
17811
- fill-rule="evenodd"
17812
- clip-rule="evenodd"
17813
- d="M4 4l1-1h5.414L14 6.586V14l-1 1H5l-1-1V4zm9 3l-3-3H5v10h8V7z"
17814
- />
17815
- <path fill-rule="evenodd" clip-rule="evenodd" d="M3 1L2 2v10l1 1V2h6.414l-1-1H3z" />
17816
- </svg>
17817
- `;
17818
- var jS = Object.defineProperty, JS = Object.getOwnPropertyDescriptor, sg = (e, t, r, n) => {
17819
- for (var i = n > 1 ? void 0 : n ? JS(t, r) : t, o = e.length - 1, l; o >= 0; o--)
17820
- (l = e[o]) && (i = (n ? l(t, r, i) : l(i)) || i);
17821
- return n && i && jS(t, r, i), i;
17822
- };
17823
- let So = class extends Bt {
17824
- constructor() {
17825
- super(...arguments), this.copyText = "Copy";
17826
- }
17827
- onCopy(e) {
17828
- e.defaultPrevented && e.preventDefault();
17829
- const t = new CustomEvent("onCopy");
17830
- this.dispatchEvent(t);
17831
- }
17832
- render() {
17833
- return Ae`
17834
- <vscode-button appearance="secondary" @click=${this.onCopy}>
17835
- ${ig} ${this.copyText}
17836
- </vscode-button>
17837
- `;
17838
- }
17839
- };
17840
- So.styles = or`
17841
- vscode-button {
17842
- color: var(--vscode-button-foreground);
17843
- background-color: var(--vscode-button-background);
17844
- transform: scale(0.9);
17845
- }
17846
- vscode-button:hover {
17847
- background: var(--vscode-button-hoverBackground);
17848
- }
17849
- vscode-button:focus {
17850
- outline: #007fd4 1px solid;
17851
- }
17852
- .icon {
17853
- width: 13px;
17854
- margin: 0 5px 0 -5px;
17855
- padding: 0;
17856
- }
17857
- `;
17858
- sg([
17859
- xe({ type: String })
17860
- ], So.prototype, "copyText", 2);
17861
- So = sg([
17862
- zt("copy-button")
17863
- ], So);
17864
17864
  const zS = Ae`<svg
17865
17865
  class="icon"
17866
17866
  width="16"
@@ -19340,7 +19340,7 @@ const Ln = (...e) => `--vscode-${e.join("-")}`, Rn = (e) => Ln("terminal", e), m
19340
19340
  "brightMagenta",
19341
19341
  "brightCyan",
19342
19342
  "brightWhite"
19343
- ], bE = "terminal-view";
19343
+ ], bE = "console-view";
19344
19344
  let it = class extends Bt {
19345
19345
  constructor() {
19346
19346
  super(), pE(this, Ge), this.copyText = "Copy", this.disposables = [], this.rows = 10, this.isShareReady = !1, this.buttons = !0, this.takeFocus = !0, this.theme = "dark", this.isLoading = !1, this.isCreatingEscalation = !1, this.isUpdatedReady = !1, this.isAutoSaveEnabled = !1, this.isPlatformAuthEnabled = !1, this.isDaggerOutput = !1, this.windowSize = {
@@ -19380,7 +19380,7 @@ let it = class extends Bt {
19380
19380
  smoothScrollDuration: s,
19381
19381
  scrollback: a
19382
19382
  } = this;
19383
- this.terminal = new Q2.Terminal({
19383
+ this.terminal = new tS.Terminal({
19384
19384
  rows: t,
19385
19385
  fontSize: n,
19386
19386
  fontFamily: l,
@@ -19393,7 +19393,7 @@ let it = class extends Bt {
19393
19393
  convertEol: !0,
19394
19394
  allowProposedApi: !0,
19395
19395
  drawBoldTextInBrightColors: !1
19396
- }), this.initialContent && ((e = this.terminal) == null || e.write(this.initialContent)), this.fitAddon = new KS(), this.fitAddon.activate(this.terminal), this.serializer = new tS.SerializeAddon(), this.terminal.loadAddon(this.serializer), this.terminal.loadAddon(new iS.Unicode11Addon()), this.terminal.loadAddon(new oS.WebLinksAddon(Ye(this, Ge, bg).bind(this))), this.terminal.attachCustomKeyEventHandler((m) => {
19396
+ }), this.initialContent && ((e = this.terminal) == null || e.write(this.initialContent)), this.fitAddon = new YS(), this.fitAddon.activate(this.terminal), this.serializer = new iS.SerializeAddon(), this.terminal.loadAddon(this.serializer), this.terminal.loadAddon(new aS.Unicode11Addon()), this.terminal.loadAddon(new lS.WebLinksAddon(Ye(this, Ge, bg).bind(this))), this.terminal.attachCustomKeyEventHandler((m) => {
19397
19397
  var h;
19398
19398
  if (m.shiftKey && m.ctrlKey && m.code === "KeyC") {
19399
19399
  const b = (h = this == null ? void 0 : this.terminal) == null ? void 0 : h.getSelection();
@@ -19507,7 +19507,7 @@ let it = class extends Bt {
19507
19507
  }), this.terminal.open(r), this.takeFocus && this.terminal.focus(), Ye(this, Ge, Vo).call(this), Ye(this, Ge, eo).call(this);
19508
19508
  const n = Ye(this, Ge, lg).call(this), i = new kr((l) => {
19509
19509
  window.addEventListener("resize", () => l.next(Ye(this, Ge, vc).call(this, !0))), r.addEventListener("mouseup", () => l.next(Ye(this, Ge, vc).call(this, !1)));
19510
- }).pipe(WS());
19510
+ }).pipe(KS());
19511
19511
  Ye(this, Ge, dg).call(this, i), Ye(this, Ge, hg).call(this, i), r.appendChild(n);
19512
19512
  const o = Zt();
19513
19513
  o.postMessage && St(o, Ue.terminalOpen, {
@@ -19519,7 +19519,7 @@ let it = class extends Bt {
19519
19519
  render() {
19520
19520
  const e = Ae`
19521
19521
  <close-cell-button
19522
- @closed="${() => HS({
19522
+ @closed="${() => $S({
19523
19523
  id: this.id,
19524
19524
  outputType: Um.terminal
19525
19525
  })}"
@@ -19672,9 +19672,9 @@ vc = function(e) {
19672
19672
  };
19673
19673
  dg = async function(e) {
19674
19674
  const t = e.pipe(
19675
- tg((r) => !!r),
19676
- ng(),
19677
- rg(100)
19675
+ ng((r) => !!r),
19676
+ sg(),
19677
+ ig(100)
19678
19678
  ).subscribe(async (r) => {
19679
19679
  const n = Zt();
19680
19680
  n.postMessage && await St(n, Ue.terminalResize, {
@@ -19686,10 +19686,10 @@ dg = async function(e) {
19686
19686
  };
19687
19687
  hg = async function(e) {
19688
19688
  const t = e.pipe(
19689
- PS((r) => r == null ? void 0 : r.rows),
19690
- tg((r) => !!r),
19691
- ng(),
19692
- rg(100)
19689
+ ZS((r) => r == null ? void 0 : r.rows),
19690
+ ng((r) => !!r),
19691
+ sg(),
19692
+ ig(100)
19693
19693
  ).subscribe(async (r) => {
19694
19694
  const n = Zt();
19695
19695
  n.postMessage && n.postMessage({
@@ -22613,7 +22613,7 @@ let Zr = class extends Bt {
22613
22613
  >${ut(
22614
22614
  this._copied,
22615
22615
  () => Ae`${$w}`,
22616
- () => Ae`${ig}`
22616
+ () => Ae`${Xm}`
22617
22617
  )}</vscode-button
22618
22618
  >`,
22619
22619
  () => Ae``
@@ -22750,7 +22750,7 @@ let Cc = class extends Bt {
22750
22750
  spec: t.spec,
22751
22751
  specClass: t.isRequired ? "required" : "optional",
22752
22752
  source: t.origin,
22753
- updatedAt: XS(new Date(t.updateTime)),
22753
+ updatedAt: jS(new Date(t.updateTime)),
22754
22754
  // createdAt: formatDate(new Date(v.createTime)),
22755
22755
  resolvedValue: t.resolvedValue,
22756
22756
  errors: t.errors
@@ -22777,7 +22777,7 @@ let Cc = class extends Bt {
22777
22777
  // row[field] ? formatDateWithTimeAgo(new Date(row[field])) : '',
22778
22778
  // )
22779
22779
  case "updatedAt":
22780
- return Tn(this, Mr, Ei).call(this, t, r, () => t[r] ? YS(new Date(t[r])) : "");
22780
+ return Tn(this, Mr, Ei).call(this, t, r, () => t[r] ? JS(new Date(t[r])) : "");
22781
22781
  case "spec":
22782
22782
  return Tn(this, Mr, Ei).call(this, t, r, () => Ae`<span class="${t.specClass}">${t[r]}</span>`);
22783
22783
  default:
@@ -24892,7 +24892,7 @@ function V5({
24892
24892
  ref: (L) => {
24893
24893
  if (!L || L.hasChildNodes())
24894
24894
  return;
24895
- const V = document.createElement("terminal-view");
24895
+ const V = document.createElement("console-view");
24896
24896
  V.setAttribute("buttons", "false"), V.setAttribute(
24897
24897
  "id",
24898
24898
  E.output["runme.dev/id"]