@mongodb-js/compass-shell 2.18.1 → 2.19.2
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/lib/1.js +1695 -7226
- package/lib/2.js +176 -2301
- package/lib/index.js +2277 -1377
- package/package.json +15 -24
package/lib/2.js
CHANGED
|
@@ -1,2134 +1,6 @@
|
|
|
1
1
|
(window["webpackJsonpCompassShellPlugin"] = window["webpackJsonpCompassShellPlugin"] || []).push([[2],{
|
|
2
2
|
|
|
3
|
-
/***/
|
|
4
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(398);
|
|
8
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
9
|
-
// Imports
|
|
10
|
-
|
|
11
|
-
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(false);
|
|
12
|
-
// Module
|
|
13
|
-
___CSS_LOADER_EXPORT___.push([module.i, ".CompassShellPlugin_compass-shell-module-compass-shell__3HHIT {\n width: 100%;\n background-color: #21313c;\n display: flex;\n flex-basis: auto;\n position: relative;\n flex-direction: column;\n max-height: 95%;\n}\n.CompassShellPlugin_compass-shell-module-compass-shell-shell-container__21lyx {\n flex-grow: 1;\n display: none;\n overflow: auto;\n border-top: 1px solid #3d4f58;\n}\n.CompassShellPlugin_compass-shell-module-compass-shell-shell-container__21lyx *::-webkit-scrollbar-thumb {\n background: rgba(180, 180, 180, 0.5);\n}\n.CompassShellPlugin_compass-shell-module-compass-shell-shell-container-visible__1Y2Dy {\n display: flex;\n}\n", ""]);
|
|
14
|
-
// Exports
|
|
15
|
-
___CSS_LOADER_EXPORT___.locals = {
|
|
16
|
-
"compass-shell": "CompassShellPlugin_compass-shell-module-compass-shell__3HHIT",
|
|
17
|
-
"compass-shell-shell-container": "CompassShellPlugin_compass-shell-module-compass-shell-shell-container__21lyx",
|
|
18
|
-
"compass-shell-shell-container-visible": "CompassShellPlugin_compass-shell-module-compass-shell-shell-container-visible__1Y2Dy"
|
|
19
|
-
};
|
|
20
|
-
/* harmony default export */ __webpack_exports__["a"] = (___CSS_LOADER_EXPORT___);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
/***/ }),
|
|
24
|
-
|
|
25
|
-
/***/ 427:
|
|
26
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
27
|
-
|
|
28
|
-
!function (t, n) {
|
|
29
|
-
true ? module.exports = n(__webpack_require__(170), __webpack_require__(2)) : undefined;
|
|
30
|
-
}(window, function (t, n) {
|
|
31
|
-
return function (t) {
|
|
32
|
-
var n = {};
|
|
33
|
-
|
|
34
|
-
function e(r) {
|
|
35
|
-
if (n[r]) return n[r].exports;
|
|
36
|
-
var o = n[r] = {
|
|
37
|
-
i: r,
|
|
38
|
-
l: !1,
|
|
39
|
-
exports: {}
|
|
40
|
-
};
|
|
41
|
-
return t[r].call(o.exports, o, o.exports, e), o.l = !0, o.exports;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
return e.m = t, e.c = n, e.d = function (t, n, r) {
|
|
45
|
-
e.o(t, n) || Object.defineProperty(t, n, {
|
|
46
|
-
enumerable: !0,
|
|
47
|
-
get: r
|
|
48
|
-
});
|
|
49
|
-
}, e.r = function (t) {
|
|
50
|
-
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
|
|
51
|
-
value: "Module"
|
|
52
|
-
}), Object.defineProperty(t, "__esModule", {
|
|
53
|
-
value: !0
|
|
54
|
-
});
|
|
55
|
-
}, e.t = function (t, n) {
|
|
56
|
-
if (1 & n && (t = e(t)), 8 & n) return t;
|
|
57
|
-
if (4 & n && "object" == typeof t && t && t.__esModule) return t;
|
|
58
|
-
var r = Object.create(null);
|
|
59
|
-
if (e.r(r), Object.defineProperty(r, "default", {
|
|
60
|
-
enumerable: !0,
|
|
61
|
-
value: t
|
|
62
|
-
}), 2 & n && "string" != typeof t) for (var o in t) e.d(r, o, function (n) {
|
|
63
|
-
return t[n];
|
|
64
|
-
}.bind(null, o));
|
|
65
|
-
return r;
|
|
66
|
-
}, e.n = function (t) {
|
|
67
|
-
var n = t && t.__esModule ? function () {
|
|
68
|
-
return t.default;
|
|
69
|
-
} : function () {
|
|
70
|
-
return t;
|
|
71
|
-
};
|
|
72
|
-
return e.d(n, "a", n), n;
|
|
73
|
-
}, e.o = function (t, n) {
|
|
74
|
-
return Object.prototype.hasOwnProperty.call(t, n);
|
|
75
|
-
}, e.p = "./", e(e.s = 98);
|
|
76
|
-
}([function (n, e) {
|
|
77
|
-
n.exports = t;
|
|
78
|
-
}, function (t, e) {
|
|
79
|
-
t.exports = n;
|
|
80
|
-
}, function (t, n) {
|
|
81
|
-
var e = function (t) {
|
|
82
|
-
return t && t.Math == Math && t;
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
t.exports = e("object" == typeof globalThis && globalThis) || e("object" == typeof window && window) || e("object" == typeof self && self) || e("object" == typeof global && global) || function () {
|
|
86
|
-
return this;
|
|
87
|
-
}() || Function("return this")();
|
|
88
|
-
}, function (t, n) {
|
|
89
|
-
t.exports = function (t) {
|
|
90
|
-
return "object" == typeof t ? null !== t : "function" == typeof t;
|
|
91
|
-
};
|
|
92
|
-
}, function (t, n, e) {
|
|
93
|
-
var r = e(2),
|
|
94
|
-
o = e(40),
|
|
95
|
-
i = e(5),
|
|
96
|
-
u = e(43),
|
|
97
|
-
c = e(39),
|
|
98
|
-
a = e(56),
|
|
99
|
-
f = o("wks"),
|
|
100
|
-
s = r.Symbol,
|
|
101
|
-
p = a ? s : s && s.withoutSetter || u;
|
|
102
|
-
|
|
103
|
-
t.exports = function (t) {
|
|
104
|
-
return i(f, t) && (c || "string" == typeof f[t]) || (c && i(s, t) ? f[t] = s[t] : f[t] = p("Symbol." + t)), f[t];
|
|
105
|
-
};
|
|
106
|
-
}, function (t, n, e) {
|
|
107
|
-
var r = e(15),
|
|
108
|
-
o = {}.hasOwnProperty;
|
|
109
|
-
|
|
110
|
-
t.exports = Object.hasOwn || function (t, n) {
|
|
111
|
-
return o.call(r(t), n);
|
|
112
|
-
};
|
|
113
|
-
}, function (t, n) {
|
|
114
|
-
t.exports = function (t) {
|
|
115
|
-
try {
|
|
116
|
-
return !!t();
|
|
117
|
-
} catch (t) {
|
|
118
|
-
return !0;
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
}, function (t, n, e) {
|
|
122
|
-
var r = e(2),
|
|
123
|
-
o = e(35).f,
|
|
124
|
-
i = e(10),
|
|
125
|
-
u = e(20),
|
|
126
|
-
c = e(42),
|
|
127
|
-
a = e(59),
|
|
128
|
-
f = e(81);
|
|
129
|
-
|
|
130
|
-
t.exports = function (t, n) {
|
|
131
|
-
var e,
|
|
132
|
-
s,
|
|
133
|
-
p,
|
|
134
|
-
l,
|
|
135
|
-
y,
|
|
136
|
-
v = t.target,
|
|
137
|
-
d = t.global,
|
|
138
|
-
b = t.stat;
|
|
139
|
-
if (e = d ? r : b ? r[v] || c(v, {}) : (r[v] || {}).prototype) for (s in n) {
|
|
140
|
-
if (l = n[s], p = t.noTargetGet ? (y = o(e, s)) && y.value : e[s], !f(d ? s : v + (b ? "." : "#") + s, t.forced) && void 0 !== p) {
|
|
141
|
-
if (typeof l == typeof p) continue;
|
|
142
|
-
a(l, p);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
(t.sham || p && p.sham) && i(l, "sham", !0), u(e, s, l, t);
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
}, function (t, n, e) {
|
|
149
|
-
var r = e(6);
|
|
150
|
-
t.exports = !r(function () {
|
|
151
|
-
return 7 != Object.defineProperty({}, 1, {
|
|
152
|
-
get: function () {
|
|
153
|
-
return 7;
|
|
154
|
-
}
|
|
155
|
-
})[1];
|
|
156
|
-
});
|
|
157
|
-
}, function (t, n, e) {
|
|
158
|
-
var r = e(8),
|
|
159
|
-
o = e(57),
|
|
160
|
-
i = e(11),
|
|
161
|
-
u = e(38),
|
|
162
|
-
c = Object.defineProperty;
|
|
163
|
-
n.f = r ? c : function (t, n, e) {
|
|
164
|
-
if (i(t), n = u(n), i(e), o) try {
|
|
165
|
-
return c(t, n, e);
|
|
166
|
-
} catch (t) {}
|
|
167
|
-
if ("get" in e || "set" in e) throw TypeError("Accessors not supported");
|
|
168
|
-
return "value" in e && (t[n] = e.value), t;
|
|
169
|
-
};
|
|
170
|
-
}, function (t, n, e) {
|
|
171
|
-
var r = e(8),
|
|
172
|
-
o = e(9),
|
|
173
|
-
i = e(17);
|
|
174
|
-
t.exports = r ? function (t, n, e) {
|
|
175
|
-
return o.f(t, n, i(1, e));
|
|
176
|
-
} : function (t, n, e) {
|
|
177
|
-
return t[n] = e, t;
|
|
178
|
-
};
|
|
179
|
-
}, function (t, n, e) {
|
|
180
|
-
var r = e(3);
|
|
181
|
-
|
|
182
|
-
t.exports = function (t) {
|
|
183
|
-
if (!r(t)) throw TypeError(String(t) + " is not an object");
|
|
184
|
-
return t;
|
|
185
|
-
};
|
|
186
|
-
}, function (t, n, e) {
|
|
187
|
-
var r = e(55),
|
|
188
|
-
o = e(37);
|
|
189
|
-
|
|
190
|
-
t.exports = function (t) {
|
|
191
|
-
return r(o(t));
|
|
192
|
-
};
|
|
193
|
-
}, function (t, n, e) {
|
|
194
|
-
var r = e(2),
|
|
195
|
-
o = function (t) {
|
|
196
|
-
return "function" == typeof t ? t : void 0;
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
t.exports = function (t, n) {
|
|
200
|
-
return arguments.length < 2 ? o(r[t]) : r[t] && r[t][n];
|
|
201
|
-
};
|
|
202
|
-
}, function (t, n, e) {
|
|
203
|
-
var r,
|
|
204
|
-
o = e(11),
|
|
205
|
-
i = e(83),
|
|
206
|
-
u = e(47),
|
|
207
|
-
c = e(23),
|
|
208
|
-
a = e(84),
|
|
209
|
-
f = e(44),
|
|
210
|
-
s = e(22),
|
|
211
|
-
p = s("IE_PROTO"),
|
|
212
|
-
l = function () {},
|
|
213
|
-
y = function (t) {
|
|
214
|
-
return "<script>" + t + "<\/script>";
|
|
215
|
-
},
|
|
216
|
-
v = function (t) {
|
|
217
|
-
t.write(y("")), t.close();
|
|
218
|
-
var n = t.parentWindow.Object;
|
|
219
|
-
return t = null, n;
|
|
220
|
-
},
|
|
221
|
-
d = function () {
|
|
222
|
-
try {
|
|
223
|
-
r = new ActiveXObject("htmlfile");
|
|
224
|
-
} catch (t) {}
|
|
225
|
-
|
|
226
|
-
var t, n;
|
|
227
|
-
d = "undefined" != typeof document ? document.domain && r ? v(r) : ((n = f("iframe")).style.display = "none", a.appendChild(n), n.src = String("javascript:"), (t = n.contentWindow.document).open(), t.write(y("document.F=Object")), t.close(), t.F) : v(r);
|
|
228
|
-
|
|
229
|
-
for (var e = u.length; e--;) delete d.prototype[u[e]];
|
|
230
|
-
|
|
231
|
-
return d();
|
|
232
|
-
};
|
|
233
|
-
|
|
234
|
-
c[p] = !0, t.exports = Object.create || function (t, n) {
|
|
235
|
-
var e;
|
|
236
|
-
return null !== t ? (l.prototype = o(t), e = new l(), l.prototype = null, e[p] = t) : e = d(), void 0 === n ? e : i(e, n);
|
|
237
|
-
};
|
|
238
|
-
}, function (t, n, e) {
|
|
239
|
-
var r = e(37);
|
|
240
|
-
|
|
241
|
-
t.exports = function (t) {
|
|
242
|
-
return Object(r(t));
|
|
243
|
-
};
|
|
244
|
-
}, function (t, n, e) {
|
|
245
|
-
"use strict";
|
|
246
|
-
|
|
247
|
-
var r = e(12),
|
|
248
|
-
o = e(93),
|
|
249
|
-
i = e(53),
|
|
250
|
-
u = e(21),
|
|
251
|
-
c = e(70),
|
|
252
|
-
a = u.set,
|
|
253
|
-
f = u.getterFor("Array Iterator");
|
|
254
|
-
t.exports = c(Array, "Array", function (t, n) {
|
|
255
|
-
a(this, {
|
|
256
|
-
type: "Array Iterator",
|
|
257
|
-
target: r(t),
|
|
258
|
-
index: 0,
|
|
259
|
-
kind: n
|
|
260
|
-
});
|
|
261
|
-
}, function () {
|
|
262
|
-
var t = f(this),
|
|
263
|
-
n = t.target,
|
|
264
|
-
e = t.kind,
|
|
265
|
-
r = t.index++;
|
|
266
|
-
return !n || r >= n.length ? (t.target = void 0, {
|
|
267
|
-
value: void 0,
|
|
268
|
-
done: !0
|
|
269
|
-
}) : "keys" == e ? {
|
|
270
|
-
value: r,
|
|
271
|
-
done: !1
|
|
272
|
-
} : "values" == e ? {
|
|
273
|
-
value: n[r],
|
|
274
|
-
done: !1
|
|
275
|
-
} : {
|
|
276
|
-
value: [r, n[r]],
|
|
277
|
-
done: !1
|
|
278
|
-
};
|
|
279
|
-
}, "values"), i.Arguments = i.Array, o("keys"), o("values"), o("entries");
|
|
280
|
-
}, function (t, n) {
|
|
281
|
-
t.exports = function (t, n) {
|
|
282
|
-
return {
|
|
283
|
-
enumerable: !(1 & t),
|
|
284
|
-
configurable: !(2 & t),
|
|
285
|
-
writable: !(4 & t),
|
|
286
|
-
value: n
|
|
287
|
-
};
|
|
288
|
-
};
|
|
289
|
-
}, function (t, n, e) {
|
|
290
|
-
var r = e(13),
|
|
291
|
-
o = e(56);
|
|
292
|
-
t.exports = o ? function (t) {
|
|
293
|
-
return "symbol" == typeof t;
|
|
294
|
-
} : function (t) {
|
|
295
|
-
var n = r("Symbol");
|
|
296
|
-
return "function" == typeof n && Object(t) instanceof n;
|
|
297
|
-
};
|
|
298
|
-
}, function (t, n) {
|
|
299
|
-
t.exports = !1;
|
|
300
|
-
}, function (t, n, e) {
|
|
301
|
-
var r = e(2),
|
|
302
|
-
o = e(10),
|
|
303
|
-
i = e(5),
|
|
304
|
-
u = e(42),
|
|
305
|
-
c = e(58),
|
|
306
|
-
a = e(21),
|
|
307
|
-
f = a.get,
|
|
308
|
-
s = a.enforce,
|
|
309
|
-
p = String(String).split("String");
|
|
310
|
-
(t.exports = function (t, n, e, c) {
|
|
311
|
-
var a,
|
|
312
|
-
f = !!c && !!c.unsafe,
|
|
313
|
-
l = !!c && !!c.enumerable,
|
|
314
|
-
y = !!c && !!c.noTargetGet;
|
|
315
|
-
"function" == typeof e && ("string" != typeof n || i(e, "name") || o(e, "name", n), (a = s(e)).source || (a.source = p.join("string" == typeof n ? n : ""))), t !== r ? (f ? !y && t[n] && (l = !0) : delete t[n], l ? t[n] = e : o(t, n, e)) : l ? t[n] = e : u(n, e);
|
|
316
|
-
})(Function.prototype, "toString", function () {
|
|
317
|
-
return "function" == typeof this && f(this).source || c(this);
|
|
318
|
-
});
|
|
319
|
-
}, function (t, n, e) {
|
|
320
|
-
var r,
|
|
321
|
-
o,
|
|
322
|
-
i,
|
|
323
|
-
u = e(77),
|
|
324
|
-
c = e(2),
|
|
325
|
-
a = e(3),
|
|
326
|
-
f = e(10),
|
|
327
|
-
s = e(5),
|
|
328
|
-
p = e(41),
|
|
329
|
-
l = e(22),
|
|
330
|
-
y = e(23),
|
|
331
|
-
v = c.WeakMap;
|
|
332
|
-
|
|
333
|
-
if (u || p.state) {
|
|
334
|
-
var d = p.state || (p.state = new v()),
|
|
335
|
-
b = d.get,
|
|
336
|
-
h = d.has,
|
|
337
|
-
m = d.set;
|
|
338
|
-
r = function (t, n) {
|
|
339
|
-
if (h.call(d, t)) throw new TypeError("Object already initialized");
|
|
340
|
-
return n.facade = t, m.call(d, t, n), n;
|
|
341
|
-
}, o = function (t) {
|
|
342
|
-
return b.call(d, t) || {};
|
|
343
|
-
}, i = function (t) {
|
|
344
|
-
return h.call(d, t);
|
|
345
|
-
};
|
|
346
|
-
} else {
|
|
347
|
-
var g = l("state");
|
|
348
|
-
y[g] = !0, r = function (t, n) {
|
|
349
|
-
if (s(t, g)) throw new TypeError("Object already initialized");
|
|
350
|
-
return n.facade = t, f(t, g, n), n;
|
|
351
|
-
}, o = function (t) {
|
|
352
|
-
return s(t, g) ? t[g] : {};
|
|
353
|
-
}, i = function (t) {
|
|
354
|
-
return s(t, g);
|
|
355
|
-
};
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
t.exports = {
|
|
359
|
-
set: r,
|
|
360
|
-
get: o,
|
|
361
|
-
has: i,
|
|
362
|
-
enforce: function (t) {
|
|
363
|
-
return i(t) ? o(t) : r(t, {});
|
|
364
|
-
},
|
|
365
|
-
getterFor: function (t) {
|
|
366
|
-
return function (n) {
|
|
367
|
-
var e;
|
|
368
|
-
if (!a(n) || (e = o(n)).type !== t) throw TypeError("Incompatible receiver, " + t + " required");
|
|
369
|
-
return e;
|
|
370
|
-
};
|
|
371
|
-
}
|
|
372
|
-
};
|
|
373
|
-
}, function (t, n, e) {
|
|
374
|
-
var r = e(40),
|
|
375
|
-
o = e(43),
|
|
376
|
-
i = r("keys");
|
|
377
|
-
|
|
378
|
-
t.exports = function (t) {
|
|
379
|
-
return i[t] || (i[t] = o(t));
|
|
380
|
-
};
|
|
381
|
-
}, function (t, n) {
|
|
382
|
-
t.exports = {};
|
|
383
|
-
}, function (t, n, e) {
|
|
384
|
-
e(7)({
|
|
385
|
-
target: "Object",
|
|
386
|
-
stat: !0
|
|
387
|
-
}, {
|
|
388
|
-
setPrototypeOf: e(64)
|
|
389
|
-
});
|
|
390
|
-
}, function (t, n, e) {
|
|
391
|
-
var r = e(7),
|
|
392
|
-
o = e(6),
|
|
393
|
-
i = e(15),
|
|
394
|
-
u = e(49),
|
|
395
|
-
c = e(65);
|
|
396
|
-
r({
|
|
397
|
-
target: "Object",
|
|
398
|
-
stat: !0,
|
|
399
|
-
forced: o(function () {
|
|
400
|
-
u(1);
|
|
401
|
-
}),
|
|
402
|
-
sham: !c
|
|
403
|
-
}, {
|
|
404
|
-
getPrototypeOf: function (t) {
|
|
405
|
-
return u(i(t));
|
|
406
|
-
}
|
|
407
|
-
});
|
|
408
|
-
}, function (t, n, e) {
|
|
409
|
-
var r = e(7),
|
|
410
|
-
o = e(13),
|
|
411
|
-
i = e(48),
|
|
412
|
-
u = e(11),
|
|
413
|
-
c = e(3),
|
|
414
|
-
a = e(14),
|
|
415
|
-
f = e(63),
|
|
416
|
-
s = e(6),
|
|
417
|
-
p = o("Reflect", "construct"),
|
|
418
|
-
l = s(function () {
|
|
419
|
-
function t() {}
|
|
420
|
-
|
|
421
|
-
return !(p(function () {}, [], t) instanceof t);
|
|
422
|
-
}),
|
|
423
|
-
y = !s(function () {
|
|
424
|
-
p(function () {});
|
|
425
|
-
}),
|
|
426
|
-
v = l || y;
|
|
427
|
-
r({
|
|
428
|
-
target: "Reflect",
|
|
429
|
-
stat: !0,
|
|
430
|
-
forced: v,
|
|
431
|
-
sham: v
|
|
432
|
-
}, {
|
|
433
|
-
construct: function (t, n) {
|
|
434
|
-
i(t), u(n);
|
|
435
|
-
var e = arguments.length < 3 ? t : i(arguments[2]);
|
|
436
|
-
if (y && !l) return p(t, n, e);
|
|
437
|
-
|
|
438
|
-
if (t == e) {
|
|
439
|
-
switch (n.length) {
|
|
440
|
-
case 0:
|
|
441
|
-
return new t();
|
|
442
|
-
|
|
443
|
-
case 1:
|
|
444
|
-
return new t(n[0]);
|
|
445
|
-
|
|
446
|
-
case 2:
|
|
447
|
-
return new t(n[0], n[1]);
|
|
448
|
-
|
|
449
|
-
case 3:
|
|
450
|
-
return new t(n[0], n[1], n[2]);
|
|
451
|
-
|
|
452
|
-
case 4:
|
|
453
|
-
return new t(n[0], n[1], n[2], n[3]);
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
var r = [null];
|
|
457
|
-
return r.push.apply(r, n), new (f.apply(t, r))();
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
var o = e.prototype,
|
|
461
|
-
s = a(c(o) ? o : Object.prototype),
|
|
462
|
-
v = Function.apply.call(t, s, n);
|
|
463
|
-
return c(v) ? v : s;
|
|
464
|
-
}
|
|
465
|
-
});
|
|
466
|
-
}, function (t, n, e) {
|
|
467
|
-
e(7)({
|
|
468
|
-
target: "Object",
|
|
469
|
-
stat: !0,
|
|
470
|
-
sham: !e(8)
|
|
471
|
-
}, {
|
|
472
|
-
create: e(14)
|
|
473
|
-
});
|
|
474
|
-
}, function (t, n, e) {
|
|
475
|
-
var r = e(7),
|
|
476
|
-
o = e(8);
|
|
477
|
-
r({
|
|
478
|
-
target: "Object",
|
|
479
|
-
stat: !0,
|
|
480
|
-
forced: !o,
|
|
481
|
-
sham: !o
|
|
482
|
-
}, {
|
|
483
|
-
defineProperty: e(9).f
|
|
484
|
-
});
|
|
485
|
-
}, function (t, n, e) {
|
|
486
|
-
"use strict";
|
|
487
|
-
|
|
488
|
-
var r = e(7),
|
|
489
|
-
o = e(2),
|
|
490
|
-
i = e(13),
|
|
491
|
-
u = e(19),
|
|
492
|
-
c = e(8),
|
|
493
|
-
a = e(39),
|
|
494
|
-
f = e(6),
|
|
495
|
-
s = e(5),
|
|
496
|
-
p = e(67),
|
|
497
|
-
l = e(3),
|
|
498
|
-
y = e(18),
|
|
499
|
-
v = e(11),
|
|
500
|
-
d = e(15),
|
|
501
|
-
b = e(12),
|
|
502
|
-
h = e(38),
|
|
503
|
-
m = e(50),
|
|
504
|
-
g = e(17),
|
|
505
|
-
O = e(14),
|
|
506
|
-
S = e(66),
|
|
507
|
-
x = e(45),
|
|
508
|
-
w = e(85),
|
|
509
|
-
j = e(62),
|
|
510
|
-
T = e(35),
|
|
511
|
-
P = e(9),
|
|
512
|
-
_ = e(54),
|
|
513
|
-
E = e(10),
|
|
514
|
-
k = e(20),
|
|
515
|
-
R = e(40),
|
|
516
|
-
C = e(22),
|
|
517
|
-
A = e(23),
|
|
518
|
-
I = e(43),
|
|
519
|
-
N = e(4),
|
|
520
|
-
L = e(68),
|
|
521
|
-
M = e(69),
|
|
522
|
-
B = e(51),
|
|
523
|
-
F = e(21),
|
|
524
|
-
D = e(87).forEach,
|
|
525
|
-
q = C("hidden"),
|
|
526
|
-
G = N("toPrimitive"),
|
|
527
|
-
H = F.set,
|
|
528
|
-
V = F.getterFor("Symbol"),
|
|
529
|
-
z = Object.prototype,
|
|
530
|
-
U = o.Symbol,
|
|
531
|
-
W = i("JSON", "stringify"),
|
|
532
|
-
Y = T.f,
|
|
533
|
-
J = P.f,
|
|
534
|
-
$ = w.f,
|
|
535
|
-
K = _.f,
|
|
536
|
-
Q = R("symbols"),
|
|
537
|
-
X = R("op-symbols"),
|
|
538
|
-
Z = R("string-to-symbol-registry"),
|
|
539
|
-
tt = R("symbol-to-string-registry"),
|
|
540
|
-
nt = R("wks"),
|
|
541
|
-
et = o.QObject,
|
|
542
|
-
rt = !et || !et.prototype || !et.prototype.findChild,
|
|
543
|
-
ot = c && f(function () {
|
|
544
|
-
return 7 != O(J({}, "a", {
|
|
545
|
-
get: function () {
|
|
546
|
-
return J(this, "a", {
|
|
547
|
-
value: 7
|
|
548
|
-
}).a;
|
|
549
|
-
}
|
|
550
|
-
})).a;
|
|
551
|
-
}) ? function (t, n, e) {
|
|
552
|
-
var r = Y(z, n);
|
|
553
|
-
r && delete z[n], J(t, n, e), r && t !== z && J(z, n, r);
|
|
554
|
-
} : J,
|
|
555
|
-
it = function (t, n) {
|
|
556
|
-
var e = Q[t] = O(U.prototype);
|
|
557
|
-
return H(e, {
|
|
558
|
-
type: "Symbol",
|
|
559
|
-
tag: t,
|
|
560
|
-
description: n
|
|
561
|
-
}), c || (e.description = n), e;
|
|
562
|
-
},
|
|
563
|
-
ut = function (t, n, e) {
|
|
564
|
-
t === z && ut(X, n, e), v(t);
|
|
565
|
-
var r = h(n);
|
|
566
|
-
return v(e), s(Q, r) ? (e.enumerable ? (s(t, q) && t[q][r] && (t[q][r] = !1), e = O(e, {
|
|
567
|
-
enumerable: g(0, !1)
|
|
568
|
-
})) : (s(t, q) || J(t, q, g(1, {})), t[q][r] = !0), ot(t, r, e)) : J(t, r, e);
|
|
569
|
-
},
|
|
570
|
-
ct = function (t, n) {
|
|
571
|
-
v(t);
|
|
572
|
-
var e = b(n),
|
|
573
|
-
r = S(e).concat(pt(e));
|
|
574
|
-
return D(r, function (n) {
|
|
575
|
-
c && !at.call(e, n) || ut(t, n, e[n]);
|
|
576
|
-
}), t;
|
|
577
|
-
},
|
|
578
|
-
at = function (t) {
|
|
579
|
-
var n = h(t),
|
|
580
|
-
e = K.call(this, n);
|
|
581
|
-
return !(this === z && s(Q, n) && !s(X, n)) && (!(e || !s(this, n) || !s(Q, n) || s(this, q) && this[q][n]) || e);
|
|
582
|
-
},
|
|
583
|
-
ft = function (t, n) {
|
|
584
|
-
var e = b(t),
|
|
585
|
-
r = h(n);
|
|
586
|
-
|
|
587
|
-
if (e !== z || !s(Q, r) || s(X, r)) {
|
|
588
|
-
var o = Y(e, r);
|
|
589
|
-
return !o || !s(Q, r) || s(e, q) && e[q][r] || (o.enumerable = !0), o;
|
|
590
|
-
}
|
|
591
|
-
},
|
|
592
|
-
st = function (t) {
|
|
593
|
-
var n = $(b(t)),
|
|
594
|
-
e = [];
|
|
595
|
-
return D(n, function (t) {
|
|
596
|
-
s(Q, t) || s(A, t) || e.push(t);
|
|
597
|
-
}), e;
|
|
598
|
-
},
|
|
599
|
-
pt = function (t) {
|
|
600
|
-
var n = t === z,
|
|
601
|
-
e = $(n ? X : b(t)),
|
|
602
|
-
r = [];
|
|
603
|
-
return D(e, function (t) {
|
|
604
|
-
!s(Q, t) || n && !s(z, t) || r.push(Q[t]);
|
|
605
|
-
}), r;
|
|
606
|
-
};
|
|
607
|
-
|
|
608
|
-
(a || (k((U = function () {
|
|
609
|
-
if (this instanceof U) throw TypeError("Symbol is not a constructor");
|
|
610
|
-
|
|
611
|
-
var t = arguments.length && void 0 !== arguments[0] ? m(arguments[0]) : void 0,
|
|
612
|
-
n = I(t),
|
|
613
|
-
e = function (t) {
|
|
614
|
-
this === z && e.call(X, t), s(this, q) && s(this[q], n) && (this[q][n] = !1), ot(this, n, g(1, t));
|
|
615
|
-
};
|
|
616
|
-
|
|
617
|
-
return c && rt && ot(z, n, {
|
|
618
|
-
configurable: !0,
|
|
619
|
-
set: e
|
|
620
|
-
}), it(n, t);
|
|
621
|
-
}).prototype, "toString", function () {
|
|
622
|
-
return V(this).tag;
|
|
623
|
-
}), k(U, "withoutSetter", function (t) {
|
|
624
|
-
return it(I(t), t);
|
|
625
|
-
}), _.f = at, P.f = ut, T.f = ft, x.f = w.f = st, j.f = pt, L.f = function (t) {
|
|
626
|
-
return it(N(t), t);
|
|
627
|
-
}, c && (J(U.prototype, "description", {
|
|
628
|
-
configurable: !0,
|
|
629
|
-
get: function () {
|
|
630
|
-
return V(this).description;
|
|
631
|
-
}
|
|
632
|
-
}), u || k(z, "propertyIsEnumerable", at, {
|
|
633
|
-
unsafe: !0
|
|
634
|
-
}))), r({
|
|
635
|
-
global: !0,
|
|
636
|
-
wrap: !0,
|
|
637
|
-
forced: !a,
|
|
638
|
-
sham: !a
|
|
639
|
-
}, {
|
|
640
|
-
Symbol: U
|
|
641
|
-
}), D(S(nt), function (t) {
|
|
642
|
-
M(t);
|
|
643
|
-
}), r({
|
|
644
|
-
target: "Symbol",
|
|
645
|
-
stat: !0,
|
|
646
|
-
forced: !a
|
|
647
|
-
}, {
|
|
648
|
-
for: function (t) {
|
|
649
|
-
var n = m(t);
|
|
650
|
-
if (s(Z, n)) return Z[n];
|
|
651
|
-
var e = U(n);
|
|
652
|
-
return Z[n] = e, tt[e] = n, e;
|
|
653
|
-
},
|
|
654
|
-
keyFor: function (t) {
|
|
655
|
-
if (!y(t)) throw TypeError(t + " is not a symbol");
|
|
656
|
-
if (s(tt, t)) return tt[t];
|
|
657
|
-
},
|
|
658
|
-
useSetter: function () {
|
|
659
|
-
rt = !0;
|
|
660
|
-
},
|
|
661
|
-
useSimple: function () {
|
|
662
|
-
rt = !1;
|
|
663
|
-
}
|
|
664
|
-
}), r({
|
|
665
|
-
target: "Object",
|
|
666
|
-
stat: !0,
|
|
667
|
-
forced: !a,
|
|
668
|
-
sham: !c
|
|
669
|
-
}, {
|
|
670
|
-
create: function (t, n) {
|
|
671
|
-
return void 0 === n ? O(t) : ct(O(t), n);
|
|
672
|
-
},
|
|
673
|
-
defineProperty: ut,
|
|
674
|
-
defineProperties: ct,
|
|
675
|
-
getOwnPropertyDescriptor: ft
|
|
676
|
-
}), r({
|
|
677
|
-
target: "Object",
|
|
678
|
-
stat: !0,
|
|
679
|
-
forced: !a
|
|
680
|
-
}, {
|
|
681
|
-
getOwnPropertyNames: st,
|
|
682
|
-
getOwnPropertySymbols: pt
|
|
683
|
-
}), r({
|
|
684
|
-
target: "Object",
|
|
685
|
-
stat: !0,
|
|
686
|
-
forced: f(function () {
|
|
687
|
-
j.f(1);
|
|
688
|
-
})
|
|
689
|
-
}, {
|
|
690
|
-
getOwnPropertySymbols: function (t) {
|
|
691
|
-
return j.f(d(t));
|
|
692
|
-
}
|
|
693
|
-
}), W) && r({
|
|
694
|
-
target: "JSON",
|
|
695
|
-
stat: !0,
|
|
696
|
-
forced: !a || f(function () {
|
|
697
|
-
var t = U();
|
|
698
|
-
return "[null]" != W([t]) || "{}" != W({
|
|
699
|
-
a: t
|
|
700
|
-
}) || "{}" != W(Object(t));
|
|
701
|
-
})
|
|
702
|
-
}, {
|
|
703
|
-
stringify: function (t, n, e) {
|
|
704
|
-
for (var r, o = [t], i = 1; arguments.length > i;) o.push(arguments[i++]);
|
|
705
|
-
|
|
706
|
-
if (r = n, (l(n) || void 0 !== t) && !y(t)) return p(n) || (n = function (t, n) {
|
|
707
|
-
if ("function" == typeof r && (n = r.call(this, t, n)), !y(n)) return n;
|
|
708
|
-
}), o[1] = n, W.apply(null, o);
|
|
709
|
-
}
|
|
710
|
-
});
|
|
711
|
-
U.prototype[G] || E(U.prototype, G, U.prototype.valueOf), B(U, "Symbol"), A[q] = !0;
|
|
712
|
-
}, function (t, n, e) {
|
|
713
|
-
"use strict";
|
|
714
|
-
|
|
715
|
-
var r = e(7),
|
|
716
|
-
o = e(8),
|
|
717
|
-
i = e(2),
|
|
718
|
-
u = e(5),
|
|
719
|
-
c = e(3),
|
|
720
|
-
a = e(9).f,
|
|
721
|
-
f = e(59),
|
|
722
|
-
s = i.Symbol;
|
|
723
|
-
|
|
724
|
-
if (o && "function" == typeof s && (!("description" in s.prototype) || void 0 !== s().description)) {
|
|
725
|
-
var p = {},
|
|
726
|
-
l = function () {
|
|
727
|
-
var t = arguments.length < 1 || void 0 === arguments[0] ? void 0 : String(arguments[0]),
|
|
728
|
-
n = this instanceof l ? new s(t) : void 0 === t ? s() : s(t);
|
|
729
|
-
return "" === t && (p[n] = !0), n;
|
|
730
|
-
};
|
|
731
|
-
|
|
732
|
-
f(l, s);
|
|
733
|
-
var y = l.prototype = s.prototype;
|
|
734
|
-
y.constructor = l;
|
|
735
|
-
var v = y.toString,
|
|
736
|
-
d = "Symbol(test)" == String(s("test")),
|
|
737
|
-
b = /^Symbol\((.*)\)[^)]+$/;
|
|
738
|
-
a(y, "description", {
|
|
739
|
-
configurable: !0,
|
|
740
|
-
get: function () {
|
|
741
|
-
var t = c(this) ? this.valueOf() : this,
|
|
742
|
-
n = v.call(t);
|
|
743
|
-
if (u(p, t)) return "";
|
|
744
|
-
var e = d ? n.slice(7, -1) : n.replace(b, "$1");
|
|
745
|
-
return "" === e ? void 0 : e;
|
|
746
|
-
}
|
|
747
|
-
}), r({
|
|
748
|
-
global: !0,
|
|
749
|
-
forced: !0
|
|
750
|
-
}, {
|
|
751
|
-
Symbol: l
|
|
752
|
-
});
|
|
753
|
-
}
|
|
754
|
-
}, function (t, n, e) {
|
|
755
|
-
var r = e(52),
|
|
756
|
-
o = e(20),
|
|
757
|
-
i = e(91);
|
|
758
|
-
r || o(Object.prototype, "toString", i, {
|
|
759
|
-
unsafe: !0
|
|
760
|
-
});
|
|
761
|
-
}, function (t, n, e) {
|
|
762
|
-
e(69)("iterator");
|
|
763
|
-
}, function (t, n, e) {
|
|
764
|
-
"use strict";
|
|
765
|
-
|
|
766
|
-
var r = e(95).charAt,
|
|
767
|
-
o = e(50),
|
|
768
|
-
i = e(21),
|
|
769
|
-
u = e(70),
|
|
770
|
-
c = i.set,
|
|
771
|
-
a = i.getterFor("String Iterator");
|
|
772
|
-
u(String, "String", function (t) {
|
|
773
|
-
c(this, {
|
|
774
|
-
type: "String Iterator",
|
|
775
|
-
string: o(t),
|
|
776
|
-
index: 0
|
|
777
|
-
});
|
|
778
|
-
}, function () {
|
|
779
|
-
var t,
|
|
780
|
-
n = a(this),
|
|
781
|
-
e = n.string,
|
|
782
|
-
o = n.index;
|
|
783
|
-
return o >= e.length ? {
|
|
784
|
-
value: void 0,
|
|
785
|
-
done: !0
|
|
786
|
-
} : (t = r(e, o), n.index += t.length, {
|
|
787
|
-
value: t,
|
|
788
|
-
done: !1
|
|
789
|
-
});
|
|
790
|
-
});
|
|
791
|
-
}, function (t, n, e) {
|
|
792
|
-
var r = e(2),
|
|
793
|
-
o = e(96),
|
|
794
|
-
i = e(97),
|
|
795
|
-
u = e(16),
|
|
796
|
-
c = e(10),
|
|
797
|
-
a = e(4),
|
|
798
|
-
f = a("iterator"),
|
|
799
|
-
s = a("toStringTag"),
|
|
800
|
-
p = u.values,
|
|
801
|
-
l = function (t, n) {
|
|
802
|
-
if (t) {
|
|
803
|
-
if (t[f] !== p) try {
|
|
804
|
-
c(t, f, p);
|
|
805
|
-
} catch (n) {
|
|
806
|
-
t[f] = p;
|
|
807
|
-
}
|
|
808
|
-
if (t[s] || c(t, s, n), o[n]) for (var e in u) if (t[e] !== u[e]) try {
|
|
809
|
-
c(t, e, u[e]);
|
|
810
|
-
} catch (n) {
|
|
811
|
-
t[e] = u[e];
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
};
|
|
815
|
-
|
|
816
|
-
for (var y in o) l(r[y] && r[y].prototype, y);
|
|
817
|
-
|
|
818
|
-
l(i, "DOMTokenList");
|
|
819
|
-
}, function (t, n, e) {
|
|
820
|
-
var r = e(8),
|
|
821
|
-
o = e(54),
|
|
822
|
-
i = e(17),
|
|
823
|
-
u = e(12),
|
|
824
|
-
c = e(38),
|
|
825
|
-
a = e(5),
|
|
826
|
-
f = e(57),
|
|
827
|
-
s = Object.getOwnPropertyDescriptor;
|
|
828
|
-
n.f = r ? s : function (t, n) {
|
|
829
|
-
if (t = u(t), n = c(n), f) try {
|
|
830
|
-
return s(t, n);
|
|
831
|
-
} catch (t) {}
|
|
832
|
-
if (a(t, n)) return i(!o.f.call(t, n), t[n]);
|
|
833
|
-
};
|
|
834
|
-
}, function (t, n) {
|
|
835
|
-
var e = {}.toString;
|
|
836
|
-
|
|
837
|
-
t.exports = function (t) {
|
|
838
|
-
return e.call(t).slice(8, -1);
|
|
839
|
-
};
|
|
840
|
-
}, function (t, n) {
|
|
841
|
-
t.exports = function (t) {
|
|
842
|
-
if (null == t) throw TypeError("Can't call method on " + t);
|
|
843
|
-
return t;
|
|
844
|
-
};
|
|
845
|
-
}, function (t, n, e) {
|
|
846
|
-
var r = e(73),
|
|
847
|
-
o = e(18);
|
|
848
|
-
|
|
849
|
-
t.exports = function (t) {
|
|
850
|
-
var n = r(t, "string");
|
|
851
|
-
return o(n) ? n : String(n);
|
|
852
|
-
};
|
|
853
|
-
}, function (t, n, e) {
|
|
854
|
-
var r = e(74),
|
|
855
|
-
o = e(6);
|
|
856
|
-
t.exports = !!Object.getOwnPropertySymbols && !o(function () {
|
|
857
|
-
var t = Symbol();
|
|
858
|
-
return !String(t) || !(Object(t) instanceof Symbol) || !Symbol.sham && r && r < 41;
|
|
859
|
-
});
|
|
860
|
-
}, function (t, n, e) {
|
|
861
|
-
var r = e(19),
|
|
862
|
-
o = e(41);
|
|
863
|
-
(t.exports = function (t, n) {
|
|
864
|
-
return o[t] || (o[t] = void 0 !== n ? n : {});
|
|
865
|
-
})("versions", []).push({
|
|
866
|
-
version: "3.17.3",
|
|
867
|
-
mode: r ? "pure" : "global",
|
|
868
|
-
copyright: "© 2021 Denis Pushkarev (zloirock.ru)"
|
|
869
|
-
});
|
|
870
|
-
}, function (t, n, e) {
|
|
871
|
-
var r = e(2),
|
|
872
|
-
o = e(42),
|
|
873
|
-
i = r["__core-js_shared__"] || o("__core-js_shared__", {});
|
|
874
|
-
t.exports = i;
|
|
875
|
-
}, function (t, n, e) {
|
|
876
|
-
var r = e(2);
|
|
877
|
-
|
|
878
|
-
t.exports = function (t, n) {
|
|
879
|
-
try {
|
|
880
|
-
Object.defineProperty(r, t, {
|
|
881
|
-
value: n,
|
|
882
|
-
configurable: !0,
|
|
883
|
-
writable: !0
|
|
884
|
-
});
|
|
885
|
-
} catch (e) {
|
|
886
|
-
r[t] = n;
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
return n;
|
|
890
|
-
};
|
|
891
|
-
}, function (t, n) {
|
|
892
|
-
var e = 0,
|
|
893
|
-
r = Math.random();
|
|
894
|
-
|
|
895
|
-
t.exports = function (t) {
|
|
896
|
-
return "Symbol(" + String(void 0 === t ? "" : t) + ")_" + (++e + r).toString(36);
|
|
897
|
-
};
|
|
898
|
-
}, function (t, n, e) {
|
|
899
|
-
var r = e(2),
|
|
900
|
-
o = e(3),
|
|
901
|
-
i = r.document,
|
|
902
|
-
u = o(i) && o(i.createElement);
|
|
903
|
-
|
|
904
|
-
t.exports = function (t) {
|
|
905
|
-
return u ? i.createElement(t) : {};
|
|
906
|
-
};
|
|
907
|
-
}, function (t, n, e) {
|
|
908
|
-
var r = e(60),
|
|
909
|
-
o = e(47).concat("length", "prototype");
|
|
910
|
-
|
|
911
|
-
n.f = Object.getOwnPropertyNames || function (t) {
|
|
912
|
-
return r(t, o);
|
|
913
|
-
};
|
|
914
|
-
}, function (t, n) {
|
|
915
|
-
var e = Math.ceil,
|
|
916
|
-
r = Math.floor;
|
|
917
|
-
|
|
918
|
-
t.exports = function (t) {
|
|
919
|
-
return isNaN(t = +t) ? 0 : (t > 0 ? r : e)(t);
|
|
920
|
-
};
|
|
921
|
-
}, function (t, n) {
|
|
922
|
-
t.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"];
|
|
923
|
-
}, function (t, n) {
|
|
924
|
-
t.exports = function (t) {
|
|
925
|
-
if ("function" != typeof t) throw TypeError(String(t) + " is not a function");
|
|
926
|
-
return t;
|
|
927
|
-
};
|
|
928
|
-
}, function (t, n, e) {
|
|
929
|
-
var r = e(5),
|
|
930
|
-
o = e(15),
|
|
931
|
-
i = e(22),
|
|
932
|
-
u = e(65),
|
|
933
|
-
c = i("IE_PROTO"),
|
|
934
|
-
a = Object.prototype;
|
|
935
|
-
t.exports = u ? Object.getPrototypeOf : function (t) {
|
|
936
|
-
return t = o(t), r(t, c) ? t[c] : "function" == typeof t.constructor && t instanceof t.constructor ? t.constructor.prototype : t instanceof Object ? a : null;
|
|
937
|
-
};
|
|
938
|
-
}, function (t, n, e) {
|
|
939
|
-
var r = e(18);
|
|
940
|
-
|
|
941
|
-
t.exports = function (t) {
|
|
942
|
-
if (r(t)) throw TypeError("Cannot convert a Symbol value to a string");
|
|
943
|
-
return String(t);
|
|
944
|
-
};
|
|
945
|
-
}, function (t, n, e) {
|
|
946
|
-
var r = e(9).f,
|
|
947
|
-
o = e(5),
|
|
948
|
-
i = e(4)("toStringTag");
|
|
949
|
-
|
|
950
|
-
t.exports = function (t, n, e) {
|
|
951
|
-
t && !o(t = e ? t : t.prototype, i) && r(t, i, {
|
|
952
|
-
configurable: !0,
|
|
953
|
-
value: n
|
|
954
|
-
});
|
|
955
|
-
};
|
|
956
|
-
}, function (t, n, e) {
|
|
957
|
-
var r = {};
|
|
958
|
-
r[e(4)("toStringTag")] = "z", t.exports = "[object z]" === String(r);
|
|
959
|
-
}, function (t, n) {
|
|
960
|
-
t.exports = {};
|
|
961
|
-
}, function (t, n, e) {
|
|
962
|
-
"use strict";
|
|
963
|
-
|
|
964
|
-
var r = {}.propertyIsEnumerable,
|
|
965
|
-
o = Object.getOwnPropertyDescriptor,
|
|
966
|
-
i = o && !r.call({
|
|
967
|
-
1: 2
|
|
968
|
-
}, 1);
|
|
969
|
-
n.f = i ? function (t) {
|
|
970
|
-
var n = o(this, t);
|
|
971
|
-
return !!n && n.enumerable;
|
|
972
|
-
} : r;
|
|
973
|
-
}, function (t, n, e) {
|
|
974
|
-
var r = e(6),
|
|
975
|
-
o = e(36),
|
|
976
|
-
i = "".split;
|
|
977
|
-
t.exports = r(function () {
|
|
978
|
-
return !Object("z").propertyIsEnumerable(0);
|
|
979
|
-
}) ? function (t) {
|
|
980
|
-
return "String" == o(t) ? i.call(t, "") : Object(t);
|
|
981
|
-
} : Object;
|
|
982
|
-
}, function (t, n, e) {
|
|
983
|
-
var r = e(39);
|
|
984
|
-
t.exports = r && !Symbol.sham && "symbol" == typeof Symbol.iterator;
|
|
985
|
-
}, function (t, n, e) {
|
|
986
|
-
var r = e(8),
|
|
987
|
-
o = e(6),
|
|
988
|
-
i = e(44);
|
|
989
|
-
t.exports = !r && !o(function () {
|
|
990
|
-
return 7 != Object.defineProperty(i("div"), "a", {
|
|
991
|
-
get: function () {
|
|
992
|
-
return 7;
|
|
993
|
-
}
|
|
994
|
-
}).a;
|
|
995
|
-
});
|
|
996
|
-
}, function (t, n, e) {
|
|
997
|
-
var r = e(41),
|
|
998
|
-
o = Function.toString;
|
|
999
|
-
"function" != typeof r.inspectSource && (r.inspectSource = function (t) {
|
|
1000
|
-
return o.call(t);
|
|
1001
|
-
}), t.exports = r.inspectSource;
|
|
1002
|
-
}, function (t, n, e) {
|
|
1003
|
-
var r = e(5),
|
|
1004
|
-
o = e(78),
|
|
1005
|
-
i = e(35),
|
|
1006
|
-
u = e(9);
|
|
1007
|
-
|
|
1008
|
-
t.exports = function (t, n) {
|
|
1009
|
-
for (var e = o(n), c = u.f, a = i.f, f = 0; f < e.length; f++) {
|
|
1010
|
-
var s = e[f];
|
|
1011
|
-
r(t, s) || c(t, s, a(n, s));
|
|
1012
|
-
}
|
|
1013
|
-
};
|
|
1014
|
-
}, function (t, n, e) {
|
|
1015
|
-
var r = e(5),
|
|
1016
|
-
o = e(12),
|
|
1017
|
-
i = e(79).indexOf,
|
|
1018
|
-
u = e(23);
|
|
1019
|
-
|
|
1020
|
-
t.exports = function (t, n) {
|
|
1021
|
-
var e,
|
|
1022
|
-
c = o(t),
|
|
1023
|
-
a = 0,
|
|
1024
|
-
f = [];
|
|
1025
|
-
|
|
1026
|
-
for (e in c) !r(u, e) && r(c, e) && f.push(e);
|
|
1027
|
-
|
|
1028
|
-
for (; n.length > a;) r(c, e = n[a++]) && (~i(f, e) || f.push(e));
|
|
1029
|
-
|
|
1030
|
-
return f;
|
|
1031
|
-
};
|
|
1032
|
-
}, function (t, n, e) {
|
|
1033
|
-
var r = e(46),
|
|
1034
|
-
o = Math.min;
|
|
1035
|
-
|
|
1036
|
-
t.exports = function (t) {
|
|
1037
|
-
return t > 0 ? o(r(t), 9007199254740991) : 0;
|
|
1038
|
-
};
|
|
1039
|
-
}, function (t, n) {
|
|
1040
|
-
n.f = Object.getOwnPropertySymbols;
|
|
1041
|
-
}, function (t, n, e) {
|
|
1042
|
-
"use strict";
|
|
1043
|
-
|
|
1044
|
-
var r = e(48),
|
|
1045
|
-
o = e(3),
|
|
1046
|
-
i = [].slice,
|
|
1047
|
-
u = {},
|
|
1048
|
-
c = function (t, n, e) {
|
|
1049
|
-
if (!(n in u)) {
|
|
1050
|
-
for (var r = [], o = 0; o < n; o++) r[o] = "a[" + o + "]";
|
|
1051
|
-
|
|
1052
|
-
u[n] = Function("C,a", "return new C(" + r.join(",") + ")");
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
return u[n](t, e);
|
|
1056
|
-
};
|
|
1057
|
-
|
|
1058
|
-
t.exports = Function.bind || function (t) {
|
|
1059
|
-
var n = r(this),
|
|
1060
|
-
e = i.call(arguments, 1),
|
|
1061
|
-
u = function () {
|
|
1062
|
-
var r = e.concat(i.call(arguments));
|
|
1063
|
-
return this instanceof u ? c(n, r.length, r) : n.apply(t, r);
|
|
1064
|
-
};
|
|
1065
|
-
|
|
1066
|
-
return o(n.prototype) && (u.prototype = n.prototype), u;
|
|
1067
|
-
};
|
|
1068
|
-
}, function (t, n, e) {
|
|
1069
|
-
var r = e(11),
|
|
1070
|
-
o = e(82);
|
|
1071
|
-
t.exports = Object.setPrototypeOf || ("__proto__" in {} ? function () {
|
|
1072
|
-
var t,
|
|
1073
|
-
n = !1,
|
|
1074
|
-
e = {};
|
|
1075
|
-
|
|
1076
|
-
try {
|
|
1077
|
-
(t = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set).call(e, []), n = e instanceof Array;
|
|
1078
|
-
} catch (t) {}
|
|
1079
|
-
|
|
1080
|
-
return function (e, i) {
|
|
1081
|
-
return r(e), o(i), n ? t.call(e, i) : e.__proto__ = i, e;
|
|
1082
|
-
};
|
|
1083
|
-
}() : void 0);
|
|
1084
|
-
}, function (t, n, e) {
|
|
1085
|
-
var r = e(6);
|
|
1086
|
-
t.exports = !r(function () {
|
|
1087
|
-
function t() {}
|
|
1088
|
-
|
|
1089
|
-
return t.prototype.constructor = null, Object.getPrototypeOf(new t()) !== t.prototype;
|
|
1090
|
-
});
|
|
1091
|
-
}, function (t, n, e) {
|
|
1092
|
-
var r = e(60),
|
|
1093
|
-
o = e(47);
|
|
1094
|
-
|
|
1095
|
-
t.exports = Object.keys || function (t) {
|
|
1096
|
-
return r(t, o);
|
|
1097
|
-
};
|
|
1098
|
-
}, function (t, n, e) {
|
|
1099
|
-
var r = e(36);
|
|
1100
|
-
|
|
1101
|
-
t.exports = Array.isArray || function (t) {
|
|
1102
|
-
return "Array" == r(t);
|
|
1103
|
-
};
|
|
1104
|
-
}, function (t, n, e) {
|
|
1105
|
-
var r = e(4);
|
|
1106
|
-
n.f = r;
|
|
1107
|
-
}, function (t, n, e) {
|
|
1108
|
-
var r = e(86),
|
|
1109
|
-
o = e(5),
|
|
1110
|
-
i = e(68),
|
|
1111
|
-
u = e(9).f;
|
|
1112
|
-
|
|
1113
|
-
t.exports = function (t) {
|
|
1114
|
-
var n = r.Symbol || (r.Symbol = {});
|
|
1115
|
-
o(n, t) || u(n, t, {
|
|
1116
|
-
value: i.f(t)
|
|
1117
|
-
});
|
|
1118
|
-
};
|
|
1119
|
-
}, function (t, n, e) {
|
|
1120
|
-
"use strict";
|
|
1121
|
-
|
|
1122
|
-
var r = e(7),
|
|
1123
|
-
o = e(94),
|
|
1124
|
-
i = e(49),
|
|
1125
|
-
u = e(64),
|
|
1126
|
-
c = e(51),
|
|
1127
|
-
a = e(10),
|
|
1128
|
-
f = e(20),
|
|
1129
|
-
s = e(4),
|
|
1130
|
-
p = e(19),
|
|
1131
|
-
l = e(53),
|
|
1132
|
-
y = e(71),
|
|
1133
|
-
v = y.IteratorPrototype,
|
|
1134
|
-
d = y.BUGGY_SAFARI_ITERATORS,
|
|
1135
|
-
b = s("iterator"),
|
|
1136
|
-
h = function () {
|
|
1137
|
-
return this;
|
|
1138
|
-
};
|
|
1139
|
-
|
|
1140
|
-
t.exports = function (t, n, e, s, y, m, g) {
|
|
1141
|
-
o(e, n, s);
|
|
1142
|
-
|
|
1143
|
-
var O,
|
|
1144
|
-
S,
|
|
1145
|
-
x,
|
|
1146
|
-
w = function (t) {
|
|
1147
|
-
if (t === y && E) return E;
|
|
1148
|
-
if (!d && t in P) return P[t];
|
|
1149
|
-
|
|
1150
|
-
switch (t) {
|
|
1151
|
-
case "keys":
|
|
1152
|
-
case "values":
|
|
1153
|
-
case "entries":
|
|
1154
|
-
return function () {
|
|
1155
|
-
return new e(this, t);
|
|
1156
|
-
};
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
return function () {
|
|
1160
|
-
return new e(this);
|
|
1161
|
-
};
|
|
1162
|
-
},
|
|
1163
|
-
j = n + " Iterator",
|
|
1164
|
-
T = !1,
|
|
1165
|
-
P = t.prototype,
|
|
1166
|
-
_ = P[b] || P["@@iterator"] || y && P[y],
|
|
1167
|
-
E = !d && _ || w(y),
|
|
1168
|
-
k = "Array" == n && P.entries || _;
|
|
1169
|
-
|
|
1170
|
-
if (k && (O = i(k.call(new t()))) !== Object.prototype && O.next && (p || i(O) === v || (u ? u(O, v) : "function" != typeof O[b] && a(O, b, h)), c(O, j, !0, !0), p && (l[j] = h)), "values" == y && _ && "values" !== _.name && (T = !0, E = function () {
|
|
1171
|
-
return _.call(this);
|
|
1172
|
-
}), p && !g || P[b] === E || a(P, b, E), l[n] = E, y) if (S = {
|
|
1173
|
-
values: w("values"),
|
|
1174
|
-
keys: m ? E : w("keys"),
|
|
1175
|
-
entries: w("entries")
|
|
1176
|
-
}, g) for (x in S) (d || T || !(x in P)) && f(P, x, S[x]);else r({
|
|
1177
|
-
target: n,
|
|
1178
|
-
proto: !0,
|
|
1179
|
-
forced: d || T
|
|
1180
|
-
}, S);
|
|
1181
|
-
return S;
|
|
1182
|
-
};
|
|
1183
|
-
}, function (t, n, e) {
|
|
1184
|
-
"use strict";
|
|
1185
|
-
|
|
1186
|
-
var r,
|
|
1187
|
-
o,
|
|
1188
|
-
i,
|
|
1189
|
-
u = e(6),
|
|
1190
|
-
c = e(14),
|
|
1191
|
-
a = e(49),
|
|
1192
|
-
f = e(10),
|
|
1193
|
-
s = e(4),
|
|
1194
|
-
p = e(19),
|
|
1195
|
-
l = s("iterator"),
|
|
1196
|
-
y = !1;
|
|
1197
|
-
[].keys && ("next" in (i = [].keys()) ? (o = a(a(i))) !== Object.prototype && (r = o) : y = !0), null == r || u(function () {
|
|
1198
|
-
var t = {};
|
|
1199
|
-
return r[l].call(t) !== t;
|
|
1200
|
-
}) ? r = {} : p && (r = c(r)), "function" != typeof r[l] && f(r, l, function () {
|
|
1201
|
-
return this;
|
|
1202
|
-
}), t.exports = {
|
|
1203
|
-
IteratorPrototype: r,
|
|
1204
|
-
BUGGY_SAFARI_ITERATORS: y
|
|
1205
|
-
};
|
|
1206
|
-
}, function (t, n, e) {
|
|
1207
|
-
e(7)({
|
|
1208
|
-
target: "Function",
|
|
1209
|
-
proto: !0
|
|
1210
|
-
}, {
|
|
1211
|
-
bind: e(63)
|
|
1212
|
-
});
|
|
1213
|
-
}, function (t, n, e) {
|
|
1214
|
-
var r = e(3),
|
|
1215
|
-
o = e(18),
|
|
1216
|
-
i = e(76),
|
|
1217
|
-
u = e(4)("toPrimitive");
|
|
1218
|
-
|
|
1219
|
-
t.exports = function (t, n) {
|
|
1220
|
-
if (!r(t) || o(t)) return t;
|
|
1221
|
-
var e,
|
|
1222
|
-
c = t[u];
|
|
1223
|
-
|
|
1224
|
-
if (void 0 !== c) {
|
|
1225
|
-
if (void 0 === n && (n = "default"), e = c.call(t, n), !r(e) || o(e)) return e;
|
|
1226
|
-
throw TypeError("Can't convert object to primitive value");
|
|
1227
|
-
}
|
|
1228
|
-
|
|
1229
|
-
return void 0 === n && (n = "number"), i(t, n);
|
|
1230
|
-
};
|
|
1231
|
-
}, function (t, n, e) {
|
|
1232
|
-
var r,
|
|
1233
|
-
o,
|
|
1234
|
-
i = e(2),
|
|
1235
|
-
u = e(75),
|
|
1236
|
-
c = i.process,
|
|
1237
|
-
a = i.Deno,
|
|
1238
|
-
f = c && c.versions || a && a.version,
|
|
1239
|
-
s = f && f.v8;
|
|
1240
|
-
s ? o = (r = s.split("."))[0] < 4 ? 1 : r[0] + r[1] : u && (!(r = u.match(/Edge\/(\d+)/)) || r[1] >= 74) && (r = u.match(/Chrome\/(\d+)/)) && (o = r[1]), t.exports = o && +o;
|
|
1241
|
-
}, function (t, n, e) {
|
|
1242
|
-
var r = e(13);
|
|
1243
|
-
t.exports = r("navigator", "userAgent") || "";
|
|
1244
|
-
}, function (t, n, e) {
|
|
1245
|
-
var r = e(3);
|
|
1246
|
-
|
|
1247
|
-
t.exports = function (t, n) {
|
|
1248
|
-
var e, o;
|
|
1249
|
-
if ("string" === n && "function" == typeof (e = t.toString) && !r(o = e.call(t))) return o;
|
|
1250
|
-
if ("function" == typeof (e = t.valueOf) && !r(o = e.call(t))) return o;
|
|
1251
|
-
if ("string" !== n && "function" == typeof (e = t.toString) && !r(o = e.call(t))) return o;
|
|
1252
|
-
throw TypeError("Can't convert object to primitive value");
|
|
1253
|
-
};
|
|
1254
|
-
}, function (t, n, e) {
|
|
1255
|
-
var r = e(2),
|
|
1256
|
-
o = e(58),
|
|
1257
|
-
i = r.WeakMap;
|
|
1258
|
-
t.exports = "function" == typeof i && /native code/.test(o(i));
|
|
1259
|
-
}, function (t, n, e) {
|
|
1260
|
-
var r = e(13),
|
|
1261
|
-
o = e(45),
|
|
1262
|
-
i = e(62),
|
|
1263
|
-
u = e(11);
|
|
1264
|
-
|
|
1265
|
-
t.exports = r("Reflect", "ownKeys") || function (t) {
|
|
1266
|
-
var n = o.f(u(t)),
|
|
1267
|
-
e = i.f;
|
|
1268
|
-
return e ? n.concat(e(t)) : n;
|
|
1269
|
-
};
|
|
1270
|
-
}, function (t, n, e) {
|
|
1271
|
-
var r = e(12),
|
|
1272
|
-
o = e(61),
|
|
1273
|
-
i = e(80),
|
|
1274
|
-
u = function (t) {
|
|
1275
|
-
return function (n, e, u) {
|
|
1276
|
-
var c,
|
|
1277
|
-
a = r(n),
|
|
1278
|
-
f = o(a.length),
|
|
1279
|
-
s = i(u, f);
|
|
1280
|
-
|
|
1281
|
-
if (t && e != e) {
|
|
1282
|
-
for (; f > s;) if ((c = a[s++]) != c) return !0;
|
|
1283
|
-
} else for (; f > s; s++) if ((t || s in a) && a[s] === e) return t || s || 0;
|
|
1284
|
-
|
|
1285
|
-
return !t && -1;
|
|
1286
|
-
};
|
|
1287
|
-
};
|
|
1288
|
-
|
|
1289
|
-
t.exports = {
|
|
1290
|
-
includes: u(!0),
|
|
1291
|
-
indexOf: u(!1)
|
|
1292
|
-
};
|
|
1293
|
-
}, function (t, n, e) {
|
|
1294
|
-
var r = e(46),
|
|
1295
|
-
o = Math.max,
|
|
1296
|
-
i = Math.min;
|
|
1297
|
-
|
|
1298
|
-
t.exports = function (t, n) {
|
|
1299
|
-
var e = r(t);
|
|
1300
|
-
return e < 0 ? o(e + n, 0) : i(e, n);
|
|
1301
|
-
};
|
|
1302
|
-
}, function (t, n, e) {
|
|
1303
|
-
var r = e(6),
|
|
1304
|
-
o = /#|\.prototype\./,
|
|
1305
|
-
i = function (t, n) {
|
|
1306
|
-
var e = c[u(t)];
|
|
1307
|
-
return e == f || e != a && ("function" == typeof n ? r(n) : !!n);
|
|
1308
|
-
},
|
|
1309
|
-
u = i.normalize = function (t) {
|
|
1310
|
-
return String(t).replace(o, ".").toLowerCase();
|
|
1311
|
-
},
|
|
1312
|
-
c = i.data = {},
|
|
1313
|
-
a = i.NATIVE = "N",
|
|
1314
|
-
f = i.POLYFILL = "P";
|
|
1315
|
-
|
|
1316
|
-
t.exports = i;
|
|
1317
|
-
}, function (t, n, e) {
|
|
1318
|
-
var r = e(3);
|
|
1319
|
-
|
|
1320
|
-
t.exports = function (t) {
|
|
1321
|
-
if (!r(t) && null !== t) throw TypeError("Can't set " + String(t) + " as a prototype");
|
|
1322
|
-
return t;
|
|
1323
|
-
};
|
|
1324
|
-
}, function (t, n, e) {
|
|
1325
|
-
var r = e(8),
|
|
1326
|
-
o = e(9),
|
|
1327
|
-
i = e(11),
|
|
1328
|
-
u = e(66);
|
|
1329
|
-
t.exports = r ? Object.defineProperties : function (t, n) {
|
|
1330
|
-
i(t);
|
|
1331
|
-
|
|
1332
|
-
for (var e, r = u(n), c = r.length, a = 0; c > a;) o.f(t, e = r[a++], n[e]);
|
|
1333
|
-
|
|
1334
|
-
return t;
|
|
1335
|
-
};
|
|
1336
|
-
}, function (t, n, e) {
|
|
1337
|
-
var r = e(13);
|
|
1338
|
-
t.exports = r("document", "documentElement");
|
|
1339
|
-
}, function (t, n, e) {
|
|
1340
|
-
var r = e(12),
|
|
1341
|
-
o = e(45).f,
|
|
1342
|
-
i = {}.toString,
|
|
1343
|
-
u = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
|
|
1344
|
-
|
|
1345
|
-
t.exports.f = function (t) {
|
|
1346
|
-
return u && "[object Window]" == i.call(t) ? function (t) {
|
|
1347
|
-
try {
|
|
1348
|
-
return o(t);
|
|
1349
|
-
} catch (t) {
|
|
1350
|
-
return u.slice();
|
|
1351
|
-
}
|
|
1352
|
-
}(t) : o(r(t));
|
|
1353
|
-
};
|
|
1354
|
-
}, function (t, n, e) {
|
|
1355
|
-
var r = e(2);
|
|
1356
|
-
t.exports = r;
|
|
1357
|
-
}, function (t, n, e) {
|
|
1358
|
-
var r = e(88),
|
|
1359
|
-
o = e(55),
|
|
1360
|
-
i = e(15),
|
|
1361
|
-
u = e(61),
|
|
1362
|
-
c = e(89),
|
|
1363
|
-
a = [].push,
|
|
1364
|
-
f = function (t) {
|
|
1365
|
-
var n = 1 == t,
|
|
1366
|
-
e = 2 == t,
|
|
1367
|
-
f = 3 == t,
|
|
1368
|
-
s = 4 == t,
|
|
1369
|
-
p = 6 == t,
|
|
1370
|
-
l = 7 == t,
|
|
1371
|
-
y = 5 == t || p;
|
|
1372
|
-
return function (v, d, b, h) {
|
|
1373
|
-
for (var m, g, O = i(v), S = o(O), x = r(d, b, 3), w = u(S.length), j = 0, T = h || c, P = n ? T(v, w) : e || l ? T(v, 0) : void 0; w > j; j++) if ((y || j in S) && (g = x(m = S[j], j, O), t)) if (n) P[j] = g;else if (g) switch (t) {
|
|
1374
|
-
case 3:
|
|
1375
|
-
return !0;
|
|
1376
|
-
|
|
1377
|
-
case 5:
|
|
1378
|
-
return m;
|
|
1379
|
-
|
|
1380
|
-
case 6:
|
|
1381
|
-
return j;
|
|
1382
|
-
|
|
1383
|
-
case 2:
|
|
1384
|
-
a.call(P, m);
|
|
1385
|
-
} else switch (t) {
|
|
1386
|
-
case 4:
|
|
1387
|
-
return !1;
|
|
1388
|
-
|
|
1389
|
-
case 7:
|
|
1390
|
-
a.call(P, m);
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
|
-
return p ? -1 : f || s ? s : P;
|
|
1394
|
-
};
|
|
1395
|
-
};
|
|
1396
|
-
|
|
1397
|
-
t.exports = {
|
|
1398
|
-
forEach: f(0),
|
|
1399
|
-
map: f(1),
|
|
1400
|
-
filter: f(2),
|
|
1401
|
-
some: f(3),
|
|
1402
|
-
every: f(4),
|
|
1403
|
-
find: f(5),
|
|
1404
|
-
findIndex: f(6),
|
|
1405
|
-
filterReject: f(7)
|
|
1406
|
-
};
|
|
1407
|
-
}, function (t, n, e) {
|
|
1408
|
-
var r = e(48);
|
|
1409
|
-
|
|
1410
|
-
t.exports = function (t, n, e) {
|
|
1411
|
-
if (r(t), void 0 === n) return t;
|
|
1412
|
-
|
|
1413
|
-
switch (e) {
|
|
1414
|
-
case 0:
|
|
1415
|
-
return function () {
|
|
1416
|
-
return t.call(n);
|
|
1417
|
-
};
|
|
1418
|
-
|
|
1419
|
-
case 1:
|
|
1420
|
-
return function (e) {
|
|
1421
|
-
return t.call(n, e);
|
|
1422
|
-
};
|
|
1423
|
-
|
|
1424
|
-
case 2:
|
|
1425
|
-
return function (e, r) {
|
|
1426
|
-
return t.call(n, e, r);
|
|
1427
|
-
};
|
|
1428
|
-
|
|
1429
|
-
case 3:
|
|
1430
|
-
return function (e, r, o) {
|
|
1431
|
-
return t.call(n, e, r, o);
|
|
1432
|
-
};
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
return function () {
|
|
1436
|
-
return t.apply(n, arguments);
|
|
1437
|
-
};
|
|
1438
|
-
};
|
|
1439
|
-
}, function (t, n, e) {
|
|
1440
|
-
var r = e(90);
|
|
1441
|
-
|
|
1442
|
-
t.exports = function (t, n) {
|
|
1443
|
-
return new (r(t))(0 === n ? 0 : n);
|
|
1444
|
-
};
|
|
1445
|
-
}, function (t, n, e) {
|
|
1446
|
-
var r = e(3),
|
|
1447
|
-
o = e(67),
|
|
1448
|
-
i = e(4)("species");
|
|
1449
|
-
|
|
1450
|
-
t.exports = function (t) {
|
|
1451
|
-
var n;
|
|
1452
|
-
return o(t) && ("function" != typeof (n = t.constructor) || n !== Array && !o(n.prototype) ? r(n) && null === (n = n[i]) && (n = void 0) : n = void 0), void 0 === n ? Array : n;
|
|
1453
|
-
};
|
|
1454
|
-
}, function (t, n, e) {
|
|
1455
|
-
"use strict";
|
|
1456
|
-
|
|
1457
|
-
var r = e(52),
|
|
1458
|
-
o = e(92);
|
|
1459
|
-
t.exports = r ? {}.toString : function () {
|
|
1460
|
-
return "[object " + o(this) + "]";
|
|
1461
|
-
};
|
|
1462
|
-
}, function (t, n, e) {
|
|
1463
|
-
var r = e(52),
|
|
1464
|
-
o = e(36),
|
|
1465
|
-
i = e(4)("toStringTag"),
|
|
1466
|
-
u = "Arguments" == o(function () {
|
|
1467
|
-
return arguments;
|
|
1468
|
-
}());
|
|
1469
|
-
t.exports = r ? o : function (t) {
|
|
1470
|
-
var n, e, r;
|
|
1471
|
-
return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof (e = function (t, n) {
|
|
1472
|
-
try {
|
|
1473
|
-
return t[n];
|
|
1474
|
-
} catch (t) {}
|
|
1475
|
-
}(n = Object(t), i)) ? e : u ? o(n) : "Object" == (r = o(n)) && "function" == typeof n.callee ? "Arguments" : r;
|
|
1476
|
-
};
|
|
1477
|
-
}, function (t, n, e) {
|
|
1478
|
-
var r = e(4),
|
|
1479
|
-
o = e(14),
|
|
1480
|
-
i = e(9),
|
|
1481
|
-
u = r("unscopables"),
|
|
1482
|
-
c = Array.prototype;
|
|
1483
|
-
null == c[u] && i.f(c, u, {
|
|
1484
|
-
configurable: !0,
|
|
1485
|
-
value: o(null)
|
|
1486
|
-
}), t.exports = function (t) {
|
|
1487
|
-
c[u][t] = !0;
|
|
1488
|
-
};
|
|
1489
|
-
}, function (t, n, e) {
|
|
1490
|
-
"use strict";
|
|
1491
|
-
|
|
1492
|
-
var r = e(71).IteratorPrototype,
|
|
1493
|
-
o = e(14),
|
|
1494
|
-
i = e(17),
|
|
1495
|
-
u = e(51),
|
|
1496
|
-
c = e(53),
|
|
1497
|
-
a = function () {
|
|
1498
|
-
return this;
|
|
1499
|
-
};
|
|
1500
|
-
|
|
1501
|
-
t.exports = function (t, n, e) {
|
|
1502
|
-
var f = n + " Iterator";
|
|
1503
|
-
return t.prototype = o(r, {
|
|
1504
|
-
next: i(1, e)
|
|
1505
|
-
}), u(t, f, !1, !0), c[f] = a, t;
|
|
1506
|
-
};
|
|
1507
|
-
}, function (t, n, e) {
|
|
1508
|
-
var r = e(46),
|
|
1509
|
-
o = e(50),
|
|
1510
|
-
i = e(37),
|
|
1511
|
-
u = function (t) {
|
|
1512
|
-
return function (n, e) {
|
|
1513
|
-
var u,
|
|
1514
|
-
c,
|
|
1515
|
-
a = o(i(n)),
|
|
1516
|
-
f = r(e),
|
|
1517
|
-
s = a.length;
|
|
1518
|
-
return f < 0 || f >= s ? t ? "" : void 0 : (u = a.charCodeAt(f)) < 55296 || u > 56319 || f + 1 === s || (c = a.charCodeAt(f + 1)) < 56320 || c > 57343 ? t ? a.charAt(f) : u : t ? a.slice(f, f + 2) : c - 56320 + (u - 55296 << 10) + 65536;
|
|
1519
|
-
};
|
|
1520
|
-
};
|
|
1521
|
-
|
|
1522
|
-
t.exports = {
|
|
1523
|
-
codeAt: u(!1),
|
|
1524
|
-
charAt: u(!0)
|
|
1525
|
-
};
|
|
1526
|
-
}, function (t, n) {
|
|
1527
|
-
t.exports = {
|
|
1528
|
-
CSSRuleList: 0,
|
|
1529
|
-
CSSStyleDeclaration: 0,
|
|
1530
|
-
CSSValueList: 0,
|
|
1531
|
-
ClientRectList: 0,
|
|
1532
|
-
DOMRectList: 0,
|
|
1533
|
-
DOMStringList: 0,
|
|
1534
|
-
DOMTokenList: 1,
|
|
1535
|
-
DataTransferItemList: 0,
|
|
1536
|
-
FileList: 0,
|
|
1537
|
-
HTMLAllCollection: 0,
|
|
1538
|
-
HTMLCollection: 0,
|
|
1539
|
-
HTMLFormElement: 0,
|
|
1540
|
-
HTMLSelectElement: 0,
|
|
1541
|
-
MediaList: 0,
|
|
1542
|
-
MimeTypeArray: 0,
|
|
1543
|
-
NamedNodeMap: 0,
|
|
1544
|
-
NodeList: 1,
|
|
1545
|
-
PaintRequestList: 0,
|
|
1546
|
-
Plugin: 0,
|
|
1547
|
-
PluginArray: 0,
|
|
1548
|
-
SVGLengthList: 0,
|
|
1549
|
-
SVGNumberList: 0,
|
|
1550
|
-
SVGPathSegList: 0,
|
|
1551
|
-
SVGPointList: 0,
|
|
1552
|
-
SVGStringList: 0,
|
|
1553
|
-
SVGTransformList: 0,
|
|
1554
|
-
SourceBufferList: 0,
|
|
1555
|
-
StyleSheetList: 0,
|
|
1556
|
-
TextTrackCueList: 0,
|
|
1557
|
-
TextTrackList: 0,
|
|
1558
|
-
TouchList: 0
|
|
1559
|
-
};
|
|
1560
|
-
}, function (t, n, e) {
|
|
1561
|
-
var r = e(44)("span").classList,
|
|
1562
|
-
o = r && r.constructor && r.constructor.prototype;
|
|
1563
|
-
t.exports = o === Object.prototype ? void 0 : o;
|
|
1564
|
-
}, function (t, n, e) {
|
|
1565
|
-
"use strict";
|
|
1566
|
-
|
|
1567
|
-
e.r(n), e.d(n, "AnimatedIconTextButton", function () {
|
|
1568
|
-
return v;
|
|
1569
|
-
}), e.d(n, "IconButton", function () {
|
|
1570
|
-
return w;
|
|
1571
|
-
}), e.d(n, "IconTextButton", function () {
|
|
1572
|
-
return A;
|
|
1573
|
-
}), e.d(n, "TextButton", function () {
|
|
1574
|
-
return G;
|
|
1575
|
-
});
|
|
1576
|
-
e(72), e(24), e(25), e(26), e(27), e(28), e(29), e(30), e(31), e(32), e(16), e(33), e(34);
|
|
1577
|
-
var r = e(1),
|
|
1578
|
-
o = e.n(r),
|
|
1579
|
-
i = e(0),
|
|
1580
|
-
u = e.n(i);
|
|
1581
|
-
|
|
1582
|
-
function c(t) {
|
|
1583
|
-
return (c = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) {
|
|
1584
|
-
return typeof t;
|
|
1585
|
-
} : function (t) {
|
|
1586
|
-
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1587
|
-
})(t);
|
|
1588
|
-
}
|
|
1589
|
-
|
|
1590
|
-
function a(t, n) {
|
|
1591
|
-
for (var e = 0; e < n.length; e++) {
|
|
1592
|
-
var r = n[e];
|
|
1593
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
1594
|
-
}
|
|
1595
|
-
}
|
|
1596
|
-
|
|
1597
|
-
function f(t, n) {
|
|
1598
|
-
return (f = Object.setPrototypeOf || function (t, n) {
|
|
1599
|
-
return t.__proto__ = n, t;
|
|
1600
|
-
})(t, n);
|
|
1601
|
-
}
|
|
1602
|
-
|
|
1603
|
-
function s(t) {
|
|
1604
|
-
var n = function () {
|
|
1605
|
-
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
|
|
1606
|
-
if (Reflect.construct.sham) return !1;
|
|
1607
|
-
if ("function" == typeof Proxy) return !0;
|
|
1608
|
-
|
|
1609
|
-
try {
|
|
1610
|
-
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
|
|
1611
|
-
} catch (t) {
|
|
1612
|
-
return !1;
|
|
1613
|
-
}
|
|
1614
|
-
}();
|
|
1615
|
-
|
|
1616
|
-
return function () {
|
|
1617
|
-
var e,
|
|
1618
|
-
r = l(t);
|
|
1619
|
-
|
|
1620
|
-
if (n) {
|
|
1621
|
-
var o = l(this).constructor;
|
|
1622
|
-
e = Reflect.construct(r, arguments, o);
|
|
1623
|
-
} else e = r.apply(this, arguments);
|
|
1624
|
-
|
|
1625
|
-
return p(this, e);
|
|
1626
|
-
};
|
|
1627
|
-
}
|
|
1628
|
-
|
|
1629
|
-
function p(t, n) {
|
|
1630
|
-
if (n && ("object" === c(n) || "function" == typeof n)) return n;
|
|
1631
|
-
if (void 0 !== n) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1632
|
-
return function (t) {
|
|
1633
|
-
if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1634
|
-
return t;
|
|
1635
|
-
}(t);
|
|
1636
|
-
}
|
|
1637
|
-
|
|
1638
|
-
function l(t) {
|
|
1639
|
-
return (l = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
|
|
1640
|
-
return t.__proto__ || Object.getPrototypeOf(t);
|
|
1641
|
-
})(t);
|
|
1642
|
-
}
|
|
1643
|
-
|
|
1644
|
-
var y = function (t) {
|
|
1645
|
-
!function (t, n) {
|
|
1646
|
-
if ("function" != typeof n && null !== n) throw new TypeError("Super expression must either be null or a function");
|
|
1647
|
-
t.prototype = Object.create(n && n.prototype, {
|
|
1648
|
-
constructor: {
|
|
1649
|
-
value: t,
|
|
1650
|
-
writable: !0,
|
|
1651
|
-
configurable: !0
|
|
1652
|
-
}
|
|
1653
|
-
}), n && f(t, n);
|
|
1654
|
-
}(u, t);
|
|
1655
|
-
var n,
|
|
1656
|
-
e,
|
|
1657
|
-
r,
|
|
1658
|
-
i = s(u);
|
|
1659
|
-
|
|
1660
|
-
function u(t) {
|
|
1661
|
-
var n;
|
|
1662
|
-
return function (t, n) {
|
|
1663
|
-
if (!(t instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
1664
|
-
}(this, u), (n = i.call(this, t)).state = {
|
|
1665
|
-
animating: !1
|
|
1666
|
-
}, n;
|
|
1667
|
-
}
|
|
1668
|
-
|
|
1669
|
-
return n = u, (e = [{
|
|
1670
|
-
key: "componentDidMount",
|
|
1671
|
-
value: function () {
|
|
1672
|
-
this.unsubscribeStopAnimation = this.props.stopAnimationListenable.listen(this.handleStopAnimation.bind(this));
|
|
1673
|
-
}
|
|
1674
|
-
}, {
|
|
1675
|
-
key: "componentWillUnmount",
|
|
1676
|
-
value: function () {
|
|
1677
|
-
this.unsubscribeStopAnimation();
|
|
1678
|
-
}
|
|
1679
|
-
}, {
|
|
1680
|
-
key: "handleClick",
|
|
1681
|
-
value: function () {
|
|
1682
|
-
this.setState({
|
|
1683
|
-
animating: !0
|
|
1684
|
-
}), this.props.clickHandler();
|
|
1685
|
-
}
|
|
1686
|
-
}, {
|
|
1687
|
-
key: "handleStopAnimation",
|
|
1688
|
-
value: function () {
|
|
1689
|
-
this.setState({
|
|
1690
|
-
animating: !1
|
|
1691
|
-
});
|
|
1692
|
-
}
|
|
1693
|
-
}, {
|
|
1694
|
-
key: "renderIcon",
|
|
1695
|
-
value: function () {
|
|
1696
|
-
var t = this.state.animating ? this.props.animatingIconClassName : this.props.iconClassName;
|
|
1697
|
-
return o.a.createElement("i", {
|
|
1698
|
-
className: t,
|
|
1699
|
-
"aria-hidden": !0
|
|
1700
|
-
});
|
|
1701
|
-
}
|
|
1702
|
-
}, {
|
|
1703
|
-
key: "render",
|
|
1704
|
-
value: function () {
|
|
1705
|
-
return o.a.createElement("button", {
|
|
1706
|
-
type: "button",
|
|
1707
|
-
"data-test-id": this.props.dataTestId,
|
|
1708
|
-
className: this.props.className,
|
|
1709
|
-
onClick: this.handleClick.bind(this),
|
|
1710
|
-
disabled: this.props.disabled
|
|
1711
|
-
}, this.renderIcon(), this.props.text);
|
|
1712
|
-
}
|
|
1713
|
-
}]) && a(n.prototype, e), r && a(n, r), u;
|
|
1714
|
-
}(o.a.Component);
|
|
1715
|
-
|
|
1716
|
-
y.displayName = "AnimatedIconTextButton", y.propTypes = {
|
|
1717
|
-
text: u.a.string,
|
|
1718
|
-
clickHandler: u.a.func.isRequired,
|
|
1719
|
-
className: u.a.string,
|
|
1720
|
-
iconClassName: u.a.string.isRequired,
|
|
1721
|
-
animatingIconClassName: u.a.string.isRequired,
|
|
1722
|
-
dataTestId: u.a.string,
|
|
1723
|
-
stopAnimationListenable: u.a.any.isRequired,
|
|
1724
|
-
disabled: u.a.bool
|
|
1725
|
-
};
|
|
1726
|
-
var v = y;
|
|
1727
|
-
|
|
1728
|
-
function d(t) {
|
|
1729
|
-
return (d = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) {
|
|
1730
|
-
return typeof t;
|
|
1731
|
-
} : function (t) {
|
|
1732
|
-
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1733
|
-
})(t);
|
|
1734
|
-
}
|
|
1735
|
-
|
|
1736
|
-
function b(t, n) {
|
|
1737
|
-
if (!(t instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
1738
|
-
}
|
|
1739
|
-
|
|
1740
|
-
function h(t, n) {
|
|
1741
|
-
for (var e = 0; e < n.length; e++) {
|
|
1742
|
-
var r = n[e];
|
|
1743
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
1744
|
-
}
|
|
1745
|
-
}
|
|
1746
|
-
|
|
1747
|
-
function m(t, n) {
|
|
1748
|
-
return (m = Object.setPrototypeOf || function (t, n) {
|
|
1749
|
-
return t.__proto__ = n, t;
|
|
1750
|
-
})(t, n);
|
|
1751
|
-
}
|
|
1752
|
-
|
|
1753
|
-
function g(t) {
|
|
1754
|
-
var n = function () {
|
|
1755
|
-
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
|
|
1756
|
-
if (Reflect.construct.sham) return !1;
|
|
1757
|
-
if ("function" == typeof Proxy) return !0;
|
|
1758
|
-
|
|
1759
|
-
try {
|
|
1760
|
-
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
|
|
1761
|
-
} catch (t) {
|
|
1762
|
-
return !1;
|
|
1763
|
-
}
|
|
1764
|
-
}();
|
|
1765
|
-
|
|
1766
|
-
return function () {
|
|
1767
|
-
var e,
|
|
1768
|
-
r = S(t);
|
|
1769
|
-
|
|
1770
|
-
if (n) {
|
|
1771
|
-
var o = S(this).constructor;
|
|
1772
|
-
e = Reflect.construct(r, arguments, o);
|
|
1773
|
-
} else e = r.apply(this, arguments);
|
|
1774
|
-
|
|
1775
|
-
return O(this, e);
|
|
1776
|
-
};
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
|
-
function O(t, n) {
|
|
1780
|
-
if (n && ("object" === d(n) || "function" == typeof n)) return n;
|
|
1781
|
-
if (void 0 !== n) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1782
|
-
return function (t) {
|
|
1783
|
-
if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1784
|
-
return t;
|
|
1785
|
-
}(t);
|
|
1786
|
-
}
|
|
1787
|
-
|
|
1788
|
-
function S(t) {
|
|
1789
|
-
return (S = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
|
|
1790
|
-
return t.__proto__ || Object.getPrototypeOf(t);
|
|
1791
|
-
})(t);
|
|
1792
|
-
}
|
|
1793
|
-
|
|
1794
|
-
var x = function (t) {
|
|
1795
|
-
!function (t, n) {
|
|
1796
|
-
if ("function" != typeof n && null !== n) throw new TypeError("Super expression must either be null or a function");
|
|
1797
|
-
t.prototype = Object.create(n && n.prototype, {
|
|
1798
|
-
constructor: {
|
|
1799
|
-
value: t,
|
|
1800
|
-
writable: !0,
|
|
1801
|
-
configurable: !0
|
|
1802
|
-
}
|
|
1803
|
-
}), n && m(t, n);
|
|
1804
|
-
}(u, t);
|
|
1805
|
-
var n,
|
|
1806
|
-
e,
|
|
1807
|
-
r,
|
|
1808
|
-
i = g(u);
|
|
1809
|
-
|
|
1810
|
-
function u() {
|
|
1811
|
-
return b(this, u), i.apply(this, arguments);
|
|
1812
|
-
}
|
|
1813
|
-
|
|
1814
|
-
return n = u, (e = [{
|
|
1815
|
-
key: "shouldComponentUpdate",
|
|
1816
|
-
value: function () {
|
|
1817
|
-
return !1;
|
|
1818
|
-
}
|
|
1819
|
-
}, {
|
|
1820
|
-
key: "render",
|
|
1821
|
-
value: function () {
|
|
1822
|
-
return o.a.createElement("button", {
|
|
1823
|
-
type: "button",
|
|
1824
|
-
title: this.props.title,
|
|
1825
|
-
"data-test-id": this.props.dataTestId,
|
|
1826
|
-
className: this.props.className,
|
|
1827
|
-
onClick: this.props.clickHandler
|
|
1828
|
-
}, o.a.createElement("i", {
|
|
1829
|
-
className: this.props.iconClassName,
|
|
1830
|
-
"aria-hidden": !0
|
|
1831
|
-
}));
|
|
1832
|
-
}
|
|
1833
|
-
}]) && h(n.prototype, e), r && h(n, r), u;
|
|
1834
|
-
}(o.a.Component);
|
|
1835
|
-
|
|
1836
|
-
x.displayName = "IconButton", x.propTypes = {
|
|
1837
|
-
title: u.a.string,
|
|
1838
|
-
clickHandler: u.a.func.isRequired,
|
|
1839
|
-
className: u.a.string,
|
|
1840
|
-
iconClassName: u.a.string.isRequired,
|
|
1841
|
-
dataTestId: u.a.string
|
|
1842
|
-
};
|
|
1843
|
-
var w = x;
|
|
1844
|
-
|
|
1845
|
-
function j(t) {
|
|
1846
|
-
return (j = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) {
|
|
1847
|
-
return typeof t;
|
|
1848
|
-
} : function (t) {
|
|
1849
|
-
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1850
|
-
})(t);
|
|
1851
|
-
}
|
|
1852
|
-
|
|
1853
|
-
function T(t, n) {
|
|
1854
|
-
if (!(t instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
1855
|
-
}
|
|
1856
|
-
|
|
1857
|
-
function P(t, n) {
|
|
1858
|
-
for (var e = 0; e < n.length; e++) {
|
|
1859
|
-
var r = n[e];
|
|
1860
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
1861
|
-
}
|
|
1862
|
-
}
|
|
1863
|
-
|
|
1864
|
-
function _(t, n) {
|
|
1865
|
-
return (_ = Object.setPrototypeOf || function (t, n) {
|
|
1866
|
-
return t.__proto__ = n, t;
|
|
1867
|
-
})(t, n);
|
|
1868
|
-
}
|
|
1869
|
-
|
|
1870
|
-
function E(t) {
|
|
1871
|
-
var n = function () {
|
|
1872
|
-
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
|
|
1873
|
-
if (Reflect.construct.sham) return !1;
|
|
1874
|
-
if ("function" == typeof Proxy) return !0;
|
|
1875
|
-
|
|
1876
|
-
try {
|
|
1877
|
-
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
|
|
1878
|
-
} catch (t) {
|
|
1879
|
-
return !1;
|
|
1880
|
-
}
|
|
1881
|
-
}();
|
|
1882
|
-
|
|
1883
|
-
return function () {
|
|
1884
|
-
var e,
|
|
1885
|
-
r = R(t);
|
|
1886
|
-
|
|
1887
|
-
if (n) {
|
|
1888
|
-
var o = R(this).constructor;
|
|
1889
|
-
e = Reflect.construct(r, arguments, o);
|
|
1890
|
-
} else e = r.apply(this, arguments);
|
|
1891
|
-
|
|
1892
|
-
return k(this, e);
|
|
1893
|
-
};
|
|
1894
|
-
}
|
|
1895
|
-
|
|
1896
|
-
function k(t, n) {
|
|
1897
|
-
if (n && ("object" === j(n) || "function" == typeof n)) return n;
|
|
1898
|
-
if (void 0 !== n) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1899
|
-
return function (t) {
|
|
1900
|
-
if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1901
|
-
return t;
|
|
1902
|
-
}(t);
|
|
1903
|
-
}
|
|
1904
|
-
|
|
1905
|
-
function R(t) {
|
|
1906
|
-
return (R = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
|
|
1907
|
-
return t.__proto__ || Object.getPrototypeOf(t);
|
|
1908
|
-
})(t);
|
|
1909
|
-
}
|
|
1910
|
-
|
|
1911
|
-
var C = function (t) {
|
|
1912
|
-
!function (t, n) {
|
|
1913
|
-
if ("function" != typeof n && null !== n) throw new TypeError("Super expression must either be null or a function");
|
|
1914
|
-
t.prototype = Object.create(n && n.prototype, {
|
|
1915
|
-
constructor: {
|
|
1916
|
-
value: t,
|
|
1917
|
-
writable: !0,
|
|
1918
|
-
configurable: !0
|
|
1919
|
-
}
|
|
1920
|
-
}), n && _(t, n);
|
|
1921
|
-
}(u, t);
|
|
1922
|
-
var n,
|
|
1923
|
-
e,
|
|
1924
|
-
r,
|
|
1925
|
-
i = E(u);
|
|
1926
|
-
|
|
1927
|
-
function u() {
|
|
1928
|
-
return T(this, u), i.apply(this, arguments);
|
|
1929
|
-
}
|
|
1930
|
-
|
|
1931
|
-
return n = u, (e = [{
|
|
1932
|
-
key: "shouldComponentUpdate",
|
|
1933
|
-
value: function () {
|
|
1934
|
-
return !1;
|
|
1935
|
-
}
|
|
1936
|
-
}, {
|
|
1937
|
-
key: "render",
|
|
1938
|
-
value: function () {
|
|
1939
|
-
return o.a.createElement("button", {
|
|
1940
|
-
type: "button",
|
|
1941
|
-
"data-test-id": this.props.dataTestId,
|
|
1942
|
-
className: this.props.className,
|
|
1943
|
-
onClick: this.props.clickHandler
|
|
1944
|
-
}, o.a.createElement("i", {
|
|
1945
|
-
className: this.props.iconClassName,
|
|
1946
|
-
"aria-hidden": !0
|
|
1947
|
-
}), this.props.text);
|
|
1948
|
-
}
|
|
1949
|
-
}]) && P(n.prototype, e), r && P(n, r), u;
|
|
1950
|
-
}(o.a.Component);
|
|
1951
|
-
|
|
1952
|
-
C.displayName = "IconTextButton", C.propTypes = {
|
|
1953
|
-
text: u.a.string,
|
|
1954
|
-
clickHandler: u.a.func.isRequired,
|
|
1955
|
-
className: u.a.string,
|
|
1956
|
-
iconClassName: u.a.string.isRequired,
|
|
1957
|
-
dataTestId: u.a.string
|
|
1958
|
-
};
|
|
1959
|
-
var A = C;
|
|
1960
|
-
|
|
1961
|
-
function I(t) {
|
|
1962
|
-
return (I = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) {
|
|
1963
|
-
return typeof t;
|
|
1964
|
-
} : function (t) {
|
|
1965
|
-
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1966
|
-
})(t);
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
|
-
function N(t, n) {
|
|
1970
|
-
if (!(t instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
1971
|
-
}
|
|
1972
|
-
|
|
1973
|
-
function L(t, n) {
|
|
1974
|
-
for (var e = 0; e < n.length; e++) {
|
|
1975
|
-
var r = n[e];
|
|
1976
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
1977
|
-
}
|
|
1978
|
-
}
|
|
1979
|
-
|
|
1980
|
-
function M(t, n) {
|
|
1981
|
-
return (M = Object.setPrototypeOf || function (t, n) {
|
|
1982
|
-
return t.__proto__ = n, t;
|
|
1983
|
-
})(t, n);
|
|
1984
|
-
}
|
|
1985
|
-
|
|
1986
|
-
function B(t) {
|
|
1987
|
-
var n = function () {
|
|
1988
|
-
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
|
|
1989
|
-
if (Reflect.construct.sham) return !1;
|
|
1990
|
-
if ("function" == typeof Proxy) return !0;
|
|
1991
|
-
|
|
1992
|
-
try {
|
|
1993
|
-
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
|
|
1994
|
-
} catch (t) {
|
|
1995
|
-
return !1;
|
|
1996
|
-
}
|
|
1997
|
-
}();
|
|
1998
|
-
|
|
1999
|
-
return function () {
|
|
2000
|
-
var e,
|
|
2001
|
-
r = D(t);
|
|
2002
|
-
|
|
2003
|
-
if (n) {
|
|
2004
|
-
var o = D(this).constructor;
|
|
2005
|
-
e = Reflect.construct(r, arguments, o);
|
|
2006
|
-
} else e = r.apply(this, arguments);
|
|
2007
|
-
|
|
2008
|
-
return F(this, e);
|
|
2009
|
-
};
|
|
2010
|
-
}
|
|
2011
|
-
|
|
2012
|
-
function F(t, n) {
|
|
2013
|
-
if (n && ("object" === I(n) || "function" == typeof n)) return n;
|
|
2014
|
-
if (void 0 !== n) throw new TypeError("Derived constructors may only return object or undefined");
|
|
2015
|
-
return function (t) {
|
|
2016
|
-
if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2017
|
-
return t;
|
|
2018
|
-
}(t);
|
|
2019
|
-
}
|
|
2020
|
-
|
|
2021
|
-
function D(t) {
|
|
2022
|
-
return (D = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
|
|
2023
|
-
return t.__proto__ || Object.getPrototypeOf(t);
|
|
2024
|
-
})(t);
|
|
2025
|
-
}
|
|
2026
|
-
|
|
2027
|
-
var q = function (t) {
|
|
2028
|
-
!function (t, n) {
|
|
2029
|
-
if ("function" != typeof n && null !== n) throw new TypeError("Super expression must either be null or a function");
|
|
2030
|
-
t.prototype = Object.create(n && n.prototype, {
|
|
2031
|
-
constructor: {
|
|
2032
|
-
value: t,
|
|
2033
|
-
writable: !0,
|
|
2034
|
-
configurable: !0
|
|
2035
|
-
}
|
|
2036
|
-
}), n && M(t, n);
|
|
2037
|
-
}(u, t);
|
|
2038
|
-
var n,
|
|
2039
|
-
e,
|
|
2040
|
-
r,
|
|
2041
|
-
i = B(u);
|
|
2042
|
-
|
|
2043
|
-
function u() {
|
|
2044
|
-
return N(this, u), i.apply(this, arguments);
|
|
2045
|
-
}
|
|
2046
|
-
|
|
2047
|
-
return n = u, (e = [{
|
|
2048
|
-
key: "render",
|
|
2049
|
-
value: function () {
|
|
2050
|
-
return o.a.createElement("button", {
|
|
2051
|
-
id: this.props.id,
|
|
2052
|
-
className: this.props.className,
|
|
2053
|
-
"data-test-id": this.props.dataTestId,
|
|
2054
|
-
title: this.props.title,
|
|
2055
|
-
type: "button",
|
|
2056
|
-
disabled: this.props.disabled,
|
|
2057
|
-
style: this.props.style,
|
|
2058
|
-
onClick: this.props.clickHandler
|
|
2059
|
-
}, this.props.text);
|
|
2060
|
-
}
|
|
2061
|
-
}]) && L(n.prototype, e), r && L(n, r), u;
|
|
2062
|
-
}(o.a.Component);
|
|
2063
|
-
|
|
2064
|
-
q.displayName = "TextButton", q.propTypes = {
|
|
2065
|
-
text: u.a.string.isRequired,
|
|
2066
|
-
title: u.a.string,
|
|
2067
|
-
clickHandler: u.a.func.isRequired,
|
|
2068
|
-
className: u.a.string,
|
|
2069
|
-
dataTestId: u.a.string,
|
|
2070
|
-
disabled: u.a.bool,
|
|
2071
|
-
id: u.a.string,
|
|
2072
|
-
style: u.a.object
|
|
2073
|
-
};
|
|
2074
|
-
var G = q;
|
|
2075
|
-
}]);
|
|
2076
|
-
});
|
|
2077
|
-
|
|
2078
|
-
/***/ }),
|
|
2079
|
-
|
|
2080
|
-
/***/ 428:
|
|
2081
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2082
|
-
|
|
2083
|
-
"use strict";
|
|
2084
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(398);
|
|
2085
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
2086
|
-
// Imports
|
|
2087
|
-
|
|
2088
|
-
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(false);
|
|
2089
|
-
// Module
|
|
2090
|
-
___CSS_LOADER_EXPORT___.push([module.i, ".CompassShellPlugin_info-modal-module-info-modal-banner__15KrH {\n color: #1a567e;\n border-color: #c5e4f2;\n background-color: #e1f2f6;\n padding: 9px 12px 9px 20px;\n border-width: 1px;\n border-style: solid;\n border-radius: 6px;\n font-size: 14px;\n}\n.CompassShellPlugin_info-modal-module-info-modal-banner-link___NgHS {\n font-weight: bold;\n text-decoration: underline;\n}\n.CompassShellPlugin_info-modal-module-info-modal-shortcuts-title__3daCa {\n font-weight: bold;\n padding: 14px 0;\n}\n.CompassShellPlugin_info-modal-module-info-modal-shortcuts__2jJgb .CompassShellPlugin_info-modal-module-info-modal-shortcuts-hotkey__3MLCI {\n padding: 3px 0;\n}\n.CompassShellPlugin_info-modal-module-info-modal-shortcuts__2jJgb .CompassShellPlugin_info-modal-module-info-modal-shortcuts-hotkey__3MLCI:nth-child(odd) {\n background-color: #e7eeec;\n}\n.CompassShellPlugin_info-modal-module-info-modal-shortcuts__2jJgb .CompassShellPlugin_info-modal-module-info-modal-shortcuts-hotkey-key__p8XDj {\n font-weight: bold;\n padding-left: 14px;\n padding-right: 10px;\n}\n", ""]);
|
|
2091
|
-
// Exports
|
|
2092
|
-
___CSS_LOADER_EXPORT___.locals = {
|
|
2093
|
-
"info-modal-banner": "CompassShellPlugin_info-modal-module-info-modal-banner__15KrH",
|
|
2094
|
-
"info-modal-banner-link": "CompassShellPlugin_info-modal-module-info-modal-banner-link___NgHS",
|
|
2095
|
-
"info-modal-shortcuts-title": "CompassShellPlugin_info-modal-module-info-modal-shortcuts-title__3daCa",
|
|
2096
|
-
"info-modal-shortcuts": "CompassShellPlugin_info-modal-module-info-modal-shortcuts__2jJgb",
|
|
2097
|
-
"info-modal-shortcuts-hotkey": "CompassShellPlugin_info-modal-module-info-modal-shortcuts-hotkey__3MLCI",
|
|
2098
|
-
"info-modal-shortcuts-hotkey-key": "CompassShellPlugin_info-modal-module-info-modal-shortcuts-hotkey-key__p8XDj"
|
|
2099
|
-
};
|
|
2100
|
-
/* harmony default export */ __webpack_exports__["a"] = (___CSS_LOADER_EXPORT___);
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
/***/ }),
|
|
2104
|
-
|
|
2105
|
-
/***/ 496:
|
|
2106
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2107
|
-
|
|
2108
|
-
"use strict";
|
|
2109
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(398);
|
|
2110
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
2111
|
-
// Imports
|
|
2112
|
-
|
|
2113
|
-
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(false);
|
|
2114
|
-
// Module
|
|
2115
|
-
___CSS_LOADER_EXPORT___.push([module.i, ".CompassShellPlugin_shell-header-module-compass-shell-header__15C8_ {\n width: 100%;\n height: 32px;\n display: flex;\n color: #b8c4c2;\n}\n.CompassShellPlugin_shell-header-module-compass-shell-header-left___3yX6 {\n flex-grow: 1;\n display: flex;\n align-items: center;\n}\n.CompassShellPlugin_shell-header-module-compass-shell-header-right-actions__1IsOP {\n display: flex;\n padding-top: 2px;\n padding-right: 4px;\n}\n.CompassShellPlugin_shell-header-module-compass-shell-header-toggle__1nsjY {\n background: none;\n border: none;\n cursor: pointer;\n padding: 0px 8px;\n height: 100%;\n display: flex;\n vertical-align: middle;\n flex-direction: row;\n align-items: center;\n margin: auto 0;\n font-weight: bold;\n font-size: 12px;\n line-height: 32px;\n transition: all 200ms;\n user-select: none;\n text-transform: uppercase;\n}\n.CompassShellPlugin_shell-header-module-compass-shell-header-toggle__1nsjY:hover {\n color: #f9fbfa;\n}\n.CompassShellPlugin_shell-header-module-compass-shell-header-operation-in-progress__1MuCv {\n color: #c3e7ca;\n}\n.CompassShellPlugin_shell-header-module-compass-shell-header-loader-icon__BraQe {\n margin: 8px 8px 8px 16px;\n}\n.CompassShellPlugin_shell-header-module-compass-shell-header-btn__1ucbe:not(:last-child) {\n margin-right: 4px;\n}\n", ""]);
|
|
2116
|
-
// Exports
|
|
2117
|
-
___CSS_LOADER_EXPORT___.locals = {
|
|
2118
|
-
"compass-shell-header": "CompassShellPlugin_shell-header-module-compass-shell-header__15C8_",
|
|
2119
|
-
"compass-shell-header-left": "CompassShellPlugin_shell-header-module-compass-shell-header-left___3yX6",
|
|
2120
|
-
"compass-shell-header-right-actions": "CompassShellPlugin_shell-header-module-compass-shell-header-right-actions__1IsOP",
|
|
2121
|
-
"compass-shell-header-toggle": "CompassShellPlugin_shell-header-module-compass-shell-header-toggle__1nsjY",
|
|
2122
|
-
"compass-shell-header-operation-in-progress": "CompassShellPlugin_shell-header-module-compass-shell-header-operation-in-progress__1MuCv",
|
|
2123
|
-
"compass-shell-header-loader-icon": "CompassShellPlugin_shell-header-module-compass-shell-header-loader-icon__BraQe",
|
|
2124
|
-
"compass-shell-header-btn": "CompassShellPlugin_shell-header-module-compass-shell-header-btn__1ucbe"
|
|
2125
|
-
};
|
|
2126
|
-
/* harmony default export */ __webpack_exports__["a"] = (___CSS_LOADER_EXPORT___);
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
/***/ }),
|
|
2130
|
-
|
|
2131
|
-
/***/ 499:
|
|
3
|
+
/***/ 387:
|
|
2132
4
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2133
5
|
|
|
2134
6
|
"use strict";
|
|
@@ -2142,87 +14,27 @@ __webpack_require__.d(__webpack_exports__, "CompassShell", function() { return /
|
|
|
2142
14
|
var external_react_ = __webpack_require__(2);
|
|
2143
15
|
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
2144
16
|
|
|
2145
|
-
// EXTERNAL MODULE: /Users/rhys/Documents/mongodb/compass/node_modules/classnames/index.js
|
|
2146
|
-
var classnames = __webpack_require__(384);
|
|
2147
|
-
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
|
2148
|
-
|
|
2149
|
-
// EXTERNAL MODULE: /Users/rhys/Documents/mongodb/compass/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
2150
|
-
var injectStylesIntoStyleTag = __webpack_require__(397);
|
|
2151
|
-
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
2152
|
-
|
|
2153
|
-
// EXTERNAL MODULE: /Users/rhys/Documents/mongodb/compass/node_modules/css-loader/dist/cjs.js??ref--5-1!/Users/rhys/Documents/mongodb/compass/node_modules/postcss-loader/lib??ref--5-2!/Users/rhys/Documents/mongodb/compass/node_modules/less-loader/dist/cjs.js??ref--5-3!./src/components/compass-shell/compass-shell.module.less
|
|
2154
|
-
var compass_shell_module = __webpack_require__(426);
|
|
2155
|
-
|
|
2156
|
-
// CONCATENATED MODULE: ./src/components/compass-shell/compass-shell.module.less
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
var options = {};
|
|
2161
|
-
|
|
2162
|
-
options.insert = "head";
|
|
2163
|
-
options.singleton = false;
|
|
2164
|
-
|
|
2165
|
-
var update = injectStylesIntoStyleTag_default()(compass_shell_module["a" /* default */], options);
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
/* harmony default export */ var compass_shell_compass_shell_module = (compass_shell_module["a" /* default */].locals || {});
|
|
2170
17
|
// EXTERNAL MODULE: external "prop-types"
|
|
2171
|
-
var external_prop_types_ = __webpack_require__(
|
|
18
|
+
var external_prop_types_ = __webpack_require__(172);
|
|
2172
19
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
2173
20
|
|
|
2174
21
|
// EXTERNAL MODULE: ./node_modules/react-redux/es/index.js + 25 modules
|
|
2175
|
-
var es = __webpack_require__(
|
|
22
|
+
var es = __webpack_require__(168);
|
|
2176
23
|
|
|
2177
|
-
// EXTERNAL MODULE: /Users/
|
|
2178
|
-
var mongosh_browser_repl = __webpack_require__(
|
|
24
|
+
// EXTERNAL MODULE: /Users/basit.chonka/Projects/compass/node_modules/@mongosh/browser-repl/lib/mongosh-browser-repl.js
|
|
25
|
+
var mongosh_browser_repl = __webpack_require__(386);
|
|
2179
26
|
|
|
2180
27
|
// EXTERNAL MODULE: external "@mongodb-js/compass-components"
|
|
2181
|
-
var compass_components_ = __webpack_require__(
|
|
2182
|
-
|
|
2183
|
-
// EXTERNAL MODULE: ../hadron-react-buttons/lib/index.js
|
|
2184
|
-
var lib = __webpack_require__(427);
|
|
2185
|
-
|
|
2186
|
-
// EXTERNAL MODULE: /Users/rhys/Documents/mongodb/compass/node_modules/react-bootstrap/es/Modal.js + 16 modules
|
|
2187
|
-
var Modal = __webpack_require__(498);
|
|
28
|
+
var compass_components_ = __webpack_require__(383);
|
|
2188
29
|
|
|
2189
|
-
//
|
|
2190
|
-
var dist = __webpack_require__(166);
|
|
2191
|
-
|
|
2192
|
-
// EXTERNAL MODULE: ./package.json
|
|
2193
|
-
var package_0 = __webpack_require__(58);
|
|
2194
|
-
|
|
2195
|
-
// EXTERNAL MODULE: /Users/rhys/Documents/mongodb/compass/node_modules/css-loader/dist/cjs.js??ref--5-1!/Users/rhys/Documents/mongodb/compass/node_modules/postcss-loader/lib??ref--5-2!/Users/rhys/Documents/mongodb/compass/node_modules/less-loader/dist/cjs.js??ref--5-3!./src/components/info-modal/info-modal.module.less
|
|
2196
|
-
var info_modal_module = __webpack_require__(428);
|
|
2197
|
-
|
|
2198
|
-
// CONCATENATED MODULE: ./src/components/info-modal/info-modal.module.less
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
var info_modal_module_options = {};
|
|
2203
|
-
|
|
2204
|
-
info_modal_module_options.insert = "head";
|
|
2205
|
-
info_modal_module_options.singleton = false;
|
|
2206
|
-
|
|
2207
|
-
var info_modal_module_update = injectStylesIntoStyleTag_default()(info_modal_module["a" /* default */], info_modal_module_options);
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
/* harmony default export */ var info_modal_info_modal_module = (info_modal_module["a" /* default */].locals || {});
|
|
2212
|
-
// CONCATENATED MODULE: ./src/components/info-modal/info-modal.jsx
|
|
2213
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
30
|
+
// CONCATENATED MODULE: ./src/components/info-modal/keyboard-shortcuts-table.jsx
|
|
2214
31
|
|
|
2215
32
|
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
track
|
|
2222
|
-
} = Object(dist["createLoggerAndTelemetry"])('COMPASS-IMPORT-EXPORT-UI');
|
|
2223
|
-
|
|
2224
|
-
const mongoshVersion = `v${package_0.dependencies['@mongosh/browser-repl'].replace('^', '')}`;
|
|
2225
|
-
|
|
33
|
+
const rowStyles = Object(compass_components_["css"])({
|
|
34
|
+
td: {
|
|
35
|
+
padding: 0
|
|
36
|
+
}
|
|
37
|
+
});
|
|
2226
38
|
const hotkeys = [{
|
|
2227
39
|
key: 'Ctrl+`',
|
|
2228
40
|
description: 'Toggle shell.'
|
|
@@ -2256,110 +68,157 @@ const hotkeys = [{
|
|
|
2256
68
|
}, {
|
|
2257
69
|
key: 'Ctrl+U',
|
|
2258
70
|
description: 'Changes the line to Uppercase.'
|
|
71
|
+
}, {
|
|
72
|
+
key: '\u2191',
|
|
73
|
+
description: 'Cycle backwards through command history.'
|
|
74
|
+
}, {
|
|
75
|
+
key: '\u2193',
|
|
76
|
+
description: 'Cycle forwards through command history.'
|
|
2259
77
|
}];
|
|
2260
|
-
/**
|
|
2261
|
-
* Show information on how to use the shell in compass.
|
|
2262
|
-
*/
|
|
2263
|
-
|
|
2264
|
-
class info_modal_InfoModal extends external_react_["PureComponent"] {
|
|
2265
|
-
constructor(...args) {
|
|
2266
|
-
super(...args);
|
|
2267
|
-
|
|
2268
|
-
_defineProperty(this, "showHandler", () => {
|
|
2269
|
-
track('Screen', {
|
|
2270
|
-
name: 'shell_info_modal'
|
|
2271
|
-
});
|
|
2272
|
-
});
|
|
2273
|
-
}
|
|
2274
|
-
|
|
2275
|
-
/**
|
|
2276
|
-
* Render the component.
|
|
2277
|
-
*
|
|
2278
|
-
* @returns {React.Component} The component.
|
|
2279
|
-
*/
|
|
2280
|
-
render() {
|
|
2281
|
-
const {
|
|
2282
|
-
hideInfoModal,
|
|
2283
|
-
show
|
|
2284
|
-
} = this.props;
|
|
2285
|
-
return /*#__PURE__*/external_react_default.a.createElement(Modal["a" /* default */], {
|
|
2286
|
-
restoreFocus: false,
|
|
2287
|
-
onEscapeKeyDown: hideInfoModal,
|
|
2288
|
-
show: show,
|
|
2289
|
-
onShow: this.showHandler
|
|
2290
|
-
}, /*#__PURE__*/external_react_default.a.createElement(Modal["a" /* default */].Header, {
|
|
2291
|
-
closeButton: true,
|
|
2292
|
-
onHide: hideInfoModal
|
|
2293
|
-
}, /*#__PURE__*/external_react_default.a.createElement("h4", null, "mongosh ", mongoshVersion)), /*#__PURE__*/external_react_default.a.createElement(Modal["a" /* default */].Body, null, /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
2294
|
-
className: info_modal_info_modal_module['info-modal-banner']
|
|
2295
|
-
}, "More information on this release of the\xA0", /*#__PURE__*/external_react_default.a.createElement("a", {
|
|
2296
|
-
className: info_modal_info_modal_module['info-modal-banner-link'],
|
|
2297
|
-
id: "mongosh-info-link",
|
|
2298
|
-
rel: "noreopener",
|
|
2299
|
-
href: "https://docs.mongodb.com/compass/beta/embedded-shell/",
|
|
2300
|
-
target: "_blank"
|
|
2301
|
-
}, "MongoDB Shell")), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
2302
|
-
className: info_modal_info_modal_module['info-modal-shortcuts-title']
|
|
2303
|
-
}, "Keyboard Shortcuts"), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
2304
|
-
className: info_modal_info_modal_module['info-modal-shortcuts']
|
|
2305
|
-
}, hotkeys.map(shortcut => /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
2306
|
-
className: info_modal_info_modal_module['info-modal-shortcuts-hotkey'],
|
|
2307
|
-
key: `short-cut-${shortcut.key}`
|
|
2308
|
-
}, /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
2309
|
-
className: info_modal_info_modal_module['info-modal-shortcuts-hotkey-key']
|
|
2310
|
-
}, shortcut.key), shortcut.description)), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
2311
|
-
className: info_modal_info_modal_module['info-modal-shortcuts-hotkey']
|
|
2312
|
-
}, /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
2313
|
-
className: info_modal_info_modal_module['info-modal-shortcuts-hotkey-key']
|
|
2314
|
-
}, "\u2191"), "Cycle backwards through command history."), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
2315
|
-
className: info_modal_info_modal_module['info-modal-shortcuts-hotkey']
|
|
2316
|
-
}, /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
2317
|
-
className: info_modal_info_modal_module['info-modal-shortcuts-hotkey-key']
|
|
2318
|
-
}, "\u2193"), "Cycle forwards through command history."))), /*#__PURE__*/external_react_default.a.createElement(Modal["a" /* default */].Footer, null, /*#__PURE__*/external_react_default.a.createElement(lib["TextButton"], {
|
|
2319
|
-
id: "close-info-modal",
|
|
2320
|
-
className: "btn btn-default btn-sm",
|
|
2321
|
-
text: "Close",
|
|
2322
|
-
clickHandler: hideInfoModal
|
|
2323
|
-
})));
|
|
2324
|
-
}
|
|
2325
78
|
|
|
79
|
+
function KeyboardShortcutsTable() {
|
|
80
|
+
return /*#__PURE__*/external_react_default.a.createElement(compass_components_["Table"], {
|
|
81
|
+
data: hotkeys,
|
|
82
|
+
columns: [/*#__PURE__*/external_react_default.a.createElement(compass_components_["TableHeader"], {
|
|
83
|
+
key: 'name',
|
|
84
|
+
label: "Key"
|
|
85
|
+
}), /*#__PURE__*/external_react_default.a.createElement(compass_components_["TableHeader"], {
|
|
86
|
+
key: 'value',
|
|
87
|
+
label: "Value"
|
|
88
|
+
})]
|
|
89
|
+
}, ({
|
|
90
|
+
datum
|
|
91
|
+
}) => /*#__PURE__*/external_react_default.a.createElement(compass_components_["Row"], {
|
|
92
|
+
className: rowStyles,
|
|
93
|
+
key: datum.key
|
|
94
|
+
}, /*#__PURE__*/external_react_default.a.createElement(compass_components_["Cell"], null, /*#__PURE__*/external_react_default.a.createElement(compass_components_["Body"], {
|
|
95
|
+
weight: "medium"
|
|
96
|
+
}, datum.key)), /*#__PURE__*/external_react_default.a.createElement(compass_components_["Cell"], null, /*#__PURE__*/external_react_default.a.createElement(compass_components_["Description"], null, datum.description))));
|
|
2326
97
|
}
|
|
2327
98
|
|
|
2328
|
-
_defineProperty(info_modal_InfoModal, "propTypes", {
|
|
2329
|
-
hideInfoModal: external_prop_types_default.a.func.isRequired,
|
|
2330
|
-
show: external_prop_types_default.a.bool.isRequired
|
|
2331
|
-
});
|
|
2332
99
|
|
|
2333
|
-
|
|
2334
|
-
|
|
100
|
+
// EXTERNAL MODULE: ./package.json
|
|
101
|
+
var package_0 = __webpack_require__(58);
|
|
2335
102
|
|
|
2336
|
-
|
|
2337
|
-
// EXTERNAL MODULE: /Users/rhys/Documents/mongodb/compass/node_modules/css-loader/dist/cjs.js??ref--5-1!/Users/rhys/Documents/mongodb/compass/node_modules/postcss-loader/lib??ref--5-2!/Users/rhys/Documents/mongodb/compass/node_modules/less-loader/dist/cjs.js??ref--5-3!./src/components/shell-header/shell-header.module.less
|
|
2338
|
-
var shell_header_module = __webpack_require__(496);
|
|
103
|
+
// CONCATENATED MODULE: ./src/components/info-modal/info-modal.jsx
|
|
2339
104
|
|
|
2340
|
-
// CONCATENATED MODULE: ./src/components/shell-header/shell-header.module.less
|
|
2341
105
|
|
|
2342
|
-
|
|
2343
106
|
|
|
2344
|
-
var shell_header_module_options = {};
|
|
2345
107
|
|
|
2346
|
-
shell_header_module_options.insert = "head";
|
|
2347
|
-
shell_header_module_options.singleton = false;
|
|
2348
108
|
|
|
2349
|
-
|
|
109
|
+
const mongoshVersion = `v${package_0.dependencies['@mongosh/browser-repl'].replace('^', '')}`;
|
|
110
|
+
const modalContentWrapperStyles = Object(compass_components_["css"])({
|
|
111
|
+
padding: 'initial'
|
|
112
|
+
});
|
|
113
|
+
const bannerStyles = Object(compass_components_["css"])({
|
|
114
|
+
marginTop: compass_components_["spacing"][4]
|
|
115
|
+
});
|
|
116
|
+
const shortcutsTableContainerStyles = Object(compass_components_["css"])({
|
|
117
|
+
marginTop: compass_components_["spacing"][2],
|
|
118
|
+
maxHeight: '50vh',
|
|
119
|
+
overflow: 'auto'
|
|
120
|
+
});
|
|
121
|
+
const shortcutsTitleStyles = Object(compass_components_["css"])({
|
|
122
|
+
marginTop: compass_components_["spacing"][4]
|
|
123
|
+
});
|
|
124
|
+
const modalContentStyles = Object(compass_components_["css"])({
|
|
125
|
+
padding: compass_components_["spacing"][5]
|
|
126
|
+
});
|
|
127
|
+
/**
|
|
128
|
+
* Show information on how to use the shell in compass.
|
|
129
|
+
*/
|
|
2350
130
|
|
|
131
|
+
function InfoModal({
|
|
132
|
+
hideInfoModal,
|
|
133
|
+
show
|
|
134
|
+
}) {
|
|
135
|
+
const onSetOpen = Object(external_react_["useCallback"])(open => {
|
|
136
|
+
if (!open) {
|
|
137
|
+
hideInfoModal();
|
|
138
|
+
}
|
|
139
|
+
}, [hideInfoModal]);
|
|
140
|
+
return /*#__PURE__*/external_react_default.a.createElement(compass_components_["Modal"], {
|
|
141
|
+
open: show,
|
|
142
|
+
trackingId: "shell_info_modal",
|
|
143
|
+
setOpen: onSetOpen,
|
|
144
|
+
contentClassName: modalContentWrapperStyles
|
|
145
|
+
}, /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
146
|
+
className: modalContentStyles
|
|
147
|
+
}, /*#__PURE__*/external_react_default.a.createElement(compass_components_["H2"], null, "mongosh ", mongoshVersion), /*#__PURE__*/external_react_default.a.createElement(compass_components_["Banner"], {
|
|
148
|
+
className: bannerStyles
|
|
149
|
+
}, "For more information please visit the\xA0", /*#__PURE__*/external_react_default.a.createElement(compass_components_["Link"], {
|
|
150
|
+
id: "mongosh-info-link",
|
|
151
|
+
rel: "noreopener",
|
|
152
|
+
href: "https://docs.mongodb.com/compass/beta/embedded-shell/",
|
|
153
|
+
target: "_blank"
|
|
154
|
+
}, "MongoDB Shell Documentation"), "."), /*#__PURE__*/external_react_default.a.createElement(compass_components_["Subtitle"], {
|
|
155
|
+
className: shortcutsTitleStyles
|
|
156
|
+
}, "Keyboard Shortcuts"), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
157
|
+
className: shortcutsTableContainerStyles
|
|
158
|
+
}, /*#__PURE__*/external_react_default.a.createElement(KeyboardShortcutsTable, null))), /*#__PURE__*/external_react_default.a.createElement(compass_components_["Footer"], null, /*#__PURE__*/external_react_default.a.createElement(compass_components_["Button"], {
|
|
159
|
+
onClick: hideInfoModal
|
|
160
|
+
}, "Close")));
|
|
161
|
+
}
|
|
2351
162
|
|
|
163
|
+
InfoModal.propTypes = {
|
|
164
|
+
hideInfoModal: external_prop_types_default.a.func.isRequired,
|
|
165
|
+
show: external_prop_types_default.a.bool.isRequired
|
|
166
|
+
};
|
|
167
|
+
/* harmony default export */ var info_modal = (InfoModal);
|
|
168
|
+
// CONCATENATED MODULE: ./src/components/info-modal/index.js
|
|
2352
169
|
|
|
2353
|
-
/* harmony default export */ var
|
|
170
|
+
/* harmony default export */ var components_info_modal = (info_modal);
|
|
2354
171
|
// CONCATENATED MODULE: ./src/components/shell-header/shell-header.jsx
|
|
2355
|
-
function
|
|
2356
|
-
|
|
2357
|
-
|
|
172
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2358
173
|
|
|
2359
174
|
|
|
2360
175
|
|
|
2361
176
|
|
|
2362
177
|
|
|
178
|
+
const shellHeaderStyles = Object(compass_components_["css"])({
|
|
179
|
+
height: compass_components_["spacing"][5],
|
|
180
|
+
display: 'flex',
|
|
181
|
+
color: compass_components_["uiColors"].gray.light1
|
|
182
|
+
});
|
|
183
|
+
const shellHeaderLeftStyles = Object(compass_components_["css"])({
|
|
184
|
+
flexGrow: 1,
|
|
185
|
+
display: 'flex',
|
|
186
|
+
alignItems: 'center'
|
|
187
|
+
});
|
|
188
|
+
const shellHeaderToggleStyles = Object(compass_components_["css"])({
|
|
189
|
+
background: 'none',
|
|
190
|
+
border: 'none',
|
|
191
|
+
cursor: 'pointer',
|
|
192
|
+
color: compass_components_["uiColors"].gray.light1,
|
|
193
|
+
padding: `0px ${compass_components_["spacing"][2]}px`,
|
|
194
|
+
height: '100%',
|
|
195
|
+
display: 'flex',
|
|
196
|
+
verticalAlign: 'middle',
|
|
197
|
+
flexDirection: 'row',
|
|
198
|
+
alignItems: 'center',
|
|
199
|
+
margin: 'auto 0',
|
|
200
|
+
fontWeight: 'bold',
|
|
201
|
+
fontSize: compass_components_["spacing"][2] * 1.5,
|
|
202
|
+
lineHeight: `${compass_components_["spacing"][5]}px`,
|
|
203
|
+
transition: 'all 200ms',
|
|
204
|
+
userSelect: 'none',
|
|
205
|
+
textTransform: 'uppercase',
|
|
206
|
+
'&:hover': {
|
|
207
|
+
color: compass_components_["uiColors"].gray.light3
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
const shellHeaderRightStyles = Object(compass_components_["css"])({
|
|
211
|
+
display: 'flex',
|
|
212
|
+
paddingTop: compass_components_["spacing"][1] / 2,
|
|
213
|
+
paddingRight: compass_components_["spacing"][2]
|
|
214
|
+
});
|
|
215
|
+
const infoButtonStyles = Object(compass_components_["css"])({
|
|
216
|
+
marginRight: compass_components_["spacing"][2]
|
|
217
|
+
});
|
|
218
|
+
const operationInProgressStyles = Object(compass_components_["css"])({
|
|
219
|
+
color: compass_components_["uiColors"].green.light2,
|
|
220
|
+
marginLeft: compass_components_["spacing"][2]
|
|
221
|
+
});
|
|
2363
222
|
class shell_header_ShellHeader extends external_react_["Component"] {
|
|
2364
223
|
componentDidMount() {
|
|
2365
224
|
document.addEventListener('keydown', this.handleKeyboardToggle.bind(this));
|
|
@@ -2392,24 +251,23 @@ class shell_header_ShellHeader extends external_react_["Component"] {
|
|
|
2392
251
|
showInfoModal
|
|
2393
252
|
} = this.props;
|
|
2394
253
|
return /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
2395
|
-
className:
|
|
254
|
+
className: shellHeaderStyles
|
|
2396
255
|
}, /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
2397
|
-
className:
|
|
256
|
+
className: shellHeaderLeftStyles
|
|
2398
257
|
}, /*#__PURE__*/external_react_default.a.createElement("button", {
|
|
2399
258
|
"data-test-id": "shell-expand-button",
|
|
2400
|
-
className:
|
|
259
|
+
className: shellHeaderToggleStyles,
|
|
2401
260
|
"aria-label": isExpanded ? 'Close Shell' : 'Open Shell',
|
|
2402
261
|
onClick: onShellToggleClicked,
|
|
2403
262
|
"aria-pressed": isExpanded
|
|
2404
|
-
}, ">_MONGOSH", !isExpanded && isOperationInProgress && /*#__PURE__*/external_react_default.a.createElement(
|
|
2405
|
-
className:
|
|
263
|
+
}, ">_MONGOSH", !isExpanded && isOperationInProgress && /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
264
|
+
className: operationInProgressStyles
|
|
265
|
+
}, /*#__PURE__*/external_react_default.a.createElement(mongosh_browser_repl["ShellLoader"], {
|
|
2406
266
|
size: "12px"
|
|
2407
|
-
}), /*#__PURE__*/external_react_default.a.createElement("
|
|
2408
|
-
className:
|
|
2409
|
-
}, "Command in progress...")))), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
2410
|
-
className: shell_header_shell_header_module['compass-shell-header-right-actions']
|
|
267
|
+
}), "\xA0Command in progress\u2026"))), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
268
|
+
className: shellHeaderRightStyles
|
|
2411
269
|
}, isExpanded && /*#__PURE__*/external_react_default.a.createElement(compass_components_["IconButton"], {
|
|
2412
|
-
className:
|
|
270
|
+
className: infoButtonStyles,
|
|
2413
271
|
variant: "dark",
|
|
2414
272
|
"aria-label": "Shell Info",
|
|
2415
273
|
"aria-haspopup": "dialog",
|
|
@@ -2418,7 +276,6 @@ class shell_header_ShellHeader extends external_react_["Component"] {
|
|
|
2418
276
|
glyph: "InfoWithCircle",
|
|
2419
277
|
size: "small"
|
|
2420
278
|
})), /*#__PURE__*/external_react_default.a.createElement(compass_components_["IconButton"], {
|
|
2421
|
-
className: shell_header_shell_header_module['compass-shell-header-btn'],
|
|
2422
279
|
variant: "dark",
|
|
2423
280
|
"aria-label": isExpanded ? 'Close Shell' : 'Open Shell',
|
|
2424
281
|
onClick: onShellToggleClicked,
|
|
@@ -2431,7 +288,7 @@ class shell_header_ShellHeader extends external_react_["Component"] {
|
|
|
2431
288
|
|
|
2432
289
|
}
|
|
2433
290
|
|
|
2434
|
-
|
|
291
|
+
_defineProperty(shell_header_ShellHeader, "propTypes", {
|
|
2435
292
|
isExpanded: external_prop_types_default.a.bool.isRequired,
|
|
2436
293
|
isOperationInProgress: external_prop_types_default.a.bool.isRequired,
|
|
2437
294
|
onShellToggleClicked: external_prop_types_default.a.func.isRequired,
|
|
@@ -2453,8 +310,26 @@ function compass_shell_defineProperty(obj, key, value) { if (key in obj) { Objec
|
|
|
2453
310
|
|
|
2454
311
|
|
|
2455
312
|
|
|
2456
|
-
|
|
2457
|
-
|
|
313
|
+
const compassShellStyles = Object(compass_components_["css"])({
|
|
314
|
+
backgroundColor: compass_components_["uiColors"].gray.dark3,
|
|
315
|
+
display: 'flex',
|
|
316
|
+
flexBasis: 'auto',
|
|
317
|
+
position: 'relative',
|
|
318
|
+
flexDirection: 'column',
|
|
319
|
+
maxHeight: '95%'
|
|
320
|
+
});
|
|
321
|
+
const compassShellContainerStyles = Object(compass_components_["css"])({
|
|
322
|
+
flexGrow: 1,
|
|
323
|
+
display: 'none',
|
|
324
|
+
overflow: 'auto',
|
|
325
|
+
borderTop: `1px solid ${compass_components_["uiColors"].gray.dark2}`,
|
|
326
|
+
'*::-webkit-scrollbar-thumb': {
|
|
327
|
+
background: 'rgba(180, 180, 180, 0.5)'
|
|
328
|
+
}
|
|
329
|
+
});
|
|
330
|
+
const compassShellContainerVisibleStyles = Object(compass_components_["css"])({
|
|
331
|
+
display: 'flex'
|
|
332
|
+
});
|
|
2458
333
|
const defaultShellHeightOpened = 240;
|
|
2459
334
|
const shellHeightClosed = 32;
|
|
2460
335
|
const shellMinHeightOpened = 100;
|
|
@@ -2604,7 +479,7 @@ class compass_shell_CompassShell extends external_react_["Component"] {
|
|
|
2604
479
|
hideInfoModal: this.hideInfoModal.bind(this)
|
|
2605
480
|
}), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
2606
481
|
"data-test-id": "shell-section",
|
|
2607
|
-
className:
|
|
482
|
+
className: compassShellStyles,
|
|
2608
483
|
style: {
|
|
2609
484
|
height: renderedHeight
|
|
2610
485
|
},
|
|
@@ -2625,8 +500,8 @@ class compass_shell_CompassShell extends external_react_["Component"] {
|
|
|
2625
500
|
})
|
|
2626
501
|
}), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
2627
502
|
"data-test-id": "shell-content",
|
|
2628
|
-
className:
|
|
2629
|
-
[
|
|
503
|
+
className: Object(compass_components_["cx"])(compassShellContainerStyles, {
|
|
504
|
+
[compassShellContainerVisibleStyles]: isExpanded
|
|
2630
505
|
})
|
|
2631
506
|
}, /*#__PURE__*/external_react_default.a.createElement(mongosh_browser_repl["Shell"], {
|
|
2632
507
|
ref: this.shellRef,
|