FossilRepo

fossilrepo / assets / admin / js / vendor / xregexp / xregexp.js
Blame History Raw 6127 lines
1
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.XRegExp = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
2
"use strict";
3
4
var _sliceInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/slice");
5
6
var _Array$from = require("@babel/runtime-corejs3/core-js-stable/array/from");
7
8
var _Symbol = require("@babel/runtime-corejs3/core-js-stable/symbol");
9
10
var _getIteratorMethod = require("@babel/runtime-corejs3/core-js/get-iterator-method");
11
12
var _Array$isArray = require("@babel/runtime-corejs3/core-js-stable/array/is-array");
13
14
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
15
16
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
17
18
_Object$defineProperty(exports, "__esModule", {
19
value: true
20
});
21
22
exports["default"] = void 0;
23
24
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/slicedToArray"));
25
26
var _forEach = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/for-each"));
27
28
var _concat = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/concat"));
29
30
var _indexOf = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/index-of"));
31
32
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof _Symbol !== "undefined" && _getIteratorMethod(o) || o["@@iterator"]; if (!it) { if (_Array$isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
33
34
function _unsupportedIterableToArray(o, minLen) { var _context4; if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = _sliceInstanceProperty(_context4 = Object.prototype.toString.call(o)).call(_context4, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return _Array$from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
35
36
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
37
38
/*!
39
* XRegExp Unicode Base 5.1.1
40
* <xregexp.com>
41
* Steven Levithan (c) 2008-present MIT License
42
*/
43
var _default = function _default(XRegExp) {
44
/**
45
* Adds base support for Unicode matching:
46
* - Adds syntax `\p{..}` for matching Unicode tokens. Tokens can be inverted using `\P{..}` or
47
* `\p{^..}`. Token names ignore case, spaces, hyphens, and underscores. You can omit the
48
* braces for token names that are a single letter (e.g. `\pL` or `PL`).
49
* - Adds flag A (astral), which enables 21-bit Unicode support.
50
* - Adds the `XRegExp.addUnicodeData` method used by other addons to provide character data.
51
*
52
* Unicode Base relies on externally provided Unicode character data. Official addons are
53
* available to provide data for Unicode categories, scripts, and properties.
54
*
55
* @requires XRegExp
56
*/
57
// ==--------------------------==
58
// Private stuff
59
// ==--------------------------==
60
// Storage for Unicode data
61
var unicode = {};
62
var unicodeTypes = {}; // Reuse utils
63
64
var dec = XRegExp._dec;
65
var hex = XRegExp._hex;
66
var pad4 = XRegExp._pad4; // Generates a token lookup name: lowercase, with hyphens, spaces, and underscores removed
67
68
function normalize(name) {
69
return name.replace(/[- _]+/g, '').toLowerCase();
70
} // Gets the decimal code of a literal code unit, \xHH, \uHHHH, or a backslash-escaped literal
71
72
73
function charCode(chr) {
74
var esc = /^\\[xu](.+)/.exec(chr);
75
return esc ? dec(esc[1]) : chr.charCodeAt(chr[0] === '\\' ? 1 : 0);
76
} // Inverts a list of ordered BMP characters and ranges
77
78
79
function invertBmp(range) {
80
var output = '';
81
var lastEnd = -1;
82
(0, _forEach["default"])(XRegExp).call(XRegExp, range, /(\\x..|\\u....|\\?[\s\S])(?:-(\\x..|\\u....|\\?[\s\S]))?/, function (m) {
83
var start = charCode(m[1]);
84
85
if (start > lastEnd + 1) {
86
output += "\\u".concat(pad4(hex(lastEnd + 1)));
87
88
if (start > lastEnd + 2) {
89
output += "-\\u".concat(pad4(hex(start - 1)));
90
}
91
}
92
93
lastEnd = charCode(m[2] || m[1]);
94
});
95
96
if (lastEnd < 0xFFFF) {
97
output += "\\u".concat(pad4(hex(lastEnd + 1)));
98
99
if (lastEnd < 0xFFFE) {
100
output += '-\\uFFFF';
101
}
102
}
103
104
return output;
105
} // Generates an inverted BMP range on first use
106
107
108
function cacheInvertedBmp(slug) {
109
var prop = 'b!';
110
return unicode[slug][prop] || (unicode[slug][prop] = invertBmp(unicode[slug].bmp));
111
} // Combines and optionally negates BMP and astral data
112
113
114
function buildAstral(slug, isNegated) {
115
var item = unicode[slug];
116
var combined = '';
117
118
if (item.bmp && !item.isBmpLast) {
119
var _context;
120
121
combined = (0, _concat["default"])(_context = "[".concat(item.bmp, "]")).call(_context, item.astral ? '|' : '');
122
}
123
124
if (item.astral) {
125
combined += item.astral;
126
}
127
128
if (item.isBmpLast && item.bmp) {
129
var _context2;
130
131
combined += (0, _concat["default"])(_context2 = "".concat(item.astral ? '|' : '', "[")).call(_context2, item.bmp, "]");
132
} // Astral Unicode tokens always match a code point, never a code unit
133
134
135
return isNegated ? "(?:(?!".concat(combined, ")(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[\0-\uFFFF]))") : "(?:".concat(combined, ")");
136
} // Builds a complete astral pattern on first use
137
138
139
function cacheAstral(slug, isNegated) {
140
var prop = isNegated ? 'a!' : 'a=';
141
return unicode[slug][prop] || (unicode[slug][prop] = buildAstral(slug, isNegated));
142
} // ==--------------------------==
143
// Core functionality
144
// ==--------------------------==
145
146
/*
147
* Add astral mode (flag A) and Unicode token syntax: `\p{..}`, `\P{..}`, `\p{^..}`, `\pC`.
148
*/
149
150
151
XRegExp.addToken( // Use `*` instead of `+` to avoid capturing `^` as the token name in `\p{^}`
152
/\\([pP])(?:{(\^?)(?:(\w+)=)?([^}]*)}|([A-Za-z]))/, function (match, scope, flags) {
153
var ERR_DOUBLE_NEG = 'Invalid double negation ';
154
var ERR_UNKNOWN_NAME = 'Unknown Unicode token ';
155
var ERR_UNKNOWN_REF = 'Unicode token missing data ';
156
var ERR_ASTRAL_ONLY = 'Astral mode required for Unicode token ';
157
var ERR_ASTRAL_IN_CLASS = 'Astral mode does not support Unicode tokens within character classes';
158
159
var _match = (0, _slicedToArray2["default"])(match, 6),
160
fullToken = _match[0],
161
pPrefix = _match[1],
162
caretNegation = _match[2],
163
typePrefix = _match[3],
164
tokenName = _match[4],
165
tokenSingleCharName = _match[5]; // Negated via \P{..} or \p{^..}
166
167
168
var isNegated = pPrefix === 'P' || !!caretNegation; // Switch from BMP (0-FFFF) to astral (0-10FFFF) mode via flag A
169
170
var isAstralMode = (0, _indexOf["default"])(flags).call(flags, 'A') !== -1; // Token lookup name. Check `tokenSingleCharName` first to avoid passing `undefined`
171
// via `\p{}`
172
173
var slug = normalize(tokenSingleCharName || tokenName); // Token data object
174
175
var item = unicode[slug];
176
177
if (pPrefix === 'P' && caretNegation) {
178
throw new SyntaxError(ERR_DOUBLE_NEG + fullToken);
179
}
180
181
if (!unicode.hasOwnProperty(slug)) {
182
throw new SyntaxError(ERR_UNKNOWN_NAME + fullToken);
183
}
184
185
if (typePrefix) {
186
if (!(unicodeTypes[typePrefix] && unicodeTypes[typePrefix][slug])) {
187
throw new SyntaxError(ERR_UNKNOWN_NAME + fullToken);
188
}
189
} // Switch to the negated form of the referenced Unicode token
190
191
192
if (item.inverseOf) {
193
slug = normalize(item.inverseOf);
194
195
if (!unicode.hasOwnProperty(slug)) {
196
var _context3;
197
198
throw new ReferenceError((0, _concat["default"])(_context3 = "".concat(ERR_UNKNOWN_REF + fullToken, " -> ")).call(_context3, item.inverseOf));
199
}
200
201
item = unicode[slug];
202
isNegated = !isNegated;
203
}
204
205
if (!(item.bmp || isAstralMode)) {
206
throw new SyntaxError(ERR_ASTRAL_ONLY + fullToken);
207
}
208
209
if (isAstralMode) {
210
if (scope === 'class') {
211
throw new SyntaxError(ERR_ASTRAL_IN_CLASS);
212
}
213
214
return cacheAstral(slug, isNegated);
215
}
216
217
return scope === 'class' ? isNegated ? cacheInvertedBmp(slug) : item.bmp : "".concat((isNegated ? '[^' : '[') + item.bmp, "]");
218
}, {
219
scope: 'all',
220
optionalFlags: 'A',
221
leadChar: '\\'
222
});
223
/**
224
* Adds to the list of Unicode tokens that XRegExp regexes can match via `\p` or `\P`.
225
*
226
* @memberOf XRegExp
227
* @param {Array} data Objects with named character ranges. Each object may have properties
228
* `name`, `alias`, `isBmpLast`, `inverseOf`, `bmp`, and `astral`. All but `name` are
229
* optional, although one of `bmp` or `astral` is required (unless `inverseOf` is set). If
230
* `astral` is absent, the `bmp` data is used for BMP and astral modes. If `bmp` is absent,
231
* the name errors in BMP mode but works in astral mode. If both `bmp` and `astral` are
232
* provided, the `bmp` data only is used in BMP mode, and the combination of `bmp` and
233
* `astral` data is used in astral mode. `isBmpLast` is needed when a token matches orphan
234
* high surrogates *and* uses surrogate pairs to match astral code points. The `bmp` and
235
* `astral` data should be a combination of literal characters and `\xHH` or `\uHHHH` escape
236
* sequences, with hyphens to create ranges. Any regex metacharacters in the data should be
237
* escaped, apart from range-creating hyphens. The `astral` data can additionally use
238
* character classes and alternation, and should use surrogate pairs to represent astral code
239
* points. `inverseOf` can be used to avoid duplicating character data if a Unicode token is
240
* defined as the exact inverse of another token.
241
* @param {String} [typePrefix] Enables optionally using this type as a prefix for all of the
242
* provided Unicode tokens, e.g. if given `'Type'`, then `\p{TokenName}` can also be written
243
* as `\p{Type=TokenName}`.
244
* @example
245
*
246
* // Basic use
247
* XRegExp.addUnicodeData([{
248
* name: 'XDigit',
249
* alias: 'Hexadecimal',
250
* bmp: '0-9A-Fa-f'
251
* }]);
252
* XRegExp('\\p{XDigit}:\\p{Hexadecimal}+').test('0:3D'); // -> true
253
*/
254
255
XRegExp.addUnicodeData = function (data, typePrefix) {
256
var ERR_NO_NAME = 'Unicode token requires name';
257
var ERR_NO_DATA = 'Unicode token has no character data ';
258
259
if (typePrefix) {
260
// Case sensitive to match ES2018
261
unicodeTypes[typePrefix] = {};
262
}
263
264
var _iterator = _createForOfIteratorHelper(data),
265
_step;
266
267
try {
268
for (_iterator.s(); !(_step = _iterator.n()).done;) {
269
var item = _step.value;
270
271
if (!item.name) {
272
throw new Error(ERR_NO_NAME);
273
}
274
275
if (!(item.inverseOf || item.bmp || item.astral)) {
276
throw new Error(ERR_NO_DATA + item.name);
277
}
278
279
var normalizedName = normalize(item.name);
280
unicode[normalizedName] = item;
281
282
if (typePrefix) {
283
unicodeTypes[typePrefix][normalizedName] = true;
284
}
285
286
if (item.alias) {
287
var normalizedAlias = normalize(item.alias);
288
unicode[normalizedAlias] = item;
289
290
if (typePrefix) {
291
unicodeTypes[typePrefix][normalizedAlias] = true;
292
}
293
}
294
} // Reset the pattern cache used by the `XRegExp` constructor, since the same pattern and
295
// flags might now produce different results
296
297
} catch (err) {
298
_iterator.e(err);
299
} finally {
300
_iterator.f();
301
}
302
303
XRegExp.cache.flush('patterns');
304
};
305
/**
306
* @ignore
307
*
308
* Return a reference to the internal Unicode definition structure for the given Unicode
309
* Property if the given name is a legal Unicode Property for use in XRegExp `\p` or `\P` regex
310
* constructs.
311
*
312
* @memberOf XRegExp
313
* @param {String} name Name by which the Unicode Property may be recognized (case-insensitive),
314
* e.g. `'N'` or `'Number'`. The given name is matched against all registered Unicode
315
* Properties and Property Aliases.
316
* @returns {Object} Reference to definition structure when the name matches a Unicode Property.
317
*
318
* @note
319
* For more info on Unicode Properties, see also http://unicode.org/reports/tr18/#Categories.
320
*
321
* @note
322
* This method is *not* part of the officially documented API and may change or be removed in
323
* the future. It is meant for userland code that wishes to reuse the (large) internal Unicode
324
* structures set up by XRegExp.
325
*/
326
327
328
XRegExp._getUnicodeProperty = function (name) {
329
var slug = normalize(name);
330
return unicode[slug];
331
};
332
};
333
334
exports["default"] = _default;
335
module.exports = exports.default;
336
},{"@babel/runtime-corejs3/core-js-stable/array/from":5,"@babel/runtime-corejs3/core-js-stable/array/is-array":6,"@babel/runtime-corejs3/core-js-stable/instance/concat":7,"@babel/runtime-corejs3/core-js-stable/instance/for-each":9,"@babel/runtime-corejs3/core-js-stable/instance/index-of":10,"@babel/runtime-corejs3/core-js-stable/instance/slice":11,"@babel/runtime-corejs3/core-js-stable/object/define-property":14,"@babel/runtime-corejs3/core-js-stable/symbol":16,"@babel/runtime-corejs3/core-js/get-iterator-method":19,"@babel/runtime-corejs3/helpers/interopRequireDefault":24,"@babel/runtime-corejs3/helpers/slicedToArray":27}],2:[function(require,module,exports){
337
"use strict";
338
339
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
340
341
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
342
343
_Object$defineProperty(exports, "__esModule", {
344
value: true
345
});
346
347
exports["default"] = void 0;
348
349
var _categories = _interopRequireDefault(require("../../tools/output/categories"));
350
351
/*!
352
* XRegExp Unicode Categories 5.1.1
353
* <xregexp.com>
354
* Steven Levithan (c) 2010-present MIT License
355
* Unicode data by Mathias Bynens <mathiasbynens.be>
356
*/
357
var _default = function _default(XRegExp) {
358
/**
359
* Adds support for Unicode's general categories. E.g., `\p{Lu}` or `\p{Uppercase Letter}`. See
360
* category descriptions in UAX #44 <http://unicode.org/reports/tr44/#GC_Values_Table>. Token
361
* names are case insensitive, and any spaces, hyphens, and underscores are ignored.
362
*
363
* Uses Unicode 14.0.0.
364
*
365
* @requires XRegExp, Unicode Base
366
*/
367
if (!XRegExp.addUnicodeData) {
368
throw new ReferenceError('Unicode Base must be loaded before Unicode Categories');
369
}
370
371
XRegExp.addUnicodeData(_categories["default"]);
372
};
373
374
exports["default"] = _default;
375
module.exports = exports.default;
376
},{"../../tools/output/categories":222,"@babel/runtime-corejs3/core-js-stable/object/define-property":14,"@babel/runtime-corejs3/helpers/interopRequireDefault":24}],3:[function(require,module,exports){
377
"use strict";
378
379
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
380
381
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
382
383
_Object$defineProperty(exports, "__esModule", {
384
value: true
385
});
386
387
exports["default"] = void 0;
388
389
var _xregexp = _interopRequireDefault(require("./xregexp"));
390
391
var _unicodeBase = _interopRequireDefault(require("./addons/unicode-base"));
392
393
var _unicodeCategories = _interopRequireDefault(require("./addons/unicode-categories"));
394
395
(0, _unicodeBase["default"])(_xregexp["default"]);
396
(0, _unicodeCategories["default"])(_xregexp["default"]);
397
var _default = _xregexp["default"];
398
exports["default"] = _default;
399
module.exports = exports.default;
400
},{"./addons/unicode-base":1,"./addons/unicode-categories":2,"./xregexp":4,"@babel/runtime-corejs3/core-js-stable/object/define-property":14,"@babel/runtime-corejs3/helpers/interopRequireDefault":24}],4:[function(require,module,exports){
401
"use strict";
402
403
var _sliceInstanceProperty2 = require("@babel/runtime-corejs3/core-js-stable/instance/slice");
404
405
var _Array$from = require("@babel/runtime-corejs3/core-js-stable/array/from");
406
407
var _Symbol = require("@babel/runtime-corejs3/core-js-stable/symbol");
408
409
var _getIteratorMethod = require("@babel/runtime-corejs3/core-js/get-iterator-method");
410
411
var _Array$isArray = require("@babel/runtime-corejs3/core-js-stable/array/is-array");
412
413
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
414
415
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
416
417
_Object$defineProperty(exports, "__esModule", {
418
value: true
419
});
420
421
exports["default"] = void 0;
422
423
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/slicedToArray"));
424
425
var _flags = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/flags"));
426
427
var _sort = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/sort"));
428
429
var _slice = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/slice"));
430
431
var _parseInt2 = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/parse-int"));
432
433
var _indexOf = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/index-of"));
434
435
var _forEach = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/for-each"));
436
437
var _create = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/object/create"));
438
439
var _concat = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/concat"));
440
441
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof _Symbol !== "undefined" && _getIteratorMethod(o) || o["@@iterator"]; if (!it) { if (_Array$isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
442
443
function _unsupportedIterableToArray(o, minLen) { var _context9; if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = _sliceInstanceProperty2(_context9 = Object.prototype.toString.call(o)).call(_context9, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return _Array$from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
444
445
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
446
447
/*!
448
* XRegExp 5.1.1
449
* <xregexp.com>
450
* Steven Levithan (c) 2007-present MIT License
451
*/
452
453
/**
454
* XRegExp provides augmented, extensible regular expressions. You get additional regex syntax and
455
* flags, beyond what browsers support natively. XRegExp is also a regex utility belt with tools to
456
* make your client-side grepping simpler and more powerful, while freeing you from related
457
* cross-browser inconsistencies.
458
*/
459
// ==--------------------------==
460
// Private stuff
461
// ==--------------------------==
462
// Property name used for extended regex instance data
463
var REGEX_DATA = 'xregexp'; // Optional features that can be installed and uninstalled
464
465
var features = {
466
astral: false,
467
namespacing: true
468
}; // Storage for fixed/extended native methods
469
470
var fixed = {}; // Storage for regexes cached by `XRegExp.cache`
471
472
var regexCache = {}; // Storage for pattern details cached by the `XRegExp` constructor
473
474
var patternCache = {}; // Storage for regex syntax tokens added internally or by `XRegExp.addToken`
475
476
var tokens = []; // Token scopes
477
478
var defaultScope = 'default';
479
var classScope = 'class'; // Regexes that match native regex syntax, including octals
480
481
var nativeTokens = {
482
// Any native multicharacter token in default scope, or any single character
483
'default': /\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|\(\?(?:[:=!]|<[=!])|[?*+]\?|{\d+(?:,\d*)?}\??|[\s\S]/,
484
// Any native multicharacter token in character class scope, or any single character
485
'class': /\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|[\s\S]/
486
}; // Any backreference or dollar-prefixed character in replacement strings
487
488
var replacementToken = /\$(?:\{([^\}]+)\}|<([^>]+)>|(\d\d?|[\s\S]?))/g; // Check for correct `exec` handling of nonparticipating capturing groups
489
490
var correctExecNpcg = /()??/.exec('')[1] === undefined; // Check for ES6 `flags` prop support
491
492
var hasFlagsProp = (0, _flags["default"])(/x/) !== undefined;
493
494
function hasNativeFlag(flag) {
495
// Can't check based on the presence of properties/getters since browsers might support such
496
// properties even when they don't support the corresponding flag in regex construction (tested
497
// in Chrome 48, where `'unicode' in /x/` is true but trying to construct a regex with flag `u`
498
// throws an error)
499
var isSupported = true;
500
501
try {
502
// Can't use regex literals for testing even in a `try` because regex literals with
503
// unsupported flags cause a compilation error in IE
504
new RegExp('', flag); // Work around a broken/incomplete IE11 polyfill for sticky introduced in core-js 3.6.0
505
506
if (flag === 'y') {
507
// Using function to avoid babel transform to regex literal
508
var gy = function () {
509
return 'gy';
510
}();
511
512
var incompleteY = '.a'.replace(new RegExp('a', gy), '.') === '..';
513
514
if (incompleteY) {
515
isSupported = false;
516
}
517
}
518
} catch (exception) {
519
isSupported = false;
520
}
521
522
return isSupported;
523
} // Check for ES2021 `d` flag support
524
525
526
var hasNativeD = hasNativeFlag('d'); // Check for ES2018 `s` flag support
527
528
var hasNativeS = hasNativeFlag('s'); // Check for ES6 `u` flag support
529
530
var hasNativeU = hasNativeFlag('u'); // Check for ES6 `y` flag support
531
532
var hasNativeY = hasNativeFlag('y'); // Tracker for known flags, including addon flags
533
534
var registeredFlags = {
535
d: hasNativeD,
536
g: true,
537
i: true,
538
m: true,
539
s: hasNativeS,
540
u: hasNativeU,
541
y: hasNativeY
542
}; // Flags to remove when passing to native `RegExp` constructor
543
544
var nonnativeFlags = hasNativeS ? /[^dgimsuy]+/g : /[^dgimuy]+/g;
545
/**
546
* Attaches extended data and `XRegExp.prototype` properties to a regex object.
547
*
548
* @private
549
* @param {RegExp} regex Regex to augment.
550
* @param {Array} captureNames Array with capture names, or `null`.
551
* @param {String} xSource XRegExp pattern used to generate `regex`, or `null` if N/A.
552
* @param {String} xFlags XRegExp flags used to generate `regex`, or `null` if N/A.
553
* @param {Boolean} [isInternalOnly=false] Whether the regex will be used only for internal
554
* operations, and never exposed to users. For internal-only regexes, we can improve perf by
555
* skipping some operations like attaching `XRegExp.prototype` properties.
556
* @returns {!RegExp} Augmented regex.
557
*/
558
559
function augment(regex, captureNames, xSource, xFlags, isInternalOnly) {
560
var _context;
561
562
regex[REGEX_DATA] = {
563
captureNames: captureNames
564
};
565
566
if (isInternalOnly) {
567
return regex;
568
} // Can't auto-inherit these since the XRegExp constructor returns a nonprimitive value
569
570
571
if (regex.__proto__) {
572
regex.__proto__ = XRegExp.prototype;
573
} else {
574
for (var p in XRegExp.prototype) {
575
// An `XRegExp.prototype.hasOwnProperty(p)` check wouldn't be worth it here, since this
576
// is performance sensitive, and enumerable `Object.prototype` or `RegExp.prototype`
577
// extensions exist on `regex.prototype` anyway
578
regex[p] = XRegExp.prototype[p];
579
}
580
}
581
582
regex[REGEX_DATA].source = xSource; // Emulate the ES6 `flags` prop by ensuring flags are in alphabetical order
583
584
regex[REGEX_DATA].flags = xFlags ? (0, _sort["default"])(_context = xFlags.split('')).call(_context).join('') : xFlags;
585
return regex;
586
}
587
/**
588
* Removes any duplicate characters from the provided string.
589
*
590
* @private
591
* @param {String} str String to remove duplicate characters from.
592
* @returns {string} String with any duplicate characters removed.
593
*/
594
595
596
function clipDuplicates(str) {
597
return str.replace(/([\s\S])(?=[\s\S]*\1)/g, '');
598
}
599
/**
600
* Copies a regex object while preserving extended data and augmenting with `XRegExp.prototype`
601
* properties. The copy has a fresh `lastIndex` property (set to zero). Allows adding and removing
602
* flags g and y while copying the regex.
603
*
604
* @private
605
* @param {RegExp} regex Regex to copy.
606
* @param {Object} [options] Options object with optional properties:
607
* - `addG` {Boolean} Add flag g while copying the regex.
608
* - `addY` {Boolean} Add flag y while copying the regex.
609
* - `removeG` {Boolean} Remove flag g while copying the regex.
610
* - `removeY` {Boolean} Remove flag y while copying the regex.
611
* - `isInternalOnly` {Boolean} Whether the copied regex will be used only for internal
612
* operations, and never exposed to users. For internal-only regexes, we can improve perf by
613
* skipping some operations like attaching `XRegExp.prototype` properties.
614
* - `source` {String} Overrides `<regex>.source`, for special cases.
615
* @returns {RegExp} Copy of the provided regex, possibly with modified flags.
616
*/
617
618
619
function copyRegex(regex, options) {
620
var _context2;
621
622
if (!XRegExp.isRegExp(regex)) {
623
throw new TypeError('Type RegExp expected');
624
}
625
626
var xData = regex[REGEX_DATA] || {};
627
var flags = getNativeFlags(regex);
628
var flagsToAdd = '';
629
var flagsToRemove = '';
630
var xregexpSource = null;
631
var xregexpFlags = null;
632
options = options || {};
633
634
if (options.removeG) {
635
flagsToRemove += 'g';
636
}
637
638
if (options.removeY) {
639
flagsToRemove += 'y';
640
}
641
642
if (flagsToRemove) {
643
flags = flags.replace(new RegExp("[".concat(flagsToRemove, "]+"), 'g'), '');
644
}
645
646
if (options.addG) {
647
flagsToAdd += 'g';
648
}
649
650
if (options.addY) {
651
flagsToAdd += 'y';
652
}
653
654
if (flagsToAdd) {
655
flags = clipDuplicates(flags + flagsToAdd);
656
}
657
658
if (!options.isInternalOnly) {
659
if (xData.source !== undefined) {
660
xregexpSource = xData.source;
661
} // null or undefined; don't want to add to `flags` if the previous value was null, since
662
// that indicates we're not tracking original precompilation flags
663
664
665
if ((0, _flags["default"])(xData) != null) {
666
// Flags are only added for non-internal regexes by `XRegExp.globalize`. Flags are never
667
// removed for non-internal regexes, so don't need to handle it
668
xregexpFlags = flagsToAdd ? clipDuplicates((0, _flags["default"])(xData) + flagsToAdd) : (0, _flags["default"])(xData);
669
}
670
} // Augment with `XRegExp.prototype` properties, but use the native `RegExp` constructor to avoid
671
// searching for special tokens. That would be wrong for regexes constructed by `RegExp`, and
672
// unnecessary for regexes constructed by `XRegExp` because the regex has already undergone the
673
// translation to native regex syntax
674
675
676
regex = augment(new RegExp(options.source || regex.source, flags), hasNamedCapture(regex) ? (0, _slice["default"])(_context2 = xData.captureNames).call(_context2, 0) : null, xregexpSource, xregexpFlags, options.isInternalOnly);
677
return regex;
678
}
679
/**
680
* Converts hexadecimal to decimal.
681
*
682
* @private
683
* @param {String} hex
684
* @returns {number}
685
*/
686
687
688
function dec(hex) {
689
return (0, _parseInt2["default"])(hex, 16);
690
}
691
/**
692
* Returns a pattern that can be used in a native RegExp in place of an ignorable token such as an
693
* inline comment or whitespace with flag x. This is used directly as a token handler function
694
* passed to `XRegExp.addToken`.
695
*
696
* @private
697
* @param {String} match Match arg of `XRegExp.addToken` handler
698
* @param {String} scope Scope arg of `XRegExp.addToken` handler
699
* @param {String} flags Flags arg of `XRegExp.addToken` handler
700
* @returns {string} Either '' or '(?:)', depending on which is needed in the context of the match.
701
*/
702
703
704
function getContextualTokenSeparator(match, scope, flags) {
705
var matchEndPos = match.index + match[0].length;
706
var precedingChar = match.input[match.index - 1];
707
var followingChar = match.input[matchEndPos];
708
709
if ( // No need to separate tokens if at the beginning or end of a group, before or after a
710
// group, or before or after a `|`
711
/^[()|]$/.test(precedingChar) || /^[()|]$/.test(followingChar) || // No need to separate tokens if at the beginning or end of the pattern
712
match.index === 0 || matchEndPos === match.input.length || // No need to separate tokens if at the beginning of a noncapturing group or lookaround.
713
// Looks only at the last 4 chars (at most) for perf when constructing long regexes.
714
/\(\?(?:[:=!]|<[=!])$/.test(match.input.substring(match.index - 4, match.index)) || // Avoid separating tokens when the following token is a quantifier
715
isQuantifierNext(match.input, matchEndPos, flags)) {
716
return '';
717
} // Keep tokens separated. This avoids e.g. inadvertedly changing `\1 1` or `\1(?#)1` to `\11`.
718
// This also ensures all tokens remain as discrete atoms, e.g. it prevents converting the
719
// syntax error `(? :` into `(?:`.
720
721
722
return '(?:)';
723
}
724
/**
725
* Returns native `RegExp` flags used by a regex object.
726
*
727
* @private
728
* @param {RegExp} regex Regex to check.
729
* @returns {string} Native flags in use.
730
*/
731
732
733
function getNativeFlags(regex) {
734
return hasFlagsProp ? (0, _flags["default"])(regex) : // Explicitly using `RegExp.prototype.toString` (rather than e.g. `String` or concatenation
735
// with an empty string) allows this to continue working predictably when
736
// `XRegExp.proptotype.toString` is overridden
737
/\/([a-z]*)$/i.exec(RegExp.prototype.toString.call(regex))[1];
738
}
739
/**
740
* Determines whether a regex has extended instance data used to track capture names.
741
*
742
* @private
743
* @param {RegExp} regex Regex to check.
744
* @returns {boolean} Whether the regex uses named capture.
745
*/
746
747
748
function hasNamedCapture(regex) {
749
return !!(regex[REGEX_DATA] && regex[REGEX_DATA].captureNames);
750
}
751
/**
752
* Converts decimal to hexadecimal.
753
*
754
* @private
755
* @param {Number|String} dec
756
* @returns {string}
757
*/
758
759
760
function hex(dec) {
761
return (0, _parseInt2["default"])(dec, 10).toString(16);
762
}
763
/**
764
* Checks whether the next nonignorable token after the specified position is a quantifier.
765
*
766
* @private
767
* @param {String} pattern Pattern to search within.
768
* @param {Number} pos Index in `pattern` to search at.
769
* @param {String} flags Flags used by the pattern.
770
* @returns {Boolean} Whether the next nonignorable token is a quantifier.
771
*/
772
773
774
function isQuantifierNext(pattern, pos, flags) {
775
var inlineCommentPattern = '\\(\\?#[^)]*\\)';
776
var lineCommentPattern = '#[^#\\n]*';
777
var quantifierPattern = '[?*+]|{\\d+(?:,\\d*)?}';
778
var regex = (0, _indexOf["default"])(flags).call(flags, 'x') !== -1 ? // Ignore any leading whitespace, line comments, and inline comments
779
/^(?:\s|#[^#\n]*|\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/ : // Ignore any leading inline comments
780
/^(?:\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/;
781
return regex.test((0, _slice["default"])(pattern).call(pattern, pos));
782
}
783
/**
784
* Determines whether a value is of the specified type, by resolving its internal [[Class]].
785
*
786
* @private
787
* @param {*} value Object to check.
788
* @param {String} type Type to check for, in TitleCase.
789
* @returns {boolean} Whether the object matches the type.
790
*/
791
792
793
function isType(value, type) {
794
return Object.prototype.toString.call(value) === "[object ".concat(type, "]");
795
}
796
/**
797
* Returns the object, or throws an error if it is `null` or `undefined`. This is used to follow
798
* the ES5 abstract operation `ToObject`.
799
*
800
* @private
801
* @param {*} value Object to check and return.
802
* @returns {*} The provided object.
803
*/
804
805
806
function nullThrows(value) {
807
// null or undefined
808
if (value == null) {
809
throw new TypeError('Cannot convert null or undefined to object');
810
}
811
812
return value;
813
}
814
/**
815
* Adds leading zeros if shorter than four characters. Used for fixed-length hexadecimal values.
816
*
817
* @private
818
* @param {String} str
819
* @returns {string}
820
*/
821
822
823
function pad4(str) {
824
while (str.length < 4) {
825
str = "0".concat(str);
826
}
827
828
return str;
829
}
830
/**
831
* Checks for flag-related errors, and strips/applies flags in a leading mode modifier. Offloads
832
* the flag preparation logic from the `XRegExp` constructor.
833
*
834
* @private
835
* @param {String} pattern Regex pattern, possibly with a leading mode modifier.
836
* @param {String} flags Any combination of flags.
837
* @returns {!Object} Object with properties `pattern` and `flags`.
838
*/
839
840
841
function prepareFlags(pattern, flags) {
842
// Recent browsers throw on duplicate flags, so copy this behavior for nonnative flags
843
if (clipDuplicates(flags) !== flags) {
844
throw new SyntaxError("Invalid duplicate regex flag ".concat(flags));
845
} // Strip and apply a leading mode modifier with any combination of flags except `dgy`
846
847
848
pattern = pattern.replace(/^\(\?([\w$]+)\)/, function ($0, $1) {
849
if (/[dgy]/.test($1)) {
850
throw new SyntaxError("Cannot use flags dgy in mode modifier ".concat($0));
851
} // Allow duplicate flags within the mode modifier
852
853
854
flags = clipDuplicates(flags + $1);
855
return '';
856
}); // Throw on unknown native or nonnative flags
857
858
var _iterator = _createForOfIteratorHelper(flags),
859
_step;
860
861
try {
862
for (_iterator.s(); !(_step = _iterator.n()).done;) {
863
var flag = _step.value;
864
865
if (!registeredFlags[flag]) {
866
throw new SyntaxError("Unknown regex flag ".concat(flag));
867
}
868
}
869
} catch (err) {
870
_iterator.e(err);
871
} finally {
872
_iterator.f();
873
}
874
875
return {
876
pattern: pattern,
877
flags: flags
878
};
879
}
880
/**
881
* Prepares an options object from the given value.
882
*
883
* @private
884
* @param {String|Object} value Value to convert to an options object.
885
* @returns {Object} Options object.
886
*/
887
888
889
function prepareOptions(value) {
890
var options = {};
891
892
if (isType(value, 'String')) {
893
(0, _forEach["default"])(XRegExp).call(XRegExp, value, /[^\s,]+/, function (match) {
894
options[match] = true;
895
});
896
return options;
897
}
898
899
return value;
900
}
901
/**
902
* Registers a flag so it doesn't throw an 'unknown flag' error.
903
*
904
* @private
905
* @param {String} flag Single-character flag to register.
906
*/
907
908
909
function registerFlag(flag) {
910
if (!/^[\w$]$/.test(flag)) {
911
throw new Error('Flag must be a single character A-Za-z0-9_$');
912
}
913
914
registeredFlags[flag] = true;
915
}
916
/**
917
* Runs built-in and custom regex syntax tokens in reverse insertion order at the specified
918
* position, until a match is found.
919
*
920
* @private
921
* @param {String} pattern Original pattern from which an XRegExp object is being built.
922
* @param {String} flags Flags being used to construct the regex.
923
* @param {Number} pos Position to search for tokens within `pattern`.
924
* @param {Number} scope Regex scope to apply: 'default' or 'class'.
925
* @param {Object} context Context object to use for token handler functions.
926
* @returns {Object} Object with properties `matchLength`, `output`, and `reparse`; or `null`.
927
*/
928
929
930
function runTokens(pattern, flags, pos, scope, context) {
931
var i = tokens.length;
932
var leadChar = pattern[pos];
933
var result = null;
934
var match;
935
var t; // Run in reverse insertion order
936
937
while (i--) {
938
t = tokens[i];
939
940
if (t.leadChar && t.leadChar !== leadChar || t.scope !== scope && t.scope !== 'all' || t.flag && !((0, _indexOf["default"])(flags).call(flags, t.flag) !== -1)) {
941
continue;
942
}
943
944
match = XRegExp.exec(pattern, t.regex, pos, 'sticky');
945
946
if (match) {
947
result = {
948
matchLength: match[0].length,
949
output: t.handler.call(context, match, scope, flags),
950
reparse: t.reparse
951
}; // Finished with token tests
952
953
break;
954
}
955
}
956
957
return result;
958
}
959
/**
960
* Enables or disables implicit astral mode opt-in. When enabled, flag A is automatically added to
961
* all new regexes created by XRegExp. This causes an error to be thrown when creating regexes if
962
* the Unicode Base addon is not available, since flag A is registered by that addon.
963
*
964
* @private
965
* @param {Boolean} on `true` to enable; `false` to disable.
966
*/
967
968
969
function setAstral(on) {
970
features.astral = on;
971
}
972
/**
973
* Adds named capture groups to the `groups` property of match arrays. See here for details:
974
* https://github.com/tc39/proposal-regexp-named-groups
975
*
976
* @private
977
* @param {Boolean} on `true` to enable; `false` to disable.
978
*/
979
980
981
function setNamespacing(on) {
982
features.namespacing = on;
983
} // ==--------------------------==
984
// Constructor
985
// ==--------------------------==
986
987
/**
988
* Creates an extended regular expression object for matching text with a pattern. Differs from a
989
* native regular expression in that additional syntax and flags are supported. The returned object
990
* is in fact a native `RegExp` and works with all native methods.
991
*
992
* @class XRegExp
993
* @constructor
994
* @param {String|RegExp} pattern Regex pattern string, or an existing regex object to copy.
995
* @param {String} [flags] Any combination of flags.
996
* Native flags:
997
* - `d` - indices for capturing groups (ES2021)
998
* - `g` - global
999
* - `i` - ignore case
1000
* - `m` - multiline anchors
1001
* - `u` - unicode (ES6)
1002
* - `y` - sticky (Firefox 3+, ES6)
1003
* Additional XRegExp flags:
1004
* - `n` - named capture only
1005
* - `s` - dot matches all (aka singleline) - works even when not natively supported
1006
* - `x` - free-spacing and line comments (aka extended)
1007
* - `A` - 21-bit Unicode properties (aka astral) - requires the Unicode Base addon
1008
* Flags cannot be provided when constructing one `RegExp` from another.
1009
* @returns {RegExp} Extended regular expression object.
1010
* @example
1011
*
1012
* // With named capture and flag x
1013
* XRegExp(`(?<year> [0-9]{4} ) -? # year
1014
* (?<month> [0-9]{2} ) -? # month
1015
* (?<day> [0-9]{2} ) # day`, 'x');
1016
*
1017
* // Providing a regex object copies it. Native regexes are recompiled using native (not XRegExp)
1018
* // syntax. Copies maintain extended data, are augmented with `XRegExp.prototype` properties, and
1019
* // have fresh `lastIndex` properties (set to zero).
1020
* XRegExp(/regex/);
1021
*/
1022
1023
1024
function XRegExp(pattern, flags) {
1025
if (XRegExp.isRegExp(pattern)) {
1026
if (flags !== undefined) {
1027
throw new TypeError('Cannot supply flags when copying a RegExp');
1028
}
1029
1030
return copyRegex(pattern);
1031
} // Copy the argument behavior of `RegExp`
1032
1033
1034
pattern = pattern === undefined ? '' : String(pattern);
1035
flags = flags === undefined ? '' : String(flags);
1036
1037
if (XRegExp.isInstalled('astral') && !((0, _indexOf["default"])(flags).call(flags, 'A') !== -1)) {
1038
// This causes an error to be thrown if the Unicode Base addon is not available
1039
flags += 'A';
1040
}
1041
1042
if (!patternCache[pattern]) {
1043
patternCache[pattern] = {};
1044
}
1045
1046
if (!patternCache[pattern][flags]) {
1047
var context = {
1048
hasNamedCapture: false,
1049
captureNames: []
1050
};
1051
var scope = defaultScope;
1052
var output = '';
1053
var pos = 0;
1054
var result; // Check for flag-related errors, and strip/apply flags in a leading mode modifier
1055
1056
var applied = prepareFlags(pattern, flags);
1057
var appliedPattern = applied.pattern;
1058
var appliedFlags = (0, _flags["default"])(applied); // Use XRegExp's tokens to translate the pattern to a native regex pattern.
1059
// `appliedPattern.length` may change on each iteration if tokens use `reparse`
1060
1061
while (pos < appliedPattern.length) {
1062
do {
1063
// Check for custom tokens at the current position
1064
result = runTokens(appliedPattern, appliedFlags, pos, scope, context); // If the matched token used the `reparse` option, splice its output into the
1065
// pattern before running tokens again at the same position
1066
1067
if (result && result.reparse) {
1068
appliedPattern = (0, _slice["default"])(appliedPattern).call(appliedPattern, 0, pos) + result.output + (0, _slice["default"])(appliedPattern).call(appliedPattern, pos + result.matchLength);
1069
}
1070
} while (result && result.reparse);
1071
1072
if (result) {
1073
output += result.output;
1074
pos += result.matchLength || 1;
1075
} else {
1076
// Get the native token at the current position
1077
var _XRegExp$exec = XRegExp.exec(appliedPattern, nativeTokens[scope], pos, 'sticky'),
1078
_XRegExp$exec2 = (0, _slicedToArray2["default"])(_XRegExp$exec, 1),
1079
token = _XRegExp$exec2[0];
1080
1081
output += token;
1082
pos += token.length;
1083
1084
if (token === '[' && scope === defaultScope) {
1085
scope = classScope;
1086
} else if (token === ']' && scope === classScope) {
1087
scope = defaultScope;
1088
}
1089
}
1090
}
1091
1092
patternCache[pattern][flags] = {
1093
// Use basic cleanup to collapse repeated empty groups like `(?:)(?:)` to `(?:)`. Empty
1094
// groups are sometimes inserted during regex transpilation in order to keep tokens
1095
// separated. However, more than one empty group in a row is never needed.
1096
pattern: output.replace(/(?:\(\?:\))+/g, '(?:)'),
1097
// Strip all but native flags
1098
flags: appliedFlags.replace(nonnativeFlags, ''),
1099
// `context.captureNames` has an item for each capturing group, even if unnamed
1100
captures: context.hasNamedCapture ? context.captureNames : null
1101
};
1102
}
1103
1104
var generated = patternCache[pattern][flags];
1105
return augment(new RegExp(generated.pattern, (0, _flags["default"])(generated)), generated.captures, pattern, flags);
1106
} // Add `RegExp.prototype` to the prototype chain
1107
1108
1109
XRegExp.prototype = /(?:)/; // ==--------------------------==
1110
// Public properties
1111
// ==--------------------------==
1112
1113
/**
1114
* The XRegExp version number as a string containing three dot-separated parts. For example,
1115
* '2.0.0-beta-3'.
1116
*
1117
* @static
1118
* @memberOf XRegExp
1119
* @type String
1120
*/
1121
1122
XRegExp.version = '5.1.1'; // ==--------------------------==
1123
// Public methods
1124
// ==--------------------------==
1125
// Intentionally undocumented; used in tests and addons
1126
1127
XRegExp._clipDuplicates = clipDuplicates;
1128
XRegExp._hasNativeFlag = hasNativeFlag;
1129
XRegExp._dec = dec;
1130
XRegExp._hex = hex;
1131
XRegExp._pad4 = pad4;
1132
/**
1133
* Extends XRegExp syntax and allows custom flags. This is used internally and can be used to
1134
* create XRegExp addons. If more than one token can match the same string, the last added wins.
1135
*
1136
* @memberOf XRegExp
1137
* @param {RegExp} regex Regex object that matches the new token.
1138
* @param {Function} handler Function that returns a new pattern string (using native regex syntax)
1139
* to replace the matched token within all future XRegExp regexes. Has access to persistent
1140
* properties of the regex being built, through `this`. Invoked with three arguments:
1141
* - The match array, with named backreference properties.
1142
* - The regex scope where the match was found: 'default' or 'class'.
1143
* - The flags used by the regex, including any flags in a leading mode modifier.
1144
* The handler function becomes part of the XRegExp construction process, so be careful not to
1145
* construct XRegExps within the function or you will trigger infinite recursion.
1146
* @param {Object} [options] Options object with optional properties:
1147
* - `scope` {String} Scope where the token applies: 'default', 'class', or 'all'.
1148
* - `flag` {String} Single-character flag that triggers the token. This also registers the
1149
* flag, which prevents XRegExp from throwing an 'unknown flag' error when the flag is used.
1150
* - `optionalFlags` {String} Any custom flags checked for within the token `handler` that are
1151
* not required to trigger the token. This registers the flags, to prevent XRegExp from
1152
* throwing an 'unknown flag' error when any of the flags are used.
1153
* - `reparse` {Boolean} Whether the `handler` function's output should not be treated as
1154
* final, and instead be reparseable by other tokens (including the current token). Allows
1155
* token chaining or deferring.
1156
* - `leadChar` {String} Single character that occurs at the beginning of any successful match
1157
* of the token (not always applicable). This doesn't change the behavior of the token unless
1158
* you provide an erroneous value. However, providing it can increase the token's performance
1159
* since the token can be skipped at any positions where this character doesn't appear.
1160
* @example
1161
*
1162
* // Basic usage: Add \a for the ALERT control code
1163
* XRegExp.addToken(
1164
* /\\a/,
1165
* () => '\\x07',
1166
* {scope: 'all'}
1167
* );
1168
* XRegExp('\\a[\\a-\\n]+').test('\x07\n\x07'); // -> true
1169
*
1170
* // Add the U (ungreedy) flag from PCRE and RE2, which reverses greedy and lazy quantifiers.
1171
* // Since `scope` is not specified, it uses 'default' (i.e., transformations apply outside of
1172
* // character classes only)
1173
* XRegExp.addToken(
1174
* /([?*+]|{\d+(?:,\d*)?})(\??)/,
1175
* (match) => `${match[1]}${match[2] ? '' : '?'}`,
1176
* {flag: 'U'}
1177
* );
1178
* XRegExp('a+', 'U').exec('aaa')[0]; // -> 'a'
1179
* XRegExp('a+?', 'U').exec('aaa')[0]; // -> 'aaa'
1180
*/
1181
1182
XRegExp.addToken = function (regex, handler, options) {
1183
options = options || {};
1184
var _options = options,
1185
optionalFlags = _options.optionalFlags;
1186
1187
if (options.flag) {
1188
registerFlag(options.flag);
1189
}
1190
1191
if (optionalFlags) {
1192
optionalFlags = optionalFlags.split('');
1193
1194
var _iterator2 = _createForOfIteratorHelper(optionalFlags),
1195
_step2;
1196
1197
try {
1198
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
1199
var flag = _step2.value;
1200
registerFlag(flag);
1201
}
1202
} catch (err) {
1203
_iterator2.e(err);
1204
} finally {
1205
_iterator2.f();
1206
}
1207
} // Add to the private list of syntax tokens
1208
1209
1210
tokens.push({
1211
regex: copyRegex(regex, {
1212
addG: true,
1213
addY: hasNativeY,
1214
isInternalOnly: true
1215
}),
1216
handler: handler,
1217
scope: options.scope || defaultScope,
1218
flag: options.flag,
1219
reparse: options.reparse,
1220
leadChar: options.leadChar
1221
}); // Reset the pattern cache used by the `XRegExp` constructor, since the same pattern and flags
1222
// might now produce different results
1223
1224
XRegExp.cache.flush('patterns');
1225
};
1226
/**
1227
* Caches and returns the result of calling `XRegExp(pattern, flags)`. On any subsequent call with
1228
* the same pattern and flag combination, the cached copy of the regex is returned.
1229
*
1230
* @memberOf XRegExp
1231
* @param {String} pattern Regex pattern string.
1232
* @param {String} [flags] Any combination of XRegExp flags.
1233
* @returns {RegExp} Cached XRegExp object.
1234
* @example
1235
*
1236
* let match;
1237
* while (match = XRegExp.cache('.', 'gs').exec('abc')) {
1238
* // The regex is compiled once only
1239
* }
1240
*/
1241
1242
1243
XRegExp.cache = function (pattern, flags) {
1244
if (!regexCache[pattern]) {
1245
regexCache[pattern] = {};
1246
}
1247
1248
return regexCache[pattern][flags] || (regexCache[pattern][flags] = XRegExp(pattern, flags));
1249
}; // Intentionally undocumented; used in tests
1250
1251
1252
XRegExp.cache.flush = function (cacheName) {
1253
if (cacheName === 'patterns') {
1254
// Flush the pattern cache used by the `XRegExp` constructor
1255
patternCache = {};
1256
} else {
1257
// Flush the regex cache populated by `XRegExp.cache`
1258
regexCache = {};
1259
}
1260
};
1261
/**
1262
* Escapes any regular expression metacharacters, for use when matching literal strings. The result
1263
* can safely be used at any position within a regex that uses any flags.
1264
*
1265
* @memberOf XRegExp
1266
* @param {String} str String to escape.
1267
* @returns {string} String with regex metacharacters escaped.
1268
* @example
1269
*
1270
* XRegExp.escape('Escaped? <.>');
1271
* // -> 'Escaped\?\u0020<\.>'
1272
*/
1273
// Following are the contexts where each metacharacter needs to be escaped because it would
1274
// otherwise have a special meaning, change the meaning of surrounding characters, or cause an
1275
// error. Context 'default' means outside character classes only.
1276
// - `\` - context: all
1277
// - `[()*+?.$|` - context: default
1278
// - `]` - context: default with flag u or if forming the end of a character class
1279
// - `{}` - context: default with flag u or if part of a valid/complete quantifier pattern
1280
// - `,` - context: default if in a position that causes an unescaped `{` to turn into a quantifier.
1281
// Ex: `/^a{1\,2}$/` matches `'a{1,2}'`, but `/^a{1,2}$/` matches `'a'` or `'aa'`
1282
// - `#` and <whitespace> - context: default with flag x
1283
// - `^` - context: default, and context: class if it's the first character in the class
1284
// - `-` - context: class if part of a valid character class range
1285
1286
1287
XRegExp.escape = function (str) {
1288
return String(nullThrows(str)). // Escape most special chars with a backslash
1289
replace(/[\\\[\]{}()*+?.^$|]/g, '\\$&'). // Convert to \uNNNN for special chars that can't be escaped when used with ES6 flag `u`
1290
replace(/[\s#\-,]/g, function (match) {
1291
return "\\u".concat(pad4(hex(match.charCodeAt(0))));
1292
});
1293
};
1294
/**
1295
* Executes a regex search in a specified string. Returns a match array or `null`. If the provided
1296
* regex uses named capture, named capture properties are included on the match array's `groups`
1297
* property. Optional `pos` and `sticky` arguments specify the search start position, and whether
1298
* the match must start at the specified position only. The `lastIndex` property of the provided
1299
* regex is not used, but is updated for compatibility. Also fixes browser bugs compared to the
1300
* native `RegExp.prototype.exec` and can be used reliably cross-browser.
1301
*
1302
* @memberOf XRegExp
1303
* @param {String} str String to search.
1304
* @param {RegExp} regex Regex to search with.
1305
* @param {Number} [pos=0] Zero-based index at which to start the search.
1306
* @param {Boolean|String} [sticky=false] Whether the match must start at the specified position
1307
* only. The string `'sticky'` is accepted as an alternative to `true`.
1308
* @returns {Array} Match array with named capture properties on the `groups` object, or `null`. If
1309
* the `namespacing` feature is off, named capture properties are directly on the match array.
1310
* @example
1311
*
1312
* // Basic use, with named capturing group
1313
* let match = XRegExp.exec('U+2620', XRegExp('U\\+(?<hex>[0-9A-F]{4})'));
1314
* match.groups.hex; // -> '2620'
1315
*
1316
* // With pos and sticky, in a loop
1317
* let pos = 3, result = [], match;
1318
* while (match = XRegExp.exec('<1><2><3><4>5<6>', /<(\d)>/, pos, 'sticky')) {
1319
* result.push(match[1]);
1320
* pos = match.index + match[0].length;
1321
* }
1322
* // result -> ['2', '3', '4']
1323
*/
1324
1325
1326
XRegExp.exec = function (str, regex, pos, sticky) {
1327
var cacheKey = 'g';
1328
var addY = false;
1329
var fakeY = false;
1330
var match;
1331
addY = hasNativeY && !!(sticky || regex.sticky && sticky !== false);
1332
1333
if (addY) {
1334
cacheKey += 'y';
1335
} else if (sticky) {
1336
// Simulate sticky matching by appending an empty capture to the original regex. The
1337
// resulting regex will succeed no matter what at the current index (set with `lastIndex`),
1338
// and will not search the rest of the subject string. We'll know that the original regex
1339
// has failed if that last capture is `''` rather than `undefined` (i.e., if that last
1340
// capture participated in the match).
1341
fakeY = true;
1342
cacheKey += 'FakeY';
1343
}
1344
1345
regex[REGEX_DATA] = regex[REGEX_DATA] || {}; // Shares cached copies with `XRegExp.match`/`replace`
1346
1347
var r2 = regex[REGEX_DATA][cacheKey] || (regex[REGEX_DATA][cacheKey] = copyRegex(regex, {
1348
addG: true,
1349
addY: addY,
1350
source: fakeY ? "".concat(regex.source, "|()") : undefined,
1351
removeY: sticky === false,
1352
isInternalOnly: true
1353
}));
1354
pos = pos || 0;
1355
r2.lastIndex = pos; // Fixed `exec` required for `lastIndex` fix, named backreferences, etc.
1356
1357
match = fixed.exec.call(r2, str); // Get rid of the capture added by the pseudo-sticky matcher if needed. An empty string means
1358
// the original regexp failed (see above).
1359
1360
if (fakeY && match && match.pop() === '') {
1361
match = null;
1362
}
1363
1364
if (regex.global) {
1365
regex.lastIndex = match ? r2.lastIndex : 0;
1366
}
1367
1368
return match;
1369
};
1370
/**
1371
* Executes a provided function once per regex match. Searches always start at the beginning of the
1372
* string and continue until the end, regardless of the state of the regex's `global` property and
1373
* initial `lastIndex`.
1374
*
1375
* @memberOf XRegExp
1376
* @param {String} str String to search.
1377
* @param {RegExp} regex Regex to search with.
1378
* @param {Function} callback Function to execute for each match. Invoked with four arguments:
1379
* - The match array, with named backreference properties.
1380
* - The zero-based match index.
1381
* - The string being traversed.
1382
* - The regex object being used to traverse the string.
1383
* @example
1384
*
1385
* // Extracts every other digit from a string
1386
* const evens = [];
1387
* XRegExp.forEach('1a2345', /\d/, (match, i) => {
1388
* if (i % 2) evens.push(+match[0]);
1389
* });
1390
* // evens -> [2, 4]
1391
*/
1392
1393
1394
XRegExp.forEach = function (str, regex, callback) {
1395
var pos = 0;
1396
var i = -1;
1397
var match;
1398
1399
while (match = XRegExp.exec(str, regex, pos)) {
1400
// Because `regex` is provided to `callback`, the function could use the deprecated/
1401
// nonstandard `RegExp.prototype.compile` to mutate the regex. However, since `XRegExp.exec`
1402
// doesn't use `lastIndex` to set the search position, this can't lead to an infinite loop,
1403
// at least. Actually, because of the way `XRegExp.exec` caches globalized versions of
1404
// regexes, mutating the regex will not have any effect on the iteration or matched strings,
1405
// which is a nice side effect that brings extra safety.
1406
callback(match, ++i, str, regex);
1407
pos = match.index + (match[0].length || 1);
1408
}
1409
};
1410
/**
1411
* Copies a regex object and adds flag `g`. The copy maintains extended data, is augmented with
1412
* `XRegExp.prototype` properties, and has a fresh `lastIndex` property (set to zero). Native
1413
* regexes are not recompiled using XRegExp syntax.
1414
*
1415
* @memberOf XRegExp
1416
* @param {RegExp} regex Regex to globalize.
1417
* @returns {RegExp} Copy of the provided regex with flag `g` added.
1418
* @example
1419
*
1420
* const globalCopy = XRegExp.globalize(/regex/);
1421
* globalCopy.global; // -> true
1422
*/
1423
1424
1425
XRegExp.globalize = function (regex) {
1426
return copyRegex(regex, {
1427
addG: true
1428
});
1429
};
1430
/**
1431
* Installs optional features according to the specified options. Can be undone using
1432
* `XRegExp.uninstall`.
1433
*
1434
* @memberOf XRegExp
1435
* @param {Object|String} options Options object or string.
1436
* @example
1437
*
1438
* // With an options object
1439
* XRegExp.install({
1440
* // Enables support for astral code points in Unicode addons (implicitly sets flag A)
1441
* astral: true,
1442
*
1443
* // Adds named capture groups to the `groups` property of matches
1444
* namespacing: true
1445
* });
1446
*
1447
* // With an options string
1448
* XRegExp.install('astral namespacing');
1449
*/
1450
1451
1452
XRegExp.install = function (options) {
1453
options = prepareOptions(options);
1454
1455
if (!features.astral && options.astral) {
1456
setAstral(true);
1457
}
1458
1459
if (!features.namespacing && options.namespacing) {
1460
setNamespacing(true);
1461
}
1462
};
1463
/**
1464
* Checks whether an individual optional feature is installed.
1465
*
1466
* @memberOf XRegExp
1467
* @param {String} feature Name of the feature to check. One of:
1468
* - `astral`
1469
* - `namespacing`
1470
* @returns {boolean} Whether the feature is installed.
1471
* @example
1472
*
1473
* XRegExp.isInstalled('astral');
1474
*/
1475
1476
1477
XRegExp.isInstalled = function (feature) {
1478
return !!features[feature];
1479
};
1480
/**
1481
* Returns `true` if an object is a regex; `false` if it isn't. This works correctly for regexes
1482
* created in another frame, when `instanceof` and `constructor` checks would fail.
1483
*
1484
* @memberOf XRegExp
1485
* @param {*} value Object to check.
1486
* @returns {boolean} Whether the object is a `RegExp` object.
1487
* @example
1488
*
1489
* XRegExp.isRegExp('string'); // -> false
1490
* XRegExp.isRegExp(/regex/i); // -> true
1491
* XRegExp.isRegExp(RegExp('^', 'm')); // -> true
1492
* XRegExp.isRegExp(XRegExp('(?s).')); // -> true
1493
*/
1494
1495
1496
XRegExp.isRegExp = function (value) {
1497
return Object.prototype.toString.call(value) === '[object RegExp]';
1498
}; // Same as `isType(value, 'RegExp')`, but avoiding that function call here for perf since
1499
// `isRegExp` is used heavily by internals including regex construction
1500
1501
/**
1502
* Returns the first matched string, or in global mode, an array containing all matched strings.
1503
* This is essentially a more convenient re-implementation of `String.prototype.match` that gives
1504
* the result types you actually want (string instead of `exec`-style array in match-first mode,
1505
* and an empty array instead of `null` when no matches are found in match-all mode). It also lets
1506
* you override flag g and ignore `lastIndex`, and fixes browser bugs.
1507
*
1508
* @memberOf XRegExp
1509
* @param {String} str String to search.
1510
* @param {RegExp} regex Regex to search with.
1511
* @param {String} [scope='one'] Use 'one' to return the first match as a string. Use 'all' to
1512
* return an array of all matched strings. If not explicitly specified and `regex` uses flag g,
1513
* `scope` is 'all'.
1514
* @returns {String|Array} In match-first mode: First match as a string, or `null`. In match-all
1515
* mode: Array of all matched strings, or an empty array.
1516
* @example
1517
*
1518
* // Match first
1519
* XRegExp.match('abc', /\w/); // -> 'a'
1520
* XRegExp.match('abc', /\w/g, 'one'); // -> 'a'
1521
* XRegExp.match('abc', /x/g, 'one'); // -> null
1522
*
1523
* // Match all
1524
* XRegExp.match('abc', /\w/g); // -> ['a', 'b', 'c']
1525
* XRegExp.match('abc', /\w/, 'all'); // -> ['a', 'b', 'c']
1526
* XRegExp.match('abc', /x/, 'all'); // -> []
1527
*/
1528
1529
1530
XRegExp.match = function (str, regex, scope) {
1531
var global = regex.global && scope !== 'one' || scope === 'all';
1532
var cacheKey = (global ? 'g' : '') + (regex.sticky ? 'y' : '') || 'noGY';
1533
regex[REGEX_DATA] = regex[REGEX_DATA] || {}; // Shares cached copies with `XRegExp.exec`/`replace`
1534
1535
var r2 = regex[REGEX_DATA][cacheKey] || (regex[REGEX_DATA][cacheKey] = copyRegex(regex, {
1536
addG: !!global,
1537
removeG: scope === 'one',
1538
isInternalOnly: true
1539
}));
1540
var result = String(nullThrows(str)).match(r2);
1541
1542
if (regex.global) {
1543
regex.lastIndex = scope === 'one' && result ? // Can't use `r2.lastIndex` since `r2` is nonglobal in this case
1544
result.index + result[0].length : 0;
1545
}
1546
1547
return global ? result || [] : result && result[0];
1548
};
1549
/**
1550
* Retrieves the matches from searching a string using a chain of regexes that successively search
1551
* within previous matches. The provided `chain` array can contain regexes and or objects with
1552
* `regex` and `backref` properties. When a backreference is specified, the named or numbered
1553
* backreference is passed forward to the next regex or returned.
1554
*
1555
* @memberOf XRegExp
1556
* @param {String} str String to search.
1557
* @param {Array} chain Regexes that each search for matches within preceding results.
1558
* @returns {Array} Matches by the last regex in the chain, or an empty array.
1559
* @example
1560
*
1561
* // Basic usage; matches numbers within <b> tags
1562
* XRegExp.matchChain('1 <b>2</b> 3 <b>4 a 56</b>', [
1563
* XRegExp('(?is)<b>.*?</b>'),
1564
* /\d+/
1565
* ]);
1566
* // -> ['2', '4', '56']
1567
*
1568
* // Passing forward and returning specific backreferences
1569
* const html = `<a href="http://xregexp.com/api/">XRegExp</a>
1570
* <a href="http://www.google.com/">Google</a>`;
1571
* XRegExp.matchChain(html, [
1572
* {regex: /<a href="([^"]+)">/i, backref: 1},
1573
* {regex: XRegExp('(?i)^https?://(?<domain>[^/?#]+)'), backref: 'domain'}
1574
* ]);
1575
* // -> ['xregexp.com', 'www.google.com']
1576
*/
1577
1578
1579
XRegExp.matchChain = function (str, chain) {
1580
return function recurseChain(values, level) {
1581
var item = chain[level].regex ? chain[level] : {
1582
regex: chain[level]
1583
};
1584
var matches = [];
1585
1586
function addMatch(match) {
1587
if (item.backref) {
1588
var ERR_UNDEFINED_GROUP = "Backreference to undefined group: ".concat(item.backref);
1589
var isNamedBackref = isNaN(item.backref);
1590
1591
if (isNamedBackref && XRegExp.isInstalled('namespacing')) {
1592
// `groups` has `null` as prototype, so using `in` instead of `hasOwnProperty`
1593
if (!(match.groups && item.backref in match.groups)) {
1594
throw new ReferenceError(ERR_UNDEFINED_GROUP);
1595
}
1596
} else if (!match.hasOwnProperty(item.backref)) {
1597
throw new ReferenceError(ERR_UNDEFINED_GROUP);
1598
}
1599
1600
var backrefValue = isNamedBackref && XRegExp.isInstalled('namespacing') ? match.groups[item.backref] : match[item.backref];
1601
matches.push(backrefValue || '');
1602
} else {
1603
matches.push(match[0]);
1604
}
1605
}
1606
1607
var _iterator3 = _createForOfIteratorHelper(values),
1608
_step3;
1609
1610
try {
1611
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
1612
var value = _step3.value;
1613
(0, _forEach["default"])(XRegExp).call(XRegExp, value, item.regex, addMatch);
1614
}
1615
} catch (err) {
1616
_iterator3.e(err);
1617
} finally {
1618
_iterator3.f();
1619
}
1620
1621
return level === chain.length - 1 || !matches.length ? matches : recurseChain(matches, level + 1);
1622
}([str], 0);
1623
};
1624
/**
1625
* Returns a new string with one or all matches of a pattern replaced. The pattern can be a string
1626
* or regex, and the replacement can be a string or a function to be called for each match. To
1627
* perform a global search and replace, use the optional `scope` argument or include flag g if using
1628
* a regex. Replacement strings can use `$<n>` or `${n}` for named and numbered backreferences.
1629
* Replacement functions can use named backreferences via the last argument. Also fixes browser bugs
1630
* compared to the native `String.prototype.replace` and can be used reliably cross-browser.
1631
*
1632
* @memberOf XRegExp
1633
* @param {String} str String to search.
1634
* @param {RegExp|String} search Search pattern to be replaced.
1635
* @param {String|Function} replacement Replacement string or a function invoked to create it.
1636
* Replacement strings can include special replacement syntax:
1637
* - $$ - Inserts a literal $ character.
1638
* - $&, $0 - Inserts the matched substring.
1639
* - $` - Inserts the string that precedes the matched substring (left context).
1640
* - $' - Inserts the string that follows the matched substring (right context).
1641
* - $n, $nn - Where n/nn are digits referencing an existing capturing group, inserts
1642
* backreference n/nn.
1643
* - $<n>, ${n} - Where n is a name or any number of digits that reference an existing capturing
1644
* group, inserts backreference n.
1645
* Replacement functions are invoked with three or more arguments:
1646
* - args[0] - The matched substring (corresponds to `$&` above). If the `namespacing` feature
1647
* is off, named backreferences are accessible as properties of this argument.
1648
* - args[1..n] - One argument for each backreference (corresponding to `$1`, `$2`, etc. above).
1649
* If the regex has no capturing groups, no arguments appear in this position.
1650
* - args[n+1] - The zero-based index of the match within the entire search string.
1651
* - args[n+2] - The total string being searched.
1652
* - args[n+3] - If the the search pattern is a regex with named capturing groups, the last
1653
* argument is the groups object. Its keys are the backreference names and its values are the
1654
* backreference values. If the `namespacing` feature is off, this argument is not present.
1655
* @param {String} [scope] Use 'one' to replace the first match only, or 'all'. Defaults to 'one'.
1656
* Defaults to 'all' if using a regex with flag g.
1657
* @returns {String} New string with one or all matches replaced.
1658
* @example
1659
*
1660
* // Regex search, using named backreferences in replacement string
1661
* const name = XRegExp('(?<first>\\w+) (?<last>\\w+)');
1662
* XRegExp.replace('John Smith', name, '$<last>, $<first>');
1663
* // -> 'Smith, John'
1664
*
1665
* // Regex search, using named backreferences in replacement function
1666
* XRegExp.replace('John Smith', name, (...args) => {
1667
* const groups = args[args.length - 1];
1668
* return `${groups.last}, ${groups.first}`;
1669
* });
1670
* // -> 'Smith, John'
1671
*
1672
* // String search, with replace-all
1673
* XRegExp.replace('RegExp builds RegExps', 'RegExp', 'XRegExp', 'all');
1674
* // -> 'XRegExp builds XRegExps'
1675
*/
1676
1677
1678
XRegExp.replace = function (str, search, replacement, scope) {
1679
var isRegex = XRegExp.isRegExp(search);
1680
var global = search.global && scope !== 'one' || scope === 'all';
1681
var cacheKey = (global ? 'g' : '') + (search.sticky ? 'y' : '') || 'noGY';
1682
var s2 = search;
1683
1684
if (isRegex) {
1685
search[REGEX_DATA] = search[REGEX_DATA] || {}; // Shares cached copies with `XRegExp.exec`/`match`. Since a copy is used, `search`'s
1686
// `lastIndex` isn't updated *during* replacement iterations
1687
1688
s2 = search[REGEX_DATA][cacheKey] || (search[REGEX_DATA][cacheKey] = copyRegex(search, {
1689
addG: !!global,
1690
removeG: scope === 'one',
1691
isInternalOnly: true
1692
}));
1693
} else if (global) {
1694
s2 = new RegExp(XRegExp.escape(String(search)), 'g');
1695
} // Fixed `replace` required for named backreferences, etc.
1696
1697
1698
var result = fixed.replace.call(nullThrows(str), s2, replacement);
1699
1700
if (isRegex && search.global) {
1701
// Fixes IE, Safari bug (last tested IE 9, Safari 5.1)
1702
search.lastIndex = 0;
1703
}
1704
1705
return result;
1706
};
1707
/**
1708
* Performs batch processing of string replacements. Used like `XRegExp.replace`, but accepts an
1709
* array of replacement details. Later replacements operate on the output of earlier replacements.
1710
* Replacement details are accepted as an array with a regex or string to search for, the
1711
* replacement string or function, and an optional scope of 'one' or 'all'. Uses the XRegExp
1712
* replacement text syntax, which supports named backreference properties via `$<name>` or
1713
* `${name}`.
1714
*
1715
* @memberOf XRegExp
1716
* @param {String} str String to search.
1717
* @param {Array} replacements Array of replacement detail arrays.
1718
* @returns {String} New string with all replacements.
1719
* @example
1720
*
1721
* str = XRegExp.replaceEach(str, [
1722
* [XRegExp('(?<name>a)'), 'z$<name>'],
1723
* [/b/gi, 'y'],
1724
* [/c/g, 'x', 'one'], // scope 'one' overrides /g
1725
* [/d/, 'w', 'all'], // scope 'all' overrides lack of /g
1726
* ['e', 'v', 'all'], // scope 'all' allows replace-all for strings
1727
* [/f/g, (match) => match.toUpperCase()]
1728
* ]);
1729
*/
1730
1731
1732
XRegExp.replaceEach = function (str, replacements) {
1733
var _iterator4 = _createForOfIteratorHelper(replacements),
1734
_step4;
1735
1736
try {
1737
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
1738
var r = _step4.value;
1739
str = XRegExp.replace(str, r[0], r[1], r[2]);
1740
}
1741
} catch (err) {
1742
_iterator4.e(err);
1743
} finally {
1744
_iterator4.f();
1745
}
1746
1747
return str;
1748
};
1749
/**
1750
* Splits a string into an array of strings using a regex or string separator. Matches of the
1751
* separator are not included in the result array. However, if `separator` is a regex that contains
1752
* capturing groups, backreferences are spliced into the result each time `separator` is matched.
1753
* Fixes browser bugs compared to the native `String.prototype.split` and can be used reliably
1754
* cross-browser.
1755
*
1756
* @memberOf XRegExp
1757
* @param {String} str String to split.
1758
* @param {RegExp|String} separator Regex or string to use for separating the string.
1759
* @param {Number} [limit] Maximum number of items to include in the result array.
1760
* @returns {Array} Array of substrings.
1761
* @example
1762
*
1763
* // Basic use
1764
* XRegExp.split('a b c', ' ');
1765
* // -> ['a', 'b', 'c']
1766
*
1767
* // With limit
1768
* XRegExp.split('a b c', ' ', 2);
1769
* // -> ['a', 'b']
1770
*
1771
* // Backreferences in result array
1772
* XRegExp.split('..word1..', /([a-z]+)(\d+)/i);
1773
* // -> ['..', 'word', '1', '..']
1774
*/
1775
1776
1777
XRegExp.split = function (str, separator, limit) {
1778
return fixed.split.call(nullThrows(str), separator, limit);
1779
};
1780
/**
1781
* Executes a regex search in a specified string. Returns `true` or `false`. Optional `pos` and
1782
* `sticky` arguments specify the search start position, and whether the match must start at the
1783
* specified position only. The `lastIndex` property of the provided regex is not used, but is
1784
* updated for compatibility. Also fixes browser bugs compared to the native
1785
* `RegExp.prototype.test` and can be used reliably cross-browser.
1786
*
1787
* @memberOf XRegExp
1788
* @param {String} str String to search.
1789
* @param {RegExp} regex Regex to search with.
1790
* @param {Number} [pos=0] Zero-based index at which to start the search.
1791
* @param {Boolean|String} [sticky=false] Whether the match must start at the specified position
1792
* only. The string `'sticky'` is accepted as an alternative to `true`.
1793
* @returns {boolean} Whether the regex matched the provided value.
1794
* @example
1795
*
1796
* // Basic use
1797
* XRegExp.test('abc', /c/); // -> true
1798
*
1799
* // With pos and sticky
1800
* XRegExp.test('abc', /c/, 0, 'sticky'); // -> false
1801
* XRegExp.test('abc', /c/, 2, 'sticky'); // -> true
1802
*/
1803
// Do this the easy way :-)
1804
1805
1806
XRegExp.test = function (str, regex, pos, sticky) {
1807
return !!XRegExp.exec(str, regex, pos, sticky);
1808
};
1809
/**
1810
* Uninstalls optional features according to the specified options. Used to undo the actions of
1811
* `XRegExp.install`.
1812
*
1813
* @memberOf XRegExp
1814
* @param {Object|String} options Options object or string.
1815
* @example
1816
*
1817
* // With an options object
1818
* XRegExp.uninstall({
1819
* // Disables support for astral code points in Unicode addons (unless enabled per regex)
1820
* astral: true,
1821
*
1822
* // Don't add named capture groups to the `groups` property of matches
1823
* namespacing: true
1824
* });
1825
*
1826
* // With an options string
1827
* XRegExp.uninstall('astral namespacing');
1828
*/
1829
1830
1831
XRegExp.uninstall = function (options) {
1832
options = prepareOptions(options);
1833
1834
if (features.astral && options.astral) {
1835
setAstral(false);
1836
}
1837
1838
if (features.namespacing && options.namespacing) {
1839
setNamespacing(false);
1840
}
1841
};
1842
/**
1843
* Returns an XRegExp object that is the union of the given patterns. Patterns can be provided as
1844
* regex objects or strings. Metacharacters are escaped in patterns provided as strings.
1845
* Backreferences in provided regex objects are automatically renumbered to work correctly within
1846
* the larger combined pattern. Native flags used by provided regexes are ignored in favor of the
1847
* `flags` argument.
1848
*
1849
* @memberOf XRegExp
1850
* @param {Array} patterns Regexes and strings to combine.
1851
* @param {String} [flags] Any combination of XRegExp flags.
1852
* @param {Object} [options] Options object with optional properties:
1853
* - `conjunction` {String} Type of conjunction to use: 'or' (default) or 'none'.
1854
* @returns {RegExp} Union of the provided regexes and strings.
1855
* @example
1856
*
1857
* XRegExp.union(['a+b*c', /(dogs)\1/, /(cats)\1/], 'i');
1858
* // -> /a\+b\*c|(dogs)\1|(cats)\2/i
1859
*
1860
* XRegExp.union([/man/, /bear/, /pig/], 'i', {conjunction: 'none'});
1861
* // -> /manbearpig/i
1862
*/
1863
1864
1865
XRegExp.union = function (patterns, flags, options) {
1866
options = options || {};
1867
var conjunction = options.conjunction || 'or';
1868
var numCaptures = 0;
1869
var numPriorCaptures;
1870
var captureNames;
1871
1872
function rewrite(match, paren, backref) {
1873
var name = captureNames[numCaptures - numPriorCaptures]; // Capturing group
1874
1875
if (paren) {
1876
++numCaptures; // If the current capture has a name, preserve the name
1877
1878
if (name) {
1879
return "(?<".concat(name, ">");
1880
} // Backreference
1881
1882
} else if (backref) {
1883
// Rewrite the backreference
1884
return "\\".concat(+backref + numPriorCaptures);
1885
}
1886
1887
return match;
1888
}
1889
1890
if (!(isType(patterns, 'Array') && patterns.length)) {
1891
throw new TypeError('Must provide a nonempty array of patterns to merge');
1892
}
1893
1894
var parts = /(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g;
1895
var output = [];
1896
1897
var _iterator5 = _createForOfIteratorHelper(patterns),
1898
_step5;
1899
1900
try {
1901
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
1902
var pattern = _step5.value;
1903
1904
if (XRegExp.isRegExp(pattern)) {
1905
numPriorCaptures = numCaptures;
1906
captureNames = pattern[REGEX_DATA] && pattern[REGEX_DATA].captureNames || []; // Rewrite backreferences. Passing to XRegExp dies on octals and ensures patterns are
1907
// independently valid; helps keep this simple. Named captures are put back
1908
1909
output.push(XRegExp(pattern.source).source.replace(parts, rewrite));
1910
} else {
1911
output.push(XRegExp.escape(pattern));
1912
}
1913
}
1914
} catch (err) {
1915
_iterator5.e(err);
1916
} finally {
1917
_iterator5.f();
1918
}
1919
1920
var separator = conjunction === 'none' ? '' : '|';
1921
return XRegExp(output.join(separator), flags);
1922
}; // ==--------------------------==
1923
// Fixed/extended native methods
1924
// ==--------------------------==
1925
1926
/**
1927
* Adds named capture support (with backreferences returned as `result.name`), and fixes browser
1928
* bugs in the native `RegExp.prototype.exec`. Use via `XRegExp.exec`.
1929
*
1930
* @memberOf RegExp
1931
* @param {String} str String to search.
1932
* @returns {Array} Match array with named backreference properties, or `null`.
1933
*/
1934
1935
1936
fixed.exec = function (str) {
1937
var origLastIndex = this.lastIndex;
1938
var match = RegExp.prototype.exec.apply(this, arguments);
1939
1940
if (match) {
1941
// Fix browsers whose `exec` methods don't return `undefined` for nonparticipating capturing
1942
// groups. This fixes IE 5.5-8, but not IE 9's quirks mode or emulation of older IEs. IE 9
1943
// in standards mode follows the spec.
1944
if (!correctExecNpcg && match.length > 1 && (0, _indexOf["default"])(match).call(match, '') !== -1) {
1945
var _context3;
1946
1947
var r2 = copyRegex(this, {
1948
removeG: true,
1949
isInternalOnly: true
1950
}); // Using `str.slice(match.index)` rather than `match[0]` in case lookahead allowed
1951
// matching due to characters outside the match
1952
1953
(0, _slice["default"])(_context3 = String(str)).call(_context3, match.index).replace(r2, function () {
1954
var len = arguments.length; // Skip index 0 and the last 2
1955
1956
for (var i = 1; i < len - 2; ++i) {
1957
if ((i < 0 || arguments.length <= i ? undefined : arguments[i]) === undefined) {
1958
match[i] = undefined;
1959
}
1960
}
1961
});
1962
} // Attach named capture properties
1963
1964
1965
if (this[REGEX_DATA] && this[REGEX_DATA].captureNames) {
1966
var groupsObject = match;
1967
1968
if (XRegExp.isInstalled('namespacing')) {
1969
// https://tc39.github.io/proposal-regexp-named-groups/#sec-regexpbuiltinexec
1970
match.groups = (0, _create["default"])(null);
1971
groupsObject = match.groups;
1972
} // Skip index 0
1973
1974
1975
for (var i = 1; i < match.length; ++i) {
1976
var name = this[REGEX_DATA].captureNames[i - 1];
1977
1978
if (name) {
1979
groupsObject[name] = match[i];
1980
}
1981
} // Preserve any existing `groups` obj that came from native ES2018 named capture
1982
1983
} else if (!match.groups && XRegExp.isInstalled('namespacing')) {
1984
match.groups = undefined;
1985
} // Fix browsers that increment `lastIndex` after zero-length matches
1986
1987
1988
if (this.global && !match[0].length && this.lastIndex > match.index) {
1989
this.lastIndex = match.index;
1990
}
1991
}
1992
1993
if (!this.global) {
1994
// Fixes IE, Opera bug (last tested IE 9, Opera 11.6)
1995
this.lastIndex = origLastIndex;
1996
}
1997
1998
return match;
1999
};
2000
/**
2001
* Fixes browser bugs in the native `RegExp.prototype.test`.
2002
*
2003
* @memberOf RegExp
2004
* @param {String} str String to search.
2005
* @returns {boolean} Whether the regex matched the provided value.
2006
*/
2007
2008
2009
fixed.test = function (str) {
2010
// Do this the easy way :-)
2011
return !!fixed.exec.call(this, str);
2012
};
2013
/**
2014
* Adds named capture support (with backreferences returned as `result.name`), and fixes browser
2015
* bugs in the native `String.prototype.match`.
2016
*
2017
* @memberOf String
2018
* @param {RegExp|*} regex Regex to search with. If not a regex object, it is passed to `RegExp`.
2019
* @returns {Array} If `regex` uses flag g, an array of match strings or `null`. Without flag g,
2020
* the result of calling `regex.exec(this)`.
2021
*/
2022
2023
2024
fixed.match = function (regex) {
2025
if (!XRegExp.isRegExp(regex)) {
2026
// Use the native `RegExp` rather than `XRegExp`
2027
regex = new RegExp(regex);
2028
} else if (regex.global) {
2029
var result = String.prototype.match.apply(this, arguments); // Fixes IE bug
2030
2031
regex.lastIndex = 0;
2032
return result;
2033
}
2034
2035
return fixed.exec.call(regex, nullThrows(this));
2036
};
2037
/**
2038
* Adds support for `${n}` (or `$<n>`) tokens for named and numbered backreferences in replacement
2039
* text, and provides named backreferences to replacement functions as `arguments[0].name`. Also
2040
* fixes browser bugs in replacement text syntax when performing a replacement using a nonregex
2041
* search value, and the value of a replacement regex's `lastIndex` property during replacement
2042
* iterations and upon completion. Note that this doesn't support SpiderMonkey's proprietary third
2043
* (`flags`) argument. Use via `XRegExp.replace`.
2044
*
2045
* @memberOf String
2046
* @param {RegExp|String} search Search pattern to be replaced.
2047
* @param {String|Function} replacement Replacement string or a function invoked to create it.
2048
* @returns {string} New string with one or all matches replaced.
2049
*/
2050
2051
2052
fixed.replace = function (search, replacement) {
2053
var isRegex = XRegExp.isRegExp(search);
2054
var origLastIndex;
2055
var captureNames;
2056
var result;
2057
2058
if (isRegex) {
2059
if (search[REGEX_DATA]) {
2060
captureNames = search[REGEX_DATA].captureNames;
2061
} // Only needed if `search` is nonglobal
2062
2063
2064
origLastIndex = search.lastIndex;
2065
} else {
2066
search += ''; // Type-convert
2067
} // Don't use `typeof`; some older browsers return 'function' for regex objects
2068
2069
2070
if (isType(replacement, 'Function')) {
2071
// Stringifying `this` fixes a bug in IE < 9 where the last argument in replacement
2072
// functions isn't type-converted to a string
2073
result = String(this).replace(search, function () {
2074
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2075
args[_key] = arguments[_key];
2076
}
2077
2078
if (captureNames) {
2079
var groupsObject;
2080
2081
if (XRegExp.isInstalled('namespacing')) {
2082
// https://tc39.github.io/proposal-regexp-named-groups/#sec-regexpbuiltinexec
2083
groupsObject = (0, _create["default"])(null);
2084
args.push(groupsObject);
2085
} else {
2086
// Change the `args[0]` string primitive to a `String` object that can store
2087
// properties. This really does need to use `String` as a constructor
2088
args[0] = new String(args[0]);
2089
groupsObject = args[0];
2090
} // Store named backreferences
2091
2092
2093
for (var i = 0; i < captureNames.length; ++i) {
2094
if (captureNames[i]) {
2095
groupsObject[captureNames[i]] = args[i + 1];
2096
}
2097
}
2098
} // ES6 specs the context for replacement functions as `undefined`
2099
2100
2101
return replacement.apply(void 0, args);
2102
});
2103
} else {
2104
// Ensure that the last value of `args` will be a string when given nonstring `this`,
2105
// while still throwing on null or undefined context
2106
result = String(nullThrows(this)).replace(search, function () {
2107
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
2108
args[_key2] = arguments[_key2];
2109
}
2110
2111
return String(replacement).replace(replacementToken, replacer);
2112
2113
function replacer($0, bracketed, angled, dollarToken) {
2114
bracketed = bracketed || angled; // ES2018 added a new trailing `groups` arg that's passed to replacement functions
2115
// when the search regex uses native named capture
2116
2117
var numNonCaptureArgs = isType(args[args.length - 1], 'Object') ? 4 : 3;
2118
var numCaptures = args.length - numNonCaptureArgs; // Handle named or numbered backreference with curly or angled braces: ${n}, $<n>
2119
2120
if (bracketed) {
2121
// Handle backreference to numbered capture, if `bracketed` is an integer. Use
2122
// `0` for the entire match. Any number of leading zeros may be used.
2123
if (/^\d+$/.test(bracketed)) {
2124
// Type-convert and drop leading zeros
2125
var _n = +bracketed;
2126
2127
if (_n <= numCaptures) {
2128
return args[_n] || '';
2129
}
2130
} // Handle backreference to named capture. If the name does not refer to an
2131
// existing capturing group, it's an error. Also handles the error for numbered
2132
// backference that does not refer to an existing group.
2133
// Using `indexOf` since having groups with the same name is already an error,
2134
// otherwise would need `lastIndexOf`.
2135
2136
2137
var n = captureNames ? (0, _indexOf["default"])(captureNames).call(captureNames, bracketed) : -1;
2138
2139
if (n < 0) {
2140
throw new SyntaxError("Backreference to undefined group ".concat($0));
2141
}
2142
2143
return args[n + 1] || '';
2144
} // Handle `$`-prefixed variable
2145
// Handle space/blank first because type conversion with `+` drops space padding
2146
// and converts spaces and empty strings to `0`
2147
2148
2149
if (dollarToken === '' || dollarToken === ' ') {
2150
throw new SyntaxError("Invalid token ".concat($0));
2151
}
2152
2153
if (dollarToken === '&' || +dollarToken === 0) {
2154
// $&, $0 (not followed by 1-9), $00
2155
return args[0];
2156
}
2157
2158
if (dollarToken === '$') {
2159
// $$
2160
return '$';
2161
}
2162
2163
if (dollarToken === '`') {
2164
var _context4;
2165
2166
// $` (left context)
2167
return (0, _slice["default"])(_context4 = args[args.length - 1]).call(_context4, 0, args[args.length - 2]);
2168
}
2169
2170
if (dollarToken === "'") {
2171
var _context5;
2172
2173
// $' (right context)
2174
return (0, _slice["default"])(_context5 = args[args.length - 1]).call(_context5, args[args.length - 2] + args[0].length);
2175
} // Handle numbered backreference without braces
2176
// Type-convert and drop leading zero
2177
2178
2179
dollarToken = +dollarToken; // XRegExp behavior for `$n` and `$nn`:
2180
// - Backrefs end after 1 or 2 digits. Use `${..}` or `$<..>` for more digits.
2181
// - `$1` is an error if no capturing groups.
2182
// - `$10` is an error if less than 10 capturing groups. Use `${1}0` or `$<1>0`
2183
// instead.
2184
// - `$01` is `$1` if at least one capturing group, else it's an error.
2185
// - `$0` (not followed by 1-9) and `$00` are the entire match.
2186
// Native behavior, for comparison:
2187
// - Backrefs end after 1 or 2 digits. Cannot reference capturing group 100+.
2188
// - `$1` is a literal `$1` if no capturing groups.
2189
// - `$10` is `$1` followed by a literal `0` if less than 10 capturing groups.
2190
// - `$01` is `$1` if at least one capturing group, else it's a literal `$01`.
2191
// - `$0` is a literal `$0`.
2192
2193
if (!isNaN(dollarToken)) {
2194
if (dollarToken > numCaptures) {
2195
throw new SyntaxError("Backreference to undefined group ".concat($0));
2196
}
2197
2198
return args[dollarToken] || '';
2199
} // `$` followed by an unsupported char is an error, unlike native JS
2200
2201
2202
throw new SyntaxError("Invalid token ".concat($0));
2203
}
2204
});
2205
}
2206
2207
if (isRegex) {
2208
if (search.global) {
2209
// Fixes IE, Safari bug (last tested IE 9, Safari 5.1)
2210
search.lastIndex = 0;
2211
} else {
2212
// Fixes IE, Opera bug (last tested IE 9, Opera 11.6)
2213
search.lastIndex = origLastIndex;
2214
}
2215
}
2216
2217
return result;
2218
};
2219
/**
2220
* Fixes browser bugs in the native `String.prototype.split`. Use via `XRegExp.split`.
2221
*
2222
* @memberOf String
2223
* @param {RegExp|String} separator Regex or string to use for separating the string.
2224
* @param {Number} [limit] Maximum number of items to include in the result array.
2225
* @returns {!Array} Array of substrings.
2226
*/
2227
2228
2229
fixed.split = function (separator, limit) {
2230
if (!XRegExp.isRegExp(separator)) {
2231
// Browsers handle nonregex split correctly, so use the faster native method
2232
return String.prototype.split.apply(this, arguments);
2233
}
2234
2235
var str = String(this);
2236
var output = [];
2237
var origLastIndex = separator.lastIndex;
2238
var lastLastIndex = 0;
2239
var lastLength; // Values for `limit`, per the spec:
2240
// If undefined: pow(2,32) - 1
2241
// If 0, Infinity, or NaN: 0
2242
// If positive number: limit = floor(limit); if (limit >= pow(2,32)) limit -= pow(2,32);
2243
// If negative number: pow(2,32) - floor(abs(limit))
2244
// If other: Type-convert, then use the above rules
2245
// This line fails in very strange ways for some values of `limit` in Opera 10.5-10.63, unless
2246
// Opera Dragonfly is open (go figure). It works in at least Opera 9.5-10.1 and 11+
2247
2248
limit = (limit === undefined ? -1 : limit) >>> 0;
2249
(0, _forEach["default"])(XRegExp).call(XRegExp, str, separator, function (match) {
2250
// This condition is not the same as `if (match[0].length)`
2251
if (match.index + match[0].length > lastLastIndex) {
2252
output.push((0, _slice["default"])(str).call(str, lastLastIndex, match.index));
2253
2254
if (match.length > 1 && match.index < str.length) {
2255
Array.prototype.push.apply(output, (0, _slice["default"])(match).call(match, 1));
2256
}
2257
2258
lastLength = match[0].length;
2259
lastLastIndex = match.index + lastLength;
2260
}
2261
});
2262
2263
if (lastLastIndex === str.length) {
2264
if (!separator.test('') || lastLength) {
2265
output.push('');
2266
}
2267
} else {
2268
output.push((0, _slice["default"])(str).call(str, lastLastIndex));
2269
}
2270
2271
separator.lastIndex = origLastIndex;
2272
return output.length > limit ? (0, _slice["default"])(output).call(output, 0, limit) : output;
2273
}; // ==--------------------------==
2274
// Built-in syntax/flag tokens
2275
// ==--------------------------==
2276
2277
/*
2278
* Letter escapes that natively match literal characters: `\a`, `\A`, etc. These should be
2279
* SyntaxErrors but are allowed in web reality. XRegExp makes them errors for cross-browser
2280
* consistency and to reserve their syntax, but lets them be superseded by addons.
2281
*/
2282
2283
2284
XRegExp.addToken(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4}|{[\dA-Fa-f]+})|x(?![\dA-Fa-f]{2}))/, function (match, scope) {
2285
// \B is allowed in default scope only
2286
if (match[1] === 'B' && scope === defaultScope) {
2287
return match[0];
2288
}
2289
2290
throw new SyntaxError("Invalid escape ".concat(match[0]));
2291
}, {
2292
scope: 'all',
2293
leadChar: '\\'
2294
});
2295
/*
2296
* Unicode code point escape with curly braces: `\u{N..}`. `N..` is any one or more digit
2297
* hexadecimal number from 0-10FFFF, and can include leading zeros. Requires the native ES6 `u` flag
2298
* to support code points greater than U+FFFF. Avoids converting code points above U+FFFF to
2299
* surrogate pairs (which could be done without flag `u`), since that could lead to broken behavior
2300
* if you follow a `\u{N..}` token that references a code point above U+FFFF with a quantifier, or
2301
* if you use the same in a character class.
2302
*/
2303
2304
XRegExp.addToken(/\\u{([\dA-Fa-f]+)}/, function (match, scope, flags) {
2305
var code = dec(match[1]);
2306
2307
if (code > 0x10FFFF) {
2308
throw new SyntaxError("Invalid Unicode code point ".concat(match[0]));
2309
}
2310
2311
if (code <= 0xFFFF) {
2312
// Converting to \uNNNN avoids needing to escape the literal character and keep it
2313
// separate from preceding tokens
2314
return "\\u".concat(pad4(hex(code)));
2315
} // If `code` is between 0xFFFF and 0x10FFFF, require and defer to native handling
2316
2317
2318
if (hasNativeU && (0, _indexOf["default"])(flags).call(flags, 'u') !== -1) {
2319
return match[0];
2320
}
2321
2322
throw new SyntaxError('Cannot use Unicode code point above \\u{FFFF} without flag u');
2323
}, {
2324
scope: 'all',
2325
leadChar: '\\'
2326
});
2327
/*
2328
* Comment pattern: `(?# )`. Inline comments are an alternative to the line comments allowed in
2329
* free-spacing mode (flag x).
2330
*/
2331
2332
XRegExp.addToken(/\(\?#[^)]*\)/, getContextualTokenSeparator, {
2333
leadChar: '('
2334
});
2335
/*
2336
* Whitespace and line comments, in free-spacing mode (aka extended mode, flag x) only.
2337
*/
2338
2339
XRegExp.addToken(/\s+|#[^\n]*\n?/, getContextualTokenSeparator, {
2340
flag: 'x'
2341
});
2342
/*
2343
* Dot, in dotAll mode (aka singleline mode, flag s) only.
2344
*/
2345
2346
if (!hasNativeS) {
2347
XRegExp.addToken(/\./, function () {
2348
return '[\\s\\S]';
2349
}, {
2350
flag: 's',
2351
leadChar: '.'
2352
});
2353
}
2354
/*
2355
* Named backreference: `\k<name>`. Backreference names can use RegExpIdentifierName characters
2356
* only. Also allows numbered backreferences as `\k<n>`.
2357
*/
2358
2359
2360
XRegExp.addToken(/\\k<([^>]+)>/, function (match) {
2361
var _context6, _context7;
2362
2363
// Groups with the same name is an error, else would need `lastIndexOf`
2364
var index = isNaN(match[1]) ? (0, _indexOf["default"])(_context6 = this.captureNames).call(_context6, match[1]) + 1 : +match[1];
2365
var endIndex = match.index + match[0].length;
2366
2367
if (!index || index > this.captureNames.length) {
2368
throw new SyntaxError("Backreference to undefined group ".concat(match[0]));
2369
} // Keep backreferences separate from subsequent literal numbers. This avoids e.g.
2370
// inadvertedly changing `(?<n>)\k<n>1` to `()\11`.
2371
2372
2373
return (0, _concat["default"])(_context7 = "\\".concat(index)).call(_context7, endIndex === match.input.length || isNaN(match.input[endIndex]) ? '' : '(?:)');
2374
}, {
2375
leadChar: '\\'
2376
});
2377
/*
2378
* Numbered backreference or octal, plus any following digits: `\0`, `\11`, etc. Octals except `\0`
2379
* not followed by 0-9 and backreferences to unopened capture groups throw an error. Other matches
2380
* are returned unaltered. IE < 9 doesn't support backreferences above `\99` in regex syntax.
2381
*/
2382
2383
XRegExp.addToken(/\\(\d+)/, function (match, scope) {
2384
if (!(scope === defaultScope && /^[1-9]/.test(match[1]) && +match[1] <= this.captureNames.length) && match[1] !== '0') {
2385
throw new SyntaxError("Cannot use octal escape or backreference to undefined group ".concat(match[0]));
2386
}
2387
2388
return match[0];
2389
}, {
2390
scope: 'all',
2391
leadChar: '\\'
2392
});
2393
/*
2394
* Named capturing group; match the opening delimiter only: `(?<name>`. Capture names can use the
2395
* RegExpIdentifierName characters only. Names can't be integers. Supports Python-style
2396
* `(?P<name>` as an alternate syntax to avoid issues in some older versions of Opera which natively
2397
* supported the Python-style syntax. Otherwise, XRegExp might treat numbered backreferences to
2398
* Python-style named capture as octals.
2399
*/
2400
2401
XRegExp.addToken(/\(\?P?<((?:[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-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F00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u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E3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\u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DF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF39\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCE9\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDE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D00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAE\uDEC0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]|\uDB40[\uDD00-\uDDEF])*)>/, function (match) {
2402
var _context8;
2403
2404
if (!XRegExp.isInstalled('namespacing') && (match[1] === 'length' || match[1] === '__proto__')) {
2405
throw new SyntaxError("Cannot use reserved word as capture name ".concat(match[0]));
2406
}
2407
2408
if ((0, _indexOf["default"])(_context8 = this.captureNames).call(_context8, match[1]) !== -1) {
2409
throw new SyntaxError("Cannot use same name for multiple groups ".concat(match[0]));
2410
}
2411
2412
this.captureNames.push(match[1]);
2413
this.hasNamedCapture = true;
2414
return '(';
2415
}, {
2416
leadChar: '('
2417
});
2418
/*
2419
* Capturing group; match the opening parenthesis only. Required for support of named capturing
2420
* groups. Also adds named capture only mode (flag n).
2421
*/
2422
2423
XRegExp.addToken(/\((?!\?)/, function (match, scope, flags) {
2424
if ((0, _indexOf["default"])(flags).call(flags, 'n') !== -1) {
2425
return '(?:';
2426
}
2427
2428
this.captureNames.push(null);
2429
return '(';
2430
}, {
2431
optionalFlags: 'n',
2432
leadChar: '('
2433
});
2434
var _default = XRegExp;
2435
exports["default"] = _default;
2436
module.exports = exports.default;
2437
},{"@babel/runtime-corejs3/core-js-stable/array/from":5,"@babel/runtime-corejs3/core-js-stable/array/is-array":6,"@babel/runtime-corejs3/core-js-stable/instance/concat":7,"@babel/runtime-corejs3/core-js-stable/instance/flags":8,"@babel/runtime-corejs3/core-js-stable/instance/for-each":9,"@babel/runtime-corejs3/core-js-stable/instance/index-of":10,"@babel/runtime-corejs3/core-js-stable/instance/slice":11,"@babel/runtime-corejs3/core-js-stable/instance/sort":12,"@babel/runtime-corejs3/core-js-stable/object/create":13,"@babel/runtime-corejs3/core-js-stable/object/define-property":14,"@babel/runtime-corejs3/core-js-stable/parse-int":15,"@babel/runtime-corejs3/core-js-stable/symbol":16,"@babel/runtime-corejs3/core-js/get-iterator-method":19,"@babel/runtime-corejs3/helpers/interopRequireDefault":24,"@babel/runtime-corejs3/helpers/slicedToArray":27}],5:[function(require,module,exports){
2438
module.exports = require("core-js-pure/stable/array/from");
2439
},{"core-js-pure/stable/array/from":208}],6:[function(require,module,exports){
2440
module.exports = require("core-js-pure/stable/array/is-array");
2441
},{"core-js-pure/stable/array/is-array":209}],7:[function(require,module,exports){
2442
module.exports = require("core-js-pure/stable/instance/concat");
2443
},{"core-js-pure/stable/instance/concat":212}],8:[function(require,module,exports){
2444
module.exports = require("core-js-pure/stable/instance/flags");
2445
},{"core-js-pure/stable/instance/flags":213}],9:[function(require,module,exports){
2446
module.exports = require("core-js-pure/stable/instance/for-each");
2447
},{"core-js-pure/stable/instance/for-each":214}],10:[function(require,module,exports){
2448
module.exports = require("core-js-pure/stable/instance/index-of");
2449
},{"core-js-pure/stable/instance/index-of":215}],11:[function(require,module,exports){
2450
module.exports = require("core-js-pure/stable/instance/slice");
2451
},{"core-js-pure/stable/instance/slice":216}],12:[function(require,module,exports){
2452
module.exports = require("core-js-pure/stable/instance/sort");
2453
},{"core-js-pure/stable/instance/sort":217}],13:[function(require,module,exports){
2454
module.exports = require("core-js-pure/stable/object/create");
2455
},{"core-js-pure/stable/object/create":218}],14:[function(require,module,exports){
2456
module.exports = require("core-js-pure/stable/object/define-property");
2457
},{"core-js-pure/stable/object/define-property":219}],15:[function(require,module,exports){
2458
module.exports = require("core-js-pure/stable/parse-int");
2459
},{"core-js-pure/stable/parse-int":220}],16:[function(require,module,exports){
2460
module.exports = require("core-js-pure/stable/symbol");
2461
},{"core-js-pure/stable/symbol":221}],17:[function(require,module,exports){
2462
module.exports = require("core-js-pure/features/array/from");
2463
},{"core-js-pure/features/array/from":52}],18:[function(require,module,exports){
2464
module.exports = require("core-js-pure/features/array/is-array");
2465
},{"core-js-pure/features/array/is-array":53}],19:[function(require,module,exports){
2466
module.exports = require("core-js-pure/features/get-iterator-method");
2467
},{"core-js-pure/features/get-iterator-method":54}],20:[function(require,module,exports){
2468
module.exports = require("core-js-pure/features/instance/slice");
2469
},{"core-js-pure/features/instance/slice":55}],21:[function(require,module,exports){
2470
module.exports = require("core-js-pure/features/symbol");
2471
},{"core-js-pure/features/symbol":56}],22:[function(require,module,exports){
2472
function _arrayLikeToArray(arr, len) {
2473
if (len == null || len > arr.length) len = arr.length;
2474
2475
for (var i = 0, arr2 = new Array(len); i < len; i++) {
2476
arr2[i] = arr[i];
2477
}
2478
2479
return arr2;
2480
}
2481
2482
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
2483
},{}],23:[function(require,module,exports){
2484
var _Array$isArray = require("@babel/runtime-corejs3/core-js/array/is-array");
2485
2486
function _arrayWithHoles(arr) {
2487
if (_Array$isArray(arr)) return arr;
2488
}
2489
2490
module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
2491
},{"@babel/runtime-corejs3/core-js/array/is-array":18}],24:[function(require,module,exports){
2492
function _interopRequireDefault(obj) {
2493
return obj && obj.__esModule ? obj : {
2494
"default": obj
2495
};
2496
}
2497
2498
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
2499
},{}],25:[function(require,module,exports){
2500
var _Symbol = require("@babel/runtime-corejs3/core-js/symbol");
2501
2502
var _getIteratorMethod = require("@babel/runtime-corejs3/core-js/get-iterator-method");
2503
2504
function _iterableToArrayLimit(arr, i) {
2505
var _i = arr == null ? null : typeof _Symbol !== "undefined" && _getIteratorMethod(arr) || arr["@@iterator"];
2506
2507
if (_i == null) return;
2508
var _arr = [];
2509
var _n = true;
2510
var _d = false;
2511
2512
var _s, _e;
2513
2514
try {
2515
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
2516
_arr.push(_s.value);
2517
2518
if (i && _arr.length === i) break;
2519
}
2520
} catch (err) {
2521
_d = true;
2522
_e = err;
2523
} finally {
2524
try {
2525
if (!_n && _i["return"] != null) _i["return"]();
2526
} finally {
2527
if (_d) throw _e;
2528
}
2529
}
2530
2531
return _arr;
2532
}
2533
2534
module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
2535
},{"@babel/runtime-corejs3/core-js/get-iterator-method":19,"@babel/runtime-corejs3/core-js/symbol":21}],26:[function(require,module,exports){
2536
function _nonIterableRest() {
2537
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2538
}
2539
2540
module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
2541
},{}],27:[function(require,module,exports){
2542
var arrayWithHoles = require("./arrayWithHoles.js");
2543
2544
var iterableToArrayLimit = require("./iterableToArrayLimit.js");
2545
2546
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js");
2547
2548
var nonIterableRest = require("./nonIterableRest.js");
2549
2550
function _slicedToArray(arr, i) {
2551
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
2552
}
2553
2554
module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
2555
},{"./arrayWithHoles.js":23,"./iterableToArrayLimit.js":25,"./nonIterableRest.js":26,"./unsupportedIterableToArray.js":28}],28:[function(require,module,exports){
2556
var _sliceInstanceProperty = require("@babel/runtime-corejs3/core-js/instance/slice");
2557
2558
var _Array$from = require("@babel/runtime-corejs3/core-js/array/from");
2559
2560
var arrayLikeToArray = require("./arrayLikeToArray.js");
2561
2562
function _unsupportedIterableToArray(o, minLen) {
2563
var _context;
2564
2565
if (!o) return;
2566
if (typeof o === "string") return arrayLikeToArray(o, minLen);
2567
2568
var n = _sliceInstanceProperty(_context = Object.prototype.toString.call(o)).call(_context, 8, -1);
2569
2570
if (n === "Object" && o.constructor) n = o.constructor.name;
2571
if (n === "Map" || n === "Set") return _Array$from(o);
2572
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
2573
}
2574
2575
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
2576
},{"./arrayLikeToArray.js":22,"@babel/runtime-corejs3/core-js/array/from":17,"@babel/runtime-corejs3/core-js/instance/slice":20}],29:[function(require,module,exports){
2577
var parent = require('../../stable/array/from');
2578
2579
module.exports = parent;
2580
2581
},{"../../stable/array/from":208}],30:[function(require,module,exports){
2582
var parent = require('../../stable/array/is-array');
2583
2584
module.exports = parent;
2585
2586
},{"../../stable/array/is-array":209}],31:[function(require,module,exports){
2587
var parent = require('../stable/get-iterator-method');
2588
2589
module.exports = parent;
2590
2591
},{"../stable/get-iterator-method":211}],32:[function(require,module,exports){
2592
var parent = require('../../stable/instance/slice');
2593
2594
module.exports = parent;
2595
2596
},{"../../stable/instance/slice":216}],33:[function(require,module,exports){
2597
var parent = require('../../stable/symbol');
2598
2599
module.exports = parent;
2600
2601
},{"../../stable/symbol":221}],34:[function(require,module,exports){
2602
require('../../modules/es.string.iterator');
2603
require('../../modules/es.array.from');
2604
var path = require('../../internals/path');
2605
2606
module.exports = path.Array.from;
2607
2608
},{"../../internals/path":142,"../../modules/es.array.from":170,"../../modules/es.string.iterator":184}],35:[function(require,module,exports){
2609
require('../../modules/es.array.is-array');
2610
var path = require('../../internals/path');
2611
2612
module.exports = path.Array.isArray;
2613
2614
},{"../../internals/path":142,"../../modules/es.array.is-array":172}],36:[function(require,module,exports){
2615
require('../../../modules/es.array.concat');
2616
var entryVirtual = require('../../../internals/entry-virtual');
2617
2618
module.exports = entryVirtual('Array').concat;
2619
2620
},{"../../../internals/entry-virtual":91,"../../../modules/es.array.concat":168}],37:[function(require,module,exports){
2621
require('../../../modules/es.array.for-each');
2622
var entryVirtual = require('../../../internals/entry-virtual');
2623
2624
module.exports = entryVirtual('Array').forEach;
2625
2626
},{"../../../internals/entry-virtual":91,"../../../modules/es.array.for-each":169}],38:[function(require,module,exports){
2627
require('../../../modules/es.array.index-of');
2628
var entryVirtual = require('../../../internals/entry-virtual');
2629
2630
module.exports = entryVirtual('Array').indexOf;
2631
2632
},{"../../../internals/entry-virtual":91,"../../../modules/es.array.index-of":171}],39:[function(require,module,exports){
2633
require('../../../modules/es.array.slice');
2634
var entryVirtual = require('../../../internals/entry-virtual');
2635
2636
module.exports = entryVirtual('Array').slice;
2637
2638
},{"../../../internals/entry-virtual":91,"../../../modules/es.array.slice":174}],40:[function(require,module,exports){
2639
require('../../../modules/es.array.sort');
2640
var entryVirtual = require('../../../internals/entry-virtual');
2641
2642
module.exports = entryVirtual('Array').sort;
2643
2644
},{"../../../internals/entry-virtual":91,"../../../modules/es.array.sort":175}],41:[function(require,module,exports){
2645
require('../modules/es.array.iterator');
2646
require('../modules/es.string.iterator');
2647
var getIteratorMethod = require('../internals/get-iterator-method');
2648
2649
module.exports = getIteratorMethod;
2650
2651
},{"../internals/get-iterator-method":101,"../modules/es.array.iterator":173,"../modules/es.string.iterator":184}],42:[function(require,module,exports){
2652
var isPrototypeOf = require('../../internals/object-is-prototype-of');
2653
var method = require('../array/virtual/concat');
2654
2655
var ArrayPrototype = Array.prototype;
2656
2657
module.exports = function (it) {
2658
var own = it.concat;
2659
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.concat) ? method : own;
2660
};
2661
2662
},{"../../internals/object-is-prototype-of":135,"../array/virtual/concat":36}],43:[function(require,module,exports){
2663
var isPrototypeOf = require('../../internals/object-is-prototype-of');
2664
var flags = require('../regexp/flags');
2665
2666
var RegExpPrototype = RegExp.prototype;
2667
2668
module.exports = function (it) {
2669
return (it === RegExpPrototype || isPrototypeOf(RegExpPrototype, it)) ? flags(it) : it.flags;
2670
};
2671
2672
},{"../../internals/object-is-prototype-of":135,"../regexp/flags":50}],44:[function(require,module,exports){
2673
var isPrototypeOf = require('../../internals/object-is-prototype-of');
2674
var method = require('../array/virtual/index-of');
2675
2676
var ArrayPrototype = Array.prototype;
2677
2678
module.exports = function (it) {
2679
var own = it.indexOf;
2680
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.indexOf) ? method : own;
2681
};
2682
2683
},{"../../internals/object-is-prototype-of":135,"../array/virtual/index-of":38}],45:[function(require,module,exports){
2684
var isPrototypeOf = require('../../internals/object-is-prototype-of');
2685
var method = require('../array/virtual/slice');
2686
2687
var ArrayPrototype = Array.prototype;
2688
2689
module.exports = function (it) {
2690
var own = it.slice;
2691
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.slice) ? method : own;
2692
};
2693
2694
},{"../../internals/object-is-prototype-of":135,"../array/virtual/slice":39}],46:[function(require,module,exports){
2695
var isPrototypeOf = require('../../internals/object-is-prototype-of');
2696
var method = require('../array/virtual/sort');
2697
2698
var ArrayPrototype = Array.prototype;
2699
2700
module.exports = function (it) {
2701
var own = it.sort;
2702
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.sort) ? method : own;
2703
};
2704
2705
},{"../../internals/object-is-prototype-of":135,"../array/virtual/sort":40}],47:[function(require,module,exports){
2706
require('../../modules/es.object.create');
2707
var path = require('../../internals/path');
2708
2709
var Object = path.Object;
2710
2711
module.exports = function create(P, D) {
2712
return Object.create(P, D);
2713
};
2714
2715
},{"../../internals/path":142,"../../modules/es.object.create":178}],48:[function(require,module,exports){
2716
require('../../modules/es.object.define-property');
2717
var path = require('../../internals/path');
2718
2719
var Object = path.Object;
2720
2721
var defineProperty = module.exports = function defineProperty(it, key, desc) {
2722
return Object.defineProperty(it, key, desc);
2723
};
2724
2725
if (Object.defineProperty.sham) defineProperty.sham = true;
2726
2727
},{"../../internals/path":142,"../../modules/es.object.define-property":179}],49:[function(require,module,exports){
2728
require('../modules/es.parse-int');
2729
var path = require('../internals/path');
2730
2731
module.exports = path.parseInt;
2732
2733
},{"../internals/path":142,"../modules/es.parse-int":181}],50:[function(require,module,exports){
2734
require('../../modules/es.regexp.flags');
2735
var uncurryThis = require('../../internals/function-uncurry-this');
2736
var regExpFlags = require('../../internals/regexp-flags');
2737
2738
module.exports = uncurryThis(regExpFlags);
2739
2740
},{"../../internals/function-uncurry-this":99,"../../internals/regexp-flags":144,"../../modules/es.regexp.flags":183}],51:[function(require,module,exports){
2741
require('../../modules/es.array.concat');
2742
require('../../modules/es.object.to-string');
2743
require('../../modules/es.symbol');
2744
require('../../modules/es.symbol.async-iterator');
2745
require('../../modules/es.symbol.description');
2746
require('../../modules/es.symbol.has-instance');
2747
require('../../modules/es.symbol.is-concat-spreadable');
2748
require('../../modules/es.symbol.iterator');
2749
require('../../modules/es.symbol.match');
2750
require('../../modules/es.symbol.match-all');
2751
require('../../modules/es.symbol.replace');
2752
require('../../modules/es.symbol.search');
2753
require('../../modules/es.symbol.species');
2754
require('../../modules/es.symbol.split');
2755
require('../../modules/es.symbol.to-primitive');
2756
require('../../modules/es.symbol.to-string-tag');
2757
require('../../modules/es.symbol.unscopables');
2758
require('../../modules/es.json.to-string-tag');
2759
require('../../modules/es.math.to-string-tag');
2760
require('../../modules/es.reflect.to-string-tag');
2761
var path = require('../../internals/path');
2762
2763
module.exports = path.Symbol;
2764
2765
},{"../../internals/path":142,"../../modules/es.array.concat":168,"../../modules/es.json.to-string-tag":176,"../../modules/es.math.to-string-tag":177,"../../modules/es.object.to-string":180,"../../modules/es.reflect.to-string-tag":182,"../../modules/es.symbol":190,"../../modules/es.symbol.async-iterator":185,"../../modules/es.symbol.description":186,"../../modules/es.symbol.has-instance":187,"../../modules/es.symbol.is-concat-spreadable":188,"../../modules/es.symbol.iterator":189,"../../modules/es.symbol.match":192,"../../modules/es.symbol.match-all":191,"../../modules/es.symbol.replace":193,"../../modules/es.symbol.search":194,"../../modules/es.symbol.species":195,"../../modules/es.symbol.split":196,"../../modules/es.symbol.to-primitive":197,"../../modules/es.symbol.to-string-tag":198,"../../modules/es.symbol.unscopables":199}],52:[function(require,module,exports){
2766
var parent = require('../../actual/array/from');
2767
2768
module.exports = parent;
2769
2770
},{"../../actual/array/from":29}],53:[function(require,module,exports){
2771
var parent = require('../../actual/array/is-array');
2772
2773
module.exports = parent;
2774
2775
},{"../../actual/array/is-array":30}],54:[function(require,module,exports){
2776
var parent = require('../actual/get-iterator-method');
2777
2778
module.exports = parent;
2779
2780
},{"../actual/get-iterator-method":31}],55:[function(require,module,exports){
2781
var parent = require('../../actual/instance/slice');
2782
2783
module.exports = parent;
2784
2785
},{"../../actual/instance/slice":32}],56:[function(require,module,exports){
2786
var parent = require('../../actual/symbol');
2787
require('../../modules/esnext.symbol.async-dispose');
2788
require('../../modules/esnext.symbol.dispose');
2789
require('../../modules/esnext.symbol.matcher');
2790
require('../../modules/esnext.symbol.metadata');
2791
require('../../modules/esnext.symbol.observable');
2792
// TODO: Remove from `core-js@4`
2793
require('../../modules/esnext.symbol.pattern-match');
2794
// TODO: Remove from `core-js@4`
2795
require('../../modules/esnext.symbol.replace-all');
2796
2797
module.exports = parent;
2798
2799
},{"../../actual/symbol":33,"../../modules/esnext.symbol.async-dispose":200,"../../modules/esnext.symbol.dispose":201,"../../modules/esnext.symbol.matcher":202,"../../modules/esnext.symbol.metadata":203,"../../modules/esnext.symbol.observable":204,"../../modules/esnext.symbol.pattern-match":205,"../../modules/esnext.symbol.replace-all":206}],57:[function(require,module,exports){
2800
var global = require('../internals/global');
2801
var isCallable = require('../internals/is-callable');
2802
var tryToString = require('../internals/try-to-string');
2803
2804
var TypeError = global.TypeError;
2805
2806
// `Assert: IsCallable(argument) is true`
2807
module.exports = function (argument) {
2808
if (isCallable(argument)) return argument;
2809
throw TypeError(tryToString(argument) + ' is not a function');
2810
};
2811
2812
},{"../internals/global":104,"../internals/is-callable":114,"../internals/try-to-string":162}],58:[function(require,module,exports){
2813
var global = require('../internals/global');
2814
var isCallable = require('../internals/is-callable');
2815
2816
var String = global.String;
2817
var TypeError = global.TypeError;
2818
2819
module.exports = function (argument) {
2820
if (typeof argument == 'object' || isCallable(argument)) return argument;
2821
throw TypeError("Can't set " + String(argument) + ' as a prototype');
2822
};
2823
2824
},{"../internals/global":104,"../internals/is-callable":114}],59:[function(require,module,exports){
2825
module.exports = function () { /* empty */ };
2826
2827
},{}],60:[function(require,module,exports){
2828
var global = require('../internals/global');
2829
var isObject = require('../internals/is-object');
2830
2831
var String = global.String;
2832
var TypeError = global.TypeError;
2833
2834
// `Assert: Type(argument) is Object`
2835
module.exports = function (argument) {
2836
if (isObject(argument)) return argument;
2837
throw TypeError(String(argument) + ' is not an object');
2838
};
2839
2840
},{"../internals/global":104,"../internals/is-object":117}],61:[function(require,module,exports){
2841
'use strict';
2842
var $forEach = require('../internals/array-iteration').forEach;
2843
var arrayMethodIsStrict = require('../internals/array-method-is-strict');
2844
2845
var STRICT_METHOD = arrayMethodIsStrict('forEach');
2846
2847
// `Array.prototype.forEach` method implementation
2848
// https://tc39.es/ecma262/#sec-array.prototype.foreach
2849
module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
2850
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
2851
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
2852
} : [].forEach;
2853
2854
},{"../internals/array-iteration":64,"../internals/array-method-is-strict":66}],62:[function(require,module,exports){
2855
'use strict';
2856
var global = require('../internals/global');
2857
var bind = require('../internals/function-bind-context');
2858
var call = require('../internals/function-call');
2859
var toObject = require('../internals/to-object');
2860
var callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');
2861
var isArrayIteratorMethod = require('../internals/is-array-iterator-method');
2862
var isConstructor = require('../internals/is-constructor');
2863
var lengthOfArrayLike = require('../internals/length-of-array-like');
2864
var createProperty = require('../internals/create-property');
2865
var getIterator = require('../internals/get-iterator');
2866
var getIteratorMethod = require('../internals/get-iterator-method');
2867
2868
var Array = global.Array;
2869
2870
// `Array.from` method implementation
2871
// https://tc39.es/ecma262/#sec-array.from
2872
module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
2873
var O = toObject(arrayLike);
2874
var IS_CONSTRUCTOR = isConstructor(this);
2875
var argumentsLength = arguments.length;
2876
var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
2877
var mapping = mapfn !== undefined;
2878
if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
2879
var iteratorMethod = getIteratorMethod(O);
2880
var index = 0;
2881
var length, result, step, iterator, next, value;
2882
// if the target is not iterable or it's an array with the default iterator - use a simple case
2883
if (iteratorMethod && !(this == Array && isArrayIteratorMethod(iteratorMethod))) {
2884
iterator = getIterator(O, iteratorMethod);
2885
next = iterator.next;
2886
result = IS_CONSTRUCTOR ? new this() : [];
2887
for (;!(step = call(next, iterator)).done; index++) {
2888
value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
2889
createProperty(result, index, value);
2890
}
2891
} else {
2892
length = lengthOfArrayLike(O);
2893
result = IS_CONSTRUCTOR ? new this(length) : Array(length);
2894
for (;length > index; index++) {
2895
value = mapping ? mapfn(O[index], index) : O[index];
2896
createProperty(result, index, value);
2897
}
2898
}
2899
result.length = index;
2900
return result;
2901
};
2902
2903
},{"../internals/call-with-safe-iteration-closing":72,"../internals/create-property":80,"../internals/function-bind-context":96,"../internals/function-call":97,"../internals/get-iterator":102,"../internals/get-iterator-method":101,"../internals/global":104,"../internals/is-array-iterator-method":112,"../internals/is-constructor":115,"../internals/length-of-array-like":123,"../internals/to-object":157}],63:[function(require,module,exports){
2904
var toIndexedObject = require('../internals/to-indexed-object');
2905
var toAbsoluteIndex = require('../internals/to-absolute-index');
2906
var lengthOfArrayLike = require('../internals/length-of-array-like');
2907
2908
// `Array.prototype.{ indexOf, includes }` methods implementation
2909
var createMethod = function (IS_INCLUDES) {
2910
return function ($this, el, fromIndex) {
2911
var O = toIndexedObject($this);
2912
var length = lengthOfArrayLike(O);
2913
var index = toAbsoluteIndex(fromIndex, length);
2914
var value;
2915
// Array#includes uses SameValueZero equality algorithm
2916
// eslint-disable-next-line no-self-compare -- NaN check
2917
if (IS_INCLUDES && el != el) while (length > index) {
2918
value = O[index++];
2919
// eslint-disable-next-line no-self-compare -- NaN check
2920
if (value != value) return true;
2921
// Array#indexOf ignores holes, Array#includes - not
2922
} else for (;length > index; index++) {
2923
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
2924
} return !IS_INCLUDES && -1;
2925
};
2926
};
2927
2928
module.exports = {
2929
// `Array.prototype.includes` method
2930
// https://tc39.es/ecma262/#sec-array.prototype.includes
2931
includes: createMethod(true),
2932
// `Array.prototype.indexOf` method
2933
// https://tc39.es/ecma262/#sec-array.prototype.indexof
2934
indexOf: createMethod(false)
2935
};
2936
2937
},{"../internals/length-of-array-like":123,"../internals/to-absolute-index":153,"../internals/to-indexed-object":154}],64:[function(require,module,exports){
2938
var bind = require('../internals/function-bind-context');
2939
var uncurryThis = require('../internals/function-uncurry-this');
2940
var IndexedObject = require('../internals/indexed-object');
2941
var toObject = require('../internals/to-object');
2942
var lengthOfArrayLike = require('../internals/length-of-array-like');
2943
var arraySpeciesCreate = require('../internals/array-species-create');
2944
2945
var push = uncurryThis([].push);
2946
2947
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
2948
var createMethod = function (TYPE) {
2949
var IS_MAP = TYPE == 1;
2950
var IS_FILTER = TYPE == 2;
2951
var IS_SOME = TYPE == 3;
2952
var IS_EVERY = TYPE == 4;
2953
var IS_FIND_INDEX = TYPE == 6;
2954
var IS_FILTER_REJECT = TYPE == 7;
2955
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
2956
return function ($this, callbackfn, that, specificCreate) {
2957
var O = toObject($this);
2958
var self = IndexedObject(O);
2959
var boundFunction = bind(callbackfn, that);
2960
var length = lengthOfArrayLike(self);
2961
var index = 0;
2962
var create = specificCreate || arraySpeciesCreate;
2963
var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
2964
var value, result;
2965
for (;length > index; index++) if (NO_HOLES || index in self) {
2966
value = self[index];
2967
result = boundFunction(value, index, O);
2968
if (TYPE) {
2969
if (IS_MAP) target[index] = result; // map
2970
else if (result) switch (TYPE) {
2971
case 3: return true; // some
2972
case 5: return value; // find
2973
case 6: return index; // findIndex
2974
case 2: push(target, value); // filter
2975
} else switch (TYPE) {
2976
case 4: return false; // every
2977
case 7: push(target, value); // filterReject
2978
}
2979
}
2980
}
2981
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
2982
};
2983
};
2984
2985
module.exports = {
2986
// `Array.prototype.forEach` method
2987
// https://tc39.es/ecma262/#sec-array.prototype.foreach
2988
forEach: createMethod(0),
2989
// `Array.prototype.map` method
2990
// https://tc39.es/ecma262/#sec-array.prototype.map
2991
map: createMethod(1),
2992
// `Array.prototype.filter` method
2993
// https://tc39.es/ecma262/#sec-array.prototype.filter
2994
filter: createMethod(2),
2995
// `Array.prototype.some` method
2996
// https://tc39.es/ecma262/#sec-array.prototype.some
2997
some: createMethod(3),
2998
// `Array.prototype.every` method
2999
// https://tc39.es/ecma262/#sec-array.prototype.every
3000
every: createMethod(4),
3001
// `Array.prototype.find` method
3002
// https://tc39.es/ecma262/#sec-array.prototype.find
3003
find: createMethod(5),
3004
// `Array.prototype.findIndex` method
3005
// https://tc39.es/ecma262/#sec-array.prototype.findIndex
3006
findIndex: createMethod(6),
3007
// `Array.prototype.filterReject` method
3008
// https://github.com/tc39/proposal-array-filtering
3009
filterReject: createMethod(7)
3010
};
3011
3012
},{"../internals/array-species-create":71,"../internals/function-bind-context":96,"../internals/function-uncurry-this":99,"../internals/indexed-object":109,"../internals/length-of-array-like":123,"../internals/to-object":157}],65:[function(require,module,exports){
3013
var fails = require('../internals/fails');
3014
var wellKnownSymbol = require('../internals/well-known-symbol');
3015
var V8_VERSION = require('../internals/engine-v8-version');
3016
3017
var SPECIES = wellKnownSymbol('species');
3018
3019
module.exports = function (METHOD_NAME) {
3020
// We can't use this feature detection in V8 since it causes
3021
// deoptimization and serious performance degradation
3022
// https://github.com/zloirock/core-js/issues/677
3023
return V8_VERSION >= 51 || !fails(function () {
3024
var array = [];
3025
var constructor = array.constructor = {};
3026
constructor[SPECIES] = function () {
3027
return { foo: 1 };
3028
};
3029
return array[METHOD_NAME](Boolean).foo !== 1;
3030
});
3031
};
3032
3033
},{"../internals/engine-v8-version":89,"../internals/fails":94,"../internals/well-known-symbol":166}],66:[function(require,module,exports){
3034
'use strict';
3035
var fails = require('../internals/fails');
3036
3037
module.exports = function (METHOD_NAME, argument) {
3038
var method = [][METHOD_NAME];
3039
return !!method && fails(function () {
3040
// eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
3041
method.call(null, argument || function () { throw 1; }, 1);
3042
});
3043
};
3044
3045
},{"../internals/fails":94}],67:[function(require,module,exports){
3046
var global = require('../internals/global');
3047
var toAbsoluteIndex = require('../internals/to-absolute-index');
3048
var lengthOfArrayLike = require('../internals/length-of-array-like');
3049
var createProperty = require('../internals/create-property');
3050
3051
var Array = global.Array;
3052
var max = Math.max;
3053
3054
module.exports = function (O, start, end) {
3055
var length = lengthOfArrayLike(O);
3056
var k = toAbsoluteIndex(start, length);
3057
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
3058
var result = Array(max(fin - k, 0));
3059
for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);
3060
result.length = n;
3061
return result;
3062
};
3063
3064
},{"../internals/create-property":80,"../internals/global":104,"../internals/length-of-array-like":123,"../internals/to-absolute-index":153}],68:[function(require,module,exports){
3065
var uncurryThis = require('../internals/function-uncurry-this');
3066
3067
module.exports = uncurryThis([].slice);
3068
3069
},{"../internals/function-uncurry-this":99}],69:[function(require,module,exports){
3070
var arraySlice = require('../internals/array-slice-simple');
3071
3072
var floor = Math.floor;
3073
3074
var mergeSort = function (array, comparefn) {
3075
var length = array.length;
3076
var middle = floor(length / 2);
3077
return length < 8 ? insertionSort(array, comparefn) : merge(
3078
array,
3079
mergeSort(arraySlice(array, 0, middle), comparefn),
3080
mergeSort(arraySlice(array, middle), comparefn),
3081
comparefn
3082
);
3083
};
3084
3085
var insertionSort = function (array, comparefn) {
3086
var length = array.length;
3087
var i = 1;
3088
var element, j;
3089
3090
while (i < length) {
3091
j = i;
3092
element = array[i];
3093
while (j && comparefn(array[j - 1], element) > 0) {
3094
array[j] = array[--j];
3095
}
3096
if (j !== i++) array[j] = element;
3097
} return array;
3098
};
3099
3100
var merge = function (array, left, right, comparefn) {
3101
var llength = left.length;
3102
var rlength = right.length;
3103
var lindex = 0;
3104
var rindex = 0;
3105
3106
while (lindex < llength || rindex < rlength) {
3107
array[lindex + rindex] = (lindex < llength && rindex < rlength)
3108
? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
3109
: lindex < llength ? left[lindex++] : right[rindex++];
3110
} return array;
3111
};
3112
3113
module.exports = mergeSort;
3114
3115
},{"../internals/array-slice-simple":67}],70:[function(require,module,exports){
3116
var global = require('../internals/global');
3117
var isArray = require('../internals/is-array');
3118
var isConstructor = require('../internals/is-constructor');
3119
var isObject = require('../internals/is-object');
3120
var wellKnownSymbol = require('../internals/well-known-symbol');
3121
3122
var SPECIES = wellKnownSymbol('species');
3123
var Array = global.Array;
3124
3125
// a part of `ArraySpeciesCreate` abstract operation
3126
// https://tc39.es/ecma262/#sec-arrayspeciescreate
3127
module.exports = function (originalArray) {
3128
var C;
3129
if (isArray(originalArray)) {
3130
C = originalArray.constructor;
3131
// cross-realm fallback
3132
if (isConstructor(C) && (C === Array || isArray(C.prototype))) C = undefined;
3133
else if (isObject(C)) {
3134
C = C[SPECIES];
3135
if (C === null) C = undefined;
3136
}
3137
} return C === undefined ? Array : C;
3138
};
3139
3140
},{"../internals/global":104,"../internals/is-array":113,"../internals/is-constructor":115,"../internals/is-object":117,"../internals/well-known-symbol":166}],71:[function(require,module,exports){
3141
var arraySpeciesConstructor = require('../internals/array-species-constructor');
3142
3143
// `ArraySpeciesCreate` abstract operation
3144
// https://tc39.es/ecma262/#sec-arrayspeciescreate
3145
module.exports = function (originalArray, length) {
3146
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
3147
};
3148
3149
},{"../internals/array-species-constructor":70}],72:[function(require,module,exports){
3150
var anObject = require('../internals/an-object');
3151
var iteratorClose = require('../internals/iterator-close');
3152
3153
// call something on iterator step with safe closing on error
3154
module.exports = function (iterator, fn, value, ENTRIES) {
3155
try {
3156
return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
3157
} catch (error) {
3158
iteratorClose(iterator, 'throw', error);
3159
}
3160
};
3161
3162
},{"../internals/an-object":60,"../internals/iterator-close":120}],73:[function(require,module,exports){
3163
var wellKnownSymbol = require('../internals/well-known-symbol');
3164
3165
var ITERATOR = wellKnownSymbol('iterator');
3166
var SAFE_CLOSING = false;
3167
3168
try {
3169
var called = 0;
3170
var iteratorWithReturn = {
3171
next: function () {
3172
return { done: !!called++ };
3173
},
3174
'return': function () {
3175
SAFE_CLOSING = true;
3176
}
3177
};
3178
iteratorWithReturn[ITERATOR] = function () {
3179
return this;
3180
};
3181
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
3182
Array.from(iteratorWithReturn, function () { throw 2; });
3183
} catch (error) { /* empty */ }
3184
3185
module.exports = function (exec, SKIP_CLOSING) {
3186
if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
3187
var ITERATION_SUPPORT = false;
3188
try {
3189
var object = {};
3190
object[ITERATOR] = function () {
3191
return {
3192
next: function () {
3193
return { done: ITERATION_SUPPORT = true };
3194
}
3195
};
3196
};
3197
exec(object);
3198
} catch (error) { /* empty */ }
3199
return ITERATION_SUPPORT;
3200
};
3201
3202
},{"../internals/well-known-symbol":166}],74:[function(require,module,exports){
3203
var uncurryThis = require('../internals/function-uncurry-this');
3204
3205
var toString = uncurryThis({}.toString);
3206
var stringSlice = uncurryThis(''.slice);
3207
3208
module.exports = function (it) {
3209
return stringSlice(toString(it), 8, -1);
3210
};
3211
3212
},{"../internals/function-uncurry-this":99}],75:[function(require,module,exports){
3213
var global = require('../internals/global');
3214
var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');
3215
var isCallable = require('../internals/is-callable');
3216
var classofRaw = require('../internals/classof-raw');
3217
var wellKnownSymbol = require('../internals/well-known-symbol');
3218
3219
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
3220
var Object = global.Object;
3221
3222
// ES3 wrong here
3223
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
3224
3225
// fallback for IE11 Script Access Denied error
3226
var tryGet = function (it, key) {
3227
try {
3228
return it[key];
3229
} catch (error) { /* empty */ }
3230
};
3231
3232
// getting tag from ES6+ `Object.prototype.toString`
3233
module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
3234
var O, tag, result;
3235
return it === undefined ? 'Undefined' : it === null ? 'Null'
3236
// @@toStringTag case
3237
: typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
3238
// builtinTag case
3239
: CORRECT_ARGUMENTS ? classofRaw(O)
3240
// ES3 arguments fallback
3241
: (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
3242
};
3243
3244
},{"../internals/classof-raw":74,"../internals/global":104,"../internals/is-callable":114,"../internals/to-string-tag-support":160,"../internals/well-known-symbol":166}],76:[function(require,module,exports){
3245
var fails = require('../internals/fails');
3246
3247
module.exports = !fails(function () {
3248
function F() { /* empty */ }
3249
F.prototype.constructor = null;
3250
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
3251
return Object.getPrototypeOf(new F()) !== F.prototype;
3252
});
3253
3254
},{"../internals/fails":94}],77:[function(require,module,exports){
3255
'use strict';
3256
var IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;
3257
var create = require('../internals/object-create');
3258
var createPropertyDescriptor = require('../internals/create-property-descriptor');
3259
var setToStringTag = require('../internals/set-to-string-tag');
3260
var Iterators = require('../internals/iterators');
3261
3262
var returnThis = function () { return this; };
3263
3264
module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
3265
var TO_STRING_TAG = NAME + ' Iterator';
3266
IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
3267
setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
3268
Iterators[TO_STRING_TAG] = returnThis;
3269
return IteratorConstructor;
3270
};
3271
3272
},{"../internals/create-property-descriptor":79,"../internals/iterators":122,"../internals/iterators-core":121,"../internals/object-create":127,"../internals/set-to-string-tag":147}],78:[function(require,module,exports){
3273
var DESCRIPTORS = require('../internals/descriptors');
3274
var definePropertyModule = require('../internals/object-define-property');
3275
var createPropertyDescriptor = require('../internals/create-property-descriptor');
3276
3277
module.exports = DESCRIPTORS ? function (object, key, value) {
3278
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
3279
} : function (object, key, value) {
3280
object[key] = value;
3281
return object;
3282
};
3283
3284
},{"../internals/create-property-descriptor":79,"../internals/descriptors":83,"../internals/object-define-property":129}],79:[function(require,module,exports){
3285
module.exports = function (bitmap, value) {
3286
return {
3287
enumerable: !(bitmap & 1),
3288
configurable: !(bitmap & 2),
3289
writable: !(bitmap & 4),
3290
value: value
3291
};
3292
};
3293
3294
},{}],80:[function(require,module,exports){
3295
'use strict';
3296
var toPropertyKey = require('../internals/to-property-key');
3297
var definePropertyModule = require('../internals/object-define-property');
3298
var createPropertyDescriptor = require('../internals/create-property-descriptor');
3299
3300
module.exports = function (object, key, value) {
3301
var propertyKey = toPropertyKey(key);
3302
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
3303
else object[propertyKey] = value;
3304
};
3305
3306
},{"../internals/create-property-descriptor":79,"../internals/object-define-property":129,"../internals/to-property-key":159}],81:[function(require,module,exports){
3307
'use strict';
3308
var $ = require('../internals/export');
3309
var call = require('../internals/function-call');
3310
var IS_PURE = require('../internals/is-pure');
3311
var FunctionName = require('../internals/function-name');
3312
var isCallable = require('../internals/is-callable');
3313
var createIteratorConstructor = require('../internals/create-iterator-constructor');
3314
var getPrototypeOf = require('../internals/object-get-prototype-of');
3315
var setPrototypeOf = require('../internals/object-set-prototype-of');
3316
var setToStringTag = require('../internals/set-to-string-tag');
3317
var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
3318
var redefine = require('../internals/redefine');
3319
var wellKnownSymbol = require('../internals/well-known-symbol');
3320
var Iterators = require('../internals/iterators');
3321
var IteratorsCore = require('../internals/iterators-core');
3322
3323
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
3324
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
3325
var IteratorPrototype = IteratorsCore.IteratorPrototype;
3326
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
3327
var ITERATOR = wellKnownSymbol('iterator');
3328
var KEYS = 'keys';
3329
var VALUES = 'values';
3330
var ENTRIES = 'entries';
3331
3332
var returnThis = function () { return this; };
3333
3334
module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
3335
createIteratorConstructor(IteratorConstructor, NAME, next);
3336
3337
var getIterationMethod = function (KIND) {
3338
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
3339
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
3340
switch (KIND) {
3341
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
3342
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
3343
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
3344
} return function () { return new IteratorConstructor(this); };
3345
};
3346
3347
var TO_STRING_TAG = NAME + ' Iterator';
3348
var INCORRECT_VALUES_NAME = false;
3349
var IterablePrototype = Iterable.prototype;
3350
var nativeIterator = IterablePrototype[ITERATOR]
3351
|| IterablePrototype['@@iterator']
3352
|| DEFAULT && IterablePrototype[DEFAULT];
3353
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
3354
var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
3355
var CurrentIteratorPrototype, methods, KEY;
3356
3357
// fix native
3358
if (anyNativeIterator) {
3359
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
3360
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
3361
if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
3362
if (setPrototypeOf) {
3363
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
3364
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {
3365
redefine(CurrentIteratorPrototype, ITERATOR, returnThis);
3366
}
3367
}
3368
// Set @@toStringTag to native iterators
3369
setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
3370
if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;
3371
}
3372
}
3373
3374
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
3375
if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
3376
if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {
3377
createNonEnumerableProperty(IterablePrototype, 'name', VALUES);
3378
} else {
3379
INCORRECT_VALUES_NAME = true;
3380
defaultIterator = function values() { return call(nativeIterator, this); };
3381
}
3382
}
3383
3384
// export additional methods
3385
if (DEFAULT) {
3386
methods = {
3387
values: getIterationMethod(VALUES),
3388
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
3389
entries: getIterationMethod(ENTRIES)
3390
};
3391
if (FORCED) for (KEY in methods) {
3392
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
3393
redefine(IterablePrototype, KEY, methods[KEY]);
3394
}
3395
} else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
3396
}
3397
3398
// define iterator
3399
if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
3400
redefine(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });
3401
}
3402
Iterators[NAME] = defaultIterator;
3403
3404
return methods;
3405
};
3406
3407
},{"../internals/create-iterator-constructor":77,"../internals/create-non-enumerable-property":78,"../internals/export":93,"../internals/function-call":97,"../internals/function-name":98,"../internals/is-callable":114,"../internals/is-pure":118,"../internals/iterators":122,"../internals/iterators-core":121,"../internals/object-get-prototype-of":134,"../internals/object-set-prototype-of":139,"../internals/redefine":143,"../internals/set-to-string-tag":147,"../internals/well-known-symbol":166}],82:[function(require,module,exports){
3408
var path = require('../internals/path');
3409
var hasOwn = require('../internals/has-own-property');
3410
var wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');
3411
var defineProperty = require('../internals/object-define-property').f;
3412
3413
module.exports = function (NAME) {
3414
var Symbol = path.Symbol || (path.Symbol = {});
3415
if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {
3416
value: wrappedWellKnownSymbolModule.f(NAME)
3417
});
3418
};
3419
3420
},{"../internals/has-own-property":105,"../internals/object-define-property":129,"../internals/path":142,"../internals/well-known-symbol-wrapped":165}],83:[function(require,module,exports){
3421
var fails = require('../internals/fails');
3422
3423
// Detect IE8's incomplete defineProperty implementation
3424
module.exports = !fails(function () {
3425
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
3426
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
3427
});
3428
3429
},{"../internals/fails":94}],84:[function(require,module,exports){
3430
var global = require('../internals/global');
3431
var isObject = require('../internals/is-object');
3432
3433
var document = global.document;
3434
// typeof document.createElement is 'object' in old IE
3435
var EXISTS = isObject(document) && isObject(document.createElement);
3436
3437
module.exports = function (it) {
3438
return EXISTS ? document.createElement(it) : {};
3439
};
3440
3441
},{"../internals/global":104,"../internals/is-object":117}],85:[function(require,module,exports){
3442
// iterable DOM collections
3443
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
3444
module.exports = {
3445
CSSRuleList: 0,
3446
CSSStyleDeclaration: 0,
3447
CSSValueList: 0,
3448
ClientRectList: 0,
3449
DOMRectList: 0,
3450
DOMStringList: 0,
3451
DOMTokenList: 1,
3452
DataTransferItemList: 0,
3453
FileList: 0,
3454
HTMLAllCollection: 0,
3455
HTMLCollection: 0,
3456
HTMLFormElement: 0,
3457
HTMLSelectElement: 0,
3458
MediaList: 0,
3459
MimeTypeArray: 0,
3460
NamedNodeMap: 0,
3461
NodeList: 1,
3462
PaintRequestList: 0,
3463
Plugin: 0,
3464
PluginArray: 0,
3465
SVGLengthList: 0,
3466
SVGNumberList: 0,
3467
SVGPathSegList: 0,
3468
SVGPointList: 0,
3469
SVGStringList: 0,
3470
SVGTransformList: 0,
3471
SourceBufferList: 0,
3472
StyleSheetList: 0,
3473
TextTrackCueList: 0,
3474
TextTrackList: 0,
3475
TouchList: 0
3476
};
3477
3478
},{}],86:[function(require,module,exports){
3479
var userAgent = require('../internals/engine-user-agent');
3480
3481
var firefox = userAgent.match(/firefox\/(\d+)/i);
3482
3483
module.exports = !!firefox && +firefox[1];
3484
3485
},{"../internals/engine-user-agent":88}],87:[function(require,module,exports){
3486
var UA = require('../internals/engine-user-agent');
3487
3488
module.exports = /MSIE|Trident/.test(UA);
3489
3490
},{"../internals/engine-user-agent":88}],88:[function(require,module,exports){
3491
var getBuiltIn = require('../internals/get-built-in');
3492
3493
module.exports = getBuiltIn('navigator', 'userAgent') || '';
3494
3495
},{"../internals/get-built-in":100}],89:[function(require,module,exports){
3496
var global = require('../internals/global');
3497
var userAgent = require('../internals/engine-user-agent');
3498
3499
var process = global.process;
3500
var Deno = global.Deno;
3501
var versions = process && process.versions || Deno && Deno.version;
3502
var v8 = versions && versions.v8;
3503
var match, version;
3504
3505
if (v8) {
3506
match = v8.split('.');
3507
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
3508
// but their correct versions are not interesting for us
3509
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
3510
}
3511
3512
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
3513
// so check `userAgent` even if `.v8` exists, but 0
3514
if (!version && userAgent) {
3515
match = userAgent.match(/Edge\/(\d+)/);
3516
if (!match || match[1] >= 74) {
3517
match = userAgent.match(/Chrome\/(\d+)/);
3518
if (match) version = +match[1];
3519
}
3520
}
3521
3522
module.exports = version;
3523
3524
},{"../internals/engine-user-agent":88,"../internals/global":104}],90:[function(require,module,exports){
3525
var userAgent = require('../internals/engine-user-agent');
3526
3527
var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
3528
3529
module.exports = !!webkit && +webkit[1];
3530
3531
},{"../internals/engine-user-agent":88}],91:[function(require,module,exports){
3532
var path = require('../internals/path');
3533
3534
module.exports = function (CONSTRUCTOR) {
3535
return path[CONSTRUCTOR + 'Prototype'];
3536
};
3537
3538
},{"../internals/path":142}],92:[function(require,module,exports){
3539
// IE8- don't enum bug keys
3540
module.exports = [
3541
'constructor',
3542
'hasOwnProperty',
3543
'isPrototypeOf',
3544
'propertyIsEnumerable',
3545
'toLocaleString',
3546
'toString',
3547
'valueOf'
3548
];
3549
3550
},{}],93:[function(require,module,exports){
3551
'use strict';
3552
var global = require('../internals/global');
3553
var apply = require('../internals/function-apply');
3554
var uncurryThis = require('../internals/function-uncurry-this');
3555
var isCallable = require('../internals/is-callable');
3556
var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;
3557
var isForced = require('../internals/is-forced');
3558
var path = require('../internals/path');
3559
var bind = require('../internals/function-bind-context');
3560
var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
3561
var hasOwn = require('../internals/has-own-property');
3562
3563
var wrapConstructor = function (NativeConstructor) {
3564
var Wrapper = function (a, b, c) {
3565
if (this instanceof Wrapper) {
3566
switch (arguments.length) {
3567
case 0: return new NativeConstructor();
3568
case 1: return new NativeConstructor(a);
3569
case 2: return new NativeConstructor(a, b);
3570
} return new NativeConstructor(a, b, c);
3571
} return apply(NativeConstructor, this, arguments);
3572
};
3573
Wrapper.prototype = NativeConstructor.prototype;
3574
return Wrapper;
3575
};
3576
3577
/*
3578
options.target - name of the target object
3579
options.global - target is the global object
3580
options.stat - export as static methods of target
3581
options.proto - export as prototype methods of target
3582
options.real - real prototype method for the `pure` version
3583
options.forced - export even if the native feature is available
3584
options.bind - bind methods to the target, required for the `pure` version
3585
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
3586
options.unsafe - use the simple assignment of property instead of delete + defineProperty
3587
options.sham - add a flag to not completely full polyfills
3588
options.enumerable - export as enumerable property
3589
options.noTargetGet - prevent calling a getter on target
3590
options.name - the .name of the function if it does not match the key
3591
*/
3592
module.exports = function (options, source) {
3593
var TARGET = options.target;
3594
var GLOBAL = options.global;
3595
var STATIC = options.stat;
3596
var PROTO = options.proto;
3597
3598
var nativeSource = GLOBAL ? global : STATIC ? global[TARGET] : (global[TARGET] || {}).prototype;
3599
3600
var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];
3601
var targetPrototype = target.prototype;
3602
3603
var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;
3604
var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
3605
3606
for (key in source) {
3607
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
3608
// contains in native
3609
USE_NATIVE = !FORCED && nativeSource && hasOwn(nativeSource, key);
3610
3611
targetProperty = target[key];
3612
3613
if (USE_NATIVE) if (options.noTargetGet) {
3614
descriptor = getOwnPropertyDescriptor(nativeSource, key);
3615
nativeProperty = descriptor && descriptor.value;
3616
} else nativeProperty = nativeSource[key];
3617
3618
// export native or implementation
3619
sourceProperty = (USE_NATIVE && nativeProperty) ? nativeProperty : source[key];
3620
3621
if (USE_NATIVE && typeof targetProperty == typeof sourceProperty) continue;
3622
3623
// bind timers to global for call from export context
3624
if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, global);
3625
// wrap global constructors for prevent changs in this version
3626
else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty);
3627
// make static versions for prototype methods
3628
else if (PROTO && isCallable(sourceProperty)) resultProperty = uncurryThis(sourceProperty);
3629
// default case
3630
else resultProperty = sourceProperty;
3631
3632
// add a flag to not completely full polyfills
3633
if (options.sham || (sourceProperty && sourceProperty.sham) || (targetProperty && targetProperty.sham)) {
3634
createNonEnumerableProperty(resultProperty, 'sham', true);
3635
}
3636
3637
createNonEnumerableProperty(target, key, resultProperty);
3638
3639
if (PROTO) {
3640
VIRTUAL_PROTOTYPE = TARGET + 'Prototype';
3641
if (!hasOwn(path, VIRTUAL_PROTOTYPE)) {
3642
createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {});
3643
}
3644
// export virtual prototype methods
3645
createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty);
3646
// export real prototype methods
3647
if (options.real && targetPrototype && !targetPrototype[key]) {
3648
createNonEnumerableProperty(targetPrototype, key, sourceProperty);
3649
}
3650
}
3651
}
3652
};
3653
3654
},{"../internals/create-non-enumerable-property":78,"../internals/function-apply":95,"../internals/function-bind-context":96,"../internals/function-uncurry-this":99,"../internals/global":104,"../internals/has-own-property":105,"../internals/is-callable":114,"../internals/is-forced":116,"../internals/object-get-own-property-descriptor":130,"../internals/path":142}],94:[function(require,module,exports){
3655
module.exports = function (exec) {
3656
try {
3657
return !!exec();
3658
} catch (error) {
3659
return true;
3660
}
3661
};
3662
3663
},{}],95:[function(require,module,exports){
3664
var FunctionPrototype = Function.prototype;
3665
var apply = FunctionPrototype.apply;
3666
var bind = FunctionPrototype.bind;
3667
var call = FunctionPrototype.call;
3668
3669
// eslint-disable-next-line es/no-reflect -- safe
3670
module.exports = typeof Reflect == 'object' && Reflect.apply || (bind ? call.bind(apply) : function () {
3671
return call.apply(apply, arguments);
3672
});
3673
3674
},{}],96:[function(require,module,exports){
3675
var uncurryThis = require('../internals/function-uncurry-this');
3676
var aCallable = require('../internals/a-callable');
3677
3678
var bind = uncurryThis(uncurryThis.bind);
3679
3680
// optional / simple context binding
3681
module.exports = function (fn, that) {
3682
aCallable(fn);
3683
return that === undefined ? fn : bind ? bind(fn, that) : function (/* ...args */) {
3684
return fn.apply(that, arguments);
3685
};
3686
};
3687
3688
},{"../internals/a-callable":57,"../internals/function-uncurry-this":99}],97:[function(require,module,exports){
3689
var call = Function.prototype.call;
3690
3691
module.exports = call.bind ? call.bind(call) : function () {
3692
return call.apply(call, arguments);
3693
};
3694
3695
},{}],98:[function(require,module,exports){
3696
var DESCRIPTORS = require('../internals/descriptors');
3697
var hasOwn = require('../internals/has-own-property');
3698
3699
var FunctionPrototype = Function.prototype;
3700
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3701
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
3702
3703
var EXISTS = hasOwn(FunctionPrototype, 'name');
3704
// additional protection from minified / mangled / dropped function names
3705
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
3706
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
3707
3708
module.exports = {
3709
EXISTS: EXISTS,
3710
PROPER: PROPER,
3711
CONFIGURABLE: CONFIGURABLE
3712
};
3713
3714
},{"../internals/descriptors":83,"../internals/has-own-property":105}],99:[function(require,module,exports){
3715
var FunctionPrototype = Function.prototype;
3716
var bind = FunctionPrototype.bind;
3717
var call = FunctionPrototype.call;
3718
var callBind = bind && bind.bind(call);
3719
3720
module.exports = bind ? function (fn) {
3721
return fn && callBind(call, fn);
3722
} : function (fn) {
3723
return fn && function () {
3724
return call.apply(fn, arguments);
3725
};
3726
};
3727
3728
},{}],100:[function(require,module,exports){
3729
var path = require('../internals/path');
3730
var global = require('../internals/global');
3731
var isCallable = require('../internals/is-callable');
3732
3733
var aFunction = function (variable) {
3734
return isCallable(variable) ? variable : undefined;
3735
};
3736
3737
module.exports = function (namespace, method) {
3738
return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])
3739
: path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
3740
};
3741
3742
},{"../internals/global":104,"../internals/is-callable":114,"../internals/path":142}],101:[function(require,module,exports){
3743
var classof = require('../internals/classof');
3744
var getMethod = require('../internals/get-method');
3745
var Iterators = require('../internals/iterators');
3746
var wellKnownSymbol = require('../internals/well-known-symbol');
3747
3748
var ITERATOR = wellKnownSymbol('iterator');
3749
3750
module.exports = function (it) {
3751
if (it != undefined) return getMethod(it, ITERATOR)
3752
|| getMethod(it, '@@iterator')
3753
|| Iterators[classof(it)];
3754
};
3755
3756
},{"../internals/classof":75,"../internals/get-method":103,"../internals/iterators":122,"../internals/well-known-symbol":166}],102:[function(require,module,exports){
3757
var global = require('../internals/global');
3758
var call = require('../internals/function-call');
3759
var aCallable = require('../internals/a-callable');
3760
var anObject = require('../internals/an-object');
3761
var tryToString = require('../internals/try-to-string');
3762
var getIteratorMethod = require('../internals/get-iterator-method');
3763
3764
var TypeError = global.TypeError;
3765
3766
module.exports = function (argument, usingIterator) {
3767
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
3768
if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
3769
throw TypeError(tryToString(argument) + ' is not iterable');
3770
};
3771
3772
},{"../internals/a-callable":57,"../internals/an-object":60,"../internals/function-call":97,"../internals/get-iterator-method":101,"../internals/global":104,"../internals/try-to-string":162}],103:[function(require,module,exports){
3773
var aCallable = require('../internals/a-callable');
3774
3775
// `GetMethod` abstract operation
3776
// https://tc39.es/ecma262/#sec-getmethod
3777
module.exports = function (V, P) {
3778
var func = V[P];
3779
return func == null ? undefined : aCallable(func);
3780
};
3781
3782
},{"../internals/a-callable":57}],104:[function(require,module,exports){
3783
(function (global){(function (){
3784
var check = function (it) {
3785
return it && it.Math == Math && it;
3786
};
3787
3788
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
3789
module.exports =
3790
// eslint-disable-next-line es/no-global-this -- safe
3791
check(typeof globalThis == 'object' && globalThis) ||
3792
check(typeof window == 'object' && window) ||
3793
// eslint-disable-next-line no-restricted-globals -- safe
3794
check(typeof self == 'object' && self) ||
3795
check(typeof global == 'object' && global) ||
3796
// eslint-disable-next-line no-new-func -- fallback
3797
(function () { return this; })() || Function('return this')();
3798
3799
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
3800
},{}],105:[function(require,module,exports){
3801
var uncurryThis = require('../internals/function-uncurry-this');
3802
var toObject = require('../internals/to-object');
3803
3804
var hasOwnProperty = uncurryThis({}.hasOwnProperty);
3805
3806
// `HasOwnProperty` abstract operation
3807
// https://tc39.es/ecma262/#sec-hasownproperty
3808
module.exports = Object.hasOwn || function hasOwn(it, key) {
3809
return hasOwnProperty(toObject(it), key);
3810
};
3811
3812
},{"../internals/function-uncurry-this":99,"../internals/to-object":157}],106:[function(require,module,exports){
3813
module.exports = {};
3814
3815
},{}],107:[function(require,module,exports){
3816
var getBuiltIn = require('../internals/get-built-in');
3817
3818
module.exports = getBuiltIn('document', 'documentElement');
3819
3820
},{"../internals/get-built-in":100}],108:[function(require,module,exports){
3821
var DESCRIPTORS = require('../internals/descriptors');
3822
var fails = require('../internals/fails');
3823
var createElement = require('../internals/document-create-element');
3824
3825
// Thank's IE8 for his funny defineProperty
3826
module.exports = !DESCRIPTORS && !fails(function () {
3827
// eslint-disable-next-line es/no-object-defineproperty -- requied for testing
3828
return Object.defineProperty(createElement('div'), 'a', {
3829
get: function () { return 7; }
3830
}).a != 7;
3831
});
3832
3833
},{"../internals/descriptors":83,"../internals/document-create-element":84,"../internals/fails":94}],109:[function(require,module,exports){
3834
var global = require('../internals/global');
3835
var uncurryThis = require('../internals/function-uncurry-this');
3836
var fails = require('../internals/fails');
3837
var classof = require('../internals/classof-raw');
3838
3839
var Object = global.Object;
3840
var split = uncurryThis(''.split);
3841
3842
// fallback for non-array-like ES3 and non-enumerable old V8 strings
3843
module.exports = fails(function () {
3844
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
3845
// eslint-disable-next-line no-prototype-builtins -- safe
3846
return !Object('z').propertyIsEnumerable(0);
3847
}) ? function (it) {
3848
return classof(it) == 'String' ? split(it, '') : Object(it);
3849
} : Object;
3850
3851
},{"../internals/classof-raw":74,"../internals/fails":94,"../internals/function-uncurry-this":99,"../internals/global":104}],110:[function(require,module,exports){
3852
var uncurryThis = require('../internals/function-uncurry-this');
3853
var isCallable = require('../internals/is-callable');
3854
var store = require('../internals/shared-store');
3855
3856
var functionToString = uncurryThis(Function.toString);
3857
3858
// this helper broken in `[email protected]`, so we can't use `shared` helper
3859
if (!isCallable(store.inspectSource)) {
3860
store.inspectSource = function (it) {
3861
return functionToString(it);
3862
};
3863
}
3864
3865
module.exports = store.inspectSource;
3866
3867
},{"../internals/function-uncurry-this":99,"../internals/is-callable":114,"../internals/shared-store":149}],111:[function(require,module,exports){
3868
var NATIVE_WEAK_MAP = require('../internals/native-weak-map');
3869
var global = require('../internals/global');
3870
var uncurryThis = require('../internals/function-uncurry-this');
3871
var isObject = require('../internals/is-object');
3872
var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
3873
var hasOwn = require('../internals/has-own-property');
3874
var shared = require('../internals/shared-store');
3875
var sharedKey = require('../internals/shared-key');
3876
var hiddenKeys = require('../internals/hidden-keys');
3877
3878
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
3879
var TypeError = global.TypeError;
3880
var WeakMap = global.WeakMap;
3881
var set, get, has;
3882
3883
var enforce = function (it) {
3884
return has(it) ? get(it) : set(it, {});
3885
};
3886
3887
var getterFor = function (TYPE) {
3888
return function (it) {
3889
var state;
3890
if (!isObject(it) || (state = get(it)).type !== TYPE) {
3891
throw TypeError('Incompatible receiver, ' + TYPE + ' required');
3892
} return state;
3893
};
3894
};
3895
3896
if (NATIVE_WEAK_MAP || shared.state) {
3897
var store = shared.state || (shared.state = new WeakMap());
3898
var wmget = uncurryThis(store.get);
3899
var wmhas = uncurryThis(store.has);
3900
var wmset = uncurryThis(store.set);
3901
set = function (it, metadata) {
3902
if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
3903
metadata.facade = it;
3904
wmset(store, it, metadata);
3905
return metadata;
3906
};
3907
get = function (it) {
3908
return wmget(store, it) || {};
3909
};
3910
has = function (it) {
3911
return wmhas(store, it);
3912
};
3913
} else {
3914
var STATE = sharedKey('state');
3915
hiddenKeys[STATE] = true;
3916
set = function (it, metadata) {
3917
if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
3918
metadata.facade = it;
3919
createNonEnumerableProperty(it, STATE, metadata);
3920
return metadata;
3921
};
3922
get = function (it) {
3923
return hasOwn(it, STATE) ? it[STATE] : {};
3924
};
3925
has = function (it) {
3926
return hasOwn(it, STATE);
3927
};
3928
}
3929
3930
module.exports = {
3931
set: set,
3932
get: get,
3933
has: has,
3934
enforce: enforce,
3935
getterFor: getterFor
3936
};
3937
3938
},{"../internals/create-non-enumerable-property":78,"../internals/function-uncurry-this":99,"../internals/global":104,"../internals/has-own-property":105,"../internals/hidden-keys":106,"../internals/is-object":117,"../internals/native-weak-map":125,"../internals/shared-key":148,"../internals/shared-store":149}],112:[function(require,module,exports){
3939
var wellKnownSymbol = require('../internals/well-known-symbol');
3940
var Iterators = require('../internals/iterators');
3941
3942
var ITERATOR = wellKnownSymbol('iterator');
3943
var ArrayPrototype = Array.prototype;
3944
3945
// check on default Array iterator
3946
module.exports = function (it) {
3947
return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
3948
};
3949
3950
},{"../internals/iterators":122,"../internals/well-known-symbol":166}],113:[function(require,module,exports){
3951
var classof = require('../internals/classof-raw');
3952
3953
// `IsArray` abstract operation
3954
// https://tc39.es/ecma262/#sec-isarray
3955
// eslint-disable-next-line es/no-array-isarray -- safe
3956
module.exports = Array.isArray || function isArray(argument) {
3957
return classof(argument) == 'Array';
3958
};
3959
3960
},{"../internals/classof-raw":74}],114:[function(require,module,exports){
3961
// `IsCallable` abstract operation
3962
// https://tc39.es/ecma262/#sec-iscallable
3963
module.exports = function (argument) {
3964
return typeof argument == 'function';
3965
};
3966
3967
},{}],115:[function(require,module,exports){
3968
var uncurryThis = require('../internals/function-uncurry-this');
3969
var fails = require('../internals/fails');
3970
var isCallable = require('../internals/is-callable');
3971
var classof = require('../internals/classof');
3972
var getBuiltIn = require('../internals/get-built-in');
3973
var inspectSource = require('../internals/inspect-source');
3974
3975
var noop = function () { /* empty */ };
3976
var empty = [];
3977
var construct = getBuiltIn('Reflect', 'construct');
3978
var constructorRegExp = /^\s*(?:class|function)\b/;
3979
var exec = uncurryThis(constructorRegExp.exec);
3980
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
3981
3982
var isConstructorModern = function isConstructor(argument) {
3983
if (!isCallable(argument)) return false;
3984
try {
3985
construct(noop, empty, argument);
3986
return true;
3987
} catch (error) {
3988
return false;
3989
}
3990
};
3991
3992
var isConstructorLegacy = function isConstructor(argument) {
3993
if (!isCallable(argument)) return false;
3994
switch (classof(argument)) {
3995
case 'AsyncFunction':
3996
case 'GeneratorFunction':
3997
case 'AsyncGeneratorFunction': return false;
3998
}
3999
try {
4000
// we can't check .prototype since constructors produced by .bind haven't it
4001
// `Function#toString` throws on some built-it function in some legacy engines
4002
// (for example, `DOMQuad` and similar in FF41-)
4003
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
4004
} catch (error) {
4005
return true;
4006
}
4007
};
4008
4009
isConstructorLegacy.sham = true;
4010
4011
// `IsConstructor` abstract operation
4012
// https://tc39.es/ecma262/#sec-isconstructor
4013
module.exports = !construct || fails(function () {
4014
var called;
4015
return isConstructorModern(isConstructorModern.call)
4016
|| !isConstructorModern(Object)
4017
|| !isConstructorModern(function () { called = true; })
4018
|| called;
4019
}) ? isConstructorLegacy : isConstructorModern;
4020
4021
},{"../internals/classof":75,"../internals/fails":94,"../internals/function-uncurry-this":99,"../internals/get-built-in":100,"../internals/inspect-source":110,"../internals/is-callable":114}],116:[function(require,module,exports){
4022
var fails = require('../internals/fails');
4023
var isCallable = require('../internals/is-callable');
4024
4025
var replacement = /#|\.prototype\./;
4026
4027
var isForced = function (feature, detection) {
4028
var value = data[normalize(feature)];
4029
return value == POLYFILL ? true
4030
: value == NATIVE ? false
4031
: isCallable(detection) ? fails(detection)
4032
: !!detection;
4033
};
4034
4035
var normalize = isForced.normalize = function (string) {
4036
return String(string).replace(replacement, '.').toLowerCase();
4037
};
4038
4039
var data = isForced.data = {};
4040
var NATIVE = isForced.NATIVE = 'N';
4041
var POLYFILL = isForced.POLYFILL = 'P';
4042
4043
module.exports = isForced;
4044
4045
},{"../internals/fails":94,"../internals/is-callable":114}],117:[function(require,module,exports){
4046
var isCallable = require('../internals/is-callable');
4047
4048
module.exports = function (it) {
4049
return typeof it == 'object' ? it !== null : isCallable(it);
4050
};
4051
4052
},{"../internals/is-callable":114}],118:[function(require,module,exports){
4053
module.exports = true;
4054
4055
},{}],119:[function(require,module,exports){
4056
var global = require('../internals/global');
4057
var getBuiltIn = require('../internals/get-built-in');
4058
var isCallable = require('../internals/is-callable');
4059
var isPrototypeOf = require('../internals/object-is-prototype-of');
4060
var USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');
4061
4062
var Object = global.Object;
4063
4064
module.exports = USE_SYMBOL_AS_UID ? function (it) {
4065
return typeof it == 'symbol';
4066
} : function (it) {
4067
var $Symbol = getBuiltIn('Symbol');
4068
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object(it));
4069
};
4070
4071
},{"../internals/get-built-in":100,"../internals/global":104,"../internals/is-callable":114,"../internals/object-is-prototype-of":135,"../internals/use-symbol-as-uid":164}],120:[function(require,module,exports){
4072
var call = require('../internals/function-call');
4073
var anObject = require('../internals/an-object');
4074
var getMethod = require('../internals/get-method');
4075
4076
module.exports = function (iterator, kind, value) {
4077
var innerResult, innerError;
4078
anObject(iterator);
4079
try {
4080
innerResult = getMethod(iterator, 'return');
4081
if (!innerResult) {
4082
if (kind === 'throw') throw value;
4083
return value;
4084
}
4085
innerResult = call(innerResult, iterator);
4086
} catch (error) {
4087
innerError = true;
4088
innerResult = error;
4089
}
4090
if (kind === 'throw') throw value;
4091
if (innerError) throw innerResult;
4092
anObject(innerResult);
4093
return value;
4094
};
4095
4096
},{"../internals/an-object":60,"../internals/function-call":97,"../internals/get-method":103}],121:[function(require,module,exports){
4097
'use strict';
4098
var fails = require('../internals/fails');
4099
var isCallable = require('../internals/is-callable');
4100
var create = require('../internals/object-create');
4101
var getPrototypeOf = require('../internals/object-get-prototype-of');
4102
var redefine = require('../internals/redefine');
4103
var wellKnownSymbol = require('../internals/well-known-symbol');
4104
var IS_PURE = require('../internals/is-pure');
4105
4106
var ITERATOR = wellKnownSymbol('iterator');
4107
var BUGGY_SAFARI_ITERATORS = false;
4108
4109
// `%IteratorPrototype%` object
4110
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
4111
var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
4112
4113
/* eslint-disable es/no-array-prototype-keys -- safe */
4114
if ([].keys) {
4115
arrayIterator = [].keys();
4116
// Safari 8 has buggy iterators w/o `next`
4117
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
4118
else {
4119
PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
4120
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
4121
}
4122
}
4123
4124
var NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () {
4125
var test = {};
4126
// FF44- legacy iterators case
4127
return IteratorPrototype[ITERATOR].call(test) !== test;
4128
});
4129
4130
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
4131
else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
4132
4133
// `%IteratorPrototype%[@@iterator]()` method
4134
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
4135
if (!isCallable(IteratorPrototype[ITERATOR])) {
4136
redefine(IteratorPrototype, ITERATOR, function () {
4137
return this;
4138
});
4139
}
4140
4141
module.exports = {
4142
IteratorPrototype: IteratorPrototype,
4143
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
4144
};
4145
4146
},{"../internals/fails":94,"../internals/is-callable":114,"../internals/is-pure":118,"../internals/object-create":127,"../internals/object-get-prototype-of":134,"../internals/redefine":143,"../internals/well-known-symbol":166}],122:[function(require,module,exports){
4147
arguments[4][106][0].apply(exports,arguments)
4148
},{"dup":106}],123:[function(require,module,exports){
4149
var toLength = require('../internals/to-length');
4150
4151
// `LengthOfArrayLike` abstract operation
4152
// https://tc39.es/ecma262/#sec-lengthofarraylike
4153
module.exports = function (obj) {
4154
return toLength(obj.length);
4155
};
4156
4157
},{"../internals/to-length":156}],124:[function(require,module,exports){
4158
/* eslint-disable es/no-symbol -- required for testing */
4159
var V8_VERSION = require('../internals/engine-v8-version');
4160
var fails = require('../internals/fails');
4161
4162
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
4163
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
4164
var symbol = Symbol();
4165
// Chrome 38 Symbol has incorrect toString conversion
4166
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
4167
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
4168
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
4169
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
4170
});
4171
4172
},{"../internals/engine-v8-version":89,"../internals/fails":94}],125:[function(require,module,exports){
4173
var global = require('../internals/global');
4174
var isCallable = require('../internals/is-callable');
4175
var inspectSource = require('../internals/inspect-source');
4176
4177
var WeakMap = global.WeakMap;
4178
4179
module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));
4180
4181
},{"../internals/global":104,"../internals/inspect-source":110,"../internals/is-callable":114}],126:[function(require,module,exports){
4182
var global = require('../internals/global');
4183
var fails = require('../internals/fails');
4184
var uncurryThis = require('../internals/function-uncurry-this');
4185
var toString = require('../internals/to-string');
4186
var trim = require('../internals/string-trim').trim;
4187
var whitespaces = require('../internals/whitespaces');
4188
4189
var $parseInt = global.parseInt;
4190
var Symbol = global.Symbol;
4191
var ITERATOR = Symbol && Symbol.iterator;
4192
var hex = /^[+-]?0x/i;
4193
var exec = uncurryThis(hex.exec);
4194
var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22
4195
// MS Edge 18- broken with boxed symbols
4196
|| (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));
4197
4198
// `parseInt` method
4199
// https://tc39.es/ecma262/#sec-parseint-string-radix
4200
module.exports = FORCED ? function parseInt(string, radix) {
4201
var S = trim(toString(string));
4202
return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
4203
} : $parseInt;
4204
4205
},{"../internals/fails":94,"../internals/function-uncurry-this":99,"../internals/global":104,"../internals/string-trim":152,"../internals/to-string":161,"../internals/whitespaces":167}],127:[function(require,module,exports){
4206
/* global ActiveXObject -- old IE, WSH */
4207
var anObject = require('../internals/an-object');
4208
var defineProperties = require('../internals/object-define-properties');
4209
var enumBugKeys = require('../internals/enum-bug-keys');
4210
var hiddenKeys = require('../internals/hidden-keys');
4211
var html = require('../internals/html');
4212
var documentCreateElement = require('../internals/document-create-element');
4213
var sharedKey = require('../internals/shared-key');
4214
4215
var GT = '>';
4216
var LT = '<';
4217
var PROTOTYPE = 'prototype';
4218
var SCRIPT = 'script';
4219
var IE_PROTO = sharedKey('IE_PROTO');
4220
4221
var EmptyConstructor = function () { /* empty */ };
4222
4223
var scriptTag = function (content) {
4224
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
4225
};
4226
4227
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
4228
var NullProtoObjectViaActiveX = function (activeXDocument) {
4229
activeXDocument.write(scriptTag(''));
4230
activeXDocument.close();
4231
var temp = activeXDocument.parentWindow.Object;
4232
activeXDocument = null; // avoid memory leak
4233
return temp;
4234
};
4235
4236
// Create object with fake `null` prototype: use iframe Object with cleared prototype
4237
var NullProtoObjectViaIFrame = function () {
4238
// Thrash, waste and sodomy: IE GC bug
4239
var iframe = documentCreateElement('iframe');
4240
var JS = 'java' + SCRIPT + ':';
4241
var iframeDocument;
4242
iframe.style.display = 'none';
4243
html.appendChild(iframe);
4244
// https://github.com/zloirock/core-js/issues/475
4245
iframe.src = String(JS);
4246
iframeDocument = iframe.contentWindow.document;
4247
iframeDocument.open();
4248
iframeDocument.write(scriptTag('document.F=Object'));
4249
iframeDocument.close();
4250
return iframeDocument.F;
4251
};
4252
4253
// Check for document.domain and active x support
4254
// No need to use active x approach when document.domain is not set
4255
// see https://github.com/es-shims/es5-shim/issues/150
4256
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
4257
// avoid IE GC bug
4258
var activeXDocument;
4259
var NullProtoObject = function () {
4260
try {
4261
activeXDocument = new ActiveXObject('htmlfile');
4262
} catch (error) { /* ignore */ }
4263
NullProtoObject = typeof document != 'undefined'
4264
? document.domain && activeXDocument
4265
? NullProtoObjectViaActiveX(activeXDocument) // old IE
4266
: NullProtoObjectViaIFrame()
4267
: NullProtoObjectViaActiveX(activeXDocument); // WSH
4268
var length = enumBugKeys.length;
4269
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
4270
return NullProtoObject();
4271
};
4272
4273
hiddenKeys[IE_PROTO] = true;
4274
4275
// `Object.create` method
4276
// https://tc39.es/ecma262/#sec-object.create
4277
module.exports = Object.create || function create(O, Properties) {
4278
var result;
4279
if (O !== null) {
4280
EmptyConstructor[PROTOTYPE] = anObject(O);
4281
result = new EmptyConstructor();
4282
EmptyConstructor[PROTOTYPE] = null;
4283
// add "__proto__" for Object.getPrototypeOf polyfill
4284
result[IE_PROTO] = O;
4285
} else result = NullProtoObject();
4286
return Properties === undefined ? result : defineProperties(result, Properties);
4287
};
4288
4289
},{"../internals/an-object":60,"../internals/document-create-element":84,"../internals/enum-bug-keys":92,"../internals/hidden-keys":106,"../internals/html":107,"../internals/object-define-properties":128,"../internals/shared-key":148}],128:[function(require,module,exports){
4290
var DESCRIPTORS = require('../internals/descriptors');
4291
var definePropertyModule = require('../internals/object-define-property');
4292
var anObject = require('../internals/an-object');
4293
var toIndexedObject = require('../internals/to-indexed-object');
4294
var objectKeys = require('../internals/object-keys');
4295
4296
// `Object.defineProperties` method
4297
// https://tc39.es/ecma262/#sec-object.defineproperties
4298
// eslint-disable-next-line es/no-object-defineproperties -- safe
4299
module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
4300
anObject(O);
4301
var props = toIndexedObject(Properties);
4302
var keys = objectKeys(Properties);
4303
var length = keys.length;
4304
var index = 0;
4305
var key;
4306
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
4307
return O;
4308
};
4309
4310
},{"../internals/an-object":60,"../internals/descriptors":83,"../internals/object-define-property":129,"../internals/object-keys":137,"../internals/to-indexed-object":154}],129:[function(require,module,exports){
4311
var global = require('../internals/global');
4312
var DESCRIPTORS = require('../internals/descriptors');
4313
var IE8_DOM_DEFINE = require('../internals/ie8-dom-define');
4314
var anObject = require('../internals/an-object');
4315
var toPropertyKey = require('../internals/to-property-key');
4316
4317
var TypeError = global.TypeError;
4318
// eslint-disable-next-line es/no-object-defineproperty -- safe
4319
var $defineProperty = Object.defineProperty;
4320
4321
// `Object.defineProperty` method
4322
// https://tc39.es/ecma262/#sec-object.defineproperty
4323
exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attributes) {
4324
anObject(O);
4325
P = toPropertyKey(P);
4326
anObject(Attributes);
4327
if (IE8_DOM_DEFINE) try {
4328
return $defineProperty(O, P, Attributes);
4329
} catch (error) { /* empty */ }
4330
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
4331
if ('value' in Attributes) O[P] = Attributes.value;
4332
return O;
4333
};
4334
4335
},{"../internals/an-object":60,"../internals/descriptors":83,"../internals/global":104,"../internals/ie8-dom-define":108,"../internals/to-property-key":159}],130:[function(require,module,exports){
4336
var DESCRIPTORS = require('../internals/descriptors');
4337
var call = require('../internals/function-call');
4338
var propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');
4339
var createPropertyDescriptor = require('../internals/create-property-descriptor');
4340
var toIndexedObject = require('../internals/to-indexed-object');
4341
var toPropertyKey = require('../internals/to-property-key');
4342
var hasOwn = require('../internals/has-own-property');
4343
var IE8_DOM_DEFINE = require('../internals/ie8-dom-define');
4344
4345
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
4346
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
4347
4348
// `Object.getOwnPropertyDescriptor` method
4349
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
4350
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
4351
O = toIndexedObject(O);
4352
P = toPropertyKey(P);
4353
if (IE8_DOM_DEFINE) try {
4354
return $getOwnPropertyDescriptor(O, P);
4355
} catch (error) { /* empty */ }
4356
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
4357
};
4358
4359
},{"../internals/create-property-descriptor":79,"../internals/descriptors":83,"../internals/function-call":97,"../internals/has-own-property":105,"../internals/ie8-dom-define":108,"../internals/object-property-is-enumerable":138,"../internals/to-indexed-object":154,"../internals/to-property-key":159}],131:[function(require,module,exports){
4360
/* eslint-disable es/no-object-getownpropertynames -- safe */
4361
var classof = require('../internals/classof-raw');
4362
var toIndexedObject = require('../internals/to-indexed-object');
4363
var $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;
4364
var arraySlice = require('../internals/array-slice-simple');
4365
4366
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
4367
? Object.getOwnPropertyNames(window) : [];
4368
4369
var getWindowNames = function (it) {
4370
try {
4371
return $getOwnPropertyNames(it);
4372
} catch (error) {
4373
return arraySlice(windowNames);
4374
}
4375
};
4376
4377
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
4378
module.exports.f = function getOwnPropertyNames(it) {
4379
return windowNames && classof(it) == 'Window'
4380
? getWindowNames(it)
4381
: $getOwnPropertyNames(toIndexedObject(it));
4382
};
4383
4384
},{"../internals/array-slice-simple":67,"../internals/classof-raw":74,"../internals/object-get-own-property-names":132,"../internals/to-indexed-object":154}],132:[function(require,module,exports){
4385
var internalObjectKeys = require('../internals/object-keys-internal');
4386
var enumBugKeys = require('../internals/enum-bug-keys');
4387
4388
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
4389
4390
// `Object.getOwnPropertyNames` method
4391
// https://tc39.es/ecma262/#sec-object.getownpropertynames
4392
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
4393
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
4394
return internalObjectKeys(O, hiddenKeys);
4395
};
4396
4397
},{"../internals/enum-bug-keys":92,"../internals/object-keys-internal":136}],133:[function(require,module,exports){
4398
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
4399
exports.f = Object.getOwnPropertySymbols;
4400
4401
},{}],134:[function(require,module,exports){
4402
var global = require('../internals/global');
4403
var hasOwn = require('../internals/has-own-property');
4404
var isCallable = require('../internals/is-callable');
4405
var toObject = require('../internals/to-object');
4406
var sharedKey = require('../internals/shared-key');
4407
var CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');
4408
4409
var IE_PROTO = sharedKey('IE_PROTO');
4410
var Object = global.Object;
4411
var ObjectPrototype = Object.prototype;
4412
4413
// `Object.getPrototypeOf` method
4414
// https://tc39.es/ecma262/#sec-object.getprototypeof
4415
module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {
4416
var object = toObject(O);
4417
if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
4418
var constructor = object.constructor;
4419
if (isCallable(constructor) && object instanceof constructor) {
4420
return constructor.prototype;
4421
} return object instanceof Object ? ObjectPrototype : null;
4422
};
4423
4424
},{"../internals/correct-prototype-getter":76,"../internals/global":104,"../internals/has-own-property":105,"../internals/is-callable":114,"../internals/shared-key":148,"../internals/to-object":157}],135:[function(require,module,exports){
4425
var uncurryThis = require('../internals/function-uncurry-this');
4426
4427
module.exports = uncurryThis({}.isPrototypeOf);
4428
4429
},{"../internals/function-uncurry-this":99}],136:[function(require,module,exports){
4430
var uncurryThis = require('../internals/function-uncurry-this');
4431
var hasOwn = require('../internals/has-own-property');
4432
var toIndexedObject = require('../internals/to-indexed-object');
4433
var indexOf = require('../internals/array-includes').indexOf;
4434
var hiddenKeys = require('../internals/hidden-keys');
4435
4436
var push = uncurryThis([].push);
4437
4438
module.exports = function (object, names) {
4439
var O = toIndexedObject(object);
4440
var i = 0;
4441
var result = [];
4442
var key;
4443
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
4444
// Don't enum bug & hidden keys
4445
while (names.length > i) if (hasOwn(O, key = names[i++])) {
4446
~indexOf(result, key) || push(result, key);
4447
}
4448
return result;
4449
};
4450
4451
},{"../internals/array-includes":63,"../internals/function-uncurry-this":99,"../internals/has-own-property":105,"../internals/hidden-keys":106,"../internals/to-indexed-object":154}],137:[function(require,module,exports){
4452
var internalObjectKeys = require('../internals/object-keys-internal');
4453
var enumBugKeys = require('../internals/enum-bug-keys');
4454
4455
// `Object.keys` method
4456
// https://tc39.es/ecma262/#sec-object.keys
4457
// eslint-disable-next-line es/no-object-keys -- safe
4458
module.exports = Object.keys || function keys(O) {
4459
return internalObjectKeys(O, enumBugKeys);
4460
};
4461
4462
},{"../internals/enum-bug-keys":92,"../internals/object-keys-internal":136}],138:[function(require,module,exports){
4463
'use strict';
4464
var $propertyIsEnumerable = {}.propertyIsEnumerable;
4465
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
4466
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
4467
4468
// Nashorn ~ JDK8 bug
4469
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
4470
4471
// `Object.prototype.propertyIsEnumerable` method implementation
4472
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
4473
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
4474
var descriptor = getOwnPropertyDescriptor(this, V);
4475
return !!descriptor && descriptor.enumerable;
4476
} : $propertyIsEnumerable;
4477
4478
},{}],139:[function(require,module,exports){
4479
/* eslint-disable no-proto -- safe */
4480
var uncurryThis = require('../internals/function-uncurry-this');
4481
var anObject = require('../internals/an-object');
4482
var aPossiblePrototype = require('../internals/a-possible-prototype');
4483
4484
// `Object.setPrototypeOf` method
4485
// https://tc39.es/ecma262/#sec-object.setprototypeof
4486
// Works with __proto__ only. Old v8 can't work with null proto objects.
4487
// eslint-disable-next-line es/no-object-setprototypeof -- safe
4488
module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
4489
var CORRECT_SETTER = false;
4490
var test = {};
4491
var setter;
4492
try {
4493
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
4494
setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
4495
setter(test, []);
4496
CORRECT_SETTER = test instanceof Array;
4497
} catch (error) { /* empty */ }
4498
return function setPrototypeOf(O, proto) {
4499
anObject(O);
4500
aPossiblePrototype(proto);
4501
if (CORRECT_SETTER) setter(O, proto);
4502
else O.__proto__ = proto;
4503
return O;
4504
};
4505
}() : undefined);
4506
4507
},{"../internals/a-possible-prototype":58,"../internals/an-object":60,"../internals/function-uncurry-this":99}],140:[function(require,module,exports){
4508
'use strict';
4509
var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');
4510
var classof = require('../internals/classof');
4511
4512
// `Object.prototype.toString` method implementation
4513
// https://tc39.es/ecma262/#sec-object.prototype.tostring
4514
module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
4515
return '[object ' + classof(this) + ']';
4516
};
4517
4518
},{"../internals/classof":75,"../internals/to-string-tag-support":160}],141:[function(require,module,exports){
4519
var global = require('../internals/global');
4520
var call = require('../internals/function-call');
4521
var isCallable = require('../internals/is-callable');
4522
var isObject = require('../internals/is-object');
4523
4524
var TypeError = global.TypeError;
4525
4526
// `OrdinaryToPrimitive` abstract operation
4527
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
4528
module.exports = function (input, pref) {
4529
var fn, val;
4530
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
4531
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
4532
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
4533
throw TypeError("Can't convert object to primitive value");
4534
};
4535
4536
},{"../internals/function-call":97,"../internals/global":104,"../internals/is-callable":114,"../internals/is-object":117}],142:[function(require,module,exports){
4537
arguments[4][106][0].apply(exports,arguments)
4538
},{"dup":106}],143:[function(require,module,exports){
4539
var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
4540
4541
module.exports = function (target, key, value, options) {
4542
if (options && options.enumerable) target[key] = value;
4543
else createNonEnumerableProperty(target, key, value);
4544
};
4545
4546
},{"../internals/create-non-enumerable-property":78}],144:[function(require,module,exports){
4547
'use strict';
4548
var anObject = require('../internals/an-object');
4549
4550
// `RegExp.prototype.flags` getter implementation
4551
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
4552
module.exports = function () {
4553
var that = anObject(this);
4554
var result = '';
4555
if (that.global) result += 'g';
4556
if (that.ignoreCase) result += 'i';
4557
if (that.multiline) result += 'm';
4558
if (that.dotAll) result += 's';
4559
if (that.unicode) result += 'u';
4560
if (that.sticky) result += 'y';
4561
return result;
4562
};
4563
4564
},{"../internals/an-object":60}],145:[function(require,module,exports){
4565
var global = require('../internals/global');
4566
4567
var TypeError = global.TypeError;
4568
4569
// `RequireObjectCoercible` abstract operation
4570
// https://tc39.es/ecma262/#sec-requireobjectcoercible
4571
module.exports = function (it) {
4572
if (it == undefined) throw TypeError("Can't call method on " + it);
4573
return it;
4574
};
4575
4576
},{"../internals/global":104}],146:[function(require,module,exports){
4577
var global = require('../internals/global');
4578
4579
// eslint-disable-next-line es/no-object-defineproperty -- safe
4580
var defineProperty = Object.defineProperty;
4581
4582
module.exports = function (key, value) {
4583
try {
4584
defineProperty(global, key, { value: value, configurable: true, writable: true });
4585
} catch (error) {
4586
global[key] = value;
4587
} return value;
4588
};
4589
4590
},{"../internals/global":104}],147:[function(require,module,exports){
4591
var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');
4592
var defineProperty = require('../internals/object-define-property').f;
4593
var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
4594
var hasOwn = require('../internals/has-own-property');
4595
var toString = require('../internals/object-to-string');
4596
var wellKnownSymbol = require('../internals/well-known-symbol');
4597
4598
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
4599
4600
module.exports = function (it, TAG, STATIC, SET_METHOD) {
4601
if (it) {
4602
var target = STATIC ? it : it.prototype;
4603
if (!hasOwn(target, TO_STRING_TAG)) {
4604
defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
4605
}
4606
if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {
4607
createNonEnumerableProperty(target, 'toString', toString);
4608
}
4609
}
4610
};
4611
4612
},{"../internals/create-non-enumerable-property":78,"../internals/has-own-property":105,"../internals/object-define-property":129,"../internals/object-to-string":140,"../internals/to-string-tag-support":160,"../internals/well-known-symbol":166}],148:[function(require,module,exports){
4613
var shared = require('../internals/shared');
4614
var uid = require('../internals/uid');
4615
4616
var keys = shared('keys');
4617
4618
module.exports = function (key) {
4619
return keys[key] || (keys[key] = uid(key));
4620
};
4621
4622
},{"../internals/shared":150,"../internals/uid":163}],149:[function(require,module,exports){
4623
var global = require('../internals/global');
4624
var setGlobal = require('../internals/set-global');
4625
4626
var SHARED = '__core-js_shared__';
4627
var store = global[SHARED] || setGlobal(SHARED, {});
4628
4629
module.exports = store;
4630
4631
},{"../internals/global":104,"../internals/set-global":146}],150:[function(require,module,exports){
4632
var IS_PURE = require('../internals/is-pure');
4633
var store = require('../internals/shared-store');
4634
4635
(module.exports = function (key, value) {
4636
return store[key] || (store[key] = value !== undefined ? value : {});
4637
})('versions', []).push({
4638
version: '3.20.0',
4639
mode: IS_PURE ? 'pure' : 'global',
4640
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
4641
});
4642
4643
},{"../internals/is-pure":118,"../internals/shared-store":149}],151:[function(require,module,exports){
4644
var uncurryThis = require('../internals/function-uncurry-this');
4645
var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');
4646
var toString = require('../internals/to-string');
4647
var requireObjectCoercible = require('../internals/require-object-coercible');
4648
4649
var charAt = uncurryThis(''.charAt);
4650
var charCodeAt = uncurryThis(''.charCodeAt);
4651
var stringSlice = uncurryThis(''.slice);
4652
4653
var createMethod = function (CONVERT_TO_STRING) {
4654
return function ($this, pos) {
4655
var S = toString(requireObjectCoercible($this));
4656
var position = toIntegerOrInfinity(pos);
4657
var size = S.length;
4658
var first, second;
4659
if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
4660
first = charCodeAt(S, position);
4661
return first < 0xD800 || first > 0xDBFF || position + 1 === size
4662
|| (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
4663
? CONVERT_TO_STRING
4664
? charAt(S, position)
4665
: first
4666
: CONVERT_TO_STRING
4667
? stringSlice(S, position, position + 2)
4668
: (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
4669
};
4670
};
4671
4672
module.exports = {
4673
// `String.prototype.codePointAt` method
4674
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
4675
codeAt: createMethod(false),
4676
// `String.prototype.at` method
4677
// https://github.com/mathiasbynens/String.prototype.at
4678
charAt: createMethod(true)
4679
};
4680
4681
},{"../internals/function-uncurry-this":99,"../internals/require-object-coercible":145,"../internals/to-integer-or-infinity":155,"../internals/to-string":161}],152:[function(require,module,exports){
4682
var uncurryThis = require('../internals/function-uncurry-this');
4683
var requireObjectCoercible = require('../internals/require-object-coercible');
4684
var toString = require('../internals/to-string');
4685
var whitespaces = require('../internals/whitespaces');
4686
4687
var replace = uncurryThis(''.replace);
4688
var whitespace = '[' + whitespaces + ']';
4689
var ltrim = RegExp('^' + whitespace + whitespace + '*');
4690
var rtrim = RegExp(whitespace + whitespace + '*$');
4691
4692
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
4693
var createMethod = function (TYPE) {
4694
return function ($this) {
4695
var string = toString(requireObjectCoercible($this));
4696
if (TYPE & 1) string = replace(string, ltrim, '');
4697
if (TYPE & 2) string = replace(string, rtrim, '');
4698
return string;
4699
};
4700
};
4701
4702
module.exports = {
4703
// `String.prototype.{ trimLeft, trimStart }` methods
4704
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
4705
start: createMethod(1),
4706
// `String.prototype.{ trimRight, trimEnd }` methods
4707
// https://tc39.es/ecma262/#sec-string.prototype.trimend
4708
end: createMethod(2),
4709
// `String.prototype.trim` method
4710
// https://tc39.es/ecma262/#sec-string.prototype.trim
4711
trim: createMethod(3)
4712
};
4713
4714
},{"../internals/function-uncurry-this":99,"../internals/require-object-coercible":145,"../internals/to-string":161,"../internals/whitespaces":167}],153:[function(require,module,exports){
4715
var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');
4716
4717
var max = Math.max;
4718
var min = Math.min;
4719
4720
// Helper for a popular repeating case of the spec:
4721
// Let integer be ? ToInteger(index).
4722
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
4723
module.exports = function (index, length) {
4724
var integer = toIntegerOrInfinity(index);
4725
return integer < 0 ? max(integer + length, 0) : min(integer, length);
4726
};
4727
4728
},{"../internals/to-integer-or-infinity":155}],154:[function(require,module,exports){
4729
// toObject with fallback for non-array-like ES3 strings
4730
var IndexedObject = require('../internals/indexed-object');
4731
var requireObjectCoercible = require('../internals/require-object-coercible');
4732
4733
module.exports = function (it) {
4734
return IndexedObject(requireObjectCoercible(it));
4735
};
4736
4737
},{"../internals/indexed-object":109,"../internals/require-object-coercible":145}],155:[function(require,module,exports){
4738
var ceil = Math.ceil;
4739
var floor = Math.floor;
4740
4741
// `ToIntegerOrInfinity` abstract operation
4742
// https://tc39.es/ecma262/#sec-tointegerorinfinity
4743
module.exports = function (argument) {
4744
var number = +argument;
4745
// eslint-disable-next-line no-self-compare -- safe
4746
return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
4747
};
4748
4749
},{}],156:[function(require,module,exports){
4750
var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');
4751
4752
var min = Math.min;
4753
4754
// `ToLength` abstract operation
4755
// https://tc39.es/ecma262/#sec-tolength
4756
module.exports = function (argument) {
4757
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
4758
};
4759
4760
},{"../internals/to-integer-or-infinity":155}],157:[function(require,module,exports){
4761
var global = require('../internals/global');
4762
var requireObjectCoercible = require('../internals/require-object-coercible');
4763
4764
var Object = global.Object;
4765
4766
// `ToObject` abstract operation
4767
// https://tc39.es/ecma262/#sec-toobject
4768
module.exports = function (argument) {
4769
return Object(requireObjectCoercible(argument));
4770
};
4771
4772
},{"../internals/global":104,"../internals/require-object-coercible":145}],158:[function(require,module,exports){
4773
var global = require('../internals/global');
4774
var call = require('../internals/function-call');
4775
var isObject = require('../internals/is-object');
4776
var isSymbol = require('../internals/is-symbol');
4777
var getMethod = require('../internals/get-method');
4778
var ordinaryToPrimitive = require('../internals/ordinary-to-primitive');
4779
var wellKnownSymbol = require('../internals/well-known-symbol');
4780
4781
var TypeError = global.TypeError;
4782
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
4783
4784
// `ToPrimitive` abstract operation
4785
// https://tc39.es/ecma262/#sec-toprimitive
4786
module.exports = function (input, pref) {
4787
if (!isObject(input) || isSymbol(input)) return input;
4788
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
4789
var result;
4790
if (exoticToPrim) {
4791
if (pref === undefined) pref = 'default';
4792
result = call(exoticToPrim, input, pref);
4793
if (!isObject(result) || isSymbol(result)) return result;
4794
throw TypeError("Can't convert object to primitive value");
4795
}
4796
if (pref === undefined) pref = 'number';
4797
return ordinaryToPrimitive(input, pref);
4798
};
4799
4800
},{"../internals/function-call":97,"../internals/get-method":103,"../internals/global":104,"../internals/is-object":117,"../internals/is-symbol":119,"../internals/ordinary-to-primitive":141,"../internals/well-known-symbol":166}],159:[function(require,module,exports){
4801
var toPrimitive = require('../internals/to-primitive');
4802
var isSymbol = require('../internals/is-symbol');
4803
4804
// `ToPropertyKey` abstract operation
4805
// https://tc39.es/ecma262/#sec-topropertykey
4806
module.exports = function (argument) {
4807
var key = toPrimitive(argument, 'string');
4808
return isSymbol(key) ? key : key + '';
4809
};
4810
4811
},{"../internals/is-symbol":119,"../internals/to-primitive":158}],160:[function(require,module,exports){
4812
var wellKnownSymbol = require('../internals/well-known-symbol');
4813
4814
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
4815
var test = {};
4816
4817
test[TO_STRING_TAG] = 'z';
4818
4819
module.exports = String(test) === '[object z]';
4820
4821
},{"../internals/well-known-symbol":166}],161:[function(require,module,exports){
4822
var global = require('../internals/global');
4823
var classof = require('../internals/classof');
4824
4825
var String = global.String;
4826
4827
module.exports = function (argument) {
4828
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
4829
return String(argument);
4830
};
4831
4832
},{"../internals/classof":75,"../internals/global":104}],162:[function(require,module,exports){
4833
var global = require('../internals/global');
4834
4835
var String = global.String;
4836
4837
module.exports = function (argument) {
4838
try {
4839
return String(argument);
4840
} catch (error) {
4841
return 'Object';
4842
}
4843
};
4844
4845
},{"../internals/global":104}],163:[function(require,module,exports){
4846
var uncurryThis = require('../internals/function-uncurry-this');
4847
4848
var id = 0;
4849
var postfix = Math.random();
4850
var toString = uncurryThis(1.0.toString);
4851
4852
module.exports = function (key) {
4853
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
4854
};
4855
4856
},{"../internals/function-uncurry-this":99}],164:[function(require,module,exports){
4857
/* eslint-disable es/no-symbol -- required for testing */
4858
var NATIVE_SYMBOL = require('../internals/native-symbol');
4859
4860
module.exports = NATIVE_SYMBOL
4861
&& !Symbol.sham
4862
&& typeof Symbol.iterator == 'symbol';
4863
4864
},{"../internals/native-symbol":124}],165:[function(require,module,exports){
4865
var wellKnownSymbol = require('../internals/well-known-symbol');
4866
4867
exports.f = wellKnownSymbol;
4868
4869
},{"../internals/well-known-symbol":166}],166:[function(require,module,exports){
4870
var global = require('../internals/global');
4871
var shared = require('../internals/shared');
4872
var hasOwn = require('../internals/has-own-property');
4873
var uid = require('../internals/uid');
4874
var NATIVE_SYMBOL = require('../internals/native-symbol');
4875
var USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');
4876
4877
var WellKnownSymbolsStore = shared('wks');
4878
var Symbol = global.Symbol;
4879
var symbolFor = Symbol && Symbol['for'];
4880
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
4881
4882
module.exports = function (name) {
4883
if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
4884
var description = 'Symbol.' + name;
4885
if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {
4886
WellKnownSymbolsStore[name] = Symbol[name];
4887
} else if (USE_SYMBOL_AS_UID && symbolFor) {
4888
WellKnownSymbolsStore[name] = symbolFor(description);
4889
} else {
4890
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
4891
}
4892
} return WellKnownSymbolsStore[name];
4893
};
4894
4895
},{"../internals/global":104,"../internals/has-own-property":105,"../internals/native-symbol":124,"../internals/shared":150,"../internals/uid":163,"../internals/use-symbol-as-uid":164}],167:[function(require,module,exports){
4896
// a string of all valid unicode whitespaces
4897
module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
4898
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
4899
4900
},{}],168:[function(require,module,exports){
4901
'use strict';
4902
var $ = require('../internals/export');
4903
var global = require('../internals/global');
4904
var fails = require('../internals/fails');
4905
var isArray = require('../internals/is-array');
4906
var isObject = require('../internals/is-object');
4907
var toObject = require('../internals/to-object');
4908
var lengthOfArrayLike = require('../internals/length-of-array-like');
4909
var createProperty = require('../internals/create-property');
4910
var arraySpeciesCreate = require('../internals/array-species-create');
4911
var arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');
4912
var wellKnownSymbol = require('../internals/well-known-symbol');
4913
var V8_VERSION = require('../internals/engine-v8-version');
4914
4915
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
4916
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
4917
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
4918
var TypeError = global.TypeError;
4919
4920
// We can't use this feature detection in V8 since it causes
4921
// deoptimization and serious performance degradation
4922
// https://github.com/zloirock/core-js/issues/679
4923
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
4924
var array = [];
4925
array[IS_CONCAT_SPREADABLE] = false;
4926
return array.concat()[0] !== array;
4927
});
4928
4929
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
4930
4931
var isConcatSpreadable = function (O) {
4932
if (!isObject(O)) return false;
4933
var spreadable = O[IS_CONCAT_SPREADABLE];
4934
return spreadable !== undefined ? !!spreadable : isArray(O);
4935
};
4936
4937
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
4938
4939
// `Array.prototype.concat` method
4940
// https://tc39.es/ecma262/#sec-array.prototype.concat
4941
// with adding support of @@isConcatSpreadable and @@species
4942
$({ target: 'Array', proto: true, forced: FORCED }, {
4943
// eslint-disable-next-line no-unused-vars -- required for `.length`
4944
concat: function concat(arg) {
4945
var O = toObject(this);
4946
var A = arraySpeciesCreate(O, 0);
4947
var n = 0;
4948
var i, k, length, len, E;
4949
for (i = -1, length = arguments.length; i < length; i++) {
4950
E = i === -1 ? O : arguments[i];
4951
if (isConcatSpreadable(E)) {
4952
len = lengthOfArrayLike(E);
4953
if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
4954
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
4955
} else {
4956
if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
4957
createProperty(A, n++, E);
4958
}
4959
}
4960
A.length = n;
4961
return A;
4962
}
4963
});
4964
4965
},{"../internals/array-method-has-species-support":65,"../internals/array-species-create":71,"../internals/create-property":80,"../internals/engine-v8-version":89,"../internals/export":93,"../internals/fails":94,"../internals/global":104,"../internals/is-array":113,"../internals/is-object":117,"../internals/length-of-array-like":123,"../internals/to-object":157,"../internals/well-known-symbol":166}],169:[function(require,module,exports){
4966
'use strict';
4967
var $ = require('../internals/export');
4968
var forEach = require('../internals/array-for-each');
4969
4970
// `Array.prototype.forEach` method
4971
// https://tc39.es/ecma262/#sec-array.prototype.foreach
4972
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
4973
$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {
4974
forEach: forEach
4975
});
4976
4977
},{"../internals/array-for-each":61,"../internals/export":93}],170:[function(require,module,exports){
4978
var $ = require('../internals/export');
4979
var from = require('../internals/array-from');
4980
var checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');
4981
4982
var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
4983
// eslint-disable-next-line es/no-array-from -- required for testing
4984
Array.from(iterable);
4985
});
4986
4987
// `Array.from` method
4988
// https://tc39.es/ecma262/#sec-array.from
4989
$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
4990
from: from
4991
});
4992
4993
},{"../internals/array-from":62,"../internals/check-correctness-of-iteration":73,"../internals/export":93}],171:[function(require,module,exports){
4994
'use strict';
4995
/* eslint-disable es/no-array-prototype-indexof -- required for testing */
4996
var $ = require('../internals/export');
4997
var uncurryThis = require('../internals/function-uncurry-this');
4998
var $IndexOf = require('../internals/array-includes').indexOf;
4999
var arrayMethodIsStrict = require('../internals/array-method-is-strict');
5000
5001
var un$IndexOf = uncurryThis([].indexOf);
5002
5003
var NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0;
5004
var STRICT_METHOD = arrayMethodIsStrict('indexOf');
5005
5006
// `Array.prototype.indexOf` method
5007
// https://tc39.es/ecma262/#sec-array.prototype.indexof
5008
$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, {
5009
indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
5010
var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
5011
return NEGATIVE_ZERO
5012
// convert -0 to +0
5013
? un$IndexOf(this, searchElement, fromIndex) || 0
5014
: $IndexOf(this, searchElement, fromIndex);
5015
}
5016
});
5017
5018
},{"../internals/array-includes":63,"../internals/array-method-is-strict":66,"../internals/export":93,"../internals/function-uncurry-this":99}],172:[function(require,module,exports){
5019
var $ = require('../internals/export');
5020
var isArray = require('../internals/is-array');
5021
5022
// `Array.isArray` method
5023
// https://tc39.es/ecma262/#sec-array.isarray
5024
$({ target: 'Array', stat: true }, {
5025
isArray: isArray
5026
});
5027
5028
},{"../internals/export":93,"../internals/is-array":113}],173:[function(require,module,exports){
5029
'use strict';
5030
var toIndexedObject = require('../internals/to-indexed-object');
5031
var addToUnscopables = require('../internals/add-to-unscopables');
5032
var Iterators = require('../internals/iterators');
5033
var InternalStateModule = require('../internals/internal-state');
5034
var defineProperty = require('../internals/object-define-property').f;
5035
var defineIterator = require('../internals/define-iterator');
5036
var IS_PURE = require('../internals/is-pure');
5037
var DESCRIPTORS = require('../internals/descriptors');
5038
5039
var ARRAY_ITERATOR = 'Array Iterator';
5040
var setInternalState = InternalStateModule.set;
5041
var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
5042
5043
// `Array.prototype.entries` method
5044
// https://tc39.es/ecma262/#sec-array.prototype.entries
5045
// `Array.prototype.keys` method
5046
// https://tc39.es/ecma262/#sec-array.prototype.keys
5047
// `Array.prototype.values` method
5048
// https://tc39.es/ecma262/#sec-array.prototype.values
5049
// `Array.prototype[@@iterator]` method
5050
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
5051
// `CreateArrayIterator` internal method
5052
// https://tc39.es/ecma262/#sec-createarrayiterator
5053
module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
5054
setInternalState(this, {
5055
type: ARRAY_ITERATOR,
5056
target: toIndexedObject(iterated), // target
5057
index: 0, // next index
5058
kind: kind // kind
5059
});
5060
// `%ArrayIteratorPrototype%.next` method
5061
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
5062
}, function () {
5063
var state = getInternalState(this);
5064
var target = state.target;
5065
var kind = state.kind;
5066
var index = state.index++;
5067
if (!target || index >= target.length) {
5068
state.target = undefined;
5069
return { value: undefined, done: true };
5070
}
5071
if (kind == 'keys') return { value: index, done: false };
5072
if (kind == 'values') return { value: target[index], done: false };
5073
return { value: [index, target[index]], done: false };
5074
}, 'values');
5075
5076
// argumentsList[@@iterator] is %ArrayProto_values%
5077
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
5078
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
5079
var values = Iterators.Arguments = Iterators.Array;
5080
5081
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
5082
addToUnscopables('keys');
5083
addToUnscopables('values');
5084
addToUnscopables('entries');
5085
5086
// V8 ~ Chrome 45- bug
5087
if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {
5088
defineProperty(values, 'name', { value: 'values' });
5089
} catch (error) { /* empty */ }
5090
5091
},{"../internals/add-to-unscopables":59,"../internals/define-iterator":81,"../internals/descriptors":83,"../internals/internal-state":111,"../internals/is-pure":118,"../internals/iterators":122,"../internals/object-define-property":129,"../internals/to-indexed-object":154}],174:[function(require,module,exports){
5092
'use strict';
5093
var $ = require('../internals/export');
5094
var global = require('../internals/global');
5095
var isArray = require('../internals/is-array');
5096
var isConstructor = require('../internals/is-constructor');
5097
var isObject = require('../internals/is-object');
5098
var toAbsoluteIndex = require('../internals/to-absolute-index');
5099
var lengthOfArrayLike = require('../internals/length-of-array-like');
5100
var toIndexedObject = require('../internals/to-indexed-object');
5101
var createProperty = require('../internals/create-property');
5102
var wellKnownSymbol = require('../internals/well-known-symbol');
5103
var arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');
5104
var un$Slice = require('../internals/array-slice');
5105
5106
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');
5107
5108
var SPECIES = wellKnownSymbol('species');
5109
var Array = global.Array;
5110
var max = Math.max;
5111
5112
// `Array.prototype.slice` method
5113
// https://tc39.es/ecma262/#sec-array.prototype.slice
5114
// fallback for not array-like ES3 strings and DOM objects
5115
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
5116
slice: function slice(start, end) {
5117
var O = toIndexedObject(this);
5118
var length = lengthOfArrayLike(O);
5119
var k = toAbsoluteIndex(start, length);
5120
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
5121
// inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
5122
var Constructor, result, n;
5123
if (isArray(O)) {
5124
Constructor = O.constructor;
5125
// cross-realm fallback
5126
if (isConstructor(Constructor) && (Constructor === Array || isArray(Constructor.prototype))) {
5127
Constructor = undefined;
5128
} else if (isObject(Constructor)) {
5129
Constructor = Constructor[SPECIES];
5130
if (Constructor === null) Constructor = undefined;
5131
}
5132
if (Constructor === Array || Constructor === undefined) {
5133
return un$Slice(O, k, fin);
5134
}
5135
}
5136
result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));
5137
for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
5138
result.length = n;
5139
return result;
5140
}
5141
});
5142
5143
},{"../internals/array-method-has-species-support":65,"../internals/array-slice":68,"../internals/create-property":80,"../internals/export":93,"../internals/global":104,"../internals/is-array":113,"../internals/is-constructor":115,"../internals/is-object":117,"../internals/length-of-array-like":123,"../internals/to-absolute-index":153,"../internals/to-indexed-object":154,"../internals/well-known-symbol":166}],175:[function(require,module,exports){
5144
'use strict';
5145
var $ = require('../internals/export');
5146
var uncurryThis = require('../internals/function-uncurry-this');
5147
var aCallable = require('../internals/a-callable');
5148
var toObject = require('../internals/to-object');
5149
var lengthOfArrayLike = require('../internals/length-of-array-like');
5150
var toString = require('../internals/to-string');
5151
var fails = require('../internals/fails');
5152
var internalSort = require('../internals/array-sort');
5153
var arrayMethodIsStrict = require('../internals/array-method-is-strict');
5154
var FF = require('../internals/engine-ff-version');
5155
var IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');
5156
var V8 = require('../internals/engine-v8-version');
5157
var WEBKIT = require('../internals/engine-webkit-version');
5158
5159
var test = [];
5160
var un$Sort = uncurryThis(test.sort);
5161
var push = uncurryThis(test.push);
5162
5163
// IE8-
5164
var FAILS_ON_UNDEFINED = fails(function () {
5165
test.sort(undefined);
5166
});
5167
// V8 bug
5168
var FAILS_ON_NULL = fails(function () {
5169
test.sort(null);
5170
});
5171
// Old WebKit
5172
var STRICT_METHOD = arrayMethodIsStrict('sort');
5173
5174
var STABLE_SORT = !fails(function () {
5175
// feature detection can be too slow, so check engines versions
5176
if (V8) return V8 < 70;
5177
if (FF && FF > 3) return;
5178
if (IE_OR_EDGE) return true;
5179
if (WEBKIT) return WEBKIT < 603;
5180
5181
var result = '';
5182
var code, chr, value, index;
5183
5184
// generate an array with more 512 elements (Chakra and old V8 fails only in this case)
5185
for (code = 65; code < 76; code++) {
5186
chr = String.fromCharCode(code);
5187
5188
switch (code) {
5189
case 66: case 69: case 70: case 72: value = 3; break;
5190
case 68: case 71: value = 4; break;
5191
default: value = 2;
5192
}
5193
5194
for (index = 0; index < 47; index++) {
5195
test.push({ k: chr + index, v: value });
5196
}
5197
}
5198
5199
test.sort(function (a, b) { return b.v - a.v; });
5200
5201
for (index = 0; index < test.length; index++) {
5202
chr = test[index].k.charAt(0);
5203
if (result.charAt(result.length - 1) !== chr) result += chr;
5204
}
5205
5206
return result !== 'DGBEFHACIJK';
5207
});
5208
5209
var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;
5210
5211
var getSortCompare = function (comparefn) {
5212
return function (x, y) {
5213
if (y === undefined) return -1;
5214
if (x === undefined) return 1;
5215
if (comparefn !== undefined) return +comparefn(x, y) || 0;
5216
return toString(x) > toString(y) ? 1 : -1;
5217
};
5218
};
5219
5220
// `Array.prototype.sort` method
5221
// https://tc39.es/ecma262/#sec-array.prototype.sort
5222
$({ target: 'Array', proto: true, forced: FORCED }, {
5223
sort: function sort(comparefn) {
5224
if (comparefn !== undefined) aCallable(comparefn);
5225
5226
var array = toObject(this);
5227
5228
if (STABLE_SORT) return comparefn === undefined ? un$Sort(array) : un$Sort(array, comparefn);
5229
5230
var items = [];
5231
var arrayLength = lengthOfArrayLike(array);
5232
var itemsLength, index;
5233
5234
for (index = 0; index < arrayLength; index++) {
5235
if (index in array) push(items, array[index]);
5236
}
5237
5238
internalSort(items, getSortCompare(comparefn));
5239
5240
itemsLength = items.length;
5241
index = 0;
5242
5243
while (index < itemsLength) array[index] = items[index++];
5244
while (index < arrayLength) delete array[index++];
5245
5246
return array;
5247
}
5248
});
5249
5250
},{"../internals/a-callable":57,"../internals/array-method-is-strict":66,"../internals/array-sort":69,"../internals/engine-ff-version":86,"../internals/engine-is-ie-or-edge":87,"../internals/engine-v8-version":89,"../internals/engine-webkit-version":90,"../internals/export":93,"../internals/fails":94,"../internals/function-uncurry-this":99,"../internals/length-of-array-like":123,"../internals/to-object":157,"../internals/to-string":161}],176:[function(require,module,exports){
5251
var global = require('../internals/global');
5252
var setToStringTag = require('../internals/set-to-string-tag');
5253
5254
// JSON[@@toStringTag] property
5255
// https://tc39.es/ecma262/#sec-json-@@tostringtag
5256
setToStringTag(global.JSON, 'JSON', true);
5257
5258
},{"../internals/global":104,"../internals/set-to-string-tag":147}],177:[function(require,module,exports){
5259
// empty
5260
5261
},{}],178:[function(require,module,exports){
5262
var $ = require('../internals/export');
5263
var DESCRIPTORS = require('../internals/descriptors');
5264
var create = require('../internals/object-create');
5265
5266
// `Object.create` method
5267
// https://tc39.es/ecma262/#sec-object.create
5268
$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
5269
create: create
5270
});
5271
5272
},{"../internals/descriptors":83,"../internals/export":93,"../internals/object-create":127}],179:[function(require,module,exports){
5273
var $ = require('../internals/export');
5274
var DESCRIPTORS = require('../internals/descriptors');
5275
var objectDefinePropertyModile = require('../internals/object-define-property');
5276
5277
// `Object.defineProperty` method
5278
// https://tc39.es/ecma262/#sec-object.defineproperty
5279
$({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, {
5280
defineProperty: objectDefinePropertyModile.f
5281
});
5282
5283
},{"../internals/descriptors":83,"../internals/export":93,"../internals/object-define-property":129}],180:[function(require,module,exports){
5284
arguments[4][177][0].apply(exports,arguments)
5285
},{"dup":177}],181:[function(require,module,exports){
5286
var $ = require('../internals/export');
5287
var $parseInt = require('../internals/number-parse-int');
5288
5289
// `parseInt` method
5290
// https://tc39.es/ecma262/#sec-parseint-string-radix
5291
$({ global: true, forced: parseInt != $parseInt }, {
5292
parseInt: $parseInt
5293
});
5294
5295
},{"../internals/export":93,"../internals/number-parse-int":126}],182:[function(require,module,exports){
5296
arguments[4][177][0].apply(exports,arguments)
5297
},{"dup":177}],183:[function(require,module,exports){
5298
arguments[4][177][0].apply(exports,arguments)
5299
},{"dup":177}],184:[function(require,module,exports){
5300
'use strict';
5301
var charAt = require('../internals/string-multibyte').charAt;
5302
var toString = require('../internals/to-string');
5303
var InternalStateModule = require('../internals/internal-state');
5304
var defineIterator = require('../internals/define-iterator');
5305
5306
var STRING_ITERATOR = 'String Iterator';
5307
var setInternalState = InternalStateModule.set;
5308
var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
5309
5310
// `String.prototype[@@iterator]` method
5311
// https://tc39.es/ecma262/#sec-string.prototype-@@iterator
5312
defineIterator(String, 'String', function (iterated) {
5313
setInternalState(this, {
5314
type: STRING_ITERATOR,
5315
string: toString(iterated),
5316
index: 0
5317
});
5318
// `%StringIteratorPrototype%.next` method
5319
// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
5320
}, function next() {
5321
var state = getInternalState(this);
5322
var string = state.string;
5323
var index = state.index;
5324
var point;
5325
if (index >= string.length) return { value: undefined, done: true };
5326
point = charAt(string, index);
5327
state.index += point.length;
5328
return { value: point, done: false };
5329
});
5330
5331
},{"../internals/define-iterator":81,"../internals/internal-state":111,"../internals/string-multibyte":151,"../internals/to-string":161}],185:[function(require,module,exports){
5332
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5333
5334
// `Symbol.asyncIterator` well-known symbol
5335
// https://tc39.es/ecma262/#sec-symbol.asynciterator
5336
defineWellKnownSymbol('asyncIterator');
5337
5338
},{"../internals/define-well-known-symbol":82}],186:[function(require,module,exports){
5339
arguments[4][177][0].apply(exports,arguments)
5340
},{"dup":177}],187:[function(require,module,exports){
5341
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5342
5343
// `Symbol.hasInstance` well-known symbol
5344
// https://tc39.es/ecma262/#sec-symbol.hasinstance
5345
defineWellKnownSymbol('hasInstance');
5346
5347
},{"../internals/define-well-known-symbol":82}],188:[function(require,module,exports){
5348
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5349
5350
// `Symbol.isConcatSpreadable` well-known symbol
5351
// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable
5352
defineWellKnownSymbol('isConcatSpreadable');
5353
5354
},{"../internals/define-well-known-symbol":82}],189:[function(require,module,exports){
5355
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5356
5357
// `Symbol.iterator` well-known symbol
5358
// https://tc39.es/ecma262/#sec-symbol.iterator
5359
defineWellKnownSymbol('iterator');
5360
5361
},{"../internals/define-well-known-symbol":82}],190:[function(require,module,exports){
5362
'use strict';
5363
var $ = require('../internals/export');
5364
var global = require('../internals/global');
5365
var getBuiltIn = require('../internals/get-built-in');
5366
var apply = require('../internals/function-apply');
5367
var call = require('../internals/function-call');
5368
var uncurryThis = require('../internals/function-uncurry-this');
5369
var IS_PURE = require('../internals/is-pure');
5370
var DESCRIPTORS = require('../internals/descriptors');
5371
var NATIVE_SYMBOL = require('../internals/native-symbol');
5372
var fails = require('../internals/fails');
5373
var hasOwn = require('../internals/has-own-property');
5374
var isArray = require('../internals/is-array');
5375
var isCallable = require('../internals/is-callable');
5376
var isObject = require('../internals/is-object');
5377
var isPrototypeOf = require('../internals/object-is-prototype-of');
5378
var isSymbol = require('../internals/is-symbol');
5379
var anObject = require('../internals/an-object');
5380
var toObject = require('../internals/to-object');
5381
var toIndexedObject = require('../internals/to-indexed-object');
5382
var toPropertyKey = require('../internals/to-property-key');
5383
var $toString = require('../internals/to-string');
5384
var createPropertyDescriptor = require('../internals/create-property-descriptor');
5385
var nativeObjectCreate = require('../internals/object-create');
5386
var objectKeys = require('../internals/object-keys');
5387
var getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');
5388
var getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');
5389
var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');
5390
var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');
5391
var definePropertyModule = require('../internals/object-define-property');
5392
var propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');
5393
var arraySlice = require('../internals/array-slice');
5394
var redefine = require('../internals/redefine');
5395
var shared = require('../internals/shared');
5396
var sharedKey = require('../internals/shared-key');
5397
var hiddenKeys = require('../internals/hidden-keys');
5398
var uid = require('../internals/uid');
5399
var wellKnownSymbol = require('../internals/well-known-symbol');
5400
var wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');
5401
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5402
var setToStringTag = require('../internals/set-to-string-tag');
5403
var InternalStateModule = require('../internals/internal-state');
5404
var $forEach = require('../internals/array-iteration').forEach;
5405
5406
var HIDDEN = sharedKey('hidden');
5407
var SYMBOL = 'Symbol';
5408
var PROTOTYPE = 'prototype';
5409
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
5410
5411
var setInternalState = InternalStateModule.set;
5412
var getInternalState = InternalStateModule.getterFor(SYMBOL);
5413
5414
var ObjectPrototype = Object[PROTOTYPE];
5415
var $Symbol = global.Symbol;
5416
var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];
5417
var TypeError = global.TypeError;
5418
var QObject = global.QObject;
5419
var $stringify = getBuiltIn('JSON', 'stringify');
5420
var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
5421
var nativeDefineProperty = definePropertyModule.f;
5422
var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
5423
var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;
5424
var push = uncurryThis([].push);
5425
5426
var AllSymbols = shared('symbols');
5427
var ObjectPrototypeSymbols = shared('op-symbols');
5428
var StringToSymbolRegistry = shared('string-to-symbol-registry');
5429
var SymbolToStringRegistry = shared('symbol-to-string-registry');
5430
var WellKnownSymbolsStore = shared('wks');
5431
5432
// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
5433
var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
5434
5435
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
5436
var setSymbolDescriptor = DESCRIPTORS && fails(function () {
5437
return nativeObjectCreate(nativeDefineProperty({}, 'a', {
5438
get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
5439
})).a != 7;
5440
}) ? function (O, P, Attributes) {
5441
var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);
5442
if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];
5443
nativeDefineProperty(O, P, Attributes);
5444
if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {
5445
nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);
5446
}
5447
} : nativeDefineProperty;
5448
5449
var wrap = function (tag, description) {
5450
var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);
5451
setInternalState(symbol, {
5452
type: SYMBOL,
5453
tag: tag,
5454
description: description
5455
});
5456
if (!DESCRIPTORS) symbol.description = description;
5457
return symbol;
5458
};
5459
5460
var $defineProperty = function defineProperty(O, P, Attributes) {
5461
if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
5462
anObject(O);
5463
var key = toPropertyKey(P);
5464
anObject(Attributes);
5465
if (hasOwn(AllSymbols, key)) {
5466
if (!Attributes.enumerable) {
5467
if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));
5468
O[HIDDEN][key] = true;
5469
} else {
5470
if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
5471
Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });
5472
} return setSymbolDescriptor(O, key, Attributes);
5473
} return nativeDefineProperty(O, key, Attributes);
5474
};
5475
5476
var $defineProperties = function defineProperties(O, Properties) {
5477
anObject(O);
5478
var properties = toIndexedObject(Properties);
5479
var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));
5480
$forEach(keys, function (key) {
5481
if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);
5482
});
5483
return O;
5484
};
5485
5486
var $create = function create(O, Properties) {
5487
return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
5488
};
5489
5490
var $propertyIsEnumerable = function propertyIsEnumerable(V) {
5491
var P = toPropertyKey(V);
5492
var enumerable = call(nativePropertyIsEnumerable, this, P);
5493
if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;
5494
return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]
5495
? enumerable : true;
5496
};
5497
5498
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
5499
var it = toIndexedObject(O);
5500
var key = toPropertyKey(P);
5501
if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;
5502
var descriptor = nativeGetOwnPropertyDescriptor(it, key);
5503
if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {
5504
descriptor.enumerable = true;
5505
}
5506
return descriptor;
5507
};
5508
5509
var $getOwnPropertyNames = function getOwnPropertyNames(O) {
5510
var names = nativeGetOwnPropertyNames(toIndexedObject(O));
5511
var result = [];
5512
$forEach(names, function (key) {
5513
if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);
5514
});
5515
return result;
5516
};
5517
5518
var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
5519
var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;
5520
var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));
5521
var result = [];
5522
$forEach(names, function (key) {
5523
if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {
5524
push(result, AllSymbols[key]);
5525
}
5526
});
5527
return result;
5528
};
5529
5530
// `Symbol` constructor
5531
// https://tc39.es/ecma262/#sec-symbol-constructor
5532
if (!NATIVE_SYMBOL) {
5533
$Symbol = function Symbol() {
5534
if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor');
5535
var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);
5536
var tag = uid(description);
5537
var setter = function (value) {
5538
if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);
5539
if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
5540
setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));
5541
};
5542
if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });
5543
return wrap(tag, description);
5544
};
5545
5546
SymbolPrototype = $Symbol[PROTOTYPE];
5547
5548
redefine(SymbolPrototype, 'toString', function toString() {
5549
return getInternalState(this).tag;
5550
});
5551
5552
redefine($Symbol, 'withoutSetter', function (description) {
5553
return wrap(uid(description), description);
5554
});
5555
5556
propertyIsEnumerableModule.f = $propertyIsEnumerable;
5557
definePropertyModule.f = $defineProperty;
5558
getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;
5559
getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
5560
getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;
5561
5562
wrappedWellKnownSymbolModule.f = function (name) {
5563
return wrap(wellKnownSymbol(name), name);
5564
};
5565
5566
if (DESCRIPTORS) {
5567
// https://github.com/tc39/proposal-Symbol-description
5568
nativeDefineProperty(SymbolPrototype, 'description', {
5569
configurable: true,
5570
get: function description() {
5571
return getInternalState(this).description;
5572
}
5573
});
5574
if (!IS_PURE) {
5575
redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
5576
}
5577
}
5578
}
5579
5580
$({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {
5581
Symbol: $Symbol
5582
});
5583
5584
$forEach(objectKeys(WellKnownSymbolsStore), function (name) {
5585
defineWellKnownSymbol(name);
5586
});
5587
5588
$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
5589
// `Symbol.for` method
5590
// https://tc39.es/ecma262/#sec-symbol.for
5591
'for': function (key) {
5592
var string = $toString(key);
5593
if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
5594
var symbol = $Symbol(string);
5595
StringToSymbolRegistry[string] = symbol;
5596
SymbolToStringRegistry[symbol] = string;
5597
return symbol;
5598
},
5599
// `Symbol.keyFor` method
5600
// https://tc39.es/ecma262/#sec-symbol.keyfor
5601
keyFor: function keyFor(sym) {
5602
if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');
5603
if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
5604
},
5605
useSetter: function () { USE_SETTER = true; },
5606
useSimple: function () { USE_SETTER = false; }
5607
});
5608
5609
$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {
5610
// `Object.create` method
5611
// https://tc39.es/ecma262/#sec-object.create
5612
create: $create,
5613
// `Object.defineProperty` method
5614
// https://tc39.es/ecma262/#sec-object.defineproperty
5615
defineProperty: $defineProperty,
5616
// `Object.defineProperties` method
5617
// https://tc39.es/ecma262/#sec-object.defineproperties
5618
defineProperties: $defineProperties,
5619
// `Object.getOwnPropertyDescriptor` method
5620
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
5621
getOwnPropertyDescriptor: $getOwnPropertyDescriptor
5622
});
5623
5624
$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
5625
// `Object.getOwnPropertyNames` method
5626
// https://tc39.es/ecma262/#sec-object.getownpropertynames
5627
getOwnPropertyNames: $getOwnPropertyNames,
5628
// `Object.getOwnPropertySymbols` method
5629
// https://tc39.es/ecma262/#sec-object.getownpropertysymbols
5630
getOwnPropertySymbols: $getOwnPropertySymbols
5631
});
5632
5633
// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
5634
// https://bugs.chromium.org/p/v8/issues/detail?id=3443
5635
$({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, {
5636
getOwnPropertySymbols: function getOwnPropertySymbols(it) {
5637
return getOwnPropertySymbolsModule.f(toObject(it));
5638
}
5639
});
5640
5641
// `JSON.stringify` method behavior with symbols
5642
// https://tc39.es/ecma262/#sec-json.stringify
5643
if ($stringify) {
5644
var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () {
5645
var symbol = $Symbol();
5646
// MS Edge converts symbol values to JSON as {}
5647
return $stringify([symbol]) != '[null]'
5648
// WebKit converts symbol values to JSON as null
5649
|| $stringify({ a: symbol }) != '{}'
5650
// V8 throws on boxed symbols
5651
|| $stringify(Object(symbol)) != '{}';
5652
});
5653
5654
$({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
5655
// eslint-disable-next-line no-unused-vars -- required for `.length`
5656
stringify: function stringify(it, replacer, space) {
5657
var args = arraySlice(arguments);
5658
var $replacer = replacer;
5659
if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
5660
if (!isArray(replacer)) replacer = function (key, value) {
5661
if (isCallable($replacer)) value = call($replacer, this, key, value);
5662
if (!isSymbol(value)) return value;
5663
};
5664
args[1] = replacer;
5665
return apply($stringify, null, args);
5666
}
5667
});
5668
}
5669
5670
// `Symbol.prototype[@@toPrimitive]` method
5671
// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
5672
if (!SymbolPrototype[TO_PRIMITIVE]) {
5673
var valueOf = SymbolPrototype.valueOf;
5674
// eslint-disable-next-line no-unused-vars -- required for .length
5675
redefine(SymbolPrototype, TO_PRIMITIVE, function (hint) {
5676
// TODO: improve hint logic
5677
return call(valueOf, this);
5678
});
5679
}
5680
// `Symbol.prototype[@@toStringTag]` property
5681
// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag
5682
setToStringTag($Symbol, SYMBOL);
5683
5684
hiddenKeys[HIDDEN] = true;
5685
5686
},{"../internals/an-object":60,"../internals/array-iteration":64,"../internals/array-slice":68,"../internals/create-property-descriptor":79,"../internals/define-well-known-symbol":82,"../internals/descriptors":83,"../internals/export":93,"../internals/fails":94,"../internals/function-apply":95,"../internals/function-call":97,"../internals/function-uncurry-this":99,"../internals/get-built-in":100,"../internals/global":104,"../internals/has-own-property":105,"../internals/hidden-keys":106,"../internals/internal-state":111,"../internals/is-array":113,"../internals/is-callable":114,"../internals/is-object":117,"../internals/is-pure":118,"../internals/is-symbol":119,"../internals/native-symbol":124,"../internals/object-create":127,"../internals/object-define-property":129,"../internals/object-get-own-property-descriptor":130,"../internals/object-get-own-property-names":132,"../internals/object-get-own-property-names-external":131,"../internals/object-get-own-property-symbols":133,"../internals/object-is-prototype-of":135,"../internals/object-keys":137,"../internals/object-property-is-enumerable":138,"../internals/redefine":143,"../internals/set-to-string-tag":147,"../internals/shared":150,"../internals/shared-key":148,"../internals/to-indexed-object":154,"../internals/to-object":157,"../internals/to-property-key":159,"../internals/to-string":161,"../internals/uid":163,"../internals/well-known-symbol":166,"../internals/well-known-symbol-wrapped":165}],191:[function(require,module,exports){
5687
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5688
5689
// `Symbol.matchAll` well-known symbol
5690
// https://tc39.es/ecma262/#sec-symbol.matchall
5691
defineWellKnownSymbol('matchAll');
5692
5693
},{"../internals/define-well-known-symbol":82}],192:[function(require,module,exports){
5694
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5695
5696
// `Symbol.match` well-known symbol
5697
// https://tc39.es/ecma262/#sec-symbol.match
5698
defineWellKnownSymbol('match');
5699
5700
},{"../internals/define-well-known-symbol":82}],193:[function(require,module,exports){
5701
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5702
5703
// `Symbol.replace` well-known symbol
5704
// https://tc39.es/ecma262/#sec-symbol.replace
5705
defineWellKnownSymbol('replace');
5706
5707
},{"../internals/define-well-known-symbol":82}],194:[function(require,module,exports){
5708
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5709
5710
// `Symbol.search` well-known symbol
5711
// https://tc39.es/ecma262/#sec-symbol.search
5712
defineWellKnownSymbol('search');
5713
5714
},{"../internals/define-well-known-symbol":82}],195:[function(require,module,exports){
5715
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5716
5717
// `Symbol.species` well-known symbol
5718
// https://tc39.es/ecma262/#sec-symbol.species
5719
defineWellKnownSymbol('species');
5720
5721
},{"../internals/define-well-known-symbol":82}],196:[function(require,module,exports){
5722
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5723
5724
// `Symbol.split` well-known symbol
5725
// https://tc39.es/ecma262/#sec-symbol.split
5726
defineWellKnownSymbol('split');
5727
5728
},{"../internals/define-well-known-symbol":82}],197:[function(require,module,exports){
5729
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5730
5731
// `Symbol.toPrimitive` well-known symbol
5732
// https://tc39.es/ecma262/#sec-symbol.toprimitive
5733
defineWellKnownSymbol('toPrimitive');
5734
5735
},{"../internals/define-well-known-symbol":82}],198:[function(require,module,exports){
5736
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5737
5738
// `Symbol.toStringTag` well-known symbol
5739
// https://tc39.es/ecma262/#sec-symbol.tostringtag
5740
defineWellKnownSymbol('toStringTag');
5741
5742
},{"../internals/define-well-known-symbol":82}],199:[function(require,module,exports){
5743
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5744
5745
// `Symbol.unscopables` well-known symbol
5746
// https://tc39.es/ecma262/#sec-symbol.unscopables
5747
defineWellKnownSymbol('unscopables');
5748
5749
},{"../internals/define-well-known-symbol":82}],200:[function(require,module,exports){
5750
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5751
5752
// `Symbol.asyncDispose` well-known symbol
5753
// https://github.com/tc39/proposal-using-statement
5754
defineWellKnownSymbol('asyncDispose');
5755
5756
},{"../internals/define-well-known-symbol":82}],201:[function(require,module,exports){
5757
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5758
5759
// `Symbol.dispose` well-known symbol
5760
// https://github.com/tc39/proposal-using-statement
5761
defineWellKnownSymbol('dispose');
5762
5763
},{"../internals/define-well-known-symbol":82}],202:[function(require,module,exports){
5764
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5765
5766
// `Symbol.matcher` well-known symbol
5767
// https://github.com/tc39/proposal-pattern-matching
5768
defineWellKnownSymbol('matcher');
5769
5770
},{"../internals/define-well-known-symbol":82}],203:[function(require,module,exports){
5771
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5772
5773
// `Symbol.metadata` well-known symbol
5774
// https://github.com/tc39/proposal-decorators
5775
defineWellKnownSymbol('metadata');
5776
5777
},{"../internals/define-well-known-symbol":82}],204:[function(require,module,exports){
5778
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5779
5780
// `Symbol.observable` well-known symbol
5781
// https://github.com/tc39/proposal-observable
5782
defineWellKnownSymbol('observable');
5783
5784
},{"../internals/define-well-known-symbol":82}],205:[function(require,module,exports){
5785
// TODO: remove from `core-js@4`
5786
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5787
5788
// `Symbol.patternMatch` well-known symbol
5789
// https://github.com/tc39/proposal-pattern-matching
5790
defineWellKnownSymbol('patternMatch');
5791
5792
},{"../internals/define-well-known-symbol":82}],206:[function(require,module,exports){
5793
// TODO: remove from `core-js@4`
5794
var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
5795
5796
defineWellKnownSymbol('replaceAll');
5797
5798
},{"../internals/define-well-known-symbol":82}],207:[function(require,module,exports){
5799
require('../modules/es.array.iterator');
5800
var DOMIterables = require('../internals/dom-iterables');
5801
var global = require('../internals/global');
5802
var classof = require('../internals/classof');
5803
var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
5804
var Iterators = require('../internals/iterators');
5805
var wellKnownSymbol = require('../internals/well-known-symbol');
5806
5807
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
5808
5809
for (var COLLECTION_NAME in DOMIterables) {
5810
var Collection = global[COLLECTION_NAME];
5811
var CollectionPrototype = Collection && Collection.prototype;
5812
if (CollectionPrototype && classof(CollectionPrototype) !== TO_STRING_TAG) {
5813
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
5814
}
5815
Iterators[COLLECTION_NAME] = Iterators.Array;
5816
}
5817
5818
},{"../internals/classof":75,"../internals/create-non-enumerable-property":78,"../internals/dom-iterables":85,"../internals/global":104,"../internals/iterators":122,"../internals/well-known-symbol":166,"../modules/es.array.iterator":173}],208:[function(require,module,exports){
5819
var parent = require('../../es/array/from');
5820
5821
module.exports = parent;
5822
5823
},{"../../es/array/from":34}],209:[function(require,module,exports){
5824
var parent = require('../../es/array/is-array');
5825
5826
module.exports = parent;
5827
5828
},{"../../es/array/is-array":35}],210:[function(require,module,exports){
5829
var parent = require('../../../es/array/virtual/for-each');
5830
5831
module.exports = parent;
5832
5833
},{"../../../es/array/virtual/for-each":37}],211:[function(require,module,exports){
5834
var parent = require('../es/get-iterator-method');
5835
require('../modules/web.dom-collections.iterator');
5836
5837
module.exports = parent;
5838
5839
},{"../es/get-iterator-method":41,"../modules/web.dom-collections.iterator":207}],212:[function(require,module,exports){
5840
var parent = require('../../es/instance/concat');
5841
5842
module.exports = parent;
5843
5844
},{"../../es/instance/concat":42}],213:[function(require,module,exports){
5845
var parent = require('../../es/instance/flags');
5846
5847
module.exports = parent;
5848
5849
},{"../../es/instance/flags":43}],214:[function(require,module,exports){
5850
require('../../modules/web.dom-collections.iterator');
5851
var classof = require('../../internals/classof');
5852
var hasOwn = require('../../internals/has-own-property');
5853
var isPrototypeOf = require('../../internals/object-is-prototype-of');
5854
var method = require('../array/virtual/for-each');
5855
5856
var ArrayPrototype = Array.prototype;
5857
5858
var DOMIterables = {
5859
DOMTokenList: true,
5860
NodeList: true
5861
};
5862
5863
module.exports = function (it) {
5864
var own = it.forEach;
5865
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.forEach)
5866
|| hasOwn(DOMIterables, classof(it)) ? method : own;
5867
};
5868
5869
},{"../../internals/classof":75,"../../internals/has-own-property":105,"../../internals/object-is-prototype-of":135,"../../modules/web.dom-collections.iterator":207,"../array/virtual/for-each":210}],215:[function(require,module,exports){
5870
var parent = require('../../es/instance/index-of');
5871
5872
module.exports = parent;
5873
5874
},{"../../es/instance/index-of":44}],216:[function(require,module,exports){
5875
var parent = require('../../es/instance/slice');
5876
5877
module.exports = parent;
5878
5879
},{"../../es/instance/slice":45}],217:[function(require,module,exports){
5880
var parent = require('../../es/instance/sort');
5881
5882
module.exports = parent;
5883
5884
},{"../../es/instance/sort":46}],218:[function(require,module,exports){
5885
var parent = require('../../es/object/create');
5886
5887
module.exports = parent;
5888
5889
},{"../../es/object/create":47}],219:[function(require,module,exports){
5890
var parent = require('../../es/object/define-property');
5891
5892
module.exports = parent;
5893
5894
},{"../../es/object/define-property":48}],220:[function(require,module,exports){
5895
var parent = require('../es/parse-int');
5896
5897
module.exports = parent;
5898
5899
},{"../es/parse-int":49}],221:[function(require,module,exports){
5900
var parent = require('../../es/symbol');
5901
require('../../modules/web.dom-collections.iterator');
5902
5903
module.exports = parent;
5904
5905
},{"../../es/symbol":51,"../../modules/web.dom-collections.iterator":207}],222:[function(require,module,exports){
5906
module.exports = [
5907
{
5908
'name': 'C',
5909
'alias': 'Other',
5910
'isBmpLast': true,
5911
'bmp': '\0-\x1F\x7F-\x9F\xAD\u0378\u0379\u0380-\u0383\u038B\u038D\u03A2\u0530\u0557\u0558\u058B\u058C\u0590\u05C8-\u05CF\u05EB-\u05EE\u05F5-\u0605\u061C\u06DD\u070E\u070F\u074B\u074C\u07B2-\u07BF\u07FB\u07FC\u082E\u082F\u083F\u085C\u085D\u085F\u086B-\u086F\u088F-\u0897\u08E2\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A77-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF2-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B78-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BFB-\u0BFF\u0C0D\u0C11\u0C29\u0C3A\u0C3B\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B\u0C5C\u0C5E\u0C5F\u0C64\u0C65\u0C70-\u0C76\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDC\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D50-\u0D53\u0D64\u0D65\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF5-\u0E00\u0E3B-\u0E3E\u0E5C-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F48\u0F6D-\u0F70\u0F98\u0FBD\u0FCD\u0FDB-\u0FFF\u10C6\u10C8-\u10CC\u10CE\u10CF\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u137D-\u137F\u139A-\u139F\u13F6\u13F7\u13FE\u13FF\u169D-\u169F\u16F9-\u16FF\u1716-\u171E\u1737-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17DE\u17DF\u17EA-\u17EF\u17FA-\u17FF\u180E\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u193F\u1941-\u1943\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19DD\u1A1C\u1A1D\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1A9F\u1AAE\u1AAF\u1ACF-\u1AFF\u1B4D-\u1B4F\u1B7F\u1BF4-\u1BFB\u1C38-\u1C3A\u1C4A-\u1C4C\u1C89-\u1C8F\u1CBB\u1CBC\u1CC8-\u1CCF\u1CFB-\u1CFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FC5\u1FD4\u1FD5\u1FDC\u1FF0\u1FF1\u1FF5\u1FFF\u200B-\u200F\u202A-\u202E\u2060-\u206F\u2072\u2073\u208F\u209D-\u209F\u20C1-\u20CF\u20F1-\u20FF\u218C-\u218F\u2427-\u243F\u244B-\u245F\u2B74\u2B75\u2B96\u2CF4-\u2CF8\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D71-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E5E-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u2FFC-\u2FFF\u3040\u3097\u3098\u3100-\u3104\u3130\u318F\u31E4-\u31EF\u321F\uA48D-\uA48F\uA4C7-\uA4CF\uA62C-\uA63F\uA6F8-\uA6FF\uA7CB-\uA7CF\uA7D2\uA7D4\uA7DA-\uA7F1\uA82D-\uA82F\uA83A-\uA83F\uA878-\uA87F\uA8C6-\uA8CD\uA8DA-\uA8DF\uA954-\uA95E\uA97D-\uA97F\uA9CE\uA9DA-\uA9DD\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A\uAA5B\uAAC3-\uAADA\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB6C-\uAB6F\uABEE\uABEF\uABFA-\uABFF\uD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F\uDCB2-\uDCFF\uDE54-\uDE5F\uDE6E\uDE6F\uDE75-\uDE77\uDE7D-\uDE7F\uDE87-\uDE8F\uDEAD-\uDEAF\uDEBB-\uDEBF\uDEC6-\uDECF\uDEDA-\uDEDF\uDEE8-\uDEEF\uDEF7-\uDEFF\uDF93\uDFCB-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF39-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]'
5913
},
5914
{
5915
'name': 'Cc',
5916
'alias': 'Control',
5917
'bmp': '\0-\x1F\x7F-\x9F'
5918
},
5919
{
5920
'name': 'Cf',
5921
'alias': 'Format',
5922
'bmp': '\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB',
5923
'astral': '\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]'
5924
},
5925
{
5926
'name': 'Cn',
5927
'alias': 'Unassigned',
5928
'bmp': '\u0378\u0379\u0380-\u0383\u038B\u038D\u03A2\u0530\u0557\u0558\u058B\u058C\u0590\u05C8-\u05CF\u05EB-\u05EE\u05F5-\u05FF\u070E\u074B\u074C\u07B2-\u07BF\u07FB\u07FC\u082E\u082F\u083F\u085C\u085D\u085F\u086B-\u086F\u088F\u0892-\u0897\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09FF\u0A00\u0A04\u0A0B-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F48\u0F6D-\u0F70\u0F98\u0FBD\u0FCD\u0FDB-\u0FFF\u10C6\u10C8-\u10CC\u10CE\u10CF\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u137D-\u137F\u139A-\u139F\u13F6\u13F7\u13FE\u13FF\u169D-\u169F\u16F9-\u16FF\u1716-\u171E\u1737-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17DE\u17DF\u17EA-\u17EF\u17FA-\u17FF\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u193F\u1941-\u1943\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19DD\u1A1C\u1A1D\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1A9F\u1AAE\u1AAF\u1ACF-\u1AFF\u1B4D-\u1B4F\u1B7F\u1BF4-\u1BFB\u1C38-\u1C3A\u1C4A-\u1C4C\u1C89-\u1C8F\u1CBB\u1CBC\u1CC8-\u1CCF\u1CFB-\u1CFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FC5\u1FD4\u1FD5\u1FDC\u1FF0\u1FF1\u1FF5\u1FFF\u2065\u2072\u2073\u208F\u209D-\u209F\u20C1-\u20CF\u20F1-\u20FF\u218C-\u218F\u2427-\u243F\u244B-\u245F\u2B74\u2B75\u2B96\u2CF4-\u2CF8\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D71-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E5E-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u2FFC-\u2FFF\u3040\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7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDEEF\uDEF2-\uDFFF]|\uD83C[\uDC2C-\uDC2F\uDC94-\uDC9F\uDCAF\uDCB0\uDCC0\uDCD0\uDCF6-\uDCFF\uDDAE-\uDDE5\uDE03-\uDE0F\uDE3C-\uDE3F\uDE49-\uDE4F\uDE52-\uDE5F\uDE66-\uDEFF]|\uD83D[\uDED8-\uDEDC\uDEED-\uDEEF\uDEFD-\uDEFF\uDF74-\uDF7F\uDFD9-\uDFDF\uDFEC-\uDFEF\uDFF1-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE\uDCAF\uDCB2-\uDCFF\uDE54-\uDE5F\uDE6E\uDE6F\uDE75-\uDE77\uDE7D-\uDE7F\uDE87-\uDE8F\uDEAD-\uDEAF\uDEBB-\uDEBF\uDEC6-\uDECF\uDEDA-\uDEDF\uDEE8-\uDEEF\uDEF7-\uDEFF\uDF93\uDFCB-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF39-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00\uDC02-\uDC1F\uDC80-\uDCFF\uDDF0-\uDFFF]|[\uDBBF\uDBFF][\uDFFE\uDFFF]'
5930
},
5931
{
5932
'name': 'Co',
5933
'alias': 'Private_Use',
5934
'bmp': '\uE000-\uF8FF',
5935
'astral': '[\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uDBBF\uDBFF][\uDC00-\uDFFD]'
5936
},
5937
{
5938
'name': 'Cs',
5939
'alias': 'Surrogate',
5940
'bmp': '\uD800-\uDFFF'
5941
},
5942
{
5943
'name': 'L',
5944
'alias': 'Letter',
5945
'bmp': 'A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA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uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]'
5947
},
5948
{
5949
'name': 'LC',
5950
'alias': 'Cased_Letter',
5951
'bmp': 'A-Za-z\xB5\xC0-\xD6\xD8-\xF6\xF8-\u01BA\u01BC-\u01BF\u01C4-\u0293\u0295-\u02AF\u0370-\u0373\u0376\u0377\u037B-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0560-\u0588\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FD-\u10FF\u13A0-\u13F5\u13F8-\u13FD\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2134\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C7B\u2C7E-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA640-\uA66D\uA680-\uA69B\uA722-\uA76F\uA771-\uA787\uA78B-\uA78E\uA790-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F5\uA7F6\uA7FA\uAB30-\uAB5A\uAB60-\uAB68\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A',
5952
'astral': '\uD801[\uDC00-\uDC4F\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC]|\uD803[\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD806[\uDCA0-\uDCDF]|\uD81B[\uDE40-\uDE7F]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF09\uDF0B-\uDF1E]|\uD83A[\uDD00-\uDD43]'
5953
},
5954
{
5955
'name': 'Ll',
5956
'alias': 'Lowercase_Letter',
5957
'bmp': 'a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0560-\u0588\u10D0-\u10FA\u10FD-\u10FF\u13F8-\u13FD\u1C80-\u1C88\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1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4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7AF\uA7B5\uA7B7\uA7B9\uA7BB\uA7BD\uA7BF\uA7C1\uA7C3\uA7C8\uA7CA\uA7D1\uA7D3\uA7D5\uA7D7\uA7D9\uA7F6\uA7FA\uAB30-\uAB5A\uAB60-\uAB68\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A',
5958
'astral': '\uD801[\uDC28-\uDC4F\uDCD8-\uDCFB\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC]|\uD803[\uDCC0-\uDCF2]|\uD806[\uDCC0-\uDCDF]|\uD81B[\uDE60-\uDE7F]|\uD835[\uDC1A-\uDC33\uDC4E-\uDC54\uDC56-\uDC67\uDC82-\uDC9B\uDCB6-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDCEA-\uDD03\uDD1E-\uDD37\uDD52-\uDD6B\uDD86-\uDD9F\uDDBA-\uDDD3\uDDEE-\uDE07\uDE22-\uDE3B\uDE56-\uDE6F\uDE8A-\uDEA5\uDEC2-\uDEDA\uDEDC-\uDEE1\uDEFC-\uDF14\uDF16-\uDF1B\uDF36-\uDF4E\uDF50-\uDF55\uDF70-\uDF88\uDF8A-\uDF8F\uDFAA-\uDFC2\uDFC4-\uDFC9\uDFCB]|\uD837[\uDF00-\uDF09\uDF0B-\uDF1E]|\uD83A[\uDD22-\uDD43]'
5959
},
5960
{
5961
'name': 'Lm',
5962
'alias': 'Modifier_Letter',
5963
'bmp': '\u02B0-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0374\u037A\u0559\u0640\u06E5\u06E6\u07F4\u07F5\u07FA\u081A\u0824\u0828\u08C9\u0971\u0E46\u0EC6\u10FC\u17D7\u1843\u1AA7\u1C78-\u1C7D\u1D2C-\u1D6A\u1D78\u1D9B-\u1DBF\u2071\u207F\u2090-\u209C\u2C7C\u2C7D\u2D6F\u2E2F\u3005\u3031-\u3035\u303B\u309D\u309E\u30FC-\u30FE\uA015\uA4F8-\uA4FD\uA60C\uA67F\uA69C\uA69D\uA717-\uA71F\uA770\uA788\uA7F2-\uA7F4\uA7F8\uA7F9\uA9CF\uA9E6\uAA70\uAADD\uAAF3\uAAF4\uAB5C-\uAB5F\uAB69\uFF70\uFF9E\uFF9F',
5964
'astral': '\uD801[\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD81A[\uDF40-\uDF43]|\uD81B[\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD838[\uDD37-\uDD3D]|\uD83A\uDD4B'
5965
},
5966
{
5967
'name': 'Lo',
5968
'alias': 'Other_Letter',
5969
'bmp': '\xAA\xBA\u01BB\u01C0-\u01C3\u0294\u05D0-\u05EA\u05EF-\u05F2\u0620-\u063F\u0641-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u0800-\u0815\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C8\u0904-\u0939\u093D\u0950\u0958-\u0961\u0972-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1100-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17DC\u1820-\u1842\u1844-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C77\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u2135-\u2138\u2D30-\u2D67\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3006\u303C\u3041-\u3096\u309F\u30A1-\u30FA\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA014\uA016-\uA48C\uA4D0-\uA4F7\uA500-\uA60B\uA610-\uA61F\uA62A\uA62B\uA66E\uA6A0-\uA6E5\uA78F\uA7F7\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9E0-\uA9E4\uA9E7-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA6F\uAA71-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB\uAADC\uAAE0-\uAAEA\uAAF2\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF66-\uFF6F\uFF71-\uFF9D\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC',
5970
'astral': '\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC50-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF4A\uDF50]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD837\uDF0A|\uD838[\uDD00-\uDD2C\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]'
5971
},
5972
{
5973
'name': 'Lt',
5974
'alias': 'Titlecase_Letter',
5975
'bmp': '\u01C5\u01C8\u01CB\u01F2\u1F88-\u1F8F\u1F98-\u1F9F\u1FA8-\u1FAF\u1FBC\u1FCC\u1FFC'
5976
},
5977
{
5978
'name': 'Lu',
5979
'alias': 'Uppercase_Letter',
5980
'bmp': 'A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1C90-\u1CBA\u1CBD-\u1CBF\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7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uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE\uA7B0-\uA7B4\uA7B6\uA7B8\uA7BA\uA7BC\uA7BE\uA7C0\uA7C2\uA7C4-\uA7C7\uA7C9\uA7D0\uA7D6\uA7D8\uA7F5\uFF21-\uFF3A',
5981
'astral': '\uD801[\uDC00-\uDC27\uDCB0-\uDCD3\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95]|\uD803[\uDC80-\uDCB2]|\uD806[\uDCA0-\uDCBF]|\uD81B[\uDE40-\uDE5F]|\uD835[\uDC00-\uDC19\uDC34-\uDC4D\uDC68-\uDC81\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB5\uDCD0-\uDCE9\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD38\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD6C-\uDD85\uDDA0-\uDDB9\uDDD4-\uDDED\uDE08-\uDE21\uDE3C-\uDE55\uDE70-\uDE89\uDEA8-\uDEC0\uDEE2-\uDEFA\uDF1C-\uDF34\uDF56-\uDF6E\uDF90-\uDFA8\uDFCA]|\uD83A[\uDD00-\uDD21]'
5982
},
5983
{
5984
'name': 'M',
5985
'alias': 'Mark',
5986
'bmp': '\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F',
5987
'astral': '\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC00-\uDC02\uD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DC24\uDC26-\uDC2A\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF]'
5988
},
5989
{
5990
'name': 'Mc',
5991
'alias': 'Spacing_Mark',
5992
'bmp': '\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BE-\u09C0\u09C7\u09C8\u09CB\u09CC\u09D7\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD7\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0-\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0D02\u0D03\u0D3E-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D57\u0D82\u0D83\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DF2\u0DF3\u0F3E\u0F3F\u0F7F\u102B\u102C\u1031\u1038\u103B\u103C\u1056\u1057\u1062-\u1064\u1067-\u106D\u1083\u1084\u1087-\u108C\u108F\u109A-\u109C\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1B04\u1B35\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\u302E\u302F\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAA7B\uAA7D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC',
5993
'astral': '\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3E\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB0-\uDCB2\uDCB9\uDCBB-\uDCBE\uDCC1\uDDAF-\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF20\uDF21\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD30-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD65\uDD66\uDD6D-\uDD72]'
5994
},
5995
{
5996
'name': 'Me',
5997
'alias': 'Enclosing_Mark',
5998
'bmp': '\u0488\u0489\u1ABE\u20DD-\u20E0\u20E2-\u20E4\uA670-\uA672'
5999
},
6000
{
6001
'name': 'Mn',
6002
'alias': 'Nonspacing_Mark',
6003
'bmp': '\u0300-\u036F\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F',
6004
'astral': '\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE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{
6007
'name': 'N',
6008
'alias': 'Number',
6009
'bmp': '0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D58-\u0D5E\u0D66-\u0D78\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19',
6010
'astral': '\uD800[\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23\uDF41\uDF4A\uDFD1-\uDFD5]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE48\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDD30-\uDD39\uDE60-\uDE7E\uDF1D-\uDF26\uDF51-\uDF54\uDFC5-\uDFCB]|\uD804[\uDC52-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDDE1-\uDDF4\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF3B]|\uD806[\uDCE0-\uDCF2\uDD50-\uDD59]|\uD807[\uDC50-\uDC6C\uDD50-\uDD59\uDDA0-\uDDA9\uDFC0-\uDFD4]|\uD809[\uDC00-\uDC6E]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59\uDF5B-\uDF61]|\uD81B[\uDE80-\uDE96]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD83A[\uDCC7-\uDCCF\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]'
6011
},
6012
{
6013
'name': 'Nd',
6014
'alias': 'Decimal_Number',
6015
'bmp': '0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19',
6016
'astral': '\uD801[\uDCA0-\uDCA9]|\uD803[\uDD30-\uDD39]|\uD804[\uDC66-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF39]|\uD806[\uDCE0-\uDCE9\uDD50-\uDD59]|\uD807[\uDC50-\uDC59\uDD50-\uDD59\uDDA0-\uDDA9]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD83A[\uDD50-\uDD59]|\uD83E[\uDFF0-\uDFF9]'
6017
},
6018
{
6019
'name': 'Nl',
6020
'alias': 'Letter_Number',
6021
'bmp': '\u16EE-\u16F0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303A\uA6E6-\uA6EF',
6022
'astral': '\uD800[\uDD40-\uDD74\uDF41\uDF4A\uDFD1-\uDFD5]|\uD809[\uDC00-\uDC6E]'
6023
},
6024
{
6025
'name': 'No',
6026
'alias': 'Other_Number',
6027
'bmp': '\xB2\xB3\xB9\xBC-\xBE\u09F4-\u09F9\u0B72-\u0B77\u0BF0-\u0BF2\u0C78-\u0C7E\u0D58-\u0D5E\u0D70-\u0D78\u0F2A-\u0F33\u1369-\u137C\u17F0-\u17F9\u19DA\u2070\u2074-\u2079\u2080-\u2089\u2150-\u215F\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA830-\uA835',
6028
'astral': '\uD800[\uDD07-\uDD33\uDD75-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE48\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDE60-\uDE7E\uDF1D-\uDF26\uDF51-\uDF54\uDFC5-\uDFCB]|\uD804[\uDC52-\uDC65\uDDE1-\uDDF4]|\uD805[\uDF3A\uDF3B]|\uD806[\uDCEA-\uDCF2]|\uD807[\uDC5A-\uDC6C\uDFC0-\uDFD4]|\uD81A[\uDF5B-\uDF61]|\uD81B[\uDE80-\uDE96]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD83A[\uDCC7-\uDCCF]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D]|\uD83C[\uDD00-\uDD0C]'
6029
},
6030
{
6031
'name': 'P',
6032
'alias': 'Punctuation',
6033
'bmp': '!-#%-\\*,-\\/:;\\?@\\[-\\]_\\{\\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65',
6034
'astral': '\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]'
6035
},
6036
{
6037
'name': 'Pc',
6038
'alias': 'Connector_Punctuation',
6039
'bmp': '_\u203F\u2040\u2054\uFE33\uFE34\uFE4D-\uFE4F\uFF3F'
6040
},
6041
{
6042
'name': 'Pd',
6043
'alias': 'Dash_Punctuation',
6044
'bmp': '\\-\u058A\u05BE\u1400\u1806\u2010-\u2015\u2E17\u2E1A\u2E3A\u2E3B\u2E40\u2E5D\u301C\u3030\u30A0\uFE31\uFE32\uFE58\uFE63\uFF0D',
6045
'astral': '\uD803\uDEAD'
6046
},
6047
{
6048
'name': 'Pe',
6049
'alias': 'Close_Punctuation',
6050
'bmp': '\\)\\]\\}\u0F3B\u0F3D\u169C\u2046\u207E\u208E\u2309\u230B\u232A\u2769\u276B\u276D\u276F\u2771\u2773\u2775\u27C6\u27E7\u27E9\u27EB\u27ED\u27EF\u2984\u2986\u2988\u298A\u298C\u298E\u2990\u2992\u2994\u2996\u2998\u29D9\u29DB\u29FD\u2E23\u2E25\u2E27\u2E29\u2E56\u2E58\u2E5A\u2E5C\u3009\u300B\u300D\u300F\u3011\u3015\u3017\u3019\u301B\u301E\u301F\uFD3E\uFE18\uFE36\uFE38\uFE3A\uFE3C\uFE3E\uFE40\uFE42\uFE44\uFE48\uFE5A\uFE5C\uFE5E\uFF09\uFF3D\uFF5D\uFF60\uFF63'
6051
},
6052
{
6053
'name': 'Pf',
6054
'alias': 'Final_Punctuation',
6055
'bmp': '\xBB\u2019\u201D\u203A\u2E03\u2E05\u2E0A\u2E0D\u2E1D\u2E21'
6056
},
6057
{
6058
'name': 'Pi',
6059
'alias': 'Initial_Punctuation',
6060
'bmp': '\xAB\u2018\u201B\u201C\u201F\u2039\u2E02\u2E04\u2E09\u2E0C\u2E1C\u2E20'
6061
},
6062
{
6063
'name': 'Po',
6064
'alias': 'Other_Punctuation',
6065
'bmp': '!-#%-\'\\*,\\.\\/:;\\?@\\\xA1\xA7\xB6\xB7\xBF\u037E\u0387\u055A-\u055F\u0589\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u166E\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u1805\u1807-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2016\u2017\u2020-\u2027\u2030-\u2038\u203B-\u203E\u2041-\u2043\u2047-\u2051\u2053\u2055-\u205E\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00\u2E01\u2E06-\u2E08\u2E0B\u2E0E-\u2E16\u2E18\u2E19\u2E1B\u2E1E\u2E1F\u2E2A-\u2E2E\u2E30-\u2E39\u2E3C-\u2E3F\u2E41\u2E43-\u2E4F\u2E52-\u2E54\u3001-\u3003\u303D\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFE10-\uFE16\uFE19\uFE30\uFE45\uFE46\uFE49-\uFE4C\uFE50-\uFE52\uFE54-\uFE57\uFE5F-\uFE61\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF07\uFF0A\uFF0C\uFF0E\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3C\uFF61\uFF64\uFF65',
6066
'astral': '\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]'
6067
},
6068
{
6069
'name': 'Ps',
6070
'alias': 'Open_Punctuation',
6071
'bmp': '\\(\\[\\{\u0F3A\u0F3C\u169B\u201A\u201E\u2045\u207D\u208D\u2308\u230A\u2329\u2768\u276A\u276C\u276E\u2770\u2772\u2774\u27C5\u27E6\u27E8\u27EA\u27EC\u27EE\u2983\u2985\u2987\u2989\u298B\u298D\u298F\u2991\u2993\u2995\u2997\u29D8\u29DA\u29FC\u2E22\u2E24\u2E26\u2E28\u2E42\u2E55\u2E57\u2E59\u2E5B\u3008\u300A\u300C\u300E\u3010\u3014\u3016\u3018\u301A\u301D\uFD3F\uFE17\uFE35\uFE37\uFE39\uFE3B\uFE3D\uFE3F\uFE41\uFE43\uFE47\uFE59\uFE5B\uFE5D\uFF08\uFF3B\uFF5B\uFF5F\uFF62'
6072
},
6073
{
6074
'name': 'S',
6075
'alias': 'Symbol',
6076
'bmp': '\\$\\+<->\\^`\\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD',
6077
'astral': '\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDD-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6\uDF00-\uDF92\uDF94-\uDFCA]'
6078
},
6079
{
6080
'name': 'Sc',
6081
'alias': 'Currency_Symbol',
6082
'bmp': '\\$\xA2-\xA5\u058F\u060B\u07FE\u07FF\u09F2\u09F3\u09FB\u0AF1\u0BF9\u0E3F\u17DB\u20A0-\u20C0\uA838\uFDFC\uFE69\uFF04\uFFE0\uFFE1\uFFE5\uFFE6',
6083
'astral': '\uD807[\uDFDD-\uDFE0]|\uD838\uDEFF|\uD83B\uDCB0'
6084
},
6085
{
6086
'name': 'Sk',
6087
'alias': 'Modifier_Symbol',
6088
'bmp': '\\^`\xA8\xAF\xB4\xB8\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u0888\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u309B\u309C\uA700-\uA716\uA720\uA721\uA789\uA78A\uAB5B\uAB6A\uAB6B\uFBB2-\uFBC2\uFF3E\uFF40\uFFE3',
6089
'astral': '\uD83C[\uDFFB-\uDFFF]'
6090
},
6091
{
6092
'name': 'Sm',
6093
'alias': 'Math_Symbol',
6094
'bmp': '\\+<->\\|~\xAC\xB1\xD7\xF7\u03F6\u0606-\u0608\u2044\u2052\u207A-\u207C\u208A-\u208C\u2118\u2140-\u2144\u214B\u2190-\u2194\u219A\u219B\u21A0\u21A3\u21A6\u21AE\u21CE\u21CF\u21D2\u21D4\u21F4-\u22FF\u2320\u2321\u237C\u239B-\u23B3\u23DC-\u23E1\u25B7\u25C1\u25F8-\u25FF\u266F\u27C0-\u27C4\u27C7-\u27E5\u27F0-\u27FF\u2900-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2AFF\u2B30-\u2B44\u2B47-\u2B4C\uFB29\uFE62\uFE64-\uFE66\uFF0B\uFF1C-\uFF1E\uFF5C\uFF5E\uFFE2\uFFE9-\uFFEC',
6095
'astral': '\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD83B[\uDEF0\uDEF1]'
6096
},
6097
{
6098
'name': 'So',
6099
'alias': 'Other_Symbol',
6100
'bmp': '\xA6\xA9\xAE\xB0\u0482\u058D\u058E\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u09FA\u0B70\u0BF3-\u0BF8\u0BFA\u0C7F\u0D4F\u0D79\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116\u2117\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u214A\u214C\u214D\u214F\u218A\u218B\u2195-\u2199\u219C-\u219F\u21A1\u21A2\u21A4\u21A5\u21A7-\u21AD\u21AF-\u21CD\u21D0\u21D1\u21D3\u21D5-\u21F3\u2300-\u2307\u230C-\u231F\u2322-\u2328\u232B-\u237B\u237D-\u239A\u23B4-\u23DB\u23E2-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u25B6\u25B8-\u25C0\u25C2-\u25F7\u2600-\u266E\u2670-\u2767\u2794-\u27BF\u2800-\u28FF\u2B00-\u2B2F\u2B45\u2B46\u2B4D-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA828-\uA82B\uA836\uA837\uA839\uAA77-\uAA79\uFD40-\uFD4F\uFDCF\uFDFD-\uFDFF\uFFE4\uFFE8\uFFED\uFFEE\uFFFC\uFFFD',
6101
'astral': '\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFDC\uDFE1-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838\uDD4F|\uD83B[\uDCAC\uDD2E]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFA]|\uD83D[\uDC00-\uDED7\uDEDD-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6\uDF00-\uDF92\uDF94-\uDFCA]'
6102
},
6103
{
6104
'name': 'Z',
6105
'alias': 'Separator',
6106
'bmp': ' \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000'
6107
},
6108
{
6109
'name': 'Zl',
6110
'alias': 'Line_Separator',
6111
'bmp': '\u2028'
6112
},
6113
{
6114
'name': 'Zp',
6115
'alias': 'Paragraph_Separator',
6116
'bmp': '\u2029'
6117
},
6118
{
6119
'name': 'Zs',
6120
'alias': 'Space_Separator',
6121
'bmp': ' \xA0\u1680\u2000-\u200A\u202F\u205F\u3000'
6122
}
6123
];
6124
6125
},{}]},{},[3])(3)
6126
});
6127

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button