@runmedev/renderers 3.15.11 → 3.15.12
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.
- package/dist/components/console/actionButton.d.ts.map +1 -0
- package/dist/components/console/gistCell.d.ts.map +1 -0
- package/dist/components/{terminal → console}/index.d.ts +2 -2
- package/dist/components/console/index.d.ts.map +1 -0
- package/dist/components/console/open.d.ts.map +1 -0
- package/dist/components/console/saveButton.d.ts.map +1 -0
- package/dist/components/console/shareButton.d.ts.map +1 -0
- package/dist/components/console/vscode.css.d.ts.map +1 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/{runme-renderers.cjs → index.cjs} +108 -108
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/{runme-renderers.mjs → index.mjs} +291 -289
- package/package.json +13 -6
- package/dist/components/loadingBar/index.d.ts +0 -6
- package/dist/components/loadingBar/index.d.ts.map +0 -1
- package/dist/components/loadingBar/styles/loadingBar.css.d.ts +0 -3
- package/dist/components/loadingBar/styles/loadingBar.css.d.ts.map +0 -1
- package/dist/components/spinner.d.ts +0 -6
- package/dist/components/spinner.d.ts.map +0 -1
- package/dist/components/terminal/actionButton.d.ts.map +0 -1
- package/dist/components/terminal/gistCell.d.ts.map +0 -1
- package/dist/components/terminal/index.d.ts.map +0 -1
- package/dist/components/terminal/open.d.ts.map +0 -1
- package/dist/components/terminal/saveButton.d.ts.map +0 -1
- package/dist/components/terminal/shareButton.d.ts.map +0 -1
- package/dist/components/terminal/vscode.css.d.ts.map +0 -1
- /package/dist/components/{terminal → console}/actionButton.d.ts +0 -0
- /package/dist/components/{terminal → console}/gistCell.d.ts +0 -0
- /package/dist/components/{terminal → console}/open.d.ts +0 -0
- /package/dist/components/{terminal → console}/saveButton.d.ts +0 -0
- /package/dist/components/{terminal → console}/shareButton.d.ts +0 -0
- /package/dist/components/{terminal → console}/vscode.css.d.ts +0 -0
|
@@ -820,6 +820,172 @@ function J(e) {
|
|
|
820
820
|
function Ho(e) {
|
|
821
821
|
return J({ ...e, state: !0, attribute: !1 });
|
|
822
822
|
}
|
|
823
|
+
var Uo = Object.getOwnPropertyDescriptor, $o = (e, t, r, h) => {
|
|
824
|
+
for (var v = h > 1 ? void 0 : h ? Uo(t, r) : t, E = e.length - 1, C; E >= 0; E--)
|
|
825
|
+
(C = e[E]) && (v = C(v) || v);
|
|
826
|
+
return v;
|
|
827
|
+
};
|
|
828
|
+
let mr = class extends ue {
|
|
829
|
+
onClose(e) {
|
|
830
|
+
e.defaultPrevented && e.preventDefault();
|
|
831
|
+
const t = new CustomEvent("closed");
|
|
832
|
+
this.dispatchEvent(t);
|
|
833
|
+
}
|
|
834
|
+
render() {
|
|
835
|
+
return Z`
|
|
836
|
+
<div class="close-button tooltip">
|
|
837
|
+
<span class="tooltiptext">Close</span>
|
|
838
|
+
<vscode-button
|
|
839
|
+
class="control"
|
|
840
|
+
appearance="icon"
|
|
841
|
+
aria-label="Close"
|
|
842
|
+
@click="${this.onClose}"
|
|
843
|
+
>
|
|
844
|
+
<span class="icon icon-close"></span>
|
|
845
|
+
</vscode-button>
|
|
846
|
+
</div>
|
|
847
|
+
`;
|
|
848
|
+
}
|
|
849
|
+
};
|
|
850
|
+
mr.styles = Se`
|
|
851
|
+
:host {
|
|
852
|
+
--button-icon-hover-background: var(--vscode-toolbar-hoverBackground);
|
|
853
|
+
--tooltip-background: #343434;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
.close-button .control {
|
|
857
|
+
outline: none;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
.close-button {
|
|
861
|
+
position: absolute;
|
|
862
|
+
top: 5px;
|
|
863
|
+
right: 5px;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.close-button,
|
|
867
|
+
.close-button:hover {
|
|
868
|
+
border: none;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
@media (prefers-color-scheme: light) {
|
|
872
|
+
.icon-close {
|
|
873
|
+
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");
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
@media (prefers-color-scheme: dark) {
|
|
878
|
+
.icon-close {
|
|
879
|
+
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");
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
.tooltip .tooltiptext {
|
|
884
|
+
visibility: hidden;
|
|
885
|
+
width: 50px;
|
|
886
|
+
background-color: var(--tooltip-background);
|
|
887
|
+
color: #fff;
|
|
888
|
+
text-align: center;
|
|
889
|
+
padding: 5px 0;
|
|
890
|
+
position: absolute;
|
|
891
|
+
z-index: 1;
|
|
892
|
+
bottom: 150%;
|
|
893
|
+
right: -60%;
|
|
894
|
+
margin-left: -60px;
|
|
895
|
+
top: 126%;
|
|
896
|
+
height: 15px;
|
|
897
|
+
box-shadow: 2px 2px 4px -2px var(--vscode-input-border);
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
.tooltip .tooltiptext::after {
|
|
901
|
+
content: ' ';
|
|
902
|
+
position: absolute;
|
|
903
|
+
bottom: 100%; /* At the top of the tooltip */
|
|
904
|
+
left: 50%;
|
|
905
|
+
margin-left: -5px;
|
|
906
|
+
border-width: 5px;
|
|
907
|
+
border-style: solid;
|
|
908
|
+
border-color: transparent transparent var(--tooltip-background) transparent;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
.tooltip .tooltiptext {
|
|
912
|
+
transition-delay: 1s;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
.tooltip:hover .tooltiptext {
|
|
916
|
+
visibility: visible;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
.tooltip:not(:hover) .tooltiptext {
|
|
920
|
+
transition-delay: 0s;
|
|
921
|
+
}
|
|
922
|
+
`;
|
|
923
|
+
mr = $o([
|
|
924
|
+
pe("close-cell-button")
|
|
925
|
+
], mr);
|
|
926
|
+
const as = Z`
|
|
927
|
+
<svg
|
|
928
|
+
class="icon"
|
|
929
|
+
width="16"
|
|
930
|
+
height="16"
|
|
931
|
+
viewBox="0 0 16 16"
|
|
932
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
933
|
+
fill="currentColor"
|
|
934
|
+
>
|
|
935
|
+
<path
|
|
936
|
+
fill-rule="evenodd"
|
|
937
|
+
clip-rule="evenodd"
|
|
938
|
+
d="M4 4l1-1h5.414L14 6.586V14l-1 1H5l-1-1V4zm9 3l-3-3H5v10h8V7z"
|
|
939
|
+
/>
|
|
940
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 1L2 2v10l1 1V2h6.414l-1-1H3z" />
|
|
941
|
+
</svg>
|
|
942
|
+
`;
|
|
943
|
+
var Wo = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor, cs = (e, t, r, h) => {
|
|
944
|
+
for (var v = h > 1 ? void 0 : h ? Vo(t, r) : t, E = e.length - 1, C; E >= 0; E--)
|
|
945
|
+
(C = e[E]) && (v = (h ? C(t, r, v) : C(v)) || v);
|
|
946
|
+
return h && v && Wo(t, r, v), v;
|
|
947
|
+
};
|
|
948
|
+
let Wt = class extends ue {
|
|
949
|
+
constructor() {
|
|
950
|
+
super(...arguments), this.copyText = "Copy";
|
|
951
|
+
}
|
|
952
|
+
onCopy(e) {
|
|
953
|
+
e.defaultPrevented && e.preventDefault();
|
|
954
|
+
const t = new CustomEvent("onCopy");
|
|
955
|
+
this.dispatchEvent(t);
|
|
956
|
+
}
|
|
957
|
+
render() {
|
|
958
|
+
return Z`
|
|
959
|
+
<vscode-button appearance="secondary" @click=${this.onCopy}>
|
|
960
|
+
${as} ${this.copyText}
|
|
961
|
+
</vscode-button>
|
|
962
|
+
`;
|
|
963
|
+
}
|
|
964
|
+
};
|
|
965
|
+
Wt.styles = Se`
|
|
966
|
+
vscode-button {
|
|
967
|
+
color: var(--vscode-button-foreground);
|
|
968
|
+
background-color: var(--vscode-button-background);
|
|
969
|
+
transform: scale(0.9);
|
|
970
|
+
}
|
|
971
|
+
vscode-button:hover {
|
|
972
|
+
background: var(--vscode-button-hoverBackground);
|
|
973
|
+
}
|
|
974
|
+
vscode-button:focus {
|
|
975
|
+
outline: #007fd4 1px solid;
|
|
976
|
+
}
|
|
977
|
+
.icon {
|
|
978
|
+
width: 13px;
|
|
979
|
+
margin: 0 5px 0 -5px;
|
|
980
|
+
padding: 0;
|
|
981
|
+
}
|
|
982
|
+
`;
|
|
983
|
+
cs([
|
|
984
|
+
J({ type: String })
|
|
985
|
+
], Wt.prototype, "copyText", 2);
|
|
986
|
+
Wt = cs([
|
|
987
|
+
pe("copy-button")
|
|
988
|
+
], Wt);
|
|
823
989
|
/**
|
|
824
990
|
* @license
|
|
825
991
|
* Copyright 2021 Google LLC
|
|
@@ -829,7 +995,7 @@ function ce(e, t, r) {
|
|
|
829
995
|
return e ? t(e) : r == null ? void 0 : r(e);
|
|
830
996
|
}
|
|
831
997
|
var ar = { exports: {} }, ai;
|
|
832
|
-
function
|
|
998
|
+
function jo() {
|
|
833
999
|
return ai || (ai = 1, (function(e, t) {
|
|
834
1000
|
(function(r, h) {
|
|
835
1001
|
e.exports = h();
|
|
@@ -2515,7 +2681,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
2515
2681
|
}
|
|
2516
2682
|
}
|
|
2517
2683
|
i.JoinedCellData = f;
|
|
2518
|
-
let s = i.CharacterJoinerService = class
|
|
2684
|
+
let s = i.CharacterJoinerService = class ls {
|
|
2519
2685
|
constructor(o) {
|
|
2520
2686
|
this._bufferService = o, this._characterJoiners = [], this._nextCharacterJoinerId = 0, this._workCell = new b.CellData();
|
|
2521
2687
|
}
|
|
@@ -2559,7 +2725,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
2559
2725
|
}
|
|
2560
2726
|
for (let k = 1; k < this._characterJoiners.length; k++) try {
|
|
2561
2727
|
const x = this._characterJoiners[k].handler(y);
|
|
2562
|
-
for (let L = 0; L < x.length; L++)
|
|
2728
|
+
for (let L = 0; L < x.length; L++) ls._mergeRanges(p, x[L]);
|
|
2563
2729
|
} catch (x) {
|
|
2564
2730
|
console.error(x);
|
|
2565
2731
|
}
|
|
@@ -6927,12 +7093,12 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
6927
7093
|
})()));
|
|
6928
7094
|
})(ar)), ar.exports;
|
|
6929
7095
|
}
|
|
6930
|
-
var
|
|
6931
|
-
function
|
|
7096
|
+
var Go = jo(), Ot = { exports: {} }, Ko = Ot.exports, ci;
|
|
7097
|
+
function zo() {
|
|
6932
7098
|
return ci || (ci = 1, (function(e, t) {
|
|
6933
7099
|
(function(r, h) {
|
|
6934
7100
|
e.exports = h();
|
|
6935
|
-
})(
|
|
7101
|
+
})(Ko, (() => (() => {
|
|
6936
7102
|
var r = { 930: (C, i, c) => {
|
|
6937
7103
|
Object.defineProperty(i, "__esModule", { value: !0 }), i.ColorContrastCache = void 0;
|
|
6938
7104
|
const d = c(485);
|
|
@@ -7492,12 +7658,12 @@ function Vo() {
|
|
|
7492
7658
|
})()));
|
|
7493
7659
|
})(Ot)), Ot.exports;
|
|
7494
7660
|
}
|
|
7495
|
-
var
|
|
7496
|
-
function
|
|
7661
|
+
var Zo = zo(), Nt = { exports: {} }, Xo = Nt.exports, li;
|
|
7662
|
+
function Yo() {
|
|
7497
7663
|
return li || (li = 1, (function(e, t) {
|
|
7498
7664
|
(function(r, h) {
|
|
7499
7665
|
e.exports = h();
|
|
7500
|
-
})(
|
|
7666
|
+
})(Xo, (() => (() => {
|
|
7501
7667
|
var r = { 433: (C, i, c) => {
|
|
7502
7668
|
Object.defineProperty(i, "__esModule", { value: !0 }), i.UnicodeV11 = void 0;
|
|
7503
7669
|
const d = c(938), g = [[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]], l = [[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]], _ = [[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]], b = [[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]];
|
|
@@ -7676,8 +7842,8 @@ function Ko() {
|
|
|
7676
7842
|
})()));
|
|
7677
7843
|
})(Nt)), Nt.exports;
|
|
7678
7844
|
}
|
|
7679
|
-
var
|
|
7680
|
-
function
|
|
7845
|
+
var Jo = Yo(), cr = { exports: {} }, di;
|
|
7846
|
+
function qo() {
|
|
7681
7847
|
return di || (di = 1, (function(e, t) {
|
|
7682
7848
|
(function(r, h) {
|
|
7683
7849
|
e.exports = h();
|
|
@@ -7797,17 +7963,17 @@ function Zo() {
|
|
|
7797
7963
|
})()));
|
|
7798
7964
|
})(cr)), cr.exports;
|
|
7799
7965
|
}
|
|
7800
|
-
var
|
|
7966
|
+
var Qo = qo();
|
|
7801
7967
|
function fe(e) {
|
|
7802
7968
|
return typeof e == "function";
|
|
7803
7969
|
}
|
|
7804
|
-
function
|
|
7970
|
+
function ds(e) {
|
|
7805
7971
|
var t = function(h) {
|
|
7806
7972
|
Error.call(h), h.stack = new Error().stack;
|
|
7807
7973
|
}, r = e(t);
|
|
7808
7974
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
7809
7975
|
}
|
|
7810
|
-
var lr =
|
|
7976
|
+
var lr = ds(function(e) {
|
|
7811
7977
|
return function(r) {
|
|
7812
7978
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
7813
7979
|
` + r.map(function(h, v) {
|
|
@@ -7816,7 +7982,7 @@ var lr = cs(function(e) {
|
|
|
7816
7982
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
7817
7983
|
};
|
|
7818
7984
|
});
|
|
7819
|
-
function
|
|
7985
|
+
function Vt(e, t) {
|
|
7820
7986
|
if (e) {
|
|
7821
7987
|
var r = e.indexOf(t);
|
|
7822
7988
|
0 <= r && e.splice(r, 1);
|
|
@@ -7902,24 +8068,24 @@ var Bt = (function() {
|
|
|
7902
8068
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
7903
8069
|
}, e.prototype._removeParent = function(t) {
|
|
7904
8070
|
var r = this._parentage;
|
|
7905
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
8071
|
+
r === t ? this._parentage = null : Array.isArray(r) && Vt(r, t);
|
|
7906
8072
|
}, e.prototype.remove = function(t) {
|
|
7907
8073
|
var r = this._finalizers;
|
|
7908
|
-
r &&
|
|
8074
|
+
r && Vt(r, t), t instanceof e && t._removeParent(this);
|
|
7909
8075
|
}, e.EMPTY = (function() {
|
|
7910
8076
|
var t = new e();
|
|
7911
8077
|
return t.closed = !0, t;
|
|
7912
8078
|
})(), e;
|
|
7913
|
-
})(),
|
|
7914
|
-
function
|
|
8079
|
+
})(), hs = Bt.EMPTY;
|
|
8080
|
+
function us(e) {
|
|
7915
8081
|
return e instanceof Bt || e && "closed" in e && fe(e.remove) && fe(e.add) && fe(e.unsubscribe);
|
|
7916
8082
|
}
|
|
7917
8083
|
function hi(e) {
|
|
7918
8084
|
fe(e) ? e() : e.unsubscribe();
|
|
7919
8085
|
}
|
|
7920
|
-
var
|
|
8086
|
+
var en = {
|
|
7921
8087
|
Promise: void 0
|
|
7922
|
-
},
|
|
8088
|
+
}, tn = {
|
|
7923
8089
|
setTimeout: function(e, t) {
|
|
7924
8090
|
for (var r = [], h = 2; h < arguments.length; h++)
|
|
7925
8091
|
r[h - 2] = arguments[h];
|
|
@@ -7930,8 +8096,8 @@ var Yo = {
|
|
|
7930
8096
|
},
|
|
7931
8097
|
delegate: void 0
|
|
7932
8098
|
};
|
|
7933
|
-
function
|
|
7934
|
-
|
|
8099
|
+
function fs(e) {
|
|
8100
|
+
tn.setTimeout(function() {
|
|
7935
8101
|
throw e;
|
|
7936
8102
|
});
|
|
7937
8103
|
}
|
|
@@ -7944,7 +8110,7 @@ var Tr = (function(e) {
|
|
|
7944
8110
|
Oe(t, e);
|
|
7945
8111
|
function t(r) {
|
|
7946
8112
|
var h = e.call(this) || this;
|
|
7947
|
-
return h.isStopped = !1, r ? (h.destination = r,
|
|
8113
|
+
return h.isStopped = !1, r ? (h.destination = r, us(r) && r.add(h)) : h.destination = on, h;
|
|
7948
8114
|
}
|
|
7949
8115
|
return t.create = function(r, h, v) {
|
|
7950
8116
|
return new pt(r, h, v);
|
|
@@ -7971,7 +8137,7 @@ var Tr = (function(e) {
|
|
|
7971
8137
|
this.unsubscribe();
|
|
7972
8138
|
}
|
|
7973
8139
|
}, t;
|
|
7974
|
-
})(Bt),
|
|
8140
|
+
})(Bt), rn = (function() {
|
|
7975
8141
|
function e(t) {
|
|
7976
8142
|
this.partialObserver = t;
|
|
7977
8143
|
}
|
|
@@ -8010,29 +8176,29 @@ var Tr = (function(e) {
|
|
|
8010
8176
|
next: r ?? void 0,
|
|
8011
8177
|
error: h ?? void 0,
|
|
8012
8178
|
complete: v ?? void 0
|
|
8013
|
-
} : C = r, E.destination = new
|
|
8179
|
+
} : C = r, E.destination = new rn(C), E;
|
|
8014
8180
|
}
|
|
8015
8181
|
return t;
|
|
8016
8182
|
})(Tr);
|
|
8017
8183
|
function At(e) {
|
|
8018
|
-
|
|
8184
|
+
fs(e);
|
|
8019
8185
|
}
|
|
8020
|
-
function
|
|
8186
|
+
function sn(e) {
|
|
8021
8187
|
throw e;
|
|
8022
8188
|
}
|
|
8023
|
-
var
|
|
8189
|
+
var on = {
|
|
8024
8190
|
closed: !0,
|
|
8025
8191
|
next: ui,
|
|
8026
|
-
error:
|
|
8192
|
+
error: sn,
|
|
8027
8193
|
complete: ui
|
|
8028
8194
|
}, Dr = (function() {
|
|
8029
8195
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
8030
8196
|
})();
|
|
8031
|
-
function
|
|
8197
|
+
function _s(e) {
|
|
8032
8198
|
return e;
|
|
8033
8199
|
}
|
|
8034
|
-
function
|
|
8035
|
-
return e.length === 0 ?
|
|
8200
|
+
function nn(e) {
|
|
8201
|
+
return e.length === 0 ? _s : e.length === 1 ? e[0] : function(r) {
|
|
8036
8202
|
return e.reduce(function(h, v) {
|
|
8037
8203
|
return v(h);
|
|
8038
8204
|
}, r);
|
|
@@ -8046,7 +8212,7 @@ var ke = (function() {
|
|
|
8046
8212
|
var r = new e();
|
|
8047
8213
|
return r.source = this, r.operator = t, r;
|
|
8048
8214
|
}, e.prototype.subscribe = function(t, r, h) {
|
|
8049
|
-
var v = this, E =
|
|
8215
|
+
var v = this, E = cn(t) ? t : new pt(t, r, h);
|
|
8050
8216
|
return Mt(function() {
|
|
8051
8217
|
var C = v, i = C.operator, c = C.source;
|
|
8052
8218
|
E.add(i ? i.call(E, c) : c ? v._subscribe(E) : v._trySubscribe(E));
|
|
@@ -8081,7 +8247,7 @@ var ke = (function() {
|
|
|
8081
8247
|
}, e.prototype.pipe = function() {
|
|
8082
8248
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
8083
8249
|
t[r] = arguments[r];
|
|
8084
|
-
return
|
|
8250
|
+
return nn(t)(this);
|
|
8085
8251
|
}, e.prototype.toPromise = function(t) {
|
|
8086
8252
|
var r = this;
|
|
8087
8253
|
return t = fi(t), new t(function(h, v) {
|
|
@@ -8100,20 +8266,20 @@ var ke = (function() {
|
|
|
8100
8266
|
})();
|
|
8101
8267
|
function fi(e) {
|
|
8102
8268
|
var t;
|
|
8103
|
-
return (t = e ??
|
|
8269
|
+
return (t = e ?? en.Promise) !== null && t !== void 0 ? t : Promise;
|
|
8104
8270
|
}
|
|
8105
|
-
function
|
|
8271
|
+
function an(e) {
|
|
8106
8272
|
return e && fe(e.next) && fe(e.error) && fe(e.complete);
|
|
8107
8273
|
}
|
|
8108
|
-
function
|
|
8109
|
-
return e && e instanceof Tr ||
|
|
8274
|
+
function cn(e) {
|
|
8275
|
+
return e && e instanceof Tr || an(e) && us(e);
|
|
8110
8276
|
}
|
|
8111
|
-
function
|
|
8277
|
+
function ln(e) {
|
|
8112
8278
|
return fe(e == null ? void 0 : e.lift);
|
|
8113
8279
|
}
|
|
8114
8280
|
function It(e) {
|
|
8115
8281
|
return function(t) {
|
|
8116
|
-
if (
|
|
8282
|
+
if (ln(t))
|
|
8117
8283
|
return t.lift(function(r) {
|
|
8118
8284
|
try {
|
|
8119
8285
|
return e(r, this);
|
|
@@ -8125,9 +8291,9 @@ function It(e) {
|
|
|
8125
8291
|
};
|
|
8126
8292
|
}
|
|
8127
8293
|
function Xt(e, t, r, h, v) {
|
|
8128
|
-
return new
|
|
8294
|
+
return new dn(e, t, r, h, v);
|
|
8129
8295
|
}
|
|
8130
|
-
var
|
|
8296
|
+
var dn = (function(e) {
|
|
8131
8297
|
Oe(t, e);
|
|
8132
8298
|
function t(r, h, v, E, C, i) {
|
|
8133
8299
|
var c = e.call(this, r) || this;
|
|
@@ -8162,11 +8328,11 @@ var nn = (function(e) {
|
|
|
8162
8328
|
e.prototype.unsubscribe.call(this), !h && ((r = this.onFinalize) === null || r === void 0 || r.call(this));
|
|
8163
8329
|
}
|
|
8164
8330
|
}, t;
|
|
8165
|
-
})(Tr),
|
|
8331
|
+
})(Tr), hn = ds(function(e) {
|
|
8166
8332
|
return function() {
|
|
8167
8333
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
8168
8334
|
};
|
|
8169
|
-
}),
|
|
8335
|
+
}), gs = (function(e) {
|
|
8170
8336
|
Oe(t, e);
|
|
8171
8337
|
function t() {
|
|
8172
8338
|
var r = e.call(this) || this;
|
|
@@ -8177,7 +8343,7 @@ var nn = (function(e) {
|
|
|
8177
8343
|
return h.operator = r, h;
|
|
8178
8344
|
}, t.prototype._throwIfClosed = function() {
|
|
8179
8345
|
if (this.closed)
|
|
8180
|
-
throw new
|
|
8346
|
+
throw new hn();
|
|
8181
8347
|
}, t.prototype.next = function(r) {
|
|
8182
8348
|
var h = this;
|
|
8183
8349
|
Mt(function() {
|
|
@@ -8233,8 +8399,8 @@ var nn = (function(e) {
|
|
|
8233
8399
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
8234
8400
|
}, t.prototype._innerSubscribe = function(r) {
|
|
8235
8401
|
var h = this, v = this, E = v.hasError, C = v.isStopped, i = v.observers;
|
|
8236
|
-
return E || C ?
|
|
8237
|
-
h.currentObservers = null,
|
|
8402
|
+
return E || C ? hs : (this.currentObservers = null, i.push(r), new Bt(function() {
|
|
8403
|
+
h.currentObservers = null, Vt(i, r);
|
|
8238
8404
|
}));
|
|
8239
8405
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
8240
8406
|
var h = this, v = h.hasError, E = h.thrownError, C = h.isStopped;
|
|
@@ -8262,13 +8428,13 @@ var nn = (function(e) {
|
|
|
8262
8428
|
(h = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || h === void 0 || h.call(r);
|
|
8263
8429
|
}, t.prototype._subscribe = function(r) {
|
|
8264
8430
|
var h, v;
|
|
8265
|
-
return (v = (h = this.source) === null || h === void 0 ? void 0 : h.subscribe(r)) !== null && v !== void 0 ? v :
|
|
8431
|
+
return (v = (h = this.source) === null || h === void 0 ? void 0 : h.subscribe(r)) !== null && v !== void 0 ? v : hs;
|
|
8266
8432
|
}, t;
|
|
8267
|
-
})(
|
|
8433
|
+
})(gs), un = {
|
|
8268
8434
|
now: function() {
|
|
8269
8435
|
return Date.now();
|
|
8270
8436
|
}
|
|
8271
|
-
},
|
|
8437
|
+
}, fn = (function(e) {
|
|
8272
8438
|
Oe(t, e);
|
|
8273
8439
|
function t(r, h) {
|
|
8274
8440
|
return e.call(this) || this;
|
|
@@ -8286,7 +8452,7 @@ var nn = (function(e) {
|
|
|
8286
8452
|
return clearInterval(e);
|
|
8287
8453
|
},
|
|
8288
8454
|
delegate: void 0
|
|
8289
|
-
},
|
|
8455
|
+
}, _n = (function(e) {
|
|
8290
8456
|
Oe(t, e);
|
|
8291
8457
|
function t(r, h) {
|
|
8292
8458
|
var v = e.call(this, r, h) || this;
|
|
@@ -8325,17 +8491,17 @@ var nn = (function(e) {
|
|
|
8325
8491
|
}, t.prototype.unsubscribe = function() {
|
|
8326
8492
|
if (!this.closed) {
|
|
8327
8493
|
var r = this, h = r.id, v = r.scheduler, E = v.actions;
|
|
8328
|
-
this.work = this.state = this.scheduler = null, this.pending = !1,
|
|
8494
|
+
this.work = this.state = this.scheduler = null, this.pending = !1, Vt(E, this), h != null && (this.id = this.recycleAsyncId(v, h, null)), this.delay = null, e.prototype.unsubscribe.call(this);
|
|
8329
8495
|
}
|
|
8330
8496
|
}, t;
|
|
8331
|
-
})(
|
|
8497
|
+
})(fn), vi = (function() {
|
|
8332
8498
|
function e(t, r) {
|
|
8333
8499
|
r === void 0 && (r = e.now), this.schedulerActionCtor = t, this.now = r;
|
|
8334
8500
|
}
|
|
8335
8501
|
return e.prototype.schedule = function(t, r, h) {
|
|
8336
8502
|
return r === void 0 && (r = 0), new this.schedulerActionCtor(this, t).schedule(h, r);
|
|
8337
|
-
}, e.now =
|
|
8338
|
-
})(),
|
|
8503
|
+
}, e.now = un.now, e;
|
|
8504
|
+
})(), gn = (function(e) {
|
|
8339
8505
|
Oe(t, e);
|
|
8340
8506
|
function t(r, h) {
|
|
8341
8507
|
h === void 0 && (h = vi.now);
|
|
@@ -8360,29 +8526,29 @@ var nn = (function(e) {
|
|
|
8360
8526
|
throw v;
|
|
8361
8527
|
}
|
|
8362
8528
|
}, t;
|
|
8363
|
-
})(vi),
|
|
8529
|
+
})(vi), vn = new gn(_n), pn = (function(e) {
|
|
8364
8530
|
return e && typeof e.length == "number" && typeof e != "function";
|
|
8365
8531
|
});
|
|
8366
|
-
function
|
|
8532
|
+
function mn(e) {
|
|
8367
8533
|
return fe(e == null ? void 0 : e.then);
|
|
8368
8534
|
}
|
|
8369
|
-
function
|
|
8535
|
+
function bn(e) {
|
|
8370
8536
|
return fe(e[Dr]);
|
|
8371
8537
|
}
|
|
8372
|
-
function
|
|
8538
|
+
function Sn(e) {
|
|
8373
8539
|
return Symbol.asyncIterator && fe(e == null ? void 0 : e[Symbol.asyncIterator]);
|
|
8374
8540
|
}
|
|
8375
|
-
function
|
|
8541
|
+
function yn(e) {
|
|
8376
8542
|
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.");
|
|
8377
8543
|
}
|
|
8378
|
-
function
|
|
8544
|
+
function Cn() {
|
|
8379
8545
|
return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
|
|
8380
8546
|
}
|
|
8381
|
-
var
|
|
8382
|
-
function
|
|
8383
|
-
return fe(e == null ? void 0 : e[
|
|
8547
|
+
var wn = Cn();
|
|
8548
|
+
function En(e) {
|
|
8549
|
+
return fe(e == null ? void 0 : e[wn]);
|
|
8384
8550
|
}
|
|
8385
|
-
function
|
|
8551
|
+
function kn(e) {
|
|
8386
8552
|
return po(this, arguments, function() {
|
|
8387
8553
|
var r, h, v, E;
|
|
8388
8554
|
return ts(this, function(C) {
|
|
@@ -8413,29 +8579,29 @@ function yn(e) {
|
|
|
8413
8579
|
});
|
|
8414
8580
|
});
|
|
8415
8581
|
}
|
|
8416
|
-
function
|
|
8582
|
+
function Bn(e) {
|
|
8417
8583
|
return fe(e == null ? void 0 : e.getReader);
|
|
8418
8584
|
}
|
|
8419
|
-
function
|
|
8585
|
+
function vs(e) {
|
|
8420
8586
|
if (e instanceof ke)
|
|
8421
8587
|
return e;
|
|
8422
8588
|
if (e != null) {
|
|
8423
|
-
if (
|
|
8424
|
-
return wn(e);
|
|
8425
|
-
if (fn(e))
|
|
8426
|
-
return En(e);
|
|
8427
|
-
if (_n(e))
|
|
8428
|
-
return kn(e);
|
|
8429
|
-
if (vn(e))
|
|
8430
|
-
return gs(e);
|
|
8431
|
-
if (Sn(e))
|
|
8432
|
-
return Bn(e);
|
|
8433
|
-
if (Cn(e))
|
|
8589
|
+
if (bn(e))
|
|
8434
8590
|
return In(e);
|
|
8591
|
+
if (pn(e))
|
|
8592
|
+
return Rn(e);
|
|
8593
|
+
if (mn(e))
|
|
8594
|
+
return xn(e);
|
|
8595
|
+
if (Sn(e))
|
|
8596
|
+
return ps(e);
|
|
8597
|
+
if (En(e))
|
|
8598
|
+
return An(e);
|
|
8599
|
+
if (Bn(e))
|
|
8600
|
+
return Ln(e);
|
|
8435
8601
|
}
|
|
8436
|
-
throw
|
|
8602
|
+
throw yn(e);
|
|
8437
8603
|
}
|
|
8438
|
-
function
|
|
8604
|
+
function In(e) {
|
|
8439
8605
|
return new ke(function(t) {
|
|
8440
8606
|
var r = e[Dr]();
|
|
8441
8607
|
if (fe(r.subscribe))
|
|
@@ -8443,23 +8609,23 @@ function wn(e) {
|
|
|
8443
8609
|
throw new TypeError("Provided object does not correctly implement Symbol.observable");
|
|
8444
8610
|
});
|
|
8445
8611
|
}
|
|
8446
|
-
function
|
|
8612
|
+
function Rn(e) {
|
|
8447
8613
|
return new ke(function(t) {
|
|
8448
8614
|
for (var r = 0; r < e.length && !t.closed; r++)
|
|
8449
8615
|
t.next(e[r]);
|
|
8450
8616
|
t.complete();
|
|
8451
8617
|
});
|
|
8452
8618
|
}
|
|
8453
|
-
function
|
|
8619
|
+
function xn(e) {
|
|
8454
8620
|
return new ke(function(t) {
|
|
8455
8621
|
e.then(function(r) {
|
|
8456
8622
|
t.closed || (t.next(r), t.complete());
|
|
8457
8623
|
}, function(r) {
|
|
8458
8624
|
return t.error(r);
|
|
8459
|
-
}).then(null,
|
|
8625
|
+
}).then(null, fs);
|
|
8460
8626
|
});
|
|
8461
8627
|
}
|
|
8462
|
-
function
|
|
8628
|
+
function An(e) {
|
|
8463
8629
|
return new ke(function(t) {
|
|
8464
8630
|
var r, h;
|
|
8465
8631
|
try {
|
|
@@ -8480,17 +8646,17 @@ function Bn(e) {
|
|
|
8480
8646
|
t.complete();
|
|
8481
8647
|
});
|
|
8482
8648
|
}
|
|
8483
|
-
function
|
|
8649
|
+
function ps(e) {
|
|
8484
8650
|
return new ke(function(t) {
|
|
8485
|
-
|
|
8651
|
+
Tn(e, t).catch(function(r) {
|
|
8486
8652
|
return t.error(r);
|
|
8487
8653
|
});
|
|
8488
8654
|
});
|
|
8489
8655
|
}
|
|
8490
|
-
function
|
|
8491
|
-
return
|
|
8656
|
+
function Ln(e) {
|
|
8657
|
+
return ps(kn(e));
|
|
8492
8658
|
}
|
|
8493
|
-
function
|
|
8659
|
+
function Tn(e, t) {
|
|
8494
8660
|
var r, h, v, E;
|
|
8495
8661
|
return vo(this, void 0, void 0, function() {
|
|
8496
8662
|
var C, i;
|
|
@@ -8528,7 +8694,7 @@ function Rn(e, t) {
|
|
|
8528
8694
|
});
|
|
8529
8695
|
});
|
|
8530
8696
|
}
|
|
8531
|
-
function
|
|
8697
|
+
function Dn(e, t) {
|
|
8532
8698
|
return It(function(r, h) {
|
|
8533
8699
|
var v = 0;
|
|
8534
8700
|
r.subscribe(Xt(h, function(E) {
|
|
@@ -8536,7 +8702,7 @@ function xn(e, t) {
|
|
|
8536
8702
|
}));
|
|
8537
8703
|
});
|
|
8538
8704
|
}
|
|
8539
|
-
function
|
|
8705
|
+
function ms(e, t) {
|
|
8540
8706
|
return It(function(r, h) {
|
|
8541
8707
|
var v = 0;
|
|
8542
8708
|
r.subscribe(Xt(h, function(E) {
|
|
@@ -8544,8 +8710,8 @@ function vs(e, t) {
|
|
|
8544
8710
|
}));
|
|
8545
8711
|
});
|
|
8546
8712
|
}
|
|
8547
|
-
function
|
|
8548
|
-
return t === void 0 && (t =
|
|
8713
|
+
function bs(e, t) {
|
|
8714
|
+
return t === void 0 && (t = vn), It(function(r, h) {
|
|
8549
8715
|
var v = null, E = null, C = null, i = function() {
|
|
8550
8716
|
if (v) {
|
|
8551
8717
|
v.unsubscribe(), v = null;
|
|
@@ -8570,8 +8736,8 @@ function ps(e, t) {
|
|
|
8570
8736
|
}));
|
|
8571
8737
|
});
|
|
8572
8738
|
}
|
|
8573
|
-
function
|
|
8574
|
-
return t === void 0 && (t =
|
|
8739
|
+
function Ss(e, t) {
|
|
8740
|
+
return t === void 0 && (t = _s), e = e ?? On, It(function(r, h) {
|
|
8575
8741
|
var v, E = !0;
|
|
8576
8742
|
r.subscribe(Xt(h, function(C) {
|
|
8577
8743
|
var i = t(C);
|
|
@@ -8579,13 +8745,13 @@ function ms(e, t) {
|
|
|
8579
8745
|
}));
|
|
8580
8746
|
});
|
|
8581
8747
|
}
|
|
8582
|
-
function
|
|
8748
|
+
function On(e, t) {
|
|
8583
8749
|
return e === t;
|
|
8584
8750
|
}
|
|
8585
|
-
function
|
|
8751
|
+
function Nn(e) {
|
|
8586
8752
|
e === void 0 && (e = {});
|
|
8587
8753
|
var t = e.connector, r = t === void 0 ? function() {
|
|
8588
|
-
return new
|
|
8754
|
+
return new gs();
|
|
8589
8755
|
} : t, h = e.resetOnError, v = h === void 0 ? !0 : h, E = e.resetOnComplete, C = E === void 0 ? !0 : E, i = e.resetOnRefCountZero, c = i === void 0 ? !0 : i;
|
|
8590
8756
|
return function(d) {
|
|
8591
8757
|
var g, l, _, b = 0, w = !1, f = !1, s = function() {
|
|
@@ -8611,7 +8777,7 @@ function Ln(e) {
|
|
|
8611
8777
|
complete: function() {
|
|
8612
8778
|
w = !0, s(), l = dr(n, C), S.complete();
|
|
8613
8779
|
}
|
|
8614
|
-
}),
|
|
8780
|
+
}), vs(a).subscribe(g));
|
|
8615
8781
|
})(d);
|
|
8616
8782
|
};
|
|
8617
8783
|
}
|
|
@@ -8628,15 +8794,15 @@ function dr(e, t) {
|
|
|
8628
8794
|
v.unsubscribe(), e();
|
|
8629
8795
|
}
|
|
8630
8796
|
});
|
|
8631
|
-
return
|
|
8797
|
+
return vs(t.apply(void 0, ft([], ut(r)))).subscribe(v);
|
|
8632
8798
|
}
|
|
8633
8799
|
}
|
|
8634
8800
|
/**
|
|
8635
8801
|
* Copyright (c) 2017 The xterm.js authors. All rights reserved.
|
|
8636
8802
|
* @license MIT
|
|
8637
8803
|
*/
|
|
8638
|
-
const
|
|
8639
|
-
class
|
|
8804
|
+
const Mn = 2, Pn = 1;
|
|
8805
|
+
class Fn {
|
|
8640
8806
|
constructor() {
|
|
8641
8807
|
}
|
|
8642
8808
|
activate(t) {
|
|
@@ -8664,8 +8830,8 @@ class On {
|
|
|
8664
8830
|
left: parseInt(i.getPropertyValue("padding-left"))
|
|
8665
8831
|
}, d = c.top + c.bottom, g = c.right + c.left, l = E - d, _ = C - g - h, { width: b, height: w } = this.getCellSize();
|
|
8666
8832
|
return {
|
|
8667
|
-
cols: Math.max(
|
|
8668
|
-
rows: Math.max(
|
|
8833
|
+
cols: Math.max(Mn, Math.floor(_ / b)),
|
|
8834
|
+
rows: Math.max(Pn, Math.floor(l / w))
|
|
8669
8835
|
};
|
|
8670
8836
|
}
|
|
8671
8837
|
getCellSize() {
|
|
@@ -8681,9 +8847,9 @@ class On {
|
|
|
8681
8847
|
return this._terminal._core;
|
|
8682
8848
|
}
|
|
8683
8849
|
}
|
|
8684
|
-
function
|
|
8850
|
+
function Hn({}) {
|
|
8685
8851
|
}
|
|
8686
|
-
function
|
|
8852
|
+
function Un(e) {
|
|
8687
8853
|
return e.toLocaleDateString("en-US", {
|
|
8688
8854
|
year: "numeric",
|
|
8689
8855
|
month: "short",
|
|
@@ -8694,176 +8860,10 @@ function Mn(e) {
|
|
|
8694
8860
|
hour12: !0
|
|
8695
8861
|
});
|
|
8696
8862
|
}
|
|
8697
|
-
function
|
|
8863
|
+
function $n(e) {
|
|
8698
8864
|
const r = (/* @__PURE__ */ new Date()).getTime() - e.getTime(), h = Math.floor(r / 1e3) * -1, v = new Intl.RelativeTimeFormat("en", { numeric: "auto" });
|
|
8699
8865
|
return Math.abs(h) < 60 ? v.format(Math.round(h), "second") : Math.abs(h) < 3600 ? v.format(Math.round(h / 60), "minute") : Math.abs(h) < 86400 ? v.format(Math.round(h / 3600), "hour") : v.format(Math.round(h / 86400), "day");
|
|
8700
8866
|
}
|
|
8701
|
-
var Fn = Object.getOwnPropertyDescriptor, Hn = (e, t, r, h) => {
|
|
8702
|
-
for (var v = h > 1 ? void 0 : h ? Fn(t, r) : t, E = e.length - 1, C; E >= 0; E--)
|
|
8703
|
-
(C = e[E]) && (v = C(v) || v);
|
|
8704
|
-
return v;
|
|
8705
|
-
};
|
|
8706
|
-
let mr = class extends ue {
|
|
8707
|
-
onClose(e) {
|
|
8708
|
-
e.defaultPrevented && e.preventDefault();
|
|
8709
|
-
const t = new CustomEvent("closed");
|
|
8710
|
-
this.dispatchEvent(t);
|
|
8711
|
-
}
|
|
8712
|
-
render() {
|
|
8713
|
-
return Z`
|
|
8714
|
-
<div class="close-button tooltip">
|
|
8715
|
-
<span class="tooltiptext">Close</span>
|
|
8716
|
-
<vscode-button
|
|
8717
|
-
class="control"
|
|
8718
|
-
appearance="icon"
|
|
8719
|
-
aria-label="Close"
|
|
8720
|
-
@click="${this.onClose}"
|
|
8721
|
-
>
|
|
8722
|
-
<span class="icon icon-close"></span>
|
|
8723
|
-
</vscode-button>
|
|
8724
|
-
</div>
|
|
8725
|
-
`;
|
|
8726
|
-
}
|
|
8727
|
-
};
|
|
8728
|
-
mr.styles = Se`
|
|
8729
|
-
:host {
|
|
8730
|
-
--button-icon-hover-background: var(--vscode-toolbar-hoverBackground);
|
|
8731
|
-
--tooltip-background: #343434;
|
|
8732
|
-
}
|
|
8733
|
-
|
|
8734
|
-
.close-button .control {
|
|
8735
|
-
outline: none;
|
|
8736
|
-
}
|
|
8737
|
-
|
|
8738
|
-
.close-button {
|
|
8739
|
-
position: absolute;
|
|
8740
|
-
top: 5px;
|
|
8741
|
-
right: 5px;
|
|
8742
|
-
}
|
|
8743
|
-
|
|
8744
|
-
.close-button,
|
|
8745
|
-
.close-button:hover {
|
|
8746
|
-
border: none;
|
|
8747
|
-
}
|
|
8748
|
-
|
|
8749
|
-
@media (prefers-color-scheme: light) {
|
|
8750
|
-
.icon-close {
|
|
8751
|
-
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");
|
|
8752
|
-
}
|
|
8753
|
-
}
|
|
8754
|
-
|
|
8755
|
-
@media (prefers-color-scheme: dark) {
|
|
8756
|
-
.icon-close {
|
|
8757
|
-
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");
|
|
8758
|
-
}
|
|
8759
|
-
}
|
|
8760
|
-
|
|
8761
|
-
.tooltip .tooltiptext {
|
|
8762
|
-
visibility: hidden;
|
|
8763
|
-
width: 50px;
|
|
8764
|
-
background-color: var(--tooltip-background);
|
|
8765
|
-
color: #fff;
|
|
8766
|
-
text-align: center;
|
|
8767
|
-
padding: 5px 0;
|
|
8768
|
-
position: absolute;
|
|
8769
|
-
z-index: 1;
|
|
8770
|
-
bottom: 150%;
|
|
8771
|
-
right: -60%;
|
|
8772
|
-
margin-left: -60px;
|
|
8773
|
-
top: 126%;
|
|
8774
|
-
height: 15px;
|
|
8775
|
-
box-shadow: 2px 2px 4px -2px var(--vscode-input-border);
|
|
8776
|
-
}
|
|
8777
|
-
|
|
8778
|
-
.tooltip .tooltiptext::after {
|
|
8779
|
-
content: ' ';
|
|
8780
|
-
position: absolute;
|
|
8781
|
-
bottom: 100%; /* At the top of the tooltip */
|
|
8782
|
-
left: 50%;
|
|
8783
|
-
margin-left: -5px;
|
|
8784
|
-
border-width: 5px;
|
|
8785
|
-
border-style: solid;
|
|
8786
|
-
border-color: transparent transparent var(--tooltip-background) transparent;
|
|
8787
|
-
}
|
|
8788
|
-
|
|
8789
|
-
.tooltip .tooltiptext {
|
|
8790
|
-
transition-delay: 1s;
|
|
8791
|
-
}
|
|
8792
|
-
|
|
8793
|
-
.tooltip:hover .tooltiptext {
|
|
8794
|
-
visibility: visible;
|
|
8795
|
-
}
|
|
8796
|
-
|
|
8797
|
-
.tooltip:not(:hover) .tooltiptext {
|
|
8798
|
-
transition-delay: 0s;
|
|
8799
|
-
}
|
|
8800
|
-
`;
|
|
8801
|
-
mr = Hn([
|
|
8802
|
-
pe("close-cell-button")
|
|
8803
|
-
], mr);
|
|
8804
|
-
const bs = Z`
|
|
8805
|
-
<svg
|
|
8806
|
-
class="icon"
|
|
8807
|
-
width="16"
|
|
8808
|
-
height="16"
|
|
8809
|
-
viewBox="0 0 16 16"
|
|
8810
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
8811
|
-
fill="currentColor"
|
|
8812
|
-
>
|
|
8813
|
-
<path
|
|
8814
|
-
fill-rule="evenodd"
|
|
8815
|
-
clip-rule="evenodd"
|
|
8816
|
-
d="M4 4l1-1h5.414L14 6.586V14l-1 1H5l-1-1V4zm9 3l-3-3H5v10h8V7z"
|
|
8817
|
-
/>
|
|
8818
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 1L2 2v10l1 1V2h6.414l-1-1H3z" />
|
|
8819
|
-
</svg>
|
|
8820
|
-
`;
|
|
8821
|
-
var Un = Object.defineProperty, $n = Object.getOwnPropertyDescriptor, Ss = (e, t, r, h) => {
|
|
8822
|
-
for (var v = h > 1 ? void 0 : h ? $n(t, r) : t, E = e.length - 1, C; E >= 0; E--)
|
|
8823
|
-
(C = e[E]) && (v = (h ? C(t, r, v) : C(v)) || v);
|
|
8824
|
-
return h && v && Un(t, r, v), v;
|
|
8825
|
-
};
|
|
8826
|
-
let Vt = class extends ue {
|
|
8827
|
-
constructor() {
|
|
8828
|
-
super(...arguments), this.copyText = "Copy";
|
|
8829
|
-
}
|
|
8830
|
-
onCopy(e) {
|
|
8831
|
-
e.defaultPrevented && e.preventDefault();
|
|
8832
|
-
const t = new CustomEvent("onCopy");
|
|
8833
|
-
this.dispatchEvent(t);
|
|
8834
|
-
}
|
|
8835
|
-
render() {
|
|
8836
|
-
return Z`
|
|
8837
|
-
<vscode-button appearance="secondary" @click=${this.onCopy}>
|
|
8838
|
-
${bs} ${this.copyText}
|
|
8839
|
-
</vscode-button>
|
|
8840
|
-
`;
|
|
8841
|
-
}
|
|
8842
|
-
};
|
|
8843
|
-
Vt.styles = Se`
|
|
8844
|
-
vscode-button {
|
|
8845
|
-
color: var(--vscode-button-foreground);
|
|
8846
|
-
background-color: var(--vscode-button-background);
|
|
8847
|
-
transform: scale(0.9);
|
|
8848
|
-
}
|
|
8849
|
-
vscode-button:hover {
|
|
8850
|
-
background: var(--vscode-button-hoverBackground);
|
|
8851
|
-
}
|
|
8852
|
-
vscode-button:focus {
|
|
8853
|
-
outline: #007fd4 1px solid;
|
|
8854
|
-
}
|
|
8855
|
-
.icon {
|
|
8856
|
-
width: 13px;
|
|
8857
|
-
margin: 0 5px 0 -5px;
|
|
8858
|
-
padding: 0;
|
|
8859
|
-
}
|
|
8860
|
-
`;
|
|
8861
|
-
Ss([
|
|
8862
|
-
J({ type: String })
|
|
8863
|
-
], Vt.prototype, "copyText", 2);
|
|
8864
|
-
Vt = Ss([
|
|
8865
|
-
pe("copy-button")
|
|
8866
|
-
], Vt);
|
|
8867
8867
|
const Wn = Z`<svg
|
|
8868
8868
|
class="icon"
|
|
8869
8869
|
width="16"
|
|
@@ -10343,7 +10343,7 @@ const Ge = (...e) => `--vscode-${e.join("-")}`, Ve = (e) => Ge("terminal", e), n
|
|
|
10343
10343
|
"brightMagenta",
|
|
10344
10344
|
"brightCyan",
|
|
10345
10345
|
"brightWhite"
|
|
10346
|
-
], la = "
|
|
10346
|
+
], la = "console-view";
|
|
10347
10347
|
let ie = class extends ue {
|
|
10348
10348
|
constructor() {
|
|
10349
10349
|
super(), oa(this, ee), 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 = {
|
|
@@ -10383,7 +10383,7 @@ let ie = class extends ue {
|
|
|
10383
10383
|
smoothScrollDuration: C,
|
|
10384
10384
|
scrollback: i
|
|
10385
10385
|
} = this;
|
|
10386
|
-
this.terminal = new
|
|
10386
|
+
this.terminal = new Go.Terminal({
|
|
10387
10387
|
rows: e,
|
|
10388
10388
|
fontSize: r,
|
|
10389
10389
|
fontFamily: E,
|
|
@@ -10396,7 +10396,7 @@ let ie = class extends ue {
|
|
|
10396
10396
|
convertEol: !0,
|
|
10397
10397
|
allowProposedApi: !0,
|
|
10398
10398
|
drawBoldTextInBrightColors: !1
|
|
10399
|
-
}), this.initialContent && ((d = this.terminal) == null || d.write(this.initialContent)), this.fitAddon = new
|
|
10399
|
+
}), this.initialContent && ((d = this.terminal) == null || d.write(this.initialContent)), this.fitAddon = new Fn(), this.fitAddon.activate(this.terminal), this.serializer = new Zo.SerializeAddon(), this.terminal.loadAddon(this.serializer), this.terminal.loadAddon(new Jo.Unicode11Addon()), this.terminal.loadAddon(new Qo.WebLinksAddon(re(this, ee, Ds).bind(this))), this.terminal.attachCustomKeyEventHandler((g) => {
|
|
10400
10400
|
var l;
|
|
10401
10401
|
if (g.shiftKey && g.ctrlKey && g.code === "KeyC") {
|
|
10402
10402
|
const _ = (l = this == null ? void 0 : this.terminal) == null ? void 0 : l.getSelection();
|
|
@@ -10510,7 +10510,7 @@ let ie = class extends ue {
|
|
|
10510
10510
|
}), this.terminal.open(t), this.takeFocus && this.terminal.focus(), re(this, ee, Yt).call(this), re(this, ee, Pt).call(this);
|
|
10511
10511
|
const r = re(this, ee, Es).call(this), h = new ke((C) => {
|
|
10512
10512
|
window.addEventListener("resize", () => C.next(re(this, ee, Sr).call(this, !0))), t.addEventListener("mouseup", () => C.next(re(this, ee, Sr).call(this, !1)));
|
|
10513
|
-
}).pipe(
|
|
10513
|
+
}).pipe(Nn());
|
|
10514
10514
|
re(this, ee, Bs).call(this, h), re(this, ee, Is).call(this, h), t.appendChild(r);
|
|
10515
10515
|
const v = ge();
|
|
10516
10516
|
v.postMessage && de(v, te.terminalOpen, {
|
|
@@ -10522,7 +10522,7 @@ let ie = class extends ue {
|
|
|
10522
10522
|
render() {
|
|
10523
10523
|
const h = Z`
|
|
10524
10524
|
<close-cell-button
|
|
10525
|
-
@closed="${() =>
|
|
10525
|
+
@closed="${() => Hn({
|
|
10526
10526
|
id: this.id,
|
|
10527
10527
|
outputType: Qi.terminal
|
|
10528
10528
|
})}"
|
|
@@ -10675,9 +10675,9 @@ Sr = function(e) {
|
|
|
10675
10675
|
};
|
|
10676
10676
|
Bs = async function(e) {
|
|
10677
10677
|
const r = e.pipe(
|
|
10678
|
-
|
|
10679
|
-
|
|
10680
|
-
|
|
10678
|
+
ms((h) => !!h),
|
|
10679
|
+
Ss(),
|
|
10680
|
+
bs(100)
|
|
10681
10681
|
).subscribe(async (h) => {
|
|
10682
10682
|
const v = ge();
|
|
10683
10683
|
v.postMessage && await de(v, te.terminalResize, {
|
|
@@ -10689,10 +10689,10 @@ Bs = async function(e) {
|
|
|
10689
10689
|
};
|
|
10690
10690
|
Is = async function(e) {
|
|
10691
10691
|
const r = e.pipe(
|
|
10692
|
-
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
|
|
10692
|
+
Dn((h) => h == null ? void 0 : h.rows),
|
|
10693
|
+
ms((h) => !!h),
|
|
10694
|
+
Ss(),
|
|
10695
|
+
bs(100)
|
|
10696
10696
|
).subscribe(async (h) => {
|
|
10697
10697
|
const v = ge();
|
|
10698
10698
|
v.postMessage && v.postMessage({
|
|
@@ -13616,7 +13616,7 @@ let De = class extends ue {
|
|
|
13616
13616
|
>${ce(
|
|
13617
13617
|
this._copied,
|
|
13618
13618
|
() => Z`${Hc}`,
|
|
13619
|
-
() => Z`${
|
|
13619
|
+
() => Z`${as}`
|
|
13620
13620
|
)}</vscode-button
|
|
13621
13621
|
>`,
|
|
13622
13622
|
() => Z``
|
|
@@ -13753,7 +13753,7 @@ let Ir = class extends ue {
|
|
|
13753
13753
|
spec: t.spec,
|
|
13754
13754
|
specClass: t.isRequired ? "required" : "optional",
|
|
13755
13755
|
source: t.origin,
|
|
13756
|
-
updatedAt:
|
|
13756
|
+
updatedAt: Un(new Date(t.updateTime)),
|
|
13757
13757
|
// createdAt: formatDate(new Date(v.createTime)),
|
|
13758
13758
|
resolvedValue: t.resolvedValue,
|
|
13759
13759
|
errors: t.errors
|
|
@@ -13780,7 +13780,7 @@ let Ir = class extends ue {
|
|
|
13780
13780
|
// row[field] ? formatDateWithTimeAgo(new Date(row[field])) : '',
|
|
13781
13781
|
// )
|
|
13782
13782
|
case "updatedAt":
|
|
13783
|
-
return $e(this, Ae, ct).call(this, t, r, () => t[r] ?
|
|
13783
|
+
return $e(this, Ae, ct).call(this, t, r, () => t[r] ? $n(new Date(t[r])) : "");
|
|
13784
13784
|
case "spec":
|
|
13785
13785
|
return $e(this, Ae, ct).call(this, t, r, () => Z`<span class="${t.specClass}">${t[r]}</span>`);
|
|
13786
13786
|
default:
|
|
@@ -13824,5 +13824,7 @@ Ir = lo([
|
|
|
13824
13824
|
], Ir);
|
|
13825
13825
|
export {
|
|
13826
13826
|
te as ClientMessages,
|
|
13827
|
+
ie as ConsoleView,
|
|
13828
|
+
ge as getContext,
|
|
13827
13829
|
Qc as setContext
|
|
13828
13830
|
};
|