// Aliyun OSS SDK for JavaScript v6.18.0
// Copyright Aliyun.com, Inc. or its affiliates. All Rights Reserved.
// License at https://github.com/ali-sdk/ali-oss/blob/master/LICENSE
(function (global) {
!(function (e) {
'object' == typeof exports && 'undefined' != typeof module
? (module.exports = e())
: 'function' == typeof define && define.amd
? define([], e)
: (('undefined' != typeof window
? window
: 'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: this
).OSS = e());
})(function () {
return (function n(s, i, o) {
function a(t, e) {
if (!i[t]) {
if (!s[t]) {
var r = 'function' == typeof require && require;
if (!e && r) return r(t, !0);
if (c) return c(t, !0);
throw (((e = new Error("Cannot find module '" + t + "'")).code = 'MODULE_NOT_FOUND'), e);
}
(r = i[t] = { exports: {} }),
s[t][0].call(
r.exports,
function (e) {
return a(s[t][1][e] || e);
},
r,
r.exports,
n,
s,
i,
o
);
}
return i[t].exports;
}
for (var c = 'function' == typeof require && require, e = 0; e < o.length; e++) a(o[e]);
return a;
})(
{
1: [
function (e, t, r) {
'use strict';
var n = e('./browser/client');
(n.Buffer = e('buffer').Buffer),
(n.urllib = e('../shims/xhr')),
(n.version = e('./browser/version').version),
(t.exports = n);
},
{ '../shims/xhr': 449, './browser/client': 3, './browser/version': 6, buffer: 89 }
],
2: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
d = n(e('@babel/runtime/regenerator')),
i = n(e('@babel/runtime/helpers/asyncToGenerator')),
h =
(e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
e('core-js/modules/es.object.keys.js'),
e('core-js/modules/es.array.slice.js'),
e('assert')),
s = e('../common/utils/checkBucketName').checkBucketName,
n = r;
function o(e) {
return Array.isArray ? Array.isArray(e) : '[object Array]' === Object.prototype.toString.call(e);
}
function m(e) {
return e ? (o(e) ? e : [e]) : [];
}
(n.useBucket = function (e) {
return s(e), (this.options.bucket = e), this;
}),
(n.setBucket = function (e) {
return s(e), (this.options.bucket = e), this;
}),
(n.getBucket = function () {
return this.options.bucket;
}),
(n.deleteBucket = (function () {
var r = (0, i.default)(
d.default.mark(function e(t, r) {
var n, s;
return d.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (n = this._bucketRequestParams('DELETE', t, '', r)), (e.next = 3), this.request(n);
case 3:
if (200 === (s = e.sent).status || 204 === s.status)
return e.abrupt('return', { res: s.res });
e.next = 6;
break;
case 6:
return (e.next = 8), this.requestError(s);
case 8:
throw e.sent;
case 9:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()),
(n.putBucketACL = (function () {
var n = (0, i.default)(
d.default.mark(function e(t, r, n) {
var s;
return d.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((s = this._bucketRequestParams('PUT', t, 'acl', n)).headers = { 'x-oss-acl': r }),
(s.successStatuses = [200]),
(e.next = 5),
this.request(s)
);
case 5:
return (
(s = e.sent),
e.abrupt('return', {
bucket: (s.headers.location && s.headers.location.substring(1)) || null,
res: s.res
})
);
case 7:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r) {
return n.apply(this, arguments);
};
})()),
(n.getBucketACL = (function () {
var r = (0, i.default)(
d.default.mark(function e(t, r) {
var n;
return d.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((n = this._bucketRequestParams('GET', t, 'acl', r)).successStatuses = [200]),
(n.xmlResponse = !0),
(e.next = 5),
this.request(n)
);
case 5:
return (
(n = e.sent),
e.abrupt('return', {
acl: n.data.AccessControlList.Grant,
owner: { id: n.data.Owner.ID, displayName: n.data.Owner.DisplayName },
res: n.res
})
);
case 7:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()),
(n.putBucketLogging = (function () {
var n = (0, i.default)(
d.default.mark(function e(t, r, n) {
var s, i;
return d.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(s = this._bucketRequestParams('PUT', t, 'logging', n)),
(i =
'\n\n\n'.concat(
t,
'\n'
)),
r && (i += ''.concat(r, '\n')),
(i += '\n'),
(s.content = i),
(s.mime = 'xml'),
(s.successStatuses = [200]),
(e.next = 9),
this.request(s)
);
case 9:
return (i = e.sent), e.abrupt('return', { res: i.res });
case 11:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r) {
return n.apply(this, arguments);
};
})()),
(n.getBucketLogging = (function () {
var r = (0, i.default)(
d.default.mark(function e(t, r) {
var n, s;
return d.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((n = this._bucketRequestParams('GET', t, 'logging', r)).successStatuses = [200]),
(n.xmlResponse = !0),
(e.next = 5),
this.request(n)
);
case 5:
return (
(n = e.sent),
(s = n.data.LoggingEnabled),
e.abrupt('return', { enable: !!s, prefix: (s && s.TargetPrefix) || null, res: n.res })
);
case 8:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()),
(n.deleteBucketLogging = (function () {
var r = (0, i.default)(
d.default.mark(function e(t, r) {
var n;
return d.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((n = this._bucketRequestParams('DELETE', t, 'logging', r)).successStatuses = [
204, 200
]),
(e.next = 4),
this.request(n)
);
case 4:
return (n = e.sent), e.abrupt('return', { res: n.res });
case 6:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()),
(n.putBucketCORS = (function () {
var n = (0, i.default)(
d.default.mark(function e(t, r, n) {
var s, i, o, a, c, l, u, p, f;
return d.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
for (
h((r = r || []).length, 'rules is required'),
r.forEach(function (e) {
h(e.allowedOrigin, 'allowedOrigin is required'),
h(e.allowedMethod, 'allowedMethod is required');
}),
f = this._bucketRequestParams('PUT', t, 'cors', n),
s = '\n',
i = function (e) {
s += ''.concat(e, '');
},
o = function (e) {
s += ''.concat(e, '');
},
a = function (e) {
s += ''.concat(e, '');
},
c = function (e) {
s += ''.concat(e, '');
},
l = 0,
u = r.length;
l < u;
l++
)
(p = r[l]),
(s += ''),
m(p.allowedOrigin).forEach(i),
m(p.allowedMethod).forEach(o),
m(p.allowedHeader).forEach(a),
m(p.exposeHeader).forEach(c),
p.maxAgeSeconds &&
(s += ''.concat(p.maxAgeSeconds, '')),
(s += '');
return (
(s += ''),
(f.content = s),
(f.mime = 'xml'),
(f.successStatuses = [200]),
(e.next = 16),
this.request(f)
);
case 16:
return (f = e.sent), e.abrupt('return', { res: f.res });
case 18:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r) {
return n.apply(this, arguments);
};
})()),
(n.getBucketCORS = (function () {
var r = (0, i.default)(
d.default.mark(function e(t, r) {
var n, s, i;
return d.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((n = this._bucketRequestParams('GET', t, 'cors', r)).successStatuses = [200]),
(n.xmlResponse = !0),
(e.next = 5),
this.request(n)
);
case 5:
return (
(n = e.sent),
(s = []),
n.data &&
n.data.CORSRule &&
(i = o((i = n.data.CORSRule)) ? i : [i]).forEach(function (t) {
var r = {};
Object.keys(t).forEach(function (e) {
r[e.slice(0, 1).toLowerCase() + e.slice(1, e.length)] = t[e];
}),
s.push(r);
}),
e.abrupt('return', { rules: s, res: n.res })
);
case 9:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()),
(n.deleteBucketCORS = (function () {
var r = (0, i.default)(
d.default.mark(function e(t, r) {
var n;
return d.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((n = this._bucketRequestParams('DELETE', t, 'cors', r)).successStatuses = [204]),
(e.next = 4),
this.request(n)
);
case 4:
return (n = e.sent), e.abrupt('return', { res: n.res });
case 6:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()),
(n.putBucketReferer = (function () {
var s = (0, i.default)(
d.default.mark(function e(t, r, n, s) {
var i, o, a;
return d.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (
((a = this._bucketRequestParams('PUT', t, 'referer', s)),
(i = '\n\n'),
(i += ' '.concat(r ? 'true' : 'false', '\n')),
n && 0 < n.length)
) {
for (i += ' \n', o = 0; o < n.length; o++)
i += ' '.concat(n[o], '\n');
i += ' \n';
} else i += ' \n';
return (
(i += ''),
(a.content = i),
(a.mime = 'xml'),
(a.successStatuses = [200]),
(e.next = 10),
this.request(a)
);
case 10:
return (a = e.sent), e.abrupt('return', { res: a.res });
case 12:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r, n) {
return s.apply(this, arguments);
};
})()),
(n.getBucketReferer = (function () {
var r = (0, i.default)(
d.default.mark(function e(t, r) {
var n, s;
return d.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((n = this._bucketRequestParams('GET', t, 'referer', r)).successStatuses = [200]),
(n.xmlResponse = !0),
(e.next = 5),
this.request(n)
);
case 5:
return (
(n = e.sent),
(s = n.data.RefererList.Referer || null) && !o(s) && (s = [s]),
e.abrupt('return', {
allowEmpty: 'true' === n.data.AllowEmptyReferer,
referers: s,
res: n.res
})
);
case 9:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()),
(n.deleteBucketReferer = (function () {
var r = (0, i.default)(
d.default.mark(function e(t, r) {
return d.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (e.next = 2), this.putBucketReferer(t, !0, null, r);
case 2:
return e.abrupt('return', e.sent);
case 3:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()),
(n._bucketRequestParams = function (e, t, r, n) {
return { method: e, bucket: t, subres: r, timeout: n && n.timeout, ctx: n && n.ctx };
});
},
{
'../common/utils/checkBucketName': 51,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
assert: 81,
'core-js/modules/es.array.slice.js': 278,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/web.dom-collections.for-each.js': 338
}
],
3: [
function (E, _, e) {
!function (T, k) {
!function () {
'use strict';
var e = E('@babel/runtime/helpers/interopRequireDefault'),
c = e(E('@babel/runtime/regenerator')),
r = e(E('@babel/runtime/helpers/asyncToGenerator')),
e =
(E('core-js/modules/es.function.name.js'),
E('core-js/modules/es.regexp.exec.js'),
E('core-js/modules/es.string.split.js'),
E('core-js/modules/es.object.assign.js'),
E('core-js/modules/es.array.includes.js'),
E('core-js/modules/es.string.replace.js'),
E('core-js/modules/es.array.concat.js'),
E('core-js/modules/es.symbol.js'),
E('core-js/modules/es.symbol.description.js'),
E('core-js/modules/es.array.slice.js'),
E('core-js/modules/es.object.to-string.js'),
E('core-js/modules/es.promise.js'),
E('core-js/modules/es.regexp.to-string.js'),
E('debug')('ali-oss')),
t = E('xml2js'),
n = E('agentkeepalive'),
s = E('merge-descriptors'),
i = E('platform'),
o = E('utility'),
a = E('urllib'),
l = E('./version'),
u = E('bowser'),
p = E('../common/signUtils'),
f = E('../common/client/initOptions'),
d = E('../common/utils/createRequest').createRequest,
h = E('../common/utils/encoder').encoder,
m = E('../common/client/getReqUrl').getReqUrl,
y = E('../common/utils/setSTSToken').setSTSToken,
b = E('../common/utils/retry').retry,
g = E('../common/utils/isFunction').isFunction,
v = new n();
function j(e, t) {
var r, n;
if (
((r = i.name),
(n = i.version),
r &&
r.toLowerCase &&
'ie' === r.toLowerCase() &&
n.split('.')[0] < 10 &&
console.warn('ali-oss does not support the current browser'),
!(this instanceof j))
)
return new j(e, t);
e && e.inited ? (this.options = e) : (this.options = j.initOptions(e)),
(this.options.cancelFlag = !1),
this.options.urllib
? (this.urllib = this.options.urllib)
: ((this.urllib = a), (this.agent = this.options.agent || v)),
(this.ctx = t),
(this.userAgent = this._getUserAgent()),
(this.stsTokenFreshTime = new Date()),
(this.options.amendTimeSkewed = 0);
}
(_.exports = j).initOptions = function (e) {
e.stsToken ||
console.warn(
'Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html'
);
e = Object.assign({ secure: location && 'https:' === location.protocol, useFetch: !1 }, e);
return f(e);
};
n = j.prototype;
function w(e) {
return x.apply(this, arguments);
}
function x() {
return (x = (0, r.default)(
c.default.mark(function e(t) {
var r, n, s, i, o, a;
return c.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (this.options.stsToken && g(this.options.refreshSTSToken))
return (e.next = 3), y.call(this);
e.next = 3;
break;
case 3:
return (
(r = d.call(this, t)),
this.options.useFetch || (r.params.mode = 'disable-fetch'),
(i = !!t.stream),
(e.prev = 6),
(e.next = 9),
this.urllib.request(r.url, r.params)
);
case 9:
(n = e.sent),
this.debug(
'response %s %s, got %s, headers: %j',
t.method,
r.url,
n.status,
n.headers,
'info'
),
(e.next = 16);
break;
case 13:
(e.prev = 13), (e.t0 = e.catch(6)), (s = e.t0);
case 16:
if (n && t.successStatuses && -1 === t.successStatuses.indexOf(n.status))
return (e.next = 19), this.requestError(n);
e.next = 28;
break;
case 19:
if ('RequestTimeTooSkewed' !== (o = e.sent).code || i) {
e.next = 25;
break;
}
return (
(this.options.amendTimeSkewed = +new Date(o.serverTime) - new Date()),
(e.next = 24),
this.request(t)
);
case 24:
return e.abrupt('return', e.sent);
case 25:
(o.params = t), (e.next = 32);
break;
case 28:
if (s) return (e.next = 31), this.requestError(s);
e.next = 32;
break;
case 31:
o = e.sent;
case 32:
if (o) throw o;
e.next = 34;
break;
case 34:
if (t.xmlResponse) return (e.next = 37), this.parseXML(n.data);
e.next = 39;
break;
case 37:
(a = e.sent), (n.data = a);
case 39:
return e.abrupt('return', n);
case 40:
case 'end':
return e.stop();
}
},
e,
this,
[[6, 13]]
);
})
)).apply(this, arguments);
}
(n.debug = e),
s(n, E('./object')),
s(n, E('./bucket')),
s(n, E('../common/bucket/getBucketWebsite')),
s(n, E('../common/bucket/putBucketWebsite')),
s(n, E('../common/bucket/deleteBucketWebsite')),
s(n, E('../common/bucket/getBucketLifecycle')),
s(n, E('../common/bucket/putBucketLifecycle')),
s(n, E('../common/bucket/deleteBucketLifecycle')),
s(n, E('../common/bucket/putBucketVersioning')),
s(n, E('../common/bucket/getBucketVersioning')),
s(n, E('../common/bucket/getBucketInventory')),
s(n, E('../common/bucket/deleteBucketInventory')),
s(n, E('../common/bucket/listBucketInventory')),
s(n, E('../common/bucket/putBucketInventory')),
s(n, E('../common/bucket/abortBucketWorm')),
s(n, E('../common/bucket/completeBucketWorm')),
s(n, E('../common/bucket/extendBucketWorm')),
s(n, E('../common/bucket/getBucketWorm')),
s(n, E('../common/bucket/initiateBucketWorm')),
s(n, E('./managed-upload')),
s(n, E('../common/multipart-copy')),
s(n, E('../common/multipart')),
s(n, E('../common/parallel')),
(n.signature = function (e) {
return (
this.debug('authorization stringToSign: %s', e, 'info'),
p.computeSignature(this.options.accessKeySecret, e, this.options.headerEncoding)
);
}),
(n._getReqUrl = m),
(n.authorization = function (e, t, r, n) {
e = p.buildCanonicalString(e.toUpperCase(), t, { headers: n, parameters: r });
return p.authorization(
this.options.accessKeyId,
this.options.accessKeySecret,
e,
this.options.headerEncoding
);
}),
(n.request = (function () {
var t = (0, r.default)(
c.default.mark(function e(n) {
var s = this;
return c.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (this.options.retryMax)
return (
(e.next = 3),
b(w.bind(this), this.options.retryMax, {
errorHandler: function (e) {
return !!(function (e) {
if (n.stream) return !1;
var t = [-1, -2].includes(e.status),
r =
s.options.requestErrorRetryHandle ||
function () {
return !0;
};
return t && r(e);
})(e);
}
})(n)
);
e.next = 6;
break;
case 3:
return e.abrupt('return', e.sent);
case 6:
return e.abrupt('return', w.call(this, n));
case 7:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e) {
return t.apply(this, arguments);
};
})()),
(n._getResource = function (e) {
var t = '/';
return (
e.bucket && (t += ''.concat(e.bucket, '/')),
e.object && (t += h(e.object, this.options.headerEncoding)),
t
);
}),
(n._escape = function (e) {
return o.encodeURIComponent(e).replace(/%2F/g, '/');
}),
(n._getUserAgent = function () {
var e = k && k.browser ? 'js' : 'nodejs',
e = 'aliyun-sdk-'.concat(e, '/').concat(l.version),
t = i.description;
return (
!t &&
k &&
(t = 'Node.js '.concat(k.version.slice(1), ' on ').concat(k.platform, ' ').concat(k.arch)),
this._checkUserAgent(''.concat(e, ' ').concat(t))
);
}),
(n._checkUserAgent = function (e) {
return e.replace(/\u03b1/, 'alpha').replace(/\u03b2/, 'beta');
}),
(n.checkBrowserAndVersion = function (e, t) {
return u.name === e && u.version.split('.')[0] === t;
}),
(n.parseXML = function (e) {
return new Promise(function (r, n) {
T.isBuffer(e) && (e = e.toString()),
t.parseString(e, { explicitRoot: !1, explicitArray: !1 }, function (e, t) {
e ? n(e) : r(t);
});
});
}),
(n.requestError = (function () {
var t = (0, r.default)(
c.default.mark(function e(t) {
var r, n, s, i;
return c.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (((r = null), t.data && t.data.length)) {
e.next = 5;
break;
}
-1 === t.status || -2 === t.status
? (((r = new Error(t.message)).name = t.name),
(r.status = t.status),
(r.code = t.name))
: (404 === t.status
? (((r = new Error('Object not exists')).name = 'NoSuchKeyError'),
(r.status = 404),
(r.code = 'NoSuchKey'))
: 412 === t.status
? (((r = new Error('Pre condition failed')).name = 'PreconditionFailedError'),
(r.status = 412),
(r.code = 'PreconditionFailed'))
: (((r = new Error('Unknow error, status: '.concat(t.status))).name =
'UnknownError'),
(r.status = t.status)),
(r.requestId = t.headers['x-oss-request-id']),
(r.host = '')),
(e.next = 32);
break;
case 5:
return (
(n = String(t.data)),
this.debug('request response error data: %s', n, 'error'),
(e.prev = 7),
(e.next = 10),
this.parseXML(n)
);
case 10:
if (((e.t0 = e.sent), e.t0)) {
e.next = 13;
break;
}
e.t0 = {};
case 13:
(s = e.t0), (e.next = 23);
break;
case 16:
return (
(e.prev = 16),
(e.t1 = e.catch(7)),
this.debug(n, 'error'),
(e.t1.message += '\nraw xml: '.concat(n)),
(e.t1.status = t.status),
(e.t1.requestId = t.headers['x-oss-request-id']),
e.abrupt('return', e.t1)
);
case 23:
(i = s.Message || 'unknow request error, status: '.concat(t.status)),
s.Condition && (i += ' (condition: '.concat(s.Condition, ')')),
((r = new Error(i)).name = s.Code ? ''.concat(s.Code, 'Error') : 'UnknownError'),
(r.status = t.status),
(r.code = s.Code),
(r.requestId = s.RequestId),
(r.hostId = s.HostId),
(r.serverTime = s.ServerTime);
case 32:
return this.debug('generate error %j', r, 'error'), e.abrupt('return', r);
case 34:
case 'end':
return e.stop();
}
},
e,
this,
[[7, 16]]
);
})
);
return function (e) {
return t.apply(this, arguments);
};
})());
}.call(this);
}.call(this, { isBuffer: E('../../node_modules/is-buffer/index.js') }, E('_process'));
},
{
'../../node_modules/is-buffer/index.js': 354,
'../common/bucket/abortBucketWorm': 7,
'../common/bucket/completeBucketWorm': 8,
'../common/bucket/deleteBucketInventory': 9,
'../common/bucket/deleteBucketLifecycle': 10,
'../common/bucket/deleteBucketWebsite': 11,
'../common/bucket/extendBucketWorm': 12,
'../common/bucket/getBucketInventory': 13,
'../common/bucket/getBucketLifecycle': 14,
'../common/bucket/getBucketVersioning': 15,
'../common/bucket/getBucketWebsite': 16,
'../common/bucket/getBucketWorm': 17,
'../common/bucket/initiateBucketWorm': 18,
'../common/bucket/listBucketInventory': 19,
'../common/bucket/putBucketInventory': 20,
'../common/bucket/putBucketLifecycle': 21,
'../common/bucket/putBucketVersioning': 22,
'../common/bucket/putBucketWebsite': 23,
'../common/client/getReqUrl': 25,
'../common/client/initOptions': 26,
'../common/multipart': 30,
'../common/multipart-copy': 29,
'../common/parallel': 49,
'../common/signUtils': 50,
'../common/utils/createRequest': 55,
'../common/utils/encoder': 58,
'../common/utils/isFunction': 66,
'../common/utils/retry': 72,
'../common/utils/setSTSToken': 74,
'./bucket': 2,
'./managed-upload': 4,
'./object': 5,
'./version': 6,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
_process: 441,
agentkeepalive: 80,
bowser: 86,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.array.includes.js': 274,
'core-js/modules/es.array.slice.js': 278,
'core-js/modules/es.function.name.js': 281,
'core-js/modules/es.object.assign.js': 284,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.promise.js': 294,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.regexp.to-string.js': 300,
'core-js/modules/es.string.replace.js': 304,
'core-js/modules/es.string.split.js': 306,
'core-js/modules/es.symbol.description.js': 309,
'core-js/modules/es.symbol.js': 312,
debug: 439,
'merge-descriptors': 357,
platform: 364,
urllib: 449,
utility: 448,
xml2js: 400
}
],
4: [
function (s, e, i) {
!function (o) {
!function () {
'use strict';
var e = s('@babel/runtime/helpers/interopRequireDefault'),
b = e(s('@babel/runtime/regenerator')),
g =
(s('core-js/modules/es.function.name.js'),
s('core-js/modules/es.object.to-string.js'),
s('core-js/modules/es.promise.js'),
s('core-js/modules/es.array.from.js'),
s('core-js/modules/es.string.iterator.js'),
s('core-js/modules/es.array.map.js'),
s('core-js/modules/es.array.filter.js'),
s('core-js/modules/es.array.find.js'),
s('core-js/modules/es.array.concat.js'),
s('core-js/modules/es.regexp.to-string.js'),
s('core-js/modules/es.array.slice.js'),
s('core-js/modules/es.array.iterator.js'),
s('core-js/modules/es.array-buffer.slice.js'),
s('core-js/modules/es.typed-array.uint8-array.js'),
s('core-js/modules/es.typed-array.copy-within.js'),
s('core-js/modules/es.typed-array.every.js'),
s('core-js/modules/es.typed-array.fill.js'),
s('core-js/modules/es.typed-array.filter.js'),
s('core-js/modules/es.typed-array.find.js'),
s('core-js/modules/es.typed-array.find-index.js'),
s('core-js/modules/es.typed-array.for-each.js'),
s('core-js/modules/es.typed-array.includes.js'),
s('core-js/modules/es.typed-array.index-of.js'),
s('core-js/modules/es.typed-array.iterator.js'),
s('core-js/modules/es.typed-array.join.js'),
s('core-js/modules/es.typed-array.last-index-of.js'),
s('core-js/modules/es.typed-array.map.js'),
s('core-js/modules/es.typed-array.reduce.js'),
s('core-js/modules/es.typed-array.reduce-right.js'),
s('core-js/modules/es.typed-array.reverse.js'),
s('core-js/modules/es.typed-array.set.js'),
s('core-js/modules/es.typed-array.slice.js'),
s('core-js/modules/es.typed-array.some.js'),
s('core-js/modules/es.typed-array.sort.js'),
s('core-js/modules/es.typed-array.subarray.js'),
s('core-js/modules/es.typed-array.to-locale-string.js'),
s('core-js/modules/es.typed-array.to-string.js'),
e(s('@babel/runtime/helpers/asyncToGenerator'))),
e = s('util'),
p = s('path'),
f = s('mime'),
v = s('copy-to'),
d = s('../common/utils/isBlob').isBlob,
h = s('../common/utils/isFile').isFile,
m = s('../common/utils/isBuffer').isBuffer,
t = i;
(t.multipartUpload = (function () {
var r = (0, g.default)(
b.default.mark(function e(t, r) {
var n,
s,
i,
o,
a,
c,
l,
u = arguments;
return b.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (
((n = 2 < u.length && void 0 !== u[2] ? u[2] : {}),
this.resetCancelFlag(),
(n.disabledMD5 = void 0 === n.disabledMD5 || !!n.disabledMD5),
n.checkpoint && n.checkpoint.uploadId)
)
return (
r && h(r) && (n.checkpoint.file = r),
(e.next = 7),
this._resumeMultipart(n.checkpoint, n)
);
e.next = 8;
break;
case 7:
return e.abrupt('return', e.sent);
case 8:
return (
(s = 102400),
n.mime ||
(h(r)
? (n.mime = f.getType(p.extname(r.name)))
: d(r)
? (n.mime = r.type)
: m(r)
? (n.mime = '')
: (n.mime = f.getType(p.extname(r)))),
(n.headers = n.headers || {}),
this._convertMetaToHeaders(n.meta, n.headers),
(e.next = 14),
this._getFileSize(r)
);
case 14:
if ((i = e.sent) < s) return (n.contentLength = i), (e.next = 19), this.put(t, r, n);
e.next = 26;
break;
case 19:
if (((o = e.sent), n && n.progress)) return (e.next = 23), n.progress(1);
e.next = 23;
break;
case 23:
return (
(a = { res: o.res, bucket: this.options.bucket, name: t, etag: o.res.headers.etag }),
((n.headers && n.headers['x-oss-callback']) || n.callback) && (a.data = o.data),
e.abrupt('return', a)
);
case 26:
if (n.partSize && parseInt(n.partSize, 10) !== n.partSize)
throw new Error('partSize must be int number');
e.next = 28;
break;
case 28:
if (n.partSize && n.partSize < s)
throw new Error('partSize must not be smaller than '.concat(s));
e.next = 30;
break;
case 30:
return (e.next = 32), this.initMultipartUpload(t, n);
case 32:
if (
((a = e.sent),
(c = a.uploadId),
(l = this._getPartSize(i, n.partSize)),
(l = { file: r, name: t, fileSize: i, partSize: l, uploadId: c, doneParts: [] }),
n && n.progress)
)
return (e.next = 39), n.progress(0, l, a.res);
e.next = 39;
break;
case 39:
return (e.next = 41), this._resumeMultipart(l, n);
case 41:
return e.abrupt('return', e.sent);
case 42:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()),
(t._resumeMultipart = (function () {
var r = (0, g.default)(
b.default.mark(function e(c, l) {
var n, u, p, f, d, s, h, m, y, i, t, r, o, a;
return b.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if ((n = this).isCancel()) throw this._makeCancelEvent();
e.next = 3;
break;
case 3:
return (
(u = c.file),
(r = c.fileSize),
(a = c.partSize),
(p = c.uploadId),
(f = c.doneParts),
(d = c.name),
(s = []),
0 < f.length && v(f).to(s),
(h = this._divideParts(r, a)),
(m = h.length),
(y = !1),
(i = function (o, a) {
return new Promise(
(function () {
var r = (0, g.default)(
b.default.mark(function e(t, r) {
var n, s, i;
return b.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (((e.prev = 0), o.isCancel())) {
e.next = 29;
break;
}
return (
(n = h[a - 1]),
(e.next = 5),
o._createBuffer(u, n.start, n.end)
);
case 5:
return (
(i = e.sent),
(i = { content: i, size: n.end - n.start }),
(e.prev = 7),
(e.next = 10),
o._uploadPart(d, p, a, i, l)
);
case 10:
(s = e.sent), (e.next = 18);
break;
case 13:
if (((e.prev = 13), (e.t0 = e.catch(7)), 404 === e.t0.status))
throw o._makeAbortEvent();
e.next = 17;
break;
case 17:
throw e.t0;
case 18:
if (o.isCancel() || y) {
e.next = 26;
break;
}
if (
(c.doneParts.push({ number: a, etag: s.res.headers.etag }),
l.progress)
)
return (
(e.next = 23), l.progress(f.length / (m + 1), c, s.res)
);
e.next = 23;
break;
case 23:
t({ number: a, etag: s.res.headers.etag }), (e.next = 27);
break;
case 26:
t();
case 27:
e.next = 30;
break;
case 29:
t();
case 30:
e.next = 41;
break;
case 32:
(e.prev = 32),
(e.t1 = e.catch(0)),
((i = new Error()).name = e.t1.name),
(i.message = e.t1.message),
(i.stack = e.t1.stack),
(i.partNum = a),
v(e.t1).to(i),
r(i);
case 41:
case 'end':
return e.stop();
}
},
e,
null,
[
[0, 32],
[7, 13]
]
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()
);
}),
(r = Array.from(new Array(m), function (e, t) {
return t + 1;
})),
(t = s.map(function (e) {
return e.number;
})),
(a = r.filter(function (e) {
return t.indexOf(e) < 0;
})),
(r = l.parallel || 5),
(e.next = 17),
this._parallel(a, r, function (e) {
return new Promise(function (t, r) {
i(n, e)
.then(function (e) {
e && s.push(e), t();
})
.catch(function (e) {
r(e);
});
});
})
);
case 17:
if (
((o = e.sent),
(y = !0),
(a = o.find(function (e) {
return 'abort' === e.name;
})))
)
throw a;
e.next = 22;
break;
case 22:
if (this.isCancel()) throw ((i = null), this._makeCancelEvent());
e.next = 25;
break;
case 25:
if (o && 0 < o.length)
throw (
((o[0].message = 'Failed to upload some parts with error: '
.concat(o[0].toString(), ' part_num: ')
.concat(o[0].partNum)),
o[0])
);
e.next = 28;
break;
case 28:
return (e.next = 30), this.completeMultipartUpload(d, p, s, l);
case 30:
return e.abrupt('return', e.sent);
case 31:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()),
(t._getFileSize = (function () {
var t = (0, g.default)(
b.default.mark(function e(t) {
return b.default.wrap(function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (m(t)) return e.abrupt('return', t.length);
e.next = 4;
break;
case 4:
if (d(t) || h(t)) return e.abrupt('return', t.size);
e.next = 6;
break;
case 6:
throw new Error('_getFileSize requires Buffer/File/Blob.');
case 7:
case 'end':
return e.stop();
}
}, e);
})
);
return function (e) {
return t.apply(this, arguments);
};
})());
var r = s('stream').Readable;
function n(e, t) {
if (!(this instanceof n)) return new n(e, t);
r.call(this, t),
(this.file = e),
(this.reader = new FileReader()),
(this.start = 0),
(this.finish = !1),
(this.fileBuffer = null);
}
e.inherits(n, r),
(n.prototype.readFileAndPush = function (e) {
if (this.fileBuffer)
for (var t = !0; t && this.fileBuffer && this.start < this.fileBuffer.length; ) {
var r = this.start,
n = (n = r + e) > this.fileBuffer.length ? this.fileBuffer.length : n;
(this.start = n), (t = this.push(this.fileBuffer.slice(r, n)));
}
}),
(n.prototype._read = function (t) {
if (
(this.file && this.start >= this.file.size) ||
(this.fileBuffer && this.start >= this.fileBuffer.length) ||
this.finish ||
(0 === this.start && !this.file)
)
return this.finish || ((this.fileBuffer = null), (this.finish = !0)), void this.push(null);
t = t || 16384;
var r = this;
(this.reader.onload = function (e) {
(r.fileBuffer = o.from(new Uint8Array(e.target.result))), (r.file = null), r.readFileAndPush(t);
}),
0 === this.start ? this.reader.readAsArrayBuffer(this.file) : this.readFileAndPush(t);
}),
(t._createBuffer = (function () {
var n = (0, g.default)(
b.default.mark(function e(t, r, s) {
var i;
return b.default.wrap(function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (!d(t) && !h(t)) {
e.next = 8;
break;
}
(i = t.slice(r, s)), (e.next = 4);
var n = i;
return n.arrayBuffer
? n.arrayBuffer()
: new Promise(function (t, r) {
var e = new FileReader();
(e.onload = function (e) {
t(e.target.result);
}),
(e.onerror = function (e) {
r(e);
}),
e.readAsArrayBuffer(n);
});
case 4:
return (i = e.sent), e.abrupt('return', o.from(i));
case 8:
if (m(t)) return e.abrupt('return', t.subarray(r, s));
e.next = 12;
break;
case 12:
throw new Error('_createBuffer requires File/Blob/Buffer.');
case 13:
case 'end':
return e.stop();
}
}, e);
})
);
return function (e, t, r) {
return n.apply(this, arguments);
};
})()),
(t._getPartSize = function (e, t) {
t = t || 1048576;
e = Math.ceil(e / 1e4);
return (
t < e &&
((t = e),
console.warn(
'partSize has been set to '.concat(
t,
', because the partSize you provided causes partNumber to be greater than 10,000'
)
)),
t
);
}),
(t._divideParts = function (e, t) {
for (var r = Math.ceil(e / t), n = [], s = 0; s < r; s++) {
var i = t * s,
o = Math.min(i + t, e);
n.push({ start: i, end: o });
}
return n;
});
}.call(this);
}.call(this, s('buffer').Buffer);
},
{
'../common/utils/isBlob': 63,
'../common/utils/isBuffer': 64,
'../common/utils/isFile': 65,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
buffer: 89,
'copy-to': 91,
'core-js/modules/es.array-buffer.slice.js': 268,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.array.filter.js': 271,
'core-js/modules/es.array.find.js': 272,
'core-js/modules/es.array.from.js': 273,
'core-js/modules/es.array.iterator.js': 275,
'core-js/modules/es.array.map.js': 277,
'core-js/modules/es.array.slice.js': 278,
'core-js/modules/es.function.name.js': 281,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.promise.js': 294,
'core-js/modules/es.regexp.to-string.js': 300,
'core-js/modules/es.string.iterator.js': 302,
'core-js/modules/es.typed-array.copy-within.js': 314,
'core-js/modules/es.typed-array.every.js': 315,
'core-js/modules/es.typed-array.fill.js': 316,
'core-js/modules/es.typed-array.filter.js': 317,
'core-js/modules/es.typed-array.find-index.js': 318,
'core-js/modules/es.typed-array.find.js': 319,
'core-js/modules/es.typed-array.for-each.js': 320,
'core-js/modules/es.typed-array.includes.js': 321,
'core-js/modules/es.typed-array.index-of.js': 322,
'core-js/modules/es.typed-array.iterator.js': 323,
'core-js/modules/es.typed-array.join.js': 324,
'core-js/modules/es.typed-array.last-index-of.js': 325,
'core-js/modules/es.typed-array.map.js': 326,
'core-js/modules/es.typed-array.reduce-right.js': 327,
'core-js/modules/es.typed-array.reduce.js': 328,
'core-js/modules/es.typed-array.reverse.js': 329,
'core-js/modules/es.typed-array.set.js': 330,
'core-js/modules/es.typed-array.slice.js': 331,
'core-js/modules/es.typed-array.some.js': 332,
'core-js/modules/es.typed-array.sort.js': 333,
'core-js/modules/es.typed-array.subarray.js': 334,
'core-js/modules/es.typed-array.to-locale-string.js': 335,
'core-js/modules/es.typed-array.to-string.js': 336,
'core-js/modules/es.typed-array.uint8-array.js': 337,
mime: 359,
path: 363,
stream: 387,
util: 394
}
],
5: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
c =
(e('core-js/modules/es.function.name.js'),
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/es.regexp.to-string.js'),
e('core-js/modules/es.array.map.js'),
e('core-js/modules/es.number.constructor.js'),
e('core-js/modules/es.object.assign.js'),
e('core-js/modules/es.regexp.exec.js'),
e('core-js/modules/es.string.replace.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
e('core-js/modules/es.object.keys.js'),
e('core-js/modules/es.promise.js'),
n(e('@babel/runtime/regenerator'))),
s = n(e('@babel/runtime/helpers/asyncToGenerator')),
i = e('fs'),
o = e('copy-to'),
l = e('path'),
u = e('mime'),
p = e('../common/callback'),
n = e('merge-descriptors'),
f = e('../common/utils/isBlob').isBlob,
d = e('../common/utils/isFile').isFile,
h = e('../common/utils/isBuffer').isBuffer,
a = e('../common/utils/obj2xml').obj2xml;
(r.append = (function () {
var n = (0, s.default)(
c.default.mark(function e(t, r, n) {
var s;
return c.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
void 0 === (n = n || {}).position && (n.position = '0'),
(n.subres = { append: '', position: n.position }),
(n.method = 'POST'),
(e.next = 6),
this.put(t, r, n)
);
case 6:
return (
((s = e.sent).nextAppendPosition = s.res.headers['x-oss-next-append-position']),
e.abrupt('return', s)
);
case 9:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r) {
return n.apply(this, arguments);
};
})()),
(r.put = (function () {
var n = (0, s.default)(
c.default.mark(function e(t, r, n) {
var s, i, o, a;
return c.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (
(((n = n || {}).disabledMD5 = void 0 === n.disabledMD5 || !!n.disabledMD5),
(n.headers = n.headers || {}),
(t = this._objectName(t)),
!h(r))
) {
e.next = 8;
break;
}
(s = r), (e.next = 19);
break;
case 8:
if (f(r) || d(r))
return (
n.mime || (d(r) ? (n.mime = u.getType(l.extname(r.name))) : (n.mime = r.type)),
(e.next = 12),
this._createBuffer(r, 0, r.size)
);
e.next = 18;
break;
case 12:
return (s = e.sent), (e.next = 15), this._getFileSize(r);
case 15:
(n.contentLength = e.sent), (e.next = 19);
break;
case 18:
throw new TypeError('Must provide Buffer/Blob/File for put.');
case 19:
return (
this._convertMetaToHeaders(n.meta, n.headers),
(i = n.method || 'PUT'),
(i = this._objectRequestParams(i, t, n)),
p.encodeCallback(i, n),
(i.mime = n.mime),
(i.disabledMD5 = n.disabledMD5),
(i.content = s),
(i.successStatuses = [200]),
(e.next = 29),
this.request(i)
);
case 29:
return (
(o = e.sent),
(a = { name: t, url: this._objectUrl(t), res: o.res }),
i.headers && i.headers['x-oss-callback'] && (a.data = JSON.parse(o.data.toString())),
e.abrupt('return', a)
);
case 33:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r) {
return n.apply(this, arguments);
};
})()),
(r.putStream = (function () {
var n = (0, s.default)(
c.default.mark(function e(t, r, n) {
var s, i, o;
return c.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((n = n || {}).headers = n.headers || {}),
(t = this._objectName(t)),
n.contentLength
? (n.headers['Content-Length'] = n.contentLength)
: (n.headers['Transfer-Encoding'] = 'chunked'),
this._convertMetaToHeaders(n.meta, n.headers),
(s = n.method || 'PUT'),
(s = this._objectRequestParams(s, t, n)),
p.encodeCallback(s, n),
(s.mime = n.mime),
(s.stream = r),
(s.successStatuses = [200]),
(e.next = 13),
this.request(s)
);
case 13:
return (
(i = e.sent),
(o = { name: t, url: this._objectUrl(t), res: i.res }),
s.headers && s.headers['x-oss-callback'] && (o.data = JSON.parse(i.data.toString())),
e.abrupt('return', o)
);
case 17:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r) {
return n.apply(this, arguments);
};
})()),
n(r, e('../common/object/copyObject')),
n(r, e('../common/object/getObjectTagging')),
n(r, e('../common/object/putObjectTagging')),
n(r, e('../common/object/deleteObjectTagging')),
n(r, e('../common/image')),
n(r, e('../common/object/getBucketVersions')),
n(r, e('../common/object/getACL')),
n(r, e('../common/object/putACL')),
n(r, e('../common/object/head')),
n(r, e('../common/object/delete')),
n(r, e('../common/object/get')),
n(r, e('../common/object/putSymlink')),
n(r, e('../common/object/getSymlink')),
n(r, e('../common/object/deleteMulti')),
n(r, e('../common/object/getObjectMeta')),
n(r, e('../common/object/getObjectUrl')),
n(r, e('../common/object/generateObjectUrl')),
n(r, e('../common/object/signatureUrl')),
n(r, e('../common/object/asyncSignatureUrl')),
(r.putMeta = (function () {
var n = (0, s.default)(
c.default.mark(function e(t, r, n) {
var s;
return c.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(e.next = 2),
this.copy(t, t, { meta: r || {}, timeout: n && n.timeout, ctx: n && n.ctx })
);
case 2:
return (s = e.sent), e.abrupt('return', s);
case 4:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r) {
return n.apply(this, arguments);
};
})()),
(r.list = (function () {
var r = (0, s.default)(
c.default.mark(function e(t, r) {
var n, s, i, o;
return c.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((n = this._objectRequestParams('GET', '', r)).query = t),
(n.xmlResponse = !0),
(n.successStatuses = [200]),
(e.next = 6),
this.request(n)
);
case 6:
return (
(n = e.sent),
(s = n.data.Contents || []),
(i = this),
(s =
s &&
(s = Array.isArray(s) ? s : [s]).map(function (e) {
return {
name: e.Key,
url: i._objectUrl(e.Key),
lastModified: e.LastModified,
etag: e.ETag,
type: e.Type,
size: Number(e.Size),
storageClass: e.StorageClass,
owner: { id: e.Owner.ID, displayName: e.Owner.DisplayName }
};
})),
(o =
(o = n.data.CommonPrefixes || null) &&
(o = Array.isArray(o) ? o : [o]).map(function (e) {
return e.Prefix;
})),
e.abrupt('return', {
res: n.res,
objects: s,
prefixes: o,
nextMarker: n.data.NextMarker || null,
isTruncated: 'true' === n.data.IsTruncated
})
);
case 13:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()),
(r.listV2 = (function () {
var t = (0, s.default)(
c.default.mark(function e(t) {
var r,
n,
s,
i,
o = arguments;
return c.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(r = 1 < o.length && void 0 !== o[1] ? o[1] : {}),
(n = t['continuation-token'] || t.continuationToken) &&
(r.subres = Object.assign({ 'continuation-token': n }, r.subres)),
((n = this._objectRequestParams('GET', '', r)).query = Object.assign(
{ 'list-type': 2 },
t
)),
delete n.query['continuation-token'],
delete n.query.continuationToken,
(n.xmlResponse = !0),
(n.successStatuses = [200]),
(e.next = 11),
this.request(n)
);
case 11:
return (
(r = e.sent),
(n = r.data.Contents || []),
(s = this),
(n =
n &&
(n = Array.isArray(n) ? n : [n]).map(function (e) {
var t = null;
return (
e.Owner && (t = { id: e.Owner.ID, displayName: e.Owner.DisplayName }),
{
name: e.Key,
url: s._objectUrl(e.Key),
lastModified: e.LastModified,
etag: e.ETag,
type: e.Type,
size: Number(e.Size),
storageClass: e.StorageClass,
owner: t
}
);
})),
(i =
(i = r.data.CommonPrefixes || null) &&
(i = Array.isArray(i) ? i : [i]).map(function (e) {
return e.Prefix;
})),
e.abrupt('return', {
res: r.res,
objects: n,
prefixes: i,
isTruncated: 'true' === r.data.IsTruncated,
keyCount: +r.data.KeyCount,
continuationToken: r.data.ContinuationToken || null,
nextContinuationToken: r.data.NextContinuationToken || null
})
);
case 18:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e) {
return t.apply(this, arguments);
};
})()),
(r.restore = (function () {
var t = (0, s.default)(
c.default.mark(function e(t) {
var r,
n,
s = arguments;
return c.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((n = (n = 1 < s.length && void 0 !== s[1] ? s[1] : { type: 'Archive' }) || {}).subres =
Object.assign({ restore: '' }, n.subres)),
n.versionId && (n.subres.versionId = n.versionId),
(r = this._objectRequestParams('POST', t, n)),
'ColdArchive' === n.type &&
((n = {
RestoreRequest: {
Days: n.Days || 2,
JobParameters: { Tier: n.JobParameters || 'Standard' }
}
}),
(r.content = a(n, { headers: !0 })),
(r.mime = 'xml')),
(r.successStatuses = [202]),
(e.next = 9),
this.request(r)
);
case 9:
return (n = e.sent), e.abrupt('return', { res: n.res });
case 11:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e) {
return t.apply(this, arguments);
};
})()),
(r._objectUrl = function (e) {
return this._getReqUrl({ bucket: this.options.bucket, object: e });
}),
(r._objectRequestParams = function (e, t, r) {
if (!this.options.bucket && !this.options.cname) throw new Error('Please create a bucket first');
r = r || {};
t = {
object: (t = this._objectName(t)),
bucket: this.options.bucket,
method: e,
subres: r && r.subres,
timeout: r && r.timeout,
ctx: r && r.ctx
};
return r.headers && ((t.headers = {}), o(r.headers).to(t.headers)), t;
}),
(r._objectName = function (e) {
return e.replace(/^\/+/, '');
}),
(r._convertMetaToHeaders = function (t, r) {
t &&
Object.keys(t).forEach(function (e) {
r['x-oss-meta-'.concat(e)] = t[e];
});
}),
(r._deleteFileSafe = function (r) {
var n = this;
return new Promise(function (t) {
i.exists(r, function (e) {
e
? i.unlink(r, function (e) {
e && n.debug('unlink %j error: %s', r, e, 'error'), t();
})
: t();
});
});
});
},
{
'../common/callback': 24,
'../common/image': 27,
'../common/object/asyncSignatureUrl': 31,
'../common/object/copyObject': 32,
'../common/object/delete': 33,
'../common/object/deleteMulti': 34,
'../common/object/deleteObjectTagging': 35,
'../common/object/generateObjectUrl': 36,
'../common/object/get': 37,
'../common/object/getACL': 38,
'../common/object/getBucketVersions': 39,
'../common/object/getObjectMeta': 40,
'../common/object/getObjectTagging': 41,
'../common/object/getObjectUrl': 42,
'../common/object/getSymlink': 43,
'../common/object/head': 44,
'../common/object/putACL': 45,
'../common/object/putObjectTagging': 46,
'../common/object/putSymlink': 47,
'../common/object/signatureUrl': 48,
'../common/utils/isBlob': 63,
'../common/utils/isBuffer': 64,
'../common/utils/isFile': 65,
'../common/utils/obj2xml': 70,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'copy-to': 91,
'core-js/modules/es.array.map.js': 277,
'core-js/modules/es.function.name.js': 281,
'core-js/modules/es.number.constructor.js': 283,
'core-js/modules/es.object.assign.js': 284,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.promise.js': 294,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.regexp.to-string.js': 300,
'core-js/modules/es.string.replace.js': 304,
'core-js/modules/web.dom-collections.for-each.js': 338,
fs: 87,
'merge-descriptors': 357,
mime: 359,
path: 363
}
],
6: [
function (e, t, r) {
'use strict';
r.version = '6.18.0';
},
{}
],
7: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
s = n(e('@babel/runtime/regenerator')),
i = n(e('@babel/runtime/helpers/asyncToGenerator')),
o =
(Object.defineProperty(r, '__esModule', { value: !0 }),
(r.abortBucketWorm = void 0),
e('../utils/checkBucketName'));
function a() {
return (a = (0, i.default)(
s.default.mark(function e(t, r) {
var n;
return s.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
o.checkBucketName(t),
(n = this._bucketRequestParams('DELETE', t, 'worm', r)),
(e.next = 4),
this.request(n)
);
case 4:
return (n = e.sent), e.abrupt('return', { res: n.res, status: n.status });
case 6:
case 'end':
return e.stop();
}
},
e,
this
);
})
)).apply(this, arguments);
}
r.abortBucketWorm = function (e, t) {
return a.apply(this, arguments);
};
},
{
'../utils/checkBucketName': 51,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79
}
],
8: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
i = n(e('@babel/runtime/regenerator')),
s = n(e('@babel/runtime/helpers/asyncToGenerator')),
o =
(Object.defineProperty(r, '__esModule', { value: !0 }),
(r.completeBucketWorm = void 0),
e('../utils/checkBucketName'));
function a() {
return (a = (0, s.default)(
i.default.mark(function e(t, r, n) {
var s;
return i.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
o.checkBucketName(t),
(s = this._bucketRequestParams('POST', t, { wormId: r }, n)),
(e.next = 4),
this.request(s)
);
case 4:
return (s = e.sent), e.abrupt('return', { res: s.res, status: s.status });
case 6:
case 'end':
return e.stop();
}
},
e,
this
);
})
)).apply(this, arguments);
}
r.completeBucketWorm = function (e, t, r) {
return a.apply(this, arguments);
};
},
{
'../utils/checkBucketName': 51,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79
}
],
9: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
o = n(e('@babel/runtime/regenerator')),
s = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
a =
(Object.defineProperty(r, '__esModule', { value: !0 }),
(r.deleteBucketInventory = void 0),
e('../utils/checkBucketName'));
function i() {
return (i = (0, s.default)(
o.default.mark(function e(t, r) {
var n,
s,
i = arguments;
return o.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(s = 2 < i.length && void 0 !== i[2] ? i[2] : {}),
(n = Object.assign({ inventory: '', inventoryId: r }, s.subres)),
a.checkBucketName(t),
((n = this._bucketRequestParams('DELETE', t, n, s)).successStatuses = [204]),
(e.next = 7),
this.request(n)
);
case 7:
return (s = e.sent), e.abrupt('return', { status: s.status, res: s.res });
case 9:
case 'end':
return e.stop();
}
},
e,
this
);
})
)).apply(this, arguments);
}
r.deleteBucketInventory = function (e, t) {
return i.apply(this, arguments);
};
},
{
'../utils/checkBucketName': 51,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.object.assign.js': 284
}
],
10: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
s = n(e('@babel/runtime/regenerator')),
i = n(e('@babel/runtime/helpers/asyncToGenerator')),
o = e('../utils/checkBucketName').checkBucketName;
r.deleteBucketLifecycle = (function () {
var r = (0, i.default)(
s.default.mark(function e(t, r) {
var n;
return s.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
o(t),
((n = this._bucketRequestParams('DELETE', t, 'lifecycle', r)).successStatuses = [204]),
(e.next = 5),
this.request(n)
);
case 5:
return (n = e.sent), e.abrupt('return', { res: n.res });
case 7:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})();
},
{
'../utils/checkBucketName': 51,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79
}
],
11: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
s = n(e('@babel/runtime/regenerator')),
i = n(e('@babel/runtime/helpers/asyncToGenerator')),
o = e('../utils/checkBucketName').checkBucketName;
r.deleteBucketWebsite = (function () {
var r = (0, i.default)(
s.default.mark(function e(t, r) {
var n;
return s.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
o(t),
((n = this._bucketRequestParams('DELETE', t, 'website', r)).successStatuses = [204]),
(e.next = 5),
this.request(n)
);
case 5:
return (n = e.sent), e.abrupt('return', { res: n.res });
case 7:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})();
},
{
'../utils/checkBucketName': 51,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79
}
],
12: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
a = n(e('@babel/runtime/regenerator')),
s = n(e('@babel/runtime/helpers/asyncToGenerator')),
c =
(Object.defineProperty(r, '__esModule', { value: !0 }),
(r.extendBucketWorm = void 0),
e('../utils/checkBucketName')),
l = e('../utils/obj2xml');
function i() {
return (i = (0, s.default)(
a.default.mark(function e(t, r, n, s) {
var i, o;
return a.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
c.checkBucketName(t),
(i = this._bucketRequestParams('POST', t, { wormExtend: '', wormId: r }, s)),
(o = { ExtendWormConfiguration: { RetentionPeriodInDays: n } }),
(i.mime = 'xml'),
(i.content = l.obj2xml(o, { headers: !0 })),
(i.successStatuses = [200]),
(e.next = 8),
this.request(i)
);
case 8:
return (o = e.sent), e.abrupt('return', { res: o.res, status: o.status });
case 10:
case 'end':
return e.stop();
}
},
e,
this
);
})
)).apply(this, arguments);
}
r.extendBucketWorm = function (e, t, r, n) {
return i.apply(this, arguments);
};
},
{
'../utils/checkBucketName': 51,
'../utils/obj2xml': 70,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79
}
],
13: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
o = n(e('@babel/runtime/regenerator')),
s = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
a =
(Object.defineProperty(r, '__esModule', { value: !0 }),
(r.getBucketInventory = void 0),
e('../utils/checkBucketName')),
c = e('../utils/formatInventoryConfig');
function i() {
return (i = (0, s.default)(
o.default.mark(function e(t, r) {
var n,
s,
i = arguments;
return o.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(s = 2 < i.length && void 0 !== i[2] ? i[2] : {}),
(n = Object.assign({ inventory: '', inventoryId: r }, s.subres)),
a.checkBucketName(t),
((n = this._bucketRequestParams('GET', t, n, s)).successStatuses = [200]),
(n.xmlResponse = !0),
(e.next = 8),
this.request(n)
);
case 8:
return (
(s = e.sent),
e.abrupt('return', {
status: s.status,
res: s.res,
inventory: c.formatInventoryConfig(s.data)
})
);
case 10:
case 'end':
return e.stop();
}
},
e,
this
);
})
)).apply(this, arguments);
}
r.getBucketInventory = function (e, t) {
return i.apply(this, arguments);
};
},
{
'../utils/checkBucketName': 51,
'../utils/formatInventoryConfig': 59,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.object.assign.js': 284
}
],
14: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
i = n(e('@babel/runtime/regenerator')),
s = (e('core-js/modules/es.array.map.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
o = e('../utils/checkBucketName').checkBucketName,
a = e('../utils/isArray').isArray,
c = e('../utils/formatObjKey').formatObjKey;
r.getBucketLifecycle = (function () {
var r = (0, s.default)(
i.default.mark(function e(t, r) {
var n, s;
return i.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
o(t),
((n = this._bucketRequestParams('GET', t, 'lifecycle', r)).successStatuses = [200]),
(n.xmlResponse = !0),
(e.next = 6),
this.request(n)
);
case 6:
return (
(n = e.sent),
(s =
(s = n.data.Rule || null) &&
(s = a(s) ? s : [s]).map(function (e) {
return (
e.ID && ((e.id = e.ID), delete e.ID),
e.Tag && !a(e.Tag) && (e.Tag = [e.Tag]),
c(e, 'firstLowerCase')
);
})),
e.abrupt('return', { rules: s, res: n.res })
);
case 10:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})();
},
{
'../utils/checkBucketName': 51,
'../utils/formatObjKey': 60,
'../utils/isArray': 62,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.array.map.js': 277
}
],
15: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
i = n(e('@babel/runtime/regenerator')),
s = n(e('@babel/runtime/helpers/asyncToGenerator')),
o = e('../utils/checkBucketName').checkBucketName;
r.getBucketVersioning = (function () {
var r = (0, s.default)(
i.default.mark(function e(t, r) {
var n, s;
return i.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
o(t),
((n = this._bucketRequestParams('GET', t, 'versioning', r)).xmlResponse = !0),
(n.successStatuses = [200]),
(e.next = 6),
this.request(n)
);
case 6:
return (
(n = e.sent),
(s = n.data.Status),
e.abrupt('return', { status: n.status, versionStatus: s, res: n.res })
);
case 9:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})();
},
{
'../utils/checkBucketName': 51,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79
}
],
16: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
i = n(e('@babel/runtime/regenerator')),
s = n(e('@babel/runtime/helpers/asyncToGenerator')),
o = e('../utils/checkBucketName').checkBucketName,
a = e('../utils/isObject').isObject;
r.getBucketWebsite = (function () {
var r = (0, s.default)(
i.default.mark(function e(t, r) {
var n, s;
return i.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
o(t),
((n = this._bucketRequestParams('GET', t, 'website', r)).successStatuses = [200]),
(n.xmlResponse = !0),
(e.next = 6),
this.request(n)
);
case 6:
return (
(n = e.sent),
(s = []),
n.data.RoutingRules &&
n.data.RoutingRules.RoutingRule &&
(s = a(n.data.RoutingRules.RoutingRule)
? [n.data.RoutingRules.RoutingRule]
: n.data.RoutingRules.RoutingRule),
e.abrupt('return', {
index: (n.data.IndexDocument && n.data.IndexDocument.Suffix) || '',
supportSubDir: (n.data.IndexDocument && n.data.IndexDocument.SupportSubDir) || 'false',
type: n.data.IndexDocument && n.data.IndexDocument.Type,
routingRules: s,
error: (n.data.ErrorDocument && n.data.ErrorDocument.Key) || null,
res: n.res
})
);
case 10:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})();
},
{
'../utils/checkBucketName': 51,
'../utils/isObject': 68,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79
}
],
17: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
s = n(e('@babel/runtime/regenerator')),
i = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
o =
(Object.defineProperty(r, '__esModule', { value: !0 }),
(r.getBucketWorm = void 0),
e('../utils/checkBucketName')),
a = e('../utils/dataFix');
function c() {
return (c = (0, i.default)(
s.default.mark(function e(t, r) {
var n;
return s.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
o.checkBucketName(t),
((n = this._bucketRequestParams('GET', t, 'worm', r)).successStatuses = [200]),
(n.xmlResponse = !0),
(e.next = 6),
this.request(n)
);
case 6:
return (
(n = e.sent),
a.dataFix(n.data, { lowerFirst: !0, rename: { RetentionPeriodInDays: 'days' } }),
e.abrupt(
'return',
Object.assign(Object.assign({}, n.data), { res: n.res, status: n.status })
)
);
case 9:
case 'end':
return e.stop();
}
},
e,
this
);
})
)).apply(this, arguments);
}
r.getBucketWorm = function (e, t) {
return c.apply(this, arguments);
};
},
{
'../utils/checkBucketName': 51,
'../utils/dataFix': 56,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.object.assign.js': 284
}
],
18: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
o = n(e('@babel/runtime/regenerator')),
s = n(e('@babel/runtime/helpers/asyncToGenerator')),
a =
(Object.defineProperty(r, '__esModule', { value: !0 }),
(r.initiateBucketWorm = void 0),
e('../utils/obj2xml')),
c = e('../utils/checkBucketName');
function i() {
return (i = (0, s.default)(
o.default.mark(function e(t, r, n) {
var s, i;
return o.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
c.checkBucketName(t),
(s = this._bucketRequestParams('POST', t, 'worm', n)),
(i = { InitiateWormConfiguration: { RetentionPeriodInDays: r } }),
(s.mime = 'xml'),
(s.content = a.obj2xml(i, { headers: !0 })),
(s.successStatuses = [200]),
(e.next = 8),
this.request(s)
);
case 8:
return (
(i = e.sent),
e.abrupt('return', {
res: i.res,
wormId: i.res.headers['x-oss-worm-id'],
status: i.status
})
);
case 10:
case 'end':
return e.stop();
}
},
e,
this
);
})
)).apply(this, arguments);
}
r.initiateBucketWorm = function (e, t, r) {
return i.apply(this, arguments);
};
},
{
'../utils/checkBucketName': 51,
'../utils/obj2xml': 70,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79
}
],
19: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
a = n(e('@babel/runtime/regenerator')),
s = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
c =
(Object.defineProperty(r, '__esModule', { value: !0 }),
(r.listBucketInventory = void 0),
e('../utils/checkBucketName')),
l = e('../utils/formatInventoryConfig');
function i() {
return (i = (0, s.default)(
a.default.mark(function e(t) {
var r,
n,
s,
i,
o = arguments;
return a.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(n = (r = 1 < o.length && void 0 !== o[1] ? o[1] : {}).continuationToken),
(n = Object.assign({ inventory: '' }, n && { 'continuation-token': n }, r.subres)),
c.checkBucketName(t),
((n = this._bucketRequestParams('GET', t, n, r)).successStatuses = [200]),
(n.xmlResponse = !0),
(e.next = 9),
this.request(n)
);
case 9:
return (
(r = e.sent),
(n = r.data),
(s = r.res),
(i = r.status),
e.abrupt('return', {
isTruncated: 'true' === n.IsTruncated,
nextContinuationToken: n.NextContinuationToken,
inventoryList: l.formatInventoryConfig(n.InventoryConfiguration, !0),
status: i,
res: s
})
);
case 12:
case 'end':
return e.stop();
}
},
e,
this
);
})
)).apply(this, arguments);
}
r.listBucketInventory = function (e) {
return i.apply(this, arguments);
};
},
{
'../utils/checkBucketName': 51,
'../utils/formatInventoryConfig': 59,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.object.assign.js': 284
}
],
20: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
u = n(e('@babel/runtime/regenerator')),
s =
(e('core-js/modules/es.object.assign.js'),
e('core-js/modules/es.array.concat.js'),
n(e('@babel/runtime/helpers/asyncToGenerator'))),
p =
(Object.defineProperty(r, '__esModule', { value: !0 }),
(r.putBucketInventory = void 0),
e('../utils/checkBucketName')),
f = e('../utils/obj2xml');
function i() {
return (i = (0, s.default)(
u.default.mark(function e(t, r) {
var n,
s,
i,
o,
a,
c,
l = arguments;
return u.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(n = 2 < l.length && void 0 !== l[2] ? l[2] : {}),
(s = Object.assign({ inventory: '', inventoryId: r.id }, n.subres)),
p.checkBucketName(t),
(o = r.OSSBucketDestination),
(c = r.optionalFields),
(a = r.includedObjectVersions),
(i = 'acs:ram::'.concat(o.accountId, ':role/')),
(i = {
InventoryConfiguration: {
Id: r.id,
IsEnabled: r.isEnabled,
Filter: { Prefix: r.prefix || '' },
Destination: {
OSSBucketDestination: {
Format: o.format,
AccountId: o.accountId,
RoleArn: ''.concat(i).concat(o.rolename),
Bucket: ''.concat('acs:oss:::').concat(o.bucket),
Prefix: o.prefix || '',
Encryption: o.encryption || ''
}
},
Schedule: { Frequency: r.frequency },
IncludedObjectVersions: a,
OptionalFields: { Field: (null == c ? void 0 : c.field) || [] }
}
}),
(o = f.obj2xml(i, { headers: !0, firstUpperCase: !0 })),
((a = this._bucketRequestParams('PUT', t, s, n)).successStatuses = [200]),
(a.mime = 'xml'),
(a.content = o),
(e.next = 14),
this.request(a)
);
case 14:
return (c = e.sent), e.abrupt('return', { status: c.status, res: c.res });
case 16:
case 'end':
return e.stop();
}
},
e,
this
);
})
)).apply(this, arguments);
}
r.putBucketInventory = function (e, t) {
return i.apply(this, arguments);
};
},
{
'../utils/checkBucketName': 51,
'../utils/obj2xml': 70,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.object.assign.js': 284
}
],
21: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
a = n(e('@babel/runtime/regenerator')),
s =
(e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
e('core-js/modules/es.regexp.exec.js'),
e('core-js/modules/es.array.includes.js'),
n(e('@babel/runtime/helpers/asyncToGenerator'))),
c = e('../utils/checkBucketName').checkBucketName,
l = e('../utils/isArray').isArray,
u = e('../utils/deepCopy').deepCopy,
p = e('../utils/isObject').isObject,
f = e('../utils/obj2xml').obj2xml,
d = e('../utils/checkObjectTag').checkObjectTag,
h = e('../utils/getStrBytesCount').getStrBytesCount;
function m(e, t) {
var r = e.days,
e = e.createdBeforeDate;
if (!r && !e) throw new Error(''.concat(t, ' must includes days or createdBeforeDate'));
if (r && !/^[1-9][0-9]*$/.test(r)) throw new Error('days must be a positive integer');
if (e && !/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(e))
throw new Error('createdBeforeDate must be date and conform to iso8601 format');
}
r.putBucketLifecycle = (function () {
var n = (0, s.default)(
a.default.mark(function e(t, r, n) {
var s, i, o;
return a.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if ((c(t), l(r))) {
e.next = 3;
break;
}
throw new Error('rules must be Array');
case 3:
return (
(s = this._bucketRequestParams('PUT', t, 'lifecycle', n)),
(o = { LifecycleConfiguration: { Rule: (i = []) } }),
r.forEach(function (e) {
var t = e,
t =
(t.days && (t.expiration = { days: t.days }),
t.date && (t.expiration = { createdBeforeDate: t.date }),
e);
if (t.id && 255 < h(t.id)) throw new Error('ID is composed of 255 bytes at most');
if (void 0 === t.prefix) throw new Error('Rule must includes prefix');
if (!['Enabled', 'Disabled'].includes(t.status))
throw new Error('Status must be Enabled or Disabled');
if (t.transition) {
if (!['IA', 'Archive'].includes(t.transition.storageClass))
throw new Error('StorageClass must be IA or Archive');
m(t.transition, 'Transition');
}
if (t.expiration)
if (t.expiration.expiredObjectDeleteMarker) {
if (t.expiration.days || t.expiration.createdBeforeDate)
throw new Error(
'expiredObjectDeleteMarker cannot be used with days or createdBeforeDate'
);
} else m(t.expiration, 'Expiration');
if (
(t.abortMultipartUpload && m(t.abortMultipartUpload, 'AbortMultipartUpload'),
!(
t.expiration ||
t.abortMultipartUpload ||
t.transition ||
t.noncurrentVersionTransition
))
)
throw new Error(
'Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition'
);
if (t.tag) {
if (t.abortMultipartUpload)
throw new Error('Tag cannot be used with abortMultipartUpload');
!(function (e) {
if (!l(e) && !p(e)) throw new Error('tag must be Object or Array');
e = p(e) ? [e] : e;
var t = {};
u(e).forEach(function (e) {
t[e.key] = e.value;
}),
d(t);
})(t.tag);
}
e.id && ((e.ID = e.id), delete e.id), i.push(e);
}),
(o = f(o, { headers: !0, firstUpperCase: !0 })),
(s.content = o),
(s.mime = 'xml'),
(s.successStatuses = [200]),
(e.next = 13),
this.request(s)
);
case 13:
return (o = e.sent), e.abrupt('return', { res: o.res });
case 15:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r) {
return n.apply(this, arguments);
};
})();
},
{
'../utils/checkBucketName': 51,
'../utils/checkObjectTag': 53,
'../utils/deepCopy': 57,
'../utils/getStrBytesCount': 61,
'../utils/isArray': 62,
'../utils/isObject': 68,
'../utils/obj2xml': 70,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.array.includes.js': 274,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/web.dom-collections.for-each.js': 338
}
],
22: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
a = n(e('@babel/runtime/regenerator')),
s = (e('core-js/modules/es.array.includes.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
c = e('../utils/checkBucketName').checkBucketName,
l = e('../utils/obj2xml').obj2xml;
r.putBucketVersioning = (function () {
var r = (0, s.default)(
a.default.mark(function e(t, r) {
var n,
s,
i,
o = arguments;
return a.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (
((n = 2 < o.length && void 0 !== o[2] ? o[2] : {}),
c(t),
['Enabled', 'Suspended'].includes(r))
) {
e.next = 4;
break;
}
throw new Error('status must be Enabled or Suspended');
case 4:
return (
(s = this._bucketRequestParams('PUT', t, 'versioning', n)),
(i = { VersioningConfiguration: { Status: r } }),
(s.mime = 'xml'),
(s.content = l(i, { headers: !0 })),
(e.next = 10),
this.request(s)
);
case 10:
return (i = e.sent), e.abrupt('return', { res: i.res, status: i.status });
case 12:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})();
},
{
'../utils/checkBucketName': 51,
'../utils/obj2xml': 70,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.array.includes.js': 274
}
],
23: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
c = n(e('@babel/runtime/regenerator')),
s = n(e('@babel/runtime/helpers/asyncToGenerator')),
l = e('../utils/checkBucketName').checkBucketName,
u = e('../utils/obj2xml').obj2xml,
p = e('../utils/isArray').isArray;
r.putBucketWebsite = (function () {
var t = (0, s.default)(
c.default.mark(function e(t) {
var r,
n,
s,
i,
o,
a = arguments;
return c.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (
((r = 1 < a.length && void 0 !== a[1] ? a[1] : {}),
(n = 2 < a.length ? a[2] : void 0),
l(t),
(n = this._bucketRequestParams('PUT', t, 'website', n)),
(o = { Suffix: r.index || 'index.html' }),
(i = { WebsiteConfiguration: (s = { IndexDocument: o }) }),
r.supportSubDir && (o.SupportSubDir = r.supportSubDir),
r.type && (o.Type = r.type),
r.error && (s.ErrorDocument = { Key: r.error }),
void 0 === r.routingRules)
) {
e.next = 14;
break;
}
if (p(r.routingRules)) {
e.next = 13;
break;
}
throw new Error('RoutingRules must be Array');
case 13:
s.RoutingRules = { RoutingRule: r.routingRules };
case 14:
return (
(i = u(i)),
(n.content = i),
(n.mime = 'xml'),
(n.successStatuses = [200]),
(e.next = 20),
this.request(n)
);
case 20:
return (o = e.sent), e.abrupt('return', { res: o.res });
case 22:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e) {
return t.apply(this, arguments);
};
})();
},
{
'../utils/checkBucketName': 51,
'../utils/isArray': 62,
'../utils/obj2xml': 70,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79
}
],
24: [
function (e, t, r) {
!function (s) {
!function () {
'use strict';
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/es.regexp.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
e('core-js/modules/es.object.keys.js'),
(r.encodeCallback = function (e, t) {
var r, n;
(e.headers = e.headers || {}),
Object.prototype.hasOwnProperty.call(e.headers, 'x-oss-callback') ||
(t.callback &&
((r = { callbackUrl: encodeURI(t.callback.url), callbackBody: t.callback.body }),
t.callback.host && (r.callbackHost = t.callback.host),
t.callback.contentType && (r.callbackBodyType = t.callback.contentType),
(r = s.from(JSON.stringify(r)).toString('base64')),
(e.headers['x-oss-callback'] = r),
t.callback.customValue &&
((n = {}),
Object.keys(t.callback.customValue).forEach(function (e) {
n['x:'.concat(e)] = t.callback.customValue[e].toString();
}),
(e.headers['x-oss-callback-var'] = s.from(JSON.stringify(n)).toString('base64')))));
});
}.call(this);
}.call(this, e('buffer').Buffer);
},
{
buffer: 89,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.regexp.to-string.js': 300,
'core-js/modules/web.dom-collections.for-each.js': 338
}
],
25: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.array.concat.js'),
e('core-js/modules/es.regexp.exec.js'),
e('core-js/modules/es.string.replace.js'),
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js');
var n = function (e) {
return e && e.__esModule ? e : { default: e };
},
s = (Object.defineProperty(r, '__esModule', { value: !0 }), (r.getReqUrl = void 0), n(e('copy-to'))),
i = n(e('url')),
o = n(e('merge-descriptors')),
a = n(e('is-type-of')),
c = e('../utils/isIP'),
l = e('../utils/checkConfigValid');
r.getReqUrl = function (e) {
var t,
r = {},
n = this.options.cname,
n =
(l.checkConfigValid(this.options.endpoint, 'endpoint'),
s.default(this.options.endpoint, !1).to(r),
!e.bucket ||
n ||
c.isIP(r.hostname) ||
this.options.sldEnable ||
(r.host = ''.concat(e.bucket, '.').concat(r.host)),
'/'),
n =
(e.bucket && this.options.sldEnable && (n += ''.concat(e.bucket, '/')),
e.object && (n += this._escape(e.object).replace(/\+/g, '%2B')),
(r.pathname = n),
{});
return (
e.query && o.default(n, e.query),
e.subres &&
((t = {}),
a.default.string(e.subres)
? (t[e.subres] = '')
: a.default.array(e.subres)
? e.subres.forEach(function (e) {
t[e] = '';
})
: (t = e.subres),
o.default(n, t)),
(r.query = n),
i.default.format(r)
);
};
},
{
'../utils/checkConfigValid': 52,
'../utils/isIP': 67,
'copy-to': 91,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.string.replace.js': 304,
'core-js/modules/web.dom-collections.for-each.js': 338,
'is-type-of': 440,
'merge-descriptors': 357,
url: 446
}
],
26: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.array.concat.js'),
e('core-js/modules/es.object.assign.js'),
e('core-js/modules/es.string.trim.js');
var n = e('humanize-ms'),
s = e('url'),
i = e('../utils/checkBucketName').checkBucketName,
o = e('../utils/setRegion').setRegion,
a = e('../utils/checkConfigValid').checkConfigValid;
t.exports = function (e) {
if (!e || !e.accessKeyId || !e.accessKeySecret) throw new Error('require accessKeyId, accessKeySecret');
!e.stsToken ||
e.refreshSTSToken ||
e.refreshSTSTokenInterval ||
console.warn(
"It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"
),
e.bucket && i(e.bucket);
e = Object.assign(
{
region: 'oss-cn-hangzhou',
internal: !1,
secure: !1,
timeout: 6e4,
bucket: null,
endpoint: null,
cname: !1,
isRequestPay: !1,
sldEnable: !1,
headerEncoding: 'utf-8',
refreshSTSToken: null,
refreshSTSTokenInterval: 3e5,
retryMax: 0
},
e
);
if (
((e.accessKeyId = e.accessKeyId.trim()),
(e.accessKeySecret = e.accessKeySecret.trim()),
e.timeout && (e.timeout = n(e.timeout)),
e.endpoint)
)
e.endpoint = (function (e, t) {
a(e, 'endpoint');
var r = s.parse(e);
if (
'http:' !== (r = r.protocol ? r : s.parse('http'.concat(t ? 's' : '', '://').concat(e))).protocol &&
'https:' !== r.protocol
)
throw new Error('Endpoint protocol must be http or https.');
return r;
})(e.endpoint, e.secure);
else {
if (!e.region) throw new Error('require options.endpoint or options.region');
e.endpoint = o(e.region, e.internal, e.secure);
}
return (e.inited = !0), e;
};
},
{
'../utils/checkBucketName': 51,
'../utils/checkConfigValid': 52,
'../utils/setRegion': 73,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.object.assign.js': 284,
'core-js/modules/es.string.trim.js': 307,
'humanize-ms': 345,
url: 446
}
],
27: [
function (e, t, r) {
'use strict';
e('merge-descriptors')(r, e('./processObjectSave'));
},
{ './processObjectSave': 28, 'merge-descriptors': 357 }
],
28: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
a = n(e('@babel/runtime/regenerator')),
i = (e('core-js/modules/es.array.concat.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
c = e('../utils/checkBucketName').checkBucketName,
l = e('querystring'),
u = e('js-base64').Base64.encode;
function p(e, t) {
if (!e) throw new Error(''.concat(t, ' is required'));
if ('string' != typeof e) throw new Error(''.concat(t, ' must be String'));
}
r.processObjectSave = (function () {
var s = (0, i.default)(
a.default.mark(function e(t, r, n, s) {
var i, o;
return a.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
p(t, 'sourceObject'),
p(r, 'targetObject'),
p(n, 'process'),
(r = this._objectName(r)),
s && c(s),
(i = this._objectRequestParams('POST', t, { subres: 'x-oss-process' })),
(o = s ? ',b_'.concat(u(s)) : ''),
(r = u(r)),
(o = { 'x-oss-process': ''.concat(n, '|sys/saveas,o_').concat(r).concat(o) }),
(i.content = l.stringify(o)),
(e.next = 12),
this.request(i)
);
case 12:
return (o = e.sent), e.abrupt('return', { res: o.res, status: o.res.status });
case 14:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r, n) {
return s.apply(this, arguments);
};
})();
},
{
'../utils/checkBucketName': 51,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.array.concat.js': 269,
'js-base64': 356,
querystring: 370
}
],
29: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
b = n(e('@babel/runtime/regenerator')),
g =
(e('core-js/modules/es.array.concat.js'),
e('core-js/modules/es.function.name.js'),
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/es.promise.js'),
e('core-js/modules/es.array.from.js'),
e('core-js/modules/es.string.iterator.js'),
e('core-js/modules/es.array.map.js'),
e('core-js/modules/es.array.filter.js'),
e('core-js/modules/es.array.find.js'),
e('core-js/modules/es.regexp.to-string.js'),
n(e('@babel/runtime/helpers/asyncToGenerator'))),
v = e('debug')('ali-oss:multipart-copy'),
j = e('copy-to'),
n = r;
(n.uploadPartCopy = (function () {
var i = (0, g.default)(
b.default.mark(function e(t, r, n, s, i) {
var o,
a,
c = arguments;
return b.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((a = 5 < c.length && void 0 !== c[5] ? c[5] : {}).headers = a.headers || {}),
(o = a.versionId || (a.subres && a.subres.versionId) || null),
(o = o
? '/'
.concat(i.sourceBucketName, '/')
.concat(encodeURIComponent(i.sourceKey), '?versionId=')
.concat(o)
: '/'.concat(i.sourceBucketName, '/').concat(encodeURIComponent(i.sourceKey))),
(a.headers['x-oss-copy-source'] = o),
s && (a.headers['x-oss-copy-source-range'] = 'bytes='.concat(s)),
(a.subres = { partNumber: n, uploadId: r }),
((o = this._objectRequestParams('PUT', t, a)).mime = a.mime),
(o.successStatuses = [200]),
(e.next = 12),
this.request(o)
);
case 12:
return (a = e.sent), e.abrupt('return', { name: t, etag: a.res.headers.etag, res: a.res });
case 14:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r, n, s) {
return i.apply(this, arguments);
};
})()),
(n.multipartUploadCopy = (function () {
var r = (0, g.default)(
b.default.mark(function e(t, r) {
var n,
s,
i,
o,
a,
c,
l,
u = arguments;
return b.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(n = 2 < u.length && void 0 !== u[2] ? u[2] : {}),
this.resetCancelFlag(),
(s = n.versionId),
(s = { versionId: void 0 === s ? null : s }),
(e.next = 6),
this._getObjectMeta(r.sourceBucketName, r.sourceKey, s)
);
case 6:
if (
((s = e.sent),
(a = s.res.headers['content-length']),
(r.startOffset = r.startOffset || 0),
(r.endOffset = r.endOffset || a),
n.checkpoint && n.checkpoint.uploadId)
)
return (e.next = 13), this._resumeMultipartCopy(n.checkpoint, r, n);
e.next = 14;
break;
case 13:
return e.abrupt('return', e.sent);
case 14:
if (((i = 102400), (o = r.endOffset - r.startOffset) < i))
throw new Error('copySize must not be smaller than '.concat(i));
e.next = 18;
break;
case 18:
if (n.partSize && n.partSize < i)
throw new Error('partSize must not be smaller than '.concat(i));
e.next = 20;
break;
case 20:
return (e.next = 22), this.initMultipartUpload(t, n);
case 22:
if (
((a = e.sent),
(c = a.uploadId),
(l = this._getPartSize(o, n.partSize)),
(l = { name: t, copySize: o, partSize: l, uploadId: c, doneParts: [] }),
n && n.progress)
)
return (e.next = 29), n.progress(0, l, a.res);
e.next = 29;
break;
case 29:
return (e.next = 31), this._resumeMultipartCopy(l, r, n);
case 31:
return e.abrupt('return', e.sent);
case 32:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()),
(n._resumeMultipartCopy = (function () {
var n = (0, g.default)(
b.default.mark(function e(c, t, l) {
var u, p, f, d, h, m, r, n, s, i, o, a, y;
return b.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (this.isCancel()) throw this._makeCancelEvent();
e.next = 2;
break;
case 2:
if (
((s = l.versionId),
(i = { versionId: (s = void 0 === s ? null : s) }),
(r = c.copySize),
(o = c.partSize),
(u = c.uploadId),
(p = c.doneParts),
(f = c.name),
(d = this._divideMultipartCopyParts(r, o, t.startOffset)),
(h = d.length),
(m = { headers: {} }),
l.copyheaders && j(l.copyheaders).to(m.headers),
s && j(i).to(m),
(r = function (i, o, a) {
return new Promise(
(function () {
var r = (0, g.default)(
b.default.mark(function e(t, r) {
var n, s;
return b.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (((e.prev = 0), i.isCancel())) {
e.next = 22;
break;
}
return (
(n = d[o - 1]),
(n = ''.concat(n.start, '-').concat(n.end - 1)),
(e.prev = 4),
(e.next = 7),
i.uploadPartCopy(f, u, o, n, a, m)
);
case 7:
(s = e.sent), (e.next = 15);
break;
case 10:
if (((e.prev = 10), (e.t0 = e.catch(4)), 404 === e.t0.status))
throw i._makeAbortEvent();
e.next = 14;
break;
case 14:
throw e.t0;
case 15:
if (i.isCancel()) {
e.next = 22;
break;
}
if (
(v('content-range '.concat(s.res.headers['content-range'])),
p.push({ number: o, etag: s.res.headers.etag }),
(c.doneParts = p),
l && l.progress)
)
return (e.next = 22), l.progress(p.length / h, c, s.res);
e.next = 22;
break;
case 22:
t(), (e.next = 29);
break;
case 25:
(e.prev = 25), (e.t1 = e.catch(0)), (e.t1.partNum = o), r(e.t1);
case 29:
case 'end':
return e.stop();
}
},
e,
null,
[
[0, 25],
[4, 10]
]
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()
);
}),
(o = Array.from(new Array(h), function (e, t) {
return t + 1;
})),
(n = p.map(function (e) {
return e.number;
})),
(s = o.filter(function (e) {
return n.indexOf(e) < 0;
})),
(i = l.parallel || 5),
!this.checkBrowserAndVersion('Internet Explorer', '10') && 1 !== i)
) {
e.next = 28;
break;
}
o = 0;
case 18:
if (!(o < s.length)) {
e.next = 26;
break;
}
if (this.isCancel()) throw this._makeCancelEvent();
e.next = 21;
break;
case 21:
return (e.next = 23), r(this, s[o], t);
case 23:
o++, (e.next = 18);
break;
case 26:
e.next = 40;
break;
case 28:
return (e.next = 30), this._parallelNode(s, i, r, t);
case 30:
if (
((a = e.sent),
(y = a.find(function (e) {
return 'abort' === e.name;
})))
)
throw y;
e.next = 34;
break;
case 34:
if (this.isCancel()) throw this._makeCancelEvent();
e.next = 36;
break;
case 36:
if (a && 0 < a.length)
throw (
(((y = a[0]).message = 'Failed to copy some parts with error: '
.concat(y.toString(), ' part_num: ')
.concat(y.partNum)),
y)
);
e.next = 40;
break;
case 40:
return (e.next = 42), this.completeMultipartUpload(f, u, p, l);
case 42:
return e.abrupt('return', e.sent);
case 43:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r) {
return n.apply(this, arguments);
};
})()),
(n._divideMultipartCopyParts = function (e, t, r) {
for (var n = Math.ceil(e / t), s = [], i = 0; i < n; i++) {
var o = t * i + r,
a = Math.min(o + t, e + r);
s.push({ start: o, end: a });
}
return s;
}),
(n._getObjectMeta = (function () {
var n = (0, g.default)(
b.default.mark(function e(t, r, n) {
var s, i;
return b.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (s = this.getBucket()), this.setBucket(t), (e.next = 4), this.head(r, n);
case 4:
return (i = e.sent), this.setBucket(s), e.abrupt('return', i);
case 7:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r) {
return n.apply(this, arguments);
};
})());
},
{
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'copy-to': 91,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.array.filter.js': 271,
'core-js/modules/es.array.find.js': 272,
'core-js/modules/es.array.from.js': 273,
'core-js/modules/es.array.map.js': 277,
'core-js/modules/es.function.name.js': 281,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.promise.js': 294,
'core-js/modules/es.regexp.to-string.js': 300,
'core-js/modules/es.string.iterator.js': 302,
debug: 439
}
],
30: [
function (r, e, i) {
!function (p) {
!function () {
'use strict';
r('core-js/modules/es.object.keys.js'),
r('core-js/modules/es.symbol.js'),
r('core-js/modules/es.object.get-own-property-descriptor.js'),
r('core-js/modules/web.dom-collections.for-each.js'),
r('core-js/modules/es.object.get-own-property-descriptors.js');
var e = r('@babel/runtime/helpers/interopRequireDefault'),
f = e(r('@babel/runtime/regenerator')),
n =
(r('core-js/modules/es.array.map.js'),
r('core-js/modules/es.array.filter.js'),
r('core-js/modules/es.object.to-string.js'),
r('core-js/modules/es.array.sort.js'),
r('core-js/modules/es.array.concat.js'),
r('core-js/modules/es.regexp.to-string.js'),
e(r('@babel/runtime/helpers/defineProperty'))),
t = e(r('@babel/runtime/helpers/asyncToGenerator'));
function s(t, e) {
var r,
n = Object.keys(t);
return (
Object.getOwnPropertySymbols &&
((r = Object.getOwnPropertySymbols(t)),
e &&
(r = r.filter(function (e) {
return Object.getOwnPropertyDescriptor(t, e).enumerable;
})),
n.push.apply(n, r)),
n
);
}
function l(t) {
for (var e = 1; e < arguments.length; e++) {
var r = null != arguments[e] ? arguments[e] : {};
e % 2
? s(Object(r), !0).forEach(function (e) {
(0, n.default)(t, e, r[e]);
})
: Object.getOwnPropertyDescriptors
? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r))
: s(Object(r)).forEach(function (e) {
Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(r, e));
});
}
return t;
}
var u = r('copy-to'),
d = r('./callback'),
h = r('./utils/deepCopy').deepCopyWith,
m = r('./utils/isBuffer').isBuffer,
y = r('./utils/omit').omit,
e = i;
(e.listUploads = (function () {
var r = (0, t.default)(
f.default.mark(function e(t, r) {
var n, s;
return f.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(n = {}),
u((r = r || {})).to(n),
(n.subres = 'uploads'),
((n = this._objectRequestParams('GET', '', n)).query = t),
(n.xmlResponse = !0),
(n.successStatuses = [200]),
(e.next = 10),
this.request(n)
);
case 10:
return (
(n = e.sent),
(s = n.data.Upload || []),
(s = (s = Array.isArray(s) ? s : [s]).map(function (e) {
return { name: e.Key, uploadId: e.UploadId, initiated: e.Initiated };
})),
e.abrupt('return', {
res: n.res,
uploads: s,
bucket: n.data.Bucket,
nextKeyMarker: n.data.NextKeyMarker,
nextUploadIdMarker: n.data.NextUploadIdMarker,
isTruncated: 'true' === n.data.IsTruncated
})
);
case 15:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()),
(e.listParts = (function () {
var s = (0, t.default)(
f.default.mark(function e(t, r, n, s) {
var i;
return f.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(i = {}),
u((s = s || {})).to(i),
(i.subres = { uploadId: r }),
((i = this._objectRequestParams('GET', t, i)).query = n),
(i.xmlResponse = !0),
(i.successStatuses = [200]),
(e.next = 10),
this.request(i)
);
case 10:
return (
(i = e.sent),
e.abrupt('return', {
res: i.res,
uploadId: i.data.UploadId,
bucket: i.data.Bucket,
name: i.data.Key,
partNumberMarker: i.data.PartNumberMarker,
nextPartNumberMarker: i.data.NextPartNumberMarker,
maxParts: i.data.MaxParts,
isTruncated: i.data.IsTruncated,
parts: i.data.Part || []
})
);
case 12:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r, n) {
return s.apply(this, arguments);
};
})()),
(e.abortMultipartUpload = (function () {
var n = (0, t.default)(
f.default.mark(function e(t, r, n) {
var s;
return f.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
this._stop(),
(s = {}),
u((n = n || {})).to(s),
(s.subres = { uploadId: r }),
((s = this._objectRequestParams('DELETE', t, s)).successStatuses = [204]),
(e.next = 9),
this.request(s)
);
case 9:
return (s = e.sent), e.abrupt('return', { res: s.res });
case 11:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r) {
return n.apply(this, arguments);
};
})()),
(e.initMultipartUpload = (function () {
var r = (0, t.default)(
f.default.mark(function e(t, r) {
var n;
return f.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(n = {}),
u((r = r || {})).to(n),
(n.headers = n.headers || {}),
this._convertMetaToHeaders(r.meta, n.headers),
(n.subres = 'uploads'),
((n = this._objectRequestParams('POST', t, n)).mime = r.mime),
(n.xmlResponse = !0),
(n.successStatuses = [200]),
(e.next = 12),
this.request(n)
);
case 12:
return (
(n = e.sent),
e.abrupt('return', {
res: n.res,
bucket: n.data.Bucket,
name: n.data.Key,
uploadId: n.data.UploadId
})
);
case 14:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})()),
(e.uploadPart = (function () {
var a = (0, t.default)(
f.default.mark(function e(t, r, n, s, i, o, a) {
var c;
return f.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (((c = { size: o - i }), p && p.browser))
return (e.next = 5), this._createBuffer(s, i, o);
e.next = 8;
break;
case 5:
(c.content = e.sent), (e.next = 11);
break;
case 8:
return (e.next = 10), this._createStream(s, i, o);
case 10:
c.stream = e.sent;
case 11:
return (e.next = 13), this._uploadPart(t, r, n, c, a);
case 13:
return e.abrupt('return', e.sent);
case 14:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r, n, s, i, o) {
return a.apply(this, arguments);
};
})()),
(e.completeMultipartUpload = (function () {
var s = (0, t.default)(
f.default.mark(function e(t, r, n, s) {
var i, o, a, c, l, u, p;
return f.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
for (
i = n
.concat()
.sort(function (e, t) {
return e.number - t.number;
})
.filter(function (e, t, r) {
return !t || e.number !== r[t - 1].number;
}),
o = '\n\n',
a = 0;
a < i.length;
a++
)
(c = i[a]),
(o =
(o = (o += '\n') + ''.concat(c.number, '\n')) +
''.concat(c.etag, '\n') +
'\n');
return (
(o += ''),
(p = {}),
((p = h((s = s || {}), function (e) {
if (m(e)) return null;
})).subres = { uploadId: r }),
(p.headers = y(p.headers, ['x-oss-server-side-encryption', 'x-oss-storage-class'])),
(l = this._objectRequestParams('POST', t, p)),
d.encodeCallback(l, p),
(l.mime = 'xml'),
(l.content = o),
(l.headers && l.headers['x-oss-callback']) || (l.xmlResponse = !0),
(l.successStatuses = [200]),
(e.next = 17),
this.request(l)
);
case 17:
if (((u = e.sent), s.progress)) return (e.next = 21), s.progress(1, null, u.res);
e.next = 21;
break;
case 21:
return (
(p = { res: u.res, bucket: l.bucket, name: t, etag: u.res.headers.etag }),
l.headers &&
l.headers['x-oss-callback'] &&
(p.data = JSON.parse(u.data.toString())),
e.abrupt('return', p)
);
case 24:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r, n) {
return s.apply(this, arguments);
};
})()),
(e._uploadPart = (function () {
var i = (0, t.default)(
f.default.mark(function e(t, r, n, s, i) {
var o, a, c;
return f.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(o = {}),
u((i = i || {})).to(o),
(o.headers = o.headers || {}),
(o.headers = l(l({}, o.headers), {}, { 'Content-Length': s.size })),
(o.headers = y(o.headers, ['x-oss-server-side-encryption'])),
(o.subres = { partNumber: n, uploadId: r }),
((a = this._objectRequestParams('PUT', t, o)).mime = o.mime),
p && p.browser ? (a.content = s.content) : (a.stream = s.stream),
(a.successStatuses = [200]),
(a.disabledMD5 = i.disabledMD5),
(e.next = 15),
this.request(a)
);
case 15:
if ((c = e.sent).res.headers.etag) {
e.next = 18;
break;
}
throw new Error(
'Please set the etag of expose-headers in OSS \n https://help.aliyun.com/document_detail/32069.html'
);
case 18:
return (
s.stream && ((s.stream = null), (a.stream = null)),
e.abrupt('return', { name: t, etag: c.res.headers.etag, res: c.res })
);
case 20:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r, n, s) {
return i.apply(this, arguments);
};
})());
}.call(this);
}.call(this, r('_process'));
},
{
'./callback': 24,
'./utils/deepCopy': 57,
'./utils/isBuffer': 64,
'./utils/omit': 71,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/defineProperty': 76,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
_process: 441,
'copy-to': 91,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.array.filter.js': 271,
'core-js/modules/es.array.map.js': 277,
'core-js/modules/es.array.sort.js': 279,
'core-js/modules/es.object.get-own-property-descriptor.js': 286,
'core-js/modules/es.object.get-own-property-descriptors.js': 287,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.regexp.to-string.js': 300,
'core-js/modules/es.symbol.js': 312,
'core-js/modules/web.dom-collections.for-each.js': 338
}
],
31: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
c = n(e('@babel/runtime/regenerator')),
s = n(e('@babel/runtime/helpers/asyncToGenerator')),
l = e('url'),
u = e('utility'),
p = e('copy-to'),
f = e('../../common/signUtils'),
d = e('../utils/isIP').isIP,
h = e('../utils/setSTSToken').setSTSToken,
m = e('../utils/isFunction').isFunction;
r.asyncSignatureUrl = (function () {
var r = (0, s.default)(
c.default.mark(function e(t, r) {
var n, s, i, o, a;
return c.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (d(this.options.endpoint.hostname))
throw new Error('can not get the object URL when endpoint is IP');
e.next = 2;
break;
case 2:
if (
((r = r || {}),
(t = this._objectName(t)),
(r.method = r.method || 'GET'),
(n = u.timestamp() + (r.expires || 1800)),
(s = { bucket: this.options.bucket, object: t }),
(i = this._getResource(s)),
this.options.stsToken && m(this.options.refreshSTSToken))
)
return (e.next = 11), h.call(this);
e.next = 11;
break;
case 11:
return (
this.options.stsToken && (r['security-token'] = this.options.stsToken),
(o = f._signatureForURL(this.options.accessKeySecret, r, i, n)),
((a = l.parse(this._getReqUrl(s))).query = {
OSSAccessKeyId: this.options.accessKeyId,
Expires: n,
Signature: o.Signature
}),
p(o.subResource).to(a.query),
e.abrupt('return', a.format())
);
case 17:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})();
},
{
'../../common/signUtils': 50,
'../utils/isFunction': 66,
'../utils/isIP': 67,
'../utils/setSTSToken': 74,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'copy-to': 91,
url: 446,
utility: 448
}
],
32: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
a = n(e('@babel/runtime/regenerator')),
c =
(e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
e('core-js/modules/es.object.keys.js'),
e('core-js/modules/es.array.find.js'),
e('core-js/modules/es.array.includes.js'),
e('core-js/modules/es.array.concat.js'),
e('core-js/modules/es.regexp.exec.js'),
e('core-js/modules/es.string.replace.js'),
n(e('@babel/runtime/helpers/typeof'))),
i = n(e('@babel/runtime/helpers/asyncToGenerator')),
s = e('../utils/checkBucketName').checkBucketName,
n = r,
l = [
'content-type',
'content-encoding',
'content-language',
'content-disposition',
'cache-control',
'expires'
];
(n.copy = (function () {
var s = (0, i.default)(
a.default.mark(function e(t, r, n, s) {
var i, o;
return a.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((s = (s = 'object' === (0, c.default)(n) ? n : s) || {}).headers = s.headers || {}),
Object.keys(s.headers).forEach(function (e) {
s.headers['x-oss-copy-source-'.concat(e.toLowerCase())] = s.headers[e];
}),
(s.meta ||
Object.keys(s.headers).find(function (e) {
return l.includes(e.toLowerCase());
})) &&
(s.headers['x-oss-metadata-directive'] = 'REPLACE'),
this._convertMetaToHeaders(s.meta, s.headers),
(r = this._getSourceName(r, n)),
s.versionId && (r = ''.concat(r, '?versionId=').concat(s.versionId)),
(s.headers['x-oss-copy-source'] = r),
((i = this._objectRequestParams('PUT', t, s)).xmlResponse = !0),
(i.successStatuses = [200, 304]),
(e.next = 14),
this.request(i)
);
case 14:
return (
(i = e.sent),
(o = (o = i.data) && { etag: o.ETag, lastModified: o.LastModified }),
e.abrupt('return', { data: o, res: i.res })
);
case 18:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r, n) {
return s.apply(this, arguments);
};
})()),
(n._getSourceName = function (e, t) {
return (
'string' == typeof t
? (e = this._objectName(e))
: '/' !== e[0]
? (t = this.options.bucket)
: ((t = e.replace(/\/(.+?)(\/.*)/, '$1')), (e = e.replace(/(\/.+?\/)(.*)/, '$2'))),
s(t),
(e = encodeURIComponent(e)),
(e = '/'.concat(t, '/').concat(e))
);
});
},
{
'../utils/checkBucketName': 51,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/helpers/typeof': 78,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.array.find.js': 272,
'core-js/modules/es.array.includes.js': 274,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.string.replace.js': 304,
'core-js/modules/web.dom-collections.for-each.js': 338
}
],
33: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
s = n(e('@babel/runtime/regenerator')),
i = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator')));
r.delete = (function () {
var t = (0, i.default)(
s.default.mark(function e(t) {
var r,
n = arguments;
return s.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((r = 1 < n.length && void 0 !== n[1] ? n[1] : {}).subres = Object.assign({}, r.subres)),
r.versionId && (r.subres.versionId = r.versionId),
((r = this._objectRequestParams('DELETE', t, r)).successStatuses = [204]),
(e.next = 7),
this.request(r)
);
case 7:
return (r = e.sent), e.abrupt('return', { res: r.res });
case 9:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e) {
return t.apply(this, arguments);
};
})();
},
{
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.object.assign.js': 284
}
],
34: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
f = n(e('@babel/runtime/regenerator')),
s = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
d = e('utility'),
h = e('../utils/obj2xml').obj2xml;
r.deleteMulti = (function () {
var t = (0, s.default)(
f.default.mark(function e(t) {
var r,
n,
s,
i,
o,
a,
c,
l,
u,
p = arguments;
return f.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (((r = 1 < p.length && void 0 !== p[1] ? p[1] : {}), (n = []), t && t.length)) {
e.next = 4;
break;
}
throw new Error('names is required');
case 4:
for (s = 0; s < t.length; s++)
(i = {}),
'string' == typeof t[s]
? (i.Key = d.escape(this._objectName(t[s])))
: ((a = t[s]),
(o = a.key),
(a = a.versionId),
(i.Key = d.escape(this._objectName(o))),
(i.VersionId = a)),
n.push(i);
return (
(c = { Delete: { Quiet: !!r.quiet, Object: n } }),
(c = h(c, { headers: !0 })),
(r.subres = Object.assign({ delete: '' }, r.subres)),
r.versionId && (r.subres.versionId = r.versionId),
((l = this._objectRequestParams('POST', '', r)).mime = 'xml'),
(l.content = c),
(l.xmlResponse = !0),
(l.successStatuses = [200]),
(e.next = 16),
this.request(l)
);
case 16:
return (
(c = e.sent),
(l = c.data),
(u = (l && l.Deleted) || null) && !Array.isArray(u) && (u = [u]),
e.abrupt('return', { res: c.res, deleted: u || [] })
);
case 21:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e) {
return t.apply(this, arguments);
};
})();
},
{
'../utils/obj2xml': 70,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.object.assign.js': 284,
utility: 448
}
],
35: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
s = n(e('@babel/runtime/regenerator')),
i = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator')));
r.deleteObjectTagging = (function () {
var t = (0, i.default)(
s.default.mark(function e(t) {
var r,
n = arguments;
return s.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((r = 1 < n.length && void 0 !== n[1] ? n[1] : {}).subres = Object.assign(
{ tagging: '' },
r.subres
)),
r.versionId && (r.subres.versionId = r.versionId),
(t = this._objectName(t)),
((r = this._objectRequestParams('DELETE', t, r)).successStatuses = [204]),
(e.next = 8),
this.request(r)
);
case 8:
return (r = e.sent), e.abrupt('return', { status: r.status, res: r.res });
case 10:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e) {
return t.apply(this, arguments);
};
})();
},
{
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.object.assign.js': 284
}
],
36: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.array.concat.js');
var s = e('url'),
i = e('../utils/isIP').isIP;
r.generateObjectUrl = function (e, t) {
if (i(this.options.endpoint.hostname)) throw new Error('can not get the object URL when endpoint is IP');
var r, n;
return (
t
? '/' !== t[t.length - 1] && (t += '/')
: ((t = this.options.endpoint.format()),
(r = s.parse(t)),
(n = this.options.bucket),
(r.hostname = ''.concat(n, '.').concat(r.hostname)),
(r.host = ''.concat(n, '.').concat(r.host)),
(t = r.format())),
t + this._escape(this._objectName(e))
);
};
},
{ '../utils/isIP': 67, 'core-js/modules/es.array.concat.js': 269, url: 446 }
],
37: [
function (r, e, n) {
!function (d) {
!function () {
'use strict';
var e = r('@babel/runtime/helpers/interopRequireDefault'),
u = e(r('@babel/runtime/regenerator')),
t = (r('core-js/modules/es.object.assign.js'), e(r('@babel/runtime/helpers/asyncToGenerator'))),
p = r('fs'),
f = r('is-type-of');
n.get = (function () {
var r = (0, t.default)(
u.default.mark(function e(t, r) {
var n,
s,
i,
o,
a,
c,
l = arguments;
return u.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(n = 2 < l.length && void 0 !== l[2] ? l[2] : {}),
(s = null),
(i = !1),
f.writableStream(r)
? (s = r)
: f.string(r)
? ((s = p.createWriteStream(r)), (i = !0))
: (n = r),
(n = n || {}),
(o = d && d.browser),
(c = null === n.responseCacheControl ? '' : 'no-cache'),
(o = o && c ? { 'response-cache-control': c } : {}),
(n.subres = Object.assign(o, n.subres)),
n.versionId && (n.subres.versionId = n.versionId),
n.process && (n.subres['x-oss-process'] = n.process),
(e.prev = 11),
((c = this._objectRequestParams('GET', t, n)).writeStream = s),
(c.successStatuses = [200, 206, 304]),
(e.next = 17),
this.request(c)
);
case 17:
(a = e.sent), i && s.destroy(), (e.next = 28);
break;
case 21:
if (((e.prev = 21), (e.t0 = e.catch(11)), i))
return s.destroy(), (e.next = 27), this._deleteFileSafe(r);
e.next = 27;
break;
case 27:
throw e.t0;
case 28:
return e.abrupt('return', { res: a.res, content: a.data });
case 29:
case 'end':
return e.stop();
}
},
e,
this,
[[11, 21]]
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})();
}.call(this);
}.call(this, r('_process'));
},
{
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
_process: 441,
'core-js/modules/es.object.assign.js': 284,
fs: 87,
'is-type-of': 440
}
],
38: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
s = n(e('@babel/runtime/regenerator')),
i = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator')));
r.getACL = (function () {
var t = (0, i.default)(
s.default.mark(function e(t) {
var r,
n = arguments;
return s.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((r = 1 < n.length && void 0 !== n[1] ? n[1] : {}).subres = Object.assign(
{ acl: '' },
r.subres
)),
r.versionId && (r.subres.versionId = r.versionId),
(t = this._objectName(t)),
((r = this._objectRequestParams('GET', t, r)).successStatuses = [200]),
(r.xmlResponse = !0),
(e.next = 9),
this.request(r)
);
case 9:
return (
(r = e.sent),
e.abrupt('return', {
acl: r.data.AccessControlList.Grant,
owner: { id: r.data.Owner.ID, displayName: r.data.Owner.DisplayName },
res: r.res
})
);
case 11:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e) {
return t.apply(this, arguments);
};
})();
},
{
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.object.assign.js': 284
}
],
39: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
l = n(e('@babel/runtime/regenerator')),
s =
(e('core-js/modules/es.regexp.exec.js'),
e('core-js/modules/es.string.replace.js'),
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
e('core-js/modules/es.object.keys.js'),
e('core-js/modules/es.object.assign.js'),
e('core-js/modules/es.array.map.js'),
e('core-js/modules/es.number.constructor.js'),
n(e('@babel/runtime/helpers/asyncToGenerator'))),
n = r,
u = e('../utils/isObject').isObject,
p = e('../utils/isArray').isArray;
function i() {
return o.apply(this, arguments);
}
function o() {
return (o = (0, s.default)(
l.default.mark(function e() {
var t,
r,
n,
s,
i,
o,
a,
c = arguments;
return l.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (
((t = 0 < c.length && void 0 !== c[0] ? c[0] : {}),
(r = 1 < c.length && void 0 !== c[1] ? c[1] : {}),
t.versionIdMarker && void 0 === t.keyMarker)
)
throw new Error('A version-id marker cannot be specified without a key marker');
e.next = 4;
break;
case 4:
return (
(r.subres = Object.assign({ versions: '' }, r.subres)),
r.versionId && (r.subres.versionId = r.versionId),
((n = this._objectRequestParams('GET', '', r)).xmlResponse = !0),
(n.successStatuses = [200]),
(n.query = (function () {
var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {},
r = {};
u(t) &&
Object.keys(t).forEach(function (e) {
r[e.replace(/([A-Z])/g, '-$1').toLowerCase()] = t[e];
});
return r;
})(t)),
(e.next = 12),
this.request(n)
);
case 12:
return (
(n = e.sent),
(s = n.data.Version || []),
(i = n.data.DeleteMarker || []),
(o = this),
(s =
s &&
(s = Array.isArray(s) ? s : [s]).map(function (e) {
return {
name: e.Key,
url: o._objectUrl(e.Key),
lastModified: e.LastModified,
isLatest: 'true' === e.IsLatest,
versionId: e.VersionId,
etag: e.ETag,
type: e.Type,
size: Number(e.Size),
storageClass: e.StorageClass,
owner: { id: e.Owner.ID, displayName: e.Owner.DisplayName }
};
})),
(i =
i &&
(i = p(i) ? i : [i]).map(function (e) {
return {
name: e.Key,
lastModified: e.LastModified,
versionId: e.VersionId,
owner: { id: e.Owner.ID, displayName: e.Owner.DisplayName }
};
})),
(a =
(a = n.data.CommonPrefixes || null) &&
(a = p(a) ? a : [a]).map(function (e) {
return e.Prefix;
})),
e.abrupt('return', {
res: n.res,
objects: s,
deleteMarker: i,
prefixes: a,
nextMarker: n.data.NextKeyMarker || null,
NextVersionIdMarker: n.data.NextVersionIdMarker || null,
nextKeyMarker: n.data.NextKeyMarker || null,
nextVersionIdMarker: n.data.NextVersionIdMarker || null,
isTruncated: 'true' === n.data.IsTruncated
})
);
case 21:
case 'end':
return e.stop();
}
},
e,
this
);
})
)).apply(this, arguments);
}
(n.getBucketVersions = i), (n.listObjectVersions = i);
},
{
'../utils/isArray': 62,
'../utils/isObject': 68,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.array.map.js': 277,
'core-js/modules/es.number.constructor.js': 283,
'core-js/modules/es.object.assign.js': 284,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.string.replace.js': 304,
'core-js/modules/web.dom-collections.for-each.js': 338
}
],
40: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
s = n(e('@babel/runtime/regenerator')),
i = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator')));
r.getObjectMeta = (function () {
var r = (0, i.default)(
s.default.mark(function e(t, r) {
var n;
return s.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(r = r || {}),
(t = this._objectName(t)),
(r.subres = Object.assign({ objectMeta: '' }, r.subres)),
r.versionId && (r.subres.versionId = r.versionId),
((n = this._objectRequestParams('HEAD', t, r)).successStatuses = [200]),
(e.next = 8),
this.request(n)
);
case 8:
return (n = e.sent), e.abrupt('return', { status: n.status, res: n.res });
case 10:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})();
},
{
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.object.assign.js': 284
}
],
41: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
a = n(e('@babel/runtime/regenerator')),
s =
(e('core-js/modules/es.object.assign.js'),
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
n(e('@babel/runtime/helpers/asyncToGenerator'))),
n = r,
c = e('../utils/isObject').isObject;
n.getObjectTagging = (function () {
var t = (0, s.default)(
a.default.mark(function e(t) {
var r,
n,
s,
i,
o = arguments;
return a.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((n = 1 < o.length && void 0 !== o[1] ? o[1] : {}).subres = Object.assign(
{ tagging: '' },
n.subres
)),
n.versionId && (n.subres.versionId = n.versionId),
(t = this._objectName(t)),
((n = this._objectRequestParams('GET', t, n)).successStatuses = [200]),
(e.next = 8),
this.request(n)
);
case 8:
return (r = e.sent), (e.next = 11), this.parseXML(r.data);
case 11:
return (
(n = e.sent),
(s = (s = n.TagSet.Tag) && c(s) ? [s] : s || []),
(i = {}),
s.forEach(function (e) {
i[e.Key] = e.Value;
}),
e.abrupt('return', { status: r.status, res: r.res, tag: i })
);
case 17:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e) {
return t.apply(this, arguments);
};
})();
},
{
'../utils/isObject': 68,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.object.assign.js': 284,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/web.dom-collections.for-each.js': 338
}
],
42: [
function (e, t, r) {
'use strict';
var n = e('../utils/isIP').isIP;
r.getObjectUrl = function (e, t) {
if (n(this.options.endpoint.hostname)) throw new Error('can not get the object URL when endpoint is IP');
return (
t ? '/' !== t[t.length - 1] && (t += '/') : (t = this.options.endpoint.format()),
t + this._escape(this._objectName(e))
);
};
},
{ '../utils/isIP': 67 }
],
43: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
i = n(e('@babel/runtime/regenerator')),
s = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator')));
r.getSymlink = (function () {
var t = (0, s.default)(
i.default.mark(function e(t) {
var r,
n,
s = arguments;
return i.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((r = 1 < s.length && void 0 !== s[1] ? s[1] : {}).subres = Object.assign(
{ symlink: '' },
r.subres
)),
r.versionId && (r.subres.versionId = r.versionId),
(t = this._objectName(t)),
((r = this._objectRequestParams('GET', t, r)).successStatuses = [200]),
(e.next = 8),
this.request(r)
);
case 8:
return (
(r = e.sent),
(n = r.res.headers['x-oss-symlink-target']),
e.abrupt('return', { targetName: decodeURIComponent(n), res: r.res })
);
case 11:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e) {
return t.apply(this, arguments);
};
})();
},
{
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.object.assign.js': 284
}
],
44: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
o = n(e('@babel/runtime/regenerator')),
s =
(e('core-js/modules/es.object.assign.js'),
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
e('core-js/modules/es.object.keys.js'),
n(e('@babel/runtime/helpers/asyncToGenerator')));
r.head = (function () {
var t = (0, s.default)(
o.default.mark(function e(t) {
var r,
n,
s,
i = arguments;
return o.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((r = 1 < i.length && void 0 !== i[1] ? i[1] : {}).subres = Object.assign({}, r.subres)),
r.versionId && (r.subres.versionId = r.versionId),
((r = this._objectRequestParams('HEAD', t, r)).successStatuses = [200, 304]),
(e.next = 7),
this.request(r)
);
case 7:
return (
(n = e.sent),
(s = { meta: null, res: n.res, status: n.status }),
200 === n.status &&
Object.keys(n.headers).forEach(function (e) {
0 === e.indexOf('x-oss-meta-') &&
(s.meta || (s.meta = {}), (s.meta[e.substring(11)] = n.headers[e]));
}),
e.abrupt('return', s)
);
case 11:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e) {
return t.apply(this, arguments);
};
})();
},
{
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.object.assign.js': 284,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/web.dom-collections.for-each.js': 338
}
],
45: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
i = n(e('@babel/runtime/regenerator')),
s = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator')));
r.putACL = (function () {
var n = (0, s.default)(
i.default.mark(function e(t, r, n) {
var s;
return i.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((n = n || {}).subres = Object.assign({ acl: '' }, n.subres)),
n.versionId && (n.subres.versionId = n.versionId),
(n.headers = n.headers || {}),
(n.headers['x-oss-object-acl'] = r),
(t = this._objectName(t)),
((s = this._objectRequestParams('PUT', t, n)).successStatuses = [200]),
(e.next = 10),
this.request(s)
);
case 10:
return (s = e.sent), e.abrupt('return', { res: s.res });
case 12:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r) {
return n.apply(this, arguments);
};
})();
},
{
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.object.assign.js': 284
}
],
46: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
o = n(e('@babel/runtime/regenerator')),
s =
(e('core-js/modules/es.object.assign.js'),
e('core-js/modules/es.array.map.js'),
e('core-js/modules/es.object.keys.js'),
n(e('@babel/runtime/helpers/asyncToGenerator'))),
a = e('../utils/obj2xml').obj2xml,
c = e('../utils/checkObjectTag').checkObjectTag;
r.putObjectTagging = (function () {
var r = (0, s.default)(
o.default.mark(function e(t, r) {
var n,
s,
i = arguments;
return o.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
(n = 2 < i.length && void 0 !== i[2] ? i[2] : {}),
c(r),
(n.subres = Object.assign({ tagging: '' }, n.subres)),
n.versionId && (n.subres.versionId = n.versionId),
(t = this._objectName(t)),
((n = this._objectRequestParams('PUT', t, n)).successStatuses = [200]),
(r = Object.keys(r).map(function (e) {
return { Key: e, Value: r[e] };
})),
(s = { Tagging: { TagSet: { Tag: r } } }),
(n.mime = 'xml'),
(n.content = a(s)),
(e.next = 13),
this.request(n)
);
case 13:
return (s = e.sent), e.abrupt('return', { res: s.res, status: s.status });
case 15:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t) {
return r.apply(this, arguments);
};
})();
},
{
'../utils/checkObjectTag': 53,
'../utils/obj2xml': 70,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.array.map.js': 277,
'core-js/modules/es.object.assign.js': 284,
'core-js/modules/es.object.keys.js': 289
}
],
47: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
i = n(e('@babel/runtime/regenerator')),
s = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator')));
r.putSymlink = (function () {
var n = (0, s.default)(
i.default.mark(function e(t, r, n) {
var s;
return i.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
return (
((n = n || {}).headers = n.headers || {}),
(r = this._escape(this._objectName(r))),
this._convertMetaToHeaders(n.meta, n.headers),
(n.headers['x-oss-symlink-target'] = r),
(n.subres = Object.assign({ symlink: '' }, n.subres)),
n.versionId && (n.subres.versionId = n.versionId),
n.storageClass && (n.headers['x-oss-storage-class'] = n.storageClass),
(t = this._objectName(t)),
((s = this._objectRequestParams('PUT', t, n)).successStatuses = [200]),
(e.next = 13),
this.request(s)
);
case 13:
return (s = e.sent), e.abrupt('return', { res: s.res });
case 15:
case 'end':
return e.stop();
}
},
e,
this
);
})
);
return function (e, t, r) {
return n.apply(this, arguments);
};
})();
},
{
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.object.assign.js': 284
}
],
48: [
function (e, t, r) {
'use strict';
var s = e('url'),
i = e('utility'),
o = e('copy-to'),
a = e('../../common/signUtils'),
c = e('../utils/isIP').isIP;
r.signatureUrl = function (e, t) {
if (c(this.options.endpoint.hostname)) throw new Error('can not get the object URL when endpoint is IP');
(t = t || {}), (e = this._objectName(e)), (t.method = t.method || 'GET');
var r = i.timestamp() + (t.expires || 1800),
e = { bucket: this.options.bucket, object: e },
n = this._getResource(e),
t =
(this.options.stsToken && (t['security-token'] = this.options.stsToken),
a._signatureForURL(this.options.accessKeySecret, t, n, r)),
n = s.parse(this._getReqUrl(e));
return (
(n.query = { OSSAccessKeyId: this.options.accessKeyId, Expires: r, Signature: t.Signature }),
o(t.subResource).to(n.query),
n.format()
);
};
},
{ '../../common/signUtils': 50, '../utils/isIP': 67, 'copy-to': 91, url: 446, utility: 448 }
],
49: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
p = n(e('@babel/runtime/regenerator')),
i =
(e('core-js/modules/es.array.iterator.js'),
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/es.promise.js'),
e('core-js/modules/es.string.iterator.js'),
e('core-js/modules/web.dom-collections.iterator.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
e('core-js/modules/es.function.name.js'),
n(e('@babel/runtime/helpers/asyncToGenerator'))),
s = e('./utils/isArray').isArray,
n = r;
(n._parallelNode = (function () {
var s = (0, i.default)(
p.default.mark(function e(t, r, n, s) {
var i, o, a, c, l, u;
return p.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
(i = this),
(o = []),
(a = []),
(c = t.length / r),
(l = t.length % r),
(c = 0 == l ? c : (t.length - l) / r + 1),
(l = 1),
(u = 0);
case 8:
if (!(u < t.length)) {
e.next = 26;
break;
}
if (i.isCancel()) return e.abrupt('break', 26);
e.next = 11;
break;
case 11:
if (
(s ? a.push(n(i, t[u], s)) : a.push(n(i, t[u])),
a.length === r || (l === c && u === t.length - 1))
)
return (e.prev = 13), (l += 1), (e.next = 17), Promise.all(a);
e.next = 23;
break;
case 17:
e.next = 22;
break;
case 19:
(e.prev = 19), (e.t0 = e.catch(13)), o.push(e.t0);
case 22:
a = [];
case 23:
u++, (e.next = 8);
break;
case 26:
return e.abrupt('return', o);
case 27:
case 'end':
return e.stop();
}
},
e,
this,
[[13, 19]]
);
})
);
return function (e, t, r, n) {
return s.apply(this, arguments);
};
})()),
(n._parallel = function (p, f, d) {
var h = this;
return new Promise(function (t) {
var r,
e,
n,
s,
i,
o,
a,
c = [];
function l(e) {
--o,
e
? ((i = !0), c.push(e), t(c))
: i && o <= 0
? ((i = !0), t(c))
: a || (h.isCancel() ? t(c) : u());
}
function u() {
for (a = !0; o < f && !i && !h.isCancel(); ) {
var e = r();
if (null === e || 0 < c.length) return (i = !0), void (o <= 0 && t(c));
(o += 1),
!(function (e, t) {
d(e)
.then(function (e) {
t(null, e);
})
.catch(function (e) {
t(e);
});
})(
e.value,
(function (s) {
return function () {
if (null === s) throw new Error('Callback was already called.');
var e = s;
s = null;
for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++) r[n] = arguments[n];
e.apply(this, r);
};
})(l)
);
}
a = !1;
}
f <= 0 || !p
? t(c)
: ((n = -1),
(s = (e = p).length),
(o = 0),
(a = i =
!(r = function () {
return ++n < s && !h.isCancel() ? { value: e[n], key: n } : null;
})),
u());
});
}),
(n.cancel = function (e) {
(this.options.cancelFlag = !0),
s(this.multipartUploadStreams) &&
this.multipartUploadStreams.forEach(function (e) {
!1 === e.destroyed && e.destroy({ name: 'cancel', message: 'cancel' });
}),
(this.multipartUploadStreams = []),
e && this.abortMultipartUpload(e.name, e.uploadId, e.options);
}),
(n.isCancel = function () {
return this.options.cancelFlag;
}),
(n.resetCancelFlag = function () {
this.options.cancelFlag = !1;
}),
(n._stop = function () {
this.options.cancelFlag = !0;
}),
(n._makeCancelEvent = function () {
return { status: 0, name: 'cancel' };
}),
(n._makeAbortEvent = function () {
return { status: 0, name: 'abort', message: 'upload task has been abort' };
});
},
{
'./utils/isArray': 62,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.array.iterator.js': 275,
'core-js/modules/es.function.name.js': 281,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.promise.js': 294,
'core-js/modules/es.string.iterator.js': 302,
'core-js/modules/web.dom-collections.for-each.js': 338,
'core-js/modules/web.dom-collections.iterator.js': 339
}
],
50: [
function (e, t, r) {
!function (l) {
!function () {
'use strict';
e('core-js/modules/es.string.trim.js'),
e('core-js/modules/es.array.sort.js'),
e('core-js/modules/es.array.join.js'),
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
e('core-js/modules/es.object.keys.js'),
e('core-js/modules/es.array.concat.js'),
e('core-js/modules/es.regexp.to-string.js');
var n = e('./../../shims/crypto/crypto.js'),
s = e('is-type-of'),
a = e('./utils/lowercaseKeyHeader').lowercaseKeyHeader;
(r.buildCanonicalizedResource = function (e, t) {
var r = ''.concat(e),
n = '?';
return (
s.string(t) && '' !== t.trim()
? (r += n + t)
: s.array(t)
? (t.sort(), (r += n + t.join('&')))
: t &&
Object.keys(t)
.sort(function (e, t) {
return e[0] > t[0] ? 1 : e[0] < t[0] ? -1 : 0;
})
.forEach(function (e) {
(r += n + e), (!t[e] && 0 !== t[e]) || (r += '='.concat(t[e])), (n = '&');
}),
r
);
}),
(r.buildCanonicalString = function (e, t, r, n) {
var s = a((r = r || {}).headers),
i = [],
o = {},
e = [e.toUpperCase(), s['content-md5'] || '', s['content-type'], n || s['x-oss-date']];
return (
Object.keys(s).forEach(function (e) {
var t = e.toLowerCase();
0 === t.indexOf('x-oss-') && (o[t] = String(s[e]).trim());
}),
Object.keys(o)
.sort()
.forEach(function (e) {
i.push(''.concat(e, ':').concat(o[e]));
}),
(e = e.concat(i)).push(this.buildCanonicalizedResource(t, r.parameters)),
e.join('\n')
);
}),
(r.computeSignature = function (e, t) {
var r = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : 'utf-8';
return n.createHmac('sha1', e).update(l.from(t, r)).digest('base64');
}),
(r.authorization = function (e, t, r, n) {
return 'OSS '.concat(e, ':').concat(this.computeSignature(t, r, n));
}),
(r._signatureForURL = function (e) {
var t,
n = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},
r = 2 < arguments.length ? arguments[2] : void 0,
s = 3 < arguments.length ? arguments[3] : void 0,
i = 4 < arguments.length ? arguments[4] : void 0,
o = {},
a = n.subResource,
c = void 0 === a ? {} : a,
a =
(n.process && (c['x-oss-process'] = n.process),
n.trafficLimit && (c['x-oss-traffic-limit'] = n.trafficLimit),
n.response &&
Object.keys(n.response).forEach(function (e) {
var t = 'response-'.concat(e.toLowerCase());
c[t] = n.response[e];
}),
Object.keys(n).forEach(function (e) {
var t = e.toLowerCase(),
r = n[e];
0 === t.indexOf('x-oss-')
? (o[t] = r)
: (0 !== t.indexOf('content-md5') && 0 !== t.indexOf('content-type')) || (o[e] = r);
}),
Object.prototype.hasOwnProperty.call(n, 'security-token') &&
(c['security-token'] = n['security-token']),
Object.prototype.hasOwnProperty.call(n, 'callback') &&
((a = { callbackUrl: encodeURI(n.callback.url), callbackBody: n.callback.body }),
n.callback.host && (a.callbackHost = n.callback.host),
n.callback.contentType && (a.callbackBodyType = n.callback.contentType),
(c.callback = l.from(JSON.stringify(a)).toString('base64')),
n.callback.customValue &&
((t = {}),
Object.keys(n.callback.customValue).forEach(function (e) {
t['x:'.concat(e)] = n.callback.customValue[e];
}),
(c['callback-var'] = l.from(JSON.stringify(t)).toString('base64')))),
this.buildCanonicalString(n.method, r, { headers: o, parameters: c }, s.toString()));
return { Signature: this.computeSignature(e, a, i), subResource: c };
});
}.call(this);
}.call(this, e('buffer').Buffer);
},
{
'./../../shims/crypto/crypto.js': 435,
'./utils/lowercaseKeyHeader': 69,
buffer: 89,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.array.join.js': 276,
'core-js/modules/es.array.sort.js': 279,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.regexp.to-string.js': 300,
'core-js/modules/es.string.trim.js': 307,
'core-js/modules/web.dom-collections.for-each.js': 338,
'is-type-of': 440
}
],
51: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.regexp.exec.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.checkBucketName = void 0),
(r.checkBucketName = function (e) {
if (
!(
1 < arguments.length && void 0 !== arguments[1] && arguments[1]
? /^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/
: /^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/
).test(e)
)
throw new Error('The bucket must be conform to the specifications');
});
},
{ 'core-js/modules/es.regexp.exec.js': 299 }
],
52: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.regexp.exec.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.checkConfigValid = void 0);
var n = {
endpoint: function (e) {
{
if ('string' == typeof e) return /^[a-zA-Z0-9._:/-]+$/.test(e);
if (e.host) return /^[a-zA-Z0-9._:/-]+$/.test(e.host);
}
return !1;
},
region: /^[a-zA-Z0-9\-_]+$/
};
r.checkConfigValid = function (e, t) {
if (n[t])
if (!(n[t] instanceof Function ? n[t](e) : n[t].test(e)))
throw new Error('The '.concat(t, ' must be conform to the specifications'));
};
},
{ 'core-js/modules/es.regexp.exec.js': 299 }
],
53: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.array.concat.js'),
e('core-js/modules/es.object.entries.js'),
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.checkObjectTag = void 0);
var n = e('./checkValid').checkValid,
s = e('./isObject').isObject,
e = [
{
validator: function (e) {
if ('string' != typeof e) throw new Error('the key and value of the tag must be String');
}
},
{
pattern: /^[a-zA-Z0-9 +-=._:/]+$/,
msg: 'tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)'
}
],
i = {
key: [].concat(e, [{ pattern: /^.{1,128}$/, msg: 'tag key can be a maximum of 128 bytes in length' }]),
value: [].concat(e, [
{ pattern: /^.{0,256}$/, msg: 'tag value can be a maximum of 256 bytes in length' }
])
};
r.checkObjectTag = function (e) {
if (!s(e)) throw new Error('tag must be Object');
if (10 < (e = Object.entries(e)).length) throw new Error('maximum of 10 tags for a object');
var r = ['key', 'value'];
e.forEach(function (e) {
e.forEach(function (e, t) {
n(e, i[r[t]]);
});
});
};
},
{
'./checkValid': 54,
'./isObject': 68,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.object.entries.js': 285,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/web.dom-collections.for-each.js': 338
}
],
54: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
e('core-js/modules/es.regexp.exec.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.checkValid = void 0),
(r.checkValid = function (t, e) {
e.forEach(function (e) {
if (e.validator) e.validator(t);
else if (e.pattern && !e.pattern.test(t)) throw new Error(e.msg);
});
});
},
{
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/web.dom-collections.for-each.js': 338
}
],
55: [
function (e, t, r) {
!function (v) {
!function () {
'use strict';
e('core-js/modules/es.array.includes.js'),
e('core-js/modules/es.string.includes.js'),
e('core-js/modules/es.object.assign.js'),
e('core-js/modules/es.array.concat.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.createRequest = void 0);
var c = e('./../../../shims/crypto/crypto.js'),
l = e('debug')('ali-oss'),
u = e('mime'),
p = e('dateformat'),
f = e('copy-to'),
d = e('path'),
h = e('./encoder').encoder,
m = e('./isIP').isIP,
y = e('./setRegion').setRegion,
b = e('../client/getReqUrl').getReqUrl;
function g(e, t) {
return e[t] || e[t.toLowerCase()];
}
r.createRequest = function (e) {
var t,
r = new Date(),
n =
(this.options.amendTimeSkewed && (r = +new Date() + this.options.amendTimeSkewed),
{ 'x-oss-date': p(r, "UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'") }),
s =
('undefined' != typeof window && (n['x-oss-user-agent'] = this.userAgent),
this.userAgent.includes('nodejs') && (n['User-Agent'] = this.userAgent),
this.options.isRequestPay && Object.assign(n, { 'x-oss-request-payer': 'requester' }),
this.options.stsToken && (n['x-oss-security-token'] = this.options.stsToken),
f(e.headers).to(n),
g(n, 'Content-Type') ||
(e.mime && 0 < e.mime.indexOf('/')
? (n['Content-Type'] = e.mime)
: (n['Content-Type'] = u.getType(e.mime || d.extname(e.object || '')))),
g(n, 'Content-Type') || (delete (r = n)[(i = 'Content-Type')], delete r[i.toLowerCase()]),
e.content &&
(e.disabledMD5 ||
(e.headers && e.headers['Content-MD5']
? (n['Content-MD5'] = e.headers['Content-MD5'])
: (n['Content-MD5'] = c
.createHash('md5')
.update(v.from(e.content, 'utf8'))
.digest('base64'))),
n['Content-Length'] || (n['Content-Length'] = e.content.length)),
Object.prototype.hasOwnProperty);
for (t in n) n[t] && s.call(n, t) && (n[t] = h(String(n[t]), this.options.headerEncoding));
var i,
r = this._getResource(e),
o =
((n.authorization = this.authorization(e.method, r, e.subres, n, this.options.headerEncoding)),
m(this.options.endpoint.hostname) &&
((r = (i = this.options).region),
(o = i.internal),
(a = i.secure),
(r = y(r, o, a)),
(n.host = ''.concat(e.bucket, '.').concat(r.host))),
b.bind(this)(e)),
a =
(l('request %s %s, with headers %j, !!stream: %s', e.method, o, n, !!e.stream),
e.timeout || this.options.timeout),
r = {
method: e.method,
content: e.content,
stream: e.stream,
headers: n,
timeout: a,
writeStream: e.writeStream,
customResponse: e.customResponse,
ctx: e.ctx || this.ctx
};
return (
this.agent && (r.agent = this.agent),
this.httpsAgent && (r.httpsAgent = this.httpsAgent),
(r.enableProxy = !!this.options.enableProxy),
(r.proxy = this.options.proxy || null),
{ url: o, params: r }
);
};
}.call(this);
}.call(this, e('buffer').Buffer);
},
{
'../client/getReqUrl': 25,
'./../../../shims/crypto/crypto.js': 435,
'./encoder': 58,
'./isIP': 67,
'./setRegion': 73,
buffer: 89,
'copy-to': 91,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.array.includes.js': 274,
'core-js/modules/es.object.assign.js': 284,
'core-js/modules/es.string.includes.js': 301,
dateformat: 341,
debug: 439,
mime: 359,
path: 363
}
],
56: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
e('core-js/modules/es.object.entries.js'),
e('core-js/modules/es.regexp.exec.js'),
e('core-js/modules/es.string.replace.js'),
e('core-js/modules/es.array.includes.js'),
e('core-js/modules/es.object.keys.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.dataFix = void 0);
var l = e('./isObject'),
u = ['true', 'TRUE', '1', 1],
p = ['false', 'FALSE', '0', 0];
r.dataFix = function e(r, t, n) {
var s, i, o, a, c;
if (l.isObject(r))
return (
(s = t.remove),
(s = void 0 === s ? [] : s),
(i = t.rename),
(i = void 0 === i ? {} : i),
(o = t.camel),
(o = void 0 === o ? [] : o),
(a = t.bool),
(a = void 0 === a ? [] : a),
(t = t.lowerFirst),
(t = void 0 !== t && t),
s.forEach(function (e) {
return delete r[e];
}),
Object.entries(i).forEach(function (e) {
r[e[0]] && !r[e[1]] && ((r[e[1]] = r[e[0]]), delete r[e[0]]);
}),
o.forEach(function (e) {
var t;
r[e] &&
((t = e
.replace(/^(.)/, function (e) {
return e.toLowerCase();
})
.replace(/-(\w)/g, function (e, t) {
return t.toUpperCase();
})),
r[t] || (r[t] = r[e]));
}),
a.forEach(function (e) {
r[e] = !!(e = r[e]) && (!!u.includes(e) || (!p.includes(e) && e));
}),
'function' == typeof n && n(r),
(c = r),
t &&
Object.keys(c).forEach(function (e) {
var t = e.replace(/^\w/, function (e) {
return e.toLowerCase();
});
void 0 === c[t] && ((c[t] = c[e]), delete c[e]);
}),
e
);
};
},
{
'./isObject': 68,
'core-js/modules/es.array.includes.js': 274,
'core-js/modules/es.object.entries.js': 285,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.string.replace.js': 304,
'core-js/modules/web.dom-collections.for-each.js': 338
}
],
57: [
function (e, t, n) {
'use strict';
var r = e('@babel/runtime/helpers/interopRequireDefault'),
o =
(e('core-js/modules/es.array.slice.js'),
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
e('core-js/modules/es.object.keys.js'),
r(e('@babel/runtime/helpers/typeof'))),
a =
(Object.defineProperty(n, '__esModule', { value: !0 }),
(n.deepCopyWith = n.deepCopy = void 0),
e('./isBuffer'));
(n.deepCopy = function (t) {
if (null === t || 'object' !== (0, o.default)(t)) return t;
if (a.isBuffer(t)) return t.slice();
var r = Array.isArray(t) ? [] : {};
return (
Object.keys(t).forEach(function (e) {
r[e] = n.deepCopy(t[e]);
}),
r
);
}),
(n.deepCopyWith = function (e, i) {
return i
? (function t(r, e, n) {
e = i(r, e, n);
if (void 0 !== e) return e;
if (null === r || 'object' !== (0, o.default)(r)) return r;
if (a.isBuffer(r)) return r.slice();
var s = Array.isArray(r) ? [] : {};
return (
Object.keys(r).forEach(function (e) {
s[e] = t(r[e], e, r);
}),
s
);
})(e, '', null)
: n.deepCopy(e);
});
},
{
'./isBuffer': 64,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/helpers/typeof': 78,
'core-js/modules/es.array.slice.js': 278,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/web.dom-collections.for-each.js': 338
}
],
58: [
function (e, t, r) {
!function (t) {
!function () {
'use strict';
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/es.regexp.to-string.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.encoder = void 0),
(r.encoder = function (e) {
return 'utf-8' === (1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : 'utf-8')
? e
: t.from(e).toString('latin1');
});
}.call(this);
}.call(this, e('buffer').Buffer);
},
{ buffer: 89, 'core-js/modules/es.object.to-string.js': 290, 'core-js/modules/es.regexp.to-string.js': 300 }
],
59: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.array.map.js'),
e('core-js/modules/es.regexp.exec.js'),
e('core-js/modules/es.string.replace.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.formatInventoryConfig = void 0);
var n = e('../utils/dataFix'),
s = e('../utils/isObject'),
i = e('../utils/isArray'),
o = e('../utils/formatObjKey');
function a(e) {
return (
n.dataFix(e, { bool: ['IsEnabled'] }, function (e) {
var t;
(e.prefix = e.Filter.Prefix),
delete e.Filter,
(e.OSSBucketDestination = e.Destination.OSSBucketDestination),
(e.OSSBucketDestination.rolename = e.OSSBucketDestination.RoleArn.replace(/.*\//, '')),
delete e.OSSBucketDestination.RoleArn,
(e.OSSBucketDestination.bucket = e.OSSBucketDestination.Bucket.replace(/.*:::/, '')),
delete e.OSSBucketDestination.Bucket,
delete e.Destination,
(e.frequency = e.Schedule.Frequency),
delete e.Schedule.Frequency,
null != (t = null == e ? void 0 : e.OptionalFields) &&
t.Field &&
!i.isArray(null == (t = e.OptionalFields) ? void 0 : t.Field) &&
(e.OptionalFields.Field = [e.OptionalFields.Field]);
}),
(e = o.formatObjKey(e, 'firstLowerCase', { exclude: ['OSSBucketDestination', 'SSE-OSS', 'SSE-KMS'] }))
);
}
r.formatInventoryConfig = function (e) {
return (
1 < arguments.length && void 0 !== arguments[1] && arguments[1] && s.isObject(e) && (e = [e]),
(e = i.isArray(e) ? e.map(a) : a(e))
);
};
},
{
'../utils/dataFix': 56,
'../utils/formatObjKey': 60,
'../utils/isArray': 62,
'../utils/isObject': 68,
'core-js/modules/es.array.map.js': 277,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.string.replace.js': 304
}
],
60: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
o =
(e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
e('core-js/modules/es.object.keys.js'),
e('core-js/modules/es.array.includes.js'),
e('core-js/modules/es.string.includes.js'),
e('core-js/modules/es.regexp.exec.js'),
e('core-js/modules/es.string.replace.js'),
n(e('@babel/runtime/helpers/typeof')));
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.formatObjKey = void 0),
(r.formatObjKey = function t(r, n, s) {
if (null === r || 'object' !== (0, o.default)(r)) return r;
if (Array.isArray(r)) for (var i = [], e = 0; e < r.length; e++) i.push(t(r[e], n, s));
else
(i = {}),
Object.keys(r).forEach(function (e) {
i[
(function (e, t, r) {
return (
(r && r.exclude && r.exclude.includes(e)) ||
('firstUpperCase' === t
? (e = e.replace(/^./, function (e) {
return e.toUpperCase();
}))
: 'firstLowerCase' === t &&
(e = e.replace(/^./, function (e) {
return e.toLowerCase();
}))),
e
);
})(e, n, s)
] = t(r[e], n, s);
});
return i;
});
},
{
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/helpers/typeof': 78,
'core-js/modules/es.array.includes.js': 274,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.string.includes.js': 301,
'core-js/modules/es.string.replace.js': 304,
'core-js/modules/web.dom-collections.for-each.js': 338
}
],
61: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.regexp.exec.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.getStrBytesCount = void 0),
(r.getStrBytesCount = function (e) {
for (var t = 0, r = 0; r < e.length; r++) {
var n = e.charAt(r);
/^[\u00-\uff]$/.test(n) ? (t += 1) : (t += 2);
}
return t;
});
},
{ 'core-js/modules/es.regexp.exec.js': 299 }
],
62: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.object.to-string.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.isArray = void 0),
(r.isArray = function (e) {
return '[object Array]' === Object.prototype.toString.call(e);
});
},
{ 'core-js/modules/es.object.to-string.js': 290 }
],
63: [
function (e, t, r) {
'use strict';
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.isBlob = void 0),
(r.isBlob = function (e) {
return 'undefined' != typeof Blob && e instanceof Blob;
});
},
{}
],
64: [
function (e, t, r) {
!function (t) {
!function () {
'use strict';
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.isBuffer = void 0),
(r.isBuffer = function (e) {
return t.isBuffer(e);
});
}.call(this);
}.call(this, { isBuffer: e('../../../node_modules/is-buffer/index.js') });
},
{ '../../../node_modules/is-buffer/index.js': 354 }
],
65: [
function (e, t, r) {
'use strict';
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.isFile = void 0),
(r.isFile = function (e) {
return 'undefined' != typeof File && e instanceof File;
});
},
{}
],
66: [
function (e, t, r) {
'use strict';
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.isFunction = void 0),
(r.isFunction = function (e) {
return 'function' == typeof e;
});
},
{}
],
67: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.regexp.exec.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.isIP = void 0),
(r.isIP = function (e) {
return (
/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/.test(e) ||
/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/.test(
e
)
);
});
},
{ 'core-js/modules/es.regexp.exec.js': 299 }
],
68: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.object.to-string.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.isObject = void 0),
(r.isObject = function (e) {
return '[object Object]' === Object.prototype.toString.call(e);
});
},
{ 'core-js/modules/es.object.to-string.js': 290 }
],
69: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
e('core-js/modules/es.object.keys.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.lowercaseKeyHeader = void 0);
var n = e('./isObject');
r.lowercaseKeyHeader = function (t) {
var r = {};
return (
n.isObject(t) &&
Object.keys(t).forEach(function (e) {
r[e.toLowerCase()] = t[e];
}),
r
);
};
},
{
'./isObject': 68,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/web.dom-collections.for-each.js': 338
}
],
70: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.regexp.exec.js'),
e('core-js/modules/es.string.replace.js'),
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/web.dom-collections.for-each.js'),
e('core-js/modules/es.object.keys.js'),
e('core-js/modules/es.array.concat.js'),
e('core-js/modules/es.array.join.js'),
e('core-js/modules/es.array.map.js'),
e('core-js/modules/es.regexp.to-string.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.obj2xml = void 0);
var s = e('./formatObjKey');
function i(e) {
return Object.prototype.toString
.call(e)
.replace(/(.*? |])/g, '')
.toLowerCase();
}
r.obj2xml = function r(e, t) {
var n = '';
return (
t && t.headers && (n = '\n'),
'object' === i((e = t && t.firstUpperCase ? s.formatObjKey(e, 'firstUpperCase') : e))
? Object.keys(e).forEach(function (t) {
'undefined' !== i(e[t]) &&
'null' !== i(e[t]) &&
('string' === i(e[t]) || 'number' === i(e[t])
? (n += '<'.concat(t, '>').concat(e[t], '').concat(t, '>'))
: 'object' === i(e[t])
? (n += '<'.concat(t, '>').concat(r(e[t]), '').concat(t, '>'))
: 'array' === i(e[t])
? (n += e[t]
.map(function (e) {
return '<'.concat(t, '>').concat(r(e), '').concat(t, '>');
})
.join(''))
: (n += '<'.concat(t, '>').concat(e[t].toString(), '').concat(t, '>')));
})
: (n += e.toString()),
n
);
};
},
{
'./formatObjKey': 60,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.array.join.js': 276,
'core-js/modules/es.array.map.js': 277,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.regexp.to-string.js': 300,
'core-js/modules/es.string.replace.js': 304,
'core-js/modules/web.dom-collections.for-each.js': 338
}
],
71: [
function (e, t, r) {
'use strict';
function i(e, t) {
var r,
n = ('undefined' != typeof Symbol && e[Symbol.iterator]) || e['@@iterator'];
if (!n) {
if (
Array.isArray(e) ||
(n = (function (e, t) {
if (e) {
if ('string' == typeof e) return a(e, t);
var r = Object.prototype.toString.call(e).slice(8, -1);
return 'Map' === (r = 'Object' === r && e.constructor ? e.constructor.name : r) || 'Set' === r
? Array.from(e)
: 'Arguments' === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)
? a(e, t)
: void 0;
}
})(e)) ||
(t && e && 'number' == typeof e.length)
)
return (
n && (e = n),
(r = 0),
{
s: (t = function () {}),
n: function () {
return r >= e.length ? { done: !0 } : { done: !1, value: e[r++] };
},
e: function (e) {
throw e;
},
f: t
}
);
throw new TypeError(
'Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
);
}
var s,
i = !0,
o = !1;
return {
s: function () {
n = n.call(e);
},
n: function () {
var e = n.next();
return (i = e.done), e;
},
e: function (e) {
(o = !0), (s = e);
},
f: function () {
try {
i || null == n.return || n.return();
} finally {
if (o) throw s;
}
}
};
}
function a(e, t) {
(null == t || t > e.length) && (t = e.length);
for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
return n;
}
e('core-js/modules/es.array.slice.js'),
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/es.function.name.js'),
e('core-js/modules/es.array.from.js'),
e('core-js/modules/es.string.iterator.js'),
e('core-js/modules/es.regexp.exec.js'),
e('core-js/modules/es.symbol.js'),
e('core-js/modules/es.symbol.description.js'),
e('core-js/modules/es.symbol.iterator.js'),
e('core-js/modules/es.array.iterator.js'),
e('core-js/modules/web.dom-collections.iterator.js'),
e('core-js/modules/es.object.assign.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.omit = void 0),
(r.omit = function (e, t) {
var r,
n = Object.assign({}, e),
s = i(t);
try {
for (s.s(); !(r = s.n()).done; ) delete n[r.value];
} catch (e) {
s.e(e);
} finally {
s.f();
}
return n;
});
},
{
'core-js/modules/es.array.from.js': 273,
'core-js/modules/es.array.iterator.js': 275,
'core-js/modules/es.array.slice.js': 278,
'core-js/modules/es.function.name.js': 281,
'core-js/modules/es.object.assign.js': 284,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.string.iterator.js': 302,
'core-js/modules/es.symbol.description.js': 309,
'core-js/modules/es.symbol.iterator.js': 311,
'core-js/modules/es.symbol.js': 312,
'core-js/modules/web.dom-collections.iterator.js': 339
}
],
72: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/es.promise.js'),
Object.defineProperty(r, '__esModule', { value: !0 }),
(r.retry = void 0),
(r.retry = function (i, o) {
var e = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {},
a = 0,
t = e.retryDelay,
c = void 0 === t ? 500 : t,
l =
void 0 === (t = e.errorHandler)
? function () {
return !0;
}
: t;
return function n() {
for (var e = arguments.length, s = new Array(e), t = 0; t < e; t++) s[t] = arguments[t];
return new Promise(function (t, r) {
i.apply(void 0, s)
.then(function (e) {
(a = 0), t(e);
})
.catch(function (e) {
a < o && l(e)
? (a++,
setTimeout(function () {
t(n.apply(void 0, s));
}, c))
: ((a = 0), r(e));
});
});
};
});
},
{ 'core-js/modules/es.object.to-string.js': 290, 'core-js/modules/es.promise.js': 294 }
],
73: [
function (e, t, r) {
'use strict';
var n = function (e) {
return e && e.__esModule ? e : { default: e };
},
s = (Object.defineProperty(r, '__esModule', { value: !0 }), (r.setRegion = void 0), n(e('url'))),
i = e('./checkConfigValid');
r.setRegion = function (e) {
var t = 1 < arguments.length && void 0 !== arguments[1] && arguments[1],
r = 2 < arguments.length && void 0 !== arguments[2] && arguments[2],
r = (i.checkConfigValid(e, 'region'), r ? 'https://' : 'http://'),
t = t ? '-internal.aliyuncs.com' : '.aliyuncs.com',
n = 'vpc100-oss-cn-';
return e.substr(0, n.length) === n && (t = '.aliyuncs.com'), s.default.parse(r + e + t);
};
},
{ './checkConfigValid': 52, url: 446 }
],
74: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault'),
s = n(e('@babel/runtime/regenerator')),
i =
(e('core-js/modules/es.object.keys.js'),
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/es.array.find.js'),
e('core-js/modules/es.object.assign.js'),
n(e('@babel/runtime/helpers/asyncToGenerator'))),
o =
(Object.defineProperty(r, '__esModule', { value: !0 }),
(r.checkCredentials = r.setSTSToken = void 0),
e('./formatObjKey'));
function a() {
return (a = (0, i.default)(
s.default.mark(function e() {
var t, r;
return s.default.wrap(
function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if ((this.options || (this.options = {}), (t = new Date()), !this.stsTokenFreshTime)) {
e.next = 14;
break;
}
if (+t - this.stsTokenFreshTime >= this.options.refreshSTSTokenInterval)
return (this.stsTokenFreshTime = t), (e.next = 7), this.options.refreshSTSToken();
e.next = 12;
break;
case 7:
(r = e.sent),
(r = o.formatObjKey(r, 'firstLowerCase')).securityToken && (r.stsToken = r.securityToken),
c(r),
Object.assign(this.options, r);
case 12:
e.next = 15;
break;
case 14:
this.stsTokenFreshTime = t;
case 15:
return e.abrupt('return', null);
case 16:
case 'end':
return e.stop();
}
},
e,
this
);
})
)).apply(this, arguments);
}
function c(e) {
var r = Object.keys(e);
['accessKeySecret', 'accessKeyId', 'stsToken'].forEach(function (t) {
if (
!r.find(function (e) {
return e === t;
})
)
throw Error('refreshSTSToken must return contains '.concat(t));
});
}
(r.setSTSToken = function () {
return a.apply(this, arguments);
}),
(r.checkCredentials = c);
},
{
'./formatObjKey': 60,
'@babel/runtime/helpers/asyncToGenerator': 75,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/regenerator': 79,
'core-js/modules/es.array.find.js': 272,
'core-js/modules/es.object.assign.js': 284,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.object.to-string.js': 290
}
],
75: [
function (e, t, r) {
function c(e, t, r, n, s, i, o) {
try {
var a = e[i](o),
c = a.value;
} catch (e) {
return void r(e);
}
a.done ? t(c) : Promise.resolve(c).then(n, s);
}
(t.exports = function (a) {
return function () {
var e = this,
o = arguments;
return new Promise(function (t, r) {
var n = a.apply(e, o);
function s(e) {
c(n, t, r, s, i, 'next', e);
}
function i(e) {
c(n, t, r, s, i, 'throw', e);
}
s(void 0);
});
};
}),
(t.exports.__esModule = !0),
(t.exports.default = t.exports);
},
{}
],
76: [
function (e, t, r) {
(t.exports = function (e, t, r) {
return (
t in e
? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 })
: (e[t] = r),
e
);
}),
(t.exports.__esModule = !0),
(t.exports.default = t.exports);
},
{}
],
77: [
function (e, t, r) {
(t.exports = function (e) {
return e && e.__esModule ? e : { default: e };
}),
(t.exports.__esModule = !0),
(t.exports.default = t.exports);
},
{}
],
78: [
function (e, t, r) {
function n(e) {
return (
(t.exports = n =
'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
? function (e) {
return typeof e;
}
: function (e) {
return e && 'function' == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype
? 'symbol'
: typeof e;
}),
(t.exports.__esModule = !0),
(t.exports.default = t.exports),
n(e)
);
}
(t.exports = n), (t.exports.__esModule = !0), (t.exports.default = t.exports);
},
{}
],
79: [
function (e, t, r) {
t.exports = e('regenerator-runtime');
},
{ 'regenerator-runtime': 384 }
],
80: [
function (e, t, r) {
function n() {}
(t.exports = n), (t.exports.HttpsAgent = n);
},
{}
],
81: [
function (x, T, e) {
!function (f) {
!function () {
'use strict';
var e = x('object-assign');
function d(e, t) {
if (e === t) return 0;
for (var r = e.length, n = t.length, s = 0, i = Math.min(r, n); s < i; ++s)
if (e[s] !== t[s]) {
(r = e[s]), (n = t[s]);
break;
}
return r < n ? -1 : n < r ? 1 : 0;
}
function h(e) {
return f.Buffer && 'function' == typeof f.Buffer.isBuffer
? f.Buffer.isBuffer(e)
: !(null == e || !e._isBuffer);
}
var m = x('util/'),
n = Object.prototype.hasOwnProperty,
y = Array.prototype.slice,
t = 'foo' === function () {}.name;
function b(e) {
return Object.prototype.toString.call(e);
}
function g(e) {
return (
!h(e) &&
'function' == typeof f.ArrayBuffer &&
('function' == typeof ArrayBuffer.isView
? ArrayBuffer.isView(e)
: e && (e instanceof DataView || !!(e.buffer && e.buffer instanceof ArrayBuffer)))
);
}
var i = (T.exports = l),
r = /\s*function\s+([^\(\s]*)\s*/;
function s(e) {
if (m.isFunction(e)) {
if (t) return e.name;
e = e.toString().match(r);
return e && e[1];
}
}
function o(e, t) {
return 'string' != typeof e || e.length < t ? e : e.slice(0, t);
}
function a(e) {
if (t || !m.isFunction(e)) return m.inspect(e);
e = s(e);
return '[Function' + (e ? ': ' + e : '') + ']';
}
function c(e, t, r, n, s) {
throw new i.AssertionError({
message: r,
actual: e,
expected: t,
operator: n,
stackStartFunction: s
});
}
function l(e, t) {
e || c(e, !0, t, '==', i.ok);
}
function v(e, t, r, n) {
if (e === t) return !0;
if (h(e) && h(t)) return 0 === d(e, t);
if (m.isDate(e) && m.isDate(t)) return e.getTime() === t.getTime();
if (m.isRegExp(e) && m.isRegExp(t))
return (
e.source === t.source &&
e.global === t.global &&
e.multiline === t.multiline &&
e.lastIndex === t.lastIndex &&
e.ignoreCase === t.ignoreCase
);
if ((null !== e && 'object' == typeof e) || (null !== t && 'object' == typeof t)) {
if (g(e) && g(t) && b(e) === b(t) && !(e instanceof Float32Array || e instanceof Float64Array))
return 0 === d(new Uint8Array(e.buffer), new Uint8Array(t.buffer));
if (h(e) !== h(t)) return !1;
var s = (n = n || { actual: [], expected: [] }).actual.indexOf(e);
if (-1 !== s && s === n.expected.indexOf(t)) return !0;
n.actual.push(e), n.expected.push(t);
var i = e,
o = t,
a = r,
c = n;
if (null == i || null == o) return !1;
if (m.isPrimitive(i) || m.isPrimitive(o)) return i === o;
if (a && Object.getPrototypeOf(i) !== Object.getPrototypeOf(o)) return !1;
(s = j(i)), (n = j(o));
if ((s && !n) || (!s && n)) return !1;
if (s) return (i = y.call(i)), (o = y.call(o)), v(i, o, a);
var l,
u,
p = w(i),
f = w(o);
if (p.length !== f.length) return !1;
for (p.sort(), f.sort(), u = p.length - 1; 0 <= u; u--) if (p[u] !== f[u]) return !1;
for (u = p.length - 1; 0 <= u; u--) if (((l = p[u]), !v(i[l], o[l], a, c))) return !1;
return !0;
}
return r ? e === t : e == t;
}
function j(e) {
return '[object Arguments]' == Object.prototype.toString.call(e);
}
function u(e, t) {
if (e && t) {
if ('[object RegExp]' == Object.prototype.toString.call(t)) return t.test(e);
try {
if (e instanceof t) return 1;
} catch (e) {}
return Error.isPrototypeOf(t) ? void 0 : !0 === t.call({}, e);
}
}
function p(e, t, r, n) {
if ('function' != typeof t) throw new TypeError('"block" argument must be a function');
'string' == typeof r && ((n = r), (r = null)),
(t = (function (e) {
var t;
try {
e();
} catch (e) {
t = e;
}
return t;
})(t)),
(n = (r && r.name ? ' (' + r.name + ').' : '.') + (n ? ' ' + n : '.')),
e && !t && c(t, r, 'Missing expected exception' + n);
var s = 'string' == typeof n,
i = !e && t && !r;
if (
(((!e && m.isError(t) && s && u(t, r)) || i) && c(t, r, 'Got unwanted exception' + n),
(e && t && r && !u(t, r)) || (!e && t))
)
throw t;
}
(i.AssertionError = function (e) {
(this.name = 'AssertionError'),
(this.actual = e.actual),
(this.expected = e.expected),
(this.operator = e.operator),
e.message
? ((this.message = e.message), (this.generatedMessage = !1))
: ((this.message = o(a((r = this).actual), 128) + ' ' + r.operator + ' ' + o(a(r.expected), 128)),
(this.generatedMessage = !0));
var t,
r = e.stackStartFunction || c;
Error.captureStackTrace
? Error.captureStackTrace(this, r)
: (e = new Error()).stack &&
((e = e.stack),
(t = s(r)),
0 <= (t = e.indexOf('\n' + t)) && ((t = e.indexOf('\n', t + 1)), (e = e.substring(t + 1))),
(this.stack = e));
}),
m.inherits(i.AssertionError, Error),
(i.fail = c),
(i.ok = l),
(i.equal = function (e, t, r) {
e != t && c(e, t, r, '==', i.equal);
}),
(i.notEqual = function (e, t, r) {
e == t && c(e, t, r, '!=', i.notEqual);
}),
(i.deepEqual = function (e, t, r) {
v(e, t, !1) || c(e, t, r, 'deepEqual', i.deepEqual);
}),
(i.deepStrictEqual = function (e, t, r) {
v(e, t, !0) || c(e, t, r, 'deepStrictEqual', i.deepStrictEqual);
}),
(i.notDeepEqual = function (e, t, r) {
v(e, t, !1) && c(e, t, r, 'notDeepEqual', i.notDeepEqual);
}),
(i.notDeepStrictEqual = function e(t, r, n) {
v(t, r, !0) && c(t, r, n, 'notDeepStrictEqual', e);
}),
(i.strictEqual = function (e, t, r) {
e !== t && c(e, t, r, '===', i.strictEqual);
}),
(i.notStrictEqual = function (e, t, r) {
e === t && c(e, t, r, '!==', i.notStrictEqual);
}),
(i.throws = function (e, t, r) {
p(!0, e, t, r);
}),
(i.doesNotThrow = function (e, t, r) {
p(!1, e, t, r);
}),
(i.ifError = function (e) {
if (e) throw e;
}),
(i.strict = e(
function e(t, r) {
t || c(t, !0, r, '==', e);
},
i,
{
equal: i.strictEqual,
deepEqual: i.deepStrictEqual,
notEqual: i.notStrictEqual,
notDeepEqual: i.notDeepStrictEqual
}
)),
(i.strict.strict = i.strict);
var w =
Object.keys ||
function (e) {
var t,
r = [];
for (t in e) n.call(e, t) && r.push(t);
return r;
};
}.call(this);
}.call(
this,
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {}
);
},
{ 'object-assign': 362, 'util/': 84 }
],
82: [
function (e, t, r) {
'function' == typeof Object.create
? (t.exports = function (e, t) {
(e.super_ = t),
(e.prototype = Object.create(t.prototype, {
constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 }
}));
})
: (t.exports = function (e, t) {
e.super_ = t;
function r() {}
(r.prototype = t.prototype), (e.prototype = new r()), (e.prototype.constructor = e);
});
},
{}
],
83: [
function (e, t, r) {
t.exports = function (e) {
return (
e &&
'object' == typeof e &&
'function' == typeof e.copy &&
'function' == typeof e.fill &&
'function' == typeof e.readUInt8
);
};
},
{}
],
84: [
function (_, e, S) {
!function (k, E) {
!function () {
var e,
a = /%[sdj%]/g,
n =
((S.format = function (e) {
if (!b(e)) {
for (var t = [], r = 0; r < arguments.length; r++) t.push(c(arguments[r]));
return t.join(' ');
}
for (
var r = 1,
n = arguments,
s = n.length,
i = String(e).replace(a, function (e) {
if ('%%' === e) return '%';
if (s <= r) return e;
switch (e) {
case '%s':
return String(n[r++]);
case '%d':
return Number(n[r++]);
case '%j':
try {
return JSON.stringify(n[r++]);
} catch (e) {
return '[Circular]';
}
default:
return e;
}
}),
o = n[r];
r < s;
o = n[++r]
)
m(o) || !l(o) ? (i += ' ' + o) : (i += ' ' + c(o));
return i;
}),
(S.deprecate = function (e, t) {
if (g(E.process))
return function () {
return S.deprecate(e, t).apply(this, arguments);
};
if (!0 === k.noDeprecation) return e;
var r = !1;
return function () {
if (!r) {
if (k.throwDeprecation) throw new Error(t);
k.traceDeprecation ? console.trace(t) : console.error(t), (r = !0);
}
return e.apply(this, arguments);
};
}),
{});
function c(e, t) {
var r = { seen: [], stylize: i };
return (
3 <= arguments.length && (r.depth = arguments[2]),
4 <= arguments.length && (r.colors = arguments[3]),
h(t) ? (r.showHidden = t) : t && S._extend(r, t),
g(r.showHidden) && (r.showHidden = !1),
g(r.depth) && (r.depth = 2),
g(r.colors) && (r.colors = !1),
g(r.customInspect) && (r.customInspect = !0),
r.colors && (r.stylize = s),
u(r, e, r.depth)
);
}
function s(e, t) {
t = c.styles[t];
return t ? '\x1b[' + c.colors[t][0] + 'm' + e + '\x1b[' + c.colors[t][1] + 'm' : e;
}
function i(e, t) {
return e;
}
function u(t, r, n) {
if (
t.customInspect &&
r &&
x(r.inspect) &&
r.inspect !== S.inspect &&
(!r.constructor || r.constructor.prototype !== r)
)
return b((e = r.inspect(n, t))) ? e : u(t, e, n);
var e = (function (e, t) {
if (g(t)) return e.stylize('undefined', 'undefined');
{
var r;
if (b(t))
return (
(r =
"'" +
JSON.stringify(t).replace(/^"|"$/g, '').replace(/'/g, "\\'").replace(/\\"/g, '"') +
"'"),
e.stylize(r, 'string')
);
}
return y(t)
? e.stylize('' + t, 'number')
: h(t)
? e.stylize('' + t, 'boolean')
: m(t)
? e.stylize('null', 'null')
: void 0;
})(t, r);
if (e) return e;
var s,
e = Object.keys(r),
i =
((s = {}),
e.forEach(function (e, t) {
s[e] = !0;
}),
s);
if (
(t.showHidden && (e = Object.getOwnPropertyNames(r)),
w(r) && (0 <= e.indexOf('message') || 0 <= e.indexOf('description')))
)
return p(r);
if (0 === e.length) {
if (x(r)) return (o = r.name ? ': ' + r.name : ''), t.stylize('[Function' + o + ']', 'special');
if (v(r)) return t.stylize(RegExp.prototype.toString.call(r), 'regexp');
if (j(r)) return t.stylize(Date.prototype.toString.call(r), 'date');
if (w(r)) return p(r);
}
var o = '',
a = !1,
c = ['{', '}'];
if (
(d(r) && ((a = !0), (c = ['[', ']'])),
x(r) && (o = ' [Function' + (r.name ? ': ' + r.name : '') + ']'),
v(r) && (o = ' ' + RegExp.prototype.toString.call(r)),
j(r) && (o = ' ' + Date.prototype.toUTCString.call(r)),
w(r) && (o = ' ' + p(r)),
0 === e.length && (!a || 0 == r.length))
)
return c[0] + o + c[1];
if (n < 0)
return v(r)
? t.stylize(RegExp.prototype.toString.call(r), 'regexp')
: t.stylize('[Object]', 'special');
t.seen.push(r),
(l = a
? (function (t, r, n, s, e) {
for (var i = [], o = 0, a = r.length; o < a; ++o)
T(r, String(o)) ? i.push(f(t, r, n, s, String(o), !0)) : i.push('');
return (
e.forEach(function (e) {
e.match(/^\d+$/) || i.push(f(t, r, n, s, e, !0));
}),
i
);
})(t, r, n, i, e)
: e.map(function (e) {
return f(t, r, n, i, e, a);
})),
t.seen.pop();
var l;
return 60 <
l.reduce(function (e, t) {
return 0 <= t.indexOf('\n') && 0, e + t.replace(/\u001b\[\d\d?m/g, '').length + 1;
}, 0)
? c[0] + ('' === o ? '' : o + '\n ') + ' ' + l.join(',\n ') + ' ' + c[1]
: c[0] + o + ' ' + l.join(', ') + ' ' + c[1];
}
function p(e) {
return '[' + Error.prototype.toString.call(e) + ']';
}
function f(e, t, r, n, s, i) {
var o,
a,
t = Object.getOwnPropertyDescriptor(t, s) || { value: t[s] };
if (
(t.get
? (a = t.set ? e.stylize('[Getter/Setter]', 'special') : e.stylize('[Getter]', 'special'))
: t.set && (a = e.stylize('[Setter]', 'special')),
T(n, s) || (o = '[' + s + ']'),
a ||
(e.seen.indexOf(t.value) < 0
? -1 < (a = m(r) ? u(e, t.value, null) : u(e, t.value, r - 1)).indexOf('\n') &&
(a = i
? a
.split('\n')
.map(function (e) {
return ' ' + e;
})
.join('\n')
.substr(2)
: '\n' +
a
.split('\n')
.map(function (e) {
return ' ' + e;
})
.join('\n'))
: (a = e.stylize('[Circular]', 'special'))),
g(o))
) {
if (i && s.match(/^\d+$/)) return a;
o = (o = JSON.stringify('' + s)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)
? ((o = o.substr(1, o.length - 2)), e.stylize(o, 'name'))
: ((o = o
.replace(/'/g, "\\'")
.replace(/\\"/g, '"')
.replace(/(^"|"$)/g, "'")),
e.stylize(o, 'string'));
}
return o + ': ' + a;
}
function d(e) {
return Array.isArray(e);
}
function h(e) {
return 'boolean' == typeof e;
}
function m(e) {
return null === e;
}
function y(e) {
return 'number' == typeof e;
}
function b(e) {
return 'string' == typeof e;
}
function g(e) {
return void 0 === e;
}
function v(e) {
return l(e) && '[object RegExp]' === t(e);
}
function l(e) {
return 'object' == typeof e && null !== e;
}
function j(e) {
return l(e) && '[object Date]' === t(e);
}
function w(e) {
return l(e) && ('[object Error]' === t(e) || e instanceof Error);
}
function x(e) {
return 'function' == typeof e;
}
function t(e) {
return Object.prototype.toString.call(e);
}
function r(e) {
return e < 10 ? '0' + e.toString(10) : e.toString(10);
}
(S.debuglog = function (t) {
var r;
return (
g(e) && (e = k.env.NODE_DEBUG || ''),
(t = t.toUpperCase()),
n[t] ||
(new RegExp('\\b' + t + '\\b', 'i').test(e)
? ((r = k.pid),
(n[t] = function () {
var e = S.format.apply(S, arguments);
console.error('%s %d: %s', t, r, e);
}))
: (n[t] = function () {})),
n[t]
);
}),
((S.inspect = c).colors = {
bold: [1, 22],
italic: [3, 23],
underline: [4, 24],
inverse: [7, 27],
white: [37, 39],
grey: [90, 39],
black: [30, 39],
blue: [34, 39],
cyan: [36, 39],
green: [32, 39],
magenta: [35, 39],
red: [31, 39],
yellow: [33, 39]
}),
(c.styles = {
special: 'cyan',
number: 'yellow',
boolean: 'yellow',
undefined: 'grey',
null: 'bold',
string: 'green',
date: 'magenta',
regexp: 'red'
}),
(S.isArray = d),
(S.isBoolean = h),
(S.isNull = m),
(S.isNullOrUndefined = function (e) {
return null == e;
}),
(S.isNumber = y),
(S.isString = b),
(S.isSymbol = function (e) {
return 'symbol' == typeof e;
}),
(S.isUndefined = g),
(S.isRegExp = v),
(S.isObject = l),
(S.isDate = j),
(S.isError = w),
(S.isFunction = x),
(S.isPrimitive = function (e) {
return (
null === e ||
'boolean' == typeof e ||
'number' == typeof e ||
'string' == typeof e ||
'symbol' == typeof e ||
void 0 === e
);
}),
(S.isBuffer = _('./support/isBuffer'));
var o = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
function T(e, t) {
return Object.prototype.hasOwnProperty.call(e, t);
}
(S.log = function () {
var e, t;
console.log(
'%s - %s',
((e = new Date()),
(t = [r(e.getHours()), r(e.getMinutes()), r(e.getSeconds())].join(':')),
[e.getDate(), o[e.getMonth()], t].join(' ')),
S.format.apply(S, arguments)
);
}),
(S.inherits = _('inherits')),
(S._extend = function (e, t) {
if (!t || !l(t)) return e;
for (var r = Object.keys(t), n = r.length; n--; ) e[r[n]] = t[r[n]];
return e;
});
}.call(this);
}.call(
this,
_('_process'),
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {}
);
},
{ './support/isBuffer': 83, _process: 441, inherits: 82 }
],
85: [
function (e, t, r) {
'use strict';
(r.byteLength = function (e) {
var e = u(e),
t = e[0],
e = e[1];
return (3 * (t + e)) / 4 - e;
}),
(r.toByteArray = function (e) {
var t,
r,
n = u(e),
s = n[0],
n = n[1],
i = new l(
(function (e, t) {
return (3 * (e + t)) / 4 - t;
})(s, n)
),
o = 0,
a = 0 < n ? s - 4 : s;
for (r = 0; r < a; r += 4)
(t =
(c[e.charCodeAt(r)] << 18) |
(c[e.charCodeAt(r + 1)] << 12) |
(c[e.charCodeAt(r + 2)] << 6) |
c[e.charCodeAt(r + 3)]),
(i[o++] = (t >> 16) & 255),
(i[o++] = (t >> 8) & 255),
(i[o++] = 255 & t);
2 === n && ((t = (c[e.charCodeAt(r)] << 2) | (c[e.charCodeAt(r + 1)] >> 4)), (i[o++] = 255 & t));
1 === n &&
((t = (c[e.charCodeAt(r)] << 10) | (c[e.charCodeAt(r + 1)] << 4) | (c[e.charCodeAt(r + 2)] >> 2)),
(i[o++] = (t >> 8) & 255),
(i[o++] = 255 & t));
return i;
}),
(r.fromByteArray = function (e) {
for (var t, r = e.length, n = r % 3, s = [], i = 0, o = r - n; i < o; i += 16383)
s.push(
(function (e, t, r) {
for (var n, s = [], i = t; i < r; i += 3)
(n = ((e[i] << 16) & 16711680) + ((e[i + 1] << 8) & 65280) + (255 & e[i + 2])),
s.push(
(function (e) {
return a[(e >> 18) & 63] + a[(e >> 12) & 63] + a[(e >> 6) & 63] + a[63 & e];
})(n)
);
return s.join('');
})(e, i, o < i + 16383 ? o : i + 16383)
);
1 == n
? ((t = e[r - 1]), s.push(a[t >> 2] + a[(t << 4) & 63] + '=='))
: 2 == n &&
((t = (e[r - 2] << 8) + e[r - 1]), s.push(a[t >> 10] + a[(t >> 4) & 63] + a[(t << 2) & 63] + '='));
return s.join('');
});
for (
var a = [],
c = [],
l = 'undefined' != typeof Uint8Array ? Uint8Array : Array,
n = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',
s = 0,
i = n.length;
s < i;
++s
)
(a[s] = n[s]), (c[n.charCodeAt(s)] = s);
function u(e) {
var t = e.length;
if (0 < t % 4) throw new Error('Invalid string. Length must be a multiple of 4');
(e = e.indexOf('=')), (t = (e = -1 === e ? t : e) === t ? 0 : 4 - (e % 4));
return [e, t];
}
(c['-'.charCodeAt(0)] = 62), (c['_'.charCodeAt(0)] = 63);
},
{}
],
86: [
function (e, t, r) {
var n, s;
(n = this),
(s = function () {
function o(t) {
function e(e) {
e = t.match(e);
return (e && 1 < e.length && e[1]) || '';
}
function r(e) {
e = t.match(e);
return (e && 1 < e.length && e[2]) || '';
}
var n,
s = e(/(ipod|iphone|ipad)/i).toLowerCase(),
i = !/like android/i.test(t) && /android/i.test(t),
o = /nexus\s*[0-6]\s*/i.test(t),
a = !o && /nexus\s*[0-9]+/i.test(t),
c = /CrOS/.test(t),
l = /silk/i.test(t),
u = /sailfish/i.test(t),
p = /tizen/i.test(t),
f = /(web|hpw)(o|0)s/i.test(t),
d = /windows phone/i.test(t),
h = (/SamsungBrowser/i.test(t), !d && /windows/i.test(t)),
m = !s && !l && /macintosh/i.test(t),
y = !i && !u && !p && !f && /linux/i.test(t),
b = r(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),
g = e(/version\/(\d+(\.\d+)?)/i),
v = /tablet/i.test(t) && !/tablet pc/i.test(t),
j = !v && /[^-]mobi/i.test(t),
w = /xbox/i.test(t);
/opera/i.test(t)
? (n = { name: 'Opera', opera: !0, version: g || e(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i) })
: /opr\/|opios/i.test(t)
? (n = { name: 'Opera', opera: !0, version: e(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i) || g })
: /SamsungBrowser/i.test(t)
? (n = {
name: 'Samsung Internet for Android',
samsungBrowser: !0,
version: g || e(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)
})
: /Whale/i.test(t)
? (n = { name: 'NAVER Whale browser', whale: !0, version: e(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i) })
: /MZBrowser/i.test(t)
? (n = { name: 'MZ Browser', mzbrowser: !0, version: e(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i) })
: /coast/i.test(t)
? (n = { name: 'Opera Coast', coast: !0, version: g || e(/(?:coast)[\s\/](\d+(\.\d+)?)/i) })
: /focus/i.test(t)
? (n = { name: 'Focus', focus: !0, version: e(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i) })
: /yabrowser/i.test(t)
? (n = {
name: 'Yandex Browser',
yandexbrowser: !0,
version: g || e(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)
})
: /ucbrowser/i.test(t)
? (n = { name: 'UC Browser', ucbrowser: !0, version: e(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i) })
: /mxios/i.test(t)
? (n = { name: 'Maxthon', maxthon: !0, version: e(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i) })
: /epiphany/i.test(t)
? (n = { name: 'Epiphany', epiphany: !0, version: e(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i) })
: /puffin/i.test(t)
? (n = { name: 'Puffin', puffin: !0, version: e(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i) })
: /sleipnir/i.test(t)
? (n = { name: 'Sleipnir', sleipnir: !0, version: e(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i) })
: /k-meleon/i.test(t)
? (n = { name: 'K-Meleon', kMeleon: !0, version: e(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i) })
: d
? ((n = { name: 'Windows Phone', osname: 'Windows Phone', windowsphone: !0 }),
b
? ((n.msedge = !0), (n.version = b))
: ((n.msie = !0), (n.version = e(/iemobile\/(\d+(\.\d+)?)/i))))
: /msie|trident/i.test(t)
? (n = { name: 'Internet Explorer', msie: !0, version: e(/(?:msie |rv:)(\d+(\.\d+)?)/i) })
: c
? (n = {
name: 'Chrome',
osname: 'Chrome OS',
chromeos: !0,
chromeBook: !0,
chrome: !0,
version: e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)
})
: /edg([ea]|ios)/i.test(t)
? (n = { name: 'Microsoft Edge', msedge: !0, version: b })
: /vivaldi/i.test(t)
? (n = { name: 'Vivaldi', vivaldi: !0, version: e(/vivaldi\/(\d+(\.\d+)?)/i) || g })
: u
? (n = {
name: 'Sailfish',
osname: 'Sailfish OS',
sailfish: !0,
version: e(/sailfish\s?browser\/(\d+(\.\d+)?)/i)
})
: /seamonkey\//i.test(t)
? (n = { name: 'SeaMonkey', seamonkey: !0, version: e(/seamonkey\/(\d+(\.\d+)?)/i) })
: /firefox|iceweasel|fxios/i.test(t)
? ((n = {
name: 'Firefox',
firefox: !0,
version: e(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)
}),
/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t) &&
((n.firefoxos = !0), (n.osname = 'Firefox OS')))
: l
? (n = { name: 'Amazon Silk', silk: !0, version: e(/silk\/(\d+(\.\d+)?)/i) })
: /phantom/i.test(t)
? (n = { name: 'PhantomJS', phantom: !0, version: e(/phantomjs\/(\d+(\.\d+)?)/i) })
: /slimerjs/i.test(t)
? (n = { name: 'SlimerJS', slimer: !0, version: e(/slimerjs\/(\d+(\.\d+)?)/i) })
: /blackberry|\bbb\d+/i.test(t) || /rim\stablet/i.test(t)
? (n = {
name: 'BlackBerry',
osname: 'BlackBerry OS',
blackberry: !0,
version: g || e(/blackberry[\d]+\/(\d+(\.\d+)?)/i)
})
: f
? ((n = {
name: 'WebOS',
osname: 'WebOS',
webos: !0,
version: g || e(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)
}),
/touchpad\//i.test(t) && (n.touchpad = !0))
: /bada/i.test(t)
? (n = { name: 'Bada', osname: 'Bada', bada: !0, version: e(/dolfin\/(\d+(\.\d+)?)/i) })
: p
? (n = {
name: 'Tizen',
osname: 'Tizen',
tizen: !0,
version: e(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i) || g
})
: /qupzilla/i.test(t)
? (n = { name: 'QupZilla', qupzilla: !0, version: e(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i) || g })
: /chromium/i.test(t)
? (n = { name: 'Chromium', chromium: !0, version: e(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i) || g })
: /chrome|crios|crmo/i.test(t)
? (n = { name: 'Chrome', chrome: !0, version: e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i) })
: i
? (n = { name: 'Android', version: g })
: /safari|applewebkit/i.test(t)
? ((n = { name: 'Safari', safari: !0 }), g && (n.version = g))
: s
? ((n = { name: 'iphone' == s ? 'iPhone' : 'ipad' == s ? 'iPad' : 'iPod' }), g && (n.version = g))
: (n = /googlebot/i.test(t)
? { name: 'Googlebot', googlebot: !0, version: e(/googlebot\/(\d+(\.\d+))/i) || g }
: { name: e(/^(.*)\/(.*) /), version: r(/^(.*)\/(.*) /) }),
!n.msedge && /(apple)?webkit/i.test(t)
? (/(apple)?webkit\/537\.36/i.test(t)
? ((n.name = n.name || 'Blink'), (n.blink = !0))
: ((n.name = n.name || 'Webkit'), (n.webkit = !0)),
!n.version && g && (n.version = g))
: !n.opera &&
/gecko\//i.test(t) &&
((n.name = n.name || 'Gecko'),
(n.gecko = !0),
(n.version = n.version || e(/gecko\/(\d+(\.\d+)?)/i))),
n.windowsphone || (!i && !n.silk)
? !n.windowsphone && s
? ((n[s] = !0), (n.ios = !0), (n.osname = 'iOS'))
: m
? ((n.mac = !0), (n.osname = 'macOS'))
: w
? ((n.xbox = !0), (n.osname = 'Xbox'))
: h
? ((n.windows = !0), (n.osname = 'Windows'))
: y && ((n.linux = !0), (n.osname = 'Linux'))
: ((n.android = !0), (n.osname = 'Android'));
(d = ''),
n.windows
? (d = (function (e) {
switch (e) {
case 'NT':
return 'NT';
case 'XP':
return 'XP';
case 'NT 5.0':
return '2000';
case 'NT 5.1':
return 'XP';
case 'NT 5.2':
return '2003';
case 'NT 6.0':
return 'Vista';
case 'NT 6.1':
return '7';
case 'NT 6.2':
return '8';
case 'NT 6.3':
return '8.1';
case 'NT 10.0':
return '10';
default:
return;
}
})(e(/Windows ((NT|XP)( \d\d?.\d)?)/i)))
: n.windowsphone
? (d = e(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i))
: n.mac
? (d = (d = e(/Mac OS X (\d+([_\.\s]\d+)*)/i)).replace(/[_\s]/g, '.'))
: s
? (d = (d = e(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g, '.'))
: i
? (d = e(/android[ \/-](\d+(\.\d+)*)/i))
: n.webos
? (d = e(/(?:web|hpw)os\/(\d+(\.\d+)*)/i))
: n.blackberry
? (d = e(/rim\stablet\sos\s(\d+(\.\d+)*)/i))
: n.bada
? (d = e(/bada\/(\d+(\.\d+)*)/i))
: n.tizen && (d = e(/tizen[\/\s](\d+(\.\d+)*)/i)),
d && (n.osversion = d),
(c = !n.windows && d.split('.')[0]);
return (
v || a || 'ipad' == s || (i && (3 == c || (4 <= c && !j))) || n.silk
? (n.tablet = !0)
: (j || 'iphone' == s || 'ipod' == s || i || o || n.blackberry || n.webos || n.bada) &&
(n.mobile = !0),
n.msedge ||
(n.msie && 10 <= n.version) ||
(n.yandexbrowser && 15 <= n.version) ||
(n.vivaldi && 1 <= n.version) ||
(n.chrome && 20 <= n.version) ||
(n.samsungBrowser && 4 <= n.version) ||
(n.whale && 1 === x([n.version, '1.0'])) ||
(n.mzbrowser && 1 === x([n.version, '6.0'])) ||
(n.focus && 1 === x([n.version, '1.0'])) ||
(n.firefox && 20 <= n.version) ||
(n.safari && 6 <= n.version) ||
(n.opera && 10 <= n.version) ||
(n.ios && n.osversion && 6 <= n.osversion.split('.')[0]) ||
(n.blackberry && 10.1 <= n.version) ||
(n.chromium && 20 <= n.version)
? (n.a = !0)
: (n.msie && n.version < 10) ||
(n.chrome && n.version < 20) ||
(n.firefox && n.version < 20) ||
(n.safari && n.version < 6) ||
(n.opera && n.version < 10) ||
(n.ios && n.osversion && n.osversion.split('.')[0] < 6) ||
(n.chromium && n.version < 20)
? (n.c = !0)
: (n.x = !0),
n
);
}
var a = o(('undefined' != typeof navigator && navigator.userAgent) || '');
function n(e) {
return e.split('.').length;
}
function s(e, t) {
var r,
n = [];
if (Array.prototype.map) return Array.prototype.map.call(e, t);
for (r = 0; r < e.length; r++) n.push(t(e[r]));
return n;
}
function x(e) {
for (
var r = Math.max(n(e[0]), n(e[1])),
t = s(e, function (e) {
var t = r - n(e);
return s((e += new Array(1 + t).join('.0')).split('.'), function (e) {
return new Array(20 - e.length).join('0') + e;
}).reverse();
});
0 <= --r;
) {
if (t[0][r] > t[1][r]) return 1;
if (t[0][r] !== t[1][r]) return -1;
if (0 === r) return 0;
}
}
function i(e, t, r) {
var n,
s = a,
i =
('string' == typeof t && ((r = t), (t = void 0)),
void 0 === t && (t = !1),
'' + (s = r ? o(r) : s).version);
for (n in e)
if (e.hasOwnProperty(n) && s[n]) {
if ('string' != typeof e[n])
throw new Error(
'Browser version in the minVersion map should be a string: ' + n + ': ' + String(e)
);
return x([i, e[n]]) < 0;
}
return t;
}
return (
(a.test = function (e) {
for (var t = 0; t < e.length; ++t) {
var r = e[t];
if ('string' == typeof r && r in a) return !0;
}
return !1;
}),
(a.isUnsupportedBrowser = i),
(a.compareVersions = x),
(a.check = function (e, t, r) {
return !i(e, t, r);
}),
(a._detect = o),
(a.detect = o),
a
);
}),
void 0 !== t && t.exports ? (t.exports = s()) : (n.bowser = s());
},
{}
],
87: [function (e, t, r) {}, {}],
88: [
function (e, t, r) {
var n = e('buffer').Buffer,
s =
n.isEncoding ||
function (e) {
switch (e && e.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 = r.StringDecoder = function (e) {
this.encoding = (e || 'utf8').toLowerCase().replace(/[-_]/, '');
if (e && !s(e)) throw new Error('Unknown encoding: ' + e);
switch (this.encoding) {
case 'utf8':
this.surrogateSize = 3;
break;
case 'ucs2':
case 'utf16le':
(this.surrogateSize = 2), (this.detectIncompleteChar = o);
break;
case 'base64':
(this.surrogateSize = 3), (this.detectIncompleteChar = a);
break;
default:
return void (this.write = i);
}
(this.charBuffer = new n(6)), (this.charReceived = 0), (this.charLength = 0);
};
function i(e) {
return e.toString(this.encoding);
}
function o(e) {
(this.charReceived = e.length % 2), (this.charLength = this.charReceived ? 2 : 0);
}
function a(e) {
(this.charReceived = e.length % 3), (this.charLength = this.charReceived ? 3 : 0);
}
(e.prototype.write = function (e) {
for (var t = ''; this.charLength; ) {
var r =
e.length >= this.charLength - this.charReceived ? this.charLength - this.charReceived : e.length;
if (
(e.copy(this.charBuffer, this.charReceived, 0, r),
(this.charReceived += r),
this.charReceived < this.charLength)
)
return '';
if (
((e = e.slice(r, e.length)),
!(
55296 <=
(n = (t = this.charBuffer.slice(0, this.charLength).toString(this.encoding)).charCodeAt(
t.length - 1
)) && n <= 56319
))
) {
if ((this.charReceived = this.charLength = 0) === e.length) return t;
break;
}
(this.charLength += this.surrogateSize), (t = '');
}
this.detectIncompleteChar(e);
var n,
s,
i = e.length,
i =
(this.charLength &&
(e.copy(this.charBuffer, 0, e.length - this.charReceived, i), (i -= this.charReceived)),
(t += e.toString(this.encoding, 0, i)).length - 1);
return 55296 <= (n = t.charCodeAt(i)) && n <= 56319
? ((s = this.surrogateSize),
(this.charLength += s),
(this.charReceived += s),
this.charBuffer.copy(this.charBuffer, s, 0, s),
e.copy(this.charBuffer, 0, 0, s),
t.substring(0, i))
: t;
}),
(e.prototype.detectIncompleteChar = function (e) {
for (var t = 3 <= e.length ? 3 : e.length; 0 < t; t--) {
var r = e[e.length - t];
if (1 == t && r >> 5 == 6) {
this.charLength = 2;
break;
}
if (t <= 2 && r >> 4 == 14) {
this.charLength = 3;
break;
}
if (t <= 3 && r >> 3 == 30) {
this.charLength = 4;
break;
}
}
this.charReceived = t;
}),
(e.prototype.end = function (e) {
var t,
r,
n = '';
return (
e && e.length && (n = this.write(e)),
this.charReceived &&
((e = this.charReceived),
(t = this.charBuffer),
(r = this.encoding),
(n += t.slice(0, e).toString(r))),
n
);
});
},
{ buffer: 89 }
],
89: [
function (C, e, N) {
!function (e, t) {
!function () {
'use strict';
var k = C('base64-js'),
i = C('ieee754'),
a = C('isarray');
function r() {
return p.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823;
}
function c(e, t) {
if (r() < t) throw new RangeError('Invalid typed array length');
return (
p.TYPED_ARRAY_SUPPORT
? ((e = new Uint8Array(t)).__proto__ = p.prototype)
: ((e = null === e ? new p(t) : e).length = t),
e
);
}
function p(e, t, r) {
if (!(p.TYPED_ARRAY_SUPPORT || this instanceof p)) return new p(e, t, r);
if ('number' != typeof e) return n(this, e, t, r);
if ('string' == typeof t)
throw new Error('If encoding is specified then the first argument must be a string');
return o(this, e);
}
function n(e, t, r, n) {
if ('number' == typeof t) throw new TypeError('"value" argument must not be a number');
if ('undefined' != typeof ArrayBuffer && t instanceof ArrayBuffer) {
var s = e,
i = t,
o = r;
if ((i.byteLength, o < 0 || i.byteLength < o)) throw new RangeError("'offset' is out of bounds");
if (i.byteLength < o + (n || 0)) throw new RangeError("'length' is out of bounds");
return (
(i =
void 0 === o && void 0 === n
? new Uint8Array(i)
: void 0 === n
? new Uint8Array(i, o)
: new Uint8Array(i, o, n)),
p.TYPED_ARRAY_SUPPORT ? ((s = i).__proto__ = p.prototype) : (s = l(s, i)),
s
);
}
if ('string' != typeof t) {
(o = e), (n = t);
if (p.isBuffer(n))
return (i = 0 | u(n.length)), 0 === (o = c(o, i)).length || n.copy(o, 0, 0, i), o;
if (n) {
if (('undefined' != typeof ArrayBuffer && n.buffer instanceof ArrayBuffer) || 'length' in n)
return 'number' != typeof n.length ||
(function (e) {
return e != e;
})(n.length)
? c(o, 0)
: l(o, n);
if ('Buffer' === n.type && a(n.data)) return l(o, n.data);
}
throw new TypeError(
'First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.'
);
}
(s = e), (n = t), (e = r);
if (!p.isEncoding((e = 'string' == typeof e && '' !== e ? e : 'utf8')))
throw new TypeError('"encoding" must be a valid string encoding');
t = 0 | f(n, e);
return (s = (n = (s = c(s, t)).write(n, e)) !== t ? s.slice(0, n) : s);
}
function s(e) {
if ('number' != typeof e) throw new TypeError('"size" argument must be a number');
if (e < 0) throw new RangeError('"size" argument must not be negative');
}
function o(e, t) {
if ((s(t), (e = c(e, t < 0 ? 0 : 0 | u(t))), !p.TYPED_ARRAY_SUPPORT))
for (var r = 0; r < t; ++r) e[r] = 0;
return e;
}
function l(e, t) {
var r = t.length < 0 ? 0 : 0 | u(t.length);
e = c(e, r);
for (var n = 0; n < r; n += 1) e[n] = 255 & t[n];
return e;
}
function u(e) {
if (e >= r())
throw new RangeError(
'Attempt to allocate Buffer larger than maximum size: 0x' + r().toString(16) + ' bytes'
);
return 0 | e;
}
function f(e, t) {
if (p.isBuffer(e)) return e.length;
if (
'undefined' != typeof ArrayBuffer &&
'function' == typeof ArrayBuffer.isView &&
(ArrayBuffer.isView(e) || e instanceof ArrayBuffer)
)
return e.byteLength;
var r = (e = 'string' != typeof e ? '' + e : e).length;
if (0 === r) return 0;
for (var n = !1; ; )
switch (t) {
case 'ascii':
case 'latin1':
case 'binary':
return r;
case 'utf8':
case 'utf-8':
case void 0:
return A(e).length;
case 'ucs2':
case 'ucs-2':
case 'utf16le':
case 'utf-16le':
return 2 * r;
case 'hex':
return r >>> 1;
case 'base64':
return D(e).length;
default:
if (n) return A(e).length;
(t = ('' + t).toLowerCase()), (n = !0);
}
}
function t(e, t, r) {
var n,
s = !1;
if ((t = void 0 === t || t < 0 ? 0 : t) > this.length) return '';
if ((r = void 0 === r || r > this.length ? this.length : r) <= 0) return '';
if ((r >>>= 0) <= (t >>>= 0)) return '';
for (e = e || 'utf8'; ; )
switch (e) {
case 'hex':
var i = this,
o = t,
a = r,
c = i.length;
(!a || a < 0 || c < a) && (a = c);
for (var l = '', u = (o = !o || o < 0 ? 0 : o); u < a; ++u)
l += (function (e) {
return e < 16 ? '0' + e.toString(16) : e.toString(16);
})(i[u]);
return l;
case 'utf8':
case 'utf-8':
return E(this, t, r);
case 'ascii':
var p = this,
c = t,
f = r,
d = '';
f = Math.min(p.length, f);
for (var h = c; h < f; ++h) d += String.fromCharCode(127 & p[h]);
return d;
case 'latin1':
case 'binary':
var m = this,
o = t,
y = r,
b = '';
y = Math.min(m.length, y);
for (var g = o; g < y; ++g) b += String.fromCharCode(m[g]);
return b;
case 'base64':
return (
(v = this),
(n = r),
0 === (j = t) && n === v.length ? k.fromByteArray(v) : k.fromByteArray(v.slice(j, n))
);
case 'ucs2':
case 'ucs-2':
case 'utf16le':
case 'utf-16le':
for (var v = t, j = r, w = this.slice(v, j), x = '', T = 0; T < w.length; T += 2)
x += String.fromCharCode(w[T] + 256 * w[T + 1]);
return x;
default:
if (s) throw new TypeError('Unknown encoding: ' + e);
(e = (e + '').toLowerCase()), (s = !0);
}
}
function d(e, t, r) {
var n = e[t];
(e[t] = e[r]), (e[r] = n);
}
function h(e, t, r, n, s) {
if (0 === e.length) return -1;
if (
('string' == typeof r
? ((n = r), (r = 0))
: 2147483647 < r
? (r = 2147483647)
: r < -2147483648 && (r = -2147483648),
(r = +r),
(r = (r = isNaN(r) ? (s ? 0 : e.length - 1) : r) < 0 ? e.length + r : r) >= e.length)
) {
if (s) return -1;
r = e.length - 1;
} else if (r < 0) {
if (!s) return -1;
r = 0;
}
if (('string' == typeof t && (t = p.from(t, n)), p.isBuffer(t)))
return 0 === t.length ? -1 : m(e, t, r, n, s);
if ('number' == typeof t)
return (
(t &= 255),
p.TYPED_ARRAY_SUPPORT && 'function' == typeof Uint8Array.prototype.indexOf
? (s ? Uint8Array.prototype.indexOf : Uint8Array.prototype.lastIndexOf).call(e, t, r)
: m(e, [t], r, n, s)
);
throw new TypeError('val must be string, number or Buffer');
}
function m(e, t, r, n, s) {
var i = 1,
o = e.length,
a = t.length;
if (
void 0 !== n &&
('ucs2' === (n = String(n).toLowerCase()) || 'ucs-2' === n || 'utf16le' === n || 'utf-16le' === n)
) {
if (e.length < 2 || t.length < 2) return -1;
(o /= i = 2), (a /= 2), (r /= 2);
}
function c(e, t) {
return 1 === i ? e[t] : e.readUInt16BE(t * i);
}
if (s)
for (var l = -1, u = r; u < o; u++)
if (c(e, u) === c(t, -1 === l ? 0 : u - l)) {
if (u - (l = -1 === l ? u : l) + 1 === a) return l * i;
} else -1 !== l && (u -= u - l), (l = -1);
else
for (u = r = o < r + a ? o - a : r; 0 <= u; u--) {
for (var p = !0, f = 0; f < a; f++)
if (c(e, u + f) !== c(t, f)) {
p = !1;
break;
}
if (p) return u;
}
return -1;
}
function y(e, t, r, n) {
return I(
(function (e) {
for (var t = [], r = 0; r < e.length; ++r) t.push(255 & e.charCodeAt(r));
return t;
})(t),
e,
r,
n
);
}
function b(e, t, r, n) {
return I(
(function (e, t) {
for (var r, n, s = [], i = 0; i < e.length && !((t -= 2) < 0); ++i)
(n = e.charCodeAt(i)), (r = n >> 8), (n = n % 256), s.push(n), s.push(r);
return s;
})(t, e.length - r),
e,
r,
n
);
}
function E(e, t, r) {
r = Math.min(e.length, r);
for (var n = [], s = t; s < r; ) {
var i,
o,
a,
c,
l = e[s],
u = null,
p = 239 < l ? 4 : 223 < l ? 3 : 191 < l ? 2 : 1;
if (s + p <= r)
switch (p) {
case 1:
l < 128 && (u = l);
break;
case 2:
128 == (192 & (i = e[s + 1])) && 127 < (c = ((31 & l) << 6) | (63 & i)) && (u = c);
break;
case 3:
(i = e[s + 1]),
(o = e[s + 2]),
128 == (192 & i) &&
128 == (192 & o) &&
2047 < (c = ((15 & l) << 12) | ((63 & i) << 6) | (63 & o)) &&
(c < 55296 || 57343 < c) &&
(u = c);
break;
case 4:
(i = e[s + 1]),
(o = e[s + 2]),
(a = e[s + 3]),
128 == (192 & i) &&
128 == (192 & o) &&
128 == (192 & a) &&
65535 < (c = ((15 & l) << 18) | ((63 & i) << 12) | ((63 & o) << 6) | (63 & a)) &&
c < 1114112 &&
(u = c);
}
null === u
? ((u = 65533), (p = 1))
: 65535 < u && ((u -= 65536), n.push(((u >>> 10) & 1023) | 55296), (u = 56320 | (1023 & u))),
n.push(u),
(s += p);
}
var f = n,
d = f.length;
if (d <= g) return String.fromCharCode.apply(String, f);
for (var h = '', m = 0; m < d; ) h += String.fromCharCode.apply(String, f.slice(m, (m += g)));
return h;
}
(N.Buffer = p),
(N.SlowBuffer = function (e) {
+e != e && (e = 0);
return p.alloc(+e);
}),
(N.INSPECT_MAX_BYTES = 50),
(p.TYPED_ARRAY_SUPPORT =
void 0 !== e.TYPED_ARRAY_SUPPORT
? e.TYPED_ARRAY_SUPPORT
: (function () {
try {
var e = new Uint8Array(1);
return (
(e.__proto__ = {
__proto__: Uint8Array.prototype,
foo: function () {
return 42;
}
}),
42 === e.foo() && 'function' == typeof e.subarray && 0 === e.subarray(1, 1).byteLength
);
} catch (e) {
return !1;
}
})()),
(N.kMaxLength = r()),
(p.poolSize = 8192),
(p._augment = function (e) {
return (e.__proto__ = p.prototype), e;
}),
(p.from = function (e, t, r) {
return n(null, e, t, r);
}),
p.TYPED_ARRAY_SUPPORT &&
((p.prototype.__proto__ = Uint8Array.prototype),
(p.__proto__ = Uint8Array),
'undefined' != typeof Symbol &&
Symbol.species &&
p[Symbol.species] === p &&
Object.defineProperty(p, Symbol.species, { value: null, configurable: !0 })),
(p.alloc = function (e, t, r) {
return (
(n = null),
(t = t),
(r = r),
s((e = e)),
!(e <= 0) && void 0 !== t
? 'string' == typeof r
? c(n, e).fill(t, r)
: c(n, e).fill(t)
: c(n, e)
);
var n;
}),
(p.allocUnsafe = function (e) {
return o(null, e);
}),
(p.allocUnsafeSlow = function (e) {
return o(null, e);
}),
(p.isBuffer = function (e) {
return !(null == e || !e._isBuffer);
}),
(p.compare = function (e, t) {
if (!p.isBuffer(e) || !p.isBuffer(t)) throw new TypeError('Arguments must be Buffers');
if (e === t) return 0;
for (var r = e.length, n = t.length, s = 0, i = Math.min(r, n); s < i; ++s)
if (e[s] !== t[s]) {
(r = e[s]), (n = t[s]);
break;
}
return r < n ? -1 : n < r ? 1 : 0;
}),
(p.isEncoding = function (e) {
switch (String(e).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;
}
}),
(p.concat = function (e, t) {
if (!a(e)) throw new TypeError('"list" argument must be an Array of Buffers');
if (0 === e.length) return p.alloc(0);
if (void 0 === t) for (s = t = 0; s < e.length; ++s) t += e[s].length;
for (var r = p.allocUnsafe(t), n = 0, s = 0; s < e.length; ++s) {
var i = e[s];
if (!p.isBuffer(i)) throw new TypeError('"list" argument must be an Array of Buffers');
i.copy(r, n), (n += i.length);
}
return r;
}),
(p.byteLength = f),
(p.prototype._isBuffer = !0),
(p.prototype.swap16 = function () {
var e = this.length;
if (e % 2 != 0) throw new RangeError('Buffer size must be a multiple of 16-bits');
for (var t = 0; t < e; t += 2) d(this, t, t + 1);
return this;
}),
(p.prototype.swap32 = function () {
var e = this.length;
if (e % 4 != 0) throw new RangeError('Buffer size must be a multiple of 32-bits');
for (var t = 0; t < e; t += 4) d(this, t, t + 3), d(this, t + 1, t + 2);
return this;
}),
(p.prototype.swap64 = function () {
var e = this.length;
if (e % 8 != 0) throw new RangeError('Buffer size must be a multiple of 64-bits');
for (var t = 0; t < e; t += 8)
d(this, t, t + 7), d(this, t + 1, t + 6), d(this, t + 2, t + 5), d(this, t + 3, t + 4);
return this;
}),
(p.prototype.toString = function () {
var e = 0 | this.length;
return 0 == e ? '' : 0 === arguments.length ? E(this, 0, e) : t.apply(this, arguments);
}),
(p.prototype.equals = function (e) {
if (p.isBuffer(e)) return this === e || 0 === p.compare(this, e);
throw new TypeError('Argument must be a Buffer');
}),
(p.prototype.inspect = function () {
var e = '',
t = N.INSPECT_MAX_BYTES;
return (
0 < this.length &&
((e = this.toString('hex', 0, t).match(/.{2}/g).join(' ')), this.length > t && (e += ' ... ')),
''
);
}),
(p.prototype.compare = function (e, t, r, n, s) {
if (!p.isBuffer(e)) throw new TypeError('Argument must be a Buffer');
if (
(void 0 === r && (r = e ? e.length : 0),
void 0 === n && (n = 0),
void 0 === s && (s = this.length),
(t = void 0 === t ? 0 : t) < 0 || r > e.length || n < 0 || s > this.length)
)
throw new RangeError('out of range index');
if (s <= n && r <= t) return 0;
if (s <= n) return -1;
if (r <= t) return 1;
if (this === e) return 0;
for (
var i = (s >>>= 0) - (n >>>= 0),
o = (r >>>= 0) - (t >>>= 0),
a = Math.min(i, o),
c = this.slice(n, s),
l = e.slice(t, r),
u = 0;
u < a;
++u
)
if (c[u] !== l[u]) {
(i = c[u]), (o = l[u]);
break;
}
return i < o ? -1 : o < i ? 1 : 0;
}),
(p.prototype.includes = function (e, t, r) {
return -1 !== this.indexOf(e, t, r);
}),
(p.prototype.indexOf = function (e, t, r) {
return h(this, e, t, r, !0);
}),
(p.prototype.lastIndexOf = function (e, t, r) {
return h(this, e, t, r, !1);
}),
(p.prototype.write = function (e, t, r, n) {
if (void 0 === t) (n = 'utf8'), (r = this.length), (t = 0);
else if (void 0 === r && 'string' == typeof t) (n = t), (r = this.length), (t = 0);
else {
if (!isFinite(t))
throw new Error('Buffer.write(string, encoding, offset[, length]) is no longer supported');
(t |= 0), isFinite(r) ? ((r |= 0), void 0 === n && (n = 'utf8')) : ((n = r), (r = void 0));
}
var s = this.length - t;
if (((void 0 === r || s < r) && (r = s), (0 < e.length && (r < 0 || t < 0)) || t > this.length))
throw new RangeError('Attempt to write outside buffer bounds');
n = n || 'utf8';
for (var i, o, a, c = !1; ; )
switch (n) {
case 'hex':
var l = this,
u = e,
p = t,
f = r,
d = ((p = Number(p) || 0), l.length - p);
if (((!f || d < (f = Number(f))) && (f = d), (d = u.length) % 2 != 0))
throw new TypeError('Invalid hex string');
d / 2 < f && (f = d / 2);
for (var h = 0; h < f; ++h) {
var m = parseInt(u.substr(2 * h, 2), 16);
if (isNaN(m)) return h;
l[p + h] = m;
}
return h;
case 'utf8':
case 'utf-8':
return (d = t), (a = r), I(A(e, (o = this).length - d), o, d, a);
case 'ascii':
return y(this, e, t, r);
case 'latin1':
case 'binary':
return y(this, e, t, r);
case 'base64':
return (o = this), (a = t), (i = r), I(D(e), o, a, i);
case 'ucs2':
case 'ucs-2':
case 'utf16le':
case 'utf-16le':
return b(this, e, t, r);
default:
if (c) throw new TypeError('Unknown encoding: ' + n);
(n = ('' + n).toLowerCase()), (c = !0);
}
}),
(p.prototype.toJSON = function () {
return { type: 'Buffer', data: Array.prototype.slice.call(this._arr || this, 0) };
});
var g = 4096;
function v(e, t, r) {
if (e % 1 != 0 || e < 0) throw new RangeError('offset is not uint');
if (r < e + t) throw new RangeError('Trying to access beyond buffer length');
}
function j(e, t, r, n, s, i) {
if (!p.isBuffer(e)) throw new TypeError('"buffer" argument must be a Buffer instance');
if (s < t || t < i) throw new RangeError('"value" argument is out of bounds');
if (r + n > e.length) throw new RangeError('Index out of range');
}
function w(e, t, r, n) {
t < 0 && (t = 65535 + t + 1);
for (var s = 0, i = Math.min(e.length - r, 2); s < i; ++s)
e[r + s] = (t & (255 << (8 * (n ? s : 1 - s)))) >>> (8 * (n ? s : 1 - s));
}
function x(e, t, r, n) {
t < 0 && (t = 4294967295 + t + 1);
for (var s = 0, i = Math.min(e.length - r, 4); s < i; ++s)
e[r + s] = (t >>> (8 * (n ? s : 3 - s))) & 255;
}
function T(e, t, r, n) {
if (r + n > e.length) throw new RangeError('Index out of range');
if (r < 0) throw new RangeError('Index out of range');
}
function _(e, t, r, n, s) {
return s || T(e, 0, r, 4), i.write(e, t, r, n, 23, 4), r + 4;
}
function S(e, t, r, n, s) {
return s || T(e, 0, r, 8), i.write(e, t, r, n, 52, 8), r + 8;
}
(p.prototype.slice = function (e, t) {
var r = this.length;
if (
((e = ~~e) < 0 ? (e += r) < 0 && (e = 0) : r < e && (e = r),
(t = void 0 === t ? r : ~~t) < 0 ? (t += r) < 0 && (t = 0) : r < t && (t = r),
t < e && (t = e),
p.TYPED_ARRAY_SUPPORT)
)
(s = this.subarray(e, t)).__proto__ = p.prototype;
else for (var n = t - e, s = new p(n, void 0), i = 0; i < n; ++i) s[i] = this[i + e];
return s;
}),
(p.prototype.readUIntLE = function (e, t, r) {
(e |= 0), (t |= 0), r || v(e, t, this.length);
for (var n = this[e], s = 1, i = 0; ++i < t && (s *= 256); ) n += this[e + i] * s;
return n;
}),
(p.prototype.readUIntBE = function (e, t, r) {
(e |= 0), (t |= 0), r || v(e, t, this.length);
for (var n = this[e + --t], s = 1; 0 < t && (s *= 256); ) n += this[e + --t] * s;
return n;
}),
(p.prototype.readUInt8 = function (e, t) {
return t || v(e, 1, this.length), this[e];
}),
(p.prototype.readUInt16LE = function (e, t) {
return t || v(e, 2, this.length), this[e] | (this[e + 1] << 8);
}),
(p.prototype.readUInt16BE = function (e, t) {
return t || v(e, 2, this.length), (this[e] << 8) | this[e + 1];
}),
(p.prototype.readUInt32LE = function (e, t) {
return (
t || v(e, 4, this.length),
(this[e] | (this[e + 1] << 8) | (this[e + 2] << 16)) + 16777216 * this[e + 3]
);
}),
(p.prototype.readUInt32BE = function (e, t) {
return (
t || v(e, 4, this.length),
16777216 * this[e] + ((this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3])
);
}),
(p.prototype.readIntLE = function (e, t, r) {
(e |= 0), (t |= 0), r || v(e, t, this.length);
for (var n = this[e], s = 1, i = 0; ++i < t && (s *= 256); ) n += this[e + i] * s;
return (s *= 128) <= n && (n -= Math.pow(2, 8 * t)), n;
}),
(p.prototype.readIntBE = function (e, t, r) {
(e |= 0), (t |= 0), r || v(e, t, this.length);
for (var n = t, s = 1, i = this[e + --n]; 0 < n && (s *= 256); ) i += this[e + --n] * s;
return (s *= 128) <= i && (i -= Math.pow(2, 8 * t)), i;
}),
(p.prototype.readInt8 = function (e, t) {
return t || v(e, 1, this.length), 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e];
}),
(p.prototype.readInt16LE = function (e, t) {
t || v(e, 2, this.length);
t = this[e] | (this[e + 1] << 8);
return 32768 & t ? 4294901760 | t : t;
}),
(p.prototype.readInt16BE = function (e, t) {
t || v(e, 2, this.length);
t = this[e + 1] | (this[e] << 8);
return 32768 & t ? 4294901760 | t : t;
}),
(p.prototype.readInt32LE = function (e, t) {
return (
t || v(e, 4, this.length),
this[e] | (this[e + 1] << 8) | (this[e + 2] << 16) | (this[e + 3] << 24)
);
}),
(p.prototype.readInt32BE = function (e, t) {
return (
t || v(e, 4, this.length),
(this[e] << 24) | (this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3]
);
}),
(p.prototype.readFloatLE = function (e, t) {
return t || v(e, 4, this.length), i.read(this, e, !0, 23, 4);
}),
(p.prototype.readFloatBE = function (e, t) {
return t || v(e, 4, this.length), i.read(this, e, !1, 23, 4);
}),
(p.prototype.readDoubleLE = function (e, t) {
return t || v(e, 8, this.length), i.read(this, e, !0, 52, 8);
}),
(p.prototype.readDoubleBE = function (e, t) {
return t || v(e, 8, this.length), i.read(this, e, !1, 52, 8);
}),
(p.prototype.writeUIntLE = function (e, t, r, n) {
(e = +e), (t |= 0), (r |= 0), n || j(this, e, t, r, Math.pow(2, 8 * r) - 1, 0);
var s = 1,
i = 0;
for (this[t] = 255 & e; ++i < r && (s *= 256); ) this[t + i] = (e / s) & 255;
return t + r;
}),
(p.prototype.writeUIntBE = function (e, t, r, n) {
(e = +e), (t |= 0), (r |= 0), n || j(this, e, t, r, Math.pow(2, 8 * r) - 1, 0);
var s = r - 1,
i = 1;
for (this[t + s] = 255 & e; 0 <= --s && (i *= 256); ) this[t + s] = (e / i) & 255;
return t + r;
}),
(p.prototype.writeUInt8 = function (e, t, r) {
return (
(e = +e),
(t |= 0),
r || j(this, e, t, 1, 255, 0),
p.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)),
(this[t] = 255 & e),
t + 1
);
}),
(p.prototype.writeUInt16LE = function (e, t, r) {
return (
(e = +e),
(t |= 0),
r || j(this, e, t, 2, 65535, 0),
p.TYPED_ARRAY_SUPPORT ? ((this[t] = 255 & e), (this[t + 1] = e >>> 8)) : w(this, e, t, !0),
t + 2
);
}),
(p.prototype.writeUInt16BE = function (e, t, r) {
return (
(e = +e),
(t |= 0),
r || j(this, e, t, 2, 65535, 0),
p.TYPED_ARRAY_SUPPORT ? ((this[t] = e >>> 8), (this[t + 1] = 255 & e)) : w(this, e, t, !1),
t + 2
);
}),
(p.prototype.writeUInt32LE = function (e, t, r) {
return (
(e = +e),
(t |= 0),
r || j(this, e, t, 4, 4294967295, 0),
p.TYPED_ARRAY_SUPPORT
? ((this[t + 3] = e >>> 24),
(this[t + 2] = e >>> 16),
(this[t + 1] = e >>> 8),
(this[t] = 255 & e))
: x(this, e, t, !0),
t + 4
);
}),
(p.prototype.writeUInt32BE = function (e, t, r) {
return (
(e = +e),
(t |= 0),
r || j(this, e, t, 4, 4294967295, 0),
p.TYPED_ARRAY_SUPPORT
? ((this[t] = e >>> 24),
(this[t + 1] = e >>> 16),
(this[t + 2] = e >>> 8),
(this[t + 3] = 255 & e))
: x(this, e, t, !1),
t + 4
);
}),
(p.prototype.writeIntLE = function (e, t, r, n) {
(e = +e), (t |= 0), n || j(this, e, t, r, (n = Math.pow(2, 8 * r - 1)) - 1, -n);
var s = 0,
i = 1,
o = 0;
for (this[t] = 255 & e; ++s < r && (i *= 256); )
e < 0 && 0 === o && 0 !== this[t + s - 1] && (o = 1), (this[t + s] = (((e / i) >> 0) - o) & 255);
return t + r;
}),
(p.prototype.writeIntBE = function (e, t, r, n) {
(e = +e), (t |= 0), n || j(this, e, t, r, (n = Math.pow(2, 8 * r - 1)) - 1, -n);
var s = r - 1,
i = 1,
o = 0;
for (this[t + s] = 255 & e; 0 <= --s && (i *= 256); )
e < 0 && 0 === o && 0 !== this[t + s + 1] && (o = 1), (this[t + s] = (((e / i) >> 0) - o) & 255);
return t + r;
}),
(p.prototype.writeInt8 = function (e, t, r) {
return (
(e = +e),
(t |= 0),
r || j(this, e, t, 1, 127, -128),
p.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)),
(this[t] = 255 & (e = e < 0 ? 255 + e + 1 : e)),
t + 1
);
}),
(p.prototype.writeInt16LE = function (e, t, r) {
return (
(e = +e),
(t |= 0),
r || j(this, e, t, 2, 32767, -32768),
p.TYPED_ARRAY_SUPPORT ? ((this[t] = 255 & e), (this[t + 1] = e >>> 8)) : w(this, e, t, !0),
t + 2
);
}),
(p.prototype.writeInt16BE = function (e, t, r) {
return (
(e = +e),
(t |= 0),
r || j(this, e, t, 2, 32767, -32768),
p.TYPED_ARRAY_SUPPORT ? ((this[t] = e >>> 8), (this[t + 1] = 255 & e)) : w(this, e, t, !1),
t + 2
);
}),
(p.prototype.writeInt32LE = function (e, t, r) {
return (
(e = +e),
(t |= 0),
r || j(this, e, t, 4, 2147483647, -2147483648),
p.TYPED_ARRAY_SUPPORT
? ((this[t] = 255 & e),
(this[t + 1] = e >>> 8),
(this[t + 2] = e >>> 16),
(this[t + 3] = e >>> 24))
: x(this, e, t, !0),
t + 4
);
}),
(p.prototype.writeInt32BE = function (e, t, r) {
return (
(e = +e),
(t |= 0),
r || j(this, e, t, 4, 2147483647, -2147483648),
e < 0 && (e = 4294967295 + e + 1),
p.TYPED_ARRAY_SUPPORT
? ((this[t] = e >>> 24),
(this[t + 1] = e >>> 16),
(this[t + 2] = e >>> 8),
(this[t + 3] = 255 & e))
: x(this, e, t, !1),
t + 4
);
}),
(p.prototype.writeFloatLE = function (e, t, r) {
return _(this, e, t, !0, r);
}),
(p.prototype.writeFloatBE = function (e, t, r) {
return _(this, e, t, !1, r);
}),
(p.prototype.writeDoubleLE = function (e, t, r) {
return S(this, e, t, !0, r);
}),
(p.prototype.writeDoubleBE = function (e, t, r) {
return S(this, e, t, !1, r);
}),
(p.prototype.copy = function (e, t, r, n) {
if (
((r = r || 0),
n || 0 === n || (n = this.length),
t >= e.length && (t = e.length),
(n = 0 < n && n < r ? r : n) === r)
)
return 0;
if (0 === e.length || 0 === this.length) return 0;
if ((t = t || 0) < 0) throw new RangeError('targetStart out of bounds');
if (r < 0 || r >= this.length) throw new RangeError('sourceStart out of bounds');
if (n < 0) throw new RangeError('sourceEnd out of bounds');
n > this.length && (n = this.length);
var s,
i = (n = e.length - t < n - r ? e.length - t + r : n) - r;
if (this === e && r < t && t < n) for (s = i - 1; 0 <= s; --s) e[s + t] = this[s + r];
else if (i < 1e3 || !p.TYPED_ARRAY_SUPPORT) for (s = 0; s < i; ++s) e[s + t] = this[s + r];
else Uint8Array.prototype.set.call(e, this.subarray(r, r + i), t);
return i;
}),
(p.prototype.fill = function (e, t, r, n) {
if ('string' == typeof e) {
var s;
if (
('string' == typeof t
? ((n = t), (t = 0), (r = this.length))
: 'string' == typeof r && ((n = r), (r = this.length)),
1 !== e.length || ((s = e.charCodeAt(0)) < 256 && (e = s)),
void 0 !== n && 'string' != typeof n)
)
throw new TypeError('encoding must be a string');
if ('string' == typeof n && !p.isEncoding(n)) throw new TypeError('Unknown encoding: ' + n);
} else 'number' == typeof e && (e &= 255);
if (t < 0 || this.length < t || this.length < r) throw new RangeError('Out of range index');
if (r <= t) return this;
if (((t >>>= 0), (r = void 0 === r ? this.length : r >>> 0), 'number' == typeof (e = e || 0)))
for (a = t; a < r; ++a) this[a] = e;
else
for (var i = p.isBuffer(e) ? e : A(new p(e, n).toString()), o = i.length, a = 0; a < r - t; ++a)
this[a + t] = i[a % o];
return this;
});
var O = /[^+\/0-9A-Za-z-_]/g;
function A(e, t) {
t = t || 1 / 0;
for (var r, n = e.length, s = null, i = [], o = 0; o < n; ++o) {
if (55295 < (r = e.charCodeAt(o)) && r < 57344) {
if (!s) {
if (56319 < r) {
-1 < (t -= 3) && i.push(239, 191, 189);
continue;
}
if (o + 1 === n) {
-1 < (t -= 3) && i.push(239, 191, 189);
continue;
}
s = r;
continue;
}
if (r < 56320) {
-1 < (t -= 3) && i.push(239, 191, 189), (s = r);
continue;
}
r = 65536 + (((s - 55296) << 10) | (r - 56320));
} else s && -1 < (t -= 3) && i.push(239, 191, 189);
if (((s = null), r < 128)) {
if (--t < 0) break;
i.push(r);
} else if (r < 2048) {
if ((t -= 2) < 0) break;
i.push((r >> 6) | 192, (63 & r) | 128);
} else if (r < 65536) {
if ((t -= 3) < 0) break;
i.push((r >> 12) | 224, ((r >> 6) & 63) | 128, (63 & r) | 128);
} else {
if (!(r < 1114112)) throw new Error('Invalid code point');
if ((t -= 4) < 0) break;
i.push((r >> 18) | 240, ((r >> 12) & 63) | 128, ((r >> 6) & 63) | 128, (63 & r) | 128);
}
}
return i;
}
function D(e) {
return k.toByteArray(
(function (e) {
var t;
if ((e = ((t = e).trim ? t.trim() : t.replace(/^\s+|\s+$/g, '')).replace(O, '')).length < 2)
return '';
for (; e.length % 4 != 0; ) e += '=';
return e;
})(e)
);
}
function I(e, t, r, n) {
for (var s = 0; s < n && !(s + r >= t.length || s >= e.length); ++s) t[s + r] = e[s];
return s;
}
}.call(this);
}.call(
this,
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {},
C('buffer').Buffer
);
},
{ 'base64-js': 85, buffer: 89, ieee754: 346, isarray: 355 }
],
90: [
function (e, t, r) {
t.exports = {
100: 'Continue',
101: 'Switching Protocols',
102: 'Processing',
200: 'OK',
201: 'Created',
202: 'Accepted',
203: 'Non-Authoritative Information',
204: 'No Content',
205: 'Reset Content',
206: 'Partial Content',
207: 'Multi-Status',
208: 'Already Reported',
226: 'IM Used',
300: 'Multiple Choices',
301: 'Moved Permanently',
302: 'Found',
303: 'See Other',
304: 'Not Modified',
305: 'Use Proxy',
307: 'Temporary Redirect',
308: 'Permanent Redirect',
400: 'Bad Request',
401: 'Unauthorized',
402: 'Payment Required',
403: 'Forbidden',
404: 'Not Found',
405: 'Method Not Allowed',
406: 'Not Acceptable',
407: 'Proxy Authentication Required',
408: 'Request Timeout',
409: 'Conflict',
410: 'Gone',
411: 'Length Required',
412: 'Precondition Failed',
413: 'Payload Too Large',
414: 'URI Too Long',
415: 'Unsupported Media Type',
416: 'Range Not Satisfiable',
417: 'Expectation Failed',
418: "I'm a teapot",
421: 'Misdirected Request',
422: 'Unprocessable Entity',
423: 'Locked',
424: 'Failed Dependency',
425: 'Unordered Collection',
426: 'Upgrade Required',
428: 'Precondition Required',
429: 'Too Many Requests',
431: 'Request Header Fields Too Large',
451: 'Unavailable For Legal Reasons',
500: 'Internal Server Error',
501: 'Not Implemented',
502: 'Bad Gateway',
503: 'Service Unavailable',
504: 'Gateway Timeout',
505: 'HTTP Version Not Supported',
506: 'Variant Also Negotiates',
507: 'Insufficient Storage',
508: 'Loop Detected',
509: 'Bandwidth Limit Exceeded',
510: 'Not Extended',
511: 'Network Authentication Required'
};
},
{}
],
91: [
function (e, t, r) {
'use strict';
var n = Array.prototype.slice;
function s(e, t) {
if (!(this instanceof s)) return new s(e, t);
(this.src = e), (this._withAccess = t);
}
((t.exports = s).prototype.withAccess = function (e) {
return (this._withAccess = !1 !== e), this;
}),
(s.prototype.pick = function (e) {
return (e = Array.isArray(e) ? e : n.call(arguments)).length && (this.keys = e), this;
}),
(s.prototype.to = function (e) {
if (((e = e || {}), !this.src)) return e;
var t = this.keys || Object.keys(this.src);
if (!this._withAccess) {
for (var r = 0; r < t.length; r++) void 0 === e[(i = t[r])] && (e[i] = this.src[i]);
return e;
}
for (r = 0; r < t.length; r++) {
var n,
s,
i = t[r];
void 0 === (n = e)[(s = i)] &&
void 0 === n.__lookupGetter__(s) &&
void 0 === n.__lookupSetter__(s) &&
((n = this.src.__lookupGetter__(i)),
(s = this.src.__lookupSetter__(i)),
n && e.__defineGetter__(i, n),
s && e.__defineSetter__(i, s),
n || s || (e[i] = this.src[i]));
}
return e;
}),
(s.prototype.override = s.prototype.toCover =
function (e) {
for (var t = this.keys || Object.keys(this.src), r = 0; r < t.length; r++) {
var n = t[r],
s = (delete e[n], this.src.__lookupGetter__(n)),
i = this.src.__lookupSetter__(n);
s && e.__defineGetter__(n, s), i && e.__defineSetter__(n, i), s || i || (e[n] = this.src[n]);
}
}),
(s.prototype.and = function (e) {
var t = {};
return this.to(t), (this.src = e), this.to(t), (this.src = t), this;
});
},
{}
],
92: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/is-callable'),
i = e('../internals/try-to-string'),
o = n.TypeError;
t.exports = function (e) {
if (s(e)) return e;
throw o(i(e) + ' is not a function');
};
},
{ '../internals/global': 160, '../internals/is-callable': 173, '../internals/try-to-string': 254 }
],
93: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/is-constructor'),
i = e('../internals/try-to-string'),
o = n.TypeError;
t.exports = function (e) {
if (s(e)) return e;
throw o(i(e) + ' is not a constructor');
};
},
{ '../internals/global': 160, '../internals/is-constructor': 174, '../internals/try-to-string': 254 }
],
94: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/is-callable'),
i = n.String,
o = n.TypeError;
t.exports = function (e) {
if ('object' == typeof e || s(e)) return e;
throw o("Can't set " + i(e) + ' as a prototype');
};
},
{ '../internals/global': 160, '../internals/is-callable': 173 }
],
95: [
function (e, t, r) {
var n = e('../internals/well-known-symbol'),
s = e('../internals/object-create'),
e = e('../internals/object-define-property'),
i = n('unscopables'),
o = Array.prototype;
null == o[i] && e.f(o, i, { configurable: !0, value: s(null) }),
(t.exports = function (e) {
o[i][e] = !0;
});
},
{
'../internals/object-create': 193,
'../internals/object-define-property': 195,
'../internals/well-known-symbol': 265
}
],
96: [
function (e, t, r) {
'use strict';
var n = e('../internals/string-multibyte').charAt;
t.exports = function (e, t, r) {
return t + (r ? n(e, t).length : 1);
};
},
{ '../internals/string-multibyte': 236 }
],
97: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/object-is-prototype-of'),
i = n.TypeError;
t.exports = function (e, t) {
if (s(t, e)) return e;
throw i('Incorrect invocation');
};
},
{ '../internals/global': 160, '../internals/object-is-prototype-of': 201 }
],
98: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/is-object'),
i = n.String,
o = n.TypeError;
t.exports = function (e) {
if (s(e)) return e;
throw o(i(e) + ' is not an object');
};
},
{ '../internals/global': 160, '../internals/is-object': 177 }
],
99: [
function (e, t, r) {
t.exports = 'undefined' != typeof ArrayBuffer && 'undefined' != typeof DataView;
},
{}
],
100: [
function (e, t, r) {
'use strict';
function n(e) {
return !!p(e) && ((e = d(e)), f(I, e) || f(C, e));
}
var s,
i,
o,
a = e('../internals/array-buffer-native'),
c = e('../internals/descriptors'),
l = e('../internals/global'),
u = e('../internals/is-callable'),
p = e('../internals/is-object'),
f = e('../internals/has-own-property'),
d = e('../internals/classof'),
h = e('../internals/try-to-string'),
m = e('../internals/create-non-enumerable-property'),
y = e('../internals/redefine'),
b = e('../internals/object-define-property').f,
g = e('../internals/object-is-prototype-of'),
v = e('../internals/object-get-prototype-of'),
j = e('../internals/object-set-prototype-of'),
w = e('../internals/well-known-symbol'),
e = e('../internals/uid'),
x = l.Int8Array,
T = x && x.prototype,
k = l.Uint8ClampedArray,
k = k && k.prototype,
E = x && v(x),
_ = T && v(T),
x = Object.prototype,
S = l.TypeError,
w = w('toStringTag'),
O = e('TYPED_ARRAY_TAG'),
A = e('TYPED_ARRAY_CONSTRUCTOR'),
D = a && !!j && 'Opera' !== d(l.opera),
e = !1,
I = {
Int8Array: 1,
Uint8Array: 1,
Uint8ClampedArray: 1,
Int16Array: 2,
Uint16Array: 2,
Int32Array: 4,
Uint32Array: 4,
Float32Array: 4,
Float64Array: 8
},
C = { BigInt64Array: 8, BigUint64Array: 8 };
for (s in I) (o = (i = l[s]) && i.prototype) ? m(o, A, i) : (D = !1);
for (s in C) (o = (i = l[s]) && i.prototype) && m(o, A, i);
if (
(!D || !u(E) || E === Function.prototype) &&
((E = function () {
throw S('Incorrect invocation');
}),
D)
)
for (s in I) l[s] && j(l[s], E);
if ((!D || !_ || _ === x) && ((_ = E.prototype), D)) for (s in I) l[s] && j(l[s].prototype, _);
if ((D && v(k) !== _ && j(k, _), c && !f(_, w)))
for (s in ((e = !0),
b(_, w, {
get: function () {
return p(this) ? this[O] : void 0;
}
}),
I))
l[s] && m(l[s], O, s);
t.exports = {
NATIVE_ARRAY_BUFFER_VIEWS: D,
TYPED_ARRAY_CONSTRUCTOR: A,
TYPED_ARRAY_TAG: e && O,
aTypedArray: function (e) {
if (n(e)) return e;
throw S('Target is not a typed array');
},
aTypedArrayConstructor: function (e) {
if (!u(e) || (j && !g(E, e))) throw S(h(e) + ' is not a typed array constructor');
return e;
},
exportTypedArrayMethod: function (t, r, e, n) {
if (c) {
if (e)
for (var s in I) {
s = l[s];
if (s && f(s.prototype, t))
try {
delete s.prototype[t];
} catch (e) {
try {
s.prototype[t] = r;
} catch (e) {}
}
}
(_[t] && !e) || y(_, t, (!e && D && T[t]) || r, n);
}
},
exportTypedArrayStaticMethod: function (e, t, r) {
var n, s;
if (c) {
if (j) {
if (r)
for (n in I)
if ((s = l[n]) && f(s, e))
try {
delete s[e];
} catch (e) {}
if (E[e] && !r) return;
try {
return y(E, e, (!r && D && E[e]) || t);
} catch (e) {}
}
for (n in I) !(s = l[n]) || (s[e] && !r) || y(s, e, t);
}
},
isView: function (e) {
if (!p(e)) return !1;
e = d(e);
return 'DataView' === e || f(I, e) || f(C, e);
},
isTypedArray: n,
TypedArray: E,
TypedArrayPrototype: _
};
},
{
'../internals/array-buffer-native': 99,
'../internals/classof': 121,
'../internals/create-non-enumerable-property': 126,
'../internals/descriptors': 131,
'../internals/global': 160,
'../internals/has-own-property': 161,
'../internals/is-callable': 173,
'../internals/is-object': 177,
'../internals/object-define-property': 195,
'../internals/object-get-prototype-of': 200,
'../internals/object-is-prototype-of': 201,
'../internals/object-set-prototype-of': 205,
'../internals/redefine': 219,
'../internals/try-to-string': 254,
'../internals/uid': 260,
'../internals/well-known-symbol': 265
}
],
101: [
function (e, M, L) {
'use strict';
function r(e) {
return [255 & e];
}
function n(e) {
return [255 & e, (e >> 8) & 255];
}
function s(e) {
return [255 & e, (e >> 8) & 255, (e >> 16) & 255, (e >> 24) & 255];
}
function t(e) {
return (e[3] << 24) | (e[2] << 16) | (e[1] << 8) | e[0];
}
function B(e) {
return C(e, 23, 4);
}
function q(e) {
return C(e, 52, 8);
}
function i(e, t) {
z(e[T], t, {
get: function () {
return w(this)[t];
}
});
}
function o(e, t, r, n) {
if (((r = y(r)), (e = w(e)), r + t > e.byteLength)) throw I(k);
var s = w(e.buffer).bytes,
r = r + e.byteOffset,
e = H(s, r, r + t);
return n ? e : J(e);
}
function a(e, t, r, n, s, i) {
if (((r = y(r)), (e = w(e)), r + t > e.byteLength)) throw I(k);
for (var o = w(e.buffer).bytes, a = r + e.byteOffset, c = n(+s), l = 0; l < t; l++)
o[a + l] = c[i ? l : t - l - 1];
}
var c = e('../internals/global'),
l = e('../internals/function-uncurry-this'),
u = e('../internals/descriptors'),
F = e('../internals/array-buffer-native'),
p = e('../internals/function-name'),
f = e('../internals/create-non-enumerable-property'),
d = e('../internals/redefine-all'),
h = e('../internals/fails'),
m = e('../internals/an-instance'),
U = e('../internals/to-integer-or-infinity'),
G = e('../internals/to-length'),
y = e('../internals/to-index'),
b = e('../internals/ieee754'),
X = e('../internals/object-get-prototype-of'),
g = e('../internals/object-set-prototype-of'),
V = e('../internals/object-get-own-property-names').f,
z = e('../internals/object-define-property').f,
W = e('../internals/array-fill'),
H = e('../internals/array-slice-simple'),
v = e('../internals/set-to-string-tag'),
e = e('../internals/internal-state'),
K = p.PROPER,
j = p.CONFIGURABLE,
w = e.get,
x = e.set,
p = 'ArrayBuffer',
e = 'DataView',
T = 'prototype',
k = 'Wrong index',
E = c[p],
_ = E,
S = _ && _[T],
O = c[e],
A = O && O[T],
D = Object.prototype,
Y = c.Array,
I = c.RangeError,
$ = l(W),
J = l([].reverse),
C = b.pack,
N = b.unpack;
if (F) {
var R = K && E.name !== p;
if (
h(function () {
E(1);
}) &&
h(function () {
new E(-1);
}) &&
!h(function () {
return new E(), new E(1.5), new E(NaN), R && !j;
})
)
R && j && f(E, 'name', p);
else {
(_ = function (e) {
return m(this, S), new E(y(e));
})[T] = S;
for (var P, Z = V(E), Q = 0; Z.length > Q; ) (P = Z[Q++]) in _ || f(_, P, E[P]);
S.constructor = _;
}
g && X(A) !== D && g(A, D);
var c = new O(new _(2)),
ee = l(A.setInt8);
c.setInt8(0, 2147483648),
c.setInt8(1, 2147483649),
(!c.getInt8(0) && c.getInt8(1)) ||
d(
A,
{
setInt8: function (e, t) {
ee(this, e, (t << 24) >> 24);
},
setUint8: function (e, t) {
ee(this, e, (t << 24) >> 24);
}
},
{ unsafe: !0 }
);
} else
(S = (_ = function (e) {
m(this, S);
e = y(e);
x(this, { bytes: $(Y(e), 0), byteLength: e }), u || (this.byteLength = e);
})[T]),
(A = (O = function (e, t, r) {
m(this, A), m(e, S);
var n = w(e).byteLength,
t = U(t);
if (t < 0 || n < t) throw I('Wrong offset');
if (n < t + (r = void 0 === r ? n - t : G(r))) throw I('Wrong length');
x(this, { buffer: e, byteLength: r, byteOffset: t }),
u || ((this.buffer = e), (this.byteLength = r), (this.byteOffset = t));
})[T]),
u && (i(_, 'byteLength'), i(O, 'buffer'), i(O, 'byteLength'), i(O, 'byteOffset')),
d(A, {
getInt8: function (e) {
return (o(this, 1, e)[0] << 24) >> 24;
},
getUint8: function (e) {
return o(this, 1, e)[0];
},
getInt16: function (e) {
e = o(this, 2, e, 1 < arguments.length ? arguments[1] : void 0);
return (((e[1] << 8) | e[0]) << 16) >> 16;
},
getUint16: function (e) {
e = o(this, 2, e, 1 < arguments.length ? arguments[1] : void 0);
return (e[1] << 8) | e[0];
},
getInt32: function (e) {
return t(o(this, 4, e, 1 < arguments.length ? arguments[1] : void 0));
},
getUint32: function (e) {
return t(o(this, 4, e, 1 < arguments.length ? arguments[1] : void 0)) >>> 0;
},
getFloat32: function (e) {
return N(o(this, 4, e, 1 < arguments.length ? arguments[1] : void 0), 23);
},
getFloat64: function (e) {
return N(o(this, 8, e, 1 < arguments.length ? arguments[1] : void 0), 52);
},
setInt8: function (e, t) {
a(this, 1, e, r, t);
},
setUint8: function (e, t) {
a(this, 1, e, r, t);
},
setInt16: function (e, t) {
a(this, 2, e, n, t, 2 < arguments.length ? arguments[2] : void 0);
},
setUint16: function (e, t) {
a(this, 2, e, n, t, 2 < arguments.length ? arguments[2] : void 0);
},
setInt32: function (e, t) {
a(this, 4, e, s, t, 2 < arguments.length ? arguments[2] : void 0);
},
setUint32: function (e, t) {
a(this, 4, e, s, t, 2 < arguments.length ? arguments[2] : void 0);
},
setFloat32: function (e, t) {
a(this, 4, e, B, t, 2 < arguments.length ? arguments[2] : void 0);
},
setFloat64: function (e, t) {
a(this, 8, e, q, t, 2 < arguments.length ? arguments[2] : void 0);
}
});
v(_, p), v(O, e), (M.exports = { ArrayBuffer: _, DataView: O });
},
{
'../internals/an-instance': 97,
'../internals/array-buffer-native': 99,
'../internals/array-fill': 103,
'../internals/array-slice-simple': 113,
'../internals/create-non-enumerable-property': 126,
'../internals/descriptors': 131,
'../internals/fails': 147,
'../internals/function-name': 153,
'../internals/function-uncurry-this': 154,
'../internals/global': 160,
'../internals/ieee754': 166,
'../internals/internal-state': 170,
'../internals/object-define-property': 195,
'../internals/object-get-own-property-names': 198,
'../internals/object-get-prototype-of': 200,
'../internals/object-set-prototype-of': 205,
'../internals/redefine-all': 218,
'../internals/set-to-string-tag': 231,
'../internals/to-index': 243,
'../internals/to-integer-or-infinity': 245,
'../internals/to-length': 246
}
],
102: [
function (e, t, r) {
'use strict';
var c = e('../internals/to-object'),
l = e('../internals/to-absolute-index'),
u = e('../internals/length-of-array-like'),
p = Math.min;
t.exports =
[].copyWithin ||
function (e, t) {
var r = c(this),
n = u(r),
s = l(e, n),
i = l(t, n),
e = 2 < arguments.length ? arguments[2] : void 0,
o = p((void 0 === e ? n : l(e, n)) - i, n - s),
a = 1;
for (i < s && s < i + o && ((a = -1), (i += o - 1), (s += o - 1)); 0 < o--; )
i in r ? (r[s] = r[i]) : delete r[s], (s += a), (i += a);
return r;
};
},
{
'../internals/length-of-array-like': 185,
'../internals/to-absolute-index': 242,
'../internals/to-object': 247
}
],
103: [
function (e, t, r) {
'use strict';
var o = e('../internals/to-object'),
a = e('../internals/to-absolute-index'),
c = e('../internals/length-of-array-like');
t.exports = function (e) {
for (
var t = o(this),
r = c(t),
n = arguments.length,
s = a(1 < n ? arguments[1] : void 0, r),
n = 2 < n ? arguments[2] : void 0,
i = void 0 === n ? r : a(n, r);
s < i;
)
t[s++] = e;
return t;
};
},
{
'../internals/length-of-array-like': 185,
'../internals/to-absolute-index': 242,
'../internals/to-object': 247
}
],
104: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-iteration').forEach,
e = e('../internals/array-method-is-strict')('forEach');
t.exports = e
? [].forEach
: function (e) {
return n(this, e, 1 < arguments.length ? arguments[1] : void 0);
};
},
{ '../internals/array-iteration': 108, '../internals/array-method-is-strict': 111 }
],
105: [
function (e, t, r) {
var i = e('../internals/length-of-array-like');
t.exports = function (e, t) {
for (var r = 0, n = i(t), s = new e(n); r < n; ) s[r] = t[r++];
return s;
};
},
{ '../internals/length-of-array-like': 185 }
],
106: [
function (e, t, r) {
'use strict';
var n = e('../internals/global'),
f = e('../internals/function-bind-context'),
d = e('../internals/function-call'),
h = e('../internals/to-object'),
m = e('../internals/call-with-safe-iteration-closing'),
y = e('../internals/is-array-iterator-method'),
b = e('../internals/is-constructor'),
g = e('../internals/length-of-array-like'),
v = e('../internals/create-property'),
j = e('../internals/get-iterator'),
w = e('../internals/get-iterator-method'),
x = n.Array;
t.exports = function (e) {
var t,
r,
n,
s,
i,
o,
a = h(e),
e = b(this),
c = arguments.length,
l = 1 < c ? arguments[1] : void 0,
u = void 0 !== l,
c = (u && (l = f(l, 2 < c ? arguments[2] : void 0)), w(a)),
p = 0;
if (!c || (this == x && y(c)))
for (t = g(a), r = e ? new this(t) : x(t); p < t; p++) (o = u ? l(a[p], p) : a[p]), v(r, p, o);
else
for (i = (s = j(a, c)).next, r = e ? new this() : []; !(n = d(i, s)).done; p++)
(o = u ? m(s, l, [n.value, p], !0) : n.value), v(r, p, o);
return (r.length = p), r;
};
},
{
'../internals/call-with-safe-iteration-closing': 118,
'../internals/create-property': 128,
'../internals/function-bind-context': 150,
'../internals/function-call': 152,
'../internals/get-iterator': 157,
'../internals/get-iterator-method': 156,
'../internals/global': 160,
'../internals/is-array-iterator-method': 171,
'../internals/is-constructor': 174,
'../internals/length-of-array-like': 185,
'../internals/to-object': 247
}
],
107: [
function (e, t, r) {
function n(a) {
return function (e, t, r) {
var n,
s = c(e),
i = u(s),
o = l(r, i);
if (a && t != t) {
for (; o < i; ) if ((n = s[o++]) != n) return !0;
} else for (; o < i; o++) if ((a || o in s) && s[o] === t) return a || o || 0;
return !a && -1;
};
}
var c = e('../internals/to-indexed-object'),
l = e('../internals/to-absolute-index'),
u = e('../internals/length-of-array-like');
t.exports = { includes: n(!0), indexOf: n(!1) };
},
{
'../internals/length-of-array-like': 185,
'../internals/to-absolute-index': 242,
'../internals/to-indexed-object': 244
}
],
108: [
function (e, t, r) {
function n(f) {
var d = 1 == f,
h = 2 == f,
m = 3 == f,
y = 4 == f,
b = 6 == f,
g = 7 == f,
v = 5 == f || b;
return function (e, t, r, n) {
for (
var s,
i,
o = x(e),
a = w(o),
c = j(t, r),
l = T(a),
u = 0,
t = n || k,
p = d ? t(e, l) : h || g ? t(e, 0) : void 0;
u < l;
u++
)
if ((v || u in a) && ((i = c((s = a[u]), u, o)), f))
if (d) p[u] = i;
else if (i)
switch (f) {
case 3:
return !0;
case 5:
return s;
case 6:
return u;
case 2:
E(p, s);
}
else
switch (f) {
case 4:
return !1;
case 7:
E(p, s);
}
return b ? -1 : m || y ? y : p;
};
}
var j = e('../internals/function-bind-context'),
s = e('../internals/function-uncurry-this'),
w = e('../internals/indexed-object'),
x = e('../internals/to-object'),
T = e('../internals/length-of-array-like'),
k = e('../internals/array-species-create'),
E = s([].push);
t.exports = {
forEach: n(0),
map: n(1),
filter: n(2),
some: n(3),
every: n(4),
find: n(5),
findIndex: n(6),
filterReject: n(7)
};
},
{
'../internals/array-species-create': 117,
'../internals/function-bind-context': 150,
'../internals/function-uncurry-this': 154,
'../internals/indexed-object': 167,
'../internals/length-of-array-like': 185,
'../internals/to-object': 247
}
],
109: [
function (e, t, r) {
'use strict';
var s = e('../internals/function-apply'),
i = e('../internals/to-indexed-object'),
o = e('../internals/to-integer-or-infinity'),
a = e('../internals/length-of-array-like'),
e = e('../internals/array-method-is-strict'),
c = Math.min,
l = [].lastIndexOf,
u = !!l && 1 / [1].lastIndexOf(1, -0) < 0,
e = e('lastIndexOf');
t.exports =
u || !e
? function (e) {
if (u) return s(l, this, arguments) || 0;
var t = i(this),
r = a(t),
n = r - 1;
for ((n = 1 < arguments.length ? c(n, o(arguments[1])) : n) < 0 && (n = r + n); 0 <= n; n--)
if (n in t && t[n] === e) return n || 0;
return -1;
}
: l;
},
{
'../internals/array-method-is-strict': 111,
'../internals/function-apply': 149,
'../internals/length-of-array-like': 185,
'../internals/to-indexed-object': 244,
'../internals/to-integer-or-infinity': 245
}
],
110: [
function (e, t, r) {
var n = e('../internals/fails'),
s = e('../internals/well-known-symbol'),
i = e('../internals/engine-v8-version'),
o = s('species');
t.exports = function (t) {
return (
51 <= i ||
!n(function () {
var e = [];
return (
((e.constructor = {})[o] = function () {
return { foo: 1 };
}),
1 !== e[t](Boolean).foo
);
})
);
};
},
{ '../internals/engine-v8-version': 143, '../internals/fails': 147, '../internals/well-known-symbol': 265 }
],
111: [
function (e, t, r) {
'use strict';
var n = e('../internals/fails');
t.exports = function (e, t) {
var r = [][e];
return (
!!r &&
n(function () {
r.call(
null,
t ||
function () {
return 1;
},
1
);
})
);
};
},
{ '../internals/fails': 147 }
],
112: [
function (e, t, r) {
function n(l) {
return function (e, t, r, n) {
u(t);
var s = p(e),
i = f(s),
o = d(s),
a = l ? o - 1 : 0,
c = l ? -1 : 1;
if (r < 2)
for (;;) {
if (a in i) {
(n = i[a]), (a += c);
break;
}
if (((a += c), l ? a < 0 : o <= a)) throw h('Reduce of empty array with no initial value');
}
for (; l ? 0 <= a : a < o; a += c) a in i && (n = t(n, i[a], a, s));
return n;
};
}
var s = e('../internals/global'),
u = e('../internals/a-callable'),
p = e('../internals/to-object'),
f = e('../internals/indexed-object'),
d = e('../internals/length-of-array-like'),
h = s.TypeError;
t.exports = { left: n(!1), right: n(!0) };
},
{
'../internals/a-callable': 92,
'../internals/global': 160,
'../internals/indexed-object': 167,
'../internals/length-of-array-like': 185,
'../internals/to-object': 247
}
],
113: [
function (e, t, r) {
var n = e('../internals/global'),
c = e('../internals/to-absolute-index'),
l = e('../internals/length-of-array-like'),
u = e('../internals/create-property'),
p = n.Array,
f = Math.max;
t.exports = function (e, t, r) {
for (
var n = l(e), s = c(t, n), i = c(void 0 === r ? n : r, n), o = p(f(i - s, 0)), a = 0;
s < i;
s++, a++
)
u(o, a, e[s]);
return (o.length = a), o;
};
},
{
'../internals/create-property': 128,
'../internals/global': 160,
'../internals/length-of-array-like': 185,
'../internals/to-absolute-index': 242
}
],
114: [
function (e, t, r) {
e = e('../internals/function-uncurry-this');
t.exports = e([].slice);
},
{ '../internals/function-uncurry-this': 154 }
],
115: [
function (e, t, r) {
function g(e, t) {
var r = e.length,
n = j(r / 2);
if (r < 8) {
for (var s, i, o = e, a = t, c = o.length, l = 1; l < c; ) {
for (s = o[(i = l)]; i && 0 < a(o[i - 1], s); ) o[i] = o[--i];
i !== l++ && (o[i] = s);
}
return o;
}
for (
var u = e, p = g(v(e, 0, n), t), f = g(v(e, n), t), d = t, h = p.length, m = f.length, y = 0, b = 0;
y < h || b < m;
)
u[y + b] = y < h && b < m ? (d(p[y], f[b]) <= 0 ? p[y++] : f[b++]) : y < h ? p[y++] : f[b++];
return u;
}
var v = e('../internals/array-slice-simple'),
j = Math.floor;
t.exports = g;
},
{ '../internals/array-slice-simple': 113 }
],
116: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/is-array'),
i = e('../internals/is-constructor'),
o = e('../internals/is-object'),
a = e('../internals/well-known-symbol')('species'),
c = n.Array;
t.exports = function (e) {
var t;
return (
s(e) &&
((t = e.constructor),
((i(t) && (t === c || s(t.prototype))) || (o(t) && null === (t = t[a]))) && (t = void 0)),
void 0 === t ? c : t
);
};
},
{
'../internals/global': 160,
'../internals/is-array': 172,
'../internals/is-constructor': 174,
'../internals/is-object': 177,
'../internals/well-known-symbol': 265
}
],
117: [
function (e, t, r) {
var n = e('../internals/array-species-constructor');
t.exports = function (e, t) {
return new (n(e))(0 === t ? 0 : t);
};
},
{ '../internals/array-species-constructor': 116 }
],
118: [
function (e, t, r) {
var s = e('../internals/an-object'),
i = e('../internals/iterator-close');
t.exports = function (t, e, r, n) {
try {
return n ? e(s(r)[0], r[1]) : e(r);
} catch (e) {
i(t, 'throw', e);
}
};
},
{ '../internals/an-object': 98, '../internals/iterator-close': 182 }
],
119: [
function (e, t, r) {
var s = e('../internals/well-known-symbol')('iterator'),
i = !1;
try {
var n = 0,
o = {
next: function () {
return { done: !!n++ };
},
return: function () {
i = !0;
}
};
(o[s] = function () {
return this;
}),
Array.from(o, function () {
throw 2;
});
} catch (e) {}
t.exports = function (e, t) {
if (!t && !i) return !1;
var r = !1;
try {
var n = {};
(n[s] = function () {
return {
next: function () {
return { done: (r = !0) };
}
};
}),
e(n);
} catch (e) {}
return r;
};
},
{ '../internals/well-known-symbol': 265 }
],
120: [
function (e, t, r) {
var e = e('../internals/function-uncurry-this'),
n = e({}.toString),
s = e(''.slice);
t.exports = function (e) {
return s(n(e), 8, -1);
};
},
{ '../internals/function-uncurry-this': 154 }
],
121: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/to-string-tag-support'),
i = e('../internals/is-callable'),
o = e('../internals/classof-raw'),
a = e('../internals/well-known-symbol')('toStringTag'),
c = n.Object,
l =
'Arguments' ==
o(
(function () {
return arguments;
})()
);
t.exports = s
? o
: function (e) {
var t;
return void 0 === e
? 'Undefined'
: null === e
? 'Null'
: 'string' ==
typeof (t = (function (e, t) {
try {
return e[t];
} catch (e) {}
})((e = c(e)), a))
? t
: l
? o(e)
: 'Object' == (t = o(e)) && i(e.callee)
? 'Arguments'
: t;
};
},
{
'../internals/classof-raw': 120,
'../internals/global': 160,
'../internals/is-callable': 173,
'../internals/to-string-tag-support': 252,
'../internals/well-known-symbol': 265
}
],
122: [
function (e, t, r) {
var c = e('../internals/has-own-property'),
l = e('../internals/own-keys'),
u = e('../internals/object-get-own-property-descriptor'),
p = e('../internals/object-define-property');
t.exports = function (e, t, r) {
for (var n = l(t), s = p.f, i = u.f, o = 0; o < n.length; o++) {
var a = n[o];
c(e, a) || (r && c(r, a)) || s(e, a, i(t, a));
}
};
},
{
'../internals/has-own-property': 161,
'../internals/object-define-property': 195,
'../internals/object-get-own-property-descriptor': 196,
'../internals/own-keys': 209
}
],
123: [
function (e, t, r) {
var n = e('../internals/well-known-symbol')('match');
t.exports = function (t) {
var r = /./;
try {
'/./'[t](r);
} catch (e) {
try {
return (r[n] = !1), '/./'[t](r);
} catch (e) {}
}
return !1;
};
},
{ '../internals/well-known-symbol': 265 }
],
124: [
function (e, t, r) {
e = e('../internals/fails');
t.exports = !e(function () {
function e() {}
return (e.prototype.constructor = null), Object.getPrototypeOf(new e()) !== e.prototype;
});
},
{ '../internals/fails': 147 }
],
125: [
function (e, t, r) {
'use strict';
function s() {
return this;
}
var i = e('../internals/iterators-core').IteratorPrototype,
o = e('../internals/object-create'),
a = e('../internals/create-property-descriptor'),
c = e('../internals/set-to-string-tag'),
l = e('../internals/iterators');
t.exports = function (e, t, r, n) {
t += ' Iterator';
return (e.prototype = o(i, { next: a(+!n, r) })), c(e, t, !1, !0), (l[t] = s), e;
};
},
{
'../internals/create-property-descriptor': 127,
'../internals/iterators': 184,
'../internals/iterators-core': 183,
'../internals/object-create': 193,
'../internals/set-to-string-tag': 231
}
],
126: [
function (e, t, r) {
var n = e('../internals/descriptors'),
s = e('../internals/object-define-property'),
i = e('../internals/create-property-descriptor');
t.exports = n
? function (e, t, r) {
return s.f(e, t, i(1, r));
}
: function (e, t, r) {
return (e[t] = r), e;
};
},
{
'../internals/create-property-descriptor': 127,
'../internals/descriptors': 131,
'../internals/object-define-property': 195
}
],
127: [
function (e, t, r) {
t.exports = function (e, t) {
return { enumerable: !(1 & e), configurable: !(2 & e), writable: !(4 & e), value: t };
};
},
{}
],
128: [
function (e, t, r) {
'use strict';
var n = e('../internals/to-property-key'),
s = e('../internals/object-define-property'),
i = e('../internals/create-property-descriptor');
t.exports = function (e, t, r) {
t = n(t);
t in e ? s.f(e, t, i(0, r)) : (e[t] = r);
};
},
{
'../internals/create-property-descriptor': 127,
'../internals/object-define-property': 195,
'../internals/to-property-key': 251
}
],
129: [
function (e, t, r) {
'use strict';
function m() {
return this;
}
var y = e('../internals/export'),
b = e('../internals/function-call'),
g = e('../internals/is-pure'),
n = e('../internals/function-name'),
v = e('../internals/is-callable'),
j = e('../internals/create-iterator-constructor'),
w = e('../internals/object-get-prototype-of'),
x = e('../internals/object-set-prototype-of'),
T = e('../internals/set-to-string-tag'),
k = e('../internals/create-non-enumerable-property'),
E = e('../internals/redefine'),
s = e('../internals/well-known-symbol'),
_ = e('../internals/iterators'),
e = e('../internals/iterators-core'),
S = n.PROPER,
O = n.CONFIGURABLE,
A = e.IteratorPrototype,
D = e.BUGGY_SAFARI_ITERATORS,
I = s('iterator'),
C = 'values';
t.exports = function (e, t, r, n, s, i, o) {
j(r, t, n);
function a(e) {
if (e === s && d) return d;
if (!D && e in p) return p[e];
switch (e) {
case 'keys':
case C:
case 'entries':
return function () {
return new r(this, e);
};
}
return function () {
return new r(this);
};
}
var c,
l,
n = t + ' Iterator',
u = !1,
p = e.prototype,
f = p[I] || p['@@iterator'] || (s && p[s]),
d = (!D && f) || a(s),
h = ('Array' == t && p.entries) || f;
if (
(h &&
(h = w(h.call(new e()))) !== Object.prototype &&
h.next &&
(g || w(h) === A || (x ? x(h, A) : v(h[I]) || E(h, I, m)), T(h, n, !0, !0), g && (_[n] = m)),
S &&
s == C &&
f &&
f.name !== C &&
(!g && O
? k(p, 'name', C)
: ((u = !0),
(d = function () {
return b(f, this);
}))),
s)
)
if (((c = { values: a(C), keys: i ? d : a('keys'), entries: a('entries') }), o))
for (l in c) (!D && !u && l in p) || E(p, l, c[l]);
else y({ target: t, proto: !0, forced: D || u }, c);
return (g && !o) || p[I] === d || E(p, I, d, { name: s }), (_[t] = d), c;
};
},
{
'../internals/create-iterator-constructor': 125,
'../internals/create-non-enumerable-property': 126,
'../internals/export': 146,
'../internals/function-call': 152,
'../internals/function-name': 153,
'../internals/is-callable': 173,
'../internals/is-pure': 178,
'../internals/iterators': 184,
'../internals/iterators-core': 183,
'../internals/object-get-prototype-of': 200,
'../internals/object-set-prototype-of': 205,
'../internals/redefine': 219,
'../internals/set-to-string-tag': 231,
'../internals/well-known-symbol': 265
}
],
130: [
function (e, t, r) {
var n = e('../internals/path'),
s = e('../internals/has-own-property'),
i = e('../internals/well-known-symbol-wrapped'),
o = e('../internals/object-define-property').f;
t.exports = function (e) {
var t = n.Symbol || (n.Symbol = {});
s(t, e) || o(t, e, { value: i.f(e) });
};
},
{
'../internals/has-own-property': 161,
'../internals/object-define-property': 195,
'../internals/path': 210,
'../internals/well-known-symbol-wrapped': 264
}
],
131: [
function (e, t, r) {
e = e('../internals/fails');
t.exports = !e(function () {
return (
7 !=
Object.defineProperty({}, 1, {
get: function () {
return 7;
}
})[1]
);
});
},
{ '../internals/fails': 147 }
],
132: [
function (e, t, r) {
var n = e('../internals/global'),
e = e('../internals/is-object'),
s = n.document,
i = e(s) && e(s.createElement);
t.exports = function (e) {
return i ? s.createElement(e) : {};
};
},
{ '../internals/global': 160, '../internals/is-object': 177 }
],
133: [
function (e, t, r) {
t.exports = {
CSSRuleList: 0,
CSSStyleDeclaration: 0,
CSSValueList: 0,
ClientRectList: 0,
DOMRectList: 0,
DOMStringList: 0,
DOMTokenList: 1,
DataTransferItemList: 0,
FileList: 0,
HTMLAllCollection: 0,
HTMLCollection: 0,
HTMLFormElement: 0,
HTMLSelectElement: 0,
MediaList: 0,
MimeTypeArray: 0,
NamedNodeMap: 0,
NodeList: 1,
PaintRequestList: 0,
Plugin: 0,
PluginArray: 0,
SVGLengthList: 0,
SVGNumberList: 0,
SVGPathSegList: 0,
SVGPointList: 0,
SVGStringList: 0,
SVGTransformList: 0,
SourceBufferList: 0,
StyleSheetList: 0,
TextTrackCueList: 0,
TextTrackList: 0,
TouchList: 0
};
},
{}
],
134: [
function (e, t, r) {
(e = e('../internals/document-create-element')('span').classList),
(e = e && e.constructor && e.constructor.prototype);
t.exports = e === Object.prototype ? void 0 : e;
},
{ '../internals/document-create-element': 132 }
],
135: [
function (e, t, r) {
e = e('../internals/engine-user-agent').match(/firefox\/(\d+)/i);
t.exports = !!e && +e[1];
},
{ '../internals/engine-user-agent': 142 }
],
136: [
function (e, t, r) {
t.exports = 'object' == typeof window && 'object' != typeof Deno;
},
{}
],
137: [
function (e, t, r) {
e = e('../internals/engine-user-agent');
t.exports = /MSIE|Trident/.test(e);
},
{ '../internals/engine-user-agent': 142 }
],
138: [
function (e, t, r) {
var n = e('../internals/engine-user-agent'),
e = e('../internals/global');
t.exports = /ipad|iphone|ipod/i.test(n) && void 0 !== e.Pebble;
},
{ '../internals/engine-user-agent': 142, '../internals/global': 160 }
],
139: [
function (e, t, r) {
e = e('../internals/engine-user-agent');
t.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(e);
},
{ '../internals/engine-user-agent': 142 }
],
140: [
function (e, t, r) {
var n = e('../internals/classof-raw'),
e = e('../internals/global');
t.exports = 'process' == n(e.process);
},
{ '../internals/classof-raw': 120, '../internals/global': 160 }
],
141: [
function (e, t, r) {
e = e('../internals/engine-user-agent');
t.exports = /web0s(?!.*chrome)/i.test(e);
},
{ '../internals/engine-user-agent': 142 }
],
142: [
function (e, t, r) {
e = e('../internals/get-built-in');
t.exports = e('navigator', 'userAgent') || '';
},
{ '../internals/get-built-in': 155 }
],
143: [
function (e, t, r) {
var n,
s,
i = e('../internals/global'),
e = e('../internals/engine-user-agent'),
o = i.process,
i = i.Deno,
o = (o && o.versions) || (i && i.version),
i = o && o.v8;
!(s = i ? (0 < (n = i.split('.'))[0] && n[0] < 4 ? 1 : +(n[0] + n[1])) : s) &&
e &&
(!(n = e.match(/Edge\/(\d+)/)) || 74 <= n[1]) &&
(n = e.match(/Chrome\/(\d+)/)) &&
(s = +n[1]),
(t.exports = s);
},
{ '../internals/engine-user-agent': 142, '../internals/global': 160 }
],
144: [
function (e, t, r) {
e = e('../internals/engine-user-agent').match(/AppleWebKit\/(\d+)\./);
t.exports = !!e && +e[1];
},
{ '../internals/engine-user-agent': 142 }
],
145: [
function (e, t, r) {
t.exports = [
'constructor',
'hasOwnProperty',
'isPrototypeOf',
'propertyIsEnumerable',
'toLocaleString',
'toString',
'valueOf'
];
},
{}
],
146: [
function (e, t, r) {
var l = e('../internals/global'),
u = e('../internals/object-get-own-property-descriptor').f,
p = e('../internals/create-non-enumerable-property'),
f = e('../internals/redefine'),
d = e('../internals/set-global'),
h = e('../internals/copy-constructor-properties'),
m = e('../internals/is-forced');
t.exports = function (e, t) {
var r,
n,
s,
i = e.target,
o = e.global,
a = e.stat,
c = o ? l : a ? l[i] || d(i, {}) : (l[i] || {}).prototype;
if (c)
for (r in t) {
if (
((n = t[r]),
(s = e.noTargetGet ? (s = u(c, r)) && s.value : c[r]),
!m(o ? r : i + (a ? '.' : '#') + r, e.forced) && void 0 !== s)
) {
if (typeof n == typeof s) continue;
h(n, s);
}
(e.sham || (s && s.sham)) && p(n, 'sham', !0), f(c, r, n, e);
}
};
},
{
'../internals/copy-constructor-properties': 122,
'../internals/create-non-enumerable-property': 126,
'../internals/global': 160,
'../internals/is-forced': 175,
'../internals/object-get-own-property-descriptor': 196,
'../internals/redefine': 219,
'../internals/set-global': 229
}
],
147: [
function (e, t, r) {
t.exports = function (e) {
try {
return !!e();
} catch (e) {
return !0;
}
};
},
{}
],
148: [
function (e, t, r) {
'use strict';
e('../modules/es.regexp.exec');
var c = e('../internals/function-uncurry-this'),
l = e('../internals/redefine'),
u = e('../internals/regexp-exec'),
p = e('../internals/fails'),
f = e('../internals/well-known-symbol'),
d = e('../internals/create-non-enumerable-property'),
h = f('species'),
m = RegExp.prototype;
t.exports = function (r, e, t, n) {
var o,
s = f(r),
a = !p(function () {
var e = {};
return (
(e[s] = function () {
return 7;
}),
7 != ''[r](e)
);
}),
i =
a &&
!p(function () {
var e = !1,
t = /a/;
return (
'split' === r &&
(((t = { constructor: {} }).constructor[h] = function () {
return t;
}),
(t.flags = ''),
(t[s] = /./[s])),
(t.exec = function () {
return (e = !0), null;
}),
t[s](''),
!e
);
});
(a && i && !t) ||
((o = c(/./[s])),
(i = e(s, ''[r], function (e, t, r, n, s) {
var e = c(e),
i = t.exec;
return i === u || i === m.exec
? a && !s
? { done: !0, value: o(t, r, n) }
: { done: !0, value: e(r, t, n) }
: { done: !1 };
})),
l(String.prototype, r, i[0]),
l(m, s, i[1])),
n && d(m[s], 'sham', !0);
};
},
{
'../internals/create-non-enumerable-property': 126,
'../internals/fails': 147,
'../internals/function-uncurry-this': 154,
'../internals/redefine': 219,
'../internals/regexp-exec': 221,
'../internals/well-known-symbol': 265,
'../modules/es.regexp.exec': 299
}
],
149: [
function (e, t, r) {
var e = e('../internals/function-bind-native'),
n = Function.prototype,
s = n.apply,
i = n.call;
t.exports =
('object' == typeof Reflect && Reflect.apply) ||
(e
? i.bind(s)
: function () {
return i.apply(s, arguments);
});
},
{ '../internals/function-bind-native': 151 }
],
150: [
function (e, t, r) {
var n = e('../internals/function-uncurry-this'),
s = e('../internals/a-callable'),
i = e('../internals/function-bind-native'),
o = n(n.bind);
t.exports = function (e, t) {
return (
s(e),
void 0 === t
? e
: i
? o(e, t)
: function () {
return e.apply(t, arguments);
}
);
};
},
{
'../internals/a-callable': 92,
'../internals/function-bind-native': 151,
'../internals/function-uncurry-this': 154
}
],
151: [
function (e, t, r) {
e = e('../internals/fails');
t.exports = !e(function () {
var e = function () {}.bind();
return 'function' != typeof e || e.hasOwnProperty('prototype');
});
},
{ '../internals/fails': 147 }
],
152: [
function (e, t, r) {
var e = e('../internals/function-bind-native'),
n = Function.prototype.call;
t.exports = e
? n.bind(n)
: function () {
return n.apply(n, arguments);
};
},
{ '../internals/function-bind-native': 151 }
],
153: [
function (e, t, r) {
var n = e('../internals/descriptors'),
e = e('../internals/has-own-property'),
s = Function.prototype,
i = n && Object.getOwnPropertyDescriptor,
e = e(s, 'name'),
o = e && 'something' === function () {}.name,
n = e && (!n || i(s, 'name').configurable);
t.exports = { EXISTS: e, PROPER: o, CONFIGURABLE: n };
},
{ '../internals/descriptors': 131, '../internals/has-own-property': 161 }
],
154: [
function (e, t, r) {
var e = e('../internals/function-bind-native'),
n = Function.prototype,
s = n.bind,
i = n.call,
o = e && s.bind(i, i);
t.exports = e
? function (e) {
return e && o(e);
}
: function (e) {
return (
e &&
function () {
return i.apply(e, arguments);
}
);
};
},
{ '../internals/function-bind-native': 151 }
],
155: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/is-callable');
t.exports = function (e, t) {
return arguments.length < 2 ? ((r = n[e]), s(r) ? r : void 0) : n[e] && n[e][t];
var r;
};
},
{ '../internals/global': 160, '../internals/is-callable': 173 }
],
156: [
function (e, t, r) {
var n = e('../internals/classof'),
s = e('../internals/get-method'),
i = e('../internals/iterators'),
o = e('../internals/well-known-symbol')('iterator');
t.exports = function (e) {
if (null != e) return s(e, o) || s(e, '@@iterator') || i[n(e)];
};
},
{
'../internals/classof': 121,
'../internals/get-method': 158,
'../internals/iterators': 184,
'../internals/well-known-symbol': 265
}
],
157: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/function-call'),
i = e('../internals/a-callable'),
o = e('../internals/an-object'),
a = e('../internals/try-to-string'),
c = e('../internals/get-iterator-method'),
l = n.TypeError;
t.exports = function (e, t) {
var r = arguments.length < 2 ? c(e) : t;
if (i(r)) return o(s(r, e));
throw l(a(e) + ' is not iterable');
};
},
{
'../internals/a-callable': 92,
'../internals/an-object': 98,
'../internals/function-call': 152,
'../internals/get-iterator-method': 156,
'../internals/global': 160,
'../internals/try-to-string': 254
}
],
158: [
function (e, t, r) {
var n = e('../internals/a-callable');
t.exports = function (e, t) {
e = e[t];
return null == e ? void 0 : n(e);
};
},
{ '../internals/a-callable': 92 }
],
159: [
function (e, t, r) {
var n = e('../internals/function-uncurry-this'),
s = e('../internals/to-object'),
f = Math.floor,
d = n(''.charAt),
h = n(''.replace),
m = n(''.slice),
y = /\$([$&'`]|\d{1,2}|<[^>]*>)/g,
b = /\$([$&'`]|\d{1,2})/g;
t.exports = function (i, o, a, c, l, e) {
var u = a + i.length,
p = c.length,
t = b;
return (
void 0 !== l && ((l = s(l)), (t = y)),
h(e, t, function (e, t) {
var r;
switch (d(t, 0)) {
case '$':
return '$';
case '&':
return i;
case '`':
return m(o, 0, a);
case "'":
return m(o, u);
case '<':
r = l[m(t, 1, -1)];
break;
default:
var n,
s = +t;
if (0 == s) return e;
if (p < s)
return 0 !== (n = f(s / 10)) && n <= p
? void 0 === c[n - 1]
? d(t, 1)
: c[n - 1] + d(t, 1)
: e;
r = c[s - 1];
}
return void 0 === r ? '' : r;
})
);
};
},
{ '../internals/function-uncurry-this': 154, '../internals/to-object': 247 }
],
160: [
function (e, r, t) {
!function (t) {
!function () {
function e(e) {
return e && e.Math == Math && e;
}
r.exports =
e('object' == typeof globalThis && globalThis) ||
e('object' == typeof window && window) ||
e('object' == typeof self && self) ||
e('object' == typeof t && t) ||
(function () {
return this;
})() ||
Function('return this')();
}.call(this);
}.call(
this,
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {}
);
},
{}
],
161: [
function (e, t, r) {
var n = e('../internals/function-uncurry-this'),
s = e('../internals/to-object'),
i = n({}.hasOwnProperty);
t.exports =
Object.hasOwn ||
function (e, t) {
return i(s(e), t);
};
},
{ '../internals/function-uncurry-this': 154, '../internals/to-object': 247 }
],
162: [
function (e, t, r) {
t.exports = {};
},
{}
],
163: [
function (e, t, r) {
var n = e('../internals/global');
t.exports = function (e, t) {
var r = n.console;
r && r.error && (1 == arguments.length ? r.error(e) : r.error(e, t));
};
},
{ '../internals/global': 160 }
],
164: [
function (e, t, r) {
e = e('../internals/get-built-in');
t.exports = e('document', 'documentElement');
},
{ '../internals/get-built-in': 155 }
],
165: [
function (e, t, r) {
var n = e('../internals/descriptors'),
s = e('../internals/fails'),
i = e('../internals/document-create-element');
t.exports =
!n &&
!s(function () {
return (
7 !=
Object.defineProperty(i('div'), 'a', {
get: function () {
return 7;
}
}).a
);
});
},
{ '../internals/descriptors': 131, '../internals/document-create-element': 132, '../internals/fails': 147 }
],
166: [
function (e, t, r) {
var f = e('../internals/global').Array,
d = Math.abs,
h = Math.pow,
m = Math.floor,
y = Math.log,
b = Math.LN2;
t.exports = {
pack: function (e, t, r) {
var n,
s,
i,
o = f(r),
a = 8 * r - t - 1,
r = (1 << a) - 1,
c = r >> 1,
l = 23 === t ? h(2, -24) - h(2, -77) : 0,
u = e < 0 || (0 === e && 1 / e < 0) ? 1 : 0,
p = 0;
for (
(e = d(e)) != e || e === 1 / 0
? ((s = e != e ? 1 : 0), (n = r))
: ((n = m(y(e) / b)),
e * (i = h(2, -n)) < 1 && (n--, (i *= 2)),
2 <= (e += 1 <= n + c ? l / i : l * h(2, 1 - c)) * i && (n++, (i /= 2)),
r <= n + c
? ((s = 0), (n = r))
: 1 <= n + c
? ((s = (e * i - 1) * h(2, t)), (n += c))
: ((s = e * h(2, c - 1) * h(2, t)), (n = 0)));
8 <= t;
)
(o[p++] = 255 & s), (s /= 256), (t -= 8);
for (n = (n << t) | s, a += t; 0 < a; ) (o[p++] = 255 & n), (n /= 256), (a -= 8);
return (o[--p] |= 128 * u), o;
},
unpack: function (e, t) {
var r,
n = e.length,
s = 8 * n - t - 1,
i = (1 << s) - 1,
o = i >> 1,
a = s - 7,
c = n - 1,
s = e[c--],
l = 127 & s;
for (s >>= 7; 0 < a; ) (l = 256 * l + e[c--]), (a -= 8);
for (r = l & ((1 << -a) - 1), l >>= -a, a += t; 0 < a; ) (r = 256 * r + e[c--]), (a -= 8);
if (0 === l) l = 1 - o;
else {
if (l === i) return r ? NaN : s ? -1 / 0 : 1 / 0;
(r += h(2, t)), (l -= o);
}
return (s ? -1 : 1) * r * h(2, l - t);
}
};
},
{ '../internals/global': 160 }
],
167: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/function-uncurry-this'),
i = e('../internals/fails'),
o = e('../internals/classof-raw'),
a = n.Object,
c = s(''.split);
t.exports = i(function () {
return !a('z').propertyIsEnumerable(0);
})
? function (e) {
return 'String' == o(e) ? c(e, '') : a(e);
}
: a;
},
{
'../internals/classof-raw': 120,
'../internals/fails': 147,
'../internals/function-uncurry-this': 154,
'../internals/global': 160
}
],
168: [
function (e, t, r) {
var n = e('../internals/is-callable'),
s = e('../internals/is-object'),
i = e('../internals/object-set-prototype-of');
t.exports = function (e, t, r) {
return i && n((t = t.constructor)) && t !== r && s((t = t.prototype)) && t !== r.prototype && i(e, t), e;
};
},
{
'../internals/is-callable': 173,
'../internals/is-object': 177,
'../internals/object-set-prototype-of': 205
}
],
169: [
function (e, t, r) {
var n = e('../internals/function-uncurry-this'),
s = e('../internals/is-callable'),
e = e('../internals/shared-store'),
i = n(Function.toString);
s(e.inspectSource) ||
(e.inspectSource = function (e) {
return i(e);
}),
(t.exports = e.inspectSource);
},
{
'../internals/function-uncurry-this': 154,
'../internals/is-callable': 173,
'../internals/shared-store': 233
}
],
170: [
function (e, t, r) {
var n,
s,
i,
o,
a,
c,
l,
u,
p = e('../internals/native-weak-map'),
f = e('../internals/global'),
d = e('../internals/function-uncurry-this'),
h = e('../internals/is-object'),
m = e('../internals/create-non-enumerable-property'),
y = e('../internals/has-own-property'),
b = e('../internals/shared-store'),
g = e('../internals/shared-key'),
e = e('../internals/hidden-keys'),
v = 'Object already initialized',
j = f.TypeError,
f = f.WeakMap;
(l =
p || b.state
? ((n = b.state || (b.state = new f())),
(s = d(n.get)),
(i = d(n.has)),
(o = d(n.set)),
(a = function (e, t) {
if (i(n, e)) throw new j(v);
return (t.facade = e), o(n, e, t), t;
}),
(c = function (e) {
return s(n, e) || {};
}),
function (e) {
return i(n, e);
})
: ((e[(u = g('state'))] = !0),
(a = function (e, t) {
if (y(e, u)) throw new j(v);
return (t.facade = e), m(e, u, t), t;
}),
(c = function (e) {
return y(e, u) ? e[u] : {};
}),
function (e) {
return y(e, u);
})),
(t.exports = {
set: a,
get: c,
has: l,
enforce: function (e) {
return l(e) ? c(e) : a(e, {});
},
getterFor: function (t) {
return function (e) {
if (h(e) && (e = c(e)).type === t) return e;
throw j('Incompatible receiver, ' + t + ' required');
};
}
});
},
{
'../internals/create-non-enumerable-property': 126,
'../internals/function-uncurry-this': 154,
'../internals/global': 160,
'../internals/has-own-property': 161,
'../internals/hidden-keys': 162,
'../internals/is-object': 177,
'../internals/native-weak-map': 189,
'../internals/shared-key': 232,
'../internals/shared-store': 233
}
],
171: [
function (e, t, r) {
var n = e('../internals/well-known-symbol'),
s = e('../internals/iterators'),
i = n('iterator'),
o = Array.prototype;
t.exports = function (e) {
return void 0 !== e && (s.Array === e || o[i] === e);
};
},
{ '../internals/iterators': 184, '../internals/well-known-symbol': 265 }
],
172: [
function (e, t, r) {
var n = e('../internals/classof-raw');
t.exports =
Array.isArray ||
function (e) {
return 'Array' == n(e);
};
},
{ '../internals/classof-raw': 120 }
],
173: [
function (e, t, r) {
t.exports = function (e) {
return 'function' == typeof e;
};
},
{}
],
174: [
function (e, t, r) {
function n() {}
function s(e) {
if (!c(e)) return !1;
try {
return d(n, f, e), !0;
} catch (e) {
return !1;
}
}
function i(e) {
if (!c(e)) return !1;
switch (l(e)) {
case 'AsyncFunction':
case 'GeneratorFunction':
case 'AsyncGeneratorFunction':
return !1;
}
try {
return y || !!m(h, p(e));
} catch (e) {
return !0;
}
}
var o = e('../internals/function-uncurry-this'),
a = e('../internals/fails'),
c = e('../internals/is-callable'),
l = e('../internals/classof'),
u = e('../internals/get-built-in'),
p = e('../internals/inspect-source'),
f = [],
d = u('Reflect', 'construct'),
h = /^\s*(?:class|function)\b/,
m = o(h.exec),
y = !h.exec(n);
(i.sham = !0),
(t.exports =
!d ||
a(function () {
var e;
return (
s(s.call) ||
!s(Object) ||
!s(function () {
e = !0;
}) ||
e
);
})
? i
: s);
},
{
'../internals/classof': 121,
'../internals/fails': 147,
'../internals/function-uncurry-this': 154,
'../internals/get-built-in': 155,
'../internals/inspect-source': 169,
'../internals/is-callable': 173
}
],
175: [
function (e, t, r) {
function n(e, t) {
return (e = c[a(e)]) == u || (e != l && (i(t) ? s(t) : !!t));
}
var s = e('../internals/fails'),
i = e('../internals/is-callable'),
o = /#|\.prototype\./,
a = (n.normalize = function (e) {
return String(e).replace(o, '.').toLowerCase();
}),
c = (n.data = {}),
l = (n.NATIVE = 'N'),
u = (n.POLYFILL = 'P');
t.exports = n;
},
{ '../internals/fails': 147, '../internals/is-callable': 173 }
],
176: [
function (e, t, r) {
var n = e('../internals/is-object'),
s = Math.floor;
t.exports =
Number.isInteger ||
function (e) {
return !n(e) && isFinite(e) && s(e) === e;
};
},
{ '../internals/is-object': 177 }
],
177: [
function (e, t, r) {
var n = e('../internals/is-callable');
t.exports = function (e) {
return 'object' == typeof e ? null !== e : n(e);
};
},
{ '../internals/is-callable': 173 }
],
178: [
function (e, t, r) {
t.exports = !1;
},
{}
],
179: [
function (e, t, r) {
var n = e('../internals/is-object'),
s = e('../internals/classof-raw'),
i = e('../internals/well-known-symbol')('match');
t.exports = function (e) {
var t;
return n(e) && (void 0 !== (t = e[i]) ? !!t : 'RegExp' == s(e));
};
},
{ '../internals/classof-raw': 120, '../internals/is-object': 177, '../internals/well-known-symbol': 265 }
],
180: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/get-built-in'),
i = e('../internals/is-callable'),
o = e('../internals/object-is-prototype-of'),
e = e('../internals/use-symbol-as-uid'),
a = n.Object;
t.exports = e
? function (e) {
return 'symbol' == typeof e;
}
: function (e) {
var t = s('Symbol');
return i(t) && o(t.prototype, a(e));
};
},
{
'../internals/get-built-in': 155,
'../internals/global': 160,
'../internals/is-callable': 173,
'../internals/object-is-prototype-of': 201,
'../internals/use-symbol-as-uid': 261
}
],
181: [
function (e, t, r) {
function y(e, t) {
(this.stopped = e), (this.result = t);
}
var n = e('../internals/global'),
b = e('../internals/function-bind-context'),
g = e('../internals/function-call'),
v = e('../internals/an-object'),
j = e('../internals/try-to-string'),
w = e('../internals/is-array-iterator-method'),
x = e('../internals/length-of-array-like'),
T = e('../internals/object-is-prototype-of'),
k = e('../internals/get-iterator'),
E = e('../internals/get-iterator-method'),
_ = e('../internals/iterator-close'),
S = n.TypeError,
O = y.prototype;
t.exports = function (e, t, r) {
function n(e) {
return i && _(i, 'normal', e), new y(!0, e);
}
function s(e) {
return f ? (v(e), h ? m(e[0], e[1], n) : m(e[0], e[1])) : h ? m(e, n) : m(e);
}
var i,
o,
a,
c,
l,
u,
p = r && r.that,
f = !(!r || !r.AS_ENTRIES),
d = !(!r || !r.IS_ITERATOR),
h = !(!r || !r.INTERRUPTED),
m = b(t, p);
if (d) i = e;
else {
if (!(r = E(e))) throw S(j(e) + ' is not iterable');
if (w(r)) {
for (o = 0, a = x(e); o < a; o++) if ((c = s(e[o])) && T(O, c)) return c;
return new y(!1);
}
i = k(e, r);
}
for (l = i.next; !(u = g(l, i)).done; ) {
try {
c = s(u.value);
} catch (e) {
_(i, 'throw', e);
}
if ('object' == typeof c && c && T(O, c)) return c;
}
return new y(!1);
};
},
{
'../internals/an-object': 98,
'../internals/function-bind-context': 150,
'../internals/function-call': 152,
'../internals/get-iterator': 157,
'../internals/get-iterator-method': 156,
'../internals/global': 160,
'../internals/is-array-iterator-method': 171,
'../internals/iterator-close': 182,
'../internals/length-of-array-like': 185,
'../internals/object-is-prototype-of': 201,
'../internals/try-to-string': 254
}
],
182: [
function (e, t, r) {
var i = e('../internals/function-call'),
o = e('../internals/an-object'),
a = e('../internals/get-method');
t.exports = function (e, t, r) {
var n, s;
o(e);
try {
if (!(n = a(e, 'return'))) {
if ('throw' === t) throw r;
return r;
}
n = i(n, e);
} catch (e) {
(s = !0), (n = e);
}
if ('throw' === t) throw r;
if (s) throw n;
return o(n), r;
};
},
{ '../internals/an-object': 98, '../internals/function-call': 152, '../internals/get-method': 158 }
],
183: [
function (e, t, r) {
'use strict';
var n,
s,
i = e('../internals/fails'),
o = e('../internals/is-callable'),
a = e('../internals/object-create'),
c = e('../internals/object-get-prototype-of'),
l = e('../internals/redefine'),
u = e('../internals/well-known-symbol'),
e = e('../internals/is-pure'),
p = u('iterator'),
u = !1;
[].keys && ('next' in (s = [].keys()) ? (c = c(c(s))) !== Object.prototype && (n = c) : (u = !0)),
null == n ||
i(function () {
var e = {};
return n[p].call(e) !== e;
})
? (n = {})
: e && (n = a(n)),
o(n[p]) ||
l(n, p, function () {
return this;
}),
(t.exports = { IteratorPrototype: n, BUGGY_SAFARI_ITERATORS: u });
},
{
'../internals/fails': 147,
'../internals/is-callable': 173,
'../internals/is-pure': 178,
'../internals/object-create': 193,
'../internals/object-get-prototype-of': 200,
'../internals/redefine': 219,
'../internals/well-known-symbol': 265
}
],
184: [
function (e, t, r) {
arguments[4][162][0].apply(r, arguments);
},
{ dup: 162 }
],
185: [
function (e, t, r) {
var n = e('../internals/to-length');
t.exports = function (e) {
return n(e.length);
};
},
{ '../internals/to-length': 246 }
],
186: [
function (e, t, r) {
var n,
s,
i,
o,
a,
c,
l,
u = e('../internals/global'),
p = e('../internals/function-bind-context'),
f = e('../internals/object-get-own-property-descriptor').f,
d = e('../internals/task').set,
h = e('../internals/engine-is-ios'),
m = e('../internals/engine-is-ios-pebble'),
y = e('../internals/engine-is-webos-webkit'),
b = e('../internals/engine-is-node'),
e = u.MutationObserver || u.WebKitMutationObserver,
g = u.document,
v = u.process,
j = u.Promise,
f = f(u, 'queueMicrotask'),
f = f && f.value;
f ||
((n = function () {
var e, t;
for (b && (e = v.domain) && e.exit(); s; ) {
(t = s.fn), (s = s.next);
try {
t();
} catch (e) {
throw (s ? o() : (i = void 0), e);
}
}
(i = void 0), e && e.enter();
}),
(o =
h || b || y || !e || !g
? !m && j && j.resolve
? (((h = j.resolve(void 0)).constructor = j),
(l = p(h.then, h)),
function () {
l(n);
})
: b
? function () {
v.nextTick(n);
}
: ((d = p(d, u)),
function () {
d(n);
})
: ((a = !0),
(c = g.createTextNode('')),
new e(n).observe(c, { characterData: !0 }),
function () {
c.data = a = !a;
}))),
(t.exports =
f ||
function (e) {
e = { fn: e, next: void 0 };
i && (i.next = e), s || ((s = e), o()), (i = e);
});
},
{
'../internals/engine-is-ios': 139,
'../internals/engine-is-ios-pebble': 138,
'../internals/engine-is-node': 140,
'../internals/engine-is-webos-webkit': 141,
'../internals/function-bind-context': 150,
'../internals/global': 160,
'../internals/object-get-own-property-descriptor': 196,
'../internals/task': 240
}
],
187: [
function (e, t, r) {
e = e('../internals/native-symbol');
t.exports = e && !!Symbol.for && !!Symbol.keyFor;
},
{ '../internals/native-symbol': 188 }
],
188: [
function (e, t, r) {
var n = e('../internals/engine-v8-version'),
e = e('../internals/fails');
t.exports =
!!Object.getOwnPropertySymbols &&
!e(function () {
var e = Symbol();
return !String(e) || !(Object(e) instanceof Symbol) || (!Symbol.sham && n && n < 41);
});
},
{ '../internals/engine-v8-version': 143, '../internals/fails': 147 }
],
189: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/is-callable'),
e = e('../internals/inspect-source'),
n = n.WeakMap;
t.exports = s(n) && /native code/.test(e(n));
},
{ '../internals/global': 160, '../internals/inspect-source': 169, '../internals/is-callable': 173 }
],
190: [
function (e, t, r) {
'use strict';
function n(e) {
var r, n;
(this.promise = new e(function (e, t) {
if (void 0 !== r || void 0 !== n) throw TypeError('Bad Promise constructor');
(r = e), (n = t);
})),
(this.resolve = s(r)),
(this.reject = s(n));
}
var s = e('../internals/a-callable');
t.exports.f = function (e) {
return new n(e);
};
},
{ '../internals/a-callable': 92 }
],
191: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/is-regexp'),
i = n.TypeError;
t.exports = function (e) {
if (s(e)) throw i("The method doesn't accept regular expressions");
return e;
};
},
{ '../internals/global': 160, '../internals/is-regexp': 179 }
],
192: [
function (e, t, r) {
'use strict';
var f = e('../internals/descriptors'),
n = e('../internals/function-uncurry-this'),
d = e('../internals/function-call'),
s = e('../internals/fails'),
h = e('../internals/object-keys'),
m = e('../internals/object-get-own-property-symbols'),
y = e('../internals/object-property-is-enumerable'),
b = e('../internals/to-object'),
g = e('../internals/indexed-object'),
i = Object.assign,
o = Object.defineProperty,
v = n([].concat);
t.exports =
!i ||
s(function () {
if (
f &&
1 !==
i(
{ b: 1 },
i(
o({}, 'a', {
enumerable: !0,
get: function () {
o(this, 'b', { value: 3, enumerable: !1 });
}
}),
{ b: 2 }
)
).b
)
return !0;
var e = {},
t = {},
r = Symbol(),
n = 'abcdefghijklmnopqrst';
return (
(e[r] = 7),
n.split('').forEach(function (e) {
t[e] = e;
}),
7 != i({}, e)[r] || h(i({}, t)).join('') != n
);
})
? function (e, t) {
for (var r = b(e), n = arguments.length, s = 1, i = m.f, o = y.f; s < n; )
for (var a, c = g(arguments[s++]), l = i ? v(h(c), i(c)) : h(c), u = l.length, p = 0; p < u; )
(a = l[p++]), (f && !d(o, c, a)) || (r[a] = c[a]);
return r;
}
: i;
},
{
'../internals/descriptors': 131,
'../internals/fails': 147,
'../internals/function-call': 152,
'../internals/function-uncurry-this': 154,
'../internals/indexed-object': 167,
'../internals/object-get-own-property-symbols': 199,
'../internals/object-keys': 203,
'../internals/object-property-is-enumerable': 204,
'../internals/to-object': 247
}
],
193: [
function (e, t, r) {
function n() {}
function s(e) {
e.write(m('')), e.close();
var t = e.parentWindow.Object;
return (e = null), t;
}
var i,
o = e('../internals/an-object'),
a = e('../internals/object-define-properties'),
c = e('../internals/enum-bug-keys'),
l = e('../internals/hidden-keys'),
u = e('../internals/html'),
p = e('../internals/document-create-element'),
e = e('../internals/shared-key'),
f = 'prototype',
d = 'script',
h = e('IE_PROTO'),
m = function (e) {
return '<' + d + '>' + e + '' + d + '>';
},
y = function () {
try {
i = new ActiveXObject('htmlfile');
} catch (e) {}
y =
'undefined' == typeof document || (document.domain && i)
? s(i)
: ((e = p('iframe')),
(t = 'java' + d + ':'),
(e.style.display = 'none'),
u.appendChild(e),
(e.src = String(t)),
(t = e.contentWindow.document).open(),
t.write(m('document.F=Object')),
t.close(),
t.F);
for (var e, t, r = c.length; r--; ) delete y[f][c[r]];
return y();
};
(l[h] = !0),
(t.exports =
Object.create ||
function (e, t) {
var r;
return (
null !== e ? ((n[f] = o(e)), (r = new n()), (n[f] = null), (r[h] = e)) : (r = y()),
void 0 === t ? r : a.f(r, t)
);
});
},
{
'../internals/an-object': 98,
'../internals/document-create-element': 132,
'../internals/enum-bug-keys': 145,
'../internals/hidden-keys': 162,
'../internals/html': 164,
'../internals/object-define-properties': 194,
'../internals/shared-key': 232
}
],
194: [
function (e, t, r) {
var n = e('../internals/descriptors'),
s = e('../internals/v8-prototype-define-bug'),
a = e('../internals/object-define-property'),
c = e('../internals/an-object'),
l = e('../internals/to-indexed-object'),
u = e('../internals/object-keys');
r.f =
n && !s
? Object.defineProperties
: function (e, t) {
c(e);
for (var r, n = l(t), s = u(t), i = s.length, o = 0; o < i; ) a.f(e, (r = s[o++]), n[r]);
return e;
};
},
{
'../internals/an-object': 98,
'../internals/descriptors': 131,
'../internals/object-define-property': 195,
'../internals/object-keys': 203,
'../internals/to-indexed-object': 244,
'../internals/v8-prototype-define-bug': 262
}
],
195: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/descriptors'),
i = e('../internals/ie8-dom-define'),
o = e('../internals/v8-prototype-define-bug'),
a = e('../internals/an-object'),
c = e('../internals/to-property-key'),
l = n.TypeError,
u = Object.defineProperty,
p = Object.getOwnPropertyDescriptor,
f = 'enumerable',
d = 'configurable',
h = 'writable';
r.f = s
? o
? function (e, t, r) {
var n;
return (
a(e),
(t = c(t)),
a(r),
'function' == typeof e &&
'prototype' === t &&
'value' in r &&
h in r &&
!r[h] &&
(n = p(e, t)) &&
n[h] &&
((e[t] = r.value),
(r = { configurable: (d in r ? r : n)[d], enumerable: (f in r ? r : n)[f], writable: !1 })),
u(e, t, r)
);
}
: u
: function (e, t, r) {
if ((a(e), (t = c(t)), a(r), i))
try {
return u(e, t, r);
} catch (e) {}
if ('get' in r || 'set' in r) throw l('Accessors not supported');
return 'value' in r && (e[t] = r.value), e;
};
},
{
'../internals/an-object': 98,
'../internals/descriptors': 131,
'../internals/global': 160,
'../internals/ie8-dom-define': 165,
'../internals/to-property-key': 251,
'../internals/v8-prototype-define-bug': 262
}
],
196: [
function (e, t, r) {
var n = e('../internals/descriptors'),
s = e('../internals/function-call'),
i = e('../internals/object-property-is-enumerable'),
o = e('../internals/create-property-descriptor'),
a = e('../internals/to-indexed-object'),
c = e('../internals/to-property-key'),
l = e('../internals/has-own-property'),
u = e('../internals/ie8-dom-define'),
p = Object.getOwnPropertyDescriptor;
r.f = n
? p
: function (e, t) {
if (((e = a(e)), (t = c(t)), u))
try {
return p(e, t);
} catch (e) {}
if (l(e, t)) return o(!s(i.f, e, t), e[t]);
};
},
{
'../internals/create-property-descriptor': 127,
'../internals/descriptors': 131,
'../internals/function-call': 152,
'../internals/has-own-property': 161,
'../internals/ie8-dom-define': 165,
'../internals/object-property-is-enumerable': 204,
'../internals/to-indexed-object': 244,
'../internals/to-property-key': 251
}
],
197: [
function (e, t, r) {
var n = e('../internals/classof-raw'),
s = e('../internals/to-indexed-object'),
i = e('../internals/object-get-own-property-names').f,
o = e('../internals/array-slice-simple'),
a =
'object' == typeof window && window && Object.getOwnPropertyNames
? Object.getOwnPropertyNames(window)
: [];
t.exports.f = function (e) {
if (!a || 'Window' != n(e)) return i(s(e));
try {
return i(e);
} catch (e) {
return o(a);
}
};
},
{
'../internals/array-slice-simple': 113,
'../internals/classof-raw': 120,
'../internals/object-get-own-property-names': 198,
'../internals/to-indexed-object': 244
}
],
198: [
function (e, t, r) {
var n = e('../internals/object-keys-internal'),
s = e('../internals/enum-bug-keys').concat('length', 'prototype');
r.f =
Object.getOwnPropertyNames ||
function (e) {
return n(e, s);
};
},
{ '../internals/enum-bug-keys': 145, '../internals/object-keys-internal': 202 }
],
199: [
function (e, t, r) {
r.f = Object.getOwnPropertySymbols;
},
{}
],
200: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/has-own-property'),
i = e('../internals/is-callable'),
o = e('../internals/to-object'),
a = e('../internals/shared-key'),
e = e('../internals/correct-prototype-getter'),
c = a('IE_PROTO'),
l = n.Object,
u = l.prototype;
t.exports = e
? l.getPrototypeOf
: function (e) {
e = o(e);
if (s(e, c)) return e[c];
var t = e.constructor;
return i(t) && e instanceof t ? t.prototype : e instanceof l ? u : null;
};
},
{
'../internals/correct-prototype-getter': 124,
'../internals/global': 160,
'../internals/has-own-property': 161,
'../internals/is-callable': 173,
'../internals/shared-key': 232,
'../internals/to-object': 247
}
],
201: [
function (e, t, r) {
e = e('../internals/function-uncurry-this');
t.exports = e({}.isPrototypeOf);
},
{ '../internals/function-uncurry-this': 154 }
],
202: [
function (e, t, r) {
var n = e('../internals/function-uncurry-this'),
o = e('../internals/has-own-property'),
a = e('../internals/to-indexed-object'),
c = e('../internals/array-includes').indexOf,
l = e('../internals/hidden-keys'),
u = n([].push);
t.exports = function (e, t) {
var r,
n = a(e),
s = 0,
i = [];
for (r in n) !o(l, r) && o(n, r) && u(i, r);
for (; t.length > s; ) !o(n, (r = t[s++])) || ~c(i, r) || u(i, r);
return i;
};
},
{
'../internals/array-includes': 107,
'../internals/function-uncurry-this': 154,
'../internals/has-own-property': 161,
'../internals/hidden-keys': 162,
'../internals/to-indexed-object': 244
}
],
203: [
function (e, t, r) {
var n = e('../internals/object-keys-internal'),
s = e('../internals/enum-bug-keys');
t.exports =
Object.keys ||
function (e) {
return n(e, s);
};
},
{ '../internals/enum-bug-keys': 145, '../internals/object-keys-internal': 202 }
],
204: [
function (e, t, r) {
'use strict';
var n = {}.propertyIsEnumerable,
s = Object.getOwnPropertyDescriptor,
i = s && !n.call({ 1: 2 }, 1);
r.f = i
? function (e) {
e = s(this, e);
return !!e && e.enumerable;
}
: n;
},
{}
],
205: [
function (e, t, r) {
var s = e('../internals/function-uncurry-this'),
i = e('../internals/an-object'),
o = e('../internals/a-possible-prototype');
t.exports =
Object.setPrototypeOf ||
('__proto__' in {}
? (function () {
var r,
n = !1,
e = {};
try {
(r = s(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set))(e, []),
(n = e instanceof Array);
} catch (e) {}
return function (e, t) {
return i(e), o(t), n ? r(e, t) : (e.__proto__ = t), e;
};
})()
: void 0);
},
{
'../internals/a-possible-prototype': 94,
'../internals/an-object': 98,
'../internals/function-uncurry-this': 154
}
],
206: [
function (e, t, r) {
function n(a) {
return function (e) {
for (var t, r = u(e), n = l(r), s = n.length, i = 0, o = []; i < s; )
(t = n[i++]), (c && !p(r, t)) || f(o, a ? [t, r[t]] : r[t]);
return o;
};
}
var c = e('../internals/descriptors'),
s = e('../internals/function-uncurry-this'),
l = e('../internals/object-keys'),
u = e('../internals/to-indexed-object'),
p = s(e('../internals/object-property-is-enumerable').f),
f = s([].push);
t.exports = { entries: n(!0), values: n(!1) };
},
{
'../internals/descriptors': 131,
'../internals/function-uncurry-this': 154,
'../internals/object-keys': 203,
'../internals/object-property-is-enumerable': 204,
'../internals/to-indexed-object': 244
}
],
207: [
function (e, t, r) {
'use strict';
var n = e('../internals/to-string-tag-support'),
s = e('../internals/classof');
t.exports = n
? {}.toString
: function () {
return '[object ' + s(this) + ']';
};
},
{ '../internals/classof': 121, '../internals/to-string-tag-support': 252 }
],
208: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/function-call'),
i = e('../internals/is-callable'),
o = e('../internals/is-object'),
a = n.TypeError;
t.exports = function (e, t) {
var r, n;
if ('string' === t && i((r = e.toString)) && !o((n = s(r, e)))) return n;
if (i((r = e.valueOf)) && !o((n = s(r, e)))) return n;
if ('string' !== t && i((r = e.toString)) && !o((n = s(r, e)))) return n;
throw a("Can't convert object to primitive value");
};
},
{
'../internals/function-call': 152,
'../internals/global': 160,
'../internals/is-callable': 173,
'../internals/is-object': 177
}
],
209: [
function (e, t, r) {
var n = e('../internals/get-built-in'),
s = e('../internals/function-uncurry-this'),
i = e('../internals/object-get-own-property-names'),
o = e('../internals/object-get-own-property-symbols'),
a = e('../internals/an-object'),
c = s([].concat);
t.exports =
n('Reflect', 'ownKeys') ||
function (e) {
var t = i.f(a(e)),
r = o.f;
return r ? c(t, r(e)) : t;
};
},
{
'../internals/an-object': 98,
'../internals/function-uncurry-this': 154,
'../internals/get-built-in': 155,
'../internals/object-get-own-property-names': 198,
'../internals/object-get-own-property-symbols': 199
}
],
210: [
function (e, t, r) {
e = e('../internals/global');
t.exports = e;
},
{ '../internals/global': 160 }
],
211: [
function (e, t, r) {
t.exports = function (e) {
try {
return { error: !1, value: e() };
} catch (e) {
return { error: !0, value: e };
}
};
},
{}
],
212: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/promise-native-constructor'),
i = e('../internals/is-callable'),
o = e('../internals/is-forced'),
a = e('../internals/inspect-source'),
c = e('../internals/well-known-symbol'),
l = e('../internals/engine-is-browser'),
u = e('../internals/is-pure'),
p = e('../internals/engine-v8-version'),
f = s && s.prototype,
d = c('species'),
h = !1,
m = i(n.PromiseRejectionEvent),
e = o('Promise', function () {
var e = a(s),
t = e !== String(s);
if (!t && 66 === p) return !0;
if (u && (!f.catch || !f.finally)) return !0;
if (51 <= p && /native code/.test(e)) return !1;
function r(e) {
e(
function () {},
function () {}
);
}
e = new s(function (e) {
e(1);
});
return ((e.constructor = {})[d] = r), !(h = e.then(function () {}) instanceof r) || (!t && l && !m);
});
t.exports = { CONSTRUCTOR: e, REJECTION_EVENT: m, SUBCLASSING: h };
},
{
'../internals/engine-is-browser': 136,
'../internals/engine-v8-version': 143,
'../internals/global': 160,
'../internals/inspect-source': 169,
'../internals/is-callable': 173,
'../internals/is-forced': 175,
'../internals/is-pure': 178,
'../internals/promise-native-constructor': 213,
'../internals/well-known-symbol': 265
}
],
213: [
function (e, t, r) {
e = e('../internals/global');
t.exports = e.Promise;
},
{ '../internals/global': 160 }
],
214: [
function (e, t, r) {
var n = e('../internals/an-object'),
s = e('../internals/is-object'),
i = e('../internals/new-promise-capability');
t.exports = function (e, t) {
if ((n(e), s(t) && t.constructor === e)) return t;
e = i.f(e);
return (0, e.resolve)(t), e.promise;
};
},
{ '../internals/an-object': 98, '../internals/is-object': 177, '../internals/new-promise-capability': 190 }
],
215: [
function (e, t, r) {
var n = e('../internals/promise-native-constructor'),
s = e('../internals/check-correctness-of-iteration'),
e = e('../internals/promise-constructor-detection').CONSTRUCTOR;
t.exports =
e ||
!s(function (e) {
n.all(e).then(void 0, function () {});
});
},
{
'../internals/check-correctness-of-iteration': 119,
'../internals/promise-constructor-detection': 212,
'../internals/promise-native-constructor': 213
}
],
216: [
function (e, t, r) {
var n = e('../internals/object-define-property').f;
t.exports = function (e, t, r) {
r in e ||
n(e, r, {
configurable: !0,
get: function () {
return t[r];
},
set: function (e) {
t[r] = e;
}
});
};
},
{ '../internals/object-define-property': 195 }
],
217: [
function (e, t, r) {
function n() {
(this.head = null), (this.tail = null);
}
(n.prototype = {
add: function (e) {
e = { item: e, next: null };
this.head ? (this.tail.next = e) : (this.head = e), (this.tail = e);
},
get: function () {
var e = this.head;
if (e) return (this.head = e.next), this.tail === e && (this.tail = null), e.item;
}
}),
(t.exports = n);
},
{}
],
218: [
function (e, t, r) {
var s = e('../internals/redefine');
t.exports = function (e, t, r) {
for (var n in t) s(e, n, t[n], r);
return e;
};
},
{ '../internals/redefine': 219 }
],
219: [
function (e, t, r) {
var c = e('../internals/global'),
l = e('../internals/is-callable'),
u = e('../internals/has-own-property'),
p = e('../internals/create-non-enumerable-property'),
f = e('../internals/set-global'),
n = e('../internals/inspect-source'),
s = e('../internals/internal-state'),
d = e('../internals/function-name').CONFIGURABLE,
i = s.get,
h = s.enforce,
m = String(String).split('String');
(t.exports = function (e, t, r, n) {
var s,
i = !!n && !!n.unsafe,
o = !!n && !!n.enumerable,
a = !!n && !!n.noTargetGet,
n = n && void 0 !== n.name ? n.name : t;
l(r) &&
('Symbol(' === String(n).slice(0, 7) && (n = '[' + String(n).replace(/^Symbol\(([^)]*)\)/, '$1') + ']'),
(!u(r, 'name') || (d && r.name !== n)) && p(r, 'name', n),
(s = h(r)).source || (s.source = m.join('string' == typeof n ? n : ''))),
e === c
? o
? (e[t] = r)
: f(t, r)
: (i ? !a && e[t] && (o = !0) : delete e[t], o ? (e[t] = r) : p(e, t, r));
})(Function.prototype, 'toString', function () {
return (l(this) && i(this).source) || n(this);
});
},
{
'../internals/create-non-enumerable-property': 126,
'../internals/function-name': 153,
'../internals/global': 160,
'../internals/has-own-property': 161,
'../internals/inspect-source': 169,
'../internals/internal-state': 170,
'../internals/is-callable': 173,
'../internals/set-global': 229
}
],
220: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/function-call'),
i = e('../internals/an-object'),
o = e('../internals/is-callable'),
a = e('../internals/classof-raw'),
c = e('../internals/regexp-exec'),
l = n.TypeError;
t.exports = function (e, t) {
var r = e.exec;
if (o(r)) return null !== (r = s(r, e, t)) && i(r), r;
if ('RegExp' === a(e)) return s(c, e, t);
throw l('RegExp#exec called on incompatible receiver');
};
},
{
'../internals/an-object': 98,
'../internals/classof-raw': 120,
'../internals/function-call': 152,
'../internals/global': 160,
'../internals/is-callable': 173,
'../internals/regexp-exec': 221
}
],
221: [
function (e, t, r) {
'use strict';
var h = e('../internals/function-call'),
n = e('../internals/function-uncurry-this'),
m = e('../internals/to-string'),
y = e('../internals/regexp-flags'),
s = e('../internals/regexp-sticky-helpers'),
i = e('../internals/shared'),
b = e('../internals/object-create'),
g = e('../internals/internal-state').get,
o = e('../internals/regexp-unsupported-dot-all'),
e = e('../internals/regexp-unsupported-ncg'),
v = i('native-string-replace', String.prototype.replace),
j = RegExp.prototype.exec,
w = j,
x = n(''.charAt),
T = n(''.indexOf),
k = n(''.replace),
E = n(''.slice),
_ = ((i = /b*/g), h(j, (n = /a/), 'a'), h(j, i, 'a'), 0 !== n.lastIndex || 0 !== i.lastIndex),
S = s.BROKEN_CARET,
O = void 0 !== /()??/.exec('')[1];
(_ || O || S || o || e) &&
(w = function (e) {
var t,
r,
n,
s,
i,
o,
a = this,
c = g(a),
e = m(e),
l = c.raw;
if (l) return (l.lastIndex = a.lastIndex), (p = h(w, l, e)), (a.lastIndex = l.lastIndex), p;
var u = c.groups,
l = S && a.sticky,
p = h(y, a),
c = a.source,
f = 0,
d = e;
if (
(l &&
((p = k(p, 'y', '')),
-1 === T(p, 'g') && (p += 'g'),
(d = E(e, a.lastIndex)),
0 < a.lastIndex &&
(!a.multiline || (a.multiline && '\n' !== x(e, a.lastIndex - 1))) &&
((c = '(?: ' + c + ')'), (d = ' ' + d), f++),
(t = new RegExp('^(?:' + c + ')', p))),
O && (t = new RegExp('^' + c + '$(?!\\s)', p)),
_ && (r = a.lastIndex),
(n = h(j, l ? t : a, d)),
l
? n
? ((n.input = E(n.input, f)),
(n[0] = E(n[0], f)),
(n.index = a.lastIndex),
(a.lastIndex += n[0].length))
: (a.lastIndex = 0)
: _ && n && (a.lastIndex = a.global ? n.index + n[0].length : r),
O &&
n &&
1 < n.length &&
h(v, n[0], t, function () {
for (s = 1; s < arguments.length - 2; s++) void 0 === arguments[s] && (n[s] = void 0);
}),
n && u)
)
for (n.groups = i = b(null), s = 0; s < u.length; s++) i[(o = u[s])[0]] = n[o[1]];
return n;
}),
(t.exports = w);
},
{
'../internals/function-call': 152,
'../internals/function-uncurry-this': 154,
'../internals/internal-state': 170,
'../internals/object-create': 193,
'../internals/regexp-flags': 222,
'../internals/regexp-sticky-helpers': 224,
'../internals/regexp-unsupported-dot-all': 225,
'../internals/regexp-unsupported-ncg': 226,
'../internals/shared': 234,
'../internals/to-string': 253
}
],
222: [
function (e, t, r) {
'use strict';
var n = e('../internals/an-object');
t.exports = function () {
var e = n(this),
t = '';
return (
e.hasIndices && (t += 'd'),
e.global && (t += 'g'),
e.ignoreCase && (t += 'i'),
e.multiline && (t += 'm'),
e.dotAll && (t += 's'),
e.unicode && (t += 'u'),
e.sticky && (t += 'y'),
t
);
};
},
{ '../internals/an-object': 98 }
],
223: [
function (e, t, r) {
var n = e('../internals/function-call'),
s = e('../internals/has-own-property'),
i = e('../internals/object-is-prototype-of'),
o = e('../internals/regexp-flags'),
a = RegExp.prototype;
t.exports = function (e) {
var t = e.flags;
return void 0 !== t || 'flags' in a || s(e, 'flags') || !i(a, e) ? t : n(o, e);
};
},
{
'../internals/function-call': 152,
'../internals/has-own-property': 161,
'../internals/object-is-prototype-of': 201,
'../internals/regexp-flags': 222
}
],
224: [
function (e, t, r) {
var n = e('../internals/fails'),
s = e('../internals/global').RegExp,
e = n(function () {
var e = s('a', 'y');
return (e.lastIndex = 2), null != e.exec('abcd');
}),
i =
e ||
n(function () {
return !s('a', 'y').sticky;
}),
n =
e ||
n(function () {
var e = s('^r', 'gy');
return (e.lastIndex = 2), null != e.exec('str');
});
t.exports = { BROKEN_CARET: n, MISSED_STICKY: i, UNSUPPORTED_Y: e };
},
{ '../internals/fails': 147, '../internals/global': 160 }
],
225: [
function (e, t, r) {
var n = e('../internals/fails'),
s = e('../internals/global').RegExp;
t.exports = n(function () {
var e = s('.', 's');
return !(e.dotAll && e.exec('\n') && 's' === e.flags);
});
},
{ '../internals/fails': 147, '../internals/global': 160 }
],
226: [
function (e, t, r) {
var n = e('../internals/fails'),
s = e('../internals/global').RegExp;
t.exports = n(function () {
var e = s('(?b)', 'g');
return 'b' !== e.exec('b').groups.a || 'bc' !== 'b'.replace(e, '$c');
});
},
{ '../internals/fails': 147, '../internals/global': 160 }
],
227: [
function (e, t, r) {
var n = e('../internals/global').TypeError;
t.exports = function (e) {
if (null == e) throw n("Can't call method on " + e);
return e;
};
},
{ '../internals/global': 160 }
],
228: [
function (e, t, r) {
t.exports =
Object.is ||
function (e, t) {
return e === t ? 0 !== e || 1 / e == 1 / t : e != e && t != t;
};
},
{}
],
229: [
function (e, t, r) {
var n = e('../internals/global'),
s = Object.defineProperty;
t.exports = function (t, r) {
try {
s(n, t, { value: r, configurable: !0, writable: !0 });
} catch (e) {
n[t] = r;
}
return r;
};
},
{ '../internals/global': 160 }
],
230: [
function (e, t, r) {
'use strict';
var n = e('../internals/get-built-in'),
s = e('../internals/object-define-property'),
i = e('../internals/well-known-symbol'),
o = e('../internals/descriptors'),
a = i('species');
t.exports = function (e) {
var e = n(e),
t = s.f;
o &&
e &&
!e[a] &&
t(e, a, {
configurable: !0,
get: function () {
return this;
}
});
};
},
{
'../internals/descriptors': 131,
'../internals/get-built-in': 155,
'../internals/object-define-property': 195,
'../internals/well-known-symbol': 265
}
],
231: [
function (e, t, r) {
var n = e('../internals/object-define-property').f,
s = e('../internals/has-own-property'),
i = e('../internals/well-known-symbol')('toStringTag');
t.exports = function (e, t, r) {
(e = e && !r ? e.prototype : e) && !s(e, i) && n(e, i, { configurable: !0, value: t });
};
},
{
'../internals/has-own-property': 161,
'../internals/object-define-property': 195,
'../internals/well-known-symbol': 265
}
],
232: [
function (e, t, r) {
var n = e('../internals/shared'),
s = e('../internals/uid'),
i = n('keys');
t.exports = function (e) {
return i[e] || (i[e] = s(e));
};
},
{ '../internals/shared': 234, '../internals/uid': 260 }
],
233: [
function (e, t, r) {
var n = e('../internals/global'),
e = e('../internals/set-global'),
s = '__core-js_shared__',
n = n[s] || e(s, {});
t.exports = n;
},
{ '../internals/global': 160, '../internals/set-global': 229 }
],
234: [
function (e, t, r) {
var n = e('../internals/is-pure'),
s = e('../internals/shared-store');
(t.exports = function (e, t) {
return s[e] || (s[e] = void 0 !== t ? t : {});
})('versions', []).push({
version: '3.22.1',
mode: n ? 'pure' : 'global',
copyright: '\xa9 2014-2022 Denis Pushkarev (zloirock.ru)',
license: 'https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
},
{ '../internals/is-pure': 178, '../internals/shared-store': 233 }
],
235: [
function (e, t, r) {
var n = e('../internals/an-object'),
s = e('../internals/a-constructor'),
i = e('../internals/well-known-symbol')('species');
t.exports = function (e, t) {
var e = n(e).constructor;
return void 0 === e || null == (e = n(e)[i]) ? t : s(e);
};
},
{ '../internals/a-constructor': 93, '../internals/an-object': 98, '../internals/well-known-symbol': 265 }
],
236: [
function (e, t, r) {
function n(s) {
return function (e, t) {
var r,
e = o(a(e)),
t = i(t),
n = e.length;
return t < 0 || n <= t
? s
? ''
: void 0
: (r = l(e, t)) < 55296 || 56319 < r || t + 1 === n || (n = l(e, t + 1)) < 56320 || 57343 < n
? s
? c(e, t)
: r
: s
? u(e, t, t + 2)
: n - 56320 + ((r - 55296) << 10) + 65536;
};
}
var s = e('../internals/function-uncurry-this'),
i = e('../internals/to-integer-or-infinity'),
o = e('../internals/to-string'),
a = e('../internals/require-object-coercible'),
c = s(''.charAt),
l = s(''.charCodeAt),
u = s(''.slice);
t.exports = { codeAt: n(!1), charAt: n(!0) };
},
{
'../internals/function-uncurry-this': 154,
'../internals/require-object-coercible': 227,
'../internals/to-integer-or-infinity': 245,
'../internals/to-string': 253
}
],
237: [
function (e, t, r) {
var n = e('../internals/function-name').PROPER,
s = e('../internals/fails'),
i = e('../internals/whitespaces');
t.exports = function (e) {
return s(function () {
return !!i[e]() || '\u200b\x85\u180e' !== '\u200b\x85\u180e'[e]() || (n && i[e].name !== e);
});
};
},
{ '../internals/fails': 147, '../internals/function-name': 153, '../internals/whitespaces': 266 }
],
238: [
function (e, t, r) {
function n(t) {
return function (e) {
e = o(i(e));
return 1 & t && (e = a(e, c, '')), (e = 2 & t ? a(e, l, '') : e);
};
}
var s = e('../internals/function-uncurry-this'),
i = e('../internals/require-object-coercible'),
o = e('../internals/to-string'),
e = e('../internals/whitespaces'),
a = s(''.replace),
s = '[' + e + ']',
c = RegExp('^' + s + s + '*'),
l = RegExp(s + s + '*$');
t.exports = { start: n(1), end: n(2), trim: n(3) };
},
{
'../internals/function-uncurry-this': 154,
'../internals/require-object-coercible': 227,
'../internals/to-string': 253,
'../internals/whitespaces': 266
}
],
239: [
function (e, t, r) {
var n = e('../internals/function-call'),
s = e('../internals/get-built-in'),
i = e('../internals/well-known-symbol'),
o = e('../internals/redefine');
t.exports = function () {
var e = s('Symbol'),
e = e && e.prototype,
t = e && e.valueOf,
r = i('toPrimitive');
e &&
!e[r] &&
o(e, r, function (e) {
return n(t, this);
});
};
},
{
'../internals/function-call': 152,
'../internals/get-built-in': 155,
'../internals/redefine': 219,
'../internals/well-known-symbol': 265
}
],
240: [
function (e, t, r) {
var n,
s,
i = e('../internals/global'),
o = e('../internals/function-apply'),
a = e('../internals/function-bind-context'),
c = e('../internals/is-callable'),
l = e('../internals/has-own-property'),
u = e('../internals/fails'),
p = e('../internals/html'),
f = e('../internals/array-slice'),
d = e('../internals/document-create-element'),
h = e('../internals/validate-arguments-length'),
m = e('../internals/engine-is-ios'),
e = e('../internals/engine-is-node'),
y = i.setImmediate,
b = i.clearImmediate,
g = i.process,
v = i.Dispatch,
j = i.Function,
w = i.MessageChannel,
x = i.String,
T = 0,
k = {},
E = 'onreadystatechange';
try {
n = i.location;
} catch (e) {}
function _(e) {
return function () {
A(e);
};
}
function S(e) {
A(e.data);
}
function O(e) {
i.postMessage(x(e), n.protocol + '//' + n.host);
}
var A = function (e) {
var t;
l(k, e) && ((t = k[e]), delete k[e], t());
};
(y && b) ||
((y = function (e) {
h(arguments.length, 1);
var t = c(e) ? e : j(e),
r = f(arguments, 1);
return (
(k[++T] = function () {
o(t, void 0, r);
}),
s(T),
T
);
}),
(b = function (e) {
delete k[e];
}),
e
? (s = function (e) {
g.nextTick(_(e));
})
: v && v.now
? (s = function (e) {
v.now(_(e));
})
: w && !m
? ((m = (e = new w()).port2), (e.port1.onmessage = S), (s = a(m.postMessage, m)))
: i.addEventListener && c(i.postMessage) && !i.importScripts && n && 'file:' !== n.protocol && !u(O)
? ((s = O), i.addEventListener('message', S, !1))
: (s =
E in d('script')
? function (e) {
p.appendChild(d('script'))[E] = function () {
p.removeChild(this), A(e);
};
}
: function (e) {
setTimeout(_(e), 0);
})),
(t.exports = { set: y, clear: b });
},
{
'../internals/array-slice': 114,
'../internals/document-create-element': 132,
'../internals/engine-is-ios': 139,
'../internals/engine-is-node': 140,
'../internals/fails': 147,
'../internals/function-apply': 149,
'../internals/function-bind-context': 150,
'../internals/global': 160,
'../internals/has-own-property': 161,
'../internals/html': 164,
'../internals/is-callable': 173,
'../internals/validate-arguments-length': 263
}
],
241: [
function (e, t, r) {
e = e('../internals/function-uncurry-this');
t.exports = e((1).valueOf);
},
{ '../internals/function-uncurry-this': 154 }
],
242: [
function (e, t, r) {
var n = e('../internals/to-integer-or-infinity'),
s = Math.max,
i = Math.min;
t.exports = function (e, t) {
e = n(e);
return e < 0 ? s(e + t, 0) : i(e, t);
};
},
{ '../internals/to-integer-or-infinity': 245 }
],
243: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/to-integer-or-infinity'),
i = e('../internals/to-length'),
o = n.RangeError;
t.exports = function (e) {
if (void 0 === e) return 0;
var e = s(e),
t = i(e);
if (e !== t) throw o('Wrong length or index');
return t;
};
},
{ '../internals/global': 160, '../internals/to-integer-or-infinity': 245, '../internals/to-length': 246 }
],
244: [
function (e, t, r) {
var n = e('../internals/indexed-object'),
s = e('../internals/require-object-coercible');
t.exports = function (e) {
return n(s(e));
};
},
{ '../internals/indexed-object': 167, '../internals/require-object-coercible': 227 }
],
245: [
function (e, t, r) {
var n = Math.ceil,
s = Math.floor;
t.exports = function (e) {
e = +e;
return e != e || 0 == e ? 0 : (0 < e ? s : n)(e);
};
},
{}
],
246: [
function (e, t, r) {
var n = e('../internals/to-integer-or-infinity'),
s = Math.min;
t.exports = function (e) {
return 0 < e ? s(n(e), 9007199254740991) : 0;
};
},
{ '../internals/to-integer-or-infinity': 245 }
],
247: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/require-object-coercible'),
i = n.Object;
t.exports = function (e) {
return i(s(e));
};
},
{ '../internals/global': 160, '../internals/require-object-coercible': 227 }
],
248: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/to-positive-integer'),
i = n.RangeError;
t.exports = function (e, t) {
e = s(e);
if (e % t) throw i('Wrong offset');
return e;
};
},
{ '../internals/global': 160, '../internals/to-positive-integer': 249 }
],
249: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/to-integer-or-infinity'),
i = n.RangeError;
t.exports = function (e) {
e = s(e);
if (e < 0) throw i("The argument can't be less than 0");
return e;
};
},
{ '../internals/global': 160, '../internals/to-integer-or-infinity': 245 }
],
250: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/function-call'),
i = e('../internals/is-object'),
o = e('../internals/is-symbol'),
a = e('../internals/get-method'),
c = e('../internals/ordinary-to-primitive'),
e = e('../internals/well-known-symbol'),
l = n.TypeError,
u = e('toPrimitive');
t.exports = function (e, t) {
if (!i(e) || o(e)) return e;
var r = a(e, u);
if (r) {
if (((r = s(r, e, (t = void 0 === t ? 'default' : t))), !i(r) || o(r))) return r;
throw l("Can't convert object to primitive value");
}
return c(e, (t = void 0 === t ? 'number' : t));
};
},
{
'../internals/function-call': 152,
'../internals/get-method': 158,
'../internals/global': 160,
'../internals/is-object': 177,
'../internals/is-symbol': 180,
'../internals/ordinary-to-primitive': 208,
'../internals/well-known-symbol': 265
}
],
251: [
function (e, t, r) {
var n = e('../internals/to-primitive'),
s = e('../internals/is-symbol');
t.exports = function (e) {
e = n(e, 'string');
return s(e) ? e : e + '';
};
},
{ '../internals/is-symbol': 180, '../internals/to-primitive': 250 }
],
252: [
function (e, t, r) {
var n = {};
(n[e('../internals/well-known-symbol')('toStringTag')] = 'z'), (t.exports = '[object z]' === String(n));
},
{ '../internals/well-known-symbol': 265 }
],
253: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/classof'),
i = n.String;
t.exports = function (e) {
if ('Symbol' === s(e)) throw TypeError('Cannot convert a Symbol value to a string');
return i(e);
};
},
{ '../internals/classof': 121, '../internals/global': 160 }
],
254: [
function (e, t, r) {
var n = e('../internals/global').String;
t.exports = function (e) {
try {
return n(e);
} catch (e) {
return 'Object';
}
};
},
{ '../internals/global': 160 }
],
255: [
function (e, t, M) {
'use strict';
function d(e, t) {
re(e);
for (var r = 0, n = t.length, s = new e(n); r < n; ) s[r] = t[r++];
return s;
}
function r(e, t) {
_(e, t, {
get: function () {
return E(this)[t];
}
});
}
function h(e) {
return z(Q, e) || 'ArrayBuffer' == (e = G(e)) || 'SharedArrayBuffer' == e;
}
function n(e, t) {
return N(e) && !X(t) && t in e && F(+t) && 0 <= t;
}
function s(e, t) {
return (t = l(t)), n(e, t) ? q(2, e[t]) : J(e, t);
}
function i(e, t, r) {
return (
(t = l(t)),
!(n(e, t) && w(r) && u(r, 'value')) ||
u(r, 'get') ||
u(r, 'set') ||
r.configurable ||
(u(r, 'writable') && !r.writable) ||
(u(r, 'enumerable') && !r.enumerable)
? _(e, t, r)
: ((e[t] = r.value), e)
);
}
var c = e('../internals/export'),
m = e('../internals/global'),
y = e('../internals/function-call'),
L = e('../internals/descriptors'),
B = e('../internals/typed-array-constructors-require-wrappers'),
o = e('../internals/array-buffer-view-core'),
a = e('../internals/array-buffer'),
b = e('../internals/an-instance'),
q = e('../internals/create-property-descriptor'),
g = e('../internals/create-non-enumerable-property'),
F = e('../internals/is-integral-number'),
U = e('../internals/to-length'),
v = e('../internals/to-index'),
j = e('../internals/to-offset'),
l = e('../internals/to-property-key'),
u = e('../internals/has-own-property'),
G = e('../internals/classof'),
w = e('../internals/is-object'),
X = e('../internals/is-symbol'),
V = e('../internals/object-create'),
z = e('../internals/object-is-prototype-of'),
x = e('../internals/object-set-prototype-of'),
W = e('../internals/object-get-own-property-names').f,
T = e('../internals/typed-array-from'),
H = e('../internals/array-iteration').forEach,
K = e('../internals/set-species'),
p = e('../internals/object-define-property'),
f = e('../internals/object-get-own-property-descriptor'),
k = e('../internals/internal-state'),
Y = e('../internals/inherit-if-required'),
E = k.get,
$ = k.set,
_ = p.f,
J = f.f,
Z = Math.round,
S = m.RangeError,
O = a.ArrayBuffer,
Q = O.prototype,
ee = a.DataView,
A = o.NATIVE_ARRAY_BUFFER_VIEWS,
te = o.TYPED_ARRAY_CONSTRUCTOR,
D = o.TYPED_ARRAY_TAG,
I = o.TypedArray,
C = o.TypedArrayPrototype,
re = o.aTypedArrayConstructor,
N = o.isTypedArray,
R = 'BYTES_PER_ELEMENT',
P = 'Wrong length';
L
? (A || ((f.f = s), (p.f = i), r(C, 'buffer'), r(C, 'byteOffset'), r(C, 'byteLength'), r(C, 'length')),
c({ target: 'Object', stat: !0, forced: !A }, { getOwnPropertyDescriptor: s, defineProperty: i }),
(t.exports = function (e, t, s) {
function l(e, n) {
_(e, n, {
get: function () {
var e = this,
t = n;
return (e = E(e)).view[i](t * u + e.byteOffset, !0);
},
set: function (e) {
var t = this,
r = n;
(t = E(t)),
s && (e = (e = Z(e)) < 0 ? 0 : 255 < e ? 255 : 255 & e),
t.view[o](r * u + t.byteOffset, e, !0);
},
enumerable: !0
});
}
var u = e.match(/\d+$/)[0] / 8,
r = e + (s ? 'Clamped' : '') + 'Array',
i = 'get' + e,
o = 'set' + e,
a = m[r],
p = a,
f = p && p.prototype,
e = {};
A
? B &&
((p = t(function (e, t, r, n) {
return (
b(e, f),
Y(
w(t)
? h(t)
? void 0 !== n
? new a(t, j(r, u), n)
: void 0 !== r
? new a(t, j(r, u))
: new a(t)
: N(t)
? d(p, t)
: y(T, p, t)
: new a(v(t)),
e,
p
)
);
})),
x && x(p, I),
H(W(a), function (e) {
e in p || g(p, e, a[e]);
}),
(p.prototype = f))
: ((p = t(function (e, t, r, n) {
b(e, f);
var s,
i,
o = 0,
a = 0;
if (w(t)) {
if (!h(t)) return N(t) ? d(p, t) : y(T, p, t);
var c = t,
a = j(r, u),
r = t.byteLength;
if (void 0 === n) {
if (r % u) throw S(P);
if ((s = r - a) < 0) throw S(P);
} else if (r < (s = U(n) * u) + a) throw S(P);
i = s / u;
} else (i = v(t)), (c = new O((s = i * u)));
for ($(e, { buffer: c, byteOffset: a, byteLength: s, length: i, view: new ee(c) }); o < i; )
l(e, o++);
})),
x && x(p, I),
(f = p.prototype = V(C))),
f.constructor !== p && g(f, 'constructor', p),
g(f, te, p),
D && g(f, D, r),
(e[r] = p),
c({ global: !0, forced: p != a, sham: !A }, e),
R in p || g(p, R, u),
R in f || g(f, R, u),
K(r);
}))
: (t.exports = function () {});
},
{
'../internals/an-instance': 97,
'../internals/array-buffer': 101,
'../internals/array-buffer-view-core': 100,
'../internals/array-iteration': 108,
'../internals/classof': 121,
'../internals/create-non-enumerable-property': 126,
'../internals/create-property-descriptor': 127,
'../internals/descriptors': 131,
'../internals/export': 146,
'../internals/function-call': 152,
'../internals/global': 160,
'../internals/has-own-property': 161,
'../internals/inherit-if-required': 168,
'../internals/internal-state': 170,
'../internals/is-integral-number': 176,
'../internals/is-object': 177,
'../internals/is-symbol': 180,
'../internals/object-create': 193,
'../internals/object-define-property': 195,
'../internals/object-get-own-property-descriptor': 196,
'../internals/object-get-own-property-names': 198,
'../internals/object-is-prototype-of': 201,
'../internals/object-set-prototype-of': 205,
'../internals/set-species': 230,
'../internals/to-index': 243,
'../internals/to-length': 246,
'../internals/to-offset': 248,
'../internals/to-property-key': 251,
'../internals/typed-array-constructors-require-wrappers': 256,
'../internals/typed-array-from': 258
}
],
256: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/fails'),
i = e('../internals/check-correctness-of-iteration'),
e = e('../internals/array-buffer-view-core').NATIVE_ARRAY_BUFFER_VIEWS,
o = n.ArrayBuffer,
a = n.Int8Array;
t.exports =
!e ||
!s(function () {
a(1);
}) ||
!s(function () {
new a(-1);
}) ||
!i(function (e) {
new a(), new a(null), new a(1.5), new a(e);
}, !0) ||
s(function () {
return 1 !== new a(new o(2), 1, void 0).length;
});
},
{
'../internals/array-buffer-view-core': 100,
'../internals/check-correctness-of-iteration': 119,
'../internals/fails': 147,
'../internals/global': 160
}
],
257: [
function (e, t, r) {
var n = e('../internals/array-from-constructor-and-list'),
s = e('../internals/typed-array-species-constructor');
t.exports = function (e, t) {
return n(s(e), t);
};
},
{ '../internals/array-from-constructor-and-list': 105, '../internals/typed-array-species-constructor': 259 }
],
258: [
function (e, t, r) {
var d = e('../internals/function-bind-context'),
h = e('../internals/function-call'),
m = e('../internals/a-constructor'),
y = e('../internals/to-object'),
b = e('../internals/length-of-array-like'),
g = e('../internals/get-iterator'),
v = e('../internals/get-iterator-method'),
j = e('../internals/is-array-iterator-method'),
w = e('../internals/array-buffer-view-core').aTypedArrayConstructor;
t.exports = function (e) {
var t,
r,
n,
s,
i,
o,
a = m(this),
c = y(e),
l = arguments.length,
u = 1 < l ? arguments[1] : void 0,
p = void 0 !== u,
f = v(c);
if (f && !j(f)) for (o = (i = g(c, f)).next, c = []; !(s = h(o, i)).done; ) c.push(s.value);
for (p && 2 < l && (u = d(u, arguments[2])), r = b(c), n = new (w(a))(r), t = 0; t < r; t++)
n[t] = p ? u(c[t], t) : c[t];
return n;
};
},
{
'../internals/a-constructor': 93,
'../internals/array-buffer-view-core': 100,
'../internals/function-bind-context': 150,
'../internals/function-call': 152,
'../internals/get-iterator': 157,
'../internals/get-iterator-method': 156,
'../internals/is-array-iterator-method': 171,
'../internals/length-of-array-like': 185,
'../internals/to-object': 247
}
],
259: [
function (e, t, r) {
var n = e('../internals/array-buffer-view-core'),
s = e('../internals/species-constructor'),
i = n.TYPED_ARRAY_CONSTRUCTOR,
o = n.aTypedArrayConstructor;
t.exports = function (e) {
return o(s(e, e[i]));
};
},
{ '../internals/array-buffer-view-core': 100, '../internals/species-constructor': 235 }
],
260: [
function (e, t, r) {
var e = e('../internals/function-uncurry-this'),
n = 0,
s = Math.random(),
i = e((1).toString);
t.exports = function (e) {
return 'Symbol(' + (void 0 === e ? '' : e) + ')_' + i(++n + s, 36);
};
},
{ '../internals/function-uncurry-this': 154 }
],
261: [
function (e, t, r) {
e = e('../internals/native-symbol');
t.exports = e && !Symbol.sham && 'symbol' == typeof Symbol.iterator;
},
{ '../internals/native-symbol': 188 }
],
262: [
function (e, t, r) {
var n = e('../internals/descriptors'),
e = e('../internals/fails');
t.exports =
n &&
e(function () {
return 42 != Object.defineProperty(function () {}, 'prototype', { value: 42, writable: !1 }).prototype;
});
},
{ '../internals/descriptors': 131, '../internals/fails': 147 }
],
263: [
function (e, t, r) {
var n = e('../internals/global').TypeError;
t.exports = function (e, t) {
if (e < t) throw n('Not enough arguments');
return e;
};
},
{ '../internals/global': 160 }
],
264: [
function (e, t, r) {
e = e('../internals/well-known-symbol');
r.f = e;
},
{ '../internals/well-known-symbol': 265 }
],
265: [
function (e, t, r) {
var n = e('../internals/global'),
s = e('../internals/shared'),
i = e('../internals/has-own-property'),
o = e('../internals/uid'),
a = e('../internals/native-symbol'),
c = e('../internals/use-symbol-as-uid'),
l = s('wks'),
u = n.Symbol,
p = u && u.for,
f = c ? u : (u && u.withoutSetter) || o;
t.exports = function (e) {
var t;
return (
(i(l, e) && (a || 'string' == typeof l[e])) ||
((t = 'Symbol.' + e), a && i(u, e) ? (l[e] = u[e]) : (l[e] = (c && p ? p : f)(t))),
l[e]
);
};
},
{
'../internals/global': 160,
'../internals/has-own-property': 161,
'../internals/native-symbol': 188,
'../internals/shared': 234,
'../internals/uid': 260,
'../internals/use-symbol-as-uid': 261
}
],
266: [
function (e, t, r) {
t.exports =
'\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff';
},
{}
],
267: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/global'),
i = e('../internals/array-buffer'),
e = e('../internals/set-species'),
o = 'ArrayBuffer',
i = i[o];
n({ global: !0, forced: s[o] !== i }, { ArrayBuffer: i }), e(o);
},
{
'../internals/array-buffer': 101,
'../internals/export': 146,
'../internals/global': 160,
'../internals/set-species': 230
}
],
268: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/function-uncurry-this'),
i = e('../internals/fails'),
o = e('../internals/array-buffer'),
c = e('../internals/an-object'),
l = e('../internals/to-absolute-index'),
u = e('../internals/to-length'),
p = e('../internals/species-constructor'),
f = o.ArrayBuffer,
d = o.DataView,
e = d.prototype,
h = s(f.prototype.slice),
m = s(e.getUint8),
y = s(e.setUint8);
n(
{
target: 'ArrayBuffer',
proto: !0,
unsafe: !0,
forced: i(function () {
return !new f(2).slice(1, void 0).byteLength;
})
},
{
slice: function (e, t) {
if (h && void 0 === t) return h(c(this), e);
for (
var r = c(this).byteLength,
n = l(e, r),
s = l(void 0 === t ? r : t, r),
e = new (p(this, f))(u(s - n)),
i = new d(this),
o = new d(e),
a = 0;
n < s;
)
y(o, a++, m(i, n++));
return e;
}
}
);
},
{
'../internals/an-object': 98,
'../internals/array-buffer': 101,
'../internals/export': 146,
'../internals/fails': 147,
'../internals/function-uncurry-this': 154,
'../internals/species-constructor': 235,
'../internals/to-absolute-index': 242,
'../internals/to-length': 246
}
],
269: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/global'),
i = e('../internals/fails'),
l = e('../internals/is-array'),
u = e('../internals/is-object'),
p = e('../internals/to-object'),
f = e('../internals/length-of-array-like'),
d = e('../internals/create-property'),
h = e('../internals/array-species-create'),
o = e('../internals/array-method-has-species-support'),
a = e('../internals/well-known-symbol'),
e = e('../internals/engine-v8-version'),
m = a('isConcatSpreadable'),
y = 9007199254740991,
b = 'Maximum allowed index exceeded',
g = s.TypeError,
a =
51 <= e ||
!i(function () {
var e = [];
return (e[m] = !1), e.concat()[0] !== e;
}),
s = o('concat');
n(
{ target: 'Array', proto: !0, forced: !a || !s },
{
concat: function (e) {
for (var t, r, n, s = p(this), i = h(s, 0), o = 0, a = -1, c = arguments.length; a < c; a++)
if (
(function (e) {
if (!u(e)) return !1;
var t = e[m];
return void 0 !== t ? !!t : l(e);
})((n = -1 === a ? s : arguments[a]))
) {
if (((r = f(n)), y < o + r)) throw g(b);
for (t = 0; t < r; t++, o++) t in n && d(i, o, n[t]);
} else {
if (y <= o) throw g(b);
d(i, o++, n);
}
return (i.length = o), i;
}
}
);
},
{
'../internals/array-method-has-species-support': 110,
'../internals/array-species-create': 117,
'../internals/create-property': 128,
'../internals/engine-v8-version': 143,
'../internals/export': 146,
'../internals/fails': 147,
'../internals/global': 160,
'../internals/is-array': 172,
'../internals/is-object': 177,
'../internals/length-of-array-like': 185,
'../internals/to-object': 247,
'../internals/well-known-symbol': 265
}
],
270: [
function (e, t, r) {
var n = e('../internals/export'),
s = e('../internals/array-fill'),
e = e('../internals/add-to-unscopables');
n({ target: 'Array', proto: !0 }, { fill: s }), e('fill');
},
{ '../internals/add-to-unscopables': 95, '../internals/array-fill': 103, '../internals/export': 146 }
],
271: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/array-iteration').filter;
n(
{ target: 'Array', proto: !0, forced: !e('../internals/array-method-has-species-support')('filter') },
{
filter: function (e) {
return s(this, e, 1 < arguments.length ? arguments[1] : void 0);
}
}
);
},
{
'../internals/array-iteration': 108,
'../internals/array-method-has-species-support': 110,
'../internals/export': 146
}
],
272: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/array-iteration').find,
e = e('../internals/add-to-unscopables'),
i = !0;
'find' in [] &&
Array(1).find(function () {
i = !1;
}),
n(
{ target: 'Array', proto: !0, forced: i },
{
find: function (e) {
return s(this, e, 1 < arguments.length ? arguments[1] : void 0);
}
}
),
e('find');
},
{ '../internals/add-to-unscopables': 95, '../internals/array-iteration': 108, '../internals/export': 146 }
],
273: [
function (e, t, r) {
var n = e('../internals/export'),
s = e('../internals/array-from');
n(
{
target: 'Array',
stat: !0,
forced: !e('../internals/check-correctness-of-iteration')(function (e) {
Array.from(e);
})
},
{ from: s }
);
},
{
'../internals/array-from': 106,
'../internals/check-correctness-of-iteration': 119,
'../internals/export': 146
}
],
274: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/array-includes').includes,
e = e('../internals/add-to-unscopables');
n(
{ target: 'Array', proto: !0 },
{
includes: function (e) {
return s(this, e, 1 < arguments.length ? arguments[1] : void 0);
}
}
),
e('includes');
},
{ '../internals/add-to-unscopables': 95, '../internals/array-includes': 107, '../internals/export': 146 }
],
275: [
function (e, t, r) {
'use strict';
var n = e('../internals/to-indexed-object'),
s = e('../internals/add-to-unscopables'),
i = e('../internals/iterators'),
o = e('../internals/internal-state'),
a = e('../internals/object-define-property').f,
c = e('../internals/define-iterator'),
l = e('../internals/is-pure'),
e = e('../internals/descriptors'),
u = 'Array Iterator',
p = o.set,
f = o.getterFor(u),
o =
((t.exports = c(
Array,
'Array',
function (e, t) {
p(this, { type: u, target: n(e), index: 0, kind: t });
},
function () {
var e = f(this),
t = e.target,
r = e.kind,
n = e.index++;
return !t || n >= t.length
? { value: (e.target = void 0), done: !0 }
: 'keys' == r
? { value: n, done: !1 }
: 'values' == r
? { value: t[n], done: !1 }
: { value: [n, t[n]], done: !1 };
},
'values'
)),
(i.Arguments = i.Array));
if ((s('keys'), s('values'), s('entries'), !l && e && 'values' !== o.name))
try {
a(o, 'name', { value: 'values' });
} catch (e) {}
},
{
'../internals/add-to-unscopables': 95,
'../internals/define-iterator': 129,
'../internals/descriptors': 131,
'../internals/internal-state': 170,
'../internals/is-pure': 178,
'../internals/iterators': 184,
'../internals/object-define-property': 195,
'../internals/to-indexed-object': 244
}
],
276: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/function-uncurry-this'),
i = e('../internals/indexed-object'),
o = e('../internals/to-indexed-object'),
e = e('../internals/array-method-is-strict'),
a = s([].join),
s = i != Object,
i = e('join', ',');
n(
{ target: 'Array', proto: !0, forced: s || !i },
{
join: function (e) {
return a(o(this), void 0 === e ? ',' : e);
}
}
);
},
{
'../internals/array-method-is-strict': 111,
'../internals/export': 146,
'../internals/function-uncurry-this': 154,
'../internals/indexed-object': 167,
'../internals/to-indexed-object': 244
}
],
277: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/array-iteration').map;
n(
{ target: 'Array', proto: !0, forced: !e('../internals/array-method-has-species-support')('map') },
{
map: function (e) {
return s(this, e, 1 < arguments.length ? arguments[1] : void 0);
}
}
);
},
{
'../internals/array-iteration': 108,
'../internals/array-method-has-species-support': 110,
'../internals/export': 146
}
],
278: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/global'),
l = e('../internals/is-array'),
u = e('../internals/is-constructor'),
p = e('../internals/is-object'),
f = e('../internals/to-absolute-index'),
d = e('../internals/length-of-array-like'),
h = e('../internals/to-indexed-object'),
m = e('../internals/create-property'),
i = e('../internals/well-known-symbol'),
o = e('../internals/array-method-has-species-support'),
y = e('../internals/array-slice'),
e = o('slice'),
b = i('species'),
g = s.Array,
v = Math.max;
n(
{ target: 'Array', proto: !0, forced: !e },
{
slice: function (e, t) {
var r,
n,
s,
i = h(this),
o = d(i),
a = f(e, o),
c = f(void 0 === t ? o : t, o);
if (
l(i) &&
((r = i.constructor),
(r = (u(r) && (r === g || l(r.prototype))) || (p(r) && null === (r = r[b])) ? void 0 : r) === g ||
void 0 === r)
)
return y(i, a, c);
for (n = new (void 0 === r ? g : r)(v(c - a, 0)), s = 0; a < c; a++, s++) a in i && m(n, s, i[a]);
return (n.length = s), n;
}
}
);
},
{
'../internals/array-method-has-species-support': 110,
'../internals/array-slice': 114,
'../internals/create-property': 128,
'../internals/export': 146,
'../internals/global': 160,
'../internals/is-array': 172,
'../internals/is-constructor': 174,
'../internals/is-object': 177,
'../internals/length-of-array-like': 185,
'../internals/to-absolute-index': 242,
'../internals/to-indexed-object': 244,
'../internals/well-known-symbol': 265
}
],
279: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/function-uncurry-this'),
a = e('../internals/a-callable'),
c = e('../internals/to-object'),
l = e('../internals/length-of-array-like'),
u = e('../internals/to-string'),
i = e('../internals/fails'),
p = e('../internals/array-sort'),
o = e('../internals/array-method-is-strict'),
f = e('../internals/engine-ff-version'),
d = e('../internals/engine-is-ie-or-edge'),
h = e('../internals/engine-v8-version'),
m = e('../internals/engine-webkit-version'),
y = [],
b = s(y.sort),
g = s(y.push),
e = i(function () {
y.sort(void 0);
}),
s = i(function () {
y.sort(null);
}),
o = o('sort'),
v = !i(function () {
if (h) return h < 70;
if (!(f && 3 < f)) {
if (d) return !0;
if (m) return m < 603;
for (var e, t, r, n = '', s = 65; s < 76; s++) {
switch (((e = String.fromCharCode(s)), s)) {
case 66:
case 69:
case 70:
case 72:
t = 3;
break;
case 68:
case 71:
t = 4;
break;
default:
t = 2;
}
for (r = 0; r < 47; r++) y.push({ k: e + r, v: t });
}
for (
y.sort(function (e, t) {
return t.v - e.v;
}),
r = 0;
r < y.length;
r++
)
(e = y[r].k.charAt(0)), n.charAt(n.length - 1) !== e && (n += e);
return 'DGBEFHACIJK' !== n;
}
});
n(
{ target: 'Array', proto: !0, forced: e || !s || !o || !v },
{
sort: function (e) {
void 0 !== e && a(e);
var t = c(this);
if (v) return void 0 === e ? b(t) : b(t, e);
for (var r, n, s = [], i = l(t), o = 0; o < i; o++) o in t && g(s, t[o]);
for (
p(
s,
((n = e),
function (e, t) {
return void 0 === t
? -1
: void 0 === e
? 1
: void 0 !== n
? +n(e, t) || 0
: u(e) > u(t)
? 1
: -1;
})
),
r = s.length,
o = 0;
o < r;
)
t[o] = s[o++];
for (; o < i; ) delete t[o++];
return t;
}
}
);
},
{
'../internals/a-callable': 92,
'../internals/array-method-is-strict': 111,
'../internals/array-sort': 115,
'../internals/engine-ff-version': 135,
'../internals/engine-is-ie-or-edge': 137,
'../internals/engine-v8-version': 143,
'../internals/engine-webkit-version': 144,
'../internals/export': 146,
'../internals/fails': 147,
'../internals/function-uncurry-this': 154,
'../internals/length-of-array-like': 185,
'../internals/to-object': 247,
'../internals/to-string': 253
}
],
280: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/global'),
p = e('../internals/to-absolute-index'),
f = e('../internals/to-integer-or-infinity'),
d = e('../internals/length-of-array-like'),
h = e('../internals/to-object'),
m = e('../internals/array-species-create'),
y = e('../internals/create-property'),
e = e('../internals/array-method-has-species-support')('splice'),
b = s.TypeError,
g = Math.max,
v = Math.min;
n(
{ target: 'Array', proto: !0, forced: !e },
{
splice: function (e, t) {
var r,
n,
s,
i,
o,
a,
c = h(this),
l = d(c),
u = p(e, l),
e = arguments.length;
if (
(0 === e ? (r = n = 0) : (n = 1 === e ? ((r = 0), l - u) : ((r = e - 2), v(g(f(t), 0), l - u))),
9007199254740991 < l + r - n)
)
throw b('Maximum allowed length exceeded');
for (s = m(c, n), i = 0; i < n; i++) (o = u + i) in c && y(s, i, c[o]);
if (r < (s.length = n)) {
for (i = u; i < l - n; i++) (a = i + r), (o = i + n) in c ? (c[a] = c[o]) : delete c[a];
for (i = l; l - n + r < i; i--) delete c[i - 1];
} else if (n < r)
for (i = l - n; u < i; i--) (a = i + r - 1), (o = i + n - 1) in c ? (c[a] = c[o]) : delete c[a];
for (i = 0; i < r; i++) c[i + u] = arguments[i + 2];
return (c.length = l - n + r), s;
}
}
);
},
{
'../internals/array-method-has-species-support': 110,
'../internals/array-species-create': 117,
'../internals/create-property': 128,
'../internals/export': 146,
'../internals/global': 160,
'../internals/length-of-array-like': 185,
'../internals/to-absolute-index': 242,
'../internals/to-integer-or-infinity': 245,
'../internals/to-object': 247
}
],
281: [
function (e, t, r) {
var n = e('../internals/descriptors'),
s = e('../internals/function-name').EXISTS,
i = e('../internals/function-uncurry-this'),
e = e('../internals/object-define-property').f,
o = Function.prototype,
a = i(o.toString),
c = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,
l = i(c.exec);
n &&
!s &&
e(o, 'name', {
configurable: !0,
get: function () {
try {
return l(c, a(this))[1];
} catch (e) {
return '';
}
}
});
},
{
'../internals/descriptors': 131,
'../internals/function-name': 153,
'../internals/function-uncurry-this': 154,
'../internals/object-define-property': 195
}
],
282: [
function (e, t, r) {
function s(e, t) {
var r = m(arguments),
n = t;
if ((d(t) || void 0 !== e) && !h(e))
return (
p(t) ||
(t = function (e, t) {
if ((f(n) && (t = c(n, this, e, t)), !h(t))) return t;
}),
(r[1] = t),
a(y, null, r)
);
}
function i(e, t, r) {
var n = g(r, t - 1),
r = g(r, t + 1);
return (b(T, e) && !b(k, r)) || (b(k, e) && !b(T, n)) ? '\\u' + w(v(e, 0), 16) : e;
}
var n = e('../internals/export'),
o = e('../internals/get-built-in'),
a = e('../internals/function-apply'),
c = e('../internals/function-call'),
l = e('../internals/function-uncurry-this'),
u = e('../internals/fails'),
p = e('../internals/is-array'),
f = e('../internals/is-callable'),
d = e('../internals/is-object'),
h = e('../internals/is-symbol'),
m = e('../internals/array-slice'),
e = e('../internals/native-symbol'),
y = o('JSON', 'stringify'),
b = l(/./.exec),
g = l(''.charAt),
v = l(''.charCodeAt),
j = l(''.replace),
w = l((1).toString),
x = /[\uD800-\uDFFF]/g,
T = /^[\uD800-\uDBFF]$/,
k = /^[\uDC00-\uDFFF]$/,
E =
!e ||
u(function () {
var e = o('Symbol')();
return '[null]' != y([e]) || '{}' != y({ a: e }) || '{}' != y(Object(e));
}),
_ = u(function () {
return '"\\udf06\\ud834"' !== y('\udf06\ud834') || '"\\udead"' !== y('\udead');
});
y &&
n(
{ target: 'JSON', stat: !0, forced: E || _ },
{
stringify: function (e, t, r) {
var n = m(arguments),
n = a(E ? s : y, null, n);
return _ && 'string' == typeof n ? j(n, x, i) : n;
}
}
);
},
{
'../internals/array-slice': 114,
'../internals/export': 146,
'../internals/fails': 147,
'../internals/function-apply': 149,
'../internals/function-call': 152,
'../internals/function-uncurry-this': 154,
'../internals/get-built-in': 155,
'../internals/is-array': 172,
'../internals/is-callable': 173,
'../internals/is-object': 177,
'../internals/is-symbol': 180,
'../internals/native-symbol': 188
}
],
283: [
function (e, t, r) {
'use strict';
var n = e('../internals/descriptors'),
s = e('../internals/global'),
i = e('../internals/function-uncurry-this'),
o = e('../internals/is-forced'),
a = e('../internals/redefine'),
c = e('../internals/has-own-property'),
l = e('../internals/inherit-if-required'),
u = e('../internals/object-is-prototype-of'),
p = e('../internals/is-symbol'),
f = e('../internals/to-primitive'),
d = e('../internals/fails'),
h = e('../internals/object-get-own-property-names').f,
m = e('../internals/object-get-own-property-descriptor').f,
y = e('../internals/object-define-property').f,
b = e('../internals/this-number-value'),
g = e('../internals/string-trim').trim,
e = 'Number',
v = s[e],
j = v.prototype,
w = s.TypeError,
x = i(''.slice),
T = i(''.charCodeAt),
k = function (e) {
var t,
r,
n,
s,
i,
o,
a,
c = f(e, 'number');
if (p(c)) throw w('Cannot convert a Symbol value to a number');
if ('string' == typeof c && 2 < c.length)
if (((c = g(c)), 43 === (e = T(c, 0)) || 45 === e)) {
if (88 === (t = T(c, 2)) || 120 === t) return NaN;
} else if (48 === e) {
switch (T(c, 1)) {
case 66:
case 98:
(r = 2), (n = 49);
break;
case 79:
case 111:
(r = 8), (n = 55);
break;
default:
return +c;
}
for (i = (s = x(c, 2)).length, o = 0; o < i; o++) if ((a = T(s, o)) < 48 || n < a) return NaN;
return parseInt(s, r);
}
return +c;
};
if (o(e, !v(' 0o1') || !v('0b1') || v('+0x1'))) {
for (
var E,
_ = function (e) {
var e =
arguments.length < 1
? 0
: v(
(function (e) {
e = f(e, 'number');
return 'bigint' == typeof e ? e : k(e);
})(e)
),
t = this;
return u(j, t) &&
d(function () {
b(t);
})
? l(Object(e), t, _)
: e;
},
S = n
? h(v)
: 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range'.split(
','
),
O = 0;
S.length > O;
O++
)
c(v, (E = S[O])) && !c(_, E) && y(_, E, m(v, E));
a(s, e, ((_.prototype = j).constructor = _));
}
},
{
'../internals/descriptors': 131,
'../internals/fails': 147,
'../internals/function-uncurry-this': 154,
'../internals/global': 160,
'../internals/has-own-property': 161,
'../internals/inherit-if-required': 168,
'../internals/is-forced': 175,
'../internals/is-symbol': 180,
'../internals/object-define-property': 195,
'../internals/object-get-own-property-descriptor': 196,
'../internals/object-get-own-property-names': 198,
'../internals/object-is-prototype-of': 201,
'../internals/redefine': 219,
'../internals/string-trim': 238,
'../internals/this-number-value': 241,
'../internals/to-primitive': 250
}
],
284: [
function (e, t, r) {
var n = e('../internals/export'),
e = e('../internals/object-assign');
n({ target: 'Object', stat: !0, forced: Object.assign !== e }, { assign: e });
},
{ '../internals/export': 146, '../internals/object-assign': 192 }
],
285: [
function (e, t, r) {
var n = e('../internals/export'),
s = e('../internals/object-to-array').entries;
n(
{ target: 'Object', stat: !0 },
{
entries: function (e) {
return s(e);
}
}
);
},
{ '../internals/export': 146, '../internals/object-to-array': 206 }
],
286: [
function (e, t, r) {
var n = e('../internals/export'),
s = e('../internals/fails'),
i = e('../internals/to-indexed-object'),
o = e('../internals/object-get-own-property-descriptor').f,
e = e('../internals/descriptors'),
s = s(function () {
o(1);
});
n(
{ target: 'Object', stat: !0, forced: !e || s, sham: !e },
{
getOwnPropertyDescriptor: function (e, t) {
return o(i(e), t);
}
}
);
},
{
'../internals/descriptors': 131,
'../internals/export': 146,
'../internals/fails': 147,
'../internals/object-get-own-property-descriptor': 196,
'../internals/to-indexed-object': 244
}
],
287: [
function (e, t, r) {
var n = e('../internals/export'),
s = e('../internals/descriptors'),
c = e('../internals/own-keys'),
l = e('../internals/to-indexed-object'),
u = e('../internals/object-get-own-property-descriptor'),
p = e('../internals/create-property');
n(
{ target: 'Object', stat: !0, sham: !s },
{
getOwnPropertyDescriptors: function (e) {
for (var t, r, n = l(e), s = u.f, i = c(n), o = {}, a = 0; i.length > a; )
void 0 !== (r = s(n, (t = i[a++]))) && p(o, t, r);
return o;
}
}
);
},
{
'../internals/create-property': 128,
'../internals/descriptors': 131,
'../internals/export': 146,
'../internals/object-get-own-property-descriptor': 196,
'../internals/own-keys': 209,
'../internals/to-indexed-object': 244
}
],
288: [
function (e, t, r) {
var n = e('../internals/export'),
s = e('../internals/native-symbol'),
i = e('../internals/fails'),
o = e('../internals/object-get-own-property-symbols'),
a = e('../internals/to-object');
n(
{
target: 'Object',
stat: !0,
forced:
!s ||
i(function () {
o.f(1);
})
},
{
getOwnPropertySymbols: function (e) {
var t = o.f;
return t ? t(a(e)) : [];
}
}
);
},
{
'../internals/export': 146,
'../internals/fails': 147,
'../internals/native-symbol': 188,
'../internals/object-get-own-property-symbols': 199,
'../internals/to-object': 247
}
],
289: [
function (e, t, r) {
var n = e('../internals/export'),
s = e('../internals/to-object'),
i = e('../internals/object-keys');
n(
{
target: 'Object',
stat: !0,
forced: e('../internals/fails')(function () {
i(1);
})
},
{
keys: function (e) {
return i(s(e));
}
}
);
},
{
'../internals/export': 146,
'../internals/fails': 147,
'../internals/object-keys': 203,
'../internals/to-object': 247
}
],
290: [
function (e, t, r) {
var n = e('../internals/to-string-tag-support'),
s = e('../internals/redefine'),
e = e('../internals/object-to-string');
n || s(Object.prototype, 'toString', e, { unsafe: !0 });
},
{
'../internals/object-to-string': 207,
'../internals/redefine': 219,
'../internals/to-string-tag-support': 252
}
],
291: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
u = e('../internals/function-call'),
p = e('../internals/a-callable'),
s = e('../internals/new-promise-capability'),
i = e('../internals/perform'),
f = e('../internals/iterate');
n(
{ target: 'Promise', stat: !0, forced: e('../internals/promise-statics-incorrect-iteration') },
{
all: function (e) {
var a = this,
t = s.f(a),
c = t.resolve,
l = t.reject,
r = i(function () {
var n = p(a.resolve),
s = [],
i = 0,
o = 1;
f(e, function (e) {
var t = i++,
r = !1;
o++,
u(n, a, e).then(function (e) {
r || ((r = !0), (s[t] = e), --o || c(s));
}, l);
}),
--o || c(s);
});
return r.error && l(r.value), t.promise;
}
}
);
},
{
'../internals/a-callable': 92,
'../internals/export': 146,
'../internals/function-call': 152,
'../internals/iterate': 181,
'../internals/new-promise-capability': 190,
'../internals/perform': 211,
'../internals/promise-statics-incorrect-iteration': 215
}
],
292: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/is-pure'),
i = e('../internals/promise-constructor-detection').CONSTRUCTOR,
o = e('../internals/promise-native-constructor'),
a = e('../internals/get-built-in'),
c = e('../internals/is-callable'),
e = e('../internals/redefine'),
l = o && o.prototype;
n(
{ target: 'Promise', proto: !0, forced: i, real: !0 },
{
catch: function (e) {
return this.then(void 0, e);
}
}
),
!s && c(o) && ((n = a('Promise').prototype.catch), l.catch !== n && e(l, 'catch', n, { unsafe: !0 }));
},
{
'../internals/export': 146,
'../internals/get-built-in': 155,
'../internals/is-callable': 173,
'../internals/is-pure': 178,
'../internals/promise-constructor-detection': 212,
'../internals/promise-native-constructor': 213,
'../internals/redefine': 219
}
],
293: [
function (e, M, L) {
'use strict';
function i(e, t) {
var r,
n,
s,
i,
o = t.value,
a = t.state == _,
c = a ? e.ok : e.fail,
l = e.resolve,
u = e.reject,
p = e.domain;
try {
c
? (a ||
(t.rejection === O &&
((i = t),
h(m, d, function () {
var e = i.facade;
f ? T.emit('rejectionHandled', e) : I(ee, e, i.value);
})),
(t.rejection = S)),
!0 === c ? (r = o) : (p && p.enter(), (r = c(o)), p && (p.exit(), (s = !0))),
r === e.promise ? u(w('Promise-chain cycle')) : (n = A(r)) ? h(n, r, l, u) : l(r))
: u(o);
} catch (e) {
p && !s && p.exit(), u(e);
}
}
var r,
t,
n,
s = e('../internals/export'),
B = e('../internals/is-pure'),
f = e('../internals/engine-is-node'),
d = e('../internals/global'),
h = e('../internals/function-call'),
q = e('../internals/redefine'),
F = e('../internals/redefine-all'),
o = e('../internals/object-set-prototype-of'),
U = e('../internals/set-to-string-tag'),
G = e('../internals/set-species'),
X = e('../internals/a-callable'),
a = e('../internals/is-callable'),
V = e('../internals/is-object'),
z = e('../internals/an-instance'),
W = e('../internals/species-constructor'),
m = e('../internals/task').set,
c = e('../internals/microtask'),
H = e('../internals/host-report-errors'),
K = e('../internals/perform'),
Y = e('../internals/queue'),
l = e('../internals/internal-state'),
u = e('../internals/promise-native-constructor'),
p = e('../internals/promise-constructor-detection'),
e = e('../internals/new-promise-capability'),
y = 'Promise',
b = p.CONSTRUCTOR,
$ = p.REJECTION_EVENT,
p = p.SUBCLASSING,
g = l.getterFor(y),
J = l.set,
l = u && u.prototype,
v = u,
j = l,
w = d.TypeError,
x = d.document,
T = d.process,
k = e.f,
Z = k,
Q = !!(x && x.createEvent && d.dispatchEvent),
E = 'unhandledrejection',
ee = 'rejectionhandled',
_ = 1,
te = 2,
S = 1,
O = 2,
A = function (e) {
var t;
return !(!V(e) || !a((t = e.then))) && t;
},
D = function (r, s) {
r.notified ||
((r.notified = !0),
c(function () {
for (var e, n, t = r.reactions; (e = t.get()); ) i(e, r);
(r.notified = !1),
s &&
!r.rejection &&
((n = r),
h(m, d, function () {
var e = n.facade,
t = n.value,
r = C(n);
if (
r &&
((r = K(function () {
f ? T.emit('unhandledRejection', t, e) : I(E, e, t);
})),
(n.rejection = f || C(n) ? O : S),
r.error)
)
throw r.value;
}));
}));
},
I = function (e, t, r) {
var n;
Q
? (((n = x.createEvent('Event')).promise = t),
(n.reason = r),
n.initEvent(e, !1, !0),
d.dispatchEvent(n))
: (n = { promise: t, reason: r }),
!$ && (t = d['on' + e]) ? t(n) : e === E && H('Unhandled promise rejection', r);
},
C = function (e) {
return e.rejection !== S && !e.parent;
},
N = function (t, r, n) {
return function (e) {
t(r, e, n);
};
},
R = function (e, t, r) {
e.done || ((e.done = !0), ((e = r ? r : e).value = t), (e.state = te), D(e, !0));
},
P = function (r, e, t) {
if (!r.done) {
(r.done = !0), t && (r = t);
try {
if (r.facade === e) throw w("Promise can't be resolved itself");
var n = A(e);
n
? c(function () {
var t = { done: !1 };
try {
h(n, e, N(P, t, r), N(R, t, r));
} catch (e) {
R(t, e, r);
}
})
: ((r.value = e), (r.state = _), D(r, !1));
} catch (e) {
R({ done: !1 }, e, r);
}
}
};
if (
b &&
((j = (v = function (e) {
z(this, j), X(e), h(r, this);
var t = g(this);
try {
e(N(P, t), N(R, t));
} catch (e) {
R(t, e);
}
}).prototype),
((r = function (e) {
J(this, {
type: y,
done: !1,
notified: !1,
parent: !1,
reactions: new Y(),
rejection: !1,
state: 0,
value: void 0
});
}).prototype = F(j, {
then: function (e, t) {
var r = g(this),
n = k(W(this, v));
return (
(r.parent = !0),
(n.ok = !a(e) || e),
(n.fail = a(t) && t),
(n.domain = f ? T.domain : void 0),
0 == r.state
? r.reactions.add(n)
: c(function () {
i(n, r);
}),
n.promise
);
}
})),
(t = function () {
var e = new r(),
t = g(e);
(this.promise = e), (this.resolve = N(P, t)), (this.reject = N(R, t));
}),
(e.f = k =
function (e) {
return e === v || void 0 === e ? new t() : Z(e);
}),
!B && a(u) && l !== Object.prototype)
) {
(n = l.then),
p ||
q(
l,
'then',
function (e, t) {
var r = this;
return new v(function (e, t) {
h(n, r, e, t);
}).then(e, t);
},
{ unsafe: !0 }
);
try {
delete l.constructor;
} catch (e) {}
o && o(l, j);
}
s({ global: !0, wrap: !0, forced: b }, { Promise: v }), U(v, y, !1, !0), G(y);
},
{
'../internals/a-callable': 92,
'../internals/an-instance': 97,
'../internals/engine-is-node': 140,
'../internals/export': 146,
'../internals/function-call': 152,
'../internals/global': 160,
'../internals/host-report-errors': 163,
'../internals/internal-state': 170,
'../internals/is-callable': 173,
'../internals/is-object': 177,
'../internals/is-pure': 178,
'../internals/microtask': 186,
'../internals/new-promise-capability': 190,
'../internals/object-set-prototype-of': 205,
'../internals/perform': 211,
'../internals/promise-constructor-detection': 212,
'../internals/promise-native-constructor': 213,
'../internals/queue': 217,
'../internals/redefine': 219,
'../internals/redefine-all': 218,
'../internals/set-species': 230,
'../internals/set-to-string-tag': 231,
'../internals/species-constructor': 235,
'../internals/task': 240
}
],
294: [
function (e, t, r) {
e('../modules/es.promise.constructor'),
e('../modules/es.promise.all'),
e('../modules/es.promise.catch'),
e('../modules/es.promise.race'),
e('../modules/es.promise.reject'),
e('../modules/es.promise.resolve');
},
{
'../modules/es.promise.all': 291,
'../modules/es.promise.catch': 292,
'../modules/es.promise.constructor': 293,
'../modules/es.promise.race': 295,
'../modules/es.promise.reject': 296,
'../modules/es.promise.resolve': 297
}
],
295: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
i = e('../internals/function-call'),
o = e('../internals/a-callable'),
a = e('../internals/new-promise-capability'),
c = e('../internals/perform'),
l = e('../internals/iterate');
n(
{ target: 'Promise', stat: !0, forced: e('../internals/promise-statics-incorrect-iteration') },
{
race: function (e) {
var r = this,
n = a.f(r),
s = n.reject,
t = c(function () {
var t = o(r.resolve);
l(e, function (e) {
i(t, r, e).then(n.resolve, s);
});
});
return t.error && s(t.value), n.promise;
}
}
);
},
{
'../internals/a-callable': 92,
'../internals/export': 146,
'../internals/function-call': 152,
'../internals/iterate': 181,
'../internals/new-promise-capability': 190,
'../internals/perform': 211,
'../internals/promise-statics-incorrect-iteration': 215
}
],
296: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/function-call'),
i = e('../internals/new-promise-capability');
n(
{ target: 'Promise', stat: !0, forced: e('../internals/promise-constructor-detection').CONSTRUCTOR },
{
reject: function (e) {
var t = i.f(this);
return s(t.reject, void 0, e), t.promise;
}
}
);
},
{
'../internals/export': 146,
'../internals/function-call': 152,
'../internals/new-promise-capability': 190,
'../internals/promise-constructor-detection': 212
}
],
297: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/get-built-in'),
i = e('../internals/is-pure'),
o = e('../internals/promise-native-constructor'),
a = e('../internals/promise-constructor-detection').CONSTRUCTOR,
c = e('../internals/promise-resolve'),
l = s('Promise'),
u = i && !a;
n(
{ target: 'Promise', stat: !0, forced: i || a },
{
resolve: function (e) {
return c(u && this === l ? o : this, e);
}
}
);
},
{
'../internals/export': 146,
'../internals/get-built-in': 155,
'../internals/is-pure': 178,
'../internals/promise-constructor-detection': 212,
'../internals/promise-native-constructor': 213,
'../internals/promise-resolve': 214
}
],
298: [
function (e, M, L) {
var t = e('../internals/descriptors'),
r = e('../internals/global'),
n = e('../internals/function-uncurry-this'),
s = e('../internals/is-forced'),
l = e('../internals/inherit-if-required'),
u = e('../internals/create-non-enumerable-property'),
i = e('../internals/object-get-own-property-names').f,
p = e('../internals/object-is-prototype-of'),
f = e('../internals/is-regexp'),
d = e('../internals/to-string'),
h = e('../internals/regexp-get-flags'),
o = e('../internals/regexp-sticky-helpers'),
a = e('../internals/proxy-accessor'),
c = e('../internals/redefine'),
m = e('../internals/fails'),
y = e('../internals/has-own-property'),
b = e('../internals/internal-state').enforce,
g = e('../internals/set-species'),
v = e('../internals/well-known-symbol'),
j = e('../internals/regexp-unsupported-dot-all'),
w = e('../internals/regexp-unsupported-ncg'),
x = v('match'),
T = r.RegExp,
k = T.prototype,
E = r.SyntaxError,
_ = n(k.exec),
S = n(''.charAt),
O = n(''.replace),
A = n(''.indexOf),
B = n(''.slice),
q = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,
D = /a/g,
I = /a/g,
e = new T(D) !== D,
C = o.MISSED_STICKY,
F = o.UNSUPPORTED_Y,
v =
t &&
(!e ||
C ||
j ||
w ||
m(function () {
return (I[x] = !1), T(D) != D || T(I) == I || '/a/i' != T(D, 'i');
}));
if (s('RegExp', v)) {
function N(e, t) {
var r,
n,
s = p(k, this),
i = f(e),
o = void 0 === t,
a = [],
c = e;
if (!s && i && o && e.constructor === N) return e;
if (
((i || p(k, e)) && ((e = e.source), o && (t = h(c))),
(e = void 0 === e ? '' : d(e)),
(t = void 0 === t ? '' : d(t)),
(c = e),
(i = t = j && 'dotAll' in D && (r = !!t && -1 < A(t, 's')) ? O(t, /s/g, '') : t),
C && 'sticky' in D && (n = !!t && -1 < A(t, 'y')) && F && (t = O(t, /y/g, '')),
w &&
((e = (o = (function (e) {
for (
var t, r = e.length, n = 0, s = '', i = [], o = {}, a = !1, c = !1, l = 0, u = '';
n <= r;
n++
) {
if ('\\' === (t = S(e, n))) t += S(e, ++n);
else if (']' === t) a = !1;
else if (!a)
switch (!0) {
case '[' === t:
a = !0;
break;
case '(' === t:
_(q, B(e, n + 1)) && ((n += 2), (c = !0)), (s += t), l++;
continue;
case '>' === t && c:
if ('' === u || y(o, u)) throw new E('Invalid capture group name');
(o[u] = !0), (c = !(i[i.length] = [u, l])), (u = '');
continue;
}
c ? (u += t) : (s += t);
}
return [s, i];
})(e))[0]),
(a = o[1])),
(o = l(T(e, t), s ? this : k, N)),
(r || n || a.length) &&
((t = b(o)),
r &&
((t.dotAll = !0),
(t.raw = N(
(function (e) {
for (var t, r = e.length, n = 0, s = '', i = !1; n <= r; n++)
'\\' === (t = S(e, n))
? (s += t + S(e, ++n))
: i || '.' !== t
? ('[' === t ? (i = !0) : ']' === t && (i = !1), (s += t))
: (s += '[\\s\\S]');
return s;
})(e),
i
))),
n && (t.sticky = !0),
a.length && (t.groups = a)),
e !== c)
)
try {
u(o, 'source', '' === c ? '(?:)' : c);
} catch (e) {}
return o;
}
for (var R = i(T), P = 0; R.length > P; ) a(N, T, R[P++]);
((k.constructor = N).prototype = k), c(r, 'RegExp', N);
}
g('RegExp');
},
{
'../internals/create-non-enumerable-property': 126,
'../internals/descriptors': 131,
'../internals/fails': 147,
'../internals/function-uncurry-this': 154,
'../internals/global': 160,
'../internals/has-own-property': 161,
'../internals/inherit-if-required': 168,
'../internals/internal-state': 170,
'../internals/is-forced': 175,
'../internals/is-regexp': 179,
'../internals/object-get-own-property-names': 198,
'../internals/object-is-prototype-of': 201,
'../internals/proxy-accessor': 216,
'../internals/redefine': 219,
'../internals/regexp-get-flags': 223,
'../internals/regexp-sticky-helpers': 224,
'../internals/regexp-unsupported-dot-all': 225,
'../internals/regexp-unsupported-ncg': 226,
'../internals/set-species': 230,
'../internals/to-string': 253,
'../internals/well-known-symbol': 265
}
],
299: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
e = e('../internals/regexp-exec');
n({ target: 'RegExp', proto: !0, forced: /./.exec !== e }, { exec: e });
},
{ '../internals/export': 146, '../internals/regexp-exec': 221 }
],
300: [
function (e, t, r) {
'use strict';
var n = e('../internals/function-name').PROPER,
s = e('../internals/redefine'),
i = e('../internals/an-object'),
o = e('../internals/to-string'),
a = e('../internals/fails'),
c = e('../internals/regexp-get-flags'),
e = 'toString',
l = RegExp.prototype[e],
a = a(function () {
return '/a/b' != l.call({ source: 'a', flags: 'b' });
}),
n = n && l.name != e;
(a || n) &&
s(
RegExp.prototype,
e,
function () {
var e = i(this);
return '/' + o(e.source) + '/' + o(c(e));
},
{ unsafe: !0 }
);
},
{
'../internals/an-object': 98,
'../internals/fails': 147,
'../internals/function-name': 153,
'../internals/redefine': 219,
'../internals/regexp-get-flags': 223,
'../internals/to-string': 253
}
],
301: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/function-uncurry-this'),
i = e('../internals/not-a-regexp'),
o = e('../internals/require-object-coercible'),
a = e('../internals/to-string'),
e = e('../internals/correct-is-regexp-logic'),
c = s(''.indexOf);
n(
{ target: 'String', proto: !0, forced: !e('includes') },
{
includes: function (e) {
return !!~c(a(o(this)), a(i(e)), 1 < arguments.length ? arguments[1] : void 0);
}
}
);
},
{
'../internals/correct-is-regexp-logic': 123,
'../internals/export': 146,
'../internals/function-uncurry-this': 154,
'../internals/not-a-regexp': 191,
'../internals/require-object-coercible': 227,
'../internals/to-string': 253
}
],
302: [
function (e, t, r) {
'use strict';
var n = e('../internals/string-multibyte').charAt,
s = e('../internals/to-string'),
i = e('../internals/internal-state'),
e = e('../internals/define-iterator'),
o = 'String Iterator',
a = i.set,
c = i.getterFor(o);
e(
String,
'String',
function (e) {
a(this, { type: o, string: s(e), index: 0 });
},
function () {
var e = c(this),
t = e.string,
r = e.index;
return r >= t.length
? { value: void 0, done: !0 }
: ((t = n(t, r)), (e.index += t.length), { value: t, done: !1 });
}
);
},
{
'../internals/define-iterator': 129,
'../internals/internal-state': 170,
'../internals/string-multibyte': 236,
'../internals/to-string': 253
}
],
303: [
function (e, t, r) {
'use strict';
var s = e('../internals/function-call'),
n = e('../internals/fix-regexp-well-known-symbol-logic'),
l = e('../internals/an-object'),
u = e('../internals/to-length'),
p = e('../internals/to-string'),
i = e('../internals/require-object-coercible'),
o = e('../internals/get-method'),
f = e('../internals/advance-string-index'),
d = e('../internals/regexp-exec-abstract');
n('match', function (n, a, c) {
return [
function (e) {
var t = i(this),
r = null == e ? void 0 : o(e, n);
return r ? s(r, e, t) : new RegExp(e)[n](p(t));
},
function (e) {
var t = l(this),
r = p(e),
e = c(a, t, r);
if (e.done) return e.value;
if (!t.global) return d(t, r);
for (var n = t.unicode, s = [], i = (t.lastIndex = 0); null !== (o = d(t, r)); ) {
var o = p(o[0]);
'' === (s[i] = o) && (t.lastIndex = f(r, u(t.lastIndex), n)), i++;
}
return 0 === i ? null : s;
}
];
});
},
{
'../internals/advance-string-index': 96,
'../internals/an-object': 98,
'../internals/fix-regexp-well-known-symbol-logic': 148,
'../internals/function-call': 152,
'../internals/get-method': 158,
'../internals/regexp-exec-abstract': 220,
'../internals/require-object-coercible': 227,
'../internals/to-length': 246,
'../internals/to-string': 253
}
],
304: [
function (e, t, r) {
'use strict';
var x = e('../internals/function-apply'),
s = e('../internals/function-call'),
n = e('../internals/function-uncurry-this'),
i = e('../internals/fix-regexp-well-known-symbol-logic'),
o = e('../internals/fails'),
T = e('../internals/an-object'),
k = e('../internals/is-callable'),
E = e('../internals/to-integer-or-infinity'),
_ = e('../internals/to-length'),
S = e('../internals/to-string'),
a = e('../internals/require-object-coercible'),
O = e('../internals/advance-string-index'),
c = e('../internals/get-method'),
A = e('../internals/get-substitution'),
D = e('../internals/regexp-exec-abstract'),
l = e('../internals/well-known-symbol')('replace'),
I = Math.max,
C = Math.min,
N = n([].concat),
R = n([].push),
P = n(''.indexOf),
M = n(''.slice),
e = '$0' === 'a'.replace(/./, '$0'),
u = !!/./[l] && '' === /./[l]('a', '$0');
i(
'replace',
function (e, v, j) {
var w = u ? '$' : '$0';
return [
function (e, t) {
var r = a(this),
n = null == e ? void 0 : c(e, l);
return n ? s(n, e, r, t) : s(v, S(r), e, t);
},
function (e, t) {
var r = T(this),
n = S(e);
if ('string' == typeof t && -1 === P(t, w) && -1 === P(t, '$<')) {
e = j(v, r, n, t);
if (e.done) return e.value;
}
for (
var s,
i = k(t),
o = (i || (t = S(t)), r.global),
a = (o && ((s = r.unicode), (r.lastIndex = 0)), []);
null !== (f = D(r, n)) && (R(a, f), o);
)
'' === S(f[0]) && (r.lastIndex = O(n, _(r.lastIndex), s));
for (var c, l = '', u = 0, p = 0; p < a.length; p++) {
for (
var f, d = S((f = a[p])[0]), h = I(C(E(f.index), n.length), 0), m = [], y = 1;
y < f.length;
y++
)
R(m, void 0 === (c = f[y]) ? c : String(c));
var b = f.groups,
g = i
? ((g = N([d], m, h, n)), void 0 !== b && R(g, b), S(x(t, void 0, g)))
: A(d, n, h, m, b, t);
u <= h && ((l += M(n, u, h) + g), (u = h + d.length));
}
return l + M(n, u);
}
];
},
!!o(function () {
var e = /./;
return (
(e.exec = function () {
var e = [];
return (e.groups = { a: '7' }), e;
}),
'7' !== ''.replace(e, '$')
);
}) ||
!e ||
u
);
},
{
'../internals/advance-string-index': 96,
'../internals/an-object': 98,
'../internals/fails': 147,
'../internals/fix-regexp-well-known-symbol-logic': 148,
'../internals/function-apply': 149,
'../internals/function-call': 152,
'../internals/function-uncurry-this': 154,
'../internals/get-method': 158,
'../internals/get-substitution': 159,
'../internals/is-callable': 173,
'../internals/regexp-exec-abstract': 220,
'../internals/require-object-coercible': 227,
'../internals/to-integer-or-infinity': 245,
'../internals/to-length': 246,
'../internals/to-string': 253,
'../internals/well-known-symbol': 265
}
],
305: [
function (e, t, r) {
'use strict';
var o = e('../internals/function-call'),
n = e('../internals/fix-regexp-well-known-symbol-logic'),
a = e('../internals/an-object'),
c = e('../internals/require-object-coercible'),
l = e('../internals/same-value'),
u = e('../internals/to-string'),
p = e('../internals/get-method'),
f = e('../internals/regexp-exec-abstract');
n('search', function (n, s, i) {
return [
function (e) {
var t = c(this),
r = null == e ? void 0 : p(e, n);
return r ? o(r, e, t) : new RegExp(e)[n](u(t));
},
function (e) {
var t = a(this),
e = u(e),
r = i(s, t, e);
if (r.done) return r.value;
(r = t.lastIndex), l(r, 0) || (t.lastIndex = 0), (e = f(t, e));
return l(t.lastIndex, r) || (t.lastIndex = r), null === e ? -1 : e.index;
}
];
});
},
{
'../internals/an-object': 98,
'../internals/fix-regexp-well-known-symbol-logic': 148,
'../internals/function-call': 152,
'../internals/get-method': 158,
'../internals/regexp-exec-abstract': 220,
'../internals/require-object-coercible': 227,
'../internals/same-value': 228,
'../internals/to-string': 253
}
],
306: [
function (e, t, r) {
'use strict';
var u = e('../internals/function-apply'),
p = e('../internals/function-call'),
n = e('../internals/function-uncurry-this'),
s = e('../internals/fix-regexp-well-known-symbol-logic'),
f = e('../internals/is-regexp'),
b = e('../internals/an-object'),
d = e('../internals/require-object-coercible'),
g = e('../internals/species-constructor'),
v = e('../internals/advance-string-index'),
j = e('../internals/to-length'),
w = e('../internals/to-string'),
i = e('../internals/get-method'),
x = e('../internals/array-slice-simple'),
T = e('../internals/regexp-exec-abstract'),
k = e('../internals/regexp-exec'),
o = e('../internals/regexp-sticky-helpers'),
e = e('../internals/fails'),
E = o.UNSUPPORTED_Y,
_ = Math.min,
S = [].push,
O = n(/./.exec),
A = n(S),
D = n(''.slice);
s(
'split',
function (s, h, m) {
var y =
'c' == 'abbc'.split(/(b)*/)[1] ||
4 != 'test'.split(/(?:)/, -1).length ||
2 != 'ab'.split(/(?:ab)*/).length ||
4 != '.'.split(/(.?)(.?)/).length ||
1 < '.'.split(/()()/).length ||
''.split(/.?/).length
? function (e, t) {
var r = w(d(this)),
n = void 0 === t ? 4294967295 : t >>> 0;
if (0 == n) return [];
if (void 0 === e) return [r];
if (!f(e)) return p(h, r, e, n);
for (
var s,
i,
o,
a = [],
t =
(e.ignoreCase ? 'i' : '') +
(e.multiline ? 'm' : '') +
(e.unicode ? 'u' : '') +
(e.sticky ? 'y' : ''),
c = 0,
l = new RegExp(e.source, t + 'g');
(s = p(k, l, r)) &&
!(
c < (i = l.lastIndex) &&
(A(a, D(r, c, s.index)),
1 < s.length && s.index < r.length && u(S, a, x(s, 1)),
(o = s[0].length),
(c = i),
n <= a.length)
);
)
l.lastIndex === s.index && l.lastIndex++;
return (
c === r.length ? (!o && O(l, '')) || A(a, '') : A(a, D(r, c)), n < a.length ? x(a, 0, n) : a
);
}
: '0'.split(void 0, 0).length
? function (e, t) {
return void 0 === e && 0 === t ? [] : p(h, this, e, t);
}
: h;
return [
function (e, t) {
var r = d(this),
n = null == e ? void 0 : i(e, s);
return n ? p(n, e, r, t) : p(y, w(r), e, t);
},
function (e, t) {
var r = b(this),
n = w(e),
e = m(y, r, n, t, y !== h);
if (e.done) return e.value;
var e = g(r, RegExp),
s = r.unicode,
i =
(r.ignoreCase ? 'i' : '') + (r.multiline ? 'm' : '') + (r.unicode ? 'u' : '') + (E ? 'g' : 'y'),
o = new e(E ? '^(?:' + r.source + ')' : r, i),
a = void 0 === t ? 4294967295 : t >>> 0;
if (0 == a) return [];
if (0 === n.length) return null === T(o, n) ? [n] : [];
for (var c = 0, l = 0, u = []; l < n.length; ) {
o.lastIndex = E ? 0 : l;
var p,
f = T(o, E ? D(n, l) : n);
if (null === f || (p = _(j(o.lastIndex + (E ? l : 0)), n.length)) === c) l = v(n, l, s);
else {
if ((A(u, D(n, c, l)), u.length === a)) return u;
for (var d = 1; d <= f.length - 1; d++) if ((A(u, f[d]), u.length === a)) return u;
l = c = p;
}
}
return A(u, D(n, c)), u;
}
];
},
!!e(function () {
var e = /(?:)/,
t = e.exec,
e =
((e.exec = function () {
return t.apply(this, arguments);
}),
'ab'.split(e));
return 2 !== e.length || 'a' !== e[0] || 'b' !== e[1];
}),
E
);
},
{
'../internals/advance-string-index': 96,
'../internals/an-object': 98,
'../internals/array-slice-simple': 113,
'../internals/fails': 147,
'../internals/fix-regexp-well-known-symbol-logic': 148,
'../internals/function-apply': 149,
'../internals/function-call': 152,
'../internals/function-uncurry-this': 154,
'../internals/get-method': 158,
'../internals/is-regexp': 179,
'../internals/regexp-exec': 221,
'../internals/regexp-exec-abstract': 220,
'../internals/regexp-sticky-helpers': 224,
'../internals/require-object-coercible': 227,
'../internals/species-constructor': 235,
'../internals/to-length': 246,
'../internals/to-string': 253
}
],
307: [
function (e, t, r) {
'use strict';
var n = e('../internals/export'),
s = e('../internals/string-trim').trim;
n(
{ target: 'String', proto: !0, forced: e('../internals/string-trim-forced')('trim') },
{
trim: function () {
return s(this);
}
}
);
},
{ '../internals/export': 146, '../internals/string-trim': 238, '../internals/string-trim-forced': 237 }
],
308: [
function (e, M, L) {
'use strict';
function n(e, t) {
var r = (C[e] = g(D));
return te(r, { type: O, tag: e, description: t }), p || (r.description = t), r;
}
function s(e, t, r) {
return (
e === A && s(N, t, r),
h(e),
(t = y(t)),
h(r),
d(C, t)
? (r.enumerable
? (d(e, S) && e[S][t] && (e[S][t] = !1), (r = g(r, { enumerable: b(0, !1) })))
: (d(e, S) || I(e, S, b(1, {})), (e[S][t] = !0)),
P(e, t, r))
: I(e, t, r)
);
}
function r(t, e) {
h(t);
var r = m(e),
e = v(r).concat(a(r));
return (
_(e, function (e) {
(p && !u(i, r, e)) || s(t, e, r[e]);
}),
t
);
}
function i(e) {
var e = y(e),
t = u(oe, this, e);
return (
!(this === A && d(C, e) && !d(N, e)) &&
(!(t || !d(this, e) || !d(C, e) || (d(this, S) && this[S][e])) || t)
);
}
function t(e, t) {
var r,
e = m(e),
t = y(t);
if (e !== A || !d(C, t) || d(N, t))
return !(r = se(e, t)) || !d(C, t) || (d(e, S) && e[S][t]) || (r.enumerable = !0), r;
}
function o(e) {
var e = ie(m(e)),
t = [];
return (
_(e, function (e) {
d(C, e) || d(K, e) || ae(t, e);
}),
t
);
}
function a(e) {
var t = e === A,
e = ie(t ? N : m(e)),
r = [];
return (
_(e, function (e) {
!d(C, e) || (t && !d(A, e)) || ae(r, C[e]);
}),
r
);
}
var c = e('../internals/export'),
l = e('../internals/global'),
u = e('../internals/function-call'),
B = e('../internals/function-uncurry-this'),
q = e('../internals/is-pure'),
p = e('../internals/descriptors'),
f = e('../internals/native-symbol'),
F = e('../internals/fails'),
d = e('../internals/has-own-property'),
U = e('../internals/object-is-prototype-of'),
h = e('../internals/an-object'),
m = e('../internals/to-indexed-object'),
y = e('../internals/to-property-key'),
G = e('../internals/to-string'),
b = e('../internals/create-property-descriptor'),
g = e('../internals/object-create'),
v = e('../internals/object-keys'),
X = e('../internals/object-get-own-property-names'),
j = e('../internals/object-get-own-property-names-external'),
V = e('../internals/object-get-own-property-symbols'),
w = e('../internals/object-get-own-property-descriptor'),
z = e('../internals/object-define-property'),
W = e('../internals/object-define-properties'),
H = e('../internals/object-property-is-enumerable'),
x = e('../internals/redefine'),
T = e('../internals/shared'),
k = e('../internals/shared-key'),
K = e('../internals/hidden-keys'),
Y = e('../internals/uid'),
$ = e('../internals/well-known-symbol'),
J = e('../internals/well-known-symbol-wrapped'),
Z = e('../internals/define-well-known-symbol'),
Q = e('../internals/symbol-define-to-primitive'),
ee = e('../internals/set-to-string-tag'),
E = e('../internals/internal-state'),
_ = e('../internals/array-iteration').forEach,
S = k('hidden'),
O = 'Symbol',
e = 'prototype',
te = E.set,
re = E.getterFor(O),
A = Object[e],
k = l.Symbol,
D = k && k[e],
ne = l.TypeError,
E = l.QObject,
se = w.f,
I = z.f,
ie = j.f,
oe = H.f,
ae = B([].push),
C = T('symbols'),
N = T('op-symbols'),
l = T('wks'),
R = !E || !E[e] || !E[e].findChild,
P =
p &&
F(function () {
return (
7 !=
g(
I({}, 'a', {
get: function () {
return I(this, 'a', { value: 7 }).a;
}
})
).a
);
})
? function (e, t, r) {
var n = se(A, t);
n && delete A[t], I(e, t, r), n && e !== A && I(A, t, n);
}
: I;
f ||
(x(
(D = (k = function () {
if (U(D, this)) throw ne('Symbol is not a constructor');
var e = arguments.length && void 0 !== arguments[0] ? G(arguments[0]) : void 0,
t = Y(e),
r = function (e) {
this === A && u(r, N, e), d(this, S) && d(this[S], t) && (this[S][t] = !1), P(this, t, b(1, e));
};
return p && R && P(A, t, { configurable: !0, set: r }), n(t, e);
})[e]),
'toString',
function () {
return re(this).tag;
}
),
x(k, 'withoutSetter', function (e) {
return n(Y(e), e);
}),
(H.f = i),
(z.f = s),
(W.f = r),
(w.f = t),
(X.f = j.f = o),
(V.f = a),
(J.f = function (e) {
return n($(e), e);
}),
p &&
(I(D, 'description', {
configurable: !0,
get: function () {
return re(this).description;
}
}),
q || x(A, 'propertyIsEnumerable', i, { unsafe: !0 }))),
c({ global: !0, wrap: !0, forced: !f, sham: !f }, { Symbol: k }),
_(v(l), function (e) {
Z(e);
}),
c(
{ target: O, stat: !0, forced: !f },
{
useSetter: function () {
R = !0;
},
useSimple: function () {
R = !1;
}
}
),
c(
{ target: 'Object', stat: !0, forced: !f, sham: !p },
{
create: function (e, t) {
return void 0 === t ? g(e) : r(g(e), t);
},
defineProperty: s,
defineProperties: r,
getOwnPropertyDescriptor: t
}
),
c({ target: 'Object', stat: !0, forced: !f }, { getOwnPropertyNames: o }),
Q(),
ee(k, O),
(K[S] = !0);
},
{
'../internals/an-object': 98,
'../internals/array-iteration': 108,
'../internals/create-property-descriptor': 127,
'../internals/define-well-known-symbol': 130,
'../internals/descriptors': 131,
'../internals/export': 146,
'../internals/fails': 147,
'../internals/function-call': 152,
'../internals/function-uncurry-this': 154,
'../internals/global': 160,
'../internals/has-own-property': 161,
'../internals/hidden-keys': 162,
'../internals/internal-state': 170,
'../internals/is-pure': 178,
'../internals/native-symbol': 188,
'../internals/object-create': 193,
'../internals/object-define-properties': 194,
'../internals/object-define-property': 195,
'../internals/object-get-own-property-descriptor': 196,
'../internals/object-get-own-property-names': 198,
'../internals/object-get-own-property-names-external': 197,
'../internals/object-get-own-property-symbols': 199,
'../internals/object-is-prototype-of': 201,
'../internals/object-keys': 203,
'../internals/object-property-is-enumerable': 204,
'../internals/redefine': 219,
'../internals/set-to-string-tag': 231,
'../internals/shared': 234,
'../internals/shared-key': 232,
'../internals/symbol-define-to-primitive': 239,
'../internals/to-indexed-object': 244,
'../internals/to-property-key': 251,
'../internals/to-string': 253,
'../internals/uid': 260,
'../internals/well-known-symbol': 265,
'../internals/well-known-symbol-wrapped': 264
}
],
309: [
function (e, t, r) {
'use strict';
var n,
s,
i,
o,
a,
c,
l,
u = e('../internals/export'),
p = e('../internals/descriptors'),
f = e('../internals/global'),
d = e('../internals/function-uncurry-this'),
h = e('../internals/has-own-property'),
m = e('../internals/is-callable'),
y = e('../internals/object-is-prototype-of'),
b = e('../internals/to-string'),
g = e('../internals/object-define-property').f,
e = e('../internals/copy-constructor-properties'),
v = f.Symbol,
j = v && v.prototype;
!p ||
!m(v) ||
('description' in j && void 0 === v().description) ||
((n = {}),
e(
(f = function () {
var e = arguments.length < 1 || void 0 === arguments[0] ? void 0 : b(arguments[0]),
t = y(j, this) ? new v(e) : void 0 === e ? v() : v(e);
return '' === e && (n[t] = !0), t;
}),
v
),
((f.prototype = j).constructor = f),
(s = 'Symbol(test)' == String(v('test'))),
(i = d(j.toString)),
(o = d(j.valueOf)),
(a = /^Symbol\((.*)\)[^)]+$/),
(c = d(''.replace)),
(l = d(''.slice)),
g(j, 'description', {
configurable: !0,
get: function () {
var e = o(this),
t = i(e);
if (h(n, e)) return '';
e = s ? l(t, 7, -1) : c(t, a, '$1');
return '' === e ? void 0 : e;
}
}),
u({ global: !0, forced: !0 }, { Symbol: f }));
},
{
'../internals/copy-constructor-properties': 122,
'../internals/descriptors': 131,
'../internals/export': 146,
'../internals/function-uncurry-this': 154,
'../internals/global': 160,
'../internals/has-own-property': 161,
'../internals/is-callable': 173,
'../internals/object-define-property': 195,
'../internals/object-is-prototype-of': 201,
'../internals/to-string': 253
}
],
310: [
function (e, t, r) {
var n = e('../internals/export'),
s = e('../internals/get-built-in'),
i = e('../internals/has-own-property'),
o = e('../internals/to-string'),
a = e('../internals/shared'),
e = e('../internals/native-symbol-registry'),
c = a('string-to-symbol-registry'),
l = a('symbol-to-string-registry');
n(
{ target: 'Symbol', stat: !0, forced: !e },
{
for: function (e) {
e = o(e);
if (i(c, e)) return c[e];
var t = s('Symbol')(e);
return (c[e] = t), (l[t] = e), t;
}
}
);
},
{
'../internals/export': 146,
'../internals/get-built-in': 155,
'../internals/has-own-property': 161,
'../internals/native-symbol-registry': 187,
'../internals/shared': 234,
'../internals/to-string': 253
}
],
311: [
function (e, t, r) {
e('../internals/define-well-known-symbol')('iterator');
},
{ '../internals/define-well-known-symbol': 130 }
],
312: [
function (e, t, r) {
e('../modules/es.symbol.constructor'),
e('../modules/es.symbol.for'),
e('../modules/es.symbol.key-for'),
e('../modules/es.json.stringify'),
e('../modules/es.object.get-own-property-symbols');
},
{
'../modules/es.json.stringify': 282,
'../modules/es.object.get-own-property-symbols': 288,
'../modules/es.symbol.constructor': 308,
'../modules/es.symbol.for': 310,
'../modules/es.symbol.key-for': 313
}
],
313: [
function (e, t, r) {
var n = e('../internals/export'),
s = e('../internals/has-own-property'),
i = e('../internals/is-symbol'),
o = e('../internals/try-to-string'),
a = e('../internals/shared'),
e = e('../internals/native-symbol-registry'),
c = a('symbol-to-string-registry');
n(
{ target: 'Symbol', stat: !0, forced: !e },
{
keyFor: function (e) {
if (!i(e)) throw TypeError(o(e) + ' is not a symbol');
if (s(c, e)) return c[e];
}
}
);
},
{
'../internals/export': 146,
'../internals/has-own-property': 161,
'../internals/is-symbol': 180,
'../internals/native-symbol-registry': 187,
'../internals/shared': 234,
'../internals/try-to-string': 254
}
],
314: [
function (e, t, r) {
'use strict';
var n = e('../internals/function-uncurry-this'),
s = e('../internals/array-buffer-view-core'),
i = n(e('../internals/array-copy-within')),
o = s.aTypedArray;
(0, s.exportTypedArrayMethod)('copyWithin', function (e, t) {
return i(o(this), e, t, 2 < arguments.length ? arguments[2] : void 0);
});
},
{
'../internals/array-buffer-view-core': 100,
'../internals/array-copy-within': 102,
'../internals/function-uncurry-this': 154
}
],
315: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
s = e('../internals/array-iteration').every,
i = n.aTypedArray;
(0, n.exportTypedArrayMethod)('every', function (e) {
return s(i(this), e, 1 < arguments.length ? arguments[1] : void 0);
});
},
{ '../internals/array-buffer-view-core': 100, '../internals/array-iteration': 108 }
],
316: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
s = e('../internals/function-call'),
i = e('../internals/array-fill'),
o = n.aTypedArray;
(0, n.exportTypedArrayMethod)('fill', function (e) {
var t = arguments.length;
return s(i, o(this), e, 1 < t ? arguments[1] : void 0, 2 < t ? arguments[2] : void 0);
});
},
{
'../internals/array-buffer-view-core': 100,
'../internals/array-fill': 103,
'../internals/function-call': 152
}
],
317: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
s = e('../internals/array-iteration').filter,
i = e('../internals/typed-array-from-species-and-list'),
o = n.aTypedArray;
(0, n.exportTypedArrayMethod)('filter', function (e) {
e = s(o(this), e, 1 < arguments.length ? arguments[1] : void 0);
return i(this, e);
});
},
{
'../internals/array-buffer-view-core': 100,
'../internals/array-iteration': 108,
'../internals/typed-array-from-species-and-list': 257
}
],
318: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
s = e('../internals/array-iteration').findIndex,
i = n.aTypedArray;
(0, n.exportTypedArrayMethod)('findIndex', function (e) {
return s(i(this), e, 1 < arguments.length ? arguments[1] : void 0);
});
},
{ '../internals/array-buffer-view-core': 100, '../internals/array-iteration': 108 }
],
319: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
s = e('../internals/array-iteration').find,
i = n.aTypedArray;
(0, n.exportTypedArrayMethod)('find', function (e) {
return s(i(this), e, 1 < arguments.length ? arguments[1] : void 0);
});
},
{ '../internals/array-buffer-view-core': 100, '../internals/array-iteration': 108 }
],
320: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
s = e('../internals/array-iteration').forEach,
i = n.aTypedArray;
(0, n.exportTypedArrayMethod)('forEach', function (e) {
s(i(this), e, 1 < arguments.length ? arguments[1] : void 0);
});
},
{ '../internals/array-buffer-view-core': 100, '../internals/array-iteration': 108 }
],
321: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
s = e('../internals/array-includes').includes,
i = n.aTypedArray;
(0, n.exportTypedArrayMethod)('includes', function (e) {
return s(i(this), e, 1 < arguments.length ? arguments[1] : void 0);
});
},
{ '../internals/array-buffer-view-core': 100, '../internals/array-includes': 107 }
],
322: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
s = e('../internals/array-includes').indexOf,
i = n.aTypedArray;
(0, n.exportTypedArrayMethod)('indexOf', function (e) {
return s(i(this), e, 1 < arguments.length ? arguments[1] : void 0);
});
},
{ '../internals/array-buffer-view-core': 100, '../internals/array-includes': 107 }
],
323: [
function (e, t, r) {
'use strict';
function n() {
return u(d(this));
}
var s = e('../internals/global'),
i = e('../internals/fails'),
o = e('../internals/function-uncurry-this'),
a = e('../internals/array-buffer-view-core'),
c = e('../modules/es.array.iterator'),
l = e('../internals/well-known-symbol')('iterator'),
e = s.Uint8Array,
u = o(c.values),
p = o(c.keys),
f = o(c.entries),
d = a.aTypedArray,
s = a.exportTypedArrayMethod,
h = e && e.prototype,
o = !i(function () {
h[l].call([1]);
}),
c = !!h && h.values && h[l] === h.values && 'values' === h.values.name;
s(
'entries',
function () {
return f(d(this));
},
o
),
s(
'keys',
function () {
return p(d(this));
},
o
),
s('values', n, o || !c, { name: 'values' }),
s(l, n, o || !c, { name: 'values' });
},
{
'../internals/array-buffer-view-core': 100,
'../internals/fails': 147,
'../internals/function-uncurry-this': 154,
'../internals/global': 160,
'../internals/well-known-symbol': 265,
'../modules/es.array.iterator': 275
}
],
324: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
e = e('../internals/function-uncurry-this'),
s = n.aTypedArray,
n = n.exportTypedArrayMethod,
i = e([].join);
n('join', function (e) {
return i(s(this), e);
});
},
{ '../internals/array-buffer-view-core': 100, '../internals/function-uncurry-this': 154 }
],
325: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
s = e('../internals/function-apply'),
i = e('../internals/array-last-index-of'),
o = n.aTypedArray;
(0, n.exportTypedArrayMethod)('lastIndexOf', function (e) {
var t = arguments.length;
return s(i, o(this), 1 < t ? [e, arguments[1]] : [e]);
});
},
{
'../internals/array-buffer-view-core': 100,
'../internals/array-last-index-of': 109,
'../internals/function-apply': 149
}
],
326: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
s = e('../internals/array-iteration').map,
i = e('../internals/typed-array-species-constructor'),
o = n.aTypedArray;
(0, n.exportTypedArrayMethod)('map', function (e) {
return s(o(this), e, 1 < arguments.length ? arguments[1] : void 0, function (e, t) {
return new (i(e))(t);
});
});
},
{
'../internals/array-buffer-view-core': 100,
'../internals/array-iteration': 108,
'../internals/typed-array-species-constructor': 259
}
],
327: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
s = e('../internals/array-reduce').right,
i = n.aTypedArray;
(0, n.exportTypedArrayMethod)('reduceRight', function (e) {
var t = arguments.length;
return s(i(this), e, t, 1 < t ? arguments[1] : void 0);
});
},
{ '../internals/array-buffer-view-core': 100, '../internals/array-reduce': 112 }
],
328: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
s = e('../internals/array-reduce').left,
i = n.aTypedArray;
(0, n.exportTypedArrayMethod)('reduce', function (e) {
var t = arguments.length;
return s(i(this), e, t, 1 < t ? arguments[1] : void 0);
});
},
{ '../internals/array-buffer-view-core': 100, '../internals/array-reduce': 112 }
],
329: [
function (e, t, r) {
'use strict';
var e = e('../internals/array-buffer-view-core'),
s = e.aTypedArray,
e = e.exportTypedArrayMethod,
i = Math.floor;
e('reverse', function () {
for (var e, t = s(this).length, r = i(t / 2), n = 0; n < r; )
(e = this[n]), (this[n++] = this[--t]), (this[t] = e);
return this;
});
},
{ '../internals/array-buffer-view-core': 100 }
],
330: [
function (e, t, r) {
'use strict';
var n = e('../internals/global'),
i = e('../internals/function-call'),
s = e('../internals/array-buffer-view-core'),
o = e('../internals/length-of-array-like'),
a = e('../internals/to-offset'),
c = e('../internals/to-object'),
e = e('../internals/fails'),
l = n.RangeError,
u = n.Int8Array,
n = u && u.prototype,
p = n && n.set,
f = s.aTypedArray,
n = s.exportTypedArrayMethod,
d = !e(function () {
var e = new Uint8ClampedArray(2);
return i(p, e, { length: 1, 0: 3 }, 1), 3 !== e[1];
}),
s =
d &&
s.NATIVE_ARRAY_BUFFER_VIEWS &&
e(function () {
var e = new u(2);
return e.set(1), e.set('2', 1), 0 !== e[0] || 2 !== e[1];
});
n(
'set',
function (e) {
f(this);
var t = a(1 < arguments.length ? arguments[1] : void 0, 1),
r = c(e);
if (d) return i(p, this, r, t);
var e = this.length,
n = o(r),
s = 0;
if (e < n + t) throw l('Wrong length');
for (; s < n; ) this[t + s] = r[s++];
},
!d || s
);
},
{
'../internals/array-buffer-view-core': 100,
'../internals/fails': 147,
'../internals/function-call': 152,
'../internals/global': 160,
'../internals/length-of-array-like': 185,
'../internals/to-object': 247,
'../internals/to-offset': 248
}
],
331: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
o = e('../internals/typed-array-species-constructor'),
s = e('../internals/fails'),
a = e('../internals/array-slice'),
c = n.aTypedArray;
(0, n.exportTypedArrayMethod)(
'slice',
function (e, t) {
for (var r = a(c(this), e, t), e = o(this), n = 0, s = r.length, i = new e(s); n < s; ) i[n] = r[n++];
return i;
},
s(function () {
new Int8Array(1).slice();
})
);
},
{
'../internals/array-buffer-view-core': 100,
'../internals/array-slice': 114,
'../internals/fails': 147,
'../internals/typed-array-species-constructor': 259
}
],
332: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
s = e('../internals/array-iteration').some,
i = n.aTypedArray;
(0, n.exportTypedArrayMethod)('some', function (e) {
return s(i(this), e, 1 < arguments.length ? arguments[1] : void 0);
});
},
{ '../internals/array-buffer-view-core': 100, '../internals/array-iteration': 108 }
],
333: [
function (e, t, r) {
'use strict';
var n = e('../internals/global'),
s = e('../internals/function-uncurry-this'),
i = e('../internals/fails'),
o = e('../internals/a-callable'),
a = e('../internals/array-sort'),
c = e('../internals/array-buffer-view-core'),
l = e('../internals/engine-ff-version'),
u = e('../internals/engine-is-ie-or-edge'),
p = e('../internals/engine-v8-version'),
f = e('../internals/engine-webkit-version'),
d = c.aTypedArray,
e = c.exportTypedArrayMethod,
h = n.Uint16Array,
m = h && s(h.prototype.sort),
c = !(
!m ||
(i(function () {
m(new h(2), null);
}) &&
i(function () {
m(new h(2), {});
}))
),
y =
!!m &&
!i(function () {
if (p) return p < 74;
if (l) return l < 67;
if (u) return !0;
if (f) return f < 602;
for (var e, t = new h(516), r = Array(516), n = 0; n < 516; n++)
(e = n % 4), (t[n] = 515 - n), (r[n] = n - 2 * e + 3);
for (
m(t, function (e, t) {
return ((e / 4) | 0) - ((t / 4) | 0);
}),
n = 0;
n < 516;
n++
)
if (t[n] !== r[n]) return !0;
});
e(
'sort',
function (e) {
return (
void 0 !== e && o(e),
y
? m(this, e)
: a(
d(this),
((r = e),
function (e, t) {
return void 0 !== r
? +r(e, t) || 0
: t != t
? -1
: e != e
? 1
: 0 === e && 0 === t
? 0 < 1 / e && 1 / t < 0
? 1
: -1
: t < e;
})
)
);
var r;
},
!y || c
);
},
{
'../internals/a-callable': 92,
'../internals/array-buffer-view-core': 100,
'../internals/array-sort': 115,
'../internals/engine-ff-version': 135,
'../internals/engine-is-ie-or-edge': 137,
'../internals/engine-v8-version': 143,
'../internals/engine-webkit-version': 144,
'../internals/fails': 147,
'../internals/function-uncurry-this': 154,
'../internals/global': 160
}
],
334: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core'),
s = e('../internals/to-length'),
i = e('../internals/to-absolute-index'),
o = e('../internals/typed-array-species-constructor'),
a = n.aTypedArray;
(0, n.exportTypedArrayMethod)('subarray', function (e, t) {
var r = a(this),
n = r.length,
e = i(e, n);
return new (o(r))(r.buffer, r.byteOffset + e * r.BYTES_PER_ELEMENT, s((void 0 === t ? n : i(t, n)) - e));
});
},
{
'../internals/array-buffer-view-core': 100,
'../internals/to-absolute-index': 242,
'../internals/to-length': 246,
'../internals/typed-array-species-constructor': 259
}
],
335: [
function (e, t, r) {
'use strict';
var n = e('../internals/global'),
s = e('../internals/function-apply'),
i = e('../internals/array-buffer-view-core'),
o = e('../internals/fails'),
a = e('../internals/array-slice'),
c = n.Int8Array,
l = i.aTypedArray,
e = i.exportTypedArrayMethod,
u = [].toLocaleString,
p =
!!c &&
o(function () {
u.call(new c(1));
});
e(
'toLocaleString',
function () {
return s(u, p ? a(l(this)) : l(this), a(arguments));
},
o(function () {
return [1, 2].toLocaleString() != new c([1, 2]).toLocaleString();
}) ||
!o(function () {
c.prototype.toLocaleString.call([1, 2]);
})
);
},
{
'../internals/array-buffer-view-core': 100,
'../internals/array-slice': 114,
'../internals/fails': 147,
'../internals/function-apply': 149,
'../internals/global': 160
}
],
336: [
function (e, t, r) {
'use strict';
var n = e('../internals/array-buffer-view-core').exportTypedArrayMethod,
s = e('../internals/fails'),
i = e('../internals/global'),
e = e('../internals/function-uncurry-this'),
i = i.Uint8Array,
i = (i && i.prototype) || {},
o = [].toString,
a = e([].join),
e =
(s(function () {
o.call({});
}) &&
(o = function () {
return a(this);
}),
i.toString != o);
n('toString', o, e);
},
{
'../internals/array-buffer-view-core': 100,
'../internals/fails': 147,
'../internals/function-uncurry-this': 154,
'../internals/global': 160
}
],
337: [
function (e, t, r) {
e('../internals/typed-array-constructor')('Uint8', function (n) {
return function (e, t, r) {
return n(this, e, t, r);
};
});
},
{ '../internals/typed-array-constructor': 255 }
],
338: [
function (e, t, r) {
function n(t) {
if (t && t.forEach !== c)
try {
l(t, 'forEach', c);
} catch (e) {
t.forEach = c;
}
}
var s,
i = e('../internals/global'),
o = e('../internals/dom-iterables'),
a = e('../internals/dom-token-list-prototype'),
c = e('../internals/array-for-each'),
l = e('../internals/create-non-enumerable-property');
for (s in o) o[s] && n(i[s] && i[s].prototype);
n(a);
},
{
'../internals/array-for-each': 104,
'../internals/create-non-enumerable-property': 126,
'../internals/dom-iterables': 133,
'../internals/dom-token-list-prototype': 134,
'../internals/global': 160
}
],
339: [
function (e, t, r) {
function n(t, e) {
if (t) {
if (t[u] !== f)
try {
l(t, u, f);
} catch (e) {
t[u] = f;
}
if ((t[p] || l(t, p, e), o[e]))
for (var r in c)
if (t[r] !== c[r])
try {
l(t, r, c[r]);
} catch (e) {
t[r] = c[r];
}
}
}
var s,
i = e('../internals/global'),
o = e('../internals/dom-iterables'),
a = e('../internals/dom-token-list-prototype'),
c = e('../modules/es.array.iterator'),
l = e('../internals/create-non-enumerable-property'),
e = e('../internals/well-known-symbol'),
u = e('iterator'),
p = e('toStringTag'),
f = c.values;
for (s in o) n(i[s] && i[s].prototype, s);
n(a, 'DOMTokenList');
},
{
'../internals/create-non-enumerable-property': 126,
'../internals/dom-iterables': 133,
'../internals/dom-token-list-prototype': 134,
'../internals/global': 160,
'../internals/well-known-symbol': 265,
'../modules/es.array.iterator': 275
}
],
340: [
function (e, t, r) {
function n(e) {
return Object.prototype.toString.call(e);
}
(r.isArray = function (e) {
return Array.isArray ? Array.isArray(e) : '[object Array]' === n(e);
}),
(r.isBoolean = function (e) {
return 'boolean' == typeof e;
}),
(r.isNull = function (e) {
return null === e;
}),
(r.isNullOrUndefined = function (e) {
return null == e;
}),
(r.isNumber = function (e) {
return 'number' == typeof e;
}),
(r.isString = function (e) {
return 'string' == typeof e;
}),
(r.isSymbol = function (e) {
return 'symbol' == typeof e;
}),
(r.isUndefined = function (e) {
return void 0 === e;
}),
(r.isRegExp = function (e) {
return '[object RegExp]' === n(e);
}),
(r.isObject = function (e) {
return 'object' == typeof e && null !== e;
}),
(r.isDate = function (e) {
return '[object Date]' === n(e);
}),
(r.isError = function (e) {
return '[object Error]' === n(e) || e instanceof Error;
}),
(r.isFunction = function (e) {
return 'function' == typeof e;
}),
(r.isPrimitive = function (e) {
return (
null === e ||
'boolean' == typeof e ||
'number' == typeof e ||
'string' == typeof e ||
'symbol' == typeof e ||
void 0 === e
);
}),
(r.isBuffer = e('buffer').Buffer.isBuffer);
},
{ buffer: 89 }
],
341: [
function (e, t, r) {
!(function (e) {
'use strict';
(b = /d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g),
(g =
/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g),
(v = /[^-+\dA-Z]/g);
var b,
g,
v,
j = function (e, t, r, n) {
if (
(1 !== arguments.length ||
'string' !==
(function (e) {
if (null === e) return 'null';
if (void 0 === e) return 'undefined';
if ('object' != typeof e) return typeof e;
if (Array.isArray(e)) return 'array';
return {}.toString.call(e).slice(8, -1).toLowerCase();
})(e) ||
/\d/.test(e) ||
((t = e), (e = void 0)),
(e = e || new Date()) instanceof Date || (e = new Date(e)),
isNaN(e))
)
throw TypeError('Invalid date');
var s,
i = (t = String(j.masks[t] || t || j.masks.default)).slice(0, 4),
i =
(('UTC:' !== i && 'GMT:' !== i) || ((t = t.slice(4)), (r = !0), 'GMT:' === i && (n = !0)),
r ? 'getUTC' : 'get'),
o = e[i + 'Date'](),
a = e[i + 'Day'](),
c = e[i + 'Month'](),
l = e[i + 'FullYear'](),
u = e[i + 'Hours'](),
p = e[i + 'Minutes'](),
f = e[i + 'Seconds'](),
i = e[i + 'Milliseconds'](),
d = r ? 0 : e.getTimezoneOffset(),
h =
((h = e),
(h = new Date(h.getFullYear(), h.getMonth(), h.getDate())).setDate(
h.getDate() - ((h.getDay() + 6) % 7) + 3
),
(m = new Date(h.getFullYear(), 0, 4)).setDate(m.getDate() - ((m.getDay() + 6) % 7) + 3),
(s = h.getTimezoneOffset() - m.getTimezoneOffset()),
h.setHours(h.getHours() - s),
(s = (h - m) / 6048e5),
1 + Math.floor(s)),
m = (function (e) {
e = e.getDay();
0 === e && (e = 7);
return e;
})(e),
y = {
d: o,
dd: w(o),
ddd: j.i18n.dayNames[a],
dddd: j.i18n.dayNames[a + 7],
m: c + 1,
mm: w(c + 1),
mmm: j.i18n.monthNames[c],
mmmm: j.i18n.monthNames[c + 12],
yy: String(l).slice(2),
yyyy: l,
h: u % 12 || 12,
hh: w(u % 12 || 12),
H: u,
HH: w(u),
M: p,
MM: w(p),
s: f,
ss: w(f),
l: w(i, 3),
L: w(Math.round(i / 10)),
t: u < 12 ? 'a' : 'p',
tt: u < 12 ? 'am' : 'pm',
T: u < 12 ? 'A' : 'P',
TT: u < 12 ? 'AM' : 'PM',
Z: n ? 'GMT' : r ? 'UTC' : (String(e).match(g) || ['']).pop().replace(v, ''),
o: (0 < d ? '-' : '+') + w(100 * Math.floor(Math.abs(d) / 60) + (Math.abs(d) % 60), 4),
S: ['th', 'st', 'nd', 'rd'][3 < o % 10 ? 0 : (((o % 100) - (o % 10) != 10) * o) % 10],
W: h,
N: m
};
return t.replace(b, function (e) {
return e in y ? y[e] : e.slice(1, e.length - 1);
});
};
function w(e, t) {
for (e = String(e), t = t || 2; e.length < t; ) e = '0' + e;
return e;
}
(j.masks = {
default: 'ddd mmm dd yyyy HH:MM:ss',
shortDate: 'm/d/yy',
mediumDate: 'mmm d, yyyy',
longDate: 'mmmm d, yyyy',
fullDate: 'dddd, mmmm d, yyyy',
shortTime: 'h:MM TT',
mediumTime: 'h:MM:ss TT',
longTime: 'h:MM:ss TT Z',
isoDate: 'yyyy-mm-dd',
isoTime: 'HH:MM:ss',
isoDateTime: "yyyy-mm-dd'T'HH:MM:sso",
isoUtcDateTime: "UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",
expiresHeaderFormat: 'ddd, dd mmm yyyy HH:MM:ss Z'
}),
(j.i18n = {
dayNames: [
'Sun',
'Mon',
'Tue',
'Wed',
'Thu',
'Fri',
'Sat',
'Sunday',
'Monday',
'Tuesday',
'Wednesday',
'Thursday',
'Friday',
'Saturday'
],
monthNames: [
'Jan',
'Feb',
'Mar',
'Apr',
'May',
'Jun',
'Jul',
'Aug',
'Sep',
'Oct',
'Nov',
'Dec',
'January',
'February',
'March',
'April',
'May',
'June',
'July',
'August',
'September',
'October',
'November',
'December'
]
}),
'object' == typeof r ? (t.exports = j) : (e.dateFormat = j);
})(this);
},
{}
],
342: [
function (e, t, r) {
'use strict';
var o = /["'&<>]/;
t.exports = function (e) {
var t,
r = '' + e,
e = o.exec(r);
if (!e) return r;
var n = '',
s = 0,
i = 0;
for (s = e.index; s < r.length; s++) {
switch (r.charCodeAt(s)) {
case 34:
t = '"';
break;
case 38:
t = '&';
break;
case 39:
t = ''';
break;
case 60:
t = '<';
break;
case 62:
t = '>';
break;
default:
continue;
}
i !== s && (n += r.substring(i, s)), (i = s + 1), (n += t);
}
return i !== s ? n + r.substring(i, s) : n;
};
},
{}
],
343: [
function (e, t, r) {
function n() {
(this._events = this._events || {}), (this._maxListeners = this._maxListeners || void 0);
}
function c(e) {
return 'function' == typeof e;
}
function l(e) {
return 'object' == typeof e && null !== e;
}
function u(e) {
return void 0 === e;
}
(((t.exports = n).EventEmitter = n).prototype._events = void 0),
(n.prototype._maxListeners = void 0),
(n.defaultMaxListeners = 10),
(n.prototype.setMaxListeners = function (e) {
if ('number' != typeof e || e < 0 || isNaN(e)) throw TypeError('n must be a positive number');
return (this._maxListeners = e), this;
}),
(n.prototype.emit = function (e) {
var t, r, n, s, i, o, a;
if (
(this._events || (this._events = {}), 'error' === e) &&
(!this._events.error || (l(this._events.error) && !this._events.error.length))
)
throw (a = arguments[1]) instanceof Error
? a
: (((o = new Error('Uncaught, unspecified "error" event. (' + a + ')')).context = a), o);
if (u((t = this._events[e]))) return !1;
if (c(t))
switch (arguments.length) {
case 1:
t.call(this);
break;
case 2:
t.call(this, arguments[1]);
break;
case 3:
t.call(this, arguments[1], arguments[2]);
break;
default:
(n = Array.prototype.slice.call(arguments, 1)), t.apply(this, n);
}
else if (l(t))
for (n = Array.prototype.slice.call(arguments, 1), r = (i = t.slice()).length, s = 0; s < r; s++)
i[s].apply(this, n);
return !0;
}),
(n.prototype.on = n.prototype.addListener =
function (e, t) {
if (c(t))
return (
this._events || (this._events = {}),
this._events.newListener && this.emit('newListener', e, c(t.listener) ? t.listener : t),
this._events[e]
? l(this._events[e])
? this._events[e].push(t)
: (this._events[e] = [this._events[e], t])
: (this._events[e] = t),
l(this._events[e]) &&
!this._events[e].warned &&
(t = u(this._maxListeners) ? n.defaultMaxListeners : this._maxListeners) &&
0 < t &&
this._events[e].length > t &&
((this._events[e].warned = !0),
console.error(
'(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.',
this._events[e].length
),
'function' == typeof console.trace && console.trace()),
this
);
throw TypeError('listener must be a function');
}),
(n.prototype.once = function (e, t) {
if (!c(t)) throw TypeError('listener must be a function');
var r = !1;
function n() {
this.removeListener(e, n), r || ((r = !0), t.apply(this, arguments));
}
return (n.listener = t), this.on(e, n), this;
}),
(n.prototype.removeListener = function (e, t) {
var r, n, s, i;
if (!c(t)) throw TypeError('listener must be a function');
if (!this._events || !this._events[e]) return this;
if (((s = (r = this._events[e]).length), (n = -1), r === t || (c(r.listener) && r.listener === t)))
delete this._events[e], this._events.removeListener && this.emit('removeListener', e, t);
else if (l(r)) {
for (i = s; 0 < i--; )
if (r[i] === t || (r[i].listener && r[i].listener === t)) {
n = i;
break;
}
if (n < 0) return this;
1 === r.length ? ((r.length = 0), delete this._events[e]) : r.splice(n, 1),
this._events.removeListener && this.emit('removeListener', e, t);
}
return this;
}),
(n.prototype.removeAllListeners = function (e) {
var t, r;
if (!this._events) return this;
if (!this._events.removeListener)
return 0 === arguments.length ? (this._events = {}) : this._events[e] && delete this._events[e], this;
if (0 === arguments.length) {
for (t in this._events) 'removeListener' !== t && this.removeAllListeners(t);
return this.removeAllListeners('removeListener'), (this._events = {}), this;
}
if (c((r = this._events[e]))) this.removeListener(e, r);
else if (r) for (; r.length; ) this.removeListener(e, r[r.length - 1]);
return delete this._events[e], this;
}),
(n.prototype.listeners = function (e) {
e =
this._events && this._events[e]
? c(this._events[e])
? [this._events[e]]
: this._events[e].slice()
: [];
return e;
}),
(n.prototype.listenerCount = function (e) {
if (this._events) {
e = this._events[e];
if (c(e)) return 1;
if (e) return e.length;
}
return 0;
}),
(n.listenerCount = function (e, t) {
return e.listenerCount(t);
});
},
{}
],
344: [
function (e, t, r) {
var n,
s = e('http'),
i = t.exports;
for (n in s) s.hasOwnProperty(n) && (i[n] = s[n]);
i.request = function (e, t) {
return ((e = e || {}).scheme = 'https'), (e.protocol = 'https:'), s.request.call(this, e, t);
};
},
{ http: 442 }
],
345: [
function (e, t, r) {
'use strict';
var n = e('util'),
s = e('ms');
t.exports = function (e) {
if ('number' == typeof e) return e;
var t = s(e);
return (
void 0 === t &&
((e = new Error(n.format('humanize-ms(%j) result undefined', e))), console.warn(e.stack)),
t
);
};
},
{ ms: 361, util: 394 }
],
346: [
function (e, t, r) {
(r.read = function (e, t, r, n, s) {
var i,
o,
a = 8 * s - n - 1,
c = (1 << a) - 1,
l = c >> 1,
u = -7,
p = r ? s - 1 : 0,
f = r ? -1 : 1,
s = e[t + p];
for (p += f, i = s & ((1 << -u) - 1), s >>= -u, u += a; 0 < u; i = 256 * i + e[t + p], p += f, u -= 8);
for (o = i & ((1 << -u) - 1), i >>= -u, u += n; 0 < u; o = 256 * o + e[t + p], p += f, u -= 8);
if (0 === i) i = 1 - l;
else {
if (i === c) return o ? NaN : (1 / 0) * (s ? -1 : 1);
(o += Math.pow(2, n)), (i -= l);
}
return (s ? -1 : 1) * o * Math.pow(2, i - n);
}),
(r.write = function (e, t, r, n, s, i) {
var o,
a,
c = 8 * i - s - 1,
l = (1 << c) - 1,
u = l >> 1,
p = 23 === s ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
f = n ? 0 : i - 1,
d = n ? 1 : -1,
i = t < 0 || (0 === t && 1 / t < 0) ? 1 : 0;
for (
t = Math.abs(t),
isNaN(t) || t === 1 / 0
? ((a = isNaN(t) ? 1 : 0), (o = l))
: ((o = Math.floor(Math.log(t) / Math.LN2)),
t * (n = Math.pow(2, -o)) < 1 && (o--, (n *= 2)),
2 <= (t += 1 <= o + u ? p / n : p * Math.pow(2, 1 - u)) * n && (o++, (n /= 2)),
l <= o + u
? ((a = 0), (o = l))
: 1 <= o + u
? ((a = (t * n - 1) * Math.pow(2, s)), (o += u))
: ((a = t * Math.pow(2, u - 1) * Math.pow(2, s)), (o = 0)));
8 <= s;
e[r + f] = 255 & a, f += d, a /= 256, s -= 8
);
for (o = (o << s) | a, c += s; 0 < c; e[r + f] = 255 & o, f += d, o /= 256, c -= 8);
e[r + f - d] |= 128 * i;
});
},
{}
],
347: [
function (e, t, r) {
'use strict';
var n,
s,
i,
o = [
e('./nextTick'),
e('./queueMicrotask'),
e('./mutation.js'),
e('./messageChannel'),
e('./stateChange'),
e('./timeout')
],
a = -1,
c = [],
l = !1;
function u() {
n && s && ((n = !1), s.length ? (c = s.concat(c)) : (a = -1), c.length && p());
}
function p() {
if (!n) {
n = !(l = !1);
for (var e = c.length, t = setTimeout(u); e; ) {
for (s = c, c = []; s && ++a < e; ) s[a].run();
(a = -1), (e = c.length);
}
(s = null), (n = !(a = -1)), clearTimeout(t);
}
}
for (var f = -1, d = o.length; ++f < d; )
if (o[f] && o[f].test && o[f].test()) {
i = o[f].install(p);
break;
}
function h(e, t) {
(this.fun = e), (this.array = t);
}
(h.prototype.run = function () {
var e = this.fun,
t = this.array;
switch (t.length) {
case 0:
return e();
case 1:
return e(t[0]);
case 2:
return e(t[0], t[1]);
case 3:
return e(t[0], t[1], t[2]);
default:
return e.apply(null, t);
}
}),
(t.exports = function (e) {
var t = new Array(arguments.length - 1);
if (1 < arguments.length) for (var r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
c.push(new h(e, t)), l || n || ((l = !0), i());
});
},
{
'./messageChannel': 348,
'./mutation.js': 349,
'./nextTick': 87,
'./queueMicrotask': 350,
'./stateChange': 351,
'./timeout': 352
}
],
348: [
function (e, t, n) {
!function (r) {
!function () {
'use strict';
(n.test = function () {
return !r.setImmediate && void 0 !== r.MessageChannel;
}),
(n.install = function (e) {
var t = new r.MessageChannel();
return (
(t.port1.onmessage = e),
function () {
t.port2.postMessage(0);
}
);
});
}.call(this);
}.call(
this,
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {}
);
},
{}
],
349: [
function (e, t, r) {
!function (s) {
!function () {
'use strict';
var n = s.MutationObserver || s.WebKitMutationObserver;
(r.test = function () {
return n;
}),
(r.install = function (e) {
var t = 0,
e = new n(e),
r = s.document.createTextNode('');
return (
e.observe(r, { characterData: !0 }),
function () {
r.data = t = ++t % 2;
}
);
});
}.call(this);
}.call(
this,
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {}
);
},
{}
],
350: [
function (e, t, r) {
!function (t) {
!function () {
'use strict';
(r.test = function () {
return 'function' == typeof t.queueMicrotask;
}),
(r.install = function (e) {
return function () {
t.queueMicrotask(e);
};
});
}.call(this);
}.call(
this,
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {}
);
},
{}
],
351: [
function (e, t, n) {
!function (r) {
!function () {
'use strict';
(n.test = function () {
return 'document' in r && 'onreadystatechange' in r.document.createElement('script');
}),
(n.install = function (t) {
return function () {
var e = r.document.createElement('script');
return (
(e.onreadystatechange = function () {
t(), (e.onreadystatechange = null), e.parentNode.removeChild(e), (e = null);
}),
r.document.documentElement.appendChild(e),
t
);
};
});
}.call(this);
}.call(
this,
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {}
);
},
{}
],
352: [
function (e, t, r) {
'use strict';
(r.test = function () {
return !0;
}),
(r.install = function (e) {
return function () {
setTimeout(e, 0);
};
});
},
{}
],
353: [
function (e, t, r) {
'function' == typeof Object.create
? (t.exports = function (e, t) {
t &&
((e.super_ = t),
(e.prototype = Object.create(t.prototype, {
constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 }
})));
})
: (t.exports = function (e, t) {
var r;
t &&
((e.super_ = t),
((r = function () {}).prototype = t.prototype),
(e.prototype = new r()),
(e.prototype.constructor = e));
});
},
{}
],
354: [
function (e, t, r) {
function n(e) {
return !!e.constructor && 'function' == typeof e.constructor.isBuffer && e.constructor.isBuffer(e);
}
t.exports = function (e) {
return (
null != e &&
(n(e) ||
('function' == typeof (t = e).readFloatLE && 'function' == typeof t.slice && n(t.slice(0, 0))) ||
!!e._isBuffer)
);
var t;
};
},
{}
],
355: [
function (e, t, r) {
var n = {}.toString;
t.exports =
Array.isArray ||
function (e) {
return '[object Array]' == n.call(e);
};
},
{}
],
356: [
function (e, k, n) {
!function (r) {
!function () {
var e, t;
(e =
'undefined' != typeof self ? self : 'undefined' != typeof window ? window : void 0 !== r ? r : this),
(t = function (t) {
'use strict';
function r(e) {
var t;
return e.length < 2
? (t = e.charCodeAt(0)) < 128
? e
: t < 2048
? b(192 | (t >>> 6)) + b(128 | (63 & t))
: b(224 | ((t >>> 12) & 15)) + b(128 | ((t >>> 6) & 63)) + b(128 | (63 & t))
: ((t = 65536 + 1024 * (e.charCodeAt(0) - 55296) + (e.charCodeAt(1) - 56320)),
b(240 | ((t >>> 18) & 7)) +
b(128 | ((t >>> 12) & 63)) +
b(128 | ((t >>> 6) & 63)) +
b(128 | (63 & t)));
}
function n(e) {
var t = [0, 2, 1][e.length % 3],
e =
(e.charCodeAt(0) << 16) |
((1 < e.length ? e.charCodeAt(1) : 0) << 8) |
(2 < e.length ? e.charCodeAt(2) : 0);
return [
m.charAt(e >>> 18),
m.charAt((e >>> 12) & 63),
2 <= t ? '=' : m.charAt((e >>> 6) & 63),
1 <= t ? '=' : m.charAt(63 & e)
].join('');
}
function s(e) {
return j(v(String(e)));
}
function c(e) {
return e
.replace(/[+\/]/g, function (e) {
return '+' == e ? '-' : '_';
})
.replace(/=/g, '');
}
function i(e, t) {
return t ? c(s(e)) : s(e);
}
function o(e) {
switch (e.length) {
case 4:
var t =
(((7 & e.charCodeAt(0)) << 18) |
((63 & e.charCodeAt(1)) << 12) |
((63 & e.charCodeAt(2)) << 6) |
(63 & e.charCodeAt(3))) -
65536;
return b(55296 + (t >>> 10)) + b(56320 + (1023 & t));
case 3:
return b(
((15 & e.charCodeAt(0)) << 12) | ((63 & e.charCodeAt(1)) << 6) | (63 & e.charCodeAt(2))
);
default:
return b(((31 & e.charCodeAt(0)) << 6) | (63 & e.charCodeAt(1)));
}
}
function a(e) {
var t = (r = e.length) % 4,
r =
(0 < r ? y[e.charAt(0)] << 18 : 0) |
(1 < r ? y[e.charAt(1)] << 12 : 0) |
(2 < r ? y[e.charAt(2)] << 6 : 0) |
(3 < r ? y[e.charAt(3)] : 0);
return (
((e = [b(r >>> 16), b((r >>> 8) & 255), b(255 & r)]).length -= [0, 0, 2, 1][t]), e.join('')
);
}
function l(e) {
return T(String(e).replace(/[^A-Za-z0-9\+\/]/g, ''));
}
function u(e) {
return String(e)
.replace(/[-_]/g, function (e) {
return '-' == e ? '+' : '/';
})
.replace(/[^A-Za-z0-9\+\/]/g, '');
}
function e(e) {
return (e = u(e)), x(T(e));
}
var p,
f,
d,
h = (t = t || {}).Base64,
m = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',
y = (function (e) {
for (var t = {}, r = 0, n = e.length; r < n; r++) t[e.charAt(r)] = r;
return t;
})(m),
b = String.fromCharCode,
g = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,
v = function (e) {
return e.replace(g, r);
},
j =
t.btoa && 'function' == typeof t.btoa
? function (e) {
return t.btoa(e);
}
: function (e) {
if (e.match(/[^\x00-\xFF]/))
throw new RangeError('The string contains invalid characters.');
return e.replace(/[\s\S]{1,3}/g, n);
},
w =
(t.Uint8Array &&
(p = function (e, t) {
for (var r = '', n = 0, s = e.length; n < s; n += 3) {
var i = e[n],
o = e[n + 1],
a = e[n + 2],
i = (i << 16) | (o << 8) | a;
r +=
m.charAt(i >>> 18) +
m.charAt((i >>> 12) & 63) +
(void 0 !== o ? m.charAt((i >>> 6) & 63) : '=') +
(void 0 !== a ? m.charAt(63 & i) : '=');
}
return t ? c(r) : r;
}),
/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g),
x = function (e) {
return e.replace(w, o);
},
T =
t.atob && 'function' == typeof t.atob
? function (e) {
return t.atob(e);
}
: function (e) {
return e.replace(/\S{1,4}/g, a);
};
t.Uint8Array &&
(f = function (e) {
return Uint8Array.from(l(u(e)), function (e) {
return e.charCodeAt(0);
});
});
return (
(t.Base64 = {
VERSION: '2.6.4',
atob: l,
btoa: j,
fromBase64: e,
toBase64: i,
utob: v,
encode: i,
encodeURI: function (e) {
return i(e, !0);
},
btou: x,
decode: e,
noConflict: function () {
var e = t.Base64;
return (t.Base64 = h), e;
},
fromUint8Array: p,
toUint8Array: f
}),
'function' == typeof Object.defineProperty &&
((d = function (e) {
return { value: e, enumerable: !1, writable: !0, configurable: !0 };
}),
(t.Base64.extendString = function () {
Object.defineProperty(
String.prototype,
'fromBase64',
d(function () {
return e(this);
})
),
Object.defineProperty(
String.prototype,
'toBase64',
d(function (e) {
return i(this, e);
})
),
Object.defineProperty(
String.prototype,
'toBase64URI',
d(function () {
return i(this, !0);
})
);
})),
t.Meteor && (Base64 = t.Base64),
void 0 !== k && k.exports && (k.exports.Base64 = t.Base64),
{ Base64: t.Base64 }
);
}),
'object' == typeof n && void 0 !== k ? (k.exports = t(e)) : t(e);
}.call(this);
}.call(
this,
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {}
);
},
{}
],
357: [
function (e, t, r) {
'use strict';
t.exports = function (r, n, s) {
if (!r) throw new TypeError('argument dest is required');
if (!n) throw new TypeError('argument src is required');
void 0 === s && (s = !0);
return (
Object.getOwnPropertyNames(n).forEach(function (e) {
var t;
(!s && i.call(r, e)) || ((t = Object.getOwnPropertyDescriptor(n, e)), Object.defineProperty(r, e, t));
}),
r
);
};
var i = Object.prototype.hasOwnProperty;
},
{}
],
358: [
function (e, t, r) {
'use strict';
function n() {
(this._types = Object.create(null)), (this._extensions = Object.create(null));
for (var e = 0; e < arguments.length; e++) this.define(arguments[e]);
(this.define = this.define.bind(this)),
(this.getType = this.getType.bind(this)),
(this.getExtension = this.getExtension.bind(this));
}
e('core-js/modules/es.array.map.js'),
e('core-js/modules/es.regexp.exec.js'),
e('core-js/modules/es.string.replace.js'),
e('core-js/modules/es.regexp.constructor.js'),
e('core-js/modules/es.regexp.to-string.js'),
(n.prototype.define = function (e, t) {
for (var r in e) {
for (
var n,
s = e[r].map(function (e) {
return e.toLowerCase();
}),
r = r.toLowerCase(),
i = 0;
i < s.length;
i++
) {
var o = s[i];
if ('*' !== o[0]) {
if (!t && o in this._types)
throw new Error(
'Attempt to change mapping for "' +
o +
'" extension from "' +
this._types[o] +
'" to "' +
r +
'". Pass `force=true` to allow this, otherwise remove "' +
o +
'" from the list of extensions for "' +
r +
'".'
);
this._types[o] = r;
}
}
(!t && this._extensions[r]) || ((n = s[0]), (this._extensions[r] = '*' !== n[0] ? n : n.substr(1)));
}
}),
(n.prototype.getType = function (e) {
var t = (e = String(e)).replace(/^.*[/\\]/, '').toLowerCase(),
r = t.replace(/^.*\./, '').toLowerCase(),
e = t.length < e.length;
return ((r.length < t.length - 1 || !e) && this._types[r]) || null;
}),
(n.prototype.getExtension = function (e) {
return ((e = /^\s*([^;\s]*)/.test(e) && RegExp.$1) && this._extensions[e.toLowerCase()]) || null;
}),
(t.exports = n);
},
{
'core-js/modules/es.array.map.js': 277,
'core-js/modules/es.regexp.constructor.js': 298,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.regexp.to-string.js': 300,
'core-js/modules/es.string.replace.js': 304
}
],
359: [
function (e, t, r) {
'use strict';
var n = e('./Mime');
t.exports = new n(e('./types/standard'));
},
{ './Mime': 358, './types/standard': 360 }
],
360: [
function (e, t, r) {
'use strict';
t.exports = {
'application/andrew-inset': ['ez'],
'application/applixware': ['aw'],
'application/atom+xml': ['atom'],
'application/atomcat+xml': ['atomcat'],
'application/atomdeleted+xml': ['atomdeleted'],
'application/atomsvc+xml': ['atomsvc'],
'application/atsc-dwd+xml': ['dwd'],
'application/atsc-held+xml': ['held'],
'application/atsc-rsat+xml': ['rsat'],
'application/bdoc': ['bdoc'],
'application/calendar+xml': ['xcs'],
'application/ccxml+xml': ['ccxml'],
'application/cdfx+xml': ['cdfx'],
'application/cdmi-capability': ['cdmia'],
'application/cdmi-container': ['cdmic'],
'application/cdmi-domain': ['cdmid'],
'application/cdmi-object': ['cdmio'],
'application/cdmi-queue': ['cdmiq'],
'application/cu-seeme': ['cu'],
'application/dash+xml': ['mpd'],
'application/davmount+xml': ['davmount'],
'application/docbook+xml': ['dbk'],
'application/dssc+der': ['dssc'],
'application/dssc+xml': ['xdssc'],
'application/ecmascript': ['es', 'ecma'],
'application/emma+xml': ['emma'],
'application/emotionml+xml': ['emotionml'],
'application/epub+zip': ['epub'],
'application/exi': ['exi'],
'application/express': ['exp'],
'application/fdt+xml': ['fdt'],
'application/font-tdpfr': ['pfr'],
'application/geo+json': ['geojson'],
'application/gml+xml': ['gml'],
'application/gpx+xml': ['gpx'],
'application/gxf': ['gxf'],
'application/gzip': ['gz'],
'application/hjson': ['hjson'],
'application/hyperstudio': ['stk'],
'application/inkml+xml': ['ink', 'inkml'],
'application/ipfix': ['ipfix'],
'application/its+xml': ['its'],
'application/java-archive': ['jar', 'war', 'ear'],
'application/java-serialized-object': ['ser'],
'application/java-vm': ['class'],
'application/javascript': ['js', 'mjs'],
'application/json': ['json', 'map'],
'application/json5': ['json5'],
'application/jsonml+json': ['jsonml'],
'application/ld+json': ['jsonld'],
'application/lgr+xml': ['lgr'],
'application/lost+xml': ['lostxml'],
'application/mac-binhex40': ['hqx'],
'application/mac-compactpro': ['cpt'],
'application/mads+xml': ['mads'],
'application/manifest+json': ['webmanifest'],
'application/marc': ['mrc'],
'application/marcxml+xml': ['mrcx'],
'application/mathematica': ['ma', 'nb', 'mb'],
'application/mathml+xml': ['mathml'],
'application/mbox': ['mbox'],
'application/mediaservercontrol+xml': ['mscml'],
'application/metalink+xml': ['metalink'],
'application/metalink4+xml': ['meta4'],
'application/mets+xml': ['mets'],
'application/mmt-aei+xml': ['maei'],
'application/mmt-usd+xml': ['musd'],
'application/mods+xml': ['mods'],
'application/mp21': ['m21', 'mp21'],
'application/mp4': ['mp4s', 'm4p'],
'application/msword': ['doc', 'dot'],
'application/mxf': ['mxf'],
'application/n-quads': ['nq'],
'application/n-triples': ['nt'],
'application/node': ['cjs'],
'application/octet-stream': [
'bin',
'dms',
'lrf',
'mar',
'so',
'dist',
'distz',
'pkg',
'bpk',
'dump',
'elc',
'deploy',
'exe',
'dll',
'deb',
'dmg',
'iso',
'img',
'msi',
'msp',
'msm',
'buffer'
],
'application/oda': ['oda'],
'application/oebps-package+xml': ['opf'],
'application/ogg': ['ogx'],
'application/omdoc+xml': ['omdoc'],
'application/onenote': ['onetoc', 'onetoc2', 'onetmp', 'onepkg'],
'application/oxps': ['oxps'],
'application/p2p-overlay+xml': ['relo'],
'application/patch-ops-error+xml': ['xer'],
'application/pdf': ['pdf'],
'application/pgp-encrypted': ['pgp'],
'application/pgp-signature': ['asc', 'sig'],
'application/pics-rules': ['prf'],
'application/pkcs10': ['p10'],
'application/pkcs7-mime': ['p7m', 'p7c'],
'application/pkcs7-signature': ['p7s'],
'application/pkcs8': ['p8'],
'application/pkix-attr-cert': ['ac'],
'application/pkix-cert': ['cer'],
'application/pkix-crl': ['crl'],
'application/pkix-pkipath': ['pkipath'],
'application/pkixcmp': ['pki'],
'application/pls+xml': ['pls'],
'application/postscript': ['ai', 'eps', 'ps'],
'application/provenance+xml': ['provx'],
'application/pskc+xml': ['pskcxml'],
'application/raml+yaml': ['raml'],
'application/rdf+xml': ['rdf', 'owl'],
'application/reginfo+xml': ['rif'],
'application/relax-ng-compact-syntax': ['rnc'],
'application/resource-lists+xml': ['rl'],
'application/resource-lists-diff+xml': ['rld'],
'application/rls-services+xml': ['rs'],
'application/route-apd+xml': ['rapd'],
'application/route-s-tsid+xml': ['sls'],
'application/route-usd+xml': ['rusd'],
'application/rpki-ghostbusters': ['gbr'],
'application/rpki-manifest': ['mft'],
'application/rpki-roa': ['roa'],
'application/rsd+xml': ['rsd'],
'application/rss+xml': ['rss'],
'application/rtf': ['rtf'],
'application/sbml+xml': ['sbml'],
'application/scvp-cv-request': ['scq'],
'application/scvp-cv-response': ['scs'],
'application/scvp-vp-request': ['spq'],
'application/scvp-vp-response': ['spp'],
'application/sdp': ['sdp'],
'application/senml+xml': ['senmlx'],
'application/sensml+xml': ['sensmlx'],
'application/set-payment-initiation': ['setpay'],
'application/set-registration-initiation': ['setreg'],
'application/shf+xml': ['shf'],
'application/sieve': ['siv', 'sieve'],
'application/smil+xml': ['smi', 'smil'],
'application/sparql-query': ['rq'],
'application/sparql-results+xml': ['srx'],
'application/srgs': ['gram'],
'application/srgs+xml': ['grxml'],
'application/sru+xml': ['sru'],
'application/ssdl+xml': ['ssdl'],
'application/ssml+xml': ['ssml'],
'application/swid+xml': ['swidtag'],
'application/tei+xml': ['tei', 'teicorpus'],
'application/thraud+xml': ['tfi'],
'application/timestamped-data': ['tsd'],
'application/toml': ['toml'],
'application/trig': ['trig'],
'application/ttml+xml': ['ttml'],
'application/ubjson': ['ubj'],
'application/urc-ressheet+xml': ['rsheet'],
'application/urc-targetdesc+xml': ['td'],
'application/voicexml+xml': ['vxml'],
'application/wasm': ['wasm'],
'application/widget': ['wgt'],
'application/winhlp': ['hlp'],
'application/wsdl+xml': ['wsdl'],
'application/wspolicy+xml': ['wspolicy'],
'application/xaml+xml': ['xaml'],
'application/xcap-att+xml': ['xav'],
'application/xcap-caps+xml': ['xca'],
'application/xcap-diff+xml': ['xdf'],
'application/xcap-el+xml': ['xel'],
'application/xcap-ns+xml': ['xns'],
'application/xenc+xml': ['xenc'],
'application/xhtml+xml': ['xhtml', 'xht'],
'application/xliff+xml': ['xlf'],
'application/xml': ['xml', 'xsl', 'xsd', 'rng'],
'application/xml-dtd': ['dtd'],
'application/xop+xml': ['xop'],
'application/xproc+xml': ['xpl'],
'application/xslt+xml': ['*xsl', 'xslt'],
'application/xspf+xml': ['xspf'],
'application/xv+xml': ['mxml', 'xhvml', 'xvml', 'xvm'],
'application/yang': ['yang'],
'application/yin+xml': ['yin'],
'application/zip': ['zip'],
'audio/3gpp': ['*3gpp'],
'audio/adpcm': ['adp'],
'audio/amr': ['amr'],
'audio/basic': ['au', 'snd'],
'audio/midi': ['mid', 'midi', 'kar', 'rmi'],
'audio/mobile-xmf': ['mxmf'],
'audio/mp3': ['*mp3'],
'audio/mp4': ['m4a', 'mp4a'],
'audio/mpeg': ['mpga', 'mp2', 'mp2a', 'mp3', 'm2a', 'm3a'],
'audio/ogg': ['oga', 'ogg', 'spx', 'opus'],
'audio/s3m': ['s3m'],
'audio/silk': ['sil'],
'audio/wav': ['wav'],
'audio/wave': ['*wav'],
'audio/webm': ['weba'],
'audio/xm': ['xm'],
'font/collection': ['ttc'],
'font/otf': ['otf'],
'font/ttf': ['ttf'],
'font/woff': ['woff'],
'font/woff2': ['woff2'],
'image/aces': ['exr'],
'image/apng': ['apng'],
'image/avif': ['avif'],
'image/bmp': ['bmp'],
'image/cgm': ['cgm'],
'image/dicom-rle': ['drle'],
'image/emf': ['emf'],
'image/fits': ['fits'],
'image/g3fax': ['g3'],
'image/gif': ['gif'],
'image/heic': ['heic'],
'image/heic-sequence': ['heics'],
'image/heif': ['heif'],
'image/heif-sequence': ['heifs'],
'image/hej2k': ['hej2'],
'image/hsj2': ['hsj2'],
'image/ief': ['ief'],
'image/jls': ['jls'],
'image/jp2': ['jp2', 'jpg2'],
'image/jpeg': ['jpeg', 'jpg', 'jpe'],
'image/jph': ['jph'],
'image/jphc': ['jhc'],
'image/jpm': ['jpm'],
'image/jpx': ['jpx', 'jpf'],
'image/jxr': ['jxr'],
'image/jxra': ['jxra'],
'image/jxrs': ['jxrs'],
'image/jxs': ['jxs'],
'image/jxsc': ['jxsc'],
'image/jxsi': ['jxsi'],
'image/jxss': ['jxss'],
'image/ktx': ['ktx'],
'image/ktx2': ['ktx2'],
'image/png': ['png'],
'image/sgi': ['sgi'],
'image/svg+xml': ['svg', 'svgz'],
'image/t38': ['t38'],
'image/tiff': ['tif', 'tiff'],
'image/tiff-fx': ['tfx'],
'image/webp': ['webp'],
'image/wmf': ['wmf'],
'message/disposition-notification': ['disposition-notification'],
'message/global': ['u8msg'],
'message/global-delivery-status': ['u8dsn'],
'message/global-disposition-notification': ['u8mdn'],
'message/global-headers': ['u8hdr'],
'message/rfc822': ['eml', 'mime'],
'model/3mf': ['3mf'],
'model/gltf+json': ['gltf'],
'model/gltf-binary': ['glb'],
'model/iges': ['igs', 'iges'],
'model/mesh': ['msh', 'mesh', 'silo'],
'model/mtl': ['mtl'],
'model/obj': ['obj'],
'model/step+xml': ['stpx'],
'model/step+zip': ['stpz'],
'model/step-xml+zip': ['stpxz'],
'model/stl': ['stl'],
'model/vrml': ['wrl', 'vrml'],
'model/x3d+binary': ['*x3db', 'x3dbz'],
'model/x3d+fastinfoset': ['x3db'],
'model/x3d+vrml': ['*x3dv', 'x3dvz'],
'model/x3d+xml': ['x3d', 'x3dz'],
'model/x3d-vrml': ['x3dv'],
'text/cache-manifest': ['appcache', 'manifest'],
'text/calendar': ['ics', 'ifb'],
'text/coffeescript': ['coffee', 'litcoffee'],
'text/css': ['css'],
'text/csv': ['csv'],
'text/html': ['html', 'htm', 'shtml'],
'text/jade': ['jade'],
'text/jsx': ['jsx'],
'text/less': ['less'],
'text/markdown': ['markdown', 'md'],
'text/mathml': ['mml'],
'text/mdx': ['mdx'],
'text/n3': ['n3'],
'text/plain': ['txt', 'text', 'conf', 'def', 'list', 'log', 'in', 'ini'],
'text/richtext': ['rtx'],
'text/rtf': ['*rtf'],
'text/sgml': ['sgml', 'sgm'],
'text/shex': ['shex'],
'text/slim': ['slim', 'slm'],
'text/spdx': ['spdx'],
'text/stylus': ['stylus', 'styl'],
'text/tab-separated-values': ['tsv'],
'text/troff': ['t', 'tr', 'roff', 'man', 'me', 'ms'],
'text/turtle': ['ttl'],
'text/uri-list': ['uri', 'uris', 'urls'],
'text/vcard': ['vcard'],
'text/vtt': ['vtt'],
'text/xml': ['*xml'],
'text/yaml': ['yaml', 'yml'],
'video/3gpp': ['3gp', '3gpp'],
'video/3gpp2': ['3g2'],
'video/h261': ['h261'],
'video/h263': ['h263'],
'video/h264': ['h264'],
'video/iso.segment': ['m4s'],
'video/jpeg': ['jpgv'],
'video/jpm': ['*jpm', 'jpgm'],
'video/mj2': ['mj2', 'mjp2'],
'video/mp2t': ['ts'],
'video/mp4': ['mp4', 'mp4v', 'mpg4'],
'video/mpeg': ['mpeg', 'mpg', 'mpe', 'm1v', 'm2v'],
'video/ogg': ['ogv'],
'video/quicktime': ['qt', 'mov'],
'video/webm': ['webm']
};
},
{}
],
361: [
function (e, t, r) {
var s = 864e5;
function i(e, t, r, n) {
t = 1.5 * r <= t;
return Math.round(e / r) + ' ' + n + (t ? 's' : '');
}
t.exports = function (e, t) {
t = t || {};
var r = typeof e;
if (!('string' == r && 0 < e.length)) {
if ('number' == r && isFinite(e))
return (
t.long
? function (e) {
var t = Math.abs(e);
if (s <= t) return i(e, t, s, 'day');
if (36e5 <= t) return i(e, t, 36e5, 'hour');
if (6e4 <= t) return i(e, t, 6e4, 'minute');
if (1e3 <= t) return i(e, t, 1e3, 'second');
return e + ' ms';
}
: function (e) {
var t = Math.abs(e);
if (s <= t) return Math.round(e / s) + 'd';
if (36e5 <= t) return Math.round(e / 36e5) + 'h';
if (6e4 <= t) return Math.round(e / 6e4) + 'm';
if (1e3 <= t) return Math.round(e / 1e3) + 's';
return e + 'ms';
}
)(e);
throw new Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(e));
}
r = e;
if (!(100 < (r = String(r)).length)) {
r =
/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
r
);
if (r) {
var n = parseFloat(r[1]);
switch ((r[2] || 'ms').toLowerCase()) {
case 'years':
case 'year':
case 'yrs':
case 'yr':
case 'y':
return 315576e5 * n;
case 'weeks':
case 'week':
case 'w':
return 6048e5 * n;
case 'days':
case 'day':
case 'd':
return n * s;
case 'hours':
case 'hour':
case 'hrs':
case 'hr':
case 'h':
return 36e5 * n;
case 'minutes':
case 'minute':
case 'mins':
case 'min':
case 'm':
return 6e4 * n;
case 'seconds':
case 'second':
case 'secs':
case 'sec':
case 's':
return 1e3 * n;
case 'milliseconds':
case 'millisecond':
case 'msecs':
case 'msec':
case 'ms':
return n;
default:
return;
}
}
}
};
},
{}
],
362: [
function (e, t, r) {
'use strict';
var c = Object.getOwnPropertySymbols,
l = Object.prototype.hasOwnProperty,
u = Object.prototype.propertyIsEnumerable;
t.exports = (function () {
try {
if (!Object.assign) return;
var e = new String('abc');
if (((e[5] = 'de'), '5' === Object.getOwnPropertyNames(e)[0])) return;
for (var t = {}, r = 0; r < 10; r++) t['_' + String.fromCharCode(r)] = r;
if (
'0123456789' !==
Object.getOwnPropertyNames(t)
.map(function (e) {
return t[e];
})
.join('')
)
return;
var n = {};
return (
'abcdefghijklmnopqrst'.split('').forEach(function (e) {
n[e] = e;
}),
'abcdefghijklmnopqrst' !== Object.keys(Object.assign({}, n)).join('') ? void 0 : 1
);
} catch (e) {
return;
}
})()
? Object.assign
: function (e, t) {
for (
var r,
n = (function (e) {
if (null == e) throw new TypeError('Object.assign cannot be called with null or undefined');
return Object(e);
})(e),
s = 1;
s < arguments.length;
s++
) {
for (var i in (r = Object(arguments[s]))) l.call(r, i) && (n[i] = r[i]);
if (c) for (var o = c(r), a = 0; a < o.length; a++) u.call(r, o[a]) && (n[o[a]] = r[o[a]]);
}
return n;
};
},
{}
],
363: [
function (e, t, l) {
!function (o) {
!function () {
function s(e, t) {
for (var r = 0, n = e.length - 1; 0 <= n; n--) {
var s = e[n];
'.' === s ? e.splice(n, 1) : '..' === s ? (e.splice(n, 1), r++) : r && (e.splice(n, 1), r--);
}
if (t) for (; r--; ) e.unshift('..');
return e;
}
function i(e, t) {
if (e.filter) return e.filter(t);
for (var r = [], n = 0; n < e.length; n++) t(e[n], n, e) && r.push(e[n]);
return r;
}
(l.resolve = function () {
for (var e = '', t = !1, r = arguments.length - 1; -1 <= r && !t; r--) {
var n = 0 <= r ? arguments[r] : o.cwd();
if ('string' != typeof n) throw new TypeError('Arguments to path.resolve must be strings');
n && ((e = n + '/' + e), (t = '/' === n.charAt(0)));
}
return (
(t ? '/' : '') +
(e = s(
i(e.split('/'), function (e) {
return !!e;
}),
!t
).join('/')) || '.'
);
}),
(l.normalize = function (e) {
var t = l.isAbsolute(e),
r = '/' === n(e, -1);
return (
(e =
(e = s(
i(e.split('/'), function (e) {
return !!e;
}),
!t
).join('/')) || t
? e
: '.') &&
r &&
(e += '/'),
(t ? '/' : '') + e
);
}),
(l.isAbsolute = function (e) {
return '/' === e.charAt(0);
}),
(l.join = function () {
var e = Array.prototype.slice.call(arguments, 0);
return l.normalize(
i(e, function (e, t) {
if ('string' != typeof e) throw new TypeError('Arguments to path.join must be strings');
return e;
}).join('/')
);
}),
(l.relative = function (e, t) {
function r(e) {
for (var t = 0; t < e.length && '' === e[t]; t++);
for (var r = e.length - 1; 0 <= r && '' === e[r]; r--);
return r < t ? [] : e.slice(t, r - t + 1);
}
(e = l.resolve(e).substr(1)), (t = l.resolve(t).substr(1));
for (
var n = r(e.split('/')), s = r(t.split('/')), i = Math.min(n.length, s.length), o = i, a = 0;
a < i;
a++
)
if (n[a] !== s[a]) {
o = a;
break;
}
for (var c = [], a = o; a < n.length; a++) c.push('..');
return (c = c.concat(s.slice(o))).join('/');
}),
(l.sep = '/'),
(l.delimiter = ':'),
(l.dirname = function (e) {
if (('string' != typeof e && (e += ''), 0 === e.length)) return '.';
for (var t = 47 === e.charCodeAt(0), r = -1, n = !0, s = e.length - 1; 1 <= s; --s)
if (47 === e.charCodeAt(s)) {
if (!n) {
r = s;
break;
}
} else n = !1;
return -1 === r ? (t ? '/' : '.') : t && 1 === r ? '/' : e.slice(0, r);
}),
(l.basename = function (e, t) {
e = (function (e) {
'string' != typeof e && (e += '');
for (var t = 0, r = -1, n = !0, s = e.length - 1; 0 <= s; --s)
if (47 === e.charCodeAt(s)) {
if (!n) {
t = s + 1;
break;
}
} else -1 === r && ((n = !1), (r = s + 1));
return -1 === r ? '' : e.slice(t, r);
})(e);
return (e = t && e.substr(-1 * t.length) === t ? e.substr(0, e.length - t.length) : e);
}),
(l.extname = function (e) {
'string' != typeof e && (e += '');
for (var t = -1, r = 0, n = -1, s = !0, i = 0, o = e.length - 1; 0 <= o; --o) {
var a = e.charCodeAt(o);
if (47 === a) {
if (s) continue;
r = o + 1;
break;
}
-1 === n && ((s = !1), (n = o + 1)),
46 === a ? (-1 === t ? (t = o) : 1 !== i && (i = 1)) : -1 !== t && (i = -1);
}
return -1 === t || -1 === n || 0 === i || (1 === i && t === n - 1 && t === r + 1)
? ''
: e.slice(t, n);
});
var n =
'b' === 'ab'.substr(-1)
? function (e, t, r) {
return e.substr(t, r);
}
: function (e, t, r) {
return t < 0 && (t = e.length + t), e.substr(t, r);
};
}.call(this);
}.call(this, e('_process'));
},
{ _process: 441 }
],
364: [
function (e, o, c) {
!function (i) {
!function () {
!function () {
'use strict';
var e = { function: !0, object: !0 },
D = (e[typeof window] && window) || this,
r = e[typeof c] && c,
e = e[typeof o] && o && !o.nodeType && o,
t = r && e && 'object' == typeof i && i,
a = (!t || (t.global !== t && t.window !== t && t.self !== t) || (D = t), Math.pow(2, 53) - 1),
I = /\bOpera/,
t = Object.prototype,
n = t.hasOwnProperty,
C = t.toString;
function s(e) {
return (e = String(e)).charAt(0).toUpperCase() + e.slice(1);
}
function N(e) {
return (e = B(e)), /^(?:webOS|i(?:OS|P))/.test(e) ? e : s(e);
}
function R(e, t) {
for (var r in e) n.call(e, r) && t(e[r], r, e);
}
function P(e) {
return null == e ? s(e) : C.call(e).slice(8, -1);
}
function M(e) {
return String(e).replace(/([ -])(?!$)/g, '$1?');
}
function L(r, n) {
var s = null,
e = r,
t = function (e, t) {
s = n(s, e, t, r);
},
i = -1,
o = e ? e.length : 0;
if ('number' == typeof o && -1 < o && o <= a) for (; ++i < o; ) t(e[i], i, e);
else R(e, t);
return s;
}
function B(e) {
return String(e).replace(/^ +| +$/g, '');
}
function q(i) {
var t,
r,
e,
n,
s = D,
o = i && 'object' == typeof i && 'String' != P(i),
a = (o && ((s = i), (i = null)), s.navigator || {}),
c = a.userAgent || '',
l =
((i = i || c), o ? !!a.likeChrome : /\bChrome\b/.test(i) && !/internal|\n/i.test(C.toString())),
u = 'Object',
p = o ? u : 'ScriptBridgingProxyObject',
f = o ? u : 'Environment',
d = o && s.java ? 'JavaPackage' : P(s.java),
u = o ? u : 'RuntimeObject',
d = /\bJava/.test(d) && s.java,
f = d && P(s.environment) == f,
h = d ? 'a' : '\u03b1',
m = d ? 'b' : '\u03b2',
y = s.document || {},
b = s.operamini || s.opera,
o = I.test((o = o && b ? b['[[Class]]'] : P(b))) ? o : (b = null),
g = i,
v = [],
j = null,
c = i == c,
w = c && b && 'function' == typeof b.version && b.version(),
x = L(
[
{ label: 'EdgeHTML', pattern: 'Edge' },
'Trident',
{ label: 'WebKit', pattern: 'AppleWebKit' },
'iCab',
'Presto',
'NetFront',
'Tasman',
'KHTML',
'Gecko'
],
function (e, t) {
return e || (RegExp('\\b' + (t.pattern || M(t)) + '\\b', 'i').exec(i) && (t.label || t));
}
),
T = L(
[
'Adobe AIR',
'Arora',
'Avant Browser',
'Breach',
'Camino',
'Electron',
'Epiphany',
'Fennec',
'Flock',
'Galeon',
'GreenBrowser',
'iCab',
'Iceweasel',
'K-Meleon',
'Konqueror',
'Lunascape',
'Maxthon',
{ label: 'Microsoft Edge', pattern: '(?:Edge|Edg|EdgA|EdgiOS)' },
'Midori',
'Nook Browser',
'PaleMoon',
'PhantomJS',
'Raven',
'Rekonq',
'RockMelt',
{ label: 'Samsung Internet', pattern: 'SamsungBrowser' },
'SeaMonkey',
{ label: 'Silk', pattern: '(?:Cloud9|Silk-Accelerated)' },
'Sleipnir',
'SlimBrowser',
{ label: 'SRWare Iron', pattern: 'Iron' },
'Sunrise',
'Swiftfox',
'Vivaldi',
'Waterfox',
'WebPositive',
{ label: 'Yandex Browser', pattern: 'YaBrowser' },
{ label: 'UC Browser', pattern: 'UCBrowser' },
'Opera Mini',
{ label: 'Opera Mini', pattern: 'OPiOS' },
'Opera',
{ label: 'Opera', pattern: 'OPR' },
'Chromium',
'Chrome',
{ label: 'Chrome', pattern: '(?:HeadlessChrome)' },
{ label: 'Chrome Mobile', pattern: '(?:CriOS|CrMo)' },
{ label: 'Firefox', pattern: '(?:Firefox|Minefield)' },
{ label: 'Firefox for iOS', pattern: 'FxiOS' },
{ label: 'IE', pattern: 'IEMobile' },
{ label: 'IE', pattern: 'MSIE' },
'Safari'
],
function (e, t) {
return e || (RegExp('\\b' + (t.pattern || M(t)) + '\\b', 'i').exec(i) && (t.label || t));
}
),
k = S([
{ label: 'BlackBerry', pattern: 'BB10' },
'BlackBerry',
{ label: 'Galaxy S', pattern: 'GT-I9000' },
{ label: 'Galaxy S2', pattern: 'GT-I9100' },
{ label: 'Galaxy S3', pattern: 'GT-I9300' },
{ label: 'Galaxy S4', pattern: 'GT-I9500' },
{ label: 'Galaxy S5', pattern: 'SM-G900' },
{ label: 'Galaxy S6', pattern: 'SM-G920' },
{ label: 'Galaxy S6 Edge', pattern: 'SM-G925' },
{ label: 'Galaxy S7', pattern: 'SM-G930' },
{ label: 'Galaxy S7 Edge', pattern: 'SM-G935' },
'Google TV',
'Lumia',
'iPad',
'iPod',
'iPhone',
'Kindle',
{ label: 'Kindle Fire', pattern: '(?:Cloud9|Silk-Accelerated)' },
'Nexus',
'Nook',
'PlayBook',
'PlayStation Vita',
'PlayStation',
'TouchPad',
'Transformer',
{ label: 'Wii U', pattern: 'WiiU' },
'Wii',
'Xbox One',
{ label: 'Xbox 360', pattern: 'Xbox' },
'Xoom'
]),
E = L(
{
Apple: { iPad: 1, iPhone: 1, iPod: 1 },
Alcatel: {},
Archos: {},
Amazon: { Kindle: 1, 'Kindle Fire': 1 },
Asus: { Transformer: 1 },
'Barnes & Noble': { Nook: 1 },
BlackBerry: { PlayBook: 1 },
Google: { 'Google TV': 1, Nexus: 1 },
HP: { TouchPad: 1 },
HTC: {},
Huawei: {},
Lenovo: {},
LG: {},
Microsoft: { Xbox: 1, 'Xbox One': 1 },
Motorola: { Xoom: 1 },
Nintendo: { 'Wii U': 1, Wii: 1 },
Nokia: { Lumia: 1 },
Oppo: {},
Samsung: { 'Galaxy S': 1, 'Galaxy S2': 1, 'Galaxy S3': 1, 'Galaxy S4': 1 },
Sony: { PlayStation: 1, 'PlayStation Vita': 1 },
Xiaomi: { Mi: 1, Redmi: 1 }
},
function (e, t, r) {
return (
e ||
((t[k] ||
t[/^[a-z]+(?: +[a-z]+\b)*/i.exec(k)] ||
RegExp('\\b' + M(r) + '(?:\\b|\\w*\\d)', 'i').exec(i)) &&
r)
);
}
),
_ = L(
[
'Windows Phone',
'KaiOS',
'Android',
'CentOS',
{ label: 'Chrome OS', pattern: 'CrOS' },
'Debian',
{ label: 'DragonFly BSD', pattern: 'DragonFly' },
'Fedora',
'FreeBSD',
'Gentoo',
'Haiku',
'Kubuntu',
'Linux Mint',
'OpenBSD',
'Red Hat',
'SuSE',
'Ubuntu',
'Xubuntu',
'Cygwin',
'Symbian OS',
'hpwOS',
'webOS ',
'webOS',
'Tablet OS',
'Tizen',
'Linux',
'Mac OS X',
'Macintosh',
'Mac',
'Windows 98;',
'Windows '
],
function (e, t) {
var r,
n,
s = t.pattern || M(t);
return (
!e &&
(e = RegExp('\\b' + s + '(?:/[\\d.]+|[ \\w.]*)', 'i').exec(i)) &&
((r = e),
(s = s),
(t = t.label || t),
(n = {
'10.0': '10',
6.4: '10 Technical Preview',
6.3: '8.1',
6.2: '8',
6.1: 'Server 2008 R2 / 7',
'6.0': 'Server 2008 / Vista',
5.2: 'Server 2003 / XP 64-bit',
5.1: 'XP',
5.01: '2000 SP1',
'5.0': '2000',
'4.0': 'NT',
'4.90': 'ME'
}),
s &&
t &&
/^Win/i.test(r) &&
!/^Windows Phone /i.test(r) &&
(n = n[/[\d.]+$/.exec(r)]) &&
(r = 'Windows ' + n),
(r = String(r)),
(e = r =
N(
(r = s && t ? r.replace(RegExp(s, 'i'), t) : r)
.replace(/ ce$/i, ' CE')
.replace(/\bhpw/i, 'web')
.replace(/\bMacintosh\b/, 'Mac OS')
.replace(/_PowerPC\b/i, ' OS')
.replace(/\b(OS X) [^ \d]+/i, '$1')
.replace(/\bMac (OS X)\b/, '$1')
.replace(/\/(\d)/, ' $1')
.replace(/_/g, '.')
.replace(/(?: BePC|[ .]*fc[ \d.]+)$/i, '')
.replace(/\bx86\.64\b/gi, 'x86_64')
.replace(/\b(Windows Phone) OS\b/, '$1')
.replace(/\b(Chrome OS \w+) [\d.]+\b/, '$1')
.split(' on ')[0]
))),
e
);
}
);
function S(e) {
return L(e, function (e, t) {
var r = t.pattern || M(t);
return (
!e &&
(e =
RegExp('\\b' + r + ' *\\d+[.\\w_]*', 'i').exec(i) ||
RegExp('\\b' + r + ' *\\w+-[\\w]*', 'i').exec(i) ||
RegExp('\\b' + r + '(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)', 'i').exec(i)) &&
((e = String(t.label && !RegExp(r, 'i').test(t.label) ? t.label : e).split('/'))[1] &&
!/[\d.]+/.test(e[0]) &&
(e[0] += ' ' + e[1]),
(t = t.label || t),
(e = N(
e[0]
.replace(RegExp(r, 'i'), t)
.replace(RegExp('; *(?:' + t + '[_-])?', 'i'), ' ')
.replace(RegExp('(' + t + ')[-_.]?(\\w)', 'i'), '$1 $2')
))),
e
);
});
}
function O(e) {
return L(e, function (e, t) {
return (
e ||
(RegExp(t + '(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)', 'i').exec(i) ||
0)[1] ||
null
);
});
}
if (
((x = x && [x]),
/\bAndroid\b/.test(_) &&
!k &&
(t = /\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(i)) &&
(k = B(t[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i, '') || null),
E && !k
? (k = S([E]))
: E &&
k &&
(k = k
.replace(RegExp('^(' + M(E) + ')[-_.\\s]', 'i'), E + ' ')
.replace(RegExp('^(' + M(E) + ')[-_.]?(\\w)', 'i'), E + ' $2')),
(t = /\bGoogle TV\b/.exec(k)) && (k = t[0]),
/\bSimulator\b/i.test(i) && (k = (k ? k + ' ' : '') + 'Simulator'),
'Opera Mini' == T && /\bOPiOS\b/.test(i) && v.push('running in Turbo/Uncompressed mode'),
'IE' == T && /\blike iPhone OS\b/.test(i)
? ((E = (t = q(i.replace(/like iPhone OS/, ''))).manufacturer), (k = t.product))
: /^iP/.test(k)
? ((T = T || 'Safari'),
(_ = 'iOS' + ((t = / OS ([\d_]+)/i.exec(i)) ? ' ' + t[1].replace(/_/g, '.') : '')))
: 'Konqueror' == T && /^Linux\b/i.test(_)
? (_ = 'Kubuntu')
: (E &&
'Google' != E &&
((/Chrome/.test(T) && !/\bMobile Safari\b/i.test(i)) || /\bVita\b/.test(k))) ||
(/\bAndroid\b/.test(_) && /^Chrome/.test(T) && /\bVersion\//i.test(i))
? ((T = 'Android Browser'), (_ = /\bAndroid\b/.test(_) ? _ : 'Android'))
: 'Silk' == T
? (/\bMobi/i.test(i) || ((_ = 'Android'), v.unshift('desktop mode')),
/Accelerated *= *true/i.test(i) && v.unshift('accelerated'))
: 'UC Browser' == T && /\bUCWEB\b/.test(i)
? v.push('speed mode')
: 'PaleMoon' == T && (t = /\bFirefox\/([\d.]+)\b/.exec(i))
? v.push('identifying as Firefox ' + t[1])
: 'Firefox' == T && (t = /\b(Mobile|Tablet|TV)\b/i.exec(i))
? ((_ = _ || 'Firefox OS'), (k = k || t[1]))
: !T || (t = !/\bMinefield\b/i.test(i) && /\b(?:Firefox|Safari)\b/.exec(T))
? (T && !k && /[\/,]|^[^(]+?\)/.test(i.slice(i.indexOf(t + '/') + 8)) && (T = null),
(t = k || E || _) &&
(k || E || /\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(_)) &&
(T = /[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(_) ? _ : t) + ' Browser'))
: 'Electron' == T && (t = (/\bChrome\/([\d.]+)\b/.exec(i) || 0)[1]) && v.push('Chromium ' + t),
(w =
w ||
O([
'(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)',
'Version',
M(T),
'(?:Firefox|Minefield|NetFront)'
])),
(t =
('iCab' == x && 3 < parseFloat(w)
? 'WebKit'
: /\bOpera\b/.test(T) && (/\bOPR\b/.test(i) ? 'Blink' : 'Presto')) ||
(/\b(?:Midori|Nook|Safari)\b/i.test(i) && !/^(?:Trident|EdgeHTML)$/.test(x) && 'WebKit') ||
(!x && /\bMSIE\b/i.test(i) && ('Mac OS' == _ ? 'Tasman' : 'Trident')) ||
('WebKit' == x && /\bPlayStation\b(?! Vita\b)/i.test(T) && 'NetFront')) && (x = [t]),
'IE' == T && (t = (/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(i) || 0)[1])
? ((T += ' Mobile'),
(_ = 'Windows Phone ' + (/\+$/.test(t) ? t : t + '.x')),
v.unshift('desktop mode'))
: /\bWPDesktop\b/i.test(i)
? ((T = 'IE Mobile'),
(_ = 'Windows Phone 8.x'),
v.unshift('desktop mode'),
(w = w || (/\brv:([\d.]+)/.exec(i) || 0)[1]))
: 'IE' != T &&
'Trident' == x &&
(t = /\brv:([\d.]+)/.exec(i)) &&
(T && v.push('identifying as ' + T + (w ? ' ' + w : '')), (T = 'IE'), (w = t[1])),
c)
) {
if (
((n = 'global'),
(A = null != (e = s) ? typeof e[n] : 'number'),
/^(?:boolean|number|string|undefined)$/.test(A) || ('object' == A && !e[n]))
)
P((t = s.runtime)) == p
? ((T = 'Adobe AIR'), (_ = t.flash.system.Capabilities.os))
: P((t = s.phantom)) == u
? ((T = 'PhantomJS'),
(w = (t = t.version || null) && t.major + '.' + t.minor + '.' + t.patch))
: 'number' == typeof y.documentMode && (t = /\bTrident\/(\d+)/i.exec(i))
? ((w = [w, y.documentMode]),
(t = +t[1] + 4) != w[1] && (v.push('IE ' + w[1] + ' mode'), x && (x[1] = ''), (w[1] = t)),
(w = 'IE' == T ? String(w[1].toFixed(1)) : w[0]))
: 'number' == typeof y.documentMode &&
/^(?:Chrome|Firefox)\b/.test(T) &&
(v.push('masking as ' + T + ' ' + w),
(T = 'IE'),
(w = '11.0'),
(x = ['Trident']),
(_ = 'Windows'));
else if (
(d &&
((g = (t = d.lang.System).getProperty('os.arch')),
(_ = _ || t.getProperty('os.name') + ' ' + t.getProperty('os.version'))),
f)
) {
try {
(w = s.require('ringo/engine').version.join('.')), (T = 'RingoJS');
} catch (e) {
(t = s.system) &&
t.global.system == s.system &&
((T = 'Narwhal'), (_ = _ || t[0].os || null));
}
T = T || 'Rhino';
} else
'object' == typeof s.process &&
!s.process.browser &&
(t = s.process) &&
('object' == typeof t.versions &&
('string' == typeof t.versions.electron
? (v.push('Node ' + t.versions.node), (T = 'Electron'), (w = t.versions.electron))
: 'string' == typeof t.versions.nw &&
(v.push('Chromium ' + w, 'Node ' + t.versions.node),
(T = 'NW.js'),
(w = t.versions.nw))),
T ||
((T = 'Node.js'),
(g = t.arch),
(_ = t.platform),
(w = (w = /[\d.]+/.exec(t.version)) ? w[0] : null)));
_ = _ && N(_);
}
if (
(w &&
(t =
/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(w) ||
/(?:alpha|beta)(?: ?\d)?/i.exec(i + ';' + (c && a.appMinorVersion)) ||
(/\bMinefield\b/i.test(i) && 'a')) &&
((j = /b/i.test(t) ? 'beta' : 'alpha'),
(w = w.replace(RegExp(t + '\\+?$'), '') + ('beta' == j ? m : h) + (/\d+\+?/.exec(t) || ''))),
'Fennec' == T || ('Firefox' == T && /\b(?:Android|Firefox OS|KaiOS)\b/.test(_)))
)
T = 'Firefox Mobile';
else if ('Maxthon' == T && w) w = w.replace(/\.[\d.]+/, '.x');
else if (/\bXbox\b/i.test(k))
'Xbox 360' == k && (_ = null),
'Xbox 360' == k && /\bIEMobile\b/.test(i) && v.unshift('mobile mode');
else if (
(!/^(?:Chrome|IE|Opera)$/.test(T) && (!T || k || /Browser|Mobi/.test(T))) ||
('Windows CE' != _ && !/Mobi/i.test(i))
)
if ('IE' == T && c)
try {
null === s.external && v.unshift('platform preview');
} catch (e) {
v.unshift('embedded');
}
else
(/\bBlackBerry\b/.test(k) || /\bBB10\b/.test(i)) &&
(t = (RegExp(k.replace(/ +/g, ' *') + '/([.\\d]+)', 'i').exec(i) || 0)[1] || w)
? ((_ =
((t = [t, /BB10/.test(i)])[1] ? ((k = null), (E = 'BlackBerry')) : 'Device Software') +
' ' +
t[0]),
(w = null))
: this != R &&
'Wii' != k &&
((c && b) ||
(/Opera/.test(T) && /\b(?:MSIE|Firefox)\b/i.test(i)) ||
('Firefox' == T && /\bOS X (?:\d+\.){2,}/.test(_)) ||
('IE' == T &&
((_ && !/^Win/.test(_) && 5.5 < w) ||
(/\bWindows XP\b/.test(_) && 8 < w) ||
(8 == w && !/\bTrident\b/.test(i))))) &&
!I.test((t = q.call(R, i.replace(I, '') + ';'))) &&
t.name &&
((t = 'ing as ' + t.name + ((t = t.version) ? ' ' + t : '')),
I.test(T)
? (/\bIE\b/.test(t) && 'Mac OS' == _ && (_ = null), (t = 'identify' + t))
: ((t = 'mask' + t),
(T = o ? N(o.replace(/([a-z])([A-Z])/g, '$1 $2')) : 'Opera'),
/\bIE\b/.test(t) && (_ = null),
c || (w = null)),
(x = ['Presto']),
v.push(t));
else T += ' Mobile';
(t = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(i) || 0)[1]) &&
((t = [parseFloat(t.replace(/\.(\d)$/, '.0$1')), t]),
'Safari' == T && '+' == t[1].slice(-1)
? ((T = 'WebKit Nightly'), (j = 'alpha'), (w = t[1].slice(0, -1)))
: (w != t[1] && w != (t[2] = (/\bSafari\/([\d.]+\+?)/i.exec(i) || 0)[1])) || (w = null),
(t[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(i) || 0)[1]),
537.36 == t[0] && 537.36 == t[2] && 28 <= parseFloat(t[1]) && 'WebKit' == x && (x = ['Blink']),
(t =
c && (l || t[1])
? (x && (x[1] = 'like Chrome'),
t[1] ||
((t = t[0]) < 530
? 1
: t < 532
? 2
: t < 532.05
? 3
: t < 533
? 4
: t < 534.03
? 5
: t < 534.07
? 6
: t < 534.1
? 7
: t < 534.13
? 8
: t < 534.16
? 9
: t < 534.24
? 10
: t < 534.3
? 11
: t < 535.01
? 12
: t < 535.02
? '13+'
: t < 535.07
? 15
: t < 535.11
? 16
: t < 535.19
? 17
: t < 536.05
? 18
: t < 536.1
? 19
: t < 537.01
? 20
: t < 537.11
? '21+'
: t < 537.13
? 23
: t < 537.18
? 24
: t < 537.24
? 25
: t < 537.36
? 26
: 'Blink' != x
? '27'
: '28'))
: (x && (x[1] = 'like Safari'),
(t = t[0]) < 400
? 1
: t < 500
? 2
: t < 526
? 3
: t < 533
? 4
: t < 534
? '4+'
: t < 535
? 5
: t < 537
? 6
: t < 538
? 7
: t < 601
? 8
: t < 602
? 9
: t < 604
? 10
: t < 606
? 11
: t < 608
? 12
: '12')),
x && (x[1] += ' ' + (t += 'number' == typeof t ? '.x' : /[.+]/.test(t) ? '' : '+')),
'Safari' == T && (!w || 45 < parseInt(w))
? (w = t)
: 'Chrome' == T && /\bHeadlessChrome/i.test(i) && v.unshift('headless')),
'Opera' == T && (t = /\bzbov|zvav$/.exec(_))
? ((T += ' '),
v.unshift('desktop mode'),
'zvav' == t ? ((T += 'Mini'), (w = null)) : (T += 'Mobile'),
(_ = _.replace(RegExp(' *' + t + '$'), '')))
: 'Safari' == T && /\bChrome\b/.exec(x && x[1])
? (v.unshift('desktop mode'),
(T = 'Chrome Mobile'),
(w = null),
(_ = /\bOS X\b/.test(_) ? ((E = 'Apple'), 'iOS 4.3+') : null))
: /\bSRWare Iron\b/.test(T) && !w && (w = O('Chrome')),
(_ =
w && 0 == w.indexOf((t = /[\d.]+$/.exec(_))) && -1 < i.indexOf('/' + t + '-')
? B(_.replace(t, ''))
: _) &&
-1 != _.indexOf(T) &&
!RegExp(T + ' OS').test(_) &&
(_ = _.replace(RegExp(' *' + M(T) + ' *'), '')),
x &&
!/\b(?:Avant|Nook)\b/.test(T) &&
(/Browser|Lunascape|Maxthon/.test(T) ||
('Safari' != T && /^iOS/.test(_) && /\bSafari\b/.test(x[1])) ||
(/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(
T
) &&
x[1])) &&
(t = x[x.length - 1]) &&
v.push(t),
v.length && (v = ['(' + v.join('; ') + ')']),
E && k && k.indexOf(E) < 0 && v.push('on ' + E),
k && v.push((/^on /.test(v[v.length - 1]) ? '' : 'on ') + k),
_ &&
((t = / ([\d.+]+)$/.exec(_)),
(r = t && '/' == _.charAt(_.length - t[0].length - 1)),
(_ = {
architecture: 32,
family: t && !r ? _.replace(t[0], '') : _,
version: t ? t[1] : null,
toString: function () {
var e = this.version;
return this.family + (e && !r ? ' ' + e : '') + (64 == this.architecture ? ' 64-bit' : '');
}
})),
(t = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(g)) && !/\bi686\b/i.test(g)
? (_ && ((_.architecture = 64), (_.family = _.family.replace(RegExp(' *' + t), ''))),
T &&
(/\bWOW64\b/i.test(i) ||
(c && /\w(?:86|32)$/.test(a.cpuClass || a.platform) && !/\bWin64; x64\b/i.test(i))) &&
v.unshift('32-bit'))
: _ && /^OS X/.test(_.family) && 'Chrome' == T && 39 <= parseFloat(w) && (_.architecture = 64),
(i = i || null);
var A = {};
return (
(A.description = i),
(A.layout = x && x[0]),
(A.manufacturer = E),
(A.name = T),
(A.prerelease = j),
(A.product = k),
(A.ua = i),
(A.version = T && w),
(A.os = _ || {
architecture: null,
family: null,
version: null,
toString: function () {
return 'null';
}
}),
(A.parse = q),
(A.toString = function () {
return this.description || '';
}),
A.version && v.unshift(w),
A.name && v.unshift(T),
_ &&
T &&
(_ != String(_).split(' ')[0] || (_ != T.split(' ')[0] && !k)) &&
v.push(k ? '(' + _ + ')' : 'on ' + _),
v.length && (A.description = v.join(' ')),
A
);
}
t = q();
r && e
? R(t, function (e, t) {
r[t] = e;
})
: (D.platform = t);
}.call(this);
}.call(this);
}.call(
this,
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {}
);
},
{}
],
365: [
function (e, t, r) {
!function (a) {
!function () {
'use strict';
void 0 === a ||
!a.version ||
0 === a.version.indexOf('v0.') ||
(0 === a.version.indexOf('v1.') && 0 !== a.version.indexOf('v1.8.'))
? (t.exports = {
nextTick: function (e, t, r, n) {
if ('function' != typeof e) throw new TypeError('"callback" argument must be a function');
var s,
i,
o = arguments.length;
switch (o) {
case 0:
case 1:
return a.nextTick(e);
case 2:
return a.nextTick(function () {
e.call(null, t);
});
case 3:
return a.nextTick(function () {
e.call(null, t, r);
});
case 4:
return a.nextTick(function () {
e.call(null, t, r, n);
});
default:
for (s = new Array(o - 1), i = 0; i < s.length; ) s[i++] = arguments[i];
return a.nextTick(function () {
e.apply(null, s);
});
}
}
})
: (t.exports = a);
}.call(this);
}.call(this, e('_process'));
},
{ _process: 441 }
],
366: [
function (e, t, r) {
var n,
s,
t = (t.exports = {});
function i() {
throw new Error('setTimeout has not been defined');
}
function o() {
throw new Error('clearTimeout has not been defined');
}
try {
n = 'function' == typeof setTimeout ? setTimeout : i;
} catch (e) {
n = i;
}
try {
s = 'function' == typeof clearTimeout ? clearTimeout : o;
} catch (e) {
s = o;
}
function a(t) {
if (n === setTimeout) return setTimeout(t, 0);
if ((n === i || !n) && setTimeout) return (n = setTimeout)(t, 0);
try {
return n(t, 0);
} catch (e) {
try {
return n.call(null, t, 0);
} catch (e) {
return n.call(this, t, 0);
}
}
}
var c,
l = [],
u = !1,
p = -1;
function f() {
u && c && ((u = !1), c.length ? (l = c.concat(l)) : (p = -1), l.length && d());
}
function d() {
if (!u) {
for (var e = a(f), t = ((u = !0), l.length); t; ) {
for (c = l, l = []; ++p < t; ) c && c[p].run();
(p = -1), (t = l.length);
}
(c = null),
(u = !1),
!(function (t) {
if (s === clearTimeout) return clearTimeout(t);
if ((s === o || !s) && clearTimeout) return (s = clearTimeout)(t);
try {
s(t);
} catch (e) {
try {
return s.call(null, t);
} catch (e) {
return s.call(this, t);
}
}
})(e);
}
}
function h(e, t) {
(this.fun = e), (this.array = t);
}
function m() {}
(t.nextTick = function (e) {
var t = new Array(arguments.length - 1);
if (1 < arguments.length) for (var r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
l.push(new h(e, t)), 1 !== l.length || u || a(d);
}),
(h.prototype.run = function () {
this.fun.apply(null, this.array);
}),
(t.title = 'browser'),
(t.browser = !0),
(t.env = {}),
(t.argv = []),
(t.version = ''),
(t.versions = {}),
(t.on = m),
(t.addListener = m),
(t.once = m),
(t.off = m),
(t.removeListener = m),
(t.removeAllListeners = m),
(t.emit = m),
(t.prependListener = m),
(t.prependOnceListener = m),
(t.listeners = function (e) {
return [];
}),
(t.binding = function (e) {
throw new Error('process.binding is not supported');
}),
(t.cwd = function () {
return '/';
}),
(t.chdir = function (e) {
throw new Error('process.chdir is not supported');
}),
(t.umask = function () {
return 0;
});
},
{}
],
367: [
function (e, O, A) {
!function (S) {
!function () {
var e = this,
t = 'object' == typeof A && A && !A.nodeType && A,
r = 'object' == typeof O && O && !O.nodeType && O,
n = 'object' == typeof S && S;
(n.global !== n && n.window !== n && n.self !== n) || (e = n);
var s,
i,
y = 2147483647,
b = 36,
g = 26,
o = 38,
a = 700,
c = /^xn--/,
l = /[^\x20-\x7E]/,
u = /[\x2E\u3002\uFF0E\uFF61]/g,
p = {
overflow: 'Overflow: input needs wider integers to process',
'not-basic': 'Illegal input >= 0x80 (not a basic code point)',
'invalid-input': 'Invalid input'
},
f = b - 1,
v = Math.floor,
j = String.fromCharCode;
function w(e) {
throw new RangeError(p[e]);
}
function d(e, t) {
for (var r = e.length, n = []; r--; ) n[r] = t(e[r]);
return n;
}
function h(e, t) {
var r = e.split('@'),
n = '',
r = (1 < r.length && ((n = r[0] + '@'), (e = r[1])), (e = e.replace(u, '.')).split('.'));
return n + d(r, t).join('.');
}
function x(e) {
for (var t, r, n = [], s = 0, i = e.length; s < i; )
55296 <= (t = e.charCodeAt(s++)) && t <= 56319 && s < i
? 56320 == (64512 & (r = e.charCodeAt(s++)))
? n.push(((1023 & t) << 10) + (1023 & r) + 65536)
: (n.push(t), s--)
: n.push(t);
return n;
}
function m(e) {
return d(e, function (e) {
var t = '';
return (
65535 < e && ((t += j((((e -= 65536) >>> 10) & 1023) | 55296)), (e = 56320 | (1023 & e))),
(t += j(e))
);
}).join('');
}
function T(e, t) {
return e + 22 + 75 * (e < 26) - ((0 != t) << 5);
}
function k(e, t, r) {
var n = 0;
for (e = r ? v(e / a) : e >> 1, e += v(e / t); (f * g) >> 1 < e; n += b) e = v(e / f);
return v(n + ((f + 1) * e) / (e + o));
}
function E(e) {
var t,
r,
n,
s,
i,
o,
a,
c = [],
l = e.length,
u = 0,
p = 128,
f = 72,
d = e.lastIndexOf('-');
for (d < 0 && (d = 0), r = 0; r < d; ++r)
128 <= e.charCodeAt(r) && w('not-basic'), c.push(e.charCodeAt(r));
for (n = 0 < d ? d + 1 : 0; n < l; ) {
for (
s = u, i = 1, o = b;
l <= n && w('invalid-input'),
(a = e.charCodeAt(n++)),
(b <= (a = a - 48 < 10 ? a - 22 : a - 65 < 26 ? a - 65 : a - 97 < 26 ? a - 97 : b) ||
a > v((y - u) / i)) &&
w('overflow'),
(u += a * i),
!(a < (a = o <= f ? 1 : f + g <= o ? g : o - f));
o += b
)
i > v(y / (a = b - a)) && w('overflow'), (i *= a);
(f = k(u - s, (t = c.length + 1), 0 == s)),
v(u / t) > y - p && w('overflow'),
(p += v(u / t)),
(u %= t),
c.splice(u++, 0, p);
}
return m(c);
}
function _(e) {
for (
var t, r, n, s, i, o, a, c, l, u, p = [], f = (e = x(e)).length, d = 128, h = 72, m = (t = 0);
m < f;
++m
)
(a = e[m]) < 128 && p.push(j(a));
for (r = n = p.length, n && p.push('-'); r < f; ) {
for (s = y, m = 0; m < f; ++m) d <= (a = e[m]) && a < s && (s = a);
for (s - d > v((y - t) / (c = r + 1)) && w('overflow'), t += (s - d) * c, d = s, m = 0; m < f; ++m)
if (((a = e[m]) < d && ++t > y && w('overflow'), a == d)) {
for (i = t, o = b; !(i < (l = o <= h ? 1 : h + g <= o ? g : o - h)); o += b)
p.push(j(T(l + ((u = i - l) % (l = b - l)), 0))), (i = v(u / l));
p.push(j(T(i, 0))), (h = k(t, c, r == n)), (t = 0), ++r;
}
++t, ++d;
}
return p.join('');
}
if (
((s = {
version: '1.4.1',
ucs2: { decode: x, encode: m },
decode: E,
encode: _,
toASCII: function (e) {
return h(e, function (e) {
return l.test(e) ? 'xn--' + _(e) : e;
});
},
toUnicode: function (e) {
return h(e, function (e) {
return c.test(e) ? E(e.slice(4).toLowerCase()) : e;
});
}
}),
t && r)
)
if (O.exports == t) r.exports = s;
else for (i in s) s.hasOwnProperty(i) && (t[i] = s[i]);
else e.punycode = s;
}.call(this);
}.call(
this,
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {}
);
},
{}
],
368: [
function (e, t, r) {
'use strict';
t.exports = function (e, t, r, n) {
r = r || '=';
var s = {};
if ('string' != typeof e || 0 === e.length) return s;
var i = /\+/g,
t = ((e = e.split((t = t || '&'))), 1e3),
o = (n && 'number' == typeof n.maxKeys && (t = n.maxKeys), e.length);
0 < t && t < o && (o = t);
for (var a = 0; a < o; ++a) {
var c,
l = e[a].replace(i, '%20'),
u = l.indexOf(r),
u = 0 <= u ? ((c = l.substr(0, u)), l.substr(u + 1)) : ((c = l), ''),
l = decodeURIComponent(c),
u = decodeURIComponent(u);
Object.prototype.hasOwnProperty.call(s, l) ? (p(s[l]) ? s[l].push(u) : (s[l] = [s[l], u])) : (s[l] = u);
}
return s;
};
var p =
Array.isArray ||
function (e) {
return '[object Array]' === Object.prototype.toString.call(e);
};
},
{}
],
369: [
function (e, t, r) {
'use strict';
function i(e) {
switch (typeof e) {
case 'string':
return e;
case 'boolean':
return e ? 'true' : 'false';
case 'number':
return isFinite(e) ? e : '';
default:
return '';
}
}
t.exports = function (r, n, s, e) {
return (
(n = n || '&'),
(s = s || '='),
'object' == typeof (r = null === r ? void 0 : r)
? a(c(r), function (e) {
var t = encodeURIComponent(i(e)) + s;
return o(r[e])
? a(r[e], function (e) {
return t + encodeURIComponent(i(e));
}).join(n)
: t + encodeURIComponent(i(r[e]));
}).join(n)
: e
? encodeURIComponent(i(e)) + s + encodeURIComponent(i(r))
: ''
);
};
var o =
Array.isArray ||
function (e) {
return '[object Array]' === Object.prototype.toString.call(e);
};
function a(e, t) {
if (e.map) return e.map(t);
for (var r = [], n = 0; n < e.length; n++) r.push(t(e[n], n));
return r;
}
var c =
Object.keys ||
function (e) {
var t,
r = [];
for (t in e) Object.prototype.hasOwnProperty.call(e, t) && r.push(t);
return r;
};
},
{}
],
370: [
function (e, t, r) {
'use strict';
(r.decode = r.parse = e('./decode')), (r.encode = r.stringify = e('./encode'));
},
{ './decode': 368, './encode': 369 }
],
371: [
function (e, t, r) {
t.exports = e('./lib/_stream_duplex.js');
},
{ './lib/_stream_duplex.js': 372 }
],
372: [
function (e, t, r) {
'use strict';
var n = e('process-nextick-args'),
s =
Object.keys ||
function (e) {
var t,
r = [];
for (t in e) r.push(t);
return r;
},
t = ((t.exports = u), Object.create(e('core-util-is'))),
i = ((t.inherits = e('inherits')), e('./_stream_readable')),
o = e('./_stream_writable');
t.inherits(u, i);
for (var a = s(o.prototype), c = 0; c < a.length; c++) {
var l = a[c];
u.prototype[l] || (u.prototype[l] = o.prototype[l]);
}
function u(e) {
if (!(this instanceof u)) return new u(e);
i.call(this, e),
o.call(this, e),
e && !1 === e.readable && (this.readable = !1),
e && !1 === e.writable && (this.writable = !1),
(this.allowHalfOpen = !0),
e && !1 === e.allowHalfOpen && (this.allowHalfOpen = !1),
this.once('end', p);
}
function p() {
this.allowHalfOpen || this._writableState.ended || n.nextTick(f, this);
}
function f(e) {
e.end();
}
Object.defineProperty(u.prototype, 'writableHighWaterMark', {
enumerable: !1,
get: function () {
return this._writableState.highWaterMark;
}
}),
Object.defineProperty(u.prototype, 'destroyed', {
get: function () {
return (
void 0 !== this._readableState &&
void 0 !== this._writableState &&
this._readableState.destroyed &&
this._writableState.destroyed
);
},
set: function (e) {
void 0 !== this._readableState &&
void 0 !== this._writableState &&
((this._readableState.destroyed = e), (this._writableState.destroyed = e));
}
}),
(u.prototype._destroy = function (e, t) {
this.push(null), this.end(), n.nextTick(t, e);
});
},
{
'./_stream_readable': 374,
'./_stream_writable': 376,
'core-util-is': 340,
inherits: 353,
'process-nextick-args': 365
}
],
373: [
function (e, t, r) {
'use strict';
t.exports = s;
var n = e('./_stream_transform'),
t = Object.create(e('core-util-is'));
function s(e) {
if (!(this instanceof s)) return new s(e);
n.call(this, e);
}
(t.inherits = e('inherits')),
t.inherits(s, n),
(s.prototype._transform = function (e, t, r) {
r(null, e);
});
},
{ './_stream_transform': 375, 'core-util-is': 340, inherits: 353 }
],
374: [
function (C, N, e) {
!function (D, I) {
!function () {
'use strict';
function m(e, t) {
return e.listeners(t).length;
}
var i,
y = C('process-nextick-args'),
b = ((N.exports = s), C('isarray')),
r = ((s.ReadableState = n), C('events').EventEmitter, C('./internal/streams/stream')),
u = C('safe-buffer').Buffer,
p = I.Uint8Array || function () {};
var o,
e = Object.create(C('core-util-is')),
t = ((e.inherits = C('inherits')), C('util')),
g = void 0,
g = t && t.debuglog ? t.debuglog('stream') : function () {},
a = C('./internal/streams/BufferList'),
t = C('./internal/streams/destroy'),
c = (e.inherits(s, r), ['error', 'close', 'destroy', 'pause', 'resume']);
function n(e, t) {
var t = t instanceof (i = i || C('./_stream_duplex')),
r =
((this.objectMode = !!(e = e || {}).objectMode),
t && (this.objectMode = this.objectMode || !!e.readableObjectMode),
e.highWaterMark),
n = e.readableHighWaterMark,
s = this.objectMode ? 16 : 16384;
(this.highWaterMark = r || 0 === r ? r : t && (n || 0 === n) ? n : s),
(this.highWaterMark = Math.floor(this.highWaterMark)),
(this.buffer = new a()),
(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 = e.defaultEncoding || 'utf8'),
(this.awaitDrain = 0),
(this.readingMore = !1),
(this.decoder = null),
(this.encoding = null),
e.encoding &&
((o = o || C('string_decoder/').StringDecoder),
(this.decoder = new o(e.encoding)),
(this.encoding = e.encoding));
}
function s(e) {
if (((i = i || C('./_stream_duplex')), !(this instanceof s))) return new s(e);
(this._readableState = new n(e, this)),
(this.readable = !0),
e &&
('function' == typeof e.read && (this._read = e.read),
'function' == typeof e.destroy && (this._destroy = e.destroy)),
r.call(this);
}
function l(e, t, r, n, s) {
var i,
o,
a,
c,
l = e._readableState;
return (
null === t
? ((l.reading = !1),
(o = e),
(c = l).ended ||
(c.decoder &&
(a = c.decoder.end()) &&
a.length &&
(c.buffer.push(a), (c.length += c.objectMode ? 1 : a.length)),
(c.ended = !0),
v(o)))
: (i = s
? i
: (function (e, t) {
var r;
!(function (e) {
return u.isBuffer(e) || e instanceof p;
})(t) &&
'string' != typeof t &&
void 0 !== t &&
!e.objectMode &&
(r = new TypeError('Invalid non-string/buffer chunk'));
return r;
})(l, t))
? e.emit('error', i)
: l.objectMode || (t && 0 < t.length)
? ('string' == typeof t ||
l.objectMode ||
Object.getPrototypeOf(t) === u.prototype ||
((a = t), (t = u.from(a))),
n
? l.endEmitted
? e.emit('error', new Error('stream.unshift() after end event'))
: f(e, l, t, !0)
: l.ended
? e.emit('error', new Error('stream.push() after EOF'))
: ((l.reading = !1),
l.decoder && !r
? ((t = l.decoder.write(t)), l.objectMode || 0 !== t.length ? f(e, l, t, !1) : w(e, l))
: f(e, l, t, !1)))
: n || (l.reading = !1),
!(c = l).ended && (c.needReadable || c.length < c.highWaterMark || 0 === c.length)
);
}
function f(e, t, r, n) {
t.flowing && 0 === t.length && !t.sync
? (e.emit('data', r), e.read(0))
: ((t.length += t.objectMode ? 1 : r.length),
n ? t.buffer.unshift(r) : t.buffer.push(r),
t.needReadable && v(e)),
w(e, t);
}
Object.defineProperty(s.prototype, 'destroyed', {
get: function () {
return void 0 !== this._readableState && this._readableState.destroyed;
},
set: function (e) {
this._readableState && (this._readableState.destroyed = e);
}
}),
(s.prototype.destroy = t.destroy),
(s.prototype._undestroy = t.undestroy),
(s.prototype._destroy = function (e, t) {
this.push(null), t(e);
}),
(s.prototype.push = function (e, t) {
var r,
n = this._readableState;
return (
n.objectMode
? (r = !0)
: 'string' == typeof e &&
((t = t || n.defaultEncoding) !== n.encoding && ((e = u.from(e, t)), (t = '')), (r = !0)),
l(this, e, t, !1, r)
);
}),
(s.prototype.unshift = function (e) {
return l(this, e, null, !0, !1);
}),
(s.prototype.isPaused = function () {
return !1 === this._readableState.flowing;
}),
(s.prototype.setEncoding = function (e) {
return (
(o = o || C('string_decoder/').StringDecoder),
(this._readableState.decoder = new o(e)),
(this._readableState.encoding = e),
this
);
});
var d = 8388608;
function h(e, t) {
return e <= 0 || (0 === t.length && t.ended)
? 0
: t.objectMode
? 1
: e != e
? (t.flowing && t.length ? t.buffer.head.data : t).length
: (e > t.highWaterMark &&
(t.highWaterMark =
(d <= (r = e)
? (r = d)
: (r--,
(r = (r = (r = (r = (r |= r >>> 1) | (r >>> 2)) | (r >>> 4)) | (r >>> 8)) | (r >>> 16)),
r++),
r)),
e <= t.length ? e : t.ended ? t.length : ((t.needReadable = !0), 0));
var r;
}
function v(e) {
var t = e._readableState;
(t.needReadable = !1),
t.emittedReadable ||
(g('emitReadable', t.flowing), (t.emittedReadable = !0), t.sync ? y.nextTick(j, e) : j(e));
}
function j(e) {
g('emit readable'), e.emit('readable'), E(e);
}
function w(e, t) {
t.readingMore || ((t.readingMore = !0), y.nextTick(x, e, t));
}
function x(e, t) {
for (
var r = t.length;
!t.reading &&
!t.flowing &&
!t.ended &&
t.length < t.highWaterMark &&
(g('maybeReadMore read 0'), e.read(0), r !== t.length);
)
r = t.length;
t.readingMore = !1;
}
function T(e) {
g('readable nexttick read 0'), e.read(0);
}
function k(e, t) {
t.reading || (g('resume read 0'), e.read(0)),
(t.resumeScheduled = !1),
(t.awaitDrain = 0),
e.emit('resume'),
E(e),
t.flowing && !t.reading && e.read(0);
}
function E(e) {
var t = e._readableState;
for (g('flow', t.flowing); t.flowing && null !== e.read(); );
}
function _(e, t) {
return 0 === t.length
? null
: (t.objectMode
? (r = t.buffer.shift())
: !e || e >= t.length
? ((r = t.decoder
? t.buffer.join('')
: 1 === t.buffer.length
? t.buffer.head.data
: t.buffer.concat(t.length)),
t.buffer.clear())
: (r = (function (e, t, r) {
var n;
e < t.head.data.length
? ((n = t.head.data.slice(0, e)), (t.head.data = t.head.data.slice(e)))
: (n =
e === t.head.data.length
? t.shift()
: (r
? function (e, t) {
var r = t.head,
n = 1,
s = r.data;
e -= s.length;
for (; (r = r.next); ) {
var i = r.data,
o = e > i.length ? i.length : e;
if ((o === i.length ? (s += i) : (s += i.slice(0, e)), 0 === (e -= o))) {
o === i.length
? (++n, r.next ? (t.head = r.next) : (t.head = t.tail = null))
: ((t.head = r).data = i.slice(o));
break;
}
++n;
}
return (t.length -= n), s;
}
: function (e, t) {
var r = u.allocUnsafe(e),
n = t.head,
s = 1;
n.data.copy(r), (e -= n.data.length);
for (; (n = n.next); ) {
var i = n.data,
o = e > i.length ? i.length : e;
if ((i.copy(r, r.length - e, 0, o), 0 === (e -= o))) {
o === i.length
? (++s, n.next ? (t.head = n.next) : (t.head = t.tail = null))
: ((t.head = n).data = i.slice(o));
break;
}
++s;
}
return (t.length -= s), r;
})(e, t));
return n;
})(e, t.buffer, t.decoder)),
r);
var r;
}
function S(e) {
var t = e._readableState;
if (0 < t.length) throw new Error('"endReadable()" called on non-empty stream');
t.endEmitted || ((t.ended = !0), y.nextTick(O, t, e));
}
function O(e, t) {
e.endEmitted || 0 !== e.length || ((e.endEmitted = !0), (t.readable = !1), t.emit('end'));
}
function A(e, t) {
for (var r = 0, n = e.length; r < n; r++) if (e[r] === t) return r;
return -1;
}
(s.prototype.read = function (e) {
g('read', e), (e = parseInt(e, 10));
var t = this._readableState,
r = e;
if (
(0 !== e && (t.emittedReadable = !1),
0 === e && t.needReadable && (t.length >= t.highWaterMark || t.ended))
)
return g('read: emitReadable', t.length, t.ended), (0 === t.length && t.ended ? S : v)(this), null;
if (0 === (e = h(e, t)) && t.ended) return 0 === t.length && S(this), null;
var n = t.needReadable;
return (
g('need readable', n),
(0 === t.length || t.length - e < t.highWaterMark) && g('length less than watermark', (n = !0)),
t.ended || t.reading
? g('reading or ended', (n = !1))
: n &&
(g('do read'),
(t.reading = !0),
(t.sync = !0),
0 === t.length && (t.needReadable = !0),
this._read(t.highWaterMark),
(t.sync = !1),
t.reading || (e = h(r, t))),
null === (n = 0 < e ? _(e, t) : null) ? ((t.needReadable = !0), (e = 0)) : (t.length -= e),
0 === t.length && (t.ended || (t.needReadable = !0), r !== e && t.ended && S(this)),
null !== n && this.emit('data', n),
n
);
}),
(s.prototype._read = function (e) {
this.emit('error', new Error('_read() is not implemented'));
}),
(s.prototype.pipe = function (r, e) {
var n = this,
s = this._readableState;
switch (s.pipesCount) {
case 0:
s.pipes = r;
break;
case 1:
s.pipes = [s.pipes, r];
break;
default:
s.pipes.push(r);
}
(s.pipesCount += 1), g('pipe count=%d opts=%j', s.pipesCount, e);
e = (!e || !1 !== e.end) && r !== D.stdout && r !== D.stderr ? o : h;
function i(e, t) {
g('onunpipe'),
e === n &&
t &&
!1 === t.hasUnpiped &&
((t.hasUnpiped = !0),
g('cleanup'),
r.removeListener('close', f),
r.removeListener('finish', d),
r.removeListener('drain', a),
r.removeListener('error', p),
r.removeListener('unpipe', i),
n.removeListener('end', o),
n.removeListener('end', h),
n.removeListener('data', u),
(c = !0),
!s.awaitDrain || (r._writableState && !r._writableState.needDrain) || a());
}
function o() {
g('onend'), r.end();
}
s.endEmitted ? y.nextTick(e) : n.once('end', e), r.on('unpipe', i);
t = n;
var t,
a = function () {
var e = t._readableState;
g('pipeOnDrain', e.awaitDrain),
e.awaitDrain && e.awaitDrain--,
0 === e.awaitDrain && m(t, 'data') && ((e.flowing = !0), E(t));
},
c = (r.on('drain', a), !1);
var l = !1;
function u(e) {
g('ondata'),
(l = !1) !== r.write(e) ||
l ||
(((1 === s.pipesCount && s.pipes === r) || (1 < s.pipesCount && -1 !== A(s.pipes, r))) &&
!c &&
(g('false write response, pause', n._readableState.awaitDrain),
n._readableState.awaitDrain++,
(l = !0)),
n.pause());
}
function p(e) {
g('onerror', e), h(), r.removeListener('error', p), 0 === m(r, 'error') && r.emit('error', e);
}
function f() {
r.removeListener('finish', d), h();
}
function d() {
g('onfinish'), r.removeListener('close', f), h();
}
function h() {
g('unpipe'), n.unpipe(r);
}
return (
n.on('data', u),
(function (e, t, r) {
if ('function' == typeof e.prependListener) return e.prependListener(t, r);
e._events && e._events[t]
? b(e._events[t])
? e._events[t].unshift(r)
: (e._events[t] = [r, e._events[t]])
: e.on(t, r);
})(r, 'error', p),
r.once('close', f),
r.once('finish', d),
r.emit('pipe', n),
s.flowing || (g('pipe resume'), n.resume()),
r
);
}),
(s.prototype.unpipe = function (e) {
var t = this._readableState,
r = { hasUnpiped: !1 };
if (0 === t.pipesCount) return this;
if (1 === t.pipesCount)
return (
(e && e !== t.pipes) ||
((e = e || t.pipes),
(t.pipes = null),
(t.pipesCount = 0),
(t.flowing = !1),
e && e.emit('unpipe', this, r)),
this
);
if (!e) {
var n = t.pipes,
s = t.pipesCount;
(t.pipes = null), (t.pipesCount = 0), (t.flowing = !1);
for (var i = 0; i < s; i++) n[i].emit('unpipe', this, r);
return this;
}
var o = A(t.pipes, e);
return (
-1 === o ||
(t.pipes.splice(o, 1),
--t.pipesCount,
1 === t.pipesCount && (t.pipes = t.pipes[0]),
e.emit('unpipe', this, r)),
this
);
}),
(s.prototype.addListener = s.prototype.on =
function (e, t) {
t = r.prototype.on.call(this, e, t);
return (
'data' === e
? !1 !== this._readableState.flowing && this.resume()
: 'readable' !== e ||
(e = this._readableState).endEmitted ||
e.readableListening ||
((e.readableListening = e.needReadable = !0),
(e.emittedReadable = !1),
e.reading ? e.length && v(this) : y.nextTick(T, this)),
t
);
}),
(s.prototype.resume = function () {
var e,
t = this._readableState;
return (
t.flowing ||
(g('resume'),
(t.flowing = !0),
(e = this),
(t = t).resumeScheduled || ((t.resumeScheduled = !0), y.nextTick(k, e, t))),
this
);
}),
(s.prototype.pause = function () {
return (
g('call pause flowing=%j', this._readableState.flowing),
!1 !== this._readableState.flowing &&
(g('pause'), (this._readableState.flowing = !1), this.emit('pause')),
this
);
}),
(s.prototype.wrap = function (t) {
var e,
r = this,
n = this._readableState,
s = !1;
for (e in (t.on('end', function () {
var e;
g('wrapped end'),
n.decoder && !n.ended && (e = n.decoder.end()) && e.length && r.push(e),
r.push(null);
}),
t.on('data', function (e) {
g('wrapped data'),
n.decoder && (e = n.decoder.write(e)),
(n.objectMode && null == e) ||
((n.objectMode || (e && e.length)) && !r.push(e) && ((s = !0), t.pause()));
}),
t))
void 0 === this[e] &&
'function' == typeof t[e] &&
(this[e] = (function (e) {
return function () {
return t[e].apply(t, arguments);
};
})(e));
for (var i = 0; i < c.length; i++) t.on(c[i], this.emit.bind(this, c[i]));
return (
(this._read = function (e) {
g('wrapped _read', e), s && ((s = !1), t.resume());
}),
this
);
}),
Object.defineProperty(s.prototype, 'readableHighWaterMark', {
enumerable: !1,
get: function () {
return this._readableState.highWaterMark;
}
}),
(s._fromList = _);
}.call(this);
}.call(
this,
C('_process'),
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {}
);
},
{
'./_stream_duplex': 372,
'./internal/streams/BufferList': 377,
'./internal/streams/destroy': 378,
'./internal/streams/stream': 379,
_process: 441,
'core-util-is': 340,
events: 343,
inherits: 353,
isarray: 355,
'process-nextick-args': 365,
'safe-buffer': 385,
'string_decoder/': 388,
util: 87
}
],
375: [
function (e, t, r) {
'use strict';
t.exports = s;
var n = e('./_stream_duplex'),
t = Object.create(e('core-util-is'));
function s(e) {
if (!(this instanceof s)) return new s(e);
n.call(this, e),
(this._transformState = {
afterTransform: function (e, t) {
var r = this._transformState,
n = ((r.transforming = !1), r.writecb);
if (!n) return this.emit('error', new Error('write callback called multiple times'));
(r.writechunk = null),
(r.writecb = null) != t && this.push(t),
n(e),
((r = this._readableState).reading = !1),
(r.needReadable || r.length < r.highWaterMark) && this._read(r.highWaterMark);
}.bind(this),
needTransform: !1,
transforming: !1,
writecb: null,
writechunk: null,
writeencoding: null
}),
(this._readableState.needReadable = !0),
(this._readableState.sync = !1),
e &&
('function' == typeof e.transform && (this._transform = e.transform),
'function' == typeof e.flush && (this._flush = e.flush)),
this.on('prefinish', i);
}
function i() {
var r = this;
'function' == typeof this._flush
? this._flush(function (e, t) {
o(r, e, t);
})
: o(this, null, null);
}
function o(e, t, r) {
if (t) return e.emit('error', t);
if ((null != r && e.push(r), e._writableState.length))
throw new Error('Calling transform done when ws.length != 0');
if (e._transformState.transforming) throw new Error('Calling transform done when still transforming');
e.push(null);
}
(t.inherits = e('inherits')),
t.inherits(s, n),
(s.prototype.push = function (e, t) {
return (this._transformState.needTransform = !1), n.prototype.push.call(this, e, t);
}),
(s.prototype._transform = function (e, t, r) {
throw new Error('_transform() is not implemented');
}),
(s.prototype._write = function (e, t, r) {
var n = this._transformState;
(n.writecb = r),
(n.writechunk = e),
(n.writeencoding = t),
n.transforming ||
((r = this._readableState),
(n.needTransform || r.needReadable || r.length < r.highWaterMark) && this._read(r.highWaterMark));
}),
(s.prototype._read = function (e) {
var t = this._transformState;
null !== t.writechunk && t.writecb && !t.transforming
? ((t.transforming = !0), this._transform(t.writechunk, t.writeencoding, t.afterTransform))
: (t.needTransform = !0);
}),
(s.prototype._destroy = function (e, t) {
var r = this;
n.prototype._destroy.call(this, e, function (e) {
t(e), r.emit('close');
});
});
},
{ './_stream_duplex': 372, 'core-util-is': 340, inherits: 353 }
],
376: [
function (T, k, e) {
!function (l, u, x) {
!function () {
'use strict';
var d = T('process-nextick-args');
function p(i) {
var o = this;
(this.next = null),
(this.entry = null),
(this.finish = function () {
var e = o,
t = i,
r = void 0,
n = e.entry;
for (e.entry = null; n; ) {
var s = n.callback;
t.pendingcb--, s(r), (n = n.next);
}
t.corkedRequestsFree ? (t.corkedRequestsFree.next = e) : (t.corkedRequestsFree = e);
});
}
k.exports = a;
var i,
f = !l.browser && -1 < ['v0.10', 'v0.9.'].indexOf(l.version.slice(0, 5)) ? x : d.nextTick,
e = ((a.WritableState = o), Object.create(T('core-util-is'))),
t = ((e.inherits = T('inherits')), { deprecate: T('util-deprecate') }),
r = T('./internal/streams/stream'),
h = T('safe-buffer').Buffer,
m = u.Uint8Array || function () {};
var n,
s = T('./internal/streams/destroy');
function y() {}
function o(e, u) {
i = i || T('./_stream_duplex');
var t = u instanceof i,
r =
((this.objectMode = !!(e = e || {}).objectMode),
t && (this.objectMode = this.objectMode || !!e.writableObjectMode),
e.highWaterMark),
n = e.writableHighWaterMark,
s = this.objectMode ? 16 : 16384,
r =
((this.highWaterMark = r || 0 === r ? r : t && (n || 0 === n) ? n : s),
(this.highWaterMark = Math.floor(this.highWaterMark)),
(this.finalCalled = !1),
(this.needDrain = !1),
(this.ending = !1),
(this.ended = !1),
(this.finished = !1),
(this.destroyed = !1) === e.decodeStrings);
(this.decodeStrings = !r),
(this.defaultEncoding = e.defaultEncoding || 'utf8'),
(this.length = 0),
(this.writing = !1),
(this.corked = 0),
(this.sync = !0),
(this.bufferProcessing = !1),
(this.onwrite = function (e) {
(e = e), (r = (t = u)._writableState), (n = r.sync), (s = r.writecb);
var t,
r,
n,
s,
i = r;
{
var o, a, c, l;
((i.writing = !1), (i.writecb = null), (i.length -= i.writelen), (i.writelen = 0), e)
? ((i = t),
(a = n),
(c = e),
(l = s),
--(o = r).pendingcb,
a
? (d.nextTick(l, c),
d.nextTick(w, i, o),
(i._writableState.errorEmitted = !0),
i.emit('error', c))
: (l(c), (i._writableState.errorEmitted = !0), i.emit('error', c), w(i, o)))
: ((e = j(r)) || r.corked || r.bufferProcessing || !r.bufferedRequest || v(t, r),
n ? f(g, t, r, e, s) : g(t, r, e, s));
}
}),
(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 p(this));
}
e.inherits(a, r),
(o.prototype.getBuffer = function () {
for (var e = this.bufferedRequest, t = []; e; ) t.push(e), (e = e.next);
return t;
});
try {
Object.defineProperty(o.prototype, 'buffer', {
get: t.deprecate(
function () {
return this.getBuffer();
},
'_writableState.buffer is deprecated. Use _writableState.getBuffer instead.',
'DEP0003'
)
});
} catch (e) {}
function a(e) {
if (((i = i || T('./_stream_duplex')), !(n.call(a, this) || this instanceof i))) return new a(e);
(this._writableState = new o(e, this)),
(this.writable = !0),
e &&
('function' == typeof e.write && (this._write = e.write),
'function' == typeof e.writev && (this._writev = e.writev),
'function' == typeof e.destroy && (this._destroy = e.destroy),
'function' == typeof e.final && (this._final = e.final)),
r.call(this);
}
function b(e, t, r, n, s, i, o) {
(t.writelen = n),
(t.writecb = o),
(t.writing = !0),
(t.sync = !0),
r ? e._writev(s, t.onwrite) : e._write(s, i, t.onwrite),
(t.sync = !1);
}
function g(e, t, r, n) {
var s;
r || ((r = e), 0 === (s = t).length && s.needDrain && ((s.needDrain = !1), r.emit('drain'))),
t.pendingcb--,
n(),
w(e, t);
}
function v(e, t) {
t.bufferProcessing = !0;
var r = t.bufferedRequest;
if (e._writev && r && r.next) {
for (
var n = t.bufferedRequestCount,
s = new Array(n),
n = t.corkedRequestsFree,
i = ((n.entry = r), 0),
o = !0;
r;
)
(s[i] = r).isBuf || (o = !1), (r = r.next), (i += 1);
(s.allBuffers = o),
b(e, t, !0, t.length, s, '', n.finish),
t.pendingcb++,
(t.lastBufferedRequest = null),
n.next ? ((t.corkedRequestsFree = n.next), (n.next = null)) : (t.corkedRequestsFree = new p(t)),
(t.bufferedRequestCount = 0);
} else {
for (; r; ) {
var a = r.chunk,
c = r.encoding,
l = r.callback;
if (
(b(e, t, !1, t.objectMode ? 1 : a.length, a, c, l),
(r = r.next),
t.bufferedRequestCount--,
t.writing)
)
break;
}
null === r && (t.lastBufferedRequest = null);
}
(t.bufferedRequest = r), (t.bufferProcessing = !1);
}
function j(e) {
return e.ending && 0 === e.length && null === e.bufferedRequest && !e.finished && !e.writing;
}
function c(t, r) {
t._final(function (e) {
r.pendingcb--, e && t.emit('error', e), (r.prefinished = !0), t.emit('prefinish'), w(t, r);
});
}
function w(e, t) {
var r,
n,
s = j(t);
return (
s &&
((r = e),
(n = t).prefinished ||
n.finalCalled ||
('function' == typeof r._final
? (n.pendingcb++, (n.finalCalled = !0), d.nextTick(c, r, n))
: ((n.prefinished = !0), r.emit('prefinish'))),
0 === t.pendingcb && ((t.finished = !0), e.emit('finish'))),
s
);
}
'function' == typeof Symbol &&
Symbol.hasInstance &&
'function' == typeof Function.prototype[Symbol.hasInstance]
? ((n = Function.prototype[Symbol.hasInstance]),
Object.defineProperty(a, Symbol.hasInstance, {
value: function (e) {
return !!n.call(this, e) || (this === a && e && e._writableState instanceof o);
}
}))
: (n = function (e) {
return e instanceof this;
}),
(a.prototype.pipe = function () {
this.emit('error', new Error('Cannot pipe, not readable'));
}),
(a.prototype.write = function (e, t, r) {
var n,
s,
i,
o,
a,
c,
l,
u = this._writableState,
p = !1,
f = !u.objectMode && ((f = e), h.isBuffer(f) || f instanceof m);
return (
f && !h.isBuffer(e) && ((a = e), (e = h.from(a))),
'function' == typeof t && ((r = t), (t = null)),
(t = f ? 'buffer' : t || u.defaultEncoding),
'function' != typeof r && (r = y),
u.ended
? ((a = this),
(c = r),
(l = new Error('write after end')),
a.emit('error', l),
d.nextTick(c, l))
: (f ||
((c = this),
(l = u),
(s = r),
(o = !(i = !0)),
null === (n = e)
? (o = new TypeError('May not write null values to stream'))
: 'string' == typeof n ||
void 0 === n ||
l.objectMode ||
(o = new TypeError('Invalid non-string/buffer chunk')),
o && (c.emit('error', o), d.nextTick(s, o), (i = !1)),
i)) &&
(u.pendingcb++,
(p = (function (e, t, r, n, s, i) {
r ||
((o = (function (e, t, r) {
e.objectMode || !1 === e.decodeStrings || 'string' != typeof t || (t = h.from(t, r));
return t;
})(t, n, s)),
n !== o && ((r = !0), (s = 'buffer'), (n = o)));
var o = t.objectMode ? 1 : n.length,
a = ((t.length += o), t.length < t.highWaterMark);
a || (t.needDrain = !0);
{
var c;
t.writing || t.corked
? ((c = t.lastBufferedRequest),
(t.lastBufferedRequest = {
chunk: n,
encoding: s,
isBuf: r,
callback: i,
next: null
}),
c ? (c.next = t.lastBufferedRequest) : (t.bufferedRequest = t.lastBufferedRequest),
(t.bufferedRequestCount += 1))
: b(e, t, !1, o, n, s, i);
}
return a;
})(this, u, f, e, t, r))),
p
);
}),
(a.prototype.cork = function () {
this._writableState.corked++;
}),
(a.prototype.uncork = function () {
var e = this._writableState;
e.corked &&
(e.corked--,
e.writing || e.corked || e.finished || e.bufferProcessing || !e.bufferedRequest || v(this, e));
}),
(a.prototype.setDefaultEncoding = function (e) {
if (
('string' == typeof e && (e = e.toLowerCase()),
-1 <
[
'hex',
'utf8',
'utf-8',
'ascii',
'binary',
'base64',
'ucs2',
'ucs-2',
'utf16le',
'utf-16le',
'raw'
].indexOf((e + '').toLowerCase()))
)
return (this._writableState.defaultEncoding = e), this;
throw new TypeError('Unknown encoding: ' + e);
}),
Object.defineProperty(a.prototype, 'writableHighWaterMark', {
enumerable: !1,
get: function () {
return this._writableState.highWaterMark;
}
}),
(a.prototype._write = function (e, t, r) {
r(new Error('_write() is not implemented'));
}),
(a.prototype._writev = null),
(a.prototype.end = function (e, t, r) {
var n = this._writableState;
if (
('function' == typeof e
? ((r = e), (t = e = null))
: 'function' == typeof t && ((r = t), (t = null)),
null != e && this.write(e, t),
n.corked && ((n.corked = 1), this.uncork()),
!n.ending && !n.finished)
) {
(e = this), (t = n), (n = r);
(t.ending = !0),
w(e, t),
n && (t.finished ? d.nextTick(n) : e.once('finish', n)),
(t.ended = !0),
(e.writable = !1);
}
}),
Object.defineProperty(a.prototype, 'destroyed', {
get: function () {
return void 0 !== this._writableState && this._writableState.destroyed;
},
set: function (e) {
this._writableState && (this._writableState.destroyed = e);
}
}),
(a.prototype.destroy = s.destroy),
(a.prototype._undestroy = s.undestroy),
(a.prototype._destroy = function (e, t) {
this.end(), t(e);
});
}.call(this);
}.call(
this,
T('_process'),
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {},
T('timers').setImmediate
);
},
{
'./_stream_duplex': 372,
'./internal/streams/destroy': 378,
'./internal/streams/stream': 379,
_process: 441,
'core-util-is': 340,
inherits: 353,
'process-nextick-args': 365,
'safe-buffer': 385,
timers: 389,
'util-deprecate': 391
}
],
377: [
function (e, t, r) {
'use strict';
var o = e('safe-buffer').Buffer,
n = e('util');
function s() {
if (!(this instanceof s)) throw new TypeError('Cannot call a class as a function');
(this.head = null), (this.tail = null), (this.length = 0);
}
(t.exports =
((s.prototype.push = function (e) {
e = { data: e, next: null };
0 < this.length ? (this.tail.next = e) : (this.head = e), (this.tail = e), ++this.length;
}),
(s.prototype.unshift = function (e) {
e = { data: e, next: this.head };
0 === this.length && (this.tail = e), (this.head = e), ++this.length;
}),
(s.prototype.shift = function () {
var e;
if (0 !== this.length)
return (
(e = this.head.data),
1 === this.length ? (this.head = this.tail = null) : (this.head = this.head.next),
--this.length,
e
);
}),
(s.prototype.clear = function () {
(this.head = this.tail = null), (this.length = 0);
}),
(s.prototype.join = function (e) {
if (0 === this.length) return '';
for (var t = this.head, r = '' + t.data; (t = t.next); ) r += e + t.data;
return r;
}),
(s.prototype.concat = function (e) {
if (0 === this.length) return o.alloc(0);
if (1 === this.length) return this.head.data;
for (var t, r, n = o.allocUnsafe(e >>> 0), s = this.head, i = 0; s; )
(t = s.data), (r = i), t.copy(n, r), (i += s.data.length), (s = s.next);
return n;
}),
s)),
n &&
n.inspect &&
n.inspect.custom &&
(t.exports.prototype[n.inspect.custom] = function () {
var e = n.inspect({ length: this.length });
return this.constructor.name + ' ' + e;
});
},
{ 'safe-buffer': 385, util: 87 }
],
378: [
function (e, t, r) {
'use strict';
var i = e('process-nextick-args');
function o(e, t) {
e.emit('error', t);
}
t.exports = {
destroy: function (e, t) {
var r = this,
n = this._readableState && this._readableState.destroyed,
s = this._writableState && this._writableState.destroyed;
return (
n || s
? t
? t(e)
: !e || (this._writableState && this._writableState.errorEmitted) || i.nextTick(o, this, e)
: (this._readableState && (this._readableState.destroyed = !0),
this._writableState && (this._writableState.destroyed = !0),
this._destroy(e || null, function (e) {
!t && e
? (i.nextTick(o, r, e), r._writableState && (r._writableState.errorEmitted = !0))
: t && t(e);
})),
this
);
},
undestroy: function () {
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));
}
};
},
{ 'process-nextick-args': 365 }
],
379: [
function (e, t, r) {
t.exports = e('events').EventEmitter;
},
{ events: 343 }
],
380: [
function (e, t, r) {
t.exports = e('./readable').PassThrough;
},
{ './readable': 381 }
],
381: [
function (e, t, r) {
((((r = t.exports = e('./lib/_stream_readable.js')).Stream = r).Readable = r).Writable =
e('./lib/_stream_writable.js')),
(r.Duplex = e('./lib/_stream_duplex.js')),
(r.Transform = e('./lib/_stream_transform.js')),
(r.PassThrough = e('./lib/_stream_passthrough.js'));
},
{
'./lib/_stream_duplex.js': 372,
'./lib/_stream_passthrough.js': 373,
'./lib/_stream_readable.js': 374,
'./lib/_stream_transform.js': 375,
'./lib/_stream_writable.js': 376
}
],
382: [
function (e, t, r) {
t.exports = e('./readable').Transform;
},
{ './readable': 381 }
],
383: [
function (e, t, r) {
t.exports = e('./lib/_stream_writable.js');
},
{ './lib/_stream_writable.js': 376 }
],
384: [
function (e, t, r) {
t = (function (o) {
'use strict';
var c,
e = Object.prototype,
l = e.hasOwnProperty,
t = 'function' == typeof Symbol ? Symbol : {},
n = t.iterator || '@@iterator',
r = t.asyncIterator || '@@asyncIterator',
s = t.toStringTag || '@@toStringTag';
function i(e, t, r) {
return Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }), e[t];
}
try {
i({}, '');
} catch (e) {
i = function (e, t, r) {
return (e[t] = r);
};
}
function a(e, t, r, n) {
var s,
i,
o,
a,
t = t && t.prototype instanceof y ? t : y,
t = Object.create(t.prototype),
n = new E(n || []);
return (
(t._invoke =
((s = e),
(i = r),
(o = n),
(a = p),
function (e, t) {
if (a === d) throw new Error('Generator is already running');
if (a === h) {
if ('throw' === e) throw t;
return S();
}
for (o.method = e, o.arg = t; ; ) {
var r = o.delegate;
if (r) {
r = (function e(t, r) {
var n = t.iterator[r.method];
if (n === c) {
if (((r.delegate = null), 'throw' === r.method)) {
if (
t.iterator.return &&
((r.method = 'return'), (r.arg = c), e(t, r), 'throw' === r.method)
)
return m;
(r.method = 'throw'),
(r.arg = new TypeError("The iterator does not provide a 'throw' method"));
}
return m;
}
n = u(n, t.iterator, r.arg);
if ('throw' === n.type)
return (r.method = 'throw'), (r.arg = n.arg), (r.delegate = null), m;
n = n.arg;
if (!n)
return (
(r.method = 'throw'),
(r.arg = new TypeError('iterator result is not an object')),
(r.delegate = null),
m
);
{
if (!n.done) return n;
(r[t.resultName] = n.value),
(r.next = t.nextLoc),
'return' !== r.method && ((r.method = 'next'), (r.arg = c));
}
r.delegate = null;
return m;
})(r, o);
if (r) {
if (r === m) continue;
return r;
}
}
if ('next' === o.method) o.sent = o._sent = o.arg;
else if ('throw' === o.method) {
if (a === p) throw ((a = h), o.arg);
o.dispatchException(o.arg);
} else 'return' === o.method && o.abrupt('return', o.arg);
a = d;
r = u(s, i, o);
if ('normal' === r.type) {
if (((a = o.done ? h : f), r.arg !== m)) return { value: r.arg, done: o.done };
} else 'throw' === r.type && ((a = h), (o.method = 'throw'), (o.arg = r.arg));
}
})),
t
);
}
function u(e, t, r) {
try {
return { type: 'normal', arg: e.call(t, r) };
} catch (e) {
return { type: 'throw', arg: e };
}
}
o.wrap = a;
var p = 'suspendedStart',
f = 'suspendedYield',
d = 'executing',
h = 'completed',
m = {};
function y() {}
function b() {}
function g() {}
var t = {},
v =
(i(t, n, function () {
return this;
}),
Object.getPrototypeOf),
v = v && v(v(_([]))),
j = (v && v !== e && l.call(v, n) && (t = v), (g.prototype = y.prototype = Object.create(t)));
function w(e) {
['next', 'throw', 'return'].forEach(function (t) {
i(e, t, function (e) {
return this._invoke(t, e);
});
});
}
function x(o, a) {
var t;
this._invoke = function (r, n) {
function e() {
return new a(function (e, t) {
!(function t(e, r, n, s) {
var i,
e = u(o[e], o, r);
if ('throw' !== e.type)
return (r = (i = e.arg).value) && 'object' == typeof r && l.call(r, '__await')
? a.resolve(r.__await).then(
function (e) {
t('next', e, n, s);
},
function (e) {
t('throw', e, n, s);
}
)
: a.resolve(r).then(
function (e) {
(i.value = e), n(i);
},
function (e) {
return t('throw', e, n, s);
}
);
s(e.arg);
})(r, n, e, t);
});
}
return (t = t ? t.then(e, e) : e());
};
}
function T(e) {
var t = { tryLoc: e[0] };
1 in e && (t.catchLoc = e[1]),
2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])),
this.tryEntries.push(t);
}
function k(e) {
var t = e.completion || {};
(t.type = 'normal'), delete t.arg, (e.completion = t);
}
function E(e) {
(this.tryEntries = [{ tryLoc: 'root' }]), e.forEach(T, this), this.reset(!0);
}
function _(t) {
if (t) {
var r,
e = t[n];
if (e) return e.call(t);
if ('function' == typeof t.next) return t;
if (!isNaN(t.length))
return (
(r = -1),
((e = function e() {
for (; ++r < t.length; ) if (l.call(t, r)) return (e.value = t[r]), (e.done = !1), e;
return (e.value = c), (e.done = !0), e;
}).next = e)
);
}
return { next: S };
}
function S() {
return { value: c, done: !0 };
}
return (
i(j, 'constructor', (b.prototype = g)),
i(g, 'constructor', b),
(b.displayName = i(g, s, 'GeneratorFunction')),
(o.isGeneratorFunction = function (e) {
e = 'function' == typeof e && e.constructor;
return !!e && (e === b || 'GeneratorFunction' === (e.displayName || e.name));
}),
(o.mark = function (e) {
return (
Object.setPrototypeOf
? Object.setPrototypeOf(e, g)
: ((e.__proto__ = g), i(e, s, 'GeneratorFunction')),
(e.prototype = Object.create(j)),
e
);
}),
(o.awrap = function (e) {
return { __await: e };
}),
w(x.prototype),
i(x.prototype, r, function () {
return this;
}),
(o.AsyncIterator = x),
(o.async = function (e, t, r, n, s) {
void 0 === s && (s = Promise);
var i = new x(a(e, t, r, n), s);
return o.isGeneratorFunction(t)
? i
: i.next().then(function (e) {
return e.done ? e.value : i.next();
});
}),
w(j),
i(j, s, 'Generator'),
i(j, n, function () {
return this;
}),
i(j, 'toString', function () {
return '[object Generator]';
}),
(o.keys = function (r) {
var e,
n = [];
for (e in r) n.push(e);
return (
n.reverse(),
function e() {
for (; n.length; ) {
var t = n.pop();
if (t in r) return (e.value = t), (e.done = !1), e;
}
return (e.done = !0), e;
}
);
}),
(o.values = _),
(E.prototype = {
constructor: E,
reset: function (e) {
if (
((this.prev = 0),
(this.next = 0),
(this.sent = this._sent = c),
(this.done = !1),
(this.delegate = null),
(this.method = 'next'),
(this.arg = c),
this.tryEntries.forEach(k),
!e)
)
for (var t in this)
't' === t.charAt(0) && l.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = c);
},
stop: function () {
this.done = !0;
var e = this.tryEntries[0].completion;
if ('throw' === e.type) throw e.arg;
return this.rval;
},
dispatchException: function (r) {
if (this.done) throw r;
var n = this;
function e(e, t) {
return (
(i.type = 'throw'), (i.arg = r), (n.next = e), t && ((n.method = 'next'), (n.arg = c)), !!t
);
}
for (var t = this.tryEntries.length - 1; 0 <= t; --t) {
var s = this.tryEntries[t],
i = s.completion;
if ('root' === s.tryLoc) return e('end');
if (s.tryLoc <= this.prev) {
var o = l.call(s, 'catchLoc'),
a = l.call(s, 'finallyLoc');
if (o && a) {
if (this.prev < s.catchLoc) return e(s.catchLoc, !0);
if (this.prev < s.finallyLoc) return e(s.finallyLoc);
} else if (o) {
if (this.prev < s.catchLoc) return e(s.catchLoc, !0);
} else {
if (!a) throw new Error('try statement without catch or finally');
if (this.prev < s.finallyLoc) return e(s.finallyLoc);
}
}
}
},
abrupt: function (e, t) {
for (var r = this.tryEntries.length - 1; 0 <= r; --r) {
var n = this.tryEntries[r];
if (n.tryLoc <= this.prev && l.call(n, 'finallyLoc') && this.prev < n.finallyLoc) {
var s = n;
break;
}
}
var i = (s =
s && ('break' === e || 'continue' === e) && s.tryLoc <= t && t <= s.finallyLoc ? null : s)
? s.completion
: {};
return (
(i.type = e),
(i.arg = t),
s ? ((this.method = 'next'), (this.next = s.finallyLoc), m) : this.complete(i)
);
},
complete: function (e, t) {
if ('throw' === e.type) throw e.arg;
return (
'break' === e.type || 'continue' === e.type
? (this.next = e.arg)
: 'return' === e.type
? ((this.rval = this.arg = e.arg), (this.method = 'return'), (this.next = 'end'))
: 'normal' === e.type && t && (this.next = t),
m
);
},
finish: function (e) {
for (var t = this.tryEntries.length - 1; 0 <= t; --t) {
var r = this.tryEntries[t];
if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), k(r), m;
}
},
catch: function (e) {
for (var t = this.tryEntries.length - 1; 0 <= t; --t) {
var r,
n,
s = this.tryEntries[t];
if (s.tryLoc === e) return 'throw' === (r = s.completion).type && ((n = r.arg), k(s)), n;
}
throw new Error('illegal catch attempt');
},
delegateYield: function (e, t, r) {
return (
(this.delegate = { iterator: _(e), resultName: t, nextLoc: r }),
'next' === this.method && (this.arg = c),
m
);
}
}),
o
);
})('object' == typeof t ? t.exports : {});
try {
regeneratorRuntime = t;
} catch (e) {
'object' == typeof globalThis
? (globalThis.regeneratorRuntime = t)
: Function('r', 'regeneratorRuntime = r')(t);
}
},
{}
],
385: [
function (e, t, r) {
var n = e('buffer'),
s = n.Buffer;
function i(e, t) {
for (var r in e) t[r] = e[r];
}
function o(e, t, r) {
return s(e, t, r);
}
s.from && s.alloc && s.allocUnsafe && s.allocUnsafeSlow ? (t.exports = n) : (i(n, r), (r.Buffer = o)),
i(s, o),
(o.from = function (e, t, r) {
if ('number' == typeof e) throw new TypeError('Argument must not be a number');
return s(e, t, r);
}),
(o.alloc = function (e, t, r) {
if ('number' != typeof e) throw new TypeError('Argument must be a number');
e = s(e);
return void 0 !== t ? ('string' == typeof r ? e.fill(t, r) : e.fill(t)) : e.fill(0), e;
}),
(o.allocUnsafe = function (e) {
if ('number' != typeof e) throw new TypeError('Argument must be a number');
return s(e);
}),
(o.allocUnsafeSlow = function (e) {
if ('number' != typeof e) throw new TypeError('Argument must be a number');
return n.SlowBuffer(e);
});
},
{ buffer: 89 }
],
386: [
function (L, e, B) {
!function (r) {
!function () {
var a = void 0 === B ? (this.sax = {}) : B;
(a.parser = function (e, t) {
return new o(e, t);
}),
(a.SAXParser = o),
(a.SAXStream = i),
(a.createStream = function (e, t) {
return new i(e, t);
}),
(a.MAX_BUFFER_LENGTH = 65536);
var n,
c = [
'comment',
'sgmlDecl',
'textNode',
'tagName',
'doctype',
'procInstName',
'procInstBody',
'entity',
'attribName',
'attribValue',
'cdata',
'script'
];
function o(e, t) {
if (!(this instanceof o)) return new o(e, t);
for (var r = this, n = r, s = 0, i = c.length; s < i; s++) n[c[s]] = '';
(r.q = r.c = ''),
(r.bufferCheckPosition = a.MAX_BUFFER_LENGTH),
(r.opt = t || {}),
(r.opt.lowercase = r.opt.lowercase || r.opt.lowercasetags),
(r.looseCase = r.opt.lowercase ? 'toLowerCase' : 'toUpperCase'),
(r.tags = []),
(r.closed = r.closedRoot = r.sawRoot = !1),
(r.tag = r.error = null),
(r.strict = !!e),
(r.noscript = !(!e && !r.opt.noscript)),
(r.state = T.BEGIN),
(r.strictEntities = r.opt.strictEntities),
(r.ENTITIES = r.strictEntities ? Object.create(a.XML_ENTITIES) : Object.create(a.ENTITIES)),
(r.attribList = []),
r.opt.xmlns && (r.ns = Object.create(d)),
(r.trackPosition = !1 !== r.opt.position),
r.trackPosition && (r.position = r.line = r.column = 0),
k(r, 'onready');
}
(a.EVENTS = [
'text',
'processinginstruction',
'sgmldeclaration',
'doctype',
'comment',
'opentagstart',
'attribute',
'opentag',
'closetag',
'opencdata',
'cdata',
'closecdata',
'error',
'end',
'ready',
'script',
'opennamespace',
'closenamespace'
]),
Object.create ||
(Object.create = function (e) {
function t() {}
return (t.prototype = e), new t();
}),
Object.keys ||
(Object.keys = function (e) {
var t,
r = [];
for (t in e) e.hasOwnProperty(t) && r.push(t);
return r;
}),
(o.prototype = {
end: function () {
A(this);
},
write: function (e) {
var t = this;
if (this.error) throw this.error;
if (t.closed) return O(t, 'Cannot write after close. Assign an onready handler.');
if (null === e) return A(t);
'object' == typeof e && (e = e.toString());
var r,
n,
s = 0,
i = '';
for (;;) {
if (((i = M(e, s++)), !(t.c = i))) break;
switch (
(t.trackPosition && (t.position++, '\n' === i ? (t.line++, (t.column = 0)) : t.column++),
t.state)
) {
case T.BEGIN:
if (((t.state = T.BEGIN_WHITESPACE), '\ufeff' === i)) continue;
P(t, i);
continue;
case T.BEGIN_WHITESPACE:
P(t, i);
continue;
case T.TEXT:
if (t.sawRoot && !t.closedRoot) {
for (var o = s - 1; i && '<' !== i && '&' !== i; )
(i = M(e, s++)) &&
t.trackPosition &&
(t.position++, '\n' === i ? (t.line++, (t.column = 0)) : t.column++);
t.textNode += e.substring(o, s - 1);
}
'<' !== i || (t.sawRoot && t.closedRoot && !t.strict)
? (g(i) || (t.sawRoot && !t.closedRoot) || D(t, 'Text data outside of root node.'),
'&' === i ? (t.state = T.TEXT_ENTITY) : (t.textNode += i))
: ((t.state = T.OPEN_WAKA), (t.startTagPosition = t.position));
continue;
case T.SCRIPT:
'<' === i ? (t.state = T.SCRIPT_ENDING) : (t.script += i);
continue;
case T.SCRIPT_ENDING:
'/' === i ? (t.state = T.CLOSE_TAG) : ((t.script += '<' + i), (t.state = T.SCRIPT));
continue;
case T.OPEN_WAKA:
'!' === i
? ((t.state = T.SGML_DECL), (t.sgmlDecl = ''))
: g(i) ||
(j(h, i)
? ((t.state = T.OPEN_TAG), (t.tagName = i))
: '/' === i
? ((t.state = T.CLOSE_TAG), (t.tagName = ''))
: '?' === i
? ((t.state = T.PROC_INST), (t.procInstName = t.procInstBody = ''))
: (D(t, 'Unencoded <'),
t.startTagPosition + 1 < t.position &&
((o = t.position - t.startTagPosition), (i = new Array(o).join(' ') + i)),
(t.textNode += '<' + i),
(t.state = T.TEXT)));
continue;
case T.SGML_DECL:
(t.sgmlDecl + i).toUpperCase() === l
? (E(t, 'onopencdata'), (t.state = T.CDATA), (t.sgmlDecl = ''), (t.cdata = ''))
: t.sgmlDecl + i === '--'
? ((t.state = T.COMMENT), (t.comment = ''), (t.sgmlDecl = ''))
: (t.sgmlDecl + i).toUpperCase() === u
? ((t.state = T.DOCTYPE),
(t.doctype || t.sawRoot) && D(t, 'Inappropriately located doctype declaration'),
(t.doctype = ''),
(t.sgmlDecl = ''))
: '>' === i
? (E(t, 'onsgmldeclaration', t.sgmlDecl), (t.sgmlDecl = ''), (t.state = T.TEXT))
: (v(i) && (t.state = T.SGML_DECL_QUOTED), (t.sgmlDecl += i));
continue;
case T.SGML_DECL_QUOTED:
i === t.q && ((t.state = T.SGML_DECL), (t.q = '')), (t.sgmlDecl += i);
continue;
case T.DOCTYPE:
'>' === i
? ((t.state = T.TEXT), E(t, 'ondoctype', t.doctype), (t.doctype = !0))
: ((t.doctype += i),
'[' === i
? (t.state = T.DOCTYPE_DTD)
: v(i) && ((t.state = T.DOCTYPE_QUOTED), (t.q = i)));
continue;
case T.DOCTYPE_QUOTED:
(t.doctype += i), i === t.q && ((t.q = ''), (t.state = T.DOCTYPE));
continue;
case T.DOCTYPE_DTD:
(t.doctype += i),
']' === i ? (t.state = T.DOCTYPE) : v(i) && ((t.state = T.DOCTYPE_DTD_QUOTED), (t.q = i));
continue;
case T.DOCTYPE_DTD_QUOTED:
(t.doctype += i), i === t.q && ((t.state = T.DOCTYPE_DTD), (t.q = ''));
continue;
case T.COMMENT:
'-' === i ? (t.state = T.COMMENT_ENDING) : (t.comment += i);
continue;
case T.COMMENT_ENDING:
'-' === i
? ((t.state = T.COMMENT_ENDED),
(t.comment = S(t.opt, t.comment)),
t.comment && E(t, 'oncomment', t.comment),
(t.comment = ''))
: ((t.comment += '-' + i), (t.state = T.COMMENT));
continue;
case T.COMMENT_ENDED:
'>' !== i
? (D(t, 'Malformed comment'), (t.comment += '--' + i), (t.state = T.COMMENT))
: (t.state = T.TEXT);
continue;
case T.CDATA:
']' === i ? (t.state = T.CDATA_ENDING) : (t.cdata += i);
continue;
case T.CDATA_ENDING:
']' === i ? (t.state = T.CDATA_ENDING_2) : ((t.cdata += ']' + i), (t.state = T.CDATA));
continue;
case T.CDATA_ENDING_2:
'>' === i
? (t.cdata && E(t, 'oncdata', t.cdata),
E(t, 'onclosecdata'),
(t.cdata = ''),
(t.state = T.TEXT))
: ']' === i
? (t.cdata += ']')
: ((t.cdata += ']]' + i), (t.state = T.CDATA));
continue;
case T.PROC_INST:
'?' === i
? (t.state = T.PROC_INST_ENDING)
: g(i)
? (t.state = T.PROC_INST_BODY)
: (t.procInstName += i);
continue;
case T.PROC_INST_BODY:
if (!t.procInstBody && g(i)) continue;
'?' === i ? (t.state = T.PROC_INST_ENDING) : (t.procInstBody += i);
continue;
case T.PROC_INST_ENDING:
'>' === i
? (E(t, 'onprocessinginstruction', { name: t.procInstName, body: t.procInstBody }),
(t.procInstName = t.procInstBody = ''),
(t.state = T.TEXT))
: ((t.procInstBody += '?' + i), (t.state = T.PROC_INST_BODY));
continue;
case T.OPEN_TAG:
j(m, i)
? (t.tagName += i)
: ((function (e) {
e.strict || (e.tagName = e.tagName[e.looseCase]());
var t = e.tags[e.tags.length - 1] || e,
r = (e.tag = { name: e.tagName, attributes: {} });
e.opt.xmlns && (r.ns = t.ns);
(e.attribList.length = 0), E(e, 'onopentagstart', r);
})(t),
'>' === i
? N(t)
: '/' === i
? (t.state = T.OPEN_TAG_SLASH)
: (g(i) || D(t, 'Invalid character in tag name'), (t.state = T.ATTRIB)));
continue;
case T.OPEN_TAG_SLASH:
'>' === i
? (N(t, !0), R(t))
: (D(t, 'Forward-slash in opening tag not followed by >'), (t.state = T.ATTRIB));
continue;
case T.ATTRIB:
if (g(i)) continue;
'>' === i
? N(t)
: '/' === i
? (t.state = T.OPEN_TAG_SLASH)
: j(h, i)
? ((t.attribName = i), (t.attribValue = ''), (t.state = T.ATTRIB_NAME))
: D(t, 'Invalid attribute name');
continue;
case T.ATTRIB_NAME:
'=' === i
? (t.state = T.ATTRIB_VALUE)
: '>' === i
? (D(t, 'Attribute without value'), (t.attribValue = t.attribName), C(t), N(t))
: g(i)
? (t.state = T.ATTRIB_NAME_SAW_WHITE)
: j(m, i)
? (t.attribName += i)
: D(t, 'Invalid attribute name');
continue;
case T.ATTRIB_NAME_SAW_WHITE:
if ('=' === i) t.state = T.ATTRIB_VALUE;
else {
if (g(i)) continue;
D(t, 'Attribute without value'),
(t.tag.attributes[t.attribName] = ''),
(t.attribValue = ''),
E(t, 'onattribute', { name: t.attribName, value: '' }),
(t.attribName = ''),
'>' === i
? N(t)
: j(h, i)
? ((t.attribName = i), (t.state = T.ATTRIB_NAME))
: (D(t, 'Invalid attribute name'), (t.state = T.ATTRIB));
}
continue;
case T.ATTRIB_VALUE:
if (g(i)) continue;
v(i)
? ((t.q = i), (t.state = T.ATTRIB_VALUE_QUOTED))
: (D(t, 'Unquoted attribute value'),
(t.state = T.ATTRIB_VALUE_UNQUOTED),
(t.attribValue = i));
continue;
case T.ATTRIB_VALUE_QUOTED:
if (i !== t.q) {
'&' === i ? (t.state = T.ATTRIB_VALUE_ENTITY_Q) : (t.attribValue += i);
continue;
}
C(t), (t.q = ''), (t.state = T.ATTRIB_VALUE_CLOSED);
continue;
case T.ATTRIB_VALUE_CLOSED:
g(i)
? (t.state = T.ATTRIB)
: '>' === i
? N(t)
: '/' === i
? (t.state = T.OPEN_TAG_SLASH)
: j(h, i)
? (D(t, 'No whitespace between attributes'),
(t.attribName = i),
(t.attribValue = ''),
(t.state = T.ATTRIB_NAME))
: D(t, 'Invalid attribute name');
continue;
case T.ATTRIB_VALUE_UNQUOTED:
if (
!(function (e) {
return '>' === e || g(e);
})(i)
) {
'&' === i ? (t.state = T.ATTRIB_VALUE_ENTITY_U) : (t.attribValue += i);
continue;
}
C(t), '>' === i ? N(t) : (t.state = T.ATTRIB);
continue;
case T.CLOSE_TAG:
if (t.tagName)
'>' === i
? R(t)
: j(m, i)
? (t.tagName += i)
: t.script
? ((t.script += '' + t.tagName), (t.tagName = ''), (t.state = T.SCRIPT))
: (g(i) || D(t, 'Invalid tagname in closing tag'), (t.state = T.CLOSE_TAG_SAW_WHITE));
else {
if (g(i)) continue;
!(function (e, t) {
return !j(e, t);
})(h, i)
? (t.tagName = i)
: t.script
? ((t.script += '' + i), (t.state = T.SCRIPT))
: D(t, 'Invalid tagname in closing tag.');
}
continue;
case T.CLOSE_TAG_SAW_WHITE:
if (g(i)) continue;
'>' === i ? R(t) : D(t, 'Invalid characters in closing tag');
continue;
case T.TEXT_ENTITY:
case T.ATTRIB_VALUE_ENTITY_Q:
case T.ATTRIB_VALUE_ENTITY_U:
switch (t.state) {
case T.TEXT_ENTITY:
(r = T.TEXT), (n = 'textNode');
break;
case T.ATTRIB_VALUE_ENTITY_Q:
(r = T.ATTRIB_VALUE_QUOTED), (n = 'attribValue');
break;
case T.ATTRIB_VALUE_ENTITY_U:
(r = T.ATTRIB_VALUE_UNQUOTED), (n = 'attribValue');
}
';' === i
? ((t[n] += (function (e) {
var t,
r = e.entity,
n = r.toLowerCase(),
s = '';
if (e.ENTITIES[r]) return e.ENTITIES[r];
if (e.ENTITIES[n]) return e.ENTITIES[n];
'#' === (r = n).charAt(0) &&
(s =
'x' === r.charAt(1)
? ((r = r.slice(2)), (t = parseInt(r, 16)).toString(16))
: ((r = r.slice(1)), (t = parseInt(r, 10)).toString(10)));
if (((r = r.replace(/^0+/, '')), isNaN(t) || s.toLowerCase() !== r))
return D(e, 'Invalid character entity'), '&' + e.entity + ';';
return String.fromCodePoint(t);
})(t)),
(t.entity = ''),
(t.state = r))
: j(t.entity.length ? b : y, i)
? (t.entity += i)
: (D(t, 'Invalid character in entity name'),
(t[n] += '&' + t.entity + i),
(t.entity = ''),
(t.state = r));
continue;
default:
throw new Error(t, 'Unknown state: ' + t.state);
}
}
t.position >= t.bufferCheckPosition &&
!(function (e) {
for (var t = Math.max(a.MAX_BUFFER_LENGTH, 10), r = 0, n = 0, s = c.length; n < s; n++) {
var i = e[c[n]].length;
if (t < i)
switch (c[n]) {
case 'textNode':
_(e);
break;
case 'cdata':
E(e, 'oncdata', e.cdata), (e.cdata = '');
break;
case 'script':
E(e, 'onscript', e.script), (e.script = '');
break;
default:
O(e, 'Max buffer length exceeded: ' + c[n]);
}
r = Math.max(r, i);
}
var o = a.MAX_BUFFER_LENGTH - r;
e.bufferCheckPosition = o + e.position;
})(t);
return t;
},
resume: function () {
return (this.error = null), this;
},
close: function () {
return this.write(null);
},
flush: function () {
var e;
_((e = this)),
'' !== e.cdata && (E(e, 'oncdata', e.cdata), (e.cdata = '')),
'' !== e.script && (E(e, 'onscript', e.script), (e.script = ''));
}
});
try {
n = L('stream').Stream;
} catch (e) {
n = function () {};
}
var s = a.EVENTS.filter(function (e) {
return 'error' !== e && 'end' !== e;
});
function i(e, t) {
if (!(this instanceof i)) return new i(e, t);
n.apply(this), (this._parser = new o(e, t)), (this.writable = !0), (this.readable = !0);
var r = this;
(this._parser.onend = function () {
r.emit('end');
}),
(this._parser.onerror = function (e) {
r.emit('error', e), (r._parser.error = null);
}),
(this._decoder = null),
s.forEach(function (t) {
Object.defineProperty(r, 'on' + t, {
get: function () {
return r._parser['on' + t];
},
set: function (e) {
if (!e) return r.removeAllListeners(t), (r._parser['on' + t] = e);
r.on(t, e);
},
enumerable: !0,
configurable: !1
});
});
}
((i.prototype = Object.create(n.prototype, { constructor: { value: i } })).write = function (e) {
var t;
return (
'function' == typeof r &&
'function' == typeof r.isBuffer &&
r.isBuffer(e) &&
(this._decoder || ((t = L('string_decoder').StringDecoder), (this._decoder = new t('utf8'))),
(e = this._decoder.write(e))),
this._parser.write(e.toString()),
this.emit('data', e),
!0
);
}),
(i.prototype.end = function (e) {
return e && e.length && this.write(e), this._parser.end(), !0;
}),
(i.prototype.on = function (t, e) {
var r = this;
return (
r._parser['on' + t] ||
-1 === s.indexOf(t) ||
(r._parser['on' + t] = function () {
var e = 1 === arguments.length ? [arguments[0]] : Array.apply(null, arguments);
e.splice(0, 0, t), r.emit.apply(r, e);
}),
n.prototype.on.call(r, t, e)
);
});
var l = '[CDATA[',
u = 'DOCTYPE',
p = 'http://www.w3.org/XML/1998/namespace',
f = 'http://www.w3.org/2000/xmlns/',
d = { xml: p, xmlns: f },
h =
/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,
m =
/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,
y =
/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,
b =
/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;
function g(e) {
return ' ' === e || '\n' === e || '\r' === e || '\t' === e;
}
function v(e) {
return '"' === e || "'" === e;
}
function j(e, t) {
return e.test(t);
}
var e,
w,
x,
T = 0;
for (e in ((a.STATE = {
BEGIN: T++,
BEGIN_WHITESPACE: T++,
TEXT: T++,
TEXT_ENTITY: T++,
OPEN_WAKA: T++,
SGML_DECL: T++,
SGML_DECL_QUOTED: T++,
DOCTYPE: T++,
DOCTYPE_QUOTED: T++,
DOCTYPE_DTD: T++,
DOCTYPE_DTD_QUOTED: T++,
COMMENT_STARTING: T++,
COMMENT: T++,
COMMENT_ENDING: T++,
COMMENT_ENDED: T++,
CDATA: T++,
CDATA_ENDING: T++,
CDATA_ENDING_2: T++,
PROC_INST: T++,
PROC_INST_BODY: T++,
PROC_INST_ENDING: T++,
OPEN_TAG: T++,
OPEN_TAG_SLASH: T++,
ATTRIB: T++,
ATTRIB_NAME: T++,
ATTRIB_NAME_SAW_WHITE: T++,
ATTRIB_VALUE: T++,
ATTRIB_VALUE_QUOTED: T++,
ATTRIB_VALUE_CLOSED: T++,
ATTRIB_VALUE_UNQUOTED: T++,
ATTRIB_VALUE_ENTITY_Q: T++,
ATTRIB_VALUE_ENTITY_U: T++,
CLOSE_TAG: T++,
CLOSE_TAG_SAW_WHITE: T++,
SCRIPT: T++,
SCRIPT_ENDING: T++
}),
(a.XML_ENTITIES = { amp: '&', gt: '>', lt: '<', quot: '"', apos: "'" }),
(a.ENTITIES = {
amp: '&',
gt: '>',
lt: '<',
quot: '"',
apos: "'",
AElig: 198,
Aacute: 193,
Acirc: 194,
Agrave: 192,
Aring: 197,
Atilde: 195,
Auml: 196,
Ccedil: 199,
ETH: 208,
Eacute: 201,
Ecirc: 202,
Egrave: 200,
Euml: 203,
Iacute: 205,
Icirc: 206,
Igrave: 204,
Iuml: 207,
Ntilde: 209,
Oacute: 211,
Ocirc: 212,
Ograve: 210,
Oslash: 216,
Otilde: 213,
Ouml: 214,
THORN: 222,
Uacute: 218,
Ucirc: 219,
Ugrave: 217,
Uuml: 220,
Yacute: 221,
aacute: 225,
acirc: 226,
aelig: 230,
agrave: 224,
aring: 229,
atilde: 227,
auml: 228,
ccedil: 231,
eacute: 233,
ecirc: 234,
egrave: 232,
eth: 240,
euml: 235,
iacute: 237,
icirc: 238,
igrave: 236,
iuml: 239,
ntilde: 241,
oacute: 243,
ocirc: 244,
ograve: 242,
oslash: 248,
otilde: 245,
ouml: 246,
szlig: 223,
thorn: 254,
uacute: 250,
ucirc: 251,
ugrave: 249,
uuml: 252,
yacute: 253,
yuml: 255,
copy: 169,
reg: 174,
nbsp: 160,
iexcl: 161,
cent: 162,
pound: 163,
curren: 164,
yen: 165,
brvbar: 166,
sect: 167,
uml: 168,
ordf: 170,
laquo: 171,
not: 172,
shy: 173,
macr: 175,
deg: 176,
plusmn: 177,
sup1: 185,
sup2: 178,
sup3: 179,
acute: 180,
micro: 181,
para: 182,
middot: 183,
cedil: 184,
ordm: 186,
raquo: 187,
frac14: 188,
frac12: 189,
frac34: 190,
iquest: 191,
times: 215,
divide: 247,
OElig: 338,
oelig: 339,
Scaron: 352,
scaron: 353,
Yuml: 376,
fnof: 402,
circ: 710,
tilde: 732,
Alpha: 913,
Beta: 914,
Gamma: 915,
Delta: 916,
Epsilon: 917,
Zeta: 918,
Eta: 919,
Theta: 920,
Iota: 921,
Kappa: 922,
Lambda: 923,
Mu: 924,
Nu: 925,
Xi: 926,
Omicron: 927,
Pi: 928,
Rho: 929,
Sigma: 931,
Tau: 932,
Upsilon: 933,
Phi: 934,
Chi: 935,
Psi: 936,
Omega: 937,
alpha: 945,
beta: 946,
gamma: 947,
delta: 948,
epsilon: 949,
zeta: 950,
eta: 951,
theta: 952,
iota: 953,
kappa: 954,
lambda: 955,
mu: 956,
nu: 957,
xi: 958,
omicron: 959,
pi: 960,
rho: 961,
sigmaf: 962,
sigma: 963,
tau: 964,
upsilon: 965,
phi: 966,
chi: 967,
psi: 968,
omega: 969,
thetasym: 977,
upsih: 978,
piv: 982,
ensp: 8194,
emsp: 8195,
thinsp: 8201,
zwnj: 8204,
zwj: 8205,
lrm: 8206,
rlm: 8207,
ndash: 8211,
mdash: 8212,
lsquo: 8216,
rsquo: 8217,
sbquo: 8218,
ldquo: 8220,
rdquo: 8221,
bdquo: 8222,
dagger: 8224,
Dagger: 8225,
bull: 8226,
hellip: 8230,
permil: 8240,
prime: 8242,
Prime: 8243,
lsaquo: 8249,
rsaquo: 8250,
oline: 8254,
frasl: 8260,
euro: 8364,
image: 8465,
weierp: 8472,
real: 8476,
trade: 8482,
alefsym: 8501,
larr: 8592,
uarr: 8593,
rarr: 8594,
darr: 8595,
harr: 8596,
crarr: 8629,
lArr: 8656,
uArr: 8657,
rArr: 8658,
dArr: 8659,
hArr: 8660,
forall: 8704,
part: 8706,
exist: 8707,
empty: 8709,
nabla: 8711,
isin: 8712,
notin: 8713,
ni: 8715,
prod: 8719,
sum: 8721,
minus: 8722,
lowast: 8727,
radic: 8730,
prop: 8733,
infin: 8734,
ang: 8736,
and: 8743,
or: 8744,
cap: 8745,
cup: 8746,
int: 8747,
there4: 8756,
sim: 8764,
cong: 8773,
asymp: 8776,
ne: 8800,
equiv: 8801,
le: 8804,
ge: 8805,
sub: 8834,
sup: 8835,
nsub: 8836,
sube: 8838,
supe: 8839,
oplus: 8853,
otimes: 8855,
perp: 8869,
sdot: 8901,
lceil: 8968,
rceil: 8969,
lfloor: 8970,
rfloor: 8971,
lang: 9001,
rang: 9002,
loz: 9674,
spades: 9824,
clubs: 9827,
hearts: 9829,
diams: 9830
}),
Object.keys(a.ENTITIES).forEach(function (e) {
var t = a.ENTITIES[e],
t = 'number' == typeof t ? String.fromCharCode(t) : t;
a.ENTITIES[e] = t;
}),
a.STATE))
a.STATE[a.STATE[e]] = e;
function k(e, t, r) {
e[t] && e[t](r);
}
function E(e, t, r) {
e.textNode && _(e), k(e, t, r);
}
function _(e) {
(e.textNode = S(e.opt, e.textNode)), e.textNode && k(e, 'ontext', e.textNode), (e.textNode = '');
}
function S(e, t) {
return e.trim && (t = t.trim()), (t = e.normalize ? t.replace(/\s+/g, ' ') : t);
}
function O(e, t) {
return (
_(e),
e.trackPosition && (t += '\nLine: ' + e.line + '\nColumn: ' + e.column + '\nChar: ' + e.c),
(t = new Error(t)),
(e.error = t),
k(e, 'onerror', t),
e
);
}
function A(e) {
return (
e.sawRoot && !e.closedRoot && D(e, 'Unclosed root tag'),
e.state !== T.BEGIN &&
e.state !== T.BEGIN_WHITESPACE &&
e.state !== T.TEXT &&
O(e, 'Unexpected end'),
_(e),
(e.c = ''),
(e.closed = !0),
k(e, 'onend'),
o.call(e, e.strict, e.opt),
e
);
}
function D(e, t) {
if ('object' != typeof e || !(e instanceof o)) throw new Error('bad call to strictFail');
e.strict && O(e, t);
}
function I(e, t) {
var r = e.indexOf(':') < 0 ? ['', e] : e.split(':'),
n = r[0],
r = r[1];
return t && 'xmlns' === e && ((n = 'xmlns'), (r = '')), { prefix: n, local: r };
}
function C(e) {
var t, r, n;
e.strict || (e.attribName = e.attribName[e.looseCase]()),
-1 !== e.attribList.indexOf(e.attribName) ||
e.tag.attributes.hasOwnProperty(e.attribName) ||
(e.opt.xmlns
? ((r = (t = I(e.attribName, !0)).prefix),
(t = t.local),
'xmlns' === r &&
('xml' === t && e.attribValue !== p
? D(e, 'xml: prefix must be bound to ' + p + '\nActual: ' + e.attribValue)
: 'xmlns' === t && e.attribValue !== f
? D(e, 'xmlns: prefix must be bound to ' + f + '\nActual: ' + e.attribValue)
: ((r = e.tag),
(n = e.tags[e.tags.length - 1] || e),
r.ns === n.ns && (r.ns = Object.create(n.ns)),
(r.ns[t] = e.attribValue))),
e.attribList.push([e.attribName, e.attribValue]))
: ((e.tag.attributes[e.attribName] = e.attribValue),
E(e, 'onattribute', { name: e.attribName, value: e.attribValue }))),
(e.attribName = e.attribValue = '');
}
function N(t, e) {
if (t.opt.xmlns) {
var r = t.tag,
n = I(t.tagName),
n =
((r.prefix = n.prefix),
(r.local = n.local),
(r.uri = r.ns[n.prefix] || ''),
r.prefix &&
!r.uri &&
(D(t, 'Unbound namespace prefix: ' + JSON.stringify(t.tagName)), (r.uri = n.prefix)),
t.tags[t.tags.length - 1] || t);
r.ns &&
n.ns !== r.ns &&
Object.keys(r.ns).forEach(function (e) {
E(t, 'onopennamespace', { prefix: e, uri: r.ns[e] });
});
for (var s = 0, i = t.attribList.length; s < i; s++) {
var o = t.attribList[s],
a = o[0],
o = o[1],
c = I(a, !0),
l = c.prefix,
c = c.local,
u = ('' !== l && r.ns[l]) || '',
o = { name: a, value: o, prefix: l, local: c, uri: u };
l && 'xmlns' !== l && !u && (D(t, 'Unbound namespace prefix: ' + JSON.stringify(l)), (o.uri = l)),
(t.tag.attributes[a] = o),
E(t, 'onattribute', o);
}
t.attribList.length = 0;
}
(t.tag.isSelfClosing = !!e),
(t.sawRoot = !0),
t.tags.push(t.tag),
E(t, 'onopentag', t.tag),
e ||
(t.noscript || 'script' !== t.tagName.toLowerCase() ? (t.state = T.TEXT) : (t.state = T.SCRIPT),
(t.tag = null),
(t.tagName = '')),
(t.attribName = t.attribValue = ''),
(t.attribList.length = 0);
}
function R(r) {
if (!r.tagName) return D(r, 'Weird empty close tag.'), (r.textNode += '>'), void (r.state = T.TEXT);
if (r.script) {
if ('script' !== r.tagName)
return (r.script += '' + r.tagName + '>'), (r.tagName = ''), void (r.state = T.SCRIPT);
E(r, 'onscript', r.script), (r.script = '');
}
for (
var e = r.tags.length, t = r.tagName, n = (t = r.strict ? t : t[r.looseCase]());
e-- && r.tags[e].name !== n;
)
D(r, 'Unexpected close tag');
if (e < 0)
return (
D(r, 'Unmatched closing tag: ' + r.tagName),
(r.textNode += '' + r.tagName + '>'),
void (r.state = T.TEXT)
);
r.tagName = t;
for (var s = r.tags.length; s-- > e; ) {
var i,
o = (r.tag = r.tags.pop()),
a = ((r.tagName = r.tag.name), E(r, 'onclosetag', r.tagName), {});
for (i in o.ns) a[i] = o.ns[i];
var c = r.tags[r.tags.length - 1] || r;
r.opt.xmlns &&
o.ns !== c.ns &&
Object.keys(o.ns).forEach(function (e) {
var t = o.ns[e];
E(r, 'onclosenamespace', { prefix: e, uri: t });
});
}
0 === e && (r.closedRoot = !0),
(r.tagName = r.attribValue = r.attribName = ''),
(r.attribList.length = 0),
(r.state = T.TEXT);
}
function P(e, t) {
'<' === t
? ((e.state = T.OPEN_WAKA), (e.startTagPosition = e.position))
: g(t) || (D(e, 'Non-whitespace before first tag.'), (e.textNode = t), (e.state = T.TEXT));
}
function M(e, t) {
var r = '';
return (r = t < e.length ? e.charAt(t) : r);
}
function t() {
var e = [],
t = -1,
r = arguments.length;
if (!r) return '';
for (var n = ''; ++t < r; ) {
var s = Number(arguments[t]);
if (!isFinite(s) || s < 0 || 1114111 < s || x(s) !== s)
throw RangeError('Invalid code point: ' + s);
s <= 65535 ? e.push(s) : ((s -= 65536), e.push(55296 + (s >> 10), (s % 1024) + 56320)),
(t + 1 === r || 16384 < e.length) && ((n += w.apply(null, e)), (e.length = 0));
}
return n;
}
(T = a.STATE),
String.fromCodePoint ||
((w = String.fromCharCode),
(x = Math.floor),
Object.defineProperty
? Object.defineProperty(String, 'fromCodePoint', { value: t, configurable: !0, writable: !0 })
: (String.fromCodePoint = t));
}.call(this);
}.call(this, L('buffer').Buffer);
},
{ buffer: 89, stream: 387, string_decoder: 88 }
],
387: [
function (e, t, r) {
t.exports = n;
var u = e('events').EventEmitter;
function n() {
u.call(this);
}
e('inherits')(n, u),
(n.Readable = e('readable-stream/readable.js')),
(n.Writable = e('readable-stream/writable.js')),
(n.Duplex = e('readable-stream/duplex.js')),
(n.Transform = e('readable-stream/transform.js')),
(n.PassThrough = e('readable-stream/passthrough.js')),
((n.Stream = n).prototype.pipe = function (t, e) {
var r = this;
function n(e) {
t.writable && !1 === t.write(e) && r.pause && r.pause();
}
function s() {
r.readable && r.resume && r.resume();
}
r.on('data', n),
t.on('drain', s),
t._isStdio || (e && !1 === e.end) || (r.on('end', o), r.on('close', a));
var i = !1;
function o() {
i || ((i = !0), t.end());
}
function a() {
i || ((i = !0), 'function' == typeof t.destroy && t.destroy());
}
function c(e) {
if ((l(), 0 === u.listenerCount(this, 'error'))) throw e;
}
function l() {
r.removeListener('data', n),
t.removeListener('drain', s),
r.removeListener('end', o),
r.removeListener('close', a),
r.removeListener('error', c),
t.removeListener('error', c),
r.removeListener('end', l),
r.removeListener('close', l),
t.removeListener('close', l);
}
return (
r.on('error', c),
t.on('error', c),
r.on('end', l),
r.on('close', l),
t.on('close', l),
t.emit('pipe', r),
t
);
});
},
{
events: 343,
inherits: 353,
'readable-stream/duplex.js': 371,
'readable-stream/passthrough.js': 380,
'readable-stream/readable.js': 381,
'readable-stream/transform.js': 382,
'readable-stream/writable.js': 383
}
],
388: [
function (e, t, r) {
'use strict';
var n = e('safe-buffer').Buffer,
s =
n.isEncoding ||
function (e) {
switch ((e = '' + e) && e.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;
}
};
function i(e) {
var t = (function (e) {
if (!e) return 'utf8';
for (var t; ; )
switch (e) {
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 e;
default:
if (t) return;
(e = ('' + e).toLowerCase()), (t = !0);
}
})(e);
if ('string' == typeof t || (n.isEncoding !== s && s(e))) return t || e;
throw new Error('Unknown encoding: ' + e);
}
function o(e) {
var t;
switch (((this.encoding = i(e)), this.encoding)) {
case 'utf16le':
(this.text = l), (this.end = u), (t = 4);
break;
case 'utf8':
(this.fillLast = c), (t = 4);
break;
case 'base64':
(this.text = p), (this.end = f), (t = 3);
break;
default:
return (this.write = d), void (this.end = h);
}
(this.lastNeed = 0), (this.lastTotal = 0), (this.lastChar = n.allocUnsafe(t));
}
function a(e) {
return e <= 127 ? 0 : e >> 5 == 6 ? 2 : e >> 4 == 14 ? 3 : e >> 3 == 30 ? 4 : e >> 6 == 2 ? -1 : -2;
}
function c(e) {
var t,
r = this.lastTotal - this.lastNeed,
n =
((t = this),
128 != (192 & (n = e)[0])
? ((t.lastNeed = 0), '\ufffd')
: 1 < t.lastNeed && 1 < n.length
? 128 != (192 & n[1])
? ((t.lastNeed = 1), '\ufffd')
: 2 < t.lastNeed && 2 < n.length && 128 != (192 & n[2])
? ((t.lastNeed = 2), '\ufffd')
: void 0
: void 0);
return void 0 !== n
? n
: this.lastNeed <= e.length
? (e.copy(this.lastChar, r, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal))
: (e.copy(this.lastChar, r, 0, e.length), void (this.lastNeed -= e.length));
}
function l(e, t) {
if ((e.length - t) % 2 != 0)
return (
(this.lastNeed = 1),
(this.lastTotal = 2),
(this.lastChar[0] = e[e.length - 1]),
e.toString('utf16le', t, e.length - 1)
);
t = e.toString('utf16le', t);
if (t) {
var r = t.charCodeAt(t.length - 1);
if (55296 <= r && r <= 56319)
return (
(this.lastNeed = 2),
(this.lastTotal = 4),
(this.lastChar[0] = e[e.length - 2]),
(this.lastChar[1] = e[e.length - 1]),
t.slice(0, -1)
);
}
return t;
}
function u(e) {
var t,
e = e && e.length ? this.write(e) : '';
return this.lastNeed
? ((t = this.lastTotal - this.lastNeed), e + this.lastChar.toString('utf16le', 0, t))
: e;
}
function p(e, t) {
var r = (e.length - t) % 3;
return 0 == r
? e.toString('base64', t)
: ((this.lastNeed = 3 - r),
(this.lastTotal = 3),
1 == r
? (this.lastChar[0] = e[e.length - 1])
: ((this.lastChar[0] = e[e.length - 2]), (this.lastChar[1] = e[e.length - 1])),
e.toString('base64', t, e.length - r));
}
function f(e) {
e = e && e.length ? this.write(e) : '';
return this.lastNeed ? e + this.lastChar.toString('base64', 0, 3 - this.lastNeed) : e;
}
function d(e) {
return e.toString(this.encoding);
}
function h(e) {
return e && e.length ? this.write(e) : '';
}
((r.StringDecoder = o).prototype.write = function (e) {
if (0 === e.length) return '';
var t, r;
if (this.lastNeed) {
if (void 0 === (t = this.fillLast(e))) return '';
(r = this.lastNeed), (this.lastNeed = 0);
} else r = 0;
return r < e.length ? (t ? t + this.text(e, r) : this.text(e, r)) : t || '';
}),
(o.prototype.end = function (e) {
e = e && e.length ? this.write(e) : '';
return this.lastNeed ? e + '\ufffd' : e;
}),
(o.prototype.text = function (e, t) {
var r = (function (e, t, r) {
var n = t.length - 1;
if (n < r) return 0;
var s = a(t[n]);
if (0 <= s) return 0 < s && (e.lastNeed = s - 1), s;
if (--n < r || -2 === s) return 0;
if (0 <= (s = a(t[n]))) return 0 < s && (e.lastNeed = s - 2), s;
if (--n < r || -2 === s) return 0;
if (0 <= (s = a(t[n]))) return 0 < s && (2 === s ? (s = 0) : (e.lastNeed = s - 3)), s;
return 0;
})(this, e, t);
if (!this.lastNeed) return e.toString('utf8', t);
this.lastTotal = r;
r = e.length - (r - this.lastNeed);
return e.copy(this.lastChar, 0, r), e.toString('utf8', t, r);
}),
(o.prototype.fillLast = function (e) {
if (this.lastNeed <= e.length)
return (
e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed),
this.lastChar.toString(this.encoding, 0, this.lastTotal)
);
e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, e.length), (this.lastNeed -= e.length);
});
},
{ 'safe-buffer': 385 }
],
389: [
function (c, e, l) {
!function (r, a) {
!function () {
var n = c('process/browser.js').nextTick,
e = Function.prototype.apply,
s = Array.prototype.slice,
i = {},
o = 0;
function t(e, t) {
(this._id = e), (this._clearFn = t);
}
(l.setTimeout = function () {
return new t(e.call(setTimeout, window, arguments), clearTimeout);
}),
(l.setInterval = function () {
return new t(e.call(setInterval, window, arguments), clearInterval);
}),
(l.clearTimeout = l.clearInterval =
function (e) {
e.close();
}),
(t.prototype.unref = t.prototype.ref = function () {}),
(t.prototype.close = function () {
this._clearFn.call(window, this._id);
}),
(l.enroll = function (e, t) {
clearTimeout(e._idleTimeoutId), (e._idleTimeout = t);
}),
(l.unenroll = function (e) {
clearTimeout(e._idleTimeoutId), (e._idleTimeout = -1);
}),
(l._unrefActive = l.active =
function (e) {
clearTimeout(e._idleTimeoutId);
var t = e._idleTimeout;
0 <= t &&
(e._idleTimeoutId = setTimeout(function () {
e._onTimeout && e._onTimeout();
}, t));
}),
(l.setImmediate =
'function' == typeof r
? r
: function (e) {
var t = o++,
r = !(arguments.length < 2) && s.call(arguments, 1);
return (
(i[t] = !0),
n(function () {
i[t] && (r ? e.apply(null, r) : e.call(null), l.clearImmediate(t));
}),
t
);
}),
(l.clearImmediate =
'function' == typeof a
? a
: function (e) {
delete i[e];
});
}.call(this);
}.call(this, c('timers').setImmediate, c('timers').clearImmediate);
},
{ 'process/browser.js': 366, timers: 389 }
],
390: [
function (e, t, r) {
var s = e('buffer').Buffer;
t.exports = function (e) {
if (e instanceof Uint8Array) {
if (0 === e.byteOffset && e.byteLength === e.buffer.byteLength) return e.buffer;
if ('function' == typeof e.buffer.slice)
return e.buffer.slice(e.byteOffset, e.byteOffset + e.byteLength);
}
if (s.isBuffer(e)) {
for (var t = new Uint8Array(e.length), r = e.length, n = 0; n < r; n++) t[n] = e[n];
return t.buffer;
}
throw new Error('Argument must be a Buffer');
};
},
{ buffer: 89 }
],
391: [
function (e, r, t) {
!function (t) {
!function () {
function n(e) {
try {
if (!t.localStorage) return;
} catch (e) {
return;
}
e = t.localStorage[e];
return null != e && 'true' === String(e).toLowerCase();
}
r.exports = function (e, t) {
if (n('noDeprecation')) return e;
var r = !1;
return function () {
if (!r) {
if (n('throwDeprecation')) throw new Error(t);
n('traceDeprecation') ? console.trace(t) : console.warn(t), (r = !0);
}
return e.apply(this, arguments);
};
};
}.call(this);
}.call(
this,
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {}
);
},
{}
],
392: [
function (e, t, r) {
arguments[4][82][0].apply(r, arguments);
},
{ dup: 82 }
],
393: [
function (e, t, r) {
arguments[4][83][0].apply(r, arguments);
},
{ dup: 83 }
],
394: [
function (e, t, r) {
arguments[4][84][0].apply(r, arguments);
},
{ './support/isBuffer': 393, _process: 441, dup: 84, inherits: 392 }
],
395: [
function (e, t, r) {
!function () {
'use strict';
r.stripBOM = function (e) {
return '\ufeff' === e[0] ? e.substring(1) : e;
};
}.call(this);
},
{}
],
396: [
function (n, e, i) {
!function () {
'use strict';
var r,
s,
t,
f,
d,
h = {}.hasOwnProperty;
function e(e) {
var t, r, n;
for (t in ((this.options = {}), (r = s[0.2]))) h.call(r, t) && ((n = r[t]), (this.options[t] = n));
for (t in e) h.call(e, t) && ((n = e[t]), (this.options[t] = n));
}
(r = n('xmlbuilder')),
(s = n('./defaults').defaults),
(f = function (e) {
return 'string' == typeof e && (0 <= e.indexOf('&') || 0 <= e.indexOf('>') || 0 <= e.indexOf('<'));
}),
(d = function (e) {
return '';
}),
(t = function (e) {
return e.replace(']]>', ']]]]>');
}),
(i.Builder =
((e.prototype.buildObject = function (e) {
var c,
t,
l,
u = this.options.attrkey,
p = this.options.charkey;
return (
1 === Object.keys(e).length && this.options.rootName === s[0.2].rootName
? (e = e[(t = Object.keys(e)[0])])
: (t = this.options.rootName),
(l = this),
(c = function (e, t) {
var r, n, s, i, o, a;
if ('object' != typeof t) l.options.cdata && f(t) ? e.raw(d(t)) : e.txt(t);
else if (Array.isArray(t)) {
for (i in t) if (h.call(t, i)) for (o in (n = t[i])) (s = n[o]), (e = c(e.ele(o), s).up());
} else
for (o in t)
if (h.call(t, o))
if (((n = t[o]), o === u)) {
if ('object' == typeof n) for (r in n) (a = n[r]), (e = e.att(r, a));
} else if (o === p) e = l.options.cdata && f(n) ? e.raw(d(n)) : e.txt(n);
else if (Array.isArray(n))
for (i in n)
h.call(n, i) &&
(e = (
'string' == typeof (s = n[i])
? l.options.cdata && f(s)
? e.ele(o).raw(d(s))
: e.ele(o, s)
: c(e.ele(o), s)
).up());
else
e =
'object' == typeof n
? c(e.ele(o), n).up()
: 'string' == typeof n && l.options.cdata && f(n)
? e.ele(o).raw(d(n)).up()
: (null == n && (n = ''), e.ele(o, n.toString()).up());
return e;
}),
(t = r.create(t, this.options.xmldec, this.options.doctype, {
headless: this.options.headless,
allowSurrogateChars: this.options.allowSurrogateChars
})),
c(t, e).end(this.options.renderOpts)
);
}),
e));
}.call(this);
},
{ './defaults': 397, xmlbuilder: 433 }
],
397: [
function (e, t, r) {
!function () {
r.defaults = {
0.1: {
explicitCharkey: !1,
trim: !0,
normalize: !0,
normalizeTags: !1,
attrkey: '@',
charkey: '#',
explicitArray: !1,
ignoreAttrs: !1,
mergeAttrs: !1,
explicitRoot: !1,
validator: null,
xmlns: !1,
explicitChildren: !1,
childkey: '@@',
charsAsChildren: !1,
includeWhiteChars: !1,
async: !1,
strict: !0,
attrNameProcessors: null,
attrValueProcessors: null,
tagNameProcessors: null,
valueProcessors: null,
emptyTag: ''
},
0.2: {
explicitCharkey: !1,
trim: !1,
normalize: !1,
normalizeTags: !1,
attrkey: '$',
charkey: '_',
explicitArray: !0,
ignoreAttrs: !1,
mergeAttrs: !1,
explicitRoot: !0,
validator: null,
xmlns: !1,
explicitChildren: !1,
preserveChildrenOrder: !1,
childkey: '$$',
charsAsChildren: !1,
includeWhiteChars: !1,
async: !1,
strict: !0,
attrNameProcessors: null,
attrValueProcessors: null,
tagNameProcessors: null,
valueProcessors: null,
rootName: 'root',
xmldec: { version: '1.0', encoding: 'UTF-8', standalone: !0 },
doctype: null,
renderOpts: { pretty: !0, indent: ' ', newline: '\n' },
headless: !1,
chunkSize: 1e4,
emptyTag: '',
cdata: !1
}
};
}.call(this);
},
{}
],
398: [
function (e, t, m) {
!function () {
'use strict';
function i(e, t) {
return function () {
return e.apply(t, arguments);
};
}
var f = {}.hasOwnProperty,
c = e('sax'),
o = e('events'),
a = e('./bom'),
l = e('./processors'),
u = e('timers').setImmediate,
p = e('./defaults').defaults,
d = function (e) {
return 'object' == typeof e && null != e && 0 === Object.keys(e).length;
},
h = function (e, t, r) {
for (var n = 0, s = e.length; n < s; n++) t = (0, e[n])(t, r);
return t;
};
(m.Parser = (function () {
var e,
t = s,
r = o;
for (e in r) f.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function s(e) {
var t, r, n;
if (
((this.parseStringPromise = i(this.parseStringPromise, this)),
(this.parseString = i(this.parseString, this)),
(this.reset = i(this.reset, this)),
(this.assignOrPush = i(this.assignOrPush, this)),
(this.processAsync = i(this.processAsync, this)),
!(this instanceof m.Parser))
)
return new m.Parser(e);
for (t in ((this.options = {}), (r = p[0.2]))) f.call(r, t) && ((n = r[t]), (this.options[t] = n));
for (t in e) f.call(e, t) && ((n = e[t]), (this.options[t] = n));
this.options.xmlns && (this.options.xmlnskey = this.options.attrkey + 'ns'),
this.options.normalizeTags &&
(this.options.tagNameProcessors || (this.options.tagNameProcessors = []),
this.options.tagNameProcessors.unshift(l.normalize)),
this.reset();
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
(s.prototype.processAsync = function () {
var t;
try {
return this.remaining.length <= this.options.chunkSize
? ((t = this.remaining),
(this.remaining = ''),
(this.saxParser = this.saxParser.write(t)),
this.saxParser.close())
: ((t = this.remaining.substr(0, this.options.chunkSize)),
(this.remaining = this.remaining.substr(this.options.chunkSize, this.remaining.length)),
(this.saxParser = this.saxParser.write(t)),
u(this.processAsync));
} catch (e) {
if (((t = e), !this.saxParser.errThrown)) return (this.saxParser.errThrown = !0), this.emit(t);
}
}),
(s.prototype.assignOrPush = function (e, t, r) {
return t in e
? (e[t] instanceof Array || (e[t] = [e[t]]), e[t].push(r))
: this.options.explicitArray
? (e[t] = [r])
: (e[t] = r);
}),
(s.prototype.reset = function () {
var o, l, t, u, r, e, a, p, n;
return (
this.removeAllListeners(),
(this.saxParser = c.parser(this.options.strict, {
trim: !1,
normalize: !1,
xmlns: this.options.xmlns
})),
(this.saxParser.errThrown = !1),
(this.saxParser.onerror =
((r = this),
function (e) {
if ((r.saxParser.resume(), !r.saxParser.errThrown))
return (r.saxParser.errThrown = !0), r.emit('error', e);
})),
(this.saxParser.onend =
((e = this),
function () {
if (!e.saxParser.ended) return (e.saxParser.ended = !0), e.emit('end', e.resultObject);
})),
(this.saxParser.ended = !1),
(this.EXPLICIT_CHARKEY = this.options.explicitCharkey),
(this.resultObject = null),
(u = []),
(o = this.options.attrkey),
(l = this.options.charkey),
(this.saxParser.onopentag =
((a = this),
function (e) {
var t,
r,
n,
s,
i = {};
if (((i[l] = ''), !a.options.ignoreAttrs))
for (t in (s = e.attributes))
f.call(s, t) &&
(o in i || a.options.mergeAttrs || (i[o] = {}),
(r = a.options.attrValueProcessors
? h(a.options.attrValueProcessors, e.attributes[t], t)
: e.attributes[t]),
(n = a.options.attrNameProcessors ? h(a.options.attrNameProcessors, t) : t),
a.options.mergeAttrs ? a.assignOrPush(i, n, r) : (i[o][n] = r));
return (
(i['#name'] = a.options.tagNameProcessors
? h(a.options.tagNameProcessors, e.name)
: e.name),
a.options.xmlns && (i[a.options.xmlnskey] = { uri: e.uri, local: e.local }),
u.push(i)
);
})),
(this.saxParser.onclosetag =
((p = this),
function () {
var e,
t,
n,
r,
s,
i,
o,
a = u.pop(),
c = a['#name'];
if (
((p.options.explicitChildren && p.options.preserveChildrenOrder) || delete a['#name'],
!0 === a.cdata && ((s = a.cdata), delete a.cdata),
(i = u[u.length - 1]),
a[l].match(/^\s*$/) && !s
? ((e = a[l]), delete a[l])
: (p.options.trim && (a[l] = a[l].trim()),
p.options.normalize && (a[l] = a[l].replace(/\s{2,}/g, ' ').trim()),
(a[l] = p.options.valueProcessors ? h(p.options.valueProcessors, a[l], c) : a[l]),
1 === Object.keys(a).length && l in a && !p.EXPLICIT_CHARKEY && (a = a[l])),
d(a) && (a = '' !== p.options.emptyTag ? p.options.emptyTag : e),
null != p.options.validator &&
((o =
'/' +
(function () {
for (var e = [], t = 0, r = u.length; t < r; t++) (n = u[t]), e.push(n['#name']);
return e;
})()
.concat(c)
.join('/')),
(function () {
try {
a = p.options.validator(o, i && i[c], a);
} catch (e) {
return p.emit('error', e);
}
})()),
p.options.explicitChildren && !p.options.mergeAttrs && 'object' == typeof a)
)
if (p.options.preserveChildrenOrder) {
if (i) {
for (t in ((i[p.options.childkey] = i[p.options.childkey] || []), (r = {}), a))
f.call(a, t) && (r[t] = a[t]);
i[p.options.childkey].push(r),
delete a['#name'],
1 === Object.keys(a).length && l in a && !p.EXPLICIT_CHARKEY && (a = a[l]);
}
} else
(n = {}),
p.options.attrkey in a &&
((n[p.options.attrkey] = a[p.options.attrkey]), delete a[p.options.attrkey]),
!p.options.charsAsChildren &&
p.options.charkey in a &&
((n[p.options.charkey] = a[p.options.charkey]), delete a[p.options.charkey]),
0 < Object.getOwnPropertyNames(a).length && (n[p.options.childkey] = a),
(a = n);
return 0 < u.length
? p.assignOrPush(i, c, a)
: (p.options.explicitRoot && ((s = a), ((a = {})[c] = s)),
(p.resultObject = a),
(p.saxParser.ended = !0),
p.emit('end', p.resultObject));
})),
(t = function (e) {
var t,
r = u[u.length - 1];
if (r)
return (
(r[l] += e),
n.options.explicitChildren &&
n.options.preserveChildrenOrder &&
n.options.charsAsChildren &&
(n.options.includeWhiteChars || '' !== e.replace(/\\n/g, '').trim()) &&
((r[n.options.childkey] = r[n.options.childkey] || []),
((t = { '#name': '__text__' })[l] = e),
n.options.normalize && (t[l] = t[l].replace(/\s{2,}/g, ' ').trim()),
r[n.options.childkey].push(t)),
r
);
}),
((n = this).saxParser.ontext = t),
(this.saxParser.oncdata = function (e) {
e = t(e);
if (e) return (e.cdata = !0);
})
);
}),
(s.prototype.parseString = function (t, r) {
null != r &&
'function' == typeof r &&
(this.on('end', function (e) {
return this.reset(), r(null, e);
}),
this.on('error', function (e) {
return this.reset(), r(e);
}));
try {
return '' === (t = t.toString()).trim()
? (this.emit('end', null), !0)
: ((t = a.stripBOM(t)),
this.options.async
? ((this.remaining = t), u(this.processAsync), this.saxParser)
: this.saxParser.write(t).close());
} catch (e) {
if (((t = e), !this.saxParser.errThrown && !this.saxParser.ended))
return this.emit('error', t), (this.saxParser.errThrown = !0);
if (this.saxParser.ended) throw t;
}
}),
(s.prototype.parseStringPromise = function (e) {
return new Promise(
((t = this),
function (r, n) {
return t.parseString(e, function (e, t) {
return e ? n(e) : r(t);
});
})
);
var t;
}),
s
);
})()),
(m.parseString = function (e, t, r) {
var n, s;
return (
null != r
? ('function' == typeof r && (n = r), 'object' == typeof t && (s = t))
: ('function' == typeof t && (n = t), (s = {})),
new m.Parser(s).parseString(e, n)
);
}),
(m.parseStringPromise = function (e, t) {
var r;
return new m.Parser((r = 'object' == typeof t ? t : r)).parseStringPromise(e);
});
}.call(this);
},
{ './bom': 395, './defaults': 397, './processors': 399, events: 343, sax: 386, timers: 389 }
],
399: [
function (e, t, r) {
!function () {
'use strict';
var t = new RegExp(/(?!xmlns)^.*:/);
(r.normalize = function (e) {
return e.toLowerCase();
}),
(r.firstCharLowerCase = function (e) {
return e.charAt(0).toLowerCase() + e.slice(1);
}),
(r.stripPrefix = function (e) {
return e.replace(t, '');
}),
(r.parseNumbers = function (e) {
return (e = isNaN(e) ? e : e % 1 == 0 ? parseInt(e, 10) : parseFloat(e));
}),
(r.parseBooleans = function (e) {
return (e = /^(?:true|false)$/i.test(e) ? 'true' === e.toLowerCase() : e);
});
}.call(this);
},
{}
],
400: [
function (s, e, i) {
!function () {
'use strict';
var o = {}.hasOwnProperty,
e = s('./defaults'),
t = s('./builder'),
r = s('./parser'),
n = s('./processors');
(i.defaults = e.defaults),
(i.processors = n),
(i.ValidationError = (function (e) {
var t,
r = i,
n = e;
for (t in n) o.call(n, t) && (r[t] = n[t]);
function s() {
this.constructor = r;
}
function i(e) {
this.message = e;
}
return (s.prototype = n.prototype), (r.prototype = new s()), (r.__super__ = n.prototype), i;
})(Error)),
(i.Builder = t.Builder),
(i.Parser = r.Parser),
(i.parseString = r.parseString),
(i.parseStringPromise = r.parseStringPromise);
}.call(this);
},
{ './builder': 396, './defaults': 397, './parser': 398, './processors': 399 }
],
401: [
function (e, t, r) {
!function () {
t.exports = {
Disconnected: 1,
Preceding: 2,
Following: 4,
Contains: 8,
ContainedBy: 16,
ImplementationSpecific: 32
};
}.call(this);
},
{}
],
402: [
function (e, t, r) {
!function () {
t.exports = {
Element: 1,
Attribute: 2,
Text: 3,
CData: 4,
EntityReference: 5,
EntityDeclaration: 6,
ProcessingInstruction: 7,
Comment: 8,
Document: 9,
DocType: 10,
DocumentFragment: 11,
NotationDeclaration: 12,
Declaration: 201,
Raw: 202,
AttributeDeclaration: 203,
ElementDeclaration: 204,
Dummy: 205
};
}.call(this);
},
{}
],
403: [
function (e, i, t) {
!function () {
var o = [].slice,
a = {}.hasOwnProperty,
c = function (e) {
return !!e && '[object Function]' === Object.prototype.toString.call(e);
},
t = function (e) {
return !!e && ('function' == (e = typeof e) || 'object' == e);
},
r = function (e) {
return c(Array.isArray) ? Array.isArray(e) : '[object Array]' === Object.prototype.toString.call(e);
},
e = function (e) {
if (r(e)) return !e.length;
for (var t in e) if (a.call(e, t)) return !1;
return !0;
},
n = function (e) {
return (
t(e) &&
(e = Object.getPrototypeOf(e)) &&
(e = e.constructor) &&
'function' == typeof e &&
e instanceof e &&
Function.prototype.toString.call(e) === Function.prototype.toString.call(Object)
);
},
s = function (e) {
return c(e.valueOf) ? e.valueOf() : e;
};
(i.exports.assign = function () {
var e,
t,
r,
n,
s = arguments[0],
i = 2 <= arguments.length ? o.call(arguments, 1) : [];
if (c(Object.assign)) Object.assign.apply(null, arguments);
else
for (e = 0, r = i.length; e < r; e++)
if (null != (n = i[e])) for (t in n) a.call(n, t) && (s[t] = n[t]);
return s;
}),
(i.exports.isFunction = c),
(i.exports.isObject = t),
(i.exports.isArray = r),
(i.exports.isEmpty = e),
(i.exports.isPlainObject = n),
(i.exports.getValue = s);
}.call(this);
},
{}
],
404: [
function (e, t, r) {
!function () {
t.exports = { None: 0, OpenTag: 1, InsideTag: 2, CloseTag: 3 };
}.call(this);
},
{}
],
405: [
function (t, r, e) {
!function () {
var n;
function e(e, t, r) {
if (
((this.parent = e),
this.parent && ((this.options = this.parent.options), (this.stringify = this.parent.stringify)),
null == t)
)
throw new Error('Missing attribute name. ' + this.debugInfo(t));
(this.name = this.stringify.name(t)),
(this.value = this.stringify.attValue(r)),
(this.type = n.Attribute),
(this.isId = !1),
(this.schemaTypeInfo = null);
}
(n = t('./NodeType')),
t('./XMLNode'),
(r.exports =
(Object.defineProperty(e.prototype, 'nodeType', {
get: function () {
return this.type;
}
}),
Object.defineProperty(e.prototype, 'ownerElement', {
get: function () {
return this.parent;
}
}),
Object.defineProperty(e.prototype, 'textContent', {
get: function () {
return this.value;
},
set: function (e) {
return (this.value = e || '');
}
}),
Object.defineProperty(e.prototype, 'namespaceURI', {
get: function () {
return '';
}
}),
Object.defineProperty(e.prototype, 'prefix', {
get: function () {
return '';
}
}),
Object.defineProperty(e.prototype, 'localName', {
get: function () {
return this.name;
}
}),
Object.defineProperty(e.prototype, 'specified', {
get: function () {
return !0;
}
}),
(e.prototype.clone = function () {
return Object.create(this);
}),
(e.prototype.toString = function (e) {
return this.options.writer.attribute(this, this.options.writer.filterOptions(e));
}),
(e.prototype.debugInfo = function (e) {
return null == (e = e || this.name)
? 'parent: <' + this.parent.name + '>'
: 'attribute: {' + e + '}, parent: <' + this.parent.name + '>';
}),
(e.prototype.isEqualNode = function (e) {
return (
e.namespaceURI === this.namespaceURI &&
e.prefix === this.prefix &&
e.localName === this.localName &&
e.value === this.value
);
}),
e));
}.call(this);
},
{ './NodeType': 402, './XMLNode': 424 }
],
406: [
function (e, t, r) {
!function () {
var i = {}.hasOwnProperty,
o = e('./NodeType'),
a = e('./XMLCharacterData');
t.exports = (function () {
var e,
t = s,
r = a;
for (e in r) i.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function s(e, t) {
if ((s.__super__.constructor.call(this, e), null == t))
throw new Error('Missing CDATA text. ' + this.debugInfo());
(this.name = '#cdata-section'), (this.type = o.CData), (this.value = this.stringify.cdata(t));
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
(s.prototype.clone = function () {
return Object.create(this);
}),
(s.prototype.toString = function (e) {
return this.options.writer.cdata(this, this.options.writer.filterOptions(e));
}),
s
);
})();
}.call(this);
},
{ './NodeType': 402, './XMLCharacterData': 407 }
],
407: [
function (e, t, r) {
!function () {
var i = {}.hasOwnProperty,
o = e('./XMLNode');
t.exports = (function () {
var e,
t = s,
r = o;
for (e in r) i.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function s(e) {
s.__super__.constructor.call(this, e), (this.value = '');
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
Object.defineProperty(s.prototype, 'data', {
get: function () {
return this.value;
},
set: function (e) {
return (this.value = e || '');
}
}),
Object.defineProperty(s.prototype, 'length', {
get: function () {
return this.value.length;
}
}),
Object.defineProperty(s.prototype, 'textContent', {
get: function () {
return this.value;
},
set: function (e) {
return (this.value = e || '');
}
}),
(s.prototype.clone = function () {
return Object.create(this);
}),
(s.prototype.substringData = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.appendData = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.insertData = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.deleteData = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.replaceData = function (e, t, r) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.isEqualNode = function (e) {
return !!s.__super__.isEqualNode.apply(this, arguments).isEqualNode(e) && e.data === this.data;
}),
s
);
})();
}.call(this);
},
{ './XMLNode': 424 }
],
408: [
function (e, t, r) {
!function () {
var i = {}.hasOwnProperty,
o = e('./NodeType'),
a = e('./XMLCharacterData');
t.exports = (function () {
var e,
t = s,
r = a;
for (e in r) i.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function s(e, t) {
if ((s.__super__.constructor.call(this, e), null == t))
throw new Error('Missing comment text. ' + this.debugInfo());
(this.name = '#comment'), (this.type = o.Comment), (this.value = this.stringify.comment(t));
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
(s.prototype.clone = function () {
return Object.create(this);
}),
(s.prototype.toString = function (e) {
return this.options.writer.comment(this, this.options.writer.filterOptions(e));
}),
s
);
})();
}.call(this);
},
{ './NodeType': 402, './XMLCharacterData': 407 }
],
409: [
function (n, s, e) {
!function () {
var e, t;
function r() {
(this.defaultParams = {
'canonical-form': !1,
'cdata-sections': !1,
comments: !1,
'datatype-normalization': !1,
'element-content-whitespace': !0,
entities: !0,
'error-handler': new e(),
infoset: !0,
'validate-if-schema': !1,
namespaces: !0,
'namespace-declarations': !0,
'normalize-characters': !1,
'schema-location': '',
'schema-type': '',
'split-cdata-sections': !0,
validate: !1,
'well-formed': !0
}),
(this.params = Object.create(this.defaultParams));
}
(e = n('./XMLDOMErrorHandler')),
(t = n('./XMLDOMStringList')),
(s.exports =
(Object.defineProperty(r.prototype, 'parameterNames', {
get: function () {
return new t(Object.keys(this.defaultParams));
}
}),
(r.prototype.getParameter = function (e) {
return this.params.hasOwnProperty(e) ? this.params[e] : null;
}),
(r.prototype.canSetParameter = function (e, t) {
return !0;
}),
(r.prototype.setParameter = function (e, t) {
return null != t ? (this.params[e] = t) : delete this.params[e];
}),
r));
}.call(this);
},
{ './XMLDOMErrorHandler': 410, './XMLDOMStringList': 412 }
],
410: [
function (e, t, r) {
!function () {
function e() {}
t.exports =
((e.prototype.handleError = function (e) {
throw new Error(e);
}),
e);
}.call(this);
},
{}
],
411: [
function (e, t, r) {
!function () {
function e() {}
t.exports =
((e.prototype.hasFeature = function (e, t) {
return !0;
}),
(e.prototype.createDocumentType = function (e, t, r) {
throw new Error('This DOM method is not implemented.');
}),
(e.prototype.createDocument = function (e, t, r) {
throw new Error('This DOM method is not implemented.');
}),
(e.prototype.createHTMLDocument = function (e) {
throw new Error('This DOM method is not implemented.');
}),
(e.prototype.getFeature = function (e, t) {
throw new Error('This DOM method is not implemented.');
}),
e);
}.call(this);
},
{}
],
412: [
function (e, t, r) {
!function () {
function e(e) {
this.arr = e || [];
}
t.exports =
(Object.defineProperty(e.prototype, 'length', {
get: function () {
return this.arr.length;
}
}),
(e.prototype.item = function (e) {
return this.arr[e] || null;
}),
(e.prototype.contains = function (e) {
return -1 !== this.arr.indexOf(e);
}),
e);
}.call(this);
},
{}
],
413: [
function (e, t, r) {
!function () {
var s = {}.hasOwnProperty,
i = e('./XMLNode'),
a = e('./NodeType');
t.exports = (function () {
var e,
t = o,
r = i;
for (e in r) s.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function o(e, t, r, n, s, i) {
if ((o.__super__.constructor.call(this, e), null == t))
throw new Error('Missing DTD element name. ' + this.debugInfo());
if (null == r) throw new Error('Missing DTD attribute name. ' + this.debugInfo(t));
if (!n) throw new Error('Missing DTD attribute type. ' + this.debugInfo(t));
if (!s) throw new Error('Missing DTD attribute default. ' + this.debugInfo(t));
if (!(s = 0 !== s.indexOf('#') ? '#' + s : s).match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))
throw new Error(
'Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. ' +
this.debugInfo(t)
);
if (i && !s.match(/^(#FIXED|#DEFAULT)$/))
throw new Error('Default value only applies to #FIXED or #DEFAULT. ' + this.debugInfo(t));
(this.elementName = this.stringify.name(t)),
(this.type = a.AttributeDeclaration),
(this.attributeName = this.stringify.name(r)),
(this.attributeType = this.stringify.dtdAttType(n)),
i && (this.defaultValue = this.stringify.dtdAttDefault(i)),
(this.defaultValueType = s);
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
(o.prototype.toString = function (e) {
return this.options.writer.dtdAttList(this, this.options.writer.filterOptions(e));
}),
o
);
})();
}.call(this);
},
{ './NodeType': 402, './XMLNode': 424 }
],
414: [
function (e, t, r) {
!function () {
var i = {}.hasOwnProperty,
o = e('./XMLNode'),
a = e('./NodeType');
t.exports = (function () {
var e,
t = s,
r = o;
for (e in r) i.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function s(e, t, r) {
if ((s.__super__.constructor.call(this, e), null == t))
throw new Error('Missing DTD element name. ' + this.debugInfo());
(r = r || '(#PCDATA)'),
Array.isArray(r) && (r = '(' + r.join(',') + ')'),
(this.name = this.stringify.name(t)),
(this.type = a.ElementDeclaration),
(this.value = this.stringify.dtdElementValue(r));
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
(s.prototype.toString = function (e) {
return this.options.writer.dtdElement(this, this.options.writer.filterOptions(e));
}),
s
);
})();
}.call(this);
},
{ './NodeType': 402, './XMLNode': 424 }
],
415: [
function (e, t, r) {
!function () {
var i = {}.hasOwnProperty,
o = e('./Utility').isObject,
a = e('./XMLNode'),
c = e('./NodeType');
t.exports = (function () {
var e,
t = s,
r = a;
for (e in r) i.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function s(e, t, r, n) {
if ((s.__super__.constructor.call(this, e), null == r))
throw new Error('Missing DTD entity name. ' + this.debugInfo(r));
if (null == n) throw new Error('Missing DTD entity value. ' + this.debugInfo(r));
if (
((this.pe = !!t), (this.name = this.stringify.name(r)), (this.type = c.EntityDeclaration), o(n))
) {
if (!n.pubID && !n.sysID)
throw new Error(
'Public and/or system identifiers are required for an external entity. ' + this.debugInfo(r)
);
if (n.pubID && !n.sysID)
throw new Error(
'System identifier is required for a public external entity. ' + this.debugInfo(r)
);
if (
((this.internal = !1),
null != n.pubID && (this.pubID = this.stringify.dtdPubID(n.pubID)),
null != n.sysID && (this.sysID = this.stringify.dtdSysID(n.sysID)),
null != n.nData && (this.nData = this.stringify.dtdNData(n.nData)),
this.pe && this.nData)
)
throw new Error(
'Notation declaration is not allowed in a parameter entity. ' + this.debugInfo(r)
);
} else (this.value = this.stringify.dtdEntityValue(n)), (this.internal = !0);
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
Object.defineProperty(s.prototype, 'publicId', {
get: function () {
return this.pubID;
}
}),
Object.defineProperty(s.prototype, 'systemId', {
get: function () {
return this.sysID;
}
}),
Object.defineProperty(s.prototype, 'notationName', {
get: function () {
return this.nData || null;
}
}),
Object.defineProperty(s.prototype, 'inputEncoding', {
get: function () {
return null;
}
}),
Object.defineProperty(s.prototype, 'xmlEncoding', {
get: function () {
return null;
}
}),
Object.defineProperty(s.prototype, 'xmlVersion', {
get: function () {
return null;
}
}),
(s.prototype.toString = function (e) {
return this.options.writer.dtdEntity(this, this.options.writer.filterOptions(e));
}),
s
);
})();
}.call(this);
},
{ './NodeType': 402, './Utility': 403, './XMLNode': 424 }
],
416: [
function (e, t, r) {
!function () {
var i = {}.hasOwnProperty,
o = e('./XMLNode'),
a = e('./NodeType');
t.exports = (function () {
var e,
t = s,
r = o;
for (e in r) i.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function s(e, t, r) {
if ((s.__super__.constructor.call(this, e), null == t))
throw new Error('Missing DTD notation name. ' + this.debugInfo(t));
if (!r.pubID && !r.sysID)
throw new Error(
'Public or system identifiers are required for an external entity. ' + this.debugInfo(t)
);
(this.name = this.stringify.name(t)),
(this.type = a.NotationDeclaration),
null != r.pubID && (this.pubID = this.stringify.dtdPubID(r.pubID)),
null != r.sysID && (this.sysID = this.stringify.dtdSysID(r.sysID));
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
Object.defineProperty(s.prototype, 'publicId', {
get: function () {
return this.pubID;
}
}),
Object.defineProperty(s.prototype, 'systemId', {
get: function () {
return this.sysID;
}
}),
(s.prototype.toString = function (e) {
return this.options.writer.dtdNotation(this, this.options.writer.filterOptions(e));
}),
s
);
})();
}.call(this);
},
{ './NodeType': 402, './XMLNode': 424 }
],
417: [
function (e, t, r) {
!function () {
var i = {}.hasOwnProperty,
o = e('./Utility').isObject,
a = e('./XMLNode'),
c = e('./NodeType');
t.exports = (function () {
var e,
t = s,
r = a;
for (e in r) i.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function s(e, t, r, n) {
s.__super__.constructor.call(this, e),
o(t) && ((t = (e = t).version), (r = e.encoding), (n = e.standalone)),
(t = t || '1.0'),
(this.type = c.Declaration),
(this.version = this.stringify.xmlVersion(t)),
null != r && (this.encoding = this.stringify.xmlEncoding(r)),
null != n && (this.standalone = this.stringify.xmlStandalone(n));
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
(s.prototype.toString = function (e) {
return this.options.writer.declaration(this, this.options.writer.filterOptions(e));
}),
s
);
})();
}.call(this);
},
{ './NodeType': 402, './Utility': 403, './XMLNode': 424 }
],
418: [
function (e, t, r) {
!function () {
var s = {}.hasOwnProperty,
c = e('./Utility').isObject,
i = e('./XMLNode'),
l = e('./NodeType'),
o = e('./XMLDTDAttList'),
u = e('./XMLDTDEntity'),
p = e('./XMLDTDElement'),
f = e('./XMLDTDNotation'),
d = e('./XMLNamedNodeMap');
t.exports = (function () {
var e,
t = a,
r = i;
for (e in r) s.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function a(e, t, r) {
var n, s, i, o;
if ((a.__super__.constructor.call(this, e), (this.type = l.DocType), e.children))
for (s = 0, i = (o = e.children).length; s < i; s++)
if ((n = o[s]).type === l.Element) {
this.name = n.name;
break;
}
(this.documentObject = e),
c(t) && ((t = (e = t).pubID), (r = e.sysID)),
null == r && ((r = (e = [t, r])[0]), (t = e[1])),
null != t && (this.pubID = this.stringify.dtdPubID(t)),
null != r && (this.sysID = this.stringify.dtdSysID(r));
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
Object.defineProperty(a.prototype, 'entities', {
get: function () {
for (var e, t = {}, r = this.children, n = 0, s = r.length; n < s; n++)
(e = r[n]).type !== l.EntityDeclaration || e.pe || (t[e.name] = e);
return new d(t);
}
}),
Object.defineProperty(a.prototype, 'notations', {
get: function () {
for (var e, t = {}, r = this.children, n = 0, s = r.length; n < s; n++)
(e = r[n]).type === l.NotationDeclaration && (t[e.name] = e);
return new d(t);
}
}),
Object.defineProperty(a.prototype, 'publicId', {
get: function () {
return this.pubID;
}
}),
Object.defineProperty(a.prototype, 'systemId', {
get: function () {
return this.sysID;
}
}),
Object.defineProperty(a.prototype, 'internalSubset', {
get: function () {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}
}),
(a.prototype.element = function (e, t) {
e = new p(this, e, t);
return this.children.push(e), this;
}),
(a.prototype.attList = function (e, t, r, n, s) {
e = new o(this, e, t, r, n, s);
return this.children.push(e), this;
}),
(a.prototype.entity = function (e, t) {
e = new u(this, !1, e, t);
return this.children.push(e), this;
}),
(a.prototype.pEntity = function (e, t) {
e = new u(this, !0, e, t);
return this.children.push(e), this;
}),
(a.prototype.notation = function (e, t) {
e = new f(this, e, t);
return this.children.push(e), this;
}),
(a.prototype.toString = function (e) {
return this.options.writer.docType(this, this.options.writer.filterOptions(e));
}),
(a.prototype.ele = function (e, t) {
return this.element(e, t);
}),
(a.prototype.att = function (e, t, r, n, s) {
return this.attList(e, t, r, n, s);
}),
(a.prototype.ent = function (e, t) {
return this.entity(e, t);
}),
(a.prototype.pent = function (e, t) {
return this.pEntity(e, t);
}),
(a.prototype.not = function (e, t) {
return this.notation(e, t);
}),
(a.prototype.up = function () {
return this.root() || this.documentObject;
}),
(a.prototype.isEqualNode = function (e) {
return (
!!a.__super__.isEqualNode.apply(this, arguments).isEqualNode(e) &&
e.name === this.name &&
e.publicId === this.publicId &&
e.systemId === this.systemId
);
}),
a
);
})();
}.call(this);
},
{
'./NodeType': 402,
'./Utility': 403,
'./XMLDTDAttList': 413,
'./XMLDTDElement': 414,
'./XMLDTDEntity': 415,
'./XMLDTDNotation': 416,
'./XMLNamedNodeMap': 423,
'./XMLNode': 424
}
],
419: [
function (e, t, r) {
!function () {
var i = {}.hasOwnProperty,
o = e('./Utility').isPlainObject,
a = e('./XMLDOMImplementation'),
c = e('./XMLDOMConfiguration'),
l = e('./XMLNode'),
u = e('./NodeType'),
p = e('./XMLStringifier'),
f = e('./XMLStringWriter');
t.exports = (function () {
var e,
t = s,
r = l;
for (e in r) i.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function s(e) {
s.__super__.constructor.call(this, null),
(this.name = '#document'),
(this.type = u.Document),
(this.documentURI = null),
(this.domConfig = new c()),
(e = e || {}).writer || (e.writer = new f()),
(this.options = e),
(this.stringify = new p(e));
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
Object.defineProperty(s.prototype, 'implementation', { value: new a() }),
Object.defineProperty(s.prototype, 'doctype', {
get: function () {
for (var e, t = this.children, r = 0, n = t.length; r < n; r++)
if ((e = t[r]).type === u.DocType) return e;
return null;
}
}),
Object.defineProperty(s.prototype, 'documentElement', {
get: function () {
return this.rootObject || null;
}
}),
Object.defineProperty(s.prototype, 'inputEncoding', {
get: function () {
return null;
}
}),
Object.defineProperty(s.prototype, 'strictErrorChecking', {
get: function () {
return !1;
}
}),
Object.defineProperty(s.prototype, 'xmlEncoding', {
get: function () {
return 0 !== this.children.length && this.children[0].type === u.Declaration
? this.children[0].encoding
: null;
}
}),
Object.defineProperty(s.prototype, 'xmlStandalone', {
get: function () {
return (
0 !== this.children.length &&
this.children[0].type === u.Declaration &&
'yes' === this.children[0].standalone
);
}
}),
Object.defineProperty(s.prototype, 'xmlVersion', {
get: function () {
return 0 !== this.children.length && this.children[0].type === u.Declaration
? this.children[0].version
: '1.0';
}
}),
Object.defineProperty(s.prototype, 'URL', {
get: function () {
return this.documentURI;
}
}),
Object.defineProperty(s.prototype, 'origin', {
get: function () {
return null;
}
}),
Object.defineProperty(s.prototype, 'compatMode', {
get: function () {
return null;
}
}),
Object.defineProperty(s.prototype, 'characterSet', {
get: function () {
return null;
}
}),
Object.defineProperty(s.prototype, 'contentType', {
get: function () {
return null;
}
}),
(s.prototype.end = function (e) {
var t = {};
return (
e ? o(e) && ((t = e), (e = this.options.writer)) : (e = this.options.writer),
e.document(this, e.filterOptions(t))
);
}),
(s.prototype.toString = function (e) {
return this.options.writer.document(this, this.options.writer.filterOptions(e));
}),
(s.prototype.createElement = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.createDocumentFragment = function () {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.createTextNode = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.createComment = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.createCDATASection = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.createProcessingInstruction = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.createAttribute = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.createEntityReference = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.getElementsByTagName = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.importNode = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.createElementNS = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.createAttributeNS = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.getElementsByTagNameNS = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.getElementById = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.adoptNode = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.normalizeDocument = function () {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.renameNode = function (e, t, r) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.getElementsByClassName = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.createEvent = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.createRange = function () {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.createNodeIterator = function (e, t, r) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(s.prototype.createTreeWalker = function (e, t, r) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
s
);
})();
}.call(this);
},
{
'./NodeType': 402,
'./Utility': 403,
'./XMLDOMConfiguration': 409,
'./XMLDOMImplementation': 411,
'./XMLNode': 424,
'./XMLStringWriter': 429,
'./XMLStringifier': 430
}
],
420: [
function (E, _, e) {
!function () {
var l,
i,
s,
t,
r,
o,
n,
a,
c,
u,
p,
f,
d,
h,
m,
y,
b,
g,
v,
j,
w,
x,
e,
T = {}.hasOwnProperty;
function k(e, t, r) {
var n;
(this.name = '?xml'),
(this.type = l.Document),
(n = {}),
(e = e || {}).writer ? x(e.writer) && ((n = e.writer), (e.writer = new y())) : (e.writer = new y()),
(this.options = e),
(this.writer = e.writer),
(this.writerOptions = this.writer.filterOptions(n)),
(this.stringify = new b(e)),
(this.onDataCallback = t || function () {}),
(this.onEndCallback = r || function () {}),
(this.currentNode = null),
(this.currentLevel = -1),
(this.openTags = {}),
(this.documentStarted = !1),
(this.documentCompleted = !1),
(this.root = null);
}
(e = E('./Utility')),
(w = e.isObject),
(j = e.isFunction),
(x = e.isPlainObject),
(v = e.getValue),
(l = E('./NodeType')),
(f = E('./XMLDocument')),
(d = E('./XMLElement')),
(t = E('./XMLCData')),
(r = E('./XMLComment')),
(m = E('./XMLRaw')),
(g = E('./XMLText')),
(h = E('./XMLProcessingInstruction')),
(u = E('./XMLDeclaration')),
(p = E('./XMLDocType')),
(o = E('./XMLDTDAttList')),
(a = E('./XMLDTDEntity')),
(n = E('./XMLDTDElement')),
(c = E('./XMLDTDNotation')),
(s = E('./XMLAttribute')),
(b = E('./XMLStringifier')),
(y = E('./XMLStringWriter')),
(i = E('./WriterState')),
(_.exports =
((k.prototype.createChildNode = function (e) {
var t, r, n, s, i, o, a, c;
switch (e.type) {
case l.CData:
this.cdata(e.value);
break;
case l.Comment:
this.comment(e.value);
break;
case l.Element:
for (r in ((n = {}), (a = e.attribs))) T.call(a, r) && ((t = a[r]), (n[r] = t.value));
this.node(e.name, n);
break;
case l.Dummy:
this.dummy();
break;
case l.Raw:
this.raw(e.value);
break;
case l.Text:
this.text(e.value);
break;
case l.ProcessingInstruction:
this.instruction(e.target, e.value);
break;
default:
throw new Error('This XML node type is not supported in a JS object: ' + e.constructor.name);
}
for (i = 0, o = (c = e.children).length; i < o; i++)
(s = c[i]), this.createChildNode(s), s.type === l.Element && this.up();
return this;
}),
(k.prototype.dummy = function () {
return this;
}),
(k.prototype.node = function (e, t, r) {
var n;
if (null == e) throw new Error('Missing node name.');
if (this.root && -1 === this.currentLevel)
throw new Error('Document can only have one root node. ' + this.debugInfo(e));
return (
this.openCurrent(),
(e = v(e)),
(t = v((t = null == t ? {} : t))),
w(t) || ((r = (n = [t, r])[0]), (t = n[1])),
(this.currentNode = new d(this, e, t)),
(this.currentNode.children = !1),
this.currentLevel++,
(this.openTags[this.currentLevel] = this.currentNode),
null != r && this.text(r),
this
);
}),
(k.prototype.element = function (e, t, r) {
var n, s, i, o, a, c;
if (this.currentNode && this.currentNode.type === l.DocType) this.dtdElement.apply(this, arguments);
else if (Array.isArray(e) || w(e) || j(e))
for (
o = this.options.noValidation,
this.options.noValidation = !0,
(c = new f(this.options).element('TEMP_ROOT')).element(e),
this.options.noValidation = o,
s = 0,
i = (a = c.children).length;
s < i;
s++
)
(n = a[s]), this.createChildNode(n), n.type === l.Element && this.up();
else this.node(e, t, r);
return this;
}),
(k.prototype.attribute = function (e, t) {
var r, n;
if (!this.currentNode || this.currentNode.children)
throw new Error(
'att() can only be used immediately after an ele() call in callback mode. ' + this.debugInfo(e)
);
if ((null != e && (e = v(e)), w(e)))
for (r in e) T.call(e, r) && ((n = e[r]), this.attribute(r, n));
else
j(t) && (t = t.apply()),
this.options.keepNullAttributes && null == t
? (this.currentNode.attribs[e] = new s(this, e, ''))
: null != t && (this.currentNode.attribs[e] = new s(this, e, t));
return this;
}),
(k.prototype.text = function (e) {
return (
this.openCurrent(),
(e = new g(this, e)),
this.onData(
this.writer.text(e, this.writerOptions, this.currentLevel + 1),
this.currentLevel + 1
),
this
);
}),
(k.prototype.cdata = function (e) {
return (
this.openCurrent(),
(e = new t(this, e)),
this.onData(
this.writer.cdata(e, this.writerOptions, this.currentLevel + 1),
this.currentLevel + 1
),
this
);
}),
(k.prototype.comment = function (e) {
return (
this.openCurrent(),
(e = new r(this, e)),
this.onData(
this.writer.comment(e, this.writerOptions, this.currentLevel + 1),
this.currentLevel + 1
),
this
);
}),
(k.prototype.raw = function (e) {
return (
this.openCurrent(),
(e = new m(this, e)),
this.onData(this.writer.raw(e, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
this
);
}),
(k.prototype.instruction = function (e, t) {
var r, n, s, i;
if ((this.openCurrent(), null != e && (e = v(e)), null != t && (t = v(t)), Array.isArray(e)))
for (r = 0, i = e.length; r < i; r++) (n = e[r]), this.instruction(n);
else if (w(e)) for (n in e) T.call(e, n) && ((s = e[n]), this.instruction(n, s));
else
j(t) && (t = t.apply()),
(t = new h(this, e, t)),
this.onData(
this.writer.processingInstruction(t, this.writerOptions, this.currentLevel + 1),
this.currentLevel + 1
);
return this;
}),
(k.prototype.declaration = function (e, t, r) {
if ((this.openCurrent(), this.documentStarted))
throw new Error('declaration() must be the first node.');
return (
(e = new u(this, e, t, r)),
this.onData(
this.writer.declaration(e, this.writerOptions, this.currentLevel + 1),
this.currentLevel + 1
),
this
);
}),
(k.prototype.doctype = function (e, t, r) {
if ((this.openCurrent(), null == e)) throw new Error('Missing root node name.');
if (this.root) throw new Error('dtd() must come before the root node.');
return (
(this.currentNode = new p(this, t, r)),
(this.currentNode.rootNodeName = e),
(this.currentNode.children = !1),
this.currentLevel++,
(this.openTags[this.currentLevel] = this.currentNode),
this
);
}),
(k.prototype.dtdElement = function (e, t) {
return (
this.openCurrent(),
(e = new n(this, e, t)),
this.onData(
this.writer.dtdElement(e, this.writerOptions, this.currentLevel + 1),
this.currentLevel + 1
),
this
);
}),
(k.prototype.attList = function (e, t, r, n, s) {
return (
this.openCurrent(),
(e = new o(this, e, t, r, n, s)),
this.onData(
this.writer.dtdAttList(e, this.writerOptions, this.currentLevel + 1),
this.currentLevel + 1
),
this
);
}),
(k.prototype.entity = function (e, t) {
return (
this.openCurrent(),
(e = new a(this, !1, e, t)),
this.onData(
this.writer.dtdEntity(e, this.writerOptions, this.currentLevel + 1),
this.currentLevel + 1
),
this
);
}),
(k.prototype.pEntity = function (e, t) {
return (
this.openCurrent(),
(e = new a(this, !0, e, t)),
this.onData(
this.writer.dtdEntity(e, this.writerOptions, this.currentLevel + 1),
this.currentLevel + 1
),
this
);
}),
(k.prototype.notation = function (e, t) {
return (
this.openCurrent(),
(e = new c(this, e, t)),
this.onData(
this.writer.dtdNotation(e, this.writerOptions, this.currentLevel + 1),
this.currentLevel + 1
),
this
);
}),
(k.prototype.up = function () {
if (this.currentLevel < 0) throw new Error('The document node has no parent.');
return (
this.currentNode
? (this.currentNode.children
? this.closeNode(this.currentNode)
: this.openNode(this.currentNode),
(this.currentNode = null))
: this.closeNode(this.openTags[this.currentLevel]),
delete this.openTags[this.currentLevel],
this.currentLevel--,
this
);
}),
(k.prototype.end = function () {
for (; 0 <= this.currentLevel; ) this.up();
return this.onEnd();
}),
(k.prototype.openCurrent = function () {
if (this.currentNode) return (this.currentNode.children = !0), this.openNode(this.currentNode);
}),
(k.prototype.openNode = function (e) {
var t, r, n, s;
if (!e.isOpen) {
if (
(this.root || 0 !== this.currentLevel || e.type !== l.Element || (this.root = e),
(r = ''),
e.type === l.Element)
) {
for (n in ((this.writerOptions.state = i.OpenTag),
(r = this.writer.indent(e, this.writerOptions, this.currentLevel) + '<' + e.name),
(s = e.attribs)))
T.call(s, n) &&
((t = s[n]), (r += this.writer.attribute(t, this.writerOptions, this.currentLevel)));
(r +=
(e.children ? '>' : '/>') + this.writer.endline(e, this.writerOptions, this.currentLevel)),
(this.writerOptions.state = i.InsideTag);
} else
(this.writerOptions.state = i.OpenTag),
(r =
this.writer.indent(e, this.writerOptions, this.currentLevel) +
'')),
(r += this.writer.endline(e, this.writerOptions, this.currentLevel));
return this.onData(r, this.currentLevel), (e.isOpen = !0);
}
}),
(k.prototype.closeNode = function (e) {
var t;
if (!e.isClosed)
return (
(t = ''),
(this.writerOptions.state = i.CloseTag),
(t =
e.type === l.Element
? this.writer.indent(e, this.writerOptions, this.currentLevel) +
'' +
e.name +
'>' +
this.writer.endline(e, this.writerOptions, this.currentLevel)
: this.writer.indent(e, this.writerOptions, this.currentLevel) +
']>' +
this.writer.endline(e, this.writerOptions, this.currentLevel)),
(this.writerOptions.state = i.None),
this.onData(t, this.currentLevel),
(e.isClosed = !0)
);
}),
(k.prototype.onData = function (e, t) {
return (this.documentStarted = !0), this.onDataCallback(e, t + 1);
}),
(k.prototype.onEnd = function () {
return (this.documentCompleted = !0), this.onEndCallback();
}),
(k.prototype.debugInfo = function (e) {
return null == e ? '' : 'node: <' + e + '>';
}),
(k.prototype.ele = function () {
return this.element.apply(this, arguments);
}),
(k.prototype.nod = function (e, t, r) {
return this.node(e, t, r);
}),
(k.prototype.txt = function (e) {
return this.text(e);
}),
(k.prototype.dat = function (e) {
return this.cdata(e);
}),
(k.prototype.com = function (e) {
return this.comment(e);
}),
(k.prototype.ins = function (e, t) {
return this.instruction(e, t);
}),
(k.prototype.dec = function (e, t, r) {
return this.declaration(e, t, r);
}),
(k.prototype.dtd = function (e, t, r) {
return this.doctype(e, t, r);
}),
(k.prototype.e = function (e, t, r) {
return this.element(e, t, r);
}),
(k.prototype.n = function (e, t, r) {
return this.node(e, t, r);
}),
(k.prototype.t = function (e) {
return this.text(e);
}),
(k.prototype.d = function (e) {
return this.cdata(e);
}),
(k.prototype.c = function (e) {
return this.comment(e);
}),
(k.prototype.r = function (e) {
return this.raw(e);
}),
(k.prototype.i = function (e, t) {
return this.instruction(e, t);
}),
(k.prototype.att = function () {
return (
this.currentNode && this.currentNode.type === l.DocType ? this.attList : this.attribute
).apply(this, arguments);
}),
(k.prototype.a = function () {
return (
this.currentNode && this.currentNode.type === l.DocType ? this.attList : this.attribute
).apply(this, arguments);
}),
(k.prototype.ent = function (e, t) {
return this.entity(e, t);
}),
(k.prototype.pent = function (e, t) {
return this.pEntity(e, t);
}),
(k.prototype.not = function (e, t) {
return this.notation(e, t);
}),
k));
}.call(this);
},
{
'./NodeType': 402,
'./Utility': 403,
'./WriterState': 404,
'./XMLAttribute': 405,
'./XMLCData': 406,
'./XMLComment': 408,
'./XMLDTDAttList': 413,
'./XMLDTDElement': 414,
'./XMLDTDEntity': 415,
'./XMLDTDNotation': 416,
'./XMLDeclaration': 417,
'./XMLDocType': 418,
'./XMLDocument': 419,
'./XMLElement': 422,
'./XMLProcessingInstruction': 426,
'./XMLRaw': 427,
'./XMLStringWriter': 429,
'./XMLStringifier': 430,
'./XMLText': 431
}
],
421: [
function (e, t, r) {
!function () {
var i = {}.hasOwnProperty,
o = e('./XMLNode'),
a = e('./NodeType');
t.exports = (function () {
var e,
t = s,
r = o;
for (e in r) i.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function s(e) {
s.__super__.constructor.call(this, e), (this.type = a.Dummy);
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
(s.prototype.clone = function () {
return Object.create(this);
}),
(s.prototype.toString = function (e) {
return '';
}),
s
);
})();
}.call(this);
},
{ './NodeType': 402, './XMLNode': 424 }
],
422: [
function (t, r, e) {
!function () {
var s = {}.hasOwnProperty,
e = t('./Utility'),
i = e.isObject,
o = e.isFunction,
c = e.getValue,
l = t('./XMLNode'),
u = t('./NodeType'),
p = t('./XMLAttribute'),
f = t('./XMLNamedNodeMap');
r.exports = (function () {
var e,
t = a,
r = l;
for (e in r) s.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function a(e, t, r) {
var n, s, i, o;
if ((a.__super__.constructor.call(this, e), null == t))
throw new Error('Missing element name. ' + this.debugInfo());
if (
((this.name = this.stringify.name(t)),
(this.type = u.Element),
(this.attribs = {}),
(this.schemaTypeInfo = null) != r && this.attribute(r),
e.type === u.Document &&
((this.isRoot = !0), ((this.documentObject = e).rootObject = this), e.children))
)
for (s = 0, i = (o = e.children).length; s < i; s++)
if ((n = o[s]).type === u.DocType) {
n.name = this.name;
break;
}
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
Object.defineProperty(a.prototype, 'tagName', {
get: function () {
return this.name;
}
}),
Object.defineProperty(a.prototype, 'namespaceURI', {
get: function () {
return '';
}
}),
Object.defineProperty(a.prototype, 'prefix', {
get: function () {
return '';
}
}),
Object.defineProperty(a.prototype, 'localName', {
get: function () {
return this.name;
}
}),
Object.defineProperty(a.prototype, 'id', {
get: function () {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}
}),
Object.defineProperty(a.prototype, 'className', {
get: function () {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}
}),
Object.defineProperty(a.prototype, 'classList', {
get: function () {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}
}),
Object.defineProperty(a.prototype, 'attributes', {
get: function () {
return (
(this.attributeMap && this.attributeMap.nodes) || (this.attributeMap = new f(this.attribs)),
this.attributeMap
);
}
}),
(a.prototype.clone = function () {
var e,
t,
r,
n = Object.create(this);
for (t in (n.isRoot && (n.documentObject = null), (n.attribs = {}), (r = this.attribs)))
s.call(r, t) && ((e = r[t]), (n.attribs[t] = e.clone()));
return (
(n.children = []),
this.children.forEach(function (e) {
e = e.clone();
return (e.parent = n).children.push(e);
}),
n
);
}),
(a.prototype.attribute = function (e, t) {
var r, n;
if ((null != e && (e = c(e)), i(e)))
for (r in e) s.call(e, r) && ((n = e[r]), this.attribute(r, n));
else
o(t) && (t = t.apply()),
this.options.keepNullAttributes && null == t
? (this.attribs[e] = new p(this, e, ''))
: null != t && (this.attribs[e] = new p(this, e, t));
return this;
}),
(a.prototype.removeAttribute = function (e) {
var t, r, n;
if (null == e) throw new Error('Missing attribute name. ' + this.debugInfo());
if (((e = c(e)), Array.isArray(e)))
for (r = 0, n = e.length; r < n; r++) (t = e[r]), delete this.attribs[t];
else delete this.attribs[e];
return this;
}),
(a.prototype.toString = function (e) {
return this.options.writer.element(this, this.options.writer.filterOptions(e));
}),
(a.prototype.att = function (e, t) {
return this.attribute(e, t);
}),
(a.prototype.a = function (e, t) {
return this.attribute(e, t);
}),
(a.prototype.getAttribute = function (e) {
return this.attribs.hasOwnProperty(e) ? this.attribs[e].value : null;
}),
(a.prototype.setAttribute = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.getAttributeNode = function (e) {
return this.attribs.hasOwnProperty(e) ? this.attribs[e] : null;
}),
(a.prototype.setAttributeNode = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.removeAttributeNode = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.getElementsByTagName = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.getAttributeNS = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.setAttributeNS = function (e, t, r) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.removeAttributeNS = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.getAttributeNodeNS = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.setAttributeNodeNS = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.getElementsByTagNameNS = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.hasAttribute = function (e) {
return this.attribs.hasOwnProperty(e);
}),
(a.prototype.hasAttributeNS = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.setIdAttribute = function (e, t) {
return this.attribs.hasOwnProperty(e) ? this.attribs[e].isId : t;
}),
(a.prototype.setIdAttributeNS = function (e, t, r) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.setIdAttributeNode = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.getElementsByTagName = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.getElementsByTagNameNS = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.getElementsByClassName = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(a.prototype.isEqualNode = function (e) {
var t, r, n;
if (!a.__super__.isEqualNode.apply(this, arguments).isEqualNode(e)) return !1;
if (e.namespaceURI !== this.namespaceURI) return !1;
if (e.prefix !== this.prefix) return !1;
if (e.localName !== this.localName) return !1;
if (e.attribs.length !== this.attribs.length) return !1;
for (t = r = 0, n = this.attribs.length - 1; 0 <= n ? r <= n : n <= r; t = 0 <= n ? ++r : --r)
if (!this.attribs[t].isEqualNode(e.attribs[t])) return !1;
return !0;
}),
a
);
})();
}.call(this);
},
{ './NodeType': 402, './Utility': 403, './XMLAttribute': 405, './XMLNamedNodeMap': 423, './XMLNode': 424 }
],
423: [
function (e, t, r) {
!function () {
function e(e) {
this.nodes = e;
}
t.exports =
(Object.defineProperty(e.prototype, 'length', {
get: function () {
return Object.keys(this.nodes).length || 0;
}
}),
(e.prototype.clone = function () {
return (this.nodes = null);
}),
(e.prototype.getNamedItem = function (e) {
return this.nodes[e];
}),
(e.prototype.setNamedItem = function (e) {
var t = this.nodes[e.nodeName];
return (this.nodes[e.nodeName] = e), t || null;
}),
(e.prototype.removeNamedItem = function (e) {
var t = this.nodes[e];
return delete this.nodes[e], t || null;
}),
(e.prototype.item = function (e) {
return this.nodes[Object.keys(this.nodes)[e]] || null;
}),
(e.prototype.getNamedItemNS = function (e, t) {
throw new Error('This DOM method is not implemented.');
}),
(e.prototype.setNamedItemNS = function (e) {
throw new Error('This DOM method is not implemented.');
}),
(e.prototype.removeNamedItemNS = function (e, t) {
throw new Error('This DOM method is not implemented.');
}),
e);
}.call(this);
},
{}
],
424: [
function (v, j, e) {
!function () {
var r,
p,
t,
n,
s,
f,
i,
o,
a,
c,
l,
u,
d,
h,
m,
y,
e,
b = {}.hasOwnProperty;
function g(e) {
(this.parent = e),
this.parent && ((this.options = this.parent.options), (this.stringify = this.parent.stringify)),
(this.value = null),
(this.children = []),
(this.baseURI = null),
o ||
((o = v('./XMLElement')),
(t = v('./XMLCData')),
(n = v('./XMLComment')),
(s = v('./XMLDeclaration')),
(f = v('./XMLDocType')),
(l = v('./XMLRaw')),
(u = v('./XMLText')),
(c = v('./XMLProcessingInstruction')),
(i = v('./XMLDummy')),
(p = v('./NodeType')),
(a = v('./XMLNodeList')),
v('./XMLNamedNodeMap'),
(r = v('./DocumentPosition')));
}
(e = v('./Utility')),
(y = e.isObject),
(m = e.isFunction),
(h = e.isEmpty),
(d = e.getValue),
(r = a = p = i = c = u = l = f = s = n = t = o = null),
(j.exports =
(Object.defineProperty(g.prototype, 'nodeName', {
get: function () {
return this.name;
}
}),
Object.defineProperty(g.prototype, 'nodeType', {
get: function () {
return this.type;
}
}),
Object.defineProperty(g.prototype, 'nodeValue', {
get: function () {
return this.value;
}
}),
Object.defineProperty(g.prototype, 'parentNode', {
get: function () {
return this.parent;
}
}),
Object.defineProperty(g.prototype, 'childNodes', {
get: function () {
return (
(this.childNodeList && this.childNodeList.nodes) || (this.childNodeList = new a(this.children)),
this.childNodeList
);
}
}),
Object.defineProperty(g.prototype, 'firstChild', {
get: function () {
return this.children[0] || null;
}
}),
Object.defineProperty(g.prototype, 'lastChild', {
get: function () {
return this.children[this.children.length - 1] || null;
}
}),
Object.defineProperty(g.prototype, 'previousSibling', {
get: function () {
var e = this.parent.children.indexOf(this);
return this.parent.children[e - 1] || null;
}
}),
Object.defineProperty(g.prototype, 'nextSibling', {
get: function () {
var e = this.parent.children.indexOf(this);
return this.parent.children[e + 1] || null;
}
}),
Object.defineProperty(g.prototype, 'ownerDocument', {
get: function () {
return this.document() || null;
}
}),
Object.defineProperty(g.prototype, 'textContent', {
get: function () {
var e, t, r, n, s;
if (this.nodeType !== p.Element && this.nodeType !== p.DocumentFragment) return null;
for (s = '', t = 0, r = (n = this.children).length; t < r; t++)
(e = n[t]).textContent && (s += e.textContent);
return s;
},
set: function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}
}),
(g.prototype.setParent = function (e) {
var t, r, n, s, i;
for (
(this.parent = e) && ((this.options = e.options), (this.stringify = e.stringify)),
i = [],
r = 0,
n = (s = this.children).length;
r < n;
r++
)
(t = s[r]), i.push(t.setParent(this));
return i;
}),
(g.prototype.element = function (e, t, r) {
var n,
s,
i,
o,
a,
c,
l,
u,
p,
f = null;
if (
(null === t && null == r && ((t = (u = [{}, null])[0]), (r = u[1])),
(t = d((t = null == t ? {} : t))),
y(t) || ((r = (u = [t, r])[0]), (t = u[1])),
null != e && (e = d(e)),
Array.isArray(e))
)
for (i = 0, c = e.length; i < c; i++) (s = e[i]), (f = this.element(s));
else if (m(e)) f = this.element(e.apply());
else if (y(e)) {
for (a in e)
if (b.call(e, a))
if (
((p = e[a]),
m(p) && (p = p.apply()),
!this.options.ignoreDecorators &&
this.stringify.convertAttKey &&
0 === a.indexOf(this.stringify.convertAttKey))
)
f = this.attribute(a.substr(this.stringify.convertAttKey.length), p);
else if (!this.options.separateArrayItems && Array.isArray(p) && h(p)) f = this.dummy();
else if (y(p) && h(p)) f = this.element(a);
else if (this.options.keepNullNodes || null != p)
if (!this.options.separateArrayItems && Array.isArray(p))
for (o = 0, l = p.length; o < l; o++)
(s = p[o]), ((n = {})[a] = s), (f = this.element(n));
else
y(p)
? !this.options.ignoreDecorators &&
this.stringify.convertTextKey &&
0 === a.indexOf(this.stringify.convertTextKey)
? (f = this.element(p))
: (f = this.element(a)).element(p)
: (f = this.element(a, p));
else f = this.dummy();
} else
f =
this.options.keepNullNodes || null !== r
? !this.options.ignoreDecorators &&
this.stringify.convertTextKey &&
0 === e.indexOf(this.stringify.convertTextKey)
? this.text(r)
: !this.options.ignoreDecorators &&
this.stringify.convertCDataKey &&
0 === e.indexOf(this.stringify.convertCDataKey)
? this.cdata(r)
: !this.options.ignoreDecorators &&
this.stringify.convertCommentKey &&
0 === e.indexOf(this.stringify.convertCommentKey)
? this.comment(r)
: !this.options.ignoreDecorators &&
this.stringify.convertRawKey &&
0 === e.indexOf(this.stringify.convertRawKey)
? this.raw(r)
: !this.options.ignoreDecorators &&
this.stringify.convertPIKey &&
0 === e.indexOf(this.stringify.convertPIKey)
? this.instruction(e.substr(this.stringify.convertPIKey.length), r)
: this.node(e, t, r)
: this.dummy();
if (null == f)
throw new Error('Could not create any elements with: ' + e + '. ' + this.debugInfo());
return f;
}),
(g.prototype.insertBefore = function (e, t, r) {
var n, s, i, o;
if (null != e && e.type)
return (
(i = t),
(s = e).setParent(this),
i
? ((n = children.indexOf(i)),
(o = children.splice(n)),
children.push(s),
Array.prototype.push.apply(children, o))
: children.push(s),
s
);
if (this.isRoot) throw new Error('Cannot insert elements at root level. ' + this.debugInfo(e));
return (
(n = this.parent.children.indexOf(this)),
(o = this.parent.children.splice(n)),
(i = this.parent.element(e, t, r)),
Array.prototype.push.apply(this.parent.children, o),
i
);
}),
(g.prototype.insertAfter = function (e, t, r) {
var n;
if (this.isRoot) throw new Error('Cannot insert elements at root level. ' + this.debugInfo(e));
return (
(n = this.parent.children.indexOf(this)),
(n = this.parent.children.splice(n + 1)),
(e = this.parent.element(e, t, r)),
Array.prototype.push.apply(this.parent.children, n),
e
);
}),
(g.prototype.remove = function () {
var e;
if (this.isRoot) throw new Error('Cannot remove the root element. ' + this.debugInfo());
return (
(e = this.parent.children.indexOf(this)),
[].splice.apply(this.parent.children, [e, e - e + 1].concat([])),
this.parent
);
}),
(g.prototype.node = function (e, t, r) {
var n;
return (
null != e && (e = d(e)),
(t = d((t = t || {}))),
y(t) || ((r = (n = [t, r])[0]), (t = n[1])),
(n = new o(this, e, t)),
null != r && n.text(r),
this.children.push(n),
n
);
}),
(g.prototype.text = function (e) {
return y(e) && this.element(e), (e = new u(this, e)), this.children.push(e), this;
}),
(g.prototype.cdata = function (e) {
e = new t(this, e);
return this.children.push(e), this;
}),
(g.prototype.comment = function (e) {
e = new n(this, e);
return this.children.push(e), this;
}),
(g.prototype.commentBefore = function (e) {
var t = this.parent.children.indexOf(this),
t = this.parent.children.splice(t);
this.parent.comment(e);
return Array.prototype.push.apply(this.parent.children, t), this;
}),
(g.prototype.commentAfter = function (e) {
var t = this.parent.children.indexOf(this),
t = this.parent.children.splice(t + 1);
this.parent.comment(e);
return Array.prototype.push.apply(this.parent.children, t), this;
}),
(g.prototype.raw = function (e) {
e = new l(this, e);
return this.children.push(e), this;
}),
(g.prototype.dummy = function () {
return new i(this);
}),
(g.prototype.instruction = function (e, t) {
var r, n, s, i;
if ((null != e && (e = d(e)), null != t && (t = d(t)), Array.isArray(e)))
for (s = 0, i = e.length; s < i; s++) (r = e[s]), this.instruction(r);
else if (y(e)) for (r in e) b.call(e, r) && ((n = e[r]), this.instruction(r, n));
else m(t) && (t = t.apply()), (t = new c(this, e, t)), this.children.push(t);
return this;
}),
(g.prototype.instructionBefore = function (e, t) {
var r = this.parent.children.indexOf(this),
r = this.parent.children.splice(r);
this.parent.instruction(e, t);
return Array.prototype.push.apply(this.parent.children, r), this;
}),
(g.prototype.instructionAfter = function (e, t) {
var r = this.parent.children.indexOf(this),
r = this.parent.children.splice(r + 1);
this.parent.instruction(e, t);
return Array.prototype.push.apply(this.parent.children, r), this;
}),
(g.prototype.declaration = function (e, t, r) {
var n = this.document(),
e = new s(n, e, t, r);
return (
0 !== n.children.length && n.children[0].type === p.Declaration
? (n.children[0] = e)
: n.children.unshift(e),
n.root() || n
);
}),
(g.prototype.dtd = function (e, t) {
for (
var r,
n,
s,
i,
o = this.document(),
a = new f(o, e, t),
c = o.children,
l = (r = 0),
u = c.length;
r < u;
l = ++r
)
if (c[l].type === p.DocType) return (o.children[l] = a);
for (l = n = 0, s = (i = o.children).length; n < s; l = ++n)
if (i[l].isRoot) return o.children.splice(l, 0, a), a;
return o.children.push(a), a;
}),
(g.prototype.up = function () {
if (this.isRoot)
throw new Error('The root node has no parent. Use doc() if you need to get the document object.');
return this.parent;
}),
(g.prototype.root = function () {
for (var e = this; e; ) {
if (e.type === p.Document) return e.rootObject;
if (e.isRoot) return e;
e = e.parent;
}
}),
(g.prototype.document = function () {
for (var e = this; e; ) {
if (e.type === p.Document) return e;
e = e.parent;
}
}),
(g.prototype.end = function (e) {
return this.document().end(e);
}),
(g.prototype.prev = function () {
var e = this.parent.children.indexOf(this);
if (e < 1) throw new Error('Already at the first node. ' + this.debugInfo());
return this.parent.children[e - 1];
}),
(g.prototype.next = function () {
var e = this.parent.children.indexOf(this);
if (-1 === e || e === this.parent.children.length - 1)
throw new Error('Already at the last node. ' + this.debugInfo());
return this.parent.children[e + 1];
}),
(g.prototype.importDocument = function (e) {
e = e.root().clone();
return (e.parent = this), (e.isRoot = !1), this.children.push(e), this;
}),
(g.prototype.debugInfo = function (e) {
var t;
return null != (e = e || this.name) || (null != (t = this.parent) && t.name)
? null == e
? 'parent: <' + this.parent.name + '>'
: null != (t = this.parent) && t.name
? 'node: <' + e + '>, parent: <' + this.parent.name + '>'
: 'node: <' + e + '>'
: '';
}),
(g.prototype.ele = function (e, t, r) {
return this.element(e, t, r);
}),
(g.prototype.nod = function (e, t, r) {
return this.node(e, t, r);
}),
(g.prototype.txt = function (e) {
return this.text(e);
}),
(g.prototype.dat = function (e) {
return this.cdata(e);
}),
(g.prototype.com = function (e) {
return this.comment(e);
}),
(g.prototype.ins = function (e, t) {
return this.instruction(e, t);
}),
(g.prototype.doc = function () {
return this.document();
}),
(g.prototype.dec = function (e, t, r) {
return this.declaration(e, t, r);
}),
(g.prototype.e = function (e, t, r) {
return this.element(e, t, r);
}),
(g.prototype.n = function (e, t, r) {
return this.node(e, t, r);
}),
(g.prototype.t = function (e) {
return this.text(e);
}),
(g.prototype.d = function (e) {
return this.cdata(e);
}),
(g.prototype.c = function (e) {
return this.comment(e);
}),
(g.prototype.r = function (e) {
return this.raw(e);
}),
(g.prototype.i = function (e, t) {
return this.instruction(e, t);
}),
(g.prototype.u = function () {
return this.up();
}),
(g.prototype.importXMLBuilder = function (e) {
return this.importDocument(e);
}),
(g.prototype.replaceChild = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(g.prototype.removeChild = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(g.prototype.appendChild = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(g.prototype.hasChildNodes = function () {
return 0 !== this.children.length;
}),
(g.prototype.cloneNode = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(g.prototype.normalize = function () {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(g.prototype.isSupported = function (e, t) {
return !0;
}),
(g.prototype.hasAttributes = function () {
return 0 !== this.attribs.length;
}),
(g.prototype.compareDocumentPosition = function (e) {
var t;
return this === e
? 0
: this.document() !== e.document()
? ((t = r.Disconnected | r.ImplementationSpecific),
Math.random() < 0.5 ? (t |= r.Preceding) : (t |= r.Following),
t)
: this.isAncestor(e)
? r.Contains | r.Preceding
: this.isDescendant(e)
? r.Contains | r.Following
: this.isPreceding(e)
? r.Preceding
: r.Following;
}),
(g.prototype.isSameNode = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(g.prototype.lookupPrefix = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(g.prototype.isDefaultNamespace = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(g.prototype.lookupNamespaceURI = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(g.prototype.isEqualNode = function (e) {
var t, r, n;
if (e.nodeType !== this.nodeType) return !1;
if (e.children.length !== this.children.length) return !1;
for (t = r = 0, n = this.children.length - 1; 0 <= n ? r <= n : n <= r; t = 0 <= n ? ++r : --r)
if (!this.children[t].isEqualNode(e.children[t])) return !1;
return !0;
}),
(g.prototype.getFeature = function (e, t) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(g.prototype.setUserData = function (e, t, r) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(g.prototype.getUserData = function (e) {
throw new Error('This DOM method is not implemented.' + this.debugInfo());
}),
(g.prototype.contains = function (e) {
return !!e && (e === this || this.isDescendant(e));
}),
(g.prototype.isDescendant = function (e) {
for (var t, r = this.children, n = 0, s = r.length; n < s; n++) {
if (e === (t = r[n])) return !0;
if (t.isDescendant(e)) return !0;
}
return !1;
}),
(g.prototype.isAncestor = function (e) {
return e.isDescendant(this);
}),
(g.prototype.isPreceding = function (e) {
var e = this.treePosition(e),
t = this.treePosition(this);
return -1 !== e && -1 !== t && e < t;
}),
(g.prototype.isFollowing = function (e) {
var e = this.treePosition(e),
t = this.treePosition(this);
return -1 !== e && -1 !== t && t < e;
}),
(g.prototype.treePosition = function (t) {
var r = 0,
n = !1;
return (
this.foreachTreeNode(this.document(), function (e) {
if ((r++, !n && e === t)) return (n = !0);
}),
n ? r : -1
);
}),
(g.prototype.foreachTreeNode = function (e, t) {
for (var r, n, s, i = 0, o = (n = (e = e || this.document()).children).length; i < o; i++) {
if ((s = t((r = n[i])))) return s;
if ((s = this.foreachTreeNode(r, t))) return s;
}
}),
g));
}.call(this);
},
{
'./DocumentPosition': 401,
'./NodeType': 402,
'./Utility': 403,
'./XMLCData': 406,
'./XMLComment': 408,
'./XMLDeclaration': 417,
'./XMLDocType': 418,
'./XMLDummy': 421,
'./XMLElement': 422,
'./XMLNamedNodeMap': 423,
'./XMLNodeList': 425,
'./XMLProcessingInstruction': 426,
'./XMLRaw': 427,
'./XMLText': 431
}
],
425: [
function (e, t, r) {
!function () {
function e(e) {
this.nodes = e;
}
t.exports =
(Object.defineProperty(e.prototype, 'length', {
get: function () {
return this.nodes.length || 0;
}
}),
(e.prototype.clone = function () {
return (this.nodes = null);
}),
(e.prototype.item = function (e) {
return this.nodes[e] || null;
}),
e);
}.call(this);
},
{}
],
426: [
function (e, t, r) {
!function () {
var i = {}.hasOwnProperty,
o = e('./NodeType'),
a = e('./XMLCharacterData');
t.exports = (function () {
var e,
t = s,
r = a;
for (e in r) i.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function s(e, t, r) {
if ((s.__super__.constructor.call(this, e), null == t))
throw new Error('Missing instruction target. ' + this.debugInfo());
(this.type = o.ProcessingInstruction),
(this.target = this.stringify.insTarget(t)),
(this.name = this.target),
r && (this.value = this.stringify.insValue(r));
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
(s.prototype.clone = function () {
return Object.create(this);
}),
(s.prototype.toString = function (e) {
return this.options.writer.processingInstruction(this, this.options.writer.filterOptions(e));
}),
(s.prototype.isEqualNode = function (e) {
return !!s.__super__.isEqualNode.apply(this, arguments).isEqualNode(e) && e.target === this.target;
}),
s
);
})();
}.call(this);
},
{ './NodeType': 402, './XMLCharacterData': 407 }
],
427: [
function (e, t, r) {
!function () {
var i = {}.hasOwnProperty,
o = e('./NodeType'),
a = e('./XMLNode');
t.exports = (function () {
var e,
t = s,
r = a;
for (e in r) i.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function s(e, t) {
if ((s.__super__.constructor.call(this, e), null == t))
throw new Error('Missing raw text. ' + this.debugInfo());
(this.type = o.Raw), (this.value = this.stringify.raw(t));
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
(s.prototype.clone = function () {
return Object.create(this);
}),
(s.prototype.toString = function (e) {
return this.options.writer.raw(this, this.options.writer.filterOptions(e));
}),
s
);
})();
}.call(this);
},
{ './NodeType': 402, './XMLNode': 424 }
],
428: [
function (e, t, r) {
!function () {
var f = {}.hasOwnProperty,
d = e('./NodeType'),
i = e('./XMLWriterBase'),
h = e('./WriterState');
t.exports = (function () {
var e,
t = s,
r = i;
for (e in r) f.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function s(e, t) {
(this.stream = e), s.__super__.constructor.call(this, t);
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
(s.prototype.endline = function (e, t, r) {
return e.isLastRootNode && t.state === h.CloseTag ? '' : s.__super__.endline.call(this, e, t, r);
}),
(s.prototype.document = function (e, t) {
for (var r, n, s, i, o, a, c = e.children, l = (n = 0), u = c.length; n < u; l = ++n)
(r = c[l]).isLastRootNode = l === e.children.length - 1;
for (t = this.filterOptions(t), a = [], s = 0, i = (o = e.children).length; s < i; s++)
(r = o[s]), a.push(this.writeChildNode(r, t, 0));
return a;
}),
(s.prototype.attribute = function (e, t, r) {
return this.stream.write(s.__super__.attribute.call(this, e, t, r));
}),
(s.prototype.cdata = function (e, t, r) {
return this.stream.write(s.__super__.cdata.call(this, e, t, r));
}),
(s.prototype.comment = function (e, t, r) {
return this.stream.write(s.__super__.comment.call(this, e, t, r));
}),
(s.prototype.declaration = function (e, t, r) {
return this.stream.write(s.__super__.declaration.call(this, e, t, r));
}),
(s.prototype.docType = function (e, t, r) {
var n, s, i, o;
if (
(this.openNode(e, t, (r = r || 0)),
(t.state = h.OpenTag),
this.stream.write(this.indent(e, t, r)),
this.stream.write(''),
this.stream.write(this.endline(e, t, r)),
(t.state = h.None),
this.closeNode(e, t, r)
);
}),
(s.prototype.element = function (e, t, r) {
var n, s, i, o, a, c, l, u, p;
for (l in (this.openNode(e, t, (r = r || 0)),
(t.state = h.OpenTag),
this.stream.write(this.indent(e, t, r) + '<' + e.name),
(u = e.attribs)))
f.call(u, l) && ((n = u[l]), this.attribute(n, t, r));
if (
((o = 0 === (i = e.children.length) ? null : e.children[0]),
0 === i ||
e.children.every(function (e) {
return (e.type === d.Text || e.type === d.Raw) && '' === e.value;
}))
)
t.allowEmpty
? (this.stream.write('>'), (t.state = h.CloseTag), this.stream.write('' + e.name + '>'))
: ((t.state = h.CloseTag), this.stream.write(t.spaceBeforeSlash + '/>'));
else if (!t.pretty || 1 !== i || (o.type !== d.Text && o.type !== d.Raw) || null == o.value) {
for (
this.stream.write('>' + this.endline(e, t, r)),
t.state = h.InsideTag,
a = 0,
c = (p = e.children).length;
a < c;
a++
)
(s = p[a]), this.writeChildNode(s, t, r + 1);
(t.state = h.CloseTag), this.stream.write(this.indent(e, t, r) + '' + e.name + '>');
} else
this.stream.write('>'),
(t.state = h.InsideTag),
t.suppressPrettyCount++,
this.writeChildNode(o, t, r + 1),
t.suppressPrettyCount--,
(t.state = h.CloseTag),
this.stream.write('' + e.name + '>');
return this.stream.write(this.endline(e, t, r)), (t.state = h.None), this.closeNode(e, t, r);
}),
(s.prototype.processingInstruction = function (e, t, r) {
return this.stream.write(s.__super__.processingInstruction.call(this, e, t, r));
}),
(s.prototype.raw = function (e, t, r) {
return this.stream.write(s.__super__.raw.call(this, e, t, r));
}),
(s.prototype.text = function (e, t, r) {
return this.stream.write(s.__super__.text.call(this, e, t, r));
}),
(s.prototype.dtdAttList = function (e, t, r) {
return this.stream.write(s.__super__.dtdAttList.call(this, e, t, r));
}),
(s.prototype.dtdElement = function (e, t, r) {
return this.stream.write(s.__super__.dtdElement.call(this, e, t, r));
}),
(s.prototype.dtdEntity = function (e, t, r) {
return this.stream.write(s.__super__.dtdEntity.call(this, e, t, r));
}),
(s.prototype.dtdNotation = function (e, t, r) {
return this.stream.write(s.__super__.dtdNotation.call(this, e, t, r));
}),
s
);
})();
}.call(this);
},
{ './NodeType': 402, './WriterState': 404, './XMLWriterBase': 432 }
],
429: [
function (e, t, r) {
!function () {
var i = {}.hasOwnProperty,
o = e('./XMLWriterBase');
t.exports = (function () {
var e,
t = s,
r = o;
for (e in r) i.call(r, e) && (t[e] = r[e]);
function n() {
this.constructor = t;
}
function s(e) {
s.__super__.constructor.call(this, e);
}
return (
(n.prototype = r.prototype),
(t.prototype = new n()),
(t.__super__ = r.prototype),
(s.prototype.document = function (e, t) {
var r, n, s, i, o;
for (t = this.filterOptions(t), i = '', n = 0, s = (o = e.children).length; n < s; n++)
(r = o[n]), (i += this.writeChildNode(r, t, 0));
return (i =
t.pretty && i.slice(-t.newline.length) === t.newline ? i.slice(0, -t.newline.length) : i);
}),
s
);
})();
}.call(this);
},
{ './XMLWriterBase': 432 }
],
430: [
function (e, t, r) {
!function () {
function s(e, t) {
return function () {
return e.apply(t, arguments);
};
}
var i = {}.hasOwnProperty;
function e(e) {
var t, r, n;
for (t in ((this.assertLegalName = s(this.assertLegalName, this)),
(this.assertLegalChar = s(this.assertLegalChar, this)),
(this.options = e = e || {}),
this.options.version || (this.options.version = '1.0'),
(r = e.stringify || {})))
i.call(r, t) && ((n = r[t]), (this[t] = n));
}
t.exports =
((e.prototype.name = function (e) {
return this.options.noValidation ? e : this.assertLegalName('' + e || '');
}),
(e.prototype.text = function (e) {
return this.options.noValidation ? e : this.assertLegalChar(this.textEscape('' + e || ''));
}),
(e.prototype.cdata = function (e) {
return this.options.noValidation
? e
: ((e = (e = '' + e || '').replace(']]>', ']]]]>')), this.assertLegalChar(e));
}),
(e.prototype.comment = function (e) {
if (this.options.noValidation) return e;
if ((e = '' + e || '').match(/--/)) throw new Error('Comment text cannot contain double-hypen: ' + e);
return this.assertLegalChar(e);
}),
(e.prototype.raw = function (e) {
return this.options.noValidation ? e : '' + e || '';
}),
(e.prototype.attValue = function (e) {
return this.options.noValidation ? e : this.assertLegalChar(this.attEscape((e = '' + e || '')));
}),
(e.prototype.insTarget = function (e) {
return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
}),
(e.prototype.insValue = function (e) {
if (this.options.noValidation) return e;
if ((e = '' + e || '').match(/\?>/)) throw new Error('Invalid processing instruction value: ' + e);
return this.assertLegalChar(e);
}),
(e.prototype.xmlVersion = function (e) {
if (this.options.noValidation) return e;
if ((e = '' + e || '').match(/1\.[0-9]+/)) return e;
throw new Error('Invalid version number: ' + e);
}),
(e.prototype.xmlEncoding = function (e) {
if (this.options.noValidation) return e;
if ((e = '' + e || '').match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/)) return this.assertLegalChar(e);
throw new Error('Invalid encoding: ' + e);
}),
(e.prototype.xmlStandalone = function (e) {
return this.options.noValidation ? e : e ? 'yes' : 'no';
}),
(e.prototype.dtdPubID = function (e) {
return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
}),
(e.prototype.dtdSysID = function (e) {
return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
}),
(e.prototype.dtdElementValue = function (e) {
return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
}),
(e.prototype.dtdAttType = function (e) {
return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
}),
(e.prototype.dtdAttDefault = function (e) {
return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
}),
(e.prototype.dtdEntityValue = function (e) {
return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
}),
(e.prototype.dtdNData = function (e) {
return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
}),
(e.prototype.convertAttKey = '@'),
(e.prototype.convertPIKey = '?'),
(e.prototype.convertTextKey = '#text'),
(e.prototype.convertCDataKey = '#cdata'),
(e.prototype.convertCommentKey = '#comment'),
(e.prototype.convertRawKey = '#raw'),
(e.prototype.assertLegalChar = function (e) {
var t;
if (this.options.noValidation) return e;
if ('1.0' === this.options.version) {
if (
(t = e.match(
/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/
))
)
throw new Error('Invalid character in string: ' + e + ' at index ' + t.index);
} else if (
'1.1' === this.options.version &&
(t = e.match(
/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/
))
)
throw new Error('Invalid character in string: ' + e + ' at index ' + t.index);
return e;
}),
(e.prototype.assertLegalName = function (e) {
if (this.options.noValidation) return e;
if (
(this.assertLegalChar(e),
e.match(
/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/
))
)
return e;
throw new Error('Invalid character in name');
}),
(e.prototype.textEscape = function (e) {
var t;
return this.options.noValidation
? e
: ((t = this.options.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g),
e.replace(t, '&').replace(//g, '>').replace(/\r/g, '
'));
}),
(e.prototype.attEscape = function (e) {
var t;
return this.options.noValidation
? e
: ((t = this.options.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g),
e
.replace(t, '&')
.replace(/' + this.endline(e, t, r)),
(t.state = g.None),
this.closeNode(e, t, r),
n
);
}),
(e.prototype.comment = function (e, t, r) {
var n;
return (
this.openNode(e, t, r),
(t.state = g.OpenTag),
(n = this.indent(e, t, r) + '\x3c!-- '),
(t.state = g.InsideTag),
(n += e.value),
(t.state = g.CloseTag),
(n += ' --\x3e' + this.endline(e, t, r)),
(t.state = g.None),
this.closeNode(e, t, r),
n
);
}),
(e.prototype.declaration = function (e, t, r) {
var n;
return (
this.openNode(e, t, r),
(t.state = g.OpenTag),
(n = this.indent(e, t, r) + '') + this.endline(e, t, r)),
(t.state = g.None),
this.closeNode(e, t, r),
n
);
}),
(e.prototype.docType = function (e, t, r) {
var n, s, i, o, a;
if (
(this.openNode(e, t, (r = r || 0)),
(t.state = g.OpenTag),
(o = this.indent(e, t, r)),
(o += '') + this.endline(e, t, r)),
(t.state = g.None),
this.closeNode(e, t, r),
o
);
}),
(e.prototype.element = function (e, t, r) {
var n,
s,
i,
o,
a,
c,
l,
u,
p,
f,
d,
h,
m = !1,
y = '';
for (p in (this.openNode(e, t, (r = r || 0)),
(t.state = g.OpenTag),
(y += this.indent(e, t, r) + '<' + e.name),
(f = e.attribs)))
v.call(f, p) && ((n = f[p]), (y += this.attribute(n, t, r)));
if (
((o = 0 === (i = e.children.length) ? null : e.children[0]),
0 === i ||
e.children.every(function (e) {
return (e.type === b.Text || e.type === b.Raw) && '' === e.value;
}))
)
t.allowEmpty
? ((y += '>'), (t.state = g.CloseTag), (y += '' + e.name + '>' + this.endline(e, t, r)))
: ((t.state = g.CloseTag), (y += t.spaceBeforeSlash + '/>' + this.endline(e, t, r)));
else if (!t.pretty || 1 !== i || (o.type !== b.Text && o.type !== b.Raw) || null == o.value) {
if (t.dontPrettyTextNodes)
for (a = 0, l = (d = e.children).length; a < l; a++)
if (((s = d[a]).type === b.Text || s.type === b.Raw) && null != s.value) {
t.suppressPrettyCount++, (m = !0);
break;
}
for (
y += '>' + this.endline(e, t, r), t.state = g.InsideTag, c = 0, u = (h = e.children).length;
c < u;
c++
)
(s = h[c]), (y += this.writeChildNode(s, t, r + 1));
(t.state = g.CloseTag),
(y += this.indent(e, t, r) + '' + e.name + '>'),
m && t.suppressPrettyCount--,
(y += this.endline(e, t, r)),
(t.state = g.None);
} else
(y += '>'),
(t.state = g.InsideTag),
t.suppressPrettyCount++,
(m = !0),
(y += this.writeChildNode(o, t, r + 1)),
t.suppressPrettyCount--,
(m = !1),
(t.state = g.CloseTag),
(y += '' + e.name + '>' + this.endline(e, t, r));
return this.closeNode(e, t, r), y;
}),
(e.prototype.writeChildNode = function (e, t, r) {
switch (e.type) {
case b.CData:
return this.cdata(e, t, r);
case b.Comment:
return this.comment(e, t, r);
case b.Element:
return this.element(e, t, r);
case b.Raw:
return this.raw(e, t, r);
case b.Text:
return this.text(e, t, r);
case b.ProcessingInstruction:
return this.processingInstruction(e, t, r);
case b.Dummy:
return '';
case b.Declaration:
return this.declaration(e, t, r);
case b.DocType:
return this.docType(e, t, r);
case b.AttributeDeclaration:
return this.dtdAttList(e, t, r);
case b.ElementDeclaration:
return this.dtdElement(e, t, r);
case b.EntityDeclaration:
return this.dtdEntity(e, t, r);
case b.NotationDeclaration:
return this.dtdNotation(e, t, r);
default:
throw new Error('Unknown XML node type: ' + e.constructor.name);
}
}),
(e.prototype.processingInstruction = function (e, t, r) {
var n;
return (
this.openNode(e, t, r),
(t.state = g.OpenTag),
(n = this.indent(e, t, r) + ''),
(t.state = g.InsideTag),
(n += e.target),
e.value && (n += ' ' + e.value),
(t.state = g.CloseTag),
(n = (n += t.spaceBeforeSlash + '?>') + this.endline(e, t, r)),
(t.state = g.None),
this.closeNode(e, t, r),
n
);
}),
(e.prototype.raw = function (e, t, r) {
var n;
return (
this.openNode(e, t, r),
(t.state = g.OpenTag),
(n = this.indent(e, t, r)),
(t.state = g.InsideTag),
(n += e.value),
(t.state = g.CloseTag),
(n += this.endline(e, t, r)),
(t.state = g.None),
this.closeNode(e, t, r),
n
);
}),
(e.prototype.text = function (e, t, r) {
var n;
return (
this.openNode(e, t, r),
(t.state = g.OpenTag),
(n = this.indent(e, t, r)),
(t.state = g.InsideTag),
(n += e.value),
(t.state = g.CloseTag),
(n += this.endline(e, t, r)),
(t.state = g.None),
this.closeNode(e, t, r),
n
);
}),
(e.prototype.dtdAttList = function (e, t, r) {
var n;
return (
this.openNode(e, t, r),
(t.state = g.OpenTag),
(n = this.indent(e, t, r) + '' + this.endline(e, t, r)),
(t.state = g.None),
this.closeNode(e, t, r),
n
);
}),
(e.prototype.dtdElement = function (e, t, r) {
var n;
return (
this.openNode(e, t, r),
(t.state = g.OpenTag),
(n = this.indent(e, t, r) + '' + this.endline(e, t, r)),
(t.state = g.None),
this.closeNode(e, t, r),
n
);
}),
(e.prototype.dtdEntity = function (e, t, r) {
var n;
return (
this.openNode(e, t, r),
(t.state = g.OpenTag),
(n = this.indent(e, t, r) + '' + this.endline(e, t, r)),
(t.state = g.None),
this.closeNode(e, t, r),
n
);
}),
(e.prototype.dtdNotation = function (e, t, r) {
var n;
return (
this.openNode(e, t, r),
(t.state = g.OpenTag),
(n = this.indent(e, t, r) + '' + this.endline(e, t, r)),
(t.state = g.None),
this.closeNode(e, t, r),
n
);
}),
(e.prototype.openNode = function (e, t, r) {}),
(e.prototype.closeNode = function (e, t, r) {}),
(e.prototype.openAttribute = function (e, t, r) {}),
(e.prototype.closeAttribute = function (e, t, r) {}),
e));
}.call(this);
},
{
'./NodeType': 402,
'./Utility': 403,
'./WriterState': 404,
'./XMLCData': 406,
'./XMLComment': 408,
'./XMLDTDAttList': 413,
'./XMLDTDElement': 414,
'./XMLDTDEntity': 415,
'./XMLDTDNotation': 416,
'./XMLDeclaration': 417,
'./XMLDocType': 418,
'./XMLDummy': 421,
'./XMLElement': 422,
'./XMLProcessingInstruction': 426,
'./XMLRaw': 427,
'./XMLText': 431
}
],
433: [
function (l, u, e) {
!function () {
var e = l('./Utility'),
s = e.assign,
i = e.isFunction,
e = l('./XMLDOMImplementation'),
o = l('./XMLDocument'),
a = l('./XMLDocumentCB'),
t = l('./XMLStringWriter'),
r = l('./XMLStreamWriter'),
n = l('./NodeType'),
c = l('./WriterState');
(u.exports.create = function (e, t, r, n) {
if (null == e) throw new Error('Root element needs a name.');
return (
(n = s({}, t, r, n)),
(r = (t = new o(n)).element(e)),
n.headless || (t.declaration(n), (null == n.pubID && null == n.sysID) || t.dtd(n)),
r
);
}),
(u.exports.begin = function (e, t, r) {
var n;
return i(e) && ((t = (n = [e, t])[0]), (r = n[1]), (e = {})), t ? new a(e, t, r) : new o(e);
}),
(u.exports.stringWriter = function (e) {
return new t(e);
}),
(u.exports.streamWriter = function (e, t) {
return new r(e, t);
}),
(u.exports.implementation = new e()),
(u.exports.nodeType = n),
(u.exports.writerState = c);
}.call(this);
},
{
'./NodeType': 402,
'./Utility': 403,
'./WriterState': 404,
'./XMLDOMImplementation': 411,
'./XMLDocument': 419,
'./XMLDocumentCB': 420,
'./XMLStreamWriter': 428,
'./XMLStringWriter': 429
}
],
434: [
function (e, t, r) {
t.exports = function () {
for (var e = {}, t = 0; t < arguments.length; t++) {
var r,
n = arguments[t];
for (r in n) s.call(n, r) && (e[r] = n[r]);
}
return e;
};
var s = Object.prototype.hasOwnProperty;
},
{}
],
435: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.array.fill.js'),
e('core-js/modules/es.array.concat.js'),
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/es.regexp.to-string.js'),
e('core-js/modules/es.array.join.js'),
e('core-js/modules/es.array.slice.js');
var o = e('buffer').Buffer,
i = { sha1: e('./sha'), md5: e('./md5') },
a = 64,
c = o.alloc(a);
function n(e, r) {
var n = i[(e = e || 'sha1')],
s = [];
return (
n || l('algorithm:', e, 'is not yet supported'),
{
update: function (e) {
return o.isBuffer(e) || (e = o.from(e)), s.push(e), e.length, this;
},
digest: function (e) {
var t = o.concat(s),
t = r
? (function (e, t, r) {
o.isBuffer(t) || (t = o.from(t)),
o.isBuffer(r) || (r = o.from(r)),
t.length > a ? (t = e(t)) : t.length < a && (t = o.concat([t, c], a));
for (var n = o.alloc(a), s = o.alloc(a), i = 0; i < a; i++)
(n[i] = 54 ^ t[i]), (s[i] = 92 ^ t[i]);
return (r = e(o.concat([n, r]))), e(o.concat([s, r]));
})(n, r, t)
: n(t);
return (s = null), e ? t.toString(e) : t;
}
}
);
}
function l() {
var e = [].slice.call(arguments).join(' ');
throw new Error(
[e, 'we accept pull requests', 'http://github.com/dominictarr/crypto-browserify'].join('\n')
);
}
c.fill(0),
(r.createHash = function (e) {
return n(e);
}),
(r.createHmac = n),
(r.createCredentials = function () {
l('sorry,createCredentials is not implemented yet');
}),
(r.createCipher = function () {
l('sorry,createCipher is not implemented yet');
}),
(r.createCipheriv = function () {
l('sorry,createCipheriv is not implemented yet');
}),
(r.createDecipher = function () {
l('sorry,createDecipher is not implemented yet');
}),
(r.createDecipheriv = function () {
l('sorry,createDecipheriv is not implemented yet');
}),
(r.createSign = function () {
l('sorry,createSign is not implemented yet');
}),
(r.createVerify = function () {
l('sorry,createVerify is not implemented yet');
}),
(r.createDiffieHellman = function () {
l('sorry,createDiffieHellman is not implemented yet');
}),
(r.pbkdf2 = function () {
l('sorry,pbkdf2 is not implemented yet');
});
},
{
'./md5': 437,
'./sha': 438,
buffer: 89,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.array.fill.js': 270,
'core-js/modules/es.array.join.js': 276,
'core-js/modules/es.array.slice.js': 278,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.regexp.to-string.js': 300
}
],
436: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.array.fill.js'), e('core-js/modules/es.array.concat.js');
var c = e('buffer').Buffer,
l = 4,
u = c.alloc(l);
u.fill(0);
t.exports = {
hash: function (e, t, r, n) {
for (
var s = t(
(function (e, t) {
e.length % l != 0 && ((r = e.length + (l - (e.length % l))), (e = c.concat([e, u], r)));
for (var r, n = [], s = t ? e.readInt32BE : e.readInt32LE, i = 0; i < e.length; i += l)
n.push(s.call(e, i));
return n;
})((e = c.isBuffer(e) ? e : c.from(e)), n),
8 * e.length
),
t = r,
e = n,
i = c.alloc(t),
o = e ? i.writeInt32BE : i.writeInt32LE,
a = 0;
a < s.length;
a++
)
o.call(i, s[a], 4 * a, !0);
return i;
}
};
},
{ buffer: 89, 'core-js/modules/es.array.concat.js': 269, 'core-js/modules/es.array.fill.js': 270 }
],
437: [
function (e, t, r) {
'use strict';
var n = e('./helpers');
function s(e, t) {
(e[t >> 5] |= 128 << t % 32), (e[14 + (((t + 64) >>> 9) << 4)] = t);
for (var r = 1732584193, n = -271733879, s = -1732584194, i = 271733878, o = 0; o < e.length; o += 16) {
var a = r,
c = n,
l = s,
u = i,
r = p(r, n, s, i, e[o + 0], 7, -680876936),
i = p(i, r, n, s, e[o + 1], 12, -389564586),
s = p(s, i, r, n, e[o + 2], 17, 606105819),
n = p(n, s, i, r, e[o + 3], 22, -1044525330);
(r = p(r, n, s, i, e[o + 4], 7, -176418897)),
(i = p(i, r, n, s, e[o + 5], 12, 1200080426)),
(s = p(s, i, r, n, e[o + 6], 17, -1473231341)),
(n = p(n, s, i, r, e[o + 7], 22, -45705983)),
(r = p(r, n, s, i, e[o + 8], 7, 1770035416)),
(i = p(i, r, n, s, e[o + 9], 12, -1958414417)),
(s = p(s, i, r, n, e[o + 10], 17, -42063)),
(n = p(n, s, i, r, e[o + 11], 22, -1990404162)),
(r = p(r, n, s, i, e[o + 12], 7, 1804603682)),
(i = p(i, r, n, s, e[o + 13], 12, -40341101)),
(s = p(s, i, r, n, e[o + 14], 17, -1502002290)),
(r = f(r, (n = p(n, s, i, r, e[o + 15], 22, 1236535329)), s, i, e[o + 1], 5, -165796510)),
(i = f(i, r, n, s, e[o + 6], 9, -1069501632)),
(s = f(s, i, r, n, e[o + 11], 14, 643717713)),
(n = f(n, s, i, r, e[o + 0], 20, -373897302)),
(r = f(r, n, s, i, e[o + 5], 5, -701558691)),
(i = f(i, r, n, s, e[o + 10], 9, 38016083)),
(s = f(s, i, r, n, e[o + 15], 14, -660478335)),
(n = f(n, s, i, r, e[o + 4], 20, -405537848)),
(r = f(r, n, s, i, e[o + 9], 5, 568446438)),
(i = f(i, r, n, s, e[o + 14], 9, -1019803690)),
(s = f(s, i, r, n, e[o + 3], 14, -187363961)),
(n = f(n, s, i, r, e[o + 8], 20, 1163531501)),
(r = f(r, n, s, i, e[o + 13], 5, -1444681467)),
(i = f(i, r, n, s, e[o + 2], 9, -51403784)),
(s = f(s, i, r, n, e[o + 7], 14, 1735328473)),
(r = d(r, (n = f(n, s, i, r, e[o + 12], 20, -1926607734)), s, i, e[o + 5], 4, -378558)),
(i = d(i, r, n, s, e[o + 8], 11, -2022574463)),
(s = d(s, i, r, n, e[o + 11], 16, 1839030562)),
(n = d(n, s, i, r, e[o + 14], 23, -35309556)),
(r = d(r, n, s, i, e[o + 1], 4, -1530992060)),
(i = d(i, r, n, s, e[o + 4], 11, 1272893353)),
(s = d(s, i, r, n, e[o + 7], 16, -155497632)),
(n = d(n, s, i, r, e[o + 10], 23, -1094730640)),
(r = d(r, n, s, i, e[o + 13], 4, 681279174)),
(i = d(i, r, n, s, e[o + 0], 11, -358537222)),
(s = d(s, i, r, n, e[o + 3], 16, -722521979)),
(n = d(n, s, i, r, e[o + 6], 23, 76029189)),
(r = d(r, n, s, i, e[o + 9], 4, -640364487)),
(i = d(i, r, n, s, e[o + 12], 11, -421815835)),
(s = d(s, i, r, n, e[o + 15], 16, 530742520)),
(r = h(r, (n = d(n, s, i, r, e[o + 2], 23, -995338651)), s, i, e[o + 0], 6, -198630844)),
(i = h(i, r, n, s, e[o + 7], 10, 1126891415)),
(s = h(s, i, r, n, e[o + 14], 15, -1416354905)),
(n = h(n, s, i, r, e[o + 5], 21, -57434055)),
(r = h(r, n, s, i, e[o + 12], 6, 1700485571)),
(i = h(i, r, n, s, e[o + 3], 10, -1894986606)),
(s = h(s, i, r, n, e[o + 10], 15, -1051523)),
(n = h(n, s, i, r, e[o + 1], 21, -2054922799)),
(r = h(r, n, s, i, e[o + 8], 6, 1873313359)),
(i = h(i, r, n, s, e[o + 15], 10, -30611744)),
(s = h(s, i, r, n, e[o + 6], 15, -1560198380)),
(n = h(n, s, i, r, e[o + 13], 21, 1309151649)),
(r = h(r, n, s, i, e[o + 4], 6, -145523070)),
(i = h(i, r, n, s, e[o + 11], 10, -1120210379)),
(s = h(s, i, r, n, e[o + 2], 15, 718787259)),
(n = h(n, s, i, r, e[o + 9], 21, -343485551)),
(r = m(r, a)),
(n = m(n, c)),
(s = m(s, l)),
(i = m(i, u));
}
return Array(r, n, s, i);
}
function a(e, t, r, n, s, i) {
return m(((t = m(m(t, e), m(n, i))) << s) | (t >>> (32 - s)), r);
}
function p(e, t, r, n, s, i, o) {
return a((t & r) | (~t & n), e, t, s, i, o);
}
function f(e, t, r, n, s, i, o) {
return a((t & n) | (r & ~n), e, t, s, i, o);
}
function d(e, t, r, n, s, i, o) {
return a(t ^ r ^ n, e, t, s, i, o);
}
function h(e, t, r, n, s, i, o) {
return a(r ^ (t | ~n), e, t, s, i, o);
}
function m(e, t) {
var r = (65535 & e) + (65535 & t);
return (((e >> 16) + (t >> 16) + (r >> 16)) << 16) | (65535 & r);
}
t.exports = function (e) {
return n.hash(e, s, 16);
};
},
{ './helpers': 436 }
],
438: [
function (e, t, r) {
'use strict';
var n = e('./helpers');
function s(e, t) {
(e[t >> 5] |= 128 << (24 - (t % 32))), (e[15 + (((t + 64) >> 9) << 4)] = t);
for (
var r,
n,
s,
i = Array(80),
o = 1732584193,
a = -271733879,
c = -1732584194,
l = 271733878,
u = -1009589776,
p = 0;
p < e.length;
p += 16
) {
for (var f = o, d = a, h = c, m = l, y = u, b = 0; b < 80; b++) {
i[b] = b < 16 ? e[p + b] : j(i[b - 3] ^ i[b - 8] ^ i[b - 14] ^ i[b - 16], 1);
var g = v(
v(
j(o, 5),
((g = a),
(n = c),
(s = l),
(r = b) < 20
? (g & n) | (~g & s)
: !(r < 40) && r < 60
? (g & n) | (g & s) | (n & s)
: g ^ n ^ s)
),
v(v(u, i[b]), (r = b) < 20 ? 1518500249 : r < 40 ? 1859775393 : r < 60 ? -1894007588 : -899497514)
),
u = l,
l = c,
c = j(a, 30),
a = o,
o = g;
}
(o = v(o, f)), (a = v(a, d)), (c = v(c, h)), (l = v(l, m)), (u = v(u, y));
}
return Array(o, a, c, l, u);
}
function v(e, t) {
var r = (65535 & e) + (65535 & t);
return (((e >> 16) + (t >> 16) + (r >> 16)) << 16) | (65535 & r);
}
function j(e, t) {
return (e << t) | (e >>> (32 - t));
}
t.exports = function (e) {
return n.hash(e, s, 20, !0);
};
},
{ './helpers': 436 }
],
439: [
function (e, t, r) {
'use strict';
t.exports = function () {
return function () {};
};
},
{}
],
440: [
function (s, i, e) {
!function (n) {
!function () {
'use strict';
var t = s('@babel/runtime/helpers/interopRequireDefault')(s('@babel/runtime/helpers/typeof')),
r = s('stream').Stream,
e = s('../lib/common/utils/isArray').isArray;
(i.exports.string = function (e) {
return 'string' == typeof e;
}),
(i.exports.array = e),
(i.exports.buffer = n.isBuffer),
(i.exports.writableStream = function (e) {
return (
e instanceof r && 'function' == typeof e._write && 'object' === (0, t.default)(e._writableState)
);
});
}.call(this);
}.call(this, { isBuffer: s('../node_modules/is-buffer/index.js') });
},
{
'../lib/common/utils/isArray': 62,
'../node_modules/is-buffer/index.js': 354,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/helpers/typeof': 78,
stream: 387
}
],
441: [
function (e, t, r) {
'use strict';
(e = e('immediate')), (t = t.exports = {});
function n() {}
(t.nextTick = e),
(t.title = 'browser'),
(t.browser = !0),
(t.env = {}),
(t.argv = []),
(t.version = ''),
(t.versions = {}),
(t.on = n),
(t.addListener = n),
(t.once = n),
(t.off = n),
(t.removeListener = n),
(t.removeAllListeners = n),
(t.emit = n),
(t.prependListener = n),
(t.prependOnceListener = n),
(t.listeners = function (e) {
return [];
}),
(t.binding = function (e) {
throw new Error('process.binding is not supported');
}),
(t.cwd = function () {
return '/';
}),
(t.chdir = function (e) {
throw new Error('process.chdir is not supported');
}),
(t.umask = function () {
return 0;
});
},
{ immediate: 347 }
],
442: [
function (n, e, s) {
!function (l) {
!function () {
'use strict';
n('core-js/modules/es.regexp.exec.js'), n('core-js/modules/es.string.search.js');
var o = n('./lib/request'),
e = n('./lib/response'),
a = n('xtend'),
t = n('builtin-status-codes'),
c = n('url'),
r = s;
(r.request = function (e, t) {
e = 'string' == typeof e ? c.parse(e) : a(e);
var r = -1 === l.location.protocol.search(/^https?:$/) ? 'http:' : '',
r = e.protocol || r,
n = e.hostname || e.host,
s = e.port,
i = e.path || '/',
r =
(n && -1 !== n.indexOf(':') && (n = '[' + n + ']'),
(e.url = (n ? r + '//' + n : '') + (s ? ':' + s : '') + i),
(e.method = (e.method || 'GET').toUpperCase()),
(e.headers = e.headers || {}),
new o(e));
return t && r.on('response', t), r;
}),
(r.get = function (e, t) {
e = r.request(e, t);
return e.end(), e;
}),
(r.ClientRequest = o),
(r.IncomingMessage = e.IncomingMessage),
(r.Agent = function () {}),
(r.Agent.defaultMaxSockets = 4),
(r.globalAgent = new r.Agent()),
(r.STATUS_CODES = t),
(r.METHODS = [
'CHECKOUT',
'CONNECT',
'COPY',
'DELETE',
'GET',
'HEAD',
'LOCK',
'M-SEARCH',
'MERGE',
'MKACTIVITY',
'MKCOL',
'MOVE',
'NOTIFY',
'OPTIONS',
'PATCH',
'POST',
'PROPFIND',
'PROPPATCH',
'PURGE',
'PUT',
'REPORT',
'SEARCH',
'SUBSCRIBE',
'TRACE',
'UNLOCK',
'UNSUBSCRIBE'
]);
}.call(this);
}.call(
this,
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {}
);
},
{
'./lib/request': 444,
'./lib/response': 445,
'builtin-status-codes': 90,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.string.search.js': 305,
url: 446,
xtend: 434
}
],
443: [
function (a, e, c) {
!function (o) {
!function () {
'use strict';
a('core-js/modules/es.object.to-string.js'),
a('core-js/modules/es.promise.js'),
a('core-js/modules/es.array-buffer.constructor.js'),
a('core-js/modules/es.array-buffer.slice.js'),
a('core-js/modules/es.array.slice.js'),
(c.fetch = i(o.fetch) && i(o.ReadableStream)),
(c.writableStream = i(o.WritableStream)),
(c.abortController = i(o.AbortController)),
(c.blobConstructor = !1);
try {
new Blob([new ArrayBuffer(1)]), (c.blobConstructor = !0);
} catch (e) {}
var t;
function r() {
if (void 0 !== t) return t;
if (o.XMLHttpRequest) {
t = new o.XMLHttpRequest();
try {
t.open('GET', o.XDomainRequest ? '/' : 'https://example.com');
} catch (e) {
t = null;
}
} else t = null;
return t;
}
function e(e) {
var t = r();
if (!t) return !1;
try {
return (t.responseType = e), t.responseType === e;
} catch (e) {}
return !1;
}
var n = void 0 !== o.ArrayBuffer,
s = n && i(o.ArrayBuffer.prototype.slice);
function i(e) {
return 'function' == typeof e;
}
(c.arraybuffer = c.fetch || (n && e('arraybuffer'))),
(c.msstream = !c.fetch && s && e('ms-stream')),
(c.mozchunkedarraybuffer = !c.fetch && n && e('moz-chunked-arraybuffer')),
(c.overrideMimeType = c.fetch || (!!r() && i(r().overrideMimeType))),
(c.vbArray = i(o.VBArray)),
(t = null);
}.call(this);
}.call(
this,
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {}
);
},
{
'core-js/modules/es.array-buffer.constructor.js': 267,
'core-js/modules/es.array-buffer.slice.js': 268,
'core-js/modules/es.array.slice.js': 278,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.promise.js': 294
}
],
444: [
function (i, o, e) {
!function (p, f, d) {
!function () {
'use strict';
i('core-js/modules/es.object.to-string.js'),
i('core-js/modules/es.regexp.to-string.js'),
i('core-js/modules/web.dom-collections.for-each.js'),
i('core-js/modules/es.object.keys.js'),
i('core-js/modules/es.array.concat.js'),
i('core-js/modules/es.array.map.js'),
i('core-js/modules/es.function.name.js'),
i('core-js/modules/es.promise.js'),
i('core-js/modules/es.regexp.exec.js'),
i('core-js/modules/es.string.split.js');
var c = i('./capability'),
e = i('inherits'),
t = i('./response'),
s = i('readable-stream'),
l = i('to-arraybuffer'),
r = t.IncomingMessage,
u = t.readyStates;
t = o.exports = function (t) {
var e,
r = this,
n =
(s.Writable.call(r),
(r._opts = t),
(r._body = []),
(r._headers = {}),
t.auth && r.setHeader('Authorization', 'Basic ' + new d(t.auth).toString('base64')),
Object.keys(t.headers).forEach(function (e) {
r.setHeader(e, t.headers[e]);
}),
!0);
if ('disable-fetch' === t.mode || ('requestTimeout' in t && !c.abortController)) e = !(n = !1);
else if ('prefer-streaming' === t.mode) e = !1;
else if ('allow-wrong-content-type' === t.mode) e = !c.overrideMimeType;
else {
if (t.mode && 'default' !== t.mode && 'prefer-fast' !== t.mode)
throw new Error('Invalid value for opts.mode');
e = !0;
}
(r._mode =
((e = e),
(n = n),
c.fetch && n
? 'fetch'
: c.mozchunkedarraybuffer
? 'moz-chunked-arraybuffer'
: c.msstream
? 'ms-stream'
: c.arraybuffer && e
? 'arraybuffer'
: c.vbArray && e
? 'text:vbarray'
: 'text')),
(r._fetchTimer = null),
r.on('finish', function () {
r._onFinish();
});
};
e(t, s.Writable),
(t.prototype.setHeader = function (e, t) {
var r = e.toLowerCase();
-1 === n.indexOf(r) && (this._headers[r] = { name: e, value: t });
}),
(t.prototype.getHeader = function (e) {
e = this._headers[e.toLowerCase()];
return e ? e.value : null;
}),
(t.prototype.removeHeader = function (e) {
delete this._headers[e.toLowerCase()];
}),
(t.prototype._onFinish = function () {
var t = this;
if (!t._destroyed) {
var e = t._opts,
r = t._headers,
n = null,
s =
('GET' !== e.method &&
'HEAD' !== e.method &&
(n = c.arraybuffer
? l(d.concat(t._body))
: c.blobConstructor
? new f.Blob(
t._body.map(function (e) {
return l(e);
}),
{ type: (r['content-type'] || {}).value || '' }
)
: d.concat(t._body).toString()),
[]);
if (
(Object.keys(r).forEach(function (e) {
var t = r[e].name,
e = r[e].value;
Array.isArray(e)
? e.forEach(function (e) {
s.push([t, e]);
})
: s.push([t, e]);
}),
'fetch' === t._mode)
) {
var i,
o = null;
c.abortController &&
((o = (i = new AbortController()).signal),
(t._fetchAbortController = i),
'requestTimeout' in e &&
0 !== e.requestTimeout &&
(t._fetchTimer = f.setTimeout(function () {
t.emit('requestTimeout'), t._fetchAbortController && t._fetchAbortController.abort();
}, e.requestTimeout))),
f
.fetch(t._opts.url, {
method: t._opts.method,
headers: s,
body: n || void 0,
mode: 'cors',
credentials: e.withCredentials ? 'include' : 'same-origin',
signal: o
})
.then(
function (e) {
(t._fetchResponse = e), t._connect();
},
function (e) {
f.clearTimeout(t._fetchTimer), t._destroyed || t.emit('error', e);
}
);
} else {
var a = (t._xhr = new f.XMLHttpRequest());
try {
a.open(t._opts.method, t._opts.url, !0);
} catch (e) {
return void p.nextTick(function () {
t.emit('error', e);
});
}
'responseType' in a && (a.responseType = t._mode.split(':')[0]),
'withCredentials' in a && (a.withCredentials = !!e.withCredentials),
'text' === t._mode &&
'overrideMimeType' in a &&
a.overrideMimeType('text/plain; charset=x-user-defined'),
'requestTimeout' in e &&
((a.timeout = e.requestTimeout),
(a.ontimeout = function () {
t.emit('requestTimeout');
})),
s.forEach(function (e) {
a.setRequestHeader(e[0], e[1]);
}),
(t._response = null),
(a.onreadystatechange = function () {
switch (a.readyState) {
case u.LOADING:
case u.DONE:
t._onXHRProgress();
}
}),
'moz-chunked-arraybuffer' === t._mode &&
(a.onprogress = function () {
t._onXHRProgress();
}),
(a.onerror = function () {
t._destroyed || t.emit('error', new Error('XHR error'));
});
try {
a.send(n);
} catch (e) {
return void p.nextTick(function () {
t.emit('error', e);
});
}
}
}
}),
(t.prototype._onXHRProgress = function () {
!(function (e) {
try {
var t = e.status;
return null !== t && 0 !== t;
} catch (e) {
return;
}
})(this._xhr) ||
this._destroyed ||
(this._response || this._connect(), this._response._onXHRProgress());
}),
(t.prototype._connect = function () {
var t = this;
t._destroyed ||
((t._response = new r(t._xhr, t._fetchResponse, t._mode, t._fetchTimer)),
t._response.on('error', function (e) {
t.emit('error', e);
}),
t.emit('response', t._response));
}),
(t.prototype._write = function (e, t, r) {
this._body.push(e), r();
}),
(t.prototype.abort = t.prototype.destroy =
function () {
(this._destroyed = !0),
f.clearTimeout(this._fetchTimer),
this._response && (this._response._destroyed = !0),
this._xhr
? this._xhr.abort()
: this._fetchAbortController && this._fetchAbortController.abort();
}),
(t.prototype.end = function (e, t, r) {
'function' == typeof e && ((r = e), (e = void 0)), s.Writable.prototype.end.call(this, e, t, r);
}),
(t.prototype.flushHeaders = function () {}),
(t.prototype.setTimeout = function () {}),
(t.prototype.setNoDelay = function () {}),
(t.prototype.setSocketKeepAlive = function () {});
var n = [
'accept-charset',
'accept-encoding',
'access-control-request-headers',
'access-control-request-method',
'connection',
'content-length',
'cookie',
'cookie2',
'date',
'dnt',
'expect',
'host',
'keep-alive',
'origin',
'referer',
'te',
'trailer',
'transfer-encoding',
'upgrade',
'user-agent',
'via'
];
}.call(this);
}.call(
this,
i('_process'),
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {},
i('buffer').Buffer
);
},
{
'./capability': 443,
'./response': 445,
_process: 441,
buffer: 89,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.array.map.js': 277,
'core-js/modules/es.function.name.js': 281,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.promise.js': 294,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.regexp.to-string.js': 300,
'core-js/modules/es.string.split.js': 306,
'core-js/modules/web.dom-collections.for-each.js': 338,
inherits: 353,
'readable-stream': 381,
'to-arraybuffer': 390
}
],
445: [
function (r, e, n) {
!function (u, p, f) {
!function () {
'use strict';
r('core-js/modules/es.object.to-string.js'),
r('core-js/modules/web.dom-collections.for-each.js'),
r('core-js/modules/es.promise.js'),
r('core-js/modules/es.regexp.exec.js'),
r('core-js/modules/es.string.split.js'),
r('core-js/modules/es.string.match.js'),
r('core-js/modules/es.array.iterator.js'),
r('core-js/modules/es.array-buffer.slice.js'),
r('core-js/modules/es.typed-array.uint8-array.js'),
r('core-js/modules/es.typed-array.copy-within.js'),
r('core-js/modules/es.typed-array.every.js'),
r('core-js/modules/es.typed-array.fill.js'),
r('core-js/modules/es.typed-array.filter.js'),
r('core-js/modules/es.typed-array.find.js'),
r('core-js/modules/es.typed-array.find-index.js'),
r('core-js/modules/es.typed-array.for-each.js'),
r('core-js/modules/es.typed-array.includes.js'),
r('core-js/modules/es.typed-array.index-of.js'),
r('core-js/modules/es.typed-array.iterator.js'),
r('core-js/modules/es.typed-array.join.js'),
r('core-js/modules/es.typed-array.last-index-of.js'),
r('core-js/modules/es.typed-array.map.js'),
r('core-js/modules/es.typed-array.reduce.js'),
r('core-js/modules/es.typed-array.reduce-right.js'),
r('core-js/modules/es.typed-array.reverse.js'),
r('core-js/modules/es.typed-array.set.js'),
r('core-js/modules/es.typed-array.slice.js'),
r('core-js/modules/es.typed-array.some.js'),
r('core-js/modules/es.typed-array.sort.js'),
r('core-js/modules/es.typed-array.subarray.js'),
r('core-js/modules/es.typed-array.to-locale-string.js'),
r('core-js/modules/es.typed-array.to-string.js'),
r('core-js/modules/es.array.slice.js');
var a = r('./capability'),
e = r('inherits'),
c = r('readable-stream'),
l = (n.readyStates = { UNSENT: 0, OPENED: 1, HEADERS_RECEIVED: 2, LOADING: 3, DONE: 4 }),
t = (n.IncomingMessage = function (e, t, r, n) {
var s = this;
if (
(c.Readable.call(s),
(s._mode = r),
(s.headers = {}),
(s.rawHeaders = []),
(s.trailers = {}),
(s.rawTrailers = []),
s.on('end', function () {
u.nextTick(function () {
s.emit('close');
});
}),
'fetch' === r)
) {
r = function t() {
o.read()
.then(function (e) {
if (!s._destroyed) {
if (e.done) return p.clearTimeout(n), void s.push(null);
s.push(new f(e.value)), t();
}
})
.catch(function (e) {
p.clearTimeout(n), s._destroyed || s.emit('error', e);
});
};
if (
((s._fetchResponse = t),
(s.url = t.url),
(s.statusCode = t.status),
(s.statusMessage = t.statusText),
t.headers.forEach(function (e, t) {
(s.headers[t.toLowerCase()] = e), s.rawHeaders.push(t, e);
}),
a.writableStream)
) {
var i = new WritableStream({
write: function (r) {
return new Promise(function (e, t) {
s._destroyed ? t() : s.push(new f(r)) ? e() : (s._resumeFetch = e);
});
},
close: function () {
p.clearTimeout(n), s._destroyed || s.push(null);
},
abort: function (e) {
s._destroyed || s.emit('error', e);
}
});
try {
return void t.body.pipeTo(i).catch(function (e) {
p.clearTimeout(n), s._destroyed || s.emit('error', e);
});
} catch (e) {}
}
var o = t.body.getReader();
r();
} else
(s._xhr = e),
(s._pos = 0),
(s.url = e.responseURL),
(s.statusCode = e.status),
(s.statusMessage = e.statusText),
e
.getAllResponseHeaders()
.split(/\r?\n/)
.forEach(function (e) {
var t,
e = e.match(/^([^:]+):\s*(.*)/);
e &&
('set-cookie' === (t = e[1].toLowerCase())
? (void 0 === s.headers[t] && (s.headers[t] = []), s.headers[t].push(e[2]))
: void 0 !== s.headers[t]
? (s.headers[t] += ', ' + e[2])
: (s.headers[t] = e[2]),
s.rawHeaders.push(e[1], e[2]));
}),
(s._charset = 'x-user-defined'),
a.overrideMimeType ||
((i = s.rawHeaders['mime-type']) &&
(t = i.match(/;\s*charset=([^;])(;|$)/)) &&
(s._charset = t[1].toLowerCase()),
s._charset || (s._charset = 'utf-8'));
});
e(t, c.Readable),
(t.prototype._read = function () {
var e = this._resumeFetch;
e && ((this._resumeFetch = null), e());
}),
(t.prototype._onXHRProgress = function () {
var t = this,
e = t._xhr,
r = null;
switch (t._mode) {
case 'text:vbarray':
if (e.readyState !== l.DONE) break;
try {
r = new p.VBArray(e.responseBody).toArray();
} catch (e) {}
if (null !== r) {
t.push(new f(r));
break;
}
case 'text':
try {
r = e.responseText;
} catch (e) {
t._mode = 'text:vbarray';
break;
}
if (r.length > t._pos) {
var n = r.substr(t._pos);
if ('x-user-defined' === t._charset) {
for (var s = new f(n.length), i = 0; i < n.length; i++) s[i] = 255 & n.charCodeAt(i);
t.push(s);
} else t.push(n, t._charset);
t._pos = r.length;
}
break;
case 'arraybuffer':
if (e.readyState !== l.DONE || !e.response) break;
(r = e.response), t.push(new f(new Uint8Array(r)));
break;
case 'moz-chunked-arraybuffer':
if (((r = e.response), e.readyState !== l.LOADING || !r)) break;
t.push(new f(new Uint8Array(r)));
break;
case 'ms-stream':
if (((r = e.response), e.readyState !== l.LOADING)) break;
var o = new p.MSStreamReader();
(o.onprogress = function () {
o.result.byteLength > t._pos &&
(t.push(new f(new Uint8Array(o.result.slice(t._pos)))), (t._pos = o.result.byteLength));
}),
(o.onload = function () {
t.push(null);
}),
o.readAsArrayBuffer(r);
}
t._xhr.readyState === l.DONE && 'ms-stream' !== t._mode && t.push(null);
});
}.call(this);
}.call(
this,
r('_process'),
'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: {},
r('buffer').Buffer
);
},
{
'./capability': 443,
_process: 441,
buffer: 89,
'core-js/modules/es.array-buffer.slice.js': 268,
'core-js/modules/es.array.iterator.js': 275,
'core-js/modules/es.array.slice.js': 278,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.promise.js': 294,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.string.match.js': 303,
'core-js/modules/es.string.split.js': 306,
'core-js/modules/es.typed-array.copy-within.js': 314,
'core-js/modules/es.typed-array.every.js': 315,
'core-js/modules/es.typed-array.fill.js': 316,
'core-js/modules/es.typed-array.filter.js': 317,
'core-js/modules/es.typed-array.find-index.js': 318,
'core-js/modules/es.typed-array.find.js': 319,
'core-js/modules/es.typed-array.for-each.js': 320,
'core-js/modules/es.typed-array.includes.js': 321,
'core-js/modules/es.typed-array.index-of.js': 322,
'core-js/modules/es.typed-array.iterator.js': 323,
'core-js/modules/es.typed-array.join.js': 324,
'core-js/modules/es.typed-array.last-index-of.js': 325,
'core-js/modules/es.typed-array.map.js': 326,
'core-js/modules/es.typed-array.reduce-right.js': 327,
'core-js/modules/es.typed-array.reduce.js': 328,
'core-js/modules/es.typed-array.reverse.js': 329,
'core-js/modules/es.typed-array.set.js': 330,
'core-js/modules/es.typed-array.slice.js': 331,
'core-js/modules/es.typed-array.some.js': 332,
'core-js/modules/es.typed-array.sort.js': 333,
'core-js/modules/es.typed-array.subarray.js': 334,
'core-js/modules/es.typed-array.to-locale-string.js': 335,
'core-js/modules/es.typed-array.to-string.js': 336,
'core-js/modules/es.typed-array.uint8-array.js': 337,
'core-js/modules/web.dom-collections.for-each.js': 338,
inherits: 353,
'readable-stream': 381
}
],
446: [
function (e, t, r) {
'use strict';
var T = e('@babel/runtime/helpers/interopRequireDefault')(e('@babel/runtime/helpers/typeof')),
k =
(e('core-js/modules/es.regexp.exec.js'),
e('core-js/modules/es.string.search.js'),
e('core-js/modules/es.array.concat.js'),
e('core-js/modules/es.string.split.js'),
e('core-js/modules/es.string.replace.js'),
e('core-js/modules/es.array.join.js'),
e('core-js/modules/es.string.trim.js'),
e('core-js/modules/es.string.match.js'),
e('core-js/modules/es.array.slice.js'),
e('core-js/modules/es.object.keys.js'),
e('core-js/modules/es.array.splice.js'),
e('punycode')),
E = e('./util');
function w() {
(this.protocol = null),
(this.slashes = null),
(this.auth = null),
(this.host = null),
(this.port = null),
(this.hostname = null),
(this.hash = null),
(this.search = null),
(this.query = null),
(this.pathname = null),
(this.path = null),
(this.href = null);
}
(r.parse = s),
(r.resolve = function (e, t) {
return s(e, !1, !0).resolve(t);
}),
(r.resolveObject = function (e, t) {
return e ? s(e, !1, !0).resolveObject(t) : t;
}),
(r.format = function (e) {
E.isString(e) && (e = s(e));
return e instanceof w ? e.format() : w.prototype.format.call(e);
}),
(r.Url = w);
var _ = /^([a-z0-9.+-]+:)/i,
n = /:[0-9]*$/,
S = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,
r = ['{', '}', '|', '\\', '^', '`'].concat(['<', '>', '"', '`', ' ', '\r', '\n', '\t']),
O = ["'"].concat(r),
A = ['%', '/', '?', ';', '#'].concat(O),
D = ['/', '?', '#'],
I = /^[+a-z0-9A-Z_-]{0,63}$/,
C = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,
N = { javascript: !0, 'javascript:': !0 },
R = { javascript: !0, 'javascript:': !0 },
P = {
http: !0,
https: !0,
ftp: !0,
gopher: !0,
file: !0,
'http:': !0,
'https:': !0,
'ftp:': !0,
'gopher:': !0,
'file:': !0
},
M = e('querystring');
function s(e, t, r) {
if (e && E.isObject(e) && e instanceof w) return e;
var n = new w();
return n.parse(e, t, r), n;
}
(w.prototype.parse = function (e, t, r) {
if (!E.isString(e)) throw new TypeError("Parameter 'url' must be a string, not " + (0, T.default)(e));
var n = e.indexOf('?'),
n = -1 !== n && n < e.indexOf('#') ? '?' : '#',
s = e.split(n);
s[0] = s[0].replace(/\\/g, '/');
var i = (i = e = s.join(n)).trim();
if (!r && 1 === e.split('#').length) {
s = S.exec(i);
if (s)
return (
(this.path = i),
(this.href = i),
(this.pathname = s[1]),
s[2]
? ((this.search = s[2]),
(this.query = t ? M.parse(this.search.substr(1)) : this.search.substr(1)))
: t && ((this.search = ''), (this.query = {})),
this
);
}
var o,
n = _.exec(i);
if (
(n && ((o = (n = n[0]).toLowerCase()), (this.protocol = o), (i = i.substr(n.length))),
!(r || n || i.match(/^\/\/[^@\/]+@[^@\/]+/)) ||
!(j = '//' === i.substr(0, 2)) ||
(n && R[n]) ||
((i = i.substr(2)), (this.slashes = !0)),
!R[n] && (j || (n && !P[n])))
) {
for (var a = -1, c = 0; c < D.length; c++)
-1 !== (l = i.indexOf(D[c])) && (-1 === a || l < a) && (a = l);
-1 !== (e = -1 === a ? i.lastIndexOf('@') : i.lastIndexOf('@', a)) &&
((s = i.slice(0, e)), (i = i.slice(e + 1)), (this.auth = decodeURIComponent(s)));
for (var l, a = -1, c = 0; c < A.length; c++)
-1 !== (l = i.indexOf(A[c])) && (-1 === a || l < a) && (a = l);
-1 === a && (a = i.length),
(this.host = i.slice(0, a)),
(i = i.slice(a)),
this.parseHost(),
(this.hostname = this.hostname || '');
r = '[' === this.hostname[0] && ']' === this.hostname[this.hostname.length - 1];
if (!r)
for (var u = this.hostname.split('.'), c = 0, p = u.length; c < p; c++) {
var f = u[c];
if (f && !f.match(I)) {
for (var d = '', h = 0, m = f.length; h < m; h++)
127 < f.charCodeAt(h) ? (d += 'x') : (d += f[h]);
if (!d.match(I)) {
var y = u.slice(0, c),
b = u.slice(c + 1),
g = f.match(C);
g && (y.push(g[1]), b.unshift(g[2])),
b.length && (i = '/' + b.join('.') + i),
(this.hostname = y.join('.'));
break;
}
}
}
255 < this.hostname.length ? (this.hostname = '') : (this.hostname = this.hostname.toLowerCase()),
r || (this.hostname = k.toASCII(this.hostname));
var v = this.port ? ':' + this.port : '',
j = this.hostname || '';
(this.host = j + v),
(this.href += this.host),
r &&
((this.hostname = this.hostname.substr(1, this.hostname.length - 2)),
'/' !== i[0] && (i = '/' + i));
}
if (!N[o])
for (c = 0, p = O.length; c < p; c++) {
var w,
x = O[c];
-1 !== i.indexOf(x) &&
((w = encodeURIComponent(x)) === x && (w = escape(x)), (i = i.split(x).join(w)));
}
(n = i.indexOf('#')), -1 !== n && ((this.hash = i.substr(n)), (i = i.slice(0, n))), (e = i.indexOf('?'));
return (
-1 !== e
? ((this.search = i.substr(e)),
(this.query = i.substr(e + 1)),
t && (this.query = M.parse(this.query)),
(i = i.slice(0, e)))
: t && ((this.search = ''), (this.query = {})),
i && (this.pathname = i),
P[o] && this.hostname && !this.pathname && (this.pathname = '/'),
(this.pathname || this.search) &&
((v = this.pathname || ''), (s = this.search || ''), (this.path = v + s)),
(this.href = this.format()),
this
);
}),
(w.prototype.format = function () {
var e = this.auth || '',
t = (e && ((e = (e = encodeURIComponent(e)).replace(/%3A/i, ':')), (e += '@')), this.protocol || ''),
r = this.pathname || '',
n = this.hash || '',
s = !1,
i = '',
e =
(this.host
? (s = e + this.host)
: this.hostname &&
((s = e + (-1 === this.hostname.indexOf(':') ? this.hostname : '[' + this.hostname + ']')),
this.port && (s += ':' + this.port)),
this.query &&
E.isObject(this.query) &&
Object.keys(this.query).length &&
(i = M.stringify(this.query)),
this.search || (i && '?' + i) || '');
return (
t && ':' !== t.substr(-1) && (t += ':'),
this.slashes || ((!t || P[t]) && !1 !== s)
? ((s = '//' + (s || '')), r && '/' !== r.charAt(0) && (r = '/' + r))
: (s = s || ''),
n && '#' !== n.charAt(0) && (n = '#' + n),
e && '?' !== e.charAt(0) && (e = '?' + e),
t +
s +
(r = r.replace(/[?#]/g, function (e) {
return encodeURIComponent(e);
})) +
(e = e.replace('#', '%23')) +
n
);
}),
(w.prototype.resolve = function (e) {
return this.resolveObject(s(e, !1, !0)).format();
}),
(w.prototype.resolveObject = function (e) {
E.isString(e) && ((f = new w()).parse(e, !1, !0), (e = f));
for (var t = new w(), r = Object.keys(this), n = 0; n < r.length; n++) {
var s = r[n];
t[s] = this[s];
}
if (((t.hash = e.hash), '' === e.href)) return (t.href = t.format()), t;
if (e.slashes && !e.protocol) {
for (var i = Object.keys(e), o = 0; o < i.length; o++) {
var a = i[o];
'protocol' !== a && (t[a] = e[a]);
}
return (
P[t.protocol] && t.hostname && !t.pathname && (t.path = t.pathname = '/'), (t.href = t.format()), t
);
}
if (e.protocol && e.protocol !== t.protocol) {
if (!P[e.protocol]) {
for (var c = Object.keys(e), l = 0; l < c.length; l++) {
var u = c[l];
t[u] = e[u];
}
return (t.href = t.format()), t;
}
if (((t.protocol = e.protocol), e.host || R[e.protocol])) t.pathname = e.pathname;
else {
for (var p = (e.pathname || '').split('/'); p.length && !(e.host = p.shift()); );
e.host || (e.host = ''),
e.hostname || (e.hostname = ''),
'' !== p[0] && p.unshift(''),
p.length < 2 && p.unshift(''),
(t.pathname = p.join('/'));
}
return (
(t.search = e.search),
(t.query = e.query),
(t.host = e.host || ''),
(t.auth = e.auth),
(t.hostname = e.hostname || e.host),
(t.port = e.port),
(t.pathname || t.search) && ((f = t.pathname || ''), (d = t.search || ''), (t.path = f + d)),
(t.slashes = t.slashes || e.slashes),
(t.href = t.format()),
t
);
}
var f = t.pathname && '/' === t.pathname.charAt(0),
d = e.host || (e.pathname && '/' === e.pathname.charAt(0)),
f = d || f || (t.host && e.pathname),
h = f,
m = (t.pathname && t.pathname.split('/')) || [],
p = (e.pathname && e.pathname.split('/')) || [],
y = t.protocol && !P[t.protocol];
if (
(y &&
((t.hostname = ''),
(t.port = null),
t.host && ('' === m[0] ? (m[0] = t.host) : m.unshift(t.host)),
(t.host = ''),
e.protocol &&
((e.hostname = null),
(e.port = null),
e.host && ('' === p[0] ? (p[0] = e.host) : p.unshift(e.host)),
(e.host = null)),
(f = f && ('' === p[0] || '' === m[0]))),
d)
)
(t.host = (e.host || '' === e.host ? e : t).host),
(t.hostname = (e.hostname || '' === e.hostname ? e : t).hostname),
(t.search = e.search),
(t.query = e.query),
(m = p);
else if (p.length) (m = m || []).pop(), (m = m.concat(p)), (t.search = e.search), (t.query = e.query);
else if (!E.isNullOrUndefined(e.search))
return (
y &&
((t.hostname = t.host = m.shift()),
(j = !!(t.host && 0 < t.host.indexOf('@')) && t.host.split('@')) &&
((t.auth = j.shift()), (t.host = t.hostname = j.shift()))),
(t.search = e.search),
(t.query = e.query),
(E.isNull(t.pathname) && E.isNull(t.search)) || (t.path = (t.pathname || '') + (t.search || '')),
(t.href = t.format()),
t
);
if (!m.length)
return (
(t.pathname = null),
t.search ? (t.path = '/' + t.search) : (t.path = null),
(t.href = t.format()),
t
);
for (
var b = m.slice(-1)[0],
d = ((t.host || e.host || 1 < m.length) && ('.' === b || '..' === b)) || '' === b,
g = 0,
v = m.length;
0 <= v;
v--
)
'.' === (b = m[v]) ? m.splice(v, 1) : '..' === b ? (m.splice(v, 1), g++) : g && (m.splice(v, 1), g--);
if (!f && !h) for (; g--; ) m.unshift('..');
!f || '' === m[0] || (m[0] && '/' === m[0].charAt(0)) || m.unshift(''),
d && '/' !== m.join('/').substr(-1) && m.push('');
var j,
h = '' === m[0] || (m[0] && '/' === m[0].charAt(0));
return (
y &&
((t.hostname = t.host = !h && m.length ? m.shift() : ''),
(j = !!(t.host && 0 < t.host.indexOf('@')) && t.host.split('@')) &&
((t.auth = j.shift()), (t.host = t.hostname = j.shift()))),
(f = f || (t.host && m.length)) && !h && m.unshift(''),
m.length ? (t.pathname = m.join('/')) : ((t.pathname = null), (t.path = null)),
(E.isNull(t.pathname) && E.isNull(t.search)) || (t.path = (t.pathname || '') + (t.search || '')),
(t.auth = e.auth || t.auth),
(t.slashes = t.slashes || e.slashes),
(t.href = t.format()),
t
);
}),
(w.prototype.parseHost = function () {
var e = this.host,
t = n.exec(e);
t && (':' !== (t = t[0]) && (this.port = t.substr(1)), (e = e.substr(0, e.length - t.length))),
e && (this.hostname = e);
});
},
{
'./util': 447,
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/helpers/typeof': 78,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.array.join.js': 276,
'core-js/modules/es.array.slice.js': 278,
'core-js/modules/es.array.splice.js': 280,
'core-js/modules/es.object.keys.js': 289,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.string.match.js': 303,
'core-js/modules/es.string.replace.js': 304,
'core-js/modules/es.string.search.js': 305,
'core-js/modules/es.string.split.js': 306,
'core-js/modules/es.string.trim.js': 307,
punycode: 367,
querystring: 370
}
],
447: [
function (e, t, r) {
'use strict';
var n = e('@babel/runtime/helpers/interopRequireDefault')(e('@babel/runtime/helpers/typeof'));
t.exports = {
isString: function (e) {
return 'string' == typeof e;
},
isObject: function (e) {
return 'object' === (0, n.default)(e) && null !== e;
},
isNull: function (e) {
return null === e;
},
isNullOrUndefined: function (e) {
return null == e;
}
};
},
{ '@babel/runtime/helpers/interopRequireDefault': 77, '@babel/runtime/helpers/typeof': 78 }
],
448: [
function (e, t, r) {
'use strict';
e('core-js/modules/es.number.constructor.js'),
(r.encodeURIComponent = function (t) {
try {
return encodeURIComponent(t);
} catch (e) {
return t;
}
}),
(r.escape = e('escape-html')),
(r.timestamp = function (e) {
var t;
return e
? ('string' == typeof (t = e) && (t = Number(t)), 10 === String(e).length && (t *= 1e3), new Date(t))
: Math.round(Date.now() / 1e3);
});
},
{ 'core-js/modules/es.number.constructor.js': 283, 'escape-html': 342 }
],
449: [
function (e, t, J) {
!function (Y, $) {
!function () {
'use strict';
var L = e('@babel/runtime/helpers/interopRequireDefault')(e('@babel/runtime/helpers/typeof')),
B =
(e('core-js/modules/es.string.trim.js'),
e('core-js/modules/es.regexp.exec.js'),
e('core-js/modules/es.string.split.js'),
e('core-js/modules/es.object.to-string.js'),
e('core-js/modules/es.promise.js'),
e('core-js/modules/es.function.name.js'),
e('core-js/modules/es.array.concat.js'),
e('util')),
q = e('url'),
F = e('http'),
U = e('https'),
G = e('debug')('urllib'),
X = e('humanize-ms'),
V = 0,
z = Math.pow(2, 31) - 10,
W = /^https?:\/\//i;
function H(e, t) {
return void 0 === e ? t : e;
}
J.TIMEOUTS = [X('300s'), X('300s')];
var K = ['json', 'text'];
(J.request = function (r, i, e) {
return (
2 === arguments.length && 'function' == typeof i && ((e = i), (i = null)),
'function' == typeof e
? J.requestWithCallback(r, i, e)
: new Promise(function (e, t) {
var n, s;
J.requestWithCallback(
r,
i,
((n = e),
(s = t),
function (e, t, r) {
if (e) return s(e);
n({ data: t, status: r.statusCode, headers: r.headers, res: r });
})
);
})
);
}),
(J.requestWithCallback = function (a, c, l) {
if (!a || ('string' != typeof a && 'object' !== (0, L.default)(a)))
throw (
((t = B.format('expect request url to be a string or a http request options, but got %j', a)),
new Error(t))
);
2 === arguments.length && 'function' == typeof c && ((l = c), (c = null)), z <= V && (V = 0);
var e,
u = ++V,
p =
(((c = c || {}).requestUrls = c.requestUrls || []),
{ requestId: u, url: a, args: c, ctx: c.ctx }),
f =
(c.emitter && c.emitter.emit('request', p),
(c.timeout = c.timeout || J.TIMEOUTS),
(c.maxRedirects = c.maxRedirects || 10),
(c.streaming = c.streaming || c.customResponse),
Date.now()),
t = 'string' == typeof a ? (W.test(a) || (a = 'https://' + a), q.parse(a)) : a,
r = (c.type || c.method || t.method || 'GET').toUpperCase(),
n = t.port || 80,
s = F,
d = H(c.agent, J.agent),
M = c.fixJSONCtlChars,
h =
('https:' === t.protocol && ((s = U), (d = H(c.httpsAgent, J.httpsAgent)), t.port || (n = 443)),
{
host: t.hostname || t.host || 'localhost',
path: t.path || '/',
method: r,
port: n,
agent: d,
headers: c.headers || {},
lookup: c.lookup
}),
n =
(Array.isArray(c.timeout)
? (h.requestTimeout = c.timeout[c.timeout.length - 1])
: void 0 !== c.timeout && (h.requestTimeout = c.timeout),
c.auth || t.auth),
n = (n && (h.auth = n), c.content || c.data),
i = 'GET' === r || 'HEAD' === r || c.dataAsQueryString,
m =
(c.content ||
(n &&
'string' != typeof n &&
!$.isBuffer(n) &&
(n = i
? (c.nestedQuerystring ? qs : querystring).stringify(n)
: ((e = h.headers['Content-Type'] || h.headers['content-type']) ||
((e =
'json' === c.contentType
? 'application/json'
: 'application/x-www-form-urlencoded'),
(h.headers['Content-Type'] = e)),
('application/json' === ((e = e) ? e.split(';')[0].trim().toLowerCase() : '')
? JSON
: c.nestedQuerystring
? qs
: querystring
).stringify(n)))),
i && n && ((h.path += (t.query ? '&' : '?') + n), (n = null)),
0),
o =
(n &&
((e = n.length),
$.isBuffer(n) || (e = $.byteLength(n)),
(m = h.headers['Content-Length'] = e)),
'json' === c.dataType && (h.headers.Accept = 'application/json'),
'function' == typeof c.beforeRequest && c.beforeRequest(h),
null),
y = null,
b = null,
g = !1,
v = !1,
j = 0,
w = -1,
x = !1,
T = '',
k = '',
E = null;
function _() {
o && (clearTimeout(o), (o = null));
}
function S() {
y && (clearTimeout(y), (y = null));
}
function O(e, t, r) {
if ((S(), !l))
return (
console.warn(
'[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!',
Date(),
u,
Y.pid,
h.method,
a
),
void (
e &&
console.warn(
'[urllib:warn] [%s] [%s] [worker:%s] %s: %s\nstack: %s',
Date(),
u,
Y.pid,
e.name,
e.message,
e.stack
)
)
);
var n,
s = l,
i = ((l = null), {}),
o = (r && ((w = r.statusCode), (i = r.headers)), Date.now() - f),
o =
(E && (E.contentDownload = o),
G(
'[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j',
o,
j,
w,
h.method,
h.host,
h.path,
v,
E
),
{
status: w,
statusCode: w,
headers: i,
size: j,
aborted: x,
rt: o,
keepAliveSocket: v,
data: t,
requestUrls: c.requestUrls,
timing: E,
remoteAddress: T,
remotePort: k
});
e &&
((n = ''),
d &&
'function' == typeof d.getCurrentStatus &&
(n = ', agent status: ' + JSON.stringify(d.getCurrentStatus())),
(e.message +=
', ' +
h.method +
' ' +
a +
' ' +
w +
' (connected: ' +
g +
', keepalive socket: ' +
v +
n +
')\nheaders: ' +
JSON.stringify(i)),
(e.data = t),
(e.path = h.path),
(e.status = w),
(e.headers = i),
(e.res = o)),
s(e, t, c.streaming ? r : o),
c.emitter &&
((p.url = a),
(p.socket = C && C.connection),
(p.options = h),
(p.size = m),
c.emitter.emit('response', { requestId: u, error: e, ctx: c.ctx, req: p, res: o }));
}
function A(e) {
var t = null;
if (c.followRedirect && statuses.redirect[e.statusCode]) {
c._followRedirectCount = (c._followRedirectCount || 0) + 1;
var r,
n = e.headers.location;
if (n) {
if (!(c._followRedirectCount > c.maxRedirects))
return (
(r = c.formatRedirectUrl ? c.formatRedirectUrl(a, n) : q.resolve(a, n)),
G('Request#%d %s: `redirected` from %s to %s', u, h.path, a, r),
S(),
c.headers && c.headers.Host && W.test(n) && (c.headers.Host = null),
(n = l),
(l = null),
J.requestWithCallback(r, c, n),
{ redirect: !0, error: null }
);
(t = new Error('Exceeded maxRedirects. Probably stuck in a redirect loop ' + a)).name =
'MaxRedirectError';
} else
(t = new Error(
'Got statusCode ' + e.statusCode + ' but cannot resolve next location from headers'
)).name = 'FollowRedirectError';
}
return { redirect: !1, error: t };
}
c.timing &&
(E = { queuing: 0, dnslookup: 0, connected: 0, requestSent: 0, waiting: 0, contentDownload: 0 }),
!c.gzip ||
h.headers['Accept-Encoding'] ||
h.headers['accept-encoding'] ||
(h.headers['Accept-Encoding'] = 'gzip');
var D,
I,
C,
N = c.writeStream;
function R() {
G('Response timer ticking, timeout: %d', I),
(y = setTimeout(function () {
y = null;
var e = 'Response timeout for ' + I + 'ms';
((b = new Error(e)).name = 'ResponseTimeoutError'),
(b.requestId = u),
G('ResponseTimeout: Request#%d %s %s: %s, connected: %s', u, a, b.name, e, g),
P();
}, I));
}
G('Request#%d %s %s with headers %j, options.path: %s', u, r, a, h.headers, h.path),
c.requestUrls.push(a),
Array.isArray(c.timeout)
? ((D = X(c.timeout[0])), (I = X(c.timeout[1])))
: (D = I = X(c.timeout)),
G('ConnectTimeout: %d, ResponseTimeout: %d', D, I),
(h.mode = c.mode || '');
try {
C = s.request(h, function (s) {
var e;
if (
(E && (E.waiting = Date.now() - f),
G(
'Request#%d %s `req response` event emit: status %d, headers: %j',
u,
a,
s.statusCode,
s.headers
),
c.streaming)
)
return (e = A(s)).redirect
? void s.resume()
: e.error
? (s.resume(), O(e.error, null, s))
: O(null, null, s);
if (
(s.on('close', function () {
G('Request#%d %s: `res close` event emit, total size %d', u, a, j);
}),
s.on('error', function () {
G('Request#%d %s: `res error` event emit, total size %d', u, a, j);
}),
s.on('aborted', function () {
(x = !0), G('Request#%d %s: `res aborted` event emit, total size %d', u, a, j);
}),
N)
)
return (e = A(s)).redirect
? void s.resume()
: e.error
? (s.resume(), N.end(), O(e.error, null, s))
: (!1 === c.consumeWriteStream
? s.on('end', O.bind(null, null, null, s))
: N.on('close', function () {
G('Request#%d %s: writeStream close event emitted', u, a), O(b || null, null, s);
}),
s.pipe(N));
var t = [];
s.on('data', function (e) {
G('Request#%d %s: `res data` event emit, size %d', u, a, e.length),
(j += e.length),
t.push(e);
}),
s.on('end', function () {
var e,
n = $.concat(t, j);
return (
G('Request#%d %s: `res end` event emit, total size %d, _dumped: %s', u, a, j, s._dumped),
b
? O(b, n, s)
: (e = A(s)).error
? O(e.error, n, s)
: void (
e.redirect ||
(function (e, t, r) {
if (e) return O(e, n, s);
if (!r && 0 <= K.indexOf(c.dataType)) {
try {
t = decodeBodyByCharset(t, s);
} catch (e) {
return G('decodeBodyByCharset error: %s', e), O(null, t, s);
}
'json' === c.dataType &&
(0 === j
? (t = null)
: (r = parseJSON(t, M)).error
? (e = r.error)
: (t = r.data));
}
x &&
G(
'Request#%d %s: Remote socket was terminated before `response.end()` was called',
u,
a
),
O(e, t, s);
})(null, n, s.headers['content-encoding'])
)
);
});
});
} catch (e) {
return O(e);
}
function P() {
G('Request#%d %s abort, connected: %s', u, a, g),
C.socket || ((b.noSocket = !0), O(b)),
C.abort();
}
return (
'undefined' == typeof window
? (G('Connect timer ticking, timeout: %d', D),
(o = setTimeout(function () {
(o = null), -1 === w && (w = -2);
var e = 'Connect timeout for ' + D + 'ms',
t = 'ConnectionTimeoutError';
C.socket || ((t = 'SocketAssignTimeoutError'), (e += ', working sockets is full')),
((b = new Error(e)).name = t),
(b.requestId = u),
G('ConnectTimeout: Request#%d %s %s: %s, connected: %s', u, a, b.name, e, g),
P();
}, D)))
: C.on('requestTimeout', function () {
-1 === w && (w = -2);
((b = new Error('Connect timeout for ' + D + 'ms')).name = 'ConnectionTimeoutError'),
(b.requestId = u),
P();
}),
E &&
C.on('finish', function () {
E.requestSent = Date.now() - f;
}),
C.once('socket', function (e) {
E && (E.queuing = Date.now() - f);
var t = e.readyState;
if ('opening' === t)
return (
e.once('lookup', function (e, t, r) {
G('Request#%d %s lookup: %s, %s, %s', u, a, e, t, r),
E && (E.dnslookup = Date.now() - f),
t && (T = t);
}),
void e.once('connect', function () {
E && (E.connected = Date.now() - f),
_(),
R(),
G('Request#%d %s new socket connected', u, a),
(g = !0),
(T = T || e.remoteAddress),
(k = e.remotePort);
})
);
G('Request#%d %s reuse socket connected, readyState: %s', u, a, t),
(v = g = !0),
(T = T || e.remoteAddress),
(k = e.remotePort),
_(),
R();
}),
C.on('error', function (e) {
('Error' !== e.name && 'TypeError' !== e.name) ||
(e.name = g ? 'ResponseError' : 'RequestError'),
(e.message += ' (req "error")'),
G('Request#%d %s `req error` event emit, %s: %s', u, a, e.name, e.message),
O(b || e);
}),
N &&
N.once('error', function (e) {
(e.message += ' (writeStream "error")'),
G('Request#%d %s `writeStream error` event emit, %s: %s', u, a, (b = e).name, e.message),
P();
}),
c.stream
? (c.stream.pipe(C),
c.stream.once('error', function (e) {
(e.message += ' (stream "error")'),
G('Request#%d %s `readStream error` event emit, %s: %s', u, a, (b = e).name, e.message),
P();
}))
: C.end(n),
(C.requestId = u),
C
);
});
}.call(this);
}.call(this, e('_process'), e('buffer').Buffer);
},
{
'@babel/runtime/helpers/interopRequireDefault': 77,
'@babel/runtime/helpers/typeof': 78,
_process: 441,
buffer: 89,
'core-js/modules/es.array.concat.js': 269,
'core-js/modules/es.function.name.js': 281,
'core-js/modules/es.object.to-string.js': 290,
'core-js/modules/es.promise.js': 294,
'core-js/modules/es.regexp.exec.js': 299,
'core-js/modules/es.string.split.js': 306,
'core-js/modules/es.string.trim.js': 307,
debug: 439,
http: 442,
https: 344,
'humanize-ms': 345,
url: 446,
util: 394
}
]
},
{},
[1]
)(1);
});
})(window);