@runmedev/react-console 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/react-console.cjs +32 -32
- package/dist/react-console.mjs +291 -291
- package/package.json +2 -2
package/dist/react-console.mjs
CHANGED
|
@@ -2958,6 +2958,172 @@ function Q(e) {
|
|
|
2958
2958
|
function zu(e) {
|
|
2959
2959
|
return Q({ ...e, state: !0, attribute: !1 });
|
|
2960
2960
|
}
|
|
2961
|
+
var Ju = (e, t, r, i) => {
|
|
2962
|
+
for (var n = t, f = e.length - 1, g; f >= 0; f--)
|
|
2963
|
+
(g = e[f]) && (n = g(n) || n);
|
|
2964
|
+
return n;
|
|
2965
|
+
};
|
|
2966
|
+
let xi = class extends Se {
|
|
2967
|
+
onClose(e) {
|
|
2968
|
+
e.defaultPrevented && e.preventDefault();
|
|
2969
|
+
const t = new CustomEvent("closed");
|
|
2970
|
+
this.dispatchEvent(t);
|
|
2971
|
+
}
|
|
2972
|
+
render() {
|
|
2973
|
+
return j`
|
|
2974
|
+
<div class="close-button tooltip">
|
|
2975
|
+
<span class="tooltiptext">Close</span>
|
|
2976
|
+
<vscode-button
|
|
2977
|
+
class="control"
|
|
2978
|
+
appearance="icon"
|
|
2979
|
+
aria-label="Close"
|
|
2980
|
+
@click="${this.onClose}"
|
|
2981
|
+
>
|
|
2982
|
+
<span class="icon icon-close"></span>
|
|
2983
|
+
</vscode-button>
|
|
2984
|
+
</div>
|
|
2985
|
+
`;
|
|
2986
|
+
}
|
|
2987
|
+
};
|
|
2988
|
+
xi.styles = xe`
|
|
2989
|
+
:host {
|
|
2990
|
+
--button-icon-hover-background: var(--vscode-toolbar-hoverBackground);
|
|
2991
|
+
--tooltip-background: #343434;
|
|
2992
|
+
}
|
|
2993
|
+
|
|
2994
|
+
.close-button .control {
|
|
2995
|
+
outline: none;
|
|
2996
|
+
}
|
|
2997
|
+
|
|
2998
|
+
.close-button {
|
|
2999
|
+
position: absolute;
|
|
3000
|
+
top: 5px;
|
|
3001
|
+
right: 5px;
|
|
3002
|
+
}
|
|
3003
|
+
|
|
3004
|
+
.close-button,
|
|
3005
|
+
.close-button:hover {
|
|
3006
|
+
border: none;
|
|
3007
|
+
}
|
|
3008
|
+
|
|
3009
|
+
@media (prefers-color-scheme: light) {
|
|
3010
|
+
.icon-close {
|
|
3011
|
+
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");
|
|
3012
|
+
}
|
|
3013
|
+
}
|
|
3014
|
+
|
|
3015
|
+
@media (prefers-color-scheme: dark) {
|
|
3016
|
+
.icon-close {
|
|
3017
|
+
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");
|
|
3018
|
+
}
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
.tooltip .tooltiptext {
|
|
3022
|
+
visibility: hidden;
|
|
3023
|
+
width: 50px;
|
|
3024
|
+
background-color: var(--tooltip-background);
|
|
3025
|
+
color: #fff;
|
|
3026
|
+
text-align: center;
|
|
3027
|
+
padding: 5px 0;
|
|
3028
|
+
position: absolute;
|
|
3029
|
+
z-index: 1;
|
|
3030
|
+
bottom: 150%;
|
|
3031
|
+
right: -60%;
|
|
3032
|
+
margin-left: -60px;
|
|
3033
|
+
top: 126%;
|
|
3034
|
+
height: 15px;
|
|
3035
|
+
box-shadow: 2px 2px 4px -2px var(--vscode-input-border);
|
|
3036
|
+
}
|
|
3037
|
+
|
|
3038
|
+
.tooltip .tooltiptext::after {
|
|
3039
|
+
content: ' ';
|
|
3040
|
+
position: absolute;
|
|
3041
|
+
bottom: 100%; /* At the top of the tooltip */
|
|
3042
|
+
left: 50%;
|
|
3043
|
+
margin-left: -5px;
|
|
3044
|
+
border-width: 5px;
|
|
3045
|
+
border-style: solid;
|
|
3046
|
+
border-color: transparent transparent var(--tooltip-background) transparent;
|
|
3047
|
+
}
|
|
3048
|
+
|
|
3049
|
+
.tooltip .tooltiptext {
|
|
3050
|
+
transition-delay: 1s;
|
|
3051
|
+
}
|
|
3052
|
+
|
|
3053
|
+
.tooltip:hover .tooltiptext {
|
|
3054
|
+
visibility: visible;
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
.tooltip:not(:hover) .tooltiptext {
|
|
3058
|
+
transition-delay: 0s;
|
|
3059
|
+
}
|
|
3060
|
+
`;
|
|
3061
|
+
xi = Ju([
|
|
3062
|
+
Ae("close-cell-button")
|
|
3063
|
+
], xi);
|
|
3064
|
+
const ya = j`
|
|
3065
|
+
<svg
|
|
3066
|
+
class="icon"
|
|
3067
|
+
width="16"
|
|
3068
|
+
height="16"
|
|
3069
|
+
viewBox="0 0 16 16"
|
|
3070
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3071
|
+
fill="currentColor"
|
|
3072
|
+
>
|
|
3073
|
+
<path
|
|
3074
|
+
fill-rule="evenodd"
|
|
3075
|
+
clip-rule="evenodd"
|
|
3076
|
+
d="M4 4l1-1h5.414L14 6.586V14l-1 1H5l-1-1V4zm9 3l-3-3H5v10h8V7z"
|
|
3077
|
+
/>
|
|
3078
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 1L2 2v10l1 1V2h6.414l-1-1H3z" />
|
|
3079
|
+
</svg>
|
|
3080
|
+
`;
|
|
3081
|
+
var Qu = Object.defineProperty, qu = Object.getOwnPropertyDescriptor, Sa = (e, t, r, i) => {
|
|
3082
|
+
for (var n = i > 1 ? void 0 : i ? qu(t, r) : t, f = e.length - 1, g; f >= 0; f--)
|
|
3083
|
+
(g = e[f]) && (n = (i ? g(t, r, n) : g(n)) || n);
|
|
3084
|
+
return i && n && Qu(t, r, n), n;
|
|
3085
|
+
};
|
|
3086
|
+
let $r = class extends Se {
|
|
3087
|
+
constructor() {
|
|
3088
|
+
super(...arguments), this.copyText = "Copy";
|
|
3089
|
+
}
|
|
3090
|
+
onCopy(e) {
|
|
3091
|
+
e.defaultPrevented && e.preventDefault();
|
|
3092
|
+
const t = new CustomEvent("onCopy");
|
|
3093
|
+
this.dispatchEvent(t);
|
|
3094
|
+
}
|
|
3095
|
+
render() {
|
|
3096
|
+
return j`
|
|
3097
|
+
<vscode-button appearance="secondary" @click=${this.onCopy}>
|
|
3098
|
+
${ya} ${this.copyText}
|
|
3099
|
+
</vscode-button>
|
|
3100
|
+
`;
|
|
3101
|
+
}
|
|
3102
|
+
};
|
|
3103
|
+
$r.styles = xe`
|
|
3104
|
+
vscode-button {
|
|
3105
|
+
color: var(--vscode-button-foreground);
|
|
3106
|
+
background-color: var(--vscode-button-background);
|
|
3107
|
+
transform: scale(0.9);
|
|
3108
|
+
}
|
|
3109
|
+
vscode-button:hover {
|
|
3110
|
+
background: var(--vscode-button-hoverBackground);
|
|
3111
|
+
}
|
|
3112
|
+
vscode-button:focus {
|
|
3113
|
+
outline: #007fd4 1px solid;
|
|
3114
|
+
}
|
|
3115
|
+
.icon {
|
|
3116
|
+
width: 13px;
|
|
3117
|
+
margin: 0 5px 0 -5px;
|
|
3118
|
+
padding: 0;
|
|
3119
|
+
}
|
|
3120
|
+
`;
|
|
3121
|
+
Sa([
|
|
3122
|
+
Q({ type: String })
|
|
3123
|
+
], $r.prototype, "copyText", 2);
|
|
3124
|
+
$r = Sa([
|
|
3125
|
+
Ae("copy-button")
|
|
3126
|
+
], $r);
|
|
2961
3127
|
/**
|
|
2962
3128
|
* @license
|
|
2963
3129
|
* Copyright 2021 Google LLC
|
|
@@ -2967,7 +3133,7 @@ function de(e, t, r) {
|
|
|
2967
3133
|
return e ? t(e) : r == null ? void 0 : r(e);
|
|
2968
3134
|
}
|
|
2969
3135
|
var On = { exports: {} }, Dn;
|
|
2970
|
-
function
|
|
3136
|
+
function ed() {
|
|
2971
3137
|
return Dn || (Dn = 1, (function(e, t) {
|
|
2972
3138
|
(function(r, i) {
|
|
2973
3139
|
e.exports = i();
|
|
@@ -4653,7 +4819,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4653
4819
|
}
|
|
4654
4820
|
}
|
|
4655
4821
|
s.JoinedCellData = m;
|
|
4656
|
-
let o = s.CharacterJoinerService = class
|
|
4822
|
+
let o = s.CharacterJoinerService = class Ea {
|
|
4657
4823
|
constructor(a) {
|
|
4658
4824
|
this._bufferService = a, this._characterJoiners = [], this._nextCharacterJoinerId = 0, this._workCell = new b.CellData();
|
|
4659
4825
|
}
|
|
@@ -4697,7 +4863,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4697
4863
|
}
|
|
4698
4864
|
for (let k = 1; k < this._characterJoiners.length; k++) try {
|
|
4699
4865
|
const T = this._characterJoiners[k].handler(C);
|
|
4700
|
-
for (let B = 0; B < T.length; B++)
|
|
4866
|
+
for (let B = 0; B < T.length; B++) Ea._mergeRanges(y, T[B]);
|
|
4701
4867
|
} catch (T) {
|
|
4702
4868
|
console.error(T);
|
|
4703
4869
|
}
|
|
@@ -9065,12 +9231,12 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
9065
9231
|
})()));
|
|
9066
9232
|
})(On)), On.exports;
|
|
9067
9233
|
}
|
|
9068
|
-
var
|
|
9069
|
-
function
|
|
9234
|
+
var td = ed(), Oi = { exports: {} }, rd = Oi.exports, Fn;
|
|
9235
|
+
function id() {
|
|
9070
9236
|
return Fn || (Fn = 1, (function(e, t) {
|
|
9071
9237
|
(function(r, i) {
|
|
9072
9238
|
e.exports = i();
|
|
9073
|
-
})(
|
|
9239
|
+
})(rd, (() => (() => {
|
|
9074
9240
|
var r = { 930: (g, s, c) => {
|
|
9075
9241
|
Object.defineProperty(s, "__esModule", { value: !0 }), s.ColorContrastCache = void 0;
|
|
9076
9242
|
const l = c(485);
|
|
@@ -9628,14 +9794,14 @@ function ed() {
|
|
|
9628
9794
|
g.HTMLSerializeHandler = w;
|
|
9629
9795
|
})(), f;
|
|
9630
9796
|
})()));
|
|
9631
|
-
})(
|
|
9797
|
+
})(Oi)), Oi.exports;
|
|
9632
9798
|
}
|
|
9633
|
-
var
|
|
9634
|
-
function
|
|
9799
|
+
var sd = id(), Di = { exports: {} }, nd = Di.exports, Mn;
|
|
9800
|
+
function od() {
|
|
9635
9801
|
return Mn || (Mn = 1, (function(e, t) {
|
|
9636
9802
|
(function(r, i) {
|
|
9637
9803
|
e.exports = i();
|
|
9638
|
-
})(
|
|
9804
|
+
})(nd, (() => (() => {
|
|
9639
9805
|
var r = { 433: (g, s, c) => {
|
|
9640
9806
|
Object.defineProperty(s, "__esModule", { value: !0 }), s.UnicodeV11 = void 0;
|
|
9641
9807
|
const l = c(938), p = [[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]], _ = [[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]];
|
|
@@ -9812,10 +9978,10 @@ function id() {
|
|
|
9812
9978
|
};
|
|
9813
9979
|
})(), f;
|
|
9814
9980
|
})()));
|
|
9815
|
-
})(
|
|
9981
|
+
})(Di)), Di.exports;
|
|
9816
9982
|
}
|
|
9817
|
-
var
|
|
9818
|
-
function
|
|
9983
|
+
var ad = od(), Pn = { exports: {} }, Un;
|
|
9984
|
+
function cd() {
|
|
9819
9985
|
return Un || (Un = 1, (function(e, t) {
|
|
9820
9986
|
(function(r, i) {
|
|
9821
9987
|
e.exports = i();
|
|
@@ -9935,17 +10101,17 @@ function nd() {
|
|
|
9935
10101
|
})()));
|
|
9936
10102
|
})(Pn)), Pn.exports;
|
|
9937
10103
|
}
|
|
9938
|
-
var
|
|
10104
|
+
var ld = cd();
|
|
9939
10105
|
function Ee(e) {
|
|
9940
10106
|
return typeof e == "function";
|
|
9941
10107
|
}
|
|
9942
|
-
function
|
|
10108
|
+
function Ca(e) {
|
|
9943
10109
|
var t = function(i) {
|
|
9944
10110
|
Error.call(i), i.stack = new Error().stack;
|
|
9945
10111
|
}, r = e(t);
|
|
9946
10112
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
9947
10113
|
}
|
|
9948
|
-
var _i =
|
|
10114
|
+
var _i = Ca(function(e) {
|
|
9949
10115
|
return function(t) {
|
|
9950
10116
|
e(this), this.message = t ? t.length + ` errors occurred during unsubscription:
|
|
9951
10117
|
` + t.map(function(r, i) {
|
|
@@ -9954,7 +10120,7 @@ var _i = Sa(function(e) {
|
|
|
9954
10120
|
`) : "", this.name = "UnsubscriptionError", this.errors = t;
|
|
9955
10121
|
};
|
|
9956
10122
|
});
|
|
9957
|
-
function
|
|
10123
|
+
function Zr(e, t) {
|
|
9958
10124
|
if (e) {
|
|
9959
10125
|
var r = e.indexOf(t);
|
|
9960
10126
|
0 <= r && e.splice(r, 1);
|
|
@@ -10040,24 +10206,24 @@ var gr = (function() {
|
|
|
10040
10206
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
10041
10207
|
}, e.prototype._removeParent = function(t) {
|
|
10042
10208
|
var r = this._parentage;
|
|
10043
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
10209
|
+
r === t ? this._parentage = null : Array.isArray(r) && Zr(r, t);
|
|
10044
10210
|
}, e.prototype.remove = function(t) {
|
|
10045
10211
|
var r = this._finalizers;
|
|
10046
|
-
r &&
|
|
10212
|
+
r && Zr(r, t), t instanceof e && t._removeParent(this);
|
|
10047
10213
|
}, e.EMPTY = (function() {
|
|
10048
10214
|
var t = new e();
|
|
10049
10215
|
return t.closed = !0, t;
|
|
10050
10216
|
})(), e;
|
|
10051
|
-
})(),
|
|
10052
|
-
function
|
|
10217
|
+
})(), wa = gr.EMPTY;
|
|
10218
|
+
function ka(e) {
|
|
10053
10219
|
return e instanceof gr || e && "closed" in e && Ee(e.remove) && Ee(e.add) && Ee(e.unsubscribe);
|
|
10054
10220
|
}
|
|
10055
10221
|
function Vn(e) {
|
|
10056
10222
|
Ee(e) ? e() : e.unsubscribe();
|
|
10057
10223
|
}
|
|
10058
|
-
var
|
|
10224
|
+
var ud = {
|
|
10059
10225
|
Promise: void 0
|
|
10060
|
-
},
|
|
10226
|
+
}, dd = {
|
|
10061
10227
|
setTimeout: function(e, t) {
|
|
10062
10228
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
10063
10229
|
r[i - 2] = arguments[i];
|
|
@@ -10068,8 +10234,8 @@ var ad = {
|
|
|
10068
10234
|
},
|
|
10069
10235
|
delegate: void 0
|
|
10070
10236
|
};
|
|
10071
|
-
function
|
|
10072
|
-
|
|
10237
|
+
function Ia(e) {
|
|
10238
|
+
dd.setTimeout(function() {
|
|
10073
10239
|
throw e;
|
|
10074
10240
|
});
|
|
10075
10241
|
}
|
|
@@ -10082,7 +10248,7 @@ var ps = (function(e) {
|
|
|
10082
10248
|
Qe(t, e);
|
|
10083
10249
|
function t(r) {
|
|
10084
10250
|
var i = e.call(this) || this;
|
|
10085
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
10251
|
+
return i.isStopped = !1, r ? (i.destination = r, ka(r) && r.add(i)) : i.destination = pd, i;
|
|
10086
10252
|
}
|
|
10087
10253
|
return t.create = function(r, i, n) {
|
|
10088
10254
|
return new ir(r, i, n);
|
|
@@ -10109,7 +10275,7 @@ var ps = (function(e) {
|
|
|
10109
10275
|
this.unsubscribe();
|
|
10110
10276
|
}
|
|
10111
10277
|
}, t;
|
|
10112
|
-
})(gr),
|
|
10278
|
+
})(gr), hd = (function() {
|
|
10113
10279
|
function e(t) {
|
|
10114
10280
|
this.partialObserver = t;
|
|
10115
10281
|
}
|
|
@@ -10148,29 +10314,29 @@ var ps = (function(e) {
|
|
|
10148
10314
|
next: r ?? void 0,
|
|
10149
10315
|
error: i ?? void 0,
|
|
10150
10316
|
complete: n ?? void 0
|
|
10151
|
-
} : g = r, f.destination = new
|
|
10317
|
+
} : g = r, f.destination = new hd(g), f;
|
|
10152
10318
|
}
|
|
10153
10319
|
return t;
|
|
10154
10320
|
})(ps);
|
|
10155
10321
|
function Cr(e) {
|
|
10156
|
-
|
|
10322
|
+
Ia(e);
|
|
10157
10323
|
}
|
|
10158
|
-
function
|
|
10324
|
+
function fd(e) {
|
|
10159
10325
|
throw e;
|
|
10160
10326
|
}
|
|
10161
|
-
var
|
|
10327
|
+
var pd = {
|
|
10162
10328
|
closed: !0,
|
|
10163
10329
|
next: Wn,
|
|
10164
|
-
error:
|
|
10330
|
+
error: fd,
|
|
10165
10331
|
complete: Wn
|
|
10166
10332
|
}, gs = (function() {
|
|
10167
10333
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
10168
10334
|
})();
|
|
10169
|
-
function
|
|
10335
|
+
function Ta(e) {
|
|
10170
10336
|
return e;
|
|
10171
10337
|
}
|
|
10172
|
-
function
|
|
10173
|
-
return e.length === 0 ?
|
|
10338
|
+
function gd(e) {
|
|
10339
|
+
return e.length === 0 ? Ta : e.length === 1 ? e[0] : function(t) {
|
|
10174
10340
|
return e.reduce(function(r, i) {
|
|
10175
10341
|
return i(r);
|
|
10176
10342
|
}, t);
|
|
@@ -10184,7 +10350,7 @@ var Ve = (function() {
|
|
|
10184
10350
|
var r = new e();
|
|
10185
10351
|
return r.source = this, r.operator = t, r;
|
|
10186
10352
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
10187
|
-
var n = this, f =
|
|
10353
|
+
var n = this, f = _d(t) ? t : new ir(t, r, i);
|
|
10188
10354
|
return Lr(function() {
|
|
10189
10355
|
var g = n, s = g.operator, c = g.source;
|
|
10190
10356
|
f.add(s ? s.call(f, c) : c ? n._subscribe(f) : n._trySubscribe(f));
|
|
@@ -10219,7 +10385,7 @@ var Ve = (function() {
|
|
|
10219
10385
|
}, e.prototype.pipe = function() {
|
|
10220
10386
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
10221
10387
|
t[r] = arguments[r];
|
|
10222
|
-
return
|
|
10388
|
+
return gd(t)(this);
|
|
10223
10389
|
}, e.prototype.toPromise = function(t) {
|
|
10224
10390
|
var r = this;
|
|
10225
10391
|
return t = Hn(t), new t(function(i, n) {
|
|
@@ -10238,20 +10404,20 @@ var Ve = (function() {
|
|
|
10238
10404
|
})();
|
|
10239
10405
|
function Hn(e) {
|
|
10240
10406
|
var t;
|
|
10241
|
-
return (t = e ??
|
|
10407
|
+
return (t = e ?? ud.Promise) !== null && t !== void 0 ? t : Promise;
|
|
10242
10408
|
}
|
|
10243
|
-
function
|
|
10409
|
+
function vd(e) {
|
|
10244
10410
|
return e && Ee(e.next) && Ee(e.error) && Ee(e.complete);
|
|
10245
10411
|
}
|
|
10246
|
-
function
|
|
10247
|
-
return e && e instanceof ps ||
|
|
10412
|
+
function _d(e) {
|
|
10413
|
+
return e && e instanceof ps || vd(e) && ka(e);
|
|
10248
10414
|
}
|
|
10249
|
-
function
|
|
10415
|
+
function md(e) {
|
|
10250
10416
|
return Ee(e == null ? void 0 : e.lift);
|
|
10251
10417
|
}
|
|
10252
10418
|
function vr(e) {
|
|
10253
10419
|
return function(t) {
|
|
10254
|
-
if (
|
|
10420
|
+
if (md(t))
|
|
10255
10421
|
return t.lift(function(r) {
|
|
10256
10422
|
try {
|
|
10257
10423
|
return e(r, this);
|
|
@@ -10263,9 +10429,9 @@ function vr(e) {
|
|
|
10263
10429
|
};
|
|
10264
10430
|
}
|
|
10265
10431
|
function ei(e, t, r, i, n) {
|
|
10266
|
-
return new
|
|
10432
|
+
return new bd(e, t, r, i, n);
|
|
10267
10433
|
}
|
|
10268
|
-
var
|
|
10434
|
+
var bd = (function(e) {
|
|
10269
10435
|
Qe(t, e);
|
|
10270
10436
|
function t(r, i, n, f, g, s) {
|
|
10271
10437
|
var c = e.call(this, r) || this;
|
|
@@ -10300,11 +10466,11 @@ var vd = (function(e) {
|
|
|
10300
10466
|
e.prototype.unsubscribe.call(this), !i && ((r = this.onFinalize) === null || r === void 0 || r.call(this));
|
|
10301
10467
|
}
|
|
10302
10468
|
}, t;
|
|
10303
|
-
})(ps),
|
|
10469
|
+
})(ps), yd = Ca(function(e) {
|
|
10304
10470
|
return function() {
|
|
10305
10471
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
10306
10472
|
};
|
|
10307
|
-
}),
|
|
10473
|
+
}), Aa = (function(e) {
|
|
10308
10474
|
Qe(t, e);
|
|
10309
10475
|
function t() {
|
|
10310
10476
|
var r = e.call(this) || this;
|
|
@@ -10315,7 +10481,7 @@ var vd = (function(e) {
|
|
|
10315
10481
|
return i.operator = r, i;
|
|
10316
10482
|
}, t.prototype._throwIfClosed = function() {
|
|
10317
10483
|
if (this.closed)
|
|
10318
|
-
throw new
|
|
10484
|
+
throw new yd();
|
|
10319
10485
|
}, t.prototype.next = function(r) {
|
|
10320
10486
|
var i = this;
|
|
10321
10487
|
Lr(function() {
|
|
@@ -10371,8 +10537,8 @@ var vd = (function(e) {
|
|
|
10371
10537
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
10372
10538
|
}, t.prototype._innerSubscribe = function(r) {
|
|
10373
10539
|
var i = this, n = this, f = n.hasError, g = n.isStopped, s = n.observers;
|
|
10374
|
-
return f || g ?
|
|
10375
|
-
i.currentObservers = null,
|
|
10540
|
+
return f || g ? wa : (this.currentObservers = null, s.push(r), new gr(function() {
|
|
10541
|
+
i.currentObservers = null, Zr(s, r);
|
|
10376
10542
|
}));
|
|
10377
10543
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
10378
10544
|
var i = this, n = i.hasError, f = i.thrownError, g = i.isStopped;
|
|
@@ -10400,13 +10566,13 @@ var vd = (function(e) {
|
|
|
10400
10566
|
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
|
|
10401
10567
|
}, t.prototype._subscribe = function(r) {
|
|
10402
10568
|
var i, n;
|
|
10403
|
-
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n :
|
|
10569
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : wa;
|
|
10404
10570
|
}, t;
|
|
10405
|
-
})(
|
|
10571
|
+
})(Aa), Sd = {
|
|
10406
10572
|
now: function() {
|
|
10407
10573
|
return Date.now();
|
|
10408
10574
|
}
|
|
10409
|
-
},
|
|
10575
|
+
}, Ed = (function(e) {
|
|
10410
10576
|
Qe(t, e);
|
|
10411
10577
|
function t(r, i) {
|
|
10412
10578
|
return e.call(this) || this;
|
|
@@ -10424,7 +10590,7 @@ var vd = (function(e) {
|
|
|
10424
10590
|
return clearInterval(e);
|
|
10425
10591
|
},
|
|
10426
10592
|
delegate: void 0
|
|
10427
|
-
},
|
|
10593
|
+
}, Cd = (function(e) {
|
|
10428
10594
|
Qe(t, e);
|
|
10429
10595
|
function t(r, i) {
|
|
10430
10596
|
var n = e.call(this, r, i) || this;
|
|
@@ -10463,17 +10629,17 @@ var vd = (function(e) {
|
|
|
10463
10629
|
}, t.prototype.unsubscribe = function() {
|
|
10464
10630
|
if (!this.closed) {
|
|
10465
10631
|
var r = this, i = r.id, n = r.scheduler, f = n.actions;
|
|
10466
|
-
this.work = this.state = this.scheduler = null, this.pending = !1,
|
|
10632
|
+
this.work = this.state = this.scheduler = null, this.pending = !1, Zr(f, this), i != null && (this.id = this.recycleAsyncId(n, i, null)), this.delay = null, e.prototype.unsubscribe.call(this);
|
|
10467
10633
|
}
|
|
10468
10634
|
}, t;
|
|
10469
|
-
})(
|
|
10635
|
+
})(Ed), Gn = (function() {
|
|
10470
10636
|
function e(t, r) {
|
|
10471
10637
|
r === void 0 && (r = e.now), this.schedulerActionCtor = t, this.now = r;
|
|
10472
10638
|
}
|
|
10473
10639
|
return e.prototype.schedule = function(t, r, i) {
|
|
10474
10640
|
return r === void 0 && (r = 0), new this.schedulerActionCtor(this, t).schedule(i, r);
|
|
10475
|
-
}, e.now =
|
|
10476
|
-
})(),
|
|
10641
|
+
}, e.now = Sd.now, e;
|
|
10642
|
+
})(), wd = (function(e) {
|
|
10477
10643
|
Qe(t, e);
|
|
10478
10644
|
function t(r, i) {
|
|
10479
10645
|
i === void 0 && (i = Gn.now);
|
|
@@ -10498,29 +10664,29 @@ var vd = (function(e) {
|
|
|
10498
10664
|
throw n;
|
|
10499
10665
|
}
|
|
10500
10666
|
}, t;
|
|
10501
|
-
})(Gn),
|
|
10667
|
+
})(Gn), kd = new wd(Cd), Id = (function(e) {
|
|
10502
10668
|
return e && typeof e.length == "number" && typeof e != "function";
|
|
10503
10669
|
});
|
|
10504
|
-
function
|
|
10670
|
+
function Td(e) {
|
|
10505
10671
|
return Ee(e == null ? void 0 : e.then);
|
|
10506
10672
|
}
|
|
10507
|
-
function
|
|
10673
|
+
function Ad(e) {
|
|
10508
10674
|
return Ee(e[gs]);
|
|
10509
10675
|
}
|
|
10510
|
-
function
|
|
10676
|
+
function Rd(e) {
|
|
10511
10677
|
return Symbol.asyncIterator && Ee(e == null ? void 0 : e[Symbol.asyncIterator]);
|
|
10512
10678
|
}
|
|
10513
|
-
function
|
|
10679
|
+
function Bd(e) {
|
|
10514
10680
|
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.");
|
|
10515
10681
|
}
|
|
10516
|
-
function
|
|
10682
|
+
function Nd() {
|
|
10517
10683
|
return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
|
|
10518
10684
|
}
|
|
10519
|
-
var
|
|
10520
|
-
function
|
|
10521
|
-
return Ee(e == null ? void 0 : e[
|
|
10685
|
+
var Ld = Nd();
|
|
10686
|
+
function xd(e) {
|
|
10687
|
+
return Ee(e == null ? void 0 : e[Ld]);
|
|
10522
10688
|
}
|
|
10523
|
-
function
|
|
10689
|
+
function Od(e) {
|
|
10524
10690
|
return Au(this, arguments, function() {
|
|
10525
10691
|
var t, r, i, n;
|
|
10526
10692
|
return pa(this, function(f) {
|
|
@@ -10551,29 +10717,29 @@ function Nd(e) {
|
|
|
10551
10717
|
});
|
|
10552
10718
|
});
|
|
10553
10719
|
}
|
|
10554
|
-
function
|
|
10720
|
+
function Dd(e) {
|
|
10555
10721
|
return Ee(e == null ? void 0 : e.getReader);
|
|
10556
10722
|
}
|
|
10557
|
-
function
|
|
10723
|
+
function Ra(e) {
|
|
10558
10724
|
if (e instanceof Ve)
|
|
10559
10725
|
return e;
|
|
10560
10726
|
if (e != null) {
|
|
10561
|
-
if (
|
|
10562
|
-
return xd(e);
|
|
10563
|
-
if (Cd(e))
|
|
10564
|
-
return Od(e);
|
|
10565
|
-
if (wd(e))
|
|
10566
|
-
return Dd(e);
|
|
10567
|
-
if (Id(e))
|
|
10568
|
-
return Aa(e);
|
|
10569
|
-
if (Bd(e))
|
|
10727
|
+
if (Ad(e))
|
|
10570
10728
|
return Fd(e);
|
|
10571
|
-
if (
|
|
10729
|
+
if (Id(e))
|
|
10572
10730
|
return Md(e);
|
|
10731
|
+
if (Td(e))
|
|
10732
|
+
return Pd(e);
|
|
10733
|
+
if (Rd(e))
|
|
10734
|
+
return Ba(e);
|
|
10735
|
+
if (xd(e))
|
|
10736
|
+
return Ud(e);
|
|
10737
|
+
if (Dd(e))
|
|
10738
|
+
return Vd(e);
|
|
10573
10739
|
}
|
|
10574
|
-
throw
|
|
10740
|
+
throw Bd(e);
|
|
10575
10741
|
}
|
|
10576
|
-
function
|
|
10742
|
+
function Fd(e) {
|
|
10577
10743
|
return new Ve(function(t) {
|
|
10578
10744
|
var r = e[gs]();
|
|
10579
10745
|
if (Ee(r.subscribe))
|
|
@@ -10581,23 +10747,23 @@ function xd(e) {
|
|
|
10581
10747
|
throw new TypeError("Provided object does not correctly implement Symbol.observable");
|
|
10582
10748
|
});
|
|
10583
10749
|
}
|
|
10584
|
-
function
|
|
10750
|
+
function Md(e) {
|
|
10585
10751
|
return new Ve(function(t) {
|
|
10586
10752
|
for (var r = 0; r < e.length && !t.closed; r++)
|
|
10587
10753
|
t.next(e[r]);
|
|
10588
10754
|
t.complete();
|
|
10589
10755
|
});
|
|
10590
10756
|
}
|
|
10591
|
-
function
|
|
10757
|
+
function Pd(e) {
|
|
10592
10758
|
return new Ve(function(t) {
|
|
10593
10759
|
e.then(function(r) {
|
|
10594
10760
|
t.closed || (t.next(r), t.complete());
|
|
10595
10761
|
}, function(r) {
|
|
10596
10762
|
return t.error(r);
|
|
10597
|
-
}).then(null,
|
|
10763
|
+
}).then(null, Ia);
|
|
10598
10764
|
});
|
|
10599
10765
|
}
|
|
10600
|
-
function
|
|
10766
|
+
function Ud(e) {
|
|
10601
10767
|
return new Ve(function(t) {
|
|
10602
10768
|
var r, i;
|
|
10603
10769
|
try {
|
|
@@ -10618,17 +10784,17 @@ function Fd(e) {
|
|
|
10618
10784
|
t.complete();
|
|
10619
10785
|
});
|
|
10620
10786
|
}
|
|
10621
|
-
function
|
|
10787
|
+
function Ba(e) {
|
|
10622
10788
|
return new Ve(function(t) {
|
|
10623
|
-
|
|
10789
|
+
Wd(e, t).catch(function(r) {
|
|
10624
10790
|
return t.error(r);
|
|
10625
10791
|
});
|
|
10626
10792
|
});
|
|
10627
10793
|
}
|
|
10628
|
-
function
|
|
10629
|
-
return
|
|
10794
|
+
function Vd(e) {
|
|
10795
|
+
return Ba(Od(e));
|
|
10630
10796
|
}
|
|
10631
|
-
function
|
|
10797
|
+
function Wd(e, t) {
|
|
10632
10798
|
var r, i, n, f;
|
|
10633
10799
|
return Tu(this, void 0, void 0, function() {
|
|
10634
10800
|
var g, s;
|
|
@@ -10666,7 +10832,7 @@ function Pd(e, t) {
|
|
|
10666
10832
|
});
|
|
10667
10833
|
});
|
|
10668
10834
|
}
|
|
10669
|
-
function
|
|
10835
|
+
function Hd(e, t) {
|
|
10670
10836
|
return vr(function(r, i) {
|
|
10671
10837
|
var n = 0;
|
|
10672
10838
|
r.subscribe(ei(i, function(f) {
|
|
@@ -10674,7 +10840,7 @@ function Ud(e, t) {
|
|
|
10674
10840
|
}));
|
|
10675
10841
|
});
|
|
10676
10842
|
}
|
|
10677
|
-
function
|
|
10843
|
+
function Na(e, t) {
|
|
10678
10844
|
return vr(function(r, i) {
|
|
10679
10845
|
var n = 0;
|
|
10680
10846
|
r.subscribe(ei(i, function(f) {
|
|
@@ -10682,8 +10848,8 @@ function Ra(e, t) {
|
|
|
10682
10848
|
}));
|
|
10683
10849
|
});
|
|
10684
10850
|
}
|
|
10685
|
-
function
|
|
10686
|
-
return t === void 0 && (t =
|
|
10851
|
+
function La(e, t) {
|
|
10852
|
+
return t === void 0 && (t = kd), vr(function(r, i) {
|
|
10687
10853
|
var n = null, f = null, g = null, s = function() {
|
|
10688
10854
|
if (n) {
|
|
10689
10855
|
n.unsubscribe(), n = null;
|
|
@@ -10708,8 +10874,8 @@ function Ba(e, t) {
|
|
|
10708
10874
|
}));
|
|
10709
10875
|
});
|
|
10710
10876
|
}
|
|
10711
|
-
function
|
|
10712
|
-
return t === void 0 && (t =
|
|
10877
|
+
function xa(e, t) {
|
|
10878
|
+
return t === void 0 && (t = Ta), e = e ?? $d, vr(function(r, i) {
|
|
10713
10879
|
var n, f = !0;
|
|
10714
10880
|
r.subscribe(ei(i, function(g) {
|
|
10715
10881
|
var s = t(g);
|
|
@@ -10717,13 +10883,13 @@ function Na(e, t) {
|
|
|
10717
10883
|
}));
|
|
10718
10884
|
});
|
|
10719
10885
|
}
|
|
10720
|
-
function
|
|
10886
|
+
function $d(e, t) {
|
|
10721
10887
|
return e === t;
|
|
10722
10888
|
}
|
|
10723
|
-
function
|
|
10889
|
+
function Zd(e) {
|
|
10724
10890
|
e === void 0 && (e = {});
|
|
10725
10891
|
var t = e.connector, r = t === void 0 ? function() {
|
|
10726
|
-
return new
|
|
10892
|
+
return new Aa();
|
|
10727
10893
|
} : t, i = e.resetOnError, n = i === void 0 ? !0 : i, f = e.resetOnComplete, g = f === void 0 ? !0 : f, s = e.resetOnRefCountZero, c = s === void 0 ? !0 : s;
|
|
10728
10894
|
return function(l) {
|
|
10729
10895
|
var p, h, _, b = 0, w = !1, m = !1, o = function() {
|
|
@@ -10749,7 +10915,7 @@ function Wd(e) {
|
|
|
10749
10915
|
complete: function() {
|
|
10750
10916
|
w = !0, o(), h = mi(u, g), E.complete();
|
|
10751
10917
|
}
|
|
10752
|
-
}),
|
|
10918
|
+
}), Ra(d).subscribe(p));
|
|
10753
10919
|
})(l);
|
|
10754
10920
|
};
|
|
10755
10921
|
}
|
|
@@ -10766,15 +10932,15 @@ function mi(e, t) {
|
|
|
10766
10932
|
n.unsubscribe(), e();
|
|
10767
10933
|
}
|
|
10768
10934
|
});
|
|
10769
|
-
return
|
|
10935
|
+
return Ra(t.apply(void 0, Qt([], Jt(r)))).subscribe(n);
|
|
10770
10936
|
}
|
|
10771
10937
|
}
|
|
10772
10938
|
/**
|
|
10773
10939
|
* Copyright (c) 2017 The xterm.js authors. All rights reserved.
|
|
10774
10940
|
* @license MIT
|
|
10775
10941
|
*/
|
|
10776
|
-
const
|
|
10777
|
-
class
|
|
10942
|
+
const Gd = 2, Kd = 1;
|
|
10943
|
+
class Xd {
|
|
10778
10944
|
constructor() {
|
|
10779
10945
|
}
|
|
10780
10946
|
activate(t) {
|
|
@@ -10802,8 +10968,8 @@ class Zd {
|
|
|
10802
10968
|
left: parseInt(s.getPropertyValue("padding-left"))
|
|
10803
10969
|
}, l = c.top + c.bottom, p = c.right + c.left, h = f - l, _ = g - p - i, { width: b, height: w } = this.getCellSize();
|
|
10804
10970
|
return {
|
|
10805
|
-
cols: Math.max(
|
|
10806
|
-
rows: Math.max(
|
|
10971
|
+
cols: Math.max(Gd, Math.floor(_ / b)),
|
|
10972
|
+
rows: Math.max(Kd, Math.floor(h / w))
|
|
10807
10973
|
};
|
|
10808
10974
|
}
|
|
10809
10975
|
getCellSize() {
|
|
@@ -10819,9 +10985,9 @@ class Zd {
|
|
|
10819
10985
|
return this._terminal._core;
|
|
10820
10986
|
}
|
|
10821
10987
|
}
|
|
10822
|
-
function
|
|
10988
|
+
function Yd({}) {
|
|
10823
10989
|
}
|
|
10824
|
-
function
|
|
10990
|
+
function jd(e) {
|
|
10825
10991
|
return e.toLocaleDateString("en-US", {
|
|
10826
10992
|
year: "numeric",
|
|
10827
10993
|
month: "short",
|
|
@@ -10832,176 +10998,10 @@ function Kd(e) {
|
|
|
10832
10998
|
hour12: !0
|
|
10833
10999
|
});
|
|
10834
11000
|
}
|
|
10835
|
-
function
|
|
11001
|
+
function zd(e) {
|
|
10836
11002
|
const t = (/* @__PURE__ */ new Date()).getTime() - e.getTime(), r = Math.floor(t / 1e3) * -1, i = new Intl.RelativeTimeFormat("en", { numeric: "auto" });
|
|
10837
11003
|
return Math.abs(r) < 60 ? i.format(Math.round(r), "second") : Math.abs(r) < 3600 ? i.format(Math.round(r / 60), "minute") : Math.abs(r) < 86400 ? i.format(Math.round(r / 3600), "hour") : i.format(Math.round(r / 86400), "day");
|
|
10838
11004
|
}
|
|
10839
|
-
var Yd = (e, t, r, i) => {
|
|
10840
|
-
for (var n = t, f = e.length - 1, g; f >= 0; f--)
|
|
10841
|
-
(g = e[f]) && (n = g(n) || n);
|
|
10842
|
-
return n;
|
|
10843
|
-
};
|
|
10844
|
-
let Di = class extends Se {
|
|
10845
|
-
onClose(e) {
|
|
10846
|
-
e.defaultPrevented && e.preventDefault();
|
|
10847
|
-
const t = new CustomEvent("closed");
|
|
10848
|
-
this.dispatchEvent(t);
|
|
10849
|
-
}
|
|
10850
|
-
render() {
|
|
10851
|
-
return j`
|
|
10852
|
-
<div class="close-button tooltip">
|
|
10853
|
-
<span class="tooltiptext">Close</span>
|
|
10854
|
-
<vscode-button
|
|
10855
|
-
class="control"
|
|
10856
|
-
appearance="icon"
|
|
10857
|
-
aria-label="Close"
|
|
10858
|
-
@click="${this.onClose}"
|
|
10859
|
-
>
|
|
10860
|
-
<span class="icon icon-close"></span>
|
|
10861
|
-
</vscode-button>
|
|
10862
|
-
</div>
|
|
10863
|
-
`;
|
|
10864
|
-
}
|
|
10865
|
-
};
|
|
10866
|
-
Di.styles = xe`
|
|
10867
|
-
:host {
|
|
10868
|
-
--button-icon-hover-background: var(--vscode-toolbar-hoverBackground);
|
|
10869
|
-
--tooltip-background: #343434;
|
|
10870
|
-
}
|
|
10871
|
-
|
|
10872
|
-
.close-button .control {
|
|
10873
|
-
outline: none;
|
|
10874
|
-
}
|
|
10875
|
-
|
|
10876
|
-
.close-button {
|
|
10877
|
-
position: absolute;
|
|
10878
|
-
top: 5px;
|
|
10879
|
-
right: 5px;
|
|
10880
|
-
}
|
|
10881
|
-
|
|
10882
|
-
.close-button,
|
|
10883
|
-
.close-button:hover {
|
|
10884
|
-
border: none;
|
|
10885
|
-
}
|
|
10886
|
-
|
|
10887
|
-
@media (prefers-color-scheme: light) {
|
|
10888
|
-
.icon-close {
|
|
10889
|
-
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");
|
|
10890
|
-
}
|
|
10891
|
-
}
|
|
10892
|
-
|
|
10893
|
-
@media (prefers-color-scheme: dark) {
|
|
10894
|
-
.icon-close {
|
|
10895
|
-
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");
|
|
10896
|
-
}
|
|
10897
|
-
}
|
|
10898
|
-
|
|
10899
|
-
.tooltip .tooltiptext {
|
|
10900
|
-
visibility: hidden;
|
|
10901
|
-
width: 50px;
|
|
10902
|
-
background-color: var(--tooltip-background);
|
|
10903
|
-
color: #fff;
|
|
10904
|
-
text-align: center;
|
|
10905
|
-
padding: 5px 0;
|
|
10906
|
-
position: absolute;
|
|
10907
|
-
z-index: 1;
|
|
10908
|
-
bottom: 150%;
|
|
10909
|
-
right: -60%;
|
|
10910
|
-
margin-left: -60px;
|
|
10911
|
-
top: 126%;
|
|
10912
|
-
height: 15px;
|
|
10913
|
-
box-shadow: 2px 2px 4px -2px var(--vscode-input-border);
|
|
10914
|
-
}
|
|
10915
|
-
|
|
10916
|
-
.tooltip .tooltiptext::after {
|
|
10917
|
-
content: ' ';
|
|
10918
|
-
position: absolute;
|
|
10919
|
-
bottom: 100%; /* At the top of the tooltip */
|
|
10920
|
-
left: 50%;
|
|
10921
|
-
margin-left: -5px;
|
|
10922
|
-
border-width: 5px;
|
|
10923
|
-
border-style: solid;
|
|
10924
|
-
border-color: transparent transparent var(--tooltip-background) transparent;
|
|
10925
|
-
}
|
|
10926
|
-
|
|
10927
|
-
.tooltip .tooltiptext {
|
|
10928
|
-
transition-delay: 1s;
|
|
10929
|
-
}
|
|
10930
|
-
|
|
10931
|
-
.tooltip:hover .tooltiptext {
|
|
10932
|
-
visibility: visible;
|
|
10933
|
-
}
|
|
10934
|
-
|
|
10935
|
-
.tooltip:not(:hover) .tooltiptext {
|
|
10936
|
-
transition-delay: 0s;
|
|
10937
|
-
}
|
|
10938
|
-
`;
|
|
10939
|
-
Di = Yd([
|
|
10940
|
-
Ae("close-cell-button")
|
|
10941
|
-
], Di);
|
|
10942
|
-
const La = j`
|
|
10943
|
-
<svg
|
|
10944
|
-
class="icon"
|
|
10945
|
-
width="16"
|
|
10946
|
-
height="16"
|
|
10947
|
-
viewBox="0 0 16 16"
|
|
10948
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
10949
|
-
fill="currentColor"
|
|
10950
|
-
>
|
|
10951
|
-
<path
|
|
10952
|
-
fill-rule="evenodd"
|
|
10953
|
-
clip-rule="evenodd"
|
|
10954
|
-
d="M4 4l1-1h5.414L14 6.586V14l-1 1H5l-1-1V4zm9 3l-3-3H5v10h8V7z"
|
|
10955
|
-
/>
|
|
10956
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 1L2 2v10l1 1V2h6.414l-1-1H3z" />
|
|
10957
|
-
</svg>
|
|
10958
|
-
`;
|
|
10959
|
-
var jd = Object.defineProperty, zd = Object.getOwnPropertyDescriptor, xa = (e, t, r, i) => {
|
|
10960
|
-
for (var n = i > 1 ? void 0 : i ? zd(t, r) : t, f = e.length - 1, g; f >= 0; f--)
|
|
10961
|
-
(g = e[f]) && (n = (i ? g(t, r, n) : g(n)) || n);
|
|
10962
|
-
return i && n && jd(t, r, n), n;
|
|
10963
|
-
};
|
|
10964
|
-
let Zr = class extends Se {
|
|
10965
|
-
constructor() {
|
|
10966
|
-
super(...arguments), this.copyText = "Copy";
|
|
10967
|
-
}
|
|
10968
|
-
onCopy(e) {
|
|
10969
|
-
e.defaultPrevented && e.preventDefault();
|
|
10970
|
-
const t = new CustomEvent("onCopy");
|
|
10971
|
-
this.dispatchEvent(t);
|
|
10972
|
-
}
|
|
10973
|
-
render() {
|
|
10974
|
-
return j`
|
|
10975
|
-
<vscode-button appearance="secondary" @click=${this.onCopy}>
|
|
10976
|
-
${La} ${this.copyText}
|
|
10977
|
-
</vscode-button>
|
|
10978
|
-
`;
|
|
10979
|
-
}
|
|
10980
|
-
};
|
|
10981
|
-
Zr.styles = xe`
|
|
10982
|
-
vscode-button {
|
|
10983
|
-
color: var(--vscode-button-foreground);
|
|
10984
|
-
background-color: var(--vscode-button-background);
|
|
10985
|
-
transform: scale(0.9);
|
|
10986
|
-
}
|
|
10987
|
-
vscode-button:hover {
|
|
10988
|
-
background: var(--vscode-button-hoverBackground);
|
|
10989
|
-
}
|
|
10990
|
-
vscode-button:focus {
|
|
10991
|
-
outline: #007fd4 1px solid;
|
|
10992
|
-
}
|
|
10993
|
-
.icon {
|
|
10994
|
-
width: 13px;
|
|
10995
|
-
margin: 0 5px 0 -5px;
|
|
10996
|
-
padding: 0;
|
|
10997
|
-
}
|
|
10998
|
-
`;
|
|
10999
|
-
xa([
|
|
11000
|
-
Q({ type: String })
|
|
11001
|
-
], Zr.prototype, "copyText", 2);
|
|
11002
|
-
Zr = xa([
|
|
11003
|
-
Ae("copy-button")
|
|
11004
|
-
], Zr);
|
|
11005
11005
|
const Jd = j`<svg
|
|
11006
11006
|
class="icon"
|
|
11007
11007
|
width="16"
|
|
@@ -12481,7 +12481,7 @@ const gt = (...e) => `--vscode-${e.join("-")}`, ft = (e) => gt("terminal", e), g
|
|
|
12481
12481
|
"brightMagenta",
|
|
12482
12482
|
"brightCyan",
|
|
12483
12483
|
"brightWhite"
|
|
12484
|
-
], mh = "
|
|
12484
|
+
], mh = "console-view";
|
|
12485
12485
|
let oe = class extends Se {
|
|
12486
12486
|
constructor() {
|
|
12487
12487
|
super(), ph(this, re), 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 = {
|
|
@@ -12521,7 +12521,7 @@ let oe = class extends Se {
|
|
|
12521
12521
|
smoothScrollDuration: s,
|
|
12522
12522
|
scrollback: c
|
|
12523
12523
|
} = this;
|
|
12524
|
-
this.terminal = new
|
|
12524
|
+
this.terminal = new td.Terminal({
|
|
12525
12525
|
rows: t,
|
|
12526
12526
|
fontSize: i,
|
|
12527
12527
|
fontFamily: g,
|
|
@@ -12534,7 +12534,7 @@ let oe = class extends Se {
|
|
|
12534
12534
|
convertEol: !0,
|
|
12535
12535
|
allowProposedApi: !0,
|
|
12536
12536
|
drawBoldTextInBrightColors: !1
|
|
12537
|
-
}), this.initialContent && ((e = this.terminal) == null || e.write(this.initialContent)), this.fitAddon = new
|
|
12537
|
+
}), this.initialContent && ((e = this.terminal) == null || e.write(this.initialContent)), this.fitAddon = new Xd(), this.fitAddon.activate(this.terminal), this.serializer = new sd.SerializeAddon(), this.terminal.loadAddon(this.serializer), this.terminal.loadAddon(new ad.Unicode11Addon()), this.terminal.loadAddon(new ld.WebLinksAddon(ie(this, re, Ka).bind(this))), this.terminal.attachCustomKeyEventHandler((p) => {
|
|
12538
12538
|
var h;
|
|
12539
12539
|
if (p.shiftKey && p.ctrlKey && p.code === "KeyC") {
|
|
12540
12540
|
const _ = (h = this == null ? void 0 : this.terminal) == null ? void 0 : h.getSelection();
|
|
@@ -12648,7 +12648,7 @@ let oe = class extends Se {
|
|
|
12648
12648
|
}), this.terminal.open(r), this.takeFocus && this.terminal.focus(), ie(this, re, ti).call(this), ie(this, re, xr).call(this);
|
|
12649
12649
|
const i = ie(this, re, Ma).call(this), n = new Ve((g) => {
|
|
12650
12650
|
window.addEventListener("resize", () => g.next(ie(this, re, Mi).call(this, !0))), r.addEventListener("mouseup", () => g.next(ie(this, re, Mi).call(this, !1)));
|
|
12651
|
-
}).pipe(
|
|
12651
|
+
}).pipe(Zd());
|
|
12652
12652
|
ie(this, re, Ua).call(this, n), ie(this, re, Va).call(this, n), r.appendChild(i);
|
|
12653
12653
|
const f = we();
|
|
12654
12654
|
f.postMessage && _e(f, ee.terminalOpen, {
|
|
@@ -12660,7 +12660,7 @@ let oe = class extends Se {
|
|
|
12660
12660
|
render() {
|
|
12661
12661
|
const e = j`
|
|
12662
12662
|
<close-cell-button
|
|
12663
|
-
@closed="${() =>
|
|
12663
|
+
@closed="${() => Yd({
|
|
12664
12664
|
id: this.id,
|
|
12665
12665
|
outputType: ha.terminal
|
|
12666
12666
|
})}"
|
|
@@ -12813,9 +12813,9 @@ Mi = function(e) {
|
|
|
12813
12813
|
};
|
|
12814
12814
|
Ua = async function(e) {
|
|
12815
12815
|
const t = e.pipe(
|
|
12816
|
-
|
|
12817
|
-
|
|
12818
|
-
|
|
12816
|
+
Na((r) => !!r),
|
|
12817
|
+
xa(),
|
|
12818
|
+
La(100)
|
|
12819
12819
|
).subscribe(async (r) => {
|
|
12820
12820
|
const i = we();
|
|
12821
12821
|
i.postMessage && await _e(i, ee.terminalResize, {
|
|
@@ -12827,10 +12827,10 @@ Ua = async function(e) {
|
|
|
12827
12827
|
};
|
|
12828
12828
|
Va = async function(e) {
|
|
12829
12829
|
const t = e.pipe(
|
|
12830
|
-
|
|
12831
|
-
|
|
12832
|
-
|
|
12833
|
-
|
|
12830
|
+
Hd((r) => r == null ? void 0 : r.rows),
|
|
12831
|
+
Na((r) => !!r),
|
|
12832
|
+
xa(),
|
|
12833
|
+
La(100)
|
|
12834
12834
|
).subscribe(async (r) => {
|
|
12835
12835
|
const i = we();
|
|
12836
12836
|
i.postMessage && i.postMessage({
|
|
@@ -15754,7 +15754,7 @@ let ze = class extends Se {
|
|
|
15754
15754
|
>${de(
|
|
15755
15755
|
this._copied,
|
|
15756
15756
|
() => j`${jf}`,
|
|
15757
|
-
() => j`${
|
|
15757
|
+
() => j`${ya}`
|
|
15758
15758
|
)}</vscode-button
|
|
15759
15759
|
>`,
|
|
15760
15760
|
() => j``
|
|
@@ -15891,7 +15891,7 @@ let Zi = class extends Se {
|
|
|
15891
15891
|
spec: t.spec,
|
|
15892
15892
|
specClass: t.isRequired ? "required" : "optional",
|
|
15893
15893
|
source: t.origin,
|
|
15894
|
-
updatedAt:
|
|
15894
|
+
updatedAt: jd(new Date(t.updateTime)),
|
|
15895
15895
|
// createdAt: formatDate(new Date(v.createTime)),
|
|
15896
15896
|
resolvedValue: t.resolvedValue,
|
|
15897
15897
|
errors: t.errors
|
|
@@ -15918,7 +15918,7 @@ let Zi = class extends Se {
|
|
|
15918
15918
|
// row[field] ? formatDateWithTimeAgo(new Date(row[field])) : '',
|
|
15919
15919
|
// )
|
|
15920
15920
|
case "updatedAt":
|
|
15921
|
-
return dt(this, Xe, Wt).call(this, t, r, () => t[r] ?
|
|
15921
|
+
return dt(this, Xe, Wt).call(this, t, r, () => t[r] ? zd(new Date(t[r])) : "");
|
|
15922
15922
|
case "spec":
|
|
15923
15923
|
return dt(this, Xe, Wt).call(this, t, r, () => j`<span class="${t.specClass}">${t[r]}</span>`);
|
|
15924
15924
|
default:
|
|
@@ -18065,7 +18065,7 @@ function Xg({
|
|
|
18065
18065
|
ref: (T) => {
|
|
18066
18066
|
if (!T || T.hasChildNodes())
|
|
18067
18067
|
return;
|
|
18068
|
-
const B = document.createElement("
|
|
18068
|
+
const B = document.createElement("console-view");
|
|
18069
18069
|
B.setAttribute("buttons", "false"), B.setAttribute(
|
|
18070
18070
|
"id",
|
|
18071
18071
|
C.output["runme.dev/id"]
|