mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
5525 lines
607 KiB
JavaScript
5525 lines
607 KiB
JavaScript
!function (t, e) { "object" == typeof exports && "object" == typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define([], e) : "object" == typeof exports ? exports.SwaggerUIStandalonePreset = e() : t.SwaggerUIStandalonePreset = e(); }(this, function () {
|
||
return function (t) { function e(r) { if (n[r])
|
||
return n[r].exports; var i = n[r] = { i: r, l: !1, exports: {} }; return t[r].call(i.exports, i, i.exports, e), i.l = !0, i.exports; } var n = {}; return e.m = t, e.c = n, e.i = function (t) { return t; }, e.d = function (t, n, r) { e.o(t, n) || Object.defineProperty(t, n, { configurable: !1, enumerable: !0, get: r }); }, e.n = function (t) { var n = t && t.__esModule ? function () { return t.default; } : function () { return t; }; return e.d(n, "a", n), n; }, e.o = function (t, e) { return Object.prototype.hasOwnProperty.call(t, e); }, e.p = "/dist", e(e.s = 539); }([function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { var e = {}; return null !== t && Object.keys(t).forEach(function (n) { t[n].forEach(function (t) { e[String(t)] = n; }); }), e; }
|
||
function i(t, e) { if (e = e || {}, Object.keys(e).forEach(function (e) { if (-1 === s.indexOf(e))
|
||
throw new o('Unknown option "' + e + '" is met in definition of "' + t + '" YAML type.'); }), this.tag = t, this.kind = e.kind || null, this.resolve = e.resolve || function () { return !0; }, this.construct = e.construct || function (t) { return t; }, this.instanceOf = e.instanceOf || null, this.predicate = e.predicate || null, this.represent = e.represent || null, this.defaultStyle = e.defaultStyle || null, this.styleAliases = r(e.styleAliases || null), -1 === a.indexOf(this.kind))
|
||
throw new o('Unknown kind "' + this.kind + '" is specified for "' + t + '" YAML type.'); }
|
||
var o = n(47), s = ["kind", "resolve", "construct", "instanceOf", "predicate", "represent", "defaultStyle", "styleAliases"], a = ["scalar", "sequence", "mapping"];
|
||
t.exports = i;
|
||
}, function (t, e, n) { var r = n(154)("wks"), i = n(108), o = n(5).Symbol, s = "function" == typeof o; (t.exports = function (t) { return r[t] || (r[t] = s && o[t] || (s ? o : i)("Symbol." + t)); }).store = r; }, function (t, e) { var n = t.exports = { version: "2.5.5" }; "number" == typeof __e && (__e = n); }, function (t, e, n) { var r = n(5), i = n(18), o = n(19), s = n(30), a = n(60), u = function (t, e, n) { var c, l, h, f, p = t & u.F, d = t & u.G, m = t & u.S, v = t & u.P, y = t & u.B, g = d ? r : m ? r[e] || (r[e] = {}) : (r[e] || {}).prototype, x = d ? i : i[e] || (i[e] = {}), b = x.prototype || (x.prototype = {}); d && (n = e); for (c in n)
|
||
l = !p && g && void 0 !== g[c], h = (l ? g : n)[c], f = y && l ? a(h, r) : v && "function" == typeof h ? a(Function.call, h) : h, g && s(g, c, h, t & u.U), x[c] != h && o(x, c, f), v && b[c] != h && (b[c] = h); }; r.core = i, u.F = 1, u.G = 2, u.S = 4, u.P = 8, u.B = 16, u.W = 32, u.U = 64, u.R = 128, t.exports = u; }, function (t, e, n) { var r = n(3), i = n(42), o = n(10), s = /"/g, a = function (t, e, n, r) { var i = String(o(t)), a = "<" + e; return "" !== n && (a += " " + n + '="' + String(r).replace(s, """) + '"'), a + ">" + i + "</" + e + ">"; }; t.exports = function (t, e) { var n = {}; n[t] = e(a), r(r.P + r.F * i(function () { var e = ""[t]('"'); return e !== e.toLowerCase() || e.split('"').length > 3; }), "String", n); }; }, function (t, e) { var n = t.exports = "undefined" != typeof window && window.Math == Math ? window : "undefined" != typeof self && self.Math == Math ? self : Function("return this")(); "number" == typeof __g && (__g = n); }, function (t, e, n) { var r = n(94)("wks"), i = n(58), o = n(9).Symbol, s = "function" == typeof o; (t.exports = function (t) { return r[t] || (r[t] = s && o[t] || (s ? o : i)("Symbol." + t)); }).store = r; }, function (t, e, n) { var r = n(178), i = "object" == typeof self && self && self.Object === Object && self, o = r || i || Function("return this")(); t.exports = o; }, function (t, e) { var n = Array.isArray; t.exports = n; }, function (t, e) { var n = t.exports = "undefined" != typeof window && window.Math == Math ? window : "undefined" != typeof self && self.Math == Math ? self : Function("return this")(); "number" == typeof __g && (__g = n); }, function (t, e) { t.exports = function (t) { if (void 0 == t)
|
||
throw TypeError("Can't call method on " + t); return t; }; }, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = function (t) { if ("function" != typeof t)
|
||
throw new TypeError(t + " is not a function"); return t; };
|
||
}, function (t, e) { var n; n = function () { return this; }(); try {
|
||
n = n || Function("return this")() || (0, eval)("this");
|
||
}
|
||
catch (t) {
|
||
"object" == typeof window && (n = window);
|
||
} t.exports = n; }, function (t, e, n) { t.exports = !n(25)(function () { return 7 != Object.defineProperty({}, "a", { get: function () { return 7; } }).a; }); }, function (t, e, n) { var r = n(9), i = n(2), o = n(134), s = n(26), a = n(15), u = function (t, e, n) { var c, l, h, f = t & u.F, p = t & u.G, d = t & u.S, m = t & u.P, v = t & u.B, y = t & u.W, g = p ? i : i[e] || (i[e] = {}), x = g.prototype, b = p ? r : d ? r[e] : (r[e] || {}).prototype; p && (n = e); for (c in n)
|
||
(l = !f && b && void 0 !== b[c]) && a(g, c) || (h = l ? b[c] : n[c], g[c] = p && "function" != typeof b[c] ? n[c] : v && l ? o(h, r) : y && b[c] == h ? function (t) { var e = function (e, n, r) { if (this instanceof t) {
|
||
switch (arguments.length) {
|
||
case 0: return new t;
|
||
case 1: return new t(e);
|
||
case 2: return new t(e, n);
|
||
}
|
||
return new t(e, n, r);
|
||
} return t.apply(this, arguments); }; return e.prototype = t.prototype, e; }(h) : m && "function" == typeof h ? o(Function.call, h) : h, m && ((g.virtual || (g.virtual = {}))[c] = h, t & u.R && x && !x[c] && s(x, c, h))); }; u.F = 1, u.G = 2, u.S = 4, u.P = 8, u.B = 16, u.W = 32, u.U = 64, u.R = 128, t.exports = u; }, function (t, e) { var n = {}.hasOwnProperty; t.exports = function (t, e) { return n.call(t, e); }; }, function (t, e, n) { var r = n(24), i = n(136), o = n(96), s = Object.defineProperty; e.f = n(13) ? Object.defineProperty : function (t, e, n) { if (r(t), e = o(e, !0), r(n), i)
|
||
try {
|
||
return s(t, e, n);
|
||
}
|
||
catch (t) { } if ("get" in n || "set" in n)
|
||
throw TypeError("Accessors not supported!"); return "value" in n && (t[e] = n.value), t; }; }, function (t, e, n) { var r = n(29); t.exports = function (t) { if (!r(t))
|
||
throw TypeError(t + " is not an object!"); return t; }; }, function (t, e) { var n = t.exports = { version: "2.5.5" }; "number" == typeof __e && (__e = n); }, function (t, e, n) { var r = n(63), i = n(153); t.exports = n(41) ? function (t, e, n) { return r.f(t, e, i(1, n)); } : function (t, e, n) { return t[e] = n, t; }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(339), i = Math.max;
|
||
t.exports = function (t) { return i(0, r(t)); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t, e, n, r, o, s, a, u) { if (i(e), !t) {
|
||
var c;
|
||
if (void 0 === e)
|
||
c = new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
|
||
else {
|
||
var l = [n, r, o, s, a, u], h = 0;
|
||
c = new Error(e.replace(/%s/g, function () { return l[h++]; })), c.name = "Invariant Violation";
|
||
}
|
||
throw c.framesToPop = 1, c;
|
||
} }
|
||
var i = function (t) { };
|
||
t.exports = r;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { if (!(this instanceof r))
|
||
return new r(t); c.call(this, t), l.call(this, t), t && !1 === t.readable && (this.readable = !1), t && !1 === t.writable && (this.writable = !1), this.allowHalfOpen = !0, t && !1 === t.allowHalfOpen && (this.allowHalfOpen = !1), this.once("end", i); }
|
||
function i() { this.allowHalfOpen || this._writableState.ended || s.nextTick(o, this); }
|
||
function o(t) { t.end(); }
|
||
var s = n(81), a = Object.keys || function (t) { var e = []; for (var n in t)
|
||
e.push(n); return e; };
|
||
t.exports = r;
|
||
var u = n(45);
|
||
u.inherits = n(32);
|
||
var c = n(198), l = n(120);
|
||
u.inherits(r, c);
|
||
for (var h = a(l.prototype), f = 0; f < h.length; f++) {
|
||
var p = h[f];
|
||
r.prototype[p] || (r.prototype[p] = l.prototype[p]);
|
||
}
|
||
Object.defineProperty(r.prototype, "writableHighWaterMark", { enumerable: !1, get: function () { return this._writableState.highWaterMark; } }), Object.defineProperty(r.prototype, "destroyed", { get: function () { return void 0 !== this._readableState && void 0 !== this._writableState && (this._readableState.destroyed && this._writableState.destroyed); }, set: function (t) { void 0 !== this._readableState && void 0 !== this._writableState && (this._readableState.destroyed = t, this._writableState.destroyed = t); } }), r.prototype._destroy = function (t, e) { this.push(null), this.end(), s.nextTick(e, t); };
|
||
}, function (t, e, n) { var r = n(27); t.exports = function (t) { if (!r(t))
|
||
throw TypeError(t + " is not an object!"); return t; }; }, function (t, e) { t.exports = function (t) { try {
|
||
return !!t();
|
||
}
|
||
catch (t) {
|
||
return !0;
|
||
} }; }, function (t, e, n) { var r = n(16), i = n(56); t.exports = n(13) ? function (t, e, n) { return r.f(t, e, i(1, n)); } : function (t, e, n) { return t[e] = n, t; }; }, function (t, e) { t.exports = function (t) { return "object" == typeof t ? null !== t : "function" == typeof t; }; }, function (t, e, n) { var r = n(137), i = n(87); t.exports = function (t) { return r(i(t)); }; }, function (t, e) { t.exports = function (t) { return "object" == typeof t ? null !== t : "function" == typeof t; }; }, function (t, e, n) { var r = n(5), i = n(19), o = n(62), s = n(108)("src"), a = Function.toString, u = ("" + a).split("toString"); n(18).inspectSource = function (t) { return a.call(t); }, (t.exports = function (t, e, n, a) { var c = "function" == typeof n; c && (o(n, "name") || i(n, "name", e)), t[e] !== n && (c && (o(n, s) || i(n, s, t[e] ? "" + t[e] : u.join(String(e)))), t === r ? t[e] = n : a ? t[e] ? t[e] = n : i(t, e, n) : (delete t[e], i(t, e, n))); })(Function.prototype, "toString", function () { return "function" == typeof this && this[s] || a.call(this); }); }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(161)();
|
||
t.exports = function (t) { return t !== r && null !== t; };
|
||
}, function (t, e) { "function" == typeof Object.create ? t.exports = function (t, e) { t.super_ = e, t.prototype = Object.create(e.prototype, { constructor: { value: t, enumerable: !1, writable: !0, configurable: !0 } }); } : t.exports = function (t, e) { t.super_ = e; var n = function () { }; n.prototype = e.prototype, t.prototype = new n, t.prototype.constructor = t; }; }, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return void 0 === t || null === t; }
|
||
function i(t) { return "object" == typeof t && null !== t; }
|
||
function o(t) { return Array.isArray(t) ? t : r(t) ? [] : [t]; }
|
||
function s(t, e) { var n, r, i, o; if (e)
|
||
for (o = Object.keys(e), n = 0, r = o.length; n < r; n += 1)
|
||
i = o[n], t[i] = e[i]; return t; }
|
||
function a(t, e) { var n, r = ""; for (n = 0; n < e; n += 1)
|
||
r += t; return r; }
|
||
function u(t) { return 0 === t && Number.NEGATIVE_INFINITY === 1 / t; }
|
||
t.exports.isNothing = r, t.exports.isObject = i, t.exports.toArray = o, t.exports.repeat = a, t.exports.isNegativeZero = u, t.exports.extend = s;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t, e, n) { var i = []; return t.include.forEach(function (t) { n = r(t, e, n); }), t[e].forEach(function (t) { n.forEach(function (e, n) { e.tag === t.tag && e.kind === t.kind && i.push(n); }), n.push(t); }), n.filter(function (t, e) { return -1 === i.indexOf(e); }); }
|
||
function i() { function t(t) { r[t.kind][t.tag] = r.fallback[t.tag] = t; } var e, n, r = { scalar: {}, sequence: {}, mapping: {}, fallback: {} }; for (e = 0, n = arguments.length; e < n; e += 1)
|
||
arguments[e].forEach(t); return r; }
|
||
function o(t) { this.include = t.include || [], this.implicit = t.implicit || [], this.explicit = t.explicit || [], this.implicit.forEach(function (t) { if (t.loadKind && "scalar" !== t.loadKind)
|
||
throw new a("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported."); }), this.compiledImplicit = r(this, "implicit", []), this.compiledExplicit = r(this, "explicit", []), this.compiledTypeMap = i(this.compiledImplicit, this.compiledExplicit); }
|
||
var s = n(33), a = n(47), u = n(0);
|
||
o.DEFAULT = null, o.create = function () { var t, e; switch (arguments.length) {
|
||
case 1:
|
||
t = o.DEFAULT, e = arguments[0];
|
||
break;
|
||
case 2:
|
||
t = arguments[0], e = arguments[1];
|
||
break;
|
||
default: throw new a("Wrong number of arguments for Schema.create function");
|
||
} if (t = s.toArray(t), e = s.toArray(e), !t.every(function (t) { return t instanceof o; }))
|
||
throw new a("Specified list of super schemas (or a single Schema object) contains a non-Schema object."); if (!e.every(function (t) { return t instanceof u; }))
|
||
throw new a("Specified list of YAML types (or a single Type object) contains a non-Type object."); return new o({ include: t, explicit: e }); }, t.exports = o;
|
||
}, function (t, e, n) { function r(t, e) { var n = o(t, e); return i(n) ? n : void 0; } var i = n(404), o = n(433); t.exports = r; }, function (t, e) { function n() { throw new Error("setTimeout has not been defined"); } function r() { throw new Error("clearTimeout has not been defined"); } function i(t) { if (l === setTimeout)
|
||
return setTimeout(t, 0); if ((l === n || !l) && setTimeout)
|
||
return l = setTimeout, setTimeout(t, 0); try {
|
||
return l(t, 0);
|
||
}
|
||
catch (e) {
|
||
try {
|
||
return l.call(null, t, 0);
|
||
}
|
||
catch (e) {
|
||
return l.call(this, t, 0);
|
||
}
|
||
} } function o(t) { if (h === clearTimeout)
|
||
return clearTimeout(t); if ((h === r || !h) && clearTimeout)
|
||
return h = clearTimeout, clearTimeout(t); try {
|
||
return h(t);
|
||
}
|
||
catch (e) {
|
||
try {
|
||
return h.call(null, t);
|
||
}
|
||
catch (e) {
|
||
return h.call(this, t);
|
||
}
|
||
} } function s() { m && p && (m = !1, p.length ? d = p.concat(d) : v = -1, d.length && a()); } function a() { if (!m) {
|
||
var t = i(s);
|
||
m = !0;
|
||
for (var e = d.length; e;) {
|
||
for (p = d, d = []; ++v < e;)
|
||
p && p[v].run();
|
||
v = -1, e = d.length;
|
||
}
|
||
p = null, m = !1, o(t);
|
||
} } function u(t, e) { this.fun = t, this.array = e; } function c() { } var l, h, f = t.exports = {}; !function () { try {
|
||
l = "function" == typeof setTimeout ? setTimeout : n;
|
||
}
|
||
catch (t) {
|
||
l = n;
|
||
} try {
|
||
h = "function" == typeof clearTimeout ? clearTimeout : r;
|
||
}
|
||
catch (t) {
|
||
h = r;
|
||
} }(); var p, d = [], m = !1, v = -1; f.nextTick = function (t) { var e = new Array(arguments.length - 1); if (arguments.length > 1)
|
||
for (var n = 1; n < arguments.length; n++)
|
||
e[n - 1] = arguments[n]; d.push(new u(t, e)), 1 !== d.length || m || i(a); }, u.prototype.run = function () { this.fun.apply(null, this.array); }, f.title = "browser", f.browser = !0, f.env = {}, f.argv = [], f.version = "", f.versions = {}, f.on = c, f.addListener = c, f.once = c, f.off = c, f.removeListener = c, f.removeAllListeners = c, f.emit = c, f.prependListener = c, f.prependOnceListener = c, f.listeners = function (t) { return []; }, f.binding = function (t) { throw new Error("process.binding is not supported"); }, f.cwd = function () { return "/"; }, f.chdir = function (t) { throw new Error("process.chdir is not supported"); }, f.umask = function () { return 0; }; }, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return void 0 !== t.ref; }
|
||
function i(t) { return void 0 !== t.key; }
|
||
var o = n(53), s = n(193), a = (n(69), n(196), Object.prototype.hasOwnProperty), u = n(194), c = { key: !0, ref: !0, __self: !0, __source: !0 }, l = function (t, e, n, r, i, o, s) { var a = { $$typeof: u, type: t, key: e, ref: n, props: s, _owner: o }; return a; };
|
||
l.createElement = function (t, e, n) { var o, u = {}, h = null, f = null; if (null != e) {
|
||
r(e) && (f = e.ref), i(e) && (h = "" + e.key), void 0 === e.__self ? null : e.__self, void 0 === e.__source ? null : e.__source;
|
||
for (o in e)
|
||
a.call(e, o) && !c.hasOwnProperty(o) && (u[o] = e[o]);
|
||
} var p = arguments.length - 2; if (1 === p)
|
||
u.children = n;
|
||
else if (p > 1) {
|
||
for (var d = Array(p), m = 0; m < p; m++)
|
||
d[m] = arguments[m + 2];
|
||
u.children = d;
|
||
} if (t && t.defaultProps) {
|
||
var v = t.defaultProps;
|
||
for (o in v)
|
||
void 0 === u[o] && (u[o] = v[o]);
|
||
} return l(t, h, f, 0, 0, s.current, u); }, l.createFactory = function (t) { var e = l.createElement.bind(null, t); return e.type = t, e; }, l.cloneAndReplaceKey = function (t, e) { return l(t.type, e, t.ref, t._self, t._source, t._owner, t.props); }, l.cloneElement = function (t, e, n) { var u, h = o({}, t.props), f = t.key, p = t.ref, d = (t._self, t._source, t._owner); if (null != e) {
|
||
r(e) && (p = e.ref, d = s.current), i(e) && (f = "" + e.key);
|
||
var m;
|
||
t.type && t.type.defaultProps && (m = t.type.defaultProps);
|
||
for (u in e)
|
||
a.call(e, u) && !c.hasOwnProperty(u) && (void 0 === e[u] && void 0 !== m ? h[u] = m[u] : h[u] = e[u]);
|
||
} var v = arguments.length - 2; if (1 === v)
|
||
h.children = n;
|
||
else if (v > 1) {
|
||
for (var y = Array(v), g = 0; g < v; g++)
|
||
y[g] = arguments[g + 2];
|
||
h.children = y;
|
||
} return l(t.type, f, p, 0, 0, d, h); }, l.isValidElement = function (t) { return "object" == typeof t && null !== t && t.$$typeof === u; }, t.exports = l;
|
||
}, function (t, e) { t.exports = {}; }, function (t, e, n) { var r = n(142), i = n(88); t.exports = Object.keys || function (t) { return r(t, i); }; }, function (t, e) { var n = {}.toString; t.exports = function (t) { return n.call(t).slice(8, -1); }; }, function (t, e, n) { t.exports = !n(42)(function () { return 7 != Object.defineProperty({}, "a", { get: function () { return 7; } }).a; }); }, function (t, e) { t.exports = function (t) { try {
|
||
return !!t();
|
||
}
|
||
catch (t) {
|
||
return !0;
|
||
} }; }, function (t, e) { t.exports = {}; }, function (t, e, n) { var r = n(64), i = Math.min; t.exports = function (t) { return t > 0 ? i(r(t), 9007199254740991) : 0; }; }, function (t, e, n) { (function (t) { function n(t) { return Array.isArray ? Array.isArray(t) : "[object Array]" === v(t); } function r(t) { return "boolean" == typeof t; } function i(t) { return null === t; } function o(t) { return null == t; } function s(t) { return "number" == typeof t; } function a(t) { return "string" == typeof t; } function u(t) { return "symbol" == typeof t; } function c(t) { return void 0 === t; } function l(t) { return "[object RegExp]" === v(t); } function h(t) { return "object" == typeof t && null !== t; } function f(t) { return "[object Date]" === v(t); } function p(t) { return "[object Error]" === v(t) || t instanceof Error; } function d(t) { return "function" == typeof t; } function m(t) { return null === t || "boolean" == typeof t || "number" == typeof t || "string" == typeof t || "symbol" == typeof t || void 0 === t; } function v(t) { return Object.prototype.toString.call(t); } e.isArray = n, e.isBoolean = r, e.isNull = i, e.isNullOrUndefined = o, e.isNumber = s, e.isString = a, e.isSymbol = u, e.isUndefined = c, e.isRegExp = l, e.isObject = h, e.isDate = f, e.isError = p, e.isFunction = d, e.isPrimitive = m, e.isBuffer = t.isBuffer; }).call(e, n(54).Buffer); }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(31);
|
||
t.exports = function (t) { if (!r(t))
|
||
throw new TypeError("Cannot use null or undefined"); return t; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t, e) { Error.call(this), this.name = "YAMLException", this.reason = t, this.mark = e, this.message = (this.reason || "(unknown reason)") + (this.mark ? " " + this.mark.toString() : ""), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (new Error).stack || ""; }
|
||
r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r.prototype.toString = function (t) { var e = this.name + ": "; return e += this.reason || "(unknown reason)", !t && this.mark && (e += " " + this.mark.toString()), e; }, t.exports = r;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(34);
|
||
t.exports = new r({ include: [n(170)], implicit: [n(380), n(373)], explicit: [n(365), n(375), n(376), n(378)] });
|
||
}, function (t, e, n) { function r(t) { return null == t ? void 0 === t ? u : a : c && c in Object(t) ? o(t) : s(t); } var i = n(72), o = n(430), s = n(459), a = "[object Null]", u = "[object Undefined]", c = i ? i.toStringTag : void 0; t.exports = r; }, function (t, e) { function n(t) { var e = typeof t; return null != t && ("object" == e || "function" == e); } t.exports = n; }, function (t, e) { function n(t) { return null != t && "object" == typeof t; } t.exports = n; }, function (t, e, n) { function r(t) { return null == t ? "" : i(t); } var i = n(415); t.exports = r; }, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { if (null === t || void 0 === t)
|
||
throw new TypeError("Object.assign cannot be called with null or undefined"); return Object(t); } /*
|
||
object-assign
|
||
(c) Sindre Sorhus
|
||
@license MIT
|
||
*/
|
||
var i = Object.getOwnPropertySymbols, o = Object.prototype.hasOwnProperty, s = Object.prototype.propertyIsEnumerable;
|
||
t.exports = function () { try {
|
||
if (!Object.assign)
|
||
return !1;
|
||
var t = new String("abc");
|
||
if (t[5] = "de", "5" === Object.getOwnPropertyNames(t)[0])
|
||
return !1;
|
||
for (var e = {}, n = 0; n < 10; n++)
|
||
e["_" + String.fromCharCode(n)] = n;
|
||
if ("0123456789" !== Object.getOwnPropertyNames(e).map(function (t) { return e[t]; }).join(""))
|
||
return !1;
|
||
var r = {};
|
||
return "abcdefghijklmnopqrst".split("").forEach(function (t) { r[t] = t; }), "abcdefghijklmnopqrst" === Object.keys(Object.assign({}, r)).join("");
|
||
}
|
||
catch (t) {
|
||
return !1;
|
||
} }() ? Object.assign : function (t, e) { for (var n, a, u = r(t), c = 1; c < arguments.length; c++) {
|
||
n = Object(arguments[c]);
|
||
for (var l in n)
|
||
o.call(n, l) && (u[l] = n[l]);
|
||
if (i) {
|
||
a = i(n);
|
||
for (var h = 0; h < a.length; h++)
|
||
s.call(n, a[h]) && (u[a[h]] = n[a[h]]);
|
||
}
|
||
} return u; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
(function (t) {
|
||
function r() { return o.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823; }
|
||
function i(t, e) { if (r() < e)
|
||
throw new RangeError("Invalid typed array length"); return o.TYPED_ARRAY_SUPPORT ? (t = new Uint8Array(e), t.__proto__ = o.prototype) : (null === t && (t = new o(e)), t.length = e), t; }
|
||
function o(t, e, n) { if (!(o.TYPED_ARRAY_SUPPORT || this instanceof o))
|
||
return new o(t, e, n); if ("number" == typeof t) {
|
||
if ("string" == typeof e)
|
||
throw new Error("If encoding is specified then the first argument must be a string");
|
||
return c(this, t);
|
||
} return s(this, t, e, n); }
|
||
function s(t, e, n, r) { if ("number" == typeof e)
|
||
throw new TypeError('"value" argument must not be a number'); return "undefined" != typeof ArrayBuffer && e instanceof ArrayBuffer ? f(t, e, n, r) : "string" == typeof e ? l(t, e, n) : p(t, e); }
|
||
function a(t) { if ("number" != typeof t)
|
||
throw new TypeError('"size" argument must be a number'); if (t < 0)
|
||
throw new RangeError('"size" argument must not be negative'); }
|
||
function u(t, e, n, r) { return a(e), e <= 0 ? i(t, e) : void 0 !== n ? "string" == typeof r ? i(t, e).fill(n, r) : i(t, e).fill(n) : i(t, e); }
|
||
function c(t, e) { if (a(e), t = i(t, e < 0 ? 0 : 0 | d(e)), !o.TYPED_ARRAY_SUPPORT)
|
||
for (var n = 0; n < e; ++n)
|
||
t[n] = 0; return t; }
|
||
function l(t, e, n) { if ("string" == typeof n && "" !== n || (n = "utf8"), !o.isEncoding(n))
|
||
throw new TypeError('"encoding" must be a valid string encoding'); var r = 0 | v(e, n); t = i(t, r); var s = t.write(e, n); return s !== r && (t = t.slice(0, s)), t; }
|
||
function h(t, e) { var n = e.length < 0 ? 0 : 0 | d(e.length); t = i(t, n); for (var r = 0; r < n; r += 1)
|
||
t[r] = 255 & e[r]; return t; }
|
||
function f(t, e, n, r) { if (e.byteLength, n < 0 || e.byteLength < n)
|
||
throw new RangeError("'offset' is out of bounds"); if (e.byteLength < n + (r || 0))
|
||
throw new RangeError("'length' is out of bounds"); return e = void 0 === n && void 0 === r ? new Uint8Array(e) : void 0 === r ? new Uint8Array(e, n) : new Uint8Array(e, n, r), o.TYPED_ARRAY_SUPPORT ? (t = e, t.__proto__ = o.prototype) : t = h(t, e), t; }
|
||
function p(t, e) { if (o.isBuffer(e)) {
|
||
var n = 0 | d(e.length);
|
||
return t = i(t, n), 0 === t.length ? t : (e.copy(t, 0, 0, n), t);
|
||
} if (e) {
|
||
if ("undefined" != typeof ArrayBuffer && e.buffer instanceof ArrayBuffer || "length" in e)
|
||
return "number" != typeof e.length || V(e.length) ? i(t, 0) : h(t, e);
|
||
if ("Buffer" === e.type && Z(e.data))
|
||
return h(t, e.data);
|
||
} throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object."); }
|
||
function d(t) { if (t >= r())
|
||
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + r().toString(16) + " bytes"); return 0 | t; }
|
||
function m(t) { return +t != t && (t = 0), o.alloc(+t); }
|
||
function v(t, e) { if (o.isBuffer(t))
|
||
return t.length; if ("undefined" != typeof ArrayBuffer && "function" == typeof ArrayBuffer.isView && (ArrayBuffer.isView(t) || t instanceof ArrayBuffer))
|
||
return t.byteLength; "string" != typeof t && (t = "" + t); var n = t.length; if (0 === n)
|
||
return 0; for (var r = !1;;)
|
||
switch (e) {
|
||
case "ascii":
|
||
case "latin1":
|
||
case "binary": return n;
|
||
case "utf8":
|
||
case "utf-8":
|
||
case void 0: return q(t).length;
|
||
case "ucs2":
|
||
case "ucs-2":
|
||
case "utf16le":
|
||
case "utf-16le": return 2 * n;
|
||
case "hex": return n >>> 1;
|
||
case "base64": return Y(t).length;
|
||
default:
|
||
if (r)
|
||
return q(t).length;
|
||
e = ("" + e).toLowerCase(), r = !0;
|
||
} }
|
||
function y(t, e, n) { var r = !1; if ((void 0 === e || e < 0) && (e = 0), e > this.length)
|
||
return ""; if ((void 0 === n || n > this.length) && (n = this.length), n <= 0)
|
||
return ""; if (n >>>= 0, e >>>= 0, n <= e)
|
||
return ""; for (t || (t = "utf8");;)
|
||
switch (t) {
|
||
case "hex": return O(this, e, n);
|
||
case "utf8":
|
||
case "utf-8": return k(this, e, n);
|
||
case "ascii": return T(this, e, n);
|
||
case "latin1":
|
||
case "binary": return I(this, e, n);
|
||
case "base64": return C(this, e, n);
|
||
case "ucs2":
|
||
case "ucs-2":
|
||
case "utf16le":
|
||
case "utf-16le": return M(this, e, n);
|
||
default:
|
||
if (r)
|
||
throw new TypeError("Unknown encoding: " + t);
|
||
t = (t + "").toLowerCase(), r = !0;
|
||
} }
|
||
function g(t, e, n) { var r = t[e]; t[e] = t[n], t[n] = r; }
|
||
function x(t, e, n, r, i) { if (0 === t.length)
|
||
return -1; if ("string" == typeof n ? (r = n, n = 0) : n > 2147483647 ? n = 2147483647 : n < -2147483648 && (n = -2147483648), n = +n, isNaN(n) && (n = i ? 0 : t.length - 1), n < 0 && (n = t.length + n), n >= t.length) {
|
||
if (i)
|
||
return -1;
|
||
n = t.length - 1;
|
||
}
|
||
else if (n < 0) {
|
||
if (!i)
|
||
return -1;
|
||
n = 0;
|
||
} if ("string" == typeof e && (e = o.from(e, r)), o.isBuffer(e))
|
||
return 0 === e.length ? -1 : b(t, e, n, r, i); if ("number" == typeof e)
|
||
return e &= 255, o.TYPED_ARRAY_SUPPORT && "function" == typeof Uint8Array.prototype.indexOf ? i ? Uint8Array.prototype.indexOf.call(t, e, n) : Uint8Array.prototype.lastIndexOf.call(t, e, n) : b(t, [e], n, r, i); throw new TypeError("val must be string, number or Buffer"); }
|
||
function b(t, e, n, r, i) { function o(t, e) { return 1 === s ? t[e] : t.readUInt16BE(e * s); } var s = 1, a = t.length, u = e.length; if (void 0 !== r && ("ucs2" === (r = String(r).toLowerCase()) || "ucs-2" === r || "utf16le" === r || "utf-16le" === r)) {
|
||
if (t.length < 2 || e.length < 2)
|
||
return -1;
|
||
s = 2, a /= 2, u /= 2, n /= 2;
|
||
} var c; if (i) {
|
||
var l = -1;
|
||
for (c = n; c < a; c++)
|
||
if (o(t, c) === o(e, -1 === l ? 0 : c - l)) {
|
||
if (-1 === l && (l = c), c - l + 1 === u)
|
||
return l * s;
|
||
}
|
||
else
|
||
-1 !== l && (c -= c - l), l = -1;
|
||
}
|
||
else
|
||
for (n + u > a && (n = a - u), c = n; c >= 0; c--) {
|
||
for (var h = !0, f = 0; f < u; f++)
|
||
if (o(t, c + f) !== o(e, f)) {
|
||
h = !1;
|
||
break;
|
||
}
|
||
if (h)
|
||
return c;
|
||
} return -1; }
|
||
function D(t, e, n, r) { n = Number(n) || 0; var i = t.length - n; r ? (r = Number(r)) > i && (r = i) : r = i; var o = e.length; if (o % 2 != 0)
|
||
throw new TypeError("Invalid hex string"); r > o / 2 && (r = o / 2); for (var s = 0; s < r; ++s) {
|
||
var a = parseInt(e.substr(2 * s, 2), 16);
|
||
if (isNaN(a))
|
||
return s;
|
||
t[n + s] = a;
|
||
} return s; }
|
||
function E(t, e, n, r) { return H(q(e, t.length - n), t, n, r); }
|
||
function w(t, e, n, r) { return H(K(e), t, n, r); }
|
||
function _(t, e, n, r) { return w(t, e, n, r); }
|
||
function S(t, e, n, r) { return H(Y(e), t, n, r); }
|
||
function A(t, e, n, r) { return H(W(e, t.length - n), t, n, r); }
|
||
function C(t, e, n) { return 0 === e && n === t.length ? G.fromByteArray(t) : G.fromByteArray(t.slice(e, n)); }
|
||
function k(t, e, n) { n = Math.min(t.length, n); for (var r = [], i = e; i < n;) {
|
||
var o = t[i], s = null, a = o > 239 ? 4 : o > 223 ? 3 : o > 191 ? 2 : 1;
|
||
if (i + a <= n) {
|
||
var u, c, l, h;
|
||
switch (a) {
|
||
case 1:
|
||
o < 128 && (s = o);
|
||
break;
|
||
case 2:
|
||
u = t[i + 1], 128 == (192 & u) && (h = (31 & o) << 6 | 63 & u) > 127 && (s = h);
|
||
break;
|
||
case 3:
|
||
u = t[i + 1], c = t[i + 2], 128 == (192 & u) && 128 == (192 & c) && (h = (15 & o) << 12 | (63 & u) << 6 | 63 & c) > 2047 && (h < 55296 || h > 57343) && (s = h);
|
||
break;
|
||
case 4: u = t[i + 1], c = t[i + 2], l = t[i + 3], 128 == (192 & u) && 128 == (192 & c) && 128 == (192 & l) && (h = (15 & o) << 18 | (63 & u) << 12 | (63 & c) << 6 | 63 & l) > 65535 && h < 1114112 && (s = h);
|
||
}
|
||
}
|
||
null === s ? (s = 65533, a = 1) : s > 65535 && (s -= 65536, r.push(s >>> 10 & 1023 | 55296), s = 56320 | 1023 & s), r.push(s), i += a;
|
||
} return F(r); }
|
||
function F(t) { var e = t.length; if (e <= Q)
|
||
return String.fromCharCode.apply(String, t); for (var n = "", r = 0; r < e;)
|
||
n += String.fromCharCode.apply(String, t.slice(r, r += Q)); return n; }
|
||
function T(t, e, n) { var r = ""; n = Math.min(t.length, n); for (var i = e; i < n; ++i)
|
||
r += String.fromCharCode(127 & t[i]); return r; }
|
||
function I(t, e, n) { var r = ""; n = Math.min(t.length, n); for (var i = e; i < n; ++i)
|
||
r += String.fromCharCode(t[i]); return r; }
|
||
function O(t, e, n) { var r = t.length; (!e || e < 0) && (e = 0), (!n || n < 0 || n > r) && (n = r); for (var i = "", o = e; o < n; ++o)
|
||
i += X(t[o]); return i; }
|
||
function M(t, e, n) { for (var r = t.slice(e, n), i = "", o = 0; o < r.length; o += 2)
|
||
i += String.fromCharCode(r[o] + 256 * r[o + 1]); return i; }
|
||
function B(t, e, n) { if (t % 1 != 0 || t < 0)
|
||
throw new RangeError("offset is not uint"); if (t + e > n)
|
||
throw new RangeError("Trying to access beyond buffer length"); }
|
||
function P(t, e, n, r, i, s) { if (!o.isBuffer(t))
|
||
throw new TypeError('"buffer" argument must be a Buffer instance'); if (e > i || e < s)
|
||
throw new RangeError('"value" argument is out of bounds'); if (n + r > t.length)
|
||
throw new RangeError("Index out of range"); }
|
||
function j(t, e, n, r) { e < 0 && (e = 65535 + e + 1); for (var i = 0, o = Math.min(t.length - n, 2); i < o; ++i)
|
||
t[n + i] = (e & 255 << 8 * (r ? i : 1 - i)) >>> 8 * (r ? i : 1 - i); }
|
||
function N(t, e, n, r) { e < 0 && (e = 4294967295 + e + 1); for (var i = 0, o = Math.min(t.length - n, 4); i < o; ++i)
|
||
t[n + i] = e >>> 8 * (r ? i : 3 - i) & 255; }
|
||
function L(t, e, n, r, i, o) { if (n + r > t.length)
|
||
throw new RangeError("Index out of range"); if (n < 0)
|
||
throw new RangeError("Index out of range"); }
|
||
function R(t, e, n, r, i) { return i || L(t, e, n, 4, 3.4028234663852886e38, -3.4028234663852886e38), $.write(t, e, n, r, 23, 4), n + 4; }
|
||
function z(t, e, n, r, i) { return i || L(t, e, n, 8, 1.7976931348623157e308, -1.7976931348623157e308), $.write(t, e, n, r, 52, 8), n + 8; }
|
||
function U(t) { if (t = J(t).replace(tt, ""), t.length < 2)
|
||
return ""; for (; t.length % 4 != 0;)
|
||
t += "="; return t; }
|
||
function J(t) { return t.trim ? t.trim() : t.replace(/^\s+|\s+$/g, ""); }
|
||
function X(t) { return t < 16 ? "0" + t.toString(16) : t.toString(16); }
|
||
function q(t, e) { e = e || 1 / 0; for (var n, r = t.length, i = null, o = [], s = 0; s < r; ++s) {
|
||
if ((n = t.charCodeAt(s)) > 55295 && n < 57344) {
|
||
if (!i) {
|
||
if (n > 56319) {
|
||
(e -= 3) > -1 && o.push(239, 191, 189);
|
||
continue;
|
||
}
|
||
if (s + 1 === r) {
|
||
(e -= 3) > -1 && o.push(239, 191, 189);
|
||
continue;
|
||
}
|
||
i = n;
|
||
continue;
|
||
}
|
||
if (n < 56320) {
|
||
(e -= 3) > -1 && o.push(239, 191, 189), i = n;
|
||
continue;
|
||
}
|
||
n = 65536 + (i - 55296 << 10 | n - 56320);
|
||
}
|
||
else
|
||
i && (e -= 3) > -1 && o.push(239, 191, 189);
|
||
if (i = null, n < 128) {
|
||
if ((e -= 1) < 0)
|
||
break;
|
||
o.push(n);
|
||
}
|
||
else if (n < 2048) {
|
||
if ((e -= 2) < 0)
|
||
break;
|
||
o.push(n >> 6 | 192, 63 & n | 128);
|
||
}
|
||
else if (n < 65536) {
|
||
if ((e -= 3) < 0)
|
||
break;
|
||
o.push(n >> 12 | 224, n >> 6 & 63 | 128, 63 & n | 128);
|
||
}
|
||
else {
|
||
if (!(n < 1114112))
|
||
throw new Error("Invalid code point");
|
||
if ((e -= 4) < 0)
|
||
break;
|
||
o.push(n >> 18 | 240, n >> 12 & 63 | 128, n >> 6 & 63 | 128, 63 & n | 128);
|
||
}
|
||
} return o; }
|
||
function K(t) { for (var e = [], n = 0; n < t.length; ++n)
|
||
e.push(255 & t.charCodeAt(n)); return e; }
|
||
function W(t, e) { for (var n, r, i, o = [], s = 0; s < t.length && !((e -= 2) < 0); ++s)
|
||
n = t.charCodeAt(s), r = n >> 8, i = n % 256, o.push(i), o.push(r); return o; }
|
||
function Y(t) { return G.toByteArray(U(t)); }
|
||
function H(t, e, n, r) { for (var i = 0; i < r && !(i + n >= e.length || i >= t.length); ++i)
|
||
e[i + n] = t[i]; return i; }
|
||
function V(t) { return t !== t; } /*!
|
||
* The buffer module from node.js, for the browser.
|
||
*
|
||
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
||
* @license MIT
|
||
*/
|
||
var G = n(225), $ = n(359), Z = n(169);
|
||
e.Buffer = o, e.SlowBuffer = m, e.INSPECT_MAX_BYTES = 50, o.TYPED_ARRAY_SUPPORT = void 0 !== t.TYPED_ARRAY_SUPPORT ? t.TYPED_ARRAY_SUPPORT : function () { try {
|
||
var t = new Uint8Array(1);
|
||
return t.__proto__ = { __proto__: Uint8Array.prototype, foo: function () { return 42; } }, 42 === t.foo() && "function" == typeof t.subarray && 0 === t.subarray(1, 1).byteLength;
|
||
}
|
||
catch (t) {
|
||
return !1;
|
||
} }(), e.kMaxLength = r(), o.poolSize = 8192, o._augment = function (t) { return t.__proto__ = o.prototype, t; }, o.from = function (t, e, n) { return s(null, t, e, n); }, o.TYPED_ARRAY_SUPPORT && (o.prototype.__proto__ = Uint8Array.prototype, o.__proto__ = Uint8Array, "undefined" != typeof Symbol && Symbol.species && o[Symbol.species] === o && Object.defineProperty(o, Symbol.species, { value: null, configurable: !0 })), o.alloc = function (t, e, n) { return u(null, t, e, n); }, o.allocUnsafe = function (t) { return c(null, t); }, o.allocUnsafeSlow = function (t) { return c(null, t); }, o.isBuffer = function (t) { return !(null == t || !t._isBuffer); }, o.compare = function (t, e) { if (!o.isBuffer(t) || !o.isBuffer(e))
|
||
throw new TypeError("Arguments must be Buffers"); if (t === e)
|
||
return 0; for (var n = t.length, r = e.length, i = 0, s = Math.min(n, r); i < s; ++i)
|
||
if (t[i] !== e[i]) {
|
||
n = t[i], r = e[i];
|
||
break;
|
||
} return n < r ? -1 : r < n ? 1 : 0; }, o.isEncoding = function (t) { switch (String(t).toLowerCase()) {
|
||
case "hex":
|
||
case "utf8":
|
||
case "utf-8":
|
||
case "ascii":
|
||
case "latin1":
|
||
case "binary":
|
||
case "base64":
|
||
case "ucs2":
|
||
case "ucs-2":
|
||
case "utf16le":
|
||
case "utf-16le": return !0;
|
||
default: return !1;
|
||
} }, o.concat = function (t, e) { if (!Z(t))
|
||
throw new TypeError('"list" argument must be an Array of Buffers'); if (0 === t.length)
|
||
return o.alloc(0); var n; if (void 0 === e)
|
||
for (e = 0, n = 0; n < t.length; ++n)
|
||
e += t[n].length; var r = o.allocUnsafe(e), i = 0; for (n = 0; n < t.length; ++n) {
|
||
var s = t[n];
|
||
if (!o.isBuffer(s))
|
||
throw new TypeError('"list" argument must be an Array of Buffers');
|
||
s.copy(r, i), i += s.length;
|
||
} return r; }, o.byteLength = v, o.prototype._isBuffer = !0, o.prototype.swap16 = function () { var t = this.length; if (t % 2 != 0)
|
||
throw new RangeError("Buffer size must be a multiple of 16-bits"); for (var e = 0; e < t; e += 2)
|
||
g(this, e, e + 1); return this; }, o.prototype.swap32 = function () { var t = this.length; if (t % 4 != 0)
|
||
throw new RangeError("Buffer size must be a multiple of 32-bits"); for (var e = 0; e < t; e += 4)
|
||
g(this, e, e + 3), g(this, e + 1, e + 2); return this; }, o.prototype.swap64 = function () { var t = this.length; if (t % 8 != 0)
|
||
throw new RangeError("Buffer size must be a multiple of 64-bits"); for (var e = 0; e < t; e += 8)
|
||
g(this, e, e + 7), g(this, e + 1, e + 6), g(this, e + 2, e + 5), g(this, e + 3, e + 4); return this; }, o.prototype.toString = function () { var t = 0 | this.length; return 0 === t ? "" : 0 === arguments.length ? k(this, 0, t) : y.apply(this, arguments); }, o.prototype.equals = function (t) { if (!o.isBuffer(t))
|
||
throw new TypeError("Argument must be a Buffer"); return this === t || 0 === o.compare(this, t); }, o.prototype.inspect = function () { var t = "", n = e.INSPECT_MAX_BYTES; return this.length > 0 && (t = this.toString("hex", 0, n).match(/.{2}/g).join(" "), this.length > n && (t += " ... ")), "<Buffer " + t + ">"; }, o.prototype.compare = function (t, e, n, r, i) { if (!o.isBuffer(t))
|
||
throw new TypeError("Argument must be a Buffer"); if (void 0 === e && (e = 0), void 0 === n && (n = t ? t.length : 0), void 0 === r && (r = 0), void 0 === i && (i = this.length), e < 0 || n > t.length || r < 0 || i > this.length)
|
||
throw new RangeError("out of range index"); if (r >= i && e >= n)
|
||
return 0; if (r >= i)
|
||
return -1; if (e >= n)
|
||
return 1; if (e >>>= 0, n >>>= 0, r >>>= 0, i >>>= 0, this === t)
|
||
return 0; for (var s = i - r, a = n - e, u = Math.min(s, a), c = this.slice(r, i), l = t.slice(e, n), h = 0; h < u; ++h)
|
||
if (c[h] !== l[h]) {
|
||
s = c[h], a = l[h];
|
||
break;
|
||
} return s < a ? -1 : a < s ? 1 : 0; }, o.prototype.includes = function (t, e, n) { return -1 !== this.indexOf(t, e, n); }, o.prototype.indexOf = function (t, e, n) { return x(this, t, e, n, !0); }, o.prototype.lastIndexOf = function (t, e, n) { return x(this, t, e, n, !1); }, o.prototype.write = function (t, e, n, r) { if (void 0 === e)
|
||
r = "utf8", n = this.length, e = 0;
|
||
else if (void 0 === n && "string" == typeof e)
|
||
r = e, n = this.length, e = 0;
|
||
else {
|
||
if (!isFinite(e))
|
||
throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");
|
||
e |= 0, isFinite(n) ? (n |= 0, void 0 === r && (r = "utf8")) : (r = n, n = void 0);
|
||
} var i = this.length - e; if ((void 0 === n || n > i) && (n = i), t.length > 0 && (n < 0 || e < 0) || e > this.length)
|
||
throw new RangeError("Attempt to write outside buffer bounds"); r || (r = "utf8"); for (var o = !1;;)
|
||
switch (r) {
|
||
case "hex": return D(this, t, e, n);
|
||
case "utf8":
|
||
case "utf-8": return E(this, t, e, n);
|
||
case "ascii": return w(this, t, e, n);
|
||
case "latin1":
|
||
case "binary": return _(this, t, e, n);
|
||
case "base64": return S(this, t, e, n);
|
||
case "ucs2":
|
||
case "ucs-2":
|
||
case "utf16le":
|
||
case "utf-16le": return A(this, t, e, n);
|
||
default:
|
||
if (o)
|
||
throw new TypeError("Unknown encoding: " + r);
|
||
r = ("" + r).toLowerCase(), o = !0;
|
||
} }, o.prototype.toJSON = function () { return { type: "Buffer", data: Array.prototype.slice.call(this._arr || this, 0) }; };
|
||
var Q = 4096;
|
||
o.prototype.slice = function (t, e) { var n = this.length; t = ~~t, e = void 0 === e ? n : ~~e, t < 0 ? (t += n) < 0 && (t = 0) : t > n && (t = n), e < 0 ? (e += n) < 0 && (e = 0) : e > n && (e = n), e < t && (e = t); var r; if (o.TYPED_ARRAY_SUPPORT)
|
||
r = this.subarray(t, e), r.__proto__ = o.prototype;
|
||
else {
|
||
var i = e - t;
|
||
r = new o(i, void 0);
|
||
for (var s = 0; s < i; ++s)
|
||
r[s] = this[s + t];
|
||
} return r; }, o.prototype.readUIntLE = function (t, e, n) { t |= 0, e |= 0, n || B(t, e, this.length); for (var r = this[t], i = 1, o = 0; ++o < e && (i *= 256);)
|
||
r += this[t + o] * i; return r; }, o.prototype.readUIntBE = function (t, e, n) { t |= 0, e |= 0, n || B(t, e, this.length); for (var r = this[t + --e], i = 1; e > 0 && (i *= 256);)
|
||
r += this[t + --e] * i; return r; }, o.prototype.readUInt8 = function (t, e) { return e || B(t, 1, this.length), this[t]; }, o.prototype.readUInt16LE = function (t, e) { return e || B(t, 2, this.length), this[t] | this[t + 1] << 8; }, o.prototype.readUInt16BE = function (t, e) { return e || B(t, 2, this.length), this[t] << 8 | this[t + 1]; }, o.prototype.readUInt32LE = function (t, e) { return e || B(t, 4, this.length), (this[t] | this[t + 1] << 8 | this[t + 2] << 16) + 16777216 * this[t + 3]; }, o.prototype.readUInt32BE = function (t, e) { return e || B(t, 4, this.length), 16777216 * this[t] + (this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3]); }, o.prototype.readIntLE = function (t, e, n) { t |= 0, e |= 0, n || B(t, e, this.length); for (var r = this[t], i = 1, o = 0; ++o < e && (i *= 256);)
|
||
r += this[t + o] * i; return i *= 128, r >= i && (r -= Math.pow(2, 8 * e)), r; }, o.prototype.readIntBE = function (t, e, n) { t |= 0, e |= 0, n || B(t, e, this.length); for (var r = e, i = 1, o = this[t + --r]; r > 0 && (i *= 256);)
|
||
o += this[t + --r] * i; return i *= 128, o >= i && (o -= Math.pow(2, 8 * e)), o; }, o.prototype.readInt8 = function (t, e) { return e || B(t, 1, this.length), 128 & this[t] ? -1 * (255 - this[t] + 1) : this[t]; }, o.prototype.readInt16LE = function (t, e) { e || B(t, 2, this.length); var n = this[t] | this[t + 1] << 8; return 32768 & n ? 4294901760 | n : n; }, o.prototype.readInt16BE = function (t, e) { e || B(t, 2, this.length); var n = this[t + 1] | this[t] << 8; return 32768 & n ? 4294901760 | n : n; }, o.prototype.readInt32LE = function (t, e) { return e || B(t, 4, this.length), this[t] | this[t + 1] << 8 | this[t + 2] << 16 | this[t + 3] << 24; }, o.prototype.readInt32BE = function (t, e) { return e || B(t, 4, this.length), this[t] << 24 | this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3]; }, o.prototype.readFloatLE = function (t, e) { return e || B(t, 4, this.length), $.read(this, t, !0, 23, 4); }, o.prototype.readFloatBE = function (t, e) { return e || B(t, 4, this.length), $.read(this, t, !1, 23, 4); }, o.prototype.readDoubleLE = function (t, e) { return e || B(t, 8, this.length), $.read(this, t, !0, 52, 8); }, o.prototype.readDoubleBE = function (t, e) { return e || B(t, 8, this.length), $.read(this, t, !1, 52, 8); }, o.prototype.writeUIntLE = function (t, e, n, r) { if (t = +t, e |= 0, n |= 0, !r) {
|
||
P(this, t, e, n, Math.pow(2, 8 * n) - 1, 0);
|
||
} var i = 1, o = 0; for (this[e] = 255 & t; ++o < n && (i *= 256);)
|
||
this[e + o] = t / i & 255; return e + n; }, o.prototype.writeUIntBE = function (t, e, n, r) { if (t = +t, e |= 0, n |= 0, !r) {
|
||
P(this, t, e, n, Math.pow(2, 8 * n) - 1, 0);
|
||
} var i = n - 1, o = 1; for (this[e + i] = 255 & t; --i >= 0 && (o *= 256);)
|
||
this[e + i] = t / o & 255; return e + n; }, o.prototype.writeUInt8 = function (t, e, n) { return t = +t, e |= 0, n || P(this, t, e, 1, 255, 0), o.TYPED_ARRAY_SUPPORT || (t = Math.floor(t)), this[e] = 255 & t, e + 1; }, o.prototype.writeUInt16LE = function (t, e, n) { return t = +t, e |= 0, n || P(this, t, e, 2, 65535, 0), o.TYPED_ARRAY_SUPPORT ? (this[e] = 255 & t, this[e + 1] = t >>> 8) : j(this, t, e, !0), e + 2; }, o.prototype.writeUInt16BE = function (t, e, n) { return t = +t, e |= 0, n || P(this, t, e, 2, 65535, 0), o.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 8, this[e + 1] = 255 & t) : j(this, t, e, !1), e + 2; }, o.prototype.writeUInt32LE = function (t, e, n) { return t = +t, e |= 0, n || P(this, t, e, 4, 4294967295, 0), o.TYPED_ARRAY_SUPPORT ? (this[e + 3] = t >>> 24, this[e + 2] = t >>> 16, this[e + 1] = t >>> 8, this[e] = 255 & t) : N(this, t, e, !0), e + 4; }, o.prototype.writeUInt32BE = function (t, e, n) { return t = +t, e |= 0, n || P(this, t, e, 4, 4294967295, 0), o.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 24, this[e + 1] = t >>> 16, this[e + 2] = t >>> 8, this[e + 3] = 255 & t) : N(this, t, e, !1), e + 4; }, o.prototype.writeIntLE = function (t, e, n, r) { if (t = +t, e |= 0, !r) {
|
||
var i = Math.pow(2, 8 * n - 1);
|
||
P(this, t, e, n, i - 1, -i);
|
||
} var o = 0, s = 1, a = 0; for (this[e] = 255 & t; ++o < n && (s *= 256);)
|
||
t < 0 && 0 === a && 0 !== this[e + o - 1] && (a = 1), this[e + o] = (t / s >> 0) - a & 255; return e + n; }, o.prototype.writeIntBE = function (t, e, n, r) { if (t = +t, e |= 0, !r) {
|
||
var i = Math.pow(2, 8 * n - 1);
|
||
P(this, t, e, n, i - 1, -i);
|
||
} var o = n - 1, s = 1, a = 0; for (this[e + o] = 255 & t; --o >= 0 && (s *= 256);)
|
||
t < 0 && 0 === a && 0 !== this[e + o + 1] && (a = 1), this[e + o] = (t / s >> 0) - a & 255; return e + n; }, o.prototype.writeInt8 = function (t, e, n) { return t = +t, e |= 0, n || P(this, t, e, 1, 127, -128), o.TYPED_ARRAY_SUPPORT || (t = Math.floor(t)), t < 0 && (t = 255 + t + 1), this[e] = 255 & t, e + 1; }, o.prototype.writeInt16LE = function (t, e, n) { return t = +t, e |= 0, n || P(this, t, e, 2, 32767, -32768), o.TYPED_ARRAY_SUPPORT ? (this[e] = 255 & t, this[e + 1] = t >>> 8) : j(this, t, e, !0), e + 2; }, o.prototype.writeInt16BE = function (t, e, n) { return t = +t, e |= 0, n || P(this, t, e, 2, 32767, -32768), o.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 8, this[e + 1] = 255 & t) : j(this, t, e, !1), e + 2; }, o.prototype.writeInt32LE = function (t, e, n) { return t = +t, e |= 0, n || P(this, t, e, 4, 2147483647, -2147483648), o.TYPED_ARRAY_SUPPORT ? (this[e] = 255 & t, this[e + 1] = t >>> 8, this[e + 2] = t >>> 16, this[e + 3] = t >>> 24) : N(this, t, e, !0), e + 4; }, o.prototype.writeInt32BE = function (t, e, n) { return t = +t, e |= 0, n || P(this, t, e, 4, 2147483647, -2147483648), t < 0 && (t = 4294967295 + t + 1), o.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 24, this[e + 1] = t >>> 16, this[e + 2] = t >>> 8, this[e + 3] = 255 & t) : N(this, t, e, !1), e + 4; }, o.prototype.writeFloatLE = function (t, e, n) { return R(this, t, e, !0, n); }, o.prototype.writeFloatBE = function (t, e, n) { return R(this, t, e, !1, n); }, o.prototype.writeDoubleLE = function (t, e, n) { return z(this, t, e, !0, n); }, o.prototype.writeDoubleBE = function (t, e, n) { return z(this, t, e, !1, n); }, o.prototype.copy = function (t, e, n, r) { if (n || (n = 0), r || 0 === r || (r = this.length), e >= t.length && (e = t.length), e || (e = 0), r > 0 && r < n && (r = n), r === n)
|
||
return 0; if (0 === t.length || 0 === this.length)
|
||
return 0; if (e < 0)
|
||
throw new RangeError("targetStart out of bounds"); if (n < 0 || n >= this.length)
|
||
throw new RangeError("sourceStart out of bounds"); if (r < 0)
|
||
throw new RangeError("sourceEnd out of bounds"); r > this.length && (r = this.length), t.length - e < r - n && (r = t.length - e + n); var i, s = r - n; if (this === t && n < e && e < r)
|
||
for (i = s - 1; i >= 0; --i)
|
||
t[i + e] = this[i + n];
|
||
else if (s < 1e3 || !o.TYPED_ARRAY_SUPPORT)
|
||
for (i = 0; i < s; ++i)
|
||
t[i + e] = this[i + n];
|
||
else
|
||
Uint8Array.prototype.set.call(t, this.subarray(n, n + s), e); return s; }, o.prototype.fill = function (t, e, n, r) { if ("string" == typeof t) {
|
||
if ("string" == typeof e ? (r = e, e = 0, n = this.length) : "string" == typeof n && (r = n, n = this.length), 1 === t.length) {
|
||
var i = t.charCodeAt(0);
|
||
i < 256 && (t = i);
|
||
}
|
||
if (void 0 !== r && "string" != typeof r)
|
||
throw new TypeError("encoding must be a string");
|
||
if ("string" == typeof r && !o.isEncoding(r))
|
||
throw new TypeError("Unknown encoding: " + r);
|
||
}
|
||
else
|
||
"number" == typeof t && (t &= 255); if (e < 0 || this.length < e || this.length < n)
|
||
throw new RangeError("Out of range index"); if (n <= e)
|
||
return this; e >>>= 0, n = void 0 === n ? this.length : n >>> 0, t || (t = 0); var s; if ("number" == typeof t)
|
||
for (s = e; s < n; ++s)
|
||
this[s] = t;
|
||
else {
|
||
var a = o.isBuffer(t) ? t : q(new o(t, r).toString()), u = a.length;
|
||
for (s = 0; s < n - e; ++s)
|
||
this[s + e] = a[s % u];
|
||
} return this; };
|
||
var tt = /[^+\/0-9A-Za-z-_]/g;
|
||
}).call(e, n(12));
|
||
}, function (t, e) { e.f = {}.propertyIsEnumerable; }, function (t, e) { t.exports = function (t, e) { return { enumerable: !(1 & t), configurable: !(2 & t), writable: !(4 & t), value: e }; }; }, function (t, e, n) { var r = n(87); t.exports = function (t) { return Object(r(t)); }; }, function (t, e) { var n = 0, r = Math.random(); t.exports = function (t) { return "Symbol(".concat(void 0 === t ? "" : t, ")_", (++n + r).toString(36)); }; }, function (t, e) { t.exports = function (t) { if ("function" != typeof t)
|
||
throw TypeError(t + " is not a function!"); return t; }; }, function (t, e, n) { var r = n(59); t.exports = function (t, e, n) { if (r(t), void 0 === e)
|
||
return t; switch (n) {
|
||
case 1: return function (n) { return t.call(e, n); };
|
||
case 2: return function (n, r) { return t.call(e, n, r); };
|
||
case 3: return function (n, r, i) { return t.call(e, n, r, i); };
|
||
} return function () { return t.apply(e, arguments); }; }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(19), i = n(30), o = n(42), s = n(10), a = n(1);
|
||
t.exports = function (t, e, n) { var u = a(t), c = n(s, u, ""[t]), l = c[0], h = c[1]; o(function () { var e = {}; return e[u] = function () { return 7; }, 7 != ""[t](e); }) && (i(String.prototype, t, l), r(RegExp.prototype, u, 2 == e ? function (t, e) { return h.call(t, this, e); } : function (t) { return h.call(t, this); })); };
|
||
}, function (t, e) { var n = {}.hasOwnProperty; t.exports = function (t, e) { return n.call(t, e); }; }, function (t, e, n) { var r = n(17), i = n(273), o = n(292), s = Object.defineProperty; e.f = n(41) ? Object.defineProperty : function (t, e, n) { if (r(t), e = o(e, !0), r(n), i)
|
||
try {
|
||
return s(t, e, n);
|
||
}
|
||
catch (t) { } if ("get" in n || "set" in n)
|
||
throw TypeError("Accessors not supported!"); return "value" in n && (t[e] = n.value), t; }; }, function (t, e) { var n = Math.ceil, r = Math.floor; t.exports = function (t) { return isNaN(t = +t) ? 0 : (t > 0 ? r : n)(t); }; }, function (t, e, n) { var r = n(275), i = n(10); t.exports = function (t) { return r(i(t)); }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r, i = n(162), o = n(165), s = n(343), a = n(348);
|
||
r = t.exports = function (t, e) { var n, r, s, u, c; return arguments.length < 2 || "string" != typeof t ? (u = e, e = t, t = null) : u = arguments[2], null == t ? (n = s = !0, r = !1) : (n = a.call(t, "c"), r = a.call(t, "e"), s = a.call(t, "w")), c = { value: e, configurable: n, enumerable: r, writable: s }, u ? i(o(u), c) : c; }, r.gs = function (t, e, n) { var r, u, c, l; return "string" != typeof t ? (c = n, n = e, e = t, t = null) : c = arguments[3], null == e ? e = void 0 : s(e) ? null == n ? n = void 0 : s(n) || (c = n, n = void 0) : (c = e, e = n = void 0), null == t ? (r = !0, u = !1) : (r = a.call(t, "c"), u = a.call(t, "e")), l = { get: e, set: n, configurable: r, enumerable: u }, c ? i(o(c), l) : l; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = n(340)("forEach");
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return function () { return t; }; }
|
||
var i = function () { };
|
||
i.thatReturns = r, i.thatReturnsFalse = r(!1), i.thatReturnsTrue = r(!0), i.thatReturnsNull = r(null), i.thatReturnsThis = function () { return this; }, i.thatReturnsArgument = function (t) { return t; }, t.exports = i;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(68), i = r;
|
||
t.exports = i;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(34);
|
||
t.exports = r.DEFAULT = new r({ include: [n(48)], explicit: [n(371), n(370), n(369)] });
|
||
}, function (t, e, n) { function r(t) { var e = -1, n = null == t ? 0 : t.length; for (this.clear(); ++e < n;) {
|
||
var r = t[e];
|
||
this.set(r[0], r[1]);
|
||
} } var i = n(445), o = n(446), s = n(447), a = n(448), u = n(449); r.prototype.clear = i, r.prototype.delete = o, r.prototype.get = s, r.prototype.has = a, r.prototype.set = u, t.exports = r; }, function (t, e, n) { var r = n(7), i = r.Symbol; t.exports = i; }, function (t, e, n) { function r(t, e) { for (var n = t.length; n--;)
|
||
if (i(t[n][0], e))
|
||
return n; return -1; } var i = n(77); t.exports = r; }, function (t, e, n) { function r(t, e) { var n = t.__data__; return i(e) ? n["string" == typeof e ? "string" : "hash"] : n.map; } var i = n(442); t.exports = r; }, function (t, e, n) { var r = n(35), i = r(Object, "create"); t.exports = i; }, function (t, e, n) { function r(t) { if ("string" == typeof t || i(t))
|
||
return t; var e = t + ""; return "0" == e && 1 / t == -o ? "-0" : e; } var i = n(79), o = 1 / 0; t.exports = r; }, function (t, e) { function n(t, e) { return t === e || t !== t && e !== e; } t.exports = n; }, function (t, e, n) { function r(t) { return null != t && o(t.length) && !i(t); } var i = n(185), o = n(118); t.exports = r; }, function (t, e, n) { function r(t) { return "symbol" == typeof t || o(t) && i(t) == s; } var i = n(49), o = n(51), s = "[object Symbol]"; t.exports = r; }, function (t, e, n) { function r(t) { return s(t) ? i(t) : o(t); } var i = n(389), o = n(406), s = n(78); t.exports = r; }, function (t, e, n) {
|
||
"use strict";
|
||
(function (e) { function n(t, n, r, i) { if ("function" != typeof t)
|
||
throw new TypeError('"callback" argument must be a function'); var o, s, a = arguments.length; switch (a) {
|
||
case 0:
|
||
case 1: return e.nextTick(t);
|
||
case 2: return e.nextTick(function () { t.call(null, n); });
|
||
case 3: return e.nextTick(function () { t.call(null, n, r); });
|
||
case 4: return e.nextTick(function () { t.call(null, n, r, i); });
|
||
default:
|
||
for (o = new Array(a - 1), s = 0; s < o.length;)
|
||
o[s++] = arguments[s];
|
||
return e.nextTick(function () { t.apply(null, o); });
|
||
} } !e.version || 0 === e.version.indexOf("v0.") || 0 === e.version.indexOf("v1.") && 0 !== e.version.indexOf("v1.8.") ? t.exports = { nextTick: n } : t.exports = e; }).call(e, n(36));
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { for (var e = arguments.length - 1, n = "Minified React error #" + t + "; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=" + t, r = 0; r < e; r++)
|
||
n += "&args[]=" + encodeURIComponent(arguments[r + 1]); n += " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; var i = new Error(n); throw i.name = "Invariant Violation", i.framesToPop = 1, i; }
|
||
t.exports = r;
|
||
}, function (t, e, n) { function r(t, e) { for (var n in t)
|
||
e[n] = t[n]; } function i(t, e, n) { return s(t, e, n); } var o = n(54), s = o.Buffer; s.from && s.alloc && s.allocUnsafe && s.allocUnsafeSlow ? t.exports = o : (r(o, e), e.Buffer = i), r(s, i), i.from = function (t, e, n) { if ("number" == typeof t)
|
||
throw new TypeError("Argument must not be a number"); return s(t, e, n); }, i.alloc = function (t, e, n) { if ("number" != typeof t)
|
||
throw new TypeError("Argument must be a number"); var r = s(t); return void 0 !== e ? "string" == typeof n ? r.fill(e, n) : r.fill(e) : r.fill(0), r; }, i.allocUnsafe = function (t) { if ("number" != typeof t)
|
||
throw new TypeError("Argument must be a number"); return s(t); }, i.allocUnsafeSlow = function (t) { if ("number" != typeof t)
|
||
throw new TypeError("Argument must be a number"); return o.SlowBuffer(t); }; }, function (t, e, n) { t.exports = { default: n(228), __esModule: !0 }; }, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return t && t.__esModule ? t : { default: t }; }
|
||
e.__esModule = !0;
|
||
var i = n(223), o = r(i), s = n(222), a = r(s), u = "function" == typeof a.default && "symbol" == typeof o.default ? function (t) { return typeof t; } : function (t) { return t && "function" == typeof a.default && t.constructor === a.default && t !== a.default.prototype ? "symbol" : typeof t; };
|
||
e.default = "function" == typeof a.default && "symbol" === u(o.default) ? function (t) { return void 0 === t ? "undefined" : u(t); } : function (t) { return t && "function" == typeof a.default && t.constructor === a.default && t !== a.default.prototype ? "symbol" : void 0 === t ? "undefined" : u(t); };
|
||
}, function (t, e) { var n = {}.toString; t.exports = function (t) { return n.call(t).slice(8, -1); }; }, function (t, e) { t.exports = function (t) { if (void 0 == t)
|
||
throw TypeError("Can't call method on " + t); return t; }; }, function (t, e) { t.exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","); }, function (t, e) { t.exports = !0; }, function (t, e, n) { var r = n(24), i = n(249), o = n(88), s = n(93)("IE_PROTO"), a = function () { }, u = function () { var t, e = n(135)("iframe"), r = o.length; for (e.style.display = "none", n(243).appendChild(e), e.src = "javascript:", t = e.contentWindow.document, t.open(), t.write("<script>document.F=Object<\/script>"), t.close(), u = t.F; r--;)
|
||
delete u.prototype[o[r]]; return u(); }; t.exports = Object.create || function (t, e) { var n; return null !== t ? (a.prototype = r(t), n = new a, a.prototype = null, n[s] = t) : n = u(), void 0 === e ? n : i(n, e); }; }, function (t, e) { e.f = Object.getOwnPropertySymbols; }, function (t, e, n) { var r = n(16).f, i = n(15), o = n(6)("toStringTag"); t.exports = function (t, e, n) { t && !i(t = n ? t : t.prototype, o) && r(t, o, { configurable: !0, value: e }); }; }, function (t, e, n) { var r = n(94)("keys"), i = n(58); t.exports = function (t) { return r[t] || (r[t] = i(t)); }; }, function (t, e, n) { var r = n(9), i = r["__core-js_shared__"] || (r["__core-js_shared__"] = {}); t.exports = function (t) { return i[t] || (i[t] = {}); }; }, function (t, e) { var n = Math.ceil, r = Math.floor; t.exports = function (t) { return isNaN(t = +t) ? 0 : (t > 0 ? r : n)(t); }; }, function (t, e, n) { var r = n(27); t.exports = function (t, e) { if (!r(t))
|
||
return t; var n, i; if (e && "function" == typeof (n = t.toString) && !r(i = n.call(t)))
|
||
return i; if ("function" == typeof (n = t.valueOf) && !r(i = n.call(t)))
|
||
return i; if (!e && "function" == typeof (n = t.toString) && !r(i = n.call(t)))
|
||
return i; throw TypeError("Can't convert object to primitive value"); }; }, function (t, e, n) { var r = n(9), i = n(2), o = n(89), s = n(98), a = n(16).f; t.exports = function (t) { var e = i.Symbol || (i.Symbol = o ? {} : r.Symbol || {}); "_" == t.charAt(0) || t in e || a(e, t, { value: s.f(t) }); }; }, function (t, e, n) { e.f = n(6); }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(252)(!0);
|
||
n(138)(String, "String", function (t) { this._t = String(t), this._i = 0; }, function () { var t, e = this._t, n = this._i; return n >= e.length ? { value: void 0, done: !0 } : (t = r(e, n), this._i += t.length, { value: t, done: !1 }); });
|
||
}, function (t, e, n) { n(258); for (var r = n(9), i = n(26), o = n(38), s = n(6)("toStringTag"), a = "CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","), u = 0; u < a.length; u++) {
|
||
var c = a[u], l = r[c], h = l && l.prototype;
|
||
h && !h[s] && i(h, s, c), o[c] = o.Array;
|
||
} }, function (t, e, n) { var r = n(40), i = n(1)("toStringTag"), o = "Arguments" == r(function () { return arguments; }()), s = function (t, e) { try {
|
||
return t[e];
|
||
}
|
||
catch (t) { } }; t.exports = function (t) { var e, n, a; return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof (n = s(e = Object(t), i)) ? n : o ? r(e) : "Object" == (a = r(e)) && "function" == typeof e.callee ? "Arguments" : a; }; }, function (t, e, n) { var r = n(29), i = n(5).document, o = r(i) && r(i.createElement); t.exports = function (t) { return o ? i.createElement(t) : {}; }; }, function (t, e, n) { var r = n(1)("match"); t.exports = function (t) { var e = /./; try {
|
||
"/./"[t](e);
|
||
}
|
||
catch (n) {
|
||
try {
|
||
return e[r] = !1, !"/./"[t](e);
|
||
}
|
||
catch (t) { }
|
||
} return !0; }; }, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { var e, n; this.promise = new t(function (t, r) { if (void 0 !== e || void 0 !== n)
|
||
throw TypeError("Bad Promise constructor"); e = t, n = r; }), this.resolve = i(e), this.reject = i(n); }
|
||
var i = n(59);
|
||
t.exports.f = function (t) { return new r(t); };
|
||
}, function (t, e, n) { var r = n(63).f, i = n(62), o = n(1)("toStringTag"); t.exports = function (t, e, n) { t && !i(t = n ? t : t.prototype, o) && r(t, o, { configurable: !0, value: e }); }; }, function (t, e, n) { var r = n(154)("keys"), i = n(108); t.exports = function (t) { return r[t] || (r[t] = i(t)); }; }, function (t, e, n) { var r = n(147), i = n(10); t.exports = function (t, e, n) { if (r(e))
|
||
throw TypeError("String#" + n + " doesn't accept regex!"); return String(i(t)); }; }, function (t, e) { var n = 0, r = Math.random(); t.exports = function (t) { return "Symbol(".concat(void 0 === t ? "" : t, ")_", (++n + r).toString(36)); }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(336), i = n(20), o = n(46), s = Array.prototype.indexOf, a = Object.prototype.hasOwnProperty, u = Math.abs, c = Math.floor;
|
||
t.exports = function (t) { var e, n, l, h; if (!r(t))
|
||
return s.apply(this, arguments); for (n = i(o(this).length), l = arguments[1], l = isNaN(l) ? 0 : l >= 0 ? c(l) : i(this.length) - c(u(l)), e = l; e < n; ++e)
|
||
if (a.call(this, e) && (h = this[e], r(h)))
|
||
return e; return -1; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = n(327)() ? Array.from : n(328);
|
||
}, function (t, e) { function n() { this._events = this._events || {}, this._maxListeners = this._maxListeners || void 0; } function r(t) { return "function" == typeof t; } function i(t) { return "number" == typeof t; } function o(t) { return "object" == typeof t && null !== t; } function s(t) { return void 0 === t; } t.exports = n, n.EventEmitter = n, n.prototype._events = void 0, n.prototype._maxListeners = void 0, n.defaultMaxListeners = 10, n.prototype.setMaxListeners = function (t) { if (!i(t) || t < 0 || isNaN(t))
|
||
throw TypeError("n must be a positive number"); return this._maxListeners = t, this; }, n.prototype.emit = function (t) { var e, n, i, a, u, c; if (this._events || (this._events = {}), "error" === t && (!this._events.error || o(this._events.error) && !this._events.error.length)) {
|
||
if ((e = arguments[1]) instanceof Error)
|
||
throw e;
|
||
var l = new Error('Uncaught, unspecified "error" event. (' + e + ")");
|
||
throw l.context = e, l;
|
||
} if (n = this._events[t], s(n))
|
||
return !1; if (r(n))
|
||
switch (arguments.length) {
|
||
case 1:
|
||
n.call(this);
|
||
break;
|
||
case 2:
|
||
n.call(this, arguments[1]);
|
||
break;
|
||
case 3:
|
||
n.call(this, arguments[1], arguments[2]);
|
||
break;
|
||
default: a = Array.prototype.slice.call(arguments, 1), n.apply(this, a);
|
||
}
|
||
else if (o(n))
|
||
for (a = Array.prototype.slice.call(arguments, 1), c = n.slice(), i = c.length, u = 0; u < i; u++)
|
||
c[u].apply(this, a); return !0; }, n.prototype.addListener = function (t, e) { var i; if (!r(e))
|
||
throw TypeError("listener must be a function"); return this._events || (this._events = {}), this._events.newListener && this.emit("newListener", t, r(e.listener) ? e.listener : e), this._events[t] ? o(this._events[t]) ? this._events[t].push(e) : this._events[t] = [this._events[t], e] : this._events[t] = e, o(this._events[t]) && !this._events[t].warned && (i = s(this._maxListeners) ? n.defaultMaxListeners : this._maxListeners) && i > 0 && this._events[t].length > i && (this._events[t].warned = !0, console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.", this._events[t].length), "function" == typeof console.trace && console.trace()), this; }, n.prototype.on = n.prototype.addListener, n.prototype.once = function (t, e) { function n() { this.removeListener(t, n), i || (i = !0, e.apply(this, arguments)); } if (!r(e))
|
||
throw TypeError("listener must be a function"); var i = !1; return n.listener = e, this.on(t, n), this; }, n.prototype.removeListener = function (t, e) { var n, i, s, a; if (!r(e))
|
||
throw TypeError("listener must be a function"); if (!this._events || !this._events[t])
|
||
return this; if (n = this._events[t], s = n.length, i = -1, n === e || r(n.listener) && n.listener === e)
|
||
delete this._events[t], this._events.removeListener && this.emit("removeListener", t, e);
|
||
else if (o(n)) {
|
||
for (a = s; a-- > 0;)
|
||
if (n[a] === e || n[a].listener && n[a].listener === e) {
|
||
i = a;
|
||
break;
|
||
}
|
||
if (i < 0)
|
||
return this;
|
||
1 === n.length ? (n.length = 0, delete this._events[t]) : n.splice(i, 1), this._events.removeListener && this.emit("removeListener", t, e);
|
||
} return this; }, n.prototype.removeAllListeners = function (t) { var e, n; if (!this._events)
|
||
return this; if (!this._events.removeListener)
|
||
return 0 === arguments.length ? this._events = {} : this._events[t] && delete this._events[t], this; if (0 === arguments.length) {
|
||
for (e in this._events)
|
||
"removeListener" !== e && this.removeAllListeners(e);
|
||
return this.removeAllListeners("removeListener"), this._events = {}, this;
|
||
} if (n = this._events[t], r(n))
|
||
this.removeListener(t, n);
|
||
else if (n)
|
||
for (; n.length;)
|
||
this.removeListener(t, n[n.length - 1]); return delete this._events[t], this; }, n.prototype.listeners = function (t) { return this._events && this._events[t] ? r(this._events[t]) ? [this._events[t]] : this._events[t].slice() : []; }, n.prototype.listenerCount = function (t) { if (this._events) {
|
||
var e = this._events[t];
|
||
if (r(e))
|
||
return 1;
|
||
if (e)
|
||
return e.length;
|
||
} return 0; }, n.listenerCount = function (t, e) { return t.listenerCount(e); }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(34);
|
||
t.exports = new r({ explicit: [n(379), n(377), n(372)] });
|
||
}, function (t, e, n) { var r = n(35), i = n(7), o = r(i, "Map"); t.exports = o; }, function (t, e, n) { function r(t) { var e = -1, n = null == t ? 0 : t.length; for (this.clear(); ++e < n;) {
|
||
var r = t[e];
|
||
this.set(r[0], r[1]);
|
||
} } var i = n(450), o = n(451), s = n(452), a = n(453), u = n(454); r.prototype.clear = i, r.prototype.delete = o, r.prototype.get = s, r.prototype.has = a, r.prototype.set = u, t.exports = r; }, function (t, e, n) { function r(t) { return "function" == typeof t ? t : null == t ? s : "object" == typeof t ? a(t) ? o(t[0], t[1]) : i(t) : u(t); } var i = n(407), o = n(408), s = n(480), a = n(8), u = n(481); t.exports = r; }, function (t, e) { function n(t, e) { var n = typeof t; return !!(e = null == e ? r : e) && ("number" == n || "symbol" != n && i.test(t)) && t > -1 && t % 1 == 0 && t < e; } var r = 9007199254740991, i = /^(?:0|[1-9]\d*)$/; t.exports = n; }, function (t, e, n) { function r(t, e) { if (i(t))
|
||
return !1; var n = typeof t; return !("number" != n && "symbol" != n && "boolean" != n && null != t && !o(t)) || (a.test(t) || !s.test(t) || null != e && t in Object(e)); } var i = n(8), o = n(79), s = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, a = /^\w*$/; t.exports = r; }, function (t, e) { function n(t) { return "number" == typeof t && t > -1 && t % 1 == 0 && t <= r; } var r = 9007199254740991; t.exports = n; }, function (t, e, n) {
|
||
"use strict";
|
||
(function (e, n) { var r, i; r = function (t) { if ("function" != typeof t)
|
||
throw new TypeError(t + " is not a function"); return t; }, i = function (t) { var e, n, i = document.createTextNode(""), o = 0; return new t(function () { var t; if (e)
|
||
n && (e = n.concat(e));
|
||
else {
|
||
if (!n)
|
||
return;
|
||
e = n;
|
||
} if (n = e, e = null, "function" == typeof n)
|
||
return t = n, n = null, void t(); for (i.data = o = ++o % 2; n;)
|
||
t = n.shift(), n.length || (n = null), t(); }).observe(i, { characterData: !0 }), function (t) { if (r(t), e)
|
||
return void ("function" == typeof e ? e = [e, t] : e.push(t)); e = t, i.data = o = ++o % 2; }; }, t.exports = function () { if ("object" == typeof e && e && "function" == typeof e.nextTick)
|
||
return e.nextTick; if ("object" == typeof document && document) {
|
||
if ("function" == typeof MutationObserver)
|
||
return i(MutationObserver);
|
||
if ("function" == typeof WebKitMutationObserver)
|
||
return i(WebKitMutationObserver);
|
||
} return "function" == typeof n ? function (t) { n(r(t)); } : "function" == typeof setTimeout || "object" == typeof setTimeout ? function (t) { setTimeout(r(t), 0); } : null; }(); }).call(e, n(36), n(203).setImmediate);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
(function (e, r, i) { function o(t) { var e = this; this.next = null, this.entry = null, this.finish = function () { C(e, t); }; } function s(t) { return B.from(t); } function a(t) { return B.isBuffer(t) || t instanceof P; } function u() { } function c(t, e) { F = F || n(23), t = t || {}; var r = e instanceof F; this.objectMode = !!t.objectMode, r && (this.objectMode = this.objectMode || !!t.writableObjectMode); var i = t.highWaterMark, s = t.writableHighWaterMark, a = this.objectMode ? 16 : 16384; this.highWaterMark = i || 0 === i ? i : r && (s || 0 === s) ? s : a, this.highWaterMark = Math.floor(this.highWaterMark), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1; var u = !1 === t.decodeStrings; this.decodeStrings = !u, this.defaultEncoding = t.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function (t) { g(e, t); }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.bufferedRequestCount = 0, this.corkedRequestsFree = new o(this); } function l(t) { if (F = F || n(23), !(N.call(l, this) || this instanceof F))
|
||
return new l(t); this._writableState = new c(t, this), this.writable = !0, t && ("function" == typeof t.write && (this._write = t.write), "function" == typeof t.writev && (this._writev = t.writev), "function" == typeof t.destroy && (this._destroy = t.destroy), "function" == typeof t.final && (this._final = t.final)), M.call(this); } function h(t, e) { var n = new Error("write after end"); t.emit("error", n), k.nextTick(e, n); } function f(t, e, n, r) { var i = !0, o = !1; return null === n ? o = new TypeError("May not write null values to stream") : "string" == typeof n || void 0 === n || e.objectMode || (o = new TypeError("Invalid non-string/buffer chunk")), o && (t.emit("error", o), k.nextTick(r, o), i = !1), i; } function p(t, e, n) { return t.objectMode || !1 === t.decodeStrings || "string" != typeof e || (e = B.from(e, n)), e; } function d(t, e, n, r, i, o) { if (!n) {
|
||
var s = p(e, r, i);
|
||
r !== s && (n = !0, i = "buffer", r = s);
|
||
} var a = e.objectMode ? 1 : r.length; e.length += a; var u = e.length < e.highWaterMark; if (u || (e.needDrain = !0), e.writing || e.corked) {
|
||
var c = e.lastBufferedRequest;
|
||
e.lastBufferedRequest = { chunk: r, encoding: i, isBuf: n, callback: o, next: null }, c ? c.next = e.lastBufferedRequest : e.bufferedRequest = e.lastBufferedRequest, e.bufferedRequestCount += 1;
|
||
}
|
||
else
|
||
m(t, e, !1, a, r, i, o); return u; } function m(t, e, n, r, i, o, s) { e.writelen = r, e.writecb = s, e.writing = !0, e.sync = !0, n ? t._writev(i, e.onwrite) : t._write(i, o, e.onwrite), e.sync = !1; } function v(t, e, n, r, i) { --e.pendingcb, n ? (k.nextTick(i, r), k.nextTick(S, t, e), t._writableState.errorEmitted = !0, t.emit("error", r)) : (i(r), t._writableState.errorEmitted = !0, t.emit("error", r), S(t, e)); } function y(t) { t.writing = !1, t.writecb = null, t.length -= t.writelen, t.writelen = 0; } function g(t, e) { var n = t._writableState, r = n.sync, i = n.writecb; if (y(n), e)
|
||
v(t, n, r, e, i);
|
||
else {
|
||
var o = E(n);
|
||
o || n.corked || n.bufferProcessing || !n.bufferedRequest || D(t, n), r ? T(x, t, n, o, i) : x(t, n, o, i);
|
||
} } function x(t, e, n, r) { n || b(t, e), e.pendingcb--, r(), S(t, e); } function b(t, e) { 0 === e.length && e.needDrain && (e.needDrain = !1, t.emit("drain")); } function D(t, e) { e.bufferProcessing = !0; var n = e.bufferedRequest; if (t._writev && n && n.next) {
|
||
var r = e.bufferedRequestCount, i = new Array(r), s = e.corkedRequestsFree;
|
||
s.entry = n;
|
||
for (var a = 0, u = !0; n;)
|
||
i[a] = n, n.isBuf || (u = !1), n = n.next, a += 1;
|
||
i.allBuffers = u, m(t, e, !0, e.length, i, "", s.finish), e.pendingcb++, e.lastBufferedRequest = null, s.next ? (e.corkedRequestsFree = s.next, s.next = null) : e.corkedRequestsFree = new o(e), e.bufferedRequestCount = 0;
|
||
}
|
||
else {
|
||
for (; n;) {
|
||
var c = n.chunk, l = n.encoding, h = n.callback;
|
||
if (m(t, e, !1, e.objectMode ? 1 : c.length, c, l, h), n = n.next, e.bufferedRequestCount--, e.writing)
|
||
break;
|
||
}
|
||
null === n && (e.lastBufferedRequest = null);
|
||
} e.bufferedRequest = n, e.bufferProcessing = !1; } function E(t) { return t.ending && 0 === t.length && null === t.bufferedRequest && !t.finished && !t.writing; } function w(t, e) { t._final(function (n) { e.pendingcb--, n && t.emit("error", n), e.prefinished = !0, t.emit("prefinish"), S(t, e); }); } function _(t, e) { e.prefinished || e.finalCalled || ("function" == typeof t._final ? (e.pendingcb++, e.finalCalled = !0, k.nextTick(w, t, e)) : (e.prefinished = !0, t.emit("prefinish"))); } function S(t, e) { var n = E(e); return n && (_(t, e), 0 === e.pendingcb && (e.finished = !0, t.emit("finish"))), n; } function A(t, e, n) { e.ending = !0, S(t, e), n && (e.finished ? k.nextTick(n) : t.once("finish", n)), e.ended = !0, t.writable = !1; } function C(t, e, n) { var r = t.entry; for (t.entry = null; r;) {
|
||
var i = r.callback;
|
||
e.pendingcb--, i(n), r = r.next;
|
||
} e.corkedRequestsFree ? e.corkedRequestsFree.next = t : e.corkedRequestsFree = t; } var k = n(81); t.exports = l; var F, T = !e.browser && ["v0.10", "v0.9."].indexOf(e.version.slice(0, 5)) > -1 ? r : k.nextTick; l.WritableState = c; var I = n(45); I.inherits = n(32); var O = { deprecate: n(534) }, M = n(201), B = n(83).Buffer, P = i.Uint8Array || function () { }, j = n(200); I.inherits(l, M), c.prototype.getBuffer = function () { for (var t = this.bufferedRequest, e = []; t;)
|
||
e.push(t), t = t.next; return e; }, function () { try {
|
||
Object.defineProperty(c.prototype, "buffer", { get: O.deprecate(function () { return this.getBuffer(); }, "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.", "DEP0003") });
|
||
}
|
||
catch (t) { } }(); var N; "function" == typeof Symbol && Symbol.hasInstance && "function" == typeof Function.prototype[Symbol.hasInstance] ? (N = Function.prototype[Symbol.hasInstance], Object.defineProperty(l, Symbol.hasInstance, { value: function (t) { return !!N.call(this, t) || this === l && (t && t._writableState instanceof c); } })) : N = function (t) { return t instanceof this; }, l.prototype.pipe = function () { this.emit("error", new Error("Cannot pipe, not readable")); }, l.prototype.write = function (t, e, n) { var r = this._writableState, i = !1, o = !r.objectMode && a(t); return o && !B.isBuffer(t) && (t = s(t)), "function" == typeof e && (n = e, e = null), o ? e = "buffer" : e || (e = r.defaultEncoding), "function" != typeof n && (n = u), r.ended ? h(this, n) : (o || f(this, r, t, n)) && (r.pendingcb++, i = d(this, r, o, t, e, n)), i; }, l.prototype.cork = function () { this._writableState.corked++; }, l.prototype.uncork = function () { var t = this._writableState; t.corked && (t.corked--, t.writing || t.corked || t.finished || t.bufferProcessing || !t.bufferedRequest || D(this, t)); }, l.prototype.setDefaultEncoding = function (t) { if ("string" == typeof t && (t = t.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((t + "").toLowerCase()) > -1))
|
||
throw new TypeError("Unknown encoding: " + t); return this._writableState.defaultEncoding = t, this; }, Object.defineProperty(l.prototype, "writableHighWaterMark", { enumerable: !1, get: function () { return this._writableState.highWaterMark; } }), l.prototype._write = function (t, e, n) { n(new Error("_write() is not implemented")); }, l.prototype._writev = null, l.prototype.end = function (t, e, n) { var r = this._writableState; "function" == typeof t ? (n = t, t = null, e = null) : "function" == typeof e && (n = e, e = null), null !== t && void 0 !== t && this.write(t, e), r.corked && (r.corked = 1, this.uncork()), r.ending || r.finished || A(this, r, n); }, Object.defineProperty(l.prototype, "destroyed", { get: function () { return void 0 !== this._writableState && this._writableState.destroyed; }, set: function (t) { this._writableState && (this._writableState.destroyed = t); } }), l.prototype.destroy = j.destroy, l.prototype._undestroy = j.undestroy, l.prototype._destroy = function (t, e) { this.end(), e(t); }; }).call(e, n(36), n(203).setImmediate, n(12));
|
||
}, function (t, e, n) { e = t.exports = n(198), e.Stream = e, e.Readable = e, e.Writable = n(120), e.Duplex = n(23), e.Transform = n(199), e.PassThrough = n(524); }, function (t, e, n) {
|
||
"use strict";
|
||
function r(t, e) { return { type: a, payload: (0, s.default)({}, t, e) }; }
|
||
function i(t) { return { type: u, payload: t }; }
|
||
Object.defineProperty(e, "__esModule", { value: !0 }), e.TOGGLE_CONFIGS = e.UPDATE_CONFIGS = void 0;
|
||
var o = n(130), s = function (t) { return t && t.__esModule ? t : { default: t }; }(o);
|
||
e.update = r, e.toggle = i;
|
||
var a = e.UPDATE_CONFIGS = "configs_update", u = e.TOGGLE_CONFIGS = "configs_toggle";
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 }), e.parseYamlConfig = void 0;
|
||
var r = n(360), i = function (t) { return t && t.__esModule ? t : { default: t }; }(r);
|
||
e.parseYamlConfig = function (t, e) { try {
|
||
return i.default.safeLoad(t);
|
||
}
|
||
catch (t) {
|
||
return e && e.errActions.newThrownErr(new Error(t)), {};
|
||
} };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
(function (t) { function r(t) { return t && t.__esModule ? t : { default: t }; } function i(t) { try {
|
||
var e = JSON.parse(t);
|
||
if (e && "object" === (void 0 === e ? "undefined" : (0, L.default)(e)))
|
||
return e;
|
||
}
|
||
catch (t) { } return !1; } function o(t) { return h(t) ? st(t) ? t.toObject() : t : {}; } function s(t) { return t ? t.toArray ? t.toArray() : c(t) : []; } function a(t) { return st(t) ? t : t instanceof nt.default.File ? t : h(t) ? Array.isArray(t) ? z.default.Seq(t).map(a).toList() : z.default.OrderedMap(t).map(a) : t; } function u(t, e) { var n = {}; return (0, j.default)(t).filter(function (e) { return "function" == typeof t[e]; }).forEach(function (r) { return n[r] = t[r].bind(null, e); }), n; } function c(t) { return Array.isArray(t) ? t : [t]; } function l(t) { return "function" == typeof t; } function h(t) { return !!t && "object" === (void 0 === t ? "undefined" : (0, L.default)(t)); } function f(t) { return "function" == typeof t; } function p(t) { return Array.isArray(t); } function d(t, e) { return (0, j.default)(t).reduce(function (n, r) { return n[r] = e(t[r], r), n; }, {}); } function m(t, e) { return (0, j.default)(t).reduce(function (n, r) { var i = e(t[r], r); return i && "object" === (void 0 === i ? "undefined" : (0, L.default)(i)) && (0, B.default)(n, i), n; }, {}); } function v(t) { return function (e) { e.dispatch, e.getState; return function (e) { return function (n) { return "function" == typeof n ? n(t()) : e(n); }; }; }; } function y(t) { var e = t.keySeq(); return e.contains(ot) ? ot : e.filter(function (t) { return "2" === (t + "")[0]; }).sort().first(); } function g(t, e) { if (!z.default.Iterable.isIterable(t))
|
||
return z.default.List(); var n = t.getIn(Array.isArray(e) ? e : [e]); return z.default.List.isList(n) ? n : z.default.List(); } function x(t) { var e = document; if (!t)
|
||
return ""; if (t.textContent.length > 5e3)
|
||
return t.textContent; return function (t) { for (var n, r, i, o, s, a = t.textContent, u = 0, c = a[0], l = 1, h = t.innerHTML = "", f = 0; r = n, n = f < 7 && "\\" == n ? 1 : l;) {
|
||
if (l = c, c = a[++u], o = h.length > 1, !l || f > 8 && "\n" == l || [/\S/.test(l), 1, 1, !/[$\w]/.test(l), ("/" == n || "\n" == n) && o, '"' == n && o, "'" == n && o, a[u - 4] + r + n == "--\x3e", r + n == "*/"][f])
|
||
for (h && (t.appendChild(s = e.createElement("span")).setAttribute("style", ["color: #555; font-weight: bold;", "", "", "color: #555;", ""][f ? f < 3 ? 2 : f > 6 ? 4 : f > 3 ? 3 : +/^(a(bstract|lias|nd|rguments|rray|s(m|sert)?|uto)|b(ase|egin|ool(ean)?|reak|yte)|c(ase|atch|har|hecked|lass|lone|ompl|onst|ontinue)|de(bugger|cimal|clare|f(ault|er)?|init|l(egate|ete)?)|do|double|e(cho|ls?if|lse(if)?|nd|nsure|num|vent|x(cept|ec|p(licit|ort)|te(nds|nsion|rn)))|f(allthrough|alse|inal(ly)?|ixed|loat|or(each)?|riend|rom|unc(tion)?)|global|goto|guard|i(f|mp(lements|licit|ort)|n(it|clude(_once)?|line|out|stanceof|t(erface|ernal)?)?|s)|l(ambda|et|ock|ong)|m(icrolight|odule|utable)|NaN|n(amespace|ative|ext|ew|il|ot|ull)|o(bject|perator|r|ut|verride)|p(ackage|arams|rivate|rotected|rotocol|ublic)|r(aise|e(adonly|do|f|gister|peat|quire(_once)?|scue|strict|try|turn))|s(byte|ealed|elf|hort|igned|izeof|tatic|tring|truct|ubscript|uper|ynchronized|witch)|t(emplate|hen|his|hrows?|ransient|rue|ry|ype(alias|def|id|name|of))|u(n(checked|def(ined)?|ion|less|signed|til)|se|sing)|v(ar|irtual|oid|olatile)|w(char_t|hen|here|hile|ith)|xor|yield)$/.test(h) : 0]), s.appendChild(e.createTextNode(h))), i = f && f < 7 ? f : i, h = "", f = 11; ![1, /[\/{}[(\-+*=<>:;|\\.,?!&@~]/.test(l), /[\])]/.test(l), /[$\w]/.test(l), "/" == l && i < 2 && "<" != n, '"' == l, "'" == l, l + c + a[u + 1] + a[u + 2] == "\x3c!--", l + c == "/*", l + c == "//", "#" == l][--f];)
|
||
;
|
||
h += l;
|
||
} }(t); } function b(t) { var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "key", n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : z.default.Map(); if (!z.default.Map.isMap(t) || !t.size)
|
||
return z.default.List(); if (Array.isArray(e) || (e = [e]), e.length < 1)
|
||
return t.merge(n); var r = z.default.List(), i = e[0], o = !0, s = !1, a = void 0; try {
|
||
for (var u, c = (0, O.default)(t.entries()); !(o = (u = c.next()).done); o = !0) {
|
||
var l = u.value, h = (0, T.default)(l, 2), f = h[0], p = h[1], d = b(p, e.slice(1), n.set(i, f));
|
||
r = z.default.List.isList(d) ? r.concat(d) : r.push(d);
|
||
}
|
||
}
|
||
catch (t) {
|
||
s = !0, a = t;
|
||
}
|
||
finally {
|
||
try {
|
||
!o && c.return && c.return();
|
||
}
|
||
finally {
|
||
if (s)
|
||
throw a;
|
||
}
|
||
} return r; } function D(t) { var e = /filename="([^;]*);?"/i.exec(t); return null === e && (e = /filename=([^;]*);?/i.exec(t)), null !== e && e.length > 1 ? e[1] : null; } function E(t) { return (0, K.default)((0, X.default)(t)); } function w(t) { return E(t.replace(/\.[^.\/]*$/, "")); } function _(t) { return "string" != typeof t || "" === t ? "" : (0, U.sanitizeUrl)(t); } function S(t) { if (!z.default.OrderedMap.isOrderedMap(t))
|
||
return null; if (!t.size)
|
||
return null; var e = t.find(function (t, e) { return e.startsWith("2") && (0, j.default)(t.get("content") || {}).length > 0; }), n = t.get("default") || z.default.OrderedMap(), r = (n.get("content") || z.default.OrderedMap()).keySeq().toJS(), i = r.length ? n : null; return e || i; } function A(t, e) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : function () { return !0; }; if ("object" !== (void 0 === t ? "undefined" : (0, L.default)(t)) || Array.isArray(t) || !e)
|
||
return t; var r = (0, B.default)({}, t); return (0, j.default)(r).forEach(function (t) { if (t === e && n(r[t], t))
|
||
return void delete r[t]; r[t] = A(r[t], e, n); }), r; } Object.defineProperty(e, "__esModule", { value: !0 }), e.getCommonExtensions = e.getExtensions = e.escapeDeepLinkPath = e.createDeepLinkPath = e.shallowEqualKeys = e.buildFormData = e.sorters = e.btoa = e.serializeSearch = e.parseSearch = e.getSampleSchema = e.validateParam = e.validatePattern = e.validateMinLength = e.validateMaxLength = e.validateGuid = e.validateDateTime = e.validateString = e.validateBoolean = e.validateFile = e.validateInteger = e.validateNumber = e.validateMinimum = e.validateMaximum = e.propChecker = e.memoize = e.isImmutable = void 0; var C = n(217), k = r(C), F = n(224), T = r(F), I = n(84), O = r(I), M = n(218), B = r(M), P = n(220), j = r(P), N = n(85), L = r(N); e.isJSONObject = i, e.objectify = o, e.arrayify = s, e.fromJSOrdered = a, e.bindToState = u, e.normalizeArray = c, e.isFn = l, e.isObject = h, e.isFunc = f, e.isArray = p, e.objMap = d, e.objReduce = m, e.systemThunkMiddleware = v, e.defaultStatusCode = y, e.getList = g, e.highlight = x, e.mapToList = b, e.extractFileNameFromContentDispositionHeader = D, e.pascalCase = E, e.pascalCaseFilename = w, e.sanitizeUrl = _, e.getAcceptControllingResponse = S, e.deeplyStripKey = A; var R = n(167), z = r(R), U = n(207), J = n(473), X = r(J), q = n(188), K = r(q), W = n(187), Y = r(W), H = n(476), V = r(H), G = n(482), $ = r(G), Z = n(77), Q = r(Z), tt = n(212), et = n(125), nt = r(et), rt = n(326), it = r(rt), ot = "default", st = e.isImmutable = function (t) { return z.default.Iterable.isIterable(t); }, at = (e.memoize = Y.default, e.propChecker = function (t, e) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : [], r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : []; return (0, j.default)(t).length !== (0, j.default)(e).length || ((0, $.default)(t, function (t, n) { if (r.includes(n))
|
||
return !1; var i = e[n]; return z.default.Iterable.isIterable(t) ? !z.default.is(t, i) : ("object" !== (void 0 === t ? "undefined" : (0, L.default)(t)) || "object" !== (void 0 === i ? "undefined" : (0, L.default)(i))) && t !== i; }) || n.some(function (n) { return !(0, Q.default)(t[n], e[n]); })); }, e.validateMaximum = function (t, e) { if (t > e)
|
||
return "Value must be less than Maximum"; }), ut = e.validateMinimum = function (t, e) { if (t < e)
|
||
return "Value must be greater than Minimum"; }, ct = e.validateNumber = function (t) { if (!/^-?\d+(\.?\d+)?$/.test(t))
|
||
return "Value must be a number"; }, lt = e.validateInteger = function (t) { if (!/^-?\d+$/.test(t))
|
||
return "Value must be an integer"; }, ht = e.validateFile = function (t) { if (t && !(t instanceof nt.default.File))
|
||
return "Value must be a file"; }, ft = e.validateBoolean = function (t) { if ("true" !== t && "false" !== t && !0 !== t && !1 !== t)
|
||
return "Value must be a boolean"; }, pt = e.validateString = function (t) { if (t && "string" != typeof t)
|
||
return "Value must be a string"; }, dt = e.validateDateTime = function (t) { if (isNaN(Date.parse(t)))
|
||
return "Value must be a DateTime"; }, mt = e.validateGuid = function (t) { if (t = t.toString().toLowerCase(), !/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(t))
|
||
return "Value must be a Guid"; }, vt = e.validateMaxLength = function (t, e) { if (t.length > e)
|
||
return "Value must be less than MaxLength"; }, yt = e.validateMinLength = function (t, e) { if (t.length < e)
|
||
return "Value must be greater than MinLength"; }, gt = e.validatePattern = function (t, e) { if (!new RegExp(e).test(t))
|
||
return "Value must follow pattern " + e; }, xt = (e.validateParam = function (t, e) { var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], r = [], i = e && "body" === t.get("in") ? t.get("value_xml") : t.get("value"), o = t.get("required"), s = n ? t.get("schema") : t; if (!s)
|
||
return r; var a = s.get("maximum"), u = s.get("minimum"), c = s.get("type"), l = s.get("format"), h = s.get("maxLength"), f = s.get("minLength"), p = s.get("pattern"); if (c && (o || i)) {
|
||
var d = "string" === c && i, m = "array" === c && Array.isArray(i) && i.length, v = "array" === c && z.default.List.isList(i) && i.count(), y = "file" === c && i instanceof nt.default.File, g = "boolean" === c && (i || !1 === i), x = "number" === c && (i || 0 === i), b = "integer" === c && (i || 0 === i);
|
||
if (o && !(d || m || v || y || g || x || b))
|
||
return r.push("Required field is not provided"), r;
|
||
if (p) {
|
||
var D = gt(i, p);
|
||
D && r.push(D);
|
||
}
|
||
if (h || 0 === h) {
|
||
var E = vt(i, h);
|
||
E && r.push(E);
|
||
}
|
||
if (f) {
|
||
var w = yt(i, f);
|
||
w && r.push(w);
|
||
}
|
||
if (a || 0 === a) {
|
||
var _ = at(i, a);
|
||
_ && r.push(_);
|
||
}
|
||
if (u || 0 === u) {
|
||
var S = ut(i, u);
|
||
S && r.push(S);
|
||
}
|
||
if ("string" === c) {
|
||
var A = void 0;
|
||
if (!(A = "date-time" === l ? dt(i) : "uuid" === l ? mt(i) : pt(i)))
|
||
return r;
|
||
r.push(A);
|
||
}
|
||
else if ("boolean" === c) {
|
||
var C = ft(i);
|
||
if (!C)
|
||
return r;
|
||
r.push(C);
|
||
}
|
||
else if ("number" === c) {
|
||
var k = ct(i);
|
||
if (!k)
|
||
return r;
|
||
r.push(k);
|
||
}
|
||
else if ("integer" === c) {
|
||
var F = lt(i);
|
||
if (!F)
|
||
return r;
|
||
r.push(F);
|
||
}
|
||
else if ("array" === c) {
|
||
var T = void 0;
|
||
if (!v || !i.count())
|
||
return r;
|
||
T = s.getIn(["items", "type"]), i.forEach(function (t, e) { var n = void 0; "number" === T ? n = ct(t) : "integer" === T ? n = lt(t) : "string" === T && (n = pt(t)), n && r.push({ index: e, error: n }); });
|
||
}
|
||
else if ("file" === c) {
|
||
var I = ht(i);
|
||
if (!I)
|
||
return r;
|
||
r.push(I);
|
||
}
|
||
} return r; }, e.getSampleSchema = function (t) { var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "", n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; if (/xml/.test(e)) {
|
||
if (!t.xml || !t.xml.name) {
|
||
if (t.xml = t.xml || {}, !t.$$ref)
|
||
return t.type || t.items || t.properties || t.additionalProperties ? '<?xml version="1.0" encoding="UTF-8"?>\n\x3c!-- XML example cannot be generated --\x3e' : null;
|
||
var r = t.$$ref.match(/\S*\/(\S+)$/);
|
||
t.xml.name = r[1];
|
||
}
|
||
return (0, tt.memoizedCreateXMLExample)(t, n);
|
||
} return (0, k.default)((0, tt.memoizedSampleFromSchema)(t, n), null, 2); }, e.parseSearch = function () { var t = {}, e = nt.default.location.search; if (!e)
|
||
return {}; if ("" != e) {
|
||
var n = e.substr(1).split("&");
|
||
for (var r in n)
|
||
n.hasOwnProperty(r) && (r = n[r].split("="), t[decodeURIComponent(r[0])] = r[1] && decodeURIComponent(r[1]) || "");
|
||
} return t; }, e.serializeSearch = function (t) { return (0, j.default)(t).map(function (e) { return encodeURIComponent(e) + "=" + encodeURIComponent(t[e]); }).join("&"); }, e.btoa = function (e) { var n = void 0; return n = e instanceof t ? e : new t(e.toString(), "utf-8"), n.toString("base64"); }, e.sorters = { operationsSorter: { alpha: function (t, e) { return t.get("path").localeCompare(e.get("path")); }, method: function (t, e) { return t.get("method").localeCompare(e.get("method")); } }, tagsSorter: { alpha: function (t, e) { return t.localeCompare(e); } } }, e.buildFormData = function (t) { var e = []; for (var n in t) {
|
||
var r = t[n];
|
||
void 0 !== r && "" !== r && e.push([n, "=", encodeURIComponent(r).replace(/%20/g, "+")].join(""));
|
||
} return e.join("&"); }, e.shallowEqualKeys = function (t, e, n) { return !!(0, V.default)(n, function (n) { return (0, Q.default)(t[n], e[n]); }); }, e.createDeepLinkPath = function (t) { return "string" == typeof t || t instanceof String ? t.trim().replace(/\s/g, "_") : ""; }); e.escapeDeepLinkPath = function (t) { return (0, it.default)(xt(t)); }, e.getExtensions = function (t) { return t.filter(function (t, e) { return /^x-/.test(e); }); }, e.getCommonExtensions = function (t) { return t.filter(function (t, e) { return /^pattern|maxLength|minLength|maximum|minimum/.test(e); }); }; }).call(e, n(54).Buffer);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(84), i = function (t) { return t && t.__esModule ? t : { default: t }; }(r);
|
||
t.exports = function () { var t = { location: {}, history: {}, open: function () { }, close: function () { }, File: function () { } }; if ("undefined" == typeof window)
|
||
return t; try {
|
||
t = window;
|
||
var e = ["File", "Blob", "FormData"], n = !0, r = !1, o = void 0;
|
||
try {
|
||
for (var s, a = (0, i.default)(e); !(n = (s = a.next()).done); n = !0) {
|
||
var u = s.value;
|
||
u in window && (t[u] = window[u]);
|
||
}
|
||
}
|
||
catch (t) {
|
||
r = !0, o = t;
|
||
}
|
||
finally {
|
||
try {
|
||
!n && a.return && a.return();
|
||
}
|
||
finally {
|
||
if (r)
|
||
throw o;
|
||
}
|
||
}
|
||
}
|
||
catch (t) {
|
||
console.error(t);
|
||
} return t; }();
|
||
}, function (t, e, n) { t.exports = { default: n(233), __esModule: !0 }; }, function (t, e, n) { t.exports = { default: n(234), __esModule: !0 }; }, function (t, e, n) {
|
||
"use strict";
|
||
e.__esModule = !0, e.default = function (t, e) { if (!(t instanceof e))
|
||
throw new TypeError("Cannot call a class as a function"); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
e.__esModule = !0;
|
||
var r = n(126), i = function (t) { return t && t.__esModule ? t : { default: t }; }(r);
|
||
e.default = function () { function t(t, e) { for (var n = 0; n < e.length; n++) {
|
||
var r = e[n];
|
||
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), (0, i.default)(t, r.key, r);
|
||
} } return function (e, n, r) { return n && t(e.prototype, n), r && t(e, r), e; }; }();
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
e.__esModule = !0;
|
||
var r = n(126), i = function (t) { return t && t.__esModule ? t : { default: t }; }(r);
|
||
e.default = function (t, e, n) { return e in t ? (0, i.default)(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return t && t.__esModule ? t : { default: t }; }
|
||
e.__esModule = !0;
|
||
var i = n(221), o = r(i), s = n(219), a = r(s), u = n(85), c = r(u);
|
||
e.default = function (t, e) { if ("function" != typeof e && null !== e)
|
||
throw new TypeError("Super expression must either be null or a function, not " + (void 0 === e ? "undefined" : (0, c.default)(e))); t.prototype = (0, a.default)(e && e.prototype, { constructor: { value: t, enumerable: !1, writable: !0, configurable: !0 } }), e && (o.default ? (0, o.default)(t, e) : t.__proto__ = e); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
e.__esModule = !0;
|
||
var r = n(85), i = function (t) { return t && t.__esModule ? t : { default: t }; }(r);
|
||
e.default = function (t, e) { if (!t)
|
||
throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return !e || "object" !== (void 0 === e ? "undefined" : (0, i.default)(e)) && "function" != typeof e ? t : e; };
|
||
}, function (t, e, n) { var r = n(86), i = n(6)("toStringTag"), o = "Arguments" == r(function () { return arguments; }()), s = function (t, e) { try {
|
||
return t[e];
|
||
}
|
||
catch (t) { } }; t.exports = function (t) { var e, n, a; return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof (n = s(e = Object(t), i)) ? n : o ? r(e) : "Object" == (a = r(e)) && "function" == typeof e.callee ? "Arguments" : a; }; }, function (t, e, n) { var r = n(239); t.exports = function (t, e, n) { if (r(t), void 0 === e)
|
||
return t; switch (n) {
|
||
case 1: return function (n) { return t.call(e, n); };
|
||
case 2: return function (n, r) { return t.call(e, n, r); };
|
||
case 3: return function (n, r, i) { return t.call(e, n, r, i); };
|
||
} return function () { return t.apply(e, arguments); }; }; }, function (t, e, n) { var r = n(27), i = n(9).document, o = r(i) && r(i.createElement); t.exports = function (t) { return o ? i.createElement(t) : {}; }; }, function (t, e, n) { t.exports = !n(13) && !n(25)(function () { return 7 != Object.defineProperty(n(135)("div"), "a", { get: function () { return 7; } }).a; }); }, function (t, e, n) { var r = n(86); t.exports = Object("z").propertyIsEnumerable(0) ? Object : function (t) { return "String" == r(t) ? t.split("") : Object(t); }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(89), i = n(14), o = n(144), s = n(26), a = n(38), u = n(245), c = n(92), l = n(141), h = n(6)("iterator"), f = !([].keys && "next" in [].keys()), p = function () { return this; };
|
||
t.exports = function (t, e, n, d, m, v, y) { u(n, e, d); var g, x, b, D = function (t) { if (!f && t in S)
|
||
return S[t]; switch (t) {
|
||
case "keys":
|
||
case "values": return function () { return new n(this, t); };
|
||
} return function () { return new n(this, t); }; }, E = e + " Iterator", w = "values" == m, _ = !1, S = t.prototype, A = S[h] || S["@@iterator"] || m && S[m], C = A || D(m), k = m ? w ? D("entries") : C : void 0, F = "Array" == e ? S.entries || A : A; if (F && (b = l(F.call(new t))) !== Object.prototype && b.next && (c(b, E, !0), r || "function" == typeof b[h] || s(b, h, p)), w && A && "values" !== A.name && (_ = !0, C = function () { return A.call(this); }), r && !y || !f && !_ && S[h] || s(S, h, C), a[e] = C, a[E] = p, m)
|
||
if (g = { values: w ? C : D("values"), keys: v ? C : D("keys"), entries: k }, y)
|
||
for (x in g)
|
||
x in S || o(S, x, g[x]);
|
||
else
|
||
i(i.P + i.F * (f || _), e, g); return g; };
|
||
}, function (t, e, n) { var r = n(55), i = n(56), o = n(28), s = n(96), a = n(15), u = n(136), c = Object.getOwnPropertyDescriptor; e.f = n(13) ? c : function (t, e) { if (t = o(t), e = s(e, !0), u)
|
||
try {
|
||
return c(t, e);
|
||
}
|
||
catch (t) { } if (a(t, e))
|
||
return i(!r.f.call(t, e), t[e]); }; }, function (t, e, n) { var r = n(142), i = n(88).concat("length", "prototype"); e.f = Object.getOwnPropertyNames || function (t) { return r(t, i); }; }, function (t, e, n) { var r = n(15), i = n(57), o = n(93)("IE_PROTO"), s = Object.prototype; t.exports = Object.getPrototypeOf || function (t) { return t = i(t), r(t, o) ? t[o] : "function" == typeof t.constructor && t instanceof t.constructor ? t.constructor.prototype : t instanceof Object ? s : null; }; }, function (t, e, n) { var r = n(15), i = n(28), o = n(241)(!1), s = n(93)("IE_PROTO"); t.exports = function (t, e) { var n, a = i(t), u = 0, c = []; for (n in a)
|
||
n != s && r(a, n) && c.push(n); for (; e.length > u;)
|
||
r(a, n = e[u++]) && (~o(c, n) || c.push(n)); return c; }; }, function (t, e, n) { var r = n(14), i = n(2), o = n(25); t.exports = function (t, e) { var n = (i.Object || {})[t] || Object[t], s = {}; s[t] = e(n), r(r.S + r.F * o(function () { n(1); }), "Object", s); }; }, function (t, e, n) { t.exports = n(26); }, function (t, e) { t.exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","); }, function (t, e, n) { var r = n(5).document; t.exports = r && r.documentElement; }, function (t, e, n) { var r = n(29), i = n(40), o = n(1)("match"); t.exports = function (t) { var e; return r(t) && (void 0 !== (e = t[o]) ? !!e : "RegExp" == i(t)); }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(149), i = n(3), o = n(30), s = n(19), a = n(43), u = n(278), c = n(105), l = n(284), h = n(1)("iterator"), f = !([].keys && "next" in [].keys()), p = function () { return this; };
|
||
t.exports = function (t, e, n, d, m, v, y) { u(n, e, d); var g, x, b, D = function (t) { if (!f && t in S)
|
||
return S[t]; switch (t) {
|
||
case "keys":
|
||
case "values": return function () { return new n(this, t); };
|
||
} return function () { return new n(this, t); }; }, E = e + " Iterator", w = "values" == m, _ = !1, S = t.prototype, A = S[h] || S["@@iterator"] || m && S[m], C = A || D(m), k = m ? w ? D("entries") : C : void 0, F = "Array" == e ? S.entries || A : A; if (F && (b = l(F.call(new t))) !== Object.prototype && b.next && (c(b, E, !0), r || "function" == typeof b[h] || s(b, h, p)), w && A && "values" !== A.name && (_ = !0, C = function () { return A.call(this); }), r && !y || !f && !_ && S[h] || s(S, h, C), a[e] = C, a[E] = p, m)
|
||
if (g = { values: w ? C : D("values"), keys: v ? C : D("keys"), entries: k }, y)
|
||
for (x in g)
|
||
x in S || o(S, x, g[x]);
|
||
else
|
||
i(i.P + i.F * (f || _), e, g); return g; };
|
||
}, function (t, e) { t.exports = !1; }, function (t, e, n) { var r = n(285), i = n(145); t.exports = Object.keys || function (t) { return r(t, i); }; }, function (t, e) { t.exports = function (t) { try {
|
||
return { e: !1, v: t() };
|
||
}
|
||
catch (t) {
|
||
return { e: !0, v: t };
|
||
} }; }, function (t, e, n) { var r = n(17), i = n(29), o = n(104); t.exports = function (t, e) { if (r(t), i(e) && e.constructor === t)
|
||
return e; var n = o.f(t); return (0, n.resolve)(e), n.promise; }; }, function (t, e) { t.exports = function (t, e) { return { enumerable: !(1 & t), configurable: !(2 & t), writable: !(4 & t), value: e }; }; }, function (t, e, n) { var r = n(5), i = r["__core-js_shared__"] || (r["__core-js_shared__"] = {}); t.exports = function (t) { return i[t] || (i[t] = {}); }; }, function (t, e, n) { var r = n(17), i = n(59), o = n(1)("species"); t.exports = function (t, e) { var n, s = r(t).constructor; return void 0 === s || void 0 == (n = r(s)[o]) ? e : i(n); }; }, function (t, e, n) { var r = n(64), i = n(10); t.exports = function (t) { return function (e, n) { var o, s, a = String(i(e)), u = r(n), c = a.length; return u < 0 || u >= c ? t ? "" : void 0 : (o = a.charCodeAt(u), o < 55296 || o > 56319 || u + 1 === c || (s = a.charCodeAt(u + 1)) < 56320 || s > 57343 ? t ? a.charAt(u) : o : t ? a.slice(u, u + 2) : s - 56320 + (o - 55296 << 10) + 65536); }; }; }, function (t, e, n) { var r, i, o, s = n(60), a = n(274), u = n(146), c = n(102), l = n(5), h = l.process, f = l.setImmediate, p = l.clearImmediate, d = l.MessageChannel, m = l.Dispatch, v = 0, y = {}, g = function () { var t = +this; if (y.hasOwnProperty(t)) {
|
||
var e = y[t];
|
||
delete y[t], e();
|
||
} }, x = function (t) { g.call(t.data); }; f && p || (f = function (t) { for (var e = [], n = 1; arguments.length > n;)
|
||
e.push(arguments[n++]); return y[++v] = function () { a("function" == typeof t ? t : Function(t), e); }, r(v), v; }, p = function (t) { delete y[t]; }, "process" == n(40)(h) ? r = function (t) { h.nextTick(s(g, t, 1)); } : m && m.now ? r = function (t) { m.now(s(g, t, 1)); } : d ? (i = new d, o = i.port2, i.port1.onmessage = x, r = s(o.postMessage, o, 1)) : l.addEventListener && "function" == typeof postMessage && !l.importScripts ? (r = function (t) { l.postMessage(t + "", "*"); }, l.addEventListener("message", x, !1)) : r = "onreadystatechange" in c("script") ? function (t) { u.appendChild(c("script")).onreadystatechange = function () { u.removeChild(this), g.call(t); }; } : function (t) { setTimeout(s(g, t, 1), 0); }), t.exports = { set: f, clear: p }; }, function (t, e, n) { var r = n(64), i = Math.max, o = Math.min; t.exports = function (t, e) { return t = r(t), t < 0 ? i(t + e, 0) : o(t, e); }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(156)(!0);
|
||
n(148)(String, "String", function (t) { this._t = String(t), this._i = 0; }, function () { var t, e = this._t, n = this._i; return n >= e.length ? { value: void 0, done: !0 } : (t = r(e, n), this._i += t.length, { value: t, done: !1 }); });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r, i, o, s, a = n(20), u = function (t, e) { return e; };
|
||
try {
|
||
Object.defineProperty(u, "length", { configurable: !0, writable: !1, enumerable: !1, value: 1 });
|
||
}
|
||
catch (t) { }
|
||
1 === u.length ? (r = { configurable: !0, writable: !1, enumerable: !1 }, i = Object.defineProperty, t.exports = function (t, e) { return e = a(e), t.length === e ? t : (r.value = e, i(t, "length", r)); }) : (s = n(164), o = function () { var t = []; return function (e) { var n, r = 0; if (t[e])
|
||
return t[e]; for (n = []; e--;)
|
||
n.push("a" + (++r).toString(36)); return new Function("fn", "return function (" + n.join(", ") + ") { return fn.apply(this, arguments); };"); }; }(), t.exports = function (t, e) { var n; if (e = a(e), t.length === e)
|
||
return t; n = o(e)(t); try {
|
||
s(n, t);
|
||
}
|
||
catch (t) { } return n; });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = function () { };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = n(341)() ? Object.assign : n(342);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(11), i = n(67), o = Function.prototype.call;
|
||
t.exports = function (t, e) { var n = {}, s = arguments[2]; return r(e), i(t, function (t, r, i, a) { n[r] = o.call(e, s, t, r, i, a); }), n; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(46), i = Object.defineProperty, o = Object.getOwnPropertyDescriptor, s = Object.getOwnPropertyNames, a = Object.getOwnPropertySymbols;
|
||
t.exports = function (t, e) { var n, u = Object(r(e)); if (t = Object(r(t)), s(u).forEach(function (r) { try {
|
||
i(t, r, o(e, r));
|
||
}
|
||
catch (t) {
|
||
n = t;
|
||
} }), "function" == typeof a && a(u).forEach(function (r) { try {
|
||
i(t, r, o(e, r));
|
||
}
|
||
catch (t) {
|
||
n = t;
|
||
} }), void 0 !== n)
|
||
throw n; return t; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(31), i = Array.prototype.forEach, o = Object.create, s = function (t, e) { var n; for (n in t)
|
||
e[n] = t[n]; };
|
||
t.exports = function (t) { var e = o(null); return i.call(arguments, function (t) { r(t) && s(Object(t), e); }), e; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = {};
|
||
t.exports = r;
|
||
}, function (t, e, n) { !function (e, n) { t.exports = n(); }(0, function () {
|
||
"use strict";
|
||
function t(t, e) { e && (t.prototype = Object.create(e.prototype)), t.prototype.constructor = t; }
|
||
function e(t) { return o(t) ? t : F(t); }
|
||
function n(t) { return s(t) ? t : T(t); }
|
||
function r(t) { return a(t) ? t : I(t); }
|
||
function i(t) { return o(t) && !u(t) ? t : O(t); }
|
||
function o(t) { return !(!t || !t[cn]); }
|
||
function s(t) { return !(!t || !t[ln]); }
|
||
function a(t) { return !(!t || !t[hn]); }
|
||
function u(t) { return s(t) || a(t); }
|
||
function c(t) { return !(!t || !t[fn]); }
|
||
function l(t) { return t.value = !1, t; }
|
||
function h(t) { t && (t.value = !0); }
|
||
function f() { }
|
||
function p(t, e) { e = e || 0; for (var n = Math.max(0, t.length - e), r = new Array(n), i = 0; i < n; i++)
|
||
r[i] = t[i + e]; return r; }
|
||
function d(t) { return void 0 === t.size && (t.size = t.__iterate(v)), t.size; }
|
||
function m(t, e) { if ("number" != typeof e) {
|
||
var n = e >>> 0;
|
||
if ("" + n !== e || 4294967295 === n)
|
||
return NaN;
|
||
e = n;
|
||
} return e < 0 ? d(t) + e : e; }
|
||
function v() { return !0; }
|
||
function y(t, e, n) { return (0 === t || void 0 !== n && t <= -n) && (void 0 === e || void 0 !== n && e >= n); }
|
||
function g(t, e) { return b(t, e, 0); }
|
||
function x(t, e) { return b(t, e, e); }
|
||
function b(t, e, n) { return void 0 === t ? n : t < 0 ? Math.max(0, e + t) : void 0 === e ? t : Math.min(e, t); }
|
||
function D(t) { this.next = t; }
|
||
function E(t, e, n, r) { var i = 0 === t ? e : 1 === t ? n : [e, n]; return r ? r.value = i : r = { value: i, done: !1 }, r; }
|
||
function w() { return { value: void 0, done: !0 }; }
|
||
function _(t) { return !!C(t); }
|
||
function S(t) { return t && "function" == typeof t.next; }
|
||
function A(t) { var e = C(t); return e && e.call(t); }
|
||
function C(t) { var e = t && (En && t[En] || t[wn]); if ("function" == typeof e)
|
||
return e; }
|
||
function k(t) { return t && "number" == typeof t.length; }
|
||
function F(t) { return null === t || void 0 === t ? L() : o(t) ? t.toSeq() : U(t); }
|
||
function T(t) { return null === t || void 0 === t ? L().toKeyedSeq() : o(t) ? s(t) ? t.toSeq() : t.fromEntrySeq() : R(t); }
|
||
function I(t) { return null === t || void 0 === t ? L() : o(t) ? s(t) ? t.entrySeq() : t.toIndexedSeq() : z(t); }
|
||
function O(t) { return (null === t || void 0 === t ? L() : o(t) ? s(t) ? t.entrySeq() : t : z(t)).toSetSeq(); }
|
||
function M(t) { this._array = t, this.size = t.length; }
|
||
function B(t) { var e = Object.keys(t); this._object = t, this._keys = e, this.size = e.length; }
|
||
function P(t) { this._iterable = t, this.size = t.length || t.size; }
|
||
function j(t) { this._iterator = t, this._iteratorCache = []; }
|
||
function N(t) { return !(!t || !t[Sn]); }
|
||
function L() { return An || (An = new M([])); }
|
||
function R(t) { var e = Array.isArray(t) ? new M(t).fromEntrySeq() : S(t) ? new j(t).fromEntrySeq() : _(t) ? new P(t).fromEntrySeq() : "object" == typeof t ? new B(t) : void 0; if (!e)
|
||
throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: " + t); return e; }
|
||
function z(t) { var e = J(t); if (!e)
|
||
throw new TypeError("Expected Array or iterable object of values: " + t); return e; }
|
||
function U(t) { var e = J(t) || "object" == typeof t && new B(t); if (!e)
|
||
throw new TypeError("Expected Array or iterable object of values, or keyed object: " + t); return e; }
|
||
function J(t) { return k(t) ? new M(t) : S(t) ? new j(t) : _(t) ? new P(t) : void 0; }
|
||
function X(t, e, n, r) { var i = t._cache; if (i) {
|
||
for (var o = i.length - 1, s = 0; s <= o; s++) {
|
||
var a = i[n ? o - s : s];
|
||
if (!1 === e(a[1], r ? a[0] : s, t))
|
||
return s + 1;
|
||
}
|
||
return s;
|
||
} return t.__iterateUncached(e, n); }
|
||
function q(t, e, n, r) { var i = t._cache; if (i) {
|
||
var o = i.length - 1, s = 0;
|
||
return new D(function () { var t = i[n ? o - s : s]; return s++ > o ? w() : E(e, r ? t[0] : s - 1, t[1]); });
|
||
} return t.__iteratorUncached(e, n); }
|
||
function K(t, e) { return e ? W(e, t, "", { "": t }) : Y(t); }
|
||
function W(t, e, n, r) { return Array.isArray(e) ? t.call(r, n, I(e).map(function (n, r) { return W(t, n, r, e); })) : H(e) ? t.call(r, n, T(e).map(function (n, r) { return W(t, n, r, e); })) : e; }
|
||
function Y(t) { return Array.isArray(t) ? I(t).map(Y).toList() : H(t) ? T(t).map(Y).toMap() : t; }
|
||
function H(t) { return t && (t.constructor === Object || void 0 === t.constructor); }
|
||
function V(t, e) { if (t === e || t !== t && e !== e)
|
||
return !0; if (!t || !e)
|
||
return !1; if ("function" == typeof t.valueOf && "function" == typeof e.valueOf) {
|
||
if (t = t.valueOf(), e = e.valueOf(), t === e || t !== t && e !== e)
|
||
return !0;
|
||
if (!t || !e)
|
||
return !1;
|
||
} return !("function" != typeof t.equals || "function" != typeof e.equals || !t.equals(e)); }
|
||
function G(t, e) { if (t === e)
|
||
return !0; if (!o(e) || void 0 !== t.size && void 0 !== e.size && t.size !== e.size || void 0 !== t.__hash && void 0 !== e.__hash && t.__hash !== e.__hash || s(t) !== s(e) || a(t) !== a(e) || c(t) !== c(e))
|
||
return !1; if (0 === t.size && 0 === e.size)
|
||
return !0; var n = !u(t); if (c(t)) {
|
||
var r = t.entries();
|
||
return e.every(function (t, e) { var i = r.next().value; return i && V(i[1], t) && (n || V(i[0], e)); }) && r.next().done;
|
||
} var i = !1; if (void 0 === t.size)
|
||
if (void 0 === e.size)
|
||
"function" == typeof t.cacheResult && t.cacheResult();
|
||
else {
|
||
i = !0;
|
||
var l = t;
|
||
t = e, e = l;
|
||
} var h = !0, f = e.__iterate(function (e, r) { if (n ? !t.has(e) : i ? !V(e, t.get(r, vn)) : !V(t.get(r, vn), e))
|
||
return h = !1, !1; }); return h && t.size === f; }
|
||
function $(t, e) { if (!(this instanceof $))
|
||
return new $(t, e); if (this._value = t, this.size = void 0 === e ? 1 / 0 : Math.max(0, e), 0 === this.size) {
|
||
if (Cn)
|
||
return Cn;
|
||
Cn = this;
|
||
} }
|
||
function Z(t, e) { if (!t)
|
||
throw new Error(e); }
|
||
function Q(t, e, n) { if (!(this instanceof Q))
|
||
return new Q(t, e, n); if (Z(0 !== n, "Cannot step a Range by 0"), t = t || 0, void 0 === e && (e = 1 / 0), n = void 0 === n ? 1 : Math.abs(n), e < t && (n = -n), this._start = t, this._end = e, this._step = n, this.size = Math.max(0, Math.ceil((e - t) / n - 1) + 1), 0 === this.size) {
|
||
if (kn)
|
||
return kn;
|
||
kn = this;
|
||
} }
|
||
function tt() { throw TypeError("Abstract"); }
|
||
function et() { }
|
||
function nt() { }
|
||
function rt() { }
|
||
function it(t) { return t >>> 1 & 1073741824 | 3221225471 & t; }
|
||
function ot(t) { if (!1 === t || null === t || void 0 === t)
|
||
return 0; if ("function" == typeof t.valueOf && (!1 === (t = t.valueOf()) || null === t || void 0 === t))
|
||
return 0; if (!0 === t)
|
||
return 1; var e = typeof t; if ("number" === e) {
|
||
if (t !== t || t === 1 / 0)
|
||
return 0;
|
||
var n = 0 | t;
|
||
for (n !== t && (n ^= 4294967295 * t); t > 4294967295;)
|
||
t /= 4294967295, n ^= t;
|
||
return it(n);
|
||
} if ("string" === e)
|
||
return t.length > jn ? st(t) : at(t); if ("function" == typeof t.hashCode)
|
||
return t.hashCode(); if ("object" === e)
|
||
return ut(t); if ("function" == typeof t.toString)
|
||
return at(t.toString()); throw new Error("Value type " + e + " cannot be hashed."); }
|
||
function st(t) { var e = Rn[t]; return void 0 === e && (e = at(t), Ln === Nn && (Ln = 0, Rn = {}), Ln++, Rn[t] = e), e; }
|
||
function at(t) { for (var e = 0, n = 0; n < t.length; n++)
|
||
e = 31 * e + t.charCodeAt(n) | 0; return it(e); }
|
||
function ut(t) { var e; if (Mn && void 0 !== (e = Fn.get(t)))
|
||
return e; if (void 0 !== (e = t[Pn]))
|
||
return e; if (!On) {
|
||
if (void 0 !== (e = t.propertyIsEnumerable && t.propertyIsEnumerable[Pn]))
|
||
return e;
|
||
if (void 0 !== (e = ct(t)))
|
||
return e;
|
||
} if (e = ++Bn, 1073741824 & Bn && (Bn = 0), Mn)
|
||
Fn.set(t, e);
|
||
else {
|
||
if (void 0 !== In && !1 === In(t))
|
||
throw new Error("Non-extensible objects are not allowed as keys.");
|
||
if (On)
|
||
Object.defineProperty(t, Pn, { enumerable: !1, configurable: !1, writable: !1, value: e });
|
||
else if (void 0 !== t.propertyIsEnumerable && t.propertyIsEnumerable === t.constructor.prototype.propertyIsEnumerable)
|
||
t.propertyIsEnumerable = function () { return this.constructor.prototype.propertyIsEnumerable.apply(this, arguments); }, t.propertyIsEnumerable[Pn] = e;
|
||
else {
|
||
if (void 0 === t.nodeType)
|
||
throw new Error("Unable to set a non-enumerable property on object.");
|
||
t[Pn] = e;
|
||
}
|
||
} return e; }
|
||
function ct(t) { if (t && t.nodeType > 0)
|
||
switch (t.nodeType) {
|
||
case 1: return t.uniqueID;
|
||
case 9: return t.documentElement && t.documentElement.uniqueID;
|
||
} }
|
||
function lt(t) { Z(t !== 1 / 0, "Cannot perform this action with an infinite size."); }
|
||
function ht(t) { return null === t || void 0 === t ? Et() : ft(t) && !c(t) ? t : Et().withMutations(function (e) { var r = n(t); lt(r.size), r.forEach(function (t, n) { return e.set(n, t); }); }); }
|
||
function ft(t) { return !(!t || !t[zn]); }
|
||
function pt(t, e) { this.ownerID = t, this.entries = e; }
|
||
function dt(t, e, n) { this.ownerID = t, this.bitmap = e, this.nodes = n; }
|
||
function mt(t, e, n) { this.ownerID = t, this.count = e, this.nodes = n; }
|
||
function vt(t, e, n) { this.ownerID = t, this.keyHash = e, this.entries = n; }
|
||
function yt(t, e, n) { this.ownerID = t, this.keyHash = e, this.entry = n; }
|
||
function gt(t, e, n) { this._type = e, this._reverse = n, this._stack = t._root && bt(t._root); }
|
||
function xt(t, e) { return E(t, e[0], e[1]); }
|
||
function bt(t, e) { return { node: t, index: 0, __prev: e }; }
|
||
function Dt(t, e, n, r) { var i = Object.create(Un); return i.size = t, i._root = e, i.__ownerID = n, i.__hash = r, i.__altered = !1, i; }
|
||
function Et() { return Jn || (Jn = Dt(0)); }
|
||
function wt(t, e, n) { var r, i; if (t._root) {
|
||
var o = l(yn), s = l(gn);
|
||
if (r = _t(t._root, t.__ownerID, 0, void 0, e, n, o, s), !s.value)
|
||
return t;
|
||
i = t.size + (o.value ? n === vn ? -1 : 1 : 0);
|
||
}
|
||
else {
|
||
if (n === vn)
|
||
return t;
|
||
i = 1, r = new pt(t.__ownerID, [[e, n]]);
|
||
} return t.__ownerID ? (t.size = i, t._root = r, t.__hash = void 0, t.__altered = !0, t) : r ? Dt(i, r) : Et(); }
|
||
function _t(t, e, n, r, i, o, s, a) { return t ? t.update(e, n, r, i, o, s, a) : o === vn ? t : (h(a), h(s), new yt(e, r, [i, o])); }
|
||
function St(t) { return t.constructor === yt || t.constructor === vt; }
|
||
function At(t, e, n, r, i) { if (t.keyHash === r)
|
||
return new vt(e, r, [t.entry, i]); var o, s = (0 === n ? t.keyHash : t.keyHash >>> n) & mn, a = (0 === n ? r : r >>> n) & mn; return new dt(e, 1 << s | 1 << a, s === a ? [At(t, e, n + pn, r, i)] : (o = new yt(e, r, i), s < a ? [t, o] : [o, t])); }
|
||
function Ct(t, e, n, r) { t || (t = new f); for (var i = new yt(t, ot(n), [n, r]), o = 0; o < e.length; o++) {
|
||
var s = e[o];
|
||
i = i.update(t, 0, void 0, s[0], s[1]);
|
||
} return i; }
|
||
function kt(t, e, n, r) { for (var i = 0, o = 0, s = new Array(n), a = 0, u = 1, c = e.length; a < c; a++, u <<= 1) {
|
||
var l = e[a];
|
||
void 0 !== l && a !== r && (i |= u, s[o++] = l);
|
||
} return new dt(t, i, s); }
|
||
function Ft(t, e, n, r, i) { for (var o = 0, s = new Array(dn), a = 0; 0 !== n; a++, n >>>= 1)
|
||
s[a] = 1 & n ? e[o++] : void 0; return s[r] = i, new mt(t, o + 1, s); }
|
||
function Tt(t, e, r) { for (var i = [], s = 0; s < r.length; s++) {
|
||
var a = r[s], u = n(a);
|
||
o(a) || (u = u.map(function (t) { return K(t); })), i.push(u);
|
||
} return Mt(t, e, i); }
|
||
function It(t, e, n) { return t && t.mergeDeep && o(e) ? t.mergeDeep(e) : V(t, e) ? t : e; }
|
||
function Ot(t) { return function (e, n, r) { if (e && e.mergeDeepWith && o(n))
|
||
return e.mergeDeepWith(t, n); var i = t(e, n, r); return V(e, i) ? e : i; }; }
|
||
function Mt(t, e, n) { return n = n.filter(function (t) { return 0 !== t.size; }), 0 === n.length ? t : 0 !== t.size || t.__ownerID || 1 !== n.length ? t.withMutations(function (t) { for (var r = e ? function (n, r) { t.update(r, vn, function (t) { return t === vn ? n : e(t, n, r); }); } : function (e, n) { t.set(n, e); }, i = 0; i < n.length; i++)
|
||
n[i].forEach(r); }) : t.constructor(n[0]); }
|
||
function Bt(t, e, n, r) { var i = t === vn, o = e.next(); if (o.done) {
|
||
var s = i ? n : t, a = r(s);
|
||
return a === s ? t : a;
|
||
} Z(i || t && t.set, "invalid keyPath"); var u = o.value, c = i ? vn : t.get(u, vn), l = Bt(c, e, n, r); return l === c ? t : l === vn ? t.remove(u) : (i ? Et() : t).set(u, l); }
|
||
function Pt(t) { return t -= t >> 1 & 1431655765, t = (858993459 & t) + (t >> 2 & 858993459), t = t + (t >> 4) & 252645135, t += t >> 8, 127 & (t += t >> 16); }
|
||
function jt(t, e, n, r) { var i = r ? t : p(t); return i[e] = n, i; }
|
||
function Nt(t, e, n, r) { var i = t.length + 1; if (r && e + 1 === i)
|
||
return t[e] = n, t; for (var o = new Array(i), s = 0, a = 0; a < i; a++)
|
||
a === e ? (o[a] = n, s = -1) : o[a] = t[a + s]; return o; }
|
||
function Lt(t, e, n) { var r = t.length - 1; if (n && e === r)
|
||
return t.pop(), t; for (var i = new Array(r), o = 0, s = 0; s < r; s++)
|
||
s === e && (o = 1), i[s] = t[s + o]; return i; }
|
||
function Rt(t) { var e = qt(); if (null === t || void 0 === t)
|
||
return e; if (zt(t))
|
||
return t; var n = r(t), i = n.size; return 0 === i ? e : (lt(i), i > 0 && i < dn ? Xt(0, i, pn, null, new Ut(n.toArray())) : e.withMutations(function (t) { t.setSize(i), n.forEach(function (e, n) { return t.set(n, e); }); })); }
|
||
function zt(t) { return !(!t || !t[Wn]); }
|
||
function Ut(t, e) { this.array = t, this.ownerID = e; }
|
||
function Jt(t, e) { function n(t, e, n) { return 0 === e ? r(t, n) : i(t, e, n); } function r(t, n) { var r = n === a ? u && u.array : t && t.array, i = n > o ? 0 : o - n, c = s - n; return c > dn && (c = dn), function () { if (i === c)
|
||
return Vn; var t = e ? --c : i++; return r && r[t]; }; } function i(t, r, i) { var a, u = t && t.array, c = i > o ? 0 : o - i >> r, l = 1 + (s - i >> r); return l > dn && (l = dn), function () { for (;;) {
|
||
if (a) {
|
||
var t = a();
|
||
if (t !== Vn)
|
||
return t;
|
||
a = null;
|
||
}
|
||
if (c === l)
|
||
return Vn;
|
||
var o = e ? --l : c++;
|
||
a = n(u && u[o], r - pn, i + (o << r));
|
||
} }; } var o = t._origin, s = t._capacity, a = $t(s), u = t._tail; return n(t._root, t._level, 0); }
|
||
function Xt(t, e, n, r, i, o, s) { var a = Object.create(Yn); return a.size = e - t, a._origin = t, a._capacity = e, a._level = n, a._root = r, a._tail = i, a.__ownerID = o, a.__hash = s, a.__altered = !1, a; }
|
||
function qt() { return Hn || (Hn = Xt(0, 0, pn)); }
|
||
function Kt(t, e, n) { if ((e = m(t, e)) !== e)
|
||
return t; if (e >= t.size || e < 0)
|
||
return t.withMutations(function (t) { e < 0 ? Vt(t, e).set(0, n) : Vt(t, 0, e + 1).set(e, n); }); e += t._origin; var r = t._tail, i = t._root, o = l(gn); return e >= $t(t._capacity) ? r = Wt(r, t.__ownerID, 0, e, n, o) : i = Wt(i, t.__ownerID, t._level, e, n, o), o.value ? t.__ownerID ? (t._root = i, t._tail = r, t.__hash = void 0, t.__altered = !0, t) : Xt(t._origin, t._capacity, t._level, i, r) : t; }
|
||
function Wt(t, e, n, r, i, o) { var s = r >>> n & mn, a = t && s < t.array.length; if (!a && void 0 === i)
|
||
return t; var u; if (n > 0) {
|
||
var c = t && t.array[s], l = Wt(c, e, n - pn, r, i, o);
|
||
return l === c ? t : (u = Yt(t, e), u.array[s] = l, u);
|
||
} return a && t.array[s] === i ? t : (h(o), u = Yt(t, e), void 0 === i && s === u.array.length - 1 ? u.array.pop() : u.array[s] = i, u); }
|
||
function Yt(t, e) { return e && t && e === t.ownerID ? t : new Ut(t ? t.array.slice() : [], e); }
|
||
function Ht(t, e) { if (e >= $t(t._capacity))
|
||
return t._tail; if (e < 1 << t._level + pn) {
|
||
for (var n = t._root, r = t._level; n && r > 0;)
|
||
n = n.array[e >>> r & mn], r -= pn;
|
||
return n;
|
||
} }
|
||
function Vt(t, e, n) { void 0 !== e && (e |= 0), void 0 !== n && (n |= 0); var r = t.__ownerID || new f, i = t._origin, o = t._capacity, s = i + e, a = void 0 === n ? o : n < 0 ? o + n : i + n; if (s === i && a === o)
|
||
return t; if (s >= a)
|
||
return t.clear(); for (var u = t._level, c = t._root, l = 0; s + l < 0;)
|
||
c = new Ut(c && c.array.length ? [void 0, c] : [], r), u += pn, l += 1 << u; l && (s += l, i += l, a += l, o += l); for (var h = $t(o), p = $t(a); p >= 1 << u + pn;)
|
||
c = new Ut(c && c.array.length ? [c] : [], r), u += pn; var d = t._tail, m = p < h ? Ht(t, a - 1) : p > h ? new Ut([], r) : d; if (d && p > h && s < o && d.array.length) {
|
||
c = Yt(c, r);
|
||
for (var v = c, y = u; y > pn; y -= pn) {
|
||
var g = h >>> y & mn;
|
||
v = v.array[g] = Yt(v.array[g], r);
|
||
}
|
||
v.array[h >>> pn & mn] = d;
|
||
} if (a < o && (m = m && m.removeAfter(r, 0, a)), s >= p)
|
||
s -= p, a -= p, u = pn, c = null, m = m && m.removeBefore(r, 0, s);
|
||
else if (s > i || p < h) {
|
||
for (l = 0; c;) {
|
||
var x = s >>> u & mn;
|
||
if (x !== p >>> u & mn)
|
||
break;
|
||
x && (l += (1 << u) * x), u -= pn, c = c.array[x];
|
||
}
|
||
c && s > i && (c = c.removeBefore(r, u, s - l)), c && p < h && (c = c.removeAfter(r, u, p - l)), l && (s -= l, a -= l);
|
||
} return t.__ownerID ? (t.size = a - s, t._origin = s, t._capacity = a, t._level = u, t._root = c, t._tail = m, t.__hash = void 0, t.__altered = !0, t) : Xt(s, a, u, c, m); }
|
||
function Gt(t, e, n) { for (var i = [], s = 0, a = 0; a < n.length; a++) {
|
||
var u = n[a], c = r(u);
|
||
c.size > s && (s = c.size), o(u) || (c = c.map(function (t) { return K(t); })), i.push(c);
|
||
} return s > t.size && (t = t.setSize(s)), Mt(t, e, i); }
|
||
function $t(t) { return t < dn ? 0 : t - 1 >>> pn << pn; }
|
||
function Zt(t) { return null === t || void 0 === t ? ee() : Qt(t) ? t : ee().withMutations(function (e) { var r = n(t); lt(r.size), r.forEach(function (t, n) { return e.set(n, t); }); }); }
|
||
function Qt(t) { return ft(t) && c(t); }
|
||
function te(t, e, n, r) { var i = Object.create(Zt.prototype); return i.size = t ? t.size : 0, i._map = t, i._list = e, i.__ownerID = n, i.__hash = r, i; }
|
||
function ee() { return Gn || (Gn = te(Et(), qt())); }
|
||
function ne(t, e, n) { var r, i, o = t._map, s = t._list, a = o.get(e), u = void 0 !== a; if (n === vn) {
|
||
if (!u)
|
||
return t;
|
||
s.size >= dn && s.size >= 2 * o.size ? (i = s.filter(function (t, e) { return void 0 !== t && a !== e; }), r = i.toKeyedSeq().map(function (t) { return t[0]; }).flip().toMap(), t.__ownerID && (r.__ownerID = i.__ownerID = t.__ownerID)) : (r = o.remove(e), i = a === s.size - 1 ? s.pop() : s.set(a, void 0));
|
||
}
|
||
else if (u) {
|
||
if (n === s.get(a)[1])
|
||
return t;
|
||
r = o, i = s.set(a, [e, n]);
|
||
}
|
||
else
|
||
r = o.set(e, s.size), i = s.set(s.size, [e, n]); return t.__ownerID ? (t.size = r.size, t._map = r, t._list = i, t.__hash = void 0, t) : te(r, i); }
|
||
function re(t, e) { this._iter = t, this._useKeys = e, this.size = t.size; }
|
||
function ie(t) { this._iter = t, this.size = t.size; }
|
||
function oe(t) { this._iter = t, this.size = t.size; }
|
||
function se(t) { this._iter = t, this.size = t.size; }
|
||
function ae(t) { var e = ke(t); return e._iter = t, e.size = t.size, e.flip = function () { return t; }, e.reverse = function () { var e = t.reverse.apply(this); return e.flip = function () { return t.reverse(); }, e; }, e.has = function (e) { return t.includes(e); }, e.includes = function (e) { return t.has(e); }, e.cacheResult = Fe, e.__iterateUncached = function (e, n) { var r = this; return t.__iterate(function (t, n) { return !1 !== e(n, t, r); }, n); }, e.__iteratorUncached = function (e, n) { if (e === Dn) {
|
||
var r = t.__iterator(e, n);
|
||
return new D(function () { var t = r.next(); if (!t.done) {
|
||
var e = t.value[0];
|
||
t.value[0] = t.value[1], t.value[1] = e;
|
||
} return t; });
|
||
} return t.__iterator(e === bn ? xn : bn, n); }, e; }
|
||
function ue(t, e, n) { var r = ke(t); return r.size = t.size, r.has = function (e) { return t.has(e); }, r.get = function (r, i) { var o = t.get(r, vn); return o === vn ? i : e.call(n, o, r, t); }, r.__iterateUncached = function (r, i) { var o = this; return t.__iterate(function (t, i, s) { return !1 !== r(e.call(n, t, i, s), i, o); }, i); }, r.__iteratorUncached = function (r, i) { var o = t.__iterator(Dn, i); return new D(function () { var i = o.next(); if (i.done)
|
||
return i; var s = i.value, a = s[0]; return E(r, a, e.call(n, s[1], a, t), i); }); }, r; }
|
||
function ce(t, e) { var n = ke(t); return n._iter = t, n.size = t.size, n.reverse = function () { return t; }, t.flip && (n.flip = function () { var e = ae(t); return e.reverse = function () { return t.flip(); }, e; }), n.get = function (n, r) { return t.get(e ? n : -1 - n, r); }, n.has = function (n) { return t.has(e ? n : -1 - n); }, n.includes = function (e) { return t.includes(e); }, n.cacheResult = Fe, n.__iterate = function (e, n) { var r = this; return t.__iterate(function (t, n) { return e(t, n, r); }, !n); }, n.__iterator = function (e, n) { return t.__iterator(e, !n); }, n; }
|
||
function le(t, e, n, r) { var i = ke(t); return r && (i.has = function (r) { var i = t.get(r, vn); return i !== vn && !!e.call(n, i, r, t); }, i.get = function (r, i) { var o = t.get(r, vn); return o !== vn && e.call(n, o, r, t) ? o : i; }), i.__iterateUncached = function (i, o) { var s = this, a = 0; return t.__iterate(function (t, o, u) { if (e.call(n, t, o, u))
|
||
return a++, i(t, r ? o : a - 1, s); }, o), a; }, i.__iteratorUncached = function (i, o) { var s = t.__iterator(Dn, o), a = 0; return new D(function () { for (;;) {
|
||
var o = s.next();
|
||
if (o.done)
|
||
return o;
|
||
var u = o.value, c = u[0], l = u[1];
|
||
if (e.call(n, l, c, t))
|
||
return E(i, r ? c : a++, l, o);
|
||
} }); }, i; }
|
||
function he(t, e, n) { var r = ht().asMutable(); return t.__iterate(function (i, o) { r.update(e.call(n, i, o, t), 0, function (t) { return t + 1; }); }), r.asImmutable(); }
|
||
function fe(t, e, n) { var r = s(t), i = (c(t) ? Zt() : ht()).asMutable(); t.__iterate(function (o, s) { i.update(e.call(n, o, s, t), function (t) { return t = t || [], t.push(r ? [s, o] : o), t; }); }); var o = Ce(t); return i.map(function (e) { return _e(t, o(e)); }); }
|
||
function pe(t, e, n, r) { var i = t.size; if (void 0 !== e && (e |= 0), void 0 !== n && (n === 1 / 0 ? n = i : n |= 0), y(e, n, i))
|
||
return t; var o = g(e, i), s = x(n, i); if (o !== o || s !== s)
|
||
return pe(t.toSeq().cacheResult(), e, n, r); var a, u = s - o; u === u && (a = u < 0 ? 0 : u); var c = ke(t); return c.size = 0 === a ? a : t.size && a || void 0, !r && N(t) && a >= 0 && (c.get = function (e, n) { return e = m(this, e), e >= 0 && e < a ? t.get(e + o, n) : n; }), c.__iterateUncached = function (e, n) { var i = this; if (0 === a)
|
||
return 0; if (n)
|
||
return this.cacheResult().__iterate(e, n); var s = 0, u = !0, c = 0; return t.__iterate(function (t, n) { if (!u || !(u = s++ < o))
|
||
return c++, !1 !== e(t, r ? n : c - 1, i) && c !== a; }), c; }, c.__iteratorUncached = function (e, n) { if (0 !== a && n)
|
||
return this.cacheResult().__iterator(e, n); var i = 0 !== a && t.__iterator(e, n), s = 0, u = 0; return new D(function () { for (; s++ < o;)
|
||
i.next(); if (++u > a)
|
||
return w(); var t = i.next(); return r || e === bn ? t : e === xn ? E(e, u - 1, void 0, t) : E(e, u - 1, t.value[1], t); }); }, c; }
|
||
function de(t, e, n) { var r = ke(t); return r.__iterateUncached = function (r, i) { var o = this; if (i)
|
||
return this.cacheResult().__iterate(r, i); var s = 0; return t.__iterate(function (t, i, a) { return e.call(n, t, i, a) && ++s && r(t, i, o); }), s; }, r.__iteratorUncached = function (r, i) { var o = this; if (i)
|
||
return this.cacheResult().__iterator(r, i); var s = t.__iterator(Dn, i), a = !0; return new D(function () { if (!a)
|
||
return w(); var t = s.next(); if (t.done)
|
||
return t; var i = t.value, u = i[0], c = i[1]; return e.call(n, c, u, o) ? r === Dn ? t : E(r, u, c, t) : (a = !1, w()); }); }, r; }
|
||
function me(t, e, n, r) { var i = ke(t); return i.__iterateUncached = function (i, o) { var s = this; if (o)
|
||
return this.cacheResult().__iterate(i, o); var a = !0, u = 0; return t.__iterate(function (t, o, c) { if (!a || !(a = e.call(n, t, o, c)))
|
||
return u++, i(t, r ? o : u - 1, s); }), u; }, i.__iteratorUncached = function (i, o) { var s = this; if (o)
|
||
return this.cacheResult().__iterator(i, o); var a = t.__iterator(Dn, o), u = !0, c = 0; return new D(function () { var t, o, l; do {
|
||
if (t = a.next(), t.done)
|
||
return r || i === bn ? t : i === xn ? E(i, c++, void 0, t) : E(i, c++, t.value[1], t);
|
||
var h = t.value;
|
||
o = h[0], l = h[1], u && (u = e.call(n, l, o, s));
|
||
} while (u); return i === Dn ? t : E(i, o, l, t); }); }, i; }
|
||
function ve(t, e) { var r = s(t), i = [t].concat(e).map(function (t) { return o(t) ? r && (t = n(t)) : t = r ? R(t) : z(Array.isArray(t) ? t : [t]), t; }).filter(function (t) { return 0 !== t.size; }); if (0 === i.length)
|
||
return t; if (1 === i.length) {
|
||
var u = i[0];
|
||
if (u === t || r && s(u) || a(t) && a(u))
|
||
return u;
|
||
} var c = new M(i); return r ? c = c.toKeyedSeq() : a(t) || (c = c.toSetSeq()), c = c.flatten(!0), c.size = i.reduce(function (t, e) { if (void 0 !== t) {
|
||
var n = e.size;
|
||
if (void 0 !== n)
|
||
return t + n;
|
||
} }, 0), c; }
|
||
function ye(t, e, n) { var r = ke(t); return r.__iterateUncached = function (r, i) { function s(t, c) { var l = this; t.__iterate(function (t, i) { return (!e || c < e) && o(t) ? s(t, c + 1) : !1 === r(t, n ? i : a++, l) && (u = !0), !u; }, i); } var a = 0, u = !1; return s(t, 0), a; }, r.__iteratorUncached = function (r, i) { var s = t.__iterator(r, i), a = [], u = 0; return new D(function () { for (; s;) {
|
||
var t = s.next();
|
||
if (!1 === t.done) {
|
||
var c = t.value;
|
||
if (r === Dn && (c = c[1]), e && !(a.length < e) || !o(c))
|
||
return n ? t : E(r, u++, c, t);
|
||
a.push(s), s = c.__iterator(r, i);
|
||
}
|
||
else
|
||
s = a.pop();
|
||
} return w(); }); }, r; }
|
||
function ge(t, e, n) { var r = Ce(t); return t.toSeq().map(function (i, o) { return r(e.call(n, i, o, t)); }).flatten(!0); }
|
||
function xe(t, e) { var n = ke(t); return n.size = t.size && 2 * t.size - 1, n.__iterateUncached = function (n, r) { var i = this, o = 0; return t.__iterate(function (t, r) { return (!o || !1 !== n(e, o++, i)) && !1 !== n(t, o++, i); }, r), o; }, n.__iteratorUncached = function (n, r) { var i, o = t.__iterator(bn, r), s = 0; return new D(function () { return (!i || s % 2) && (i = o.next(), i.done) ? i : s % 2 ? E(n, s++, e) : E(n, s++, i.value, i); }); }, n; }
|
||
function be(t, e, n) { e || (e = Te); var r = s(t), i = 0, o = t.toSeq().map(function (e, r) { return [r, e, i++, n ? n(e, r, t) : e]; }).toArray(); return o.sort(function (t, n) { return e(t[3], n[3]) || t[2] - n[2]; }).forEach(r ? function (t, e) { o[e].length = 2; } : function (t, e) { o[e] = t[1]; }), r ? T(o) : a(t) ? I(o) : O(o); }
|
||
function De(t, e, n) { if (e || (e = Te), n) {
|
||
var r = t.toSeq().map(function (e, r) { return [e, n(e, r, t)]; }).reduce(function (t, n) { return Ee(e, t[1], n[1]) ? n : t; });
|
||
return r && r[0];
|
||
} return t.reduce(function (t, n) { return Ee(e, t, n) ? n : t; }); }
|
||
function Ee(t, e, n) { var r = t(n, e); return 0 === r && n !== e && (void 0 === n || null === n || n !== n) || r > 0; }
|
||
function we(t, n, r) { var i = ke(t); return i.size = new M(r).map(function (t) { return t.size; }).min(), i.__iterate = function (t, e) { for (var n, r = this.__iterator(bn, e), i = 0; !(n = r.next()).done && !1 !== t(n.value, i++, this);)
|
||
; return i; }, i.__iteratorUncached = function (t, i) { var o = r.map(function (t) { return t = e(t), A(i ? t.reverse() : t); }), s = 0, a = !1; return new D(function () { var e; return a || (e = o.map(function (t) { return t.next(); }), a = e.some(function (t) { return t.done; })), a ? w() : E(t, s++, n.apply(null, e.map(function (t) { return t.value; }))); }); }, i; }
|
||
function _e(t, e) { return N(t) ? e : t.constructor(e); }
|
||
function Se(t) { if (t !== Object(t))
|
||
throw new TypeError("Expected [K, V] tuple: " + t); }
|
||
function Ae(t) { return lt(t.size), d(t); }
|
||
function Ce(t) { return s(t) ? n : a(t) ? r : i; }
|
||
function ke(t) { return Object.create((s(t) ? T : a(t) ? I : O).prototype); }
|
||
function Fe() { return this._iter.cacheResult ? (this._iter.cacheResult(), this.size = this._iter.size, this) : F.prototype.cacheResult.call(this); }
|
||
function Te(t, e) { return t > e ? 1 : t < e ? -1 : 0; }
|
||
function Ie(t) { var n = A(t); if (!n) {
|
||
if (!k(t))
|
||
throw new TypeError("Expected iterable or array-like: " + t);
|
||
n = A(e(t));
|
||
} return n; }
|
||
function Oe(t, e) { var n, r = function (o) { if (o instanceof r)
|
||
return o; if (!(this instanceof r))
|
||
return new r(o); if (!n) {
|
||
n = !0;
|
||
var s = Object.keys(t);
|
||
Pe(i, s), i.size = s.length, i._name = e, i._keys = s, i._defaultValues = t;
|
||
} this._map = ht(o); }, i = r.prototype = Object.create($n); return i.constructor = r, r; }
|
||
function Me(t, e, n) { var r = Object.create(Object.getPrototypeOf(t)); return r._map = e, r.__ownerID = n, r; }
|
||
function Be(t) { return t._name || t.constructor.name || "Record"; }
|
||
function Pe(t, e) { try {
|
||
e.forEach(je.bind(void 0, t));
|
||
}
|
||
catch (t) { } }
|
||
function je(t, e) { Object.defineProperty(t, e, { get: function () { return this.get(e); }, set: function (t) { Z(this.__ownerID, "Cannot set on an immutable record."), this.set(e, t); } }); }
|
||
function Ne(t) { return null === t || void 0 === t ? Ue() : Le(t) && !c(t) ? t : Ue().withMutations(function (e) { var n = i(t); lt(n.size), n.forEach(function (t) { return e.add(t); }); }); }
|
||
function Le(t) { return !(!t || !t[Zn]); }
|
||
function Re(t, e) { return t.__ownerID ? (t.size = e.size, t._map = e, t) : e === t._map ? t : 0 === e.size ? t.__empty() : t.__make(e); }
|
||
function ze(t, e) { var n = Object.create(Qn); return n.size = t ? t.size : 0, n._map = t, n.__ownerID = e, n; }
|
||
function Ue() { return tr || (tr = ze(Et())); }
|
||
function Je(t) { return null === t || void 0 === t ? Ke() : Xe(t) ? t : Ke().withMutations(function (e) { var n = i(t); lt(n.size), n.forEach(function (t) { return e.add(t); }); }); }
|
||
function Xe(t) { return Le(t) && c(t); }
|
||
function qe(t, e) { var n = Object.create(er); return n.size = t ? t.size : 0, n._map = t, n.__ownerID = e, n; }
|
||
function Ke() { return nr || (nr = qe(ee())); }
|
||
function We(t) { return null === t || void 0 === t ? Ve() : Ye(t) ? t : Ve().unshiftAll(t); }
|
||
function Ye(t) { return !(!t || !t[rr]); }
|
||
function He(t, e, n, r) { var i = Object.create(ir); return i.size = t, i._head = e, i.__ownerID = n, i.__hash = r, i.__altered = !1, i; }
|
||
function Ve() { return or || (or = He(0)); }
|
||
function Ge(t, e) { var n = function (n) { t.prototype[n] = e[n]; }; return Object.keys(e).forEach(n), Object.getOwnPropertySymbols && Object.getOwnPropertySymbols(e).forEach(n), t; }
|
||
function $e(t, e) { return e; }
|
||
function Ze(t, e) { return [e, t]; }
|
||
function Qe(t) { return function () { return !t.apply(this, arguments); }; }
|
||
function tn(t) { return function () { return -t.apply(this, arguments); }; }
|
||
function en(t) { return "string" == typeof t ? JSON.stringify(t) : String(t); }
|
||
function nn() { return p(arguments); }
|
||
function rn(t, e) { return t < e ? 1 : t > e ? -1 : 0; }
|
||
function on(t) { if (t.size === 1 / 0)
|
||
return 0; var e = c(t), n = s(t), r = e ? 1 : 0; return sn(t.__iterate(n ? e ? function (t, e) { r = 31 * r + an(ot(t), ot(e)) | 0; } : function (t, e) { r = r + an(ot(t), ot(e)) | 0; } : e ? function (t) { r = 31 * r + ot(t) | 0; } : function (t) { r = r + ot(t) | 0; }), r); }
|
||
function sn(t, e) { return e = Tn(e, 3432918353), e = Tn(e << 15 | e >>> -15, 461845907), e = Tn(e << 13 | e >>> -13, 5), e = (e + 3864292196 | 0) ^ t, e = Tn(e ^ e >>> 16, 2246822507), e = Tn(e ^ e >>> 13, 3266489909), e = it(e ^ e >>> 16); }
|
||
function an(t, e) { return t ^ e + 2654435769 + (t << 6) + (t >> 2) | 0; }
|
||
var un = Array.prototype.slice;
|
||
t(n, e), t(r, e), t(i, e), e.isIterable = o, e.isKeyed = s, e.isIndexed = a, e.isAssociative = u, e.isOrdered = c, e.Keyed = n, e.Indexed = r, e.Set = i;
|
||
var cn = "@@__IMMUTABLE_ITERABLE__@@", ln = "@@__IMMUTABLE_KEYED__@@", hn = "@@__IMMUTABLE_INDEXED__@@", fn = "@@__IMMUTABLE_ORDERED__@@", pn = 5, dn = 1 << pn, mn = dn - 1, vn = {}, yn = { value: !1 }, gn = { value: !1 }, xn = 0, bn = 1, Dn = 2, En = "function" == typeof Symbol && Symbol.iterator, wn = "@@iterator", _n = En || wn;
|
||
D.prototype.toString = function () { return "[Iterator]"; }, D.KEYS = xn, D.VALUES = bn, D.ENTRIES = Dn, D.prototype.inspect = D.prototype.toSource = function () { return this.toString(); }, D.prototype[_n] = function () { return this; }, t(F, e), F.of = function () { return F(arguments); }, F.prototype.toSeq = function () { return this; }, F.prototype.toString = function () { return this.__toString("Seq {", "}"); }, F.prototype.cacheResult = function () { return !this._cache && this.__iterateUncached && (this._cache = this.entrySeq().toArray(), this.size = this._cache.length), this; }, F.prototype.__iterate = function (t, e) { return X(this, t, e, !0); }, F.prototype.__iterator = function (t, e) { return q(this, t, e, !0); }, t(T, F), T.prototype.toKeyedSeq = function () { return this; }, t(I, F), I.of = function () { return I(arguments); }, I.prototype.toIndexedSeq = function () { return this; }, I.prototype.toString = function () { return this.__toString("Seq [", "]"); }, I.prototype.__iterate = function (t, e) { return X(this, t, e, !1); }, I.prototype.__iterator = function (t, e) { return q(this, t, e, !1); }, t(O, F), O.of = function () { return O(arguments); }, O.prototype.toSetSeq = function () { return this; }, F.isSeq = N, F.Keyed = T, F.Set = O, F.Indexed = I;
|
||
var Sn = "@@__IMMUTABLE_SEQ__@@";
|
||
F.prototype[Sn] = !0, t(M, I), M.prototype.get = function (t, e) { return this.has(t) ? this._array[m(this, t)] : e; }, M.prototype.__iterate = function (t, e) { for (var n = this._array, r = n.length - 1, i = 0; i <= r; i++)
|
||
if (!1 === t(n[e ? r - i : i], i, this))
|
||
return i + 1; return i; }, M.prototype.__iterator = function (t, e) { var n = this._array, r = n.length - 1, i = 0; return new D(function () { return i > r ? w() : E(t, i, n[e ? r - i++ : i++]); }); }, t(B, T), B.prototype.get = function (t, e) { return void 0 === e || this.has(t) ? this._object[t] : e; }, B.prototype.has = function (t) { return this._object.hasOwnProperty(t); }, B.prototype.__iterate = function (t, e) { for (var n = this._object, r = this._keys, i = r.length - 1, o = 0; o <= i; o++) {
|
||
var s = r[e ? i - o : o];
|
||
if (!1 === t(n[s], s, this))
|
||
return o + 1;
|
||
} return o; }, B.prototype.__iterator = function (t, e) { var n = this._object, r = this._keys, i = r.length - 1, o = 0; return new D(function () { var s = r[e ? i - o : o]; return o++ > i ? w() : E(t, s, n[s]); }); }, B.prototype[fn] = !0, t(P, I), P.prototype.__iterateUncached = function (t, e) { if (e)
|
||
return this.cacheResult().__iterate(t, e); var n = this._iterable, r = A(n), i = 0; if (S(r))
|
||
for (var o; !(o = r.next()).done && !1 !== t(o.value, i++, this);)
|
||
; return i; }, P.prototype.__iteratorUncached = function (t, e) { if (e)
|
||
return this.cacheResult().__iterator(t, e); var n = this._iterable, r = A(n); if (!S(r))
|
||
return new D(w); var i = 0; return new D(function () { var e = r.next(); return e.done ? e : E(t, i++, e.value); }); }, t(j, I), j.prototype.__iterateUncached = function (t, e) { if (e)
|
||
return this.cacheResult().__iterate(t, e); for (var n = this._iterator, r = this._iteratorCache, i = 0; i < r.length;)
|
||
if (!1 === t(r[i], i++, this))
|
||
return i; for (var o; !(o = n.next()).done;) {
|
||
var s = o.value;
|
||
if (r[i] = s, !1 === t(s, i++, this))
|
||
break;
|
||
} return i; }, j.prototype.__iteratorUncached = function (t, e) { if (e)
|
||
return this.cacheResult().__iterator(t, e); var n = this._iterator, r = this._iteratorCache, i = 0; return new D(function () { if (i >= r.length) {
|
||
var e = n.next();
|
||
if (e.done)
|
||
return e;
|
||
r[i] = e.value;
|
||
} return E(t, i, r[i++]); }); };
|
||
var An;
|
||
t($, I), $.prototype.toString = function () { return 0 === this.size ? "Repeat []" : "Repeat [ " + this._value + " " + this.size + " times ]"; }, $.prototype.get = function (t, e) { return this.has(t) ? this._value : e; }, $.prototype.includes = function (t) { return V(this._value, t); }, $.prototype.slice = function (t, e) { var n = this.size; return y(t, e, n) ? this : new $(this._value, x(e, n) - g(t, n)); }, $.prototype.reverse = function () { return this; }, $.prototype.indexOf = function (t) { return V(this._value, t) ? 0 : -1; }, $.prototype.lastIndexOf = function (t) { return V(this._value, t) ? this.size : -1; }, $.prototype.__iterate = function (t, e) { for (var n = 0; n < this.size; n++)
|
||
if (!1 === t(this._value, n, this))
|
||
return n + 1; return n; }, $.prototype.__iterator = function (t, e) { var n = this, r = 0; return new D(function () { return r < n.size ? E(t, r++, n._value) : w(); }); }, $.prototype.equals = function (t) { return t instanceof $ ? V(this._value, t._value) : G(t); };
|
||
var Cn;
|
||
t(Q, I), Q.prototype.toString = function () { return 0 === this.size ? "Range []" : "Range [ " + this._start + "..." + this._end + (1 !== this._step ? " by " + this._step : "") + " ]"; }, Q.prototype.get = function (t, e) { return this.has(t) ? this._start + m(this, t) * this._step : e; }, Q.prototype.includes = function (t) { var e = (t - this._start) / this._step; return e >= 0 && e < this.size && e === Math.floor(e); }, Q.prototype.slice = function (t, e) { return y(t, e, this.size) ? this : (t = g(t, this.size), e = x(e, this.size), e <= t ? new Q(0, 0) : new Q(this.get(t, this._end), this.get(e, this._end), this._step)); }, Q.prototype.indexOf = function (t) { var e = t - this._start; if (e % this._step == 0) {
|
||
var n = e / this._step;
|
||
if (n >= 0 && n < this.size)
|
||
return n;
|
||
} return -1; }, Q.prototype.lastIndexOf = function (t) { return this.indexOf(t); }, Q.prototype.__iterate = function (t, e) { for (var n = this.size - 1, r = this._step, i = e ? this._start + n * r : this._start, o = 0; o <= n; o++) {
|
||
if (!1 === t(i, o, this))
|
||
return o + 1;
|
||
i += e ? -r : r;
|
||
} return o; }, Q.prototype.__iterator = function (t, e) { var n = this.size - 1, r = this._step, i = e ? this._start + n * r : this._start, o = 0; return new D(function () { var s = i; return i += e ? -r : r, o > n ? w() : E(t, o++, s); }); }, Q.prototype.equals = function (t) { return t instanceof Q ? this._start === t._start && this._end === t._end && this._step === t._step : G(this, t); };
|
||
var kn;
|
||
t(tt, e), t(et, tt), t(nt, tt), t(rt, tt), tt.Keyed = et, tt.Indexed = nt, tt.Set = rt;
|
||
var Fn, Tn = "function" == typeof Math.imul && -2 === Math.imul(4294967295, 2) ? Math.imul : function (t, e) { t |= 0, e |= 0; var n = 65535 & t, r = 65535 & e; return n * r + ((t >>> 16) * r + n * (e >>> 16) << 16 >>> 0) | 0; }, In = Object.isExtensible, On = function () { try {
|
||
return Object.defineProperty({}, "@", {}), !0;
|
||
}
|
||
catch (t) {
|
||
return !1;
|
||
} }(), Mn = "function" == typeof WeakMap;
|
||
Mn && (Fn = new WeakMap);
|
||
var Bn = 0, Pn = "__immutablehash__";
|
||
"function" == typeof Symbol && (Pn = Symbol(Pn));
|
||
var jn = 16, Nn = 255, Ln = 0, Rn = {};
|
||
t(ht, et), ht.of = function () { var t = un.call(arguments, 0); return Et().withMutations(function (e) { for (var n = 0; n < t.length; n += 2) {
|
||
if (n + 1 >= t.length)
|
||
throw new Error("Missing value for key: " + t[n]);
|
||
e.set(t[n], t[n + 1]);
|
||
} }); }, ht.prototype.toString = function () { return this.__toString("Map {", "}"); }, ht.prototype.get = function (t, e) { return this._root ? this._root.get(0, void 0, t, e) : e; }, ht.prototype.set = function (t, e) { return wt(this, t, e); }, ht.prototype.setIn = function (t, e) { return this.updateIn(t, vn, function () { return e; }); }, ht.prototype.remove = function (t) { return wt(this, t, vn); }, ht.prototype.deleteIn = function (t) { return this.updateIn(t, function () { return vn; }); }, ht.prototype.update = function (t, e, n) { return 1 === arguments.length ? t(this) : this.updateIn([t], e, n); }, ht.prototype.updateIn = function (t, e, n) { n || (n = e, e = void 0); var r = Bt(this, Ie(t), e, n); return r === vn ? void 0 : r; }, ht.prototype.clear = function () { return 0 === this.size ? this : this.__ownerID ? (this.size = 0, this._root = null, this.__hash = void 0, this.__altered = !0, this) : Et(); }, ht.prototype.merge = function () { return Tt(this, void 0, arguments); }, ht.prototype.mergeWith = function (t) { return Tt(this, t, un.call(arguments, 1)); }, ht.prototype.mergeIn = function (t) { var e = un.call(arguments, 1); return this.updateIn(t, Et(), function (t) { return "function" == typeof t.merge ? t.merge.apply(t, e) : e[e.length - 1]; }); }, ht.prototype.mergeDeep = function () { return Tt(this, It, arguments); }, ht.prototype.mergeDeepWith = function (t) { var e = un.call(arguments, 1); return Tt(this, Ot(t), e); }, ht.prototype.mergeDeepIn = function (t) { var e = un.call(arguments, 1); return this.updateIn(t, Et(), function (t) { return "function" == typeof t.mergeDeep ? t.mergeDeep.apply(t, e) : e[e.length - 1]; }); }, ht.prototype.sort = function (t) { return Zt(be(this, t)); }, ht.prototype.sortBy = function (t, e) { return Zt(be(this, e, t)); }, ht.prototype.withMutations = function (t) { var e = this.asMutable(); return t(e), e.wasAltered() ? e.__ensureOwner(this.__ownerID) : this; }, ht.prototype.asMutable = function () { return this.__ownerID ? this : this.__ensureOwner(new f); }, ht.prototype.asImmutable = function () { return this.__ensureOwner(); }, ht.prototype.wasAltered = function () { return this.__altered; }, ht.prototype.__iterator = function (t, e) { return new gt(this, t, e); }, ht.prototype.__iterate = function (t, e) { var n = this, r = 0; return this._root && this._root.iterate(function (e) { return r++, t(e[1], e[0], n); }, e), r; }, ht.prototype.__ensureOwner = function (t) { return t === this.__ownerID ? this : t ? Dt(this.size, this._root, t, this.__hash) : (this.__ownerID = t, this.__altered = !1, this); }, ht.isMap = ft;
|
||
var zn = "@@__IMMUTABLE_MAP__@@", Un = ht.prototype;
|
||
Un[zn] = !0, Un.delete = Un.remove, Un.removeIn = Un.deleteIn, pt.prototype.get = function (t, e, n, r) { for (var i = this.entries, o = 0, s = i.length; o < s; o++)
|
||
if (V(n, i[o][0]))
|
||
return i[o][1]; return r; }, pt.prototype.update = function (t, e, n, r, i, o, s) { for (var a = i === vn, u = this.entries, c = 0, l = u.length; c < l && !V(r, u[c][0]); c++)
|
||
; var f = c < l; if (f ? u[c][1] === i : a)
|
||
return this; if (h(s), (a || !f) && h(o), !a || 1 !== u.length) {
|
||
if (!f && !a && u.length >= Xn)
|
||
return Ct(t, u, r, i);
|
||
var d = t && t === this.ownerID, m = d ? u : p(u);
|
||
return f ? a ? c === l - 1 ? m.pop() : m[c] = m.pop() : m[c] = [r, i] : m.push([r, i]), d ? (this.entries = m, this) : new pt(t, m);
|
||
} }, dt.prototype.get = function (t, e, n, r) { void 0 === e && (e = ot(n)); var i = 1 << ((0 === t ? e : e >>> t) & mn), o = this.bitmap; return 0 == (o & i) ? r : this.nodes[Pt(o & i - 1)].get(t + pn, e, n, r); }, dt.prototype.update = function (t, e, n, r, i, o, s) { void 0 === n && (n = ot(r)); var a = (0 === e ? n : n >>> e) & mn, u = 1 << a, c = this.bitmap, l = 0 != (c & u); if (!l && i === vn)
|
||
return this; var h = Pt(c & u - 1), f = this.nodes, p = l ? f[h] : void 0, d = _t(p, t, e + pn, n, r, i, o, s); if (d === p)
|
||
return this; if (!l && d && f.length >= qn)
|
||
return Ft(t, f, c, a, d); if (l && !d && 2 === f.length && St(f[1 ^ h]))
|
||
return f[1 ^ h]; if (l && d && 1 === f.length && St(d))
|
||
return d; var m = t && t === this.ownerID, v = l ? d ? c : c ^ u : c | u, y = l ? d ? jt(f, h, d, m) : Lt(f, h, m) : Nt(f, h, d, m); return m ? (this.bitmap = v, this.nodes = y, this) : new dt(t, v, y); }, mt.prototype.get = function (t, e, n, r) { void 0 === e && (e = ot(n)); var i = (0 === t ? e : e >>> t) & mn, o = this.nodes[i]; return o ? o.get(t + pn, e, n, r) : r; }, mt.prototype.update = function (t, e, n, r, i, o, s) { void 0 === n && (n = ot(r)); var a = (0 === e ? n : n >>> e) & mn, u = i === vn, c = this.nodes, l = c[a]; if (u && !l)
|
||
return this; var h = _t(l, t, e + pn, n, r, i, o, s); if (h === l)
|
||
return this; var f = this.count; if (l) {
|
||
if (!h && --f < Kn)
|
||
return kt(t, c, f, a);
|
||
}
|
||
else
|
||
f++; var p = t && t === this.ownerID, d = jt(c, a, h, p); return p ? (this.count = f, this.nodes = d, this) : new mt(t, f, d); }, vt.prototype.get = function (t, e, n, r) { for (var i = this.entries, o = 0, s = i.length; o < s; o++)
|
||
if (V(n, i[o][0]))
|
||
return i[o][1]; return r; }, vt.prototype.update = function (t, e, n, r, i, o, s) { void 0 === n && (n = ot(r)); var a = i === vn; if (n !== this.keyHash)
|
||
return a ? this : (h(s), h(o), At(this, t, e, n, [r, i])); for (var u = this.entries, c = 0, l = u.length; c < l && !V(r, u[c][0]); c++)
|
||
; var f = c < l; if (f ? u[c][1] === i : a)
|
||
return this; if (h(s), (a || !f) && h(o), a && 2 === l)
|
||
return new yt(t, this.keyHash, u[1 ^ c]); var d = t && t === this.ownerID, m = d ? u : p(u); return f ? a ? c === l - 1 ? m.pop() : m[c] = m.pop() : m[c] = [r, i] : m.push([r, i]), d ? (this.entries = m, this) : new vt(t, this.keyHash, m); }, yt.prototype.get = function (t, e, n, r) { return V(n, this.entry[0]) ? this.entry[1] : r; }, yt.prototype.update = function (t, e, n, r, i, o, s) { var a = i === vn, u = V(r, this.entry[0]); return (u ? i === this.entry[1] : a) ? this : (h(s), a ? void h(o) : u ? t && t === this.ownerID ? (this.entry[1] = i, this) : new yt(t, this.keyHash, [r, i]) : (h(o), At(this, t, e, ot(r), [r, i]))); }, pt.prototype.iterate = vt.prototype.iterate = function (t, e) { for (var n = this.entries, r = 0, i = n.length - 1; r <= i; r++)
|
||
if (!1 === t(n[e ? i - r : r]))
|
||
return !1; }, dt.prototype.iterate = mt.prototype.iterate = function (t, e) { for (var n = this.nodes, r = 0, i = n.length - 1; r <= i; r++) {
|
||
var o = n[e ? i - r : r];
|
||
if (o && !1 === o.iterate(t, e))
|
||
return !1;
|
||
} }, yt.prototype.iterate = function (t, e) { return t(this.entry); }, t(gt, D), gt.prototype.next = function () { for (var t = this._type, e = this._stack; e;) {
|
||
var n, r = e.node, i = e.index++;
|
||
if (r.entry) {
|
||
if (0 === i)
|
||
return xt(t, r.entry);
|
||
}
|
||
else if (r.entries) {
|
||
if (n = r.entries.length - 1, i <= n)
|
||
return xt(t, r.entries[this._reverse ? n - i : i]);
|
||
}
|
||
else if (n = r.nodes.length - 1, i <= n) {
|
||
var o = r.nodes[this._reverse ? n - i : i];
|
||
if (o) {
|
||
if (o.entry)
|
||
return xt(t, o.entry);
|
||
e = this._stack = bt(o, e);
|
||
}
|
||
continue;
|
||
}
|
||
e = this._stack = this._stack.__prev;
|
||
} return w(); };
|
||
var Jn, Xn = dn / 4, qn = dn / 2, Kn = dn / 4;
|
||
t(Rt, nt), Rt.of = function () { return this(arguments); }, Rt.prototype.toString = function () { return this.__toString("List [", "]"); }, Rt.prototype.get = function (t, e) { if ((t = m(this, t)) >= 0 && t < this.size) {
|
||
t += this._origin;
|
||
var n = Ht(this, t);
|
||
return n && n.array[t & mn];
|
||
} return e; }, Rt.prototype.set = function (t, e) { return Kt(this, t, e); }, Rt.prototype.remove = function (t) { return this.has(t) ? 0 === t ? this.shift() : t === this.size - 1 ? this.pop() : this.splice(t, 1) : this; }, Rt.prototype.insert = function (t, e) { return this.splice(t, 0, e); }, Rt.prototype.clear = function () { return 0 === this.size ? this : this.__ownerID ? (this.size = this._origin = this._capacity = 0, this._level = pn, this._root = this._tail = null, this.__hash = void 0, this.__altered = !0, this) : qt(); }, Rt.prototype.push = function () { var t = arguments, e = this.size; return this.withMutations(function (n) { Vt(n, 0, e + t.length); for (var r = 0; r < t.length; r++)
|
||
n.set(e + r, t[r]); }); }, Rt.prototype.pop = function () { return Vt(this, 0, -1); }, Rt.prototype.unshift = function () { var t = arguments; return this.withMutations(function (e) { Vt(e, -t.length); for (var n = 0; n < t.length; n++)
|
||
e.set(n, t[n]); }); }, Rt.prototype.shift = function () { return Vt(this, 1); }, Rt.prototype.merge = function () { return Gt(this, void 0, arguments); }, Rt.prototype.mergeWith = function (t) { return Gt(this, t, un.call(arguments, 1)); }, Rt.prototype.mergeDeep = function () { return Gt(this, It, arguments); }, Rt.prototype.mergeDeepWith = function (t) { var e = un.call(arguments, 1); return Gt(this, Ot(t), e); }, Rt.prototype.setSize = function (t) { return Vt(this, 0, t); }, Rt.prototype.slice = function (t, e) { var n = this.size; return y(t, e, n) ? this : Vt(this, g(t, n), x(e, n)); }, Rt.prototype.__iterator = function (t, e) { var n = 0, r = Jt(this, e); return new D(function () { var e = r(); return e === Vn ? w() : E(t, n++, e); }); }, Rt.prototype.__iterate = function (t, e) { for (var n, r = 0, i = Jt(this, e); (n = i()) !== Vn && !1 !== t(n, r++, this);)
|
||
; return r; }, Rt.prototype.__ensureOwner = function (t) { return t === this.__ownerID ? this : t ? Xt(this._origin, this._capacity, this._level, this._root, this._tail, t, this.__hash) : (this.__ownerID = t, this); }, Rt.isList = zt;
|
||
var Wn = "@@__IMMUTABLE_LIST__@@", Yn = Rt.prototype;
|
||
Yn[Wn] = !0, Yn.delete = Yn.remove, Yn.setIn = Un.setIn, Yn.deleteIn = Yn.removeIn = Un.removeIn, Yn.update = Un.update, Yn.updateIn = Un.updateIn, Yn.mergeIn = Un.mergeIn, Yn.mergeDeepIn = Un.mergeDeepIn, Yn.withMutations = Un.withMutations, Yn.asMutable = Un.asMutable, Yn.asImmutable = Un.asImmutable, Yn.wasAltered = Un.wasAltered, Ut.prototype.removeBefore = function (t, e, n) { if (n === e ? 1 << e : 0 === this.array.length)
|
||
return this; var r = n >>> e & mn; if (r >= this.array.length)
|
||
return new Ut([], t); var i, o = 0 === r; if (e > 0) {
|
||
var s = this.array[r];
|
||
if ((i = s && s.removeBefore(t, e - pn, n)) === s && o)
|
||
return this;
|
||
} if (o && !i)
|
||
return this; var a = Yt(this, t); if (!o)
|
||
for (var u = 0; u < r; u++)
|
||
a.array[u] = void 0; return i && (a.array[r] = i), a; }, Ut.prototype.removeAfter = function (t, e, n) { if (n === (e ? 1 << e : 0) || 0 === this.array.length)
|
||
return this; var r = n - 1 >>> e & mn; if (r >= this.array.length)
|
||
return this; var i; if (e > 0) {
|
||
var o = this.array[r];
|
||
if ((i = o && o.removeAfter(t, e - pn, n)) === o && r === this.array.length - 1)
|
||
return this;
|
||
} var s = Yt(this, t); return s.array.splice(r + 1), i && (s.array[r] = i), s; };
|
||
var Hn, Vn = {};
|
||
t(Zt, ht), Zt.of = function () { return this(arguments); }, Zt.prototype.toString = function () { return this.__toString("OrderedMap {", "}"); }, Zt.prototype.get = function (t, e) { var n = this._map.get(t); return void 0 !== n ? this._list.get(n)[1] : e; }, Zt.prototype.clear = function () { return 0 === this.size ? this : this.__ownerID ? (this.size = 0, this._map.clear(), this._list.clear(), this) : ee(); }, Zt.prototype.set = function (t, e) { return ne(this, t, e); }, Zt.prototype.remove = function (t) { return ne(this, t, vn); }, Zt.prototype.wasAltered = function () { return this._map.wasAltered() || this._list.wasAltered(); }, Zt.prototype.__iterate = function (t, e) { var n = this; return this._list.__iterate(function (e) { return e && t(e[1], e[0], n); }, e); }, Zt.prototype.__iterator = function (t, e) { return this._list.fromEntrySeq().__iterator(t, e); }, Zt.prototype.__ensureOwner = function (t) { if (t === this.__ownerID)
|
||
return this; var e = this._map.__ensureOwner(t), n = this._list.__ensureOwner(t); return t ? te(e, n, t, this.__hash) : (this.__ownerID = t, this._map = e, this._list = n, this); }, Zt.isOrderedMap = Qt, Zt.prototype[fn] = !0, Zt.prototype.delete = Zt.prototype.remove;
|
||
var Gn;
|
||
t(re, T), re.prototype.get = function (t, e) { return this._iter.get(t, e); }, re.prototype.has = function (t) { return this._iter.has(t); }, re.prototype.valueSeq = function () { return this._iter.valueSeq(); }, re.prototype.reverse = function () { var t = this, e = ce(this, !0); return this._useKeys || (e.valueSeq = function () { return t._iter.toSeq().reverse(); }), e; }, re.prototype.map = function (t, e) { var n = this, r = ue(this, t, e); return this._useKeys || (r.valueSeq = function () { return n._iter.toSeq().map(t, e); }), r; }, re.prototype.__iterate = function (t, e) { var n, r = this; return this._iter.__iterate(this._useKeys ? function (e, n) { return t(e, n, r); } : (n = e ? Ae(this) : 0, function (i) { return t(i, e ? --n : n++, r); }), e); }, re.prototype.__iterator = function (t, e) { if (this._useKeys)
|
||
return this._iter.__iterator(t, e); var n = this._iter.__iterator(bn, e), r = e ? Ae(this) : 0; return new D(function () { var i = n.next(); return i.done ? i : E(t, e ? --r : r++, i.value, i); }); }, re.prototype[fn] = !0, t(ie, I), ie.prototype.includes = function (t) { return this._iter.includes(t); }, ie.prototype.__iterate = function (t, e) { var n = this, r = 0; return this._iter.__iterate(function (e) { return t(e, r++, n); }, e); }, ie.prototype.__iterator = function (t, e) { var n = this._iter.__iterator(bn, e), r = 0; return new D(function () { var e = n.next(); return e.done ? e : E(t, r++, e.value, e); }); }, t(oe, O), oe.prototype.has = function (t) { return this._iter.includes(t); }, oe.prototype.__iterate = function (t, e) { var n = this; return this._iter.__iterate(function (e) { return t(e, e, n); }, e); }, oe.prototype.__iterator = function (t, e) { var n = this._iter.__iterator(bn, e); return new D(function () { var e = n.next(); return e.done ? e : E(t, e.value, e.value, e); }); }, t(se, T), se.prototype.entrySeq = function () { return this._iter.toSeq(); }, se.prototype.__iterate = function (t, e) { var n = this; return this._iter.__iterate(function (e) { if (e) {
|
||
Se(e);
|
||
var r = o(e);
|
||
return t(r ? e.get(1) : e[1], r ? e.get(0) : e[0], n);
|
||
} }, e); }, se.prototype.__iterator = function (t, e) { var n = this._iter.__iterator(bn, e); return new D(function () { for (;;) {
|
||
var e = n.next();
|
||
if (e.done)
|
||
return e;
|
||
var r = e.value;
|
||
if (r) {
|
||
Se(r);
|
||
var i = o(r);
|
||
return E(t, i ? r.get(0) : r[0], i ? r.get(1) : r[1], e);
|
||
}
|
||
} }); }, ie.prototype.cacheResult = re.prototype.cacheResult = oe.prototype.cacheResult = se.prototype.cacheResult = Fe, t(Oe, et), Oe.prototype.toString = function () { return this.__toString(Be(this) + " {", "}"); }, Oe.prototype.has = function (t) { return this._defaultValues.hasOwnProperty(t); }, Oe.prototype.get = function (t, e) { if (!this.has(t))
|
||
return e; var n = this._defaultValues[t]; return this._map ? this._map.get(t, n) : n; }, Oe.prototype.clear = function () { if (this.__ownerID)
|
||
return this._map && this._map.clear(), this; var t = this.constructor; return t._empty || (t._empty = Me(this, Et())); }, Oe.prototype.set = function (t, e) { if (!this.has(t))
|
||
throw new Error('Cannot set unknown key "' + t + '" on ' + Be(this)); if (this._map && !this._map.has(t)) {
|
||
if (e === this._defaultValues[t])
|
||
return this;
|
||
} var n = this._map && this._map.set(t, e); return this.__ownerID || n === this._map ? this : Me(this, n); }, Oe.prototype.remove = function (t) { if (!this.has(t))
|
||
return this; var e = this._map && this._map.remove(t); return this.__ownerID || e === this._map ? this : Me(this, e); }, Oe.prototype.wasAltered = function () { return this._map.wasAltered(); }, Oe.prototype.__iterator = function (t, e) { var r = this; return n(this._defaultValues).map(function (t, e) { return r.get(e); }).__iterator(t, e); }, Oe.prototype.__iterate = function (t, e) { var r = this; return n(this._defaultValues).map(function (t, e) { return r.get(e); }).__iterate(t, e); }, Oe.prototype.__ensureOwner = function (t) { if (t === this.__ownerID)
|
||
return this; var e = this._map && this._map.__ensureOwner(t); return t ? Me(this, e, t) : (this.__ownerID = t, this._map = e, this); };
|
||
var $n = Oe.prototype;
|
||
$n.delete = $n.remove, $n.deleteIn = $n.removeIn = Un.removeIn, $n.merge = Un.merge, $n.mergeWith = Un.mergeWith, $n.mergeIn = Un.mergeIn, $n.mergeDeep = Un.mergeDeep, $n.mergeDeepWith = Un.mergeDeepWith, $n.mergeDeepIn = Un.mergeDeepIn, $n.setIn = Un.setIn, $n.update = Un.update, $n.updateIn = Un.updateIn, $n.withMutations = Un.withMutations, $n.asMutable = Un.asMutable, $n.asImmutable = Un.asImmutable, t(Ne, rt), Ne.of = function () { return this(arguments); }, Ne.fromKeys = function (t) { return this(n(t).keySeq()); }, Ne.prototype.toString = function () { return this.__toString("Set {", "}"); }, Ne.prototype.has = function (t) { return this._map.has(t); }, Ne.prototype.add = function (t) { return Re(this, this._map.set(t, !0)); }, Ne.prototype.remove = function (t) { return Re(this, this._map.remove(t)); }, Ne.prototype.clear = function () { return Re(this, this._map.clear()); }, Ne.prototype.union = function () { var t = un.call(arguments, 0); return t = t.filter(function (t) { return 0 !== t.size; }), 0 === t.length ? this : 0 !== this.size || this.__ownerID || 1 !== t.length ? this.withMutations(function (e) { for (var n = 0; n < t.length; n++)
|
||
i(t[n]).forEach(function (t) { return e.add(t); }); }) : this.constructor(t[0]); }, Ne.prototype.intersect = function () { var t = un.call(arguments, 0); if (0 === t.length)
|
||
return this; t = t.map(function (t) { return i(t); }); var e = this; return this.withMutations(function (n) { e.forEach(function (e) { t.every(function (t) { return t.includes(e); }) || n.remove(e); }); }); }, Ne.prototype.subtract = function () { var t = un.call(arguments, 0); if (0 === t.length)
|
||
return this; t = t.map(function (t) { return i(t); }); var e = this; return this.withMutations(function (n) { e.forEach(function (e) { t.some(function (t) { return t.includes(e); }) && n.remove(e); }); }); }, Ne.prototype.merge = function () { return this.union.apply(this, arguments); }, Ne.prototype.mergeWith = function (t) { var e = un.call(arguments, 1); return this.union.apply(this, e); }, Ne.prototype.sort = function (t) { return Je(be(this, t)); }, Ne.prototype.sortBy = function (t, e) { return Je(be(this, e, t)); }, Ne.prototype.wasAltered = function () { return this._map.wasAltered(); }, Ne.prototype.__iterate = function (t, e) { var n = this; return this._map.__iterate(function (e, r) { return t(r, r, n); }, e); }, Ne.prototype.__iterator = function (t, e) { return this._map.map(function (t, e) { return e; }).__iterator(t, e); }, Ne.prototype.__ensureOwner = function (t) { if (t === this.__ownerID)
|
||
return this; var e = this._map.__ensureOwner(t); return t ? this.__make(e, t) : (this.__ownerID = t, this._map = e, this); }, Ne.isSet = Le;
|
||
var Zn = "@@__IMMUTABLE_SET__@@", Qn = Ne.prototype;
|
||
Qn[Zn] = !0, Qn.delete = Qn.remove, Qn.mergeDeep = Qn.merge, Qn.mergeDeepWith = Qn.mergeWith, Qn.withMutations = Un.withMutations, Qn.asMutable = Un.asMutable, Qn.asImmutable = Un.asImmutable, Qn.__empty = Ue, Qn.__make = ze;
|
||
var tr;
|
||
t(Je, Ne), Je.of = function () { return this(arguments); }, Je.fromKeys = function (t) { return this(n(t).keySeq()); }, Je.prototype.toString = function () { return this.__toString("OrderedSet {", "}"); }, Je.isOrderedSet = Xe;
|
||
var er = Je.prototype;
|
||
er[fn] = !0, er.__empty = Ke, er.__make = qe;
|
||
var nr;
|
||
t(We, nt), We.of = function () { return this(arguments); }, We.prototype.toString = function () { return this.__toString("Stack [", "]"); }, We.prototype.get = function (t, e) { var n = this._head; for (t = m(this, t); n && t--;)
|
||
n = n.next; return n ? n.value : e; }, We.prototype.peek = function () { return this._head && this._head.value; }, We.prototype.push = function () { if (0 === arguments.length)
|
||
return this; for (var t = this.size + arguments.length, e = this._head, n = arguments.length - 1; n >= 0; n--)
|
||
e = { value: arguments[n], next: e }; return this.__ownerID ? (this.size = t, this._head = e, this.__hash = void 0, this.__altered = !0, this) : He(t, e); }, We.prototype.pushAll = function (t) { if (t = r(t), 0 === t.size)
|
||
return this; lt(t.size); var e = this.size, n = this._head; return t.reverse().forEach(function (t) { e++, n = { value: t, next: n }; }), this.__ownerID ? (this.size = e, this._head = n, this.__hash = void 0, this.__altered = !0, this) : He(e, n); }, We.prototype.pop = function () { return this.slice(1); }, We.prototype.unshift = function () { return this.push.apply(this, arguments); }, We.prototype.unshiftAll = function (t) { return this.pushAll(t); }, We.prototype.shift = function () { return this.pop.apply(this, arguments); }, We.prototype.clear = function () { return 0 === this.size ? this : this.__ownerID ? (this.size = 0, this._head = void 0, this.__hash = void 0, this.__altered = !0, this) : Ve(); }, We.prototype.slice = function (t, e) { if (y(t, e, this.size))
|
||
return this; var n = g(t, this.size); if (x(e, this.size) !== this.size)
|
||
return nt.prototype.slice.call(this, t, e); for (var r = this.size - n, i = this._head; n--;)
|
||
i = i.next; return this.__ownerID ? (this.size = r, this._head = i, this.__hash = void 0, this.__altered = !0, this) : He(r, i); }, We.prototype.__ensureOwner = function (t) { return t === this.__ownerID ? this : t ? He(this.size, this._head, t, this.__hash) : (this.__ownerID = t, this.__altered = !1, this); }, We.prototype.__iterate = function (t, e) { if (e)
|
||
return this.reverse().__iterate(t); for (var n = 0, r = this._head; r && !1 !== t(r.value, n++, this);)
|
||
r = r.next; return n; }, We.prototype.__iterator = function (t, e) { if (e)
|
||
return this.reverse().__iterator(t); var n = 0, r = this._head; return new D(function () { if (r) {
|
||
var e = r.value;
|
||
return r = r.next, E(t, n++, e);
|
||
} return w(); }); }, We.isStack = Ye;
|
||
var rr = "@@__IMMUTABLE_STACK__@@", ir = We.prototype;
|
||
ir[rr] = !0, ir.withMutations = Un.withMutations, ir.asMutable = Un.asMutable, ir.asImmutable = Un.asImmutable, ir.wasAltered = Un.wasAltered;
|
||
var or;
|
||
e.Iterator = D, Ge(e, { toArray: function () { lt(this.size); var t = new Array(this.size || 0); return this.valueSeq().__iterate(function (e, n) { t[n] = e; }), t; }, toIndexedSeq: function () { return new ie(this); }, toJS: function () { return this.toSeq().map(function (t) { return t && "function" == typeof t.toJS ? t.toJS() : t; }).__toJS(); }, toJSON: function () { return this.toSeq().map(function (t) { return t && "function" == typeof t.toJSON ? t.toJSON() : t; }).__toJS(); }, toKeyedSeq: function () { return new re(this, !0); }, toMap: function () { return ht(this.toKeyedSeq()); }, toObject: function () { lt(this.size); var t = {}; return this.__iterate(function (e, n) { t[n] = e; }), t; }, toOrderedMap: function () { return Zt(this.toKeyedSeq()); }, toOrderedSet: function () { return Je(s(this) ? this.valueSeq() : this); }, toSet: function () { return Ne(s(this) ? this.valueSeq() : this); }, toSetSeq: function () { return new oe(this); }, toSeq: function () { return a(this) ? this.toIndexedSeq() : s(this) ? this.toKeyedSeq() : this.toSetSeq(); }, toStack: function () { return We(s(this) ? this.valueSeq() : this); }, toList: function () { return Rt(s(this) ? this.valueSeq() : this); }, toString: function () { return "[Iterable]"; }, __toString: function (t, e) { return 0 === this.size ? t + e : t + " " + this.toSeq().map(this.__toStringMapper).join(", ") + " " + e; }, concat: function () { return _e(this, ve(this, un.call(arguments, 0))); }, includes: function (t) { return this.some(function (e) { return V(e, t); }); }, entries: function () { return this.__iterator(Dn); }, every: function (t, e) { lt(this.size); var n = !0; return this.__iterate(function (r, i, o) { if (!t.call(e, r, i, o))
|
||
return n = !1, !1; }), n; }, filter: function (t, e) { return _e(this, le(this, t, e, !0)); }, find: function (t, e, n) { var r = this.findEntry(t, e); return r ? r[1] : n; }, forEach: function (t, e) { return lt(this.size), this.__iterate(e ? t.bind(e) : t); }, join: function (t) { lt(this.size), t = void 0 !== t ? "" + t : ","; var e = "", n = !0; return this.__iterate(function (r) { n ? n = !1 : e += t, e += null !== r && void 0 !== r ? r.toString() : ""; }), e; }, keys: function () { return this.__iterator(xn); }, map: function (t, e) { return _e(this, ue(this, t, e)); }, reduce: function (t, e, n) { lt(this.size); var r, i; return arguments.length < 2 ? i = !0 : r = e, this.__iterate(function (e, o, s) { i ? (i = !1, r = e) : r = t.call(n, r, e, o, s); }), r; }, reduceRight: function (t, e, n) { var r = this.toKeyedSeq().reverse(); return r.reduce.apply(r, arguments); }, reverse: function () { return _e(this, ce(this, !0)); }, slice: function (t, e) { return _e(this, pe(this, t, e, !0)); }, some: function (t, e) { return !this.every(Qe(t), e); }, sort: function (t) { return _e(this, be(this, t)); }, values: function () { return this.__iterator(bn); }, butLast: function () { return this.slice(0, -1); }, isEmpty: function () { return void 0 !== this.size ? 0 === this.size : !this.some(function () { return !0; }); }, count: function (t, e) { return d(t ? this.toSeq().filter(t, e) : this); }, countBy: function (t, e) { return he(this, t, e); }, equals: function (t) { return G(this, t); }, entrySeq: function () { var t = this; if (t._cache)
|
||
return new M(t._cache); var e = t.toSeq().map(Ze).toIndexedSeq(); return e.fromEntrySeq = function () { return t.toSeq(); }, e; }, filterNot: function (t, e) { return this.filter(Qe(t), e); }, findEntry: function (t, e, n) { var r = n; return this.__iterate(function (n, i, o) { if (t.call(e, n, i, o))
|
||
return r = [i, n], !1; }), r; }, findKey: function (t, e) { var n = this.findEntry(t, e); return n && n[0]; }, findLast: function (t, e, n) { return this.toKeyedSeq().reverse().find(t, e, n); }, findLastEntry: function (t, e, n) { return this.toKeyedSeq().reverse().findEntry(t, e, n); }, findLastKey: function (t, e) { return this.toKeyedSeq().reverse().findKey(t, e); }, first: function () { return this.find(v); }, flatMap: function (t, e) { return _e(this, ge(this, t, e)); }, flatten: function (t) { return _e(this, ye(this, t, !0)); }, fromEntrySeq: function () { return new se(this); }, get: function (t, e) { return this.find(function (e, n) { return V(n, t); }, void 0, e); }, getIn: function (t, e) { for (var n, r = this, i = Ie(t); !(n = i.next()).done;) {
|
||
var o = n.value;
|
||
if ((r = r && r.get ? r.get(o, vn) : vn) === vn)
|
||
return e;
|
||
} return r; }, groupBy: function (t, e) { return fe(this, t, e); }, has: function (t) { return this.get(t, vn) !== vn; }, hasIn: function (t) { return this.getIn(t, vn) !== vn; }, isSubset: function (t) { return t = "function" == typeof t.includes ? t : e(t), this.every(function (e) { return t.includes(e); }); }, isSuperset: function (t) { return t = "function" == typeof t.isSubset ? t : e(t), t.isSubset(this); }, keyOf: function (t) { return this.findKey(function (e) { return V(e, t); }); }, keySeq: function () { return this.toSeq().map($e).toIndexedSeq(); }, last: function () { return this.toSeq().reverse().first(); }, lastKeyOf: function (t) { return this.toKeyedSeq().reverse().keyOf(t); }, max: function (t) { return De(this, t); }, maxBy: function (t, e) { return De(this, e, t); }, min: function (t) { return De(this, t ? tn(t) : rn); }, minBy: function (t, e) { return De(this, e ? tn(e) : rn, t); }, rest: function () { return this.slice(1); }, skip: function (t) { return this.slice(Math.max(0, t)); }, skipLast: function (t) { return _e(this, this.toSeq().reverse().skip(t).reverse()); }, skipWhile: function (t, e) { return _e(this, me(this, t, e, !0)); }, skipUntil: function (t, e) { return this.skipWhile(Qe(t), e); }, sortBy: function (t, e) { return _e(this, be(this, e, t)); }, take: function (t) { return this.slice(0, Math.max(0, t)); }, takeLast: function (t) { return _e(this, this.toSeq().reverse().take(t).reverse()); }, takeWhile: function (t, e) { return _e(this, de(this, t, e)); }, takeUntil: function (t, e) { return this.takeWhile(Qe(t), e); }, valueSeq: function () { return this.toIndexedSeq(); }, hashCode: function () { return this.__hash || (this.__hash = on(this)); } });
|
||
var sr = e.prototype;
|
||
sr[cn] = !0, sr[_n] = sr.values, sr.__toJS = sr.toArray, sr.__toStringMapper = en, sr.inspect = sr.toSource = function () { return this.toString(); }, sr.chain = sr.flatMap, sr.contains = sr.includes, Ge(n, { flip: function () { return _e(this, ae(this)); }, mapEntries: function (t, e) { var n = this, r = 0; return _e(this, this.toSeq().map(function (i, o) { return t.call(e, [o, i], r++, n); }).fromEntrySeq()); }, mapKeys: function (t, e) { var n = this; return _e(this, this.toSeq().flip().map(function (r, i) { return t.call(e, r, i, n); }).flip()); } });
|
||
var ar = n.prototype;
|
||
return ar[ln] = !0, ar[_n] = sr.entries, ar.__toJS = sr.toObject, ar.__toStringMapper = function (t, e) { return JSON.stringify(e) + ": " + en(t); }, Ge(r, { toKeyedSeq: function () { return new re(this, !1); }, filter: function (t, e) { return _e(this, le(this, t, e, !1)); }, findIndex: function (t, e) { var n = this.findEntry(t, e); return n ? n[0] : -1; }, indexOf: function (t) { var e = this.keyOf(t); return void 0 === e ? -1 : e; }, lastIndexOf: function (t) { var e = this.lastKeyOf(t); return void 0 === e ? -1 : e; }, reverse: function () { return _e(this, ce(this, !1)); }, slice: function (t, e) { return _e(this, pe(this, t, e, !1)); }, splice: function (t, e) { var n = arguments.length; if (e = Math.max(0 | e, 0), 0 === n || 2 === n && !e)
|
||
return this; t = g(t, t < 0 ? this.count() : this.size); var r = this.slice(0, t); return _e(this, 1 === n ? r : r.concat(p(arguments, 2), this.slice(t + e))); }, findLastIndex: function (t, e) { var n = this.findLastEntry(t, e); return n ? n[0] : -1; }, first: function () { return this.get(0); }, flatten: function (t) { return _e(this, ye(this, t, !1)); }, get: function (t, e) { return t = m(this, t), t < 0 || this.size === 1 / 0 || void 0 !== this.size && t > this.size ? e : this.find(function (e, n) { return n === t; }, void 0, e); }, has: function (t) { return (t = m(this, t)) >= 0 && (void 0 !== this.size ? this.size === 1 / 0 || t < this.size : -1 !== this.indexOf(t)); }, interpose: function (t) { return _e(this, xe(this, t)); }, interleave: function () { var t = [this].concat(p(arguments)), e = we(this.toSeq(), I.of, t), n = e.flatten(!0); return e.size && (n.size = e.size * t.length), _e(this, n); }, keySeq: function () { return Q(0, this.size); }, last: function () { return this.get(-1); }, skipWhile: function (t, e) { return _e(this, me(this, t, e, !1)); }, zip: function () { return _e(this, we(this, nn, [this].concat(p(arguments)))); }, zipWith: function (t) { var e = p(arguments); return e[0] = this, _e(this, we(this, t, e)); } }), r.prototype[hn] = !0, r.prototype[fn] = !0, Ge(i, { get: function (t, e) { return this.has(t) ? t : e; }, includes: function (t) { return this.has(t); }, keySeq: function () { return this.valueSeq(); } }), i.prototype.has = sr.includes, i.prototype.contains = i.prototype.includes, Ge(T, n.prototype), Ge(I, r.prototype), Ge(O, i.prototype), Ge(et, n.prototype), Ge(nt, r.prototype), Ge(rt, i.prototype), { Iterable: e, Seq: F, Collection: tt, Map: ht, OrderedMap: Zt, List: Rt, Stack: We, Set: Ne, OrderedSet: Je, Record: Oe, Range: Q, Repeat: $, is: V, fromJS: K };
|
||
}); }, function (t, e) { function n(t) { return !!t && ("object" == typeof t || "function" == typeof t) && "function" == typeof t.then; } t.exports = n; }, function (t, e) { var n = {}.toString; t.exports = Array.isArray || function (t) { return "[object Array]" == n.call(t); }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(34);
|
||
t.exports = new r({ include: [n(171)] });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(34);
|
||
t.exports = new r({ include: [n(112)], implicit: [n(374), n(366), n(368), n(367)] });
|
||
}, function (t, e, n) { function r(t) { var e = this.__data__ = new i(t); this.size = e.size; } var i = n(71), o = n(464), s = n(465), a = n(466), u = n(467), c = n(468); r.prototype.clear = o, r.prototype.delete = s, r.prototype.get = a, r.prototype.has = u, r.prototype.set = c, t.exports = r; }, function (t, e) { function n(t, e) { for (var n = -1, r = null == t ? 0 : t.length; ++n < r;)
|
||
if (e(t[n], n, t))
|
||
return !0; return !1; } t.exports = n; }, function (t, e, n) { function r(t, e) { e = i(e, t); for (var n = 0, r = e.length; null != t && n < r;)
|
||
t = t[o(e[n++])]; return n && n == r ? t : void 0; } var i = n(176), o = n(76); t.exports = r; }, function (t, e, n) { function r(t, e, n, s, a) { return t === e || (null == t || null == e || !o(t) && !o(e) ? t !== t && e !== e : i(t, e, n, s, r, a)); } var i = n(402), o = n(51); t.exports = r; }, function (t, e, n) { function r(t, e) { return i(t) ? t : o(t, e) ? [t] : s(a(t)); } var i = n(8), o = n(117), s = n(470), a = n(52); t.exports = r; }, function (t, e, n) { function r(t, e, n, r, c, l) { var h = n & a, f = t.length, p = e.length; if (f != p && !(h && p > f))
|
||
return !1; var d = l.get(t); if (d && l.get(e))
|
||
return d == e; var m = -1, v = !0, y = n & u ? new i : void 0; for (l.set(t, e), l.set(e, t); ++m < f;) {
|
||
var g = t[m], x = e[m];
|
||
if (r)
|
||
var b = h ? r(x, g, m, e, t, l) : r(g, x, m, t, e, l);
|
||
if (void 0 !== b) {
|
||
if (b)
|
||
continue;
|
||
v = !1;
|
||
break;
|
||
}
|
||
if (y) {
|
||
if (!o(e, function (t, e) { if (!s(y, e) && (g === t || c(g, t, n, r, l)))
|
||
return y.push(e); })) {
|
||
v = !1;
|
||
break;
|
||
}
|
||
}
|
||
else if (g !== x && !c(g, x, n, r, l)) {
|
||
v = !1;
|
||
break;
|
||
}
|
||
} return l.delete(t), l.delete(e), v; } var i = n(385), o = n(173), s = n(417), a = 1, u = 2; t.exports = r; }, function (t, e, n) { (function (e) { var n = "object" == typeof e && e && e.Object === Object && e; t.exports = n; }).call(e, n(12)); }, function (t, e) { function n(t) { return r.test(t); } var r = RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"); t.exports = n; }, function (t, e, n) { function r(t) { return t === t && !i(t); } var i = n(50); t.exports = r; }, function (t, e) { function n(t, e) { return function (n) { return null != n && (n[t] === e && (void 0 !== e || t in Object(n))); }; } t.exports = n; }, function (t, e) { function n(t) { if (null != t) {
|
||
try {
|
||
return i.call(t);
|
||
}
|
||
catch (t) { }
|
||
try {
|
||
return t + "";
|
||
}
|
||
catch (t) { }
|
||
} return ""; } var r = Function.prototype, i = r.toString; t.exports = n; }, function (t, e, n) { var r = n(401), i = n(51), o = Object.prototype, s = o.hasOwnProperty, a = o.propertyIsEnumerable, u = r(function () { return arguments; }()) ? r : function (t) { return i(t) && s.call(t, "callee") && !a.call(t, "callee"); }; t.exports = u; }, function (t, e, n) { (function (t) { var r = n(7), i = n(484), o = "object" == typeof e && e && !e.nodeType && e, s = o && "object" == typeof t && t && !t.nodeType && t, a = s && s.exports === o, u = a ? r.Buffer : void 0, c = u ? u.isBuffer : void 0, l = c || i; t.exports = l; }).call(e, n(204)(t)); }, function (t, e, n) { function r(t) { if (!o(t))
|
||
return !1; var e = i(t); return e == a || e == u || e == s || e == c; } var i = n(49), o = n(50), s = "[object AsyncFunction]", a = "[object Function]", u = "[object GeneratorFunction]", c = "[object Proxy]"; t.exports = r; }, function (t, e, n) { var r = n(405), i = n(416), o = n(458), s = o && o.isTypedArray, a = s ? i(s) : r; t.exports = a; }, function (t, e, n) { function r(t, e) { if ("function" != typeof t || null != e && "function" != typeof e)
|
||
throw new TypeError(o); var n = function () { var r = arguments, i = e ? e.apply(this, r) : r[0], o = n.cache; if (o.has(i))
|
||
return o.get(i); var s = t.apply(this, r); return n.cache = o.set(i, s) || o, s; }; return n.cache = new (r.Cache || i), n; } var i = n(114), o = "Expected a function"; r.Cache = i, t.exports = r; }, function (t, e, n) { var r = n(422), i = r("toUpperCase"); t.exports = i; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(20);
|
||
t.exports = function (t, e, n) { var i; return isNaN(t) ? (i = e, i >= 0 ? n && i ? i - 1 : i : 1) : !1 !== t && r(t); };
|
||
}, function (t, e, n) { t.exports = n(508)(); }, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t, e, n) { this.props = t, this.context = e, this.refs = c, this.updater = n || u; }
|
||
function i(t, e, n) { this.props = t, this.context = e, this.refs = c, this.updater = n || u; }
|
||
function o() { }
|
||
var s = n(82), a = n(53), u = n(195), c = (n(196), n(166));
|
||
n(21), n(520);
|
||
r.prototype.isReactComponent = {}, r.prototype.setState = function (t, e) { "object" != typeof t && "function" != typeof t && null != t && s("85"), this.updater.enqueueSetState(this, t), e && this.updater.enqueueCallback(this, e, "setState"); }, r.prototype.forceUpdate = function (t) { this.updater.enqueueForceUpdate(this), t && this.updater.enqueueCallback(this, t, "forceUpdate"); };
|
||
o.prototype = r.prototype, i.prototype = new o, i.prototype.constructor = i, a(i.prototype, r.prototype), i.prototype.isPureReactComponent = !0, t.exports = { Component: r, PureComponent: i };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = { current: null };
|
||
t.exports = r;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = "function" == typeof Symbol && Symbol.for && Symbol.for("react.element") || 60103;
|
||
t.exports = r;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = (n(69), { isMounted: function (t) { return !1; }, enqueueCallback: function (t, e) { }, enqueueForceUpdate: function (t) { }, enqueueReplaceState: function (t, e) { }, enqueueSetState: function (t, e) { } });
|
||
t.exports = r;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = !1;
|
||
t.exports = r;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = n(513);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
(function (e, r) { function i(t) { return N.from(t); } function o(t) { return N.isBuffer(t) || t instanceof L; } function s(t, e, n) { if ("function" == typeof t.prependListener)
|
||
return t.prependListener(e, n); t._events && t._events[e] ? B(t._events[e]) ? t._events[e].unshift(n) : t._events[e] = [n, t._events[e]] : t.on(e, n); } function a(t, e) { M = M || n(23), t = t || {}; var r = e instanceof M; this.objectMode = !!t.objectMode, r && (this.objectMode = this.objectMode || !!t.readableObjectMode); var i = t.highWaterMark, o = t.readableHighWaterMark, s = this.objectMode ? 16 : 16384; this.highWaterMark = i || 0 === i ? i : r && (o || 0 === o) ? o : s, this.highWaterMark = Math.floor(this.highWaterMark), this.buffer = new X, this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.destroyed = !1, this.defaultEncoding = t.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, t.encoding && (J || (J = n(202).StringDecoder), this.decoder = new J(t.encoding), this.encoding = t.encoding); } function u(t) { if (M = M || n(23), !(this instanceof u))
|
||
return new u(t); this._readableState = new a(t, this), this.readable = !0, t && ("function" == typeof t.read && (this._read = t.read), "function" == typeof t.destroy && (this._destroy = t.destroy)), j.call(this); } function c(t, e, n, r, o) { var s = t._readableState; if (null === e)
|
||
s.reading = !1, m(t, s);
|
||
else {
|
||
var a;
|
||
o || (a = h(s, e)), a ? t.emit("error", a) : s.objectMode || e && e.length > 0 ? ("string" == typeof e || s.objectMode || Object.getPrototypeOf(e) === N.prototype || (e = i(e)), r ? s.endEmitted ? t.emit("error", new Error("stream.unshift() after end event")) : l(t, s, e, !0) : s.ended ? t.emit("error", new Error("stream.push() after EOF")) : (s.reading = !1, s.decoder && !n ? (e = s.decoder.write(e), s.objectMode || 0 !== e.length ? l(t, s, e, !1) : g(t, s)) : l(t, s, e, !1))) : r || (s.reading = !1);
|
||
} return f(s); } function l(t, e, n, r) { e.flowing && 0 === e.length && !e.sync ? (t.emit("data", n), t.read(0)) : (e.length += e.objectMode ? 1 : n.length, r ? e.buffer.unshift(n) : e.buffer.push(n), e.needReadable && v(t)), g(t, e); } function h(t, e) { var n; return o(e) || "string" == typeof e || void 0 === e || t.objectMode || (n = new TypeError("Invalid non-string/buffer chunk")), n; } function f(t) { return !t.ended && (t.needReadable || t.length < t.highWaterMark || 0 === t.length); } function p(t) { return t >= W ? t = W : (t--, t |= t >>> 1, t |= t >>> 2, t |= t >>> 4, t |= t >>> 8, t |= t >>> 16, t++), t; } function d(t, e) { return t <= 0 || 0 === e.length && e.ended ? 0 : e.objectMode ? 1 : t !== t ? e.flowing && e.length ? e.buffer.head.data.length : e.length : (t > e.highWaterMark && (e.highWaterMark = p(t)), t <= e.length ? t : e.ended ? e.length : (e.needReadable = !0, 0)); } function m(t, e) { if (!e.ended) {
|
||
if (e.decoder) {
|
||
var n = e.decoder.end();
|
||
n && n.length && (e.buffer.push(n), e.length += e.objectMode ? 1 : n.length);
|
||
}
|
||
e.ended = !0, v(t);
|
||
} } function v(t) { var e = t._readableState; e.needReadable = !1, e.emittedReadable || (U("emitReadable", e.flowing), e.emittedReadable = !0, e.sync ? O.nextTick(y, t) : y(t)); } function y(t) { U("emit readable"), t.emit("readable"), _(t); } function g(t, e) { e.readingMore || (e.readingMore = !0, O.nextTick(x, t, e)); } function x(t, e) { for (var n = e.length; !e.reading && !e.flowing && !e.ended && e.length < e.highWaterMark && (U("maybeReadMore read 0"), t.read(0), n !== e.length);)
|
||
n = e.length; e.readingMore = !1; } function b(t) { return function () { var e = t._readableState; U("pipeOnDrain", e.awaitDrain), e.awaitDrain && e.awaitDrain--, 0 === e.awaitDrain && P(t, "data") && (e.flowing = !0, _(t)); }; } function D(t) { U("readable nexttick read 0"), t.read(0); } function E(t, e) { e.resumeScheduled || (e.resumeScheduled = !0, O.nextTick(w, t, e)); } function w(t, e) { e.reading || (U("resume read 0"), t.read(0)), e.resumeScheduled = !1, e.awaitDrain = 0, t.emit("resume"), _(t), e.flowing && !e.reading && t.read(0); } function _(t) { var e = t._readableState; for (U("flow", e.flowing); e.flowing && null !== t.read();)
|
||
; } function S(t, e) { if (0 === e.length)
|
||
return null; var n; return e.objectMode ? n = e.buffer.shift() : !t || t >= e.length ? (n = e.decoder ? e.buffer.join("") : 1 === e.buffer.length ? e.buffer.head.data : e.buffer.concat(e.length), e.buffer.clear()) : n = A(t, e.buffer, e.decoder), n; } function A(t, e, n) { var r; return t < e.head.data.length ? (r = e.head.data.slice(0, t), e.head.data = e.head.data.slice(t)) : r = t === e.head.data.length ? e.shift() : n ? C(t, e) : k(t, e), r; } function C(t, e) { var n = e.head, r = 1, i = n.data; for (t -= i.length; n = n.next;) {
|
||
var o = n.data, s = t > o.length ? o.length : t;
|
||
if (s === o.length ? i += o : i += o.slice(0, t), 0 === (t -= s)) {
|
||
s === o.length ? (++r, n.next ? e.head = n.next : e.head = e.tail = null) : (e.head = n, n.data = o.slice(s));
|
||
break;
|
||
}
|
||
++r;
|
||
} return e.length -= r, i; } function k(t, e) { var n = N.allocUnsafe(t), r = e.head, i = 1; for (r.data.copy(n), t -= r.data.length; r = r.next;) {
|
||
var o = r.data, s = t > o.length ? o.length : t;
|
||
if (o.copy(n, n.length - t, 0, s), 0 === (t -= s)) {
|
||
s === o.length ? (++i, r.next ? e.head = r.next : e.head = e.tail = null) : (e.head = r, r.data = o.slice(s));
|
||
break;
|
||
}
|
||
++i;
|
||
} return e.length -= i, n; } function F(t) { var e = t._readableState; if (e.length > 0)
|
||
throw new Error('"endReadable()" called on non-empty stream'); e.endEmitted || (e.ended = !0, O.nextTick(T, e, t)); } function T(t, e) { t.endEmitted || 0 !== t.length || (t.endEmitted = !0, e.readable = !1, e.emit("end")); } function I(t, e) { for (var n = 0, r = t.length; n < r; n++)
|
||
if (t[n] === e)
|
||
return n; return -1; } var O = n(81); t.exports = u; var M, B = n(169); u.ReadableState = a; var P = (n(111).EventEmitter, function (t, e) { return t.listeners(e).length; }), j = n(201), N = n(83).Buffer, L = e.Uint8Array || function () { }, R = n(45); R.inherits = n(32); var z = n(537), U = void 0; U = z && z.debuglog ? z.debuglog("stream") : function () { }; var J, X = n(525), q = n(200); R.inherits(u, j); var K = ["error", "close", "destroy", "pause", "resume"]; Object.defineProperty(u.prototype, "destroyed", { get: function () { return void 0 !== this._readableState && this._readableState.destroyed; }, set: function (t) { this._readableState && (this._readableState.destroyed = t); } }), u.prototype.destroy = q.destroy, u.prototype._undestroy = q.undestroy, u.prototype._destroy = function (t, e) { this.push(null), e(t); }, u.prototype.push = function (t, e) { var n, r = this._readableState; return r.objectMode ? n = !0 : "string" == typeof t && (e = e || r.defaultEncoding, e !== r.encoding && (t = N.from(t, e), e = ""), n = !0), c(this, t, e, !1, n); }, u.prototype.unshift = function (t) { return c(this, t, null, !0, !1); }, u.prototype.isPaused = function () { return !1 === this._readableState.flowing; }, u.prototype.setEncoding = function (t) { return J || (J = n(202).StringDecoder), this._readableState.decoder = new J(t), this._readableState.encoding = t, this; }; var W = 8388608; u.prototype.read = function (t) { U("read", t), t = parseInt(t, 10); var e = this._readableState, n = t; if (0 !== t && (e.emittedReadable = !1), 0 === t && e.needReadable && (e.length >= e.highWaterMark || e.ended))
|
||
return U("read: emitReadable", e.length, e.ended), 0 === e.length && e.ended ? F(this) : v(this), null; if (0 === (t = d(t, e)) && e.ended)
|
||
return 0 === e.length && F(this), null; var r = e.needReadable; U("need readable", r), (0 === e.length || e.length - t < e.highWaterMark) && (r = !0, U("length less than watermark", r)), e.ended || e.reading ? (r = !1, U("reading or ended", r)) : r && (U("do read"), e.reading = !0, e.sync = !0, 0 === e.length && (e.needReadable = !0), this._read(e.highWaterMark), e.sync = !1, e.reading || (t = d(n, e))); var i; return i = t > 0 ? S(t, e) : null, null === i ? (e.needReadable = !0, t = 0) : e.length -= t, 0 === e.length && (e.ended || (e.needReadable = !0), n !== t && e.ended && F(this)), null !== i && this.emit("data", i), i; }, u.prototype._read = function (t) { this.emit("error", new Error("_read() is not implemented")); }, u.prototype.pipe = function (t, e) { function n(t, e) { U("onunpipe"), t === f && e && !1 === e.hasUnpiped && (e.hasUnpiped = !0, o()); } function i() { U("onend"), t.end(); } function o() { U("cleanup"), t.removeListener("close", c), t.removeListener("finish", l), t.removeListener("drain", v), t.removeListener("error", u), t.removeListener("unpipe", n), f.removeListener("end", i), f.removeListener("end", h), f.removeListener("data", a), y = !0, !p.awaitDrain || t._writableState && !t._writableState.needDrain || v(); } function a(e) { U("ondata"), g = !1, !1 !== t.write(e) || g || ((1 === p.pipesCount && p.pipes === t || p.pipesCount > 1 && -1 !== I(p.pipes, t)) && !y && (U("false write response, pause", f._readableState.awaitDrain), f._readableState.awaitDrain++, g = !0), f.pause()); } function u(e) { U("onerror", e), h(), t.removeListener("error", u), 0 === P(t, "error") && t.emit("error", e); } function c() { t.removeListener("finish", l), h(); } function l() { U("onfinish"), t.removeListener("close", c), h(); } function h() { U("unpipe"), f.unpipe(t); } var f = this, p = this._readableState; switch (p.pipesCount) {
|
||
case 0:
|
||
p.pipes = t;
|
||
break;
|
||
case 1:
|
||
p.pipes = [p.pipes, t];
|
||
break;
|
||
default: p.pipes.push(t);
|
||
} p.pipesCount += 1, U("pipe count=%d opts=%j", p.pipesCount, e); var d = (!e || !1 !== e.end) && t !== r.stdout && t !== r.stderr, m = d ? i : h; p.endEmitted ? O.nextTick(m) : f.once("end", m), t.on("unpipe", n); var v = b(f); t.on("drain", v); var y = !1, g = !1; return f.on("data", a), s(t, "error", u), t.once("close", c), t.once("finish", l), t.emit("pipe", f), p.flowing || (U("pipe resume"), f.resume()), t; }, u.prototype.unpipe = function (t) { var e = this._readableState, n = { hasUnpiped: !1 }; if (0 === e.pipesCount)
|
||
return this; if (1 === e.pipesCount)
|
||
return t && t !== e.pipes ? this : (t || (t = e.pipes), e.pipes = null, e.pipesCount = 0, e.flowing = !1, t && t.emit("unpipe", this, n), this); if (!t) {
|
||
var r = e.pipes, i = e.pipesCount;
|
||
e.pipes = null, e.pipesCount = 0, e.flowing = !1;
|
||
for (var o = 0; o < i; o++)
|
||
r[o].emit("unpipe", this, n);
|
||
return this;
|
||
} var s = I(e.pipes, t); return -1 === s ? this : (e.pipes.splice(s, 1), e.pipesCount -= 1, 1 === e.pipesCount && (e.pipes = e.pipes[0]), t.emit("unpipe", this, n), this); }, u.prototype.on = function (t, e) { var n = j.prototype.on.call(this, t, e); if ("data" === t)
|
||
!1 !== this._readableState.flowing && this.resume();
|
||
else if ("readable" === t) {
|
||
var r = this._readableState;
|
||
r.endEmitted || r.readableListening || (r.readableListening = r.needReadable = !0, r.emittedReadable = !1, r.reading ? r.length && v(this) : O.nextTick(D, this));
|
||
} return n; }, u.prototype.addListener = u.prototype.on, u.prototype.resume = function () { var t = this._readableState; return t.flowing || (U("resume"), t.flowing = !0, E(this, t)), this; }, u.prototype.pause = function () { return U("call pause flowing=%j", this._readableState.flowing), !1 !== this._readableState.flowing && (U("pause"), this._readableState.flowing = !1, this.emit("pause")), this; }, u.prototype.wrap = function (t) { var e = this, n = this._readableState, r = !1; t.on("end", function () { if (U("wrapped end"), n.decoder && !n.ended) {
|
||
var t = n.decoder.end();
|
||
t && t.length && e.push(t);
|
||
} e.push(null); }), t.on("data", function (i) { if (U("wrapped data"), n.decoder && (i = n.decoder.write(i)), (!n.objectMode || null !== i && void 0 !== i) && (n.objectMode || i && i.length)) {
|
||
e.push(i) || (r = !0, t.pause());
|
||
} }); for (var i in t)
|
||
void 0 === this[i] && "function" == typeof t[i] && (this[i] = function (e) { return function () { return t[e].apply(t, arguments); }; }(i)); for (var o = 0; o < K.length; o++)
|
||
t.on(K[o], this.emit.bind(this, K[o])); return this._read = function (e) { U("wrapped _read", e), r && (r = !1, t.resume()); }, this; }, Object.defineProperty(u.prototype, "readableHighWaterMark", { enumerable: !1, get: function () { return this._readableState.highWaterMark; } }), u._fromList = S; }).call(e, n(12), n(36));
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t, e) { var n = this._transformState; n.transforming = !1; var r = n.writecb; if (!r)
|
||
return this.emit("error", new Error("write callback called multiple times")); n.writechunk = null, n.writecb = null, null != e && this.push(e), r(t); var i = this._readableState; i.reading = !1, (i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark); }
|
||
function i(t) { if (!(this instanceof i))
|
||
return new i(t); a.call(this, t), this._transformState = { afterTransform: r.bind(this), needTransform: !1, transforming: !1, writecb: null, writechunk: null, writeencoding: null }, this._readableState.needReadable = !0, this._readableState.sync = !1, t && ("function" == typeof t.transform && (this._transform = t.transform), "function" == typeof t.flush && (this._flush = t.flush)), this.on("prefinish", o); }
|
||
function o() { var t = this; "function" == typeof this._flush ? this._flush(function (e, n) { s(t, e, n); }) : s(this, null, null); }
|
||
function s(t, e, n) { if (e)
|
||
return t.emit("error", e); if (null != n && t.push(n), t._writableState.length)
|
||
throw new Error("Calling transform done when ws.length != 0"); if (t._transformState.transforming)
|
||
throw new Error("Calling transform done when still transforming"); return t.push(null); }
|
||
t.exports = i;
|
||
var a = n(23), u = n(45);
|
||
u.inherits = n(32), u.inherits(i, a), i.prototype.push = function (t, e) { return this._transformState.needTransform = !1, a.prototype.push.call(this, t, e); }, i.prototype._transform = function (t, e, n) { throw new Error("_transform() is not implemented"); }, i.prototype._write = function (t, e, n) { var r = this._transformState; if (r.writecb = n, r.writechunk = t, r.writeencoding = e, !r.transforming) {
|
||
var i = this._readableState;
|
||
(r.needTransform || i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark);
|
||
} }, i.prototype._read = function (t) { var e = this._transformState; null !== e.writechunk && e.writecb && !e.transforming ? (e.transforming = !0, this._transform(e.writechunk, e.writeencoding, e.afterTransform)) : e.needTransform = !0; }, i.prototype._destroy = function (t, e) { var n = this; a.prototype._destroy.call(this, t, function (t) { e(t), n.emit("close"); }); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t, e) { var n = this, r = this._readableState && this._readableState.destroyed, i = this._writableState && this._writableState.destroyed; return r || i ? (e ? e(t) : !t || this._writableState && this._writableState.errorEmitted || s.nextTick(o, this, t), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(t || null, function (t) { !e && t ? (s.nextTick(o, n, t), n._writableState && (n._writableState.errorEmitted = !0)) : e && e(t); }), this); }
|
||
function i() { this._readableState && (this._readableState.destroyed = !1, this._readableState.reading = !1, this._readableState.ended = !1, this._readableState.endEmitted = !1), this._writableState && (this._writableState.destroyed = !1, this._writableState.ended = !1, this._writableState.ending = !1, this._writableState.finished = !1, this._writableState.errorEmitted = !1); }
|
||
function o(t, e) { t.emit("error", e); }
|
||
var s = n(81);
|
||
t.exports = { destroy: r, undestroy: i };
|
||
}, function (t, e, n) { t.exports = n(111).EventEmitter; }, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { if (!t)
|
||
return "utf8"; for (var e;;)
|
||
switch (t) {
|
||
case "utf8":
|
||
case "utf-8": return "utf8";
|
||
case "ucs2":
|
||
case "ucs-2":
|
||
case "utf16le":
|
||
case "utf-16le": return "utf16le";
|
||
case "latin1":
|
||
case "binary": return "latin1";
|
||
case "base64":
|
||
case "ascii":
|
||
case "hex": return t;
|
||
default:
|
||
if (e)
|
||
return;
|
||
t = ("" + t).toLowerCase(), e = !0;
|
||
} }
|
||
function i(t) { var e = r(t); if ("string" != typeof e && (g.isEncoding === x || !x(t)))
|
||
throw new Error("Unknown encoding: " + t); return e || t; }
|
||
function o(t) { this.encoding = i(t); var e; switch (this.encoding) {
|
||
case "utf16le":
|
||
this.text = f, this.end = p, e = 4;
|
||
break;
|
||
case "utf8":
|
||
this.fillLast = c, e = 4;
|
||
break;
|
||
case "base64":
|
||
this.text = d, this.end = m, e = 3;
|
||
break;
|
||
default: return this.write = v, void (this.end = y);
|
||
} this.lastNeed = 0, this.lastTotal = 0, this.lastChar = g.allocUnsafe(e); }
|
||
function s(t) { return t <= 127 ? 0 : t >> 5 == 6 ? 2 : t >> 4 == 14 ? 3 : t >> 3 == 30 ? 4 : t >> 6 == 2 ? -1 : -2; }
|
||
function a(t, e, n) { var r = e.length - 1; if (r < n)
|
||
return 0; var i = s(e[r]); return i >= 0 ? (i > 0 && (t.lastNeed = i - 1), i) : --r < n || -2 === i ? 0 : (i = s(e[r])) >= 0 ? (i > 0 && (t.lastNeed = i - 2), i) : --r < n || -2 === i ? 0 : (i = s(e[r]), i >= 0 ? (i > 0 && (2 === i ? i = 0 : t.lastNeed = i - 3), i) : 0); }
|
||
function u(t, e, n) { if (128 != (192 & e[0]))
|
||
return t.lastNeed = 0, "�"; if (t.lastNeed > 1 && e.length > 1) {
|
||
if (128 != (192 & e[1]))
|
||
return t.lastNeed = 1, "�";
|
||
if (t.lastNeed > 2 && e.length > 2 && 128 != (192 & e[2]))
|
||
return t.lastNeed = 2, "�";
|
||
} }
|
||
function c(t) { var e = this.lastTotal - this.lastNeed, n = u(this, t, e); return void 0 !== n ? n : this.lastNeed <= t.length ? (t.copy(this.lastChar, e, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal)) : (t.copy(this.lastChar, e, 0, t.length), void (this.lastNeed -= t.length)); }
|
||
function l(t, e) { var n = a(this, t, e); if (!this.lastNeed)
|
||
return t.toString("utf8", e); this.lastTotal = n; var r = t.length - (n - this.lastNeed); return t.copy(this.lastChar, 0, r), t.toString("utf8", e, r); }
|
||
function h(t) { var e = t && t.length ? this.write(t) : ""; return this.lastNeed ? e + "�" : e; }
|
||
function f(t, e) { if ((t.length - e) % 2 == 0) {
|
||
var n = t.toString("utf16le", e);
|
||
if (n) {
|
||
var r = n.charCodeAt(n.length - 1);
|
||
if (r >= 55296 && r <= 56319)
|
||
return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] = t[t.length - 2], this.lastChar[1] = t[t.length - 1], n.slice(0, -1);
|
||
}
|
||
return n;
|
||
} return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = t[t.length - 1], t.toString("utf16le", e, t.length - 1); }
|
||
function p(t) { var e = t && t.length ? this.write(t) : ""; if (this.lastNeed) {
|
||
var n = this.lastTotal - this.lastNeed;
|
||
return e + this.lastChar.toString("utf16le", 0, n);
|
||
} return e; }
|
||
function d(t, e) { var n = (t.length - e) % 3; return 0 === n ? t.toString("base64", e) : (this.lastNeed = 3 - n, this.lastTotal = 3, 1 === n ? this.lastChar[0] = t[t.length - 1] : (this.lastChar[0] = t[t.length - 2], this.lastChar[1] = t[t.length - 1]), t.toString("base64", e, t.length - n)); }
|
||
function m(t) { var e = t && t.length ? this.write(t) : ""; return this.lastNeed ? e + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : e; }
|
||
function v(t) { return t.toString(this.encoding); }
|
||
function y(t) { return t && t.length ? this.write(t) : ""; }
|
||
var g = n(83).Buffer, x = g.isEncoding || function (t) { switch ((t = "" + t) && t.toLowerCase()) {
|
||
case "hex":
|
||
case "utf8":
|
||
case "utf-8":
|
||
case "ascii":
|
||
case "binary":
|
||
case "base64":
|
||
case "ucs2":
|
||
case "ucs-2":
|
||
case "utf16le":
|
||
case "utf-16le":
|
||
case "raw": return !0;
|
||
default: return !1;
|
||
} };
|
||
e.StringDecoder = o, o.prototype.write = function (t) { if (0 === t.length)
|
||
return ""; var e, n; if (this.lastNeed) {
|
||
if (void 0 === (e = this.fillLast(t)))
|
||
return "";
|
||
n = this.lastNeed, this.lastNeed = 0;
|
||
}
|
||
else
|
||
n = 0; return n < t.length ? e ? e + this.text(t, n) : this.text(t, n) : e || ""; }, o.prototype.end = h, o.prototype.text = l, o.prototype.fillLast = function (t) { if (this.lastNeed <= t.length)
|
||
return t.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal); t.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, t.length), this.lastNeed -= t.length; };
|
||
}, function (t, e, n) { (function (t) { function r(t, e) { this._id = t, this._clearFn = e; } var i = Function.prototype.apply; e.setTimeout = function () { return new r(i.call(setTimeout, window, arguments), clearTimeout); }, e.setInterval = function () { return new r(i.call(setInterval, window, arguments), clearInterval); }, e.clearTimeout = e.clearInterval = function (t) { t && t.close(); }, r.prototype.unref = r.prototype.ref = function () { }, r.prototype.close = function () { this._clearFn.call(window, this._id); }, e.enroll = function (t, e) { clearTimeout(t._idleTimeoutId), t._idleTimeout = e; }, e.unenroll = function (t) { clearTimeout(t._idleTimeoutId), t._idleTimeout = -1; }, e._unrefActive = e.active = function (t) { clearTimeout(t._idleTimeoutId); var e = t._idleTimeout; e >= 0 && (t._idleTimeoutId = setTimeout(function () { t._onTimeout && t._onTimeout(); }, e)); }, n(529), e.setImmediate = "undefined" != typeof self && self.setImmediate || void 0 !== t && t.setImmediate || this && this.setImmediate, e.clearImmediate = "undefined" != typeof self && self.clearImmediate || void 0 !== t && t.clearImmediate || this && this.clearImmediate; }).call(e, n(12)); }, function (t, e) { t.exports = function (t) { return t.webpackPolyfill || (t.deprecate = function () { }, t.paths = [], t.children || (t.children = []), Object.defineProperty(t, "loaded", { enumerable: !0, get: function () { return t.l; } }), Object.defineProperty(t, "id", { enumerable: !0, get: function () { return t.i; } }), t.webpackPolyfill = 1), t; }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(125);
|
||
void 0 === function (t) { return t && t.__esModule ? t : { default: t }; }(r).default.Promise && n(227), String.prototype.startsWith || n(226);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return t && t.__esModule ? t : { default: t }; }
|
||
var i = n(215), o = r(i), s = n(213), a = r(s), u = n(208), c = r(u), l = [a.default, c.default, function () { return { components: { StandaloneLayout: o.default } }; }];
|
||
t.exports = l;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return u.indexOf(t[0]) > -1; }
|
||
function i(t) { var e, n, i = t.replace(s, ""); return r(i) ? i : (n = i.match(a)) ? (e = n[0], o.test(e) ? "about:blank" : i) : "about:blank"; }
|
||
var o = /^(%20|\s)*(javascript|data)/im, s = /[^\x20-\x7E]/gim, a = /^([^:]+):/gm, u = [".", "/"];
|
||
t.exports = { sanitizeUrl: i };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { if (t && t.__esModule)
|
||
return t; var e = {}; if (null != t)
|
||
for (var n in t)
|
||
Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]); return e.default = t, e; }
|
||
function i(t) { return t && t.__esModule ? t : { default: t }; }
|
||
function o() { return { statePlugins: { spec: { actions: f, selectors: y }, configs: { reducers: v.default, actions: l, selectors: d } } }; }
|
||
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = o;
|
||
var s = n(510), a = i(s), u = n(123), c = n(122), l = r(c), h = n(211), f = r(h), p = n(210), d = r(p), m = n(209), v = i(m), y = { getLocalConfig: function () { return (0, u.parseYamlConfig)(a.default); } };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 });
|
||
var r, i = n(130), o = function (t) { return t && t.__esModule ? t : { default: t }; }(i), s = n(167), a = n(122);
|
||
e.default = (r = {}, (0, o.default)(r, a.UPDATE_CONFIGS, function (t, e) { return t.merge((0, s.fromJS)(e.payload)); }), (0, o.default)(r, a.TOGGLE_CONFIGS, function (t, e) { var n = e.payload, r = t.get(n); return t.set(n, !r); }), r);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 });
|
||
e.get = function (t, e) { return t.getIn(Array.isArray(e) ? e : [e]); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 }), e.getConfigByUrl = e.downloadConfig = void 0;
|
||
var r = n(123);
|
||
e.downloadConfig = function (t) { return function (e) { return (0, e.fn.fetch)(t); }; }, e.getConfigByUrl = function (t, e) { return function (n) { function i(n) { n instanceof Error || n.status >= 400 ? (o.updateLoadingStatus("failedConfig"), o.updateLoadingStatus("failedConfig"), o.updateUrl(""), console.error(n.statusText + " " + t.url), e(null)) : e((0, r.parseYamlConfig)(n.text)); } var o = n.specActions; if (t)
|
||
return o.downloadConfig(t).then(i, i); }; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return t && t.__esModule ? t : { default: t }; }
|
||
function i(t, e) { var n = p(t, e); if (n)
|
||
return (0, a.default)(n, { declaration: !0, indent: "\t" }); }
|
||
Object.defineProperty(e, "__esModule", { value: !0 }), e.memoizedSampleFromSchema = e.memoizedCreateXMLExample = e.sampleXmlFromSchema = e.inferSchema = e.sampleFromSchema = void 0, e.createXMLExample = i;
|
||
var o = n(124), s = n(536), a = r(s), u = n(496), c = r(u), l = { string: function () { return "string"; }, string_email: function () { return "user@example.com"; }, "string_date-time": function () { return (new Date).toISOString(); }, number: function () { return 0; }, number_float: function () { return 0; }, integer: function () { return 0; }, boolean: function (t) { return "boolean" != typeof t.default || t.default; } }, h = function (t) { t = (0, o.objectify)(t); var e = t, n = e.type, r = e.format, i = l[n + "_" + r] || l[n]; return (0, o.isFunc)(i) ? i(t) : "Unknown Type: " + t.type; }, f = e.sampleFromSchema = function t(e) { var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, r = (0, o.objectify)(e), i = r.type, s = r.example, a = r.properties, u = r.additionalProperties, c = r.items, l = n.includeReadOnly, f = n.includeWriteOnly; if (void 0 !== s)
|
||
return (0, o.deeplyStripKey)(s, "$$ref", function (t) { return "string" == typeof t && t.indexOf("#") > -1; }); if (!i)
|
||
if (a)
|
||
i = "object";
|
||
else {
|
||
if (!c)
|
||
return;
|
||
i = "array";
|
||
} if ("object" === i) {
|
||
var p = (0, o.objectify)(a), d = {};
|
||
for (var m in p)
|
||
p[m].readOnly && !l || p[m].writeOnly && !f || (d[m] = t(p[m], n));
|
||
if (!0 === u)
|
||
d.additionalProp1 = {};
|
||
else if (u)
|
||
for (var v = (0, o.objectify)(u), y = t(v, n), g = 1; g < 4; g++)
|
||
d["additionalProp" + g] = y;
|
||
return d;
|
||
} return "array" === i ? Array.isArray(c.anyOf) ? c.anyOf.map(function (e) { return t(e, n); }) : Array.isArray(c.oneOf) ? c.oneOf.map(function (e) { return t(e, n); }) : [t(c, n)] : e.enum ? e.default ? e.default : (0, o.normalizeArray)(e.enum)[0] : "file" !== i ? h(e) : void 0; }, p = (e.inferSchema = function (t) { return t.schema && (t = t.schema), t.properties && (t.type = "object"), t; }, e.sampleXmlFromSchema = function t(e) { var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, r = (0, o.objectify)(e), i = r.type, s = r.properties, a = r.additionalProperties, u = r.items, c = r.example, l = n.includeReadOnly, f = n.includeWriteOnly, p = r.default, d = {}, m = {}, v = e.xml, y = v.name, g = v.prefix, x = v.namespace, b = r.enum, D = void 0, E = void 0; if (!i)
|
||
if (s || a)
|
||
i = "object";
|
||
else {
|
||
if (!u)
|
||
return;
|
||
i = "array";
|
||
} if (y = y || "notagname", D = (g ? g + ":" : "") + y, x) {
|
||
m[g ? "xmlns:" + g : "xmlns"] = x;
|
||
} if ("array" === i && u) {
|
||
if (u.xml = u.xml || v || {}, u.xml.name = u.xml.name || v.name, v.wrapped)
|
||
return d[D] = [], Array.isArray(c) ? c.forEach(function (e) { u.example = e, d[D].push(t(u, n)); }) : Array.isArray(p) ? p.forEach(function (e) { u.default = e, d[D].push(t(u, n)); }) : d[D] = [t(u, n)], m && d[D].push({ _attr: m }), d;
|
||
var w = [];
|
||
return Array.isArray(c) ? (c.forEach(function (e) { u.example = e, w.push(t(u, n)); }), w) : Array.isArray(p) ? (p.forEach(function (e) { u.default = e, w.push(t(u, n)); }), w) : t(u, n);
|
||
} if ("object" === i) {
|
||
var _ = (0, o.objectify)(s);
|
||
d[D] = [], c = c || {};
|
||
for (var S in _)
|
||
if (_.hasOwnProperty(S) && (!_[S].readOnly || l) && (!_[S].writeOnly || f))
|
||
if (_[S].xml = _[S].xml || {}, _[S].xml.attribute) {
|
||
var A = Array.isArray(_[S].enum) && _[S].enum[0], C = _[S].example, k = _[S].default;
|
||
m[_[S].xml.name || S] = void 0 !== C && C || void 0 !== c[S] && c[S] || void 0 !== k && k || A || h(_[S]);
|
||
}
|
||
else {
|
||
_[S].xml.name = _[S].xml.name || S, void 0 === _[S].example && void 0 !== c[S] && (_[S].example = c[S]);
|
||
var F = t(_[S]);
|
||
Array.isArray(F) ? d[D] = d[D].concat(F) : d[D].push(F);
|
||
}
|
||
return !0 === a ? d[D].push({ additionalProp: "Anything can be here" }) : a && d[D].push({ additionalProp: h(a) }), m && d[D].push({ _attr: m }), d;
|
||
} return E = void 0 !== c ? c : void 0 !== p ? p : Array.isArray(b) ? b[0] : h(e), d[D] = m ? [{ _attr: m }, E] : E, d; });
|
||
e.memoizedCreateXMLExample = (0, c.default)(i), e.memoizedSampleFromSchema = (0, c.default)(f);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = function () { return { components: { Topbar: i.default } }; };
|
||
var r = n(214), i = function (t) { return t && t.__esModule ? t : { default: t }; }(r);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return t && t.__esModule ? t : { default: t }; }
|
||
Object.defineProperty(e, "__esModule", { value: !0 });
|
||
var i = n(127), o = r(i), s = n(128), a = r(s), u = n(129), c = r(u), l = n(132), h = r(l), f = n(131), p = r(f), d = n(197), m = r(d), v = n(190), y = r(v), g = n(533), x = r(g), b = n(124), D = function (t) { function e(t, n) { (0, a.default)(this, e); var r = (0, h.default)(this, (e.__proto__ || (0, o.default)(e)).call(this, t, n)); return r.onUrlChange = function (t) { var e = t.target.value; r.setState({ url: e }); }, r.loadSpec = function (t) { r.props.specActions.updateUrl(t), r.props.specActions.download(t); }, r.onUrlSelect = function (t) { var e = t.target.value || t.target.href; r.loadSpec(e), r.setSelectedUrl(e), t.preventDefault(); }, r.downloadUrl = function (t) { r.loadSpec(r.state.url), t.preventDefault(); }, r.setSearch = function (t) { var e = (0, b.parseSearch)(); e["urls.primaryName"] = t.name; var n = window.location.protocol + "//" + window.location.host + window.location.pathname; window && window.history && window.history.pushState && window.history.replaceState(null, "", n + "?" + (0, b.serializeSearch)(e)); }, r.setSelectedUrl = function (t) { var e = r.props.getConfigs(), n = e.urls || []; n && n.length && t && n.forEach(function (e, n) { e.url === t && (r.setState({ selectedIndex: n }), r.setSearch(e)); }); }, r.onFilterChange = function (t) { var e = t.target.value; r.props.layoutActions.updateFilter(e); }, r.state = { url: t.specSelectors.url(), selectedIndex: 0 }, r; } return (0, p.default)(e, t), (0, c.default)(e, [{ key: "componentWillReceiveProps", value: function (t) { this.setState({ url: t.specSelectors.url() }); } }, { key: "componentWillMount", value: function () { var t = this, e = this.props.getConfigs(), n = e.urls || []; if (n && n.length) {
|
||
var r = e["urls.primaryName"];
|
||
r && n.forEach(function (e, n) { e.name === r && t.setState({ selectedIndex: n }); });
|
||
} } }, { key: "componentDidMount", value: function () { var t = this.props.getConfigs().urls || []; t && t.length && this.loadSpec(t[this.state.selectedIndex].url); } }, { key: "render", value: function () { var t = this.props, e = t.getComponent, n = t.specSelectors, r = t.getConfigs, i = e("Button"), o = e("Link"), s = "loading" === n.loadingStatus(), a = "failed" === n.loadingStatus(), u = {}; a && (u.color = "red"), s && (u.color = "#aaa"); var c = r(), l = c.urls, h = [], f = null; if (l) {
|
||
var p = [];
|
||
l.forEach(function (t, e) { p.push(m.default.createElement("option", { key: e, value: t.url }, t.name)); }), h.push(m.default.createElement("label", { className: "select-label", htmlFor: "select" }, m.default.createElement("span", null, "Select a spec"), m.default.createElement("select", { id: "select", disabled: s, onChange: this.onUrlSelect, value: l[this.state.selectedIndex].url }, p)));
|
||
}
|
||
else
|
||
f = this.downloadUrl, h.push(m.default.createElement("input", { className: "download-url-input", type: "text", onChange: this.onUrlChange, value: this.state.url, disabled: s, style: u })), h.push(m.default.createElement(i, { className: "download-url-button", onClick: this.downloadUrl }, "Explore")); return m.default.createElement("div", { className: "topbar" }, m.default.createElement("div", { className: "wrapper" }, m.default.createElement("div", { className: "topbar-wrapper" }, m.default.createElement(o, { href: "#" }, m.default.createElement("img", { height: "30", width: "30", src: x.default, alt: "Swagger UI" }), m.default.createElement("span", null, "")), m.default.createElement("form", { className: "download-url-wrapper", onSubmit: f }, h.map(function (t, e) { return (0, d.cloneElement)(t, { key: e }); }))))); } }]), e; }(m.default.Component);
|
||
D.propTypes = { layoutActions: y.default.object.isRequired }, e.default = D, D.propTypes = { specSelectors: y.default.object.isRequired, specActions: y.default.object.isRequired, getComponent: y.default.func.isRequired, getConfigs: y.default.func.isRequired };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return t && t.__esModule ? t : { default: t }; }
|
||
Object.defineProperty(e, "__esModule", { value: !0 });
|
||
var i = n(127), o = r(i), s = n(128), a = r(s), u = n(129), c = r(u), l = n(132), h = r(l), f = n(131), p = r(f), d = n(197), m = r(d), v = n(190), y = r(v), g = function (t) { function e() { return (0, a.default)(this, e), (0, h.default)(this, (e.__proto__ || (0, o.default)(e)).apply(this, arguments)); } return (0, p.default)(e, t), (0, c.default)(e, [{ key: "render", value: function () { var t = this.props, e = t.getComponent, n = t.specSelectors, r = t.errSelectors, i = e("Container"), o = e("Row"), s = e("Col"), a = e("errors", !0), u = e("Topbar", !0), c = e("BaseLayout", !0), l = e("onlineValidatorBadge", !0), h = n.loadingStatus(), f = r.lastError(), p = f ? f.get("message") : ""; return m.default.createElement(i, { className: "swagger-ui" }, u ? m.default.createElement(u, null) : null, "loading" === h && m.default.createElement("div", { className: "info" }, m.default.createElement("div", { className: "loading-container" }, m.default.createElement("div", { className: "loading" }))), "failed" === h && m.default.createElement("div", { className: "info" }, m.default.createElement("div", { className: "loading-container" }, m.default.createElement("h4", { className: "title" }, "Failed to load API definition."), m.default.createElement(a, null))), "failedConfig" === h && m.default.createElement("div", { className: "info", style: { maxWidth: "880px", marginLeft: "auto", marginRight: "auto", textAlign: "center" } }, m.default.createElement("div", { className: "loading-container" }, m.default.createElement("h4", { className: "title" }, "Failed to load remote configuration."), m.default.createElement("p", null, p))), !h || "success" === h && m.default.createElement(c, null), m.default.createElement(o, null, m.default.createElement(s, null, m.default.createElement(l, null)))); } }]), e; }(m.default.Component);
|
||
g.propTypes = { errSelectors: y.default.object.isRequired, errActions: y.default.object.isRequired, specActions: y.default.object.isRequired, specSelectors: y.default.object.isRequired, layoutSelectors: y.default.object.isRequired, layoutActions: y.default.object.isRequired, getComponent: y.default.func.isRequired }, e.default = g;
|
||
}, function (t, e, n) { t.exports = { default: n(229), __esModule: !0 }; }, function (t, e, n) { t.exports = { default: n(230), __esModule: !0 }; }, function (t, e, n) { t.exports = { default: n(231), __esModule: !0 }; }, function (t, e, n) { t.exports = { default: n(232), __esModule: !0 }; }, function (t, e, n) { t.exports = { default: n(235), __esModule: !0 }; }, function (t, e, n) { t.exports = { default: n(236), __esModule: !0 }; }, function (t, e, n) { t.exports = { default: n(237), __esModule: !0 }; }, function (t, e, n) { t.exports = { default: n(238), __esModule: !0 }; }, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return t && t.__esModule ? t : { default: t }; }
|
||
e.__esModule = !0;
|
||
var i = n(216), o = r(i), s = n(84), a = r(s);
|
||
e.default = function () { function t(t, e) { var n = [], r = !0, i = !1, o = void 0; try {
|
||
for (var s, u = (0, a.default)(t); !(r = (s = u.next()).done) && (n.push(s.value), !e || n.length !== e); r = !0)
|
||
;
|
||
}
|
||
catch (t) {
|
||
i = !0, o = t;
|
||
}
|
||
finally {
|
||
try {
|
||
!r && u.return && u.return();
|
||
}
|
||
finally {
|
||
if (i)
|
||
throw o;
|
||
}
|
||
} return n; } return function (e, n) { if (Array.isArray(e))
|
||
return e; if ((0, o.default)(Object(e)))
|
||
return t(e, n); throw new TypeError("Invalid attempt to destructure non-iterable instance"); }; }();
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { var e = t.length; if (e % 4 > 0)
|
||
throw new Error("Invalid string. Length must be a multiple of 4"); var n = t.indexOf("="); return -1 === n && (n = e), [n, n === e ? 0 : 4 - n % 4]; }
|
||
function i(t) { var e = r(t), n = e[0], i = e[1]; return 3 * (n + i) / 4 - i; }
|
||
function o(t, e, n) { return 3 * (e + n) / 4 - n; }
|
||
function s(t) { for (var e, n = r(t), i = n[0], s = n[1], a = new f(o(t, i, s)), u = 0, c = s > 0 ? i - 4 : i, l = 0; l < c; l += 4)
|
||
e = h[t.charCodeAt(l)] << 18 | h[t.charCodeAt(l + 1)] << 12 | h[t.charCodeAt(l + 2)] << 6 | h[t.charCodeAt(l + 3)], a[u++] = e >> 16 & 255, a[u++] = e >> 8 & 255, a[u++] = 255 & e; return 2 === s && (e = h[t.charCodeAt(l)] << 2 | h[t.charCodeAt(l + 1)] >> 4, a[u++] = 255 & e), 1 === s && (e = h[t.charCodeAt(l)] << 10 | h[t.charCodeAt(l + 1)] << 4 | h[t.charCodeAt(l + 2)] >> 2, a[u++] = e >> 8 & 255, a[u++] = 255 & e), a; }
|
||
function a(t) { return l[t >> 18 & 63] + l[t >> 12 & 63] + l[t >> 6 & 63] + l[63 & t]; }
|
||
function u(t, e, n) { for (var r, i = [], o = e; o < n; o += 3)
|
||
r = (t[o] << 16 & 16711680) + (t[o + 1] << 8 & 65280) + (255 & t[o + 2]), i.push(a(r)); return i.join(""); }
|
||
function c(t) { for (var e, n = t.length, r = n % 3, i = [], o = 0, s = n - r; o < s; o += 16383)
|
||
i.push(u(t, o, o + 16383 > s ? s : o + 16383)); return 1 === r ? (e = t[n - 1], i.push(l[e >> 2] + l[e << 4 & 63] + "==")) : 2 === r && (e = (t[n - 2] << 8) + t[n - 1], i.push(l[e >> 10] + l[e >> 4 & 63] + l[e << 2 & 63] + "=")), i.join(""); }
|
||
e.byteLength = i, e.toByteArray = s, e.fromByteArray = c;
|
||
for (var l = [], h = [], f = "undefined" != typeof Uint8Array ? Uint8Array : Array, p = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", d = 0, m = p.length; d < m; ++d)
|
||
l[d] = p[d], h[p.charCodeAt(d)] = d;
|
||
h["-".charCodeAt(0)] = 62, h["_".charCodeAt(0)] = 63;
|
||
}, function (t, e, n) { n(310), n(314), n(321), n(159), n(305), n(306), n(311), n(315), n(317), n(301), n(302), n(303), n(304), n(307), n(308), n(309), n(312), n(313), n(316), n(318), n(319), n(320), n(297), n(298), n(299), n(300), t.exports = n(18).String; }, function (t, e, n) { n(295), n(159), n(324), n(296), n(322), n(323), t.exports = n(18).Promise; }, function (t, e, n) { n(100), n(99), t.exports = n(256); }, function (t, e, n) { n(100), n(99), t.exports = n(257); }, function (t, e, n) { var r = n(2), i = r.JSON || (r.JSON = { stringify: JSON.stringify }); t.exports = function (t) { return i.stringify.apply(i, arguments); }; }, function (t, e, n) { n(259), t.exports = n(2).Object.assign; }, function (t, e, n) { n(260); var r = n(2).Object; t.exports = function (t, e) { return r.create(t, e); }; }, function (t, e, n) { n(261); var r = n(2).Object; t.exports = function (t, e, n) { return r.defineProperty(t, e, n); }; }, function (t, e, n) { n(262), t.exports = n(2).Object.getPrototypeOf; }, function (t, e, n) { n(263), t.exports = n(2).Object.keys; }, function (t, e, n) { n(264), t.exports = n(2).Object.setPrototypeOf; }, function (t, e, n) { n(266), n(265), n(267), n(268), t.exports = n(2).Symbol; }, function (t, e, n) { n(99), n(100), t.exports = n(98).f("iterator"); }, function (t, e) { t.exports = function (t) { if ("function" != typeof t)
|
||
throw TypeError(t + " is not a function!"); return t; }; }, function (t, e) { t.exports = function () { }; }, function (t, e, n) { var r = n(28), i = n(254), o = n(253); t.exports = function (t) { return function (e, n, s) { var a, u = r(e), c = i(u.length), l = o(s, c); if (t && n != n) {
|
||
for (; c > l;)
|
||
if ((a = u[l++]) != a)
|
||
return !0;
|
||
}
|
||
else
|
||
for (; c > l; l++)
|
||
if ((t || l in u) && u[l] === n)
|
||
return t || l || 0; return !t && -1; }; }; }, function (t, e, n) { var r = n(39), i = n(91), o = n(55); t.exports = function (t) { var e = r(t), n = i.f; if (n)
|
||
for (var s, a = n(t), u = o.f, c = 0; a.length > c;)
|
||
u.call(t, s = a[c++]) && e.push(s); return e; }; }, function (t, e, n) { var r = n(9).document; t.exports = r && r.documentElement; }, function (t, e, n) { var r = n(86); t.exports = Array.isArray || function (t) { return "Array" == r(t); }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(90), i = n(56), o = n(92), s = {};
|
||
n(26)(s, n(6)("iterator"), function () { return this; }), t.exports = function (t, e, n) { t.prototype = r(s, { next: i(1, n) }), o(t, e + " Iterator"); };
|
||
}, function (t, e) { t.exports = function (t, e) { return { value: e, done: !!t }; }; }, function (t, e, n) { var r = n(58)("meta"), i = n(27), o = n(15), s = n(16).f, a = 0, u = Object.isExtensible || function () { return !0; }, c = !n(25)(function () { return u(Object.preventExtensions({})); }), l = function (t) { s(t, r, { value: { i: "O" + ++a, w: {} } }); }, h = function (t, e) { if (!i(t))
|
||
return "symbol" == typeof t ? t : ("string" == typeof t ? "S" : "P") + t; if (!o(t, r)) {
|
||
if (!u(t))
|
||
return "F";
|
||
if (!e)
|
||
return "E";
|
||
l(t);
|
||
} return t[r].i; }, f = function (t, e) { if (!o(t, r)) {
|
||
if (!u(t))
|
||
return !0;
|
||
if (!e)
|
||
return !1;
|
||
l(t);
|
||
} return t[r].w; }, p = function (t) { return c && d.NEED && u(t) && !o(t, r) && l(t), t; }, d = t.exports = { KEY: r, NEED: !1, fastKey: h, getWeak: f, onFreeze: p }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(39), i = n(91), o = n(55), s = n(57), a = n(137), u = Object.assign;
|
||
t.exports = !u || n(25)(function () { var t = {}, e = {}, n = Symbol(), r = "abcdefghijklmnopqrst"; return t[n] = 7, r.split("").forEach(function (t) { e[t] = t; }), 7 != u({}, t)[n] || Object.keys(u({}, e)).join("") != r; }) ? function (t, e) { for (var n = s(t), u = arguments.length, c = 1, l = i.f, h = o.f; u > c;)
|
||
for (var f, p = a(arguments[c++]), d = l ? r(p).concat(l(p)) : r(p), m = d.length, v = 0; m > v;)
|
||
h.call(p, f = d[v++]) && (n[f] = p[f]); return n; } : u;
|
||
}, function (t, e, n) { var r = n(16), i = n(24), o = n(39); t.exports = n(13) ? Object.defineProperties : function (t, e) { i(t); for (var n, s = o(e), a = s.length, u = 0; a > u;)
|
||
r.f(t, n = s[u++], e[n]); return t; }; }, function (t, e, n) { var r = n(28), i = n(140).f, o = {}.toString, s = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], a = function (t) { try {
|
||
return i(t);
|
||
}
|
||
catch (t) {
|
||
return s.slice();
|
||
} }; t.exports.f = function (t) { return s && "[object Window]" == o.call(t) ? a(t) : i(r(t)); }; }, function (t, e, n) { var r = n(27), i = n(24), o = function (t, e) { if (i(t), !r(e) && null !== e)
|
||
throw TypeError(e + ": can't set as prototype!"); }; t.exports = { set: Object.setPrototypeOf || ("__proto__" in {} ? function (t, e, r) { try {
|
||
r = n(134)(Function.call, n(139).f(Object.prototype, "__proto__").set, 2), r(t, []), e = !(t instanceof Array);
|
||
}
|
||
catch (t) {
|
||
e = !0;
|
||
} return function (t, n) { return o(t, n), e ? t.__proto__ = n : r(t, n), t; }; }({}, !1) : void 0), check: o }; }, function (t, e, n) { var r = n(95), i = n(87); t.exports = function (t) { return function (e, n) { var o, s, a = String(i(e)), u = r(n), c = a.length; return u < 0 || u >= c ? t ? "" : void 0 : (o = a.charCodeAt(u), o < 55296 || o > 56319 || u + 1 === c || (s = a.charCodeAt(u + 1)) < 56320 || s > 57343 ? t ? a.charAt(u) : o : t ? a.slice(u, u + 2) : s - 56320 + (o - 55296 << 10) + 65536); }; }; }, function (t, e, n) { var r = n(95), i = Math.max, o = Math.min; t.exports = function (t, e) { return t = r(t), t < 0 ? i(t + e, 0) : o(t, e); }; }, function (t, e, n) { var r = n(95), i = Math.min; t.exports = function (t) { return t > 0 ? i(r(t), 9007199254740991) : 0; }; }, function (t, e, n) { var r = n(133), i = n(6)("iterator"), o = n(38); t.exports = n(2).getIteratorMethod = function (t) { if (void 0 != t)
|
||
return t[i] || t["@@iterator"] || o[r(t)]; }; }, function (t, e, n) { var r = n(24), i = n(255); t.exports = n(2).getIterator = function (t) { var e = i(t); if ("function" != typeof e)
|
||
throw TypeError(t + " is not iterable!"); return r(e.call(t)); }; }, function (t, e, n) { var r = n(133), i = n(6)("iterator"), o = n(38); t.exports = n(2).isIterable = function (t) { var e = Object(t); return void 0 !== e[i] || "@@iterator" in e || o.hasOwnProperty(r(e)); }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(240), i = n(246), o = n(38), s = n(28);
|
||
t.exports = n(138)(Array, "Array", function (t, e) { this._t = s(t), this._i = 0, this._k = e; }, function () { var t = this._t, e = this._k, n = this._i++; return !t || n >= t.length ? (this._t = void 0, i(1)) : "keys" == e ? i(0, n) : "values" == e ? i(0, t[n]) : i(0, [n, t[n]]); }, "values"), o.Arguments = o.Array, r("keys"), r("values"), r("entries");
|
||
}, function (t, e, n) { var r = n(14); r(r.S + r.F, "Object", { assign: n(248) }); }, function (t, e, n) { var r = n(14); r(r.S, "Object", { create: n(90) }); }, function (t, e, n) { var r = n(14); r(r.S + r.F * !n(13), "Object", { defineProperty: n(16).f }); }, function (t, e, n) { var r = n(57), i = n(141); n(143)("getPrototypeOf", function () { return function (t) { return i(r(t)); }; }); }, function (t, e, n) { var r = n(57), i = n(39); n(143)("keys", function () { return function (t) { return i(r(t)); }; }); }, function (t, e, n) { var r = n(14); r(r.S, "Object", { setPrototypeOf: n(251).set }); }, function (t, e) { }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(9), i = n(15), o = n(13), s = n(14), a = n(144), u = n(247).KEY, c = n(25), l = n(94), h = n(92), f = n(58), p = n(6), d = n(98), m = n(97), v = n(242), y = n(244), g = n(24), x = n(27), b = n(28), D = n(96), E = n(56), w = n(90), _ = n(250), S = n(139), A = n(16), C = n(39), k = S.f, F = A.f, T = _.f, I = r.Symbol, O = r.JSON, M = O && O.stringify, B = p("_hidden"), P = p("toPrimitive"), j = {}.propertyIsEnumerable, N = l("symbol-registry"), L = l("symbols"), R = l("op-symbols"), z = Object.prototype, U = "function" == typeof I, J = r.QObject, X = !J || !J.prototype || !J.prototype.findChild, q = o && c(function () { return 7 != w(F({}, "a", { get: function () { return F(this, "a", { value: 7 }).a; } })).a; }) ? function (t, e, n) { var r = k(z, e); r && delete z[e], F(t, e, n), r && t !== z && F(z, e, r); } : F, K = function (t) { var e = L[t] = w(I.prototype); return e._k = t, e; }, W = U && "symbol" == typeof I.iterator ? function (t) { return "symbol" == typeof t; } : function (t) { return t instanceof I; }, Y = function (t, e, n) { return t === z && Y(R, e, n), g(t), e = D(e, !0), g(n), i(L, e) ? (n.enumerable ? (i(t, B) && t[B][e] && (t[B][e] = !1), n = w(n, { enumerable: E(0, !1) })) : (i(t, B) || F(t, B, E(1, {})), t[B][e] = !0), q(t, e, n)) : F(t, e, n); }, H = function (t, e) { g(t); for (var n, r = v(e = b(e)), i = 0, o = r.length; o > i;)
|
||
Y(t, n = r[i++], e[n]); return t; }, V = function (t, e) { return void 0 === e ? w(t) : H(w(t), e); }, G = function (t) { var e = j.call(this, t = D(t, !0)); return !(this === z && i(L, t) && !i(R, t)) && (!(e || !i(this, t) || !i(L, t) || i(this, B) && this[B][t]) || e); }, $ = function (t, e) { if (t = b(t), e = D(e, !0), t !== z || !i(L, e) || i(R, e)) {
|
||
var n = k(t, e);
|
||
return !n || !i(L, e) || i(t, B) && t[B][e] || (n.enumerable = !0), n;
|
||
} }, Z = function (t) { for (var e, n = T(b(t)), r = [], o = 0; n.length > o;)
|
||
i(L, e = n[o++]) || e == B || e == u || r.push(e); return r; }, Q = function (t) { for (var e, n = t === z, r = T(n ? R : b(t)), o = [], s = 0; r.length > s;)
|
||
!i(L, e = r[s++]) || n && !i(z, e) || o.push(L[e]); return o; };
|
||
U || (I = function () { if (this instanceof I)
|
||
throw TypeError("Symbol is not a constructor!"); var t = f(arguments.length > 0 ? arguments[0] : void 0), e = function (n) { this === z && e.call(R, n), i(this, B) && i(this[B], t) && (this[B][t] = !1), q(this, t, E(1, n)); }; return o && X && q(z, t, { configurable: !0, set: e }), K(t); }, a(I.prototype, "toString", function () { return this._k; }), S.f = $, A.f = Y, n(140).f = _.f = Z, n(55).f = G, n(91).f = Q, o && !n(89) && a(z, "propertyIsEnumerable", G, !0), d.f = function (t) { return K(p(t)); }), s(s.G + s.W + s.F * !U, { Symbol: I });
|
||
for (var tt = "hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","), et = 0; tt.length > et;)
|
||
p(tt[et++]);
|
||
for (var nt = C(p.store), rt = 0; nt.length > rt;)
|
||
m(nt[rt++]);
|
||
s(s.S + s.F * !U, "Symbol", { for: function (t) { return i(N, t += "") ? N[t] : N[t] = I(t); }, keyFor: function (t) { if (!W(t))
|
||
throw TypeError(t + " is not a symbol!"); for (var e in N)
|
||
if (N[e] === t)
|
||
return e; }, useSetter: function () { X = !0; }, useSimple: function () { X = !1; } }), s(s.S + s.F * !U, "Object", { create: V, defineProperty: Y, defineProperties: H, getOwnPropertyDescriptor: $, getOwnPropertyNames: Z, getOwnPropertySymbols: Q }), O && s(s.S + s.F * (!U || c(function () { var t = I(); return "[null]" != M([t]) || "{}" != M({ a: t }) || "{}" != M(Object(t)); })), "JSON", { stringify: function (t) { for (var e, n, r = [t], i = 1; arguments.length > i;)
|
||
r.push(arguments[i++]); if (n = e = r[1], (x(e) || void 0 !== t) && !W(t))
|
||
return y(e) || (e = function (t, e) { if ("function" == typeof n && (e = n.call(this, t, e)), !W(e))
|
||
return e; }), r[1] = e, M.apply(O, r); } }), I.prototype[P] || n(26)(I.prototype, P, I.prototype.valueOf), h(I, "Symbol"), h(Math, "Math", !0), h(r.JSON, "JSON", !0);
|
||
}, function (t, e, n) { n(97)("asyncIterator"); }, function (t, e, n) { n(97)("observable"); }, function (t, e, n) { var r = n(1)("unscopables"), i = Array.prototype; void 0 == i[r] && n(19)(i, r, {}), t.exports = function (t) { i[r][t] = !0; }; }, function (t, e) { t.exports = function (t, e, n, r) { if (!(t instanceof e) || void 0 !== r && r in t)
|
||
throw TypeError(n + ": incorrect invocation!"); return t; }; }, function (t, e, n) { var r = n(65), i = n(44), o = n(158); t.exports = function (t) { return function (e, n, s) { var a, u = r(e), c = i(u.length), l = o(s, c); if (t && n != n) {
|
||
for (; c > l;)
|
||
if ((a = u[l++]) != a)
|
||
return !0;
|
||
}
|
||
else
|
||
for (; c > l; l++)
|
||
if ((t || l in u) && u[l] === n)
|
||
return t || l || 0; return !t && -1; }; }; }, function (t, e, n) { var r = n(60), i = n(277), o = n(276), s = n(17), a = n(44), u = n(293), c = {}, l = {}, e = t.exports = function (t, e, n, h, f) { var p, d, m, v, y = f ? function () { return t; } : u(t), g = r(n, h, e ? 2 : 1), x = 0; if ("function" != typeof y)
|
||
throw TypeError(t + " is not iterable!"); if (o(y)) {
|
||
for (p = a(t.length); p > x; x++)
|
||
if ((v = e ? g(s(d = t[x])[0], d[1]) : g(t[x])) === c || v === l)
|
||
return v;
|
||
}
|
||
else
|
||
for (m = y.call(t); !(d = m.next()).done;)
|
||
if ((v = i(m, g, d.value, e)) === c || v === l)
|
||
return v; }; e.BREAK = c, e.RETURN = l; }, function (t, e, n) { t.exports = !n(41) && !n(42)(function () { return 7 != Object.defineProperty(n(102)("div"), "a", { get: function () { return 7; } }).a; }); }, function (t, e) { t.exports = function (t, e, n) { var r = void 0 === n; switch (e.length) {
|
||
case 0: return r ? t() : t.call(n);
|
||
case 1: return r ? t(e[0]) : t.call(n, e[0]);
|
||
case 2: return r ? t(e[0], e[1]) : t.call(n, e[0], e[1]);
|
||
case 3: return r ? t(e[0], e[1], e[2]) : t.call(n, e[0], e[1], e[2]);
|
||
case 4: return r ? t(e[0], e[1], e[2], e[3]) : t.call(n, e[0], e[1], e[2], e[3]);
|
||
} return t.apply(n, e); }; }, function (t, e, n) { var r = n(40); t.exports = Object("z").propertyIsEnumerable(0) ? Object : function (t) { return "String" == r(t) ? t.split("") : Object(t); }; }, function (t, e, n) { var r = n(43), i = n(1)("iterator"), o = Array.prototype; t.exports = function (t) { return void 0 !== t && (r.Array === t || o[i] === t); }; }, function (t, e, n) { var r = n(17); t.exports = function (t, e, n, i) { try {
|
||
return i ? e(r(n)[0], n[1]) : e(n);
|
||
}
|
||
catch (e) {
|
||
var o = t.return;
|
||
throw void 0 !== o && r(o.call(t)), e;
|
||
} }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(282), i = n(153), o = n(105), s = {};
|
||
n(19)(s, n(1)("iterator"), function () { return this; }), t.exports = function (t, e, n) { t.prototype = r(s, { next: i(1, n) }), o(t, e + " Iterator"); };
|
||
}, function (t, e, n) { var r = n(1)("iterator"), i = !1; try {
|
||
var o = [7][r]();
|
||
o.return = function () { i = !0; }, Array.from(o, function () { throw 2; });
|
||
}
|
||
catch (t) { } t.exports = function (t, e) { if (!e && !i)
|
||
return !1; var n = !1; try {
|
||
var o = [7], s = o[r]();
|
||
s.next = function () { return { done: n = !0 }; }, o[r] = function () { return s; }, t(o);
|
||
}
|
||
catch (t) { } return n; }; }, function (t, e) { t.exports = function (t, e) { return { value: e, done: !!t }; }; }, function (t, e, n) { var r = n(5), i = n(157).set, o = r.MutationObserver || r.WebKitMutationObserver, s = r.process, a = r.Promise, u = "process" == n(40)(s); t.exports = function () { var t, e, n, c = function () { var r, i; for (u && (r = s.domain) && r.exit(); t;) {
|
||
i = t.fn, t = t.next;
|
||
try {
|
||
i();
|
||
}
|
||
catch (r) {
|
||
throw t ? n() : e = void 0, r;
|
||
}
|
||
} e = void 0, r && r.enter(); }; if (u)
|
||
n = function () { s.nextTick(c); };
|
||
else if (!o || r.navigator && r.navigator.standalone)
|
||
if (a && a.resolve) {
|
||
var l = a.resolve();
|
||
n = function () { l.then(c); };
|
||
}
|
||
else
|
||
n = function () { i.call(r, c); };
|
||
else {
|
||
var h = !0, f = document.createTextNode("");
|
||
new o(c).observe(f, { characterData: !0 }), n = function () { f.data = h = !h; };
|
||
} return function (r) { var i = { fn: r, next: void 0 }; e && (e.next = i), t || (t = i, n()), e = i; }; }; }, function (t, e, n) { var r = n(17), i = n(283), o = n(145), s = n(106)("IE_PROTO"), a = function () { }, u = function () { var t, e = n(102)("iframe"), r = o.length; for (e.style.display = "none", n(146).appendChild(e), e.src = "javascript:", t = e.contentWindow.document, t.open(), t.write("<script>document.F=Object<\/script>"), t.close(), u = t.F; r--;)
|
||
delete u.prototype[o[r]]; return u(); }; t.exports = Object.create || function (t, e) { var n; return null !== t ? (a.prototype = r(t), n = new a, a.prototype = null, n[s] = t) : n = u(), void 0 === e ? n : i(n, e); }; }, function (t, e, n) { var r = n(63), i = n(17), o = n(150); t.exports = n(41) ? Object.defineProperties : function (t, e) { i(t); for (var n, s = o(e), a = s.length, u = 0; a > u;)
|
||
r.f(t, n = s[u++], e[n]); return t; }; }, function (t, e, n) { var r = n(62), i = n(291), o = n(106)("IE_PROTO"), s = Object.prototype; t.exports = Object.getPrototypeOf || function (t) { return t = i(t), r(t, o) ? t[o] : "function" == typeof t.constructor && t instanceof t.constructor ? t.constructor.prototype : t instanceof Object ? s : null; }; }, function (t, e, n) { var r = n(62), i = n(65), o = n(271)(!1), s = n(106)("IE_PROTO"); t.exports = function (t, e) { var n, a = i(t), u = 0, c = []; for (n in a)
|
||
n != s && r(a, n) && c.push(n); for (; e.length > u;)
|
||
r(a, n = e[u++]) && (~o(c, n) || c.push(n)); return c; }; }, function (t, e, n) { var r = n(30); t.exports = function (t, e, n) { for (var i in e)
|
||
r(t, i, e[i], n); return t; }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(5), i = n(63), o = n(41), s = n(1)("species");
|
||
t.exports = function (t) { var e = r[t]; o && e && !e[s] && i.f(e, s, { configurable: !0, get: function () { return this; } }); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(64), i = n(10);
|
||
t.exports = function (t) { var e = String(i(this)), n = "", o = r(t); if (o < 0 || o == 1 / 0)
|
||
throw RangeError("Count can't be negative"); for (; o > 0; (o >>>= 1) && (e += e))
|
||
1 & o && (n += e); return n; };
|
||
}, function (t, e, n) { var r = n(3), i = n(10), o = n(42), s = n(290), a = "[" + s + "]", u = "
", c = RegExp("^" + a + a + "*"), l = RegExp(a + a + "*$"), h = function (t, e, n) { var i = {}, a = o(function () { return !!s[t]() || u[t]() != u; }), c = i[t] = a ? e(f) : s[t]; n && (i[n] = c), r(r.P + r.F * a, "String", i); }, f = h.trim = function (t, e) { return t = String(i(t)), 1 & e && (t = t.replace(c, "")), 2 & e && (t = t.replace(l, "")), t; }; t.exports = h; }, function (t, e) { t.exports = "\t\n\v\f\r \u2028\u2029\ufeff"; }, function (t, e, n) { var r = n(10); t.exports = function (t) { return Object(r(t)); }; }, function (t, e, n) { var r = n(29); t.exports = function (t, e) { if (!r(t))
|
||
return t; var n, i; if (e && "function" == typeof (n = t.toString) && !r(i = n.call(t)))
|
||
return i; if ("function" == typeof (n = t.valueOf) && !r(i = n.call(t)))
|
||
return i; if (!e && "function" == typeof (n = t.toString) && !r(i = n.call(t)))
|
||
return i; throw TypeError("Can't convert object to primitive value"); }; }, function (t, e, n) { var r = n(101), i = n(1)("iterator"), o = n(43); t.exports = n(18).getIteratorMethod = function (t) { if (void 0 != t)
|
||
return t[i] || t["@@iterator"] || o[r(t)]; }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(269), i = n(280), o = n(43), s = n(65);
|
||
t.exports = n(148)(Array, "Array", function (t, e) { this._t = s(t), this._i = 0, this._k = e; }, function () { var t = this._t, e = this._k, n = this._i++; return !t || n >= t.length ? (this._t = void 0, i(1)) : "keys" == e ? i(0, n) : "values" == e ? i(0, t[n]) : i(0, [n, t[n]]); }, "values"), o.Arguments = o.Array, r("keys"), r("values"), r("entries");
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(101), i = {};
|
||
i[n(1)("toStringTag")] = "z", i + "" != "[object z]" && n(30)(Object.prototype, "toString", function () { return "[object " + r(this) + "]"; }, !0);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r, i, o, s, a = n(149), u = n(5), c = n(60), l = n(101), h = n(3), f = n(29), p = n(59), d = n(270), m = n(272), v = n(155), y = n(157).set, g = n(281)(), x = n(104), b = n(151), D = n(152), E = u.TypeError, w = u.process, _ = u.Promise, S = "process" == l(w), A = function () { }, C = i = x.f, k = !!function () { try {
|
||
var t = _.resolve(1), e = (t.constructor = {})[n(1)("species")] = function (t) { t(A, A); };
|
||
return (S || "function" == typeof PromiseRejectionEvent) && t.then(A) instanceof e;
|
||
}
|
||
catch (t) { } }(), F = function (t) { var e; return !(!f(t) || "function" != typeof (e = t.then)) && e; }, T = function (t, e) { if (!t._n) {
|
||
t._n = !0;
|
||
var n = t._c;
|
||
g(function () { for (var r = t._v, i = 1 == t._s, o = 0; n.length > o;)
|
||
!function (e) { var n, o, s, a = i ? e.ok : e.fail, u = e.resolve, c = e.reject, l = e.domain; try {
|
||
a ? (i || (2 == t._h && M(t), t._h = 1), !0 === a ? n = r : (l && l.enter(), n = a(r), l && (l.exit(), s = !0)), n === e.promise ? c(E("Promise-chain cycle")) : (o = F(n)) ? o.call(n, u, c) : u(n)) : c(r);
|
||
}
|
||
catch (t) {
|
||
l && !s && l.exit(), c(t);
|
||
} }(n[o++]); t._c = [], t._n = !1, e && !t._h && I(t); });
|
||
} }, I = function (t) { y.call(u, function () { var e, n, r, i = t._v, o = O(t); if (o && (e = b(function () { S ? w.emit("unhandledRejection", i, t) : (n = u.onunhandledrejection) ? n({ promise: t, reason: i }) : (r = u.console) && r.error && r.error("Unhandled promise rejection", i); }), t._h = S || O(t) ? 2 : 1), t._a = void 0, o && e.e)
|
||
throw e.v; }); }, O = function (t) { return 1 !== t._h && 0 === (t._a || t._c).length; }, M = function (t) { y.call(u, function () { var e; S ? w.emit("rejectionHandled", t) : (e = u.onrejectionhandled) && e({ promise: t, reason: t._v }); }); }, B = function (t) { var e = this; e._d || (e._d = !0, e = e._w || e, e._v = t, e._s = 2, e._a || (e._a = e._c.slice()), T(e, !0)); }, P = function (t) { var e, n = this; if (!n._d) {
|
||
n._d = !0, n = n._w || n;
|
||
try {
|
||
if (n === t)
|
||
throw E("Promise can't be resolved itself");
|
||
(e = F(t)) ? g(function () { var r = { _w: n, _d: !1 }; try {
|
||
e.call(t, c(P, r, 1), c(B, r, 1));
|
||
}
|
||
catch (t) {
|
||
B.call(r, t);
|
||
} }) : (n._v = t, n._s = 1, T(n, !1));
|
||
}
|
||
catch (t) {
|
||
B.call({ _w: n, _d: !1 }, t);
|
||
}
|
||
} };
|
||
k || (_ = function (t) { d(this, _, "Promise", "_h"), p(t), r.call(this); try {
|
||
t(c(P, this, 1), c(B, this, 1));
|
||
}
|
||
catch (t) {
|
||
B.call(this, t);
|
||
} }, r = function (t) { this._c = [], this._a = void 0, this._s = 0, this._d = !1, this._v = void 0, this._h = 0, this._n = !1; }, r.prototype = n(286)(_.prototype, { then: function (t, e) { var n = C(v(this, _)); return n.ok = "function" != typeof t || t, n.fail = "function" == typeof e && e, n.domain = S ? w.domain : void 0, this._c.push(n), this._a && this._a.push(n), this._s && T(this, !1), n.promise; }, catch: function (t) { return this.then(void 0, t); } }), o = function () { var t = new r; this.promise = t, this.resolve = c(P, t, 1), this.reject = c(B, t, 1); }, x.f = C = function (t) { return t === _ || t === s ? new o(t) : i(t); }), h(h.G + h.W + h.F * !k, { Promise: _ }), n(105)(_, "Promise"), n(287)("Promise"), s = n(18).Promise, h(h.S + h.F * !k, "Promise", { reject: function (t) { var e = C(this); return (0, e.reject)(t), e.promise; } }), h(h.S + h.F * (a || !k), "Promise", { resolve: function (t) { return D(a && this === s ? _ : this, t); } }), h(h.S + h.F * !(k && n(279)(function (t) { _.all(t).catch(A); })), "Promise", { all: function (t) { var e = this, n = C(e), r = n.resolve, i = n.reject, o = b(function () { var n = [], o = 0, s = 1; m(t, !1, function (t) { var a = o++, u = !1; n.push(void 0), s++, e.resolve(t).then(function (t) { u || (u = !0, n[a] = t, --s || r(n)); }, i); }), --s || r(n); }); return o.e && i(o.v), n.promise; }, race: function (t) { var e = this, n = C(e), r = n.reject, i = b(function () { m(t, !1, function (t) { e.resolve(t).then(n.resolve, r); }); }); return i.e && r(i.v), n.promise; } });
|
||
}, function (t, e, n) { n(61)("match", 1, function (t, e, n) { return [function (n) {
|
||
"use strict";
|
||
var r = t(this), i = void 0 == n ? void 0 : n[e];
|
||
return void 0 !== i ? i.call(n, r) : new RegExp(n)[e](String(r));
|
||
}, n]; }); }, function (t, e, n) { n(61)("replace", 2, function (t, e, n) { return [function (r, i) {
|
||
"use strict";
|
||
var o = t(this), s = void 0 == r ? void 0 : r[e];
|
||
return void 0 !== s ? s.call(r, o, i) : n.call(String(o), r, i);
|
||
}, n]; }); }, function (t, e, n) { n(61)("search", 1, function (t, e, n) { return [function (n) {
|
||
"use strict";
|
||
var r = t(this), i = void 0 == n ? void 0 : n[e];
|
||
return void 0 !== i ? i.call(n, r) : new RegExp(n)[e](String(r));
|
||
}, n]; }); }, function (t, e, n) { n(61)("split", 2, function (t, e, r) {
|
||
"use strict";
|
||
var i = n(147), o = r, s = [].push, a = "length";
|
||
if ("c" == "abbc".split(/(b)*/)[1] || 4 != "test".split(/(?:)/, -1)[a] || 2 != "ab".split(/(?:ab)*/)[a] || 4 != ".".split(/(.?)(.?)/)[a] || ".".split(/()()/)[a] > 1 || "".split(/.?/)[a]) {
|
||
var u = void 0 === /()??/.exec("")[1];
|
||
r = function (t, e) { var n = String(this); if (void 0 === t && 0 === e)
|
||
return []; if (!i(t))
|
||
return o.call(n, t, e); var r, c, l, h, f, p = [], d = (t.ignoreCase ? "i" : "") + (t.multiline ? "m" : "") + (t.unicode ? "u" : "") + (t.sticky ? "y" : ""), m = 0, v = void 0 === e ? 4294967295 : e >>> 0, y = new RegExp(t.source, d + "g"); for (u || (r = new RegExp("^" + y.source + "$(?!\\s)", d)); (c = y.exec(n)) && !((l = c.index + c[0][a]) > m && (p.push(n.slice(m, c.index)), !u && c[a] > 1 && c[0].replace(r, function () { for (f = 1; f < arguments[a] - 2; f++)
|
||
void 0 === arguments[f] && (c[f] = void 0); }), c[a] > 1 && c.index < n[a] && s.apply(p, c.slice(1)), h = c[0][a], m = l, p[a] >= v));)
|
||
y.lastIndex === c.index && y.lastIndex++; return m === n[a] ? !h && y.test("") || p.push("") : p.push(n.slice(m)), p[a] > v ? p.slice(0, v) : p; };
|
||
}
|
||
else
|
||
"0".split(void 0, 0)[a] && (r = function (t, e) { return void 0 === t && 0 === e ? [] : o.call(this, t, e); });
|
||
return [function (n, i) { var o = t(this), s = void 0 == n ? void 0 : n[e]; return void 0 !== s ? s.call(n, o, i) : r.call(String(o), n, i); }, r];
|
||
}); }, function (t, e, n) {
|
||
"use strict";
|
||
n(4)("anchor", function (t) { return function (e) { return t(this, "a", "name", e); }; });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
n(4)("big", function (t) { return function () { return t(this, "big", "", ""); }; });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
n(4)("blink", function (t) { return function () { return t(this, "blink", "", ""); }; });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
n(4)("bold", function (t) { return function () { return t(this, "b", "", ""); }; });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(3), i = n(156)(!1);
|
||
r(r.P, "String", { codePointAt: function (t) { return i(this, t); } });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(3), i = n(44), o = n(107), s = "".endsWith;
|
||
r(r.P + r.F * n(103)("endsWith"), "String", { endsWith: function (t) { var e = o(this, t, "endsWith"), n = arguments.length > 1 ? arguments[1] : void 0, r = i(e.length), a = void 0 === n ? r : Math.min(i(n), r), u = String(t); return s ? s.call(e, u, a) : e.slice(a - u.length, a) === u; } });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
n(4)("fixed", function (t) { return function () { return t(this, "tt", "", ""); }; });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
n(4)("fontcolor", function (t) { return function (e) { return t(this, "font", "color", e); }; });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
n(4)("fontsize", function (t) { return function (e) { return t(this, "font", "size", e); }; });
|
||
}, function (t, e, n) { var r = n(3), i = n(158), o = String.fromCharCode, s = String.fromCodePoint; r(r.S + r.F * (!!s && 1 != s.length), "String", { fromCodePoint: function (t) { for (var e, n = [], r = arguments.length, s = 0; r > s;) {
|
||
if (e = +arguments[s++], i(e, 1114111) !== e)
|
||
throw RangeError(e + " is not a valid code point");
|
||
n.push(e < 65536 ? o(e) : o(55296 + ((e -= 65536) >> 10), e % 1024 + 56320));
|
||
} return n.join(""); } }); }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(3), i = n(107);
|
||
r(r.P + r.F * n(103)("includes"), "String", { includes: function (t) { return !!~i(this, t, "includes").indexOf(t, arguments.length > 1 ? arguments[1] : void 0); } });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
n(4)("italics", function (t) { return function () { return t(this, "i", "", ""); }; });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
n(4)("link", function (t) { return function (e) { return t(this, "a", "href", e); }; });
|
||
}, function (t, e, n) { var r = n(3), i = n(65), o = n(44); r(r.S, "String", { raw: function (t) { for (var e = i(t.raw), n = o(e.length), r = arguments.length, s = [], a = 0; n > a;)
|
||
s.push(String(e[a++])), a < r && s.push(String(arguments[a])); return s.join(""); } }); }, function (t, e, n) { var r = n(3); r(r.P, "String", { repeat: n(288) }); }, function (t, e, n) {
|
||
"use strict";
|
||
n(4)("small", function (t) { return function () { return t(this, "small", "", ""); }; });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(3), i = n(44), o = n(107), s = "".startsWith;
|
||
r(r.P + r.F * n(103)("startsWith"), "String", { startsWith: function (t) { var e = o(this, t, "startsWith"), n = i(Math.min(arguments.length > 1 ? arguments[1] : void 0, e.length)), r = String(t); return s ? s.call(e, r, n) : e.slice(n, n + r.length) === r; } });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
n(4)("strike", function (t) { return function () { return t(this, "strike", "", ""); }; });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
n(4)("sub", function (t) { return function () { return t(this, "sub", "", ""); }; });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
n(4)("sup", function (t) { return function () { return t(this, "sup", "", ""); }; });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
n(289)("trim", function (t) { return function () { return t(this, 3); }; });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(3), i = n(18), o = n(5), s = n(155), a = n(152);
|
||
r(r.P + r.R, "Promise", { finally: function (t) { var e = s(this, i.Promise || o.Promise), n = "function" == typeof t; return this.then(n ? function (n) { return a(e, t()).then(function () { return n; }); } : t, n ? function (n) { return a(e, t()).then(function () { throw n; }); } : t); } });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(3), i = n(104), o = n(151);
|
||
r(r.S, "Promise", { try: function (t) { var e = i.f(this), n = o(t); return (n.e ? e.reject : e.resolve)(n.v), e.promise; } });
|
||
}, function (t, e, n) { for (var r = n(294), i = n(150), o = n(30), s = n(5), a = n(19), u = n(43), c = n(1), l = c("iterator"), h = c("toStringTag"), f = u.Array, p = { CSSRuleList: !0, CSSStyleDeclaration: !1, CSSValueList: !1, ClientRectList: !1, DOMRectList: !1, DOMStringList: !1, DOMTokenList: !0, DataTransferItemList: !1, FileList: !1, HTMLAllCollection: !1, HTMLCollection: !1, HTMLFormElement: !1, HTMLSelectElement: !1, MediaList: !0, MimeTypeArray: !1, NamedNodeMap: !1, NodeList: !0, PaintRequestList: !1, Plugin: !1, PluginArray: !1, SVGLengthList: !1, SVGNumberList: !1, SVGPathSegList: !1, SVGPointList: !1, SVGStringList: !1, SVGTransformList: !1, SourceBufferList: !1, StyleSheetList: !0, TextTrackCueList: !1, TextTrackList: !1, TouchList: !1 }, d = i(p), m = 0; m < d.length; m++) {
|
||
var v, y = d[m], g = p[y], x = s[y], b = x && x.prototype;
|
||
if (b && (b[l] || a(b, l, f), b[h] || a(b, h, y), u[y] = f, g))
|
||
for (v in r)
|
||
b[v] || o(b, v, r[v], !0);
|
||
} }, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return t; }
|
||
function i(t, e, n) { function i(t, e) { var n = g.hasOwnProperty(e) ? g[e] : null; w.hasOwnProperty(e) && a("OVERRIDE_BASE" === n, "ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.", e), t && a("DEFINE_MANY" === n || "DEFINE_MANY_MERGED" === n, "ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.", e); } function c(t, n) { if (n) {
|
||
a("function" != typeof n, "ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."), a(!e(n), "ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");
|
||
var r = t.prototype, o = r.__reactAutoBindPairs;
|
||
n.hasOwnProperty(u) && b.mixins(t, n.mixins);
|
||
for (var s in n)
|
||
if (n.hasOwnProperty(s) && s !== u) {
|
||
var c = n[s], l = r.hasOwnProperty(s);
|
||
if (i(l, s), b.hasOwnProperty(s))
|
||
b[s](t, c);
|
||
else {
|
||
var h = g.hasOwnProperty(s), d = "function" == typeof c, m = d && !h && !l && !1 !== n.autobind;
|
||
if (m)
|
||
o.push(s, c), r[s] = c;
|
||
else if (l) {
|
||
var v = g[s];
|
||
a(h && ("DEFINE_MANY_MERGED" === v || "DEFINE_MANY" === v), "ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.", v, s), "DEFINE_MANY_MERGED" === v ? r[s] = f(r[s], c) : "DEFINE_MANY" === v && (r[s] = p(r[s], c));
|
||
}
|
||
else
|
||
r[s] = c;
|
||
}
|
||
}
|
||
}
|
||
else
|
||
; } function l(t, e) { if (e)
|
||
for (var n in e) {
|
||
var r = e[n];
|
||
if (e.hasOwnProperty(n)) {
|
||
var i = n in b;
|
||
a(!i, 'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.', n);
|
||
var o = n in t;
|
||
if (o) {
|
||
var s = x.hasOwnProperty(n) ? x[n] : null;
|
||
return a("DEFINE_MANY_MERGED" === s, "ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.", n), void (t[n] = f(t[n], r));
|
||
}
|
||
t[n] = r;
|
||
}
|
||
} } function h(t, e) { a(t && e && "object" == typeof t && "object" == typeof e, "mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."); for (var n in e)
|
||
e.hasOwnProperty(n) && (a(void 0 === t[n], "mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.", n), t[n] = e[n]); return t; } function f(t, e) { return function () { var n = t.apply(this, arguments), r = e.apply(this, arguments); if (null == n)
|
||
return r; if (null == r)
|
||
return n; var i = {}; return h(i, n), h(i, r), i; }; } function p(t, e) { return function () { t.apply(this, arguments), e.apply(this, arguments); }; } function d(t, e) { var n = e.bind(t); return n; } function m(t) { for (var e = t.__reactAutoBindPairs, n = 0; n < e.length; n += 2) {
|
||
var r = e[n], i = e[n + 1];
|
||
t[r] = d(t, i);
|
||
} } function v(t) { var e = r(function (t, r, i) { this.__reactAutoBindPairs.length && m(this), this.props = t, this.context = r, this.refs = s, this.updater = i || n, this.state = null; var o = this.getInitialState ? this.getInitialState() : null; a("object" == typeof o && !Array.isArray(o), "%s.getInitialState(): must return an object or null", e.displayName || "ReactCompositeComponent"), this.state = o; }); e.prototype = new _, e.prototype.constructor = e, e.prototype.__reactAutoBindPairs = [], y.forEach(c.bind(null, e)), c(e, D), c(e, t), c(e, E), e.getDefaultProps && (e.defaultProps = e.getDefaultProps()), a(e.prototype.render, "createClass(...): Class specification must implement a `render` method."); for (var i in g)
|
||
e.prototype[i] || (e.prototype[i] = null); return e; } var y = [], g = { mixins: "DEFINE_MANY", statics: "DEFINE_MANY", propTypes: "DEFINE_MANY", contextTypes: "DEFINE_MANY", childContextTypes: "DEFINE_MANY", getDefaultProps: "DEFINE_MANY_MERGED", getInitialState: "DEFINE_MANY_MERGED", getChildContext: "DEFINE_MANY_MERGED", render: "DEFINE_ONCE", componentWillMount: "DEFINE_MANY", componentDidMount: "DEFINE_MANY", componentWillReceiveProps: "DEFINE_MANY", shouldComponentUpdate: "DEFINE_ONCE", componentWillUpdate: "DEFINE_MANY", componentDidUpdate: "DEFINE_MANY", componentWillUnmount: "DEFINE_MANY", UNSAFE_componentWillMount: "DEFINE_MANY", UNSAFE_componentWillReceiveProps: "DEFINE_MANY", UNSAFE_componentWillUpdate: "DEFINE_MANY", updateComponent: "OVERRIDE_BASE" }, x = { getDerivedStateFromProps: "DEFINE_MANY_MERGED" }, b = { displayName: function (t, e) { t.displayName = e; }, mixins: function (t, e) { if (e)
|
||
for (var n = 0; n < e.length; n++)
|
||
c(t, e[n]); }, childContextTypes: function (t, e) { t.childContextTypes = o({}, t.childContextTypes, e); }, contextTypes: function (t, e) { t.contextTypes = o({}, t.contextTypes, e); }, getDefaultProps: function (t, e) { t.getDefaultProps ? t.getDefaultProps = f(t.getDefaultProps, e) : t.getDefaultProps = e; }, propTypes: function (t, e) { t.propTypes = o({}, t.propTypes, e); }, statics: function (t, e) { l(t, e); }, autobind: function () { } }, D = { componentDidMount: function () { this.__isMounted = !0; } }, E = { componentWillUnmount: function () { this.__isMounted = !1; } }, w = { replaceState: function (t, e) { this.updater.enqueueReplaceState(this, t, e); }, isMounted: function () { return !!this.__isMounted; } }, _ = function () { }; return o(_.prototype, t.prototype, w), v; }
|
||
var o = n(53), s = n(166), a = n(21), u = "mixins";
|
||
t.exports = i;
|
||
}, function (t, e, n) { (function (e) { !function (e, n) { t.exports = n(e); }(void 0 !== e ? e : this, function (t) { if (t.CSS && t.CSS.escape)
|
||
return t.CSS.escape; var e = function (t) { if (0 == arguments.length)
|
||
throw new TypeError("`CSS.escape` requires an argument."); for (var e, n = String(t), r = n.length, i = -1, o = "", s = n.charCodeAt(0); ++i < r;)
|
||
e = n.charCodeAt(i), o += 0 != e ? e >= 1 && e <= 31 || 127 == e || 0 == i && e >= 48 && e <= 57 || 1 == i && e >= 48 && e <= 57 && 45 == s ? "\\" + e.toString(16) + " " : (0 != i || 1 != r || 45 != e) && (e >= 128 || 45 == e || 95 == e || e >= 48 && e <= 57 || e >= 65 && e <= 90 || e >= 97 && e <= 122) ? n.charAt(i) : "\\" + n.charAt(i) : "�"; return o; }; return t.CSS || (t.CSS = {}), t.CSS.escape = e, e; }); }).call(e, n(12)); }, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = function () { var t, e, n = Array.from; return "function" == typeof n && (t = ["raz", "dwa"], e = n(t), Boolean(e && e !== t && "dwa" === e[1])); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(352).iterator, i = n(331), o = n(332), s = n(20), a = n(11), u = n(46), c = n(31), l = n(351), h = Array.isArray, f = Function.prototype.call, p = { configurable: !0, enumerable: !0, writable: !0, value: null }, d = Object.defineProperty;
|
||
t.exports = function (t) { var e, n, m, v, y, g, x, b, D, E, w = arguments[1], _ = arguments[2]; if (t = Object(u(t)), c(w) && a(w), this && this !== Array && o(this))
|
||
e = this;
|
||
else {
|
||
if (!w) {
|
||
if (i(t))
|
||
return 1 !== (y = t.length) ? Array.apply(null, t) : (v = new Array(1), v[0] = t[0], v);
|
||
if (h(t)) {
|
||
for (v = new Array(y = t.length), n = 0; n < y; ++n)
|
||
v[n] = t[n];
|
||
return v;
|
||
}
|
||
}
|
||
v = [];
|
||
} if (!h(t))
|
||
if (void 0 !== (D = t[r])) {
|
||
for (x = a(D).call(t), e && (v = new e), b = x.next(), n = 0; !b.done;)
|
||
E = w ? f.call(w, _, b.value, n) : b.value, e ? (p.value = E, d(v, n, p)) : v[n] = E, b = x.next(), ++n;
|
||
y = n;
|
||
}
|
||
else if (l(t)) {
|
||
for (y = t.length, e && (v = new e), n = 0, m = 0; n < y; ++n)
|
||
E = t[n], n + 1 < y && (g = E.charCodeAt(0)) >= 55296 && g <= 56319 && (E += t[++n]), E = w ? f.call(w, _, E, m) : E, e ? (p.value = E, d(v, m, p)) : v[m] = E, ++m;
|
||
y = m;
|
||
} if (void 0 === y)
|
||
for (y = s(t.length), e && (v = new e(y)), n = 0; n < y; ++n)
|
||
E = w ? f.call(w, _, t[n], n) : t[n], e ? (p.value = E, d(v, n, p)) : v[n] = E; return e && (p.value = null, v.length = y), v; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(110), i = Array.isArray;
|
||
t.exports = function (t) { return i(t) ? t : r(t); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(162), i = n(344), o = n(31), s = Error.captureStackTrace;
|
||
e = t.exports = function (t) { var n = new Error(t), a = arguments[1], u = arguments[2]; return o(u) || i(a) && (u = a, a = null), o(u) && r(n, u), o(a) && (n.code = a), s && s(n, e), n; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = Object.prototype.toString, i = r.call(function () { return arguments; }());
|
||
t.exports = function (t) { return r.call(t) === i; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = Object.prototype.toString, i = r.call(n(161));
|
||
t.exports = function (t) { return "function" == typeof t && r.call(t) === i; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = n(334)() ? Math.sign : n(335);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = function () { var t = Math.sign; return "function" == typeof t && (1 === t(10) && -1 === t(-20)); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = function (t) { return t = Number(t), isNaN(t) || 0 === t ? t : t > 0 ? 1 : -1; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = n(337)() ? Number.isNaN : n(338);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = function () { var t = Number.isNaN; return "function" == typeof t && (!t({}) && t(NaN) && !t(34)); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = function (t) { return t !== t; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(333), i = Math.abs, o = Math.floor;
|
||
t.exports = function (t) { return isNaN(t) ? 0 : (t = Number(t), 0 !== t && isFinite(t) ? r(t) * o(i(t)) : t); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(11), i = n(46), o = Function.prototype.bind, s = Function.prototype.call, a = Object.keys, u = Object.prototype.propertyIsEnumerable;
|
||
t.exports = function (t, e) { return function (n, c) { var l, h = arguments[2], f = arguments[3]; return n = Object(i(n)), r(c), l = a(n), f && l.sort("function" == typeof f ? o.call(f, n) : void 0), "function" != typeof t && (t = l[t]), s.call(t, l, function (t, r) { return u.call(n, t) ? s.call(c, h, n[t], t, n, r) : e; }); }; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = function () { var t, e = Object.assign; return "function" == typeof e && (t = { foo: "raz" }, e(t, { bar: "dwa" }, { trzy: "trzy" }), t.foo + t.bar + t.trzy === "razdwatrzy"); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(345), i = n(46), o = Math.max;
|
||
t.exports = function (t, e) { var n, s, a, u = o(arguments.length, 2); for (t = Object(i(t)), a = function (r) { try {
|
||
t[r] = e[r];
|
||
}
|
||
catch (t) {
|
||
n || (n = t);
|
||
} }, s = 1; s < u; ++s)
|
||
e = arguments[s], r(e).forEach(a); if (void 0 !== n)
|
||
throw n; return t; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = function (t) { return "function" == typeof t; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(31), i = { function: !0, object: !0 };
|
||
t.exports = function (t) { return r(t) && i[typeof t] || !1; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = n(346)() ? Object.keys : n(347);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = function () { try {
|
||
return Object.keys("primitive"), !0;
|
||
}
|
||
catch (t) {
|
||
return !1;
|
||
} };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(31), i = Object.keys;
|
||
t.exports = function (t) { return i(r(t) ? Object(t) : t); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = n(349)() ? String.prototype.contains : n(350);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = "razdwatrzy";
|
||
t.exports = function () { return "function" == typeof r.contains && (!0 === r.contains("dwa") && !1 === r.contains("foo")); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = String.prototype.indexOf;
|
||
t.exports = function (t) { return r.call(this, t, arguments[1]) > -1; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = Object.prototype.toString, i = r.call("");
|
||
t.exports = function (t) { return "string" == typeof t || t && "object" == typeof t && (t instanceof String || r.call(t) === i) || !1; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = n(353)() ? Symbol : n(355);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = { object: !0, symbol: !0 };
|
||
t.exports = function () { var t; if ("function" != typeof Symbol)
|
||
return !1; t = Symbol("test symbol"); try {
|
||
String(t);
|
||
}
|
||
catch (t) {
|
||
return !1;
|
||
} return !!r[typeof Symbol.iterator] && (!!r[typeof Symbol.toPrimitive] && !!r[typeof Symbol.toStringTag]); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = function (t) { return !!t && ("symbol" == typeof t || !!t.constructor && ("Symbol" === t.constructor.name && "Symbol" === t[t.constructor.toStringTag])); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r, i, o, s, a = n(66), u = n(356), c = Object.create, l = Object.defineProperties, h = Object.defineProperty, f = Object.prototype, p = c(null);
|
||
if ("function" == typeof Symbol) {
|
||
r = Symbol;
|
||
try {
|
||
String(r()), s = !0;
|
||
}
|
||
catch (t) { }
|
||
}
|
||
var d = function () { var t = c(null); return function (e) { for (var n, r, i = 0; t[e + (i || "")];)
|
||
++i; return e += i || "", t[e] = !0, n = "@@" + e, h(f, n, a.gs(null, function (t) { r || (r = !0, h(this, n, a(t)), r = !1); })), n; }; }();
|
||
o = function (t) { if (this instanceof o)
|
||
throw new TypeError("Symbol is not a constructor"); return i(t); }, t.exports = i = function t(e) { var n; if (this instanceof t)
|
||
throw new TypeError("Symbol is not a constructor"); return s ? r(e) : (n = c(o.prototype), e = void 0 === e ? "" : String(e), l(n, { __description__: a("", e), __name__: a("", d(e)) })); }, l(i, { for: a(function (t) { return p[t] ? p[t] : p[t] = i(String(t)); }), keyFor: a(function (t) { var e; u(t); for (e in p)
|
||
if (p[e] === t)
|
||
return e; }), hasInstance: a("", r && r.hasInstance || i("hasInstance")), isConcatSpreadable: a("", r && r.isConcatSpreadable || i("isConcatSpreadable")), iterator: a("", r && r.iterator || i("iterator")), match: a("", r && r.match || i("match")), replace: a("", r && r.replace || i("replace")), search: a("", r && r.search || i("search")), species: a("", r && r.species || i("species")), split: a("", r && r.split || i("split")), toPrimitive: a("", r && r.toPrimitive || i("toPrimitive")), toStringTag: a("", r && r.toStringTag || i("toStringTag")), unscopables: a("", r && r.unscopables || i("unscopables")) }), l(o.prototype, { constructor: a(i), toString: a("", function () { return this.__name__; }) }), l(i.prototype, { toString: a(function () { return "Symbol (" + u(this).__description__ + ")"; }), valueOf: a(function () { return u(this); }) }), h(i.prototype, i.toPrimitive, a("", function () { var t = u(this); return "symbol" == typeof t ? t : t.toString(); })), h(i.prototype, i.toStringTag, a("c", "Symbol")), h(o.prototype, i.toStringTag, a("c", i.prototype[i.toStringTag])), h(o.prototype, i.toPrimitive, a("c", i.prototype[i.toPrimitive]));
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(354);
|
||
t.exports = function (t) { if (!r(t))
|
||
throw new TypeError(t + " is not a symbol"); return t; };
|
||
}, function (t, e, n) { !function (e, n) { t.exports = n(); }(0, function () { return function (t) { function e(r) { if (n[r])
|
||
return n[r].exports; var i = n[r] = { exports: {}, id: r, loaded: !1 }; return t[r].call(i.exports, i, i.exports, e), i.loaded = !0, i.exports; } var n = {}; return e.m = t, e.c = n, e.p = "", e(0); }([function (t, e, n) {
|
||
"use strict";
|
||
function r(t, e, n) { var r = null, i = function (t, e) { n && n(t, e), r && r.visit(t, e); }, o = "function" == typeof n ? i : null, s = !1; if (e) {
|
||
s = "boolean" == typeof e.comment && e.comment;
|
||
var l = "boolean" == typeof e.attachComment && e.attachComment;
|
||
(s || l) && (r = new a.CommentHandler, r.attach = l, e.comment = !0, o = i);
|
||
} var h = !1; e && "string" == typeof e.sourceType && (h = "module" === e.sourceType); var f; f = e && "boolean" == typeof e.jsx && e.jsx ? new u.JSXParser(t, e, o) : new c.Parser(t, e, o); var p = h ? f.parseModule() : f.parseScript(), d = p; return s && r && (d.comments = r.comments), f.config.tokens && (d.tokens = f.tokens), f.config.tolerant && (d.errors = f.errorHandler.errors), d; }
|
||
function i(t, e, n) { var i = e || {}; return i.sourceType = "module", r(t, i, n); }
|
||
function o(t, e, n) { var i = e || {}; return i.sourceType = "script", r(t, i, n); }
|
||
function s(t, e, n) { var r, i = new l.Tokenizer(t, e); r = []; try {
|
||
for (;;) {
|
||
var o = i.getNextToken();
|
||
if (!o)
|
||
break;
|
||
n && (o = n(o)), r.push(o);
|
||
}
|
||
}
|
||
catch (t) {
|
||
i.errorHandler.tolerate(t);
|
||
} return i.errorHandler.tolerant && (r.errors = i.errors()), r; }
|
||
Object.defineProperty(e, "__esModule", { value: !0 });
|
||
var a = n(1), u = n(3), c = n(8), l = n(15);
|
||
e.parse = r, e.parseModule = i, e.parseScript = o, e.tokenize = s;
|
||
var h = n(2);
|
||
e.Syntax = h.Syntax, e.version = "4.0.0";
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 });
|
||
var r = n(2), i = function () { function t() { this.attach = !1, this.comments = [], this.stack = [], this.leading = [], this.trailing = []; } return t.prototype.insertInnerComments = function (t, e) { if (t.type === r.Syntax.BlockStatement && 0 === t.body.length) {
|
||
for (var n = [], i = this.leading.length - 1; i >= 0; --i) {
|
||
var o = this.leading[i];
|
||
e.end.offset >= o.start && (n.unshift(o.comment), this.leading.splice(i, 1), this.trailing.splice(i, 1));
|
||
}
|
||
n.length && (t.innerComments = n);
|
||
} }, t.prototype.findTrailingComments = function (t) { var e = []; if (this.trailing.length > 0) {
|
||
for (var n = this.trailing.length - 1; n >= 0; --n) {
|
||
var r = this.trailing[n];
|
||
r.start >= t.end.offset && e.unshift(r.comment);
|
||
}
|
||
return this.trailing.length = 0, e;
|
||
} var i = this.stack[this.stack.length - 1]; if (i && i.node.trailingComments) {
|
||
var o = i.node.trailingComments[0];
|
||
o && o.range[0] >= t.end.offset && (e = i.node.trailingComments, delete i.node.trailingComments);
|
||
} return e; }, t.prototype.findLeadingComments = function (t) { for (var e, n = []; this.stack.length > 0;) {
|
||
var r = this.stack[this.stack.length - 1];
|
||
if (!(r && r.start >= t.start.offset))
|
||
break;
|
||
e = r.node, this.stack.pop();
|
||
} if (e) {
|
||
for (var i = e.leadingComments ? e.leadingComments.length : 0, o = i - 1; o >= 0; --o) {
|
||
var s = e.leadingComments[o];
|
||
s.range[1] <= t.start.offset && (n.unshift(s), e.leadingComments.splice(o, 1));
|
||
}
|
||
return e.leadingComments && 0 === e.leadingComments.length && delete e.leadingComments, n;
|
||
} for (var o = this.leading.length - 1; o >= 0; --o) {
|
||
var r = this.leading[o];
|
||
r.start <= t.start.offset && (n.unshift(r.comment), this.leading.splice(o, 1));
|
||
} return n; }, t.prototype.visitNode = function (t, e) { if (!(t.type === r.Syntax.Program && t.body.length > 0)) {
|
||
this.insertInnerComments(t, e);
|
||
var n = this.findTrailingComments(e), i = this.findLeadingComments(e);
|
||
i.length > 0 && (t.leadingComments = i), n.length > 0 && (t.trailingComments = n), this.stack.push({ node: t, start: e.start.offset });
|
||
} }, t.prototype.visitComment = function (t, e) { var n = "L" === t.type[0] ? "Line" : "Block", r = { type: n, value: t.value }; if (t.range && (r.range = t.range), t.loc && (r.loc = t.loc), this.comments.push(r), this.attach) {
|
||
var i = { comment: { type: n, value: t.value, range: [e.start.offset, e.end.offset] }, start: e.start.offset };
|
||
t.loc && (i.comment.loc = t.loc), t.type = n, this.leading.push(i), this.trailing.push(i);
|
||
} }, t.prototype.visit = function (t, e) { "LineComment" === t.type ? this.visitComment(t, e) : "BlockComment" === t.type ? this.visitComment(t, e) : this.attach && this.visitNode(t, e); }, t; }();
|
||
e.CommentHandler = i;
|
||
}, function (t, e) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 }), e.Syntax = { AssignmentExpression: "AssignmentExpression", AssignmentPattern: "AssignmentPattern", ArrayExpression: "ArrayExpression", ArrayPattern: "ArrayPattern", ArrowFunctionExpression: "ArrowFunctionExpression", AwaitExpression: "AwaitExpression", BlockStatement: "BlockStatement", BinaryExpression: "BinaryExpression", BreakStatement: "BreakStatement", CallExpression: "CallExpression", CatchClause: "CatchClause", ClassBody: "ClassBody", ClassDeclaration: "ClassDeclaration", ClassExpression: "ClassExpression", ConditionalExpression: "ConditionalExpression", ContinueStatement: "ContinueStatement", DoWhileStatement: "DoWhileStatement", DebuggerStatement: "DebuggerStatement", EmptyStatement: "EmptyStatement", ExportAllDeclaration: "ExportAllDeclaration", ExportDefaultDeclaration: "ExportDefaultDeclaration", ExportNamedDeclaration: "ExportNamedDeclaration", ExportSpecifier: "ExportSpecifier", ExpressionStatement: "ExpressionStatement", ForStatement: "ForStatement", ForOfStatement: "ForOfStatement", ForInStatement: "ForInStatement", FunctionDeclaration: "FunctionDeclaration", FunctionExpression: "FunctionExpression", Identifier: "Identifier", IfStatement: "IfStatement", ImportDeclaration: "ImportDeclaration", ImportDefaultSpecifier: "ImportDefaultSpecifier", ImportNamespaceSpecifier: "ImportNamespaceSpecifier", ImportSpecifier: "ImportSpecifier", Literal: "Literal", LabeledStatement: "LabeledStatement", LogicalExpression: "LogicalExpression", MemberExpression: "MemberExpression", MetaProperty: "MetaProperty", MethodDefinition: "MethodDefinition", NewExpression: "NewExpression", ObjectExpression: "ObjectExpression", ObjectPattern: "ObjectPattern", Program: "Program", Property: "Property", RestElement: "RestElement", ReturnStatement: "ReturnStatement", SequenceExpression: "SequenceExpression", SpreadElement: "SpreadElement", Super: "Super", SwitchCase: "SwitchCase", SwitchStatement: "SwitchStatement", TaggedTemplateExpression: "TaggedTemplateExpression", TemplateElement: "TemplateElement", TemplateLiteral: "TemplateLiteral", ThisExpression: "ThisExpression", ThrowStatement: "ThrowStatement", TryStatement: "TryStatement", UnaryExpression: "UnaryExpression", UpdateExpression: "UpdateExpression", VariableDeclaration: "VariableDeclaration", VariableDeclarator: "VariableDeclarator", WhileStatement: "WhileStatement", WithStatement: "WithStatement", YieldExpression: "YieldExpression" };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { var e; switch (t.type) {
|
||
case a.JSXSyntax.JSXIdentifier:
|
||
e = t.name;
|
||
break;
|
||
case a.JSXSyntax.JSXNamespacedName:
|
||
var n = t;
|
||
e = r(n.namespace) + ":" + r(n.name);
|
||
break;
|
||
case a.JSXSyntax.JSXMemberExpression:
|
||
var i = t;
|
||
e = r(i.object) + "." + r(i.property);
|
||
} return e; }
|
||
var i = this && this.__extends || function () { var t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; } || function (t, e) { for (var n in e)
|
||
e.hasOwnProperty(n) && (t[n] = e[n]); }; return function (e, n) { function r() { this.constructor = e; } t(e, n), e.prototype = null === n ? Object.create(n) : (r.prototype = n.prototype, new r); }; }();
|
||
Object.defineProperty(e, "__esModule", { value: !0 });
|
||
var o = n(4), s = n(5), a = n(6), u = n(7), c = n(8), l = n(13), h = n(14);
|
||
l.TokenName[100] = "JSXIdentifier", l.TokenName[101] = "JSXText";
|
||
var f = function (t) { function e(e, n, r) { return t.call(this, e, n, r) || this; } return i(e, t), e.prototype.parsePrimaryExpression = function () { return this.match("<") ? this.parseJSXRoot() : t.prototype.parsePrimaryExpression.call(this); }, e.prototype.startJSX = function () { this.scanner.index = this.startMarker.index, this.scanner.lineNumber = this.startMarker.line, this.scanner.lineStart = this.startMarker.index - this.startMarker.column; }, e.prototype.finishJSX = function () { this.nextToken(); }, e.prototype.reenterJSX = function () { this.startJSX(), this.expectJSX("}"), this.config.tokens && this.tokens.pop(); }, e.prototype.createJSXNode = function () { return this.collectComments(), { index: this.scanner.index, line: this.scanner.lineNumber, column: this.scanner.index - this.scanner.lineStart }; }, e.prototype.createJSXChildNode = function () { return { index: this.scanner.index, line: this.scanner.lineNumber, column: this.scanner.index - this.scanner.lineStart }; }, e.prototype.scanXHTMLEntity = function (t) { for (var e = "&", n = !0, r = !1, i = !1, s = !1; !this.scanner.eof() && n && !r;) {
|
||
var a = this.scanner.source[this.scanner.index];
|
||
if (a === t)
|
||
break;
|
||
if (r = ";" === a, e += a, ++this.scanner.index, !r)
|
||
switch (e.length) {
|
||
case 2:
|
||
i = "#" === a;
|
||
break;
|
||
case 3:
|
||
i && (s = "x" === a, n = s || o.Character.isDecimalDigit(a.charCodeAt(0)), i = i && !s);
|
||
break;
|
||
default: n = n && !(i && !o.Character.isDecimalDigit(a.charCodeAt(0))), n = n && !(s && !o.Character.isHexDigit(a.charCodeAt(0)));
|
||
}
|
||
} if (n && r && e.length > 2) {
|
||
var u = e.substr(1, e.length - 2);
|
||
i && u.length > 1 ? e = String.fromCharCode(parseInt(u.substr(1), 10)) : s && u.length > 2 ? e = String.fromCharCode(parseInt("0" + u.substr(1), 16)) : i || s || !h.XHTMLEntities[u] || (e = h.XHTMLEntities[u]);
|
||
} return e; }, e.prototype.lexJSX = function () { var t = this.scanner.source.charCodeAt(this.scanner.index); if (60 === t || 62 === t || 47 === t || 58 === t || 61 === t || 123 === t || 125 === t) {
|
||
var e = this.scanner.source[this.scanner.index++];
|
||
return { type: 7, value: e, lineNumber: this.scanner.lineNumber, lineStart: this.scanner.lineStart, start: this.scanner.index - 1, end: this.scanner.index };
|
||
} if (34 === t || 39 === t) {
|
||
for (var n = this.scanner.index, r = this.scanner.source[this.scanner.index++], i = ""; !this.scanner.eof();) {
|
||
var s = this.scanner.source[this.scanner.index++];
|
||
if (s === r)
|
||
break;
|
||
i += "&" === s ? this.scanXHTMLEntity(r) : s;
|
||
}
|
||
return { type: 8, value: i, lineNumber: this.scanner.lineNumber, lineStart: this.scanner.lineStart, start: n, end: this.scanner.index };
|
||
} if (46 === t) {
|
||
var a = this.scanner.source.charCodeAt(this.scanner.index + 1), u = this.scanner.source.charCodeAt(this.scanner.index + 2), e = 46 === a && 46 === u ? "..." : ".", n = this.scanner.index;
|
||
return this.scanner.index += e.length, { type: 7, value: e, lineNumber: this.scanner.lineNumber, lineStart: this.scanner.lineStart, start: n, end: this.scanner.index };
|
||
} if (96 === t)
|
||
return { type: 10, value: "", lineNumber: this.scanner.lineNumber, lineStart: this.scanner.lineStart, start: this.scanner.index, end: this.scanner.index }; if (o.Character.isIdentifierStart(t) && 92 !== t) {
|
||
var n = this.scanner.index;
|
||
for (++this.scanner.index; !this.scanner.eof();) {
|
||
var s = this.scanner.source.charCodeAt(this.scanner.index);
|
||
if (o.Character.isIdentifierPart(s) && 92 !== s)
|
||
++this.scanner.index;
|
||
else {
|
||
if (45 !== s)
|
||
break;
|
||
++this.scanner.index;
|
||
}
|
||
}
|
||
return { type: 100, value: this.scanner.source.slice(n, this.scanner.index), lineNumber: this.scanner.lineNumber, lineStart: this.scanner.lineStart, start: n, end: this.scanner.index };
|
||
} return this.scanner.lex(); }, e.prototype.nextJSXToken = function () { this.collectComments(), this.startMarker.index = this.scanner.index, this.startMarker.line = this.scanner.lineNumber, this.startMarker.column = this.scanner.index - this.scanner.lineStart; var t = this.lexJSX(); return this.lastMarker.index = this.scanner.index, this.lastMarker.line = this.scanner.lineNumber, this.lastMarker.column = this.scanner.index - this.scanner.lineStart, this.config.tokens && this.tokens.push(this.convertToken(t)), t; }, e.prototype.nextJSXText = function () { this.startMarker.index = this.scanner.index, this.startMarker.line = this.scanner.lineNumber, this.startMarker.column = this.scanner.index - this.scanner.lineStart; for (var t = this.scanner.index, e = ""; !this.scanner.eof();) {
|
||
var n = this.scanner.source[this.scanner.index];
|
||
if ("{" === n || "<" === n)
|
||
break;
|
||
++this.scanner.index, e += n, o.Character.isLineTerminator(n.charCodeAt(0)) && (++this.scanner.lineNumber, "\r" === n && "\n" === this.scanner.source[this.scanner.index] && ++this.scanner.index, this.scanner.lineStart = this.scanner.index);
|
||
} this.lastMarker.index = this.scanner.index, this.lastMarker.line = this.scanner.lineNumber, this.lastMarker.column = this.scanner.index - this.scanner.lineStart; var r = { type: 101, value: e, lineNumber: this.scanner.lineNumber, lineStart: this.scanner.lineStart, start: t, end: this.scanner.index }; return e.length > 0 && this.config.tokens && this.tokens.push(this.convertToken(r)), r; }, e.prototype.peekJSXToken = function () { var t = this.scanner.saveState(); this.scanner.scanComments(); var e = this.lexJSX(); return this.scanner.restoreState(t), e; }, e.prototype.expectJSX = function (t) { var e = this.nextJSXToken(); 7 === e.type && e.value === t || this.throwUnexpectedToken(e); }, e.prototype.matchJSX = function (t) { var e = this.peekJSXToken(); return 7 === e.type && e.value === t; }, e.prototype.parseJSXIdentifier = function () { var t = this.createJSXNode(), e = this.nextJSXToken(); return 100 !== e.type && this.throwUnexpectedToken(e), this.finalize(t, new s.JSXIdentifier(e.value)); }, e.prototype.parseJSXElementName = function () { var t = this.createJSXNode(), e = this.parseJSXIdentifier(); if (this.matchJSX(":")) {
|
||
var n = e;
|
||
this.expectJSX(":");
|
||
var r = this.parseJSXIdentifier();
|
||
e = this.finalize(t, new s.JSXNamespacedName(n, r));
|
||
}
|
||
else if (this.matchJSX("."))
|
||
for (; this.matchJSX(".");) {
|
||
var i = e;
|
||
this.expectJSX(".");
|
||
var o = this.parseJSXIdentifier();
|
||
e = this.finalize(t, new s.JSXMemberExpression(i, o));
|
||
} return e; }, e.prototype.parseJSXAttributeName = function () { var t, e = this.createJSXNode(), n = this.parseJSXIdentifier(); if (this.matchJSX(":")) {
|
||
var r = n;
|
||
this.expectJSX(":");
|
||
var i = this.parseJSXIdentifier();
|
||
t = this.finalize(e, new s.JSXNamespacedName(r, i));
|
||
}
|
||
else
|
||
t = n; return t; }, e.prototype.parseJSXStringLiteralAttribute = function () { var t = this.createJSXNode(), e = this.nextJSXToken(); 8 !== e.type && this.throwUnexpectedToken(e); var n = this.getTokenRaw(e); return this.finalize(t, new u.Literal(e.value, n)); }, e.prototype.parseJSXExpressionAttribute = function () { var t = this.createJSXNode(); this.expectJSX("{"), this.finishJSX(), this.match("}") && this.tolerateError("JSX attributes must only be assigned a non-empty expression"); var e = this.parseAssignmentExpression(); return this.reenterJSX(), this.finalize(t, new s.JSXExpressionContainer(e)); }, e.prototype.parseJSXAttributeValue = function () { return this.matchJSX("{") ? this.parseJSXExpressionAttribute() : this.matchJSX("<") ? this.parseJSXElement() : this.parseJSXStringLiteralAttribute(); }, e.prototype.parseJSXNameValueAttribute = function () { var t = this.createJSXNode(), e = this.parseJSXAttributeName(), n = null; return this.matchJSX("=") && (this.expectJSX("="), n = this.parseJSXAttributeValue()), this.finalize(t, new s.JSXAttribute(e, n)); }, e.prototype.parseJSXSpreadAttribute = function () { var t = this.createJSXNode(); this.expectJSX("{"), this.expectJSX("..."), this.finishJSX(); var e = this.parseAssignmentExpression(); return this.reenterJSX(), this.finalize(t, new s.JSXSpreadAttribute(e)); }, e.prototype.parseJSXAttributes = function () { for (var t = []; !this.matchJSX("/") && !this.matchJSX(">");) {
|
||
var e = this.matchJSX("{") ? this.parseJSXSpreadAttribute() : this.parseJSXNameValueAttribute();
|
||
t.push(e);
|
||
} return t; }, e.prototype.parseJSXOpeningElement = function () { var t = this.createJSXNode(); this.expectJSX("<"); var e = this.parseJSXElementName(), n = this.parseJSXAttributes(), r = this.matchJSX("/"); return r && this.expectJSX("/"), this.expectJSX(">"), this.finalize(t, new s.JSXOpeningElement(e, r, n)); }, e.prototype.parseJSXBoundaryElement = function () { var t = this.createJSXNode(); if (this.expectJSX("<"), this.matchJSX("/")) {
|
||
this.expectJSX("/");
|
||
var e = this.parseJSXElementName();
|
||
return this.expectJSX(">"), this.finalize(t, new s.JSXClosingElement(e));
|
||
} var n = this.parseJSXElementName(), r = this.parseJSXAttributes(), i = this.matchJSX("/"); return i && this.expectJSX("/"), this.expectJSX(">"), this.finalize(t, new s.JSXOpeningElement(n, i, r)); }, e.prototype.parseJSXEmptyExpression = function () { var t = this.createJSXChildNode(); return this.collectComments(), this.lastMarker.index = this.scanner.index, this.lastMarker.line = this.scanner.lineNumber, this.lastMarker.column = this.scanner.index - this.scanner.lineStart, this.finalize(t, new s.JSXEmptyExpression); }, e.prototype.parseJSXExpressionContainer = function () { var t = this.createJSXNode(); this.expectJSX("{"); var e; return this.matchJSX("}") ? (e = this.parseJSXEmptyExpression(), this.expectJSX("}")) : (this.finishJSX(), e = this.parseAssignmentExpression(), this.reenterJSX()), this.finalize(t, new s.JSXExpressionContainer(e)); }, e.prototype.parseJSXChildren = function () { for (var t = []; !this.scanner.eof();) {
|
||
var e = this.createJSXChildNode(), n = this.nextJSXText();
|
||
if (n.start < n.end) {
|
||
var r = this.getTokenRaw(n), i = this.finalize(e, new s.JSXText(n.value, r));
|
||
t.push(i);
|
||
}
|
||
if ("{" !== this.scanner.source[this.scanner.index])
|
||
break;
|
||
var o = this.parseJSXExpressionContainer();
|
||
t.push(o);
|
||
} return t; }, e.prototype.parseComplexJSXElement = function (t) { for (var e = []; !this.scanner.eof();) {
|
||
t.children = t.children.concat(this.parseJSXChildren());
|
||
var n = this.createJSXChildNode(), i = this.parseJSXBoundaryElement();
|
||
if (i.type === a.JSXSyntax.JSXOpeningElement) {
|
||
var o = i;
|
||
if (o.selfClosing) {
|
||
var u = this.finalize(n, new s.JSXElement(o, [], null));
|
||
t.children.push(u);
|
||
}
|
||
else
|
||
e.push(t), t = { node: n, opening: o, closing: null, children: [] };
|
||
}
|
||
if (i.type === a.JSXSyntax.JSXClosingElement) {
|
||
t.closing = i;
|
||
var c = r(t.opening.name);
|
||
if (c !== r(t.closing.name) && this.tolerateError("Expected corresponding JSX closing tag for %0", c), !(e.length > 0))
|
||
break;
|
||
var u = this.finalize(t.node, new s.JSXElement(t.opening, t.children, t.closing));
|
||
t = e[e.length - 1], t.children.push(u), e.pop();
|
||
}
|
||
} return t; }, e.prototype.parseJSXElement = function () { var t = this.createJSXNode(), e = this.parseJSXOpeningElement(), n = [], r = null; if (!e.selfClosing) {
|
||
var i = this.parseComplexJSXElement({ node: t, opening: e, closing: r, children: n });
|
||
n = i.children, r = i.closing;
|
||
} return this.finalize(t, new s.JSXElement(e, n, r)); }, e.prototype.parseJSXRoot = function () { this.config.tokens && this.tokens.pop(), this.startJSX(); var t = this.parseJSXElement(); return this.finishJSX(), t; }, e.prototype.isStartOfExpression = function () { return t.prototype.isStartOfExpression.call(this) || this.match("<"); }, e; }(c.Parser);
|
||
e.JSXParser = f;
|
||
}, function (t, e) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 });
|
||
var n = { NonAsciiIdentifierStart: /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/, NonAsciiIdentifierPart: /[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/ };
|
||
e.Character = { fromCodePoint: function (t) { return t < 65536 ? String.fromCharCode(t) : String.fromCharCode(55296 + (t - 65536 >> 10)) + String.fromCharCode(56320 + (t - 65536 & 1023)); }, isWhiteSpace: function (t) { return 32 === t || 9 === t || 11 === t || 12 === t || 160 === t || t >= 5760 && [5760, 8192, 8193, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8239, 8287, 12288, 65279].indexOf(t) >= 0; }, isLineTerminator: function (t) { return 10 === t || 13 === t || 8232 === t || 8233 === t; }, isIdentifierStart: function (t) { return 36 === t || 95 === t || t >= 65 && t <= 90 || t >= 97 && t <= 122 || 92 === t || t >= 128 && n.NonAsciiIdentifierStart.test(e.Character.fromCodePoint(t)); }, isIdentifierPart: function (t) { return 36 === t || 95 === t || t >= 65 && t <= 90 || t >= 97 && t <= 122 || t >= 48 && t <= 57 || 92 === t || t >= 128 && n.NonAsciiIdentifierPart.test(e.Character.fromCodePoint(t)); }, isDecimalDigit: function (t) { return t >= 48 && t <= 57; }, isHexDigit: function (t) { return t >= 48 && t <= 57 || t >= 65 && t <= 70 || t >= 97 && t <= 102; }, isOctalDigit: function (t) { return t >= 48 && t <= 55; } };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 });
|
||
var r = n(6), i = function () { function t(t) { this.type = r.JSXSyntax.JSXClosingElement, this.name = t; } return t; }();
|
||
e.JSXClosingElement = i;
|
||
var o = function () { function t(t, e, n) { this.type = r.JSXSyntax.JSXElement, this.openingElement = t, this.children = e, this.closingElement = n; } return t; }();
|
||
e.JSXElement = o;
|
||
var s = function () { function t() { this.type = r.JSXSyntax.JSXEmptyExpression; } return t; }();
|
||
e.JSXEmptyExpression = s;
|
||
var a = function () { function t(t) { this.type = r.JSXSyntax.JSXExpressionContainer, this.expression = t; } return t; }();
|
||
e.JSXExpressionContainer = a;
|
||
var u = function () { function t(t) { this.type = r.JSXSyntax.JSXIdentifier, this.name = t; } return t; }();
|
||
e.JSXIdentifier = u;
|
||
var c = function () { function t(t, e) { this.type = r.JSXSyntax.JSXMemberExpression, this.object = t, this.property = e; } return t; }();
|
||
e.JSXMemberExpression = c;
|
||
var l = function () { function t(t, e) { this.type = r.JSXSyntax.JSXAttribute, this.name = t, this.value = e; } return t; }();
|
||
e.JSXAttribute = l;
|
||
var h = function () { function t(t, e) { this.type = r.JSXSyntax.JSXNamespacedName, this.namespace = t, this.name = e; } return t; }();
|
||
e.JSXNamespacedName = h;
|
||
var f = function () { function t(t, e, n) { this.type = r.JSXSyntax.JSXOpeningElement, this.name = t, this.selfClosing = e, this.attributes = n; } return t; }();
|
||
e.JSXOpeningElement = f;
|
||
var p = function () { function t(t) { this.type = r.JSXSyntax.JSXSpreadAttribute, this.argument = t; } return t; }();
|
||
e.JSXSpreadAttribute = p;
|
||
var d = function () { function t(t, e) { this.type = r.JSXSyntax.JSXText, this.value = t, this.raw = e; } return t; }();
|
||
e.JSXText = d;
|
||
}, function (t, e) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 }), e.JSXSyntax = { JSXAttribute: "JSXAttribute", JSXClosingElement: "JSXClosingElement", JSXElement: "JSXElement", JSXEmptyExpression: "JSXEmptyExpression", JSXExpressionContainer: "JSXExpressionContainer", JSXIdentifier: "JSXIdentifier", JSXMemberExpression: "JSXMemberExpression", JSXNamespacedName: "JSXNamespacedName", JSXOpeningElement: "JSXOpeningElement", JSXSpreadAttribute: "JSXSpreadAttribute", JSXText: "JSXText" };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 });
|
||
var r = n(2), i = function () { function t(t) { this.type = r.Syntax.ArrayExpression, this.elements = t; } return t; }();
|
||
e.ArrayExpression = i;
|
||
var o = function () { function t(t) { this.type = r.Syntax.ArrayPattern, this.elements = t; } return t; }();
|
||
e.ArrayPattern = o;
|
||
var s = function () { function t(t, e, n) { this.type = r.Syntax.ArrowFunctionExpression, this.id = null, this.params = t, this.body = e, this.generator = !1, this.expression = n, this.async = !1; } return t; }();
|
||
e.ArrowFunctionExpression = s;
|
||
var a = function () { function t(t, e, n) { this.type = r.Syntax.AssignmentExpression, this.operator = t, this.left = e, this.right = n; } return t; }();
|
||
e.AssignmentExpression = a;
|
||
var u = function () { function t(t, e) { this.type = r.Syntax.AssignmentPattern, this.left = t, this.right = e; } return t; }();
|
||
e.AssignmentPattern = u;
|
||
var c = function () { function t(t, e, n) { this.type = r.Syntax.ArrowFunctionExpression, this.id = null, this.params = t, this.body = e, this.generator = !1, this.expression = n, this.async = !0; } return t; }();
|
||
e.AsyncArrowFunctionExpression = c;
|
||
var l = function () { function t(t, e, n) { this.type = r.Syntax.FunctionDeclaration, this.id = t, this.params = e, this.body = n, this.generator = !1, this.expression = !1, this.async = !0; } return t; }();
|
||
e.AsyncFunctionDeclaration = l;
|
||
var h = function () { function t(t, e, n) { this.type = r.Syntax.FunctionExpression, this.id = t, this.params = e, this.body = n, this.generator = !1, this.expression = !1, this.async = !0; } return t; }();
|
||
e.AsyncFunctionExpression = h;
|
||
var f = function () { function t(t) { this.type = r.Syntax.AwaitExpression, this.argument = t; } return t; }();
|
||
e.AwaitExpression = f;
|
||
var p = function () { function t(t, e, n) { var i = "||" === t || "&&" === t; this.type = i ? r.Syntax.LogicalExpression : r.Syntax.BinaryExpression, this.operator = t, this.left = e, this.right = n; } return t; }();
|
||
e.BinaryExpression = p;
|
||
var d = function () { function t(t) { this.type = r.Syntax.BlockStatement, this.body = t; } return t; }();
|
||
e.BlockStatement = d;
|
||
var m = function () { function t(t) { this.type = r.Syntax.BreakStatement, this.label = t; } return t; }();
|
||
e.BreakStatement = m;
|
||
var v = function () { function t(t, e) { this.type = r.Syntax.CallExpression, this.callee = t, this.arguments = e; } return t; }();
|
||
e.CallExpression = v;
|
||
var y = function () { function t(t, e) { this.type = r.Syntax.CatchClause, this.param = t, this.body = e; } return t; }();
|
||
e.CatchClause = y;
|
||
var g = function () { function t(t) { this.type = r.Syntax.ClassBody, this.body = t; } return t; }();
|
||
e.ClassBody = g;
|
||
var x = function () { function t(t, e, n) { this.type = r.Syntax.ClassDeclaration, this.id = t, this.superClass = e, this.body = n; } return t; }();
|
||
e.ClassDeclaration = x;
|
||
var b = function () { function t(t, e, n) { this.type = r.Syntax.ClassExpression, this.id = t, this.superClass = e, this.body = n; } return t; }();
|
||
e.ClassExpression = b;
|
||
var D = function () { function t(t, e) { this.type = r.Syntax.MemberExpression, this.computed = !0, this.object = t, this.property = e; } return t; }();
|
||
e.ComputedMemberExpression = D;
|
||
var E = function () { function t(t, e, n) { this.type = r.Syntax.ConditionalExpression, this.test = t, this.consequent = e, this.alternate = n; } return t; }();
|
||
e.ConditionalExpression = E;
|
||
var w = function () { function t(t) { this.type = r.Syntax.ContinueStatement, this.label = t; } return t; }();
|
||
e.ContinueStatement = w;
|
||
var _ = function () { function t() { this.type = r.Syntax.DebuggerStatement; } return t; }();
|
||
e.DebuggerStatement = _;
|
||
var S = function () { function t(t, e) { this.type = r.Syntax.ExpressionStatement, this.expression = t, this.directive = e; } return t; }();
|
||
e.Directive = S;
|
||
var A = function () { function t(t, e) { this.type = r.Syntax.DoWhileStatement, this.body = t, this.test = e; } return t; }();
|
||
e.DoWhileStatement = A;
|
||
var C = function () { function t() { this.type = r.Syntax.EmptyStatement; } return t; }();
|
||
e.EmptyStatement = C;
|
||
var k = function () { function t(t) { this.type = r.Syntax.ExportAllDeclaration, this.source = t; } return t; }();
|
||
e.ExportAllDeclaration = k;
|
||
var F = function () { function t(t) { this.type = r.Syntax.ExportDefaultDeclaration, this.declaration = t; } return t; }();
|
||
e.ExportDefaultDeclaration = F;
|
||
var T = function () { function t(t, e, n) { this.type = r.Syntax.ExportNamedDeclaration, this.declaration = t, this.specifiers = e, this.source = n; } return t; }();
|
||
e.ExportNamedDeclaration = T;
|
||
var I = function () { function t(t, e) { this.type = r.Syntax.ExportSpecifier, this.exported = e, this.local = t; } return t; }();
|
||
e.ExportSpecifier = I;
|
||
var O = function () { function t(t) { this.type = r.Syntax.ExpressionStatement, this.expression = t; } return t; }();
|
||
e.ExpressionStatement = O;
|
||
var M = function () { function t(t, e, n) { this.type = r.Syntax.ForInStatement, this.left = t, this.right = e, this.body = n, this.each = !1; } return t; }();
|
||
e.ForInStatement = M;
|
||
var B = function () { function t(t, e, n) { this.type = r.Syntax.ForOfStatement, this.left = t, this.right = e, this.body = n; } return t; }();
|
||
e.ForOfStatement = B;
|
||
var P = function () { function t(t, e, n, i) { this.type = r.Syntax.ForStatement, this.init = t, this.test = e, this.update = n, this.body = i; } return t; }();
|
||
e.ForStatement = P;
|
||
var j = function () { function t(t, e, n, i) { this.type = r.Syntax.FunctionDeclaration, this.id = t, this.params = e, this.body = n, this.generator = i, this.expression = !1, this.async = !1; } return t; }();
|
||
e.FunctionDeclaration = j;
|
||
var N = function () { function t(t, e, n, i) { this.type = r.Syntax.FunctionExpression, this.id = t, this.params = e, this.body = n, this.generator = i, this.expression = !1, this.async = !1; } return t; }();
|
||
e.FunctionExpression = N;
|
||
var L = function () { function t(t) { this.type = r.Syntax.Identifier, this.name = t; } return t; }();
|
||
e.Identifier = L;
|
||
var R = function () { function t(t, e, n) { this.type = r.Syntax.IfStatement, this.test = t, this.consequent = e, this.alternate = n; } return t; }();
|
||
e.IfStatement = R;
|
||
var z = function () { function t(t, e) { this.type = r.Syntax.ImportDeclaration, this.specifiers = t, this.source = e; } return t; }();
|
||
e.ImportDeclaration = z;
|
||
var U = function () { function t(t) { this.type = r.Syntax.ImportDefaultSpecifier, this.local = t; } return t; }();
|
||
e.ImportDefaultSpecifier = U;
|
||
var J = function () { function t(t) { this.type = r.Syntax.ImportNamespaceSpecifier, this.local = t; } return t; }();
|
||
e.ImportNamespaceSpecifier = J;
|
||
var X = function () { function t(t, e) { this.type = r.Syntax.ImportSpecifier, this.local = t, this.imported = e; } return t; }();
|
||
e.ImportSpecifier = X;
|
||
var q = function () { function t(t, e) { this.type = r.Syntax.LabeledStatement, this.label = t, this.body = e; } return t; }();
|
||
e.LabeledStatement = q;
|
||
var K = function () { function t(t, e) { this.type = r.Syntax.Literal, this.value = t, this.raw = e; } return t; }();
|
||
e.Literal = K;
|
||
var W = function () { function t(t, e) { this.type = r.Syntax.MetaProperty, this.meta = t, this.property = e; } return t; }();
|
||
e.MetaProperty = W;
|
||
var Y = function () { function t(t, e, n, i, o) { this.type = r.Syntax.MethodDefinition, this.key = t, this.computed = e, this.value = n, this.kind = i, this.static = o; } return t; }();
|
||
e.MethodDefinition = Y;
|
||
var H = function () { function t(t) { this.type = r.Syntax.Program, this.body = t, this.sourceType = "module"; } return t; }();
|
||
e.Module = H;
|
||
var V = function () { function t(t, e) { this.type = r.Syntax.NewExpression, this.callee = t, this.arguments = e; } return t; }();
|
||
e.NewExpression = V;
|
||
var G = function () { function t(t) { this.type = r.Syntax.ObjectExpression, this.properties = t; } return t; }();
|
||
e.ObjectExpression = G;
|
||
var $ = function () { function t(t) { this.type = r.Syntax.ObjectPattern, this.properties = t; } return t; }();
|
||
e.ObjectPattern = $;
|
||
var Z = function () { function t(t, e, n, i, o, s) { this.type = r.Syntax.Property, this.key = e, this.computed = n, this.value = i, this.kind = t, this.method = o, this.shorthand = s; } return t; }();
|
||
e.Property = Z;
|
||
var Q = function () { function t(t, e, n, i) { this.type = r.Syntax.Literal, this.value = t, this.raw = e, this.regex = { pattern: n, flags: i }; } return t; }();
|
||
e.RegexLiteral = Q;
|
||
var tt = function () { function t(t) { this.type = r.Syntax.RestElement, this.argument = t; } return t; }();
|
||
e.RestElement = tt;
|
||
var et = function () { function t(t) { this.type = r.Syntax.ReturnStatement, this.argument = t; } return t; }();
|
||
e.ReturnStatement = et;
|
||
var nt = function () { function t(t) { this.type = r.Syntax.Program, this.body = t, this.sourceType = "script"; } return t; }();
|
||
e.Script = nt;
|
||
var rt = function () { function t(t) { this.type = r.Syntax.SequenceExpression, this.expressions = t; } return t; }();
|
||
e.SequenceExpression = rt;
|
||
var it = function () { function t(t) { this.type = r.Syntax.SpreadElement, this.argument = t; } return t; }();
|
||
e.SpreadElement = it;
|
||
var ot = function () { function t(t, e) { this.type = r.Syntax.MemberExpression, this.computed = !1, this.object = t, this.property = e; } return t; }();
|
||
e.StaticMemberExpression = ot;
|
||
var st = function () { function t() { this.type = r.Syntax.Super; } return t; }();
|
||
e.Super = st;
|
||
var at = function () { function t(t, e) { this.type = r.Syntax.SwitchCase, this.test = t, this.consequent = e; } return t; }();
|
||
e.SwitchCase = at;
|
||
var ut = function () { function t(t, e) { this.type = r.Syntax.SwitchStatement, this.discriminant = t, this.cases = e; } return t; }();
|
||
e.SwitchStatement = ut;
|
||
var ct = function () { function t(t, e) { this.type = r.Syntax.TaggedTemplateExpression, this.tag = t, this.quasi = e; } return t; }();
|
||
e.TaggedTemplateExpression = ct;
|
||
var lt = function () { function t(t, e) { this.type = r.Syntax.TemplateElement, this.value = t, this.tail = e; } return t; }();
|
||
e.TemplateElement = lt;
|
||
var ht = function () { function t(t, e) { this.type = r.Syntax.TemplateLiteral, this.quasis = t, this.expressions = e; } return t; }();
|
||
e.TemplateLiteral = ht;
|
||
var ft = function () { function t() { this.type = r.Syntax.ThisExpression; } return t; }();
|
||
e.ThisExpression = ft;
|
||
var pt = function () { function t(t) { this.type = r.Syntax.ThrowStatement, this.argument = t; } return t; }();
|
||
e.ThrowStatement = pt;
|
||
var dt = function () { function t(t, e, n) { this.type = r.Syntax.TryStatement, this.block = t, this.handler = e, this.finalizer = n; } return t; }();
|
||
e.TryStatement = dt;
|
||
var mt = function () { function t(t, e) { this.type = r.Syntax.UnaryExpression, this.operator = t, this.argument = e, this.prefix = !0; } return t; }();
|
||
e.UnaryExpression = mt;
|
||
var vt = function () { function t(t, e, n) { this.type = r.Syntax.UpdateExpression, this.operator = t, this.argument = e, this.prefix = n; } return t; }();
|
||
e.UpdateExpression = vt;
|
||
var yt = function () { function t(t, e) { this.type = r.Syntax.VariableDeclaration, this.declarations = t, this.kind = e; } return t; }();
|
||
e.VariableDeclaration = yt;
|
||
var gt = function () { function t(t, e) { this.type = r.Syntax.VariableDeclarator, this.id = t, this.init = e; } return t; }();
|
||
e.VariableDeclarator = gt;
|
||
var xt = function () { function t(t, e) { this.type = r.Syntax.WhileStatement, this.test = t, this.body = e; } return t; }();
|
||
e.WhileStatement = xt;
|
||
var bt = function () { function t(t, e) { this.type = r.Syntax.WithStatement, this.object = t, this.body = e; } return t; }();
|
||
e.WithStatement = bt;
|
||
var Dt = function () { function t(t, e) { this.type = r.Syntax.YieldExpression, this.argument = t, this.delegate = e; } return t; }();
|
||
e.YieldExpression = Dt;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 });
|
||
var r = n(9), i = n(10), o = n(11), s = n(7), a = n(12), u = n(2), c = n(13), l = function () { function t(t, e, n) { void 0 === e && (e = {}), this.config = { range: "boolean" == typeof e.range && e.range, loc: "boolean" == typeof e.loc && e.loc, source: null, tokens: "boolean" == typeof e.tokens && e.tokens, comment: "boolean" == typeof e.comment && e.comment, tolerant: "boolean" == typeof e.tolerant && e.tolerant }, this.config.loc && e.source && null !== e.source && (this.config.source = String(e.source)), this.delegate = n, this.errorHandler = new i.ErrorHandler, this.errorHandler.tolerant = this.config.tolerant, this.scanner = new a.Scanner(t, this.errorHandler), this.scanner.trackComment = this.config.comment, this.operatorPrecedence = { ")": 0, ";": 0, ",": 0, "=": 0, "]": 0, "||": 1, "&&": 2, "|": 3, "^": 4, "&": 5, "==": 6, "!=": 6, "===": 6, "!==": 6, "<": 7, ">": 7, "<=": 7, ">=": 7, "<<": 8, ">>": 8, ">>>": 8, "+": 9, "-": 9, "*": 11, "/": 11, "%": 11 }, this.lookahead = { type: 2, value: "", lineNumber: this.scanner.lineNumber, lineStart: 0, start: 0, end: 0 }, this.hasLineTerminator = !1, this.context = { isModule: !1, await: !1, allowIn: !0, allowStrictDirective: !0, allowYield: !0, firstCoverInitializedNameError: null, isAssignmentTarget: !1, isBindingElement: !1, inFunctionBody: !1, inIteration: !1, inSwitch: !1, labelSet: {}, strict: !1 }, this.tokens = [], this.startMarker = { index: 0, line: this.scanner.lineNumber, column: 0 }, this.lastMarker = { index: 0, line: this.scanner.lineNumber, column: 0 }, this.nextToken(), this.lastMarker = { index: this.scanner.index, line: this.scanner.lineNumber, column: this.scanner.index - this.scanner.lineStart }; } return t.prototype.throwError = function (t) { for (var e = [], n = 1; n < arguments.length; n++)
|
||
e[n - 1] = arguments[n]; var i = Array.prototype.slice.call(arguments, 1), o = t.replace(/%(\d)/g, function (t, e) { return r.assert(e < i.length, "Message reference must be in range"), i[e]; }), s = this.lastMarker.index, a = this.lastMarker.line, u = this.lastMarker.column + 1; throw this.errorHandler.createError(s, a, u, o); }, t.prototype.tolerateError = function (t) { for (var e = [], n = 1; n < arguments.length; n++)
|
||
e[n - 1] = arguments[n]; var i = Array.prototype.slice.call(arguments, 1), o = t.replace(/%(\d)/g, function (t, e) { return r.assert(e < i.length, "Message reference must be in range"), i[e]; }), s = this.lastMarker.index, a = this.scanner.lineNumber, u = this.lastMarker.column + 1; this.errorHandler.tolerateError(s, a, u, o); }, t.prototype.unexpectedTokenError = function (t, e) { var n, r = e || o.Messages.UnexpectedToken; if (t ? (e || (r = 2 === t.type ? o.Messages.UnexpectedEOS : 3 === t.type ? o.Messages.UnexpectedIdentifier : 6 === t.type ? o.Messages.UnexpectedNumber : 8 === t.type ? o.Messages.UnexpectedString : 10 === t.type ? o.Messages.UnexpectedTemplate : o.Messages.UnexpectedToken, 4 === t.type && (this.scanner.isFutureReservedWord(t.value) ? r = o.Messages.UnexpectedReserved : this.context.strict && this.scanner.isStrictModeReservedWord(t.value) && (r = o.Messages.StrictReservedWord))), n = t.value) : n = "ILLEGAL", r = r.replace("%0", n), t && "number" == typeof t.lineNumber) {
|
||
var i = t.start, s = t.lineNumber, a = this.lastMarker.index - this.lastMarker.column, u = t.start - a + 1;
|
||
return this.errorHandler.createError(i, s, u, r);
|
||
} var i = this.lastMarker.index, s = this.lastMarker.line, u = this.lastMarker.column + 1; return this.errorHandler.createError(i, s, u, r); }, t.prototype.throwUnexpectedToken = function (t, e) { throw this.unexpectedTokenError(t, e); }, t.prototype.tolerateUnexpectedToken = function (t, e) { this.errorHandler.tolerate(this.unexpectedTokenError(t, e)); }, t.prototype.collectComments = function () { if (this.config.comment) {
|
||
var t = this.scanner.scanComments();
|
||
if (t.length > 0 && this.delegate)
|
||
for (var e = 0; e < t.length; ++e) {
|
||
var n = t[e], r = void 0;
|
||
r = { type: n.multiLine ? "BlockComment" : "LineComment", value: this.scanner.source.slice(n.slice[0], n.slice[1]) }, this.config.range && (r.range = n.range), this.config.loc && (r.loc = n.loc);
|
||
var i = { start: { line: n.loc.start.line, column: n.loc.start.column, offset: n.range[0] }, end: { line: n.loc.end.line, column: n.loc.end.column, offset: n.range[1] } };
|
||
this.delegate(r, i);
|
||
}
|
||
}
|
||
else
|
||
this.scanner.scanComments(); }, t.prototype.getTokenRaw = function (t) { return this.scanner.source.slice(t.start, t.end); }, t.prototype.convertToken = function (t) { var e = { type: c.TokenName[t.type], value: this.getTokenRaw(t) }; if (this.config.range && (e.range = [t.start, t.end]), this.config.loc && (e.loc = { start: { line: this.startMarker.line, column: this.startMarker.column }, end: { line: this.scanner.lineNumber, column: this.scanner.index - this.scanner.lineStart } }), 9 === t.type) {
|
||
var n = t.pattern, r = t.flags;
|
||
e.regex = { pattern: n, flags: r };
|
||
} return e; }, t.prototype.nextToken = function () { var t = this.lookahead; this.lastMarker.index = this.scanner.index, this.lastMarker.line = this.scanner.lineNumber, this.lastMarker.column = this.scanner.index - this.scanner.lineStart, this.collectComments(), this.scanner.index !== this.startMarker.index && (this.startMarker.index = this.scanner.index, this.startMarker.line = this.scanner.lineNumber, this.startMarker.column = this.scanner.index - this.scanner.lineStart); var e = this.scanner.lex(); return this.hasLineTerminator = t.lineNumber !== e.lineNumber, e && this.context.strict && 3 === e.type && this.scanner.isStrictModeReservedWord(e.value) && (e.type = 4), this.lookahead = e, this.config.tokens && 2 !== e.type && this.tokens.push(this.convertToken(e)), t; }, t.prototype.nextRegexToken = function () { this.collectComments(); var t = this.scanner.scanRegExp(); return this.config.tokens && (this.tokens.pop(), this.tokens.push(this.convertToken(t))), this.lookahead = t, this.nextToken(), t; }, t.prototype.createNode = function () { return { index: this.startMarker.index, line: this.startMarker.line, column: this.startMarker.column }; }, t.prototype.startNode = function (t) { return { index: t.start, line: t.lineNumber, column: t.start - t.lineStart }; }, t.prototype.finalize = function (t, e) { if (this.config.range && (e.range = [t.index, this.lastMarker.index]), this.config.loc && (e.loc = { start: { line: t.line, column: t.column }, end: { line: this.lastMarker.line, column: this.lastMarker.column } }, this.config.source && (e.loc.source = this.config.source)), this.delegate) {
|
||
var n = { start: { line: t.line, column: t.column, offset: t.index }, end: { line: this.lastMarker.line, column: this.lastMarker.column, offset: this.lastMarker.index } };
|
||
this.delegate(e, n);
|
||
} return e; }, t.prototype.expect = function (t) { var e = this.nextToken(); 7 === e.type && e.value === t || this.throwUnexpectedToken(e); }, t.prototype.expectCommaSeparator = function () { if (this.config.tolerant) {
|
||
var t = this.lookahead;
|
||
7 === t.type && "," === t.value ? this.nextToken() : 7 === t.type && ";" === t.value ? (this.nextToken(), this.tolerateUnexpectedToken(t)) : this.tolerateUnexpectedToken(t, o.Messages.UnexpectedToken);
|
||
}
|
||
else
|
||
this.expect(","); }, t.prototype.expectKeyword = function (t) { var e = this.nextToken(); 4 === e.type && e.value === t || this.throwUnexpectedToken(e); }, t.prototype.match = function (t) { return 7 === this.lookahead.type && this.lookahead.value === t; }, t.prototype.matchKeyword = function (t) { return 4 === this.lookahead.type && this.lookahead.value === t; }, t.prototype.matchContextualKeyword = function (t) { return 3 === this.lookahead.type && this.lookahead.value === t; }, t.prototype.matchAssign = function () { if (7 !== this.lookahead.type)
|
||
return !1; var t = this.lookahead.value; return "=" === t || "*=" === t || "**=" === t || "/=" === t || "%=" === t || "+=" === t || "-=" === t || "<<=" === t || ">>=" === t || ">>>=" === t || "&=" === t || "^=" === t || "|=" === t; }, t.prototype.isolateCoverGrammar = function (t) { var e = this.context.isBindingElement, n = this.context.isAssignmentTarget, r = this.context.firstCoverInitializedNameError; this.context.isBindingElement = !0, this.context.isAssignmentTarget = !0, this.context.firstCoverInitializedNameError = null; var i = t.call(this); return null !== this.context.firstCoverInitializedNameError && this.throwUnexpectedToken(this.context.firstCoverInitializedNameError), this.context.isBindingElement = e, this.context.isAssignmentTarget = n, this.context.firstCoverInitializedNameError = r, i; }, t.prototype.inheritCoverGrammar = function (t) { var e = this.context.isBindingElement, n = this.context.isAssignmentTarget, r = this.context.firstCoverInitializedNameError; this.context.isBindingElement = !0, this.context.isAssignmentTarget = !0, this.context.firstCoverInitializedNameError = null; var i = t.call(this); return this.context.isBindingElement = this.context.isBindingElement && e, this.context.isAssignmentTarget = this.context.isAssignmentTarget && n, this.context.firstCoverInitializedNameError = r || this.context.firstCoverInitializedNameError, i; }, t.prototype.consumeSemicolon = function () { this.match(";") ? this.nextToken() : this.hasLineTerminator || (2 === this.lookahead.type || this.match("}") || this.throwUnexpectedToken(this.lookahead), this.lastMarker.index = this.startMarker.index, this.lastMarker.line = this.startMarker.line, this.lastMarker.column = this.startMarker.column); }, t.prototype.parsePrimaryExpression = function () { var t, e, n, r = this.createNode(); switch (this.lookahead.type) {
|
||
case 3:
|
||
(this.context.isModule || this.context.await) && "await" === this.lookahead.value && this.tolerateUnexpectedToken(this.lookahead), t = this.matchAsyncFunction() ? this.parseFunctionExpression() : this.finalize(r, new s.Identifier(this.nextToken().value));
|
||
break;
|
||
case 6:
|
||
case 8:
|
||
this.context.strict && this.lookahead.octal && this.tolerateUnexpectedToken(this.lookahead, o.Messages.StrictOctalLiteral), this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1, e = this.nextToken(), n = this.getTokenRaw(e), t = this.finalize(r, new s.Literal(e.value, n));
|
||
break;
|
||
case 1:
|
||
this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1, e = this.nextToken(), n = this.getTokenRaw(e), t = this.finalize(r, new s.Literal("true" === e.value, n));
|
||
break;
|
||
case 5:
|
||
this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1, e = this.nextToken(), n = this.getTokenRaw(e), t = this.finalize(r, new s.Literal(null, n));
|
||
break;
|
||
case 10:
|
||
t = this.parseTemplateLiteral();
|
||
break;
|
||
case 7:
|
||
switch (this.lookahead.value) {
|
||
case "(":
|
||
this.context.isBindingElement = !1, t = this.inheritCoverGrammar(this.parseGroupExpression);
|
||
break;
|
||
case "[":
|
||
t = this.inheritCoverGrammar(this.parseArrayInitializer);
|
||
break;
|
||
case "{":
|
||
t = this.inheritCoverGrammar(this.parseObjectInitializer);
|
||
break;
|
||
case "/":
|
||
case "/=":
|
||
this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1, this.scanner.index = this.startMarker.index, e = this.nextRegexToken(), n = this.getTokenRaw(e), t = this.finalize(r, new s.RegexLiteral(e.regex, n, e.pattern, e.flags));
|
||
break;
|
||
default: t = this.throwUnexpectedToken(this.nextToken());
|
||
}
|
||
break;
|
||
case 4:
|
||
!this.context.strict && this.context.allowYield && this.matchKeyword("yield") ? t = this.parseIdentifierName() : !this.context.strict && this.matchKeyword("let") ? t = this.finalize(r, new s.Identifier(this.nextToken().value)) : (this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1, this.matchKeyword("function") ? t = this.parseFunctionExpression() : this.matchKeyword("this") ? (this.nextToken(), t = this.finalize(r, new s.ThisExpression)) : t = this.matchKeyword("class") ? this.parseClassExpression() : this.throwUnexpectedToken(this.nextToken()));
|
||
break;
|
||
default: t = this.throwUnexpectedToken(this.nextToken());
|
||
} return t; }, t.prototype.parseSpreadElement = function () { var t = this.createNode(); this.expect("..."); var e = this.inheritCoverGrammar(this.parseAssignmentExpression); return this.finalize(t, new s.SpreadElement(e)); }, t.prototype.parseArrayInitializer = function () { var t = this.createNode(), e = []; for (this.expect("["); !this.match("]");)
|
||
if (this.match(","))
|
||
this.nextToken(), e.push(null);
|
||
else if (this.match("...")) {
|
||
var n = this.parseSpreadElement();
|
||
this.match("]") || (this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1, this.expect(",")), e.push(n);
|
||
}
|
||
else
|
||
e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)), this.match("]") || this.expect(","); return this.expect("]"), this.finalize(t, new s.ArrayExpression(e)); }, t.prototype.parsePropertyMethod = function (t) { this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1; var e = this.context.strict, n = this.context.allowStrictDirective; this.context.allowStrictDirective = t.simple; var r = this.isolateCoverGrammar(this.parseFunctionSourceElements); return this.context.strict && t.firstRestricted && this.tolerateUnexpectedToken(t.firstRestricted, t.message), this.context.strict && t.stricted && this.tolerateUnexpectedToken(t.stricted, t.message), this.context.strict = e, this.context.allowStrictDirective = n, r; }, t.prototype.parsePropertyMethodFunction = function () { var t = this.createNode(), e = this.context.allowYield; this.context.allowYield = !1; var n = this.parseFormalParameters(), r = this.parsePropertyMethod(n); return this.context.allowYield = e, this.finalize(t, new s.FunctionExpression(null, n.params, r, !1)); }, t.prototype.parsePropertyMethodAsyncFunction = function () { var t = this.createNode(), e = this.context.allowYield, n = this.context.await; this.context.allowYield = !1, this.context.await = !0; var r = this.parseFormalParameters(), i = this.parsePropertyMethod(r); return this.context.allowYield = e, this.context.await = n, this.finalize(t, new s.AsyncFunctionExpression(null, r.params, i)); }, t.prototype.parseObjectPropertyKey = function () { var t, e = this.createNode(), n = this.nextToken(); switch (n.type) {
|
||
case 8:
|
||
case 6:
|
||
this.context.strict && n.octal && this.tolerateUnexpectedToken(n, o.Messages.StrictOctalLiteral);
|
||
var r = this.getTokenRaw(n);
|
||
t = this.finalize(e, new s.Literal(n.value, r));
|
||
break;
|
||
case 3:
|
||
case 1:
|
||
case 5:
|
||
case 4:
|
||
t = this.finalize(e, new s.Identifier(n.value));
|
||
break;
|
||
case 7:
|
||
"[" === n.value ? (t = this.isolateCoverGrammar(this.parseAssignmentExpression), this.expect("]")) : t = this.throwUnexpectedToken(n);
|
||
break;
|
||
default: t = this.throwUnexpectedToken(n);
|
||
} return t; }, t.prototype.isPropertyKey = function (t, e) { return t.type === u.Syntax.Identifier && t.name === e || t.type === u.Syntax.Literal && t.value === e; }, t.prototype.parseObjectProperty = function (t) { var e, n = this.createNode(), r = this.lookahead, i = null, a = null, u = !1, c = !1, l = !1, h = !1; if (3 === r.type) {
|
||
var f = r.value;
|
||
this.nextToken(), u = this.match("["), h = !(this.hasLineTerminator || "async" !== f || this.match(":") || this.match("(") || this.match("*")), i = h ? this.parseObjectPropertyKey() : this.finalize(n, new s.Identifier(f));
|
||
}
|
||
else
|
||
this.match("*") ? this.nextToken() : (u = this.match("["), i = this.parseObjectPropertyKey()); var p = this.qualifiedPropertyName(this.lookahead); if (3 === r.type && !h && "get" === r.value && p)
|
||
e = "get", u = this.match("["), i = this.parseObjectPropertyKey(), this.context.allowYield = !1, a = this.parseGetterMethod();
|
||
else if (3 === r.type && !h && "set" === r.value && p)
|
||
e = "set", u = this.match("["), i = this.parseObjectPropertyKey(), a = this.parseSetterMethod();
|
||
else if (7 === r.type && "*" === r.value && p)
|
||
e = "init", u = this.match("["), i = this.parseObjectPropertyKey(), a = this.parseGeneratorMethod(), c = !0;
|
||
else if (i || this.throwUnexpectedToken(this.lookahead), e = "init", this.match(":") && !h)
|
||
!u && this.isPropertyKey(i, "__proto__") && (t.value && this.tolerateError(o.Messages.DuplicateProtoProperty), t.value = !0), this.nextToken(), a = this.inheritCoverGrammar(this.parseAssignmentExpression);
|
||
else if (this.match("("))
|
||
a = h ? this.parsePropertyMethodAsyncFunction() : this.parsePropertyMethodFunction(), c = !0;
|
||
else if (3 === r.type) {
|
||
var f = this.finalize(n, new s.Identifier(r.value));
|
||
if (this.match("=")) {
|
||
this.context.firstCoverInitializedNameError = this.lookahead, this.nextToken(), l = !0;
|
||
var d = this.isolateCoverGrammar(this.parseAssignmentExpression);
|
||
a = this.finalize(n, new s.AssignmentPattern(f, d));
|
||
}
|
||
else
|
||
l = !0, a = f;
|
||
}
|
||
else
|
||
this.throwUnexpectedToken(this.nextToken()); return this.finalize(n, new s.Property(e, i, u, a, c, l)); }, t.prototype.parseObjectInitializer = function () { var t = this.createNode(); this.expect("{"); for (var e = [], n = { value: !1 }; !this.match("}");)
|
||
e.push(this.parseObjectProperty(n)), this.match("}") || this.expectCommaSeparator(); return this.expect("}"), this.finalize(t, new s.ObjectExpression(e)); }, t.prototype.parseTemplateHead = function () { r.assert(this.lookahead.head, "Template literal must start with a template head"); var t = this.createNode(), e = this.nextToken(), n = e.value, i = e.cooked; return this.finalize(t, new s.TemplateElement({ raw: n, cooked: i }, e.tail)); }, t.prototype.parseTemplateElement = function () { 10 !== this.lookahead.type && this.throwUnexpectedToken(); var t = this.createNode(), e = this.nextToken(), n = e.value, r = e.cooked; return this.finalize(t, new s.TemplateElement({ raw: n, cooked: r }, e.tail)); }, t.prototype.parseTemplateLiteral = function () { var t = this.createNode(), e = [], n = [], r = this.parseTemplateHead(); for (n.push(r); !r.tail;)
|
||
e.push(this.parseExpression()), r = this.parseTemplateElement(), n.push(r); return this.finalize(t, new s.TemplateLiteral(n, e)); }, t.prototype.reinterpretExpressionAsPattern = function (t) { switch (t.type) {
|
||
case u.Syntax.Identifier:
|
||
case u.Syntax.MemberExpression:
|
||
case u.Syntax.RestElement:
|
||
case u.Syntax.AssignmentPattern: break;
|
||
case u.Syntax.SpreadElement:
|
||
t.type = u.Syntax.RestElement, this.reinterpretExpressionAsPattern(t.argument);
|
||
break;
|
||
case u.Syntax.ArrayExpression:
|
||
t.type = u.Syntax.ArrayPattern;
|
||
for (var e = 0; e < t.elements.length; e++)
|
||
null !== t.elements[e] && this.reinterpretExpressionAsPattern(t.elements[e]);
|
||
break;
|
||
case u.Syntax.ObjectExpression:
|
||
t.type = u.Syntax.ObjectPattern;
|
||
for (var e = 0; e < t.properties.length; e++)
|
||
this.reinterpretExpressionAsPattern(t.properties[e].value);
|
||
break;
|
||
case u.Syntax.AssignmentExpression: t.type = u.Syntax.AssignmentPattern, delete t.operator, this.reinterpretExpressionAsPattern(t.left);
|
||
} }, t.prototype.parseGroupExpression = function () { var t; if (this.expect("("), this.match(")"))
|
||
this.nextToken(), this.match("=>") || this.expect("=>"), t = { type: "ArrowParameterPlaceHolder", params: [], async: !1 };
|
||
else {
|
||
var e = this.lookahead, n = [];
|
||
if (this.match("..."))
|
||
t = this.parseRestElement(n), this.expect(")"), this.match("=>") || this.expect("=>"), t = { type: "ArrowParameterPlaceHolder", params: [t], async: !1 };
|
||
else {
|
||
var r = !1;
|
||
if (this.context.isBindingElement = !0, t = this.inheritCoverGrammar(this.parseAssignmentExpression), this.match(",")) {
|
||
var i = [];
|
||
for (this.context.isAssignmentTarget = !1, i.push(t); 2 !== this.lookahead.type && this.match(",");) {
|
||
if (this.nextToken(), this.match(")")) {
|
||
this.nextToken();
|
||
for (var o = 0; o < i.length; o++)
|
||
this.reinterpretExpressionAsPattern(i[o]);
|
||
r = !0, t = { type: "ArrowParameterPlaceHolder", params: i, async: !1 };
|
||
}
|
||
else if (this.match("...")) {
|
||
this.context.isBindingElement || this.throwUnexpectedToken(this.lookahead), i.push(this.parseRestElement(n)), this.expect(")"), this.match("=>") || this.expect("=>"), this.context.isBindingElement = !1;
|
||
for (var o = 0; o < i.length; o++)
|
||
this.reinterpretExpressionAsPattern(i[o]);
|
||
r = !0, t = { type: "ArrowParameterPlaceHolder", params: i, async: !1 };
|
||
}
|
||
else
|
||
i.push(this.inheritCoverGrammar(this.parseAssignmentExpression));
|
||
if (r)
|
||
break;
|
||
}
|
||
r || (t = this.finalize(this.startNode(e), new s.SequenceExpression(i)));
|
||
}
|
||
if (!r) {
|
||
if (this.expect(")"), this.match("=>") && (t.type === u.Syntax.Identifier && "yield" === t.name && (r = !0, t = { type: "ArrowParameterPlaceHolder", params: [t], async: !1 }), !r)) {
|
||
if (this.context.isBindingElement || this.throwUnexpectedToken(this.lookahead), t.type === u.Syntax.SequenceExpression)
|
||
for (var o = 0; o < t.expressions.length; o++)
|
||
this.reinterpretExpressionAsPattern(t.expressions[o]);
|
||
else
|
||
this.reinterpretExpressionAsPattern(t);
|
||
t = { type: "ArrowParameterPlaceHolder", params: t.type === u.Syntax.SequenceExpression ? t.expressions : [t], async: !1 };
|
||
}
|
||
this.context.isBindingElement = !1;
|
||
}
|
||
}
|
||
} return t; }, t.prototype.parseArguments = function () { this.expect("("); var t = []; if (!this.match(")"))
|
||
for (;;) {
|
||
var e = this.match("...") ? this.parseSpreadElement() : this.isolateCoverGrammar(this.parseAssignmentExpression);
|
||
if (t.push(e), this.match(")"))
|
||
break;
|
||
if (this.expectCommaSeparator(), this.match(")"))
|
||
break;
|
||
} return this.expect(")"), t; }, t.prototype.isIdentifierName = function (t) { return 3 === t.type || 4 === t.type || 1 === t.type || 5 === t.type; }, t.prototype.parseIdentifierName = function () { var t = this.createNode(), e = this.nextToken(); return this.isIdentifierName(e) || this.throwUnexpectedToken(e), this.finalize(t, new s.Identifier(e.value)); }, t.prototype.parseNewExpression = function () { var t = this.createNode(), e = this.parseIdentifierName(); r.assert("new" === e.name, "New expression must start with `new`"); var n; if (this.match("."))
|
||
if (this.nextToken(), 3 === this.lookahead.type && this.context.inFunctionBody && "target" === this.lookahead.value) {
|
||
var i = this.parseIdentifierName();
|
||
n = new s.MetaProperty(e, i);
|
||
}
|
||
else
|
||
this.throwUnexpectedToken(this.lookahead);
|
||
else {
|
||
var o = this.isolateCoverGrammar(this.parseLeftHandSideExpression), a = this.match("(") ? this.parseArguments() : [];
|
||
n = new s.NewExpression(o, a), this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1;
|
||
} return this.finalize(t, n); }, t.prototype.parseAsyncArgument = function () { var t = this.parseAssignmentExpression(); return this.context.firstCoverInitializedNameError = null, t; }, t.prototype.parseAsyncArguments = function () { this.expect("("); var t = []; if (!this.match(")"))
|
||
for (;;) {
|
||
var e = this.match("...") ? this.parseSpreadElement() : this.isolateCoverGrammar(this.parseAsyncArgument);
|
||
if (t.push(e), this.match(")"))
|
||
break;
|
||
if (this.expectCommaSeparator(), this.match(")"))
|
||
break;
|
||
} return this.expect(")"), t; }, t.prototype.parseLeftHandSideExpressionAllowCall = function () { var t = this.lookahead, e = this.matchContextualKeyword("async"), n = this.context.allowIn; this.context.allowIn = !0; var r; for (this.matchKeyword("super") && this.context.inFunctionBody ? (r = this.createNode(), this.nextToken(), r = this.finalize(r, new s.Super), this.match("(") || this.match(".") || this.match("[") || this.throwUnexpectedToken(this.lookahead)) : r = this.inheritCoverGrammar(this.matchKeyword("new") ? this.parseNewExpression : this.parsePrimaryExpression);;)
|
||
if (this.match(".")) {
|
||
this.context.isBindingElement = !1, this.context.isAssignmentTarget = !0, this.expect(".");
|
||
var i = this.parseIdentifierName();
|
||
r = this.finalize(this.startNode(t), new s.StaticMemberExpression(r, i));
|
||
}
|
||
else if (this.match("(")) {
|
||
var o = e && t.lineNumber === this.lookahead.lineNumber;
|
||
this.context.isBindingElement = !1, this.context.isAssignmentTarget = !1;
|
||
var a = o ? this.parseAsyncArguments() : this.parseArguments();
|
||
if (r = this.finalize(this.startNode(t), new s.CallExpression(r, a)), o && this.match("=>")) {
|
||
for (var u = 0; u < a.length; ++u)
|
||
this.reinterpretExpressionAsPattern(a[u]);
|
||
r = { type: "ArrowParameterPlaceHolder", params: a, async: !0 };
|
||
}
|
||
}
|
||
else if (this.match("[")) {
|
||
this.context.isBindingElement = !1, this.context.isAssignmentTarget = !0, this.expect("[");
|
||
var i = this.isolateCoverGrammar(this.parseExpression);
|
||
this.expect("]"), r = this.finalize(this.startNode(t), new s.ComputedMemberExpression(r, i));
|
||
}
|
||
else {
|
||
if (10 !== this.lookahead.type || !this.lookahead.head)
|
||
break;
|
||
var c = this.parseTemplateLiteral();
|
||
r = this.finalize(this.startNode(t), new s.TaggedTemplateExpression(r, c));
|
||
} return this.context.allowIn = n, r; }, t.prototype.parseSuper = function () { var t = this.createNode(); return this.expectKeyword("super"), this.match("[") || this.match(".") || this.throwUnexpectedToken(this.lookahead), this.finalize(t, new s.Super); }, t.prototype.parseLeftHandSideExpression = function () { r.assert(this.context.allowIn, "callee of new expression always allow in keyword."); for (var t = this.startNode(this.lookahead), e = this.matchKeyword("super") && this.context.inFunctionBody ? this.parseSuper() : this.inheritCoverGrammar(this.matchKeyword("new") ? this.parseNewExpression : this.parsePrimaryExpression);;)
|
||
if (this.match("[")) {
|
||
this.context.isBindingElement = !1, this.context.isAssignmentTarget = !0, this.expect("[");
|
||
var n = this.isolateCoverGrammar(this.parseExpression);
|
||
this.expect("]"), e = this.finalize(t, new s.ComputedMemberExpression(e, n));
|
||
}
|
||
else if (this.match(".")) {
|
||
this.context.isBindingElement = !1, this.context.isAssignmentTarget = !0, this.expect(".");
|
||
var n = this.parseIdentifierName();
|
||
e = this.finalize(t, new s.StaticMemberExpression(e, n));
|
||
}
|
||
else {
|
||
if (10 !== this.lookahead.type || !this.lookahead.head)
|
||
break;
|
||
var i = this.parseTemplateLiteral();
|
||
e = this.finalize(t, new s.TaggedTemplateExpression(e, i));
|
||
} return e; }, t.prototype.parseUpdateExpression = function () { var t, e = this.lookahead; if (this.match("++") || this.match("--")) {
|
||
var n = this.startNode(e), r = this.nextToken();
|
||
t = this.inheritCoverGrammar(this.parseUnaryExpression), this.context.strict && t.type === u.Syntax.Identifier && this.scanner.isRestrictedWord(t.name) && this.tolerateError(o.Messages.StrictLHSPrefix), this.context.isAssignmentTarget || this.tolerateError(o.Messages.InvalidLHSInAssignment);
|
||
var i = !0;
|
||
t = this.finalize(n, new s.UpdateExpression(r.value, t, i)), this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1;
|
||
}
|
||
else if (t = this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall), !this.hasLineTerminator && 7 === this.lookahead.type && (this.match("++") || this.match("--"))) {
|
||
this.context.strict && t.type === u.Syntax.Identifier && this.scanner.isRestrictedWord(t.name) && this.tolerateError(o.Messages.StrictLHSPostfix), this.context.isAssignmentTarget || this.tolerateError(o.Messages.InvalidLHSInAssignment), this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1;
|
||
var a = this.nextToken().value, i = !1;
|
||
t = this.finalize(this.startNode(e), new s.UpdateExpression(a, t, i));
|
||
} return t; }, t.prototype.parseAwaitExpression = function () { var t = this.createNode(); this.nextToken(); var e = this.parseUnaryExpression(); return this.finalize(t, new s.AwaitExpression(e)); }, t.prototype.parseUnaryExpression = function () { var t; if (this.match("+") || this.match("-") || this.match("~") || this.match("!") || this.matchKeyword("delete") || this.matchKeyword("void") || this.matchKeyword("typeof")) {
|
||
var e = this.startNode(this.lookahead), n = this.nextToken();
|
||
t = this.inheritCoverGrammar(this.parseUnaryExpression), t = this.finalize(e, new s.UnaryExpression(n.value, t)), this.context.strict && "delete" === t.operator && t.argument.type === u.Syntax.Identifier && this.tolerateError(o.Messages.StrictDelete), this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1;
|
||
}
|
||
else
|
||
t = this.context.await && this.matchContextualKeyword("await") ? this.parseAwaitExpression() : this.parseUpdateExpression(); return t; }, t.prototype.parseExponentiationExpression = function () { var t = this.lookahead, e = this.inheritCoverGrammar(this.parseUnaryExpression); if (e.type !== u.Syntax.UnaryExpression && this.match("**")) {
|
||
this.nextToken(), this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1;
|
||
var n = e, r = this.isolateCoverGrammar(this.parseExponentiationExpression);
|
||
e = this.finalize(this.startNode(t), new s.BinaryExpression("**", n, r));
|
||
} return e; }, t.prototype.binaryPrecedence = function (t) { var e = t.value; return 7 === t.type ? this.operatorPrecedence[e] || 0 : 4 === t.type && ("instanceof" === e || this.context.allowIn && "in" === e) ? 7 : 0; }, t.prototype.parseBinaryExpression = function () { var t = this.lookahead, e = this.inheritCoverGrammar(this.parseExponentiationExpression), n = this.lookahead, r = this.binaryPrecedence(n); if (r > 0) {
|
||
this.nextToken(), this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1;
|
||
for (var i = [t, this.lookahead], o = e, a = this.isolateCoverGrammar(this.parseExponentiationExpression), u = [o, n.value, a], c = [r];;) {
|
||
if ((r = this.binaryPrecedence(this.lookahead)) <= 0)
|
||
break;
|
||
for (; u.length > 2 && r <= c[c.length - 1];) {
|
||
a = u.pop();
|
||
var l = u.pop();
|
||
c.pop(), o = u.pop(), i.pop();
|
||
var h = this.startNode(i[i.length - 1]);
|
||
u.push(this.finalize(h, new s.BinaryExpression(l, o, a)));
|
||
}
|
||
u.push(this.nextToken().value), c.push(r), i.push(this.lookahead), u.push(this.isolateCoverGrammar(this.parseExponentiationExpression));
|
||
}
|
||
var f = u.length - 1;
|
||
for (e = u[f], i.pop(); f > 1;) {
|
||
var h = this.startNode(i.pop()), l = u[f - 1];
|
||
e = this.finalize(h, new s.BinaryExpression(l, u[f - 2], e)), f -= 2;
|
||
}
|
||
} return e; }, t.prototype.parseConditionalExpression = function () { var t = this.lookahead, e = this.inheritCoverGrammar(this.parseBinaryExpression); if (this.match("?")) {
|
||
this.nextToken();
|
||
var n = this.context.allowIn;
|
||
this.context.allowIn = !0;
|
||
var r = this.isolateCoverGrammar(this.parseAssignmentExpression);
|
||
this.context.allowIn = n, this.expect(":");
|
||
var i = this.isolateCoverGrammar(this.parseAssignmentExpression);
|
||
e = this.finalize(this.startNode(t), new s.ConditionalExpression(e, r, i)), this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1;
|
||
} return e; }, t.prototype.checkPatternParam = function (t, e) { switch (e.type) {
|
||
case u.Syntax.Identifier:
|
||
this.validateParam(t, e, e.name);
|
||
break;
|
||
case u.Syntax.RestElement:
|
||
this.checkPatternParam(t, e.argument);
|
||
break;
|
||
case u.Syntax.AssignmentPattern:
|
||
this.checkPatternParam(t, e.left);
|
||
break;
|
||
case u.Syntax.ArrayPattern:
|
||
for (var n = 0; n < e.elements.length; n++)
|
||
null !== e.elements[n] && this.checkPatternParam(t, e.elements[n]);
|
||
break;
|
||
case u.Syntax.ObjectPattern: for (var n = 0; n < e.properties.length; n++)
|
||
this.checkPatternParam(t, e.properties[n].value);
|
||
} t.simple = t.simple && e instanceof s.Identifier; }, t.prototype.reinterpretAsCoverFormalsList = function (t) { var e, n = [t], r = !1; switch (t.type) {
|
||
case u.Syntax.Identifier: break;
|
||
case "ArrowParameterPlaceHolder":
|
||
n = t.params, r = t.async;
|
||
break;
|
||
default: return null;
|
||
} e = { simple: !0, paramSet: {} }; for (var i = 0; i < n.length; ++i) {
|
||
var s = n[i];
|
||
s.type === u.Syntax.AssignmentPattern ? s.right.type === u.Syntax.YieldExpression && (s.right.argument && this.throwUnexpectedToken(this.lookahead), s.right.type = u.Syntax.Identifier, s.right.name = "yield", delete s.right.argument, delete s.right.delegate) : r && s.type === u.Syntax.Identifier && "await" === s.name && this.throwUnexpectedToken(this.lookahead), this.checkPatternParam(e, s), n[i] = s;
|
||
} if (this.context.strict || !this.context.allowYield)
|
||
for (var i = 0; i < n.length; ++i) {
|
||
var s = n[i];
|
||
s.type === u.Syntax.YieldExpression && this.throwUnexpectedToken(this.lookahead);
|
||
} if (e.message === o.Messages.StrictParamDupe) {
|
||
var a = this.context.strict ? e.stricted : e.firstRestricted;
|
||
this.throwUnexpectedToken(a, e.message);
|
||
} return { simple: e.simple, params: n, stricted: e.stricted, firstRestricted: e.firstRestricted, message: e.message }; }, t.prototype.parseAssignmentExpression = function () { var t; if (!this.context.allowYield && this.matchKeyword("yield"))
|
||
t = this.parseYieldExpression();
|
||
else {
|
||
var e = this.lookahead, n = e;
|
||
if (t = this.parseConditionalExpression(), 3 === n.type && n.lineNumber === this.lookahead.lineNumber && "async" === n.value && (3 === this.lookahead.type || this.matchKeyword("yield"))) {
|
||
var r = this.parsePrimaryExpression();
|
||
this.reinterpretExpressionAsPattern(r), t = { type: "ArrowParameterPlaceHolder", params: [r], async: !0 };
|
||
}
|
||
if ("ArrowParameterPlaceHolder" === t.type || this.match("=>")) {
|
||
this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1;
|
||
var i = t.async, a = this.reinterpretAsCoverFormalsList(t);
|
||
if (a) {
|
||
this.hasLineTerminator && this.tolerateUnexpectedToken(this.lookahead), this.context.firstCoverInitializedNameError = null;
|
||
var c = this.context.strict, l = this.context.allowStrictDirective;
|
||
this.context.allowStrictDirective = a.simple;
|
||
var h = this.context.allowYield, f = this.context.await;
|
||
this.context.allowYield = !0, this.context.await = i;
|
||
var p = this.startNode(e);
|
||
this.expect("=>");
|
||
var d = void 0;
|
||
if (this.match("{")) {
|
||
var m = this.context.allowIn;
|
||
this.context.allowIn = !0, d = this.parseFunctionSourceElements(), this.context.allowIn = m;
|
||
}
|
||
else
|
||
d = this.isolateCoverGrammar(this.parseAssignmentExpression);
|
||
var v = d.type !== u.Syntax.BlockStatement;
|
||
this.context.strict && a.firstRestricted && this.throwUnexpectedToken(a.firstRestricted, a.message), this.context.strict && a.stricted && this.tolerateUnexpectedToken(a.stricted, a.message), t = i ? this.finalize(p, new s.AsyncArrowFunctionExpression(a.params, d, v)) : this.finalize(p, new s.ArrowFunctionExpression(a.params, d, v)), this.context.strict = c, this.context.allowStrictDirective = l, this.context.allowYield = h, this.context.await = f;
|
||
}
|
||
}
|
||
else if (this.matchAssign()) {
|
||
if (this.context.isAssignmentTarget || this.tolerateError(o.Messages.InvalidLHSInAssignment), this.context.strict && t.type === u.Syntax.Identifier) {
|
||
var y = t;
|
||
this.scanner.isRestrictedWord(y.name) && this.tolerateUnexpectedToken(n, o.Messages.StrictLHSAssignment), this.scanner.isStrictModeReservedWord(y.name) && this.tolerateUnexpectedToken(n, o.Messages.StrictReservedWord);
|
||
}
|
||
this.match("=") ? this.reinterpretExpressionAsPattern(t) : (this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1), n = this.nextToken();
|
||
var g = n.value, x = this.isolateCoverGrammar(this.parseAssignmentExpression);
|
||
t = this.finalize(this.startNode(e), new s.AssignmentExpression(g, t, x)), this.context.firstCoverInitializedNameError = null;
|
||
}
|
||
} return t; }, t.prototype.parseExpression = function () { var t = this.lookahead, e = this.isolateCoverGrammar(this.parseAssignmentExpression); if (this.match(",")) {
|
||
var n = [];
|
||
for (n.push(e); 2 !== this.lookahead.type && this.match(",");)
|
||
this.nextToken(), n.push(this.isolateCoverGrammar(this.parseAssignmentExpression));
|
||
e = this.finalize(this.startNode(t), new s.SequenceExpression(n));
|
||
} return e; }, t.prototype.parseStatementListItem = function () { var t; if (this.context.isAssignmentTarget = !0, this.context.isBindingElement = !0, 4 === this.lookahead.type)
|
||
switch (this.lookahead.value) {
|
||
case "export":
|
||
this.context.isModule || this.tolerateUnexpectedToken(this.lookahead, o.Messages.IllegalExportDeclaration), t = this.parseExportDeclaration();
|
||
break;
|
||
case "import":
|
||
this.context.isModule || this.tolerateUnexpectedToken(this.lookahead, o.Messages.IllegalImportDeclaration), t = this.parseImportDeclaration();
|
||
break;
|
||
case "const":
|
||
t = this.parseLexicalDeclaration({ inFor: !1 });
|
||
break;
|
||
case "function":
|
||
t = this.parseFunctionDeclaration();
|
||
break;
|
||
case "class":
|
||
t = this.parseClassDeclaration();
|
||
break;
|
||
case "let":
|
||
t = this.isLexicalDeclaration() ? this.parseLexicalDeclaration({ inFor: !1 }) : this.parseStatement();
|
||
break;
|
||
default: t = this.parseStatement();
|
||
}
|
||
else
|
||
t = this.parseStatement(); return t; }, t.prototype.parseBlock = function () { var t = this.createNode(); this.expect("{"); for (var e = [];;) {
|
||
if (this.match("}"))
|
||
break;
|
||
e.push(this.parseStatementListItem());
|
||
} return this.expect("}"), this.finalize(t, new s.BlockStatement(e)); }, t.prototype.parseLexicalBinding = function (t, e) { var n = this.createNode(), r = [], i = this.parsePattern(r, t); this.context.strict && i.type === u.Syntax.Identifier && this.scanner.isRestrictedWord(i.name) && this.tolerateError(o.Messages.StrictVarName); var a = null; return "const" === t ? this.matchKeyword("in") || this.matchContextualKeyword("of") || (this.match("=") ? (this.nextToken(), a = this.isolateCoverGrammar(this.parseAssignmentExpression)) : this.throwError(o.Messages.DeclarationMissingInitializer, "const")) : (!e.inFor && i.type !== u.Syntax.Identifier || this.match("=")) && (this.expect("="), a = this.isolateCoverGrammar(this.parseAssignmentExpression)), this.finalize(n, new s.VariableDeclarator(i, a)); }, t.prototype.parseBindingList = function (t, e) { for (var n = [this.parseLexicalBinding(t, e)]; this.match(",");)
|
||
this.nextToken(), n.push(this.parseLexicalBinding(t, e)); return n; }, t.prototype.isLexicalDeclaration = function () { var t = this.scanner.saveState(); this.scanner.scanComments(); var e = this.scanner.lex(); return this.scanner.restoreState(t), 3 === e.type || 7 === e.type && "[" === e.value || 7 === e.type && "{" === e.value || 4 === e.type && "let" === e.value || 4 === e.type && "yield" === e.value; }, t.prototype.parseLexicalDeclaration = function (t) { var e = this.createNode(), n = this.nextToken().value; r.assert("let" === n || "const" === n, "Lexical declaration must be either let or const"); var i = this.parseBindingList(n, t); return this.consumeSemicolon(), this.finalize(e, new s.VariableDeclaration(i, n)); }, t.prototype.parseBindingRestElement = function (t, e) { var n = this.createNode(); this.expect("..."); var r = this.parsePattern(t, e); return this.finalize(n, new s.RestElement(r)); }, t.prototype.parseArrayPattern = function (t, e) { var n = this.createNode(); this.expect("["); for (var r = []; !this.match("]");)
|
||
if (this.match(","))
|
||
this.nextToken(), r.push(null);
|
||
else {
|
||
if (this.match("...")) {
|
||
r.push(this.parseBindingRestElement(t, e));
|
||
break;
|
||
}
|
||
r.push(this.parsePatternWithDefault(t, e)), this.match("]") || this.expect(",");
|
||
} return this.expect("]"), this.finalize(n, new s.ArrayPattern(r)); }, t.prototype.parsePropertyPattern = function (t, e) { var n, r, i = this.createNode(), o = !1, a = !1; if (3 === this.lookahead.type) {
|
||
var u = this.lookahead;
|
||
n = this.parseVariableIdentifier();
|
||
var c = this.finalize(i, new s.Identifier(u.value));
|
||
if (this.match("=")) {
|
||
t.push(u), a = !0, this.nextToken();
|
||
var l = this.parseAssignmentExpression();
|
||
r = this.finalize(this.startNode(u), new s.AssignmentPattern(c, l));
|
||
}
|
||
else
|
||
this.match(":") ? (this.expect(":"), r = this.parsePatternWithDefault(t, e)) : (t.push(u), a = !0, r = c);
|
||
}
|
||
else
|
||
o = this.match("["), n = this.parseObjectPropertyKey(), this.expect(":"), r = this.parsePatternWithDefault(t, e); return this.finalize(i, new s.Property("init", n, o, r, !1, a)); }, t.prototype.parseObjectPattern = function (t, e) { var n = this.createNode(), r = []; for (this.expect("{"); !this.match("}");)
|
||
r.push(this.parsePropertyPattern(t, e)), this.match("}") || this.expect(","); return this.expect("}"), this.finalize(n, new s.ObjectPattern(r)); }, t.prototype.parsePattern = function (t, e) { var n; return this.match("[") ? n = this.parseArrayPattern(t, e) : this.match("{") ? n = this.parseObjectPattern(t, e) : (!this.matchKeyword("let") || "const" !== e && "let" !== e || this.tolerateUnexpectedToken(this.lookahead, o.Messages.LetInLexicalBinding), t.push(this.lookahead), n = this.parseVariableIdentifier(e)), n; }, t.prototype.parsePatternWithDefault = function (t, e) { var n = this.lookahead, r = this.parsePattern(t, e); if (this.match("=")) {
|
||
this.nextToken();
|
||
var i = this.context.allowYield;
|
||
this.context.allowYield = !0;
|
||
var o = this.isolateCoverGrammar(this.parseAssignmentExpression);
|
||
this.context.allowYield = i, r = this.finalize(this.startNode(n), new s.AssignmentPattern(r, o));
|
||
} return r; }, t.prototype.parseVariableIdentifier = function (t) { var e = this.createNode(), n = this.nextToken(); return 4 === n.type && "yield" === n.value ? this.context.strict ? this.tolerateUnexpectedToken(n, o.Messages.StrictReservedWord) : this.context.allowYield || this.throwUnexpectedToken(n) : 3 !== n.type ? this.context.strict && 4 === n.type && this.scanner.isStrictModeReservedWord(n.value) ? this.tolerateUnexpectedToken(n, o.Messages.StrictReservedWord) : (this.context.strict || "let" !== n.value || "var" !== t) && this.throwUnexpectedToken(n) : (this.context.isModule || this.context.await) && 3 === n.type && "await" === n.value && this.tolerateUnexpectedToken(n), this.finalize(e, new s.Identifier(n.value)); }, t.prototype.parseVariableDeclaration = function (t) { var e = this.createNode(), n = [], r = this.parsePattern(n, "var"); this.context.strict && r.type === u.Syntax.Identifier && this.scanner.isRestrictedWord(r.name) && this.tolerateError(o.Messages.StrictVarName); var i = null; return this.match("=") ? (this.nextToken(), i = this.isolateCoverGrammar(this.parseAssignmentExpression)) : r.type === u.Syntax.Identifier || t.inFor || this.expect("="), this.finalize(e, new s.VariableDeclarator(r, i)); }, t.prototype.parseVariableDeclarationList = function (t) { var e = { inFor: t.inFor }, n = []; for (n.push(this.parseVariableDeclaration(e)); this.match(",");)
|
||
this.nextToken(), n.push(this.parseVariableDeclaration(e)); return n; }, t.prototype.parseVariableStatement = function () { var t = this.createNode(); this.expectKeyword("var"); var e = this.parseVariableDeclarationList({ inFor: !1 }); return this.consumeSemicolon(), this.finalize(t, new s.VariableDeclaration(e, "var")); }, t.prototype.parseEmptyStatement = function () { var t = this.createNode(); return this.expect(";"), this.finalize(t, new s.EmptyStatement); }, t.prototype.parseExpressionStatement = function () { var t = this.createNode(), e = this.parseExpression(); return this.consumeSemicolon(), this.finalize(t, new s.ExpressionStatement(e)); }, t.prototype.parseIfClause = function () { return this.context.strict && this.matchKeyword("function") && this.tolerateError(o.Messages.StrictFunction), this.parseStatement(); }, t.prototype.parseIfStatement = function () { var t, e = this.createNode(), n = null; this.expectKeyword("if"), this.expect("("); var r = this.parseExpression(); return !this.match(")") && this.config.tolerant ? (this.tolerateUnexpectedToken(this.nextToken()), t = this.finalize(this.createNode(), new s.EmptyStatement)) : (this.expect(")"), t = this.parseIfClause(), this.matchKeyword("else") && (this.nextToken(), n = this.parseIfClause())), this.finalize(e, new s.IfStatement(r, t, n)); }, t.prototype.parseDoWhileStatement = function () { var t = this.createNode(); this.expectKeyword("do"); var e = this.context.inIteration; this.context.inIteration = !0; var n = this.parseStatement(); this.context.inIteration = e, this.expectKeyword("while"), this.expect("("); var r = this.parseExpression(); return !this.match(")") && this.config.tolerant ? this.tolerateUnexpectedToken(this.nextToken()) : (this.expect(")"), this.match(";") && this.nextToken()), this.finalize(t, new s.DoWhileStatement(n, r)); }, t.prototype.parseWhileStatement = function () { var t, e = this.createNode(); this.expectKeyword("while"), this.expect("("); var n = this.parseExpression(); if (!this.match(")") && this.config.tolerant)
|
||
this.tolerateUnexpectedToken(this.nextToken()), t = this.finalize(this.createNode(), new s.EmptyStatement);
|
||
else {
|
||
this.expect(")");
|
||
var r = this.context.inIteration;
|
||
this.context.inIteration = !0, t = this.parseStatement(), this.context.inIteration = r;
|
||
} return this.finalize(e, new s.WhileStatement(n, t)); }, t.prototype.parseForStatement = function () { var t, e, n = null, r = null, i = null, a = !0, c = this.createNode(); if (this.expectKeyword("for"), this.expect("("), this.match(";"))
|
||
this.nextToken();
|
||
else if (this.matchKeyword("var")) {
|
||
n = this.createNode(), this.nextToken();
|
||
var l = this.context.allowIn;
|
||
this.context.allowIn = !1;
|
||
var h = this.parseVariableDeclarationList({ inFor: !0 });
|
||
if (this.context.allowIn = l, 1 === h.length && this.matchKeyword("in")) {
|
||
var f = h[0];
|
||
f.init && (f.id.type === u.Syntax.ArrayPattern || f.id.type === u.Syntax.ObjectPattern || this.context.strict) && this.tolerateError(o.Messages.ForInOfLoopInitializer, "for-in"), n = this.finalize(n, new s.VariableDeclaration(h, "var")), this.nextToken(), t = n, e = this.parseExpression(), n = null;
|
||
}
|
||
else
|
||
1 === h.length && null === h[0].init && this.matchContextualKeyword("of") ? (n = this.finalize(n, new s.VariableDeclaration(h, "var")), this.nextToken(), t = n, e = this.parseAssignmentExpression(), n = null, a = !1) : (n = this.finalize(n, new s.VariableDeclaration(h, "var")), this.expect(";"));
|
||
}
|
||
else if (this.matchKeyword("const") || this.matchKeyword("let")) {
|
||
n = this.createNode();
|
||
var p = this.nextToken().value;
|
||
if (this.context.strict || "in" !== this.lookahead.value) {
|
||
var l = this.context.allowIn;
|
||
this.context.allowIn = !1;
|
||
var h = this.parseBindingList(p, { inFor: !0 });
|
||
this.context.allowIn = l, 1 === h.length && null === h[0].init && this.matchKeyword("in") ? (n = this.finalize(n, new s.VariableDeclaration(h, p)), this.nextToken(), t = n, e = this.parseExpression(), n = null) : 1 === h.length && null === h[0].init && this.matchContextualKeyword("of") ? (n = this.finalize(n, new s.VariableDeclaration(h, p)), this.nextToken(), t = n, e = this.parseAssignmentExpression(), n = null, a = !1) : (this.consumeSemicolon(), n = this.finalize(n, new s.VariableDeclaration(h, p)));
|
||
}
|
||
else
|
||
n = this.finalize(n, new s.Identifier(p)), this.nextToken(), t = n, e = this.parseExpression(), n = null;
|
||
}
|
||
else {
|
||
var d = this.lookahead, l = this.context.allowIn;
|
||
if (this.context.allowIn = !1, n = this.inheritCoverGrammar(this.parseAssignmentExpression), this.context.allowIn = l, this.matchKeyword("in"))
|
||
this.context.isAssignmentTarget && n.type !== u.Syntax.AssignmentExpression || this.tolerateError(o.Messages.InvalidLHSInForIn), this.nextToken(), this.reinterpretExpressionAsPattern(n), t = n, e = this.parseExpression(), n = null;
|
||
else if (this.matchContextualKeyword("of"))
|
||
this.context.isAssignmentTarget && n.type !== u.Syntax.AssignmentExpression || this.tolerateError(o.Messages.InvalidLHSInForLoop), this.nextToken(), this.reinterpretExpressionAsPattern(n), t = n, e = this.parseAssignmentExpression(), n = null, a = !1;
|
||
else {
|
||
if (this.match(",")) {
|
||
for (var m = [n]; this.match(",");)
|
||
this.nextToken(), m.push(this.isolateCoverGrammar(this.parseAssignmentExpression));
|
||
n = this.finalize(this.startNode(d), new s.SequenceExpression(m));
|
||
}
|
||
this.expect(";");
|
||
}
|
||
} void 0 === t && (this.match(";") || (r = this.parseExpression()), this.expect(";"), this.match(")") || (i = this.parseExpression())); var v; if (!this.match(")") && this.config.tolerant)
|
||
this.tolerateUnexpectedToken(this.nextToken()), v = this.finalize(this.createNode(), new s.EmptyStatement);
|
||
else {
|
||
this.expect(")");
|
||
var y = this.context.inIteration;
|
||
this.context.inIteration = !0, v = this.isolateCoverGrammar(this.parseStatement), this.context.inIteration = y;
|
||
} return void 0 === t ? this.finalize(c, new s.ForStatement(n, r, i, v)) : a ? this.finalize(c, new s.ForInStatement(t, e, v)) : this.finalize(c, new s.ForOfStatement(t, e, v)); }, t.prototype.parseContinueStatement = function () { var t = this.createNode(); this.expectKeyword("continue"); var e = null; if (3 === this.lookahead.type && !this.hasLineTerminator) {
|
||
var n = this.parseVariableIdentifier();
|
||
e = n;
|
||
var r = "$" + n.name;
|
||
Object.prototype.hasOwnProperty.call(this.context.labelSet, r) || this.throwError(o.Messages.UnknownLabel, n.name);
|
||
} return this.consumeSemicolon(), null !== e || this.context.inIteration || this.throwError(o.Messages.IllegalContinue), this.finalize(t, new s.ContinueStatement(e)); }, t.prototype.parseBreakStatement = function () { var t = this.createNode(); this.expectKeyword("break"); var e = null; if (3 === this.lookahead.type && !this.hasLineTerminator) {
|
||
var n = this.parseVariableIdentifier(), r = "$" + n.name;
|
||
Object.prototype.hasOwnProperty.call(this.context.labelSet, r) || this.throwError(o.Messages.UnknownLabel, n.name), e = n;
|
||
} return this.consumeSemicolon(), null !== e || this.context.inIteration || this.context.inSwitch || this.throwError(o.Messages.IllegalBreak), this.finalize(t, new s.BreakStatement(e)); }, t.prototype.parseReturnStatement = function () { this.context.inFunctionBody || this.tolerateError(o.Messages.IllegalReturn); var t = this.createNode(); this.expectKeyword("return"); var e = !this.match(";") && !this.match("}") && !this.hasLineTerminator && 2 !== this.lookahead.type, n = e ? this.parseExpression() : null; return this.consumeSemicolon(), this.finalize(t, new s.ReturnStatement(n)); }, t.prototype.parseWithStatement = function () { this.context.strict && this.tolerateError(o.Messages.StrictModeWith); var t, e = this.createNode(); this.expectKeyword("with"), this.expect("("); var n = this.parseExpression(); return !this.match(")") && this.config.tolerant ? (this.tolerateUnexpectedToken(this.nextToken()), t = this.finalize(this.createNode(), new s.EmptyStatement)) : (this.expect(")"), t = this.parseStatement()), this.finalize(e, new s.WithStatement(n, t)); }, t.prototype.parseSwitchCase = function () { var t, e = this.createNode(); this.matchKeyword("default") ? (this.nextToken(), t = null) : (this.expectKeyword("case"), t = this.parseExpression()), this.expect(":"); for (var n = [];;) {
|
||
if (this.match("}") || this.matchKeyword("default") || this.matchKeyword("case"))
|
||
break;
|
||
n.push(this.parseStatementListItem());
|
||
} return this.finalize(e, new s.SwitchCase(t, n)); }, t.prototype.parseSwitchStatement = function () { var t = this.createNode(); this.expectKeyword("switch"), this.expect("("); var e = this.parseExpression(); this.expect(")"); var n = this.context.inSwitch; this.context.inSwitch = !0; var r = [], i = !1; for (this.expect("{");;) {
|
||
if (this.match("}"))
|
||
break;
|
||
var a = this.parseSwitchCase();
|
||
null === a.test && (i && this.throwError(o.Messages.MultipleDefaultsInSwitch), i = !0), r.push(a);
|
||
} return this.expect("}"), this.context.inSwitch = n, this.finalize(t, new s.SwitchStatement(e, r)); }, t.prototype.parseLabelledStatement = function () { var t, e = this.createNode(), n = this.parseExpression(); if (n.type === u.Syntax.Identifier && this.match(":")) {
|
||
this.nextToken();
|
||
var r = n, i = "$" + r.name;
|
||
Object.prototype.hasOwnProperty.call(this.context.labelSet, i) && this.throwError(o.Messages.Redeclaration, "Label", r.name), this.context.labelSet[i] = !0;
|
||
var a = void 0;
|
||
if (this.matchKeyword("class"))
|
||
this.tolerateUnexpectedToken(this.lookahead), a = this.parseClassDeclaration();
|
||
else if (this.matchKeyword("function")) {
|
||
var c = this.lookahead, l = this.parseFunctionDeclaration();
|
||
this.context.strict ? this.tolerateUnexpectedToken(c, o.Messages.StrictFunction) : l.generator && this.tolerateUnexpectedToken(c, o.Messages.GeneratorInLegacyContext), a = l;
|
||
}
|
||
else
|
||
a = this.parseStatement();
|
||
delete this.context.labelSet[i], t = new s.LabeledStatement(r, a);
|
||
}
|
||
else
|
||
this.consumeSemicolon(), t = new s.ExpressionStatement(n); return this.finalize(e, t); }, t.prototype.parseThrowStatement = function () { var t = this.createNode(); this.expectKeyword("throw"), this.hasLineTerminator && this.throwError(o.Messages.NewlineAfterThrow); var e = this.parseExpression(); return this.consumeSemicolon(), this.finalize(t, new s.ThrowStatement(e)); }, t.prototype.parseCatchClause = function () { var t = this.createNode(); this.expectKeyword("catch"), this.expect("("), this.match(")") && this.throwUnexpectedToken(this.lookahead); for (var e = [], n = this.parsePattern(e), r = {}, i = 0; i < e.length; i++) {
|
||
var a = "$" + e[i].value;
|
||
Object.prototype.hasOwnProperty.call(r, a) && this.tolerateError(o.Messages.DuplicateBinding, e[i].value), r[a] = !0;
|
||
} this.context.strict && n.type === u.Syntax.Identifier && this.scanner.isRestrictedWord(n.name) && this.tolerateError(o.Messages.StrictCatchVariable), this.expect(")"); var c = this.parseBlock(); return this.finalize(t, new s.CatchClause(n, c)); }, t.prototype.parseFinallyClause = function () { return this.expectKeyword("finally"), this.parseBlock(); }, t.prototype.parseTryStatement = function () { var t = this.createNode(); this.expectKeyword("try"); var e = this.parseBlock(), n = this.matchKeyword("catch") ? this.parseCatchClause() : null, r = this.matchKeyword("finally") ? this.parseFinallyClause() : null; return n || r || this.throwError(o.Messages.NoCatchOrFinally), this.finalize(t, new s.TryStatement(e, n, r)); }, t.prototype.parseDebuggerStatement = function () { var t = this.createNode(); return this.expectKeyword("debugger"), this.consumeSemicolon(), this.finalize(t, new s.DebuggerStatement); }, t.prototype.parseStatement = function () { var t; switch (this.lookahead.type) {
|
||
case 1:
|
||
case 5:
|
||
case 6:
|
||
case 8:
|
||
case 10:
|
||
case 9:
|
||
t = this.parseExpressionStatement();
|
||
break;
|
||
case 7:
|
||
var e = this.lookahead.value;
|
||
t = "{" === e ? this.parseBlock() : "(" === e ? this.parseExpressionStatement() : ";" === e ? this.parseEmptyStatement() : this.parseExpressionStatement();
|
||
break;
|
||
case 3:
|
||
t = this.matchAsyncFunction() ? this.parseFunctionDeclaration() : this.parseLabelledStatement();
|
||
break;
|
||
case 4:
|
||
switch (this.lookahead.value) {
|
||
case "break":
|
||
t = this.parseBreakStatement();
|
||
break;
|
||
case "continue":
|
||
t = this.parseContinueStatement();
|
||
break;
|
||
case "debugger":
|
||
t = this.parseDebuggerStatement();
|
||
break;
|
||
case "do":
|
||
t = this.parseDoWhileStatement();
|
||
break;
|
||
case "for":
|
||
t = this.parseForStatement();
|
||
break;
|
||
case "function":
|
||
t = this.parseFunctionDeclaration();
|
||
break;
|
||
case "if":
|
||
t = this.parseIfStatement();
|
||
break;
|
||
case "return":
|
||
t = this.parseReturnStatement();
|
||
break;
|
||
case "switch":
|
||
t = this.parseSwitchStatement();
|
||
break;
|
||
case "throw":
|
||
t = this.parseThrowStatement();
|
||
break;
|
||
case "try":
|
||
t = this.parseTryStatement();
|
||
break;
|
||
case "var":
|
||
t = this.parseVariableStatement();
|
||
break;
|
||
case "while":
|
||
t = this.parseWhileStatement();
|
||
break;
|
||
case "with":
|
||
t = this.parseWithStatement();
|
||
break;
|
||
default: t = this.parseExpressionStatement();
|
||
}
|
||
break;
|
||
default: t = this.throwUnexpectedToken(this.lookahead);
|
||
} return t; }, t.prototype.parseFunctionSourceElements = function () { var t = this.createNode(); this.expect("{"); var e = this.parseDirectivePrologues(), n = this.context.labelSet, r = this.context.inIteration, i = this.context.inSwitch, o = this.context.inFunctionBody; for (this.context.labelSet = {}, this.context.inIteration = !1, this.context.inSwitch = !1, this.context.inFunctionBody = !0; 2 !== this.lookahead.type && !this.match("}");)
|
||
e.push(this.parseStatementListItem()); return this.expect("}"), this.context.labelSet = n, this.context.inIteration = r, this.context.inSwitch = i, this.context.inFunctionBody = o, this.finalize(t, new s.BlockStatement(e)); }, t.prototype.validateParam = function (t, e, n) { var r = "$" + n; this.context.strict ? (this.scanner.isRestrictedWord(n) && (t.stricted = e, t.message = o.Messages.StrictParamName), Object.prototype.hasOwnProperty.call(t.paramSet, r) && (t.stricted = e, t.message = o.Messages.StrictParamDupe)) : t.firstRestricted || (this.scanner.isRestrictedWord(n) ? (t.firstRestricted = e, t.message = o.Messages.StrictParamName) : this.scanner.isStrictModeReservedWord(n) ? (t.firstRestricted = e, t.message = o.Messages.StrictReservedWord) : Object.prototype.hasOwnProperty.call(t.paramSet, r) && (t.stricted = e, t.message = o.Messages.StrictParamDupe)), "function" == typeof Object.defineProperty ? Object.defineProperty(t.paramSet, r, { value: !0, enumerable: !0, writable: !0, configurable: !0 }) : t.paramSet[r] = !0; }, t.prototype.parseRestElement = function (t) { var e = this.createNode(); this.expect("..."); var n = this.parsePattern(t); return this.match("=") && this.throwError(o.Messages.DefaultRestParameter), this.match(")") || this.throwError(o.Messages.ParameterAfterRestParameter), this.finalize(e, new s.RestElement(n)); }, t.prototype.parseFormalParameter = function (t) { for (var e = [], n = this.match("...") ? this.parseRestElement(e) : this.parsePatternWithDefault(e), r = 0; r < e.length; r++)
|
||
this.validateParam(t, e[r], e[r].value); t.simple = t.simple && n instanceof s.Identifier, t.params.push(n); }, t.prototype.parseFormalParameters = function (t) { var e; if (e = { simple: !0, params: [], firstRestricted: t }, this.expect("("), !this.match(")"))
|
||
for (e.paramSet = {}; 2 !== this.lookahead.type && (this.parseFormalParameter(e), !this.match(")")) && (this.expect(","), !this.match(")"));)
|
||
; return this.expect(")"), { simple: e.simple, params: e.params, stricted: e.stricted, firstRestricted: e.firstRestricted, message: e.message }; }, t.prototype.matchAsyncFunction = function () { var t = this.matchContextualKeyword("async"); if (t) {
|
||
var e = this.scanner.saveState();
|
||
this.scanner.scanComments();
|
||
var n = this.scanner.lex();
|
||
this.scanner.restoreState(e), t = e.lineNumber === n.lineNumber && 4 === n.type && "function" === n.value;
|
||
} return t; }, t.prototype.parseFunctionDeclaration = function (t) { var e = this.createNode(), n = this.matchContextualKeyword("async"); n && this.nextToken(), this.expectKeyword("function"); var r = !n && this.match("*"); r && this.nextToken(); var i, a = null, u = null; if (!t || !this.match("(")) {
|
||
var c = this.lookahead;
|
||
a = this.parseVariableIdentifier(), this.context.strict ? this.scanner.isRestrictedWord(c.value) && this.tolerateUnexpectedToken(c, o.Messages.StrictFunctionName) : this.scanner.isRestrictedWord(c.value) ? (u = c, i = o.Messages.StrictFunctionName) : this.scanner.isStrictModeReservedWord(c.value) && (u = c, i = o.Messages.StrictReservedWord);
|
||
} var l = this.context.await, h = this.context.allowYield; this.context.await = n, this.context.allowYield = !r; var f = this.parseFormalParameters(u), p = f.params, d = f.stricted; u = f.firstRestricted, f.message && (i = f.message); var m = this.context.strict, v = this.context.allowStrictDirective; this.context.allowStrictDirective = f.simple; var y = this.parseFunctionSourceElements(); return this.context.strict && u && this.throwUnexpectedToken(u, i), this.context.strict && d && this.tolerateUnexpectedToken(d, i), this.context.strict = m, this.context.allowStrictDirective = v, this.context.await = l, this.context.allowYield = h, n ? this.finalize(e, new s.AsyncFunctionDeclaration(a, p, y)) : this.finalize(e, new s.FunctionDeclaration(a, p, y, r)); }, t.prototype.parseFunctionExpression = function () { var t = this.createNode(), e = this.matchContextualKeyword("async"); e && this.nextToken(), this.expectKeyword("function"); var n = !e && this.match("*"); n && this.nextToken(); var r, i, a = null, u = this.context.await, c = this.context.allowYield; if (this.context.await = e, this.context.allowYield = !n, !this.match("(")) {
|
||
var l = this.lookahead;
|
||
a = this.context.strict || n || !this.matchKeyword("yield") ? this.parseVariableIdentifier() : this.parseIdentifierName(), this.context.strict ? this.scanner.isRestrictedWord(l.value) && this.tolerateUnexpectedToken(l, o.Messages.StrictFunctionName) : this.scanner.isRestrictedWord(l.value) ? (i = l, r = o.Messages.StrictFunctionName) : this.scanner.isStrictModeReservedWord(l.value) && (i = l, r = o.Messages.StrictReservedWord);
|
||
} var h = this.parseFormalParameters(i), f = h.params, p = h.stricted; i = h.firstRestricted, h.message && (r = h.message); var d = this.context.strict, m = this.context.allowStrictDirective; this.context.allowStrictDirective = h.simple; var v = this.parseFunctionSourceElements(); return this.context.strict && i && this.throwUnexpectedToken(i, r), this.context.strict && p && this.tolerateUnexpectedToken(p, r), this.context.strict = d, this.context.allowStrictDirective = m, this.context.await = u, this.context.allowYield = c, e ? this.finalize(t, new s.AsyncFunctionExpression(a, f, v)) : this.finalize(t, new s.FunctionExpression(a, f, v, n)); }, t.prototype.parseDirective = function () { var t = this.lookahead, e = this.createNode(), n = this.parseExpression(), r = n.type === u.Syntax.Literal ? this.getTokenRaw(t).slice(1, -1) : null; return this.consumeSemicolon(), this.finalize(e, r ? new s.Directive(n, r) : new s.ExpressionStatement(n)); }, t.prototype.parseDirectivePrologues = function () { for (var t = null, e = [];;) {
|
||
var n = this.lookahead;
|
||
if (8 !== n.type)
|
||
break;
|
||
var r = this.parseDirective();
|
||
e.push(r);
|
||
var i = r.directive;
|
||
if ("string" != typeof i)
|
||
break;
|
||
"use strict" === i ? (this.context.strict = !0, t && this.tolerateUnexpectedToken(t, o.Messages.StrictOctalLiteral), this.context.allowStrictDirective || this.tolerateUnexpectedToken(n, o.Messages.IllegalLanguageModeDirective)) : !t && n.octal && (t = n);
|
||
} return e; }, t.prototype.qualifiedPropertyName = function (t) { switch (t.type) {
|
||
case 3:
|
||
case 8:
|
||
case 1:
|
||
case 5:
|
||
case 6:
|
||
case 4: return !0;
|
||
case 7: return "[" === t.value;
|
||
} return !1; }, t.prototype.parseGetterMethod = function () { var t = this.createNode(), e = this.context.allowYield; this.context.allowYield = !1; var n = this.parseFormalParameters(); n.params.length > 0 && this.tolerateError(o.Messages.BadGetterArity); var r = this.parsePropertyMethod(n); return this.context.allowYield = e, this.finalize(t, new s.FunctionExpression(null, n.params, r, !1)); }, t.prototype.parseSetterMethod = function () { var t = this.createNode(), e = this.context.allowYield; this.context.allowYield = !1; var n = this.parseFormalParameters(); 1 !== n.params.length ? this.tolerateError(o.Messages.BadSetterArity) : n.params[0] instanceof s.RestElement && this.tolerateError(o.Messages.BadSetterRestParameter); var r = this.parsePropertyMethod(n); return this.context.allowYield = e, this.finalize(t, new s.FunctionExpression(null, n.params, r, !1)); }, t.prototype.parseGeneratorMethod = function () { var t = this.createNode(), e = this.context.allowYield; this.context.allowYield = !0; var n = this.parseFormalParameters(); this.context.allowYield = !1; var r = this.parsePropertyMethod(n); return this.context.allowYield = e, this.finalize(t, new s.FunctionExpression(null, n.params, r, !0)); }, t.prototype.isStartOfExpression = function () { var t = !0, e = this.lookahead.value; switch (this.lookahead.type) {
|
||
case 7:
|
||
t = "[" === e || "(" === e || "{" === e || "+" === e || "-" === e || "!" === e || "~" === e || "++" === e || "--" === e || "/" === e || "/=" === e;
|
||
break;
|
||
case 4: t = "class" === e || "delete" === e || "function" === e || "let" === e || "new" === e || "super" === e || "this" === e || "typeof" === e || "void" === e || "yield" === e;
|
||
} return t; }, t.prototype.parseYieldExpression = function () { var t = this.createNode(); this.expectKeyword("yield"); var e = null, n = !1; if (!this.hasLineTerminator) {
|
||
var r = this.context.allowYield;
|
||
this.context.allowYield = !1, n = this.match("*"), n ? (this.nextToken(), e = this.parseAssignmentExpression()) : this.isStartOfExpression() && (e = this.parseAssignmentExpression()), this.context.allowYield = r;
|
||
} return this.finalize(t, new s.YieldExpression(e, n)); }, t.prototype.parseClassElement = function (t) { var e = this.lookahead, n = this.createNode(), r = "", i = null, a = null, u = !1, c = !1, l = !1, h = !1; if (this.match("*"))
|
||
this.nextToken();
|
||
else {
|
||
u = this.match("["), i = this.parseObjectPropertyKey();
|
||
if ("static" === i.name && (this.qualifiedPropertyName(this.lookahead) || this.match("*")) && (e = this.lookahead, l = !0, u = this.match("["), this.match("*") ? this.nextToken() : i = this.parseObjectPropertyKey()), 3 === e.type && !this.hasLineTerminator && "async" === e.value) {
|
||
var f = this.lookahead.value;
|
||
":" !== f && "(" !== f && "*" !== f && (h = !0, e = this.lookahead, i = this.parseObjectPropertyKey(), 3 === e.type && ("get" === e.value || "set" === e.value ? this.tolerateUnexpectedToken(e) : "constructor" === e.value && this.tolerateUnexpectedToken(e, o.Messages.ConstructorIsAsync)));
|
||
}
|
||
} var p = this.qualifiedPropertyName(this.lookahead); return 3 === e.type ? "get" === e.value && p ? (r = "get", u = this.match("["), i = this.parseObjectPropertyKey(), this.context.allowYield = !1, a = this.parseGetterMethod()) : "set" === e.value && p && (r = "set", u = this.match("["), i = this.parseObjectPropertyKey(), a = this.parseSetterMethod()) : 7 === e.type && "*" === e.value && p && (r = "init", u = this.match("["), i = this.parseObjectPropertyKey(), a = this.parseGeneratorMethod(), c = !0), !r && i && this.match("(") && (r = "init", a = h ? this.parsePropertyMethodAsyncFunction() : this.parsePropertyMethodFunction(), c = !0), r || this.throwUnexpectedToken(this.lookahead), "init" === r && (r = "method"), u || (l && this.isPropertyKey(i, "prototype") && this.throwUnexpectedToken(e, o.Messages.StaticPrototype), !l && this.isPropertyKey(i, "constructor") && (("method" !== r || !c || a && a.generator) && this.throwUnexpectedToken(e, o.Messages.ConstructorSpecialMethod), t.value ? this.throwUnexpectedToken(e, o.Messages.DuplicateConstructor) : t.value = !0, r = "constructor")), this.finalize(n, new s.MethodDefinition(i, u, a, r, l)); }, t.prototype.parseClassElementList = function () { var t = [], e = { value: !1 }; for (this.expect("{"); !this.match("}");)
|
||
this.match(";") ? this.nextToken() : t.push(this.parseClassElement(e)); return this.expect("}"), t; }, t.prototype.parseClassBody = function () { var t = this.createNode(), e = this.parseClassElementList(); return this.finalize(t, new s.ClassBody(e)); }, t.prototype.parseClassDeclaration = function (t) { var e = this.createNode(), n = this.context.strict; this.context.strict = !0, this.expectKeyword("class"); var r = t && 3 !== this.lookahead.type ? null : this.parseVariableIdentifier(), i = null; this.matchKeyword("extends") && (this.nextToken(), i = this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall)); var o = this.parseClassBody(); return this.context.strict = n, this.finalize(e, new s.ClassDeclaration(r, i, o)); }, t.prototype.parseClassExpression = function () { var t = this.createNode(), e = this.context.strict; this.context.strict = !0, this.expectKeyword("class"); var n = 3 === this.lookahead.type ? this.parseVariableIdentifier() : null, r = null; this.matchKeyword("extends") && (this.nextToken(), r = this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall)); var i = this.parseClassBody(); return this.context.strict = e, this.finalize(t, new s.ClassExpression(n, r, i)); }, t.prototype.parseModule = function () { this.context.strict = !0, this.context.isModule = !0; for (var t = this.createNode(), e = this.parseDirectivePrologues(); 2 !== this.lookahead.type;)
|
||
e.push(this.parseStatementListItem()); return this.finalize(t, new s.Module(e)); }, t.prototype.parseScript = function () { for (var t = this.createNode(), e = this.parseDirectivePrologues(); 2 !== this.lookahead.type;)
|
||
e.push(this.parseStatementListItem()); return this.finalize(t, new s.Script(e)); }, t.prototype.parseModuleSpecifier = function () { var t = this.createNode(); 8 !== this.lookahead.type && this.throwError(o.Messages.InvalidModuleSpecifier); var e = this.nextToken(), n = this.getTokenRaw(e); return this.finalize(t, new s.Literal(e.value, n)); }, t.prototype.parseImportSpecifier = function () { var t, e, n = this.createNode(); return 3 === this.lookahead.type ? (t = this.parseVariableIdentifier(), e = t, this.matchContextualKeyword("as") && (this.nextToken(), e = this.parseVariableIdentifier())) : (t = this.parseIdentifierName(), e = t, this.matchContextualKeyword("as") ? (this.nextToken(), e = this.parseVariableIdentifier()) : this.throwUnexpectedToken(this.nextToken())), this.finalize(n, new s.ImportSpecifier(e, t)); }, t.prototype.parseNamedImports = function () { this.expect("{"); for (var t = []; !this.match("}");)
|
||
t.push(this.parseImportSpecifier()), this.match("}") || this.expect(","); return this.expect("}"), t; }, t.prototype.parseImportDefaultSpecifier = function () { var t = this.createNode(), e = this.parseIdentifierName(); return this.finalize(t, new s.ImportDefaultSpecifier(e)); }, t.prototype.parseImportNamespaceSpecifier = function () { var t = this.createNode(); this.expect("*"), this.matchContextualKeyword("as") || this.throwError(o.Messages.NoAsAfterImportNamespace), this.nextToken(); var e = this.parseIdentifierName(); return this.finalize(t, new s.ImportNamespaceSpecifier(e)); }, t.prototype.parseImportDeclaration = function () { this.context.inFunctionBody && this.throwError(o.Messages.IllegalImportDeclaration); var t = this.createNode(); this.expectKeyword("import"); var e, n = []; if (8 === this.lookahead.type)
|
||
e = this.parseModuleSpecifier();
|
||
else {
|
||
if (this.match("{") ? n = n.concat(this.parseNamedImports()) : this.match("*") ? n.push(this.parseImportNamespaceSpecifier()) : this.isIdentifierName(this.lookahead) && !this.matchKeyword("default") ? (n.push(this.parseImportDefaultSpecifier()), this.match(",") && (this.nextToken(), this.match("*") ? n.push(this.parseImportNamespaceSpecifier()) : this.match("{") ? n = n.concat(this.parseNamedImports()) : this.throwUnexpectedToken(this.lookahead))) : this.throwUnexpectedToken(this.nextToken()), !this.matchContextualKeyword("from")) {
|
||
var r = this.lookahead.value ? o.Messages.UnexpectedToken : o.Messages.MissingFromClause;
|
||
this.throwError(r, this.lookahead.value);
|
||
}
|
||
this.nextToken(), e = this.parseModuleSpecifier();
|
||
} return this.consumeSemicolon(), this.finalize(t, new s.ImportDeclaration(n, e)); }, t.prototype.parseExportSpecifier = function () { var t = this.createNode(), e = this.parseIdentifierName(), n = e; return this.matchContextualKeyword("as") && (this.nextToken(), n = this.parseIdentifierName()), this.finalize(t, new s.ExportSpecifier(e, n)); }, t.prototype.parseExportDeclaration = function () { this.context.inFunctionBody && this.throwError(o.Messages.IllegalExportDeclaration); var t = this.createNode(); this.expectKeyword("export"); var e; if (this.matchKeyword("default"))
|
||
if (this.nextToken(), this.matchKeyword("function")) {
|
||
var n = this.parseFunctionDeclaration(!0);
|
||
e = this.finalize(t, new s.ExportDefaultDeclaration(n));
|
||
}
|
||
else if (this.matchKeyword("class")) {
|
||
var n = this.parseClassDeclaration(!0);
|
||
e = this.finalize(t, new s.ExportDefaultDeclaration(n));
|
||
}
|
||
else if (this.matchContextualKeyword("async")) {
|
||
var n = this.matchAsyncFunction() ? this.parseFunctionDeclaration(!0) : this.parseAssignmentExpression();
|
||
e = this.finalize(t, new s.ExportDefaultDeclaration(n));
|
||
}
|
||
else {
|
||
this.matchContextualKeyword("from") && this.throwError(o.Messages.UnexpectedToken, this.lookahead.value);
|
||
var n = this.match("{") ? this.parseObjectInitializer() : this.match("[") ? this.parseArrayInitializer() : this.parseAssignmentExpression();
|
||
this.consumeSemicolon(), e = this.finalize(t, new s.ExportDefaultDeclaration(n));
|
||
}
|
||
else if (this.match("*")) {
|
||
if (this.nextToken(), !this.matchContextualKeyword("from")) {
|
||
var r = this.lookahead.value ? o.Messages.UnexpectedToken : o.Messages.MissingFromClause;
|
||
this.throwError(r, this.lookahead.value);
|
||
}
|
||
this.nextToken();
|
||
var i = this.parseModuleSpecifier();
|
||
this.consumeSemicolon(), e = this.finalize(t, new s.ExportAllDeclaration(i));
|
||
}
|
||
else if (4 === this.lookahead.type) {
|
||
var n = void 0;
|
||
switch (this.lookahead.value) {
|
||
case "let":
|
||
case "const":
|
||
n = this.parseLexicalDeclaration({ inFor: !1 });
|
||
break;
|
||
case "var":
|
||
case "class":
|
||
case "function":
|
||
n = this.parseStatementListItem();
|
||
break;
|
||
default: this.throwUnexpectedToken(this.lookahead);
|
||
}
|
||
e = this.finalize(t, new s.ExportNamedDeclaration(n, [], null));
|
||
}
|
||
else if (this.matchAsyncFunction()) {
|
||
var n = this.parseFunctionDeclaration();
|
||
e = this.finalize(t, new s.ExportNamedDeclaration(n, [], null));
|
||
}
|
||
else {
|
||
var a = [], u = null, c = !1;
|
||
for (this.expect("{"); !this.match("}");)
|
||
c = c || this.matchKeyword("default"), a.push(this.parseExportSpecifier()), this.match("}") || this.expect(",");
|
||
if (this.expect("}"), this.matchContextualKeyword("from"))
|
||
this.nextToken(), u = this.parseModuleSpecifier(), this.consumeSemicolon();
|
||
else if (c) {
|
||
var r = this.lookahead.value ? o.Messages.UnexpectedToken : o.Messages.MissingFromClause;
|
||
this.throwError(r, this.lookahead.value);
|
||
}
|
||
else
|
||
this.consumeSemicolon();
|
||
e = this.finalize(t, new s.ExportNamedDeclaration(null, a, u));
|
||
} return e; }, t; }();
|
||
e.Parser = l;
|
||
}, function (t, e) {
|
||
"use strict";
|
||
function n(t, e) { if (!t)
|
||
throw new Error("ASSERT: " + e); }
|
||
Object.defineProperty(e, "__esModule", { value: !0 }), e.assert = n;
|
||
}, function (t, e) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 });
|
||
var n = function () { function t() { this.errors = [], this.tolerant = !1; } return t.prototype.recordError = function (t) { this.errors.push(t); }, t.prototype.tolerate = function (t) { if (!this.tolerant)
|
||
throw t; this.recordError(t); }, t.prototype.constructError = function (t, e) { var n = new Error(t); try {
|
||
throw n;
|
||
}
|
||
catch (t) {
|
||
Object.create && Object.defineProperty && (n = Object.create(t), Object.defineProperty(n, "column", { value: e }));
|
||
} return n; }, t.prototype.createError = function (t, e, n, r) { var i = "Line " + e + ": " + r, o = this.constructError(i, n); return o.index = t, o.lineNumber = e, o.description = r, o; }, t.prototype.throwError = function (t, e, n, r) { throw this.createError(t, e, n, r); }, t.prototype.tolerateError = function (t, e, n, r) { var i = this.createError(t, e, n, r); if (!this.tolerant)
|
||
throw i; this.recordError(i); }, t; }();
|
||
e.ErrorHandler = n;
|
||
}, function (t, e) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 }), e.Messages = { BadGetterArity: "Getter must not have any formal parameters", BadSetterArity: "Setter must have exactly one formal parameter", BadSetterRestParameter: "Setter function argument must not be a rest parameter", ConstructorIsAsync: "Class constructor may not be an async method", ConstructorSpecialMethod: "Class constructor may not be an accessor", DeclarationMissingInitializer: "Missing initializer in %0 declaration", DefaultRestParameter: "Unexpected token =", DuplicateBinding: "Duplicate binding %0", DuplicateConstructor: "A class may only have one constructor", DuplicateProtoProperty: "Duplicate __proto__ fields are not allowed in object literals", ForInOfLoopInitializer: "%0 loop variable declaration may not have an initializer", GeneratorInLegacyContext: "Generator declarations are not allowed in legacy contexts", IllegalBreak: "Illegal break statement", IllegalContinue: "Illegal continue statement", IllegalExportDeclaration: "Unexpected token", IllegalImportDeclaration: "Unexpected token", IllegalLanguageModeDirective: "Illegal 'use strict' directive in function with non-simple parameter list", IllegalReturn: "Illegal return statement", InvalidEscapedReservedWord: "Keyword must not contain escaped characters", InvalidHexEscapeSequence: "Invalid hexadecimal escape sequence", InvalidLHSInAssignment: "Invalid left-hand side in assignment", InvalidLHSInForIn: "Invalid left-hand side in for-in", InvalidLHSInForLoop: "Invalid left-hand side in for-loop", InvalidModuleSpecifier: "Unexpected token", InvalidRegExp: "Invalid regular expression", LetInLexicalBinding: "let is disallowed as a lexically bound name", MissingFromClause: "Unexpected token", MultipleDefaultsInSwitch: "More than one default clause in switch statement", NewlineAfterThrow: "Illegal newline after throw", NoAsAfterImportNamespace: "Unexpected token", NoCatchOrFinally: "Missing catch or finally after try", ParameterAfterRestParameter: "Rest parameter must be last formal parameter", Redeclaration: "%0 '%1' has already been declared", StaticPrototype: "Classes may not have static property named prototype", StrictCatchVariable: "Catch variable may not be eval or arguments in strict mode", StrictDelete: "Delete of an unqualified identifier in strict mode.", StrictFunction: "In strict mode code, functions can only be declared at top level or inside a block", StrictFunctionName: "Function name may not be eval or arguments in strict mode", StrictLHSAssignment: "Assignment to eval or arguments is not allowed in strict mode", StrictLHSPostfix: "Postfix increment/decrement may not have eval or arguments operand in strict mode", StrictLHSPrefix: "Prefix increment/decrement may not have eval or arguments operand in strict mode", StrictModeWith: "Strict mode code may not include a with statement", StrictOctalLiteral: "Octal literals are not allowed in strict mode.", StrictParamDupe: "Strict mode function may not have duplicate parameter names", StrictParamName: "Parameter name eval or arguments is not allowed in strict mode", StrictReservedWord: "Use of future reserved word in strict mode", StrictVarName: "Variable name may not be eval or arguments in strict mode", TemplateOctalLiteral: "Octal literals are not allowed in template strings.", UnexpectedEOS: "Unexpected end of input", UnexpectedIdentifier: "Unexpected identifier", UnexpectedNumber: "Unexpected number", UnexpectedReserved: "Unexpected reserved word", UnexpectedString: "Unexpected string", UnexpectedTemplate: "Unexpected quasi %0", UnexpectedToken: "Unexpected token %0", UnexpectedTokenIllegal: "Unexpected token ILLEGAL", UnknownLabel: "Undefined label '%0'", UnterminatedRegExp: "Invalid regular expression: missing /" };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return "0123456789abcdef".indexOf(t.toLowerCase()); }
|
||
function i(t) { return "01234567".indexOf(t); }
|
||
Object.defineProperty(e, "__esModule", { value: !0 });
|
||
var o = n(9), s = n(4), a = n(11), u = function () { function t(t, e) { this.source = t, this.errorHandler = e, this.trackComment = !1, this.length = t.length, this.index = 0, this.lineNumber = t.length > 0 ? 1 : 0, this.lineStart = 0, this.curlyStack = []; } return t.prototype.saveState = function () { return { index: this.index, lineNumber: this.lineNumber, lineStart: this.lineStart }; }, t.prototype.restoreState = function (t) { this.index = t.index, this.lineNumber = t.lineNumber, this.lineStart = t.lineStart; }, t.prototype.eof = function () { return this.index >= this.length; }, t.prototype.throwUnexpectedToken = function (t) { return void 0 === t && (t = a.Messages.UnexpectedTokenIllegal), this.errorHandler.throwError(this.index, this.lineNumber, this.index - this.lineStart + 1, t); }, t.prototype.tolerateUnexpectedToken = function (t) { void 0 === t && (t = a.Messages.UnexpectedTokenIllegal), this.errorHandler.tolerateError(this.index, this.lineNumber, this.index - this.lineStart + 1, t); }, t.prototype.skipSingleLineComment = function (t) { var e, n, r = []; for (this.trackComment && (r = [], e = this.index - t, n = { start: { line: this.lineNumber, column: this.index - this.lineStart - t }, end: {} }); !this.eof();) {
|
||
var i = this.source.charCodeAt(this.index);
|
||
if (++this.index, s.Character.isLineTerminator(i)) {
|
||
if (this.trackComment) {
|
||
n.end = { line: this.lineNumber, column: this.index - this.lineStart - 1 };
|
||
var o = { multiLine: !1, slice: [e + t, this.index - 1], range: [e, this.index - 1], loc: n };
|
||
r.push(o);
|
||
}
|
||
return 13 === i && 10 === this.source.charCodeAt(this.index) && ++this.index, ++this.lineNumber, this.lineStart = this.index, r;
|
||
}
|
||
} if (this.trackComment) {
|
||
n.end = { line: this.lineNumber, column: this.index - this.lineStart };
|
||
var o = { multiLine: !1, slice: [e + t, this.index], range: [e, this.index], loc: n };
|
||
r.push(o);
|
||
} return r; }, t.prototype.skipMultiLineComment = function () { var t, e, n = []; for (this.trackComment && (n = [], t = this.index - 2, e = { start: { line: this.lineNumber, column: this.index - this.lineStart - 2 }, end: {} }); !this.eof();) {
|
||
var r = this.source.charCodeAt(this.index);
|
||
if (s.Character.isLineTerminator(r))
|
||
13 === r && 10 === this.source.charCodeAt(this.index + 1) && ++this.index, ++this.lineNumber, ++this.index, this.lineStart = this.index;
|
||
else if (42 === r) {
|
||
if (47 === this.source.charCodeAt(this.index + 1)) {
|
||
if (this.index += 2, this.trackComment) {
|
||
e.end = { line: this.lineNumber, column: this.index - this.lineStart };
|
||
var i = { multiLine: !0, slice: [t + 2, this.index - 2], range: [t, this.index], loc: e };
|
||
n.push(i);
|
||
}
|
||
return n;
|
||
}
|
||
++this.index;
|
||
}
|
||
else
|
||
++this.index;
|
||
} if (this.trackComment) {
|
||
e.end = { line: this.lineNumber, column: this.index - this.lineStart };
|
||
var i = { multiLine: !0, slice: [t + 2, this.index], range: [t, this.index], loc: e };
|
||
n.push(i);
|
||
} return this.tolerateUnexpectedToken(), n; }, t.prototype.scanComments = function () { var t; this.trackComment && (t = []); for (var e = 0 === this.index; !this.eof();) {
|
||
var n = this.source.charCodeAt(this.index);
|
||
if (s.Character.isWhiteSpace(n))
|
||
++this.index;
|
||
else if (s.Character.isLineTerminator(n))
|
||
++this.index, 13 === n && 10 === this.source.charCodeAt(this.index) && ++this.index, ++this.lineNumber, this.lineStart = this.index, e = !0;
|
||
else if (47 === n)
|
||
if (47 === (n = this.source.charCodeAt(this.index + 1))) {
|
||
this.index += 2;
|
||
var r = this.skipSingleLineComment(2);
|
||
this.trackComment && (t = t.concat(r)), e = !0;
|
||
}
|
||
else {
|
||
if (42 !== n)
|
||
break;
|
||
this.index += 2;
|
||
var r = this.skipMultiLineComment();
|
||
this.trackComment && (t = t.concat(r));
|
||
}
|
||
else if (e && 45 === n) {
|
||
if (45 !== this.source.charCodeAt(this.index + 1) || 62 !== this.source.charCodeAt(this.index + 2))
|
||
break;
|
||
this.index += 3;
|
||
var r = this.skipSingleLineComment(3);
|
||
this.trackComment && (t = t.concat(r));
|
||
}
|
||
else {
|
||
if (60 !== n)
|
||
break;
|
||
if ("!--" !== this.source.slice(this.index + 1, this.index + 4))
|
||
break;
|
||
this.index += 4;
|
||
var r = this.skipSingleLineComment(4);
|
||
this.trackComment && (t = t.concat(r));
|
||
}
|
||
} return t; }, t.prototype.isFutureReservedWord = function (t) { switch (t) {
|
||
case "enum":
|
||
case "export":
|
||
case "import":
|
||
case "super": return !0;
|
||
default: return !1;
|
||
} }, t.prototype.isStrictModeReservedWord = function (t) { switch (t) {
|
||
case "implements":
|
||
case "interface":
|
||
case "package":
|
||
case "private":
|
||
case "protected":
|
||
case "public":
|
||
case "static":
|
||
case "yield":
|
||
case "let": return !0;
|
||
default: return !1;
|
||
} }, t.prototype.isRestrictedWord = function (t) { return "eval" === t || "arguments" === t; }, t.prototype.isKeyword = function (t) { switch (t.length) {
|
||
case 2: return "if" === t || "in" === t || "do" === t;
|
||
case 3: return "var" === t || "for" === t || "new" === t || "try" === t || "let" === t;
|
||
case 4: return "this" === t || "else" === t || "case" === t || "void" === t || "with" === t || "enum" === t;
|
||
case 5: return "while" === t || "break" === t || "catch" === t || "throw" === t || "const" === t || "yield" === t || "class" === t || "super" === t;
|
||
case 6: return "return" === t || "typeof" === t || "delete" === t || "switch" === t || "export" === t || "import" === t;
|
||
case 7: return "default" === t || "finally" === t || "extends" === t;
|
||
case 8: return "function" === t || "continue" === t || "debugger" === t;
|
||
case 10: return "instanceof" === t;
|
||
default: return !1;
|
||
} }, t.prototype.codePointAt = function (t) { var e = this.source.charCodeAt(t); if (e >= 55296 && e <= 56319) {
|
||
var n = this.source.charCodeAt(t + 1);
|
||
if (n >= 56320 && n <= 57343) {
|
||
e = 1024 * (e - 55296) + n - 56320 + 65536;
|
||
}
|
||
} return e; }, t.prototype.scanHexEscape = function (t) { for (var e = "u" === t ? 4 : 2, n = 0, i = 0; i < e; ++i) {
|
||
if (this.eof() || !s.Character.isHexDigit(this.source.charCodeAt(this.index)))
|
||
return null;
|
||
n = 16 * n + r(this.source[this.index++]);
|
||
} return String.fromCharCode(n); }, t.prototype.scanUnicodeCodePointEscape = function () { var t = this.source[this.index], e = 0; for ("}" === t && this.throwUnexpectedToken(); !this.eof() && (t = this.source[this.index++], s.Character.isHexDigit(t.charCodeAt(0)));)
|
||
e = 16 * e + r(t); return (e > 1114111 || "}" !== t) && this.throwUnexpectedToken(), s.Character.fromCodePoint(e); }, t.prototype.getIdentifier = function () { for (var t = this.index++; !this.eof();) {
|
||
var e = this.source.charCodeAt(this.index);
|
||
if (92 === e)
|
||
return this.index = t, this.getComplexIdentifier();
|
||
if (e >= 55296 && e < 57343)
|
||
return this.index = t, this.getComplexIdentifier();
|
||
if (!s.Character.isIdentifierPart(e))
|
||
break;
|
||
++this.index;
|
||
} return this.source.slice(t, this.index); }, t.prototype.getComplexIdentifier = function () { var t = this.codePointAt(this.index), e = s.Character.fromCodePoint(t); this.index += e.length; var n; for (92 === t && (117 !== this.source.charCodeAt(this.index) && this.throwUnexpectedToken(), ++this.index, "{" === this.source[this.index] ? (++this.index, n = this.scanUnicodeCodePointEscape()) : null !== (n = this.scanHexEscape("u")) && "\\" !== n && s.Character.isIdentifierStart(n.charCodeAt(0)) || this.throwUnexpectedToken(), e = n); !this.eof() && (t = this.codePointAt(this.index), s.Character.isIdentifierPart(t));)
|
||
n = s.Character.fromCodePoint(t), e += n, this.index += n.length, 92 === t && (e = e.substr(0, e.length - 1), 117 !== this.source.charCodeAt(this.index) && this.throwUnexpectedToken(), ++this.index, "{" === this.source[this.index] ? (++this.index, n = this.scanUnicodeCodePointEscape()) : null !== (n = this.scanHexEscape("u")) && "\\" !== n && s.Character.isIdentifierPart(n.charCodeAt(0)) || this.throwUnexpectedToken(), e += n); return e; }, t.prototype.octalToDecimal = function (t) { var e = "0" !== t, n = i(t); return !this.eof() && s.Character.isOctalDigit(this.source.charCodeAt(this.index)) && (e = !0, n = 8 * n + i(this.source[this.index++]), "0123".indexOf(t) >= 0 && !this.eof() && s.Character.isOctalDigit(this.source.charCodeAt(this.index)) && (n = 8 * n + i(this.source[this.index++]))), { code: n, octal: e }; }, t.prototype.scanIdentifier = function () { var t, e = this.index, n = 92 === this.source.charCodeAt(e) ? this.getComplexIdentifier() : this.getIdentifier(); if (3 !== (t = 1 === n.length ? 3 : this.isKeyword(n) ? 4 : "null" === n ? 5 : "true" === n || "false" === n ? 1 : 3) && e + n.length !== this.index) {
|
||
var r = this.index;
|
||
this.index = e, this.tolerateUnexpectedToken(a.Messages.InvalidEscapedReservedWord), this.index = r;
|
||
} return { type: t, value: n, lineNumber: this.lineNumber, lineStart: this.lineStart, start: e, end: this.index }; }, t.prototype.scanPunctuator = function () { var t = this.index, e = this.source[this.index]; switch (e) {
|
||
case "(":
|
||
case "{":
|
||
"{" === e && this.curlyStack.push("{"), ++this.index;
|
||
break;
|
||
case ".":
|
||
++this.index, "." === this.source[this.index] && "." === this.source[this.index + 1] && (this.index += 2, e = "...");
|
||
break;
|
||
case "}":
|
||
++this.index, this.curlyStack.pop();
|
||
break;
|
||
case ")":
|
||
case ";":
|
||
case ",":
|
||
case "[":
|
||
case "]":
|
||
case ":":
|
||
case "?":
|
||
case "~":
|
||
++this.index;
|
||
break;
|
||
default: e = this.source.substr(this.index, 4), ">>>=" === e ? this.index += 4 : (e = e.substr(0, 3), "===" === e || "!==" === e || ">>>" === e || "<<=" === e || ">>=" === e || "**=" === e ? this.index += 3 : (e = e.substr(0, 2), "&&" === e || "||" === e || "==" === e || "!=" === e || "+=" === e || "-=" === e || "*=" === e || "/=" === e || "++" === e || "--" === e || "<<" === e || ">>" === e || "&=" === e || "|=" === e || "^=" === e || "%=" === e || "<=" === e || ">=" === e || "=>" === e || "**" === e ? this.index += 2 : (e = this.source[this.index], "<>=!+-*%&|^/".indexOf(e) >= 0 && ++this.index)));
|
||
} return this.index === t && this.throwUnexpectedToken(), { type: 7, value: e, lineNumber: this.lineNumber, lineStart: this.lineStart, start: t, end: this.index }; }, t.prototype.scanHexLiteral = function (t) { for (var e = ""; !this.eof() && s.Character.isHexDigit(this.source.charCodeAt(this.index));)
|
||
e += this.source[this.index++]; return 0 === e.length && this.throwUnexpectedToken(), s.Character.isIdentifierStart(this.source.charCodeAt(this.index)) && this.throwUnexpectedToken(), { type: 6, value: parseInt("0x" + e, 16), lineNumber: this.lineNumber, lineStart: this.lineStart, start: t, end: this.index }; }, t.prototype.scanBinaryLiteral = function (t) { for (var e, n = ""; !this.eof() && ("0" === (e = this.source[this.index]) || "1" === e);)
|
||
n += this.source[this.index++]; return 0 === n.length && this.throwUnexpectedToken(), this.eof() || (e = this.source.charCodeAt(this.index), (s.Character.isIdentifierStart(e) || s.Character.isDecimalDigit(e)) && this.throwUnexpectedToken()), { type: 6, value: parseInt(n, 2), lineNumber: this.lineNumber, lineStart: this.lineStart, start: t, end: this.index }; }, t.prototype.scanOctalLiteral = function (t, e) { var n = "", r = !1; for (s.Character.isOctalDigit(t.charCodeAt(0)) ? (r = !0, n = "0" + this.source[this.index++]) : ++this.index; !this.eof() && s.Character.isOctalDigit(this.source.charCodeAt(this.index));)
|
||
n += this.source[this.index++]; return r || 0 !== n.length || this.throwUnexpectedToken(), (s.Character.isIdentifierStart(this.source.charCodeAt(this.index)) || s.Character.isDecimalDigit(this.source.charCodeAt(this.index))) && this.throwUnexpectedToken(), { type: 6, value: parseInt(n, 8), octal: r, lineNumber: this.lineNumber, lineStart: this.lineStart, start: e, end: this.index }; }, t.prototype.isImplicitOctalLiteral = function () { for (var t = this.index + 1; t < this.length; ++t) {
|
||
var e = this.source[t];
|
||
if ("8" === e || "9" === e)
|
||
return !1;
|
||
if (!s.Character.isOctalDigit(e.charCodeAt(0)))
|
||
return !0;
|
||
} return !0; }, t.prototype.scanNumericLiteral = function () { var t = this.index, e = this.source[t]; o.assert(s.Character.isDecimalDigit(e.charCodeAt(0)) || "." === e, "Numeric literal must start with a decimal digit or a decimal point"); var n = ""; if ("." !== e) {
|
||
if (n = this.source[this.index++], e = this.source[this.index], "0" === n) {
|
||
if ("x" === e || "X" === e)
|
||
return ++this.index, this.scanHexLiteral(t);
|
||
if ("b" === e || "B" === e)
|
||
return ++this.index, this.scanBinaryLiteral(t);
|
||
if ("o" === e || "O" === e)
|
||
return this.scanOctalLiteral(e, t);
|
||
if (e && s.Character.isOctalDigit(e.charCodeAt(0)) && this.isImplicitOctalLiteral())
|
||
return this.scanOctalLiteral(e, t);
|
||
}
|
||
for (; s.Character.isDecimalDigit(this.source.charCodeAt(this.index));)
|
||
n += this.source[this.index++];
|
||
e = this.source[this.index];
|
||
} if ("." === e) {
|
||
for (n += this.source[this.index++]; s.Character.isDecimalDigit(this.source.charCodeAt(this.index));)
|
||
n += this.source[this.index++];
|
||
e = this.source[this.index];
|
||
} if ("e" === e || "E" === e)
|
||
if (n += this.source[this.index++], e = this.source[this.index], "+" !== e && "-" !== e || (n += this.source[this.index++]), s.Character.isDecimalDigit(this.source.charCodeAt(this.index)))
|
||
for (; s.Character.isDecimalDigit(this.source.charCodeAt(this.index));)
|
||
n += this.source[this.index++];
|
||
else
|
||
this.throwUnexpectedToken(); return s.Character.isIdentifierStart(this.source.charCodeAt(this.index)) && this.throwUnexpectedToken(), { type: 6, value: parseFloat(n), lineNumber: this.lineNumber, lineStart: this.lineStart, start: t, end: this.index }; }, t.prototype.scanStringLiteral = function () { var t = this.index, e = this.source[t]; o.assert("'" === e || '"' === e, "String literal must starts with a quote"), ++this.index; for (var n = !1, r = ""; !this.eof();) {
|
||
var i = this.source[this.index++];
|
||
if (i === e) {
|
||
e = "";
|
||
break;
|
||
}
|
||
if ("\\" === i)
|
||
if ((i = this.source[this.index++]) && s.Character.isLineTerminator(i.charCodeAt(0)))
|
||
++this.lineNumber, "\r" === i && "\n" === this.source[this.index] && ++this.index, this.lineStart = this.index;
|
||
else
|
||
switch (i) {
|
||
case "u":
|
||
if ("{" === this.source[this.index])
|
||
++this.index, r += this.scanUnicodeCodePointEscape();
|
||
else {
|
||
var u = this.scanHexEscape(i);
|
||
null === u && this.throwUnexpectedToken(), r += u;
|
||
}
|
||
break;
|
||
case "x":
|
||
var c = this.scanHexEscape(i);
|
||
null === c && this.throwUnexpectedToken(a.Messages.InvalidHexEscapeSequence), r += c;
|
||
break;
|
||
case "n":
|
||
r += "\n";
|
||
break;
|
||
case "r":
|
||
r += "\r";
|
||
break;
|
||
case "t":
|
||
r += "\t";
|
||
break;
|
||
case "b":
|
||
r += "\b";
|
||
break;
|
||
case "f":
|
||
r += "\f";
|
||
break;
|
||
case "v":
|
||
r += "\v";
|
||
break;
|
||
case "8":
|
||
case "9":
|
||
r += i, this.tolerateUnexpectedToken();
|
||
break;
|
||
default: if (i && s.Character.isOctalDigit(i.charCodeAt(0))) {
|
||
var l = this.octalToDecimal(i);
|
||
n = l.octal || n, r += String.fromCharCode(l.code);
|
||
}
|
||
else
|
||
r += i;
|
||
}
|
||
else {
|
||
if (s.Character.isLineTerminator(i.charCodeAt(0)))
|
||
break;
|
||
r += i;
|
||
}
|
||
} return "" !== e && (this.index = t, this.throwUnexpectedToken()), { type: 8, value: r, octal: n, lineNumber: this.lineNumber, lineStart: this.lineStart, start: t, end: this.index }; }, t.prototype.scanTemplate = function () { var t = "", e = !1, n = this.index, r = "`" === this.source[n], i = !1, o = 2; for (++this.index; !this.eof();) {
|
||
var u = this.source[this.index++];
|
||
if ("`" === u) {
|
||
o = 1, i = !0, e = !0;
|
||
break;
|
||
}
|
||
if ("$" === u) {
|
||
if ("{" === this.source[this.index]) {
|
||
this.curlyStack.push("${"), ++this.index, e = !0;
|
||
break;
|
||
}
|
||
t += u;
|
||
}
|
||
else if ("\\" === u)
|
||
if (u = this.source[this.index++], s.Character.isLineTerminator(u.charCodeAt(0)))
|
||
++this.lineNumber, "\r" === u && "\n" === this.source[this.index] && ++this.index, this.lineStart = this.index;
|
||
else
|
||
switch (u) {
|
||
case "n":
|
||
t += "\n";
|
||
break;
|
||
case "r":
|
||
t += "\r";
|
||
break;
|
||
case "t":
|
||
t += "\t";
|
||
break;
|
||
case "u":
|
||
if ("{" === this.source[this.index])
|
||
++this.index, t += this.scanUnicodeCodePointEscape();
|
||
else {
|
||
var c = this.index, l = this.scanHexEscape(u);
|
||
null !== l ? t += l : (this.index = c, t += u);
|
||
}
|
||
break;
|
||
case "x":
|
||
var h = this.scanHexEscape(u);
|
||
null === h && this.throwUnexpectedToken(a.Messages.InvalidHexEscapeSequence), t += h;
|
||
break;
|
||
case "b":
|
||
t += "\b";
|
||
break;
|
||
case "f":
|
||
t += "\f";
|
||
break;
|
||
case "v":
|
||
t += "\v";
|
||
break;
|
||
default: "0" === u ? (s.Character.isDecimalDigit(this.source.charCodeAt(this.index)) && this.throwUnexpectedToken(a.Messages.TemplateOctalLiteral), t += "\0") : s.Character.isOctalDigit(u.charCodeAt(0)) ? this.throwUnexpectedToken(a.Messages.TemplateOctalLiteral) : t += u;
|
||
}
|
||
else
|
||
s.Character.isLineTerminator(u.charCodeAt(0)) ? (++this.lineNumber, "\r" === u && "\n" === this.source[this.index] && ++this.index, this.lineStart = this.index, t += "\n") : t += u;
|
||
} return e || this.throwUnexpectedToken(), r || this.curlyStack.pop(), { type: 10, value: this.source.slice(n + 1, this.index - o), cooked: t, head: r, tail: i, lineNumber: this.lineNumber, lineStart: this.lineStart, start: n, end: this.index }; }, t.prototype.testRegExp = function (t, e) { var n = t, r = this; e.indexOf("u") >= 0 && (n = n.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g, function (t, e, n) { var i = parseInt(e || n, 16); return i > 1114111 && r.throwUnexpectedToken(a.Messages.InvalidRegExp), i <= 65535 ? String.fromCharCode(i) : ""; }).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, "")); try {
|
||
RegExp(n);
|
||
}
|
||
catch (t) {
|
||
this.throwUnexpectedToken(a.Messages.InvalidRegExp);
|
||
} try {
|
||
return new RegExp(t, e);
|
||
}
|
||
catch (t) {
|
||
return null;
|
||
} }, t.prototype.scanRegExpBody = function () { var t = this.source[this.index]; o.assert("/" === t, "Regular expression literal must start with a slash"); for (var e = this.source[this.index++], n = !1, r = !1; !this.eof();)
|
||
if (t = this.source[this.index++], e += t, "\\" === t)
|
||
t = this.source[this.index++], s.Character.isLineTerminator(t.charCodeAt(0)) && this.throwUnexpectedToken(a.Messages.UnterminatedRegExp), e += t;
|
||
else if (s.Character.isLineTerminator(t.charCodeAt(0)))
|
||
this.throwUnexpectedToken(a.Messages.UnterminatedRegExp);
|
||
else if (n)
|
||
"]" === t && (n = !1);
|
||
else {
|
||
if ("/" === t) {
|
||
r = !0;
|
||
break;
|
||
}
|
||
"[" === t && (n = !0);
|
||
} return r || this.throwUnexpectedToken(a.Messages.UnterminatedRegExp), e.substr(1, e.length - 2); }, t.prototype.scanRegExpFlags = function () { for (var t = "", e = ""; !this.eof();) {
|
||
var n = this.source[this.index];
|
||
if (!s.Character.isIdentifierPart(n.charCodeAt(0)))
|
||
break;
|
||
if (++this.index, "\\" !== n || this.eof())
|
||
e += n, t += n;
|
||
else if ("u" === (n = this.source[this.index])) {
|
||
++this.index;
|
||
var r = this.index, i = this.scanHexEscape("u");
|
||
if (null !== i)
|
||
for (e += i, t += "\\u"; r < this.index; ++r)
|
||
t += this.source[r];
|
||
else
|
||
this.index = r, e += "u", t += "\\u";
|
||
this.tolerateUnexpectedToken();
|
||
}
|
||
else
|
||
t += "\\", this.tolerateUnexpectedToken();
|
||
} return e; }, t.prototype.scanRegExp = function () { var t = this.index, e = this.scanRegExpBody(), n = this.scanRegExpFlags(); return { type: 9, value: "", pattern: e, flags: n, regex: this.testRegExp(e, n), lineNumber: this.lineNumber, lineStart: this.lineStart, start: t, end: this.index }; }, t.prototype.lex = function () { if (this.eof())
|
||
return { type: 2, value: "", lineNumber: this.lineNumber, lineStart: this.lineStart, start: this.index, end: this.index }; var t = this.source.charCodeAt(this.index); return s.Character.isIdentifierStart(t) ? this.scanIdentifier() : 40 === t || 41 === t || 59 === t ? this.scanPunctuator() : 39 === t || 34 === t ? this.scanStringLiteral() : 46 === t ? s.Character.isDecimalDigit(this.source.charCodeAt(this.index + 1)) ? this.scanNumericLiteral() : this.scanPunctuator() : s.Character.isDecimalDigit(t) ? this.scanNumericLiteral() : 96 === t || 125 === t && "${" === this.curlyStack[this.curlyStack.length - 1] ? this.scanTemplate() : t >= 55296 && t < 57343 && s.Character.isIdentifierStart(this.codePointAt(this.index)) ? this.scanIdentifier() : this.scanPunctuator(); }, t; }();
|
||
e.Scanner = u;
|
||
}, function (t, e) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 }), e.TokenName = {}, e.TokenName[1] = "Boolean", e.TokenName[2] = "<end>", e.TokenName[3] = "Identifier", e.TokenName[4] = "Keyword", e.TokenName[5] = "Null", e.TokenName[6] = "Numeric", e.TokenName[7] = "Punctuator", e.TokenName[8] = "String", e.TokenName[9] = "RegularExpression", e.TokenName[10] = "Template";
|
||
}, function (t, e) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 }), e.XHTMLEntities = { quot: '"', amp: "&", apos: "'", gt: ">", nbsp: " ", iexcl: "¡", cent: "¢", pound: "£", curren: "¤", yen: "¥", brvbar: "¦", sect: "§", uml: "¨", copy: "©", ordf: "ª", laquo: "«", not: "¬", shy: "", reg: "®", macr: "¯", deg: "°", plusmn: "±", sup2: "²", sup3: "³", acute: "´", micro: "µ", para: "¶", middot: "·", cedil: "¸", sup1: "¹", ordm: "º", raquo: "»", frac14: "¼", frac12: "½", frac34: "¾", iquest: "¿", Agrave: "À", Aacute: "Á", Acirc: "Â", Atilde: "Ã", Auml: "Ä", Aring: "Å", AElig: "Æ", Ccedil: "Ç", Egrave: "È", Eacute: "É", Ecirc: "Ê", Euml: "Ë", Igrave: "Ì", Iacute: "Í", Icirc: "Î", Iuml: "Ï", ETH: "Ð", Ntilde: "Ñ", Ograve: "Ò", Oacute: "Ó", Ocirc: "Ô", Otilde: "Õ", Ouml: "Ö", times: "×", Oslash: "Ø", Ugrave: "Ù", Uacute: "Ú", Ucirc: "Û", Uuml: "Ü", Yacute: "Ý", THORN: "Þ", szlig: "ß", agrave: "à", aacute: "á", acirc: "â", atilde: "ã", auml: "ä", aring: "å", aelig: "æ", ccedil: "ç", egrave: "è", eacute: "é", ecirc: "ê", euml: "ë", igrave: "ì", iacute: "í", icirc: "î", iuml: "ï", eth: "ð", ntilde: "ñ", ograve: "ò", oacute: "ó", ocirc: "ô", otilde: "õ", ouml: "ö", divide: "÷", oslash: "ø", ugrave: "ù", uacute: "ú", ucirc: "û", uuml: "ü", yacute: "ý", thorn: "þ", yuml: "ÿ", OElig: "Œ", oelig: "œ", Scaron: "Š", scaron: "š", Yuml: "Ÿ", fnof: "ƒ", circ: "ˆ", tilde: "˜", Alpha: "Α", Beta: "Β", Gamma: "Γ", Delta: "Δ", Epsilon: "Ε", Zeta: "Ζ", Eta: "Η", Theta: "Θ", Iota: "Ι", Kappa: "Κ", Lambda: "Λ", Mu: "Μ", Nu: "Ν", Xi: "Ξ", Omicron: "Ο", Pi: "Π", Rho: "Ρ", Sigma: "Σ", Tau: "Τ", Upsilon: "Υ", Phi: "Φ", Chi: "Χ", Psi: "Ψ", Omega: "Ω", alpha: "α", beta: "β", gamma: "γ", delta: "δ", epsilon: "ε", zeta: "ζ", eta: "η", theta: "θ", iota: "ι", kappa: "κ", lambda: "λ", mu: "μ", nu: "ν", xi: "ξ", omicron: "ο", pi: "π", rho: "ρ", sigmaf: "ς", sigma: "σ", tau: "τ", upsilon: "υ", phi: "φ", chi: "χ", psi: "ψ", omega: "ω", thetasym: "ϑ", upsih: "ϒ", piv: "ϖ", ensp: " ", emsp: " ", thinsp: " ", zwnj: "", zwj: "", lrm: "", rlm: "", ndash: "–", mdash: "—", lsquo: "‘", rsquo: "’", sbquo: "‚", ldquo: "“", rdquo: "”", bdquo: "„", dagger: "†", Dagger: "‡", bull: "•", hellip: "…", permil: "‰", prime: "′", Prime: "″", lsaquo: "‹", rsaquo: "›", oline: "‾", frasl: "⁄", euro: "€", image: "ℑ", weierp: "℘", real: "ℜ", trade: "™", alefsym: "ℵ", larr: "←", uarr: "↑", rarr: "→", darr: "↓", harr: "↔", crarr: "↵", lArr: "⇐", uArr: "⇑", rArr: "⇒", dArr: "⇓", hArr: "⇔", forall: "∀", part: "∂", exist: "∃", empty: "∅", nabla: "∇", isin: "∈", notin: "∉", ni: "∋", prod: "∏", sum: "∑", minus: "−", lowast: "∗", radic: "√", prop: "∝", infin: "∞", ang: "∠", and: "∧", or: "∨", cap: "∩", cup: "∪", int: "∫", there4: "∴", sim: "∼", cong: "≅", asymp: "≈", ne: "≠", equiv: "≡", le: "≤", ge: "≥", sub: "⊂", sup: "⊃", nsub: "⊄", sube: "⊆", supe: "⊇", oplus: "⊕", otimes: "⊗", perp: "⊥", sdot: "⋅", lceil: "⌈", rceil: "⌉", lfloor: "⌊", rfloor: "⌋", loz: "◊", spades: "♠", clubs: "♣", hearts: "♥", diams: "♦", lang: "⟨", rang: "⟩" };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
Object.defineProperty(e, "__esModule", { value: !0 });
|
||
var r = n(10), i = n(12), o = n(13), s = function () { function t() { this.values = [], this.curly = this.paren = -1; } return t.prototype.beforeFunctionExpression = function (t) { return ["(", "{", "[", "in", "typeof", "instanceof", "new", "return", "case", "delete", "throw", "void", "=", "+=", "-=", "*=", "**=", "/=", "%=", "<<=", ">>=", ">>>=", "&=", "|=", "^=", ",", "+", "-", "*", "**", "/", "%", "++", "--", "<<", ">>", ">>>", "&", "|", "^", "!", "~", "&&", "||", "?", ":", "===", "==", ">=", "<=", "<", ">", "!=", "!=="].indexOf(t) >= 0; }, t.prototype.isRegexStart = function () { var t = this.values[this.values.length - 1], e = null !== t; switch (t) {
|
||
case "this":
|
||
case "]":
|
||
e = !1;
|
||
break;
|
||
case ")":
|
||
var n = this.values[this.paren - 1];
|
||
e = "if" === n || "while" === n || "for" === n || "with" === n;
|
||
break;
|
||
case "}": if (e = !1, "function" === this.values[this.curly - 3]) {
|
||
var r = this.values[this.curly - 4];
|
||
e = !!r && !this.beforeFunctionExpression(r);
|
||
}
|
||
else if ("function" === this.values[this.curly - 4]) {
|
||
var r = this.values[this.curly - 5];
|
||
e = !r || !this.beforeFunctionExpression(r);
|
||
}
|
||
} return e; }, t.prototype.push = function (t) { 7 === t.type || 4 === t.type ? ("{" === t.value ? this.curly = this.values.length : "(" === t.value && (this.paren = this.values.length), this.values.push(t.value)) : this.values.push(null); }, t; }(), a = function () { function t(t, e) { this.errorHandler = new r.ErrorHandler, this.errorHandler.tolerant = !!e && ("boolean" == typeof e.tolerant && e.tolerant), this.scanner = new i.Scanner(t, this.errorHandler), this.scanner.trackComment = !!e && ("boolean" == typeof e.comment && e.comment), this.trackRange = !!e && ("boolean" == typeof e.range && e.range), this.trackLoc = !!e && ("boolean" == typeof e.loc && e.loc), this.buffer = [], this.reader = new s; } return t.prototype.errors = function () { return this.errorHandler.errors; }, t.prototype.getNextToken = function () { if (0 === this.buffer.length) {
|
||
var t = this.scanner.scanComments();
|
||
if (this.scanner.trackComment)
|
||
for (var e = 0; e < t.length; ++e) {
|
||
var n = t[e], r = this.scanner.source.slice(n.slice[0], n.slice[1]), i = { type: n.multiLine ? "BlockComment" : "LineComment", value: r };
|
||
this.trackRange && (i.range = n.range), this.trackLoc && (i.loc = n.loc), this.buffer.push(i);
|
||
}
|
||
if (!this.scanner.eof()) {
|
||
var s = void 0;
|
||
this.trackLoc && (s = { start: { line: this.scanner.lineNumber, column: this.scanner.index - this.scanner.lineStart }, end: {} });
|
||
var a = "/" === this.scanner.source[this.scanner.index] && this.reader.isRegexStart(), u = a ? this.scanner.scanRegExp() : this.scanner.lex();
|
||
this.reader.push(u);
|
||
var c = { type: o.TokenName[u.type], value: this.scanner.source.slice(u.start, u.end) };
|
||
if (this.trackRange && (c.range = [u.start, u.end]), this.trackLoc && (s.end = { line: this.scanner.lineNumber, column: this.scanner.index - this.scanner.lineStart }, c.loc = s), 9 === u.type) {
|
||
var l = u.pattern, h = u.flags;
|
||
c.regex = { pattern: l, flags: h };
|
||
}
|
||
this.buffer.push(c);
|
||
}
|
||
} return this.buffer.shift(); }, t; }();
|
||
e.Tokenizer = a;
|
||
}]); }); }, function (t, e, n) {
|
||
"use strict";
|
||
var r, i, o, s, a, u, c, l = n(66), h = n(11), f = Function.prototype.apply, p = Function.prototype.call, d = Object.create, m = Object.defineProperty, v = Object.defineProperties, y = Object.prototype.hasOwnProperty, g = { configurable: !0, enumerable: !1, writable: !0 };
|
||
r = function (t, e) { var n; return h(e), y.call(this, "__ee__") ? n = this.__ee__ : (n = g.value = d(null), m(this, "__ee__", g), g.value = null), n[t] ? "object" == typeof n[t] ? n[t].push(e) : n[t] = [n[t], e] : n[t] = e, this; }, i = function (t, e) { var n, i; return h(e), i = this, r.call(this, t, n = function () { o.call(i, t, n), f.call(e, this, arguments); }), n.__eeOnceListener__ = e, this; }, o = function (t, e) { var n, r, i, o; if (h(e), !y.call(this, "__ee__"))
|
||
return this; if (n = this.__ee__, !n[t])
|
||
return this; if ("object" == typeof (r = n[t]))
|
||
for (o = 0; i = r[o]; ++o)
|
||
i !== e && i.__eeOnceListener__ !== e || (2 === r.length ? n[t] = r[o ? 0 : 1] : r.splice(o, 1));
|
||
else
|
||
r !== e && r.__eeOnceListener__ !== e || delete n[t]; return this; }, s = function (t) { var e, n, r, i, o; if (y.call(this, "__ee__") && (i = this.__ee__[t]))
|
||
if ("object" == typeof i) {
|
||
for (n = arguments.length, o = new Array(n - 1), e = 1; e < n; ++e)
|
||
o[e - 1] = arguments[e];
|
||
for (i = i.slice(), e = 0; r = i[e]; ++e)
|
||
f.call(r, this, o);
|
||
}
|
||
else
|
||
switch (arguments.length) {
|
||
case 1:
|
||
p.call(i, this);
|
||
break;
|
||
case 2:
|
||
p.call(i, this, arguments[1]);
|
||
break;
|
||
case 3:
|
||
p.call(i, this, arguments[1], arguments[2]);
|
||
break;
|
||
default:
|
||
for (n = arguments.length, o = new Array(n - 1), e = 1; e < n; ++e)
|
||
o[e - 1] = arguments[e];
|
||
f.call(i, this, o);
|
||
} }, a = { on: r, once: i, off: o, emit: s }, u = { on: l(r), once: l(i), off: l(o), emit: l(s) }, c = v({}, u), t.exports = e = function (t) { return null == t ? d(c) : v(Object(t), u); }, e.methods = a;
|
||
}, function (t, e) { e.read = function (t, e, n, r, i) { var o, s, a = 8 * i - r - 1, u = (1 << a) - 1, c = u >> 1, l = -7, h = n ? i - 1 : 0, f = n ? -1 : 1, p = t[e + h]; for (h += f, o = p & (1 << -l) - 1, p >>= -l, l += a; l > 0; o = 256 * o + t[e + h], h += f, l -= 8)
|
||
; for (s = o & (1 << -l) - 1, o >>= -l, l += r; l > 0; s = 256 * s + t[e + h], h += f, l -= 8)
|
||
; if (0 === o)
|
||
o = 1 - c;
|
||
else {
|
||
if (o === u)
|
||
return s ? NaN : 1 / 0 * (p ? -1 : 1);
|
||
s += Math.pow(2, r), o -= c;
|
||
} return (p ? -1 : 1) * s * Math.pow(2, o - r); }, e.write = function (t, e, n, r, i, o) { var s, a, u, c = 8 * o - i - 1, l = (1 << c) - 1, h = l >> 1, f = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0, p = r ? 0 : o - 1, d = r ? 1 : -1, m = e < 0 || 0 === e && 1 / e < 0 ? 1 : 0; for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (a = isNaN(e) ? 1 : 0, s = l) : (s = Math.floor(Math.log(e) / Math.LN2), e * (u = Math.pow(2, -s)) < 1 && (s--, u *= 2), e += s + h >= 1 ? f / u : f * Math.pow(2, 1 - h), e * u >= 2 && (s++, u /= 2), s + h >= l ? (a = 0, s = l) : s + h >= 1 ? (a = (e * u - 1) * Math.pow(2, i), s += h) : (a = e * Math.pow(2, h - 1) * Math.pow(2, i), s = 0)); i >= 8; t[n + p] = 255 & a, p += d, a /= 256, i -= 8)
|
||
; for (s = s << i | a, c += i; c > 0; t[n + p] = 255 & s, p += d, s /= 256, c -= 8)
|
||
; t[n + p - d] |= 128 * m; }; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(361);
|
||
t.exports = r;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return function () { throw new Error("Function " + t + " is deprecated and cannot be used."); }; }
|
||
var i = n(363), o = n(362);
|
||
t.exports.Type = n(0), t.exports.Schema = n(34), t.exports.FAILSAFE_SCHEMA = n(112), t.exports.JSON_SCHEMA = n(171), t.exports.CORE_SCHEMA = n(170), t.exports.DEFAULT_SAFE_SCHEMA = n(48), t.exports.DEFAULT_FULL_SCHEMA = n(70), t.exports.load = i.load, t.exports.loadAll = i.loadAll, t.exports.safeLoad = i.safeLoad, t.exports.safeLoadAll = i.safeLoadAll, t.exports.dump = o.dump, t.exports.safeDump = o.safeDump, t.exports.YAMLException = n(47), t.exports.MINIMAL_SCHEMA = n(112), t.exports.SAFE_SCHEMA = n(48), t.exports.DEFAULT_SCHEMA = n(70), t.exports.scan = r("scan"), t.exports.parse = r("parse"), t.exports.compose = r("compose"), t.exports.addConstructor = r("addConstructor");
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t, e) { var n, r, i, o, s, a, u; if (null === e)
|
||
return {}; for (n = {}, r = Object.keys(e), i = 0, o = r.length; i < o; i += 1)
|
||
s = r[i], a = String(e[s]), "!!" === s.slice(0, 2) && (s = "tag:yaml.org,2002:" + s.slice(2)), u = t.compiledTypeMap.fallback[s], u && P.call(u.styleAliases, a) && (a = u.styleAliases[a]), n[s] = a; return n; }
|
||
function i(t) { var e, n, r; if (e = t.toString(16).toUpperCase(), t <= 255)
|
||
n = "x", r = 2;
|
||
else if (t <= 65535)
|
||
n = "u", r = 4;
|
||
else {
|
||
if (!(t <= 4294967295))
|
||
throw new I("code point within a string may not be greater than 0xFFFFFFFF");
|
||
n = "U", r = 8;
|
||
} return "\\" + n + T.repeat("0", r - e.length) + e; }
|
||
function o(t) { this.schema = t.schema || O, this.indent = Math.max(1, t.indent || 2), this.skipInvalid = t.skipInvalid || !1, this.flowLevel = T.isNothing(t.flowLevel) ? -1 : t.flowLevel, this.styleMap = r(this.schema, t.styles || null), this.sortKeys = t.sortKeys || !1, this.lineWidth = t.lineWidth || 80, this.noRefs = t.noRefs || !1, this.noCompatMode = t.noCompatMode || !1, this.condenseFlow = t.condenseFlow || !1, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null; }
|
||
function s(t, e) { for (var n, r = T.repeat(" ", e), i = 0, o = -1, s = "", a = t.length; i < a;)
|
||
o = t.indexOf("\n", i), -1 === o ? (n = t.slice(i), i = a) : (n = t.slice(i, o + 1), i = o + 1), n.length && "\n" !== n && (s += r), s += n; return s; }
|
||
function a(t, e) { return "\n" + T.repeat(" ", t.indent * e); }
|
||
function u(t, e) { var n, r, i; for (n = 0, r = t.implicitTypes.length; n < r; n += 1)
|
||
if (i = t.implicitTypes[n], i.resolve(e))
|
||
return !0; return !1; }
|
||
function c(t) { return t === L || t === j; }
|
||
function l(t) { return 32 <= t && t <= 126 || 161 <= t && t <= 55295 && 8232 !== t && 8233 !== t || 57344 <= t && t <= 65533 && 65279 !== t || 65536 <= t && t <= 1114111; }
|
||
function h(t) { return l(t) && 65279 !== t && t !== W && t !== Z && t !== Q && t !== et && t !== rt && t !== H && t !== U; }
|
||
function f(t) { return l(t) && 65279 !== t && !c(t) && t !== Y && t !== G && t !== H && t !== W && t !== Z && t !== Q && t !== et && t !== rt && t !== U && t !== X && t !== K && t !== R && t !== nt && t !== V && t !== q && t !== z && t !== J && t !== $ && t !== tt; }
|
||
function p(t, e, n, r, i) { var o, s, a = !1, u = !1, p = -1 !== r, d = -1, m = f(t.charCodeAt(0)) && !c(t.charCodeAt(t.length - 1)); if (e)
|
||
for (o = 0; o < t.length; o++) {
|
||
if (s = t.charCodeAt(o), !l(s))
|
||
return lt;
|
||
m = m && h(s);
|
||
}
|
||
else {
|
||
for (o = 0; o < t.length; o++) {
|
||
if ((s = t.charCodeAt(o)) === N)
|
||
a = !0, p && (u = u || o - d - 1 > r && " " !== t[d + 1], d = o);
|
||
else if (!l(s))
|
||
return lt;
|
||
m = m && h(s);
|
||
}
|
||
u = u || p && o - d - 1 > r && " " !== t[d + 1];
|
||
} return a || u ? " " === t[0] && n > 9 ? lt : u ? ct : ut : m && !i(t) ? st : at; }
|
||
function d(t, e, n, r) { t.dump = function () { function i(e) { return u(t, e); } if (0 === e.length)
|
||
return "''"; if (!t.noCompatMode && -1 !== ot.indexOf(e))
|
||
return "'" + e + "'"; var o = t.indent * Math.max(1, n), a = -1 === t.lineWidth ? -1 : Math.max(Math.min(t.lineWidth, 40), t.lineWidth - o), c = r || t.flowLevel > -1 && n >= t.flowLevel; switch (p(e, c, t.indent, a, i)) {
|
||
case st: return e;
|
||
case at: return "'" + e.replace(/'/g, "''") + "'";
|
||
case ut: return "|" + m(e, t.indent) + v(s(e, o));
|
||
case ct: return ">" + m(e, t.indent) + v(s(y(e, a), o));
|
||
case lt: return '"' + x(e) + '"';
|
||
default: throw new I("impossible error: invalid scalar style");
|
||
} }(); }
|
||
function m(t, e) { var n = " " === t[0] ? String(e) : "", r = "\n" === t[t.length - 1]; return n + (!r || "\n" !== t[t.length - 2] && "\n" !== t ? r ? "" : "-" : "+") + "\n"; }
|
||
function v(t) { return "\n" === t[t.length - 1] ? t.slice(0, -1) : t; }
|
||
function y(t, e) { for (var n, r, i = /(\n+)([^\n]*)/g, o = function () { var n = t.indexOf("\n"); return n = -1 !== n ? n : t.length, i.lastIndex = n, g(t.slice(0, n), e); }(), s = "\n" === t[0] || " " === t[0]; r = i.exec(t);) {
|
||
var a = r[1], u = r[2];
|
||
n = " " === u[0], o += a + (s || n || "" === u ? "" : "\n") + g(u, e), s = n;
|
||
} return o; }
|
||
function g(t, e) { if ("" === t || " " === t[0])
|
||
return t; for (var n, r, i = / [^ ]/g, o = 0, s = 0, a = 0, u = ""; n = i.exec(t);)
|
||
a = n.index, a - o > e && (r = s > o ? s : a, u += "\n" + t.slice(o, r), o = r + 1), s = a; return u += "\n", t.length - o > e && s > o ? u += t.slice(o, s) + "\n" + t.slice(s + 1) : u += t.slice(o), u.slice(1); }
|
||
function x(t) { for (var e, n, r, o = "", s = 0; s < t.length; s++)
|
||
e = t.charCodeAt(s), e >= 55296 && e <= 56319 && (n = t.charCodeAt(s + 1)) >= 56320 && n <= 57343 ? (o += i(1024 * (e - 55296) + n - 56320 + 65536), s++) : (r = it[e], o += !r && l(e) ? t[s] : r || i(e)); return o; }
|
||
function b(t, e, n) { var r, i, o = "", s = t.tag; for (r = 0, i = n.length; r < i; r += 1)
|
||
S(t, e, n[r], !1, !1) && (0 !== r && (o += "," + (t.condenseFlow ? "" : " ")), o += t.dump); t.tag = s, t.dump = "[" + o + "]"; }
|
||
function D(t, e, n, r) { var i, o, s = "", u = t.tag; for (i = 0, o = n.length; i < o; i += 1)
|
||
S(t, e + 1, n[i], !0, !0) && (r && 0 === i || (s += a(t, e)), t.dump && N === t.dump.charCodeAt(0) ? s += "-" : s += "- ", s += t.dump); t.tag = u, t.dump = s || "[]"; }
|
||
function E(t, e, n) { var r, i, o, s, a, u = "", c = t.tag, l = Object.keys(n); for (r = 0, i = l.length; r < i; r += 1)
|
||
a = t.condenseFlow ? '"' : "", 0 !== r && (a += ", "), o = l[r], s = n[o], S(t, e, o, !1, !1) && (t.dump.length > 1024 && (a += "? "), a += t.dump + (t.condenseFlow ? '"' : "") + ":" + (t.condenseFlow ? "" : " "), S(t, e, s, !1, !1) && (a += t.dump, u += a)); t.tag = c, t.dump = "{" + u + "}"; }
|
||
function w(t, e, n, r) { var i, o, s, u, c, l, h = "", f = t.tag, p = Object.keys(n); if (!0 === t.sortKeys)
|
||
p.sort();
|
||
else if ("function" == typeof t.sortKeys)
|
||
p.sort(t.sortKeys);
|
||
else if (t.sortKeys)
|
||
throw new I("sortKeys must be a boolean or a function"); for (i = 0, o = p.length; i < o; i += 1)
|
||
l = "", r && 0 === i || (l += a(t, e)), s = p[i], u = n[s], S(t, e + 1, s, !0, !0, !0) && (c = null !== t.tag && "?" !== t.tag || t.dump && t.dump.length > 1024, c && (t.dump && N === t.dump.charCodeAt(0) ? l += "?" : l += "? "), l += t.dump, c && (l += a(t, e)), S(t, e + 1, u, !0, c) && (t.dump && N === t.dump.charCodeAt(0) ? l += ":" : l += ": ", l += t.dump, h += l)); t.tag = f, t.dump = h || "{}"; }
|
||
function _(t, e, n) { var r, i, o, s, a, u; for (i = n ? t.explicitTypes : t.implicitTypes, o = 0, s = i.length; o < s; o += 1)
|
||
if (a = i[o], (a.instanceOf || a.predicate) && (!a.instanceOf || "object" == typeof e && e instanceof a.instanceOf) && (!a.predicate || a.predicate(e))) {
|
||
if (t.tag = n ? a.tag : "?", a.represent) {
|
||
if (u = t.styleMap[a.tag] || a.defaultStyle, "[object Function]" === B.call(a.represent))
|
||
r = a.represent(e, u);
|
||
else {
|
||
if (!P.call(a.represent, u))
|
||
throw new I("!<" + a.tag + '> tag resolver accepts not "' + u + '" style');
|
||
r = a.represent[u](e, u);
|
||
}
|
||
t.dump = r;
|
||
}
|
||
return !0;
|
||
} return !1; }
|
||
function S(t, e, n, r, i, o) { t.tag = null, t.dump = n, _(t, n, !1) || _(t, n, !0); var s = B.call(t.dump); r && (r = t.flowLevel < 0 || t.flowLevel > e); var a, u, c = "[object Object]" === s || "[object Array]" === s; if (c && (a = t.duplicates.indexOf(n), u = -1 !== a), (null !== t.tag && "?" !== t.tag || u || 2 !== t.indent && e > 0) && (i = !1), u && t.usedDuplicates[a])
|
||
t.dump = "*ref_" + a;
|
||
else {
|
||
if (c && u && !t.usedDuplicates[a] && (t.usedDuplicates[a] = !0), "[object Object]" === s)
|
||
r && 0 !== Object.keys(t.dump).length ? (w(t, e, t.dump, i), u && (t.dump = "&ref_" + a + t.dump)) : (E(t, e, t.dump), u && (t.dump = "&ref_" + a + " " + t.dump));
|
||
else if ("[object Array]" === s)
|
||
r && 0 !== t.dump.length ? (D(t, e, t.dump, i), u && (t.dump = "&ref_" + a + t.dump)) : (b(t, e, t.dump), u && (t.dump = "&ref_" + a + " " + t.dump));
|
||
else {
|
||
if ("[object String]" !== s) {
|
||
if (t.skipInvalid)
|
||
return !1;
|
||
throw new I("unacceptable kind of an object to dump " + s);
|
||
}
|
||
"?" !== t.tag && d(t, t.dump, e, o);
|
||
}
|
||
null !== t.tag && "?" !== t.tag && (t.dump = "!<" + t.tag + "> " + t.dump);
|
||
} return !0; }
|
||
function A(t, e) { var n, r, i = [], o = []; for (C(t, i, o), n = 0, r = o.length; n < r; n += 1)
|
||
e.duplicates.push(i[o[n]]); e.usedDuplicates = new Array(r); }
|
||
function C(t, e, n) { var r, i, o; if (null !== t && "object" == typeof t)
|
||
if (-1 !== (i = e.indexOf(t)))
|
||
-1 === n.indexOf(i) && n.push(i);
|
||
else if (e.push(t), Array.isArray(t))
|
||
for (i = 0, o = t.length; i < o; i += 1)
|
||
C(t[i], e, n);
|
||
else
|
||
for (r = Object.keys(t), i = 0, o = r.length; i < o; i += 1)
|
||
C(t[r[i]], e, n); }
|
||
function k(t, e) { e = e || {}; var n = new o(e); return n.noRefs || A(t, n), S(n, 0, t, !0, !0) ? n.dump + "\n" : ""; }
|
||
function F(t, e) { return k(t, T.extend({ schema: M }, e)); }
|
||
var T = n(33), I = n(47), O = n(70), M = n(48), B = Object.prototype.toString, P = Object.prototype.hasOwnProperty, j = 9, N = 10, L = 32, R = 33, z = 34, U = 35, J = 37, X = 38, q = 39, K = 42, W = 44, Y = 45, H = 58, V = 62, G = 63, $ = 64, Z = 91, Q = 93, tt = 96, et = 123, nt = 124, rt = 125, it = {};
|
||
it[0] = "\\0", it[7] = "\\a", it[8] = "\\b", it[9] = "\\t", it[10] = "\\n", it[11] = "\\v", it[12] = "\\f", it[13] = "\\r", it[27] = "\\e", it[34] = '\\"', it[92] = "\\\\", it[133] = "\\N", it[160] = "\\_", it[8232] = "\\L", it[8233] = "\\P";
|
||
var ot = ["y", "Y", "yes", "Yes", "YES", "on", "On", "ON", "n", "N", "no", "No", "NO", "off", "Off", "OFF"], st = 1, at = 2, ut = 3, ct = 4, lt = 5;
|
||
t.exports.dump = k, t.exports.safeDump = F;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return 10 === t || 13 === t; }
|
||
function i(t) { return 9 === t || 32 === t; }
|
||
function o(t) { return 9 === t || 32 === t || 10 === t || 13 === t; }
|
||
function s(t) { return 44 === t || 91 === t || 93 === t || 123 === t || 125 === t; }
|
||
function a(t) { var e; return 48 <= t && t <= 57 ? t - 48 : (e = 32 | t, 97 <= e && e <= 102 ? e - 97 + 10 : -1); }
|
||
function u(t) { return 120 === t ? 2 : 117 === t ? 4 : 85 === t ? 8 : 0; }
|
||
function c(t) { return 48 <= t && t <= 57 ? t - 48 : -1; }
|
||
function l(t) { return 48 === t ? "\0" : 97 === t ? "" : 98 === t ? "\b" : 116 === t ? "\t" : 9 === t ? "\t" : 110 === t ? "\n" : 118 === t ? "\v" : 102 === t ? "\f" : 114 === t ? "\r" : 101 === t ? "" : 32 === t ? " " : 34 === t ? '"' : 47 === t ? "/" : 92 === t ? "\\" : 78 === t ? "
" : 95 === t ? " " : 76 === t ? "\u2028" : 80 === t ? "\u2029" : ""; }
|
||
function h(t) { return t <= 65535 ? String.fromCharCode(t) : String.fromCharCode(55296 + (t - 65536 >> 10), 56320 + (t - 65536 & 1023)); }
|
||
function f(t, e) { this.input = t, this.filename = e.filename || null, this.schema = e.schema || q, this.onWarning = e.onWarning || null, this.legacy = e.legacy || !1, this.json = e.json || !1, this.listener = e.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = t.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.documents = []; }
|
||
function p(t, e) { return new U(e, new J(t.filename, t.input, t.position, t.line, t.position - t.lineStart)); }
|
||
function d(t, e) { throw p(t, e); }
|
||
function m(t, e) { t.onWarning && t.onWarning.call(null, p(t, e)); }
|
||
function v(t, e, n, r) { var i, o, s, a; if (e < n) {
|
||
if (a = t.input.slice(e, n), r)
|
||
for (i = 0, o = a.length; i < o; i += 1)
|
||
9 === (s = a.charCodeAt(i)) || 32 <= s && s <= 1114111 || d(t, "expected valid JSON character");
|
||
else
|
||
Q.test(a) && d(t, "the stream contains non-printable characters");
|
||
t.result += a;
|
||
} }
|
||
function y(t, e, n, r) { var i, o, s, a; for (z.isObject(n) || d(t, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), s = 0, a = i.length; s < a; s += 1)
|
||
o = i[s], K.call(e, o) || (e[o] = n[o], r[o] = !0); }
|
||
function g(t, e, n, r, i, o, s, a) { var u, c; if (i = String(i), null === e && (e = {}), "tag:yaml.org,2002:merge" === r)
|
||
if (Array.isArray(o))
|
||
for (u = 0, c = o.length; u < c; u += 1)
|
||
y(t, e, o[u], n);
|
||
else
|
||
y(t, e, o, n);
|
||
else
|
||
t.json || K.call(n, i) || !K.call(e, i) || (t.line = s || t.line, t.position = a || t.position, d(t, "duplicated mapping key")), e[i] = o, delete n[i]; return e; }
|
||
function x(t) { var e; e = t.input.charCodeAt(t.position), 10 === e ? t.position++ : 13 === e ? (t.position++, 10 === t.input.charCodeAt(t.position) && t.position++) : d(t, "a line break is expected"), t.line += 1, t.lineStart = t.position; }
|
||
function b(t, e, n) { for (var o = 0, s = t.input.charCodeAt(t.position); 0 !== s;) {
|
||
for (; i(s);)
|
||
s = t.input.charCodeAt(++t.position);
|
||
if (e && 35 === s)
|
||
do {
|
||
s = t.input.charCodeAt(++t.position);
|
||
} while (10 !== s && 13 !== s && 0 !== s);
|
||
if (!r(s))
|
||
break;
|
||
for (x(t), s = t.input.charCodeAt(t.position), o++, t.lineIndent = 0; 32 === s;)
|
||
t.lineIndent++, s = t.input.charCodeAt(++t.position);
|
||
} return -1 !== n && 0 !== o && t.lineIndent < n && m(t, "deficient indentation"), o; }
|
||
function D(t) { var e, n = t.position; return !(45 !== (e = t.input.charCodeAt(n)) && 46 !== e || e !== t.input.charCodeAt(n + 1) || e !== t.input.charCodeAt(n + 2) || (n += 3, 0 !== (e = t.input.charCodeAt(n)) && !o(e))); }
|
||
function E(t, e) { 1 === e ? t.result += " " : e > 1 && (t.result += z.repeat("\n", e - 1)); }
|
||
function w(t, e, n) { var a, u, c, l, h, f, p, d, m, y = t.kind, g = t.result; if (m = t.input.charCodeAt(t.position), o(m) || s(m) || 35 === m || 38 === m || 42 === m || 33 === m || 124 === m || 62 === m || 39 === m || 34 === m || 37 === m || 64 === m || 96 === m)
|
||
return !1; if ((63 === m || 45 === m) && (u = t.input.charCodeAt(t.position + 1), o(u) || n && s(u)))
|
||
return !1; for (t.kind = "scalar", t.result = "", c = l = t.position, h = !1; 0 !== m;) {
|
||
if (58 === m) {
|
||
if (u = t.input.charCodeAt(t.position + 1), o(u) || n && s(u))
|
||
break;
|
||
}
|
||
else if (35 === m) {
|
||
if (a = t.input.charCodeAt(t.position - 1), o(a))
|
||
break;
|
||
}
|
||
else {
|
||
if (t.position === t.lineStart && D(t) || n && s(m))
|
||
break;
|
||
if (r(m)) {
|
||
if (f = t.line, p = t.lineStart, d = t.lineIndent, b(t, !1, -1), t.lineIndent >= e) {
|
||
h = !0, m = t.input.charCodeAt(t.position);
|
||
continue;
|
||
}
|
||
t.position = l, t.line = f, t.lineStart = p, t.lineIndent = d;
|
||
break;
|
||
}
|
||
}
|
||
h && (v(t, c, l, !1), E(t, t.line - f), c = l = t.position, h = !1), i(m) || (l = t.position + 1), m = t.input.charCodeAt(++t.position);
|
||
} return v(t, c, l, !1), !!t.result || (t.kind = y, t.result = g, !1); }
|
||
function _(t, e) { var n, i, o; if (39 !== (n = t.input.charCodeAt(t.position)))
|
||
return !1; for (t.kind = "scalar", t.result = "", t.position++, i = o = t.position; 0 !== (n = t.input.charCodeAt(t.position));)
|
||
if (39 === n) {
|
||
if (v(t, i, t.position, !0), 39 !== (n = t.input.charCodeAt(++t.position)))
|
||
return !0;
|
||
i = t.position, t.position++, o = t.position;
|
||
}
|
||
else
|
||
r(n) ? (v(t, i, o, !0), E(t, b(t, !1, e)), i = o = t.position) : t.position === t.lineStart && D(t) ? d(t, "unexpected end of the document within a single quoted scalar") : (t.position++, o = t.position); d(t, "unexpected end of the stream within a single quoted scalar"); }
|
||
function S(t, e) { var n, i, o, s, c, l; if (34 !== (l = t.input.charCodeAt(t.position)))
|
||
return !1; for (t.kind = "scalar", t.result = "", t.position++, n = i = t.position; 0 !== (l = t.input.charCodeAt(t.position));) {
|
||
if (34 === l)
|
||
return v(t, n, t.position, !0), t.position++, !0;
|
||
if (92 === l) {
|
||
if (v(t, n, t.position, !0), l = t.input.charCodeAt(++t.position), r(l))
|
||
b(t, !1, e);
|
||
else if (l < 256 && it[l])
|
||
t.result += ot[l], t.position++;
|
||
else if ((c = u(l)) > 0) {
|
||
for (o = c, s = 0; o > 0; o--)
|
||
l = t.input.charCodeAt(++t.position), (c = a(l)) >= 0 ? s = (s << 4) + c : d(t, "expected hexadecimal character");
|
||
t.result += h(s), t.position++;
|
||
}
|
||
else
|
||
d(t, "unknown escape sequence");
|
||
n = i = t.position;
|
||
}
|
||
else
|
||
r(l) ? (v(t, n, i, !0), E(t, b(t, !1, e)), n = i = t.position) : t.position === t.lineStart && D(t) ? d(t, "unexpected end of the document within a double quoted scalar") : (t.position++, i = t.position);
|
||
} d(t, "unexpected end of the stream within a double quoted scalar"); }
|
||
function A(t, e) { var n, r, i, s, a, u, c, l, h, f, p, m = !0, v = t.tag, y = t.anchor, x = {}; if (91 === (p = t.input.charCodeAt(t.position)))
|
||
s = 93, c = !1, r = [];
|
||
else {
|
||
if (123 !== p)
|
||
return !1;
|
||
s = 125, c = !0, r = {};
|
||
} for (null !== t.anchor && (t.anchorMap[t.anchor] = r), p = t.input.charCodeAt(++t.position); 0 !== p;) {
|
||
if (b(t, !0, e), (p = t.input.charCodeAt(t.position)) === s)
|
||
return t.position++, t.tag = v, t.anchor = y, t.kind = c ? "mapping" : "sequence", t.result = r, !0;
|
||
m || d(t, "missed comma between flow collection entries"), h = l = f = null, a = u = !1, 63 === p && (i = t.input.charCodeAt(t.position + 1), o(i) && (a = u = !0, t.position++, b(t, !0, e))), n = t.line, M(t, e, W, !1, !0), h = t.tag, l = t.result, b(t, !0, e), p = t.input.charCodeAt(t.position), !u && t.line !== n || 58 !== p || (a = !0, p = t.input.charCodeAt(++t.position), b(t, !0, e), M(t, e, W, !1, !0), f = t.result), c ? g(t, r, x, h, l, f) : a ? r.push(g(t, null, x, h, l, f)) : r.push(l), b(t, !0, e), p = t.input.charCodeAt(t.position), 44 === p ? (m = !0, p = t.input.charCodeAt(++t.position)) : m = !1;
|
||
} d(t, "unexpected end of the stream within a flow collection"); }
|
||
function C(t, e) { var n, o, s, a, u = G, l = !1, h = !1, f = e, p = 0, m = !1; if (124 === (a = t.input.charCodeAt(t.position)))
|
||
o = !1;
|
||
else {
|
||
if (62 !== a)
|
||
return !1;
|
||
o = !0;
|
||
} for (t.kind = "scalar", t.result = ""; 0 !== a;)
|
||
if (43 === (a = t.input.charCodeAt(++t.position)) || 45 === a)
|
||
G === u ? u = 43 === a ? Z : $ : d(t, "repeat of a chomping mode identifier");
|
||
else {
|
||
if (!((s = c(a)) >= 0))
|
||
break;
|
||
0 === s ? d(t, "bad explicit indentation width of a block scalar; it cannot be less than one") : h ? d(t, "repeat of an indentation width identifier") : (f = e + s - 1, h = !0);
|
||
} if (i(a)) {
|
||
do {
|
||
a = t.input.charCodeAt(++t.position);
|
||
} while (i(a));
|
||
if (35 === a)
|
||
do {
|
||
a = t.input.charCodeAt(++t.position);
|
||
} while (!r(a) && 0 !== a);
|
||
} for (; 0 !== a;) {
|
||
for (x(t), t.lineIndent = 0, a = t.input.charCodeAt(t.position); (!h || t.lineIndent < f) && 32 === a;)
|
||
t.lineIndent++, a = t.input.charCodeAt(++t.position);
|
||
if (!h && t.lineIndent > f && (f = t.lineIndent), r(a))
|
||
p++;
|
||
else {
|
||
if (t.lineIndent < f) {
|
||
u === Z ? t.result += z.repeat("\n", l ? 1 + p : p) : u === G && l && (t.result += "\n");
|
||
break;
|
||
}
|
||
for (o ? i(a) ? (m = !0, t.result += z.repeat("\n", l ? 1 + p : p)) : m ? (m = !1, t.result += z.repeat("\n", p + 1)) : 0 === p ? l && (t.result += " ") : t.result += z.repeat("\n", p) : t.result += z.repeat("\n", l ? 1 + p : p), l = !0, h = !0, p = 0, n = t.position; !r(a) && 0 !== a;)
|
||
a = t.input.charCodeAt(++t.position);
|
||
v(t, n, t.position, !1);
|
||
}
|
||
} return !0; }
|
||
function k(t, e) { var n, r, i, s = t.tag, a = t.anchor, u = [], c = !1; for (null !== t.anchor && (t.anchorMap[t.anchor] = u), i = t.input.charCodeAt(t.position); 0 !== i && 45 === i && (r = t.input.charCodeAt(t.position + 1), o(r));)
|
||
if (c = !0, t.position++, b(t, !0, -1) && t.lineIndent <= e)
|
||
u.push(null), i = t.input.charCodeAt(t.position);
|
||
else if (n = t.line, M(t, e, H, !1, !0), u.push(t.result), b(t, !0, -1), i = t.input.charCodeAt(t.position), (t.line === n || t.lineIndent > e) && 0 !== i)
|
||
d(t, "bad indentation of a sequence entry");
|
||
else if (t.lineIndent < e)
|
||
break; return !!c && (t.tag = s, t.anchor = a, t.kind = "sequence", t.result = u, !0); }
|
||
function F(t, e, n) { var r, s, a, u, c, l = t.tag, h = t.anchor, f = {}, p = {}, m = null, v = null, y = null, x = !1, D = !1; for (null !== t.anchor && (t.anchorMap[t.anchor] = f), c = t.input.charCodeAt(t.position); 0 !== c;) {
|
||
if (r = t.input.charCodeAt(t.position + 1), a = t.line, u = t.position, 63 !== c && 58 !== c || !o(r)) {
|
||
if (!M(t, n, Y, !1, !0))
|
||
break;
|
||
if (t.line === a) {
|
||
for (c = t.input.charCodeAt(t.position); i(c);)
|
||
c = t.input.charCodeAt(++t.position);
|
||
if (58 === c)
|
||
c = t.input.charCodeAt(++t.position), o(c) || d(t, "a whitespace character is expected after the key-value separator within a block mapping"), x && (g(t, f, p, m, v, null), m = v = y = null), D = !0, x = !1, s = !1, m = t.tag, v = t.result;
|
||
else {
|
||
if (!D)
|
||
return t.tag = l, t.anchor = h, !0;
|
||
d(t, "can not read an implicit mapping pair; a colon is missed");
|
||
}
|
||
}
|
||
else {
|
||
if (!D)
|
||
return t.tag = l, t.anchor = h, !0;
|
||
d(t, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
||
}
|
||
}
|
||
else
|
||
63 === c ? (x && (g(t, f, p, m, v, null), m = v = y = null), D = !0, x = !0, s = !0) : x ? (x = !1, s = !0) : d(t, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), t.position += 1, c = r;
|
||
if ((t.line === a || t.lineIndent > e) && (M(t, e, V, !0, s) && (x ? v = t.result : y = t.result), x || (g(t, f, p, m, v, y, a, u), m = v = y = null), b(t, !0, -1), c = t.input.charCodeAt(t.position)), t.lineIndent > e && 0 !== c)
|
||
d(t, "bad indentation of a mapping entry");
|
||
else if (t.lineIndent < e)
|
||
break;
|
||
} return x && g(t, f, p, m, v, null), D && (t.tag = l, t.anchor = h, t.kind = "mapping", t.result = f), D; }
|
||
function T(t) { var e, n, r, i, s = !1, a = !1; if (33 !== (i = t.input.charCodeAt(t.position)))
|
||
return !1; if (null !== t.tag && d(t, "duplication of a tag property"), i = t.input.charCodeAt(++t.position), 60 === i ? (s = !0, i = t.input.charCodeAt(++t.position)) : 33 === i ? (a = !0, n = "!!", i = t.input.charCodeAt(++t.position)) : n = "!", e = t.position, s) {
|
||
do {
|
||
i = t.input.charCodeAt(++t.position);
|
||
} while (0 !== i && 62 !== i);
|
||
t.position < t.length ? (r = t.input.slice(e, t.position), i = t.input.charCodeAt(++t.position)) : d(t, "unexpected end of the stream within a verbatim tag");
|
||
}
|
||
else {
|
||
for (; 0 !== i && !o(i);)
|
||
33 === i && (a ? d(t, "tag suffix cannot contain exclamation marks") : (n = t.input.slice(e - 1, t.position + 1), nt.test(n) || d(t, "named tag handle cannot contain such characters"), a = !0, e = t.position + 1)), i = t.input.charCodeAt(++t.position);
|
||
r = t.input.slice(e, t.position), et.test(r) && d(t, "tag suffix cannot contain flow indicator characters");
|
||
} return r && !rt.test(r) && d(t, "tag name cannot contain such characters: " + r), s ? t.tag = r : K.call(t.tagMap, n) ? t.tag = t.tagMap[n] + r : "!" === n ? t.tag = "!" + r : "!!" === n ? t.tag = "tag:yaml.org,2002:" + r : d(t, 'undeclared tag handle "' + n + '"'), !0; }
|
||
function I(t) { var e, n; if (38 !== (n = t.input.charCodeAt(t.position)))
|
||
return !1; for (null !== t.anchor && d(t, "duplication of an anchor property"), n = t.input.charCodeAt(++t.position), e = t.position; 0 !== n && !o(n) && !s(n);)
|
||
n = t.input.charCodeAt(++t.position); return t.position === e && d(t, "name of an anchor node must contain at least one character"), t.anchor = t.input.slice(e, t.position), !0; }
|
||
function O(t) { var e, n, r; if (42 !== (r = t.input.charCodeAt(t.position)))
|
||
return !1; for (r = t.input.charCodeAt(++t.position), e = t.position; 0 !== r && !o(r) && !s(r);)
|
||
r = t.input.charCodeAt(++t.position); return t.position === e && d(t, "name of an alias node must contain at least one character"), n = t.input.slice(e, t.position), t.anchorMap.hasOwnProperty(n) || d(t, 'unidentified alias "' + n + '"'), t.result = t.anchorMap[n], b(t, !0, -1), !0; }
|
||
function M(t, e, n, r, i) { var o, s, a, u, c, l, h, f, p = 1, m = !1, v = !1; if (null !== t.listener && t.listener("open", t), t.tag = null, t.anchor = null, t.kind = null, t.result = null, o = s = a = V === n || H === n, r && b(t, !0, -1) && (m = !0, t.lineIndent > e ? p = 1 : t.lineIndent === e ? p = 0 : t.lineIndent < e && (p = -1)), 1 === p)
|
||
for (; T(t) || I(t);)
|
||
b(t, !0, -1) ? (m = !0, a = o, t.lineIndent > e ? p = 1 : t.lineIndent === e ? p = 0 : t.lineIndent < e && (p = -1)) : a = !1; if (a && (a = m || i), 1 !== p && V !== n || (h = W === n || Y === n ? e : e + 1, f = t.position - t.lineStart, 1 === p ? a && (k(t, f) || F(t, f, h)) || A(t, h) ? v = !0 : (s && C(t, h) || _(t, h) || S(t, h) ? v = !0 : O(t) ? (v = !0, null === t.tag && null === t.anchor || d(t, "alias node should not have any properties")) : w(t, h, W === n) && (v = !0, null === t.tag && (t.tag = "?")), null !== t.anchor && (t.anchorMap[t.anchor] = t.result)) : 0 === p && (v = a && k(t, f))), null !== t.tag && "!" !== t.tag)
|
||
if ("?" === t.tag) {
|
||
for (u = 0, c = t.implicitTypes.length; u < c; u += 1)
|
||
if (l = t.implicitTypes[u], l.resolve(t.result)) {
|
||
t.result = l.construct(t.result), t.tag = l.tag, null !== t.anchor && (t.anchorMap[t.anchor] = t.result);
|
||
break;
|
||
}
|
||
}
|
||
else
|
||
K.call(t.typeMap[t.kind || "fallback"], t.tag) ? (l = t.typeMap[t.kind || "fallback"][t.tag], null !== t.result && l.kind !== t.kind && d(t, "unacceptable node kind for !<" + t.tag + '> tag; it should be "' + l.kind + '", not "' + t.kind + '"'), l.resolve(t.result) ? (t.result = l.construct(t.result), null !== t.anchor && (t.anchorMap[t.anchor] = t.result)) : d(t, "cannot resolve a node with !<" + t.tag + "> explicit tag")) : d(t, "unknown tag !<" + t.tag + ">"); return null !== t.listener && t.listener("close", t), null !== t.tag || null !== t.anchor || v; }
|
||
function B(t) { var e, n, s, a, u = t.position, c = !1; for (t.version = null, t.checkLineBreaks = t.legacy, t.tagMap = {}, t.anchorMap = {}; 0 !== (a = t.input.charCodeAt(t.position)) && (b(t, !0, -1), a = t.input.charCodeAt(t.position), !(t.lineIndent > 0 || 37 !== a));) {
|
||
for (c = !0, a = t.input.charCodeAt(++t.position), e = t.position; 0 !== a && !o(a);)
|
||
a = t.input.charCodeAt(++t.position);
|
||
for (n = t.input.slice(e, t.position), s = [], n.length < 1 && d(t, "directive name must not be less than one character in length"); 0 !== a;) {
|
||
for (; i(a);)
|
||
a = t.input.charCodeAt(++t.position);
|
||
if (35 === a) {
|
||
do {
|
||
a = t.input.charCodeAt(++t.position);
|
||
} while (0 !== a && !r(a));
|
||
break;
|
||
}
|
||
if (r(a))
|
||
break;
|
||
for (e = t.position; 0 !== a && !o(a);)
|
||
a = t.input.charCodeAt(++t.position);
|
||
s.push(t.input.slice(e, t.position));
|
||
}
|
||
0 !== a && x(t), K.call(at, n) ? at[n](t, n, s) : m(t, 'unknown document directive "' + n + '"');
|
||
} if (b(t, !0, -1), 0 === t.lineIndent && 45 === t.input.charCodeAt(t.position) && 45 === t.input.charCodeAt(t.position + 1) && 45 === t.input.charCodeAt(t.position + 2) ? (t.position += 3, b(t, !0, -1)) : c && d(t, "directives end mark is expected"), M(t, t.lineIndent - 1, V, !1, !0), b(t, !0, -1), t.checkLineBreaks && tt.test(t.input.slice(u, t.position)) && m(t, "non-ASCII line breaks are interpreted as content"), t.documents.push(t.result), t.position === t.lineStart && D(t))
|
||
return void (46 === t.input.charCodeAt(t.position) && (t.position += 3, b(t, !0, -1))); t.position < t.length - 1 && d(t, "end of the stream or a document separator is expected"); }
|
||
function P(t, e) { t = String(t), e = e || {}, 0 !== t.length && (10 !== t.charCodeAt(t.length - 1) && 13 !== t.charCodeAt(t.length - 1) && (t += "\n"), 65279 === t.charCodeAt(0) && (t = t.slice(1))); var n = new f(t, e); for (n.input += "\0"; 32 === n.input.charCodeAt(n.position);)
|
||
n.lineIndent += 1, n.position += 1; for (; n.position < n.length - 1;)
|
||
B(n); return n.documents; }
|
||
function j(t, e, n) { var r, i, o = P(t, n); if ("function" != typeof e)
|
||
return o; for (r = 0, i = o.length; r < i; r += 1)
|
||
e(o[r]); }
|
||
function N(t, e) { var n = P(t, e); if (0 !== n.length) {
|
||
if (1 === n.length)
|
||
return n[0];
|
||
throw new U("expected a single document in the stream, but found more");
|
||
} }
|
||
function L(t, e, n) { if ("function" != typeof e)
|
||
return j(t, z.extend({ schema: X }, n)); j(t, e, z.extend({ schema: X }, n)); }
|
||
function R(t, e) { return N(t, z.extend({ schema: X }, e)); }
|
||
for (var z = n(33), U = n(47), J = n(364), X = n(48), q = n(70), K = Object.prototype.hasOwnProperty, W = 1, Y = 2, H = 3, V = 4, G = 1, $ = 2, Z = 3, Q = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, tt = /[\x85\u2028\u2029]/, et = /[,\[\]\{\}]/, nt = /^(?:!|!!|![a-z\-]+!)$/i, rt = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i, it = new Array(256), ot = new Array(256), st = 0; st < 256; st++)
|
||
it[st] = l(st) ? 1 : 0, ot[st] = l(st);
|
||
var at = { YAML: function (t, e, n) { var r, i, o; null !== t.version && d(t, "duplication of %YAML directive"), 1 !== n.length && d(t, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), null === r && d(t, "ill-formed argument of the YAML directive"), i = parseInt(r[1], 10), o = parseInt(r[2], 10), 1 !== i && d(t, "unacceptable YAML version of the document"), t.version = n[0], t.checkLineBreaks = o < 2, 1 !== o && 2 !== o && m(t, "unsupported YAML version of the document"); }, TAG: function (t, e, n) { var r, i; 2 !== n.length && d(t, "TAG directive accepts exactly two arguments"), r = n[0], i = n[1], nt.test(r) || d(t, "ill-formed tag handle (first argument) of the TAG directive"), K.call(t.tagMap, r) && d(t, 'there is a previously declared suffix for "' + r + '" tag handle'), rt.test(i) || d(t, "ill-formed tag prefix (second argument) of the TAG directive"), t.tagMap[r] = i; } };
|
||
t.exports.loadAll = j, t.exports.load = N, t.exports.safeLoadAll = L, t.exports.safeLoad = R;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t, e, n, r, i) { this.name = t, this.buffer = e, this.position = n, this.line = r, this.column = i; }
|
||
var i = n(33);
|
||
r.prototype.getSnippet = function (t, e) { var n, r, o, s, a; if (!this.buffer)
|
||
return null; for (t = t || 4, e = e || 75, n = "", r = this.position; r > 0 && -1 === "\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(r - 1));)
|
||
if (r -= 1, this.position - r > e / 2 - 1) {
|
||
n = " ... ", r += 5;
|
||
break;
|
||
} for (o = "", s = this.position; s < this.buffer.length && -1 === "\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(s));)
|
||
if ((s += 1) - this.position > e / 2 - 1) {
|
||
o = " ... ", s -= 5;
|
||
break;
|
||
} return a = this.buffer.slice(r, s), i.repeat(" ", t) + n + a + o + "\n" + i.repeat(" ", t + this.position - r + n.length) + "^"; }, r.prototype.toString = function (t) { var e, n = ""; return this.name && (n += 'in "' + this.name + '" '), n += "at line " + (this.line + 1) + ", column " + (this.column + 1), t || (e = this.getSnippet()) && (n += ":\n" + e), n; }, t.exports = r;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { if (null === t)
|
||
return !1; var e, n, r = 0, i = t.length, o = c; for (n = 0; n < i; n++)
|
||
if (!((e = o.indexOf(t.charAt(n))) > 64)) {
|
||
if (e < 0)
|
||
return !1;
|
||
r += 6;
|
||
} return r % 8 == 0; }
|
||
function i(t) { var e, n, r = t.replace(/[\r\n=]/g, ""), i = r.length, o = c, s = 0, u = []; for (e = 0; e < i; e++)
|
||
e % 4 == 0 && e && (u.push(s >> 16 & 255), u.push(s >> 8 & 255), u.push(255 & s)), s = s << 6 | o.indexOf(r.charAt(e)); return n = i % 4 * 6, 0 === n ? (u.push(s >> 16 & 255), u.push(s >> 8 & 255), u.push(255 & s)) : 18 === n ? (u.push(s >> 10 & 255), u.push(s >> 2 & 255)) : 12 === n && u.push(s >> 4 & 255), a ? a.from ? a.from(u) : new a(u) : u; }
|
||
function o(t) { var e, n, r = "", i = 0, o = t.length, s = c; for (e = 0; e < o; e++)
|
||
e % 3 == 0 && e && (r += s[i >> 18 & 63], r += s[i >> 12 & 63], r += s[i >> 6 & 63], r += s[63 & i]), i = (i << 8) + t[e]; return n = o % 3, 0 === n ? (r += s[i >> 18 & 63], r += s[i >> 12 & 63], r += s[i >> 6 & 63], r += s[63 & i]) : 2 === n ? (r += s[i >> 10 & 63], r += s[i >> 4 & 63], r += s[i << 2 & 63], r += s[64]) : 1 === n && (r += s[i >> 2 & 63], r += s[i << 4 & 63], r += s[64], r += s[64]), r; }
|
||
function s(t) { return a && a.isBuffer(t); }
|
||
var a;
|
||
try {
|
||
a = n(54).Buffer;
|
||
}
|
||
catch (t) { }
|
||
var u = n(0), c = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
|
||
t.exports = new u("tag:yaml.org,2002:binary", { kind: "scalar", resolve: r, construct: i, predicate: s, represent: o });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { if (null === t)
|
||
return !1; var e = t.length; return 4 === e && ("true" === t || "True" === t || "TRUE" === t) || 5 === e && ("false" === t || "False" === t || "FALSE" === t); }
|
||
function i(t) { return "true" === t || "True" === t || "TRUE" === t; }
|
||
function o(t) { return "[object Boolean]" === Object.prototype.toString.call(t); }
|
||
var s = n(0);
|
||
t.exports = new s("tag:yaml.org,2002:bool", { kind: "scalar", resolve: r, construct: i, predicate: o, represent: { lowercase: function (t) { return t ? "true" : "false"; }, uppercase: function (t) { return t ? "TRUE" : "FALSE"; }, camelcase: function (t) { return t ? "True" : "False"; } }, defaultStyle: "lowercase" });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return null !== t && !(!c.test(t) || "_" === t[t.length - 1]); }
|
||
function i(t) { var e, n, r, i; return e = t.replace(/_/g, "").toLowerCase(), n = "-" === e[0] ? -1 : 1, i = [], "+-".indexOf(e[0]) >= 0 && (e = e.slice(1)), ".inf" === e ? 1 === n ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : ".nan" === e ? NaN : e.indexOf(":") >= 0 ? (e.split(":").forEach(function (t) { i.unshift(parseFloat(t, 10)); }), e = 0, r = 1, i.forEach(function (t) { e += t * r, r *= 60; }), n * e) : n * parseFloat(e, 10); }
|
||
function o(t, e) { var n; if (isNaN(t))
|
||
switch (e) {
|
||
case "lowercase": return ".nan";
|
||
case "uppercase": return ".NAN";
|
||
case "camelcase": return ".NaN";
|
||
}
|
||
else if (Number.POSITIVE_INFINITY === t)
|
||
switch (e) {
|
||
case "lowercase": return ".inf";
|
||
case "uppercase": return ".INF";
|
||
case "camelcase": return ".Inf";
|
||
}
|
||
else if (Number.NEGATIVE_INFINITY === t)
|
||
switch (e) {
|
||
case "lowercase": return "-.inf";
|
||
case "uppercase": return "-.INF";
|
||
case "camelcase": return "-.Inf";
|
||
}
|
||
else if (a.isNegativeZero(t))
|
||
return "-0.0"; return n = t.toString(10), l.test(n) ? n.replace("e", ".e") : n; }
|
||
function s(t) { return "[object Number]" === Object.prototype.toString.call(t) && (t % 1 != 0 || a.isNegativeZero(t)); }
|
||
var a = n(33), u = n(0), c = new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), l = /^[-+]?[0-9]+e/;
|
||
t.exports = new u("tag:yaml.org,2002:float", { kind: "scalar", resolve: r, construct: i, predicate: s, represent: o, defaultStyle: "lowercase" });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return 48 <= t && t <= 57 || 65 <= t && t <= 70 || 97 <= t && t <= 102; }
|
||
function i(t) { return 48 <= t && t <= 55; }
|
||
function o(t) { return 48 <= t && t <= 57; }
|
||
function s(t) { if (null === t)
|
||
return !1; var e, n = t.length, s = 0, a = !1; if (!n)
|
||
return !1; if (e = t[s], "-" !== e && "+" !== e || (e = t[++s]), "0" === e) {
|
||
if (s + 1 === n)
|
||
return !0;
|
||
if ("b" === (e = t[++s])) {
|
||
for (s++; s < n; s++)
|
||
if ("_" !== (e = t[s])) {
|
||
if ("0" !== e && "1" !== e)
|
||
return !1;
|
||
a = !0;
|
||
}
|
||
return a && "_" !== e;
|
||
}
|
||
if ("x" === e) {
|
||
for (s++; s < n; s++)
|
||
if ("_" !== (e = t[s])) {
|
||
if (!r(t.charCodeAt(s)))
|
||
return !1;
|
||
a = !0;
|
||
}
|
||
return a && "_" !== e;
|
||
}
|
||
for (; s < n; s++)
|
||
if ("_" !== (e = t[s])) {
|
||
if (!i(t.charCodeAt(s)))
|
||
return !1;
|
||
a = !0;
|
||
}
|
||
return a && "_" !== e;
|
||
} if ("_" === e)
|
||
return !1; for (; s < n; s++)
|
||
if ("_" !== (e = t[s])) {
|
||
if (":" === e)
|
||
break;
|
||
if (!o(t.charCodeAt(s)))
|
||
return !1;
|
||
a = !0;
|
||
} return !(!a || "_" === e) && (":" !== e || /^(:[0-5]?[0-9])+$/.test(t.slice(s))); }
|
||
function a(t) { var e, n, r = t, i = 1, o = []; return -1 !== r.indexOf("_") && (r = r.replace(/_/g, "")), e = r[0], "-" !== e && "+" !== e || ("-" === e && (i = -1), r = r.slice(1), e = r[0]), "0" === r ? 0 : "0" === e ? "b" === r[1] ? i * parseInt(r.slice(2), 2) : "x" === r[1] ? i * parseInt(r, 16) : i * parseInt(r, 8) : -1 !== r.indexOf(":") ? (r.split(":").forEach(function (t) { o.unshift(parseInt(t, 10)); }), r = 0, n = 1, o.forEach(function (t) { r += t * n, n *= 60; }), i * r) : i * parseInt(r, 10); }
|
||
function u(t) { return "[object Number]" === Object.prototype.toString.call(t) && t % 1 == 0 && !c.isNegativeZero(t); }
|
||
var c = n(33), l = n(0);
|
||
t.exports = new l("tag:yaml.org,2002:int", { kind: "scalar", resolve: s, construct: a, predicate: u, represent: { binary: function (t) { return t >= 0 ? "0b" + t.toString(2) : "-0b" + t.toString(2).slice(1); }, octal: function (t) { return t >= 0 ? "0" + t.toString(8) : "-0" + t.toString(8).slice(1); }, decimal: function (t) { return t.toString(10); }, hexadecimal: function (t) { return t >= 0 ? "0x" + t.toString(16).toUpperCase() : "-0x" + t.toString(16).toUpperCase().slice(1); } }, defaultStyle: "decimal", styleAliases: { binary: [2, "bin"], octal: [8, "oct"], decimal: [10, "dec"], hexadecimal: [16, "hex"] } });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { if (null === t)
|
||
return !1; try {
|
||
var e = "(" + t + ")", n = a.parse(e, { range: !0 });
|
||
return "Program" === n.type && 1 === n.body.length && "ExpressionStatement" === n.body[0].type && ("ArrowFunctionExpression" === n.body[0].expression.type || "FunctionExpression" === n.body[0].expression.type);
|
||
}
|
||
catch (t) {
|
||
return !1;
|
||
} }
|
||
function i(t) { var e, n = "(" + t + ")", r = a.parse(n, { range: !0 }), i = []; if ("Program" !== r.type || 1 !== r.body.length || "ExpressionStatement" !== r.body[0].type || "ArrowFunctionExpression" !== r.body[0].expression.type && "FunctionExpression" !== r.body[0].expression.type)
|
||
throw new Error("Failed to resolve function"); return r.body[0].expression.params.forEach(function (t) { i.push(t.name); }), e = r.body[0].expression.body.range, new Function(i, n.slice(e[0] + 1, e[1] - 1)); }
|
||
function o(t) { return t.toString(); }
|
||
function s(t) { return "[object Function]" === Object.prototype.toString.call(t); }
|
||
var a;
|
||
try {
|
||
a = n(357);
|
||
}
|
||
catch (t) {
|
||
"undefined" != typeof window && (a = window.esprima);
|
||
}
|
||
var u = n(0);
|
||
t.exports = new u("tag:yaml.org,2002:js/function", { kind: "scalar", resolve: r, construct: i, predicate: s, represent: o });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { if (null === t)
|
||
return !1; if (0 === t.length)
|
||
return !1; var e = t, n = /\/([gim]*)$/.exec(t), r = ""; if ("/" === e[0]) {
|
||
if (n && (r = n[1]), r.length > 3)
|
||
return !1;
|
||
if ("/" !== e[e.length - r.length - 1])
|
||
return !1;
|
||
} return !0; }
|
||
function i(t) { var e = t, n = /\/([gim]*)$/.exec(t), r = ""; return "/" === e[0] && (n && (r = n[1]), e = e.slice(1, e.length - r.length - 1)), new RegExp(e, r); }
|
||
function o(t) { var e = "/" + t.source + "/"; return t.global && (e += "g"), t.multiline && (e += "m"), t.ignoreCase && (e += "i"), e; }
|
||
function s(t) { return "[object RegExp]" === Object.prototype.toString.call(t); }
|
||
var a = n(0);
|
||
t.exports = new a("tag:yaml.org,2002:js/regexp", { kind: "scalar", resolve: r, construct: i, predicate: s, represent: o });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r() { return !0; }
|
||
function i() { }
|
||
function o() { return ""; }
|
||
function s(t) { return void 0 === t; }
|
||
var a = n(0);
|
||
t.exports = new a("tag:yaml.org,2002:js/undefined", { kind: "scalar", resolve: r, construct: i, predicate: s, represent: o });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(0);
|
||
t.exports = new r("tag:yaml.org,2002:map", { kind: "mapping", construct: function (t) { return null !== t ? t : {}; } });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return "<<" === t || null === t; }
|
||
var i = n(0);
|
||
t.exports = new i("tag:yaml.org,2002:merge", { kind: "scalar", resolve: r });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { if (null === t)
|
||
return !0; var e = t.length; return 1 === e && "~" === t || 4 === e && ("null" === t || "Null" === t || "NULL" === t); }
|
||
function i() { return null; }
|
||
function o(t) { return null === t; }
|
||
var s = n(0);
|
||
t.exports = new s("tag:yaml.org,2002:null", { kind: "scalar", resolve: r, construct: i, predicate: o, represent: { canonical: function () { return "~"; }, lowercase: function () { return "null"; }, uppercase: function () { return "NULL"; }, camelcase: function () { return "Null"; } }, defaultStyle: "lowercase" });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { if (null === t)
|
||
return !0; var e, n, r, i, o, u = [], c = t; for (e = 0, n = c.length; e < n; e += 1) {
|
||
if (r = c[e], o = !1, "[object Object]" !== a.call(r))
|
||
return !1;
|
||
for (i in r)
|
||
if (s.call(r, i)) {
|
||
if (o)
|
||
return !1;
|
||
o = !0;
|
||
}
|
||
if (!o)
|
||
return !1;
|
||
if (-1 !== u.indexOf(i))
|
||
return !1;
|
||
u.push(i);
|
||
} return !0; }
|
||
function i(t) { return null !== t ? t : []; }
|
||
var o = n(0), s = Object.prototype.hasOwnProperty, a = Object.prototype.toString;
|
||
t.exports = new o("tag:yaml.org,2002:omap", { kind: "sequence", resolve: r, construct: i });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { if (null === t)
|
||
return !0; var e, n, r, i, o, a = t; for (o = new Array(a.length), e = 0, n = a.length; e < n; e += 1) {
|
||
if (r = a[e], "[object Object]" !== s.call(r))
|
||
return !1;
|
||
if (i = Object.keys(r), 1 !== i.length)
|
||
return !1;
|
||
o[e] = [i[0], r[i[0]]];
|
||
} return !0; }
|
||
function i(t) { if (null === t)
|
||
return []; var e, n, r, i, o, s = t; for (o = new Array(s.length), e = 0, n = s.length; e < n; e += 1)
|
||
r = s[e], i = Object.keys(r), o[e] = [i[0], r[i[0]]]; return o; }
|
||
var o = n(0), s = Object.prototype.toString;
|
||
t.exports = new o("tag:yaml.org,2002:pairs", { kind: "sequence", resolve: r, construct: i });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(0);
|
||
t.exports = new r("tag:yaml.org,2002:seq", { kind: "sequence", construct: function (t) { return null !== t ? t : []; } });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { if (null === t)
|
||
return !0; var e, n = t; for (e in n)
|
||
if (s.call(n, e) && null !== n[e])
|
||
return !1; return !0; }
|
||
function i(t) { return null !== t ? t : {}; }
|
||
var o = n(0), s = Object.prototype.hasOwnProperty;
|
||
t.exports = new o("tag:yaml.org,2002:set", { kind: "mapping", resolve: r, construct: i });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(0);
|
||
t.exports = new r("tag:yaml.org,2002:str", { kind: "scalar", construct: function (t) { return null !== t ? t : ""; } });
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return null !== t && (null !== a.exec(t) || null !== u.exec(t)); }
|
||
function i(t) { var e, n, r, i, o, s, c, l, h, f, p = 0, d = null; if (e = a.exec(t), null === e && (e = u.exec(t)), null === e)
|
||
throw new Error("Date resolve error"); if (n = +e[1], r = +e[2] - 1, i = +e[3], !e[4])
|
||
return new Date(Date.UTC(n, r, i)); if (o = +e[4], s = +e[5], c = +e[6], e[7]) {
|
||
for (p = e[7].slice(0, 3); p.length < 3;)
|
||
p += "0";
|
||
p = +p;
|
||
} return e[9] && (l = +e[10], h = +(e[11] || 0), d = 6e4 * (60 * l + h), "-" === e[9] && (d = -d)), f = new Date(Date.UTC(n, r, i, o, s, c, p)), d && f.setTime(f.getTime() - d), f; }
|
||
function o(t) { return t.toISOString(); }
|
||
var s = n(0), a = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), u = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
|
||
t.exports = new s("tag:yaml.org,2002:timestamp", { kind: "scalar", resolve: r, construct: i, instanceOf: Date, represent: o });
|
||
}, function (t, e, n) { var r = n(35), i = n(7), o = r(i, "DataView"); t.exports = o; }, function (t, e, n) { function r(t) { var e = -1, n = null == t ? 0 : t.length; for (this.clear(); ++e < n;) {
|
||
var r = t[e];
|
||
this.set(r[0], r[1]);
|
||
} } var i = n(436), o = n(437), s = n(438), a = n(439), u = n(440); r.prototype.clear = i, r.prototype.delete = o, r.prototype.get = s, r.prototype.has = a, r.prototype.set = u, t.exports = r; }, function (t, e, n) { var r = n(35), i = n(7), o = r(i, "Promise"); t.exports = o; }, function (t, e, n) { var r = n(35), i = n(7), o = r(i, "Set"); t.exports = o; }, function (t, e, n) { function r(t) { var e = -1, n = null == t ? 0 : t.length; for (this.__data__ = new i; ++e < n;)
|
||
this.add(t[e]); } var i = n(114), o = n(461), s = n(462); r.prototype.add = r.prototype.push = o, r.prototype.has = s, t.exports = r; }, function (t, e, n) { var r = n(7), i = r.Uint8Array; t.exports = i; }, function (t, e, n) { var r = n(35), i = n(7), o = r(i, "WeakMap"); t.exports = o; }, function (t, e) { function n(t, e) { for (var n = -1, r = null == t ? 0 : t.length, i = 0, o = []; ++n < r;) {
|
||
var s = t[n];
|
||
e(s, n, t) && (o[i++] = s);
|
||
} return o; } t.exports = n; }, function (t, e, n) { function r(t, e) { var n = s(t), r = !n && o(t), l = !n && !r && a(t), f = !n && !r && !l && c(t), p = n || r || l || f, d = p ? i(t.length, String) : [], m = d.length; for (var v in t)
|
||
!e && !h.call(t, v) || p && ("length" == v || l && ("offset" == v || "parent" == v) || f && ("buffer" == v || "byteLength" == v || "byteOffset" == v) || u(v, m)) || d.push(v); return d; } var i = n(414), o = n(183), s = n(8), a = n(184), u = n(116), c = n(186), l = Object.prototype, h = l.hasOwnProperty; t.exports = r; }, function (t, e) { function n(t, e) { for (var n = -1, r = null == t ? 0 : t.length, i = Array(r); ++n < r;)
|
||
i[n] = e(t[n], n, t); return i; } t.exports = n; }, function (t, e) { function n(t, e) { for (var n = -1, r = e.length, i = t.length; ++n < r;)
|
||
t[i + n] = e[n]; return t; } t.exports = n; }, function (t, e) { function n(t, e, n, r) { var i = -1, o = null == t ? 0 : t.length; for (r && o && (n = t[++i]); ++i < o;)
|
||
n = e(n, t[i], i, t); return n; } t.exports = n; }, function (t, e) { function n(t) { return t.split(""); } t.exports = n; }, function (t, e) { function n(t) { return t.match(r) || []; } var r = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g; t.exports = n; }, function (t, e, n) { var r = n(398), i = n(420), o = i(r); t.exports = o; }, function (t, e) { function n(t, e, n, r) { for (var i = t.length, o = n + (r ? 1 : -1); r ? o-- : ++o < i;)
|
||
if (e(t[o], o, t))
|
||
return o; return -1; } t.exports = n; }, function (t, e, n) { var r = n(421), i = r(); t.exports = i; }, function (t, e, n) { function r(t, e) { return t && i(t, e, o); } var i = n(397), o = n(80); t.exports = r; }, function (t, e, n) { function r(t, e, n) { var r = e(t); return o(t) ? r : i(r, n(t)); } var i = n(391), o = n(8); t.exports = r; }, function (t, e) { function n(t, e) { return null != t && e in Object(t); } t.exports = n; }, function (t, e, n) { function r(t) { return o(t) && i(t) == s; } var i = n(49), o = n(51), s = "[object Arguments]"; t.exports = r; }, function (t, e, n) { function r(t, e, n, r, v, g) { var x = c(t), b = c(e), D = x ? d : u(t), E = b ? d : u(e); D = D == p ? m : D, E = E == p ? m : E; var w = D == m, _ = E == m, S = D == E; if (S && l(t)) {
|
||
if (!l(e))
|
||
return !1;
|
||
x = !0, w = !1;
|
||
} if (S && !w)
|
||
return g || (g = new i), x || h(t) ? o(t, e, n, r, v, g) : s(t, e, D, n, r, v, g); if (!(n & f)) {
|
||
var A = w && y.call(t, "__wrapped__"), C = _ && y.call(e, "__wrapped__");
|
||
if (A || C) {
|
||
var k = A ? t.value() : t, F = C ? e.value() : e;
|
||
return g || (g = new i), v(k, F, n, r, g);
|
||
}
|
||
} return !!S && (g || (g = new i), a(t, e, n, r, v, g)); } var i = n(172), o = n(177), s = n(426), a = n(427), u = n(432), c = n(8), l = n(184), h = n(186), f = 1, p = "[object Arguments]", d = "[object Array]", m = "[object Object]", v = Object.prototype, y = v.hasOwnProperty; t.exports = r; }, function (t, e, n) { function r(t, e, n, r) { var u = n.length, c = u, l = !r; if (null == t)
|
||
return !c; for (t = Object(t); u--;) {
|
||
var h = n[u];
|
||
if (l && h[2] ? h[1] !== t[h[0]] : !(h[0] in t))
|
||
return !1;
|
||
} for (; ++u < c;) {
|
||
h = n[u];
|
||
var f = h[0], p = t[f], d = h[1];
|
||
if (l && h[2]) {
|
||
if (void 0 === p && !(f in t))
|
||
return !1;
|
||
}
|
||
else {
|
||
var m = new i;
|
||
if (r)
|
||
var v = r(p, d, f, t, e, m);
|
||
if (!(void 0 === v ? o(d, p, s | a, r, m) : v))
|
||
return !1;
|
||
}
|
||
} return !0; } var i = n(172), o = n(175), s = 1, a = 2; t.exports = r; }, function (t, e, n) { function r(t) { return !(!s(t) || o(t)) && (i(t) ? d : c).test(a(t)); } var i = n(185), o = n(443), s = n(50), a = n(182), u = /[\\^$.*+?()[\]{}|]/g, c = /^\[object .+?Constructor\]$/, l = Function.prototype, h = Object.prototype, f = l.toString, p = h.hasOwnProperty, d = RegExp("^" + f.call(p).replace(u, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"); t.exports = r; }, function (t, e, n) { function r(t) { return s(t) && o(t.length) && !!a[i(t)]; } var i = n(49), o = n(118), s = n(51), a = {}; a["[object Float32Array]"] = a["[object Float64Array]"] = a["[object Int8Array]"] = a["[object Int16Array]"] = a["[object Int32Array]"] = a["[object Uint8Array]"] = a["[object Uint8ClampedArray]"] = a["[object Uint16Array]"] = a["[object Uint32Array]"] = !0, a["[object Arguments]"] = a["[object Array]"] = a["[object ArrayBuffer]"] = a["[object Boolean]"] = a["[object DataView]"] = a["[object Date]"] = a["[object Error]"] = a["[object Function]"] = a["[object Map]"] = a["[object Number]"] = a["[object Object]"] = a["[object RegExp]"] = a["[object Set]"] = a["[object String]"] = a["[object WeakMap]"] = !1, t.exports = r; }, function (t, e, n) { function r(t) { if (!i(t))
|
||
return o(t); var e = []; for (var n in Object(t))
|
||
a.call(t, n) && "constructor" != n && e.push(n); return e; } var i = n(444), o = n(457), s = Object.prototype, a = s.hasOwnProperty; t.exports = r; }, function (t, e, n) { function r(t) { var e = o(t); return 1 == e.length && e[0][2] ? s(e[0][0], e[0][1]) : function (n) { return n === t || i(n, t, e); }; } var i = n(403), o = n(429), s = n(181); t.exports = r; }, function (t, e, n) { function r(t, e) { return a(t) && u(e) ? c(l(t), e) : function (n) { var r = o(n, t); return void 0 === r && r === e ? s(n, t) : i(e, r, h | f); }; } var i = n(175), o = n(478), s = n(479), a = n(117), u = n(180), c = n(181), l = n(76), h = 1, f = 2; t.exports = r; }, function (t, e) { function n(t) { return function (e) { return null == e ? void 0 : e[t]; }; } t.exports = n; }, function (t, e, n) { function r(t) { return function (e) { return i(e, t); }; } var i = n(174); t.exports = r; }, function (t, e) { function n(t) { return function (e) { return null == t ? void 0 : t[e]; }; } t.exports = n; }, function (t, e) { function n(t, e, n) { var r = -1, i = t.length; e < 0 && (e = -e > i ? 0 : i + e), n = n > i ? i : n, n < 0 && (n += i), i = e > n ? 0 : n - e >>> 0, e >>>= 0; for (var o = Array(i); ++r < i;)
|
||
o[r] = t[r + e]; return o; } t.exports = n; }, function (t, e, n) { function r(t, e) { var n; return i(t, function (t, r, i) { return !(n = e(t, r, i)); }), !!n; } var i = n(395); t.exports = r; }, function (t, e) { function n(t, e) { for (var n = -1, r = Array(t); ++n < t;)
|
||
r[n] = e(n); return r; } t.exports = n; }, function (t, e, n) { function r(t) { if ("string" == typeof t)
|
||
return t; if (s(t))
|
||
return o(t, r) + ""; if (a(t))
|
||
return l ? l.call(t) : ""; var e = t + ""; return "0" == e && 1 / t == -u ? "-0" : e; } var i = n(72), o = n(390), s = n(8), a = n(79), u = 1 / 0, c = i ? i.prototype : void 0, l = c ? c.toString : void 0; t.exports = r; }, function (t, e) { function n(t) { return function (e) { return t(e); }; } t.exports = n; }, function (t, e) { function n(t, e) { return t.has(e); } t.exports = n; }, function (t, e, n) { function r(t, e, n) { var r = t.length; return n = void 0 === n ? r : n, !e && n >= r ? t : i(t, e, n); } var i = n(412); t.exports = r; }, function (t, e, n) { var r = n(7), i = r["__core-js_shared__"]; t.exports = i; }, function (t, e, n) { function r(t, e) { return function (n, r) { if (null == n)
|
||
return n; if (!i(n))
|
||
return t(n, r); for (var o = n.length, s = e ? o : -1, a = Object(n); (e ? s-- : ++s < o) && !1 !== r(a[s], s, a);)
|
||
; return n; }; } var i = n(78); t.exports = r; }, function (t, e) { function n(t) { return function (e, n, r) { for (var i = -1, o = Object(e), s = r(e), a = s.length; a--;) {
|
||
var u = s[t ? a : ++i];
|
||
if (!1 === n(o[u], u, o))
|
||
break;
|
||
} return e; }; } t.exports = n; }, function (t, e, n) { function r(t) { return function (e) { e = a(e); var n = o(e) ? s(e) : void 0, r = n ? n[0] : e.charAt(0), u = n ? i(n, 1).join("") : e.slice(1); return r[t]() + u; }; } var i = n(418), o = n(179), s = n(469), a = n(52); t.exports = r; }, function (t, e, n) { function r(t) { return function (e) { return i(s(o(e).replace(a, "")), t, ""); }; } var i = n(392), o = n(475), s = n(488), a = RegExp("['’]", "g"); t.exports = r; }, function (t, e, n) { function r(t) { return function (e, n, r) { var a = Object(e); if (!o(e)) {
|
||
var u = i(n, 3);
|
||
e = s(e), n = function (t) { return u(a[t], t, a); };
|
||
} var c = t(e, n, r); return c > -1 ? a[u ? e[c] : c] : void 0; }; } var i = n(115), o = n(78), s = n(80); t.exports = r; }, function (t, e, n) { var r = n(411), i = { "À": "A", "Á": "A", "Â": "A", "Ã": "A", "Ä": "A", "Å": "A", "à": "a", "á": "a", "â": "a", "ã": "a", "ä": "a", "å": "a", "Ç": "C", "ç": "c", "Ð": "D", "ð": "d", "È": "E", "É": "E", "Ê": "E", "Ë": "E", "è": "e", "é": "e", "ê": "e", "ë": "e", "Ì": "I", "Í": "I", "Î": "I", "Ï": "I", "ì": "i", "í": "i", "î": "i", "ï": "i", "Ñ": "N", "ñ": "n", "Ò": "O", "Ó": "O", "Ô": "O", "Õ": "O", "Ö": "O", "Ø": "O", "ò": "o", "ó": "o", "ô": "o", "õ": "o", "ö": "o", "ø": "o", "Ù": "U", "Ú": "U", "Û": "U", "Ü": "U", "ù": "u", "ú": "u", "û": "u", "ü": "u", "Ý": "Y", "ý": "y", "ÿ": "y", "Æ": "Ae", "æ": "ae", "Þ": "Th", "þ": "th", "ß": "ss", "Ā": "A", "Ă": "A", "Ą": "A", "ā": "a", "ă": "a", "ą": "a", "Ć": "C", "Ĉ": "C", "Ċ": "C", "Č": "C", "ć": "c", "ĉ": "c", "ċ": "c", "č": "c", "Ď": "D", "Đ": "D", "ď": "d", "đ": "d", "Ē": "E", "Ĕ": "E", "Ė": "E", "Ę": "E", "Ě": "E", "ē": "e", "ĕ": "e", "ė": "e", "ę": "e", "ě": "e", "Ĝ": "G", "Ğ": "G", "Ġ": "G", "Ģ": "G", "ĝ": "g", "ğ": "g", "ġ": "g", "ģ": "g", "Ĥ": "H", "Ħ": "H", "ĥ": "h", "ħ": "h", "Ĩ": "I", "Ī": "I", "Ĭ": "I", "Į": "I", "İ": "I", "ĩ": "i", "ī": "i", "ĭ": "i", "į": "i", "ı": "i", "Ĵ": "J", "ĵ": "j", "Ķ": "K", "ķ": "k", "ĸ": "k", "Ĺ": "L", "Ļ": "L", "Ľ": "L", "Ŀ": "L", "Ł": "L", "ĺ": "l", "ļ": "l", "ľ": "l", "ŀ": "l", "ł": "l", "Ń": "N", "Ņ": "N", "Ň": "N", "Ŋ": "N", "ń": "n", "ņ": "n", "ň": "n", "ŋ": "n", "Ō": "O", "Ŏ": "O", "Ő": "O", "ō": "o", "ŏ": "o", "ő": "o", "Ŕ": "R", "Ŗ": "R", "Ř": "R", "ŕ": "r", "ŗ": "r", "ř": "r", "Ś": "S", "Ŝ": "S", "Ş": "S", "Š": "S", "ś": "s", "ŝ": "s", "ş": "s", "š": "s", "Ţ": "T", "Ť": "T", "Ŧ": "T", "ţ": "t", "ť": "t", "ŧ": "t", "Ũ": "U", "Ū": "U", "Ŭ": "U", "Ů": "U", "Ű": "U", "Ų": "U", "ũ": "u", "ū": "u", "ŭ": "u", "ů": "u", "ű": "u", "ų": "u", "Ŵ": "W", "ŵ": "w", "Ŷ": "Y", "ŷ": "y", "Ÿ": "Y", "Ź": "Z", "Ż": "Z", "Ž": "Z", "ź": "z", "ż": "z", "ž": "z", "IJ": "IJ", "ij": "ij", "Œ": "Oe", "œ": "oe", "ʼn": "'n", "ſ": "s" }, o = r(i); t.exports = o; }, function (t, e, n) { function r(t, e, n, r, i, w, S) { switch (n) {
|
||
case E:
|
||
if (t.byteLength != e.byteLength || t.byteOffset != e.byteOffset)
|
||
return !1;
|
||
t = t.buffer, e = e.buffer;
|
||
case D: return !(t.byteLength != e.byteLength || !w(new o(t), new o(e)));
|
||
case f:
|
||
case p:
|
||
case v: return s(+t, +e);
|
||
case d: return t.name == e.name && t.message == e.message;
|
||
case y:
|
||
case x: return t == e + "";
|
||
case m: var A = u;
|
||
case g:
|
||
var C = r & l;
|
||
if (A || (A = c), t.size != e.size && !C)
|
||
return !1;
|
||
var k = S.get(t);
|
||
if (k)
|
||
return k == e;
|
||
r |= h, S.set(t, e);
|
||
var F = a(A(t), A(e), r, i, w, S);
|
||
return S.delete(t), F;
|
||
case b: if (_)
|
||
return _.call(t) == _.call(e);
|
||
} return !1; } var i = n(72), o = n(386), s = n(77), a = n(177), u = n(455), c = n(463), l = 1, h = 2, f = "[object Boolean]", p = "[object Date]", d = "[object Error]", m = "[object Map]", v = "[object Number]", y = "[object RegExp]", g = "[object Set]", x = "[object String]", b = "[object Symbol]", D = "[object ArrayBuffer]", E = "[object DataView]", w = i ? i.prototype : void 0, _ = w ? w.valueOf : void 0; t.exports = r; }, function (t, e, n) { function r(t, e, n, r, s, u) { var c = n & o, l = i(t), h = l.length; if (h != i(e).length && !c)
|
||
return !1; for (var f = h; f--;) {
|
||
var p = l[f];
|
||
if (!(c ? p in e : a.call(e, p)))
|
||
return !1;
|
||
} var d = u.get(t); if (d && u.get(e))
|
||
return d == e; var m = !0; u.set(t, e), u.set(e, t); for (var v = c; ++f < h;) {
|
||
p = l[f];
|
||
var y = t[p], g = e[p];
|
||
if (r)
|
||
var x = c ? r(g, y, p, e, t, u) : r(y, g, p, t, e, u);
|
||
if (!(void 0 === x ? y === g || s(y, g, n, r, u) : x)) {
|
||
m = !1;
|
||
break;
|
||
}
|
||
v || (v = "constructor" == p);
|
||
} if (m && !v) {
|
||
var b = t.constructor, D = e.constructor;
|
||
b != D && "constructor" in t && "constructor" in e && !("function" == typeof b && b instanceof b && "function" == typeof D && D instanceof D) && (m = !1);
|
||
} return u.delete(t), u.delete(e), m; } var i = n(428), o = 1, s = Object.prototype, a = s.hasOwnProperty; t.exports = r; }, function (t, e, n) { function r(t) { return i(t, s, o); } var i = n(399), o = n(431), s = n(80); t.exports = r; }, function (t, e, n) { function r(t) { for (var e = o(t), n = e.length; n--;) {
|
||
var r = e[n], s = t[r];
|
||
e[n] = [r, s, i(s)];
|
||
} return e; } var i = n(180), o = n(80); t.exports = r; }, function (t, e, n) { function r(t) { var e = s.call(t, u), n = t[u]; try {
|
||
t[u] = void 0;
|
||
var r = !0;
|
||
}
|
||
catch (t) { } var i = a.call(t); return r && (e ? t[u] = n : delete t[u]), i; } var i = n(72), o = Object.prototype, s = o.hasOwnProperty, a = o.toString, u = i ? i.toStringTag : void 0; t.exports = r; }, function (t, e, n) { var r = n(388), i = n(483), o = Object.prototype, s = o.propertyIsEnumerable, a = Object.getOwnPropertySymbols, u = a ? function (t) { return null == t ? [] : (t = Object(t), r(a(t), function (e) { return s.call(t, e); })); } : i; t.exports = u; }, function (t, e, n) { var r = n(381), i = n(113), o = n(383), s = n(384), a = n(387), u = n(49), c = n(182), l = c(r), h = c(i), f = c(o), p = c(s), d = c(a), m = u; (r && "[object DataView]" != m(new r(new ArrayBuffer(1))) || i && "[object Map]" != m(new i) || o && "[object Promise]" != m(o.resolve()) || s && "[object Set]" != m(new s) || a && "[object WeakMap]" != m(new a)) && (m = function (t) { var e = u(t), n = "[object Object]" == e ? t.constructor : void 0, r = n ? c(n) : ""; if (r)
|
||
switch (r) {
|
||
case l: return "[object DataView]";
|
||
case h: return "[object Map]";
|
||
case f: return "[object Promise]";
|
||
case p: return "[object Set]";
|
||
case d: return "[object WeakMap]";
|
||
} return e; }), t.exports = m; }, function (t, e) { function n(t, e) { return null == t ? void 0 : t[e]; } t.exports = n; }, function (t, e, n) { function r(t, e, n) { e = i(e, t); for (var r = -1, l = e.length, h = !1; ++r < l;) {
|
||
var f = c(e[r]);
|
||
if (!(h = null != t && n(t, f)))
|
||
break;
|
||
t = t[f];
|
||
} return h || ++r != l ? h : !!(l = null == t ? 0 : t.length) && u(l) && a(f, l) && (s(t) || o(t)); } var i = n(176), o = n(183), s = n(8), a = n(116), u = n(118), c = n(76); t.exports = r; }, function (t, e) { function n(t) { return r.test(t); } var r = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/; t.exports = n; }, function (t, e, n) { function r() { this.__data__ = i ? i(null) : {}, this.size = 0; } var i = n(75); t.exports = r; }, function (t, e) { function n(t) { var e = this.has(t) && delete this.__data__[t]; return this.size -= e ? 1 : 0, e; } t.exports = n; }, function (t, e, n) { function r(t) { var e = this.__data__; if (i) {
|
||
var n = e[t];
|
||
return n === o ? void 0 : n;
|
||
} return a.call(e, t) ? e[t] : void 0; } var i = n(75), o = "__lodash_hash_undefined__", s = Object.prototype, a = s.hasOwnProperty; t.exports = r; }, function (t, e, n) { function r(t) { var e = this.__data__; return i ? void 0 !== e[t] : s.call(e, t); } var i = n(75), o = Object.prototype, s = o.hasOwnProperty; t.exports = r; }, function (t, e, n) { function r(t, e) { var n = this.__data__; return this.size += this.has(t) ? 0 : 1, n[t] = i && void 0 === e ? o : e, this; } var i = n(75), o = "__lodash_hash_undefined__"; t.exports = r; }, function (t, e, n) { function r(t, e, n) { if (!a(n))
|
||
return !1; var r = typeof e; return !!("number" == r ? o(n) && s(e, n.length) : "string" == r && e in n) && i(n[e], t); } var i = n(77), o = n(78), s = n(116), a = n(50); t.exports = r; }, function (t, e) { function n(t) { var e = typeof t; return "string" == e || "number" == e || "symbol" == e || "boolean" == e ? "__proto__" !== t : null === t; } t.exports = n; }, function (t, e, n) { function r(t) { return !!o && o in t; } var i = n(419), o = function () { var t = /[^.]+$/.exec(i && i.keys && i.keys.IE_PROTO || ""); return t ? "Symbol(src)_1." + t : ""; }(); t.exports = r; }, function (t, e) { function n(t) { var e = t && t.constructor; return t === ("function" == typeof e && e.prototype || r); } var r = Object.prototype; t.exports = n; }, function (t, e) { function n() { this.__data__ = [], this.size = 0; } t.exports = n; }, function (t, e, n) { function r(t) { var e = this.__data__, n = i(e, t); return !(n < 0) && (n == e.length - 1 ? e.pop() : s.call(e, n, 1), --this.size, !0); } var i = n(73), o = Array.prototype, s = o.splice; t.exports = r; }, function (t, e, n) { function r(t) { var e = this.__data__, n = i(e, t); return n < 0 ? void 0 : e[n][1]; } var i = n(73); t.exports = r; }, function (t, e, n) { function r(t) { return i(this.__data__, t) > -1; } var i = n(73); t.exports = r; }, function (t, e, n) { function r(t, e) { var n = this.__data__, r = i(n, t); return r < 0 ? (++this.size, n.push([t, e])) : n[r][1] = e, this; } var i = n(73); t.exports = r; }, function (t, e, n) { function r() { this.size = 0, this.__data__ = { hash: new i, map: new (s || o), string: new i }; } var i = n(382), o = n(71), s = n(113); t.exports = r; }, function (t, e, n) { function r(t) { var e = i(this, t).delete(t); return this.size -= e ? 1 : 0, e; } var i = n(74); t.exports = r; }, function (t, e, n) { function r(t) { return i(this, t).get(t); } var i = n(74); t.exports = r; }, function (t, e, n) { function r(t) { return i(this, t).has(t); } var i = n(74); t.exports = r; }, function (t, e, n) { function r(t, e) { var n = i(this, t), r = n.size; return n.set(t, e), this.size += n.size == r ? 0 : 1, this; } var i = n(74); t.exports = r; }, function (t, e) { function n(t) { var e = -1, n = Array(t.size); return t.forEach(function (t, r) { n[++e] = [r, t]; }), n; } t.exports = n; }, function (t, e, n) { function r(t) { var e = i(t, function (t) { return n.size === o && n.clear(), t; }), n = e.cache; return e; } var i = n(187), o = 500; t.exports = r; }, function (t, e, n) { var r = n(460), i = r(Object.keys, Object); t.exports = i; }, function (t, e, n) { (function (t) { var r = n(178), i = "object" == typeof e && e && !e.nodeType && e, o = i && "object" == typeof t && t && !t.nodeType && t, s = o && o.exports === i, a = s && r.process, u = function () { try {
|
||
return a && a.binding && a.binding("util");
|
||
}
|
||
catch (t) { } }(); t.exports = u; }).call(e, n(204)(t)); }, function (t, e) { function n(t) { return i.call(t); } var r = Object.prototype, i = r.toString; t.exports = n; }, function (t, e) { function n(t, e) { return function (n) { return t(e(n)); }; } t.exports = n; }, function (t, e) { function n(t) { return this.__data__.set(t, r), this; } var r = "__lodash_hash_undefined__"; t.exports = n; }, function (t, e) { function n(t) { return this.__data__.has(t); } t.exports = n; }, function (t, e) { function n(t) { var e = -1, n = Array(t.size); return t.forEach(function (t) { n[++e] = t; }), n; } t.exports = n; }, function (t, e, n) { function r() { this.__data__ = new i, this.size = 0; } var i = n(71); t.exports = r; }, function (t, e) { function n(t) { var e = this.__data__, n = e.delete(t); return this.size = e.size, n; } t.exports = n; }, function (t, e) { function n(t) { return this.__data__.get(t); } t.exports = n; }, function (t, e) { function n(t) { return this.__data__.has(t); } t.exports = n; }, function (t, e, n) { function r(t, e) { var n = this.__data__; if (n instanceof i) {
|
||
var r = n.__data__;
|
||
if (!o || r.length < a - 1)
|
||
return r.push([t, e]), this.size = ++n.size, this;
|
||
n = this.__data__ = new s(r);
|
||
} return n.set(t, e), this.size = n.size, this; } var i = n(71), o = n(113), s = n(114), a = 200; t.exports = r; }, function (t, e, n) { function r(t) { return o(t) ? s(t) : i(t); } var i = n(393), o = n(179), s = n(471); t.exports = r; }, function (t, e, n) { var r = n(456), i = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, o = /\\(\\)?/g, s = r(function (t) { var e = []; return 46 === t.charCodeAt(0) && e.push(""), t.replace(i, function (t, n, r, i) { e.push(r ? i.replace(o, "$1") : n || t); }), e; }); t.exports = s; }, function (t, e) { function n(t) { return t.match(h) || []; } var r = "[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", i = "\\ud83c[\\udffb-\\udfff]", o = "(?:\\ud83c[\\udde6-\\uddff]){2}", s = "[\\ud800-\\udbff][\\udc00-\\udfff]", a = "(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?", u = "(?:\\u200d(?:" + ["[^\\ud800-\\udfff]", o, s].join("|") + ")[\\ufe0e\\ufe0f]?" + a + ")*", c = "[\\ufe0e\\ufe0f]?" + a + u, l = "(?:" + ["[^\\ud800-\\udfff]" + r + "?", r, o, s, "[\\ud800-\\udfff]"].join("|") + ")", h = RegExp(i + "(?=" + i + ")|" + l + c, "g"); t.exports = n; }, function (t, e) { function n(t) { return t.match(m) || []; } var r = "\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", i = "[" + r + "]", o = "[a-z\\xdf-\\xf6\\xf8-\\xff]", s = "[^\\ud800-\\udfff" + r + "\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]", a = "(?:\\ud83c[\\udde6-\\uddff]){2}", u = "[\\ud800-\\udbff][\\udc00-\\udfff]", c = "[A-Z\\xc0-\\xd6\\xd8-\\xde]", l = "(?:" + o + "|" + s + ")", h = "(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?", f = "(?:\\u200d(?:" + ["[^\\ud800-\\udfff]", a, u].join("|") + ")[\\ufe0e\\ufe0f]?" + h + ")*", p = "[\\ufe0e\\ufe0f]?" + h + f, d = "(?:" + ["[\\u2700-\\u27bf]", a, u].join("|") + ")" + p, m = RegExp([c + "?" + o + "+(?:['’](?:d|ll|m|re|s|t|ve))?(?=" + [i, c, "$"].join("|") + ")", "(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=" + [i, c + l, "$"].join("|") + ")", c + "?" + l + "+(?:['’](?:d|ll|m|re|s|t|ve))?", c + "+(?:['’](?:D|LL|M|RE|S|T|VE))?", "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", "\\d+", d].join("|"), "g"); t.exports = n; }, function (t, e, n) { var r = n(474), i = n(423), o = i(function (t, e, n) { return e = e.toLowerCase(), t + (n ? r(e) : e); }); t.exports = o; }, function (t, e, n) { function r(t) { return o(i(t).toLowerCase()); } var i = n(52), o = n(188); t.exports = r; }, function (t, e, n) { function r(t) { return (t = o(t)) && t.replace(s, i).replace(a, ""); } var i = n(425), o = n(52), s = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, a = RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", "g"); t.exports = r; }, function (t, e, n) { var r = n(424), i = n(477), o = r(i); t.exports = o; }, function (t, e, n) { function r(t, e, n) { var r = null == t ? 0 : t.length; if (!r)
|
||
return -1; var u = null == n ? 0 : s(n); return u < 0 && (u = a(r + u, 0)), i(t, o(e, 3), u); } var i = n(396), o = n(115), s = n(486), a = Math.max; t.exports = r; }, function (t, e, n) { function r(t, e, n) { var r = null == t ? void 0 : i(t, e); return void 0 === r ? n : r; } var i = n(174); t.exports = r; }, function (t, e, n) { function r(t, e) { return null != t && o(t, e, i); } var i = n(400), o = n(434); t.exports = r; }, function (t, e) { function n(t) { return t; } t.exports = n; }, function (t, e, n) { function r(t) { return s(t) ? i(a(t)) : o(t); } var i = n(409), o = n(410), s = n(117), a = n(76); t.exports = r; }, function (t, e, n) { function r(t, e, n) { var r = a(t) ? i : s; return n && u(t, e, n) && (e = void 0), r(t, o(e, 3)); } var i = n(173), o = n(115), s = n(413), a = n(8), u = n(441); t.exports = r; }, function (t, e) { function n() { return []; } t.exports = n; }, function (t, e) { function n() { return !1; } t.exports = n; }, function (t, e, n) { function r(t) { if (!t)
|
||
return 0 === t ? t : 0; if ((t = i(t)) === o || t === -o) {
|
||
return (t < 0 ? -1 : 1) * s;
|
||
} return t === t ? t : 0; } var i = n(487), o = 1 / 0, s = 1.7976931348623157e308; t.exports = r; }, function (t, e, n) { function r(t) { var e = i(t), n = e % 1; return e === e ? n ? e - n : e : 0; } var i = n(485); t.exports = r; }, function (t, e, n) { function r(t) { if ("number" == typeof t)
|
||
return t; if (o(t))
|
||
return s; if (i(t)) {
|
||
var e = "function" == typeof t.valueOf ? t.valueOf() : t;
|
||
t = i(e) ? e + "" : e;
|
||
} if ("string" != typeof t)
|
||
return 0 === t ? t : +t; t = t.replace(a, ""); var n = c.test(t); return n || l.test(t) ? h(t.slice(2), n ? 2 : 8) : u.test(t) ? s : +t; } var i = n(50), o = n(79), s = NaN, a = /^\s+|\s+$/g, u = /^[-+]0x[0-9a-f]+$/i, c = /^0b[01]+$/i, l = /^0o[0-7]+$/i, h = parseInt; t.exports = r; }, function (t, e, n) { function r(t, e, n) { return t = s(t), e = n ? void 0 : e, void 0 === e ? o(t) ? a(t) : i(t) : t.match(e) || []; } var i = n(394), o = n(435), s = n(52), a = n(472); t.exports = r; }, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(20), i = Object.create, o = Object.prototype.hasOwnProperty;
|
||
t.exports = function (t) { var e, n = 0, s = 1, a = i(null), u = i(null), c = 0; return t = r(t), { hit: function (r) { var i = u[r], l = ++c; if (a[l] = r, u[r] = l, !i) {
|
||
if (++n <= t)
|
||
return;
|
||
return r = a[s], e(r), r;
|
||
} if (delete a[i], s === i)
|
||
for (; !o.call(a, ++s);)
|
||
continue; }, delete: e = function (t) { var e = u[t]; if (e && (delete a[e], delete u[t], --n, s === e)) {
|
||
if (!n)
|
||
return c = 0, void (s = 1);
|
||
for (; !o.call(a, ++s);)
|
||
continue;
|
||
} }, clear: function () { n = 0, s = 1, a = i(null), u = i(null), c = 0; } }; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(110), i = n(163), o = n(164), s = n(160), a = n(119), u = Array.prototype.slice, c = Function.prototype.apply, l = Object.create, h = Object.prototype.hasOwnProperty;
|
||
n(22).async = function (t, e) { var n, f, p, d = l(null), m = l(null), v = e.memoized, y = e.original; e.memoized = s(function (t) { var e = arguments, r = e[e.length - 1]; return "function" == typeof r && (n = r, e = u.call(e, 0, -1)), v.apply(f = this, p = e); }, v); try {
|
||
o(e.memoized, v);
|
||
}
|
||
catch (t) { } e.on("get", function (t) { var r, i, o; if (n) {
|
||
if (d[t])
|
||
return "function" == typeof d[t] ? d[t] = [d[t], n] : d[t].push(n), void (n = null);
|
||
r = n, i = f, o = p, n = f = p = null, a(function () { var s; h.call(m, t) ? (s = m[t], e.emit("getasync", t, o, i), c.call(r, s.context, s.args)) : (n = r, f = i, p = o, v.apply(i, o)); });
|
||
} }), e.original = function () { var t, i, o, s; return n ? (t = r(arguments), i = function t(n) { var i, o, u = t.id; return null == u ? void a(c.bind(t, this, arguments)) : (delete t.id, i = d[u], delete d[u], i ? (o = r(arguments), e.has(u) && (n ? e.delete(u) : (m[u] = { context: this, args: o }, e.emit("setasync", u, "function" == typeof i ? 1 : i.length))), "function" == typeof i ? s = c.call(i, this, o) : i.forEach(function (t) { s = c.call(t, this, o); }, this), s) : void 0); }, o = n, n = f = p = null, t.push(i), s = c.call(y, this, t), i.cb = o, n = i, s) : c.call(y, this, arguments); }, e.on("set", function (t) { if (!n)
|
||
return void e.delete(t); d[t] ? "function" == typeof d[t] ? d[t] = [d[t], n.cb] : d[t].push(n.cb) : d[t] = n.cb, delete n.cb, n.id = t, n = null; }), e.on("delete", function (t) { var n; h.call(d, t) || m[t] && (n = m[t], delete m[t], e.emit("deleteasync", t, u.call(n.args, 1))); }), e.on("clear", function () { var t = m; m = l(null), e.emit("clearasync", i(t, function (t) { return u.call(t.args, 1); })); }); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(11), i = n(67), o = n(22), s = Function.prototype.apply;
|
||
o.dispose = function (t, e, n) { var a; if (r(t), n.async && o.async || n.promise && o.promise)
|
||
return e.on("deleteasync", a = function (e, n) { s.call(t, null, n); }), void e.on("clearasync", function (t) { i(t, function (t, e) { a(e, t); }); }); e.on("delete", a = function (e, n) { t(n); }), e.on("clear", function (t) { i(t, function (t, e) { a(e, t); }); }); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(110), i = n(67), o = n(119), s = n(168), a = n(532), u = n(22), c = Function.prototype, l = Math.max, h = Math.min, f = Object.create;
|
||
u.maxAge = function (t, e, n) { var p, d, m, v; (t = a(t)) && (p = f(null), d = n.async && u.async || n.promise && u.promise ? "async" : "", e.on("set" + d, function (n) { p[n] = setTimeout(function () { e.delete(n); }, t), v && (v[n] && "nextTick" !== v[n] && clearTimeout(v[n]), v[n] = setTimeout(function () { delete v[n]; }, m)); }), e.on("delete" + d, function (t) { clearTimeout(p[t]), delete p[t], v && ("nextTick" !== v[t] && clearTimeout(v[t]), delete v[t]); }), n.preFetch && (m = !0 === n.preFetch || isNaN(n.preFetch) ? .333 : l(h(Number(n.preFetch), 1), 0)) && (v = {}, m = (1 - m) * t, e.on("get" + d, function (t, i, a) { v[t] || (v[t] = "nextTick", o(function () { var o; "nextTick" === v[t] && (delete v[t], e.delete(t), n.async && (i = r(i), i.push(c)), o = e.memoized.apply(a, i), n.promise && s(o) && ("function" == typeof o.done ? o.done(c, c) : o.then(c, c))); })); })), e.on("clear" + d, function () { i(p, function (t) { clearTimeout(t); }), p = {}, v && (i(v, function (t) { "nextTick" !== t && clearTimeout(t); }), v = {}); })); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(20), i = n(489), o = n(22);
|
||
o.max = function (t, e, n) { var s, a, u; (t = r(t)) && (a = i(t), s = n.async && o.async || n.promise && o.promise ? "async" : "", e.on("set" + s, u = function (t) { void 0 !== (t = a.hit(t)) && e.delete(t); }), e.on("get" + s, u), e.on("delete" + s, a.delete), e.on("clear" + s, a.clear)); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(163), i = n(168), o = n(119), s = Object.create, a = Object.prototype.hasOwnProperty;
|
||
n(22).promise = function (t, e) { var n = s(null), u = s(null), c = s(null); e.on("set", function (r, s, a) { if (!i(a))
|
||
return u[r] = a, void e.emit("setasync", r, 1); n[r] = 1, c[r] = a; var l = function (t) { var i = n[r]; i && (delete n[r], u[r] = t, e.emit("setasync", r, i)); }, h = function () { n[r] && (delete n[r], delete c[r], e.delete(r)); }; "then" !== t && "function" == typeof a.done ? "done" !== t && "function" == typeof a.finally ? (a.done(l), a.finally(h)) : a.done(l, h) : a.then(function (t) { o(l.bind(this, t)); }, function () { o(h); }); }), e.on("get", function (t, r, s) { var a; if (n[t])
|
||
return void ++n[t]; a = c[t]; var u = function () { e.emit("getasync", t, r, s); }; i(a) ? "function" == typeof a.done ? a.done(u) : a.then(function () { o(u); }) : u(); }), e.on("delete", function (t) { if (delete c[t], n[t])
|
||
return void delete n[t]; if (a.call(u, t)) {
|
||
var r = u[t];
|
||
delete u[t], e.emit("deleteasync", t, [r]);
|
||
} }), e.on("clear", function () { var t = u; u = s(null), n = s(null), c = s(null), e.emit("clearasync", r(t, function (t) { return [t]; })); }); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(66), i = n(22), o = Object.create, s = Object.defineProperties;
|
||
i.refCounter = function (t, e, n) { var a, u; a = o(null), u = n.async && i.async || n.promise && i.promise ? "async" : "", e.on("set" + u, function (t, e) { a[t] = e || 1; }), e.on("get" + u, function (t) { ++a[t]; }), e.on("delete" + u, function (t) { delete a[t]; }), e.on("clear" + u, function () { a = {}; }), s(e.memoized, { deleteRef: r(function () { var t = e.get(arguments); return null === t ? null : a[t] ? !--a[t] && (e.delete(t), !0) : null; }), getRefCount: r(function () { var t = e.get(arguments); return null === t ? 0 : a[t] ? a[t] : 0; }) }); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(165), i = n(189), o = n(505);
|
||
t.exports = function (t) { var e, s = r(arguments[1]); return s.normalizer || 0 !== (e = s.length = i(s.length, t.length, s.async)) && (s.primitive ? !1 === e ? s.normalizer = n(504) : e > 1 && (s.normalizer = n(502)(e)) : s.normalizer = !1 === e ? n(503)() : 1 === e ? n(500)() : n(501)(e)), s.async && n(490), s.promise && n(494), s.dispose && n(491), s.maxAge && n(492), s.max && n(493), s.refCounter && n(495), o(t, s); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(330), i = n(160), o = n(66), s = n(358).methods, a = n(499), u = n(498), c = Function.prototype.apply, l = Function.prototype.call, h = Object.create, f = Object.prototype.hasOwnProperty, p = Object.defineProperties, d = s.on, m = s.emit;
|
||
t.exports = function (t, e, n) { var s, v, y, g, x, b, D, E, w, _, S, A, C, k = h(null); return v = !1 !== e ? e : isNaN(t.length) ? 1 : t.length, n.normalizer && (E = u(n.normalizer), y = E.get, g = E.set, x = E.delete, b = E.clear), null != n.resolvers && (C = a(n.resolvers)), A = y ? i(function (e) { var n, i, o = arguments; if (C && (o = C(o)), null !== (n = y(o)) && f.call(k, n))
|
||
return w && s.emit("get", n, o, this), k[n]; if (i = 1 === o.length ? l.call(t, this, o[0]) : c.call(t, this, o), null === n) {
|
||
if (null !== (n = y(o)))
|
||
throw r("Circular invocation", "CIRCULAR_INVOCATION");
|
||
n = g(o);
|
||
}
|
||
else if (f.call(k, n))
|
||
throw r("Circular invocation", "CIRCULAR_INVOCATION"); return k[n] = i, _ && s.emit("set", n, null, i), i; }, v) : 0 === e ? function () { var e; if (f.call(k, "data"))
|
||
return w && s.emit("get", "data", arguments, this), k.data; if (e = arguments.length ? c.call(t, this, arguments) : l.call(t, this), f.call(k, "data"))
|
||
throw r("Circular invocation", "CIRCULAR_INVOCATION"); return k.data = e, _ && s.emit("set", "data", null, e), e; } : function (e) { var n, i, o = arguments; if (C && (o = C(arguments)), i = String(o[0]), f.call(k, i))
|
||
return w && s.emit("get", i, o, this), k[i]; if (n = 1 === o.length ? l.call(t, this, o[0]) : c.call(t, this, o), f.call(k, i))
|
||
throw r("Circular invocation", "CIRCULAR_INVOCATION"); return k[i] = n, _ && s.emit("set", i, null, n), n; }, s = { original: t, memoized: A, get: function (t) { return C && (t = C(t)), y ? y(t) : String(t[0]); }, has: function (t) { return f.call(k, t); }, delete: function (t) { var e; f.call(k, t) && (x && x(t), e = k[t], delete k[t], S && s.emit("delete", t, e)); }, clear: function () { var t = k; b && b(), k = h(null), s.emit("clear", t); }, on: function (t, e) { return "get" === t ? w = !0 : "set" === t ? _ = !0 : "delete" === t && (S = !0), d.call(this, t, e); }, emit: m, updateEnv: function () { t = s.original; } }, D = y ? i(function (t) { var e, n = arguments; C && (n = C(n)), null !== (e = y(n)) && s.delete(e); }, v) : 0 === e ? function () { return s.delete("data"); } : function (t) { return C && (t = C(arguments)[0]), s.delete(t); }, p(A, { __memoized__: o(!0), delete: o(D), clear: o(s.clear) }), s; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(11);
|
||
t.exports = function (t) { var e; return "function" == typeof t ? { set: t, get: t } : (e = { get: r(t.get) }, void 0 !== t.set ? (e.set = r(t.set), e.delete = r(t.delete), e.clear = r(t.clear), e) : (e.set = e.get, e)); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r, i = n(329), o = n(11), s = Array.prototype.slice;
|
||
r = function (t) { return this.map(function (e, n) { return e ? e(t[n]) : t[n]; }).concat(s.call(t, this.length)); }, t.exports = function (t) { return t = i(t), t.forEach(function (t) { null != t && o(t); }), r.bind(t); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(109);
|
||
t.exports = function () { var t = 0, e = [], n = []; return { get: function (t) { var i = r.call(e, t[0]); return -1 === i ? null : n[i]; }, set: function (r) { return e.push(r[0]), n.push(++t), t; }, delete: function (t) { var i = r.call(n, t); -1 !== i && (e.splice(i, 1), n.splice(i, 1)); }, clear: function () { e = [], n = []; } }; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(109), i = Object.create;
|
||
t.exports = function (t) { var e = 0, n = [[], []], o = i(null); return { get: function (e) { for (var i, o = 0, s = n; o < t - 1;) {
|
||
if (-1 === (i = r.call(s[0], e[o])))
|
||
return null;
|
||
s = s[1][i], ++o;
|
||
} return i = r.call(s[0], e[o]), -1 === i ? null : s[1][i] || null; }, set: function (i) { for (var s, a = 0, u = n; a < t - 1;)
|
||
s = r.call(u[0], i[a]), -1 === s && (s = u[0].push(i[a]) - 1, u[1].push([[], []])), u = u[1][s], ++a; return s = r.call(u[0], i[a]), -1 === s && (s = u[0].push(i[a]) - 1), u[1][s] = ++e, o[e] = i, e; }, delete: function (e) { for (var i, s = 0, a = n, u = [], c = o[e]; s < t - 1;) {
|
||
if (-1 === (i = r.call(a[0], c[s])))
|
||
return;
|
||
u.push(a, i), a = a[1][i], ++s;
|
||
} if (-1 !== (i = r.call(a[0], c[s]))) {
|
||
for (e = a[1][i], a[0].splice(i, 1), a[1].splice(i, 1); !a[0].length && u.length;)
|
||
i = u.pop(), a = u.pop(), a[0].splice(i, 1), a[1].splice(i, 1);
|
||
delete o[e];
|
||
} }, clear: function () { n = [[], []], o = i(null); } }; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = function (t) { return t ? function (e) { for (var n = String(e[0]), r = 0, i = t; --i;)
|
||
n += "" + e[++r]; return n; } : function () { return ""; }; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(109), i = Object.create;
|
||
t.exports = function () { var t = 0, e = [], n = i(null); return { get: function (t) { var n, i = 0, o = e, s = t.length; if (0 === s)
|
||
return o[s] || null; if (o = o[s]) {
|
||
for (; i < s - 1;) {
|
||
if (-1 === (n = r.call(o[0], t[i])))
|
||
return null;
|
||
o = o[1][n], ++i;
|
||
}
|
||
return n = r.call(o[0], t[i]), -1 === n ? null : o[1][n] || null;
|
||
} return null; }, set: function (i) { var o, s = 0, a = e, u = i.length; if (0 === u)
|
||
a[u] = ++t;
|
||
else {
|
||
for (a[u] || (a[u] = [[], []]), a = a[u]; s < u - 1;)
|
||
o = r.call(a[0], i[s]), -1 === o && (o = a[0].push(i[s]) - 1, a[1].push([[], []])), a = a[1][o], ++s;
|
||
o = r.call(a[0], i[s]), -1 === o && (o = a[0].push(i[s]) - 1), a[1][o] = ++t;
|
||
} return n[t] = i, t; }, delete: function (t) { var i, o = 0, s = e, a = n[t], u = a.length, c = []; if (0 === u)
|
||
delete s[u];
|
||
else if (s = s[u]) {
|
||
for (; o < u - 1;) {
|
||
if (-1 === (i = r.call(s[0], a[o])))
|
||
return;
|
||
c.push(s, i), s = s[1][i], ++o;
|
||
}
|
||
if (-1 === (i = r.call(s[0], a[o])))
|
||
return;
|
||
for (t = s[1][i], s[0].splice(i, 1), s[1].splice(i, 1); !s[0].length && c.length;)
|
||
i = c.pop(), s = c.pop(), s[0].splice(i, 1), s[1].splice(i, 1);
|
||
} delete n[t]; }, clear: function () { e = [], n = i(null); } }; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = function (t) { var e, n, r = t.length; if (!r)
|
||
return ""; for (e = String(t[n = 0]); --r;)
|
||
e += "" + t[++n]; return e; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(11), i = n(67), o = n(22), s = n(497), a = n(189), u = Object.prototype.hasOwnProperty;
|
||
t.exports = function t(e) { var n, c, l; if (r(e), n = Object(arguments[1]), n.async && n.promise)
|
||
throw new Error("Options 'async' and 'promise' cannot be used together"); return u.call(e, "__memoized__") && !n.force ? e : (c = a(n.length, e.length, n.async && o.async), l = s(e, c, n), i(o, function (t, e) { n[e] && t(n[e], l, n); }), t.__profiler__ && t.__profiler__(l), l.updateEnv(), l.memoized); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t, e, n, r, i) { }
|
||
t.exports = r;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(509);
|
||
t.exports = function (t) { return r(t, !1); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(68), i = n(21), o = n(191);
|
||
t.exports = function () { function t(t, e, n, r, s, a) { a !== o && i(!1, "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"); } function e() { return t; } t.isRequired = t; var n = { array: t, bool: t, func: t, number: t, object: t, string: t, symbol: t, any: t, arrayOf: e, element: t, instanceOf: e, node: t, objectOf: e, oneOf: e, oneOfType: e, shape: e, exact: e }; return n.checkPropTypes = r, n.PropTypes = n, n; };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(68), i = n(21), o = n(69), s = n(53), a = n(191), u = n(506);
|
||
t.exports = function (t, e) { function n(t) { var e = t && (A && t[A] || t[C]); if ("function" == typeof e)
|
||
return e; } function c(t, e) { return t === e ? 0 !== t || 1 / t == 1 / e : t !== t && e !== e; } function l(t) { this.message = t, this.stack = ""; } function h(t) { function n(n, r, o, s, u, c, h) { if (s = s || k, c = c || o, h !== a)
|
||
if (e)
|
||
i(!1, "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");
|
||
else
|
||
; return null == r[o] ? n ? new l(null === r[o] ? "The " + u + " `" + c + "` is marked as required in `" + s + "`, but its value is `null`." : "The " + u + " `" + c + "` is marked as required in `" + s + "`, but its value is `undefined`.") : null : t(r, o, s, u, c); } var r = n.bind(null, !1); return r.isRequired = n.bind(null, !0), r; } function f(t) { function e(e, n, r, i, o, s) { var a = e[n]; if (E(a) !== t)
|
||
return new l("Invalid " + i + " `" + o + "` of type `" + w(a) + "` supplied to `" + r + "`, expected `" + t + "`."); return null; } return h(e); } function p(t) { function e(e, n, r, i, o) { if ("function" != typeof t)
|
||
return new l("Property `" + o + "` of component `" + r + "` has invalid PropType notation inside arrayOf."); var s = e[n]; if (!Array.isArray(s)) {
|
||
return new l("Invalid " + i + " `" + o + "` of type `" + E(s) + "` supplied to `" + r + "`, expected an array.");
|
||
} for (var u = 0; u < s.length; u++) {
|
||
var c = t(s, u, r, i, o + "[" + u + "]", a);
|
||
if (c instanceof Error)
|
||
return c;
|
||
} return null; } return h(e); } function d(t) { function e(e, n, r, i, o) { if (!(e[n] instanceof t)) {
|
||
var s = t.name || k;
|
||
return new l("Invalid " + i + " `" + o + "` of type `" + S(e[n]) + "` supplied to `" + r + "`, expected instance of `" + s + "`.");
|
||
} return null; } return h(e); } function m(t) { function e(e, n, r, i, o) { for (var s = e[n], a = 0; a < t.length; a++)
|
||
if (c(s, t[a]))
|
||
return null; return new l("Invalid " + i + " `" + o + "` of value `" + s + "` supplied to `" + r + "`, expected one of " + JSON.stringify(t) + "."); } return Array.isArray(t) ? h(e) : r.thatReturnsNull; } function v(t) { function e(e, n, r, i, o) { if ("function" != typeof t)
|
||
return new l("Property `" + o + "` of component `" + r + "` has invalid PropType notation inside objectOf."); var s = e[n], u = E(s); if ("object" !== u)
|
||
return new l("Invalid " + i + " `" + o + "` of type `" + u + "` supplied to `" + r + "`, expected an object."); for (var c in s)
|
||
if (s.hasOwnProperty(c)) {
|
||
var h = t(s, c, r, i, o + "." + c, a);
|
||
if (h instanceof Error)
|
||
return h;
|
||
} return null; } return h(e); } function y(t) { function e(e, n, r, i, o) { for (var s = 0; s < t.length; s++) {
|
||
if (null == (0, t[s])(e, n, r, i, o, a))
|
||
return null;
|
||
} return new l("Invalid " + i + " `" + o + "` supplied to `" + r + "`."); } if (!Array.isArray(t))
|
||
return r.thatReturnsNull; for (var n = 0; n < t.length; n++) {
|
||
var i = t[n];
|
||
if ("function" != typeof i)
|
||
return o(!1, "Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.", _(i), n), r.thatReturnsNull;
|
||
} return h(e); } function g(t) { function e(e, n, r, i, o) { var s = e[n], u = E(s); if ("object" !== u)
|
||
return new l("Invalid " + i + " `" + o + "` of type `" + u + "` supplied to `" + r + "`, expected `object`."); for (var c in t) {
|
||
var h = t[c];
|
||
if (h) {
|
||
var f = h(s, c, r, i, o + "." + c, a);
|
||
if (f)
|
||
return f;
|
||
}
|
||
} return null; } return h(e); } function x(t) { function e(e, n, r, i, o) { var u = e[n], c = E(u); if ("object" !== c)
|
||
return new l("Invalid " + i + " `" + o + "` of type `" + c + "` supplied to `" + r + "`, expected `object`."); var h = s({}, e[n], t); for (var f in h) {
|
||
var p = t[f];
|
||
if (!p)
|
||
return new l("Invalid " + i + " `" + o + "` key `" + f + "` supplied to `" + r + "`.\nBad object: " + JSON.stringify(e[n], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(t), null, " "));
|
||
var d = p(u, f, r, i, o + "." + f, a);
|
||
if (d)
|
||
return d;
|
||
} return null; } return h(e); } function b(e) { switch (typeof e) {
|
||
case "number":
|
||
case "string":
|
||
case "undefined": return !0;
|
||
case "boolean": return !e;
|
||
case "object":
|
||
if (Array.isArray(e))
|
||
return e.every(b);
|
||
if (null === e || t(e))
|
||
return !0;
|
||
var r = n(e);
|
||
if (!r)
|
||
return !1;
|
||
var i, o = r.call(e);
|
||
if (r !== e.entries) {
|
||
for (; !(i = o.next()).done;)
|
||
if (!b(i.value))
|
||
return !1;
|
||
}
|
||
else
|
||
for (; !(i = o.next()).done;) {
|
||
var s = i.value;
|
||
if (s && !b(s[1]))
|
||
return !1;
|
||
}
|
||
return !0;
|
||
default: return !1;
|
||
} } function D(t, e) { return "symbol" === t || ("Symbol" === e["@@toStringTag"] || "function" == typeof Symbol && e instanceof Symbol); } function E(t) { var e = typeof t; return Array.isArray(t) ? "array" : t instanceof RegExp ? "object" : D(e, t) ? "symbol" : e; } function w(t) { if (void 0 === t || null === t)
|
||
return "" + t; var e = E(t); if ("object" === e) {
|
||
if (t instanceof Date)
|
||
return "date";
|
||
if (t instanceof RegExp)
|
||
return "regexp";
|
||
} return e; } function _(t) { var e = w(t); switch (e) {
|
||
case "array":
|
||
case "object": return "an " + e;
|
||
case "boolean":
|
||
case "date":
|
||
case "regexp": return "a " + e;
|
||
default: return e;
|
||
} } function S(t) { return t.constructor && t.constructor.name ? t.constructor.name : k; } var A = "function" == typeof Symbol && Symbol.iterator, C = "@@iterator", k = "<<anonymous>>", F = { array: f("array"), bool: f("boolean"), func: f("function"), number: f("number"), object: f("object"), string: f("string"), symbol: f("symbol"), any: function () { return h(r.thatReturnsNull); }(), arrayOf: p, element: function () { function e(e, n, r, i, o) { var s = e[n]; if (!t(s)) {
|
||
return new l("Invalid " + i + " `" + o + "` of type `" + E(s) + "` supplied to `" + r + "`, expected a single ReactElement.");
|
||
} return null; } return h(e); }(), instanceOf: d, node: function () { function t(t, e, n, r, i) { return b(t[e]) ? null : new l("Invalid " + r + " `" + i + "` supplied to `" + n + "`, expected a ReactNode."); } return h(t); }(), objectOf: v, oneOf: m, oneOfType: y, shape: g, exact: x }; return l.prototype = Error.prototype, F.checkPropTypes = u, F.PropTypes = F, F; };
|
||
}, function (t, e) { t.exports = '---\nurl: "http://petstore.swagger.io/v2/swagger.json"\ndom_id: "#swagger-ui"\nvalidatorUrl: "https://online.swagger.io/validator"\noauth2RedirectUrl: "http://localhost:3200/oauth2-redirect.html"\n'; }, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { var e = { "=": "=0", ":": "=2" }; return "$" + ("" + t).replace(/[=:]/g, function (t) { return e[t]; }); }
|
||
function i(t) { var e = /(=0|=2)/g, n = { "=0": "=", "=2": ":" }; return ("" + ("." === t[0] && "$" === t[1] ? t.substring(2) : t.substring(1))).replace(e, function (t) { return n[t]; }); }
|
||
var o = { escape: r, unescape: i };
|
||
t.exports = o;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(82), i = (n(21), function (t) { var e = this; if (e.instancePool.length) {
|
||
var n = e.instancePool.pop();
|
||
return e.call(n, t), n;
|
||
} return new e(t); }), o = function (t, e) { var n = this; if (n.instancePool.length) {
|
||
var r = n.instancePool.pop();
|
||
return n.call(r, t, e), r;
|
||
} return new n(t, e); }, s = function (t, e, n) { var r = this; if (r.instancePool.length) {
|
||
var i = r.instancePool.pop();
|
||
return r.call(i, t, e, n), i;
|
||
} return new r(t, e, n); }, a = function (t, e, n, r) { var i = this; if (i.instancePool.length) {
|
||
var o = i.instancePool.pop();
|
||
return i.call(o, t, e, n, r), o;
|
||
} return new i(t, e, n, r); }, u = function (t) { var e = this; t instanceof e || r("25"), t.destructor(), e.instancePool.length < e.poolSize && e.instancePool.push(t); }, c = i, l = function (t, e) { var n = t; return n.instancePool = [], n.getPooled = e || c, n.poolSize || (n.poolSize = 10), n.release = u, n; }, h = { addPoolingTo: l, oneArgumentPooler: i, twoArgumentPooler: o, threeArgumentPooler: s, fourArgumentPooler: a };
|
||
t.exports = h;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(53), i = n(192), o = n(514), s = n(515), a = n(37), u = n(516), c = n(517), l = n(518), h = n(521), f = a.createElement, p = a.createFactory, d = a.cloneElement, m = r, v = function (t) { return t; }, y = { Children: { map: o.map, forEach: o.forEach, count: o.count, toArray: o.toArray, only: h }, Component: i.Component, PureComponent: i.PureComponent, createElement: f, cloneElement: d, isValidElement: a.isValidElement, PropTypes: u, createClass: l, createFactory: p, createMixin: v, DOM: s, version: c, __spread: m };
|
||
t.exports = y;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return ("" + t).replace(b, "$&/"); }
|
||
function i(t, e) { this.func = t, this.context = e, this.count = 0; }
|
||
function o(t, e, n) { var r = t.func, i = t.context; r.call(i, e, t.count++); }
|
||
function s(t, e, n) { if (null == t)
|
||
return t; var r = i.getPooled(e, n); y(t, o, r), i.release(r); }
|
||
function a(t, e, n, r) { this.result = t, this.keyPrefix = e, this.func = n, this.context = r, this.count = 0; }
|
||
function u(t, e, n) { var i = t.result, o = t.keyPrefix, s = t.func, a = t.context, u = s.call(a, e, t.count++); Array.isArray(u) ? c(u, i, n, v.thatReturnsArgument) : null != u && (m.isValidElement(u) && (u = m.cloneAndReplaceKey(u, o + (!u.key || e && e.key === u.key ? "" : r(u.key) + "/") + n)), i.push(u)); }
|
||
function c(t, e, n, i, o) { var s = ""; null != n && (s = r(n) + "/"); var c = a.getPooled(e, s, i, o); y(t, u, c), a.release(c); }
|
||
function l(t, e, n) { if (null == t)
|
||
return t; var r = []; return c(t, r, null, e, n), r; }
|
||
function h(t, e, n) { return null; }
|
||
function f(t, e) { return y(t, h, null); }
|
||
function p(t) { var e = []; return c(t, e, null, v.thatReturnsArgument), e; }
|
||
var d = n(512), m = n(37), v = n(68), y = n(522), g = d.twoArgumentPooler, x = d.fourArgumentPooler, b = /\/+/g;
|
||
i.prototype.destructor = function () { this.func = null, this.context = null, this.count = 0; }, d.addPoolingTo(i, g), a.prototype.destructor = function () { this.result = null, this.keyPrefix = null, this.func = null, this.context = null, this.count = 0; }, d.addPoolingTo(a, x);
|
||
var D = { forEach: s, map: l, mapIntoWithKeyPrefixInternal: c, count: f, toArray: p };
|
||
t.exports = D;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(37), i = r.createFactory, o = { a: i("a"), abbr: i("abbr"), address: i("address"), area: i("area"), article: i("article"), aside: i("aside"), audio: i("audio"), b: i("b"), base: i("base"), bdi: i("bdi"), bdo: i("bdo"), big: i("big"), blockquote: i("blockquote"), body: i("body"), br: i("br"), button: i("button"), canvas: i("canvas"), caption: i("caption"), cite: i("cite"), code: i("code"), col: i("col"), colgroup: i("colgroup"), data: i("data"), datalist: i("datalist"), dd: i("dd"), del: i("del"), details: i("details"), dfn: i("dfn"), dialog: i("dialog"), div: i("div"), dl: i("dl"), dt: i("dt"), em: i("em"), embed: i("embed"), fieldset: i("fieldset"), figcaption: i("figcaption"), figure: i("figure"), footer: i("footer"), form: i("form"), h1: i("h1"), h2: i("h2"), h3: i("h3"), h4: i("h4"), h5: i("h5"), h6: i("h6"), head: i("head"), header: i("header"), hgroup: i("hgroup"), hr: i("hr"), html: i("html"), i: i("i"), iframe: i("iframe"), img: i("img"), input: i("input"), ins: i("ins"), kbd: i("kbd"), keygen: i("keygen"), label: i("label"), legend: i("legend"), li: i("li"), link: i("link"), main: i("main"), map: i("map"), mark: i("mark"), menu: i("menu"), menuitem: i("menuitem"), meta: i("meta"), meter: i("meter"), nav: i("nav"), noscript: i("noscript"), object: i("object"), ol: i("ol"), optgroup: i("optgroup"), option: i("option"), output: i("output"), p: i("p"), param: i("param"), picture: i("picture"), pre: i("pre"), progress: i("progress"), q: i("q"), rp: i("rp"), rt: i("rt"), ruby: i("ruby"), s: i("s"), samp: i("samp"), script: i("script"), section: i("section"), select: i("select"), small: i("small"), source: i("source"), span: i("span"), strong: i("strong"), style: i("style"), sub: i("sub"), summary: i("summary"), sup: i("sup"), table: i("table"), tbody: i("tbody"), td: i("td"), textarea: i("textarea"), tfoot: i("tfoot"), th: i("th"), thead: i("thead"), time: i("time"), title: i("title"), tr: i("tr"), track: i("track"), u: i("u"), ul: i("ul"), var: i("var"), video: i("video"), wbr: i("wbr"), circle: i("circle"), clipPath: i("clipPath"), defs: i("defs"), ellipse: i("ellipse"), g: i("g"), image: i("image"), line: i("line"), linearGradient: i("linearGradient"), mask: i("mask"), path: i("path"), pattern: i("pattern"), polygon: i("polygon"), polyline: i("polyline"), radialGradient: i("radialGradient"), rect: i("rect"), stop: i("stop"), svg: i("svg"), text: i("text"), tspan: i("tspan") };
|
||
t.exports = o;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(37), i = r.isValidElement, o = n(507);
|
||
t.exports = o(i);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = "15.6.2";
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(192), i = r.Component, o = n(37), s = o.isValidElement, a = n(195), u = n(325);
|
||
t.exports = u(i, s, a);
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { var e = t && (i && t[i] || t[o]); if ("function" == typeof e)
|
||
return e; }
|
||
var i = "function" == typeof Symbol && Symbol.iterator, o = "@@iterator";
|
||
t.exports = r;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = function () { };
|
||
t.exports = r;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { return o.isValidElement(t) || i("143"), t; }
|
||
var i = n(82), o = n(37);
|
||
n(21);
|
||
t.exports = r;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t, e) { return t && "object" == typeof t && null != t.key ? c.escape(t.key) : e.toString(36); }
|
||
function i(t, e, n, o) { var f = typeof t; if ("undefined" !== f && "boolean" !== f || (t = null), null === t || "string" === f || "number" === f || "object" === f && t.$$typeof === a)
|
||
return n(o, t, "" === e ? l + r(t, 0) : e), 1; var p, d, m = 0, v = "" === e ? l : e + h; if (Array.isArray(t))
|
||
for (var y = 0; y < t.length; y++)
|
||
p = t[y], d = v + r(p, y), m += i(p, d, n, o);
|
||
else {
|
||
var g = u(t);
|
||
if (g) {
|
||
var x, b = g.call(t);
|
||
if (g !== t.entries)
|
||
for (var D = 0; !(x = b.next()).done;)
|
||
p = x.value, d = v + r(p, D++), m += i(p, d, n, o);
|
||
else
|
||
for (; !(x = b.next()).done;) {
|
||
var E = x.value;
|
||
E && (p = E[1], d = v + c.escape(E[0]) + h + r(p, 0), m += i(p, d, n, o));
|
||
}
|
||
}
|
||
else if ("object" === f) {
|
||
var w = "", _ = String(t);
|
||
s("31", "[object Object]" === _ ? "object with keys {" + Object.keys(t).join(", ") + "}" : _, w);
|
||
}
|
||
} return m; }
|
||
function o(t, e, n) { return null == t ? 0 : i(t, "", e, n); }
|
||
var s = n(82), a = (n(193), n(194)), u = n(519), c = (n(21), n(511)), l = (n(69), "."), h = ":";
|
||
t.exports = o;
|
||
}, function (t, e, n) { t.exports = n(23); }, function (t, e, n) {
|
||
"use strict";
|
||
function r(t) { if (!(this instanceof r))
|
||
return new r(t); i.call(this, t); }
|
||
t.exports = r;
|
||
var i = n(199), o = n(45);
|
||
o.inherits = n(32), o.inherits(r, i), r.prototype._transform = function (t, e, n) { n(null, t); };
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
function r(t, e) { if (!(t instanceof e))
|
||
throw new TypeError("Cannot call a class as a function"); }
|
||
function i(t, e, n) { t.copy(e, n); }
|
||
var o = n(83).Buffer, s = n(538);
|
||
t.exports = function () { function t() { r(this, t), this.head = null, this.tail = null, this.length = 0; } return t.prototype.push = function (t) { var e = { data: t, next: null }; this.length > 0 ? this.tail.next = e : this.head = e, this.tail = e, ++this.length; }, t.prototype.unshift = function (t) { var e = { data: t, next: this.head }; 0 === this.length && (this.tail = e), this.head = e, ++this.length; }, t.prototype.shift = function () { if (0 !== this.length) {
|
||
var t = this.head.data;
|
||
return 1 === this.length ? this.head = this.tail = null : this.head = this.head.next, --this.length, t;
|
||
} }, t.prototype.clear = function () { this.head = this.tail = null, this.length = 0; }, t.prototype.join = function (t) { if (0 === this.length)
|
||
return ""; for (var e = this.head, n = "" + e.data; e = e.next;)
|
||
n += t + e.data; return n; }, t.prototype.concat = function (t) { if (0 === this.length)
|
||
return o.alloc(0); if (1 === this.length)
|
||
return this.head.data; for (var e = o.allocUnsafe(t >>> 0), n = this.head, r = 0; n;)
|
||
i(n.data, e, r), r += n.data.length, n = n.next; return e; }, t; }(), s && s.inspect && s.inspect.custom && (t.exports.prototype[s.inspect.custom] = function () { var t = s.inspect({ length: this.length }); return this.constructor.name + " " + t; });
|
||
}, function (t, e, n) { t.exports = n(121).PassThrough; }, function (t, e, n) { t.exports = n(121).Transform; }, function (t, e, n) { t.exports = n(120); }, function (t, e, n) { (function (t, e) { !function (t, n) {
|
||
"use strict";
|
||
function r(t) { "function" != typeof t && (t = new Function("" + t)); for (var e = new Array(arguments.length - 1), n = 0; n < e.length; n++)
|
||
e[n] = arguments[n + 1]; var r = { callback: t, args: e }; return c[u] = r, a(u), u++; }
|
||
function i(t) { delete c[t]; }
|
||
function o(t) { var e = t.callback, r = t.args; switch (r.length) {
|
||
case 0:
|
||
e();
|
||
break;
|
||
case 1:
|
||
e(r[0]);
|
||
break;
|
||
case 2:
|
||
e(r[0], r[1]);
|
||
break;
|
||
case 3:
|
||
e(r[0], r[1], r[2]);
|
||
break;
|
||
default: e.apply(n, r);
|
||
} }
|
||
function s(t) { if (l)
|
||
setTimeout(s, 0, t);
|
||
else {
|
||
var e = c[t];
|
||
if (e) {
|
||
l = !0;
|
||
try {
|
||
o(e);
|
||
}
|
||
finally {
|
||
i(t), l = !1;
|
||
}
|
||
}
|
||
} }
|
||
if (!t.setImmediate) {
|
||
var a, u = 1, c = {}, l = !1, h = t.document, f = Object.getPrototypeOf && Object.getPrototypeOf(t);
|
||
f = f && f.setTimeout ? f : t, "[object process]" === {}.toString.call(t.process) ? function () { a = function (t) { e.nextTick(function () { s(t); }); }; }() : function () { if (t.postMessage && !t.importScripts) {
|
||
var e = !0, n = t.onmessage;
|
||
return t.onmessage = function () { e = !1; }, t.postMessage("", "*"), t.onmessage = n, e;
|
||
} }() ? function () { var e = "setImmediate$" + Math.random() + "$", n = function (n) { n.source === t && "string" == typeof n.data && 0 === n.data.indexOf(e) && s(+n.data.slice(e.length)); }; t.addEventListener ? t.addEventListener("message", n, !1) : t.attachEvent("onmessage", n), a = function (n) { t.postMessage(e + n, "*"); }; }() : t.MessageChannel ? function () { var t = new MessageChannel; t.port1.onmessage = function (t) { s(t.data); }, a = function (e) { t.port2.postMessage(e); }; }() : h && "onreadystatechange" in h.createElement("script") ? function () { var t = h.documentElement; a = function (e) { var n = h.createElement("script"); n.onreadystatechange = function () { s(e), n.onreadystatechange = null, t.removeChild(n), n = null; }, t.appendChild(n); }; }() : function () { a = function (t) { setTimeout(s, 0, t); }; }(), f.setImmediate = r, f.clearImmediate = i;
|
||
}
|
||
}("undefined" == typeof self ? void 0 === t ? this : t : self); }).call(e, n(12), n(36)); }, function (t, e, n) { function r() { i.call(this); } t.exports = r; var i = n(111).EventEmitter; n(32)(r, i), r.Readable = n(121), r.Writable = n(528), r.Duplex = n(523), r.Transform = n(527), r.PassThrough = n(526), r.Stream = r, r.prototype.pipe = function (t, e) { function n(e) { t.writable && !1 === t.write(e) && c.pause && c.pause(); } function r() { c.readable && c.resume && c.resume(); } function o() { l || (l = !0, t.end()); } function s() { l || (l = !0, "function" == typeof t.destroy && t.destroy()); } function a(t) { if (u(), 0 === i.listenerCount(this, "error"))
|
||
throw t; } function u() { c.removeListener("data", n), t.removeListener("drain", r), c.removeListener("end", o), c.removeListener("close", s), c.removeListener("error", a), t.removeListener("error", a), c.removeListener("end", u), c.removeListener("close", u), t.removeListener("close", u); } var c = this; c.on("data", n), t.on("drain", r), t._isStdio || e && !1 === e.end || (c.on("end", o), c.on("close", s)); var l = !1; return c.on("error", a), t.on("error", a), c.on("end", u), c.on("close", u), t.on("close", u), t.emit("pipe", c), t; }; }, function (t, e, n) {
|
||
"use strict";
|
||
t.exports = 2147483647;
|
||
}, function (t, e, n) {
|
||
"use strict";
|
||
var r = n(20), i = n(531);
|
||
t.exports = function (t) { if ((t = r(t)) > i)
|
||
throw new TypeError(t + " exceeds maximum possible timeout"); return t; };
|
||
}, function (t, e) { t.exports = "../public/logo.png"; }, function (t, e, n) { (function (e) { function n(t, e) { function n() { if (!i) {
|
||
if (r("throwDeprecation"))
|
||
throw new Error(e);
|
||
r("traceDeprecation") ? console.trace(e) : console.warn(e), i = !0;
|
||
} return t.apply(this, arguments); } if (r("noDeprecation"))
|
||
return t; var i = !1; return n; } function r(t) { try {
|
||
if (!e.localStorage)
|
||
return !1;
|
||
}
|
||
catch (t) {
|
||
return !1;
|
||
} var n = e.localStorage[t]; return null != n && "true" === String(n).toLowerCase(); } t.exports = n; }).call(e, n(12)); }, function (t, e) { function n(t) { return t && t.replace ? t.replace(/([&"<>'])/g, function (t, e) { return r[e]; }) : t; } var r = { "&": "&", '"': """, "'": "'", "<": "<", ">": ">" }; t.exports = n; }, function (t, e, n) { (function (e) { function r(t, n) { function r(t) { m ? e.nextTick(t) : t(); } function i(t, e) { if (void 0 !== e && (f += e), t && !p && (c = c || new l, p = !0), t && p) {
|
||
var n = f;
|
||
r(function () { c.emit("data", n); }), f = "";
|
||
} } function o(t, e) { a(i, s(t, d, d ? 1 : 0), e); } function u() { if (c) {
|
||
var t = f;
|
||
r(function () { c.emit("data", t), c.emit("end"), c.readable = !1, c.emit("close"); });
|
||
} } "object" != typeof n && (n = { indent: n }); var c = n.stream ? new l : null, f = "", p = !1, d = n.indent ? !0 === n.indent ? h : n.indent : "", m = !0; return r(function () { m = !1; }), n.declaration && function (t) { var e = t.encoding || "UTF-8", n = { version: "1.0", encoding: e }; t.standalone && (n.standalone = t.standalone), o({ "?xml": { _attr: n } }), f = f.replace("/>", "?>"); }(n.declaration), t && t.forEach ? t.forEach(function (e, n) { var r; n + 1 === t.length && (r = u), o(e, r); }) : o(t, u), c ? (c.readable = !0, c) : f; } function i() { var t = Array.prototype.slice.call(arguments), e = { _elem: s(t) }; return e.push = function (t) { if (!this.append)
|
||
throw new Error("not assigned to a parent!"); var e = this, n = this._elem.indent; a(this.append, s(t, n, this._elem.icount + (n ? 1 : 0)), function () { e.append(!0); }); }, e.close = function (t) { void 0 !== t && this.push(t), this.end && this.end(); }, e; } function o(t, e) { return new Array(e || 0).join(t || ""); } function s(t, e, n) { function r(t) { Object.keys(t).forEach(function (e) { f.push(u(e, t[e])); }); } n = n || 0; var i, a = o(e, n), l = t; if ("object" == typeof t) {
|
||
if (i = Object.keys(t)[0], (l = t[i]) && l._elem)
|
||
return l._elem.name = i, l._elem.icount = n, l._elem.indent = e, l._elem.indents = a, l._elem.interrupt = l, l._elem;
|
||
} var h, f = [], p = []; switch (typeof l) {
|
||
case "object":
|
||
if (null === l)
|
||
break;
|
||
l._attr && r(l._attr), l._cdata && p.push(("<![CDATA[" + l._cdata).replace(/\]\]>/g, "]]]]><![CDATA[>") + "]]>"), l.forEach && (h = !1, p.push(""), l.forEach(function (t) { if ("object" == typeof t) {
|
||
"_attr" == Object.keys(t)[0] ? r(t._attr) : p.push(s(t, e, n + 1));
|
||
}
|
||
else
|
||
p.pop(), h = !0, p.push(c(t)); }), h || p.push(""));
|
||
break;
|
||
default: p.push(c(l));
|
||
} return { name: i, interrupt: !1, attributes: f, content: p, icount: n, indents: a, indent: e }; } function a(t, e, n) { function r() { for (; e.content.length;) {
|
||
var r = e.content.shift();
|
||
if (void 0 !== r) {
|
||
if (i(r))
|
||
return;
|
||
a(t, r);
|
||
}
|
||
} t(!1, (o > 1 ? e.indents : "") + (e.name ? "</" + e.name + ">" : "") + (e.indent && !n ? "\n" : "")), n && n(); } function i(e) { return !!e.interrupt && (e.interrupt.append = t, e.interrupt.end = r, e.interrupt = !1, t(!0), !0); } if ("object" != typeof e)
|
||
return t(!1, e); var o = e.interrupt ? 1 : e.content.length; if (t(!1, e.indents + (e.name ? "<" + e.name : "") + (e.attributes.length ? " " + e.attributes.join(" ") : "") + (o ? e.name ? ">" : "" : e.name ? "/>" : "") + (e.indent && o > 1 ? "\n" : "")), !o)
|
||
return t(!1, e.indent ? "\n" : ""); i(e) || r(); } function u(t, e) { return t + '="' + c(e) + '"'; } var c = n(535), l = n(530).Stream, h = " "; t.exports = r, t.exports.element = t.exports.Element = i; }).call(e, n(36)); }, function (t, e) { }, function (t, e) { }, function (t, e, n) { n(205), t.exports = n(206); }]);
|
||
});
|
||
//# sourceMappingURL=swagger-ui-standalone-preset.js.map
|