// ==UserScript==
// @name EhSyringe
// @version 3.0.15
// @author EhTagTranslation
// @description E 站注射器,将中文翻译注入到 E 站体内。包含全站 UI 翻译和超过 34000 条标签翻译,标签数据库持续更新中。
// @homepage https://github.com/EhTagTranslation/EhSyringe
// @supportURL https://github.com/EhTagTranslation/EhSyringe/issues
// @match *://exhentai.org/*
// @match *://exhentai55ld2wyap5juskbm67czulomrouspdacjamjeloj7ugjbsad.onion/*
// @match *://e-hentai.org/*
// @match *://*.exhentai.org/*
// @match *://*.exhentai55ld2wyap5juskbm67czulomrouspdacjamjeloj7ugjbsad.onion/*
// @match *://*.e-hentai.org/*
// @match *://*.hath.network/*
// @namespace https://github.com/EhTagTranslation/EhSyringe
// @license MIT
// @compatible firefox >= 60
// @compatible edge >= 16
// @compatible chrome >= 61
// @compatible safari >= 11
// @compatible opera >= 48
// @exclude *://forums.e-hentai.org/*
// @icon https://fastly.jsdelivr.net/gh/EhTagTranslation/EhSyringe@12f1dc14b3d1c1fce26c74d14e19cf6561a353f5/src/assets/logo.svg
// @run-at document-start
// @grant GM_deleteValue
// @grant GM_listValues
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addValueChangeListener
// @grant GM_removeValueChangeListener
// @grant GM_openInTab
// @grant GM_notification
// ==/UserScript==
/******/ (function() { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ 68100:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var _mapInstanceProperty = __webpack_require__(72397);
var _concatInstanceProperty = __webpack_require__(82179);
module.exports = function (cssWithMappingToString) {
var list = [];
// return the list of modules as css string
list.toString = function toString() {
var _context;
return _mapInstanceProperty(_context = this).call(_context, function (item) {
var content = "";
var needLayer = typeof item[5] !== "undefined";
if (item[4]) {
content += "@supports (".concat(item[4], ") {");
}
if (item[2]) {
content += "@media ".concat(item[2], " {");
}
if (needLayer) {
content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
}
content += cssWithMappingToString(item);
if (needLayer) {
content += "}";
}
if (item[2]) {
content += "}";
}
if (item[4]) {
content += "}";
}
return content;
}).join("");
};
// import a list of modules into the list
list.i = function i(modules, media, dedupe, supports, layer) {
if (typeof modules === "string") {
modules = [[null, modules, undefined]];
}
var alreadyImportedModules = {};
if (dedupe) {
for (var k = 0; k < this.length; k++) {
var id = this[k][0];
if (id != null) {
alreadyImportedModules[id] = true;
}
}
}
for (var _k = 0; _k < modules.length; _k++) {
var _context2;
var item = _concatInstanceProperty(_context2 = []).call(_context2, modules[_k]);
if (dedupe && alreadyImportedModules[item[0]]) {
continue;
}
if (typeof layer !== "undefined") {
if (typeof item[5] === "undefined") {
item[5] = layer;
} else {
var _context3;
item[1] = _concatInstanceProperty(_context3 = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {")).call(_context3, item[1], "}");
item[5] = layer;
}
}
if (media) {
if (!item[2]) {
item[2] = media;
} else {
var _context4;
item[1] = _concatInstanceProperty(_context4 = "@media ".concat(item[2], " {")).call(_context4, item[1], "}");
item[2] = media;
}
}
if (supports) {
if (!item[4]) {
item[4] = "".concat(supports);
} else {
var _context5;
item[1] = _concatInstanceProperty(_context5 = "@supports (".concat(item[4], ") {")).call(_context5, item[1], "}");
item[4] = supports;
}
}
list.push(item);
}
};
return list;
};
/***/ }),
/***/ 91791:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var _sliceInstanceProperty = __webpack_require__(33777);
module.exports = function (url, options) {
if (!options) {
options = {};
}
if (!url) {
return url;
}
url = String(url.__esModule ? url["default"] : url);
// If url is already wrapped in quotes, remove them
if (/^['"].*['"]$/.test(url)) {
url = _sliceInstanceProperty(url).call(url, 1, -1);
}
if (options.hash) {
url += options.hash;
}
// Should url be wrapped?
// See https://drafts.csswg.org/css-values-3/#urls
if (/["'() \t\n]|(%20)/.test(url) || options.needQuotes) {
return "\"".concat(url.replace(/"/g, '\\"').replace(/\n/g, "\\n"), "\"");
}
return url;
};
/***/ }),
/***/ 97164:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var _JSON$stringify = __webpack_require__(85467);
var _concatInstanceProperty = __webpack_require__(82179);
module.exports = function (item) {
var content = item[1];
var cssMapping = item[3];
if (!cssMapping) {
return content;
}
if (typeof btoa === "function") {
var _context;
var base64 = btoa(unescape(encodeURIComponent(_JSON$stringify(cssMapping))));
var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
var sourceMapping = "/*# ".concat(data, " */");
return _concatInstanceProperty(_context = [content]).call(_context, [sourceMapping]).join("\n");
}
return [content].join("\n");
};
/***/ }),
/***/ 11519:
/***/ (function(module) {
"use strict";
/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/
/**
* Module variables.
* @private
*/
var matchHtmlRegExp = /["'&<>]/;
/**
* Module exports.
* @public
*/
module.exports = escapeHtml;
/**
* Escape special characters in the given string of html.
*
* @param {string} string The string to escape for inserting into HTML
* @return {string}
* @public
*/
function escapeHtml(string) {
var str = '' + string;
var match = matchHtmlRegExp.exec(str);
if (!match) {
return str;
}
var escape;
var html = '';
var index = 0;
var lastIndex = 0;
for (index = match.index; index < str.length; index++) {
switch (str.charCodeAt(index)) {
case 34:
// "
escape = '"';
break;
case 38:
// &
escape = '&';
break;
case 39:
// '
escape = ''';
break;
case 60:
// <
escape = '<';
break;
case 62:
// >
escape = '>';
break;
default:
continue;
}
if (lastIndex !== index) {
html += str.substring(lastIndex, index);
}
lastIndex = index + 1;
html += escape;
}
return lastIndex !== index ? html + str.substring(lastIndex, index) : html;
}
/***/ }),
/***/ 13740:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97164);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(68100);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports
var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, "#gmid{display:grid;grid:\"gd3 spa spa\" auto \"gd3 gd4 gd5\" auto/auto 1fr auto}#gmid #gd3{grid-area:gd3}#gmid #spa{grid-area:spa;width:auto}#gmid #gd4{grid-area:gd4;width:auto}#gmid #gd5{grid-area:gd5}div#gd5{position:relative;z-index:3}div#gd5 #ehs-introduce-box img{height:auto;margin:0;width:auto}#ehs-introduce-box{bottom:0;left:0;overflow:auto;position:absolute;right:-5px;text-align:left;top:0;-webkit-box-orient:vertical;-webkit-flex-flow:column;-moz-box-orient:vertical;background:#edebdf;-webkit-border-radius:0 0 6px 0;-moz-border-radius:0 0 6px 0;border-radius:0 0 6px 0;-ms-flex-flow:column;flex-flow:column}#ehs-introduce-box,#ehs-introduce-box .ehs-title{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal}#ehs-introduce-box .ehs-title{-webkit-box-flex:0;-webkit-flex:none;-moz-box-flex:0;border-bottom:1px solid #5c0d12;-ms-flex:none;flex:none;line-height:14px;margin:0 8px;padding:3px 0;-webkit-box-orient:horizontal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}#ehs-introduce-box .ehs-title .ehs-cn{font-weight:700}#ehs-introduce-box .ehs-title .ehs-cn,#ehs-introduce-box .ehs-title .ehs-en{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}#ehs-introduce-box .ehs-title .ehs-en{opacity:.7}#ehs-introduce-box .ehs-title>div{overflow:hidden;-webkit-box-flex:1;-webkit-flex:auto;-moz-box-flex:1;-ms-flex:auto;flex:auto}#ehs-introduce-box .ehs-title>span{overflow:hidden;-webkit-box-flex:0;-webkit-flex:none;-moz-box-flex:0;-ms-flex:none;flex:none}#ehs-introduce-box .ehs-close{cursor:pointer;font-size:16px;line-height:28px;opacity:.8;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:20px}#ehs-introduce-box .ehs-close:hover{opacity:1}#ehs-introduce-box .ehs-close:after{content:\"\\00d7\"}#ehs-introduce-box .ehs-content{-webkit-box-flex:1;-webkit-flex:auto;-moz-box-flex:1;-ms-flex:auto;flex:auto;margin:4px 0;overflow:auto;padding:4px 8px;scrollbar-color:#5c0d12 transparent;scrollbar-width:thin}#ehs-introduce-box .ehs-content::-webkit-scrollbar{height:4px;width:4px}#ehs-introduce-box .ehs-content::-webkit-scrollbar-thumb{background:#5c0d12}#ehs-introduce-box .ehs-content abbr[title]{padding:0 1px}#ehs-introduce-box .ehs-content abbr[title]:after{content:\" (\" attr(title) \")\";font-size:90%}#ehs-introduce-box .ehs-href{-webkit-box-flex:0;-webkit-flex:none;-moz-box-flex:0;border-top:1px solid #5c0d12;-ms-flex:none;flex:none;line-height:24px;margin:0 8px}#ehs-introduce-box .ehs-href:empty{display:none}#ehs-introduce-box:empty{display:none}#ehs-introduce-box img{max-width:100%}:root.ehs-ex #ehs-introduce-box{background:#4f535b;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}:root.ehs-ex #ehs-introduce-box .ehs-title{border-bottom:1px solid #000}:root.ehs-ex #ehs-introduce-box .ehs-href{border-top:1px solid #000}:root.ehs-ex #ehs-introduce-box .ehs-content{scrollbar-color:#000 transparent}:root.ehs-ex #ehs-introduce-box .ehs-content::-webkit-scrollbar-thumb{background:#000}.ehs-no-intro,.ehs-no-translation{opacity:.8}.ehs-no-intro h3,.ehs-no-translation h3{font-size:16px;font-weight:700;opacity:.6;padding:8px;text-align:center}:root.ehs-image-level-0 #ehs-introduce-box .ehs-content img{display:none}:root.ehs-image-level-1 #ehs-introduce-box .ehs-content img[nsfw]{display:none}:root.ehs-image-level-2 #ehs-introduce-box .ehs-content img[nsfw=R18G]{display:none}", "",{"version":3,"sources":["webpack://./src/plugin/introduce/index.less"],"names":[],"mappings":"AAAA,MACI,YAAA,CACA,wDACJ,CAHA,WAOQ,aADR,CANA,WAUQ,aAAA,CACA,UADR,CAVA,WAcQ,aAAA,CACA,UADR,CAdA,WAkBQ,aADR,CAKA,QAEI,iBAAA,CADA,SAFJ,CACA,+BAMQ,WAAA,CAFA,QAAA,CACA,UADR,CAMA,mBAEI,QAAA,CAAA,MAAA,CACA,aAAA,CAFA,iBAAA,CACA,UAAA,CAEA,eAAA,CAFA,KAAA,CAIA,2BAAA,CAAA,wBAAA,CAAA,wBAAA,CAEA,kBAAA,CADA,+BAAA,CAAA,4BAAA,CAAA,uBAAA,CADA,oBAAA,CAAA,gBAFJ,CAJA,iDAKI,mBAAA,CAAA,oBAAA,CAAA,gBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,4BAAA,CAAA,yBAOJ,CAbA,8BAUQ,kBAAA,CAAA,iBAAA,CAAA,eAAA,CAEA,+BAAA,CAFA,aAAA,CAAA,SAAA,CAGA,gBAAA,CAFA,YAAA,CAGA,aAAA,CAEA,6BAAA,CAAA,0BAAA,CAAA,0BAAA,CAAA,sBAAA,CAAA,kBAHR,CAbA,sCAmBY,eAAZ,CAnBA,4EAoBY,eAAA,CACA,yBAAA,CAAA,sBAAA,CACA,kBAGZ,CAzBA,sCAyBY,UAAZ,CAzBA,kCAgCY,eAAA,CACA,kBAAA,CAAA,iBAAA,CAAA,eAAA,CAAA,aAAA,CAAA,SAJZ,CA7BA,mCAoCY,eAAA,CACA,kBAAA,CAAA,iBAAA,CAAA,eAAA,CAAA,aAAA,CAAA,SAJZ,CAjCA,8BA0CQ,cAAA,CACA,cAAA,CAEA,gBAAA,CADA,UAAA,CAGA,iBAAA,CANA,wBAAA,CAAA,qBAAA,CAAA,oBAAA,CAAA,gBAAA,CAKA,UAJR,CAMQ,oCACI,SAJZ,CAMQ,oCACI,eAJZ,CAhDA,gCAwDQ,kBAAA,CAAA,iBAAA,CAAA,eAAA,CAAA,aAAA,CAAA,SAAA,CAEA,YAAA,CADA,aAAA,CAEA,eAAA,CAEA,mCAAA,CADA,oBAJR,CAOQ,mDAEI,UAAA,CADA,SAJZ,CAOQ,yDACI,kBALZ,CA/DA,4CAuEY,aALZ,CAMY,kDACI,4BAAA,CACA,aAJhB,CAtEA,6BA+EQ,kBAAA,CAAA,iBAAA,CAAA,eAAA,CACA,4BAAA,CADA,aAAA,CAAA,SAAA,CAGA,gBAAA,CADA,YALR,CAOQ,mCACI,YALZ,CASI,yBACI,YAPR,CAlFA,uBA4FQ,cAPR,CAWA,gCACI,kBAAA,CACA,uBAAA,CAAA,oBAAA,CAAA,eATJ,CAOA,2CAIQ,4BARR,CAIA,0CAOQ,yBARR,CACA,6CAUQ,gCARR,CASQ,sEACI,eAPZ,CAYA,kCAEI,UAVJ,CAQA,wCAMQ,cAAA,CAEA,eAAA,CAJA,UAAA,CAGA,WAAA,CAFA,iBALR,CAcA,4DAEQ,YAZR,CAeA,kEAEQ,YAdR,CAiBA,uEAEQ,YAhBR","sourcesContent":["#gmid {\n display: grid;\n grid:\n 'gd3 spa spa' auto\n 'gd3 gd4 gd5' auto\n / auto 1fr auto;\n #gd3 {\n grid-area: gd3;\n }\n #spa {\n grid-area: spa;\n width: auto;\n }\n #gd4 {\n grid-area: gd4;\n width: auto;\n }\n #gd5 {\n grid-area: gd5;\n }\n}\n\ndiv#gd5 {\n z-index: 3;\n position: relative;\n #ehs-introduce-box img {\n margin: 0;\n width: auto;\n height: auto;\n }\n}\n\n#ehs-introduce-box {\n position: absolute;\n inset: 0 -5px 0 0;\n overflow: auto;\n text-align: left;\n display: flex;\n flex-flow: column;\n border-radius: 0 0 6px 0;\n background: #edebdf;\n .ehs-title {\n flex: none;\n margin: 0 8px;\n border-bottom: 1px solid #5c0d12;\n line-height: 14px;\n padding: 3px 0;\n display: flex;\n flex-direction: row;\n\n .ehs-cn {\n font-weight: bold;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .ehs-en {\n opacity: 0.7;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n > div {\n overflow: hidden;\n flex: auto;\n }\n > span {\n overflow: hidden;\n flex: none;\n }\n }\n .ehs-close {\n user-select: none;\n cursor: pointer;\n font-size: 16px;\n opacity: 0.8;\n line-height: 28px;\n width: 20px;\n text-align: center;\n &:hover {\n opacity: 1;\n }\n &::after {\n content: '\\00d7';\n }\n }\n .ehs-content {\n flex: auto;\n overflow: auto;\n margin: 4px 0;\n padding: 4px 8px;\n scrollbar-width: thin;\n scrollbar-color: #5c0d12 transparent;\n\n &::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n }\n &::-webkit-scrollbar-thumb {\n background: #5c0d12;\n }\n abbr[title] {\n padding: 0 1px;\n &::after {\n content: ' (' attr(title) ')';\n font-size: 90%;\n }\n }\n }\n .ehs-href {\n flex: none;\n border-top: 1px solid #5c0d12;\n margin: 0 8px;\n line-height: 24px;\n &:empty {\n display: none;\n }\n }\n\n &:empty {\n display: none;\n }\n img {\n max-width: 100%;\n }\n}\n\n:root.ehs-ex #ehs-introduce-box {\n background: #4f535b;\n border-radius: 0;\n .ehs-title {\n border-bottom: 1px solid #000;\n }\n .ehs-href {\n border-top: 1px solid #000;\n }\n .ehs-content {\n scrollbar-color: #000 transparent;\n &::-webkit-scrollbar-thumb {\n background: #000;\n }\n }\n}\n\n.ehs-no-translation,\n.ehs-no-intro {\n opacity: 0.8;\n h3 {\n opacity: 0.6;\n text-align: center;\n font-size: 16px;\n padding: 8px;\n font-weight: bold;\n }\n}\n\n//0:hide, 1:non-h 2: R18 3: R18G\n/* nsfw=\"R18\" */\n:root.ehs-image-level-0 #ehs-introduce-box .ehs-content {\n img {\n display: none;\n }\n}\n:root.ehs-image-level-1 #ehs-introduce-box .ehs-content {\n img[nsfw] {\n display: none;\n }\n}\n:root.ehs-image-level-2 #ehs-introduce-box .ehs-content {\n img[nsfw='R18G'] {\n display: none;\n }\n}\n:root.ehs-image-level-3 {\n // 所有都显示\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ __webpack_exports__.A = (___CSS_LOADER_EXPORT___);
/***/ }),
/***/ 94203:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97164);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(68100);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports
var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, "#eh-syringe-popup-root{font-size:medium;line-height:normal;text-align:left;text-align:initial}#eh-syringe-popup-root input,#eh-syringe-popup-root table,#eh-syringe-popup-root td,#eh-syringe-popup-root th{background:inherit;color:inherit}#eh-syringe-popup-root input{border:none;margin:0;padding:0}#eh-syringe-popup-root input[type=checkbox],#eh-syringe-popup-root input[type=radio]{position:static;top:auto}#eh-syringe-popup-root p{margin:.8em 0;padding:0}#eh-syringe-popup-root a{background:rgba(0,0,0,0);-webkit-text-decoration:none;text-decoration:none;-webkit-transition:all .28s cubic-bezier(.4,0,.2,1) 0s;-o-transition:all .28s cubic-bezier(.4,0,.2,1) 0s;-moz-transition:all .28s cubic-bezier(.4,0,.2,1) 0s;transition:all .28s cubic-bezier(.4,0,.2,1) 0s}#eh-syringe-popup{background:#f0f0f0;border:1px solid #8041a6;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 0 6px 2px rgba(0,0,0,.2);-moz-box-shadow:0 0 6px 2px rgba(0,0,0,.2);box-shadow:0 0 6px 2px rgba(0,0,0,.2);color:#111}#eh-syringe-popup .action{background:#f0f0f0;color:#8041a6}#eh-syringe-popup .action.primary{background:#8041a6;border-color:#8041a6;color:#f0f0f0}#eh-syringe-popup .action.primary:hover{background:#491774}#eh-syringe-popup .action.primary:active{background:#ae79c9}#eh-syringe-popup #info{color:#8041a6}#eh-syringe-popup .hasNew{color:#79252b}#eh-syringe-popup a{color:#8041a6}#eh-syringe-popup a:hover{color:#491774}#eh-syringe-popup a:active{color:#ae79c9}#eh-syringe-popup a.minor{color:#a5a3a6}#eh-syringe-popup a.minor:hover{color:#d2cdd4}#eh-syringe-popup a.minor:active{color:#838185}#eh-syringe-popup .logo svg [fill-bg]{fill:#f0f0f0}#eh-syringe-popup .logo svg [fill-accent]{fill:#8041a6}#eh-syringe-popup .logo svg [fill-sa]{fill:#cfbadc}#eh-syringe-popup .logo svg [stroke-bg]{stroke:#f0f0f0}#eh-syringe-popup .logo svg [stroke-accent]{stroke:#8041a6}#eh-syringe-popup .logo svg [stroke-sa]{stroke:#cfbadc}#eh-syringe-popup #settingForm .checkbox-item svg path{stroke:#8041a6}#eh-syringe-popup #settingForm input[type=checkbox]{border:2px solid #a09da6}#eh-syringe-popup #settingForm input[type=checkbox]:checked{border:2px solid #8041a6}#eh-syringe-popup #settingForm input[type=range]::-webkit-slider-runnable-track{border:1px solid #ae79c9}#eh-syringe-popup #settingForm input[type=range]::-moz-range-track{border:1px solid #ae79c9}#eh-syringe-popup #settingForm input[type=range]::-webkit-slider-thumb{background:#f0f0f0;border:2px solid #8041a6}#eh-syringe-popup #settingForm input[type=range]::-moz-range-thumb{background:#f0f0f0;border:2px solid #8041a6}#eh-syringe-popup #settingForm input[type=range]:focus::-webkit-slider-thumb{border:2px solid #8041a6;-webkit-box-shadow:0 0 7px rgba(0,0,0,.2);box-shadow:0 0 7px rgba(0,0,0,.2)}#eh-syringe-popup #settingForm input[type=range]:focus::-moz-range-thumb{border:2px solid #8041a6;-moz-box-shadow:0 0 7px rgba(0,0,0,.2);box-shadow:0 0 7px rgba(0,0,0,.2)}#eh-syringe-popup #settingForm input[type=range]:active::-webkit-slider-thumb{background:#fdfdfd;border:2px solid #8041a6;-webkit-box-shadow:0 0 7px 1px rgba(0,0,0,.2);box-shadow:0 0 7px 1px rgba(0,0,0,.2)}#eh-syringe-popup #settingForm input[type=range]:active::-moz-range-thumb{background:#fdfdfd;border:2px solid #8041a6;-moz-box-shadow:0 0 7px 1px rgba(0,0,0,.2);box-shadow:0 0 7px 1px rgba(0,0,0,.2)}:root.ehs-ex #eh-syringe-popup{background:#313131;border:1px solid #ce90f1;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 0 6px 2px rgba(0,0,0,.2);-moz-box-shadow:0 0 6px 2px rgba(0,0,0,.2);box-shadow:0 0 6px 2px rgba(0,0,0,.2);color:#eee}:root.ehs-ex #eh-syringe-popup .action{background:#313131;color:#ce90f1}:root.ehs-ex #eh-syringe-popup .action.primary{background:#ce90f1;border-color:#ce90f1;color:#313131}:root.ehs-ex #eh-syringe-popup .action.primary:hover{background:#e2b9f7}:root.ehs-ex #eh-syringe-popup .action.primary:active{background:#b669e9}:root.ehs-ex #eh-syringe-popup #info{color:#ce90f1}:root.ehs-ex #eh-syringe-popup .hasNew{color:#cb8d93}:root.ehs-ex #eh-syringe-popup a{color:#ce90f1}:root.ehs-ex #eh-syringe-popup a:hover{color:#e2b9f7}:root.ehs-ex #eh-syringe-popup a:active{color:#b669e9}:root.ehs-ex #eh-syringe-popup a.minor{color:#a5a3a6}:root.ehs-ex #eh-syringe-popup a.minor:hover{color:#d2cdd4}:root.ehs-ex #eh-syringe-popup a.minor:active{color:#838185}:root.ehs-ex #eh-syringe-popup .logo svg [fill-bg]{fill:#313131}:root.ehs-ex #eh-syringe-popup .logo svg [fill-accent]{fill:#ce90f1}:root.ehs-ex #eh-syringe-popup .logo svg [fill-sa]{fill:#987ca8}:root.ehs-ex #eh-syringe-popup .logo svg [stroke-bg]{stroke:#313131}:root.ehs-ex #eh-syringe-popup .logo svg [stroke-accent]{stroke:#ce90f1}:root.ehs-ex #eh-syringe-popup .logo svg [stroke-sa]{stroke:#987ca8}:root.ehs-ex #eh-syringe-popup #settingForm .checkbox-item svg path{stroke:#ce90f1}:root.ehs-ex #eh-syringe-popup #settingForm input[type=checkbox]{border:2px solid #a09da6}:root.ehs-ex #eh-syringe-popup #settingForm input[type=checkbox]:checked{border:2px solid #ce90f1}:root.ehs-ex #eh-syringe-popup #settingForm input[type=range]::-webkit-slider-runnable-track{border:1px solid #b669e9}:root.ehs-ex #eh-syringe-popup #settingForm input[type=range]::-moz-range-track{border:1px solid #b669e9}:root.ehs-ex #eh-syringe-popup #settingForm input[type=range]::-webkit-slider-thumb{background:#313131;border:2px solid #ce90f1}:root.ehs-ex #eh-syringe-popup #settingForm input[type=range]::-moz-range-thumb{background:#313131;border:2px solid #ce90f1}:root.ehs-ex #eh-syringe-popup #settingForm input[type=range]:focus::-webkit-slider-thumb{border:2px solid #ce90f1;-webkit-box-shadow:0 0 7px rgba(0,0,0,.2);box-shadow:0 0 7px rgba(0,0,0,.2)}:root.ehs-ex #eh-syringe-popup #settingForm input[type=range]:focus::-moz-range-thumb{border:2px solid #ce90f1;-moz-box-shadow:0 0 7px rgba(0,0,0,.2);box-shadow:0 0 7px rgba(0,0,0,.2)}:root.ehs-ex #eh-syringe-popup #settingForm input[type=range]:active::-webkit-slider-thumb{background:#131313;border:2px solid #ce90f1;-webkit-box-shadow:0 0 7px 1px rgba(0,0,0,.2);box-shadow:0 0 7px 1px rgba(0,0,0,.2)}:root.ehs-ex #eh-syringe-popup #settingForm input[type=range]:active::-moz-range-thumb{background:#131313;border:2px solid #ce90f1;-moz-box-shadow:0 0 7px 1px rgba(0,0,0,.2);box-shadow:0 0 7px 1px rgba(0,0,0,.2)}#eh-syringe-popup-root{font-family:sans-serif;font-size:12pt;max-width:400px;min-width:240px;overflow:hidden;padding:1px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}#eh-syringe-popup-root .hidden{display:none;visibility:hidden}#eh-syringe-popup-root .ehs-panel{margin:0 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}#eh-syringe-popup-root .ehs-panel,#eh-syringe-popup-root .ehs-panel .header{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}#eh-syringe-popup-root .ehs-panel .header{line-height:1;margin:16px}#eh-syringe-popup-root .ehs-panel .header>.cushion{-webkit-box-flex:1;-webkit-flex:auto;-moz-box-flex:1;-ms-flex:auto;flex:auto}#eh-syringe-popup-root .ehs-panel .header span{color:#a5a3a6}#eh-syringe-popup-root .ehs-panel .content{margin:0 16px;-webkit-box-flex:1;-webkit-flex:auto;-moz-box-flex:1;-ms-flex:auto;flex:auto;overflow:visible}#eh-syringe-popup-root .ehs-panel .action{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:block;font-size:16px;line-height:36px;margin:16px;outline:0;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;min-width:64px;overflow:visible;padding:0 16px;text-align:center;-webkit-text-decoration:none;text-decoration:none;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);transform:translateZ(0);-webkit-transition:background .4s cubic-bezier(.25,.8,.25,1),-webkit-box-shadow .28s cubic-bezier(.4,0,.2,1);transition:background .4s cubic-bezier(.25,.8,.25,1),-webkit-box-shadow .28s cubic-bezier(.4,0,.2,1);-o-transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow .28s cubic-bezier(.4,0,.2,1);-moz-transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow .28s cubic-bezier(.4,0,.2,1),-moz-box-shadow .28s cubic-bezier(.4,0,.2,1);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow .28s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .28s cubic-bezier(.4,0,.2,1),-moz-box-shadow .28s cubic-bezier(.4,0,.2,1);white-space:nowrap}#eh-syringe-popup-root .ehs-panel .action.primary{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}#eh-syringe-popup-root .ehs-panel .action.primary:active{-webkit-box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);-moz-box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}#eh-syringe-popup-root .ehs-panel .action:disabled{opacity:.6}#eh-syringe-popup-root .ehs-panel .action:focus{border:1px solid #888}#eh-syringe-popup-root #ehs-main-panel{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1);-webkit-transition:opacity .28s cubic-bezier(.4,0,.2,1),-webkit-transform .28s cubic-bezier(.4,0,.2,1);transition:opacity .28s cubic-bezier(.4,0,.2,1),-webkit-transform .28s cubic-bezier(.4,0,.2,1);-o-transition:opacity .28s cubic-bezier(.4,0,.2,1),-o-transform .28s cubic-bezier(.4,0,.2,1);-moz-transition:opacity .28s cubic-bezier(.4,0,.2,1),transform .28s cubic-bezier(.4,0,.2,1),-moz-transform .28s cubic-bezier(.4,0,.2,1);transition:opacity .28s cubic-bezier(.4,0,.2,1),transform .28s cubic-bezier(.4,0,.2,1);transition:opacity .28s cubic-bezier(.4,0,.2,1),transform .28s cubic-bezier(.4,0,.2,1),-webkit-transform .28s cubic-bezier(.4,0,.2,1),-moz-transform .28s cubic-bezier(.4,0,.2,1),-o-transform .28s cubic-bezier(.4,0,.2,1)}#eh-syringe-popup-root #ehs-main-panel.ehs-hide{opacity:0;pointer-events:none;-webkit-transform:scale(.9);-moz-transform:scale(.9);-ms-transform:scale(.9);-o-transform:scale(.9);transform:scale(.9)}#eh-syringe-popup-root .logo-box{margin:-16px;overflow:hidden;pointer-events:none;position:relative}#eh-syringe-popup-root .logo{margin:20px 0;text-align:center;-webkit-transform:scale(1) rotate(-45deg);-moz-transform:scale(1) rotate(-45deg);-ms-transform:scale(1) rotate(-45deg);-o-transform:scale(1) rotate(-45deg);transform:scale(1) rotate(-45deg);-webkit-transition:-webkit-transform .28s cubic-bezier(.4,0,.2,1);transition:-webkit-transform .28s cubic-bezier(.4,0,.2,1);-o-transition:-o-transform .28s cubic-bezier(.4,0,.2,1);-moz-transition:transform .28s cubic-bezier(.4,0,.2,1),-moz-transform .28s cubic-bezier(.4,0,.2,1);transition:transform .28s cubic-bezier(.4,0,.2,1);transition:transform .28s cubic-bezier(.4,0,.2,1),-webkit-transform .28s cubic-bezier(.4,0,.2,1),-moz-transform .28s cubic-bezier(.4,0,.2,1),-o-transform .28s cubic-bezier(.4,0,.2,1)}#eh-syringe-popup-root .logo #Syringe{pointer-events:all}#eh-syringe-popup-root .logo #Enema{opacity:0;-webkit-transform-origin:61px 86px;-moz-transform-origin:61px 86px;-ms-transform-origin:61px 86px;-o-transform-origin:61px 86px;transform-origin:61px 86px}#eh-syringe-popup-root .logo #Enema2{opacity:1}#eh-syringe-popup-root .logo #Enema,#eh-syringe-popup-root .logo #Enema2,#eh-syringe-popup-root .logo #PushRod{-webkit-transition:width .28s cubic-bezier(.4,0,.2,1),opacity .28s cubic-bezier(.4,0,.2,1),-webkit-transform .28s cubic-bezier(.4,0,.2,1);transition:width .28s cubic-bezier(.4,0,.2,1),opacity .28s cubic-bezier(.4,0,.2,1),-webkit-transform .28s cubic-bezier(.4,0,.2,1);-o-transition:width .28s cubic-bezier(.4,0,.2,1),opacity .28s cubic-bezier(.4,0,.2,1),-o-transform .28s cubic-bezier(.4,0,.2,1);-moz-transition:width .28s cubic-bezier(.4,0,.2,1),opacity .28s cubic-bezier(.4,0,.2,1),transform .28s cubic-bezier(.4,0,.2,1),-moz-transform .28s cubic-bezier(.4,0,.2,1);transition:width .28s cubic-bezier(.4,0,.2,1),opacity .28s cubic-bezier(.4,0,.2,1),transform .28s cubic-bezier(.4,0,.2,1);transition:width .28s cubic-bezier(.4,0,.2,1),opacity .28s cubic-bezier(.4,0,.2,1),transform .28s cubic-bezier(.4,0,.2,1),-webkit-transform .28s cubic-bezier(.4,0,.2,1),-moz-transform .28s cubic-bezier(.4,0,.2,1),-o-transform .28s cubic-bezier(.4,0,.2,1)}#eh-syringe-popup-root .logo.prominent{-webkit-transform:scale(1.6) rotate(0deg);-moz-transform:scale(1.6) rotate(0deg);-ms-transform:scale(1.6) rotate(0deg);-o-transform:scale(1.6) rotate(0deg);transform:scale(1.6) rotate(0deg)}#eh-syringe-popup-root .logo.prominent #Enema2{opacity:0}#eh-syringe-popup-root .logo.prominent #Enema{opacity:1}#eh-syringe-popup-root .logo.prominent.injection{-webkit-transform:scale(1.6) rotate(0deg) translate(-10px);-moz-transform:scale(1.6) rotate(0deg) translate(-10px);-ms-transform:scale(1.6) rotate(0deg) translate(-10px);-o-transform:scale(1.6) rotate(0deg) translate(-10px);transform:scale(1.6) rotate(0deg) translate(-10px)}#eh-syringe-popup-root .logo.prominent.injection #Enema,#eh-syringe-popup-root .logo.prominent.injection #Enema2,#eh-syringe-popup-root .logo.prominent.injection #PushRod{-webkit-transition:width .6s cubic-bezier(.4,0,.2,1),-webkit-transform .6s cubic-bezier(.4,0,.2,1);transition:width .6s cubic-bezier(.4,0,.2,1),-webkit-transform .6s cubic-bezier(.4,0,.2,1);-o-transition:width .6s cubic-bezier(.4,0,.2,1),-o-transform .6s cubic-bezier(.4,0,.2,1);-moz-transition:width .6s cubic-bezier(.4,0,.2,1),transform .6s cubic-bezier(.4,0,.2,1),-moz-transform .6s cubic-bezier(.4,0,.2,1);transition:width .6s cubic-bezier(.4,0,.2,1),transform .6s cubic-bezier(.4,0,.2,1);transition:width .6s cubic-bezier(.4,0,.2,1),transform .6s cubic-bezier(.4,0,.2,1),-webkit-transform .6s cubic-bezier(.4,0,.2,1),-moz-transform .6s cubic-bezier(.4,0,.2,1),-o-transform .6s cubic-bezier(.4,0,.2,1)}#eh-syringe-popup-root #info{bottom:30px;font-size:16px;height:24px;left:0;line-height:24px;position:absolute;right:0;text-align:center}#eh-syringe-popup-root .monospace{font-family:Menlo,Consolas,Source Code Pro,Inconsolata,Monaco,Courier New,monospace}#eh-syringe-popup-root table{font-size:14px}#eh-syringe-popup-root #ehs-setting-panel{bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-ms-transform:scale(1.1);-o-transform:scale(1.1);transform:scale(1.1);-webkit-transition:opacity .28s cubic-bezier(.4,0,.2,1),-webkit-transform .28s cubic-bezier(.4,0,.2,1);transition:opacity .28s cubic-bezier(.4,0,.2,1),-webkit-transform .28s cubic-bezier(.4,0,.2,1);-o-transition:opacity .28s cubic-bezier(.4,0,.2,1),-o-transform .28s cubic-bezier(.4,0,.2,1);-moz-transition:opacity .28s cubic-bezier(.4,0,.2,1),transform .28s cubic-bezier(.4,0,.2,1),-moz-transform .28s cubic-bezier(.4,0,.2,1);transition:opacity .28s cubic-bezier(.4,0,.2,1),transform .28s cubic-bezier(.4,0,.2,1);transition:opacity .28s cubic-bezier(.4,0,.2,1),transform .28s cubic-bezier(.4,0,.2,1),-webkit-transform .28s cubic-bezier(.4,0,.2,1),-moz-transform .28s cubic-bezier(.4,0,.2,1),-o-transform .28s cubic-bezier(.4,0,.2,1)}#eh-syringe-popup-root #ehs-setting-panel.ehs-show{opacity:1;pointer-events:auto;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}#eh-syringe-popup-root #ehs-setting-panel #settingForm{font-size:10pt;line-height:12pt}#eh-syringe-popup-root .checkbox-item{padding:4px 0}#eh-syringe-popup-root .checkbox-item label{display:block;position:relative}#eh-syringe-popup-root .checkbox-item svg{height:10px;left:3px;position:absolute;top:3px;width:10px}#eh-syringe-popup-root .checkbox-item svg path{stroke-dasharray:1000;stroke-dashoffset:1000;stroke-width:16px;stroke-linecap:round;stroke-linejoin:round;fill:none}#eh-syringe-popup-root .checkbox-item svg.checked path{stroke-dasharray:113.137,113.137;stroke-dashoffset:0;-webkit-transition:all .28s cubic-bezier(.4,0,.2,1) 0s;-o-transition:all .28s cubic-bezier(.4,0,.2,1) 0s;-moz-transition:all .28s cubic-bezier(.4,0,.2,1) 0s;transition:all .28s cubic-bezier(.4,0,.2,1) 0s}#eh-syringe-popup-root .checkbox-item svg.checked path+path{-webkit-transition:all .28s cubic-bezier(.4,0,.2,1) .28s;-o-transition:all .28s cubic-bezier(.4,0,.2,1) .28s;-moz-transition:all .28s cubic-bezier(.4,0,.2,1) .28s;transition:all .28s cubic-bezier(.4,0,.2,1) .28s}#eh-syringe-popup-root .checkbox-item input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:16px;margin-right:2px;-webkit-transition:all .28s cubic-bezier(.4,0,.2,1) 0s;-o-transition:all .28s cubic-bezier(.4,0,.2,1) 0s;-moz-transition:all .28s cubic-bezier(.4,0,.2,1) 0s;transition:all .28s cubic-bezier(.4,0,.2,1) 0s;vertical-align:top;width:16px}#eh-syringe-popup-root .checkbox-item input[type=checkbox]:focus{outline:none}#eh-syringe-popup-root #settingForm input[type=range]{appearance:none;-moz-appearance:none;-webkit-appearance:none;-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;width:100%}#eh-syringe-popup-root #settingForm input[type=range]::-webkit-slider-runnable-track{-webkit-border-radius:10px;border-radius:10px;-webkit-box-sizing:border-box;box-sizing:border-box;height:6px}#eh-syringe-popup-root #settingForm input[type=range]:focus{outline:none}#eh-syringe-popup-root #settingForm input[type=range]::-webkit-slider-thumb{appearance:none;-moz-appearance:none;-webkit-appearance:none;-webkit-border-radius:50%;border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;height:16px;margin-top:-6px;-webkit-transition:all .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);width:16px}#eh-syringe-popup-root #settingForm input[type=range]::-moz-range-track{-moz-border-radius:10px;border-radius:10px;-moz-box-sizing:border-box;box-sizing:border-box;height:6px}#eh-syringe-popup-root #settingForm input[type=range]::-moz-range-thumb{appearance:none;-moz-appearance:none;-webkit-appearance:none;-moz-border-radius:50%;border-radius:50%;-moz-box-sizing:border-box;box-sizing:border-box;height:16px;margin-top:-6px;-moz-transition:all .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);width:16px}#eh-syringe-popup-root #settingForm h3 span{font-size:20pt;font-weight:400}#eh-syringe-popup-root .image-level{margin:4px}#eh-syringe-popup-root .range-title{margin:0}#eh-syringe-popup-root .range-box{margin:5px}#eh-syringe-popup-root .range-label{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}#eh-syringe-popup-root .range-label a{-webkit-box-flex:0;-webkit-flex:none;-moz-box-flex:0;display:inline-block;-ms-flex:none;flex:none;font-size:10pt;text-align:center;width:30px}", "",{"version":3,"sources":["webpack://./src/plugin/popup/index.less"],"names":[],"mappings":"AAAA,uBAEI,gBAAA,CACA,kBAAA,CAFA,eAAA,CAAA,kBAGJ,CAJA,8GAQQ,kBAAA,CACA,aAER,CAXA,6BAaQ,WAAA,CAEA,QAAA,CADA,SAER,CAhBA,qFAoBQ,eAAA,CACA,QAAR,CArBA,yBAyBQ,aAAA,CADA,SACR,CAzBA,yBA4BQ,wBAAA,CAEA,4BAAA,CAAA,oBAAA,CADA,sDAAA,CAAA,iDAAA,CAAA,mDAAA,CAAA,8CACR,CAgIA,kBArHQ,kBAAA,CAFA,wBAAA,CACA,yBAAA,CAAA,sBAAA,CAAA,iBAAA,CAGA,6CAAA,CAAA,0CAAA,CAAA,qCAAA,CADA,UALR,CAyHA,0BA/GQ,kBAAA,CACA,aAPR,CASQ,kCAEI,kBAAA,CADA,oBAAA,CAEA,aAPZ,CASQ,wCACI,kBAPZ,CASQ,yCACI,kBAPZ,CA0GA,wBA9FQ,aATR,CAuGA,0BA3FQ,aATR,CAoGA,oBAxFQ,aATR,CAUQ,0BACI,aARZ,CAUQ,2BACI,aARZ,CAUQ,0BACI,aARZ,CASY,gCACI,aAPhB,CASY,iCACI,aAPhB,CAkFA,sCApEY,YAXZ,CA+EA,0CAjEY,YAXZ,CA4EA,sCA9DY,YAXZ,CAyEA,wCA3DY,cAXZ,CAsEA,4CAxDY,cAXZ,CAmEA,wCArDY,cAXZ,CAgEA,uDA/CY,cAdZ,CA6DA,oDA3CY,wBAfZ,CAgBY,4DACI,wBAdhB,CAmBY,gFACI,wBAjBhB,CAmBY,mEACI,wBAjBhB,CAmBY,uEACI,kBAAA,CACA,wBAjBhB,CAmBY,mEACI,kBAAA,CACA,wBAjBhB,CAmBY,6EACI,wBAAA,CACA,yCAAA,CAAA,iCAjBhB,CAmBY,yEACI,wBAAA,CACA,sCAAA,CAAA,iCAjBhB,CAmBY,8EAEI,kBAAA,CADA,wBAAA,CAEA,6CAAA,CAAA,qCAjBhB,CAmBY,0EAEI,kBAAA,CADA,wBAAA,CAEA,0CAAA,CAAA,qCAjBhB,CA+BA,+BA7HQ,kBAAA,CAFA,wBAAA,CACA,yBAAA,CAAA,sBAAA,CAAA,iBAAA,CAGA,6CAAA,CAAA,0CAAA,CAAA,qCAAA,CADA,UAoGR,CAwBA,uCAvHQ,kBAAA,CACA,aAkGR,CAhGQ,+CAEI,kBAAA,CADA,oBAAA,CAEA,aAkGZ,CAhGQ,qDACI,kBAkGZ,CAhGQ,sDACI,kBAkGZ,CASA,qCAtGQ,aAgGR,CAMA,uCAnGQ,aAgGR,CAGA,iCAhGQ,aAgGR,CA/FQ,uCACI,aAiGZ,CA/FQ,wCACI,aAiGZ,CA/FQ,uCACI,aAiGZ,CAhGY,6CACI,aAkGhB,CAhGY,8CACI,aAkGhB,CAfA,mDA5EY,YA8FZ,CAlBA,uDAzEY,YA8FZ,CArBA,mDAtEY,YA8FZ,CAxBA,qDAnEY,cA8FZ,CA3BA,yDAhEY,cA8FZ,CA9BA,qDA7DY,cA8FZ,CAjCA,oEAvDY,cA2FZ,CApCA,iEAnDY,wBA0FZ,CAzFY,yEACI,wBA2FhB,CAtFY,6FACI,wBAwFhB,CAtFY,gFACI,wBAwFhB,CAtFY,oFACI,kBAAA,CACA,wBAwFhB,CAtFY,gFACI,kBAAA,CACA,wBAwFhB,CAtFY,0FACI,wBAAA,CACA,yCAAA,CAAA,iCAwFhB,CAtFY,sFACI,wBAAA,CACA,sCAAA,CAAA,iCAwFhB,CAtFY,2FAEI,kBAAA,CADA,wBAAA,CAEA,6CAAA,CAAA,qCAwFhB,CAtFY,uFAEI,kBAAA,CADA,wBAAA,CAEA,0CAAA,CAAA,qCAwFhB,CAlEA,uBAGI,sBAAA,CACA,cAAA,CAGA,eAAA,CACA,eAAA,CAPA,eAAA,CAKA,WAAA,CAGA,iBAAA,CAJA,wBAAA,CAAA,qBAAA,CAAA,oBAAA,CAAA,gBAAA,CAHA,kBA2EJ,CA7EA,+BAaQ,YAAA,CADA,iBAqER,CAjFA,kCAiBQ,aAAA,CAEA,2BAAA,CAAA,4BAAA,CAAA,6BAAA,CAAA,wBAAA,CAAA,yBAAA,CAAA,yBAAA,CAAA,qBAmER,CAtFA,4EAkBQ,mBAAA,CAAA,oBAAA,CAAA,gBAAA,CAAA,mBAAA,CAAA,YAyER,CA3FA,0CAuBY,aAAA,CADA,WAqEZ,CA3FA,mDA2BgB,kBAAA,CAAA,iBAAA,CAAA,eAAA,CAAA,aAAA,CAAA,SAmEhB,CA9FA,+CA8BgB,aAmEhB,CAjGA,2CAmCY,aAAA,CACA,kBAAA,CAAA,iBAAA,CAAA,eAAA,CAAA,aAAA,CAAA,SAAA,CACA,gBAiEZ,CAtGA,0CA6CY,6BAAA,CAAA,0BAAA,CAAA,qBAAA,CAGA,cAAA,CAPA,aAAA,CAEA,cAAA,CADA,gBAAA,CAEA,WAAA,CAKA,SAAA,CAHA,iBAAA,CACA,wBAAA,CAAA,qBAAA,CAAA,oBAAA,CAAA,gBAAA,CAGA,uCAAA,CASA,qBAAA,CAHA,yBAAA,CAAA,sBAAA,CAAA,iBAAA,CAFA,cAAA,CAGA,gBAAA,CAFA,cAAA,CAFA,iBAAA,CADA,4BAAA,CAAA,oBAAA,CAMA,+BAAA,CAAA,4BAAA,CAAA,uBAAA,CAEA,4GAAA,CAAA,oGAAA,CAAA,+FAAA,CAAA,8IAAA,CAAA,4FAAA,CAAA,yLAAA,CATA,kBAyEZ,CA5DY,kDACI,wGAAA,CAAA,qGAAA,CAAA,gGA8DhB,CAzDY,yDACI,8GAAA,CAAA,2GAAA,CAAA,sGA2DhB,CAtDY,mDACI,UAwDhB,CAtDY,gDACI,qBAwDhB,CAxIA,uCAyFQ,0BAAA,CAAA,uBAAA,CAAA,sBAAA,CAAA,qBAAA,CAAA,kBAAA,CAHA,sGAAA,CAAA,8FAAA,CAAA,4FAAA,CAAA,uIAAA,CAAA,sFAAA,CAAA,2NAsDR,CAlDQ,gDAEI,SAAA,CACA,mBAAA,CAFA,2BAAA,CAAA,wBAAA,CAAA,uBAAA,CAAA,sBAAA,CAAA,mBAsDZ,CAjJA,iCAoGQ,YAAA,CAFA,eAAA,CAGA,mBAAA,CAFA,iBAoDR,CAvJA,6BAyGQ,aAAA,CADA,iBAAA,CAGA,yCAAA,CAAA,sCAAA,CAAA,qCAAA,CAAA,oCAAA,CAAA,iCAAA,CADA,iEAAA,CAAA,yDAAA,CAAA,uDAAA,CAAA,kGAAA,CAAA,iDAAA,CAAA,sLAmDR,CA7JA,sCA6GY,kBAmDZ,CAhKA,oCAgHY,SAAA,CACA,kCAAA,CAAA,+BAAA,CAAA,8BAAA,CAAA,6BAAA,CAAA,0BAmDZ,CApKA,qCAoHY,SAmDZ,CAvKA,+GAyHY,yIAAA,CAAA,iIAAA,CAAA,+HAAA,CAAA,0KAAA,CAAA,yHAAA,CAAA,8PAmDZ,CA9CQ,uCAOI,yCAAA,CAAA,sCAAA,CAAA,qCAAA,CAAA,oCAAA,CAAA,iCA0CZ,CAjDQ,+CAEQ,SAkDhB,CApDQ,8CAKQ,SAkDhB,CA/CY,iDACI,0DAAA,CAAA,uDAAA,CAAA,sDAAA,CAAA,qDAAA,CAAA,kDAiDhB,CAlDY,2KAKQ,kGAAA,CAAA,0FAAA,CAAA,wFAAA,CAAA,kIAAA,CAAA,kFAAA,CAAA,oNAkDpB,CA7LA,6BAqJQ,WAAA,CAMA,cAAA,CAHA,WAAA,CAFA,MAAA,CAGA,gBAAA,CALA,iBAAA,CAGA,OAAA,CAGA,iBA6CR,CAvMA,kCA+JQ,mFA2CR,CA1MA,6BAkKQ,cA2CR,CA7MA,0CAyKQ,QAAA,CAFA,MAAA,CAKA,SAAA,CADA,mBAAA,CALA,iBAAA,CAIA,OAAA,CAFA,KAAA,CAQA,4BAAA,CAAA,yBAAA,CAAA,wBAAA,CAAA,uBAAA,CAAA,oBAAA,CAHA,sGAAA,CAAA,8FAAA,CAAA,4FAAA,CAAA,uIAAA,CAAA,sFAAA,CAAA,2NA2CR,CAtCQ,mDAEI,SAAA,CADA,mBAAA,CAEA,0BAAA,CAAA,uBAAA,CAAA,sBAAA,CAAA,qBAAA,CAAA,kBAwCZ,CA7NA,uDAyLY,cAAA,CACA,gBAuCZ,CAjOA,sCA8LQ,aAsCR,CApOA,4CAkMY,aAAA,CADA,iBAuCZ,CAxOA,0CAuMY,WAAA,CAEA,QAAA,CADA,iBAAA,CAEA,OAAA,CAJA,UAyCZ,CA/OA,+CA4MgB,qBAAA,CACA,sBAAA,CACA,iBAAA,CACA,oBAAA,CACA,qBAAA,CACA,SAsChB,CAnCY,uDAEQ,gCAAA,CACA,mBAAA,CACA,sDAAA,CAAA,iDAAA,CAAA,mDAAA,CAAA,8CAoCpB,CAxCY,4DAOQ,wDAAA,CAAA,mDAAA,CAAA,qDAAA,CAAA,gDAoCpB,CA/PA,2DAiOY,uBAAA,CAAA,oBAAA,CAAA,eAAA,CAIA,6BAAA,CAAA,0BAAA,CAAA,qBAAA,CAFA,WAAA,CACA,gBAAA,CAGA,sDAAA,CAAA,iDAAA,CAAA,mDAAA,CAAA,8CAAA,CADA,kBAAA,CAJA,UAsCZ,CAxQA,iEA0OY,YAiCZ,CA3QA,sDAgPY,eAAA,CACA,oBAAA,CACA,uBAAA,CACA,yBAAA,CAAA,sBAAA,CAAA,iBAAA,CACA,UA8BZ,CAlRA,qFAwPY,0BAAA,CAAA,kBAAA,CACA,6BAAA,CAAA,qBAAA,CAFA,UAgCZ,CAvRA,4DA4PY,YA8BZ,CA1RA,4EA+PY,eAAA,CACA,oBAAA,CACA,uBAAA,CAKA,yBAAA,CAAA,iBAAA,CADA,6BAAA,CAAA,qBAAA,CAHA,WAAA,CAEA,eAAA,CAGA,mDAAA,CAAA,2CAAA,CAJA,UAkCZ,CArSA,wEA4QY,uBAAA,CAAA,kBAAA,CACA,0BAAA,CAAA,qBAAA,CAFA,UA+BZ,CA1SA,wEAgRY,eAAA,CACA,oBAAA,CACA,uBAAA,CAKA,sBAAA,CAAA,iBAAA,CADA,0BAAA,CAAA,qBAAA,CAHA,WAAA,CAEA,eAAA,CAGA,gDAAA,CAAA,2CAAA,CAJA,UAiCZ,CArTA,4CA8RgB,cAAA,CADA,eA4BhB,CAzTA,oCAmSQ,UAyBR,CA5TA,oCAsSQ,QAyBR,CA/TA,kCAySQ,UAyBR,CAlUA,oCA4SQ,mBAAA,CAAA,oBAAA,CAAA,gBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,wBAAA,CAAA,qCAAA,CAAA,qBAAA,CAAA,qBAAA,CAAA,6BAyBR,CAtUA,sCA+SY,kBAAA,CAAA,iBAAA,CAAA,eAAA,CAIA,oBAAA,CAJA,aAAA,CAAA,SAAA,CACA,cAAA,CAEA,iBAAA,CADA,UA4BZ","sourcesContent":["#eh-syringe-popup-root {\n text-align: initial;\n font-size: initial;\n line-height: initial;\n input,\n table,\n th,\n td {\n background: inherit;\n color: inherit;\n }\n\n input {\n border: none;\n padding: 0;\n margin: 0;\n }\n\n input[type='radio'],\n input[type='checkbox'] {\n position: initial;\n top: initial;\n }\n p {\n padding: 0;\n margin: 0.8em 0;\n }\n a {\n background: rgba(0, 0, 0, 0);\n transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1) 0s;\n text-decoration: none;\n }\n}\n\n// theme\n.theme(@background, @foreground, @shadow, @accent) {\n @soft-accent: softlight(@accent, @background);\n\n & {\n border: @accent solid 1px;\n border-radius: 6px;\n background: @background;\n color: @foreground;\n box-shadow: 0 0 6px 2px @shadow;\n }\n\n .action {\n background: @background;\n color: @accent;\n\n &.primary {\n border-color: @accent;\n background: @accent;\n color: @background;\n }\n &.primary:hover {\n background: softlight(@accent, @foreground);\n }\n &.primary:active {\n background: softlight(@accent, @background);\n }\n }\n\n #info {\n color: @accent;\n }\n .hasNew {\n color: softlight(#aa575e, @foreground);\n }\n a {\n color: @accent;\n &:hover {\n color: softlight(@accent, @foreground);\n }\n &:active {\n color: softlight(@accent, @background);\n }\n &.minor {\n color: #a5a3a6;\n &:hover {\n color: #d2cdd4;\n }\n &:active {\n color: #838185;\n }\n }\n }\n .logo svg {\n @sa: lighten(average(@accent, @background), 10%);\n [fill-bg] {\n fill: @background;\n }\n [fill-accent] {\n fill: @accent;\n }\n [fill-sa] {\n fill: @sa;\n }\n [stroke-bg] {\n stroke: @background;\n }\n [stroke-accent] {\n stroke: @accent;\n }\n [stroke-sa] {\n stroke: @sa;\n }\n }\n\n #settingForm {\n .checkbox-item svg path {\n stroke: @accent;\n }\n\n input[type='checkbox'] {\n border: solid 2px #a09da6;\n &:checked {\n border: solid 2px @accent;\n }\n }\n\n input[type='range'] {\n &::-webkit-slider-runnable-track {\n border: 1px @soft-accent solid;\n }\n &::-moz-range-track {\n border: 1px @soft-accent solid;\n }\n &::-webkit-slider-thumb {\n background: @background;\n border: solid 2px @accent;\n }\n &::-moz-range-thumb {\n background: @background;\n border: solid 2px @accent;\n }\n &:focus::-webkit-slider-thumb {\n border: solid 2px @accent;\n box-shadow: 0 0 7px @shadow;\n }\n &:focus::-moz-range-thumb {\n border: solid 2px @accent;\n box-shadow: 0 0 7px @shadow;\n }\n &:active::-webkit-slider-thumb {\n border: solid 2px @accent;\n background: overlay(@background, @background);\n box-shadow: 0 0 7px 1px @shadow;\n }\n &:active::-moz-range-thumb {\n border: solid 2px @accent;\n background: overlay(@background, @background);\n box-shadow: 0 0 7px 1px @shadow;\n }\n }\n }\n}\n\n#eh-syringe-popup {\n @background: rgb(240, 240, 240);\n @foreground: #111;\n @shadow: rgba(0, 0, 0, 0.2);\n @accent: #8041a6;\n .theme(@background, @foreground, @shadow, @accent);\n}\n\n:root.ehs-ex #eh-syringe-popup {\n @background: rgb(49, 49, 49);\n @foreground: #eee;\n @shadow: rgba(0, 0, 0, 0.2);\n @accent: #ce90f1;\n .theme(@background, @foreground, @shadow, @accent);\n}\n\n#eh-syringe-popup-root {\n overflow: hidden;\n white-space: nowrap;\n font-family: sans-serif;\n font-size: 12pt;\n user-select: none;\n padding: 1px;\n max-width: 400px;\n min-width: 240px;\n position: relative;\n\n .hidden {\n visibility: hidden;\n display: none;\n }\n\n .ehs-panel {\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n\n .header {\n margin: 16px;\n line-height: 1;\n //font-size: 16px;\n display: flex;\n > .cushion {\n flex: auto;\n }\n span {\n color: #a5a3a6;\n }\n }\n\n .content {\n margin: 0 16px;\n flex: auto;\n overflow: visible;\n }\n\n .action {\n display: block;\n line-height: 36px;\n font-size: 16px;\n margin: 16px;\n box-sizing: border-box;\n position: relative;\n user-select: none;\n cursor: pointer;\n outline: 0;\n -webkit-tap-highlight-color: transparent;\n white-space: nowrap;\n text-decoration: none;\n text-align: center;\n min-width: 64px;\n padding: 0 16px;\n border-radius: 4px;\n overflow: visible;\n transform: translate3d(0, 0, 0);\n border: 1px #ddd solid;\n transition:\n background 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),\n box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);\n\n &.primary {\n box-shadow:\n 0 3px 1px -2px rgba(0, 0, 0, 0.2),\n 0 2px 2px 0 rgba(0, 0, 0, 0.14),\n 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n }\n &.primary:active {\n box-shadow:\n 0 5px 5px -3px rgba(0, 0, 0, 0.2),\n 0 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n }\n &:disabled {\n opacity: 0.6;\n }\n &:focus {\n border: 1px #888 solid;\n }\n }\n }\n\n #ehs-main-panel {\n transition:\n opacity 280ms cubic-bezier(0.4, 0, 0.2, 1),\n transform 280ms cubic-bezier(0.4, 0, 0.2, 1);\n transform: scale(1);\n &.ehs-hide {\n transform: scale(0.9);\n opacity: 0;\n pointer-events: none;\n }\n }\n\n .logo-box {\n overflow: hidden;\n position: relative;\n margin: -16px;\n pointer-events: none;\n }\n .logo {\n text-align: center;\n margin: 20px 0;\n transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);\n transform: scale(1) rotate(-45deg);\n #Syringe {\n pointer-events: all;\n }\n #Enema {\n opacity: 0;\n transform-origin: 61px 86px;\n }\n #Enema2 {\n opacity: 1;\n }\n #Enema,\n #Enema2,\n #PushRod {\n transition:\n width 280ms cubic-bezier(0.4, 0, 0.2, 1),\n opacity 280ms cubic-bezier(0.4, 0, 0.2, 1),\n transform 280ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n &.prominent {\n #Enema2 {\n opacity: 0;\n }\n #Enema {\n opacity: 1;\n }\n transform: scale(1.6) rotate(0deg);\n &.injection {\n transform: scale(1.6) rotate(0deg) translate(-10px, 0);\n #Enema,\n #Enema2,\n #PushRod {\n transition:\n width 600ms cubic-bezier(0.4, 0, 0.2, 1),\n transform 600ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n }\n }\n }\n\n #info {\n position: absolute;\n bottom: 30px;\n left: 0;\n right: 0;\n height: 24px;\n line-height: 24px;\n text-align: center;\n font-size: 16px;\n }\n\n .monospace {\n font-family: Menlo, Consolas, 'Source Code Pro', Inconsolata, Monaco, 'Courier New', monospace;\n }\n table {\n font-size: 14px;\n }\n\n #ehs-setting-panel {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n pointer-events: none;\n opacity: 0;\n transition:\n opacity 280ms cubic-bezier(0.4, 0, 0.2, 1),\n transform 280ms cubic-bezier(0.4, 0, 0.2, 1);\n transform: scale(1.1);\n\n &.ehs-show {\n pointer-events: auto;\n opacity: 1;\n transform: scale(1);\n }\n\n #settingForm {\n font-size: 10pt;\n line-height: 12pt;\n }\n }\n .checkbox-item {\n padding: 4px 0;\n\n label {\n position: relative;\n display: block;\n }\n\n svg {\n width: 10px;\n height: 10px;\n position: absolute;\n left: 3px;\n top: 3px;\n path {\n stroke-dasharray: 1000;\n stroke-dashoffset: 1000;\n stroke-width: 16px;\n stroke-linecap: round;\n stroke-linejoin: round;\n fill: none;\n }\n\n &.checked {\n path {\n stroke-dasharray: 113.137, 113.137;\n stroke-dashoffset: 0;\n transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1) 0s;\n }\n path + path {\n transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1) 280ms;\n }\n }\n }\n\n input[type='checkbox'] {\n appearance: none;\n width: 16px;\n height: 16px;\n margin-right: 2px;\n box-sizing: border-box;\n vertical-align: top;\n transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1) 0s;\n }\n input[type='checkbox']:focus {\n outline: none;\n }\n }\n\n #settingForm {\n input[type='range'] {\n appearance: none;\n -moz-appearance: none;\n -webkit-appearance: none;\n border-radius: 8px;\n width: 100%;\n }\n input[type='range']::-webkit-slider-runnable-track {\n height: 6px;\n border-radius: 10px;\n box-sizing: border-box;\n }\n input[type='range']:focus {\n outline: none;\n }\n input[type='range']::-webkit-slider-thumb {\n appearance: none;\n -moz-appearance: none;\n -webkit-appearance: none;\n height: 16px;\n width: 16px;\n margin-top: -6px;\n box-sizing: border-box;\n border-radius: 50%;\n transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n\n input[type='range']::-moz-range-track {\n height: 6px;\n border-radius: 10px;\n box-sizing: border-box;\n }\n input[type='range']::-moz-range-thumb {\n appearance: none;\n -moz-appearance: none;\n -webkit-appearance: none;\n height: 16px;\n width: 16px;\n margin-top: -6px;\n box-sizing: border-box;\n border-radius: 50%;\n transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n\n h3 {\n span {\n font-weight: 400;\n font-size: 20pt;\n }\n }\n }\n .image-level {\n margin: 4px;\n }\n .range-title {\n margin: 0;\n }\n .range-box {\n margin: 5px;\n }\n .range-label {\n display: flex;\n justify-content: space-between;\n a {\n flex: none;\n font-size: 10pt;\n width: 30px;\n text-align: center;\n display: inline-block;\n }\n }\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ __webpack_exports__.A = (___CSS_LOADER_EXPORT___);
/***/ }),
/***/ 21252:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97164);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(68100);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports
var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, ":root{--csstools-color-scheme--light:initial;color-scheme:light}:root.ehs-ex{--csstools-color-scheme--light: ;color-scheme:dark}.ehs-eh:root button[ehs-input]{background-color:#edeada;border:2px solid #b5a4a4;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;color:#5c0d12;font-size:9pt;line-height:20px;margin:0 2px;min-height:26px;outline:none;padding:1px 5px 2px;white-space:pre}.ehs-ex:root button[ehs-input]{background-color:#edeada;border:2px solid #b5a4a4;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;color:#5c0d12;font-size:9pt;line-height:20px;margin:0 2px;min-height:26px;outline:none;padding:1px 5px 2px;white-space:pre}.ehs-eh:root button[ehs-input]:disabled{color:#c2a8a4;-webkit-text-fill-color:#c2a8a4;opacity:1}.ehs-ex:root button[ehs-input]:disabled{color:#c2a8a4;-webkit-text-fill-color:#c2a8a4;opacity:1}.ehs-eh:root button[ehs-input]:enabled:hover{background-color:#f3f0e0!important;border-color:#977273!important}.ehs-ex:root button[ehs-input]:enabled:hover{background-color:#f3f0e0!important;border-color:#977273!important}.ehs-eh:root button[ehs-input]:enabled:focus{background-color:#f3f0e0!important;border-color:#977273!important}.ehs-ex:root button[ehs-input]:enabled:focus{background-color:#f3f0e0!important;border-color:#977273!important}.ehs-eh:root button[ehs-input]:enabled:active{background:-webkit-radial-gradient(#d7d3c2,#f3f0e0)!important;background:-moz-radial-gradient(#d7d3c2,#f3f0e0)!important;background:-o-radial-gradient(#d7d3c2,#f3f0e0)!important;background:radial-gradient(#d7d3c2,#f3f0e0)!important;border-color:#5c0d12!important}.ehs-ex:root button[ehs-input]:enabled:active{background:-webkit-radial-gradient(#d7d3c2,#f3f0e0)!important;background:-moz-radial-gradient(#d7d3c2,#f3f0e0)!important;background:-o-radial-gradient(#d7d3c2,#f3f0e0)!important;background:radial-gradient(#d7d3c2,#f3f0e0)!important;border-color:#5c0d12!important}:root.ehs-ex button[ehs-input]{background-color:#34353b;border-color:#8d8d8d;color:#f1f1f1}:root.ehs-ex button[ehs-input]:enabled:focus,:root.ehs-ex button[ehs-input]:enabled:hover{background-color:#43464e!important;border-color:#aeaeae!important}:root.ehs-ex button[ehs-input]:enabled:active{background:-webkit-radial-gradient(#1a1a1a,#43464e)!important;background:-moz-radial-gradient(#1a1a1a,#43464e)!important;background:-o-radial-gradient(#1a1a1a,#43464e)!important;background:radial-gradient(#1a1a1a,#43464e)!important;border-color:#c3c3c3!important}:root.ehs-ex button[ehs-input]:disabled{color:#8a8a8a;-webkit-text-fill-color:#8a8a8a}[hidden]{display:none}:root.ehs-hide-icon [ehs-emoji],:root.ehs-hide-icon [ehs-icon]{display:none}body div#gright{z-index:3}body #expunge_new button[ehs-input][type=submit]{margin:6px auto 2px}body #gj{margin:3px 4px}body #gmid{height:auto}body .g2{padding-bottom:20px}body .gsp{padding-top:10px}body td.tc{white-space:nowrap}body div.gt,body div.gtl,body div.gtw{line-height:16px;white-space:nowrap}body div.c6{text-align:left}[ehs-emoji],[ehs-icon]{margin:-.25em 1px!important;max-height:1.25em!important;max-width:2em!important}[ehs-icon]{vertical-align:middle}.ehs-new-tag-complete-translate{display:block;font-weight:bolder;margin-top:4px;opacity:.8;pointer-events:none}.ehs-new-tag-complete-translate:empty{display:none}", "",{"version":3,"sources":["webpack://./src/plugin/syringe/index.less"],"names":[],"mappings":"AAEA,MACI,sCAAA,CAAA,kBADJ,CAEI,aACI,gCAAA,CAAA,iBAAR,CAKI,+BASI,wBAAA,CAJA,wBAAA,CACA,yBAAA,CAAA,sBAAA,CAAA,iBAAA,CAEA,aAAA,CADA,aAAA,CALA,gBAAA,CAEA,YAAA,CAHA,eAAA,CASA,YAAA,CAPA,mBAAA,CAQA,eAHR,CARI,+BASI,wBAAA,CAJA,wBAAA,CACA,yBAAA,CAAA,sBAAA,CAAA,iBAAA,CAEA,aAAA,CADA,aAAA,CALA,gBAAA,CAEA,YAAA,CAHA,eAAA,CASA,YAAA,CAPA,mBAAA,CAQA,eAHR,CAKQ,wCACI,aAAA,CACA,+BAAA,CACA,SAHZ,CAAQ,wCACI,aAAA,CACA,+BAAA,CACA,SAHZ,CAMQ,6CAEI,kCAAA,CACA,8BAJZ,CACQ,6CAEI,kCAAA,CACA,8BAJZ,CACQ,6CAEI,kCAAA,CACA,8BAJZ,CACQ,6CAEI,kCAAA,CACA,8BAJZ,CAOQ,8CACI,6DAAA,CAAA,0DAAA,CAAA,wDAAA,CAAA,qDAAA,CACA,8BALZ,CAGQ,8CACI,6DAAA,CAAA,0DAAA,CAAA,wDAAA,CAAA,qDAAA,CACA,8BALZ,CASI,+BAGI,wBAAA,CAFA,oBAAA,CACA,aANR,CASQ,0FAEI,kCAAA,CACA,8BAPZ,CAUQ,8CACI,6DAAA,CAAA,0DAAA,CAAA,wDAAA,CAAA,qDAAA,CACA,8BARZ,CAWQ,wCACI,aAAA,CACA,+BATZ,CAcA,SACI,YAZJ,CAeA,+DAGQ,YAdR,CAkBA,gBAEQ,SAjBR,CAeA,iDAOQ,mBAnBR,CAYA,SAYQ,cArBR,CASA,WAiBQ,WAvBR,CAMA,SAsBQ,mBAzBR,CAGA,UAyBQ,gBAzBR,CAAA,WA8BQ,kBA3BR,CAHA,sCAqCQ,gBAAA,CACA,kBA7BR,CATA,YA2CQ,eA/BR,CAmCA,uBAII,2BAAA,CAFA,2BAAA,CACA,uBAhCJ,CAoCA,WACI,qBAlCJ,CAqCA,gCACI,aAAA,CAMA,kBAAA,CADA,cAAA,CAEA,UAAA,CACA,mBAvCJ,CAgCI,sCACI,YA9BR","sourcesContent":["// 全局注入样式\n\n:root {\n color-scheme: light;\n &.ehs-ex {\n color-scheme: dark;\n }\n}\n\nbutton[ehs-input] {\n :is(:root.ehs-eh, :root.ehs-ex) & {\n min-height: 26px;\n line-height: 20px;\n padding: 1px 5px 2px;\n margin: 0 2px;\n border: 2px solid #b5a4a4;\n border-radius: 3px;\n font-size: 9pt;\n color: #5c0d12;\n background-color: #edeada;\n outline: none;\n white-space: pre;\n\n &:disabled {\n color: #c2a8a4;\n -webkit-text-fill-color: #c2a8a4;\n opacity: 1;\n }\n\n &:enabled:hover,\n &:enabled:focus {\n background-color: #f3f0e0 !important;\n border-color: #977273 !important;\n }\n\n &:enabled:active {\n background: radial-gradient(#d7d3c2, #f3f0e0) !important;\n border-color: #5c0d12 !important;\n }\n }\n\n :root.ehs-ex & {\n border-color: #8d8d8d;\n color: #f1f1f1;\n background-color: #34353b;\n\n &:enabled:hover,\n &:enabled:focus {\n background-color: #43464e !important;\n border-color: #aeaeae !important;\n }\n\n &:enabled:active {\n background: radial-gradient(#1a1a1a, #43464e) !important;\n border-color: #c3c3c3 !important;\n }\n\n &:disabled {\n color: #8a8a8a;\n -webkit-text-fill-color: #8a8a8a;\n }\n }\n}\n\n[hidden] {\n display: none;\n}\n\n:root.ehs-hide-icon {\n [ehs-icon],\n [ehs-emoji] {\n display: none;\n }\n}\n\nbody {\n div#gright {\n z-index: 3;\n }\n\n // 提交删除申请按钮\n #expunge_new button[ehs-input][type='submit'] {\n margin: 6px auto 2px;\n }\n\n // 日文标题\n #gj {\n margin: 3px 4px;\n }\n\n // 信息框\n #gmid {\n height: auto;\n }\n\n // 信息框右侧菜单\n .g2 {\n padding-bottom: 20px;\n }\n .gsp {\n padding-top: 10px;\n }\n\n // 标签组名\n td.tc {\n white-space: nowrap;\n }\n\n // 标签\n div.gtl,\n div.gtw,\n div.gt {\n line-height: 16px;\n white-space: nowrap;\n }\n\n // 评论内容\n div.c6 {\n text-align: left;\n }\n}\n\n[ehs-icon],\n[ehs-emoji] {\n max-height: 1.25em !important;\n max-width: 2em !important;\n margin: -0.25em 1px !important;\n}\n\n[ehs-icon] {\n vertical-align: middle;\n}\n\n.ehs-new-tag-complete-translate {\n display: block;\n &:empty {\n display: none;\n }\n\n margin-top: 4px;\n font-weight: bolder;\n opacity: 0.8;\n pointer-events: none;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ __webpack_exports__.A = (___CSS_LOADER_EXPORT___);
/***/ }),
/***/ 25181:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97164);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(68100);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports
var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, ".eh-syringe-lite-auto-complete-list{background:#f8f4ec;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);-moz-box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#5c0d12;display:block;max-height:50vh;min-height:20px;overflow:auto;padding:8px 0;position:fixed;scroll-padding:16px;scrollbar-width:thin;-moz-text-align-last:left;text-align-last:left;z-index:10}:root.ehs-ex .eh-syringe-lite-auto-complete-list{background:#2b2b2b;color:#f1f1f1}.eh-syringe-lite-auto-complete-list:empty,.eh-syringe-lite-auto-complete-list[hidden]{display:none}.eh-syringe-lite-auto-complete-list.exclude .auto-complete-item .en-name:before{content:\"- \"}.eh-syringe-lite-auto-complete-list .auto-complete-item{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;line-height:24px;padding:0 8px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;cursor:pointer;justify-content:space-between}.eh-syringe-lite-auto-complete-list .auto-complete-item img{display:inline-block!important;height:8pt;vertical-align:text-top}.eh-syringe-lite-auto-complete-list .auto-complete-item>span{-webkit-box-flex:0;-webkit-flex:none;-moz-box-flex:0;-ms-flex:none;flex:none}.eh-syringe-lite-auto-complete-list .auto-complete-item.selected,.eh-syringe-lite-auto-complete-list .auto-complete-item:hover{background:#e8ecf3}:root.ehs-ex .eh-syringe-lite-auto-complete-list .auto-complete-item.selected,:root.ehs-ex .eh-syringe-lite-auto-complete-list .auto-complete-item:hover{background:#3e3f40}.eh-syringe-lite-auto-complete-list .auto-complete-item .en-name{color:#5f6368;padding:0 8px}:root.ehs-ex .eh-syringe-lite-auto-complete-list .auto-complete-item .en-name{color:#d9d9d9}.eh-syringe-lite-auto-complete-list mark{background:#f5f500;color:inherit}:root.ehs-ex .eh-syringe-lite-auto-complete-list mark{background:#727200}", "",{"version":3,"sources":["webpack://./src/plugin/tag-tip/index.less"],"names":[],"mappings":"AAAA,oCACI,kBAAA,CAWA,yBAAA,CAAA,sBAAA,CAAA,iBAAA,CACA,wGAAA,CAAA,qGAAA,CAAA,gGAAA,CAXA,aAAA,CAeA,aAAA,CACA,eAAA,CARA,eAAA,CASA,aAAA,CACA,aAAA,CAXA,cAAA,CAYA,mBAAA,CACA,oBAAA,CAXA,yBAAA,CAAA,oBAAA,CAYA,UARJ,CAXI,iDACI,kBAAA,CACA,aAaR,CAMI,sFAEI,YAJR,CAOI,gFAGY,YAPhB,CA1BA,wDAyCQ,mBAAA,CAAA,oBAAA,CAAA,gBAAA,CAAA,mBAAA,CAAA,YAAA,CADA,gBAAA,CADA,aAAA,CAGA,wBAAA,CAAA,qCAAA,CAAA,qBAAA,CAAA,qBAAA,CACA,cAAA,CADA,6BATR,CAjCA,4DA6CY,8BAAA,CACA,UAAA,CACA,uBATZ,CAtCA,6DAmDY,kBAAA,CAAA,iBAAA,CAAA,eAAA,CAAA,aAAA,CAAA,SAVZ,CAaQ,+HAEI,kBAXZ,CAaY,yJACI,kBAVhB,CAjDA,iEAgEY,aAAA,CADA,aAVZ,CAaY,8EACI,aAXhB,CAxDA,yCA0EQ,kBAAA,CADA,aAbR,CAeQ,sDACI,kBAbZ","sourcesContent":[".eh-syringe-lite-auto-complete-list {\n background: #f8f4ec;\n color: #5c0d12;\n\n :root.ehs-ex & {\n background: #2b2b2b;\n color: #f1f1f1;\n }\n\n position: fixed;\n min-height: 20px;\n text-align-last: left;\n border-radius: 4px;\n box-shadow:\n 0 1px 3px 0 rgba(0, 0, 0, 0.2),\n 0 1px 1px 0 rgba(0, 0, 0, 0.14),\n 0 2px 1px -1px rgba(0, 0, 0, 0.12);\n display: block;\n max-height: 50vh;\n overflow: auto;\n padding: 8px 0;\n scroll-padding: 16px;\n scrollbar-width: thin;\n z-index: 10;\n\n &[hidden],\n &:empty {\n display: none;\n }\n\n &.exclude {\n .auto-complete-item {\n .en-name::before {\n content: '- ';\n }\n }\n }\n\n .auto-complete-item {\n padding: 0 8px;\n line-height: 24px;\n display: flex;\n justify-content: space-between;\n cursor: pointer;\n img {\n display: inline-block !important;\n height: 8pt;\n vertical-align: text-top;\n }\n\n > span {\n flex: none;\n }\n\n &:hover,\n &.selected {\n background: #e8ecf3;\n\n :root.ehs-ex & {\n background: #3e3f40;\n }\n }\n .en-name {\n padding: 0 8px;\n color: #5f6368;\n\n :root.ehs-ex & {\n color: #d9d9d9;\n }\n }\n }\n\n mark {\n color: inherit;\n background: #f5f500;\n :root.ehs-ex & {\n background: #727200;\n }\n }\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ __webpack_exports__.A = (___CSS_LOADER_EXPORT___);
/***/ }),
/***/ 11459:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97164);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(68100);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91791);
/* harmony import */ var _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__);
// Imports
var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(79334), __webpack_require__.b);
var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_pnpm_css_loader_7_1_2_webpack_5_96_1_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
// Module
___CSS_LOADER_EXPORT___.push([module.id, "#eh-syringe-popup-button{background:50%/65% no-repeat #fff url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");border:2px solid #6e066e;-webkit-border-radius:36px;-moz-border-radius:36px;border-radius:36px;-webkit-box-shadow:0 0 2px 1px rgba(0,0,0,.5);-moz-box-shadow:0 0 2px 1px rgba(0,0,0,.5);box-shadow:0 0 2px 1px rgba(0,0,0,.5);height:36px;position:fixed;-ms-touch-action:none;touch-action:none;width:36px;z-index:10}#eh-syringe-popup-button:hover{cursor:pointer}:root.ehs-ex #eh-syringe-popup-button{background-color:#bbb;border-color:#926a92}#eh-syringe-popup-badge{background:#444;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#fff;font-size:12px;height:14px;padding:2px 4px;position:absolute;right:-10px;top:-10px}#eh-syringe-popup-back{background:rgba(0,0,0,.3);bottom:0;left:0;opacity:0;pointer-events:none;position:fixed;right:0;top:0;-webkit-transition:visibility,opacity .4s;-o-transition:visibility,opacity .4s;-moz-transition:visibility,opacity .4s;transition:visibility,opacity .4s;visibility:hidden;z-index:1000}#eh-syringe-popup-back.closing,#eh-syringe-popup-back.open,#eh-syringe-popup-back.opening{pointer-events:auto;visibility:visible}#eh-syringe-popup-back.open,#eh-syringe-popup-back.opening{opacity:1}#eh-syringe-popup-back.closing{opacity:0}#eh-syringe-popup{bottom:72px;position:absolute;right:12px}", "",{"version":3,"sources":["webpack://./src/user-script/popup-host.less"],"names":[],"mappings":"AAAA,yBAUI,yEAAA,CAFA,wBAAA,CADA,0BAAA,CAAA,uBAAA,CAAA,kBAAA,CAEA,6CAAA,CAAA,0CAAA,CAAA,qCAAA,CAHA,WAAA,CALA,cAAA,CACA,qBAAA,CAAA,iBAAA,CAGA,UAAA,CAMA,UADJ,CAEI,+BACI,cAAR,CAGI,sCACI,qBAAA,CACA,oBADR,CAKA,wBAQI,eAAA,CADA,yBAAA,CAAA,sBAAA,CAAA,iBAAA,CAEA,UAAA,CAPA,cAAA,CADA,WAAA,CAKA,eAAA,CAHA,iBAAA,CACA,WAAA,CACA,SACJ,CAMA,uBAOI,yBAAA,CALA,QAAA,CAGA,MAAA,CAKA,SAAA,CADA,mBAAA,CARA,cAAA,CAEA,OAAA,CACA,KAAA,CAOA,yCAAA,CAAA,oCAAA,CAAA,sCAAA,CAAA,iCAAA,CAHA,iBAAA,CAFA,YACJ,CAQI,0FAII,mBAAA,CADA,kBALR,CAYI,2DACI,SAPR,CASI,+BACI,SAPR,CAWA,kBAEI,WAAA,CADA,iBAAA,CAEA,UATJ","sourcesContent":["#eh-syringe-popup-button {\n position: fixed;\n touch-action: none;\n // bottom: 12px;\n // right: 12px;\n width: 36px;\n height: 36px;\n border-radius: 36px;\n border: rgb(110, 6, 110) 2px solid;\n box-shadow: rgba(0, 0, 0, 0.5) 0 0 2px 1px;\n background: center/65% no-repeat white url('../assets/logo.svg');\n z-index: 10;\n &:hover {\n cursor: pointer;\n }\n\n :root.ehs-ex & {\n background-color: rgb(187, 187, 187);\n border-color: rgb(146, 106, 146);\n }\n}\n\n#eh-syringe-popup-badge {\n height: 14px;\n font-size: 12px;\n position: absolute;\n right: -10px;\n top: -10px;\n padding: 2px 4px;\n border-radius: 4px;\n background: #444;\n color: white;\n}\n\n#eh-syringe-popup-back {\n position: fixed;\n bottom: 0;\n right: 0;\n top: 0;\n left: 0;\n z-index: 1000;\n background: rgba(0, 0, 0, 0.3);\n visibility: hidden;\n pointer-events: none;\n opacity: 0;\n transition:\n visibility,\n opacity 0.4s;\n\n &.open,\n &.opening,\n &.closing {\n visibility: visible;\n pointer-events: initial;\n }\n\n &.open {\n opacity: 1;\n }\n &.opening {\n opacity: 1;\n }\n &.closing {\n opacity: 0;\n }\n}\n\n#eh-syringe-popup {\n position: absolute;\n bottom: 12px + 36px + 24px;\n right: 12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ __webpack_exports__.A = (___CSS_LOADER_EXPORT___);
/***/ }),
/***/ 6726:
/***/ (function(module) {
"use strict";
var stylesInDOM = [];
function getIndexByIdentifier(identifier) {
var result = -1;
for (var i = 0; i < stylesInDOM.length; i++) {
if (stylesInDOM[i].identifier === identifier) {
result = i;
break;
}
}
return result;
}
function modulesToDom(list, options) {
var idCountMap = {};
var identifiers = [];
for (var i = 0; i < list.length; i++) {
var item = list[i];
var id = options.base ? item[0] + options.base : item[0];
var count = idCountMap[id] || 0;
var identifier = "".concat(id, " ").concat(count);
idCountMap[id] = count + 1;
var indexByIdentifier = getIndexByIdentifier(identifier);
var obj = {
css: item[1],
media: item[2],
sourceMap: item[3],
supports: item[4],
layer: item[5]
};
if (indexByIdentifier !== -1) {
stylesInDOM[indexByIdentifier].references++;
stylesInDOM[indexByIdentifier].updater(obj);
} else {
var updater = addElementStyle(obj, options);
options.byIndex = i;
stylesInDOM.splice(i, 0, {
identifier: identifier,
updater: updater,
references: 1
});
}
identifiers.push(identifier);
}
return identifiers;
}
function addElementStyle(obj, options) {
var api = options.domAPI(options);
api.update(obj);
var updater = function updater(newObj) {
if (newObj) {
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
return;
}
api.update(obj = newObj);
} else {
api.remove();
}
};
return updater;
}
module.exports = function (list, options) {
options = options || {};
list = list || [];
var lastIdentifiers = modulesToDom(list, options);
return function update(newList) {
newList = newList || [];
for (var i = 0; i < lastIdentifiers.length; i++) {
var identifier = lastIdentifiers[i];
var index = getIndexByIdentifier(identifier);
stylesInDOM[index].references--;
}
var newLastIdentifiers = modulesToDom(newList, options);
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
var _identifier = lastIdentifiers[_i];
var _index = getIndexByIdentifier(_identifier);
if (stylesInDOM[_index].references === 0) {
stylesInDOM[_index].updater();
stylesInDOM.splice(_index, 1);
}
}
lastIdentifiers = newLastIdentifiers;
};
};
/***/ }),
/***/ 26005:
/***/ (function(module) {
"use strict";
var memo = {};
/* istanbul ignore next */
function getTarget(target) {
if (typeof memo[target] === "undefined") {
var styleTarget = document.querySelector(target);
// Special case to return head of iframe instead of iframe itself
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
try {
// This will throw an exception if access to iframe is blocked
// due to cross-origin restrictions
styleTarget = styleTarget.contentDocument.head;
} catch (e) {
// istanbul ignore next
styleTarget = null;
}
}
memo[target] = styleTarget;
}
return memo[target];
}
/* istanbul ignore next */
function insertBySelector(insert, style) {
var target = getTarget(insert);
if (!target) {
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
}
target.appendChild(style);
}
module.exports = insertBySelector;
/***/ }),
/***/ 3842:
/***/ (function(module) {
"use strict";
/* istanbul ignore next */
function insertStyleElement(options) {
var element = document.createElement("style");
options.setAttributes(element, options.attributes);
options.insert(element, options.options);
return element;
}
module.exports = insertStyleElement;
/***/ }),
/***/ 62246:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* istanbul ignore next */
function setAttributesWithoutAttributes(styleElement) {
var nonce = true ? __webpack_require__.nc : 0;
if (nonce) {
styleElement.setAttribute("nonce", nonce);
}
}
module.exports = setAttributesWithoutAttributes;
/***/ }),
/***/ 2175:
/***/ (function(module) {
"use strict";
/* istanbul ignore next */
function apply(styleElement, options, obj) {
var css = "";
if (obj.supports) {
css += "@supports (".concat(obj.supports, ") {");
}
if (obj.media) {
css += "@media ".concat(obj.media, " {");
}
var needLayer = typeof obj.layer !== "undefined";
if (needLayer) {
css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
}
css += obj.css;
if (needLayer) {
css += "}";
}
if (obj.media) {
css += "}";
}
if (obj.supports) {
css += "}";
}
var sourceMap = obj.sourceMap;
if (sourceMap && typeof btoa !== "undefined") {
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
}
// For old IE
/* istanbul ignore if */
options.styleTagTransform(css, styleElement, options.options);
}
function removeStyleElement(styleElement) {
// istanbul ignore if
if (styleElement.parentNode === null) {
return false;
}
styleElement.parentNode.removeChild(styleElement);
}
/* istanbul ignore next */
function domAPI(options) {
if (typeof document === "undefined") {
return {
update: function update() {},
remove: function remove() {}
};
}
var styleElement = options.insertStyleElement(options);
return {
update: function update(obj) {
apply(styleElement, options, obj);
},
remove: function remove() {
removeStyleElement(styleElement);
}
};
}
module.exports = domAPI;
/***/ }),
/***/ 74199:
/***/ (function(module) {
"use strict";
/* istanbul ignore next */
function styleTagTransform(css, styleElement) {
if (styleElement.styleSheet) {
styleElement.styleSheet.cssText = css;
} else {
while (styleElement.firstChild) {
styleElement.removeChild(styleElement.firstChild);
}
styleElement.appendChild(document.createTextNode(css));
}
}
module.exports = styleTagTransform;
/***/ }),
/***/ 79334:
/***/ (function(module) {
"use strict";
module.exports = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTI4cHgiIGhlaWdodD0iMTI4cHgiIHZpZXdCb3g9IjAgMCAxMjggMTI4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA1NS4yICg3ODE4MSkgLSBodHRwczovL3NrZXRjaGFwcC5jb20gLS0+CiAgICA8dGl0bGU+bG9nbzwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxnIGlkPSJsb2dvIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgZmlsbD0iI0ZGRkZGRiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTcuMjMxMzAzLCA3MS42NDQ5MzkpIHJvdGF0ZSgtNDUuMDAwMDAwKSB0cmFuc2xhdGUoLTU3LjIzMTMwMywgLTcxLjY0NDkzOSkgIiB4PSIxOS43MzEzMDI3IiB5PSI1OS44OTQ5Mzk0IiB3aWR0aD0iNzUiIGhlaWdodD0iMjMuNSI+PC9yZWN0PgogICAgICAgICAgICA8cmVjdCBpZD0i55+p5b2iIiBmaWxsPSIjRkZGRkZGIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4OC4xMzEzNTQsIDQwLjI0NTY4OSkgcm90YXRlKC00NS4wMDAwMDApIHRyYW5zbGF0ZSgtODguMTMxMzU0LCAtNDAuMjQ1Njg5KSAiIHg9IjgyLjYzMTM1NDUiIHk9IjE0LjI0NTY4OSIgd2lkdGg9IjExIiBoZWlnaHQ9IjUyIj48L3JlY3Q+CiAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIGZpbGw9IiNGRkZGRkYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwOS40ODk1OTIsIDE4LjUyNDAyOCkgcm90YXRlKC00NS4wMDAwMDApIHRyYW5zbGF0ZSgtMTA5LjQ4OTU5MiwgLTE4LjUyNDAyOCkgIiB4PSIxMDMuOTg5NTkyIiB5PSIxLjAyNDAyODIxIiB3aWR0aD0iMTEiIGhlaWdodD0iMzUiPjwvcmVjdD4KICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgZmlsbD0iI0ZGRkZGRiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTkuNzk4NjE2LCAyOS4xOTY5NTYpIHJvdGF0ZSgtNDUuMDAwMDAwKSB0cmFuc2xhdGUoLTk5Ljc5ODYxNiwgLTI5LjE5Njk1NikgIiB4PSI4OS41NDg2MTY0IiB5PSIyMi45NDY5NTU1IiB3aWR0aD0iMjAuNSIgaGVpZ2h0PSIxMi41Ij48L3JlY3Q+CiAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIGZpbGw9IiNGREJERjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI0Ljg2MTY0NywgMTAyLjk4MjQxMSkgcm90YXRlKC00NS4wMDAwMDApIHRyYW5zbGF0ZSgtMjQuODYxNjQ3LCAtMTAyLjk4MjQxMSkgIiB4PSIxOS4zNjE2NDY3IiB5PSI5Ny40ODI0MTEiIHdpZHRoPSIxMSIgaGVpZ2h0PSIxMSI+PC9yZWN0PgogICAgICAgICAgICA8cGF0aCBkPSJNMjcuNDI2MjQ4LDg2LjM1OTg4MjEgQzI3LjQyNjI0OCw4Ni4zNTk4ODIxIDMzLjA3NjUyMjUsODYuMzY2ODA4MSA0MS4wMjM0NzY0LDg2LjM2NTQyMyBDNDguOTc0NTg1OSw4Ni4zNjU0MjMgNTcuNjQwNDY0LDgzLjM1Njc0NTMgNTcuNjQwNDY0LDgzLjM1Njc0NTMgTDM4LjAxNDc5ODYsMTAyLjk4MjQxMSBMMjQuOTc5OTY1OSw4OS45NDc1Nzc5IEwyNy40MjQ4NjI4LDg2LjM2MTI2NzMgTDI3LjQyNjI0OCw4Ni4zNTk4ODIxIFoiIGlkPSLot6/lvoQiIGZpbGw9IiNGREJERjEiIGZpbGwtcnVsZT0ibm9uemVybyI+PC9wYXRoPgogICAgICAgICAgICA8cGF0aCBkPSJNOTQuNzIyNTU0OCwzNy41ODM4NDI0IEwxMDUuNjI0MTYzLDI2LjY4MjIzNDIgTDEwMS4yNzg3NTcsMjIuMzM2ODI4MiBMOTAuMzc3MTQ4OSwzMy4yMzg0MzY1IEw5NC43MjI1NTQ4LDM3LjU4Mzg0MjQgWiBNODMuODUxNDIxMiwzMS4wNzMzNTIxIEwxMDEuMjk1MzgsMTMuNjI5MzkzNiBMMTE0LjMzMTU5OCwyNi42NjU2MTE2IEw5Ni44ODYyNTM5LDQ0LjExMDk1NTMgTDgzLjg1MTQyMTIsMzEuMDc2MTIyNiBMODMuODUxNDIxMiwzMS4wNzMzNTIxIFoiIGlkPSLlvaLnirYiIGZpbGw9IiM3ODM2QTAiIGZpbGwtcnVsZT0ibm9uemVybyI+PC9wYXRoPgogICAgICAgICAgICA8cGF0aCBkPSJNNzEuMjkwMzMwNCwyMi44NzI5MDQ3IEM3MC4wODc5Njc2LDI0LjA3NTI2NzYgNzAuMTkwNDczMSwyNi4xMzM2OTA3IDcxLjUwNjQyMzIsMjcuNDQ5NjQwOSBMMTAwLjUxMjczNiw1Ni40NTU5NTMzIEMxMDEuODE0ODM0LDU3Ljc1ODA1MTQgMTAzLjg5NDAzNSw1Ny44NjQ3MTI2IDEwNS4wODgwODcsNTYuNjcwNjYwOSBDMTA2LjI5MDQ0OSw1NS40NjgyOTggMTA2LjE4Nzk0NCw1My40MDk4NzQ5IDEwNC44NzE5OTQsNTIuMDkzOTI0NyBMNzUuODY3MDY2NywyMy4wODg5OTc2IEM3NC41NjQ5Njg2LDIxLjc4Njg5OTUgNzIuNDg0MzgyMSwyMS42Nzg4NTMyIDcxLjI5MDMzMDQsMjIuODcyOTA0NyBaIE02Ni40NjI4NzExLDE4LjA0NTQ0NTMgQzcwLjA3NTUwMDYsMTQuNDMyODE1OCA3Ni4yNzAxNjI5LDE0Ljc3MDgwNzIgODAuMjI3NzEsMTguNzI4MzU0MyBMMTA5LjIzNDAyMiw0Ny43MzQ2NjY1IEMxMTMuMjIzNDI5LDUxLjcyNDA3MzQgMTEzLjUxOTg2NCw1Ny44OTM4MDE5IDEwOS45MTU1NDYsNjEuNDk4MTIwMiBDMTA2LjMwMjkxNiw2NS4xMTA3NDk3IDEwMC4xMDgyNTQsNjQuNzcyNzU4MyA5Ni4xNTA3MDcxLDYwLjgxNTIxMTQgTDY3LjE0NTc3OTksMzEuODEwMjg0MiBDNjMuMTU2MzczMSwyNy44MjA4Nzc0IDYyLjg1ODU1MjgsMjEuNjQ5NzYzNiA2Ni40NjI4NzExLDE4LjA0NTQ0NTMgWiBNOTkuMTMwMjk1Myw3LjEwMzY2NTkxIEM5Ny45MzA3MDI5LDguMzAzMjU4MzMgOTcuOTI3OTMyNCwxMC4yNjE5NDYzIDk5LjEzMDI5NTMsMTEuNDY0MzA5MiBMMTE2LjQ5NjY4MiwyOC44MzA2OTYgQzExNy43MDQ1ODYsMzAuMDM4NTk5NyAxMTkuNjUyMTkyLDMwLjAzNTgyOTMgMTIwLjg1NzMyNSwyOC44MzA2OTYgQzEyMi4wNTU1MzMsMjcuNjMyNDg4NiAxMjIuMDU5Njg4LDI1LjY3MjQxNTUgMTIwLjg1NzMyNSwyNC40NzAwNTI3IEwxMDMuNDkwOTM5LDcuMTAzNjY1OTEgQzEwMi4yODMwMzUsNS44OTU3NjIxMiAxMDAuMzM1NDI5LDUuODk4NTMyNTggOTkuMTMwMjk1Myw3LjEwMzY2NTkxIFogTTk0Ljc4NDg4OTMsMi43NTgyNTk5NyBDOTYuNTE0OTgsMS4wMjIyODYzOCA5OC44NjQxOTgsMC4wNDUyNjU1OTg0IDEwMS4zMTUwNzcsMC4wNDIzOTUwMjI4IEMxMDMuNzY1OTU3LDAuMDM5NTQ5NTQzNiAxMDYuMTE3NDQ3LDEuMDExMDg4NzIgMTA3Ljg1MTU4MiwyLjc0MzAyMjYgTDEyNS4yMTc5NjksMjAuMTA5NDA5MyBDMTI4LjgyMjI4NywyMy43MTM3Mjc3IDEyOC44MDU2NjQsMjkuNTcwMzk4NSAxMjUuMjAxMzQ2LDMzLjE3NDcxNjggQzEyMy40NzE0OTUsMzQuOTEwNDUwNCAxMjEuMTIyNjc3LDM1Ljg4NzQ1MTIgMTE4LjY3MjEzNywzNS44OTA1ODM5IEMxMTYuMjIxNTk3LDM1Ljg5MzY4NjcgMTEzLjg3MDMwMSwzNC45MjI2NjU2IDExMi4xMzYwMzksMzMuMTkxMzM5MyBMOTQuNzY5NjUyLDE1LjgyNDk1MjcgQzkxLjE2NTMzMzcsMTIuMjIwNjM0MyA5MS4xODE5NTYzLDYuMzYzOTYzNTEgOTQuNzg2Mjc0NSwyLjc1OTY0NTIgTDk0Ljc4NDg4OTMsMi43NTgyNTk5NyBaIiBpZD0i5b2i54q2IiBmaWxsPSIjNzgzNkEwIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICAgICAgPHBhdGggZD0iTTI0Ljk5Nzk1MTYsODkuOTI5NTcwMSBDMjQuOTg0MTIxNSw4OS45NDM0MjIyIDM4LjAxNjE4MzgsMTAyLjk4MTAyNiAzOC4wMTYxODM4LDEwMi45ODEwMjYgQzM4LjAyMTcyNDYsMTAyLjk4NjU2NiA4OC4xNjYzNTI1LDUyLjgzMDg1NjggODguMTY2MzUyNSw1Mi44MzA4NTY4IEw3NS4xMzE1MTk3LDM5Ljc5NjAyNCBMMjQuOTk3OTUxNiw4OS45Mjk1NzAxIFogTTc1LjE0NTM3MTgsMzEuMDg4NTg5NCBMOTYuODcyNDAxOSw1Mi44MTU2MTk0IEw0Mi4zNzgyMTI0LDEwNy4zMDk4MDkgQzQxLjIyODE3NywxMDguNDc0NTkgMzkuNjYxMzIzMywxMDkuMTMyOTY4IDM4LjAyNDQ3OTMsMTA5LjEzOTI5NiBDMzYuMzg3NjM1MiwxMDkuMTQ1NDQ3IDM0LjgxNTgwNzcsMTA4LjQ5OTAzNCAzMy42NTY5MjU4LDEwNy4zNDMwNTQgTDIwLjYxOTMyMjUsOTQuMzA1NDUwOCBDMTguMjIwMTM3NSw5MS45MDYyNjU4IDE4LjIzMjYwNDQsODguMDAxMzU2OCAyMC42NTExODIzLDg1LjU4Mjc3ODkgTDc1LjE0NTM3MTgsMzEuMDg4NTg5NCBaIiBpZD0i5b2i54q2IiBmaWxsPSIjNzgzNkEwIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICAgICAgPHBhdGggZD0iTTIwLjU5OTkyOTUsMTAzLjAxNTY1NiBDMjAuNjA0MDg1MiwxMDMuMDExNSAyNC45NTM2NDY4LDEwNy4zNjEwNjIgMjQuOTUzNjQ2OCwxMDcuMzYxMDYyIEMyNC45NDk0OTEyLDEwNy4zNTY5MDYgMjkuMzEwMTM0NiwxMDIuOTk2MjYzIDI5LjMxMDEzNDYsMTAyLjk5NjI2MyBMMjQuOTY0NzI4NSw5OC42NTA4NTY4IEwyMC41OTk5Mjk1LDEwMy4wMTU2NTYgTDIwLjU5OTkyOTUsMTAzLjAxNTY1NiBaIE0yNC45ODEzNTEsODkuOTQzNDIyMiBMMzguMDE3NTY5MSwxMDIuOTc5NjQgTDI5LjI5MDc0MTUsMTExLjcwNjQ2OCBDMjYuODkxNTY2NCwxMTQuMTA4NzE4IDIzLjAwMDU4MDgsMTE0LjExNTUzNCAyMC41OTMwMDM1LDExMS43MjE3MDUgTDE2LjIzOTI4NjIsMTA3LjM2Nzk4OCBDMTMuODQ1NDU3LDEwNC45NjA0MTEgMTMuODUyMjczNSwxMDEuMDY5NDI1IDE2LjI1NDUyMzYsOTguNjcwMjQ5NyBMMjQuOTgxMzUxLDg5Ljk0MzQyMjIgTDI0Ljk4MTM1MSw4OS45NDM0MjIyIFoiIGlkPSLlvaLnirYiIGZpbGw9IiM3ODM2QTAiIGZpbGwtcnVsZT0ibm9uemVybyI+PC9wYXRoPgogICAgICAgICAgICA8cGF0aCBkPSJNMjAuNTk5OTI5NSwxMDMuMDE1NjU2IEMyMC42MDQwODUyLDEwMy4wMTE1IDI0Ljk1MzY0NjgsMTA3LjM2MTA2MiAyNC45NTM2NDY4LDEwNy4zNjEwNjIgQzI0Ljk0OTQ5MTIsMTA3LjM1NjkwNiAyOS4zMTAxMzQ2LDEwMi45OTYyNjMgMjkuMzEwMTM0NiwxMDIuOTk2MjYzIEwyNC45NjQ3Mjg1LDk4LjY1MDg1NjggTDIwLjU5OTkyOTUsMTAzLjAxNTY1NiBMMjAuNTk5OTI5NSwxMDMuMDE1NjU2IFogTTI0Ljk4MTM1MSw4OS45NDM0MjIyIEwzOC4wMTc1NjkxLDEwMi45Nzk2NCBMMjkuMjkwNzQxNSwxMTEuNzA2NDY4IEMyNi44OTE1NjY0LDExNC4xMDg3MTggMjMuMDAwNTgwOCwxMTQuMTE1NTM0IDIwLjU5MzAwMzUsMTExLjcyMTcwNSBMMTYuMjM5Mjg2MiwxMDcuMzY3OTg4IEMxMy44NDU0NTcsMTA0Ljk2MDQxMSAxMy44NTIyNzM1LDEwMS4wNjk0MjUgMTYuMjU0NTIzNiw5OC42NzAyNDk3IEwyNC45ODEzNTEsODkuOTQzNDIyMiBMMjQuOTgxMzUxLDg5Ljk0MzQyMjIgWiIgaWQ9IuW9oueKtiIgZmlsbD0iIzc4MzZBMCIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xNi4yNDM0NDE5LDEwNy4zNzIxNDMgTDAuOTc5ODA1MDUxLDEyMi42MzU3OCBDLTAuMjI1MzI4MjgzLDEyMy44NDA5MTQgLTAuMjI4MDk4NzM3LDEyNS43ODg1MiAwLjk3Mjg3OTA0LDEyNi45ODk0OTcgQzIuMTcyNDcxNDYsMTI4LjE4OTA5IDQuMTIxNDYzMDEsMTI4LjE4NDkzNCA1LjMyNTIxMDk4LDEyNi45ODExODYgTDIwLjU4ODg0NzksMTExLjcxNzU0OSBDMjEuNzkyNTk2LDExMC41MTM4MDEgMjEuNzk2NzUxNiwxMDguNTY0ODEgMjAuNTk3MTU5MSwxMDcuMzY1MjE3IEMxOS4zOTYxODE0LDEwNi4xNjQyNCAxNy40NDcxODk5LDEwNi4xNjgzOTUgMTYuMjQzNDQxOSwxMDcuMzcyMTQzIFogTTYwLjk2OTEyNTQsNDcuNDM5NjE2NyBMNjcuNDg2NTQxOCw1My45NTcwMzMxIEM2OC4wODg4NDMsNTQuNTU2Mjc4IDY5LjA2MjY5OTYsNTQuNTU0NDE4MyA2OS42NjI3MDc4LDUzLjk1Mjg3NzUgQzY5Ljk1MjIwNTEsNTMuNjY0ODUxNyA3MC4xMTU0MjY4LDUzLjI3MzYxOTkgNzAuMTE2NDc1OCw1Mi44NjUyNDk0IEM3MC4xMTc1MDUsNTIuNDU2ODc4OSA2OS45NTYyNzYzLDUyLjA2NDgyMTYgNjkuNjY4MjQ4Niw1MS43NzUzMjYzIEw2My4xNTA4MzIyLDQ1LjI1NzkwOTggQzYyLjg2MTQ2MzcsNDQuOTY5Mjc0OCA2Mi40NjkyMTI0LDQ0LjgwNzUyODQgNjIuMDYwNTAyNiw0NC44MDgzMDIyIEM2MS42NTE3OTI4LDQ0LjgwOTA4NzMgNjEuMjYwMTYxMyw0NC45NzIzMjg3IDYwLjk3MTg5NTgsNDUuMjYyMDY1NCBDNjAuMzcwNzE0NCw0NS44NjMyNDY4IDYwLjM2Nzk0MzksNDYuODM4NDM1MiA2MC45NjkxMjU0LDQ3LjQzOTYxNjcgTDYwLjk2OTEyNTQsNDcuNDM5NjE2NyBaIE01Mi4yNDc4Mzg4LDU2LjE2MDkwMzMgTDU4Ljc2NTI1NTIsNjIuNjc4MzE5NyBDNTkuMzY3NTU2NCw2My4yNzc1NjQ2IDYwLjM0MTQxMyw2My4yNzU3MDQ5IDYwLjk0MTQyMTIsNjIuNjc0MTY0MSBDNjEuNTQyOTYyLDYyLjA3NDE1NTkgNjEuNTQ0ODIxNyw2MS4xMDAyOTkzIDYwLjk0NTU3NjgsNjAuNDk3OTk4MSBMNTQuNDI4MTYwNCw1My45ODA1ODE3IEM1NC4xMzkwMzE5LDUzLjY5MjE4NzYgNTMuNzQ3MTgxMiw1My41MzA0NjEzIDUzLjMzODgxMSw1My41MzA5Nzg0IEM1Mi45MzA0NDA5LDUzLjUzMTUwMDQgNTIuNTM5MDAyOSw1My42OTQyMjMyIDUyLjI1MDYwOTIsNTMuOTgzMzUyMSBDNTEuNjQ5NDI3OCw1NC41ODQ1MzM2IDUxLjY0NjY1NzMsNTUuNTU5NzIyIDUyLjI0NzgzODgsNTYuMTYwOTAzMyBMNTIuMjQ3ODM4OCw1Ni4xNjA5MDMzIFogTTQzLjUyNjU1MjEsNjQuODgyMTkgTDUwLjA0Mzk2ODQsNzEuMzk5NjA2NCBDNTAuNjQ2MjY5Nyw3MS45OTg4NTEzIDUxLjYyMDEyNjMsNzEuOTk2OTkxNiA1Mi4yMjAxMzQ1LDcxLjM5NTQ1MDggQzUyLjgyMTY3NTMsNzAuNzk1NDQyNSA1Mi44MjM1MzUsNjkuODIxNTg2IDUyLjIyNDI5MDIsNjkuMjE5Mjg0NyBMNDUuNzA2ODczNyw2Mi43MDE4NjgzIEM0NS40MTc3NDUzLDYyLjQxMzQ3NDEgNDUuMDI1ODk0NSw2Mi4yNTE3NDc4IDQ0LjYxNzUyNDMsNjIuMjUyMjY0OSBDNDQuMjA5MTU0MSw2Mi4yNTI3ODY5IDQzLjgxNzcxNjIsNjIuNDE1NTA5OCA0My41MjkzMjI1LDYyLjcwNDYzODggQzQyLjkyNjc1NTgsNjMuMzA3MjA1NCA0Mi45MjUzNzA2LDY0LjI4MTAwODYgNDMuNTI2NTUyMSw2NC44ODIxOSBMNDMuNTI2NTUyMSw2NC44ODIxOSBaIE0zNC44MDUyNjU0LDczLjYwMzQ3NjYgTDQxLjMyMjY4MTgsODAuMTIwODkzMSBDNDEuOTI0OTgzMSw4MC43MjAxMzc5IDQyLjg5ODgzOTYsODAuNzE4Mjc4MiA0My40OTg4NDc5LDgwLjExNjczNzQgQzQ0LjEwMDM4ODcsNzkuNTE2NzI5MiA0NC4xMDIyNDg0LDc4LjU0Mjg3MjYgNDMuNTAzMDAzNSw3Ny45NDA1NzEzIEwzNi45ODU1ODcxLDcxLjQyMzE1NDkgQzM2LjY5NjQ1ODcsNzEuMTM0NzYwNyAzNi4zMDQ2MDc5LDcwLjk3MzAzNDQgMzUuODk2MjM3Nyw3MC45NzM1NTE1IEMzNS40ODc4Njc1LDcwLjk3NDA3MzYgMzUuMDk2NDI5Niw3MS4xMzY3OTY0IDM0LjgwODAzNTksNzEuNDI1OTI1NCBDMzQuMjA1NDY5Miw3Mi4wMjg0OTIgMzQuMjA0MDg0LDczLjAwMjI5NTIgMzQuODA1MjY1NCw3My42MDM0NzY2IEwzNC44MDUyNjU0LDczLjYwMzQ3NjYgWiIgaWQ9IuW9oueKtiIgZmlsbD0iIzc4MzZBMCIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=";
/***/ }),
/***/ 49380:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(20676);
/***/ }),
/***/ 81291:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(26507);
/***/ }),
/***/ 11949:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(72939);
/***/ }),
/***/ 31385:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(73103);
/***/ }),
/***/ 82264:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(21606);
/***/ }),
/***/ 77056:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(4942);
/***/ }),
/***/ 82179:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(14297);
/***/ }),
/***/ 77894:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(31260);
/***/ }),
/***/ 31142:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(19296);
/***/ }),
/***/ 22465:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(58231);
/***/ }),
/***/ 61596:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(57274);
/***/ }),
/***/ 1756:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(68346);
/***/ }),
/***/ 9362:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(18524);
/***/ }),
/***/ 49149:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(7183);
/***/ }),
/***/ 64279:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(75405);
/***/ }),
/***/ 72397:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(94663);
/***/ }),
/***/ 68133:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(13483);
/***/ }),
/***/ 33777:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(74283);
/***/ }),
/***/ 44691:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(29601);
/***/ }),
/***/ 2287:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(67945);
/***/ }),
/***/ 90827:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(40377);
/***/ }),
/***/ 54211:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(35517);
/***/ }),
/***/ 73679:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(97497);
/***/ }),
/***/ 45501:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(15611);
/***/ }),
/***/ 85467:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(68393);
/***/ }),
/***/ 88009:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(19524);
/***/ }),
/***/ 89121:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(61015);
/***/ }),
/***/ 92013:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(26755);
/***/ }),
/***/ 89298:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(21968);
/***/ }),
/***/ 92011:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(13225);
/***/ }),
/***/ 89276:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(88433);
/***/ }),
/***/ 16188:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(64658);
/***/ }),
/***/ 70886:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(248);
/***/ }),
/***/ 27405:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(5447);
/***/ }),
/***/ 41394:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(46316);
/***/ }),
/***/ 86900:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(79818);
/***/ }),
/***/ 60747:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(74129);
/***/ }),
/***/ 21768:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(9438);
/***/ }),
/***/ 83353:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(93687);
/***/ }),
/***/ 36228:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(82258);
/***/ }),
/***/ 56586:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(93719);
/***/ }),
/***/ 48412:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(10070);
/***/ }),
/***/ 20321:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(6055);
/***/ }),
/***/ 20857:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(57527);
/***/ }),
/***/ 55621:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(36759);
/***/ }),
/***/ 79599:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(19454);
/***/ }),
/***/ 46475:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(25310);
/***/ }),
/***/ 13767:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(99313);
/***/ }),
/***/ 85523:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(24381);
/***/ }),
/***/ 61920:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(18078);
/***/ }),
/***/ 99386:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(47511);
/***/ }),
/***/ 92196:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(45913);
/***/ }),
/***/ 12563:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
var _typeof = (__webpack_require__(14476)["default"]);
var _Object$defineProperty = __webpack_require__(61666);
var _Symbol = __webpack_require__(11566);
var _Object$create = __webpack_require__(30937);
var _Object$getPrototypeOf = __webpack_require__(3322);
var _forEachInstanceProperty = __webpack_require__(57898);
var _pushInstanceProperty = __webpack_require__(78905);
var _Object$setPrototypeOf = __webpack_require__(78574);
var _Promise = __webpack_require__(19239);
var _reverseInstanceProperty = __webpack_require__(59799);
var _sliceInstanceProperty = __webpack_require__(47131);
function _regeneratorRuntime() {
"use strict";
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
return e;
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
var t,
e = {},
r = Object.prototype,
n = r.hasOwnProperty,
o = _Object$defineProperty || function (t, e, r) {
t[e] = r.value;
},
i = "function" == typeof _Symbol ? _Symbol : {},
a = i.iterator || "@@iterator",
c = i.asyncIterator || "@@asyncIterator",
u = i.toStringTag || "@@toStringTag";
function define(t, e, r) {
return _Object$defineProperty(t, e, {
value: r,
enumerable: !0,
configurable: !0,
writable: !0
}), t[e];
}
try {
define({}, "");
} catch (t) {
define = function define(t, e, r) {
return t[e] = r;
};
}
function wrap(t, e, r, n) {
var i = e && e.prototype instanceof Generator ? e : Generator,
a = _Object$create(i.prototype),
c = new Context(n || []);
return o(a, "_invoke", {
value: makeInvokeMethod(t, r, c)
}), a;
}
function tryCatch(t, e, r) {
try {
return {
type: "normal",
arg: t.call(e, r)
};
} catch (t) {
return {
type: "throw",
arg: t
};
}
}
e.wrap = wrap;
var h = "suspendedStart",
l = "suspendedYield",
f = "executing",
s = "completed",
y = {};
function Generator() {}
function GeneratorFunction() {}
function GeneratorFunctionPrototype() {}
var p = {};
define(p, a, function () {
return this;
});
var d = _Object$getPrototypeOf,
v = d && d(d(values([])));
v && v !== r && n.call(v, a) && (p = v);
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(p);
function defineIteratorMethods(t) {
var _context;
_forEachInstanceProperty(_context = ["next", "throw", "return"]).call(_context, function (e) {
define(t, e, function (t) {
return this._invoke(e, t);
});
});
}
function AsyncIterator(t, e) {
function invoke(r, o, i, a) {
var c = tryCatch(t[r], t, o);
if ("throw" !== c.type) {
var u = c.arg,
h = u.value;
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
invoke("next", t, i, a);
}, function (t) {
invoke("throw", t, i, a);
}) : e.resolve(h).then(function (t) {
u.value = t, i(u);
}, function (t) {
return invoke("throw", t, i, a);
});
}
a(c.arg);
}
var r;
o(this, "_invoke", {
value: function value(t, n) {
function callInvokeWithMethodAndArg() {
return new e(function (e, r) {
invoke(t, n, e, r);
});
}
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
}
});
}
function makeInvokeMethod(e, r, n) {
var o = h;
return function (i, a) {
if (o === f) throw Error("Generator is already running");
if (o === s) {
if ("throw" === i) throw a;
return {
value: t,
done: !0
};
}
for (n.method = i, n.arg = a;;) {
var c = n.delegate;
if (c) {
var u = maybeInvokeDelegate(c, n);
if (u) {
if (u === y) continue;
return u;
}
}
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
if (o === h) throw o = s, n.arg;
n.dispatchException(n.arg);
} else "return" === n.method && n.abrupt("return", n.arg);
o = f;
var p = tryCatch(e, r, n);
if ("normal" === p.type) {
if (o = n.done ? s : l, p.arg === y) continue;
return {
value: p.arg,
done: n.done
};
}
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
}
};
}
function maybeInvokeDelegate(e, r) {
var n = r.method,
o = e.iterator[n];
if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
var i = tryCatch(o, e.iterator, r.arg);
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
var a = i.arg;
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
}
function pushTryEntry(t) {
var _context2;
var e = {
tryLoc: t[0]
};
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), _pushInstanceProperty(_context2 = this.tryEntries).call(_context2, e);
}
function resetTryEntry(t) {
var e = t.completion || {};
e.type = "normal", delete e.arg, t.completion = e;
}
function Context(t) {
this.tryEntries = [{
tryLoc: "root"
}], _forEachInstanceProperty(t).call(t, pushTryEntry, this), this.reset(!0);
}
function values(e) {
if (e || "" === e) {
var r = e[a];
if (r) return r.call(e);
if ("function" == typeof e.next) return e;
if (!isNaN(e.length)) {
var o = -1,
i = function next() {
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
return next.value = t, next.done = !0, next;
};
return i.next = i;
}
}
throw new TypeError(_typeof(e) + " is not iterable");
}
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
value: GeneratorFunctionPrototype,
configurable: !0
}), o(GeneratorFunctionPrototype, "constructor", {
value: GeneratorFunction,
configurable: !0
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
var e = "function" == typeof t && t.constructor;
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
}, e.mark = function (t) {
return _Object$setPrototypeOf ? _Object$setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = _Object$create(g), t;
}, e.awrap = function (t) {
return {
__await: t
};
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
return this;
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
void 0 === i && (i = _Promise);
var a = new AsyncIterator(wrap(t, r, n, o), i);
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
return t.done ? t.value : a.next();
});
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
return this;
}), define(g, "toString", function () {
return "[object Generator]";
}), e.keys = function (t) {
var e = Object(t),
r = [];
for (var n in e) _pushInstanceProperty(r).call(r, n);
return _reverseInstanceProperty(r).call(r), function next() {
for (; r.length;) {
var t = r.pop();
if (t in e) return next.value = t, next.done = !1, next;
}
return next.done = !0, next;
};
}, e.values = values, Context.prototype = {
constructor: Context,
reset: function reset(e) {
var _context3;
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, _forEachInstanceProperty(_context3 = this.tryEntries).call(_context3, resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+_sliceInstanceProperty(r).call(r, 1)) && (this[r] = t);
},
stop: function stop() {
this.done = !0;
var t = this.tryEntries[0].completion;
if ("throw" === t.type) throw t.arg;
return this.rval;
},
dispatchException: function dispatchException(e) {
if (this.done) throw e;
var r = this;
function handle(n, o) {
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
}
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
var i = this.tryEntries[o],
a = i.completion;
if ("root" === i.tryLoc) return handle("end");
if (i.tryLoc <= this.prev) {
var c = n.call(i, "catchLoc"),
u = n.call(i, "finallyLoc");
if (c && u) {
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
} else if (c) {
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
} else {
if (!u) throw Error("try statement without catch or finally");
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
}
}
}
},
abrupt: function abrupt(t, e) {
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
var o = this.tryEntries[r];
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
var i = o;
break;
}
}
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
var a = i ? i.completion : {};
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
},
complete: function complete(t, e) {
if ("throw" === t.type) throw t.arg;
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
},
finish: function finish(t) {
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
var r = this.tryEntries[e];
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
}
},
"catch": function _catch(t) {
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
var r = this.tryEntries[e];
if (r.tryLoc === t) {
var n = r.completion;
if ("throw" === n.type) {
var o = n.arg;
resetTryEntry(r);
}
return o;
}
}
throw Error("illegal catch attempt");
},
delegateYield: function delegateYield(e, r, n) {
return this.delegate = {
iterator: values(e),
resultName: r,
nextLoc: n
}, "next" === this.method && (this.arg = t), y;
}
}, e;
}
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ 14476:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
var _Symbol = __webpack_require__(11566);
var _Symbol$iterator = __webpack_require__(41262);
function _typeof(o) {
"@babel/helpers - typeof";
return module.exports = _typeof = "function" == typeof _Symbol && "symbol" == typeof _Symbol$iterator ? function (o) {
return typeof o;
} : function (o) {
return o && "function" == typeof _Symbol && o.constructor === _Symbol && o !== _Symbol.prototype ? "symbol" : typeof o;
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
}
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ 66342:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
var _globalThis = __webpack_require__(81291);
var _typeof = __webpack_require__(14476);
// TODO(Babel 8): Remove this file.
var runtime = __webpack_require__(12563)();
module.exports = runtime;
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
try {
regeneratorRuntime = runtime;
} catch (accidentalStrictMode) {
if ((typeof _globalThis === "undefined" ? "undefined" : _typeof(_globalThis)) === "object") {
_globalThis.regeneratorRuntime = runtime;
} else {
Function("r", "regeneratorRuntime = r")(runtime);
}
}
/***/ }),
/***/ 8492:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(72939);
module.exports = parent;
/***/ }),
/***/ 25332:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(73103);
module.exports = parent;
/***/ }),
/***/ 41549:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(90068);
module.exports = parent;
/***/ }),
/***/ 31342:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(68955);
module.exports = parent;
/***/ }),
/***/ 42695:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(4942);
module.exports = parent;
/***/ }),
/***/ 54679:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(68346);
module.exports = parent;
/***/ }),
/***/ 76728:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(94377);
module.exports = parent;
/***/ }),
/***/ 22504:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(56967);
module.exports = parent;
/***/ }),
/***/ 36836:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(74283);
module.exports = parent;
/***/ }),
/***/ 2380:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(13225);
module.exports = parent;
/***/ }),
/***/ 66821:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(88433);
module.exports = parent;
/***/ }),
/***/ 55677:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(64658);
module.exports = parent;
/***/ }),
/***/ 6463:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(56034);
module.exports = parent;
/***/ }),
/***/ 69583:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(79818);
module.exports = parent;
/***/ }),
/***/ 171:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(9438);
module.exports = parent;
/***/ }),
/***/ 48598:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(93719);
// TODO: Remove from `core-js@4`
__webpack_require__(29478);
__webpack_require__(59733);
module.exports = parent;
/***/ }),
/***/ 58873:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(25310);
__webpack_require__(22863);
__webpack_require__(84900);
__webpack_require__(27209);
__webpack_require__(69439);
module.exports = parent;
/***/ }),
/***/ 47503:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(18078);
module.exports = parent;
/***/ }),
/***/ 38344:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(19697);
module.exports = parent;
/***/ }),
/***/ 45686:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(94894);
__webpack_require__(18320);
var path = __webpack_require__(42753);
module.exports = path.Array.from;
/***/ }),
/***/ 82806:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(94136);
var path = __webpack_require__(42753);
module.exports = path.Array.isArray;
/***/ }),
/***/ 38794:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(68228);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'concat');
/***/ }),
/***/ 56003:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(5785);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'fill');
/***/ }),
/***/ 55232:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(41378);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'filter');
/***/ }),
/***/ 85929:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(17731);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'find');
/***/ }),
/***/ 85317:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(41239);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'forEach');
/***/ }),
/***/ 80783:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(27445);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'includes');
/***/ }),
/***/ 53332:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(12930);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'indexOf');
/***/ }),
/***/ 19770:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(96198);
__webpack_require__(24329);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'keys');
/***/ }),
/***/ 54070:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(86460);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'map');
/***/ }),
/***/ 35114:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(47896);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'push');
/***/ }),
/***/ 92080:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(47930);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'reduce');
/***/ }),
/***/ 65298:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(61992);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'reverse');
/***/ }),
/***/ 44694:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(18212);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'slice');
/***/ }),
/***/ 36534:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(1488);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'some');
/***/ }),
/***/ 60438:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(69620);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'sort');
/***/ }),
/***/ 16130:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(83908);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'splice');
/***/ }),
/***/ 284:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(96198);
__webpack_require__(24329);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Array', 'values');
/***/ }),
/***/ 84839:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(3783);
var path = __webpack_require__(42753);
module.exports = path.Date.now;
/***/ }),
/***/ 60695:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(21932);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('Function', 'bind');
/***/ }),
/***/ 50823:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(96198);
__webpack_require__(94894);
var getIteratorMethod = __webpack_require__(23005);
module.exports = getIteratorMethod;
/***/ }),
/***/ 87412:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(52515);
module.exports = __webpack_require__(52382);
/***/ }),
/***/ 16769:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(60695);
var FunctionPrototype = Function.prototype;
module.exports = function (it) {
var own = it.bind;
return it === FunctionPrototype || (isPrototypeOf(FunctionPrototype, it) && own === FunctionPrototype.bind) ? method : own;
};
/***/ }),
/***/ 96318:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(38794);
var ArrayPrototype = Array.prototype;
module.exports = function (it) {
var own = it.concat;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.concat) ? method : own;
};
/***/ }),
/***/ 97401:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(50787);
var StringPrototype = String.prototype;
module.exports = function (it) {
var own = it.endsWith;
return typeof it == 'string' || it === StringPrototype
|| (isPrototypeOf(StringPrototype, it) && own === StringPrototype.endsWith) ? method : own;
};
/***/ }),
/***/ 81207:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(56003);
var ArrayPrototype = Array.prototype;
module.exports = function (it) {
var own = it.fill;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.fill) ? method : own;
};
/***/ }),
/***/ 85260:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(55232);
var ArrayPrototype = Array.prototype;
module.exports = function (it) {
var own = it.filter;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.filter) ? method : own;
};
/***/ }),
/***/ 20509:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(85929);
var ArrayPrototype = Array.prototype;
module.exports = function (it) {
var own = it.find;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.find) ? method : own;
};
/***/ }),
/***/ 5187:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var arrayMethod = __webpack_require__(80783);
var stringMethod = __webpack_require__(86681);
var ArrayPrototype = Array.prototype;
var StringPrototype = String.prototype;
module.exports = function (it) {
var own = it.includes;
if (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.includes)) return arrayMethod;
if (typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.includes)) {
return stringMethod;
} return own;
};
/***/ }),
/***/ 37408:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(53332);
var ArrayPrototype = Array.prototype;
module.exports = function (it) {
var own = it.indexOf;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.indexOf) ? method : own;
};
/***/ }),
/***/ 98114:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(54070);
var ArrayPrototype = Array.prototype;
module.exports = function (it) {
var own = it.map;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.map) ? method : own;
};
/***/ }),
/***/ 65630:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(35114);
var ArrayPrototype = Array.prototype;
module.exports = function (it) {
var own = it.push;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.push) ? method : own;
};
/***/ }),
/***/ 27948:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(92080);
var ArrayPrototype = Array.prototype;
module.exports = function (it) {
var own = it.reduce;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.reduce) ? method : own;
};
/***/ }),
/***/ 66646:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(65298);
var ArrayPrototype = Array.prototype;
module.exports = function (it) {
var own = it.reverse;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.reverse) ? method : own;
};
/***/ }),
/***/ 24042:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(44694);
var ArrayPrototype = Array.prototype;
module.exports = function (it) {
var own = it.slice;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.slice) ? method : own;
};
/***/ }),
/***/ 34122:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(36534);
var ArrayPrototype = Array.prototype;
module.exports = function (it) {
var own = it.some;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.some) ? method : own;
};
/***/ }),
/***/ 83010:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(60438);
var ArrayPrototype = Array.prototype;
module.exports = function (it) {
var own = it.sort;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.sort) ? method : own;
};
/***/ }),
/***/ 13214:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(16130);
var ArrayPrototype = Array.prototype;
module.exports = function (it) {
var own = it.splice;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.splice) ? method : own;
};
/***/ }),
/***/ 65824:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(3046);
var StringPrototype = String.prototype;
module.exports = function (it) {
var own = it.startsWith;
return typeof it == 'string' || it === StringPrototype
|| (isPrototypeOf(StringPrototype, it) && own === StringPrototype.startsWith) ? method : own;
};
/***/ }),
/***/ 72842:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(49952);
var StringPrototype = String.prototype;
module.exports = function (it) {
var own = it.trim;
return typeof it == 'string' || it === StringPrototype
|| (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trim) ? method : own;
};
/***/ }),
/***/ 92352:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(60713);
__webpack_require__(89468);
var path = __webpack_require__(42753);
var apply = __webpack_require__(72007);
// eslint-disable-next-line es/no-json -- safe
if (!path.JSON) path.JSON = { stringify: JSON.stringify };
// eslint-disable-next-line no-unused-vars -- required for `.length`
module.exports = function stringify(it, replacer, space) {
return apply(path.JSON.stringify, null, arguments);
};
/***/ }),
/***/ 13711:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(96198);
__webpack_require__(28915);
__webpack_require__(31922);
__webpack_require__(24329);
__webpack_require__(94894);
var path = __webpack_require__(42753);
module.exports = path.Map;
/***/ }),
/***/ 25696:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(96732);
var path = __webpack_require__(42753);
module.exports = path.Number.isNaN;
/***/ }),
/***/ 24622:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(17658);
var path = __webpack_require__(42753);
module.exports = path.Number.parseFloat;
/***/ }),
/***/ 92395:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(29563);
var path = __webpack_require__(42753);
module.exports = path.Object.assign;
/***/ }),
/***/ 64110:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(1950);
var path = __webpack_require__(42753);
var Object = path.Object;
module.exports = function create(P, D) {
return Object.create(P, D);
};
/***/ }),
/***/ 54619:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(81931);
var path = __webpack_require__(42753);
var Object = path.Object;
var defineProperties = module.exports = function defineProperties(T, D) {
return Object.defineProperties(T, D);
};
if (Object.defineProperties.sham) defineProperties.sham = true;
/***/ }),
/***/ 57959:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(60535);
var path = __webpack_require__(42753);
var Object = path.Object;
var defineProperty = module.exports = function defineProperty(it, key, desc) {
return Object.defineProperty(it, key, desc);
};
if (Object.defineProperty.sham) defineProperty.sham = true;
/***/ }),
/***/ 35133:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(75533);
var path = __webpack_require__(42753);
module.exports = path.Object.freeze;
/***/ }),
/***/ 53253:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(57653);
var path = __webpack_require__(42753);
var Object = path.Object;
var getOwnPropertyDescriptor = module.exports = function getOwnPropertyDescriptor(it, key) {
return Object.getOwnPropertyDescriptor(it, key);
};
if (Object.getOwnPropertyDescriptor.sham) getOwnPropertyDescriptor.sham = true;
/***/ }),
/***/ 20848:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(80832);
var path = __webpack_require__(42753);
module.exports = path.Object.getOwnPropertyDescriptors;
/***/ }),
/***/ 3487:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(45293);
var path = __webpack_require__(42753);
module.exports = path.Object.getOwnPropertySymbols;
/***/ }),
/***/ 15353:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(24521);
var path = __webpack_require__(42753);
module.exports = path.Object.getPrototypeOf;
/***/ }),
/***/ 70782:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(14862);
var path = __webpack_require__(42753);
module.exports = path.Object.keys;
/***/ }),
/***/ 68741:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(97717);
var path = __webpack_require__(42753);
module.exports = path.Object.setPrototypeOf;
/***/ }),
/***/ 79992:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(79304);
var path = __webpack_require__(42753);
module.exports = path.Object.values;
/***/ }),
/***/ 3885:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(20650);
var path = __webpack_require__(42753);
module.exports = path.parseInt;
/***/ }),
/***/ 97528:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(95989);
__webpack_require__(96198);
__webpack_require__(24329);
__webpack_require__(25368);
__webpack_require__(30725);
__webpack_require__(55204);
__webpack_require__(40375);
__webpack_require__(29118);
__webpack_require__(10129);
__webpack_require__(94894);
var path = __webpack_require__(42753);
module.exports = path.Promise;
/***/ }),
/***/ 5757:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(85931);
var path = __webpack_require__(42753);
module.exports = path.Reflect.construct;
/***/ }),
/***/ 75960:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(51594);
var path = __webpack_require__(42753);
module.exports = path.Reflect.set;
/***/ }),
/***/ 52673:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(96198);
__webpack_require__(24329);
__webpack_require__(17405);
__webpack_require__(64316);
__webpack_require__(58250);
__webpack_require__(24307);
__webpack_require__(98842);
__webpack_require__(45049);
__webpack_require__(60206);
__webpack_require__(58176);
__webpack_require__(94894);
var path = __webpack_require__(42753);
module.exports = path.Set;
/***/ }),
/***/ 50787:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(7127);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('String', 'endsWith');
/***/ }),
/***/ 86681:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(11661);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('String', 'includes');
/***/ }),
/***/ 3046:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(67266);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('String', 'startsWith');
/***/ }),
/***/ 49952:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(46588);
var getBuiltInPrototypeMethod = __webpack_require__(82646);
module.exports = getBuiltInPrototypeMethod('String', 'trim');
/***/ }),
/***/ 73294:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(60478);
var WrappedWellKnownSymbolModule = __webpack_require__(54809);
module.exports = WrappedWellKnownSymbolModule.f('asyncIterator');
/***/ }),
/***/ 47856:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(45293);
var path = __webpack_require__(42753);
module.exports = path.Symbol['for'];
/***/ }),
/***/ 96295:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(68228);
__webpack_require__(24329);
__webpack_require__(45293);
__webpack_require__(60478);
__webpack_require__(18289);
__webpack_require__(8567);
__webpack_require__(51266);
__webpack_require__(55201);
__webpack_require__(41758);
__webpack_require__(42032);
__webpack_require__(80603);
__webpack_require__(27239);
__webpack_require__(49133);
__webpack_require__(11123);
__webpack_require__(7210);
__webpack_require__(13507);
__webpack_require__(9172);
__webpack_require__(68237);
__webpack_require__(51873);
__webpack_require__(89642);
var path = __webpack_require__(42753);
module.exports = path.Symbol;
/***/ }),
/***/ 96913:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(96198);
__webpack_require__(24329);
__webpack_require__(94894);
__webpack_require__(55201);
var WrappedWellKnownSymbolModule = __webpack_require__(54809);
module.exports = WrappedWellKnownSymbolModule.f('iterator');
/***/ }),
/***/ 70426:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(21486);
__webpack_require__(7210);
var WrappedWellKnownSymbolModule = __webpack_require__(54809);
module.exports = WrappedWellKnownSymbolModule.f('toPrimitive');
/***/ }),
/***/ 63752:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(96198);
__webpack_require__(24329);
__webpack_require__(65026);
var path = __webpack_require__(42753);
module.exports = path.WeakMap;
/***/ }),
/***/ 20676:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
module.exports = __webpack_require__(99878);
/***/ }),
/***/ 26507:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
module.exports = __webpack_require__(38465);
/***/ }),
/***/ 57898:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
module.exports = __webpack_require__(85980);
/***/ }),
/***/ 78905:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
module.exports = __webpack_require__(68311);
/***/ }),
/***/ 59799:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
module.exports = __webpack_require__(99405);
/***/ }),
/***/ 47131:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
module.exports = __webpack_require__(52369);
/***/ }),
/***/ 30937:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
module.exports = __webpack_require__(92427);
/***/ }),
/***/ 61666:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
module.exports = __webpack_require__(7708);
/***/ }),
/***/ 3322:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
module.exports = __webpack_require__(53396);
/***/ }),
/***/ 78574:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
module.exports = __webpack_require__(61800);
/***/ }),
/***/ 19239:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
module.exports = __webpack_require__(14761);
/***/ }),
/***/ 11566:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
module.exports = __webpack_require__(10164);
/***/ }),
/***/ 41262:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
module.exports = __webpack_require__(68832);
/***/ }),
/***/ 71277:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(8492);
module.exports = parent;
/***/ }),
/***/ 12377:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(25332);
module.exports = parent;
/***/ }),
/***/ 99878:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(41549);
module.exports = parent;
/***/ }),
/***/ 38465:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: remove from `core-js@4`
__webpack_require__(1278);
var parent = __webpack_require__(31342);
module.exports = parent;
/***/ }),
/***/ 2656:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(42695);
module.exports = parent;
/***/ }),
/***/ 85980:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(54679);
module.exports = parent;
/***/ }),
/***/ 68311:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(76728);
module.exports = parent;
/***/ }),
/***/ 99405:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(22504);
module.exports = parent;
/***/ }),
/***/ 52369:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(36836);
module.exports = parent;
/***/ }),
/***/ 92427:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(2380);
module.exports = parent;
/***/ }),
/***/ 12188:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(66821);
module.exports = parent;
/***/ }),
/***/ 7708:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(55677);
module.exports = parent;
/***/ }),
/***/ 33416:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(6463);
module.exports = parent;
/***/ }),
/***/ 53396:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(69583);
module.exports = parent;
/***/ }),
/***/ 61800:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(171);
module.exports = parent;
/***/ }),
/***/ 14761:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(48598);
// TODO: Remove from `core-js@4`
__webpack_require__(39956);
__webpack_require__(91692);
__webpack_require__(23473);
module.exports = parent;
/***/ }),
/***/ 10164:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(58873);
__webpack_require__(71108);
__webpack_require__(38094);
__webpack_require__(1678);
__webpack_require__(74055);
// TODO: Remove from `core-js@4`
__webpack_require__(88319);
__webpack_require__(3217);
__webpack_require__(67474);
__webpack_require__(28921);
__webpack_require__(94334);
__webpack_require__(85882);
module.exports = parent;
/***/ }),
/***/ 68832:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(47503);
module.exports = parent;
/***/ }),
/***/ 94187:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(38344);
module.exports = parent;
/***/ }),
/***/ 68044:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isCallable = __webpack_require__(39047);
var tryToString = __webpack_require__(48621);
var $TypeError = TypeError;
// `Assert: IsCallable(argument) is true`
module.exports = function (argument) {
if (isCallable(argument)) return argument;
throw new $TypeError(tryToString(argument) + ' is not a function');
};
/***/ }),
/***/ 61474:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isConstructor = __webpack_require__(61923);
var tryToString = __webpack_require__(48621);
var $TypeError = TypeError;
// `Assert: IsConstructor(argument) is true`
module.exports = function (argument) {
if (isConstructor(argument)) return argument;
throw new $TypeError(tryToString(argument) + ' is not a constructor');
};
/***/ }),
/***/ 56808:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPossiblePrototype = __webpack_require__(20403);
var $String = String;
var $TypeError = TypeError;
module.exports = function (argument) {
if (isPossiblePrototype(argument)) return argument;
throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
};
/***/ }),
/***/ 30274:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var tryToString = __webpack_require__(48621);
var $TypeError = TypeError;
// Perform ? RequireInternalSlot(M, [[SetData]])
module.exports = function (it) {
if (typeof it == 'object' && 'size' in it && 'has' in it && 'add' in it && 'delete' in it && 'keys' in it) return it;
throw new $TypeError(tryToString(it) + ' is not a set');
};
/***/ }),
/***/ 90571:
/***/ (function(module) {
"use strict";
module.exports = function () { /* empty */ };
/***/ }),
/***/ 11433:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(35443);
var $TypeError = TypeError;
module.exports = function (it, Prototype) {
if (isPrototypeOf(Prototype, it)) return it;
throw new $TypeError('Incorrect invocation');
};
/***/ }),
/***/ 75905:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isObject = __webpack_require__(22716);
var $String = String;
var $TypeError = TypeError;
// `Assert: Type(argument) is Object`
module.exports = function (argument) {
if (isObject(argument)) return argument;
throw new $TypeError($String(argument) + ' is not an object');
};
/***/ }),
/***/ 62242:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it
var fails = __webpack_require__(54397);
module.exports = fails(function () {
if (typeof ArrayBuffer == 'function') {
var buffer = new ArrayBuffer(8);
// eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe
if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });
}
});
/***/ }),
/***/ 36123:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toObject = __webpack_require__(24575);
var toAbsoluteIndex = __webpack_require__(40740);
var lengthOfArrayLike = __webpack_require__(65916);
// `Array.prototype.fill` method implementation
// https://tc39.es/ecma262/#sec-array.prototype.fill
module.exports = function fill(value /* , start = 0, end = @length */) {
var O = toObject(this);
var length = lengthOfArrayLike(O);
var argumentsLength = arguments.length;
var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);
var end = argumentsLength > 2 ? arguments[2] : undefined;
var endPos = end === undefined ? length : toAbsoluteIndex(end, length);
while (endPos > index) O[index++] = value;
return O;
};
/***/ }),
/***/ 44989:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $forEach = (__webpack_require__(72727).forEach);
var arrayMethodIsStrict = __webpack_require__(41660);
var STRICT_METHOD = arrayMethodIsStrict('forEach');
// `Array.prototype.forEach` method implementation
// https://tc39.es/ecma262/#sec-array.prototype.foreach
module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
} : [].forEach;
/***/ }),
/***/ 98346:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var bind = __webpack_require__(40158);
var call = __webpack_require__(8763);
var toObject = __webpack_require__(24575);
var callWithSafeIterationClosing = __webpack_require__(83625);
var isArrayIteratorMethod = __webpack_require__(70351);
var isConstructor = __webpack_require__(61923);
var lengthOfArrayLike = __webpack_require__(65916);
var createProperty = __webpack_require__(10554);
var getIterator = __webpack_require__(14867);
var getIteratorMethod = __webpack_require__(23005);
var $Array = Array;
// `Array.from` method implementation
// https://tc39.es/ecma262/#sec-array.from
module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
var O = toObject(arrayLike);
var IS_CONSTRUCTOR = isConstructor(this);
var argumentsLength = arguments.length;
var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
var mapping = mapfn !== undefined;
if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
var iteratorMethod = getIteratorMethod(O);
var index = 0;
var length, result, step, iterator, next, value;
// if the target is not iterable or it's an array with the default iterator - use a simple case
if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
result = IS_CONSTRUCTOR ? new this() : [];
iterator = getIterator(O, iteratorMethod);
next = iterator.next;
for (;!(step = call(next, iterator)).done; index++) {
value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
createProperty(result, index, value);
}
} else {
length = lengthOfArrayLike(O);
result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
for (;length > index; index++) {
value = mapping ? mapfn(O[index], index) : O[index];
createProperty(result, index, value);
}
}
result.length = index;
return result;
};
/***/ }),
/***/ 41927:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toIndexedObject = __webpack_require__(31091);
var toAbsoluteIndex = __webpack_require__(40740);
var lengthOfArrayLike = __webpack_require__(65916);
// `Array.prototype.{ indexOf, includes }` methods implementation
var createMethod = function (IS_INCLUDES) {
return function ($this, el, fromIndex) {
var O = toIndexedObject($this);
var length = lengthOfArrayLike(O);
if (length === 0) return !IS_INCLUDES && -1;
var index = toAbsoluteIndex(fromIndex, length);
var value;
// Array#includes uses SameValueZero equality algorithm
// eslint-disable-next-line no-self-compare -- NaN check
if (IS_INCLUDES && el !== el) while (length > index) {
value = O[index++];
// eslint-disable-next-line no-self-compare -- NaN check
if (value !== value) return true;
// Array#indexOf ignores holes, Array#includes - not
} else for (;length > index; index++) {
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
} return !IS_INCLUDES && -1;
};
};
module.exports = {
// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
includes: createMethod(true),
// `Array.prototype.indexOf` method
// https://tc39.es/ecma262/#sec-array.prototype.indexof
indexOf: createMethod(false)
};
/***/ }),
/***/ 72727:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var bind = __webpack_require__(40158);
var uncurryThis = __webpack_require__(44974);
var IndexedObject = __webpack_require__(59677);
var toObject = __webpack_require__(24575);
var lengthOfArrayLike = __webpack_require__(65916);
var arraySpeciesCreate = __webpack_require__(87051);
var push = uncurryThis([].push);
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
var createMethod = function (TYPE) {
var IS_MAP = TYPE === 1;
var IS_FILTER = TYPE === 2;
var IS_SOME = TYPE === 3;
var IS_EVERY = TYPE === 4;
var IS_FIND_INDEX = TYPE === 6;
var IS_FILTER_REJECT = TYPE === 7;
var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
return function ($this, callbackfn, that, specificCreate) {
var O = toObject($this);
var self = IndexedObject(O);
var length = lengthOfArrayLike(self);
var boundFunction = bind(callbackfn, that);
var index = 0;
var create = specificCreate || arraySpeciesCreate;
var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
var value, result;
for (;length > index; index++) if (NO_HOLES || index in self) {
value = self[index];
result = boundFunction(value, index, O);
if (TYPE) {
if (IS_MAP) target[index] = result; // map
else if (result) switch (TYPE) {
case 3: return true; // some
case 5: return value; // find
case 6: return index; // findIndex
case 2: push(target, value); // filter
} else switch (TYPE) {
case 4: return false; // every
case 7: push(target, value); // filterReject
}
}
}
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
};
};
module.exports = {
// `Array.prototype.forEach` method
// https://tc39.es/ecma262/#sec-array.prototype.foreach
forEach: createMethod(0),
// `Array.prototype.map` method
// https://tc39.es/ecma262/#sec-array.prototype.map
map: createMethod(1),
// `Array.prototype.filter` method
// https://tc39.es/ecma262/#sec-array.prototype.filter
filter: createMethod(2),
// `Array.prototype.some` method
// https://tc39.es/ecma262/#sec-array.prototype.some
some: createMethod(3),
// `Array.prototype.every` method
// https://tc39.es/ecma262/#sec-array.prototype.every
every: createMethod(4),
// `Array.prototype.find` method
// https://tc39.es/ecma262/#sec-array.prototype.find
find: createMethod(5),
// `Array.prototype.findIndex` method
// https://tc39.es/ecma262/#sec-array.prototype.findIndex
findIndex: createMethod(6),
// `Array.prototype.filterReject` method
// https://github.com/tc39/proposal-array-filtering
filterReject: createMethod(7)
};
/***/ }),
/***/ 28783:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(54397);
var wellKnownSymbol = __webpack_require__(7325);
var V8_VERSION = __webpack_require__(8089);
var SPECIES = wellKnownSymbol('species');
module.exports = function (METHOD_NAME) {
// We can't use this feature detection in V8 since it causes
// deoptimization and serious performance degradation
// https://github.com/zloirock/core-js/issues/677
return V8_VERSION >= 51 || !fails(function () {
var array = [];
var constructor = array.constructor = {};
constructor[SPECIES] = function () {
return { foo: 1 };
};
return array[METHOD_NAME](Boolean).foo !== 1;
});
};
/***/ }),
/***/ 41660:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(54397);
module.exports = function (METHOD_NAME, argument) {
var method = [][METHOD_NAME];
return !!method && fails(function () {
// eslint-disable-next-line no-useless-call -- required for testing
method.call(null, argument || function () { return 1; }, 1);
});
};
/***/ }),
/***/ 23832:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var aCallable = __webpack_require__(68044);
var toObject = __webpack_require__(24575);
var IndexedObject = __webpack_require__(59677);
var lengthOfArrayLike = __webpack_require__(65916);
var $TypeError = TypeError;
var REDUCE_EMPTY = 'Reduce of empty array with no initial value';
// `Array.prototype.{ reduce, reduceRight }` methods implementation
var createMethod = function (IS_RIGHT) {
return function (that, callbackfn, argumentsLength, memo) {
var O = toObject(that);
var self = IndexedObject(O);
var length = lengthOfArrayLike(O);
aCallable(callbackfn);
if (length === 0 && argumentsLength < 2) throw new $TypeError(REDUCE_EMPTY);
var index = IS_RIGHT ? length - 1 : 0;
var i = IS_RIGHT ? -1 : 1;
if (argumentsLength < 2) while (true) {
if (index in self) {
memo = self[index];
index += i;
break;
}
index += i;
if (IS_RIGHT ? index < 0 : length <= index) {
throw new $TypeError(REDUCE_EMPTY);
}
}
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
memo = callbackfn(memo, self[index], index, O);
}
return memo;
};
};
module.exports = {
// `Array.prototype.reduce` method
// https://tc39.es/ecma262/#sec-array.prototype.reduce
left: createMethod(false),
// `Array.prototype.reduceRight` method
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
right: createMethod(true)
};
/***/ }),
/***/ 52877:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(89106);
var isArray = __webpack_require__(82214);
var $TypeError = TypeError;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
// Safari < 13 does not throw an error in this case
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
// makes no sense without proper strict mode support
if (this !== undefined) return true;
try {
// eslint-disable-next-line es/no-object-defineproperty -- safe
Object.defineProperty([], 'length', { writable: false }).length = 1;
} catch (error) {
return error instanceof TypeError;
}
}();
module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
throw new $TypeError('Cannot set read only .length');
} return O.length = length;
} : function (O, length) {
return O.length = length;
};
/***/ }),
/***/ 5870:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
module.exports = uncurryThis([].slice);
/***/ }),
/***/ 9518:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var arraySlice = __webpack_require__(5870);
var floor = Math.floor;
var sort = function (array, comparefn) {
var length = array.length;
if (length < 8) {
// insertion sort
var i = 1;
var element, j;
while (i < length) {
j = i;
element = array[i];
while (j && comparefn(array[j - 1], element) > 0) {
array[j] = array[--j];
}
if (j !== i++) array[j] = element;
}
} else {
// merge sort
var middle = floor(length / 2);
var left = sort(arraySlice(array, 0, middle), comparefn);
var right = sort(arraySlice(array, middle), comparefn);
var llength = left.length;
var rlength = right.length;
var lindex = 0;
var rindex = 0;
while (lindex < llength || rindex < rlength) {
array[lindex + rindex] = (lindex < llength && rindex < rlength)
? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
: lindex < llength ? left[lindex++] : right[rindex++];
}
}
return array;
};
module.exports = sort;
/***/ }),
/***/ 65243:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isArray = __webpack_require__(82214);
var isConstructor = __webpack_require__(61923);
var isObject = __webpack_require__(22716);
var wellKnownSymbol = __webpack_require__(7325);
var SPECIES = wellKnownSymbol('species');
var $Array = Array;
// a part of `ArraySpeciesCreate` abstract operation
// https://tc39.es/ecma262/#sec-arrayspeciescreate
module.exports = function (originalArray) {
var C;
if (isArray(originalArray)) {
C = originalArray.constructor;
// cross-realm fallback
if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;
else if (isObject(C)) {
C = C[SPECIES];
if (C === null) C = undefined;
}
} return C === undefined ? $Array : C;
};
/***/ }),
/***/ 87051:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var arraySpeciesConstructor = __webpack_require__(65243);
// `ArraySpeciesCreate` abstract operation
// https://tc39.es/ecma262/#sec-arrayspeciescreate
module.exports = function (originalArray, length) {
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
};
/***/ }),
/***/ 83625:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var anObject = __webpack_require__(75905);
var iteratorClose = __webpack_require__(71341);
// call something on iterator step with safe closing on error
module.exports = function (iterator, fn, value, ENTRIES) {
try {
return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
} catch (error) {
iteratorClose(iterator, 'throw', error);
}
};
/***/ }),
/***/ 89909:
/***/ (function(module) {
"use strict";
module.exports = function (methodName, numArgs) {
return numArgs === 1 ? function (object, arg) {
return object[methodName](arg);
} : function (object, arg1, arg2) {
return object[methodName](arg1, arg2);
};
};
/***/ }),
/***/ 2942:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var wellKnownSymbol = __webpack_require__(7325);
var ITERATOR = wellKnownSymbol('iterator');
var SAFE_CLOSING = false;
try {
var called = 0;
var iteratorWithReturn = {
next: function () {
return { done: !!called++ };
},
'return': function () {
SAFE_CLOSING = true;
}
};
iteratorWithReturn[ITERATOR] = function () {
return this;
};
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
Array.from(iteratorWithReturn, function () { throw 2; });
} catch (error) { /* empty */ }
module.exports = function (exec, SKIP_CLOSING) {
try {
if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
} catch (error) { return false; } // workaround of old WebKit + `eval` bug
var ITERATION_SUPPORT = false;
try {
var object = {};
object[ITERATOR] = function () {
return {
next: function () {
return { done: ITERATION_SUPPORT = true };
}
};
};
exec(object);
} catch (error) { /* empty */ }
return ITERATION_SUPPORT;
};
/***/ }),
/***/ 68618:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
var toString = uncurryThis({}.toString);
var stringSlice = uncurryThis(''.slice);
module.exports = function (it) {
return stringSlice(toString(it), 8, -1);
};
/***/ }),
/***/ 18285:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var TO_STRING_TAG_SUPPORT = __webpack_require__(56910);
var isCallable = __webpack_require__(39047);
var classofRaw = __webpack_require__(68618);
var wellKnownSymbol = __webpack_require__(7325);
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var $Object = Object;
// ES3 wrong here
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
// fallback for IE11 Script Access Denied error
var tryGet = function (it, key) {
try {
return it[key];
} catch (error) { /* empty */ }
};
// getting tag from ES6+ `Object.prototype.toString`
module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
var O, tag, result;
return it === undefined ? 'Undefined' : it === null ? 'Null'
// @@toStringTag case
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
// builtinTag case
: CORRECT_ARGUMENTS ? classofRaw(O)
// ES3 arguments fallback
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
};
/***/ }),
/***/ 69328:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var create = __webpack_require__(11910);
var defineBuiltInAccessor = __webpack_require__(23428);
var defineBuiltIns = __webpack_require__(87277);
var bind = __webpack_require__(40158);
var anInstance = __webpack_require__(11433);
var isNullOrUndefined = __webpack_require__(65899);
var iterate = __webpack_require__(83878);
var defineIterator = __webpack_require__(74418);
var createIterResultObject = __webpack_require__(12715);
var setSpecies = __webpack_require__(81695);
var DESCRIPTORS = __webpack_require__(89106);
var fastKey = (__webpack_require__(92869).fastKey);
var InternalStateModule = __webpack_require__(67159);
var setInternalState = InternalStateModule.set;
var internalStateGetterFor = InternalStateModule.getterFor;
module.exports = {
getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
var Constructor = wrapper(function (that, iterable) {
anInstance(that, Prototype);
setInternalState(that, {
type: CONSTRUCTOR_NAME,
index: create(null),
first: null,
last: null,
size: 0
});
if (!DESCRIPTORS) that.size = 0;
if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
});
var Prototype = Constructor.prototype;
var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
var define = function (that, key, value) {
var state = getInternalState(that);
var entry = getEntry(that, key);
var previous, index;
// change existing entry
if (entry) {
entry.value = value;
// create new entry
} else {
state.last = entry = {
index: index = fastKey(key, true),
key: key,
value: value,
previous: previous = state.last,
next: null,
removed: false
};
if (!state.first) state.first = entry;
if (previous) previous.next = entry;
if (DESCRIPTORS) state.size++;
else that.size++;
// add to index
if (index !== 'F') state.index[index] = entry;
} return that;
};
var getEntry = function (that, key) {
var state = getInternalState(that);
// fast case
var index = fastKey(key);
var entry;
if (index !== 'F') return state.index[index];
// frozen object case
for (entry = state.first; entry; entry = entry.next) {
if (entry.key === key) return entry;
}
};
defineBuiltIns(Prototype, {
// `{ Map, Set }.prototype.clear()` methods
// https://tc39.es/ecma262/#sec-map.prototype.clear
// https://tc39.es/ecma262/#sec-set.prototype.clear
clear: function clear() {
var that = this;
var state = getInternalState(that);
var entry = state.first;
while (entry) {
entry.removed = true;
if (entry.previous) entry.previous = entry.previous.next = null;
entry = entry.next;
}
state.first = state.last = null;
state.index = create(null);
if (DESCRIPTORS) state.size = 0;
else that.size = 0;
},
// `{ Map, Set }.prototype.delete(key)` methods
// https://tc39.es/ecma262/#sec-map.prototype.delete
// https://tc39.es/ecma262/#sec-set.prototype.delete
'delete': function (key) {
var that = this;
var state = getInternalState(that);
var entry = getEntry(that, key);
if (entry) {
var next = entry.next;
var prev = entry.previous;
delete state.index[entry.index];
entry.removed = true;
if (prev) prev.next = next;
if (next) next.previous = prev;
if (state.first === entry) state.first = next;
if (state.last === entry) state.last = prev;
if (DESCRIPTORS) state.size--;
else that.size--;
} return !!entry;
},
// `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods
// https://tc39.es/ecma262/#sec-map.prototype.foreach
// https://tc39.es/ecma262/#sec-set.prototype.foreach
forEach: function forEach(callbackfn /* , that = undefined */) {
var state = getInternalState(this);
var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
var entry;
while (entry = entry ? entry.next : state.first) {
boundFunction(entry.value, entry.key, this);
// revert to the last existing entry
while (entry && entry.removed) entry = entry.previous;
}
},
// `{ Map, Set}.prototype.has(key)` methods
// https://tc39.es/ecma262/#sec-map.prototype.has
// https://tc39.es/ecma262/#sec-set.prototype.has
has: function has(key) {
return !!getEntry(this, key);
}
});
defineBuiltIns(Prototype, IS_MAP ? {
// `Map.prototype.get(key)` method
// https://tc39.es/ecma262/#sec-map.prototype.get
get: function get(key) {
var entry = getEntry(this, key);
return entry && entry.value;
},
// `Map.prototype.set(key, value)` method
// https://tc39.es/ecma262/#sec-map.prototype.set
set: function set(key, value) {
return define(this, key === 0 ? 0 : key, value);
}
} : {
// `Set.prototype.add(value)` method
// https://tc39.es/ecma262/#sec-set.prototype.add
add: function add(value) {
return define(this, value = value === 0 ? 0 : value, value);
}
});
if (DESCRIPTORS) defineBuiltInAccessor(Prototype, 'size', {
configurable: true,
get: function () {
return getInternalState(this).size;
}
});
return Constructor;
},
setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {
var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';
var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);
var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);
// `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods
// https://tc39.es/ecma262/#sec-map.prototype.entries
// https://tc39.es/ecma262/#sec-map.prototype.keys
// https://tc39.es/ecma262/#sec-map.prototype.values
// https://tc39.es/ecma262/#sec-map.prototype-@@iterator
// https://tc39.es/ecma262/#sec-set.prototype.entries
// https://tc39.es/ecma262/#sec-set.prototype.keys
// https://tc39.es/ecma262/#sec-set.prototype.values
// https://tc39.es/ecma262/#sec-set.prototype-@@iterator
defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {
setInternalState(this, {
type: ITERATOR_NAME,
target: iterated,
state: getInternalCollectionState(iterated),
kind: kind,
last: null
});
}, function () {
var state = getInternalIteratorState(this);
var kind = state.kind;
var entry = state.last;
// revert to the last existing entry
while (entry && entry.removed) entry = entry.previous;
// get next entry
if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {
// or finish the iteration
state.target = null;
return createIterResultObject(undefined, true);
}
// return step by kind
if (kind === 'keys') return createIterResultObject(entry.key, false);
if (kind === 'values') return createIterResultObject(entry.value, false);
return createIterResultObject([entry.key, entry.value], false);
}, IS_MAP ? 'entries' : 'values', !IS_MAP, true);
// `{ Map, Set }.prototype[@@species]` accessors
// https://tc39.es/ecma262/#sec-get-map-@@species
// https://tc39.es/ecma262/#sec-get-set-@@species
setSpecies(CONSTRUCTOR_NAME);
}
};
/***/ }),
/***/ 70339:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
var defineBuiltIns = __webpack_require__(87277);
var getWeakData = (__webpack_require__(92869).getWeakData);
var anInstance = __webpack_require__(11433);
var anObject = __webpack_require__(75905);
var isNullOrUndefined = __webpack_require__(65899);
var isObject = __webpack_require__(22716);
var iterate = __webpack_require__(83878);
var ArrayIterationModule = __webpack_require__(72727);
var hasOwn = __webpack_require__(64695);
var InternalStateModule = __webpack_require__(67159);
var setInternalState = InternalStateModule.set;
var internalStateGetterFor = InternalStateModule.getterFor;
var find = ArrayIterationModule.find;
var findIndex = ArrayIterationModule.findIndex;
var splice = uncurryThis([].splice);
var id = 0;
// fallback for uncaught frozen keys
var uncaughtFrozenStore = function (state) {
return state.frozen || (state.frozen = new UncaughtFrozenStore());
};
var UncaughtFrozenStore = function () {
this.entries = [];
};
var findUncaughtFrozen = function (store, key) {
return find(store.entries, function (it) {
return it[0] === key;
});
};
UncaughtFrozenStore.prototype = {
get: function (key) {
var entry = findUncaughtFrozen(this, key);
if (entry) return entry[1];
},
has: function (key) {
return !!findUncaughtFrozen(this, key);
},
set: function (key, value) {
var entry = findUncaughtFrozen(this, key);
if (entry) entry[1] = value;
else this.entries.push([key, value]);
},
'delete': function (key) {
var index = findIndex(this.entries, function (it) {
return it[0] === key;
});
if (~index) splice(this.entries, index, 1);
return !!~index;
}
};
module.exports = {
getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
var Constructor = wrapper(function (that, iterable) {
anInstance(that, Prototype);
setInternalState(that, {
type: CONSTRUCTOR_NAME,
id: id++,
frozen: null
});
if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
});
var Prototype = Constructor.prototype;
var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
var define = function (that, key, value) {
var state = getInternalState(that);
var data = getWeakData(anObject(key), true);
if (data === true) uncaughtFrozenStore(state).set(key, value);
else data[state.id] = value;
return that;
};
defineBuiltIns(Prototype, {
// `{ WeakMap, WeakSet }.prototype.delete(key)` methods
// https://tc39.es/ecma262/#sec-weakmap.prototype.delete
// https://tc39.es/ecma262/#sec-weakset.prototype.delete
'delete': function (key) {
var state = getInternalState(this);
if (!isObject(key)) return false;
var data = getWeakData(key);
if (data === true) return uncaughtFrozenStore(state)['delete'](key);
return data && hasOwn(data, state.id) && delete data[state.id];
},
// `{ WeakMap, WeakSet }.prototype.has(key)` methods
// https://tc39.es/ecma262/#sec-weakmap.prototype.has
// https://tc39.es/ecma262/#sec-weakset.prototype.has
has: function has(key) {
var state = getInternalState(this);
if (!isObject(key)) return false;
var data = getWeakData(key);
if (data === true) return uncaughtFrozenStore(state).has(key);
return data && hasOwn(data, state.id);
}
});
defineBuiltIns(Prototype, IS_MAP ? {
// `WeakMap.prototype.get(key)` method
// https://tc39.es/ecma262/#sec-weakmap.prototype.get
get: function get(key) {
var state = getInternalState(this);
if (isObject(key)) {
var data = getWeakData(key);
if (data === true) return uncaughtFrozenStore(state).get(key);
if (data) return data[state.id];
}
},
// `WeakMap.prototype.set(key, value)` method
// https://tc39.es/ecma262/#sec-weakmap.prototype.set
set: function set(key, value) {
return define(this, key, value);
}
} : {
// `WeakSet.prototype.add(value)` method
// https://tc39.es/ecma262/#sec-weakset.prototype.add
add: function add(value) {
return define(this, value, true);
}
});
return Constructor;
}
};
/***/ }),
/***/ 94314:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var globalThis = __webpack_require__(52382);
var InternalMetadataModule = __webpack_require__(92869);
var fails = __webpack_require__(54397);
var createNonEnumerableProperty = __webpack_require__(35313);
var iterate = __webpack_require__(83878);
var anInstance = __webpack_require__(11433);
var isCallable = __webpack_require__(39047);
var isObject = __webpack_require__(22716);
var isNullOrUndefined = __webpack_require__(65899);
var setToStringTag = __webpack_require__(6841);
var defineProperty = (__webpack_require__(36255).f);
var forEach = (__webpack_require__(72727).forEach);
var DESCRIPTORS = __webpack_require__(89106);
var InternalStateModule = __webpack_require__(67159);
var setInternalState = InternalStateModule.set;
var internalStateGetterFor = InternalStateModule.getterFor;
module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;
var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;
var ADDER = IS_MAP ? 'set' : 'add';
var NativeConstructor = globalThis[CONSTRUCTOR_NAME];
var NativePrototype = NativeConstructor && NativeConstructor.prototype;
var exported = {};
var Constructor;
if (!DESCRIPTORS || !isCallable(NativeConstructor)
|| !(IS_WEAK || NativePrototype.forEach && !fails(function () { new NativeConstructor().entries().next(); }))
) {
// create collection constructor
Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);
InternalMetadataModule.enable();
} else {
Constructor = wrapper(function (target, iterable) {
setInternalState(anInstance(target, Prototype), {
type: CONSTRUCTOR_NAME,
collection: new NativeConstructor()
});
if (!isNullOrUndefined(iterable)) iterate(iterable, target[ADDER], { that: target, AS_ENTRIES: IS_MAP });
});
var Prototype = Constructor.prototype;
var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
forEach(['add', 'clear', 'delete', 'forEach', 'get', 'has', 'set', 'keys', 'values', 'entries'], function (KEY) {
var IS_ADDER = KEY === 'add' || KEY === 'set';
if (KEY in NativePrototype && !(IS_WEAK && KEY === 'clear')) {
createNonEnumerableProperty(Prototype, KEY, function (a, b) {
var collection = getInternalState(this).collection;
if (!IS_ADDER && IS_WEAK && !isObject(a)) return KEY === 'get' ? undefined : false;
var result = collection[KEY](a === 0 ? 0 : a, b);
return IS_ADDER ? this : result;
});
}
});
IS_WEAK || defineProperty(Prototype, 'size', {
configurable: true,
get: function () {
return getInternalState(this).collection.size;
}
});
}
setToStringTag(Constructor, CONSTRUCTOR_NAME, false, true);
exported[CONSTRUCTOR_NAME] = Constructor;
$({ global: true, forced: true }, exported);
if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);
return Constructor;
};
/***/ }),
/***/ 68818:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var hasOwn = __webpack_require__(64695);
var ownKeys = __webpack_require__(78605);
var getOwnPropertyDescriptorModule = __webpack_require__(54077);
var definePropertyModule = __webpack_require__(36255);
module.exports = function (target, source, exceptions) {
var keys = ownKeys(source);
var defineProperty = definePropertyModule.f;
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
}
}
};
/***/ }),
/***/ 16926:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var wellKnownSymbol = __webpack_require__(7325);
var MATCH = wellKnownSymbol('match');
module.exports = function (METHOD_NAME) {
var regexp = /./;
try {
'/./'[METHOD_NAME](regexp);
} catch (error1) {
try {
regexp[MATCH] = false;
return '/./'[METHOD_NAME](regexp);
} catch (error2) { /* empty */ }
} return false;
};
/***/ }),
/***/ 89237:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(54397);
module.exports = !fails(function () {
function F() { /* empty */ }
F.prototype.constructor = null;
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
return Object.getPrototypeOf(new F()) !== F.prototype;
});
/***/ }),
/***/ 12715:
/***/ (function(module) {
"use strict";
// `CreateIterResultObject` abstract operation
// https://tc39.es/ecma262/#sec-createiterresultobject
module.exports = function (value, done) {
return { value: value, done: done };
};
/***/ }),
/***/ 35313:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(89106);
var definePropertyModule = __webpack_require__(36255);
var createPropertyDescriptor = __webpack_require__(44934);
module.exports = DESCRIPTORS ? function (object, key, value) {
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};
/***/ }),
/***/ 44934:
/***/ (function(module) {
"use strict";
module.exports = function (bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value: value
};
};
/***/ }),
/***/ 10554:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(89106);
var definePropertyModule = __webpack_require__(36255);
var createPropertyDescriptor = __webpack_require__(44934);
module.exports = function (object, key, value) {
if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
else object[key] = value;
};
/***/ }),
/***/ 53242:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
var fails = __webpack_require__(54397);
var padStart = (__webpack_require__(54399).start);
var $RangeError = RangeError;
var $isFinite = isFinite;
var abs = Math.abs;
var DatePrototype = Date.prototype;
var nativeDateToISOString = DatePrototype.toISOString;
var thisTimeValue = uncurryThis(DatePrototype.getTime);
var getUTCDate = uncurryThis(DatePrototype.getUTCDate);
var getUTCFullYear = uncurryThis(DatePrototype.getUTCFullYear);
var getUTCHours = uncurryThis(DatePrototype.getUTCHours);
var getUTCMilliseconds = uncurryThis(DatePrototype.getUTCMilliseconds);
var getUTCMinutes = uncurryThis(DatePrototype.getUTCMinutes);
var getUTCMonth = uncurryThis(DatePrototype.getUTCMonth);
var getUTCSeconds = uncurryThis(DatePrototype.getUTCSeconds);
// `Date.prototype.toISOString` method implementation
// https://tc39.es/ecma262/#sec-date.prototype.toisostring
// PhantomJS / old WebKit fails here:
module.exports = (fails(function () {
return nativeDateToISOString.call(new Date(-5e13 - 1)) !== '0385-07-25T07:06:39.999Z';
}) || !fails(function () {
nativeDateToISOString.call(new Date(NaN));
})) ? function toISOString() {
if (!$isFinite(thisTimeValue(this))) throw new $RangeError('Invalid time value');
var date = this;
var year = getUTCFullYear(date);
var milliseconds = getUTCMilliseconds(date);
var sign = year < 0 ? '-' : year > 9999 ? '+' : '';
return sign + padStart(abs(year), sign ? 6 : 4, 0) +
'-' + padStart(getUTCMonth(date) + 1, 2, 0) +
'-' + padStart(getUTCDate(date), 2, 0) +
'T' + padStart(getUTCHours(date), 2, 0) +
':' + padStart(getUTCMinutes(date), 2, 0) +
':' + padStart(getUTCSeconds(date), 2, 0) +
'.' + padStart(milliseconds, 3, 0) +
'Z';
} : nativeDateToISOString;
/***/ }),
/***/ 23428:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineProperty = __webpack_require__(36255);
module.exports = function (target, name, descriptor) {
return defineProperty.f(target, name, descriptor);
};
/***/ }),
/***/ 43558:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var createNonEnumerableProperty = __webpack_require__(35313);
module.exports = function (target, key, value, options) {
if (options && options.enumerable) target[key] = value;
else createNonEnumerableProperty(target, key, value);
return target;
};
/***/ }),
/***/ 87277:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineBuiltIn = __webpack_require__(43558);
module.exports = function (target, src, options) {
for (var key in src) {
if (options && options.unsafe && target[key]) target[key] = src[key];
else defineBuiltIn(target, key, src[key], options);
} return target;
};
/***/ }),
/***/ 25659:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
// eslint-disable-next-line es/no-object-defineproperty -- safe
var defineProperty = Object.defineProperty;
module.exports = function (key, value) {
try {
defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
} catch (error) {
globalThis[key] = value;
} return value;
};
/***/ }),
/***/ 72824:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var tryToString = __webpack_require__(48621);
var $TypeError = TypeError;
module.exports = function (O, P) {
if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));
};
/***/ }),
/***/ 89106:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(54397);
// Detect IE8's incomplete defineProperty implementation
module.exports = !fails(function () {
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
});
/***/ }),
/***/ 39509:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
var isObject = __webpack_require__(22716);
var document = globalThis.document;
// typeof document.createElement is 'object' in old IE
var EXISTS = isObject(document) && isObject(document.createElement);
module.exports = function (it) {
return EXISTS ? document.createElement(it) : {};
};
/***/ }),
/***/ 76967:
/***/ (function(module) {
"use strict";
var $TypeError = TypeError;
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
module.exports = function (it) {
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
return it;
};
/***/ }),
/***/ 58334:
/***/ (function(module) {
"use strict";
// iterable DOM collections
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
module.exports = {
CSSRuleList: 0,
CSSStyleDeclaration: 0,
CSSValueList: 0,
ClientRectList: 0,
DOMRectList: 0,
DOMStringList: 0,
DOMTokenList: 1,
DataTransferItemList: 0,
FileList: 0,
HTMLAllCollection: 0,
HTMLCollection: 0,
HTMLFormElement: 0,
HTMLSelectElement: 0,
MediaList: 0,
MimeTypeArray: 0,
NamedNodeMap: 0,
NodeList: 1,
PaintRequestList: 0,
Plugin: 0,
PluginArray: 0,
SVGLengthList: 0,
SVGNumberList: 0,
SVGPathSegList: 0,
SVGPointList: 0,
SVGStringList: 0,
SVGTransformList: 0,
SourceBufferList: 0,
StyleSheetList: 0,
TextTrackCueList: 0,
TextTrackList: 0,
TouchList: 0
};
/***/ }),
/***/ 21729:
/***/ (function(module) {
"use strict";
// IE8- don't enum bug keys
module.exports = [
'constructor',
'hasOwnProperty',
'isPrototypeOf',
'propertyIsEnumerable',
'toLocaleString',
'toString',
'valueOf'
];
/***/ }),
/***/ 6227:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var userAgent = __webpack_require__(94537);
var firefox = userAgent.match(/firefox\/(\d+)/i);
module.exports = !!firefox && +firefox[1];
/***/ }),
/***/ 80529:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var UA = __webpack_require__(94537);
module.exports = /MSIE|Trident/.test(UA);
/***/ }),
/***/ 37491:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var userAgent = __webpack_require__(94537);
module.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';
/***/ }),
/***/ 99582:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var userAgent = __webpack_require__(94537);
// eslint-disable-next-line redos/no-vulnerable -- safe
module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);
/***/ }),
/***/ 13219:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var ENVIRONMENT = __webpack_require__(15477);
module.exports = ENVIRONMENT === 'NODE';
/***/ }),
/***/ 46162:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var userAgent = __webpack_require__(94537);
module.exports = /web0s(?!.*chrome)/i.test(userAgent);
/***/ }),
/***/ 94537:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
var navigator = globalThis.navigator;
var userAgent = navigator && navigator.userAgent;
module.exports = userAgent ? String(userAgent) : '';
/***/ }),
/***/ 8089:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
var userAgent = __webpack_require__(94537);
var process = globalThis.process;
var Deno = globalThis.Deno;
var versions = process && process.versions || Deno && Deno.version;
var v8 = versions && versions.v8;
var match, version;
if (v8) {
match = v8.split('.');
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
// but their correct versions are not interesting for us
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
}
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
// so check `userAgent` even if `.v8` exists, but 0
if (!version && userAgent) {
match = userAgent.match(/Edge\/(\d+)/);
if (!match || match[1] >= 74) {
match = userAgent.match(/Chrome\/(\d+)/);
if (match) version = +match[1];
}
}
module.exports = version;
/***/ }),
/***/ 66665:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var userAgent = __webpack_require__(94537);
var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
module.exports = !!webkit && +webkit[1];
/***/ }),
/***/ 15477:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* global Bun, Deno -- detection */
var globalThis = __webpack_require__(52382);
var userAgent = __webpack_require__(94537);
var classof = __webpack_require__(68618);
var userAgentStartsWith = function (string) {
return userAgent.slice(0, string.length) === string;
};
module.exports = (function () {
if (userAgentStartsWith('Bun/')) return 'BUN';
if (userAgentStartsWith('Cloudflare-Workers')) return 'CLOUDFLARE';
if (userAgentStartsWith('Deno/')) return 'DENO';
if (userAgentStartsWith('Node.js/')) return 'NODE';
if (globalThis.Bun && typeof Bun.version == 'string') return 'BUN';
if (globalThis.Deno && typeof Deno.version == 'object') return 'DENO';
if (classof(globalThis.process) === 'process') return 'NODE';
if (globalThis.window && globalThis.document) return 'BROWSER';
return 'REST';
})();
/***/ }),
/***/ 60699:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
var $Error = Error;
var replace = uncurryThis(''.replace);
var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
module.exports = function (stack, dropEntries) {
if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
} return stack;
};
/***/ }),
/***/ 34093:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var createNonEnumerableProperty = __webpack_require__(35313);
var clearErrorStack = __webpack_require__(60699);
var ERROR_STACK_INSTALLABLE = __webpack_require__(62761);
// non-standard V8
var captureStackTrace = Error.captureStackTrace;
module.exports = function (error, C, stack, dropEntries) {
if (ERROR_STACK_INSTALLABLE) {
if (captureStackTrace) captureStackTrace(error, C);
else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));
}
};
/***/ }),
/***/ 62761:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(54397);
var createPropertyDescriptor = __webpack_require__(44934);
module.exports = !fails(function () {
var error = new Error('a');
if (!('stack' in error)) return true;
// eslint-disable-next-line es/no-object-defineproperty -- safe
Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
return error.stack !== 7;
});
/***/ }),
/***/ 57736:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
var apply = __webpack_require__(72007);
var uncurryThis = __webpack_require__(55830);
var isCallable = __webpack_require__(39047);
var getOwnPropertyDescriptor = (__webpack_require__(54077).f);
var isForced = __webpack_require__(75673);
var path = __webpack_require__(42753);
var bind = __webpack_require__(40158);
var createNonEnumerableProperty = __webpack_require__(35313);
var hasOwn = __webpack_require__(64695);
// add debugging info
__webpack_require__(28355);
var wrapConstructor = function (NativeConstructor) {
var Wrapper = function (a, b, c) {
if (this instanceof Wrapper) {
switch (arguments.length) {
case 0: return new NativeConstructor();
case 1: return new NativeConstructor(a);
case 2: return new NativeConstructor(a, b);
} return new NativeConstructor(a, b, c);
} return apply(NativeConstructor, this, arguments);
};
Wrapper.prototype = NativeConstructor.prototype;
return Wrapper;
};
/*
options.target - name of the target object
options.global - target is the global object
options.stat - export as static methods of target
options.proto - export as prototype methods of target
options.real - real prototype method for the `pure` version
options.forced - export even if the native feature is available
options.bind - bind methods to the target, required for the `pure` version
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
options.unsafe - use the simple assignment of property instead of delete + defineProperty
options.sham - add a flag to not completely full polyfills
options.enumerable - export as enumerable property
options.dontCallGetSet - prevent calling a getter on target
options.name - the .name of the function if it does not match the key
*/
module.exports = function (options, source) {
var TARGET = options.target;
var GLOBAL = options.global;
var STATIC = options.stat;
var PROTO = options.proto;
var nativeSource = GLOBAL ? globalThis : STATIC ? globalThis[TARGET] : globalThis[TARGET] && globalThis[TARGET].prototype;
var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];
var targetPrototype = target.prototype;
var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;
var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
for (key in source) {
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
// contains in native
USE_NATIVE = !FORCED && nativeSource && hasOwn(nativeSource, key);
targetProperty = target[key];
if (USE_NATIVE) if (options.dontCallGetSet) {
descriptor = getOwnPropertyDescriptor(nativeSource, key);
nativeProperty = descriptor && descriptor.value;
} else nativeProperty = nativeSource[key];
// export native or implementation
sourceProperty = (USE_NATIVE && nativeProperty) ? nativeProperty : source[key];
if (!FORCED && !PROTO && typeof targetProperty == typeof sourceProperty) continue;
// bind methods to global for calling from export context
if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, globalThis);
// wrap global constructors for prevent changes in this version
else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty);
// make static versions for prototype methods
else if (PROTO && isCallable(sourceProperty)) resultProperty = uncurryThis(sourceProperty);
// default case
else resultProperty = sourceProperty;
// add a flag to not completely full polyfills
if (options.sham || (sourceProperty && sourceProperty.sham) || (targetProperty && targetProperty.sham)) {
createNonEnumerableProperty(resultProperty, 'sham', true);
}
createNonEnumerableProperty(target, key, resultProperty);
if (PROTO) {
VIRTUAL_PROTOTYPE = TARGET + 'Prototype';
if (!hasOwn(path, VIRTUAL_PROTOTYPE)) {
createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {});
}
// export virtual prototype methods
createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty);
// export real prototype methods
if (options.real && targetPrototype && (FORCED || !targetPrototype[key])) {
createNonEnumerableProperty(targetPrototype, key, sourceProperty);
}
}
}
};
/***/ }),
/***/ 54397:
/***/ (function(module) {
"use strict";
module.exports = function (exec) {
try {
return !!exec();
} catch (error) {
return true;
}
};
/***/ }),
/***/ 69702:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(54397);
module.exports = !fails(function () {
// eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing
return Object.isExtensible(Object.preventExtensions({}));
});
/***/ }),
/***/ 72007:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var NATIVE_BIND = __webpack_require__(750);
var FunctionPrototype = Function.prototype;
var apply = FunctionPrototype.apply;
var call = FunctionPrototype.call;
// eslint-disable-next-line es/no-reflect -- safe
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
return call.apply(apply, arguments);
});
/***/ }),
/***/ 40158:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(55830);
var aCallable = __webpack_require__(68044);
var NATIVE_BIND = __webpack_require__(750);
var bind = uncurryThis(uncurryThis.bind);
// optional / simple context binding
module.exports = function (fn, that) {
aCallable(fn);
return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
return fn.apply(that, arguments);
};
};
/***/ }),
/***/ 750:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(54397);
module.exports = !fails(function () {
// eslint-disable-next-line es/no-function-prototype-bind -- safe
var test = (function () { /* empty */ }).bind();
// eslint-disable-next-line no-prototype-builtins -- safe
return typeof test != 'function' || test.hasOwnProperty('prototype');
});
/***/ }),
/***/ 10816:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
var aCallable = __webpack_require__(68044);
var isObject = __webpack_require__(22716);
var hasOwn = __webpack_require__(64695);
var arraySlice = __webpack_require__(5870);
var NATIVE_BIND = __webpack_require__(750);
var $Function = Function;
var concat = uncurryThis([].concat);
var join = uncurryThis([].join);
var factories = {};
var construct = function (C, argsLength, args) {
if (!hasOwn(factories, argsLength)) {
var list = [];
var i = 0;
for (; i < argsLength; i++) list[i] = 'a[' + i + ']';
factories[argsLength] = $Function('C,a', 'return new C(' + join(list, ',') + ')');
} return factories[argsLength](C, args);
};
// `Function.prototype.bind` method implementation
// https://tc39.es/ecma262/#sec-function.prototype.bind
// eslint-disable-next-line es/no-function-prototype-bind -- detection
module.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args */) {
var F = aCallable(this);
var Prototype = F.prototype;
var partArgs = arraySlice(arguments, 1);
var boundFunction = function bound(/* args... */) {
var args = concat(partArgs, arraySlice(arguments));
return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args);
};
if (isObject(Prototype)) boundFunction.prototype = Prototype;
return boundFunction;
};
/***/ }),
/***/ 8763:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var NATIVE_BIND = __webpack_require__(750);
var call = Function.prototype.call;
module.exports = NATIVE_BIND ? call.bind(call) : function () {
return call.apply(call, arguments);
};
/***/ }),
/***/ 51748:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(89106);
var hasOwn = __webpack_require__(64695);
var FunctionPrototype = Function.prototype;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
var EXISTS = hasOwn(FunctionPrototype, 'name');
// additional protection from minified / mangled / dropped function names
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
module.exports = {
EXISTS: EXISTS,
PROPER: PROPER,
CONFIGURABLE: CONFIGURABLE
};
/***/ }),
/***/ 78076:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
var aCallable = __webpack_require__(68044);
module.exports = function (object, key, method) {
try {
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
} catch (error) { /* empty */ }
};
/***/ }),
/***/ 55830:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var classofRaw = __webpack_require__(68618);
var uncurryThis = __webpack_require__(44974);
module.exports = function (fn) {
// Nashorn bug:
// https://github.com/zloirock/core-js/issues/1128
// https://github.com/zloirock/core-js/issues/1130
if (classofRaw(fn) === 'Function') return uncurryThis(fn);
};
/***/ }),
/***/ 44974:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var NATIVE_BIND = __webpack_require__(750);
var FunctionPrototype = Function.prototype;
var call = FunctionPrototype.call;
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
return function () {
return call.apply(fn, arguments);
};
};
/***/ }),
/***/ 82646:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
var path = __webpack_require__(42753);
module.exports = function (CONSTRUCTOR, METHOD) {
var Namespace = path[CONSTRUCTOR + 'Prototype'];
var pureMethod = Namespace && Namespace[METHOD];
if (pureMethod) return pureMethod;
var NativeConstructor = globalThis[CONSTRUCTOR];
var NativePrototype = NativeConstructor && NativeConstructor.prototype;
return NativePrototype && NativePrototype[METHOD];
};
/***/ }),
/***/ 29029:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var path = __webpack_require__(42753);
var globalThis = __webpack_require__(52382);
var isCallable = __webpack_require__(39047);
var aFunction = function (variable) {
return isCallable(variable) ? variable : undefined;
};
module.exports = function (namespace, method) {
return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(globalThis[namespace])
: path[namespace] && path[namespace][method] || globalThis[namespace] && globalThis[namespace][method];
};
/***/ }),
/***/ 58877:
/***/ (function(module) {
"use strict";
// `GetIteratorDirect(obj)` abstract operation
// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
module.exports = function (obj) {
return {
iterator: obj,
next: obj.next,
done: false
};
};
/***/ }),
/***/ 23005:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var classof = __webpack_require__(18285);
var getMethod = __webpack_require__(28888);
var isNullOrUndefined = __webpack_require__(65899);
var Iterators = __webpack_require__(11147);
var wellKnownSymbol = __webpack_require__(7325);
var ITERATOR = wellKnownSymbol('iterator');
module.exports = function (it) {
if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
|| getMethod(it, '@@iterator')
|| Iterators[classof(it)];
};
/***/ }),
/***/ 14867:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(8763);
var aCallable = __webpack_require__(68044);
var anObject = __webpack_require__(75905);
var tryToString = __webpack_require__(48621);
var getIteratorMethod = __webpack_require__(23005);
var $TypeError = TypeError;
module.exports = function (argument, usingIterator) {
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
throw new $TypeError(tryToString(argument) + ' is not iterable');
};
/***/ }),
/***/ 29315:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
var isArray = __webpack_require__(82214);
var isCallable = __webpack_require__(39047);
var classof = __webpack_require__(68618);
var toString = __webpack_require__(28873);
var push = uncurryThis([].push);
module.exports = function (replacer) {
if (isCallable(replacer)) return replacer;
if (!isArray(replacer)) return;
var rawLength = replacer.length;
var keys = [];
for (var i = 0; i < rawLength; i++) {
var element = replacer[i];
if (typeof element == 'string') push(keys, element);
else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));
}
var keysLength = keys.length;
var root = true;
return function (key, value) {
if (root) {
root = false;
return value;
}
if (isArray(this)) return value;
for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
};
};
/***/ }),
/***/ 28888:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var aCallable = __webpack_require__(68044);
var isNullOrUndefined = __webpack_require__(65899);
// `GetMethod` abstract operation
// https://tc39.es/ecma262/#sec-getmethod
module.exports = function (V, P) {
var func = V[P];
return isNullOrUndefined(func) ? undefined : aCallable(func);
};
/***/ }),
/***/ 77735:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var aCallable = __webpack_require__(68044);
var anObject = __webpack_require__(75905);
var call = __webpack_require__(8763);
var toIntegerOrInfinity = __webpack_require__(33793);
var getIteratorDirect = __webpack_require__(58877);
var INVALID_SIZE = 'Invalid size';
var $RangeError = RangeError;
var $TypeError = TypeError;
var max = Math.max;
var SetRecord = function (set, intSize) {
this.set = set;
this.size = max(intSize, 0);
this.has = aCallable(set.has);
this.keys = aCallable(set.keys);
};
SetRecord.prototype = {
getIterator: function () {
return getIteratorDirect(anObject(call(this.keys, this.set)));
},
includes: function (it) {
return call(this.has, this.set, it);
}
};
// `GetSetRecord` abstract operation
// https://tc39.es/proposal-set-methods/#sec-getsetrecord
module.exports = function (obj) {
anObject(obj);
var numSize = +obj.size;
// NOTE: If size is undefined, then numSize will be NaN
// eslint-disable-next-line no-self-compare -- NaN check
if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);
var intSize = toIntegerOrInfinity(numSize);
if (intSize < 0) throw new $RangeError(INVALID_SIZE);
return new SetRecord(obj, intSize);
};
/***/ }),
/***/ 52382:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var check = function (it) {
return it && it.Math === Math && it;
};
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
module.exports =
// eslint-disable-next-line es/no-global-this -- safe
check(typeof globalThis == 'object' && globalThis) ||
check(typeof window == 'object' && window) ||
// eslint-disable-next-line no-restricted-globals -- safe
check(typeof self == 'object' && self) ||
check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
check(typeof this == 'object' && this) ||
// eslint-disable-next-line no-new-func -- fallback
(function () { return this; })() || Function('return this')();
/***/ }),
/***/ 64695:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
var toObject = __webpack_require__(24575);
var hasOwnProperty = uncurryThis({}.hasOwnProperty);
// `HasOwnProperty` abstract operation
// https://tc39.es/ecma262/#sec-hasownproperty
// eslint-disable-next-line es/no-object-hasown -- safe
module.exports = Object.hasOwn || function hasOwn(it, key) {
return hasOwnProperty(toObject(it), key);
};
/***/ }),
/***/ 11703:
/***/ (function(module) {
"use strict";
module.exports = {};
/***/ }),
/***/ 83967:
/***/ (function(module) {
"use strict";
module.exports = function (a, b) {
try {
// eslint-disable-next-line no-console -- safe
arguments.length === 1 ? console.error(a) : console.error(a, b);
} catch (error) { /* empty */ }
};
/***/ }),
/***/ 49327:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var getBuiltIn = __webpack_require__(29029);
module.exports = getBuiltIn('document', 'documentElement');
/***/ }),
/***/ 12907:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(89106);
var fails = __webpack_require__(54397);
var createElement = __webpack_require__(39509);
// Thanks to IE8 for its funny defineProperty
module.exports = !DESCRIPTORS && !fails(function () {
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
return Object.defineProperty(createElement('div'), 'a', {
get: function () { return 7; }
}).a !== 7;
});
/***/ }),
/***/ 59677:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
var fails = __webpack_require__(54397);
var classof = __webpack_require__(68618);
var $Object = Object;
var split = uncurryThis(''.split);
// fallback for non-array-like ES3 and non-enumerable old V8 strings
module.exports = fails(function () {
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
// eslint-disable-next-line no-prototype-builtins -- safe
return !$Object('z').propertyIsEnumerable(0);
}) ? function (it) {
return classof(it) === 'String' ? split(it, '') : $Object(it);
} : $Object;
/***/ }),
/***/ 71912:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
var isCallable = __webpack_require__(39047);
var store = __webpack_require__(28355);
var functionToString = uncurryThis(Function.toString);
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
if (!isCallable(store.inspectSource)) {
store.inspectSource = function (it) {
return functionToString(it);
};
}
module.exports = store.inspectSource;
/***/ }),
/***/ 39366:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isObject = __webpack_require__(22716);
var createNonEnumerableProperty = __webpack_require__(35313);
// `InstallErrorCause` abstract operation
// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
module.exports = function (O, options) {
if (isObject(options) && 'cause' in options) {
createNonEnumerableProperty(O, 'cause', options.cause);
}
};
/***/ }),
/***/ 92869:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var uncurryThis = __webpack_require__(44974);
var hiddenKeys = __webpack_require__(11703);
var isObject = __webpack_require__(22716);
var hasOwn = __webpack_require__(64695);
var defineProperty = (__webpack_require__(36255).f);
var getOwnPropertyNamesModule = __webpack_require__(72882);
var getOwnPropertyNamesExternalModule = __webpack_require__(20952);
var isExtensible = __webpack_require__(30214);
var uid = __webpack_require__(48062);
var FREEZING = __webpack_require__(69702);
var REQUIRED = false;
var METADATA = uid('meta');
var id = 0;
var setMetadata = function (it) {
defineProperty(it, METADATA, { value: {
objectID: 'O' + id++, // object ID
weakData: {} // weak collections IDs
} });
};
var fastKey = function (it, create) {
// return a primitive with prefix
if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
if (!hasOwn(it, METADATA)) {
// can't set metadata to uncaught frozen object
if (!isExtensible(it)) return 'F';
// not necessary to add metadata
if (!create) return 'E';
// add missing metadata
setMetadata(it);
// return object ID
} return it[METADATA].objectID;
};
var getWeakData = function (it, create) {
if (!hasOwn(it, METADATA)) {
// can't set metadata to uncaught frozen object
if (!isExtensible(it)) return true;
// not necessary to add metadata
if (!create) return false;
// add missing metadata
setMetadata(it);
// return the store of weak collections IDs
} return it[METADATA].weakData;
};
// add metadata on freeze-family methods calling
var onFreeze = function (it) {
if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);
return it;
};
var enable = function () {
meta.enable = function () { /* empty */ };
REQUIRED = true;
var getOwnPropertyNames = getOwnPropertyNamesModule.f;
var splice = uncurryThis([].splice);
var test = {};
test[METADATA] = 1;
// prevent exposing of metadata key
if (getOwnPropertyNames(test).length) {
getOwnPropertyNamesModule.f = function (it) {
var result = getOwnPropertyNames(it);
for (var i = 0, length = result.length; i < length; i++) {
if (result[i] === METADATA) {
splice(result, i, 1);
break;
}
} return result;
};
$({ target: 'Object', stat: true, forced: true }, {
getOwnPropertyNames: getOwnPropertyNamesExternalModule.f
});
}
};
var meta = module.exports = {
enable: enable,
fastKey: fastKey,
getWeakData: getWeakData,
onFreeze: onFreeze
};
hiddenKeys[METADATA] = true;
/***/ }),
/***/ 67159:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var NATIVE_WEAK_MAP = __webpack_require__(26568);
var globalThis = __webpack_require__(52382);
var isObject = __webpack_require__(22716);
var createNonEnumerableProperty = __webpack_require__(35313);
var hasOwn = __webpack_require__(64695);
var shared = __webpack_require__(28355);
var sharedKey = __webpack_require__(31373);
var hiddenKeys = __webpack_require__(11703);
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
var TypeError = globalThis.TypeError;
var WeakMap = globalThis.WeakMap;
var set, get, has;
var enforce = function (it) {
return has(it) ? get(it) : set(it, {});
};
var getterFor = function (TYPE) {
return function (it) {
var state;
if (!isObject(it) || (state = get(it)).type !== TYPE) {
throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
} return state;
};
};
if (NATIVE_WEAK_MAP || shared.state) {
var store = shared.state || (shared.state = new WeakMap());
/* eslint-disable no-self-assign -- prototype methods protection */
store.get = store.get;
store.has = store.has;
store.set = store.set;
/* eslint-enable no-self-assign -- prototype methods protection */
set = function (it, metadata) {
if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
metadata.facade = it;
store.set(it, metadata);
return metadata;
};
get = function (it) {
return store.get(it) || {};
};
has = function (it) {
return store.has(it);
};
} else {
var STATE = sharedKey('state');
hiddenKeys[STATE] = true;
set = function (it, metadata) {
if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
metadata.facade = it;
createNonEnumerableProperty(it, STATE, metadata);
return metadata;
};
get = function (it) {
return hasOwn(it, STATE) ? it[STATE] : {};
};
has = function (it) {
return hasOwn(it, STATE);
};
}
module.exports = {
set: set,
get: get,
has: has,
enforce: enforce,
getterFor: getterFor
};
/***/ }),
/***/ 70351:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var wellKnownSymbol = __webpack_require__(7325);
var Iterators = __webpack_require__(11147);
var ITERATOR = wellKnownSymbol('iterator');
var ArrayPrototype = Array.prototype;
// check on default Array iterator
module.exports = function (it) {
return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
};
/***/ }),
/***/ 82214:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var classof = __webpack_require__(68618);
// `IsArray` abstract operation
// https://tc39.es/ecma262/#sec-isarray
// eslint-disable-next-line es/no-array-isarray -- safe
module.exports = Array.isArray || function isArray(argument) {
return classof(argument) === 'Array';
};
/***/ }),
/***/ 39047:
/***/ (function(module) {
"use strict";
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
var documentAll = typeof document == 'object' && document.all;
// `IsCallable` abstract operation
// https://tc39.es/ecma262/#sec-iscallable
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
return typeof argument == 'function' || argument === documentAll;
} : function (argument) {
return typeof argument == 'function';
};
/***/ }),
/***/ 61923:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
var fails = __webpack_require__(54397);
var isCallable = __webpack_require__(39047);
var classof = __webpack_require__(18285);
var getBuiltIn = __webpack_require__(29029);
var inspectSource = __webpack_require__(71912);
var noop = function () { /* empty */ };
var construct = getBuiltIn('Reflect', 'construct');
var constructorRegExp = /^\s*(?:class|function)\b/;
var exec = uncurryThis(constructorRegExp.exec);
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
var isConstructorModern = function isConstructor(argument) {
if (!isCallable(argument)) return false;
try {
construct(noop, [], argument);
return true;
} catch (error) {
return false;
}
};
var isConstructorLegacy = function isConstructor(argument) {
if (!isCallable(argument)) return false;
switch (classof(argument)) {
case 'AsyncFunction':
case 'GeneratorFunction':
case 'AsyncGeneratorFunction': return false;
}
try {
// we can't check .prototype since constructors produced by .bind haven't it
// `Function#toString` throws on some built-it function in some legacy engines
// (for example, `DOMQuad` and similar in FF41-)
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
} catch (error) {
return true;
}
};
isConstructorLegacy.sham = true;
// `IsConstructor` abstract operation
// https://tc39.es/ecma262/#sec-isconstructor
module.exports = !construct || fails(function () {
var called;
return isConstructorModern(isConstructorModern.call)
|| !isConstructorModern(Object)
|| !isConstructorModern(function () { called = true; })
|| called;
}) ? isConstructorLegacy : isConstructorModern;
/***/ }),
/***/ 66153:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var hasOwn = __webpack_require__(64695);
module.exports = function (descriptor) {
return descriptor !== undefined && (hasOwn(descriptor, 'value') || hasOwn(descriptor, 'writable'));
};
/***/ }),
/***/ 75673:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(54397);
var isCallable = __webpack_require__(39047);
var replacement = /#|\.prototype\./;
var isForced = function (feature, detection) {
var value = data[normalize(feature)];
return value === POLYFILL ? true
: value === NATIVE ? false
: isCallable(detection) ? fails(detection)
: !!detection;
};
var normalize = isForced.normalize = function (string) {
return String(string).replace(replacement, '.').toLowerCase();
};
var data = isForced.data = {};
var NATIVE = isForced.NATIVE = 'N';
var POLYFILL = isForced.POLYFILL = 'P';
module.exports = isForced;
/***/ }),
/***/ 65899:
/***/ (function(module) {
"use strict";
// we can't use just `it == null` since of `document.all` special case
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
module.exports = function (it) {
return it === null || it === undefined;
};
/***/ }),
/***/ 22716:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isCallable = __webpack_require__(39047);
module.exports = function (it) {
return typeof it == 'object' ? it !== null : isCallable(it);
};
/***/ }),
/***/ 20403:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isObject = __webpack_require__(22716);
module.exports = function (argument) {
return isObject(argument) || argument === null;
};
/***/ }),
/***/ 24689:
/***/ (function(module) {
"use strict";
module.exports = true;
/***/ }),
/***/ 26582:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isObject = __webpack_require__(22716);
var classof = __webpack_require__(68618);
var wellKnownSymbol = __webpack_require__(7325);
var MATCH = wellKnownSymbol('match');
// `IsRegExp` abstract operation
// https://tc39.es/ecma262/#sec-isregexp
module.exports = function (it) {
var isRegExp;
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
};
/***/ }),
/***/ 87107:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var getBuiltIn = __webpack_require__(29029);
var isCallable = __webpack_require__(39047);
var isPrototypeOf = __webpack_require__(35443);
var USE_SYMBOL_AS_UID = __webpack_require__(5586);
var $Object = Object;
module.exports = USE_SYMBOL_AS_UID ? function (it) {
return typeof it == 'symbol';
} : function (it) {
var $Symbol = getBuiltIn('Symbol');
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
};
/***/ }),
/***/ 72445:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(8763);
module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
var next = record.next;
var step, result;
while (!(step = call(next, iterator)).done) {
result = fn(step.value);
if (result !== undefined) return result;
}
};
/***/ }),
/***/ 83878:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var bind = __webpack_require__(40158);
var call = __webpack_require__(8763);
var anObject = __webpack_require__(75905);
var tryToString = __webpack_require__(48621);
var isArrayIteratorMethod = __webpack_require__(70351);
var lengthOfArrayLike = __webpack_require__(65916);
var isPrototypeOf = __webpack_require__(35443);
var getIterator = __webpack_require__(14867);
var getIteratorMethod = __webpack_require__(23005);
var iteratorClose = __webpack_require__(71341);
var $TypeError = TypeError;
var Result = function (stopped, result) {
this.stopped = stopped;
this.result = result;
};
var ResultPrototype = Result.prototype;
module.exports = function (iterable, unboundFunction, options) {
var that = options && options.that;
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
var IS_RECORD = !!(options && options.IS_RECORD);
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
var INTERRUPTED = !!(options && options.INTERRUPTED);
var fn = bind(unboundFunction, that);
var iterator, iterFn, index, length, result, next, step;
var stop = function (condition) {
if (iterator) iteratorClose(iterator, 'normal', condition);
return new Result(true, condition);
};
var callFn = function (value) {
if (AS_ENTRIES) {
anObject(value);
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
} return INTERRUPTED ? fn(value, stop) : fn(value);
};
if (IS_RECORD) {
iterator = iterable.iterator;
} else if (IS_ITERATOR) {
iterator = iterable;
} else {
iterFn = getIteratorMethod(iterable);
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
// optimisation for array iterators
if (isArrayIteratorMethod(iterFn)) {
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
result = callFn(iterable[index]);
if (result && isPrototypeOf(ResultPrototype, result)) return result;
} return new Result(false);
}
iterator = getIterator(iterable, iterFn);
}
next = IS_RECORD ? iterable.next : iterator.next;
while (!(step = call(next, iterator)).done) {
try {
result = callFn(step.value);
} catch (error) {
iteratorClose(iterator, 'throw', error);
}
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
} return new Result(false);
};
/***/ }),
/***/ 71341:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(8763);
var anObject = __webpack_require__(75905);
var getMethod = __webpack_require__(28888);
module.exports = function (iterator, kind, value) {
var innerResult, innerError;
anObject(iterator);
try {
innerResult = getMethod(iterator, 'return');
if (!innerResult) {
if (kind === 'throw') throw value;
return value;
}
innerResult = call(innerResult, iterator);
} catch (error) {
innerError = true;
innerResult = error;
}
if (kind === 'throw') throw value;
if (innerError) throw innerResult;
anObject(innerResult);
return value;
};
/***/ }),
/***/ 63692:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var IteratorPrototype = (__webpack_require__(17263).IteratorPrototype);
var create = __webpack_require__(11910);
var createPropertyDescriptor = __webpack_require__(44934);
var setToStringTag = __webpack_require__(6841);
var Iterators = __webpack_require__(11147);
var returnThis = function () { return this; };
module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
var TO_STRING_TAG = NAME + ' Iterator';
IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
Iterators[TO_STRING_TAG] = returnThis;
return IteratorConstructor;
};
/***/ }),
/***/ 74418:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var call = __webpack_require__(8763);
var IS_PURE = __webpack_require__(24689);
var FunctionName = __webpack_require__(51748);
var isCallable = __webpack_require__(39047);
var createIteratorConstructor = __webpack_require__(63692);
var getPrototypeOf = __webpack_require__(27409);
var setPrototypeOf = __webpack_require__(74461);
var setToStringTag = __webpack_require__(6841);
var createNonEnumerableProperty = __webpack_require__(35313);
var defineBuiltIn = __webpack_require__(43558);
var wellKnownSymbol = __webpack_require__(7325);
var Iterators = __webpack_require__(11147);
var IteratorsCore = __webpack_require__(17263);
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
var IteratorPrototype = IteratorsCore.IteratorPrototype;
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
var ITERATOR = wellKnownSymbol('iterator');
var KEYS = 'keys';
var VALUES = 'values';
var ENTRIES = 'entries';
var returnThis = function () { return this; };
module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
createIteratorConstructor(IteratorConstructor, NAME, next);
var getIterationMethod = function (KIND) {
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
switch (KIND) {
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
}
return function () { return new IteratorConstructor(this); };
};
var TO_STRING_TAG = NAME + ' Iterator';
var INCORRECT_VALUES_NAME = false;
var IterablePrototype = Iterable.prototype;
var nativeIterator = IterablePrototype[ITERATOR]
|| IterablePrototype['@@iterator']
|| DEFAULT && IterablePrototype[DEFAULT];
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
var CurrentIteratorPrototype, methods, KEY;
// fix native
if (anyNativeIterator) {
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
if (setPrototypeOf) {
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {
defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);
}
}
// Set @@toStringTag to native iterators
setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;
}
}
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {
createNonEnumerableProperty(IterablePrototype, 'name', VALUES);
} else {
INCORRECT_VALUES_NAME = true;
defaultIterator = function values() { return call(nativeIterator, this); };
}
}
// export additional methods
if (DEFAULT) {
methods = {
values: getIterationMethod(VALUES),
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
entries: getIterationMethod(ENTRIES)
};
if (FORCED) for (KEY in methods) {
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
}
} else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
}
// define iterator
if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });
}
Iterators[NAME] = defaultIterator;
return methods;
};
/***/ }),
/***/ 17263:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(54397);
var isCallable = __webpack_require__(39047);
var isObject = __webpack_require__(22716);
var create = __webpack_require__(11910);
var getPrototypeOf = __webpack_require__(27409);
var defineBuiltIn = __webpack_require__(43558);
var wellKnownSymbol = __webpack_require__(7325);
var IS_PURE = __webpack_require__(24689);
var ITERATOR = wellKnownSymbol('iterator');
var BUGGY_SAFARI_ITERATORS = false;
// `%IteratorPrototype%` object
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
/* eslint-disable es/no-array-prototype-keys -- safe */
if ([].keys) {
arrayIterator = [].keys();
// Safari 8 has buggy iterators w/o `next`
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
else {
PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
}
}
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
var test = {};
// FF44- legacy iterators case
return IteratorPrototype[ITERATOR].call(test) !== test;
});
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
// `%IteratorPrototype%[@@iterator]()` method
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
if (!isCallable(IteratorPrototype[ITERATOR])) {
defineBuiltIn(IteratorPrototype, ITERATOR, function () {
return this;
});
}
module.exports = {
IteratorPrototype: IteratorPrototype,
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
};
/***/ }),
/***/ 11147:
/***/ (function(module) {
"use strict";
module.exports = {};
/***/ }),
/***/ 65916:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toLength = __webpack_require__(36424);
// `LengthOfArrayLike` abstract operation
// https://tc39.es/ecma262/#sec-lengthofarraylike
module.exports = function (obj) {
return toLength(obj.length);
};
/***/ }),
/***/ 30406:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var getBuiltIn = __webpack_require__(29029);
var caller = __webpack_require__(89909);
var Map = getBuiltIn('Map');
module.exports = {
Map: Map,
set: caller('set', 2),
get: caller('get', 1),
has: caller('has', 1),
remove: caller('delete', 1),
proto: Map.prototype
};
/***/ }),
/***/ 29731:
/***/ (function(module) {
"use strict";
var ceil = Math.ceil;
var floor = Math.floor;
// `Math.trunc` method
// https://tc39.es/ecma262/#sec-math.trunc
// eslint-disable-next-line es/no-math-trunc -- safe
module.exports = Math.trunc || function trunc(x) {
var n = +x;
return (n > 0 ? floor : ceil)(n);
};
/***/ }),
/***/ 30213:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
var safeGetBuiltIn = __webpack_require__(92399);
var bind = __webpack_require__(40158);
var macrotask = (__webpack_require__(44899).set);
var Queue = __webpack_require__(99447);
var IS_IOS = __webpack_require__(99582);
var IS_IOS_PEBBLE = __webpack_require__(37491);
var IS_WEBOS_WEBKIT = __webpack_require__(46162);
var IS_NODE = __webpack_require__(13219);
var MutationObserver = globalThis.MutationObserver || globalThis.WebKitMutationObserver;
var document = globalThis.document;
var process = globalThis.process;
var Promise = globalThis.Promise;
var microtask = safeGetBuiltIn('queueMicrotask');
var notify, toggle, node, promise, then;
// modern engines have queueMicrotask method
if (!microtask) {
var queue = new Queue();
var flush = function () {
var parent, fn;
if (IS_NODE && (parent = process.domain)) parent.exit();
while (fn = queue.get()) try {
fn();
} catch (error) {
if (queue.head) notify();
throw error;
}
if (parent) parent.enter();
};
// browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
// also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {
toggle = true;
node = document.createTextNode('');
new MutationObserver(flush).observe(node, { characterData: true });
notify = function () {
node.data = toggle = !toggle;
};
// environments with maybe non-completely correct, but existent Promise
} else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {
// Promise.resolve without an argument throws an error in LG WebOS 2
promise = Promise.resolve(undefined);
// workaround of WebKit ~ iOS Safari 10.1 bug
promise.constructor = Promise;
then = bind(promise.then, promise);
notify = function () {
then(flush);
};
// Node.js without promises
} else if (IS_NODE) {
notify = function () {
process.nextTick(flush);
};
// for other environments - macrotask based on:
// - setImmediate
// - MessageChannel
// - window.postMessage
// - onreadystatechange
// - setTimeout
} else {
// `webpack` dev server bug on IE global methods - use bind(fn, global)
macrotask = bind(macrotask, globalThis);
notify = function () {
macrotask(flush);
};
}
microtask = function (fn) {
if (!queue.head) notify();
queue.add(fn);
};
}
module.exports = microtask;
/***/ }),
/***/ 61105:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var aCallable = __webpack_require__(68044);
var $TypeError = TypeError;
var PromiseCapability = function (C) {
var resolve, reject;
this.promise = new C(function ($$resolve, $$reject) {
if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor');
resolve = $$resolve;
reject = $$reject;
});
this.resolve = aCallable(resolve);
this.reject = aCallable(reject);
};
// `NewPromiseCapability` abstract operation
// https://tc39.es/ecma262/#sec-newpromisecapability
module.exports.f = function (C) {
return new PromiseCapability(C);
};
/***/ }),
/***/ 75893:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toString = __webpack_require__(28873);
module.exports = function (argument, $default) {
return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
};
/***/ }),
/***/ 10697:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isRegExp = __webpack_require__(26582);
var $TypeError = TypeError;
module.exports = function (it) {
if (isRegExp(it)) {
throw new $TypeError("The method doesn't accept regular expressions");
} return it;
};
/***/ }),
/***/ 92022:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
var fails = __webpack_require__(54397);
var uncurryThis = __webpack_require__(44974);
var toString = __webpack_require__(28873);
var trim = (__webpack_require__(21140).trim);
var whitespaces = __webpack_require__(44818);
var charAt = uncurryThis(''.charAt);
var $parseFloat = globalThis.parseFloat;
var Symbol = globalThis.Symbol;
var ITERATOR = Symbol && Symbol.iterator;
var FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity
// MS Edge 18- broken with boxed symbols
|| (ITERATOR && !fails(function () { $parseFloat(Object(ITERATOR)); }));
// `parseFloat` method
// https://tc39.es/ecma262/#sec-parsefloat-string
module.exports = FORCED ? function parseFloat(string) {
var trimmedString = trim(toString(string));
var result = $parseFloat(trimmedString);
return result === 0 && charAt(trimmedString, 0) === '-' ? -0 : result;
} : $parseFloat;
/***/ }),
/***/ 21961:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
var fails = __webpack_require__(54397);
var uncurryThis = __webpack_require__(44974);
var toString = __webpack_require__(28873);
var trim = (__webpack_require__(21140).trim);
var whitespaces = __webpack_require__(44818);
var $parseInt = globalThis.parseInt;
var Symbol = globalThis.Symbol;
var ITERATOR = Symbol && Symbol.iterator;
var hex = /^[+-]?0x/i;
var exec = uncurryThis(hex.exec);
var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22
// MS Edge 18- broken with boxed symbols
|| (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));
// `parseInt` method
// https://tc39.es/ecma262/#sec-parseint-string-radix
module.exports = FORCED ? function parseInt(string, radix) {
var S = trim(toString(string));
return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
} : $parseInt;
/***/ }),
/***/ 69283:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(89106);
var uncurryThis = __webpack_require__(44974);
var call = __webpack_require__(8763);
var fails = __webpack_require__(54397);
var objectKeys = __webpack_require__(53366);
var getOwnPropertySymbolsModule = __webpack_require__(70119);
var propertyIsEnumerableModule = __webpack_require__(71439);
var toObject = __webpack_require__(24575);
var IndexedObject = __webpack_require__(59677);
// eslint-disable-next-line es/no-object-assign -- safe
var $assign = Object.assign;
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
var defineProperty = Object.defineProperty;
var concat = uncurryThis([].concat);
// `Object.assign` method
// https://tc39.es/ecma262/#sec-object.assign
module.exports = !$assign || fails(function () {
// should have correct order of operations (Edge bug)
if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
enumerable: true,
get: function () {
defineProperty(this, 'b', {
value: 3,
enumerable: false
});
}
}), { b: 2 })).b !== 1) return true;
// should work with symbols and should have deterministic property order (V8 bug)
var A = {};
var B = {};
// eslint-disable-next-line es/no-symbol -- safe
var symbol = Symbol('assign detection');
var alphabet = 'abcdefghijklmnopqrst';
A[symbol] = 7;
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
var T = toObject(target);
var argumentsLength = arguments.length;
var index = 1;
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
var propertyIsEnumerable = propertyIsEnumerableModule.f;
while (argumentsLength > index) {
var S = IndexedObject(arguments[index++]);
var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
var length = keys.length;
var j = 0;
var key;
while (length > j) {
key = keys[j++];
if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
}
} return T;
} : $assign;
/***/ }),
/***/ 11910:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* global ActiveXObject -- old IE, WSH */
var anObject = __webpack_require__(75905);
var definePropertiesModule = __webpack_require__(59795);
var enumBugKeys = __webpack_require__(21729);
var hiddenKeys = __webpack_require__(11703);
var html = __webpack_require__(49327);
var documentCreateElement = __webpack_require__(39509);
var sharedKey = __webpack_require__(31373);
var GT = '>';
var LT = '<';
var PROTOTYPE = 'prototype';
var SCRIPT = 'script';
var IE_PROTO = sharedKey('IE_PROTO');
var EmptyConstructor = function () { /* empty */ };
var scriptTag = function (content) {
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
};
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
var NullProtoObjectViaActiveX = function (activeXDocument) {
activeXDocument.write(scriptTag(''));
activeXDocument.close();
var temp = activeXDocument.parentWindow.Object;
// eslint-disable-next-line no-useless-assignment -- avoid memory leak
activeXDocument = null;
return temp;
};
// Create object with fake `null` prototype: use iframe Object with cleared prototype
var NullProtoObjectViaIFrame = function () {
// Thrash, waste and sodomy: IE GC bug
var iframe = documentCreateElement('iframe');
var JS = 'java' + SCRIPT + ':';
var iframeDocument;
iframe.style.display = 'none';
html.appendChild(iframe);
// https://github.com/zloirock/core-js/issues/475
iframe.src = String(JS);
iframeDocument = iframe.contentWindow.document;
iframeDocument.open();
iframeDocument.write(scriptTag('document.F=Object'));
iframeDocument.close();
return iframeDocument.F;
};
// Check for document.domain and active x support
// No need to use active x approach when document.domain is not set
// see https://github.com/es-shims/es5-shim/issues/150
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
// avoid IE GC bug
var activeXDocument;
var NullProtoObject = function () {
try {
activeXDocument = new ActiveXObject('htmlfile');
} catch (error) { /* ignore */ }
NullProtoObject = typeof document != 'undefined'
? document.domain && activeXDocument
? NullProtoObjectViaActiveX(activeXDocument) // old IE
: NullProtoObjectViaIFrame()
: NullProtoObjectViaActiveX(activeXDocument); // WSH
var length = enumBugKeys.length;
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
return NullProtoObject();
};
hiddenKeys[IE_PROTO] = true;
// `Object.create` method
// https://tc39.es/ecma262/#sec-object.create
// eslint-disable-next-line es/no-object-create -- safe
module.exports = Object.create || function create(O, Properties) {
var result;
if (O !== null) {
EmptyConstructor[PROTOTYPE] = anObject(O);
result = new EmptyConstructor();
EmptyConstructor[PROTOTYPE] = null;
// add "__proto__" for Object.getPrototypeOf polyfill
result[IE_PROTO] = O;
} else result = NullProtoObject();
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
};
/***/ }),
/***/ 59795:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(89106);
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(38572);
var definePropertyModule = __webpack_require__(36255);
var anObject = __webpack_require__(75905);
var toIndexedObject = __webpack_require__(31091);
var objectKeys = __webpack_require__(53366);
// `Object.defineProperties` method
// https://tc39.es/ecma262/#sec-object.defineproperties
// eslint-disable-next-line es/no-object-defineproperties -- safe
exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
anObject(O);
var props = toIndexedObject(Properties);
var keys = objectKeys(Properties);
var length = keys.length;
var index = 0;
var key;
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
return O;
};
/***/ }),
/***/ 36255:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(89106);
var IE8_DOM_DEFINE = __webpack_require__(12907);
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(38572);
var anObject = __webpack_require__(75905);
var toPropertyKey = __webpack_require__(94907);
var $TypeError = TypeError;
// eslint-disable-next-line es/no-object-defineproperty -- safe
var $defineProperty = Object.defineProperty;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
var ENUMERABLE = 'enumerable';
var CONFIGURABLE = 'configurable';
var WRITABLE = 'writable';
// `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
anObject(O);
P = toPropertyKey(P);
anObject(Attributes);
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
var current = $getOwnPropertyDescriptor(O, P);
if (current && current[WRITABLE]) {
O[P] = Attributes.value;
Attributes = {
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
writable: false
};
}
} return $defineProperty(O, P, Attributes);
} : $defineProperty : function defineProperty(O, P, Attributes) {
anObject(O);
P = toPropertyKey(P);
anObject(Attributes);
if (IE8_DOM_DEFINE) try {
return $defineProperty(O, P, Attributes);
} catch (error) { /* empty */ }
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
if ('value' in Attributes) O[P] = Attributes.value;
return O;
};
/***/ }),
/***/ 54077:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(89106);
var call = __webpack_require__(8763);
var propertyIsEnumerableModule = __webpack_require__(71439);
var createPropertyDescriptor = __webpack_require__(44934);
var toIndexedObject = __webpack_require__(31091);
var toPropertyKey = __webpack_require__(94907);
var hasOwn = __webpack_require__(64695);
var IE8_DOM_DEFINE = __webpack_require__(12907);
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
// `Object.getOwnPropertyDescriptor` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
O = toIndexedObject(O);
P = toPropertyKey(P);
if (IE8_DOM_DEFINE) try {
return $getOwnPropertyDescriptor(O, P);
} catch (error) { /* empty */ }
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
};
/***/ }),
/***/ 20952:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* eslint-disable es/no-object-getownpropertynames -- safe */
var classof = __webpack_require__(68618);
var toIndexedObject = __webpack_require__(31091);
var $getOwnPropertyNames = (__webpack_require__(72882).f);
var arraySlice = __webpack_require__(5870);
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
? Object.getOwnPropertyNames(window) : [];
var getWindowNames = function (it) {
try {
return $getOwnPropertyNames(it);
} catch (error) {
return arraySlice(windowNames);
}
};
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
module.exports.f = function getOwnPropertyNames(it) {
return windowNames && classof(it) === 'Window'
? getWindowNames(it)
: $getOwnPropertyNames(toIndexedObject(it));
};
/***/ }),
/***/ 72882:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
"use strict";
var internalObjectKeys = __webpack_require__(66186);
var enumBugKeys = __webpack_require__(21729);
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
// `Object.getOwnPropertyNames` method
// https://tc39.es/ecma262/#sec-object.getownpropertynames
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
return internalObjectKeys(O, hiddenKeys);
};
/***/ }),
/***/ 70119:
/***/ (function(__unused_webpack_module, exports) {
"use strict";
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
exports.f = Object.getOwnPropertySymbols;
/***/ }),
/***/ 27409:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var hasOwn = __webpack_require__(64695);
var isCallable = __webpack_require__(39047);
var toObject = __webpack_require__(24575);
var sharedKey = __webpack_require__(31373);
var CORRECT_PROTOTYPE_GETTER = __webpack_require__(89237);
var IE_PROTO = sharedKey('IE_PROTO');
var $Object = Object;
var ObjectPrototype = $Object.prototype;
// `Object.getPrototypeOf` method
// https://tc39.es/ecma262/#sec-object.getprototypeof
// eslint-disable-next-line es/no-object-getprototypeof -- safe
module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
var object = toObject(O);
if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
var constructor = object.constructor;
if (isCallable(constructor) && object instanceof constructor) {
return constructor.prototype;
} return object instanceof $Object ? ObjectPrototype : null;
};
/***/ }),
/***/ 30214:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(54397);
var isObject = __webpack_require__(22716);
var classof = __webpack_require__(68618);
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(62242);
// eslint-disable-next-line es/no-object-isextensible -- safe
var $isExtensible = Object.isExtensible;
var FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });
// `Object.isExtensible` method
// https://tc39.es/ecma262/#sec-object.isextensible
module.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {
if (!isObject(it)) return false;
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return false;
return $isExtensible ? $isExtensible(it) : true;
} : $isExtensible;
/***/ }),
/***/ 35443:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
module.exports = uncurryThis({}.isPrototypeOf);
/***/ }),
/***/ 66186:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
var hasOwn = __webpack_require__(64695);
var toIndexedObject = __webpack_require__(31091);
var indexOf = (__webpack_require__(41927).indexOf);
var hiddenKeys = __webpack_require__(11703);
var push = uncurryThis([].push);
module.exports = function (object, names) {
var O = toIndexedObject(object);
var i = 0;
var result = [];
var key;
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
// Don't enum bug & hidden keys
while (names.length > i) if (hasOwn(O, key = names[i++])) {
~indexOf(result, key) || push(result, key);
}
return result;
};
/***/ }),
/***/ 53366:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var internalObjectKeys = __webpack_require__(66186);
var enumBugKeys = __webpack_require__(21729);
// `Object.keys` method
// https://tc39.es/ecma262/#sec-object.keys
// eslint-disable-next-line es/no-object-keys -- safe
module.exports = Object.keys || function keys(O) {
return internalObjectKeys(O, enumBugKeys);
};
/***/ }),
/***/ 71439:
/***/ (function(__unused_webpack_module, exports) {
"use strict";
var $propertyIsEnumerable = {}.propertyIsEnumerable;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
// Nashorn ~ JDK8 bug
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
// `Object.prototype.propertyIsEnumerable` method implementation
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
var descriptor = getOwnPropertyDescriptor(this, V);
return !!descriptor && descriptor.enumerable;
} : $propertyIsEnumerable;
/***/ }),
/***/ 74461:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* eslint-disable no-proto -- safe */
var uncurryThisAccessor = __webpack_require__(78076);
var isObject = __webpack_require__(22716);
var requireObjectCoercible = __webpack_require__(26876);
var aPossiblePrototype = __webpack_require__(56808);
// `Object.setPrototypeOf` method
// https://tc39.es/ecma262/#sec-object.setprototypeof
// Works with __proto__ only. Old v8 can't work with null proto objects.
// eslint-disable-next-line es/no-object-setprototypeof -- safe
module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
var CORRECT_SETTER = false;
var test = {};
var setter;
try {
setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
setter(test, []);
CORRECT_SETTER = test instanceof Array;
} catch (error) { /* empty */ }
return function setPrototypeOf(O, proto) {
requireObjectCoercible(O);
aPossiblePrototype(proto);
if (!isObject(O)) return O;
if (CORRECT_SETTER) setter(O, proto);
else O.__proto__ = proto;
return O;
};
}() : undefined);
/***/ }),
/***/ 19127:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(89106);
var fails = __webpack_require__(54397);
var uncurryThis = __webpack_require__(44974);
var objectGetPrototypeOf = __webpack_require__(27409);
var objectKeys = __webpack_require__(53366);
var toIndexedObject = __webpack_require__(31091);
var $propertyIsEnumerable = (__webpack_require__(71439).f);
var propertyIsEnumerable = uncurryThis($propertyIsEnumerable);
var push = uncurryThis([].push);
// in some IE versions, `propertyIsEnumerable` returns incorrect result on integer keys
// of `null` prototype objects
var IE_BUG = DESCRIPTORS && fails(function () {
// eslint-disable-next-line es/no-object-create -- safe
var O = Object.create(null);
O[2] = 2;
return !propertyIsEnumerable(O, 2);
});
// `Object.{ entries, values }` methods implementation
var createMethod = function (TO_ENTRIES) {
return function (it) {
var O = toIndexedObject(it);
var keys = objectKeys(O);
var IE_WORKAROUND = IE_BUG && objectGetPrototypeOf(O) === null;
var length = keys.length;
var i = 0;
var result = [];
var key;
while (length > i) {
key = keys[i++];
if (!DESCRIPTORS || (IE_WORKAROUND ? key in O : propertyIsEnumerable(O, key))) {
push(result, TO_ENTRIES ? [key, O[key]] : O[key]);
}
}
return result;
};
};
module.exports = {
// `Object.entries` method
// https://tc39.es/ecma262/#sec-object.entries
entries: createMethod(true),
// `Object.values` method
// https://tc39.es/ecma262/#sec-object.values
values: createMethod(false)
};
/***/ }),
/***/ 51169:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var TO_STRING_TAG_SUPPORT = __webpack_require__(56910);
var classof = __webpack_require__(18285);
// `Object.prototype.toString` method implementation
// https://tc39.es/ecma262/#sec-object.prototype.tostring
module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
return '[object ' + classof(this) + ']';
};
/***/ }),
/***/ 78264:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(8763);
var isCallable = __webpack_require__(39047);
var isObject = __webpack_require__(22716);
var $TypeError = TypeError;
// `OrdinaryToPrimitive` abstract operation
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
module.exports = function (input, pref) {
var fn, val;
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
throw new $TypeError("Can't convert object to primitive value");
};
/***/ }),
/***/ 78605:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var getBuiltIn = __webpack_require__(29029);
var uncurryThis = __webpack_require__(44974);
var getOwnPropertyNamesModule = __webpack_require__(72882);
var getOwnPropertySymbolsModule = __webpack_require__(70119);
var anObject = __webpack_require__(75905);
var concat = uncurryThis([].concat);
// all object keys, includes non-enumerable and symbols
module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
var keys = getOwnPropertyNamesModule.f(anObject(it));
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
};
/***/ }),
/***/ 42753:
/***/ (function(module) {
"use strict";
module.exports = {};
/***/ }),
/***/ 47029:
/***/ (function(module) {
"use strict";
module.exports = function (exec) {
try {
return { error: false, value: exec() };
} catch (error) {
return { error: true, value: error };
}
};
/***/ }),
/***/ 59090:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
var NativePromiseConstructor = __webpack_require__(59140);
var isCallable = __webpack_require__(39047);
var isForced = __webpack_require__(75673);
var inspectSource = __webpack_require__(71912);
var wellKnownSymbol = __webpack_require__(7325);
var ENVIRONMENT = __webpack_require__(15477);
var IS_PURE = __webpack_require__(24689);
var V8_VERSION = __webpack_require__(8089);
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
var SPECIES = wellKnownSymbol('species');
var SUBCLASSING = false;
var NATIVE_PROMISE_REJECTION_EVENT = isCallable(globalThis.PromiseRejectionEvent);
var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);
var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);
// V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
// https://bugs.chromium.org/p/chromium/issues/detail?id=830565
// We can't detect it synchronously, so just check versions
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
// We need Promise#{ catch, finally } in the pure version for preventing prototype pollution
if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;
// We can't use @@species feature detection in V8 since it causes
// deoptimization and performance degradation
// https://github.com/zloirock/core-js/issues/679
if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
// Detect correctness of subclassing with @@species support
var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });
var FakePromise = function (exec) {
exec(function () { /* empty */ }, function () { /* empty */ });
};
var constructor = promise.constructor = {};
constructor[SPECIES] = FakePromise;
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
if (!SUBCLASSING) return true;
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
} return !GLOBAL_CORE_JS_PROMISE && (ENVIRONMENT === 'BROWSER' || ENVIRONMENT === 'DENO') && !NATIVE_PROMISE_REJECTION_EVENT;
});
module.exports = {
CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,
REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,
SUBCLASSING: SUBCLASSING
};
/***/ }),
/***/ 59140:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
module.exports = globalThis.Promise;
/***/ }),
/***/ 83624:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var anObject = __webpack_require__(75905);
var isObject = __webpack_require__(22716);
var newPromiseCapability = __webpack_require__(61105);
module.exports = function (C, x) {
anObject(C);
if (isObject(x) && x.constructor === C) return x;
var promiseCapability = newPromiseCapability.f(C);
var resolve = promiseCapability.resolve;
resolve(x);
return promiseCapability.promise;
};
/***/ }),
/***/ 98379:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var NativePromiseConstructor = __webpack_require__(59140);
var checkCorrectnessOfIteration = __webpack_require__(2942);
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(59090).CONSTRUCTOR);
module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {
NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });
});
/***/ }),
/***/ 99447:
/***/ (function(module) {
"use strict";
var Queue = function () {
this.head = null;
this.tail = null;
};
Queue.prototype = {
add: function (item) {
var entry = { item: item, next: null };
var tail = this.tail;
if (tail) tail.next = entry;
else this.head = entry;
this.tail = entry;
},
get: function () {
var entry = this.head;
if (entry) {
var next = this.head = entry.next;
if (next === null) this.tail = null;
return entry.item;
}
}
};
module.exports = Queue;
/***/ }),
/***/ 26876:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isNullOrUndefined = __webpack_require__(65899);
var $TypeError = TypeError;
// `RequireObjectCoercible` abstract operation
// https://tc39.es/ecma262/#sec-requireobjectcoercible
module.exports = function (it) {
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
return it;
};
/***/ }),
/***/ 92399:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
var DESCRIPTORS = __webpack_require__(89106);
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
// Avoid NodeJS experimental warning
module.exports = function (name) {
if (!DESCRIPTORS) return globalThis[name];
var descriptor = getOwnPropertyDescriptor(globalThis, name);
return descriptor && descriptor.value;
};
/***/ }),
/***/ 67718:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
var apply = __webpack_require__(72007);
var isCallable = __webpack_require__(39047);
var ENVIRONMENT = __webpack_require__(15477);
var USER_AGENT = __webpack_require__(94537);
var arraySlice = __webpack_require__(5870);
var validateArgumentsLength = __webpack_require__(91494);
var Function = globalThis.Function;
// dirty IE9- and Bun 0.3.0- checks
var WRAP = /MSIE .\./.test(USER_AGENT) || ENVIRONMENT === 'BUN' && (function () {
var version = globalThis.Bun.version.split('.');
return version.length < 3 || version[0] === '0' && (version[1] < 3 || version[1] === '3' && version[2] === '0');
})();
// IE9- / Bun 0.3.0- setTimeout / setInterval / setImmediate additional parameters fix
// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
// https://github.com/oven-sh/bun/issues/1633
module.exports = function (scheduler, hasTimeArg) {
var firstParamIndex = hasTimeArg ? 2 : 1;
return WRAP ? function (handler, timeout /* , ...arguments */) {
var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex;
var fn = isCallable(handler) ? handler : Function(handler);
var params = boundArgs ? arraySlice(arguments, firstParamIndex) : [];
var callback = boundArgs ? function () {
apply(fn, this, params);
} : fn;
return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback);
} : scheduler;
};
/***/ }),
/***/ 33140:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var SetHelpers = __webpack_require__(22644);
var iterate = __webpack_require__(93507);
var Set = SetHelpers.Set;
var add = SetHelpers.add;
module.exports = function (set) {
var result = new Set();
iterate(set, function (it) {
add(result, it);
});
return result;
};
/***/ }),
/***/ 12242:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var aSet = __webpack_require__(30274);
var SetHelpers = __webpack_require__(22644);
var clone = __webpack_require__(33140);
var size = __webpack_require__(65728);
var getSetRecord = __webpack_require__(77735);
var iterateSet = __webpack_require__(93507);
var iterateSimple = __webpack_require__(72445);
var has = SetHelpers.has;
var remove = SetHelpers.remove;
// `Set.prototype.difference` method
// https://github.com/tc39/proposal-set-methods
module.exports = function difference(other) {
var O = aSet(this);
var otherRec = getSetRecord(other);
var result = clone(O);
if (size(O) <= otherRec.size) iterateSet(O, function (e) {
if (otherRec.includes(e)) remove(result, e);
});
else iterateSimple(otherRec.getIterator(), function (e) {
if (has(O, e)) remove(result, e);
});
return result;
};
/***/ }),
/***/ 22644:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var getBuiltIn = __webpack_require__(29029);
var caller = __webpack_require__(89909);
var Set = getBuiltIn('Set');
var SetPrototype = Set.prototype;
module.exports = {
Set: Set,
add: caller('add', 1),
has: caller('has', 1),
remove: caller('delete', 1),
proto: SetPrototype
};
/***/ }),
/***/ 6220:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var aSet = __webpack_require__(30274);
var SetHelpers = __webpack_require__(22644);
var size = __webpack_require__(65728);
var getSetRecord = __webpack_require__(77735);
var iterateSet = __webpack_require__(93507);
var iterateSimple = __webpack_require__(72445);
var Set = SetHelpers.Set;
var add = SetHelpers.add;
var has = SetHelpers.has;
// `Set.prototype.intersection` method
// https://github.com/tc39/proposal-set-methods
module.exports = function intersection(other) {
var O = aSet(this);
var otherRec = getSetRecord(other);
var result = new Set();
if (size(O) > otherRec.size) {
iterateSimple(otherRec.getIterator(), function (e) {
if (has(O, e)) add(result, e);
});
} else {
iterateSet(O, function (e) {
if (otherRec.includes(e)) add(result, e);
});
}
return result;
};
/***/ }),
/***/ 55319:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var aSet = __webpack_require__(30274);
var has = (__webpack_require__(22644).has);
var size = __webpack_require__(65728);
var getSetRecord = __webpack_require__(77735);
var iterateSet = __webpack_require__(93507);
var iterateSimple = __webpack_require__(72445);
var iteratorClose = __webpack_require__(71341);
// `Set.prototype.isDisjointFrom` method
// https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom
module.exports = function isDisjointFrom(other) {
var O = aSet(this);
var otherRec = getSetRecord(other);
if (size(O) <= otherRec.size) return iterateSet(O, function (e) {
if (otherRec.includes(e)) return false;
}, true) !== false;
var iterator = otherRec.getIterator();
return iterateSimple(iterator, function (e) {
if (has(O, e)) return iteratorClose(iterator, 'normal', false);
}) !== false;
};
/***/ }),
/***/ 86108:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var aSet = __webpack_require__(30274);
var size = __webpack_require__(65728);
var iterate = __webpack_require__(93507);
var getSetRecord = __webpack_require__(77735);
// `Set.prototype.isSubsetOf` method
// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf
module.exports = function isSubsetOf(other) {
var O = aSet(this);
var otherRec = getSetRecord(other);
if (size(O) > otherRec.size) return false;
return iterate(O, function (e) {
if (!otherRec.includes(e)) return false;
}, true) !== false;
};
/***/ }),
/***/ 15341:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var aSet = __webpack_require__(30274);
var has = (__webpack_require__(22644).has);
var size = __webpack_require__(65728);
var getSetRecord = __webpack_require__(77735);
var iterateSimple = __webpack_require__(72445);
var iteratorClose = __webpack_require__(71341);
// `Set.prototype.isSupersetOf` method
// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf
module.exports = function isSupersetOf(other) {
var O = aSet(this);
var otherRec = getSetRecord(other);
if (size(O) < otherRec.size) return false;
var iterator = otherRec.getIterator();
return iterateSimple(iterator, function (e) {
if (!has(O, e)) return iteratorClose(iterator, 'normal', false);
}) !== false;
};
/***/ }),
/***/ 93507:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var iterateSimple = __webpack_require__(72445);
module.exports = function (set, fn, interruptible) {
return interruptible ? iterateSimple(set.keys(), fn, true) : set.forEach(fn);
};
/***/ }),
/***/ 53582:
/***/ (function(module) {
"use strict";
module.exports = function () {
return false;
};
/***/ }),
/***/ 65728:
/***/ (function(module) {
"use strict";
module.exports = function (set) {
return set.size;
};
/***/ }),
/***/ 81695:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var getBuiltIn = __webpack_require__(29029);
var defineBuiltInAccessor = __webpack_require__(23428);
var wellKnownSymbol = __webpack_require__(7325);
var DESCRIPTORS = __webpack_require__(89106);
var SPECIES = wellKnownSymbol('species');
module.exports = function (CONSTRUCTOR_NAME) {
var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {
defineBuiltInAccessor(Constructor, SPECIES, {
configurable: true,
get: function () { return this; }
});
}
};
/***/ }),
/***/ 20464:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var aSet = __webpack_require__(30274);
var SetHelpers = __webpack_require__(22644);
var clone = __webpack_require__(33140);
var getSetRecord = __webpack_require__(77735);
var iterateSimple = __webpack_require__(72445);
var add = SetHelpers.add;
var has = SetHelpers.has;
var remove = SetHelpers.remove;
// `Set.prototype.symmetricDifference` method
// https://github.com/tc39/proposal-set-methods
module.exports = function symmetricDifference(other) {
var O = aSet(this);
var keysIter = getSetRecord(other).getIterator();
var result = clone(O);
iterateSimple(keysIter, function (e) {
if (has(O, e)) remove(result, e);
else add(result, e);
});
return result;
};
/***/ }),
/***/ 6841:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var TO_STRING_TAG_SUPPORT = __webpack_require__(56910);
var defineProperty = (__webpack_require__(36255).f);
var createNonEnumerableProperty = __webpack_require__(35313);
var hasOwn = __webpack_require__(64695);
var toString = __webpack_require__(51169);
var wellKnownSymbol = __webpack_require__(7325);
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
module.exports = function (it, TAG, STATIC, SET_METHOD) {
var target = STATIC ? it : it && it.prototype;
if (target) {
if (!hasOwn(target, TO_STRING_TAG)) {
defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
}
if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {
createNonEnumerableProperty(target, 'toString', toString);
}
}
};
/***/ }),
/***/ 46314:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var aSet = __webpack_require__(30274);
var add = (__webpack_require__(22644).add);
var clone = __webpack_require__(33140);
var getSetRecord = __webpack_require__(77735);
var iterateSimple = __webpack_require__(72445);
// `Set.prototype.union` method
// https://github.com/tc39/proposal-set-methods
module.exports = function union(other) {
var O = aSet(this);
var keysIter = getSetRecord(other).getIterator();
var result = clone(O);
iterateSimple(keysIter, function (it) {
add(result, it);
});
return result;
};
/***/ }),
/***/ 31373:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var shared = __webpack_require__(69779);
var uid = __webpack_require__(48062);
var keys = shared('keys');
module.exports = function (key) {
return keys[key] || (keys[key] = uid(key));
};
/***/ }),
/***/ 28355:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var IS_PURE = __webpack_require__(24689);
var globalThis = __webpack_require__(52382);
var defineGlobalProperty = __webpack_require__(25659);
var SHARED = '__core-js_shared__';
var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
(store.versions || (store.versions = [])).push({
version: '3.39.0',
mode: IS_PURE ? 'pure' : 'global',
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
license: 'https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
/***/ }),
/***/ 69779:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var store = __webpack_require__(28355);
module.exports = function (key, value) {
return store[key] || (store[key] = value || {});
};
/***/ }),
/***/ 72799:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var anObject = __webpack_require__(75905);
var aConstructor = __webpack_require__(61474);
var isNullOrUndefined = __webpack_require__(65899);
var wellKnownSymbol = __webpack_require__(7325);
var SPECIES = wellKnownSymbol('species');
// `SpeciesConstructor` abstract operation
// https://tc39.es/ecma262/#sec-speciesconstructor
module.exports = function (O, defaultConstructor) {
var C = anObject(O).constructor;
var S;
return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);
};
/***/ }),
/***/ 90461:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
var toIntegerOrInfinity = __webpack_require__(33793);
var toString = __webpack_require__(28873);
var requireObjectCoercible = __webpack_require__(26876);
var charAt = uncurryThis(''.charAt);
var charCodeAt = uncurryThis(''.charCodeAt);
var stringSlice = uncurryThis(''.slice);
var createMethod = function (CONVERT_TO_STRING) {
return function ($this, pos) {
var S = toString(requireObjectCoercible($this));
var position = toIntegerOrInfinity(pos);
var size = S.length;
var first, second;
if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
first = charCodeAt(S, position);
return first < 0xD800 || first > 0xDBFF || position + 1 === size
|| (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
? CONVERT_TO_STRING
? charAt(S, position)
: first
: CONVERT_TO_STRING
? stringSlice(S, position, position + 2)
: (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
};
};
module.exports = {
// `String.prototype.codePointAt` method
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
codeAt: createMethod(false),
// `String.prototype.at` method
// https://github.com/mathiasbynens/String.prototype.at
charAt: createMethod(true)
};
/***/ }),
/***/ 54399:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// https://github.com/tc39/proposal-string-pad-start-end
var uncurryThis = __webpack_require__(44974);
var toLength = __webpack_require__(36424);
var toString = __webpack_require__(28873);
var $repeat = __webpack_require__(29743);
var requireObjectCoercible = __webpack_require__(26876);
var repeat = uncurryThis($repeat);
var stringSlice = uncurryThis(''.slice);
var ceil = Math.ceil;
// `String.prototype.{ padStart, padEnd }` methods implementation
var createMethod = function (IS_END) {
return function ($this, maxLength, fillString) {
var S = toString(requireObjectCoercible($this));
var intMaxLength = toLength(maxLength);
var stringLength = S.length;
var fillStr = fillString === undefined ? ' ' : toString(fillString);
var fillLen, stringFiller;
if (intMaxLength <= stringLength || fillStr === '') return S;
fillLen = intMaxLength - stringLength;
stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));
if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen);
return IS_END ? S + stringFiller : stringFiller + S;
};
};
module.exports = {
// `String.prototype.padStart` method
// https://tc39.es/ecma262/#sec-string.prototype.padstart
start: createMethod(false),
// `String.prototype.padEnd` method
// https://tc39.es/ecma262/#sec-string.prototype.padend
end: createMethod(true)
};
/***/ }),
/***/ 75439:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
var uncurryThis = __webpack_require__(44974);
var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
var base = 36;
var tMin = 1;
var tMax = 26;
var skew = 38;
var damp = 700;
var initialBias = 72;
var initialN = 128; // 0x80
var delimiter = '-'; // '\x2D'
var regexNonASCII = /[^\0-\u007E]/; // non-ASCII chars
var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
var baseMinusTMin = base - tMin;
var $RangeError = RangeError;
var exec = uncurryThis(regexSeparators.exec);
var floor = Math.floor;
var fromCharCode = String.fromCharCode;
var charCodeAt = uncurryThis(''.charCodeAt);
var join = uncurryThis([].join);
var push = uncurryThis([].push);
var replace = uncurryThis(''.replace);
var split = uncurryThis(''.split);
var toLowerCase = uncurryThis(''.toLowerCase);
/**
* Creates an array containing the numeric code points of each Unicode
* character in the string. While JavaScript uses UCS-2 internally,
* this function will convert a pair of surrogate halves (each of which
* UCS-2 exposes as separate characters) into a single code point,
* matching UTF-16.
*/
var ucs2decode = function (string) {
var output = [];
var counter = 0;
var length = string.length;
while (counter < length) {
var value = charCodeAt(string, counter++);
if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
// It's a high surrogate, and there is a next character.
var extra = charCodeAt(string, counter++);
if ((extra & 0xFC00) === 0xDC00) { // Low surrogate.
push(output, ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
} else {
// It's an unmatched surrogate; only append this code unit, in case the
// next code unit is the high surrogate of a surrogate pair.
push(output, value);
counter--;
}
} else {
push(output, value);
}
}
return output;
};
/**
* Converts a digit/integer into a basic code point.
*/
var digitToBasic = function (digit) {
// 0..25 map to ASCII a..z or A..Z
// 26..35 map to ASCII 0..9
return digit + 22 + 75 * (digit < 26);
};
/**
* Bias adaptation function as per section 3.4 of RFC 3492.
* https://tools.ietf.org/html/rfc3492#section-3.4
*/
var adapt = function (delta, numPoints, firstTime) {
var k = 0;
delta = firstTime ? floor(delta / damp) : delta >> 1;
delta += floor(delta / numPoints);
while (delta > baseMinusTMin * tMax >> 1) {
delta = floor(delta / baseMinusTMin);
k += base;
}
return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
};
/**
* Converts a string of Unicode symbols (e.g. a domain name label) to a
* Punycode string of ASCII-only symbols.
*/
var encode = function (input) {
var output = [];
// Convert the input in UCS-2 to an array of Unicode code points.
input = ucs2decode(input);
// Cache the length.
var inputLength = input.length;
// Initialize the state.
var n = initialN;
var delta = 0;
var bias = initialBias;
var i, currentValue;
// Handle the basic code points.
for (i = 0; i < input.length; i++) {
currentValue = input[i];
if (currentValue < 0x80) {
push(output, fromCharCode(currentValue));
}
}
var basicLength = output.length; // number of basic code points.
var handledCPCount = basicLength; // number of code points that have been handled;
// Finish the basic string with a delimiter unless it's empty.
if (basicLength) {
push(output, delimiter);
}
// Main encoding loop:
while (handledCPCount < inputLength) {
// All non-basic code points < n have been handled already. Find the next larger one:
var m = maxInt;
for (i = 0; i < input.length; i++) {
currentValue = input[i];
if (currentValue >= n && currentValue < m) {
m = currentValue;
}
}
// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
var handledCPCountPlusOne = handledCPCount + 1;
if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
throw new $RangeError(OVERFLOW_ERROR);
}
delta += (m - n) * handledCPCountPlusOne;
n = m;
for (i = 0; i < input.length; i++) {
currentValue = input[i];
if (currentValue < n && ++delta > maxInt) {
throw new $RangeError(OVERFLOW_ERROR);
}
if (currentValue === n) {
// Represent delta as a generalized variable-length integer.
var q = delta;
var k = base;
while (true) {
var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
if (q < t) break;
var qMinusT = q - t;
var baseMinusT = base - t;
push(output, fromCharCode(digitToBasic(t + qMinusT % baseMinusT)));
q = floor(qMinusT / baseMinusT);
k += base;
}
push(output, fromCharCode(digitToBasic(q)));
bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);
delta = 0;
handledCPCount++;
}
}
delta++;
n++;
}
return join(output, '');
};
module.exports = function (input) {
var encoded = [];
var labels = split(replace(toLowerCase(input), regexSeparators, '\u002E'), '.');
var i, label;
for (i = 0; i < labels.length; i++) {
label = labels[i];
push(encoded, exec(regexNonASCII, label) ? 'xn--' + encode(label) : label);
}
return join(encoded, '.');
};
/***/ }),
/***/ 29743:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toIntegerOrInfinity = __webpack_require__(33793);
var toString = __webpack_require__(28873);
var requireObjectCoercible = __webpack_require__(26876);
var $RangeError = RangeError;
// `String.prototype.repeat` method implementation
// https://tc39.es/ecma262/#sec-string.prototype.repeat
module.exports = function repeat(count) {
var str = toString(requireObjectCoercible(this));
var result = '';
var n = toIntegerOrInfinity(count);
if (n < 0 || n === Infinity) throw new $RangeError('Wrong number of repetitions');
for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
return result;
};
/***/ }),
/***/ 20680:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var PROPER_FUNCTION_NAME = (__webpack_require__(51748).PROPER);
var fails = __webpack_require__(54397);
var whitespaces = __webpack_require__(44818);
var non = '\u200B\u0085\u180E';
// check that a method works with the correct list
// of whitespaces and has a correct name
module.exports = function (METHOD_NAME) {
return fails(function () {
return !!whitespaces[METHOD_NAME]()
|| non[METHOD_NAME]() !== non
|| (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
});
};
/***/ }),
/***/ 21140:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
var requireObjectCoercible = __webpack_require__(26876);
var toString = __webpack_require__(28873);
var whitespaces = __webpack_require__(44818);
var replace = uncurryThis(''.replace);
var ltrim = RegExp('^[' + whitespaces + ']+');
var rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
var createMethod = function (TYPE) {
return function ($this) {
var string = toString(requireObjectCoercible($this));
if (TYPE & 1) string = replace(string, ltrim, '');
if (TYPE & 2) string = replace(string, rtrim, '$1');
return string;
};
};
module.exports = {
// `String.prototype.{ trimLeft, trimStart }` methods
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
start: createMethod(1),
// `String.prototype.{ trimRight, trimEnd }` methods
// https://tc39.es/ecma262/#sec-string.prototype.trimend
end: createMethod(2),
// `String.prototype.trim` method
// https://tc39.es/ecma262/#sec-string.prototype.trim
trim: createMethod(3)
};
/***/ }),
/***/ 19097:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* eslint-disable es/no-symbol -- required for testing */
var V8_VERSION = __webpack_require__(8089);
var fails = __webpack_require__(54397);
var globalThis = __webpack_require__(52382);
var $String = globalThis.String;
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
var symbol = Symbol('symbol detection');
// Chrome 38 Symbol has incorrect toString conversion
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
// of course, fail.
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
});
/***/ }),
/***/ 10052:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(8763);
var getBuiltIn = __webpack_require__(29029);
var wellKnownSymbol = __webpack_require__(7325);
var defineBuiltIn = __webpack_require__(43558);
module.exports = function () {
var Symbol = getBuiltIn('Symbol');
var SymbolPrototype = Symbol && Symbol.prototype;
var valueOf = SymbolPrototype && SymbolPrototype.valueOf;
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) {
// `Symbol.prototype[@@toPrimitive]` method
// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
// eslint-disable-next-line no-unused-vars -- required for .length
defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) {
return call(valueOf, this);
}, { arity: 1 });
}
};
/***/ }),
/***/ 72244:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var getBuiltIn = __webpack_require__(29029);
var uncurryThis = __webpack_require__(44974);
var Symbol = getBuiltIn('Symbol');
var keyFor = Symbol.keyFor;
var thisSymbolValue = uncurryThis(Symbol.prototype.valueOf);
// `Symbol.isRegisteredSymbol` method
// https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol
module.exports = Symbol.isRegisteredSymbol || function isRegisteredSymbol(value) {
try {
return keyFor(thisSymbolValue(value)) !== undefined;
} catch (error) {
return false;
}
};
/***/ }),
/***/ 98674:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var shared = __webpack_require__(69779);
var getBuiltIn = __webpack_require__(29029);
var uncurryThis = __webpack_require__(44974);
var isSymbol = __webpack_require__(87107);
var wellKnownSymbol = __webpack_require__(7325);
var Symbol = getBuiltIn('Symbol');
var $isWellKnownSymbol = Symbol.isWellKnownSymbol;
var getOwnPropertyNames = getBuiltIn('Object', 'getOwnPropertyNames');
var thisSymbolValue = uncurryThis(Symbol.prototype.valueOf);
var WellKnownSymbolsStore = shared('wks');
for (var i = 0, symbolKeys = getOwnPropertyNames(Symbol), symbolKeysLength = symbolKeys.length; i < symbolKeysLength; i++) {
// some old engines throws on access to some keys like `arguments` or `caller`
try {
var symbolKey = symbolKeys[i];
if (isSymbol(Symbol[symbolKey])) wellKnownSymbol(symbolKey);
} catch (error) { /* empty */ }
}
// `Symbol.isWellKnownSymbol` method
// https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol
// We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected
module.exports = function isWellKnownSymbol(value) {
if ($isWellKnownSymbol && $isWellKnownSymbol(value)) return true;
try {
var symbol = thisSymbolValue(value);
for (var j = 0, keys = getOwnPropertyNames(WellKnownSymbolsStore), keysLength = keys.length; j < keysLength; j++) {
// eslint-disable-next-line eqeqeq -- polyfilled symbols case
if (WellKnownSymbolsStore[keys[j]] == symbol) return true;
}
} catch (error) { /* empty */ }
return false;
};
/***/ }),
/***/ 39054:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var NATIVE_SYMBOL = __webpack_require__(19097);
/* eslint-disable es/no-symbol -- safe */
module.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;
/***/ }),
/***/ 44899:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
var apply = __webpack_require__(72007);
var bind = __webpack_require__(40158);
var isCallable = __webpack_require__(39047);
var hasOwn = __webpack_require__(64695);
var fails = __webpack_require__(54397);
var html = __webpack_require__(49327);
var arraySlice = __webpack_require__(5870);
var createElement = __webpack_require__(39509);
var validateArgumentsLength = __webpack_require__(91494);
var IS_IOS = __webpack_require__(99582);
var IS_NODE = __webpack_require__(13219);
var set = globalThis.setImmediate;
var clear = globalThis.clearImmediate;
var process = globalThis.process;
var Dispatch = globalThis.Dispatch;
var Function = globalThis.Function;
var MessageChannel = globalThis.MessageChannel;
var String = globalThis.String;
var counter = 0;
var queue = {};
var ONREADYSTATECHANGE = 'onreadystatechange';
var $location, defer, channel, port;
fails(function () {
// Deno throws a ReferenceError on `location` access without `--location` flag
$location = globalThis.location;
});
var run = function (id) {
if (hasOwn(queue, id)) {
var fn = queue[id];
delete queue[id];
fn();
}
};
var runner = function (id) {
return function () {
run(id);
};
};
var eventListener = function (event) {
run(event.data);
};
var globalPostMessageDefer = function (id) {
// old engines have not location.origin
globalThis.postMessage(String(id), $location.protocol + '//' + $location.host);
};
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
if (!set || !clear) {
set = function setImmediate(handler) {
validateArgumentsLength(arguments.length, 1);
var fn = isCallable(handler) ? handler : Function(handler);
var args = arraySlice(arguments, 1);
queue[++counter] = function () {
apply(fn, undefined, args);
};
defer(counter);
return counter;
};
clear = function clearImmediate(id) {
delete queue[id];
};
// Node.js 0.8-
if (IS_NODE) {
defer = function (id) {
process.nextTick(runner(id));
};
// Sphere (JS game engine) Dispatch API
} else if (Dispatch && Dispatch.now) {
defer = function (id) {
Dispatch.now(runner(id));
};
// Browsers with MessageChannel, includes WebWorkers
// except iOS - https://github.com/zloirock/core-js/issues/624
} else if (MessageChannel && !IS_IOS) {
channel = new MessageChannel();
port = channel.port2;
channel.port1.onmessage = eventListener;
defer = bind(port.postMessage, port);
// Browsers with postMessage, skip WebWorkers
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
} else if (
globalThis.addEventListener &&
isCallable(globalThis.postMessage) &&
!globalThis.importScripts &&
$location && $location.protocol !== 'file:' &&
!fails(globalPostMessageDefer)
) {
defer = globalPostMessageDefer;
globalThis.addEventListener('message', eventListener, false);
// IE8-
} else if (ONREADYSTATECHANGE in createElement('script')) {
defer = function (id) {
html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
html.removeChild(this);
run(id);
};
};
// Rest old browsers
} else {
defer = function (id) {
setTimeout(runner(id), 0);
};
}
}
module.exports = {
set: set,
clear: clear
};
/***/ }),
/***/ 40740:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toIntegerOrInfinity = __webpack_require__(33793);
var max = Math.max;
var min = Math.min;
// Helper for a popular repeating case of the spec:
// Let integer be ? ToInteger(index).
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
module.exports = function (index, length) {
var integer = toIntegerOrInfinity(index);
return integer < 0 ? max(integer + length, 0) : min(integer, length);
};
/***/ }),
/***/ 31091:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// toObject with fallback for non-array-like ES3 strings
var IndexedObject = __webpack_require__(59677);
var requireObjectCoercible = __webpack_require__(26876);
module.exports = function (it) {
return IndexedObject(requireObjectCoercible(it));
};
/***/ }),
/***/ 33793:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var trunc = __webpack_require__(29731);
// `ToIntegerOrInfinity` abstract operation
// https://tc39.es/ecma262/#sec-tointegerorinfinity
module.exports = function (argument) {
var number = +argument;
// eslint-disable-next-line no-self-compare -- NaN check
return number !== number || number === 0 ? 0 : trunc(number);
};
/***/ }),
/***/ 36424:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toIntegerOrInfinity = __webpack_require__(33793);
var min = Math.min;
// `ToLength` abstract operation
// https://tc39.es/ecma262/#sec-tolength
module.exports = function (argument) {
var len = toIntegerOrInfinity(argument);
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
};
/***/ }),
/***/ 24575:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var requireObjectCoercible = __webpack_require__(26876);
var $Object = Object;
// `ToObject` abstract operation
// https://tc39.es/ecma262/#sec-toobject
module.exports = function (argument) {
return $Object(requireObjectCoercible(argument));
};
/***/ }),
/***/ 66199:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(8763);
var isObject = __webpack_require__(22716);
var isSymbol = __webpack_require__(87107);
var getMethod = __webpack_require__(28888);
var ordinaryToPrimitive = __webpack_require__(78264);
var wellKnownSymbol = __webpack_require__(7325);
var $TypeError = TypeError;
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
// `ToPrimitive` abstract operation
// https://tc39.es/ecma262/#sec-toprimitive
module.exports = function (input, pref) {
if (!isObject(input) || isSymbol(input)) return input;
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
var result;
if (exoticToPrim) {
if (pref === undefined) pref = 'default';
result = call(exoticToPrim, input, pref);
if (!isObject(result) || isSymbol(result)) return result;
throw new $TypeError("Can't convert object to primitive value");
}
if (pref === undefined) pref = 'number';
return ordinaryToPrimitive(input, pref);
};
/***/ }),
/***/ 94907:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toPrimitive = __webpack_require__(66199);
var isSymbol = __webpack_require__(87107);
// `ToPropertyKey` abstract operation
// https://tc39.es/ecma262/#sec-topropertykey
module.exports = function (argument) {
var key = toPrimitive(argument, 'string');
return isSymbol(key) ? key : key + '';
};
/***/ }),
/***/ 56910:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var wellKnownSymbol = __webpack_require__(7325);
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var test = {};
test[TO_STRING_TAG] = 'z';
module.exports = String(test) === '[object z]';
/***/ }),
/***/ 28873:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var classof = __webpack_require__(18285);
var $String = String;
module.exports = function (argument) {
if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
return $String(argument);
};
/***/ }),
/***/ 48621:
/***/ (function(module) {
"use strict";
var $String = String;
module.exports = function (argument) {
try {
return $String(argument);
} catch (error) {
return 'Object';
}
};
/***/ }),
/***/ 48062:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(44974);
var id = 0;
var postfix = Math.random();
var toString = uncurryThis(1.0.toString);
module.exports = function (key) {
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
};
/***/ }),
/***/ 17654:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(54397);
var wellKnownSymbol = __webpack_require__(7325);
var DESCRIPTORS = __webpack_require__(89106);
var IS_PURE = __webpack_require__(24689);
var ITERATOR = wellKnownSymbol('iterator');
module.exports = !fails(function () {
// eslint-disable-next-line unicorn/relative-url-style -- required for testing
var url = new URL('b?a=1&b=2&c=3', 'https://a');
var params = url.searchParams;
var params2 = new URLSearchParams('a=1&a=2&b=3');
var result = '';
url.pathname = 'c%20d';
params.forEach(function (value, key) {
params['delete']('b');
result += key + value;
});
params2['delete']('a', 2);
// `undefined` case is a Chromium 117 bug
// https://bugs.chromium.org/p/v8/issues/detail?id=14222
params2['delete']('b', undefined);
return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b')))
|| (!params.size && (IS_PURE || !DESCRIPTORS))
|| !params.sort
|| url.href !== 'https://a/c%20d?a=1&c=3'
|| params.get('c') !== '3'
|| String(new URLSearchParams('?a=1')) !== 'a=1'
|| !params[ITERATOR]
// throws in Edge
|| new URL('https://a@b').username !== 'a'
|| new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'
// not punycoded in Edge
|| new URL('https://тест').host !== 'xn--e1aybc'
// not escaped in Chrome 62-
|| new URL('https://a#б').hash !== '#%D0%B1'
// fails in Chrome 66-
|| result !== 'a1c3'
// throws in Safari
|| new URL('https://x', undefined).host !== 'x';
});
/***/ }),
/***/ 5586:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* eslint-disable es/no-symbol -- required for testing */
var NATIVE_SYMBOL = __webpack_require__(19097);
module.exports = NATIVE_SYMBOL &&
!Symbol.sham &&
typeof Symbol.iterator == 'symbol';
/***/ }),
/***/ 38572:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(89106);
var fails = __webpack_require__(54397);
// V8 ~ Chrome 36-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
module.exports = DESCRIPTORS && fails(function () {
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
value: 42,
writable: false
}).prototype !== 42;
});
/***/ }),
/***/ 91494:
/***/ (function(module) {
"use strict";
var $TypeError = TypeError;
module.exports = function (passed, required) {
if (passed < required) throw new $TypeError('Not enough arguments');
return passed;
};
/***/ }),
/***/ 26568:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
var isCallable = __webpack_require__(39047);
var WeakMap = globalThis.WeakMap;
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
/***/ }),
/***/ 10525:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var path = __webpack_require__(42753);
var hasOwn = __webpack_require__(64695);
var wrappedWellKnownSymbolModule = __webpack_require__(54809);
var defineProperty = (__webpack_require__(36255).f);
module.exports = function (NAME) {
var Symbol = path.Symbol || (path.Symbol = {});
if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {
value: wrappedWellKnownSymbolModule.f(NAME)
});
};
/***/ }),
/***/ 54809:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
"use strict";
var wellKnownSymbol = __webpack_require__(7325);
exports.f = wellKnownSymbol;
/***/ }),
/***/ 7325:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
var shared = __webpack_require__(69779);
var hasOwn = __webpack_require__(64695);
var uid = __webpack_require__(48062);
var NATIVE_SYMBOL = __webpack_require__(19097);
var USE_SYMBOL_AS_UID = __webpack_require__(5586);
var Symbol = globalThis.Symbol;
var WellKnownSymbolsStore = shared('wks');
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
module.exports = function (name) {
if (!hasOwn(WellKnownSymbolsStore, name)) {
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
? Symbol[name]
: createWellKnownSymbol('Symbol.' + name);
} return WellKnownSymbolsStore[name];
};
/***/ }),
/***/ 44818:
/***/ (function(module) {
"use strict";
// a string of all valid unicode whitespaces
module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
/***/ }),
/***/ 59863:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var isPrototypeOf = __webpack_require__(35443);
var getPrototypeOf = __webpack_require__(27409);
var setPrototypeOf = __webpack_require__(74461);
var copyConstructorProperties = __webpack_require__(68818);
var create = __webpack_require__(11910);
var createNonEnumerableProperty = __webpack_require__(35313);
var createPropertyDescriptor = __webpack_require__(44934);
var installErrorCause = __webpack_require__(39366);
var installErrorStack = __webpack_require__(34093);
var iterate = __webpack_require__(83878);
var normalizeStringArgument = __webpack_require__(75893);
var wellKnownSymbol = __webpack_require__(7325);
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var $Error = Error;
var push = [].push;
var $AggregateError = function AggregateError(errors, message /* , options */) {
var isInstance = isPrototypeOf(AggregateErrorPrototype, this);
var that;
if (setPrototypeOf) {
that = setPrototypeOf(new $Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);
} else {
that = isInstance ? this : create(AggregateErrorPrototype);
createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');
}
if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message));
installErrorStack(that, $AggregateError, that.stack, 1);
if (arguments.length > 2) installErrorCause(that, arguments[2]);
var errorsArray = [];
iterate(errors, push, { that: errorsArray });
createNonEnumerableProperty(that, 'errors', errorsArray);
return that;
};
if (setPrototypeOf) setPrototypeOf($AggregateError, $Error);
else copyConstructorProperties($AggregateError, $Error, { name: true });
var AggregateErrorPrototype = $AggregateError.prototype = create($Error.prototype, {
constructor: createPropertyDescriptor(1, $AggregateError),
message: createPropertyDescriptor(1, ''),
name: createPropertyDescriptor(1, 'AggregateError')
});
// `AggregateError` constructor
// https://tc39.es/ecma262/#sec-aggregate-error-constructor
$({ global: true, constructor: true, arity: 2 }, {
AggregateError: $AggregateError
});
/***/ }),
/***/ 95989:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove this module from `core-js@4` since it's replaced to module below
__webpack_require__(59863);
/***/ }),
/***/ 68228:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var fails = __webpack_require__(54397);
var isArray = __webpack_require__(82214);
var isObject = __webpack_require__(22716);
var toObject = __webpack_require__(24575);
var lengthOfArrayLike = __webpack_require__(65916);
var doesNotExceedSafeInteger = __webpack_require__(76967);
var createProperty = __webpack_require__(10554);
var arraySpeciesCreate = __webpack_require__(87051);
var arrayMethodHasSpeciesSupport = __webpack_require__(28783);
var wellKnownSymbol = __webpack_require__(7325);
var V8_VERSION = __webpack_require__(8089);
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
// We can't use this feature detection in V8 since it causes
// deoptimization and serious performance degradation
// https://github.com/zloirock/core-js/issues/679
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
var array = [];
array[IS_CONCAT_SPREADABLE] = false;
return array.concat()[0] !== array;
});
var isConcatSpreadable = function (O) {
if (!isObject(O)) return false;
var spreadable = O[IS_CONCAT_SPREADABLE];
return spreadable !== undefined ? !!spreadable : isArray(O);
};
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');
// `Array.prototype.concat` method
// https://tc39.es/ecma262/#sec-array.prototype.concat
// with adding support of @@isConcatSpreadable and @@species
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
// eslint-disable-next-line no-unused-vars -- required for `.length`
concat: function concat(arg) {
var O = toObject(this);
var A = arraySpeciesCreate(O, 0);
var n = 0;
var i, k, length, len, E;
for (i = -1, length = arguments.length; i < length; i++) {
E = i === -1 ? O : arguments[i];
if (isConcatSpreadable(E)) {
len = lengthOfArrayLike(E);
doesNotExceedSafeInteger(n + len);
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
} else {
doesNotExceedSafeInteger(n + 1);
createProperty(A, n++, E);
}
}
A.length = n;
return A;
}
});
/***/ }),
/***/ 5785:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var fill = __webpack_require__(36123);
var addToUnscopables = __webpack_require__(90571);
// `Array.prototype.fill` method
// https://tc39.es/ecma262/#sec-array.prototype.fill
$({ target: 'Array', proto: true }, {
fill: fill
});
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('fill');
/***/ }),
/***/ 41378:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var $filter = (__webpack_require__(72727).filter);
var arrayMethodHasSpeciesSupport = __webpack_require__(28783);
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
// `Array.prototype.filter` method
// https://tc39.es/ecma262/#sec-array.prototype.filter
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
filter: function filter(callbackfn /* , thisArg */) {
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ 17731:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var $find = (__webpack_require__(72727).find);
var addToUnscopables = __webpack_require__(90571);
var FIND = 'find';
var SKIPS_HOLES = true;
// Shouldn't skip holes
// eslint-disable-next-line es/no-array-prototype-find -- testing
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
// `Array.prototype.find` method
// https://tc39.es/ecma262/#sec-array.prototype.find
$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
find: function find(callbackfn /* , that = undefined */) {
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables(FIND);
/***/ }),
/***/ 41239:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var forEach = __webpack_require__(44989);
// `Array.prototype.forEach` method
// https://tc39.es/ecma262/#sec-array.prototype.foreach
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, {
forEach: forEach
});
/***/ }),
/***/ 18320:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var from = __webpack_require__(98346);
var checkCorrectnessOfIteration = __webpack_require__(2942);
var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
// eslint-disable-next-line es/no-array-from -- required for testing
Array.from(iterable);
});
// `Array.from` method
// https://tc39.es/ecma262/#sec-array.from
$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
from: from
});
/***/ }),
/***/ 27445:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var $includes = (__webpack_require__(41927).includes);
var fails = __webpack_require__(54397);
var addToUnscopables = __webpack_require__(90571);
// FF99+ bug
var BROKEN_ON_SPARSE = fails(function () {
// eslint-disable-next-line es/no-array-prototype-includes -- detection
return !Array(1).includes();
});
// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
includes: function includes(el /* , fromIndex = 0 */) {
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
}
});
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('includes');
/***/ }),
/***/ 12930:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* eslint-disable es/no-array-prototype-indexof -- required for testing */
var $ = __webpack_require__(57736);
var uncurryThis = __webpack_require__(55830);
var $indexOf = (__webpack_require__(41927).indexOf);
var arrayMethodIsStrict = __webpack_require__(41660);
var nativeIndexOf = uncurryThis([].indexOf);
var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;
var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');
// `Array.prototype.indexOf` method
// https://tc39.es/ecma262/#sec-array.prototype.indexof
$({ target: 'Array', proto: true, forced: FORCED }, {
indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
return NEGATIVE_ZERO
// convert -0 to +0
? nativeIndexOf(this, searchElement, fromIndex) || 0
: $indexOf(this, searchElement, fromIndex);
}
});
/***/ }),
/***/ 94136:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var isArray = __webpack_require__(82214);
// `Array.isArray` method
// https://tc39.es/ecma262/#sec-array.isarray
$({ target: 'Array', stat: true }, {
isArray: isArray
});
/***/ }),
/***/ 96198:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toIndexedObject = __webpack_require__(31091);
var addToUnscopables = __webpack_require__(90571);
var Iterators = __webpack_require__(11147);
var InternalStateModule = __webpack_require__(67159);
var defineProperty = (__webpack_require__(36255).f);
var defineIterator = __webpack_require__(74418);
var createIterResultObject = __webpack_require__(12715);
var IS_PURE = __webpack_require__(24689);
var DESCRIPTORS = __webpack_require__(89106);
var ARRAY_ITERATOR = 'Array Iterator';
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
// `Array.prototype.entries` method
// https://tc39.es/ecma262/#sec-array.prototype.entries
// `Array.prototype.keys` method
// https://tc39.es/ecma262/#sec-array.prototype.keys
// `Array.prototype.values` method
// https://tc39.es/ecma262/#sec-array.prototype.values
// `Array.prototype[@@iterator]` method
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
// `CreateArrayIterator` internal method
// https://tc39.es/ecma262/#sec-createarrayiterator
module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
setInternalState(this, {
type: ARRAY_ITERATOR,
target: toIndexedObject(iterated), // target
index: 0, // next index
kind: kind // kind
});
// `%ArrayIteratorPrototype%.next` method
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
}, function () {
var state = getInternalState(this);
var target = state.target;
var index = state.index++;
if (!target || index >= target.length) {
state.target = null;
return createIterResultObject(undefined, true);
}
switch (state.kind) {
case 'keys': return createIterResultObject(index, false);
case 'values': return createIterResultObject(target[index], false);
} return createIterResultObject([index, target[index]], false);
}, 'values');
// argumentsList[@@iterator] is %ArrayProto_values%
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
var values = Iterators.Arguments = Iterators.Array;
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('keys');
addToUnscopables('values');
addToUnscopables('entries');
// V8 ~ Chrome 45- bug
if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {
defineProperty(values, 'name', { value: 'values' });
} catch (error) { /* empty */ }
/***/ }),
/***/ 86460:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var $map = (__webpack_require__(72727).map);
var arrayMethodHasSpeciesSupport = __webpack_require__(28783);
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
// `Array.prototype.map` method
// https://tc39.es/ecma262/#sec-array.prototype.map
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
map: function map(callbackfn /* , thisArg */) {
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ 47896:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var toObject = __webpack_require__(24575);
var lengthOfArrayLike = __webpack_require__(65916);
var setArrayLength = __webpack_require__(52877);
var doesNotExceedSafeInteger = __webpack_require__(76967);
var fails = __webpack_require__(54397);
var INCORRECT_TO_LENGTH = fails(function () {
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
});
// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
var properErrorOnNonWritableLength = function () {
try {
// eslint-disable-next-line es/no-object-defineproperty -- safe
Object.defineProperty([], 'length', { writable: false }).push();
} catch (error) {
return error instanceof TypeError;
}
};
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
// `Array.prototype.push` method
// https://tc39.es/ecma262/#sec-array.prototype.push
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
// eslint-disable-next-line no-unused-vars -- required for `.length`
push: function push(item) {
var O = toObject(this);
var len = lengthOfArrayLike(O);
var argCount = arguments.length;
doesNotExceedSafeInteger(len + argCount);
for (var i = 0; i < argCount; i++) {
O[len] = arguments[i];
len++;
}
setArrayLength(O, len);
return len;
}
});
/***/ }),
/***/ 47930:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var $reduce = (__webpack_require__(23832).left);
var arrayMethodIsStrict = __webpack_require__(41660);
var CHROME_VERSION = __webpack_require__(8089);
var IS_NODE = __webpack_require__(13219);
// Chrome 80-82 has a critical bug
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');
// `Array.prototype.reduce` method
// https://tc39.es/ecma262/#sec-array.prototype.reduce
$({ target: 'Array', proto: true, forced: FORCED }, {
reduce: function reduce(callbackfn /* , initialValue */) {
var length = arguments.length;
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ 61992:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var uncurryThis = __webpack_require__(44974);
var isArray = __webpack_require__(82214);
var nativeReverse = uncurryThis([].reverse);
var test = [1, 2];
// `Array.prototype.reverse` method
// https://tc39.es/ecma262/#sec-array.prototype.reverse
// fix for Safari 12.0 bug
// https://bugs.webkit.org/show_bug.cgi?id=188794
$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {
reverse: function reverse() {
// eslint-disable-next-line no-self-assign -- dirty hack
if (isArray(this)) this.length = this.length;
return nativeReverse(this);
}
});
/***/ }),
/***/ 18212:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var isArray = __webpack_require__(82214);
var isConstructor = __webpack_require__(61923);
var isObject = __webpack_require__(22716);
var toAbsoluteIndex = __webpack_require__(40740);
var lengthOfArrayLike = __webpack_require__(65916);
var toIndexedObject = __webpack_require__(31091);
var createProperty = __webpack_require__(10554);
var wellKnownSymbol = __webpack_require__(7325);
var arrayMethodHasSpeciesSupport = __webpack_require__(28783);
var nativeSlice = __webpack_require__(5870);
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');
var SPECIES = wellKnownSymbol('species');
var $Array = Array;
var max = Math.max;
// `Array.prototype.slice` method
// https://tc39.es/ecma262/#sec-array.prototype.slice
// fallback for not array-like ES3 strings and DOM objects
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
slice: function slice(start, end) {
var O = toIndexedObject(this);
var length = lengthOfArrayLike(O);
var k = toAbsoluteIndex(start, length);
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
// inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
var Constructor, result, n;
if (isArray(O)) {
Constructor = O.constructor;
// cross-realm fallback
if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {
Constructor = undefined;
} else if (isObject(Constructor)) {
Constructor = Constructor[SPECIES];
if (Constructor === null) Constructor = undefined;
}
if (Constructor === $Array || Constructor === undefined) {
return nativeSlice(O, k, fin);
}
}
result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));
for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
result.length = n;
return result;
}
});
/***/ }),
/***/ 1488:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var $some = (__webpack_require__(72727).some);
var arrayMethodIsStrict = __webpack_require__(41660);
var STRICT_METHOD = arrayMethodIsStrict('some');
// `Array.prototype.some` method
// https://tc39.es/ecma262/#sec-array.prototype.some
$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {
some: function some(callbackfn /* , thisArg */) {
return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ 69620:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var uncurryThis = __webpack_require__(44974);
var aCallable = __webpack_require__(68044);
var toObject = __webpack_require__(24575);
var lengthOfArrayLike = __webpack_require__(65916);
var deletePropertyOrThrow = __webpack_require__(72824);
var toString = __webpack_require__(28873);
var fails = __webpack_require__(54397);
var internalSort = __webpack_require__(9518);
var arrayMethodIsStrict = __webpack_require__(41660);
var FF = __webpack_require__(6227);
var IE_OR_EDGE = __webpack_require__(80529);
var V8 = __webpack_require__(8089);
var WEBKIT = __webpack_require__(66665);
var test = [];
var nativeSort = uncurryThis(test.sort);
var push = uncurryThis(test.push);
// IE8-
var FAILS_ON_UNDEFINED = fails(function () {
test.sort(undefined);
});
// V8 bug
var FAILS_ON_NULL = fails(function () {
test.sort(null);
});
// Old WebKit
var STRICT_METHOD = arrayMethodIsStrict('sort');
var STABLE_SORT = !fails(function () {
// feature detection can be too slow, so check engines versions
if (V8) return V8 < 70;
if (FF && FF > 3) return;
if (IE_OR_EDGE) return true;
if (WEBKIT) return WEBKIT < 603;
var result = '';
var code, chr, value, index;
// generate an array with more 512 elements (Chakra and old V8 fails only in this case)
for (code = 65; code < 76; code++) {
chr = String.fromCharCode(code);
switch (code) {
case 66: case 69: case 70: case 72: value = 3; break;
case 68: case 71: value = 4; break;
default: value = 2;
}
for (index = 0; index < 47; index++) {
test.push({ k: chr + index, v: value });
}
}
test.sort(function (a, b) { return b.v - a.v; });
for (index = 0; index < test.length; index++) {
chr = test[index].k.charAt(0);
if (result.charAt(result.length - 1) !== chr) result += chr;
}
return result !== 'DGBEFHACIJK';
});
var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;
var getSortCompare = function (comparefn) {
return function (x, y) {
if (y === undefined) return -1;
if (x === undefined) return 1;
if (comparefn !== undefined) return +comparefn(x, y) || 0;
return toString(x) > toString(y) ? 1 : -1;
};
};
// `Array.prototype.sort` method
// https://tc39.es/ecma262/#sec-array.prototype.sort
$({ target: 'Array', proto: true, forced: FORCED }, {
sort: function sort(comparefn) {
if (comparefn !== undefined) aCallable(comparefn);
var array = toObject(this);
if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);
var items = [];
var arrayLength = lengthOfArrayLike(array);
var itemsLength, index;
for (index = 0; index < arrayLength; index++) {
if (index in array) push(items, array[index]);
}
internalSort(items, getSortCompare(comparefn));
itemsLength = lengthOfArrayLike(items);
index = 0;
while (index < itemsLength) array[index] = items[index++];
while (index < arrayLength) deletePropertyOrThrow(array, index++);
return array;
}
});
/***/ }),
/***/ 83908:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var toObject = __webpack_require__(24575);
var toAbsoluteIndex = __webpack_require__(40740);
var toIntegerOrInfinity = __webpack_require__(33793);
var lengthOfArrayLike = __webpack_require__(65916);
var setArrayLength = __webpack_require__(52877);
var doesNotExceedSafeInteger = __webpack_require__(76967);
var arraySpeciesCreate = __webpack_require__(87051);
var createProperty = __webpack_require__(10554);
var deletePropertyOrThrow = __webpack_require__(72824);
var arrayMethodHasSpeciesSupport = __webpack_require__(28783);
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');
var max = Math.max;
var min = Math.min;
// `Array.prototype.splice` method
// https://tc39.es/ecma262/#sec-array.prototype.splice
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
splice: function splice(start, deleteCount /* , ...items */) {
var O = toObject(this);
var len = lengthOfArrayLike(O);
var actualStart = toAbsoluteIndex(start, len);
var argumentsLength = arguments.length;
var insertCount, actualDeleteCount, A, k, from, to;
if (argumentsLength === 0) {
insertCount = actualDeleteCount = 0;
} else if (argumentsLength === 1) {
insertCount = 0;
actualDeleteCount = len - actualStart;
} else {
insertCount = argumentsLength - 2;
actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);
}
doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);
A = arraySpeciesCreate(O, actualDeleteCount);
for (k = 0; k < actualDeleteCount; k++) {
from = actualStart + k;
if (from in O) createProperty(A, k, O[from]);
}
A.length = actualDeleteCount;
if (insertCount < actualDeleteCount) {
for (k = actualStart; k < len - actualDeleteCount; k++) {
from = k + actualDeleteCount;
to = k + insertCount;
if (from in O) O[to] = O[from];
else deletePropertyOrThrow(O, to);
}
for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);
} else if (insertCount > actualDeleteCount) {
for (k = len - actualDeleteCount; k > actualStart; k--) {
from = k + actualDeleteCount - 1;
to = k + insertCount - 1;
if (from in O) O[to] = O[from];
else deletePropertyOrThrow(O, to);
}
}
for (k = 0; k < insertCount; k++) {
O[k + actualStart] = arguments[k + 2];
}
setArrayLength(O, len - actualDeleteCount + insertCount);
return A;
}
});
/***/ }),
/***/ 3783:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(57736);
var uncurryThis = __webpack_require__(44974);
var $Date = Date;
var thisTimeValue = uncurryThis($Date.prototype.getTime);
// `Date.now` method
// https://tc39.es/ecma262/#sec-date.now
$({ target: 'Date', stat: true }, {
now: function now() {
return thisTimeValue(new $Date());
}
});
/***/ }),
/***/ 60713:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var call = __webpack_require__(8763);
var toObject = __webpack_require__(24575);
var toPrimitive = __webpack_require__(66199);
var toISOString = __webpack_require__(53242);
var classof = __webpack_require__(68618);
var fails = __webpack_require__(54397);
var FORCED = fails(function () {
return new Date(NaN).toJSON() !== null
|| call(Date.prototype.toJSON, { toISOString: function () { return 1; } }) !== 1;
});
// `Date.prototype.toJSON` method
// https://tc39.es/ecma262/#sec-date.prototype.tojson
$({ target: 'Date', proto: true, forced: FORCED }, {
// eslint-disable-next-line no-unused-vars -- required for `.length`
toJSON: function toJSON(key) {
var O = toObject(this);
var pv = toPrimitive(O, 'number');
return typeof pv == 'number' && !isFinite(pv) ? null :
(!('toISOString' in O) && classof(O) === 'Date') ? call(toISOString, O) : O.toISOString();
}
});
/***/ }),
/***/ 21486:
/***/ (function() {
// empty
/***/ }),
/***/ 21932:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(57736);
var bind = __webpack_require__(10816);
// `Function.prototype.bind` method
// https://tc39.es/ecma262/#sec-function.prototype.bind
// eslint-disable-next-line es/no-function-prototype-bind -- detection
$({ target: 'Function', proto: true, forced: Function.bind !== bind }, {
bind: bind
});
/***/ }),
/***/ 52515:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var globalThis = __webpack_require__(52382);
// `globalThis` object
// https://tc39.es/ecma262/#sec-globalthis
$({ global: true, forced: globalThis.globalThis !== globalThis }, {
globalThis: globalThis
});
/***/ }),
/***/ 89468:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var getBuiltIn = __webpack_require__(29029);
var apply = __webpack_require__(72007);
var call = __webpack_require__(8763);
var uncurryThis = __webpack_require__(44974);
var fails = __webpack_require__(54397);
var isCallable = __webpack_require__(39047);
var isSymbol = __webpack_require__(87107);
var arraySlice = __webpack_require__(5870);
var getReplacerFunction = __webpack_require__(29315);
var NATIVE_SYMBOL = __webpack_require__(19097);
var $String = String;
var $stringify = getBuiltIn('JSON', 'stringify');
var exec = uncurryThis(/./.exec);
var charAt = uncurryThis(''.charAt);
var charCodeAt = uncurryThis(''.charCodeAt);
var replace = uncurryThis(''.replace);
var numberToString = uncurryThis(1.0.toString);
var tester = /[\uD800-\uDFFF]/g;
var low = /^[\uD800-\uDBFF]$/;
var hi = /^[\uDC00-\uDFFF]$/;
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {
var symbol = getBuiltIn('Symbol')('stringify detection');
// MS Edge converts symbol values to JSON as {}
return $stringify([symbol]) !== '[null]'
// WebKit converts symbol values to JSON as null
|| $stringify({ a: symbol }) !== '{}'
// V8 throws on boxed symbols
|| $stringify(Object(symbol)) !== '{}';
});
// https://github.com/tc39/proposal-well-formed-stringify
var ILL_FORMED_UNICODE = fails(function () {
return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
|| $stringify('\uDEAD') !== '"\\udead"';
});
var stringifyWithSymbolsFix = function (it, replacer) {
var args = arraySlice(arguments);
var $replacer = getReplacerFunction(replacer);
if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
args[1] = function (key, value) {
// some old implementations (like WebKit) could pass numbers as keys
if (isCallable($replacer)) value = call($replacer, this, $String(key), value);
if (!isSymbol(value)) return value;
};
return apply($stringify, null, args);
};
var fixIllFormed = function (match, offset, string) {
var prev = charAt(string, offset - 1);
var next = charAt(string, offset + 1);
if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {
return '\\u' + numberToString(charCodeAt(match, 0), 16);
} return match;
};
if ($stringify) {
// `JSON.stringify` method
// https://tc39.es/ecma262/#sec-json.stringify
$({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
// eslint-disable-next-line no-unused-vars -- required for `.length`
stringify: function stringify(it, replacer, space) {
var args = arraySlice(arguments);
var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;
}
});
}
/***/ }),
/***/ 68237:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(52382);
var setToStringTag = __webpack_require__(6841);
// JSON[@@toStringTag] property
// https://tc39.es/ecma262/#sec-json-@@tostringtag
setToStringTag(globalThis.JSON, 'JSON', true);
/***/ }),
/***/ 50425:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var collection = __webpack_require__(94314);
var collectionStrong = __webpack_require__(69328);
// `Map` constructor
// https://tc39.es/ecma262/#sec-map-objects
collection('Map', function (init) {
return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };
}, collectionStrong);
/***/ }),
/***/ 31922:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var uncurryThis = __webpack_require__(44974);
var aCallable = __webpack_require__(68044);
var requireObjectCoercible = __webpack_require__(26876);
var iterate = __webpack_require__(83878);
var MapHelpers = __webpack_require__(30406);
var IS_PURE = __webpack_require__(24689);
var fails = __webpack_require__(54397);
var Map = MapHelpers.Map;
var has = MapHelpers.has;
var get = MapHelpers.get;
var set = MapHelpers.set;
var push = uncurryThis([].push);
var DOES_NOT_WORK_WITH_PRIMITIVES = IS_PURE || fails(function () {
return Map.groupBy('ab', function (it) {
return it;
}).get('a').length !== 1;
});
// `Map.groupBy` method
// https://tc39.es/ecma262/#sec-map.groupby
$({ target: 'Map', stat: true, forced: IS_PURE || DOES_NOT_WORK_WITH_PRIMITIVES }, {
groupBy: function groupBy(items, callbackfn) {
requireObjectCoercible(items);
aCallable(callbackfn);
var map = new Map();
var k = 0;
iterate(items, function (value) {
var key = callbackfn(value, k++);
if (!has(map, key)) set(map, key, [value]);
else push(get(map, key), value);
});
return map;
}
});
/***/ }),
/***/ 28915:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove this module from `core-js@4` since it's replaced to module below
__webpack_require__(50425);
/***/ }),
/***/ 51873:
/***/ (function() {
// empty
/***/ }),
/***/ 96732:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
// `Number.isNaN` method
// https://tc39.es/ecma262/#sec-number.isnan
$({ target: 'Number', stat: true }, {
isNaN: function isNaN(number) {
// eslint-disable-next-line no-self-compare -- NaN check
return number !== number;
}
});
/***/ }),
/***/ 17658:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var parseFloat = __webpack_require__(92022);
// `Number.parseFloat` method
// https://tc39.es/ecma262/#sec-number.parseFloat
// eslint-disable-next-line es/no-number-parsefloat -- required for testing
$({ target: 'Number', stat: true, forced: Number.parseFloat !== parseFloat }, {
parseFloat: parseFloat
});
/***/ }),
/***/ 29563:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var assign = __webpack_require__(69283);
// `Object.assign` method
// https://tc39.es/ecma262/#sec-object.assign
// eslint-disable-next-line es/no-object-assign -- required for testing
$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
assign: assign
});
/***/ }),
/***/ 1950:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(57736);
var DESCRIPTORS = __webpack_require__(89106);
var create = __webpack_require__(11910);
// `Object.create` method
// https://tc39.es/ecma262/#sec-object.create
$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
create: create
});
/***/ }),
/***/ 81931:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var DESCRIPTORS = __webpack_require__(89106);
var defineProperties = (__webpack_require__(59795).f);
// `Object.defineProperties` method
// https://tc39.es/ecma262/#sec-object.defineproperties
// eslint-disable-next-line es/no-object-defineproperties -- safe
$({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProperties, sham: !DESCRIPTORS }, {
defineProperties: defineProperties
});
/***/ }),
/***/ 60535:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var DESCRIPTORS = __webpack_require__(89106);
var defineProperty = (__webpack_require__(36255).f);
// `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
// eslint-disable-next-line es/no-object-defineproperty -- safe
$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, {
defineProperty: defineProperty
});
/***/ }),
/***/ 75533:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var FREEZING = __webpack_require__(69702);
var fails = __webpack_require__(54397);
var isObject = __webpack_require__(22716);
var onFreeze = (__webpack_require__(92869).onFreeze);
// eslint-disable-next-line es/no-object-freeze -- safe
var $freeze = Object.freeze;
var FAILS_ON_PRIMITIVES = fails(function () { $freeze(1); });
// `Object.freeze` method
// https://tc39.es/ecma262/#sec-object.freeze
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {
freeze: function freeze(it) {
return $freeze && isObject(it) ? $freeze(onFreeze(it)) : it;
}
});
/***/ }),
/***/ 57653:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var fails = __webpack_require__(54397);
var toIndexedObject = __webpack_require__(31091);
var nativeGetOwnPropertyDescriptor = (__webpack_require__(54077).f);
var DESCRIPTORS = __webpack_require__(89106);
var FORCED = !DESCRIPTORS || fails(function () { nativeGetOwnPropertyDescriptor(1); });
// `Object.getOwnPropertyDescriptor` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {
getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {
return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);
}
});
/***/ }),
/***/ 80832:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var DESCRIPTORS = __webpack_require__(89106);
var ownKeys = __webpack_require__(78605);
var toIndexedObject = __webpack_require__(31091);
var getOwnPropertyDescriptorModule = __webpack_require__(54077);
var createProperty = __webpack_require__(10554);
// `Object.getOwnPropertyDescriptors` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
var O = toIndexedObject(object);
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
var keys = ownKeys(O);
var result = {};
var index = 0;
var key, descriptor;
while (keys.length > index) {
descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);
if (descriptor !== undefined) createProperty(result, key, descriptor);
}
return result;
}
});
/***/ }),
/***/ 5807:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var NATIVE_SYMBOL = __webpack_require__(19097);
var fails = __webpack_require__(54397);
var getOwnPropertySymbolsModule = __webpack_require__(70119);
var toObject = __webpack_require__(24575);
// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
// https://bugs.chromium.org/p/v8/issues/detail?id=3443
var FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); });
// `Object.getOwnPropertySymbols` method
// https://tc39.es/ecma262/#sec-object.getownpropertysymbols
$({ target: 'Object', stat: true, forced: FORCED }, {
getOwnPropertySymbols: function getOwnPropertySymbols(it) {
var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];
}
});
/***/ }),
/***/ 24521:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var fails = __webpack_require__(54397);
var toObject = __webpack_require__(24575);
var nativeGetPrototypeOf = __webpack_require__(27409);
var CORRECT_PROTOTYPE_GETTER = __webpack_require__(89237);
var FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });
// `Object.getPrototypeOf` method
// https://tc39.es/ecma262/#sec-object.getprototypeof
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {
getPrototypeOf: function getPrototypeOf(it) {
return nativeGetPrototypeOf(toObject(it));
}
});
/***/ }),
/***/ 14862:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var toObject = __webpack_require__(24575);
var nativeKeys = __webpack_require__(53366);
var fails = __webpack_require__(54397);
var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
// `Object.keys` method
// https://tc39.es/ecma262/#sec-object.keys
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
keys: function keys(it) {
return nativeKeys(toObject(it));
}
});
/***/ }),
/***/ 97717:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var setPrototypeOf = __webpack_require__(74461);
// `Object.setPrototypeOf` method
// https://tc39.es/ecma262/#sec-object.setprototypeof
$({ target: 'Object', stat: true }, {
setPrototypeOf: setPrototypeOf
});
/***/ }),
/***/ 24329:
/***/ (function() {
// empty
/***/ }),
/***/ 79304:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var $values = (__webpack_require__(19127).values);
// `Object.values` method
// https://tc39.es/ecma262/#sec-object.values
$({ target: 'Object', stat: true }, {
values: function values(O) {
return $values(O);
}
});
/***/ }),
/***/ 20650:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var $parseInt = __webpack_require__(21961);
// `parseInt` method
// https://tc39.es/ecma262/#sec-parseint-string-radix
$({ global: true, forced: parseInt !== $parseInt }, {
parseInt: $parseInt
});
/***/ }),
/***/ 30725:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var call = __webpack_require__(8763);
var aCallable = __webpack_require__(68044);
var newPromiseCapabilityModule = __webpack_require__(61105);
var perform = __webpack_require__(47029);
var iterate = __webpack_require__(83878);
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(98379);
// `Promise.allSettled` method
// https://tc39.es/ecma262/#sec-promise.allsettled
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
allSettled: function allSettled(iterable) {
var C = this;
var capability = newPromiseCapabilityModule.f(C);
var resolve = capability.resolve;
var reject = capability.reject;
var result = perform(function () {
var promiseResolve = aCallable(C.resolve);
var values = [];
var counter = 0;
var remaining = 1;
iterate(iterable, function (promise) {
var index = counter++;
var alreadyCalled = false;
remaining++;
call(promiseResolve, C, promise).then(function (value) {
if (alreadyCalled) return;
alreadyCalled = true;
values[index] = { status: 'fulfilled', value: value };
--remaining || resolve(values);
}, function (error) {
if (alreadyCalled) return;
alreadyCalled = true;
values[index] = { status: 'rejected', reason: error };
--remaining || resolve(values);
});
});
--remaining || resolve(values);
});
if (result.error) reject(result.value);
return capability.promise;
}
});
/***/ }),
/***/ 52861:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var call = __webpack_require__(8763);
var aCallable = __webpack_require__(68044);
var newPromiseCapabilityModule = __webpack_require__(61105);
var perform = __webpack_require__(47029);
var iterate = __webpack_require__(83878);
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(98379);
// `Promise.all` method
// https://tc39.es/ecma262/#sec-promise.all
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
all: function all(iterable) {
var C = this;
var capability = newPromiseCapabilityModule.f(C);
var resolve = capability.resolve;
var reject = capability.reject;
var result = perform(function () {
var $promiseResolve = aCallable(C.resolve);
var values = [];
var counter = 0;
var remaining = 1;
iterate(iterable, function (promise) {
var index = counter++;
var alreadyCalled = false;
remaining++;
call($promiseResolve, C, promise).then(function (value) {
if (alreadyCalled) return;
alreadyCalled = true;
values[index] = value;
--remaining || resolve(values);
}, reject);
});
--remaining || resolve(values);
});
if (result.error) reject(result.value);
return capability.promise;
}
});
/***/ }),
/***/ 55204:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var call = __webpack_require__(8763);
var aCallable = __webpack_require__(68044);
var getBuiltIn = __webpack_require__(29029);
var newPromiseCapabilityModule = __webpack_require__(61105);
var perform = __webpack_require__(47029);
var iterate = __webpack_require__(83878);
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(98379);
var PROMISE_ANY_ERROR = 'No one promise resolved';
// `Promise.any` method
// https://tc39.es/ecma262/#sec-promise.any
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
any: function any(iterable) {
var C = this;
var AggregateError = getBuiltIn('AggregateError');
var capability = newPromiseCapabilityModule.f(C);
var resolve = capability.resolve;
var reject = capability.reject;
var result = perform(function () {
var promiseResolve = aCallable(C.resolve);
var errors = [];
var counter = 0;
var remaining = 1;
var alreadyResolved = false;
iterate(iterable, function (promise) {
var index = counter++;
var alreadyRejected = false;
remaining++;
call(promiseResolve, C, promise).then(function (value) {
if (alreadyRejected || alreadyResolved) return;
alreadyResolved = true;
resolve(value);
}, function (error) {
if (alreadyRejected || alreadyResolved) return;
alreadyRejected = true;
errors[index] = error;
--remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));
});
});
--remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));
});
if (result.error) reject(result.value);
return capability.promise;
}
});
/***/ }),
/***/ 25205:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var IS_PURE = __webpack_require__(24689);
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(59090).CONSTRUCTOR);
var NativePromiseConstructor = __webpack_require__(59140);
var getBuiltIn = __webpack_require__(29029);
var isCallable = __webpack_require__(39047);
var defineBuiltIn = __webpack_require__(43558);
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
// `Promise.prototype.catch` method
// https://tc39.es/ecma262/#sec-promise.prototype.catch
$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {
'catch': function (onRejected) {
return this.then(undefined, onRejected);
}
});
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
if (!IS_PURE && isCallable(NativePromiseConstructor)) {
var method = getBuiltIn('Promise').prototype['catch'];
if (NativePromisePrototype['catch'] !== method) {
defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });
}
}
/***/ }),
/***/ 86086:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var IS_PURE = __webpack_require__(24689);
var IS_NODE = __webpack_require__(13219);
var globalThis = __webpack_require__(52382);
var call = __webpack_require__(8763);
var defineBuiltIn = __webpack_require__(43558);
var setPrototypeOf = __webpack_require__(74461);
var setToStringTag = __webpack_require__(6841);
var setSpecies = __webpack_require__(81695);
var aCallable = __webpack_require__(68044);
var isCallable = __webpack_require__(39047);
var isObject = __webpack_require__(22716);
var anInstance = __webpack_require__(11433);
var speciesConstructor = __webpack_require__(72799);
var task = (__webpack_require__(44899).set);
var microtask = __webpack_require__(30213);
var hostReportErrors = __webpack_require__(83967);
var perform = __webpack_require__(47029);
var Queue = __webpack_require__(99447);
var InternalStateModule = __webpack_require__(67159);
var NativePromiseConstructor = __webpack_require__(59140);
var PromiseConstructorDetection = __webpack_require__(59090);
var newPromiseCapabilityModule = __webpack_require__(61105);
var PROMISE = 'Promise';
var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;
var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
var setInternalState = InternalStateModule.set;
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
var PromiseConstructor = NativePromiseConstructor;
var PromisePrototype = NativePromisePrototype;
var TypeError = globalThis.TypeError;
var document = globalThis.document;
var process = globalThis.process;
var newPromiseCapability = newPromiseCapabilityModule.f;
var newGenericPromiseCapability = newPromiseCapability;
var DISPATCH_EVENT = !!(document && document.createEvent && globalThis.dispatchEvent);
var UNHANDLED_REJECTION = 'unhandledrejection';
var REJECTION_HANDLED = 'rejectionhandled';
var PENDING = 0;
var FULFILLED = 1;
var REJECTED = 2;
var HANDLED = 1;
var UNHANDLED = 2;
var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
// helpers
var isThenable = function (it) {
var then;
return isObject(it) && isCallable(then = it.then) ? then : false;
};
var callReaction = function (reaction, state) {
var value = state.value;
var ok = state.state === FULFILLED;
var handler = ok ? reaction.ok : reaction.fail;
var resolve = reaction.resolve;
var reject = reaction.reject;
var domain = reaction.domain;
var result, then, exited;
try {
if (handler) {
if (!ok) {
if (state.rejection === UNHANDLED) onHandleUnhandled(state);
state.rejection = HANDLED;
}
if (handler === true) result = value;
else {
if (domain) domain.enter();
result = handler(value); // can throw
if (domain) {
domain.exit();
exited = true;
}
}
if (result === reaction.promise) {
reject(new TypeError('Promise-chain cycle'));
} else if (then = isThenable(result)) {
call(then, result, resolve, reject);
} else resolve(result);
} else reject(value);
} catch (error) {
if (domain && !exited) domain.exit();
reject(error);
}
};
var notify = function (state, isReject) {
if (state.notified) return;
state.notified = true;
microtask(function () {
var reactions = state.reactions;
var reaction;
while (reaction = reactions.get()) {
callReaction(reaction, state);
}
state.notified = false;
if (isReject && !state.rejection) onUnhandled(state);
});
};
var dispatchEvent = function (name, promise, reason) {
var event, handler;
if (DISPATCH_EVENT) {
event = document.createEvent('Event');
event.promise = promise;
event.reason = reason;
event.initEvent(name, false, true);
globalThis.dispatchEvent(event);
} else event = { promise: promise, reason: reason };
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = globalThis['on' + name])) handler(event);
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
};
var onUnhandled = function (state) {
call(task, globalThis, function () {
var promise = state.facade;
var value = state.value;
var IS_UNHANDLED = isUnhandled(state);
var result;
if (IS_UNHANDLED) {
result = perform(function () {
if (IS_NODE) {
process.emit('unhandledRejection', value, promise);
} else dispatchEvent(UNHANDLED_REJECTION, promise, value);
});
// Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
if (result.error) throw result.value;
}
});
};
var isUnhandled = function (state) {
return state.rejection !== HANDLED && !state.parent;
};
var onHandleUnhandled = function (state) {
call(task, globalThis, function () {
var promise = state.facade;
if (IS_NODE) {
process.emit('rejectionHandled', promise);
} else dispatchEvent(REJECTION_HANDLED, promise, state.value);
});
};
var bind = function (fn, state, unwrap) {
return function (value) {
fn(state, value, unwrap);
};
};
var internalReject = function (state, value, unwrap) {
if (state.done) return;
state.done = true;
if (unwrap) state = unwrap;
state.value = value;
state.state = REJECTED;
notify(state, true);
};
var internalResolve = function (state, value, unwrap) {
if (state.done) return;
state.done = true;
if (unwrap) state = unwrap;
try {
if (state.facade === value) throw new TypeError("Promise can't be resolved itself");
var then = isThenable(value);
if (then) {
microtask(function () {
var wrapper = { done: false };
try {
call(then, value,
bind(internalResolve, wrapper, state),
bind(internalReject, wrapper, state)
);
} catch (error) {
internalReject(wrapper, error, state);
}
});
} else {
state.value = value;
state.state = FULFILLED;
notify(state, false);
}
} catch (error) {
internalReject({ done: false }, error, state);
}
};
// constructor polyfill
if (FORCED_PROMISE_CONSTRUCTOR) {
// 25.4.3.1 Promise(executor)
PromiseConstructor = function Promise(executor) {
anInstance(this, PromisePrototype);
aCallable(executor);
call(Internal, this);
var state = getInternalPromiseState(this);
try {
executor(bind(internalResolve, state), bind(internalReject, state));
} catch (error) {
internalReject(state, error);
}
};
PromisePrototype = PromiseConstructor.prototype;
// eslint-disable-next-line no-unused-vars -- required for `.length`
Internal = function Promise(executor) {
setInternalState(this, {
type: PROMISE,
done: false,
notified: false,
parent: false,
reactions: new Queue(),
rejection: false,
state: PENDING,
value: null
});
};
// `Promise.prototype.then` method
// https://tc39.es/ecma262/#sec-promise.prototype.then
Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
var state = getInternalPromiseState(this);
var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
state.parent = true;
reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
reaction.fail = isCallable(onRejected) && onRejected;
reaction.domain = IS_NODE ? process.domain : undefined;
if (state.state === PENDING) state.reactions.add(reaction);
else microtask(function () {
callReaction(reaction, state);
});
return reaction.promise;
});
OwnPromiseCapability = function () {
var promise = new Internal();
var state = getInternalPromiseState(promise);
this.promise = promise;
this.resolve = bind(internalResolve, state);
this.reject = bind(internalReject, state);
};
newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
return C === PromiseConstructor || C === PromiseWrapper
? new OwnPromiseCapability(C)
: newGenericPromiseCapability(C);
};
if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {
nativeThen = NativePromisePrototype.then;
if (!NATIVE_PROMISE_SUBCLASSING) {
// make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
var that = this;
return new PromiseConstructor(function (resolve, reject) {
call(nativeThen, that, resolve, reject);
}).then(onFulfilled, onRejected);
// https://github.com/zloirock/core-js/issues/640
}, { unsafe: true });
}
// make `.constructor === Promise` work for native promise-based APIs
try {
delete NativePromisePrototype.constructor;
} catch (error) { /* empty */ }
// make `instanceof Promise` work for native promise-based APIs
if (setPrototypeOf) {
setPrototypeOf(NativePromisePrototype, PromisePrototype);
}
}
}
// `Promise` constructor
// https://tc39.es/ecma262/#sec-promise-executor
$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
Promise: PromiseConstructor
});
setToStringTag(PromiseConstructor, PROMISE, false, true);
setSpecies(PROMISE);
/***/ }),
/***/ 10129:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var IS_PURE = __webpack_require__(24689);
var NativePromiseConstructor = __webpack_require__(59140);
var fails = __webpack_require__(54397);
var getBuiltIn = __webpack_require__(29029);
var isCallable = __webpack_require__(39047);
var speciesConstructor = __webpack_require__(72799);
var promiseResolve = __webpack_require__(83624);
var defineBuiltIn = __webpack_require__(43558);
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829
var NON_GENERIC = !!NativePromiseConstructor && fails(function () {
// eslint-disable-next-line unicorn/no-thenable -- required for testing
NativePromisePrototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });
});
// `Promise.prototype.finally` method
// https://tc39.es/ecma262/#sec-promise.prototype.finally
$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {
'finally': function (onFinally) {
var C = speciesConstructor(this, getBuiltIn('Promise'));
var isFunction = isCallable(onFinally);
return this.then(
isFunction ? function (x) {
return promiseResolve(C, onFinally()).then(function () { return x; });
} : onFinally,
isFunction ? function (e) {
return promiseResolve(C, onFinally()).then(function () { throw e; });
} : onFinally
);
}
});
// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`
if (!IS_PURE && isCallable(NativePromiseConstructor)) {
var method = getBuiltIn('Promise').prototype['finally'];
if (NativePromisePrototype['finally'] !== method) {
defineBuiltIn(NativePromisePrototype, 'finally', method, { unsafe: true });
}
}
/***/ }),
/***/ 25368:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove this module from `core-js@4` since it's split to modules listed below
__webpack_require__(86086);
__webpack_require__(52861);
__webpack_require__(25205);
__webpack_require__(36501);
__webpack_require__(2403);
__webpack_require__(94826);
/***/ }),
/***/ 36501:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var call = __webpack_require__(8763);
var aCallable = __webpack_require__(68044);
var newPromiseCapabilityModule = __webpack_require__(61105);
var perform = __webpack_require__(47029);
var iterate = __webpack_require__(83878);
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(98379);
// `Promise.race` method
// https://tc39.es/ecma262/#sec-promise.race
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
race: function race(iterable) {
var C = this;
var capability = newPromiseCapabilityModule.f(C);
var reject = capability.reject;
var result = perform(function () {
var $promiseResolve = aCallable(C.resolve);
iterate(iterable, function (promise) {
call($promiseResolve, C, promise).then(capability.resolve, reject);
});
});
if (result.error) reject(result.value);
return capability.promise;
}
});
/***/ }),
/***/ 2403:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var newPromiseCapabilityModule = __webpack_require__(61105);
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(59090).CONSTRUCTOR);
// `Promise.reject` method
// https://tc39.es/ecma262/#sec-promise.reject
$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
reject: function reject(r) {
var capability = newPromiseCapabilityModule.f(this);
var capabilityReject = capability.reject;
capabilityReject(r);
return capability.promise;
}
});
/***/ }),
/***/ 94826:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var getBuiltIn = __webpack_require__(29029);
var IS_PURE = __webpack_require__(24689);
var NativePromiseConstructor = __webpack_require__(59140);
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(59090).CONSTRUCTOR);
var promiseResolve = __webpack_require__(83624);
var PromiseConstructorWrapper = getBuiltIn('Promise');
var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;
// `Promise.resolve` method
// https://tc39.es/ecma262/#sec-promise.resolve
$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {
resolve: function resolve(x) {
return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);
}
});
/***/ }),
/***/ 40375:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var globalThis = __webpack_require__(52382);
var apply = __webpack_require__(72007);
var slice = __webpack_require__(5870);
var newPromiseCapabilityModule = __webpack_require__(61105);
var aCallable = __webpack_require__(68044);
var perform = __webpack_require__(47029);
var Promise = globalThis.Promise;
var ACCEPT_ARGUMENTS = false;
// Avoiding the use of polyfills of the previous iteration of this proposal
// that does not accept arguments of the callback
var FORCED = !Promise || !Promise['try'] || perform(function () {
Promise['try'](function (argument) {
ACCEPT_ARGUMENTS = argument === 8;
}, 8);
}).error || !ACCEPT_ARGUMENTS;
// `Promise.try` method
// https://tc39.es/ecma262/#sec-promise.try
$({ target: 'Promise', stat: true, forced: FORCED }, {
'try': function (callbackfn /* , ...args */) {
var args = arguments.length > 1 ? slice(arguments, 1) : [];
var promiseCapability = newPromiseCapabilityModule.f(this);
var result = perform(function () {
return apply(aCallable(callbackfn), undefined, args);
});
(result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value);
return promiseCapability.promise;
}
});
/***/ }),
/***/ 29118:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var newPromiseCapabilityModule = __webpack_require__(61105);
// `Promise.withResolvers` method
// https://tc39.es/ecma262/#sec-promise.withResolvers
$({ target: 'Promise', stat: true }, {
withResolvers: function withResolvers() {
var promiseCapability = newPromiseCapabilityModule.f(this);
return {
promise: promiseCapability.promise,
resolve: promiseCapability.resolve,
reject: promiseCapability.reject
};
}
});
/***/ }),
/***/ 85931:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var getBuiltIn = __webpack_require__(29029);
var apply = __webpack_require__(72007);
var bind = __webpack_require__(10816);
var aConstructor = __webpack_require__(61474);
var anObject = __webpack_require__(75905);
var isObject = __webpack_require__(22716);
var create = __webpack_require__(11910);
var fails = __webpack_require__(54397);
var nativeConstruct = getBuiltIn('Reflect', 'construct');
var ObjectPrototype = Object.prototype;
var push = [].push;
// `Reflect.construct` method
// https://tc39.es/ecma262/#sec-reflect.construct
// MS Edge supports only 2 arguments and argumentsList argument is optional
// FF Nightly sets third argument as `new.target`, but does not create `this` from it
var NEW_TARGET_BUG = fails(function () {
function F() { /* empty */ }
return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);
});
var ARGS_BUG = !fails(function () {
nativeConstruct(function () { /* empty */ });
});
var FORCED = NEW_TARGET_BUG || ARGS_BUG;
$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {
construct: function construct(Target, args /* , newTarget */) {
aConstructor(Target);
anObject(args);
var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);
if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);
if (Target === newTarget) {
// w/o altered newTarget, optimization for 0-4 arguments
switch (args.length) {
case 0: return new Target();
case 1: return new Target(args[0]);
case 2: return new Target(args[0], args[1]);
case 3: return new Target(args[0], args[1], args[2]);
case 4: return new Target(args[0], args[1], args[2], args[3]);
}
// w/o altered newTarget, lot of arguments case
var $args = [null];
apply(push, $args, args);
return new (apply(bind, Target, $args))();
}
// with altered newTarget, not support built-in constructors
var proto = newTarget.prototype;
var instance = create(isObject(proto) ? proto : ObjectPrototype);
var result = apply(Target, instance, args);
return isObject(result) ? result : instance;
}
});
/***/ }),
/***/ 51594:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var call = __webpack_require__(8763);
var anObject = __webpack_require__(75905);
var isObject = __webpack_require__(22716);
var isDataDescriptor = __webpack_require__(66153);
var fails = __webpack_require__(54397);
var definePropertyModule = __webpack_require__(36255);
var getOwnPropertyDescriptorModule = __webpack_require__(54077);
var getPrototypeOf = __webpack_require__(27409);
var createPropertyDescriptor = __webpack_require__(44934);
// `Reflect.set` method
// https://tc39.es/ecma262/#sec-reflect.set
function set(target, propertyKey, V /* , receiver */) {
var receiver = arguments.length < 4 ? target : arguments[3];
var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);
var existingDescriptor, prototype, setter;
if (!ownDescriptor) {
if (isObject(prototype = getPrototypeOf(target))) {
return set(prototype, propertyKey, V, receiver);
}
ownDescriptor = createPropertyDescriptor(0);
}
if (isDataDescriptor(ownDescriptor)) {
if (ownDescriptor.writable === false || !isObject(receiver)) return false;
if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) {
if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;
existingDescriptor.value = V;
definePropertyModule.f(receiver, propertyKey, existingDescriptor);
} else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V));
} else {
setter = ownDescriptor.set;
if (setter === undefined) return false;
call(setter, receiver, V);
} return true;
}
// MS Edge 17-18 Reflect.set allows setting the property to object
// with non-writable property on the prototype
var MS_EDGE_BUG = fails(function () {
var Constructor = function () { /* empty */ };
var object = definePropertyModule.f(new Constructor(), 'a', { configurable: true });
// eslint-disable-next-line es/no-reflect -- required for testing
return Reflect.set(Constructor.prototype, 'a', 1, object) !== false;
});
$({ target: 'Reflect', stat: true, forced: MS_EDGE_BUG }, {
set: set
});
/***/ }),
/***/ 89642:
/***/ (function() {
// empty
/***/ }),
/***/ 84511:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var collection = __webpack_require__(94314);
var collectionStrong = __webpack_require__(69328);
// `Set` constructor
// https://tc39.es/ecma262/#sec-set-objects
collection('Set', function (init) {
return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };
}, collectionStrong);
/***/ }),
/***/ 64316:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var difference = __webpack_require__(12242);
var setMethodAcceptSetLike = __webpack_require__(53582);
// `Set.prototype.difference` method
// https://tc39.es/ecma262/#sec-set.prototype.difference
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('difference') }, {
difference: difference
});
/***/ }),
/***/ 58250:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var fails = __webpack_require__(54397);
var intersection = __webpack_require__(6220);
var setMethodAcceptSetLike = __webpack_require__(53582);
var INCORRECT = !setMethodAcceptSetLike('intersection') || fails(function () {
// eslint-disable-next-line es/no-array-from, es/no-set -- testing
return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
});
// `Set.prototype.intersection` method
// https://tc39.es/ecma262/#sec-set.prototype.intersection
$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
intersection: intersection
});
/***/ }),
/***/ 24307:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var isDisjointFrom = __webpack_require__(55319);
var setMethodAcceptSetLike = __webpack_require__(53582);
// `Set.prototype.isDisjointFrom` method
// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isDisjointFrom') }, {
isDisjointFrom: isDisjointFrom
});
/***/ }),
/***/ 98842:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var isSubsetOf = __webpack_require__(86108);
var setMethodAcceptSetLike = __webpack_require__(53582);
// `Set.prototype.isSubsetOf` method
// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSubsetOf') }, {
isSubsetOf: isSubsetOf
});
/***/ }),
/***/ 45049:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var isSupersetOf = __webpack_require__(15341);
var setMethodAcceptSetLike = __webpack_require__(53582);
// `Set.prototype.isSupersetOf` method
// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSupersetOf') }, {
isSupersetOf: isSupersetOf
});
/***/ }),
/***/ 17405:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove this module from `core-js@4` since it's replaced to module below
__webpack_require__(84511);
/***/ }),
/***/ 60206:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var symmetricDifference = __webpack_require__(20464);
var setMethodAcceptSetLike = __webpack_require__(53582);
// `Set.prototype.symmetricDifference` method
// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, {
symmetricDifference: symmetricDifference
});
/***/ }),
/***/ 58176:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var union = __webpack_require__(46314);
var setMethodAcceptSetLike = __webpack_require__(53582);
// `Set.prototype.union` method
// https://tc39.es/ecma262/#sec-set.prototype.union
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
union: union
});
/***/ }),
/***/ 7127:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var uncurryThis = __webpack_require__(55830);
var getOwnPropertyDescriptor = (__webpack_require__(54077).f);
var toLength = __webpack_require__(36424);
var toString = __webpack_require__(28873);
var notARegExp = __webpack_require__(10697);
var requireObjectCoercible = __webpack_require__(26876);
var correctIsRegExpLogic = __webpack_require__(16926);
var IS_PURE = __webpack_require__(24689);
var slice = uncurryThis(''.slice);
var min = Math.min;
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');
// https://github.com/zloirock/core-js/pull/702
var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');
return descriptor && !descriptor.writable;
}();
// `String.prototype.endsWith` method
// https://tc39.es/ecma262/#sec-string.prototype.endswith
$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
endsWith: function endsWith(searchString /* , endPosition = @length */) {
var that = toString(requireObjectCoercible(this));
notARegExp(searchString);
var endPosition = arguments.length > 1 ? arguments[1] : undefined;
var len = that.length;
var end = endPosition === undefined ? len : min(toLength(endPosition), len);
var search = toString(searchString);
return slice(that, end - search.length, end) === search;
}
});
/***/ }),
/***/ 87399:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var uncurryThis = __webpack_require__(44974);
var toAbsoluteIndex = __webpack_require__(40740);
var $RangeError = RangeError;
var fromCharCode = String.fromCharCode;
// eslint-disable-next-line es/no-string-fromcodepoint -- required for testing
var $fromCodePoint = String.fromCodePoint;
var join = uncurryThis([].join);
// length should be 1, old FF problem
var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length !== 1;
// `String.fromCodePoint` method
// https://tc39.es/ecma262/#sec-string.fromcodepoint
$({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, {
// eslint-disable-next-line no-unused-vars -- required for `.length`
fromCodePoint: function fromCodePoint(x) {
var elements = [];
var length = arguments.length;
var i = 0;
var code;
while (length > i) {
code = +arguments[i++];
if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw new $RangeError(code + ' is not a valid code point');
elements[i] = code < 0x10000
? fromCharCode(code)
: fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00);
} return join(elements, '');
}
});
/***/ }),
/***/ 11661:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var uncurryThis = __webpack_require__(44974);
var notARegExp = __webpack_require__(10697);
var requireObjectCoercible = __webpack_require__(26876);
var toString = __webpack_require__(28873);
var correctIsRegExpLogic = __webpack_require__(16926);
var stringIndexOf = uncurryThis(''.indexOf);
// `String.prototype.includes` method
// https://tc39.es/ecma262/#sec-string.prototype.includes
$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
includes: function includes(searchString /* , position = 0 */) {
return !!~stringIndexOf(
toString(requireObjectCoercible(this)),
toString(notARegExp(searchString)),
arguments.length > 1 ? arguments[1] : undefined
);
}
});
/***/ }),
/***/ 94894:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var charAt = (__webpack_require__(90461).charAt);
var toString = __webpack_require__(28873);
var InternalStateModule = __webpack_require__(67159);
var defineIterator = __webpack_require__(74418);
var createIterResultObject = __webpack_require__(12715);
var STRING_ITERATOR = 'String Iterator';
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
// `String.prototype[@@iterator]` method
// https://tc39.es/ecma262/#sec-string.prototype-@@iterator
defineIterator(String, 'String', function (iterated) {
setInternalState(this, {
type: STRING_ITERATOR,
string: toString(iterated),
index: 0
});
// `%StringIteratorPrototype%.next` method
// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
}, function next() {
var state = getInternalState(this);
var string = state.string;
var index = state.index;
var point;
if (index >= string.length) return createIterResultObject(undefined, true);
point = charAt(string, index);
state.index += point.length;
return createIterResultObject(point, false);
});
/***/ }),
/***/ 67266:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var uncurryThis = __webpack_require__(55830);
var getOwnPropertyDescriptor = (__webpack_require__(54077).f);
var toLength = __webpack_require__(36424);
var toString = __webpack_require__(28873);
var notARegExp = __webpack_require__(10697);
var requireObjectCoercible = __webpack_require__(26876);
var correctIsRegExpLogic = __webpack_require__(16926);
var IS_PURE = __webpack_require__(24689);
var stringSlice = uncurryThis(''.slice);
var min = Math.min;
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
// https://github.com/zloirock/core-js/pull/702
var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');
return descriptor && !descriptor.writable;
}();
// `String.prototype.startsWith` method
// https://tc39.es/ecma262/#sec-string.prototype.startswith
$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
startsWith: function startsWith(searchString /* , position = 0 */) {
var that = toString(requireObjectCoercible(this));
notARegExp(searchString);
var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));
var search = toString(searchString);
return stringSlice(that, index, index + search.length) === search;
}
});
/***/ }),
/***/ 46588:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var $trim = (__webpack_require__(21140).trim);
var forcedStringTrimMethod = __webpack_require__(20680);
// `String.prototype.trim` method
// https://tc39.es/ecma262/#sec-string.prototype.trim
$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
trim: function trim() {
return $trim(this);
}
});
/***/ }),
/***/ 60478:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.asyncIterator` well-known symbol
// https://tc39.es/ecma262/#sec-symbol.asynciterator
defineWellKnownSymbol('asyncIterator');
/***/ }),
/***/ 47887:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var globalThis = __webpack_require__(52382);
var call = __webpack_require__(8763);
var uncurryThis = __webpack_require__(44974);
var IS_PURE = __webpack_require__(24689);
var DESCRIPTORS = __webpack_require__(89106);
var NATIVE_SYMBOL = __webpack_require__(19097);
var fails = __webpack_require__(54397);
var hasOwn = __webpack_require__(64695);
var isPrototypeOf = __webpack_require__(35443);
var anObject = __webpack_require__(75905);
var toIndexedObject = __webpack_require__(31091);
var toPropertyKey = __webpack_require__(94907);
var $toString = __webpack_require__(28873);
var createPropertyDescriptor = __webpack_require__(44934);
var nativeObjectCreate = __webpack_require__(11910);
var objectKeys = __webpack_require__(53366);
var getOwnPropertyNamesModule = __webpack_require__(72882);
var getOwnPropertyNamesExternal = __webpack_require__(20952);
var getOwnPropertySymbolsModule = __webpack_require__(70119);
var getOwnPropertyDescriptorModule = __webpack_require__(54077);
var definePropertyModule = __webpack_require__(36255);
var definePropertiesModule = __webpack_require__(59795);
var propertyIsEnumerableModule = __webpack_require__(71439);
var defineBuiltIn = __webpack_require__(43558);
var defineBuiltInAccessor = __webpack_require__(23428);
var shared = __webpack_require__(69779);
var sharedKey = __webpack_require__(31373);
var hiddenKeys = __webpack_require__(11703);
var uid = __webpack_require__(48062);
var wellKnownSymbol = __webpack_require__(7325);
var wrappedWellKnownSymbolModule = __webpack_require__(54809);
var defineWellKnownSymbol = __webpack_require__(10525);
var defineSymbolToPrimitive = __webpack_require__(10052);
var setToStringTag = __webpack_require__(6841);
var InternalStateModule = __webpack_require__(67159);
var $forEach = (__webpack_require__(72727).forEach);
var HIDDEN = sharedKey('hidden');
var SYMBOL = 'Symbol';
var PROTOTYPE = 'prototype';
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(SYMBOL);
var ObjectPrototype = Object[PROTOTYPE];
var $Symbol = globalThis.Symbol;
var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];
var RangeError = globalThis.RangeError;
var TypeError = globalThis.TypeError;
var QObject = globalThis.QObject;
var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
var nativeDefineProperty = definePropertyModule.f;
var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;
var push = uncurryThis([].push);
var AllSymbols = shared('symbols');
var ObjectPrototypeSymbols = shared('op-symbols');
var WellKnownSymbolsStore = shared('wks');
// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
var fallbackDefineProperty = function (O, P, Attributes) {
var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);
if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];
nativeDefineProperty(O, P, Attributes);
if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {
nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);
}
};
var setSymbolDescriptor = DESCRIPTORS && fails(function () {
return nativeObjectCreate(nativeDefineProperty({}, 'a', {
get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
})).a !== 7;
}) ? fallbackDefineProperty : nativeDefineProperty;
var wrap = function (tag, description) {
var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);
setInternalState(symbol, {
type: SYMBOL,
tag: tag,
description: description
});
if (!DESCRIPTORS) symbol.description = description;
return symbol;
};
var $defineProperty = function defineProperty(O, P, Attributes) {
if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
anObject(O);
var key = toPropertyKey(P);
anObject(Attributes);
if (hasOwn(AllSymbols, key)) {
if (!Attributes.enumerable) {
if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, nativeObjectCreate(null)));
O[HIDDEN][key] = true;
} else {
if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });
} return setSymbolDescriptor(O, key, Attributes);
} return nativeDefineProperty(O, key, Attributes);
};
var $defineProperties = function defineProperties(O, Properties) {
anObject(O);
var properties = toIndexedObject(Properties);
var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));
$forEach(keys, function (key) {
if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);
});
return O;
};
var $create = function create(O, Properties) {
return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
};
var $propertyIsEnumerable = function propertyIsEnumerable(V) {
var P = toPropertyKey(V);
var enumerable = call(nativePropertyIsEnumerable, this, P);
if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;
return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]
? enumerable : true;
};
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
var it = toIndexedObject(O);
var key = toPropertyKey(P);
if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;
var descriptor = nativeGetOwnPropertyDescriptor(it, key);
if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {
descriptor.enumerable = true;
}
return descriptor;
};
var $getOwnPropertyNames = function getOwnPropertyNames(O) {
var names = nativeGetOwnPropertyNames(toIndexedObject(O));
var result = [];
$forEach(names, function (key) {
if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);
});
return result;
};
var $getOwnPropertySymbols = function (O) {
var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;
var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));
var result = [];
$forEach(names, function (key) {
if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {
push(result, AllSymbols[key]);
}
});
return result;
};
// `Symbol` constructor
// https://tc39.es/ecma262/#sec-symbol-constructor
if (!NATIVE_SYMBOL) {
$Symbol = function Symbol() {
if (isPrototypeOf(SymbolPrototype, this)) throw new TypeError('Symbol is not a constructor');
var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);
var tag = uid(description);
var setter = function (value) {
var $this = this === undefined ? globalThis : this;
if ($this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);
if (hasOwn($this, HIDDEN) && hasOwn($this[HIDDEN], tag)) $this[HIDDEN][tag] = false;
var descriptor = createPropertyDescriptor(1, value);
try {
setSymbolDescriptor($this, tag, descriptor);
} catch (error) {
if (!(error instanceof RangeError)) throw error;
fallbackDefineProperty($this, tag, descriptor);
}
};
if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });
return wrap(tag, description);
};
SymbolPrototype = $Symbol[PROTOTYPE];
defineBuiltIn(SymbolPrototype, 'toString', function toString() {
return getInternalState(this).tag;
});
defineBuiltIn($Symbol, 'withoutSetter', function (description) {
return wrap(uid(description), description);
});
propertyIsEnumerableModule.f = $propertyIsEnumerable;
definePropertyModule.f = $defineProperty;
definePropertiesModule.f = $defineProperties;
getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;
getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;
wrappedWellKnownSymbolModule.f = function (name) {
return wrap(wellKnownSymbol(name), name);
};
if (DESCRIPTORS) {
// https://github.com/tc39/proposal-Symbol-description
defineBuiltInAccessor(SymbolPrototype, 'description', {
configurable: true,
get: function description() {
return getInternalState(this).description;
}
});
if (!IS_PURE) {
defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
}
}
}
$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {
Symbol: $Symbol
});
$forEach(objectKeys(WellKnownSymbolsStore), function (name) {
defineWellKnownSymbol(name);
});
$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
useSetter: function () { USE_SETTER = true; },
useSimple: function () { USE_SETTER = false; }
});
$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {
// `Object.create` method
// https://tc39.es/ecma262/#sec-object.create
create: $create,
// `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
defineProperty: $defineProperty,
// `Object.defineProperties` method
// https://tc39.es/ecma262/#sec-object.defineproperties
defineProperties: $defineProperties,
// `Object.getOwnPropertyDescriptor` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
getOwnPropertyDescriptor: $getOwnPropertyDescriptor
});
$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
// `Object.getOwnPropertyNames` method
// https://tc39.es/ecma262/#sec-object.getownpropertynames
getOwnPropertyNames: $getOwnPropertyNames
});
// `Symbol.prototype[@@toPrimitive]` method
// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
defineSymbolToPrimitive();
// `Symbol.prototype[@@toStringTag]` property
// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag
setToStringTag($Symbol, SYMBOL);
hiddenKeys[HIDDEN] = true;
/***/ }),
/***/ 18289:
/***/ (function() {
// empty
/***/ }),
/***/ 80576:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var getBuiltIn = __webpack_require__(29029);
var hasOwn = __webpack_require__(64695);
var toString = __webpack_require__(28873);
var shared = __webpack_require__(69779);
var NATIVE_SYMBOL_REGISTRY = __webpack_require__(39054);
var StringToSymbolRegistry = shared('string-to-symbol-registry');
var SymbolToStringRegistry = shared('symbol-to-string-registry');
// `Symbol.for` method
// https://tc39.es/ecma262/#sec-symbol.for
$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {
'for': function (key) {
var string = toString(key);
if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
var symbol = getBuiltIn('Symbol')(string);
StringToSymbolRegistry[string] = symbol;
SymbolToStringRegistry[symbol] = string;
return symbol;
}
});
/***/ }),
/***/ 8567:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.hasInstance` well-known symbol
// https://tc39.es/ecma262/#sec-symbol.hasinstance
defineWellKnownSymbol('hasInstance');
/***/ }),
/***/ 51266:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.isConcatSpreadable` well-known symbol
// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable
defineWellKnownSymbol('isConcatSpreadable');
/***/ }),
/***/ 55201:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.iterator` well-known symbol
// https://tc39.es/ecma262/#sec-symbol.iterator
defineWellKnownSymbol('iterator');
/***/ }),
/***/ 45293:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove this module from `core-js@4` since it's split to modules listed below
__webpack_require__(47887);
__webpack_require__(80576);
__webpack_require__(63954);
__webpack_require__(89468);
__webpack_require__(5807);
/***/ }),
/***/ 63954:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var hasOwn = __webpack_require__(64695);
var isSymbol = __webpack_require__(87107);
var tryToString = __webpack_require__(48621);
var shared = __webpack_require__(69779);
var NATIVE_SYMBOL_REGISTRY = __webpack_require__(39054);
var SymbolToStringRegistry = shared('symbol-to-string-registry');
// `Symbol.keyFor` method
// https://tc39.es/ecma262/#sec-symbol.keyfor
$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {
keyFor: function keyFor(sym) {
if (!isSymbol(sym)) throw new TypeError(tryToString(sym) + ' is not a symbol');
if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
}
});
/***/ }),
/***/ 42032:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.matchAll` well-known symbol
// https://tc39.es/ecma262/#sec-symbol.matchall
defineWellKnownSymbol('matchAll');
/***/ }),
/***/ 41758:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.match` well-known symbol
// https://tc39.es/ecma262/#sec-symbol.match
defineWellKnownSymbol('match');
/***/ }),
/***/ 80603:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.replace` well-known symbol
// https://tc39.es/ecma262/#sec-symbol.replace
defineWellKnownSymbol('replace');
/***/ }),
/***/ 27239:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.search` well-known symbol
// https://tc39.es/ecma262/#sec-symbol.search
defineWellKnownSymbol('search');
/***/ }),
/***/ 49133:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.species` well-known symbol
// https://tc39.es/ecma262/#sec-symbol.species
defineWellKnownSymbol('species');
/***/ }),
/***/ 11123:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.split` well-known symbol
// https://tc39.es/ecma262/#sec-symbol.split
defineWellKnownSymbol('split');
/***/ }),
/***/ 7210:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
var defineSymbolToPrimitive = __webpack_require__(10052);
// `Symbol.toPrimitive` well-known symbol
// https://tc39.es/ecma262/#sec-symbol.toprimitive
defineWellKnownSymbol('toPrimitive');
// `Symbol.prototype[@@toPrimitive]` method
// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
defineSymbolToPrimitive();
/***/ }),
/***/ 13507:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var getBuiltIn = __webpack_require__(29029);
var defineWellKnownSymbol = __webpack_require__(10525);
var setToStringTag = __webpack_require__(6841);
// `Symbol.toStringTag` well-known symbol
// https://tc39.es/ecma262/#sec-symbol.tostringtag
defineWellKnownSymbol('toStringTag');
// `Symbol.prototype[@@toStringTag]` property
// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag
setToStringTag(getBuiltIn('Symbol'), 'Symbol');
/***/ }),
/***/ 9172:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.unscopables` well-known symbol
// https://tc39.es/ecma262/#sec-symbol.unscopables
defineWellKnownSymbol('unscopables');
/***/ }),
/***/ 29764:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var FREEZING = __webpack_require__(69702);
var globalThis = __webpack_require__(52382);
var uncurryThis = __webpack_require__(44974);
var defineBuiltIns = __webpack_require__(87277);
var InternalMetadataModule = __webpack_require__(92869);
var collection = __webpack_require__(94314);
var collectionWeak = __webpack_require__(70339);
var isObject = __webpack_require__(22716);
var enforceInternalState = (__webpack_require__(67159).enforce);
var fails = __webpack_require__(54397);
var NATIVE_WEAK_MAP = __webpack_require__(26568);
var $Object = Object;
// eslint-disable-next-line es/no-array-isarray -- safe
var isArray = Array.isArray;
// eslint-disable-next-line es/no-object-isextensible -- safe
var isExtensible = $Object.isExtensible;
// eslint-disable-next-line es/no-object-isfrozen -- safe
var isFrozen = $Object.isFrozen;
// eslint-disable-next-line es/no-object-issealed -- safe
var isSealed = $Object.isSealed;
// eslint-disable-next-line es/no-object-freeze -- safe
var freeze = $Object.freeze;
// eslint-disable-next-line es/no-object-seal -- safe
var seal = $Object.seal;
var IS_IE11 = !globalThis.ActiveXObject && 'ActiveXObject' in globalThis;
var InternalWeakMap;
var wrapper = function (init) {
return function WeakMap() {
return init(this, arguments.length ? arguments[0] : undefined);
};
};
// `WeakMap` constructor
// https://tc39.es/ecma262/#sec-weakmap-constructor
var $WeakMap = collection('WeakMap', wrapper, collectionWeak);
var WeakMapPrototype = $WeakMap.prototype;
var nativeSet = uncurryThis(WeakMapPrototype.set);
// Chakra Edge bug: adding frozen arrays to WeakMap unfreeze them
var hasMSEdgeFreezingBug = function () {
return FREEZING && fails(function () {
var frozenArray = freeze([]);
nativeSet(new $WeakMap(), frozenArray, 1);
return !isFrozen(frozenArray);
});
};
// IE11 WeakMap frozen keys fix
// We can't use feature detection because it crash some old IE builds
// https://github.com/zloirock/core-js/issues/485
if (NATIVE_WEAK_MAP) if (IS_IE11) {
InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);
InternalMetadataModule.enable();
var nativeDelete = uncurryThis(WeakMapPrototype['delete']);
var nativeHas = uncurryThis(WeakMapPrototype.has);
var nativeGet = uncurryThis(WeakMapPrototype.get);
defineBuiltIns(WeakMapPrototype, {
'delete': function (key) {
if (isObject(key) && !isExtensible(key)) {
var state = enforceInternalState(this);
if (!state.frozen) state.frozen = new InternalWeakMap();
return nativeDelete(this, key) || state.frozen['delete'](key);
} return nativeDelete(this, key);
},
has: function has(key) {
if (isObject(key) && !isExtensible(key)) {
var state = enforceInternalState(this);
if (!state.frozen) state.frozen = new InternalWeakMap();
return nativeHas(this, key) || state.frozen.has(key);
} return nativeHas(this, key);
},
get: function get(key) {
if (isObject(key) && !isExtensible(key)) {
var state = enforceInternalState(this);
if (!state.frozen) state.frozen = new InternalWeakMap();
return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key);
} return nativeGet(this, key);
},
set: function set(key, value) {
if (isObject(key) && !isExtensible(key)) {
var state = enforceInternalState(this);
if (!state.frozen) state.frozen = new InternalWeakMap();
nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value);
} else nativeSet(this, key, value);
return this;
}
});
// Chakra Edge frozen keys fix
} else if (hasMSEdgeFreezingBug()) {
defineBuiltIns(WeakMapPrototype, {
set: function set(key, value) {
var arrayIntegrityLevel;
if (isArray(key)) {
if (isFrozen(key)) arrayIntegrityLevel = freeze;
else if (isSealed(key)) arrayIntegrityLevel = seal;
}
nativeSet(this, key, value);
if (arrayIntegrityLevel) arrayIntegrityLevel(key);
return this;
}
});
}
/***/ }),
/***/ 65026:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove this module from `core-js@4` since it's replaced to module below
__webpack_require__(29764);
/***/ }),
/***/ 39956:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(95989);
/***/ }),
/***/ 22863:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var wellKnownSymbol = __webpack_require__(7325);
var defineProperty = (__webpack_require__(36255).f);
var METADATA = wellKnownSymbol('metadata');
var FunctionPrototype = Function.prototype;
// Function.prototype[@@metadata]
// https://github.com/tc39/proposal-decorator-metadata
if (FunctionPrototype[METADATA] === undefined) {
defineProperty(FunctionPrototype, METADATA, {
value: null
});
}
/***/ }),
/***/ 1278:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(52515);
/***/ }),
/***/ 91692:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(30725);
/***/ }),
/***/ 23473:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(55204);
/***/ }),
/***/ 29478:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(40375);
/***/ }),
/***/ 59733:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(29118);
/***/ }),
/***/ 84900:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.asyncDispose` well-known symbol
// https://github.com/tc39/proposal-async-explicit-resource-management
defineWellKnownSymbol('asyncDispose');
/***/ }),
/***/ 1678:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.customMatcher` well-known symbol
// https://github.com/tc39/proposal-pattern-matching
defineWellKnownSymbol('customMatcher');
/***/ }),
/***/ 27209:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.dispose` well-known symbol
// https://github.com/tc39/proposal-explicit-resource-management
defineWellKnownSymbol('dispose');
/***/ }),
/***/ 71108:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var isRegisteredSymbol = __webpack_require__(72244);
// `Symbol.isRegisteredSymbol` method
// https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol
$({ target: 'Symbol', stat: true }, {
isRegisteredSymbol: isRegisteredSymbol
});
/***/ }),
/***/ 88319:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var isRegisteredSymbol = __webpack_require__(72244);
// `Symbol.isRegistered` method
// obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol
$({ target: 'Symbol', stat: true, name: 'isRegisteredSymbol' }, {
isRegistered: isRegisteredSymbol
});
/***/ }),
/***/ 38094:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var isWellKnownSymbol = __webpack_require__(98674);
// `Symbol.isWellKnownSymbol` method
// https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol
// We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected
$({ target: 'Symbol', stat: true, forced: true }, {
isWellKnownSymbol: isWellKnownSymbol
});
/***/ }),
/***/ 3217:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var isWellKnownSymbol = __webpack_require__(98674);
// `Symbol.isWellKnown` method
// obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol
// We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected
$({ target: 'Symbol', stat: true, name: 'isWellKnownSymbol', forced: true }, {
isWellKnown: isWellKnownSymbol
});
/***/ }),
/***/ 67474:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.matcher` well-known symbol
// https://github.com/tc39/proposal-pattern-matching
defineWellKnownSymbol('matcher');
/***/ }),
/***/ 28921:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.metadataKey` well-known symbol
// https://github.com/tc39/proposal-decorator-metadata
defineWellKnownSymbol('metadataKey');
/***/ }),
/***/ 69439:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.metadata` well-known symbol
// https://github.com/tc39/proposal-decorators
defineWellKnownSymbol('metadata');
/***/ }),
/***/ 74055:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.observable` well-known symbol
// https://github.com/tc39/proposal-observable
defineWellKnownSymbol('observable');
/***/ }),
/***/ 94334:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: remove from `core-js@4`
var defineWellKnownSymbol = __webpack_require__(10525);
// `Symbol.patternMatch` well-known symbol
// https://github.com/tc39/proposal-pattern-matching
defineWellKnownSymbol('patternMatch');
/***/ }),
/***/ 85882:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: remove from `core-js@4`
var defineWellKnownSymbol = __webpack_require__(10525);
defineWellKnownSymbol('replaceAll');
/***/ }),
/***/ 46362:
/***/ (function() {
// empty
/***/ }),
/***/ 58955:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(96198);
var DOMIterables = __webpack_require__(58334);
var globalThis = __webpack_require__(52382);
var setToStringTag = __webpack_require__(6841);
var Iterators = __webpack_require__(11147);
for (var COLLECTION_NAME in DOMIterables) {
setToStringTag(globalThis[COLLECTION_NAME], COLLECTION_NAME);
Iterators[COLLECTION_NAME] = Iterators.Array;
}
/***/ }),
/***/ 20245:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var globalThis = __webpack_require__(52382);
var schedulersFix = __webpack_require__(67718);
var setInterval = schedulersFix(globalThis.setInterval, true);
// Bun / IE9- setInterval additional parameters fix
// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
$({ global: true, bind: true, forced: globalThis.setInterval !== setInterval }, {
setInterval: setInterval
});
/***/ }),
/***/ 68865:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var globalThis = __webpack_require__(52382);
var schedulersFix = __webpack_require__(67718);
var setTimeout = schedulersFix(globalThis.setTimeout, true);
// Bun / IE9- setTimeout additional parameters fix
// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
$({ global: true, bind: true, forced: globalThis.setTimeout !== setTimeout }, {
setTimeout: setTimeout
});
/***/ }),
/***/ 32517:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove this module from `core-js@4` since it's split to modules listed below
__webpack_require__(20245);
__webpack_require__(68865);
/***/ }),
/***/ 82468:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
__webpack_require__(96198);
__webpack_require__(87399);
var $ = __webpack_require__(57736);
var globalThis = __webpack_require__(52382);
var safeGetBuiltIn = __webpack_require__(92399);
var getBuiltIn = __webpack_require__(29029);
var call = __webpack_require__(8763);
var uncurryThis = __webpack_require__(44974);
var DESCRIPTORS = __webpack_require__(89106);
var USE_NATIVE_URL = __webpack_require__(17654);
var defineBuiltIn = __webpack_require__(43558);
var defineBuiltInAccessor = __webpack_require__(23428);
var defineBuiltIns = __webpack_require__(87277);
var setToStringTag = __webpack_require__(6841);
var createIteratorConstructor = __webpack_require__(63692);
var InternalStateModule = __webpack_require__(67159);
var anInstance = __webpack_require__(11433);
var isCallable = __webpack_require__(39047);
var hasOwn = __webpack_require__(64695);
var bind = __webpack_require__(40158);
var classof = __webpack_require__(18285);
var anObject = __webpack_require__(75905);
var isObject = __webpack_require__(22716);
var $toString = __webpack_require__(28873);
var create = __webpack_require__(11910);
var createPropertyDescriptor = __webpack_require__(44934);
var getIterator = __webpack_require__(14867);
var getIteratorMethod = __webpack_require__(23005);
var createIterResultObject = __webpack_require__(12715);
var validateArgumentsLength = __webpack_require__(91494);
var wellKnownSymbol = __webpack_require__(7325);
var arraySort = __webpack_require__(9518);
var ITERATOR = wellKnownSymbol('iterator');
var URL_SEARCH_PARAMS = 'URLSearchParams';
var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';
var setInternalState = InternalStateModule.set;
var getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS);
var getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR);
var nativeFetch = safeGetBuiltIn('fetch');
var NativeRequest = safeGetBuiltIn('Request');
var Headers = safeGetBuiltIn('Headers');
var RequestPrototype = NativeRequest && NativeRequest.prototype;
var HeadersPrototype = Headers && Headers.prototype;
var TypeError = globalThis.TypeError;
var encodeURIComponent = globalThis.encodeURIComponent;
var fromCharCode = String.fromCharCode;
var fromCodePoint = getBuiltIn('String', 'fromCodePoint');
var $parseInt = parseInt;
var charAt = uncurryThis(''.charAt);
var join = uncurryThis([].join);
var push = uncurryThis([].push);
var replace = uncurryThis(''.replace);
var shift = uncurryThis([].shift);
var splice = uncurryThis([].splice);
var split = uncurryThis(''.split);
var stringSlice = uncurryThis(''.slice);
var exec = uncurryThis(/./.exec);
var plus = /\+/g;
var FALLBACK_REPLACER = '\uFFFD';
var VALID_HEX = /^[0-9a-f]+$/i;
var parseHexOctet = function (string, start) {
var substr = stringSlice(string, start, start + 2);
if (!exec(VALID_HEX, substr)) return NaN;
return $parseInt(substr, 16);
};
var getLeadingOnes = function (octet) {
var count = 0;
for (var mask = 0x80; mask > 0 && (octet & mask) !== 0; mask >>= 1) {
count++;
}
return count;
};
var utf8Decode = function (octets) {
var codePoint = null;
switch (octets.length) {
case 1:
codePoint = octets[0];
break;
case 2:
codePoint = (octets[0] & 0x1F) << 6 | (octets[1] & 0x3F);
break;
case 3:
codePoint = (octets[0] & 0x0F) << 12 | (octets[1] & 0x3F) << 6 | (octets[2] & 0x3F);
break;
case 4:
codePoint = (octets[0] & 0x07) << 18 | (octets[1] & 0x3F) << 12 | (octets[2] & 0x3F) << 6 | (octets[3] & 0x3F);
break;
}
return codePoint > 0x10FFFF ? null : codePoint;
};
var decode = function (input) {
input = replace(input, plus, ' ');
var length = input.length;
var result = '';
var i = 0;
while (i < length) {
var decodedChar = charAt(input, i);
if (decodedChar === '%') {
if (charAt(input, i + 1) === '%' || i + 3 > length) {
result += '%';
i++;
continue;
}
var octet = parseHexOctet(input, i + 1);
// eslint-disable-next-line no-self-compare -- NaN check
if (octet !== octet) {
result += decodedChar;
i++;
continue;
}
i += 2;
var byteSequenceLength = getLeadingOnes(octet);
if (byteSequenceLength === 0) {
decodedChar = fromCharCode(octet);
} else {
if (byteSequenceLength === 1 || byteSequenceLength > 4) {
result += FALLBACK_REPLACER;
i++;
continue;
}
var octets = [octet];
var sequenceIndex = 1;
while (sequenceIndex < byteSequenceLength) {
i++;
if (i + 3 > length || charAt(input, i) !== '%') break;
var nextByte = parseHexOctet(input, i + 1);
// eslint-disable-next-line no-self-compare -- NaN check
if (nextByte !== nextByte) {
i += 3;
break;
}
if (nextByte > 191 || nextByte < 128) break;
push(octets, nextByte);
i += 2;
sequenceIndex++;
}
if (octets.length !== byteSequenceLength) {
result += FALLBACK_REPLACER;
continue;
}
var codePoint = utf8Decode(octets);
if (codePoint === null) {
result += FALLBACK_REPLACER;
} else {
decodedChar = fromCodePoint(codePoint);
}
}
}
result += decodedChar;
i++;
}
return result;
};
var find = /[!'()~]|%20/g;
var replacements = {
'!': '%21',
"'": '%27',
'(': '%28',
')': '%29',
'~': '%7E',
'%20': '+'
};
var replacer = function (match) {
return replacements[match];
};
var serialize = function (it) {
return replace(encodeURIComponent(it), find, replacer);
};
var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {
setInternalState(this, {
type: URL_SEARCH_PARAMS_ITERATOR,
target: getInternalParamsState(params).entries,
index: 0,
kind: kind
});
}, URL_SEARCH_PARAMS, function next() {
var state = getInternalIteratorState(this);
var target = state.target;
var index = state.index++;
if (!target || index >= target.length) {
state.target = null;
return createIterResultObject(undefined, true);
}
var entry = target[index];
switch (state.kind) {
case 'keys': return createIterResultObject(entry.key, false);
case 'values': return createIterResultObject(entry.value, false);
} return createIterResultObject([entry.key, entry.value], false);
}, true);
var URLSearchParamsState = function (init) {
this.entries = [];
this.url = null;
if (init !== undefined) {
if (isObject(init)) this.parseObject(init);
else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init));
}
};
URLSearchParamsState.prototype = {
type: URL_SEARCH_PARAMS,
bindURL: function (url) {
this.url = url;
this.update();
},
parseObject: function (object) {
var entries = this.entries;
var iteratorMethod = getIteratorMethod(object);
var iterator, next, step, entryIterator, entryNext, first, second;
if (iteratorMethod) {
iterator = getIterator(object, iteratorMethod);
next = iterator.next;
while (!(step = call(next, iterator)).done) {
entryIterator = getIterator(anObject(step.value));
entryNext = entryIterator.next;
if (
(first = call(entryNext, entryIterator)).done ||
(second = call(entryNext, entryIterator)).done ||
!call(entryNext, entryIterator).done
) throw new TypeError('Expected sequence with length 2');
push(entries, { key: $toString(first.value), value: $toString(second.value) });
}
} else for (var key in object) if (hasOwn(object, key)) {
push(entries, { key: key, value: $toString(object[key]) });
}
},
parseQuery: function (query) {
if (query) {
var entries = this.entries;
var attributes = split(query, '&');
var index = 0;
var attribute, entry;
while (index < attributes.length) {
attribute = attributes[index++];
if (attribute.length) {
entry = split(attribute, '=');
push(entries, {
key: decode(shift(entry)),
value: decode(join(entry, '='))
});
}
}
}
},
serialize: function () {
var entries = this.entries;
var result = [];
var index = 0;
var entry;
while (index < entries.length) {
entry = entries[index++];
push(result, serialize(entry.key) + '=' + serialize(entry.value));
} return join(result, '&');
},
update: function () {
this.entries.length = 0;
this.parseQuery(this.url.query);
},
updateURL: function () {
if (this.url) this.url.update();
}
};
// `URLSearchParams` constructor
// https://url.spec.whatwg.org/#interface-urlsearchparams
var URLSearchParamsConstructor = function URLSearchParams(/* init */) {
anInstance(this, URLSearchParamsPrototype);
var init = arguments.length > 0 ? arguments[0] : undefined;
var state = setInternalState(this, new URLSearchParamsState(init));
if (!DESCRIPTORS) this.size = state.entries.length;
};
var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;
defineBuiltIns(URLSearchParamsPrototype, {
// `URLSearchParams.prototype.append` method
// https://url.spec.whatwg.org/#dom-urlsearchparams-append
append: function append(name, value) {
var state = getInternalParamsState(this);
validateArgumentsLength(arguments.length, 2);
push(state.entries, { key: $toString(name), value: $toString(value) });
if (!DESCRIPTORS) this.length++;
state.updateURL();
},
// `URLSearchParams.prototype.delete` method
// https://url.spec.whatwg.org/#dom-urlsearchparams-delete
'delete': function (name /* , value */) {
var state = getInternalParamsState(this);
var length = validateArgumentsLength(arguments.length, 1);
var entries = state.entries;
var key = $toString(name);
var $value = length < 2 ? undefined : arguments[1];
var value = $value === undefined ? $value : $toString($value);
var index = 0;
while (index < entries.length) {
var entry = entries[index];
if (entry.key === key && (value === undefined || entry.value === value)) {
splice(entries, index, 1);
if (value !== undefined) break;
} else index++;
}
if (!DESCRIPTORS) this.size = entries.length;
state.updateURL();
},
// `URLSearchParams.prototype.get` method
// https://url.spec.whatwg.org/#dom-urlsearchparams-get
get: function get(name) {
var entries = getInternalParamsState(this).entries;
validateArgumentsLength(arguments.length, 1);
var key = $toString(name);
var index = 0;
for (; index < entries.length; index++) {
if (entries[index].key === key) return entries[index].value;
}
return null;
},
// `URLSearchParams.prototype.getAll` method
// https://url.spec.whatwg.org/#dom-urlsearchparams-getall
getAll: function getAll(name) {
var entries = getInternalParamsState(this).entries;
validateArgumentsLength(arguments.length, 1);
var key = $toString(name);
var result = [];
var index = 0;
for (; index < entries.length; index++) {
if (entries[index].key === key) push(result, entries[index].value);
}
return result;
},
// `URLSearchParams.prototype.has` method
// https://url.spec.whatwg.org/#dom-urlsearchparams-has
has: function has(name /* , value */) {
var entries = getInternalParamsState(this).entries;
var length = validateArgumentsLength(arguments.length, 1);
var key = $toString(name);
var $value = length < 2 ? undefined : arguments[1];
var value = $value === undefined ? $value : $toString($value);
var index = 0;
while (index < entries.length) {
var entry = entries[index++];
if (entry.key === key && (value === undefined || entry.value === value)) return true;
}
return false;
},
// `URLSearchParams.prototype.set` method
// https://url.spec.whatwg.org/#dom-urlsearchparams-set
set: function set(name, value) {
var state = getInternalParamsState(this);
validateArgumentsLength(arguments.length, 1);
var entries = state.entries;
var found = false;
var key = $toString(name);
var val = $toString(value);
var index = 0;
var entry;
for (; index < entries.length; index++) {
entry = entries[index];
if (entry.key === key) {
if (found) splice(entries, index--, 1);
else {
found = true;
entry.value = val;
}
}
}
if (!found) push(entries, { key: key, value: val });
if (!DESCRIPTORS) this.size = entries.length;
state.updateURL();
},
// `URLSearchParams.prototype.sort` method
// https://url.spec.whatwg.org/#dom-urlsearchparams-sort
sort: function sort() {
var state = getInternalParamsState(this);
arraySort(state.entries, function (a, b) {
return a.key > b.key ? 1 : -1;
});
state.updateURL();
},
// `URLSearchParams.prototype.forEach` method
forEach: function forEach(callback /* , thisArg */) {
var entries = getInternalParamsState(this).entries;
var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined);
var index = 0;
var entry;
while (index < entries.length) {
entry = entries[index++];
boundFunction(entry.value, entry.key, this);
}
},
// `URLSearchParams.prototype.keys` method
keys: function keys() {
return new URLSearchParamsIterator(this, 'keys');
},
// `URLSearchParams.prototype.values` method
values: function values() {
return new URLSearchParamsIterator(this, 'values');
},
// `URLSearchParams.prototype.entries` method
entries: function entries() {
return new URLSearchParamsIterator(this, 'entries');
}
}, { enumerable: true });
// `URLSearchParams.prototype[@@iterator]` method
defineBuiltIn(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });
// `URLSearchParams.prototype.toString` method
// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior
defineBuiltIn(URLSearchParamsPrototype, 'toString', function toString() {
return getInternalParamsState(this).serialize();
}, { enumerable: true });
// `URLSearchParams.prototype.size` getter
// https://github.com/whatwg/url/pull/734
if (DESCRIPTORS) defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
get: function size() {
return getInternalParamsState(this).entries.length;
},
configurable: true,
enumerable: true
});
setToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
$({ global: true, constructor: true, forced: !USE_NATIVE_URL }, {
URLSearchParams: URLSearchParamsConstructor
});
// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`
if (!USE_NATIVE_URL && isCallable(Headers)) {
var headersHas = uncurryThis(HeadersPrototype.has);
var headersSet = uncurryThis(HeadersPrototype.set);
var wrapRequestOptions = function (init) {
if (isObject(init)) {
var body = init.body;
var headers;
if (classof(body) === URL_SEARCH_PARAMS) {
headers = init.headers ? new Headers(init.headers) : new Headers();
if (!headersHas(headers, 'content-type')) {
headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');
}
return create(init, {
body: createPropertyDescriptor(0, $toString(body)),
headers: createPropertyDescriptor(0, headers)
});
}
} return init;
};
if (isCallable(nativeFetch)) {
$({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
fetch: function fetch(input /* , init */) {
return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
}
});
}
if (isCallable(NativeRequest)) {
var RequestConstructor = function Request(input /* , init */) {
anInstance(this, RequestPrototype);
return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
};
RequestPrototype.constructor = RequestConstructor;
RequestConstructor.prototype = RequestPrototype;
$({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
Request: RequestConstructor
});
}
}
module.exports = {
URLSearchParams: URLSearchParamsConstructor,
getState: getInternalParamsState
};
/***/ }),
/***/ 38733:
/***/ (function() {
// empty
/***/ }),
/***/ 36672:
/***/ (function() {
// empty
/***/ }),
/***/ 62146:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove this module from `core-js@4` since it's replaced to module below
__webpack_require__(82468);
/***/ }),
/***/ 72299:
/***/ (function() {
// empty
/***/ }),
/***/ 48432:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var getBuiltIn = __webpack_require__(29029);
var fails = __webpack_require__(54397);
var validateArgumentsLength = __webpack_require__(91494);
var toString = __webpack_require__(28873);
var USE_NATIVE_URL = __webpack_require__(17654);
var URL = getBuiltIn('URL');
// https://github.com/nodejs/node/issues/47505
// https://github.com/denoland/deno/issues/18893
var THROWS_WITHOUT_ARGUMENTS = USE_NATIVE_URL && fails(function () {
URL.canParse();
});
// Bun ~ 1.0.30 bug
// https://github.com/oven-sh/bun/issues/9250
var WRONG_ARITY = fails(function () {
return URL.canParse.length !== 1;
});
// `URL.canParse` method
// https://url.spec.whatwg.org/#dom-url-canparse
$({ target: 'URL', stat: true, forced: !THROWS_WITHOUT_ARGUMENTS || WRONG_ARITY }, {
canParse: function canParse(url) {
var length = validateArgumentsLength(arguments.length, 1);
var urlString = toString(url);
var base = length < 2 || arguments[1] === undefined ? undefined : toString(arguments[1]);
try {
return !!new URL(urlString, base);
} catch (error) {
return false;
}
}
});
/***/ }),
/***/ 59944:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
__webpack_require__(94894);
var $ = __webpack_require__(57736);
var DESCRIPTORS = __webpack_require__(89106);
var USE_NATIVE_URL = __webpack_require__(17654);
var globalThis = __webpack_require__(52382);
var bind = __webpack_require__(40158);
var uncurryThis = __webpack_require__(44974);
var defineBuiltIn = __webpack_require__(43558);
var defineBuiltInAccessor = __webpack_require__(23428);
var anInstance = __webpack_require__(11433);
var hasOwn = __webpack_require__(64695);
var assign = __webpack_require__(69283);
var arrayFrom = __webpack_require__(98346);
var arraySlice = __webpack_require__(5870);
var codeAt = (__webpack_require__(90461).codeAt);
var toASCII = __webpack_require__(75439);
var $toString = __webpack_require__(28873);
var setToStringTag = __webpack_require__(6841);
var validateArgumentsLength = __webpack_require__(91494);
var URLSearchParamsModule = __webpack_require__(82468);
var InternalStateModule = __webpack_require__(67159);
var setInternalState = InternalStateModule.set;
var getInternalURLState = InternalStateModule.getterFor('URL');
var URLSearchParams = URLSearchParamsModule.URLSearchParams;
var getInternalSearchParamsState = URLSearchParamsModule.getState;
var NativeURL = globalThis.URL;
var TypeError = globalThis.TypeError;
var parseInt = globalThis.parseInt;
var floor = Math.floor;
var pow = Math.pow;
var charAt = uncurryThis(''.charAt);
var exec = uncurryThis(/./.exec);
var join = uncurryThis([].join);
var numberToString = uncurryThis(1.0.toString);
var pop = uncurryThis([].pop);
var push = uncurryThis([].push);
var replace = uncurryThis(''.replace);
var shift = uncurryThis([].shift);
var split = uncurryThis(''.split);
var stringSlice = uncurryThis(''.slice);
var toLowerCase = uncurryThis(''.toLowerCase);
var unshift = uncurryThis([].unshift);
var INVALID_AUTHORITY = 'Invalid authority';
var INVALID_SCHEME = 'Invalid scheme';
var INVALID_HOST = 'Invalid host';
var INVALID_PORT = 'Invalid port';
var ALPHA = /[a-z]/i;
// eslint-disable-next-line regexp/no-obscure-range -- safe
var ALPHANUMERIC = /[\d+-.a-z]/i;
var DIGIT = /\d/;
var HEX_START = /^0x/i;
var OCT = /^[0-7]+$/;
var DEC = /^\d+$/;
var HEX = /^[\da-f]+$/i;
/* eslint-disable regexp/no-control-character -- safe */
var FORBIDDEN_HOST_CODE_POINT = /[\0\t\n\r #%/:<>?@[\\\]^|]/;
var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\0\t\n\r #/:<>?@[\\\]^|]/;
var LEADING_C0_CONTROL_OR_SPACE = /^[\u0000-\u0020]+/;
var TRAILING_C0_CONTROL_OR_SPACE = /(^|[^\u0000-\u0020])[\u0000-\u0020]+$/;
var TAB_AND_NEW_LINE = /[\t\n\r]/g;
/* eslint-enable regexp/no-control-character -- safe */
var EOF;
// https://url.spec.whatwg.org/#ipv4-number-parser
var parseIPv4 = function (input) {
var parts = split(input, '.');
var partsLength, numbers, index, part, radix, number, ipv4;
if (parts.length && parts[parts.length - 1] === '') {
parts.length--;
}
partsLength = parts.length;
if (partsLength > 4) return input;
numbers = [];
for (index = 0; index < partsLength; index++) {
part = parts[index];
if (part === '') return input;
radix = 10;
if (part.length > 1 && charAt(part, 0) === '0') {
radix = exec(HEX_START, part) ? 16 : 8;
part = stringSlice(part, radix === 8 ? 1 : 2);
}
if (part === '') {
number = 0;
} else {
if (!exec(radix === 10 ? DEC : radix === 8 ? OCT : HEX, part)) return input;
number = parseInt(part, radix);
}
push(numbers, number);
}
for (index = 0; index < partsLength; index++) {
number = numbers[index];
if (index === partsLength - 1) {
if (number >= pow(256, 5 - partsLength)) return null;
} else if (number > 255) return null;
}
ipv4 = pop(numbers);
for (index = 0; index < numbers.length; index++) {
ipv4 += numbers[index] * pow(256, 3 - index);
}
return ipv4;
};
// https://url.spec.whatwg.org/#concept-ipv6-parser
// eslint-disable-next-line max-statements -- TODO
var parseIPv6 = function (input) {
var address = [0, 0, 0, 0, 0, 0, 0, 0];
var pieceIndex = 0;
var compress = null;
var pointer = 0;
var value, length, numbersSeen, ipv4Piece, number, swaps, swap;
var chr = function () {
return charAt(input, pointer);
};
if (chr() === ':') {
if (charAt(input, 1) !== ':') return;
pointer += 2;
pieceIndex++;
compress = pieceIndex;
}
while (chr()) {
if (pieceIndex === 8) return;
if (chr() === ':') {
if (compress !== null) return;
pointer++;
pieceIndex++;
compress = pieceIndex;
continue;
}
value = length = 0;
while (length < 4 && exec(HEX, chr())) {
value = value * 16 + parseInt(chr(), 16);
pointer++;
length++;
}
if (chr() === '.') {
if (length === 0) return;
pointer -= length;
if (pieceIndex > 6) return;
numbersSeen = 0;
while (chr()) {
ipv4Piece = null;
if (numbersSeen > 0) {
if (chr() === '.' && numbersSeen < 4) pointer++;
else return;
}
if (!exec(DIGIT, chr())) return;
while (exec(DIGIT, chr())) {
number = parseInt(chr(), 10);
if (ipv4Piece === null) ipv4Piece = number;
else if (ipv4Piece === 0) return;
else ipv4Piece = ipv4Piece * 10 + number;
if (ipv4Piece > 255) return;
pointer++;
}
address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece;
numbersSeen++;
if (numbersSeen === 2 || numbersSeen === 4) pieceIndex++;
}
if (numbersSeen !== 4) return;
break;
} else if (chr() === ':') {
pointer++;
if (!chr()) return;
} else if (chr()) return;
address[pieceIndex++] = value;
}
if (compress !== null) {
swaps = pieceIndex - compress;
pieceIndex = 7;
while (pieceIndex !== 0 && swaps > 0) {
swap = address[pieceIndex];
address[pieceIndex--] = address[compress + swaps - 1];
address[compress + --swaps] = swap;
}
} else if (pieceIndex !== 8) return;
return address;
};
var findLongestZeroSequence = function (ipv6) {
var maxIndex = null;
var maxLength = 1;
var currStart = null;
var currLength = 0;
var index = 0;
for (; index < 8; index++) {
if (ipv6[index] !== 0) {
if (currLength > maxLength) {
maxIndex = currStart;
maxLength = currLength;
}
currStart = null;
currLength = 0;
} else {
if (currStart === null) currStart = index;
++currLength;
}
}
return currLength > maxLength ? currStart : maxIndex;
};
// https://url.spec.whatwg.org/#host-serializing
var serializeHost = function (host) {
var result, index, compress, ignore0;
// ipv4
if (typeof host == 'number') {
result = [];
for (index = 0; index < 4; index++) {
unshift(result, host % 256);
host = floor(host / 256);
}
return join(result, '.');
}
// ipv6
if (typeof host == 'object') {
result = '';
compress = findLongestZeroSequence(host);
for (index = 0; index < 8; index++) {
if (ignore0 && host[index] === 0) continue;
if (ignore0) ignore0 = false;
if (compress === index) {
result += index ? ':' : '::';
ignore0 = true;
} else {
result += numberToString(host[index], 16);
if (index < 7) result += ':';
}
}
return '[' + result + ']';
}
return host;
};
var C0ControlPercentEncodeSet = {};
var fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, {
' ': 1, '"': 1, '<': 1, '>': 1, '`': 1
});
var pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, {
'#': 1, '?': 1, '{': 1, '}': 1
});
var userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, {
'/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\': 1, ']': 1, '^': 1, '|': 1
});
var percentEncode = function (chr, set) {
var code = codeAt(chr, 0);
return code > 0x20 && code < 0x7F && !hasOwn(set, chr) ? chr : encodeURIComponent(chr);
};
// https://url.spec.whatwg.org/#special-scheme
var specialSchemes = {
ftp: 21,
file: null,
http: 80,
https: 443,
ws: 80,
wss: 443
};
// https://url.spec.whatwg.org/#windows-drive-letter
var isWindowsDriveLetter = function (string, normalized) {
var second;
return string.length === 2 && exec(ALPHA, charAt(string, 0))
&& ((second = charAt(string, 1)) === ':' || (!normalized && second === '|'));
};
// https://url.spec.whatwg.org/#start-with-a-windows-drive-letter
var startsWithWindowsDriveLetter = function (string) {
var third;
return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && (
string.length === 2 ||
((third = charAt(string, 2)) === '/' || third === '\\' || third === '?' || third === '#')
);
};
// https://url.spec.whatwg.org/#single-dot-path-segment
var isSingleDot = function (segment) {
return segment === '.' || toLowerCase(segment) === '%2e';
};
// https://url.spec.whatwg.org/#double-dot-path-segment
var isDoubleDot = function (segment) {
segment = toLowerCase(segment);
return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e';
};
// States:
var SCHEME_START = {};
var SCHEME = {};
var NO_SCHEME = {};
var SPECIAL_RELATIVE_OR_AUTHORITY = {};
var PATH_OR_AUTHORITY = {};
var RELATIVE = {};
var RELATIVE_SLASH = {};
var SPECIAL_AUTHORITY_SLASHES = {};
var SPECIAL_AUTHORITY_IGNORE_SLASHES = {};
var AUTHORITY = {};
var HOST = {};
var HOSTNAME = {};
var PORT = {};
var FILE = {};
var FILE_SLASH = {};
var FILE_HOST = {};
var PATH_START = {};
var PATH = {};
var CANNOT_BE_A_BASE_URL_PATH = {};
var QUERY = {};
var FRAGMENT = {};
var URLState = function (url, isBase, base) {
var urlString = $toString(url);
var baseState, failure, searchParams;
if (isBase) {
failure = this.parse(urlString);
if (failure) throw new TypeError(failure);
this.searchParams = null;
} else {
if (base !== undefined) baseState = new URLState(base, true);
failure = this.parse(urlString, null, baseState);
if (failure) throw new TypeError(failure);
searchParams = getInternalSearchParamsState(new URLSearchParams());
searchParams.bindURL(this);
this.searchParams = searchParams;
}
};
URLState.prototype = {
type: 'URL',
// https://url.spec.whatwg.org/#url-parsing
// eslint-disable-next-line max-statements -- TODO
parse: function (input, stateOverride, base) {
var url = this;
var state = stateOverride || SCHEME_START;
var pointer = 0;
var buffer = '';
var seenAt = false;
var seenBracket = false;
var seenPasswordToken = false;
var codePoints, chr, bufferCodePoints, failure;
input = $toString(input);
if (!stateOverride) {
url.scheme = '';
url.username = '';
url.password = '';
url.host = null;
url.port = null;
url.path = [];
url.query = null;
url.fragment = null;
url.cannotBeABaseURL = false;
input = replace(input, LEADING_C0_CONTROL_OR_SPACE, '');
input = replace(input, TRAILING_C0_CONTROL_OR_SPACE, '$1');
}
input = replace(input, TAB_AND_NEW_LINE, '');
codePoints = arrayFrom(input);
while (pointer <= codePoints.length) {
chr = codePoints[pointer];
switch (state) {
case SCHEME_START:
if (chr && exec(ALPHA, chr)) {
buffer += toLowerCase(chr);
state = SCHEME;
} else if (!stateOverride) {
state = NO_SCHEME;
continue;
} else return INVALID_SCHEME;
break;
case SCHEME:
if (chr && (exec(ALPHANUMERIC, chr) || chr === '+' || chr === '-' || chr === '.')) {
buffer += toLowerCase(chr);
} else if (chr === ':') {
if (stateOverride && (
(url.isSpecial() !== hasOwn(specialSchemes, buffer)) ||
(buffer === 'file' && (url.includesCredentials() || url.port !== null)) ||
(url.scheme === 'file' && !url.host)
)) return;
url.scheme = buffer;
if (stateOverride) {
if (url.isSpecial() && specialSchemes[url.scheme] === url.port) url.port = null;
return;
}
buffer = '';
if (url.scheme === 'file') {
state = FILE;
} else if (url.isSpecial() && base && base.scheme === url.scheme) {
state = SPECIAL_RELATIVE_OR_AUTHORITY;
} else if (url.isSpecial()) {
state = SPECIAL_AUTHORITY_SLASHES;
} else if (codePoints[pointer + 1] === '/') {
state = PATH_OR_AUTHORITY;
pointer++;
} else {
url.cannotBeABaseURL = true;
push(url.path, '');
state = CANNOT_BE_A_BASE_URL_PATH;
}
} else if (!stateOverride) {
buffer = '';
state = NO_SCHEME;
pointer = 0;
continue;
} else return INVALID_SCHEME;
break;
case NO_SCHEME:
if (!base || (base.cannotBeABaseURL && chr !== '#')) return INVALID_SCHEME;
if (base.cannotBeABaseURL && chr === '#') {
url.scheme = base.scheme;
url.path = arraySlice(base.path);
url.query = base.query;
url.fragment = '';
url.cannotBeABaseURL = true;
state = FRAGMENT;
break;
}
state = base.scheme === 'file' ? FILE : RELATIVE;
continue;
case SPECIAL_RELATIVE_OR_AUTHORITY:
if (chr === '/' && codePoints[pointer + 1] === '/') {
state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
pointer++;
} else {
state = RELATIVE;
continue;
} break;
case PATH_OR_AUTHORITY:
if (chr === '/') {
state = AUTHORITY;
break;
} else {
state = PATH;
continue;
}
case RELATIVE:
url.scheme = base.scheme;
if (chr === EOF) {
url.username = base.username;
url.password = base.password;
url.host = base.host;
url.port = base.port;
url.path = arraySlice(base.path);
url.query = base.query;
} else if (chr === '/' || (chr === '\\' && url.isSpecial())) {
state = RELATIVE_SLASH;
} else if (chr === '?') {
url.username = base.username;
url.password = base.password;
url.host = base.host;
url.port = base.port;
url.path = arraySlice(base.path);
url.query = '';
state = QUERY;
} else if (chr === '#') {
url.username = base.username;
url.password = base.password;
url.host = base.host;
url.port = base.port;
url.path = arraySlice(base.path);
url.query = base.query;
url.fragment = '';
state = FRAGMENT;
} else {
url.username = base.username;
url.password = base.password;
url.host = base.host;
url.port = base.port;
url.path = arraySlice(base.path);
url.path.length--;
state = PATH;
continue;
} break;
case RELATIVE_SLASH:
if (url.isSpecial() && (chr === '/' || chr === '\\')) {
state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
} else if (chr === '/') {
state = AUTHORITY;
} else {
url.username = base.username;
url.password = base.password;
url.host = base.host;
url.port = base.port;
state = PATH;
continue;
} break;
case SPECIAL_AUTHORITY_SLASHES:
state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
if (chr !== '/' || charAt(buffer, pointer + 1) !== '/') continue;
pointer++;
break;
case SPECIAL_AUTHORITY_IGNORE_SLASHES:
if (chr !== '/' && chr !== '\\') {
state = AUTHORITY;
continue;
} break;
case AUTHORITY:
if (chr === '@') {
if (seenAt) buffer = '%40' + buffer;
seenAt = true;
bufferCodePoints = arrayFrom(buffer);
for (var i = 0; i < bufferCodePoints.length; i++) {
var codePoint = bufferCodePoints[i];
if (codePoint === ':' && !seenPasswordToken) {
seenPasswordToken = true;
continue;
}
var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet);
if (seenPasswordToken) url.password += encodedCodePoints;
else url.username += encodedCodePoints;
}
buffer = '';
} else if (
chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
(chr === '\\' && url.isSpecial())
) {
if (seenAt && buffer === '') return INVALID_AUTHORITY;
pointer -= arrayFrom(buffer).length + 1;
buffer = '';
state = HOST;
} else buffer += chr;
break;
case HOST:
case HOSTNAME:
if (stateOverride && url.scheme === 'file') {
state = FILE_HOST;
continue;
} else if (chr === ':' && !seenBracket) {
if (buffer === '') return INVALID_HOST;
failure = url.parseHost(buffer);
if (failure) return failure;
buffer = '';
state = PORT;
if (stateOverride === HOSTNAME) return;
} else if (
chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
(chr === '\\' && url.isSpecial())
) {
if (url.isSpecial() && buffer === '') return INVALID_HOST;
if (stateOverride && buffer === '' && (url.includesCredentials() || url.port !== null)) return;
failure = url.parseHost(buffer);
if (failure) return failure;
buffer = '';
state = PATH_START;
if (stateOverride) return;
continue;
} else {
if (chr === '[') seenBracket = true;
else if (chr === ']') seenBracket = false;
buffer += chr;
} break;
case PORT:
if (exec(DIGIT, chr)) {
buffer += chr;
} else if (
chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
(chr === '\\' && url.isSpecial()) ||
stateOverride
) {
if (buffer !== '') {
var port = parseInt(buffer, 10);
if (port > 0xFFFF) return INVALID_PORT;
url.port = (url.isSpecial() && port === specialSchemes[url.scheme]) ? null : port;
buffer = '';
}
if (stateOverride) return;
state = PATH_START;
continue;
} else return INVALID_PORT;
break;
case FILE:
url.scheme = 'file';
if (chr === '/' || chr === '\\') state = FILE_SLASH;
else if (base && base.scheme === 'file') {
switch (chr) {
case EOF:
url.host = base.host;
url.path = arraySlice(base.path);
url.query = base.query;
break;
case '?':
url.host = base.host;
url.path = arraySlice(base.path);
url.query = '';
state = QUERY;
break;
case '#':
url.host = base.host;
url.path = arraySlice(base.path);
url.query = base.query;
url.fragment = '';
state = FRAGMENT;
break;
default:
if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
url.host = base.host;
url.path = arraySlice(base.path);
url.shortenPath();
}
state = PATH;
continue;
}
} else {
state = PATH;
continue;
} break;
case FILE_SLASH:
if (chr === '/' || chr === '\\') {
state = FILE_HOST;
break;
}
if (base && base.scheme === 'file' && !startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
if (isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]);
else url.host = base.host;
}
state = PATH;
continue;
case FILE_HOST:
if (chr === EOF || chr === '/' || chr === '\\' || chr === '?' || chr === '#') {
if (!stateOverride && isWindowsDriveLetter(buffer)) {
state = PATH;
} else if (buffer === '') {
url.host = '';
if (stateOverride) return;
state = PATH_START;
} else {
failure = url.parseHost(buffer);
if (failure) return failure;
if (url.host === 'localhost') url.host = '';
if (stateOverride) return;
buffer = '';
state = PATH_START;
} continue;
} else buffer += chr;
break;
case PATH_START:
if (url.isSpecial()) {
state = PATH;
if (chr !== '/' && chr !== '\\') continue;
} else if (!stateOverride && chr === '?') {
url.query = '';
state = QUERY;
} else if (!stateOverride && chr === '#') {
url.fragment = '';
state = FRAGMENT;
} else if (chr !== EOF) {
state = PATH;
if (chr !== '/') continue;
} break;
case PATH:
if (
chr === EOF || chr === '/' ||
(chr === '\\' && url.isSpecial()) ||
(!stateOverride && (chr === '?' || chr === '#'))
) {
if (isDoubleDot(buffer)) {
url.shortenPath();
if (chr !== '/' && !(chr === '\\' && url.isSpecial())) {
push(url.path, '');
}
} else if (isSingleDot(buffer)) {
if (chr !== '/' && !(chr === '\\' && url.isSpecial())) {
push(url.path, '');
}
} else {
if (url.scheme === 'file' && !url.path.length && isWindowsDriveLetter(buffer)) {
if (url.host) url.host = '';
buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter
}
push(url.path, buffer);
}
buffer = '';
if (url.scheme === 'file' && (chr === EOF || chr === '?' || chr === '#')) {
while (url.path.length > 1 && url.path[0] === '') {
shift(url.path);
}
}
if (chr === '?') {
url.query = '';
state = QUERY;
} else if (chr === '#') {
url.fragment = '';
state = FRAGMENT;
}
} else {
buffer += percentEncode(chr, pathPercentEncodeSet);
} break;
case CANNOT_BE_A_BASE_URL_PATH:
if (chr === '?') {
url.query = '';
state = QUERY;
} else if (chr === '#') {
url.fragment = '';
state = FRAGMENT;
} else if (chr !== EOF) {
url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet);
} break;
case QUERY:
if (!stateOverride && chr === '#') {
url.fragment = '';
state = FRAGMENT;
} else if (chr !== EOF) {
if (chr === "'" && url.isSpecial()) url.query += '%27';
else if (chr === '#') url.query += '%23';
else url.query += percentEncode(chr, C0ControlPercentEncodeSet);
} break;
case FRAGMENT:
if (chr !== EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet);
break;
}
pointer++;
}
},
// https://url.spec.whatwg.org/#host-parsing
parseHost: function (input) {
var result, codePoints, index;
if (charAt(input, 0) === '[') {
if (charAt(input, input.length - 1) !== ']') return INVALID_HOST;
result = parseIPv6(stringSlice(input, 1, -1));
if (!result) return INVALID_HOST;
this.host = result;
// opaque host
} else if (!this.isSpecial()) {
if (exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) return INVALID_HOST;
result = '';
codePoints = arrayFrom(input);
for (index = 0; index < codePoints.length; index++) {
result += percentEncode(codePoints[index], C0ControlPercentEncodeSet);
}
this.host = result;
} else {
input = toASCII(input);
if (exec(FORBIDDEN_HOST_CODE_POINT, input)) return INVALID_HOST;
result = parseIPv4(input);
if (result === null) return INVALID_HOST;
this.host = result;
}
},
// https://url.spec.whatwg.org/#cannot-have-a-username-password-port
cannotHaveUsernamePasswordPort: function () {
return !this.host || this.cannotBeABaseURL || this.scheme === 'file';
},
// https://url.spec.whatwg.org/#include-credentials
includesCredentials: function () {
return this.username !== '' || this.password !== '';
},
// https://url.spec.whatwg.org/#is-special
isSpecial: function () {
return hasOwn(specialSchemes, this.scheme);
},
// https://url.spec.whatwg.org/#shorten-a-urls-path
shortenPath: function () {
var path = this.path;
var pathSize = path.length;
if (pathSize && (this.scheme !== 'file' || pathSize !== 1 || !isWindowsDriveLetter(path[0], true))) {
path.length--;
}
},
// https://url.spec.whatwg.org/#concept-url-serializer
serialize: function () {
var url = this;
var scheme = url.scheme;
var username = url.username;
var password = url.password;
var host = url.host;
var port = url.port;
var path = url.path;
var query = url.query;
var fragment = url.fragment;
var output = scheme + ':';
if (host !== null) {
output += '//';
if (url.includesCredentials()) {
output += username + (password ? ':' + password : '') + '@';
}
output += serializeHost(host);
if (port !== null) output += ':' + port;
} else if (scheme === 'file') output += '//';
output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';
if (query !== null) output += '?' + query;
if (fragment !== null) output += '#' + fragment;
return output;
},
// https://url.spec.whatwg.org/#dom-url-href
setHref: function (href) {
var failure = this.parse(href);
if (failure) throw new TypeError(failure);
this.searchParams.update();
},
// https://url.spec.whatwg.org/#dom-url-origin
getOrigin: function () {
var scheme = this.scheme;
var port = this.port;
if (scheme === 'blob') try {
return new URLConstructor(scheme.path[0]).origin;
} catch (error) {
return 'null';
}
if (scheme === 'file' || !this.isSpecial()) return 'null';
return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : '');
},
// https://url.spec.whatwg.org/#dom-url-protocol
getProtocol: function () {
return this.scheme + ':';
},
setProtocol: function (protocol) {
this.parse($toString(protocol) + ':', SCHEME_START);
},
// https://url.spec.whatwg.org/#dom-url-username
getUsername: function () {
return this.username;
},
setUsername: function (username) {
var codePoints = arrayFrom($toString(username));
if (this.cannotHaveUsernamePasswordPort()) return;
this.username = '';
for (var i = 0; i < codePoints.length; i++) {
this.username += percentEncode(codePoints[i], userinfoPercentEncodeSet);
}
},
// https://url.spec.whatwg.org/#dom-url-password
getPassword: function () {
return this.password;
},
setPassword: function (password) {
var codePoints = arrayFrom($toString(password));
if (this.cannotHaveUsernamePasswordPort()) return;
this.password = '';
for (var i = 0; i < codePoints.length; i++) {
this.password += percentEncode(codePoints[i], userinfoPercentEncodeSet);
}
},
// https://url.spec.whatwg.org/#dom-url-host
getHost: function () {
var host = this.host;
var port = this.port;
return host === null ? ''
: port === null ? serializeHost(host)
: serializeHost(host) + ':' + port;
},
setHost: function (host) {
if (this.cannotBeABaseURL) return;
this.parse(host, HOST);
},
// https://url.spec.whatwg.org/#dom-url-hostname
getHostname: function () {
var host = this.host;
return host === null ? '' : serializeHost(host);
},
setHostname: function (hostname) {
if (this.cannotBeABaseURL) return;
this.parse(hostname, HOSTNAME);
},
// https://url.spec.whatwg.org/#dom-url-port
getPort: function () {
var port = this.port;
return port === null ? '' : $toString(port);
},
setPort: function (port) {
if (this.cannotHaveUsernamePasswordPort()) return;
port = $toString(port);
if (port === '') this.port = null;
else this.parse(port, PORT);
},
// https://url.spec.whatwg.org/#dom-url-pathname
getPathname: function () {
var path = this.path;
return this.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';
},
setPathname: function (pathname) {
if (this.cannotBeABaseURL) return;
this.path = [];
this.parse(pathname, PATH_START);
},
// https://url.spec.whatwg.org/#dom-url-search
getSearch: function () {
var query = this.query;
return query ? '?' + query : '';
},
setSearch: function (search) {
search = $toString(search);
if (search === '') {
this.query = null;
} else {
if (charAt(search, 0) === '?') search = stringSlice(search, 1);
this.query = '';
this.parse(search, QUERY);
}
this.searchParams.update();
},
// https://url.spec.whatwg.org/#dom-url-searchparams
getSearchParams: function () {
return this.searchParams.facade;
},
// https://url.spec.whatwg.org/#dom-url-hash
getHash: function () {
var fragment = this.fragment;
return fragment ? '#' + fragment : '';
},
setHash: function (hash) {
hash = $toString(hash);
if (hash === '') {
this.fragment = null;
return;
}
if (charAt(hash, 0) === '#') hash = stringSlice(hash, 1);
this.fragment = '';
this.parse(hash, FRAGMENT);
},
update: function () {
this.query = this.searchParams.serialize() || null;
}
};
// `URL` constructor
// https://url.spec.whatwg.org/#url-class
var URLConstructor = function URL(url /* , base */) {
var that = anInstance(this, URLPrototype);
var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined;
var state = setInternalState(that, new URLState(url, false, base));
if (!DESCRIPTORS) {
that.href = state.serialize();
that.origin = state.getOrigin();
that.protocol = state.getProtocol();
that.username = state.getUsername();
that.password = state.getPassword();
that.host = state.getHost();
that.hostname = state.getHostname();
that.port = state.getPort();
that.pathname = state.getPathname();
that.search = state.getSearch();
that.searchParams = state.getSearchParams();
that.hash = state.getHash();
}
};
var URLPrototype = URLConstructor.prototype;
var accessorDescriptor = function (getter, setter) {
return {
get: function () {
return getInternalURLState(this)[getter]();
},
set: setter && function (value) {
return getInternalURLState(this)[setter](value);
},
configurable: true,
enumerable: true
};
};
if (DESCRIPTORS) {
// `URL.prototype.href` accessors pair
// https://url.spec.whatwg.org/#dom-url-href
defineBuiltInAccessor(URLPrototype, 'href', accessorDescriptor('serialize', 'setHref'));
// `URL.prototype.origin` getter
// https://url.spec.whatwg.org/#dom-url-origin
defineBuiltInAccessor(URLPrototype, 'origin', accessorDescriptor('getOrigin'));
// `URL.prototype.protocol` accessors pair
// https://url.spec.whatwg.org/#dom-url-protocol
defineBuiltInAccessor(URLPrototype, 'protocol', accessorDescriptor('getProtocol', 'setProtocol'));
// `URL.prototype.username` accessors pair
// https://url.spec.whatwg.org/#dom-url-username
defineBuiltInAccessor(URLPrototype, 'username', accessorDescriptor('getUsername', 'setUsername'));
// `URL.prototype.password` accessors pair
// https://url.spec.whatwg.org/#dom-url-password
defineBuiltInAccessor(URLPrototype, 'password', accessorDescriptor('getPassword', 'setPassword'));
// `URL.prototype.host` accessors pair
// https://url.spec.whatwg.org/#dom-url-host
defineBuiltInAccessor(URLPrototype, 'host', accessorDescriptor('getHost', 'setHost'));
// `URL.prototype.hostname` accessors pair
// https://url.spec.whatwg.org/#dom-url-hostname
defineBuiltInAccessor(URLPrototype, 'hostname', accessorDescriptor('getHostname', 'setHostname'));
// `URL.prototype.port` accessors pair
// https://url.spec.whatwg.org/#dom-url-port
defineBuiltInAccessor(URLPrototype, 'port', accessorDescriptor('getPort', 'setPort'));
// `URL.prototype.pathname` accessors pair
// https://url.spec.whatwg.org/#dom-url-pathname
defineBuiltInAccessor(URLPrototype, 'pathname', accessorDescriptor('getPathname', 'setPathname'));
// `URL.prototype.search` accessors pair
// https://url.spec.whatwg.org/#dom-url-search
defineBuiltInAccessor(URLPrototype, 'search', accessorDescriptor('getSearch', 'setSearch'));
// `URL.prototype.searchParams` getter
// https://url.spec.whatwg.org/#dom-url-searchparams
defineBuiltInAccessor(URLPrototype, 'searchParams', accessorDescriptor('getSearchParams'));
// `URL.prototype.hash` accessors pair
// https://url.spec.whatwg.org/#dom-url-hash
defineBuiltInAccessor(URLPrototype, 'hash', accessorDescriptor('getHash', 'setHash'));
}
// `URL.prototype.toJSON` method
// https://url.spec.whatwg.org/#dom-url-tojson
defineBuiltIn(URLPrototype, 'toJSON', function toJSON() {
return getInternalURLState(this).serialize();
}, { enumerable: true });
// `URL.prototype.toString` method
// https://url.spec.whatwg.org/#URL-stringification-behavior
defineBuiltIn(URLPrototype, 'toString', function toString() {
return getInternalURLState(this).serialize();
}, { enumerable: true });
if (NativeURL) {
var nativeCreateObjectURL = NativeURL.createObjectURL;
var nativeRevokeObjectURL = NativeURL.revokeObjectURL;
// `URL.createObjectURL` method
// https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL
if (nativeCreateObjectURL) defineBuiltIn(URLConstructor, 'createObjectURL', bind(nativeCreateObjectURL, NativeURL));
// `URL.revokeObjectURL` method
// https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL
if (nativeRevokeObjectURL) defineBuiltIn(URLConstructor, 'revokeObjectURL', bind(nativeRevokeObjectURL, NativeURL));
}
setToStringTag(URLConstructor, 'URL');
$({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, {
URL: URLConstructor
});
/***/ }),
/***/ 42750:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove this module from `core-js@4` since it's replaced to module below
__webpack_require__(59944);
/***/ }),
/***/ 79375:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(57736);
var getBuiltIn = __webpack_require__(29029);
var validateArgumentsLength = __webpack_require__(91494);
var toString = __webpack_require__(28873);
var USE_NATIVE_URL = __webpack_require__(17654);
var URL = getBuiltIn('URL');
// `URL.parse` method
// https://url.spec.whatwg.org/#dom-url-canparse
$({ target: 'URL', stat: true, forced: !USE_NATIVE_URL }, {
parse: function parse(url) {
var length = validateArgumentsLength(arguments.length, 1);
var urlString = toString(url);
var base = length < 2 || arguments[1] === undefined ? undefined : toString(arguments[1]);
try {
return new URL(urlString, base);
} catch (error) {
return null;
}
}
});
/***/ }),
/***/ 43486:
/***/ (function() {
// empty
/***/ }),
/***/ 72939:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(45686);
module.exports = parent;
/***/ }),
/***/ 73103:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(82806);
module.exports = parent;
/***/ }),
/***/ 52752:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(85317);
module.exports = parent;
/***/ }),
/***/ 65427:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(19770);
module.exports = parent;
/***/ }),
/***/ 20657:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(284);
module.exports = parent;
/***/ }),
/***/ 21606:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(84839);
module.exports = parent;
/***/ }),
/***/ 90068:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(50823);
__webpack_require__(58955);
module.exports = parent;
/***/ }),
/***/ 68955:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(87412);
module.exports = parent;
/***/ }),
/***/ 4942:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(16769);
module.exports = parent;
/***/ }),
/***/ 14297:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(96318);
module.exports = parent;
/***/ }),
/***/ 31260:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(97401);
module.exports = parent;
/***/ }),
/***/ 19296:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(81207);
module.exports = parent;
/***/ }),
/***/ 58231:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(85260);
module.exports = parent;
/***/ }),
/***/ 57274:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(20509);
module.exports = parent;
/***/ }),
/***/ 68346:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var classof = __webpack_require__(18285);
var hasOwn = __webpack_require__(64695);
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(52752);
__webpack_require__(46362);
var ArrayPrototype = Array.prototype;
var DOMIterables = {
DOMTokenList: true,
NodeList: true
};
module.exports = function (it) {
var own = it.forEach;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.forEach)
|| hasOwn(DOMIterables, classof(it)) ? method : own;
};
/***/ }),
/***/ 18524:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(5187);
module.exports = parent;
/***/ }),
/***/ 7183:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(37408);
module.exports = parent;
/***/ }),
/***/ 75405:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(58955);
var classof = __webpack_require__(18285);
var hasOwn = __webpack_require__(64695);
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(65427);
var ArrayPrototype = Array.prototype;
var DOMIterables = {
DOMTokenList: true,
NodeList: true
};
module.exports = function (it) {
var own = it.keys;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.keys)
|| hasOwn(DOMIterables, classof(it)) ? method : own;
};
/***/ }),
/***/ 94663:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(98114);
module.exports = parent;
/***/ }),
/***/ 94377:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(65630);
module.exports = parent;
/***/ }),
/***/ 13483:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(27948);
module.exports = parent;
/***/ }),
/***/ 56967:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(66646);
module.exports = parent;
/***/ }),
/***/ 74283:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(24042);
module.exports = parent;
/***/ }),
/***/ 29601:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(34122);
module.exports = parent;
/***/ }),
/***/ 67945:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(83010);
module.exports = parent;
/***/ }),
/***/ 40377:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(13214);
module.exports = parent;
/***/ }),
/***/ 35517:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(65824);
module.exports = parent;
/***/ }),
/***/ 97497:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(72842);
module.exports = parent;
/***/ }),
/***/ 15611:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(58955);
var classof = __webpack_require__(18285);
var hasOwn = __webpack_require__(64695);
var isPrototypeOf = __webpack_require__(35443);
var method = __webpack_require__(20657);
var ArrayPrototype = Array.prototype;
var DOMIterables = {
DOMTokenList: true,
NodeList: true
};
module.exports = function (it) {
var own = it.values;
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.values)
|| hasOwn(DOMIterables, classof(it)) ? method : own;
};
/***/ }),
/***/ 68393:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(92352);
module.exports = parent;
/***/ }),
/***/ 19524:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(13711);
__webpack_require__(58955);
module.exports = parent;
/***/ }),
/***/ 61015:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(25696);
module.exports = parent;
/***/ }),
/***/ 26755:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(24622);
module.exports = parent;
/***/ }),
/***/ 21968:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(92395);
module.exports = parent;
/***/ }),
/***/ 13225:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(64110);
module.exports = parent;
/***/ }),
/***/ 88433:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(54619);
module.exports = parent;
/***/ }),
/***/ 64658:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(57959);
module.exports = parent;
/***/ }),
/***/ 56034:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(35133);
module.exports = parent;
/***/ }),
/***/ 248:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(53253);
module.exports = parent;
/***/ }),
/***/ 5447:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(20848);
module.exports = parent;
/***/ }),
/***/ 46316:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(3487);
module.exports = parent;
/***/ }),
/***/ 79818:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(15353);
module.exports = parent;
/***/ }),
/***/ 74129:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(70782);
module.exports = parent;
/***/ }),
/***/ 9438:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(68741);
module.exports = parent;
/***/ }),
/***/ 93687:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(79992);
module.exports = parent;
/***/ }),
/***/ 82258:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(3885);
module.exports = parent;
/***/ }),
/***/ 93719:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(97528);
__webpack_require__(58955);
module.exports = parent;
/***/ }),
/***/ 10070:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(5757);
module.exports = parent;
/***/ }),
/***/ 6055:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(75960);
module.exports = parent;
/***/ }),
/***/ 57527:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(32517);
var path = __webpack_require__(42753);
module.exports = path.setInterval;
/***/ }),
/***/ 36759:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(32517);
var path = __webpack_require__(42753);
module.exports = path.setTimeout;
/***/ }),
/***/ 19454:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(52673);
__webpack_require__(58955);
module.exports = parent;
/***/ }),
/***/ 99313:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(73294);
module.exports = parent;
/***/ }),
/***/ 24381:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(47856);
module.exports = parent;
/***/ }),
/***/ 25310:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(96295);
__webpack_require__(58955);
module.exports = parent;
/***/ }),
/***/ 18078:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(96913);
__webpack_require__(58955);
module.exports = parent;
/***/ }),
/***/ 19697:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(70426);
module.exports = parent;
/***/ }),
/***/ 47511:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(57033);
module.exports = parent;
/***/ }),
/***/ 45913:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(63752);
__webpack_require__(58955);
module.exports = parent;
/***/ }),
/***/ 72454:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(62146);
__webpack_require__(38733);
__webpack_require__(36672);
__webpack_require__(72299);
var path = __webpack_require__(42753);
module.exports = path.URLSearchParams;
/***/ }),
/***/ 57033:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(72454);
__webpack_require__(42750);
__webpack_require__(48432);
__webpack_require__(79375);
__webpack_require__(43486);
var path = __webpack_require__(42753);
module.exports = path.URL;
/***/ }),
/***/ 79040:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(9081);
__webpack_require__(13966);
__webpack_require__(98127);
__webpack_require__(41240);
__webpack_require__(99974);
__webpack_require__(23437);
// TODO: Remove from `core-js@4`
__webpack_require__(83919);
__webpack_require__(46366);
__webpack_require__(10454);
__webpack_require__(47197);
__webpack_require__(3483);
__webpack_require__(90364);
__webpack_require__(22185);
__webpack_require__(54041);
module.exports = parent;
/***/ }),
/***/ 52620:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(84429);
module.exports = parent;
/***/ }),
/***/ 15424:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(31687);
__webpack_require__(52054);
module.exports = parent;
/***/ }),
/***/ 48768:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(44049);
module.exports = parent;
/***/ }),
/***/ 64698:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(79257);
__webpack_require__(22160);
module.exports = parent;
/***/ }),
/***/ 77386:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(17357);
// TODO: Remove from `core-js@4`
__webpack_require__(27842);
__webpack_require__(15743);
module.exports = parent;
/***/ }),
/***/ 12398:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(17350);
__webpack_require__(61126);
__webpack_require__(68367);
__webpack_require__(89687);
__webpack_require__(174);
__webpack_require__(23911);
__webpack_require__(24003);
__webpack_require__(97255);
__webpack_require__(50524);
__webpack_require__(47949);
__webpack_require__(76672);
__webpack_require__(16802);
__webpack_require__(57015);
__webpack_require__(75181);
__webpack_require__(82858);
__webpack_require__(46209);
__webpack_require__(17939);
__webpack_require__(28784);
__webpack_require__(83076);
__webpack_require__(21178);
__webpack_require__(3837);
__webpack_require__(15186);
__webpack_require__(16206);
__webpack_require__(35868);
__webpack_require__(32091);
__webpack_require__(89286);
__webpack_require__(86810);
__webpack_require__(73242);
__webpack_require__(75762);
__webpack_require__(92306);
__webpack_require__(34190);
__webpack_require__(86202);
__webpack_require__(33213);
__webpack_require__(90078);
__webpack_require__(37462);
__webpack_require__(85001);
__webpack_require__(38469);
__webpack_require__(99754);
__webpack_require__(98127);
__webpack_require__(824);
var path = __webpack_require__(57843);
module.exports = path.Array;
/***/ }),
/***/ 6898:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(19773);
module.exports = __webpack_require__(40452);
/***/ }),
/***/ 72298:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(56359);
__webpack_require__(84561);
__webpack_require__(35948);
__webpack_require__(83805);
__webpack_require__(34469);
__webpack_require__(58910);
__webpack_require__(97599);
__webpack_require__(94133);
__webpack_require__(56439);
__webpack_require__(42242);
__webpack_require__(49716);
__webpack_require__(36495);
__webpack_require__(71071);
__webpack_require__(58519);
__webpack_require__(86792);
__webpack_require__(51048);
__webpack_require__(31719);
__webpack_require__(16561);
__webpack_require__(91364);
__webpack_require__(55363);
__webpack_require__(61664);
__webpack_require__(3465);
__webpack_require__(97675);
__webpack_require__(19638);
__webpack_require__(98127);
__webpack_require__(21175);
__webpack_require__(50995);
__webpack_require__(92512);
__webpack_require__(34871);
__webpack_require__(38183);
__webpack_require__(75499);
__webpack_require__(94236);
var path = __webpack_require__(57843);
module.exports = path.Object;
/***/ }),
/***/ 52410:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(98127);
__webpack_require__(93904);
__webpack_require__(70613);
__webpack_require__(34383);
__webpack_require__(8623);
__webpack_require__(12116);
__webpack_require__(49101);
__webpack_require__(47681);
__webpack_require__(8800);
__webpack_require__(84790);
__webpack_require__(88501);
__webpack_require__(83477);
__webpack_require__(74768);
__webpack_require__(69165);
__webpack_require__(94236);
var path = __webpack_require__(57843);
module.exports = path.Reflect;
/***/ }),
/***/ 87892:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(37260);
__webpack_require__(9801);
__webpack_require__(14133);
__webpack_require__(59803);
__webpack_require__(65563);
__webpack_require__(27197);
__webpack_require__(99782);
__webpack_require__(74861);
__webpack_require__(35684);
__webpack_require__(40462);
__webpack_require__(40900);
/***/ }),
/***/ 36100:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
__webpack_require__(98127);
__webpack_require__(59803);
__webpack_require__(41037);
__webpack_require__(48214);
__webpack_require__(25896);
__webpack_require__(74281);
__webpack_require__(11621);
__webpack_require__(97167);
__webpack_require__(71367);
__webpack_require__(74861);
__webpack_require__(29427);
__webpack_require__(1305);
__webpack_require__(3528);
__webpack_require__(50073);
__webpack_require__(35684);
__webpack_require__(54742);
__webpack_require__(40462);
__webpack_require__(40900);
__webpack_require__(43988);
__webpack_require__(24699);
__webpack_require__(28442);
__webpack_require__(2926);
__webpack_require__(92219);
__webpack_require__(94374);
__webpack_require__(824);
__webpack_require__(69159);
__webpack_require__(10814);
__webpack_require__(35246);
__webpack_require__(37869);
__webpack_require__(22462);
__webpack_require__(60464);
__webpack_require__(64806);
__webpack_require__(14729);
__webpack_require__(46510);
__webpack_require__(799);
__webpack_require__(21592);
__webpack_require__(56578);
__webpack_require__(98536);
var path = __webpack_require__(57843);
module.exports = path.String;
/***/ }),
/***/ 83773:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* unused reexport */ __webpack_require__(1147);
/***/ }),
/***/ 51329:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* unused reexport */ __webpack_require__(15415);
/***/ }),
/***/ 14683:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* unused reexport */ __webpack_require__(33101);
/***/ }),
/***/ 71533:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* unused reexport */ __webpack_require__(59991);
/***/ }),
/***/ 31453:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* unused reexport */ __webpack_require__(46439);
/***/ }),
/***/ 47809:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* unused reexport */ __webpack_require__(34995);
/***/ }),
/***/ 1147:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(79040);
__webpack_require__(25869);
// TODO: Remove from `core-js@4`
__webpack_require__(91532);
// TODO: Remove from `core-js@4`
__webpack_require__(99670);
__webpack_require__(38415);
__webpack_require__(5830);
__webpack_require__(4085);
__webpack_require__(34212);
__webpack_require__(52574);
module.exports = parent;
/***/ }),
/***/ 15415:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: remove from `core-js@4`
__webpack_require__(27596);
var parent = __webpack_require__(52620);
module.exports = parent;
/***/ }),
/***/ 33101:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(15424);
// TODO: Remove from `core-js@4`
__webpack_require__(98356);
__webpack_require__(7610);
__webpack_require__(74352);
__webpack_require__(78234);
module.exports = parent;
/***/ }),
/***/ 59991:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(48768);
__webpack_require__(88726);
__webpack_require__(18558);
__webpack_require__(14155);
__webpack_require__(60352);
__webpack_require__(80740);
__webpack_require__(71405);
__webpack_require__(91855);
__webpack_require__(50824);
__webpack_require__(64156);
module.exports = parent;
/***/ }),
/***/ 46439:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(64698);
module.exports = parent;
/***/ }),
/***/ 34995:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(77386);
__webpack_require__(75832);
// TODO: remove from `core-js@4`
__webpack_require__(72502);
__webpack_require__(86942);
__webpack_require__(49820);
__webpack_require__(61709);
__webpack_require__(53828);
__webpack_require__(59821);
module.exports = parent;
/***/ }),
/***/ 58574:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isCallable = __webpack_require__(24241);
var tryToString = __webpack_require__(8171);
var $TypeError = TypeError;
// `Assert: IsCallable(argument) is true`
module.exports = function (argument) {
if (isCallable(argument)) return argument;
throw new $TypeError(tryToString(argument) + ' is not a function');
};
/***/ }),
/***/ 35816:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isConstructor = __webpack_require__(41633);
var tryToString = __webpack_require__(8171);
var $TypeError = TypeError;
// `Assert: IsConstructor(argument) is true`
module.exports = function (argument) {
if (isConstructor(argument)) return argument;
throw new $TypeError(tryToString(argument) + ' is not a constructor');
};
/***/ }),
/***/ 37742:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPossiblePrototype = __webpack_require__(12393);
var $String = String;
var $TypeError = TypeError;
module.exports = function (argument) {
if (isPossiblePrototype(argument)) return argument;
throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
};
/***/ }),
/***/ 46467:
/***/ (function(module) {
"use strict";
var $TypeError = TypeError;
module.exports = function (argument) {
if (typeof argument == 'string') return argument;
throw new $TypeError('Argument is not a string');
};
/***/ }),
/***/ 58361:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var wellKnownSymbol = __webpack_require__(20303);
var create = __webpack_require__(5684);
var defineProperty = (__webpack_require__(84869).f);
var UNSCOPABLES = wellKnownSymbol('unscopables');
var ArrayPrototype = Array.prototype;
// Array.prototype[@@unscopables]
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
if (ArrayPrototype[UNSCOPABLES] === undefined) {
defineProperty(ArrayPrototype, UNSCOPABLES, {
configurable: true,
value: create(null)
});
}
// add a key to Array.prototype[@@unscopables]
module.exports = function (key) {
ArrayPrototype[UNSCOPABLES][key] = true;
};
/***/ }),
/***/ 86193:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var charAt = (__webpack_require__(38131).charAt);
// `AdvanceStringIndex` abstract operation
// https://tc39.es/ecma262/#sec-advancestringindex
module.exports = function (S, index, unicode) {
return index + (unicode ? charAt(S, index).length : 1);
};
/***/ }),
/***/ 75131:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(16733);
var $TypeError = TypeError;
module.exports = function (it, Prototype) {
if (isPrototypeOf(Prototype, it)) return it;
throw new $TypeError('Incorrect invocation');
};
/***/ }),
/***/ 80979:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isObject = __webpack_require__(82054);
var $String = String;
var $TypeError = TypeError;
// `Assert: Type(argument) is Object`
module.exports = function (argument) {
if (isObject(argument)) return argument;
throw new $TypeError($String(argument) + ' is not an object');
};
/***/ }),
/***/ 26008:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it
var fails = __webpack_require__(46915);
module.exports = fails(function () {
if (typeof ArrayBuffer == 'function') {
var buffer = new ArrayBuffer(8);
// eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe
if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });
}
});
/***/ }),
/***/ 42425:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toObject = __webpack_require__(99353);
var toAbsoluteIndex = __webpack_require__(36718);
var lengthOfArrayLike = __webpack_require__(78930);
var deletePropertyOrThrow = __webpack_require__(4250);
var min = Math.min;
// `Array.prototype.copyWithin` method implementation
// https://tc39.es/ecma262/#sec-array.prototype.copywithin
// eslint-disable-next-line es/no-array-prototype-copywithin -- safe
module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {
var O = toObject(this);
var len = lengthOfArrayLike(O);
var to = toAbsoluteIndex(target, len);
var from = toAbsoluteIndex(start, len);
var end = arguments.length > 2 ? arguments[2] : undefined;
var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);
var inc = 1;
if (from < to && to < from + count) {
inc = -1;
from += count - 1;
to += count - 1;
}
while (count-- > 0) {
if (from in O) O[to] = O[from];
else deletePropertyOrThrow(O, to);
to += inc;
from += inc;
} return O;
};
/***/ }),
/***/ 11713:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toObject = __webpack_require__(99353);
var toAbsoluteIndex = __webpack_require__(36718);
var lengthOfArrayLike = __webpack_require__(78930);
// `Array.prototype.fill` method implementation
// https://tc39.es/ecma262/#sec-array.prototype.fill
module.exports = function fill(value /* , start = 0, end = @length */) {
var O = toObject(this);
var length = lengthOfArrayLike(O);
var argumentsLength = arguments.length;
var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);
var end = argumentsLength > 2 ? arguments[2] : undefined;
var endPos = end === undefined ? length : toAbsoluteIndex(end, length);
while (endPos > index) O[index++] = value;
return O;
};
/***/ }),
/***/ 40351:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $forEach = (__webpack_require__(13473).forEach);
var arrayMethodIsStrict = __webpack_require__(69538);
var STRICT_METHOD = arrayMethodIsStrict('forEach');
// `Array.prototype.forEach` method implementation
// https://tc39.es/ecma262/#sec-array.prototype.foreach
module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
} : [].forEach;
/***/ }),
/***/ 54969:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var bind = __webpack_require__(50908);
var uncurryThis = __webpack_require__(7812);
var toObject = __webpack_require__(99353);
var isConstructor = __webpack_require__(41633);
var getAsyncIterator = __webpack_require__(35178);
var getIterator = __webpack_require__(87917);
var getIteratorDirect = __webpack_require__(21739);
var getIteratorMethod = __webpack_require__(62615);
var getMethod = __webpack_require__(2818);
var getBuiltIn = __webpack_require__(22235);
var getBuiltInPrototypeMethod = __webpack_require__(90360);
var wellKnownSymbol = __webpack_require__(20303);
var AsyncFromSyncIterator = __webpack_require__(5078);
var toArray = (__webpack_require__(83115).toArray);
var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator');
var arrayIterator = uncurryThis(getBuiltInPrototypeMethod('Array', 'values'));
var arrayIteratorNext = uncurryThis(arrayIterator([]).next);
var safeArrayIterator = function () {
return new SafeArrayIterator(this);
};
var SafeArrayIterator = function (O) {
this.iterator = arrayIterator(O);
};
SafeArrayIterator.prototype.next = function () {
return arrayIteratorNext(this.iterator);
};
// `Array.fromAsync` method implementation
// https://github.com/tc39/proposal-array-from-async
module.exports = function fromAsync(asyncItems /* , mapfn = undefined, thisArg = undefined */) {
var C = this;
var argumentsLength = arguments.length;
var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
var thisArg = argumentsLength > 2 ? arguments[2] : undefined;
return new (getBuiltIn('Promise'))(function (resolve) {
var O = toObject(asyncItems);
if (mapfn !== undefined) mapfn = bind(mapfn, thisArg);
var usingAsyncIterator = getMethod(O, ASYNC_ITERATOR);
var usingSyncIterator = usingAsyncIterator ? undefined : getIteratorMethod(O) || safeArrayIterator;
var A = isConstructor(C) ? new C() : [];
var iterator = usingAsyncIterator
? getAsyncIterator(O, usingAsyncIterator)
: new AsyncFromSyncIterator(getIteratorDirect(getIterator(O, usingSyncIterator)));
resolve(toArray(iterator, mapfn, A));
});
};
/***/ }),
/***/ 48774:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var lengthOfArrayLike = __webpack_require__(78930);
module.exports = function (Constructor, list, $length) {
var index = 0;
var length = arguments.length > 2 ? $length : lengthOfArrayLike(list);
var result = new Constructor(length);
while (length > index) result[index] = list[index++];
return result;
};
/***/ }),
/***/ 59368:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var bind = __webpack_require__(50908);
var call = __webpack_require__(62729);
var toObject = __webpack_require__(99353);
var callWithSafeIterationClosing = __webpack_require__(84243);
var isArrayIteratorMethod = __webpack_require__(26013);
var isConstructor = __webpack_require__(41633);
var lengthOfArrayLike = __webpack_require__(78930);
var createProperty = __webpack_require__(4236);
var getIterator = __webpack_require__(87917);
var getIteratorMethod = __webpack_require__(62615);
var $Array = Array;
// `Array.from` method implementation
// https://tc39.es/ecma262/#sec-array.from
module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
var O = toObject(arrayLike);
var IS_CONSTRUCTOR = isConstructor(this);
var argumentsLength = arguments.length;
var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
var mapping = mapfn !== undefined;
if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
var iteratorMethod = getIteratorMethod(O);
var index = 0;
var length, result, step, iterator, next, value;
// if the target is not iterable or it's an array with the default iterator - use a simple case
if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
result = IS_CONSTRUCTOR ? new this() : [];
iterator = getIterator(O, iteratorMethod);
next = iterator.next;
for (;!(step = call(next, iterator)).done; index++) {
value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
createProperty(result, index, value);
}
} else {
length = lengthOfArrayLike(O);
result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
for (;length > index; index++) {
value = mapping ? mapfn(O[index], index) : O[index];
createProperty(result, index, value);
}
}
result.length = index;
return result;
};
/***/ }),
/***/ 87276:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var bind = __webpack_require__(50908);
var uncurryThis = __webpack_require__(7812);
var IndexedObject = __webpack_require__(7267);
var toObject = __webpack_require__(99353);
var lengthOfArrayLike = __webpack_require__(78930);
var MapHelpers = __webpack_require__(48980);
var Map = MapHelpers.Map;
var mapGet = MapHelpers.get;
var mapHas = MapHelpers.has;
var mapSet = MapHelpers.set;
var push = uncurryThis([].push);
// `Array.prototype.groupToMap` method
// https://github.com/tc39/proposal-array-grouping
module.exports = function groupToMap(callbackfn /* , thisArg */) {
var O = toObject(this);
var self = IndexedObject(O);
var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
var map = new Map();
var length = lengthOfArrayLike(self);
var index = 0;
var key, value;
for (;length > index; index++) {
value = self[index];
key = boundFunction(value, index, O);
if (mapHas(map, key)) push(mapGet(map, key), value);
else mapSet(map, key, [value]);
} return map;
};
/***/ }),
/***/ 19689:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var bind = __webpack_require__(50908);
var uncurryThis = __webpack_require__(7812);
var IndexedObject = __webpack_require__(7267);
var toObject = __webpack_require__(99353);
var toPropertyKey = __webpack_require__(81037);
var lengthOfArrayLike = __webpack_require__(78930);
var objectCreate = __webpack_require__(5684);
var arrayFromConstructorAndList = __webpack_require__(48774);
var $Array = Array;
var push = uncurryThis([].push);
module.exports = function ($this, callbackfn, that, specificConstructor) {
var O = toObject($this);
var self = IndexedObject(O);
var boundFunction = bind(callbackfn, that);
var target = objectCreate(null);
var length = lengthOfArrayLike(self);
var index = 0;
var Constructor, key, value;
for (;length > index; index++) {
value = self[index];
key = toPropertyKey(boundFunction(value, index, O));
// in some IE versions, `hasOwnProperty` returns incorrect result on integer keys
// but since it's a `null` prototype object, we can safely use `in`
if (key in target) push(target[key], value);
else target[key] = [value];
}
// TODO: Remove this block from `core-js@4`
if (specificConstructor) {
Constructor = specificConstructor(O);
if (Constructor !== $Array) {
for (key in target) target[key] = arrayFromConstructorAndList(Constructor, target[key]);
}
} return target;
};
/***/ }),
/***/ 18941:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toIndexedObject = __webpack_require__(44377);
var toAbsoluteIndex = __webpack_require__(36718);
var lengthOfArrayLike = __webpack_require__(78930);
// `Array.prototype.{ indexOf, includes }` methods implementation
var createMethod = function (IS_INCLUDES) {
return function ($this, el, fromIndex) {
var O = toIndexedObject($this);
var length = lengthOfArrayLike(O);
if (length === 0) return !IS_INCLUDES && -1;
var index = toAbsoluteIndex(fromIndex, length);
var value;
// Array#includes uses SameValueZero equality algorithm
// eslint-disable-next-line no-self-compare -- NaN check
if (IS_INCLUDES && el !== el) while (length > index) {
value = O[index++];
// eslint-disable-next-line no-self-compare -- NaN check
if (value !== value) return true;
// Array#indexOf ignores holes, Array#includes - not
} else for (;length > index; index++) {
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
} return !IS_INCLUDES && -1;
};
};
module.exports = {
// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
includes: createMethod(true),
// `Array.prototype.indexOf` method
// https://tc39.es/ecma262/#sec-array.prototype.indexof
indexOf: createMethod(false)
};
/***/ }),
/***/ 27035:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var bind = __webpack_require__(50908);
var IndexedObject = __webpack_require__(7267);
var toObject = __webpack_require__(99353);
var lengthOfArrayLike = __webpack_require__(78930);
// `Array.prototype.{ findLast, findLastIndex }` methods implementation
var createMethod = function (TYPE) {
var IS_FIND_LAST_INDEX = TYPE === 1;
return function ($this, callbackfn, that) {
var O = toObject($this);
var self = IndexedObject(O);
var index = lengthOfArrayLike(self);
var boundFunction = bind(callbackfn, that);
var value, result;
while (index-- > 0) {
value = self[index];
result = boundFunction(value, index, O);
if (result) switch (TYPE) {
case 0: return value; // findLast
case 1: return index; // findLastIndex
}
}
return IS_FIND_LAST_INDEX ? -1 : undefined;
};
};
module.exports = {
// `Array.prototype.findLast` method
// https://github.com/tc39/proposal-array-find-from-last
findLast: createMethod(0),
// `Array.prototype.findLastIndex` method
// https://github.com/tc39/proposal-array-find-from-last
findLastIndex: createMethod(1)
};
/***/ }),
/***/ 13473:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var bind = __webpack_require__(50908);
var uncurryThis = __webpack_require__(7812);
var IndexedObject = __webpack_require__(7267);
var toObject = __webpack_require__(99353);
var lengthOfArrayLike = __webpack_require__(78930);
var arraySpeciesCreate = __webpack_require__(13233);
var push = uncurryThis([].push);
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
var createMethod = function (TYPE) {
var IS_MAP = TYPE === 1;
var IS_FILTER = TYPE === 2;
var IS_SOME = TYPE === 3;
var IS_EVERY = TYPE === 4;
var IS_FIND_INDEX = TYPE === 6;
var IS_FILTER_REJECT = TYPE === 7;
var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
return function ($this, callbackfn, that, specificCreate) {
var O = toObject($this);
var self = IndexedObject(O);
var length = lengthOfArrayLike(self);
var boundFunction = bind(callbackfn, that);
var index = 0;
var create = specificCreate || arraySpeciesCreate;
var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
var value, result;
for (;length > index; index++) if (NO_HOLES || index in self) {
value = self[index];
result = boundFunction(value, index, O);
if (TYPE) {
if (IS_MAP) target[index] = result; // map
else if (result) switch (TYPE) {
case 3: return true; // some
case 5: return value; // find
case 6: return index; // findIndex
case 2: push(target, value); // filter
} else switch (TYPE) {
case 4: return false; // every
case 7: push(target, value); // filterReject
}
}
}
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
};
};
module.exports = {
// `Array.prototype.forEach` method
// https://tc39.es/ecma262/#sec-array.prototype.foreach
forEach: createMethod(0),
// `Array.prototype.map` method
// https://tc39.es/ecma262/#sec-array.prototype.map
map: createMethod(1),
// `Array.prototype.filter` method
// https://tc39.es/ecma262/#sec-array.prototype.filter
filter: createMethod(2),
// `Array.prototype.some` method
// https://tc39.es/ecma262/#sec-array.prototype.some
some: createMethod(3),
// `Array.prototype.every` method
// https://tc39.es/ecma262/#sec-array.prototype.every
every: createMethod(4),
// `Array.prototype.find` method
// https://tc39.es/ecma262/#sec-array.prototype.find
find: createMethod(5),
// `Array.prototype.findIndex` method
// https://tc39.es/ecma262/#sec-array.prototype.findIndex
findIndex: createMethod(6),
// `Array.prototype.filterReject` method
// https://github.com/tc39/proposal-array-filtering
filterReject: createMethod(7)
};
/***/ }),
/***/ 69615:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* eslint-disable es/no-array-prototype-lastindexof -- safe */
var apply = __webpack_require__(35013);
var toIndexedObject = __webpack_require__(44377);
var toIntegerOrInfinity = __webpack_require__(87407);
var lengthOfArrayLike = __webpack_require__(78930);
var arrayMethodIsStrict = __webpack_require__(69538);
var min = Math.min;
var $lastIndexOf = [].lastIndexOf;
var NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0;
var STRICT_METHOD = arrayMethodIsStrict('lastIndexOf');
var FORCED = NEGATIVE_ZERO || !STRICT_METHOD;
// `Array.prototype.lastIndexOf` method implementation
// https://tc39.es/ecma262/#sec-array.prototype.lastindexof
module.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {
// convert -0 to +0
if (NEGATIVE_ZERO) return apply($lastIndexOf, this, arguments) || 0;
var O = toIndexedObject(this);
var length = lengthOfArrayLike(O);
if (length === 0) return -1;
var index = length - 1;
if (arguments.length > 1) index = min(index, toIntegerOrInfinity(arguments[1]));
if (index < 0) index = length + index;
for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0;
return -1;
} : $lastIndexOf;
/***/ }),
/***/ 92625:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(46915);
var wellKnownSymbol = __webpack_require__(20303);
var V8_VERSION = __webpack_require__(46939);
var SPECIES = wellKnownSymbol('species');
module.exports = function (METHOD_NAME) {
// We can't use this feature detection in V8 since it causes
// deoptimization and serious performance degradation
// https://github.com/zloirock/core-js/issues/677
return V8_VERSION >= 51 || !fails(function () {
var array = [];
var constructor = array.constructor = {};
constructor[SPECIES] = function () {
return { foo: 1 };
};
return array[METHOD_NAME](Boolean).foo !== 1;
});
};
/***/ }),
/***/ 69538:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(46915);
module.exports = function (METHOD_NAME, argument) {
var method = [][METHOD_NAME];
return !!method && fails(function () {
// eslint-disable-next-line no-useless-call -- required for testing
method.call(null, argument || function () { return 1; }, 1);
});
};
/***/ }),
/***/ 8178:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var aCallable = __webpack_require__(58574);
var toObject = __webpack_require__(99353);
var IndexedObject = __webpack_require__(7267);
var lengthOfArrayLike = __webpack_require__(78930);
var $TypeError = TypeError;
var REDUCE_EMPTY = 'Reduce of empty array with no initial value';
// `Array.prototype.{ reduce, reduceRight }` methods implementation
var createMethod = function (IS_RIGHT) {
return function (that, callbackfn, argumentsLength, memo) {
var O = toObject(that);
var self = IndexedObject(O);
var length = lengthOfArrayLike(O);
aCallable(callbackfn);
if (length === 0 && argumentsLength < 2) throw new $TypeError(REDUCE_EMPTY);
var index = IS_RIGHT ? length - 1 : 0;
var i = IS_RIGHT ? -1 : 1;
if (argumentsLength < 2) while (true) {
if (index in self) {
memo = self[index];
index += i;
break;
}
index += i;
if (IS_RIGHT ? index < 0 : length <= index) {
throw new $TypeError(REDUCE_EMPTY);
}
}
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
memo = callbackfn(memo, self[index], index, O);
}
return memo;
};
};
module.exports = {
// `Array.prototype.reduce` method
// https://tc39.es/ecma262/#sec-array.prototype.reduce
left: createMethod(false),
// `Array.prototype.reduceRight` method
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
right: createMethod(true)
};
/***/ }),
/***/ 44739:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(73968);
var isArray = __webpack_require__(86636);
var $TypeError = TypeError;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
// Safari < 13 does not throw an error in this case
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
// makes no sense without proper strict mode support
if (this !== undefined) return true;
try {
// eslint-disable-next-line es/no-object-defineproperty -- safe
Object.defineProperty([], 'length', { writable: false }).length = 1;
} catch (error) {
return error instanceof TypeError;
}
}();
module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
throw new $TypeError('Cannot set read only .length');
} return O.length = length;
} : function (O, length) {
return O.length = length;
};
/***/ }),
/***/ 80108:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
module.exports = uncurryThis([].slice);
/***/ }),
/***/ 75676:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var arraySlice = __webpack_require__(80108);
var floor = Math.floor;
var sort = function (array, comparefn) {
var length = array.length;
if (length < 8) {
// insertion sort
var i = 1;
var element, j;
while (i < length) {
j = i;
element = array[i];
while (j && comparefn(array[j - 1], element) > 0) {
array[j] = array[--j];
}
if (j !== i++) array[j] = element;
}
} else {
// merge sort
var middle = floor(length / 2);
var left = sort(arraySlice(array, 0, middle), comparefn);
var right = sort(arraySlice(array, middle), comparefn);
var llength = left.length;
var rlength = right.length;
var lindex = 0;
var rindex = 0;
while (lindex < llength || rindex < rlength) {
array[lindex + rindex] = (lindex < llength && rindex < rlength)
? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
: lindex < llength ? left[lindex++] : right[rindex++];
}
}
return array;
};
module.exports = sort;
/***/ }),
/***/ 33245:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isArray = __webpack_require__(86636);
var isConstructor = __webpack_require__(41633);
var isObject = __webpack_require__(82054);
var wellKnownSymbol = __webpack_require__(20303);
var SPECIES = wellKnownSymbol('species');
var $Array = Array;
// a part of `ArraySpeciesCreate` abstract operation
// https://tc39.es/ecma262/#sec-arrayspeciescreate
module.exports = function (originalArray) {
var C;
if (isArray(originalArray)) {
C = originalArray.constructor;
// cross-realm fallback
if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;
else if (isObject(C)) {
C = C[SPECIES];
if (C === null) C = undefined;
}
} return C === undefined ? $Array : C;
};
/***/ }),
/***/ 13233:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var arraySpeciesConstructor = __webpack_require__(33245);
// `ArraySpeciesCreate` abstract operation
// https://tc39.es/ecma262/#sec-arrayspeciescreate
module.exports = function (originalArray, length) {
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
};
/***/ }),
/***/ 69848:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var lengthOfArrayLike = __webpack_require__(78930);
// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toReversed
// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed
module.exports = function (O, C) {
var len = lengthOfArrayLike(O);
var A = new C(len);
var k = 0;
for (; k < len; k++) A[k] = O[len - k - 1];
return A;
};
/***/ }),
/***/ 16881:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var aCallable = __webpack_require__(58574);
var isNullOrUndefined = __webpack_require__(90369);
var lengthOfArrayLike = __webpack_require__(78930);
var toObject = __webpack_require__(99353);
var MapHelpers = __webpack_require__(48980);
var iterate = __webpack_require__(16195);
var Map = MapHelpers.Map;
var mapHas = MapHelpers.has;
var mapSet = MapHelpers.set;
var push = uncurryThis([].push);
// `Array.prototype.uniqueBy` method
// https://github.com/tc39/proposal-array-unique
module.exports = function uniqueBy(resolver) {
var that = toObject(this);
var length = lengthOfArrayLike(that);
var result = [];
var map = new Map();
var resolverFunction = !isNullOrUndefined(resolver) ? aCallable(resolver) : function (value) {
return value;
};
var index, item, key;
for (index = 0; index < length; index++) {
item = that[index];
key = resolverFunction(item);
if (!mapHas(map, key)) mapSet(map, key, item);
}
iterate(map, function (value) {
push(result, value);
});
return result;
};
/***/ }),
/***/ 60908:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var lengthOfArrayLike = __webpack_require__(78930);
var toIntegerOrInfinity = __webpack_require__(87407);
var $RangeError = RangeError;
// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with
// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with
module.exports = function (O, C, index, value) {
var len = lengthOfArrayLike(O);
var relativeIndex = toIntegerOrInfinity(index);
var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex;
if (actualIndex >= len || actualIndex < 0) throw new $RangeError('Incorrect index');
var A = new C(len);
var k = 0;
for (; k < len; k++) A[k] = k === actualIndex ? value : O[k];
return A;
};
/***/ }),
/***/ 5078:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(62729);
var anObject = __webpack_require__(80979);
var create = __webpack_require__(5684);
var getMethod = __webpack_require__(2818);
var defineBuiltIns = __webpack_require__(49707);
var InternalStateModule = __webpack_require__(40161);
var getBuiltIn = __webpack_require__(22235);
var AsyncIteratorPrototype = __webpack_require__(31562);
var createIterResultObject = __webpack_require__(51677);
var Promise = getBuiltIn('Promise');
var ASYNC_FROM_SYNC_ITERATOR = 'AsyncFromSyncIterator';
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(ASYNC_FROM_SYNC_ITERATOR);
var asyncFromSyncIteratorContinuation = function (result, resolve, reject) {
var done = result.done;
Promise.resolve(result.value).then(function (value) {
resolve(createIterResultObject(value, done));
}, reject);
};
var AsyncFromSyncIterator = function AsyncIterator(iteratorRecord) {
iteratorRecord.type = ASYNC_FROM_SYNC_ITERATOR;
setInternalState(this, iteratorRecord);
};
AsyncFromSyncIterator.prototype = defineBuiltIns(create(AsyncIteratorPrototype), {
next: function next() {
var state = getInternalState(this);
return new Promise(function (resolve, reject) {
var result = anObject(call(state.next, state.iterator));
asyncFromSyncIteratorContinuation(result, resolve, reject);
});
},
'return': function () {
var iterator = getInternalState(this).iterator;
return new Promise(function (resolve, reject) {
var $return = getMethod(iterator, 'return');
if ($return === undefined) return resolve(createIterResultObject(undefined, true));
var result = anObject(call($return, iterator));
asyncFromSyncIteratorContinuation(result, resolve, reject);
});
}
});
module.exports = AsyncFromSyncIterator;
/***/ }),
/***/ 22272:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(62729);
var getBuiltIn = __webpack_require__(22235);
var getMethod = __webpack_require__(2818);
module.exports = function (iterator, method, argument, reject) {
try {
var returnMethod = getMethod(iterator, 'return');
if (returnMethod) {
return getBuiltIn('Promise').resolve(call(returnMethod, iterator)).then(function () {
method(argument);
}, function (error) {
reject(error);
});
}
} catch (error2) {
return reject(error2);
} method(argument);
};
/***/ }),
/***/ 83115:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// https://github.com/tc39/proposal-iterator-helpers
// https://github.com/tc39/proposal-array-from-async
var call = __webpack_require__(62729);
var aCallable = __webpack_require__(58574);
var anObject = __webpack_require__(80979);
var isObject = __webpack_require__(82054);
var doesNotExceedSafeInteger = __webpack_require__(17257);
var getBuiltIn = __webpack_require__(22235);
var getIteratorDirect = __webpack_require__(21739);
var closeAsyncIteration = __webpack_require__(22272);
var createMethod = function (TYPE) {
var IS_TO_ARRAY = TYPE === 0;
var IS_FOR_EACH = TYPE === 1;
var IS_EVERY = TYPE === 2;
var IS_SOME = TYPE === 3;
return function (object, fn, target) {
anObject(object);
var MAPPING = fn !== undefined;
if (MAPPING || !IS_TO_ARRAY) aCallable(fn);
var record = getIteratorDirect(object);
var Promise = getBuiltIn('Promise');
var iterator = record.iterator;
var next = record.next;
var counter = 0;
return new Promise(function (resolve, reject) {
var ifAbruptCloseAsyncIterator = function (error) {
closeAsyncIteration(iterator, reject, error, reject);
};
var loop = function () {
try {
if (MAPPING) try {
doesNotExceedSafeInteger(counter);
} catch (error5) { ifAbruptCloseAsyncIterator(error5); }
Promise.resolve(anObject(call(next, iterator))).then(function (step) {
try {
if (anObject(step).done) {
if (IS_TO_ARRAY) {
target.length = counter;
resolve(target);
} else resolve(IS_SOME ? false : IS_EVERY || undefined);
} else {
var value = step.value;
try {
if (MAPPING) {
var result = fn(value, counter);
var handler = function ($result) {
if (IS_FOR_EACH) {
loop();
} else if (IS_EVERY) {
$result ? loop() : closeAsyncIteration(iterator, resolve, false, reject);
} else if (IS_TO_ARRAY) {
try {
target[counter++] = $result;
loop();
} catch (error4) { ifAbruptCloseAsyncIterator(error4); }
} else {
$result ? closeAsyncIteration(iterator, resolve, IS_SOME || value, reject) : loop();
}
};
if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator);
else handler(result);
} else {
target[counter++] = value;
loop();
}
} catch (error3) { ifAbruptCloseAsyncIterator(error3); }
}
} catch (error2) { reject(error2); }
}, reject);
} catch (error) { reject(error); }
};
loop();
});
};
};
module.exports = {
toArray: createMethod(0),
forEach: createMethod(1),
every: createMethod(2),
some: createMethod(3),
find: createMethod(4)
};
/***/ }),
/***/ 31562:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
var shared = __webpack_require__(72585);
var isCallable = __webpack_require__(24241);
var create = __webpack_require__(5684);
var getPrototypeOf = __webpack_require__(65591);
var defineBuiltIn = __webpack_require__(20420);
var wellKnownSymbol = __webpack_require__(20303);
var IS_PURE = __webpack_require__(40279);
var USE_FUNCTION_CONSTRUCTOR = 'USE_FUNCTION_CONSTRUCTOR';
var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator');
var AsyncIterator = globalThis.AsyncIterator;
var PassedAsyncIteratorPrototype = shared.AsyncIteratorPrototype;
var AsyncIteratorPrototype, prototype;
if (PassedAsyncIteratorPrototype) {
AsyncIteratorPrototype = PassedAsyncIteratorPrototype;
} else if (isCallable(AsyncIterator)) {
AsyncIteratorPrototype = AsyncIterator.prototype;
} else if (shared[USE_FUNCTION_CONSTRUCTOR] || globalThis[USE_FUNCTION_CONSTRUCTOR]) {
try {
// eslint-disable-next-line no-new-func -- we have no alternatives without usage of modern syntax
prototype = getPrototypeOf(getPrototypeOf(getPrototypeOf(Function('return async function*(){}()')())));
if (getPrototypeOf(prototype) === Object.prototype) AsyncIteratorPrototype = prototype;
} catch (error) { /* empty */ }
}
if (!AsyncIteratorPrototype) AsyncIteratorPrototype = {};
else if (IS_PURE) AsyncIteratorPrototype = create(AsyncIteratorPrototype);
if (!isCallable(AsyncIteratorPrototype[ASYNC_ITERATOR])) {
defineBuiltIn(AsyncIteratorPrototype, ASYNC_ITERATOR, function () {
return this;
});
}
module.exports = AsyncIteratorPrototype;
/***/ }),
/***/ 84243:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var anObject = __webpack_require__(80979);
var iteratorClose = __webpack_require__(32959);
// call something on iterator step with safe closing on error
module.exports = function (iterator, fn, value, ENTRIES) {
try {
return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
} catch (error) {
iteratorClose(iterator, 'throw', error);
}
};
/***/ }),
/***/ 48216:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var wellKnownSymbol = __webpack_require__(20303);
var ITERATOR = wellKnownSymbol('iterator');
var SAFE_CLOSING = false;
try {
var called = 0;
var iteratorWithReturn = {
next: function () {
return { done: !!called++ };
},
'return': function () {
SAFE_CLOSING = true;
}
};
iteratorWithReturn[ITERATOR] = function () {
return this;
};
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
Array.from(iteratorWithReturn, function () { throw 2; });
} catch (error) { /* empty */ }
module.exports = function (exec, SKIP_CLOSING) {
try {
if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
} catch (error) { return false; } // workaround of old WebKit + `eval` bug
var ITERATION_SUPPORT = false;
try {
var object = {};
object[ITERATOR] = function () {
return {
next: function () {
return { done: ITERATION_SUPPORT = true };
}
};
};
exec(object);
} catch (error) { /* empty */ }
return ITERATION_SUPPORT;
};
/***/ }),
/***/ 81788:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var toString = uncurryThis({}.toString);
var stringSlice = uncurryThis(''.slice);
module.exports = function (it) {
return stringSlice(toString(it), 8, -1);
};
/***/ }),
/***/ 97591:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var TO_STRING_TAG_SUPPORT = __webpack_require__(75704);
var isCallable = __webpack_require__(24241);
var classofRaw = __webpack_require__(81788);
var wellKnownSymbol = __webpack_require__(20303);
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var $Object = Object;
// ES3 wrong here
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
// fallback for IE11 Script Access Denied error
var tryGet = function (it, key) {
try {
return it[key];
} catch (error) { /* empty */ }
};
// getting tag from ES6+ `Object.prototype.toString`
module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
var O, tag, result;
return it === undefined ? 'Undefined' : it === null ? 'Null'
// @@toStringTag case
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
// builtinTag case
: CORRECT_ARGUMENTS ? classofRaw(O)
// ES3 arguments fallback
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
};
/***/ }),
/***/ 79358:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var create = __webpack_require__(5684);
var defineBuiltInAccessor = __webpack_require__(98998);
var defineBuiltIns = __webpack_require__(49707);
var bind = __webpack_require__(50908);
var anInstance = __webpack_require__(75131);
var isNullOrUndefined = __webpack_require__(90369);
var iterate = __webpack_require__(51152);
var defineIterator = __webpack_require__(54612);
var createIterResultObject = __webpack_require__(51677);
var setSpecies = __webpack_require__(87101);
var DESCRIPTORS = __webpack_require__(73968);
var fastKey = (__webpack_require__(64775).fastKey);
var InternalStateModule = __webpack_require__(40161);
var setInternalState = InternalStateModule.set;
var internalStateGetterFor = InternalStateModule.getterFor;
module.exports = {
getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
var Constructor = wrapper(function (that, iterable) {
anInstance(that, Prototype);
setInternalState(that, {
type: CONSTRUCTOR_NAME,
index: create(null),
first: null,
last: null,
size: 0
});
if (!DESCRIPTORS) that.size = 0;
if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
});
var Prototype = Constructor.prototype;
var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
var define = function (that, key, value) {
var state = getInternalState(that);
var entry = getEntry(that, key);
var previous, index;
// change existing entry
if (entry) {
entry.value = value;
// create new entry
} else {
state.last = entry = {
index: index = fastKey(key, true),
key: key,
value: value,
previous: previous = state.last,
next: null,
removed: false
};
if (!state.first) state.first = entry;
if (previous) previous.next = entry;
if (DESCRIPTORS) state.size++;
else that.size++;
// add to index
if (index !== 'F') state.index[index] = entry;
} return that;
};
var getEntry = function (that, key) {
var state = getInternalState(that);
// fast case
var index = fastKey(key);
var entry;
if (index !== 'F') return state.index[index];
// frozen object case
for (entry = state.first; entry; entry = entry.next) {
if (entry.key === key) return entry;
}
};
defineBuiltIns(Prototype, {
// `{ Map, Set }.prototype.clear()` methods
// https://tc39.es/ecma262/#sec-map.prototype.clear
// https://tc39.es/ecma262/#sec-set.prototype.clear
clear: function clear() {
var that = this;
var state = getInternalState(that);
var entry = state.first;
while (entry) {
entry.removed = true;
if (entry.previous) entry.previous = entry.previous.next = null;
entry = entry.next;
}
state.first = state.last = null;
state.index = create(null);
if (DESCRIPTORS) state.size = 0;
else that.size = 0;
},
// `{ Map, Set }.prototype.delete(key)` methods
// https://tc39.es/ecma262/#sec-map.prototype.delete
// https://tc39.es/ecma262/#sec-set.prototype.delete
'delete': function (key) {
var that = this;
var state = getInternalState(that);
var entry = getEntry(that, key);
if (entry) {
var next = entry.next;
var prev = entry.previous;
delete state.index[entry.index];
entry.removed = true;
if (prev) prev.next = next;
if (next) next.previous = prev;
if (state.first === entry) state.first = next;
if (state.last === entry) state.last = prev;
if (DESCRIPTORS) state.size--;
else that.size--;
} return !!entry;
},
// `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods
// https://tc39.es/ecma262/#sec-map.prototype.foreach
// https://tc39.es/ecma262/#sec-set.prototype.foreach
forEach: function forEach(callbackfn /* , that = undefined */) {
var state = getInternalState(this);
var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
var entry;
while (entry = entry ? entry.next : state.first) {
boundFunction(entry.value, entry.key, this);
// revert to the last existing entry
while (entry && entry.removed) entry = entry.previous;
}
},
// `{ Map, Set}.prototype.has(key)` methods
// https://tc39.es/ecma262/#sec-map.prototype.has
// https://tc39.es/ecma262/#sec-set.prototype.has
has: function has(key) {
return !!getEntry(this, key);
}
});
defineBuiltIns(Prototype, IS_MAP ? {
// `Map.prototype.get(key)` method
// https://tc39.es/ecma262/#sec-map.prototype.get
get: function get(key) {
var entry = getEntry(this, key);
return entry && entry.value;
},
// `Map.prototype.set(key, value)` method
// https://tc39.es/ecma262/#sec-map.prototype.set
set: function set(key, value) {
return define(this, key === 0 ? 0 : key, value);
}
} : {
// `Set.prototype.add(value)` method
// https://tc39.es/ecma262/#sec-set.prototype.add
add: function add(value) {
return define(this, value = value === 0 ? 0 : value, value);
}
});
if (DESCRIPTORS) defineBuiltInAccessor(Prototype, 'size', {
configurable: true,
get: function () {
return getInternalState(this).size;
}
});
return Constructor;
},
setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {
var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';
var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);
var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);
// `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods
// https://tc39.es/ecma262/#sec-map.prototype.entries
// https://tc39.es/ecma262/#sec-map.prototype.keys
// https://tc39.es/ecma262/#sec-map.prototype.values
// https://tc39.es/ecma262/#sec-map.prototype-@@iterator
// https://tc39.es/ecma262/#sec-set.prototype.entries
// https://tc39.es/ecma262/#sec-set.prototype.keys
// https://tc39.es/ecma262/#sec-set.prototype.values
// https://tc39.es/ecma262/#sec-set.prototype-@@iterator
defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {
setInternalState(this, {
type: ITERATOR_NAME,
target: iterated,
state: getInternalCollectionState(iterated),
kind: kind,
last: null
});
}, function () {
var state = getInternalIteratorState(this);
var kind = state.kind;
var entry = state.last;
// revert to the last existing entry
while (entry && entry.removed) entry = entry.previous;
// get next entry
if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {
// or finish the iteration
state.target = null;
return createIterResultObject(undefined, true);
}
// return step by kind
if (kind === 'keys') return createIterResultObject(entry.key, false);
if (kind === 'values') return createIterResultObject(entry.value, false);
return createIterResultObject([entry.key, entry.value], false);
}, IS_MAP ? 'entries' : 'values', !IS_MAP, true);
// `{ Map, Set }.prototype[@@species]` accessors
// https://tc39.es/ecma262/#sec-get-map-@@species
// https://tc39.es/ecma262/#sec-get-set-@@species
setSpecies(CONSTRUCTOR_NAME);
}
};
/***/ }),
/***/ 45005:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var defineBuiltIns = __webpack_require__(49707);
var getWeakData = (__webpack_require__(64775).getWeakData);
var anInstance = __webpack_require__(75131);
var anObject = __webpack_require__(80979);
var isNullOrUndefined = __webpack_require__(90369);
var isObject = __webpack_require__(82054);
var iterate = __webpack_require__(51152);
var ArrayIterationModule = __webpack_require__(13473);
var hasOwn = __webpack_require__(34525);
var InternalStateModule = __webpack_require__(40161);
var setInternalState = InternalStateModule.set;
var internalStateGetterFor = InternalStateModule.getterFor;
var find = ArrayIterationModule.find;
var findIndex = ArrayIterationModule.findIndex;
var splice = uncurryThis([].splice);
var id = 0;
// fallback for uncaught frozen keys
var uncaughtFrozenStore = function (state) {
return state.frozen || (state.frozen = new UncaughtFrozenStore());
};
var UncaughtFrozenStore = function () {
this.entries = [];
};
var findUncaughtFrozen = function (store, key) {
return find(store.entries, function (it) {
return it[0] === key;
});
};
UncaughtFrozenStore.prototype = {
get: function (key) {
var entry = findUncaughtFrozen(this, key);
if (entry) return entry[1];
},
has: function (key) {
return !!findUncaughtFrozen(this, key);
},
set: function (key, value) {
var entry = findUncaughtFrozen(this, key);
if (entry) entry[1] = value;
else this.entries.push([key, value]);
},
'delete': function (key) {
var index = findIndex(this.entries, function (it) {
return it[0] === key;
});
if (~index) splice(this.entries, index, 1);
return !!~index;
}
};
module.exports = {
getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
var Constructor = wrapper(function (that, iterable) {
anInstance(that, Prototype);
setInternalState(that, {
type: CONSTRUCTOR_NAME,
id: id++,
frozen: null
});
if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
});
var Prototype = Constructor.prototype;
var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
var define = function (that, key, value) {
var state = getInternalState(that);
var data = getWeakData(anObject(key), true);
if (data === true) uncaughtFrozenStore(state).set(key, value);
else data[state.id] = value;
return that;
};
defineBuiltIns(Prototype, {
// `{ WeakMap, WeakSet }.prototype.delete(key)` methods
// https://tc39.es/ecma262/#sec-weakmap.prototype.delete
// https://tc39.es/ecma262/#sec-weakset.prototype.delete
'delete': function (key) {
var state = getInternalState(this);
if (!isObject(key)) return false;
var data = getWeakData(key);
if (data === true) return uncaughtFrozenStore(state)['delete'](key);
return data && hasOwn(data, state.id) && delete data[state.id];
},
// `{ WeakMap, WeakSet }.prototype.has(key)` methods
// https://tc39.es/ecma262/#sec-weakmap.prototype.has
// https://tc39.es/ecma262/#sec-weakset.prototype.has
has: function has(key) {
var state = getInternalState(this);
if (!isObject(key)) return false;
var data = getWeakData(key);
if (data === true) return uncaughtFrozenStore(state).has(key);
return data && hasOwn(data, state.id);
}
});
defineBuiltIns(Prototype, IS_MAP ? {
// `WeakMap.prototype.get(key)` method
// https://tc39.es/ecma262/#sec-weakmap.prototype.get
get: function get(key) {
var state = getInternalState(this);
if (isObject(key)) {
var data = getWeakData(key);
if (data === true) return uncaughtFrozenStore(state).get(key);
if (data) return data[state.id];
}
},
// `WeakMap.prototype.set(key, value)` method
// https://tc39.es/ecma262/#sec-weakmap.prototype.set
set: function set(key, value) {
return define(this, key, value);
}
} : {
// `WeakSet.prototype.add(value)` method
// https://tc39.es/ecma262/#sec-weakset.prototype.add
add: function add(value) {
return define(this, value, true);
}
});
return Constructor;
}
};
/***/ }),
/***/ 44552:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var globalThis = __webpack_require__(40452);
var uncurryThis = __webpack_require__(7812);
var isForced = __webpack_require__(96824);
var defineBuiltIn = __webpack_require__(20420);
var InternalMetadataModule = __webpack_require__(64775);
var iterate = __webpack_require__(51152);
var anInstance = __webpack_require__(75131);
var isCallable = __webpack_require__(24241);
var isNullOrUndefined = __webpack_require__(90369);
var isObject = __webpack_require__(82054);
var fails = __webpack_require__(46915);
var checkCorrectnessOfIteration = __webpack_require__(48216);
var setToStringTag = __webpack_require__(51699);
var inheritIfRequired = __webpack_require__(50947);
module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;
var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;
var ADDER = IS_MAP ? 'set' : 'add';
var NativeConstructor = globalThis[CONSTRUCTOR_NAME];
var NativePrototype = NativeConstructor && NativeConstructor.prototype;
var Constructor = NativeConstructor;
var exported = {};
var fixMethod = function (KEY) {
var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);
defineBuiltIn(NativePrototype, KEY,
KEY === 'add' ? function add(value) {
uncurriedNativeMethod(this, value === 0 ? 0 : value);
return this;
} : KEY === 'delete' ? function (key) {
return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
} : KEY === 'get' ? function get(key) {
return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);
} : KEY === 'has' ? function has(key) {
return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
} : function set(key, value) {
uncurriedNativeMethod(this, key === 0 ? 0 : key, value);
return this;
}
);
};
var REPLACE = isForced(
CONSTRUCTOR_NAME,
!isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {
new NativeConstructor().entries().next();
}))
);
if (REPLACE) {
// create collection constructor
Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);
InternalMetadataModule.enable();
} else if (isForced(CONSTRUCTOR_NAME, true)) {
var instance = new Constructor();
// early implementations not supports chaining
var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) !== instance;
// V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });
// most early implementations doesn't supports iterables, most modern - not close it correctly
// eslint-disable-next-line no-new -- required for testing
var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });
// for early implementations -0 and +0 not the same
var BUGGY_ZERO = !IS_WEAK && fails(function () {
// V8 ~ Chromium 42- fails only with 5+ elements
var $instance = new NativeConstructor();
var index = 5;
while (index--) $instance[ADDER](index, index);
return !$instance.has(-0);
});
if (!ACCEPT_ITERABLES) {
Constructor = wrapper(function (dummy, iterable) {
anInstance(dummy, NativePrototype);
var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);
if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
return that;
});
Constructor.prototype = NativePrototype;
NativePrototype.constructor = Constructor;
}
if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {
fixMethod('delete');
fixMethod('has');
IS_MAP && fixMethod('get');
}
if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);
// weak collections should not contains .clear method
if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;
}
exported[CONSTRUCTOR_NAME] = Constructor;
$({ global: true, constructor: true, forced: Constructor !== NativeConstructor }, exported);
setToStringTag(Constructor, CONSTRUCTOR_NAME);
if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);
return Constructor;
};
/***/ }),
/***/ 40696:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var hasOwn = __webpack_require__(34525);
var ownKeys = __webpack_require__(9275);
var getOwnPropertyDescriptorModule = __webpack_require__(35999);
var definePropertyModule = __webpack_require__(84869);
module.exports = function (target, source, exceptions) {
var keys = ownKeys(source);
var defineProperty = definePropertyModule.f;
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
}
}
};
/***/ }),
/***/ 13328:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var wellKnownSymbol = __webpack_require__(20303);
var MATCH = wellKnownSymbol('match');
module.exports = function (METHOD_NAME) {
var regexp = /./;
try {
'/./'[METHOD_NAME](regexp);
} catch (error1) {
try {
regexp[MATCH] = false;
return '/./'[METHOD_NAME](regexp);
} catch (error2) { /* empty */ }
} return false;
};
/***/ }),
/***/ 28647:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(46915);
module.exports = !fails(function () {
function F() { /* empty */ }
F.prototype.constructor = null;
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
return Object.getPrototypeOf(new F()) !== F.prototype;
});
/***/ }),
/***/ 92996:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var requireObjectCoercible = __webpack_require__(82066);
var toString = __webpack_require__(34211);
var quot = /"/g;
var replace = uncurryThis(''.replace);
// `CreateHTML` abstract operation
// https://tc39.es/ecma262/#sec-createhtml
module.exports = function (string, tag, attribute, value) {
var S = toString(requireObjectCoercible(string));
var p1 = '<' + tag;
if (attribute !== '') p1 += ' ' + attribute + '="' + replace(toString(value), quot, '"') + '"';
return p1 + '>' + S + '</' + tag + '>';
};
/***/ }),
/***/ 51677:
/***/ (function(module) {
"use strict";
// `CreateIterResultObject` abstract operation
// https://tc39.es/ecma262/#sec-createiterresultobject
module.exports = function (value, done) {
return { value: value, done: done };
};
/***/ }),
/***/ 46975:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(73968);
var definePropertyModule = __webpack_require__(84869);
var createPropertyDescriptor = __webpack_require__(19552);
module.exports = DESCRIPTORS ? function (object, key, value) {
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};
/***/ }),
/***/ 19552:
/***/ (function(module) {
"use strict";
module.exports = function (bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value: value
};
};
/***/ }),
/***/ 4236:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(73968);
var definePropertyModule = __webpack_require__(84869);
var createPropertyDescriptor = __webpack_require__(19552);
module.exports = function (object, key, value) {
if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
else object[key] = value;
};
/***/ }),
/***/ 98998:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var makeBuiltIn = __webpack_require__(19999);
var defineProperty = __webpack_require__(84869);
module.exports = function (target, name, descriptor) {
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
return defineProperty.f(target, name, descriptor);
};
/***/ }),
/***/ 20420:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isCallable = __webpack_require__(24241);
var definePropertyModule = __webpack_require__(84869);
var makeBuiltIn = __webpack_require__(19999);
var defineGlobalProperty = __webpack_require__(1573);
module.exports = function (O, key, value, options) {
if (!options) options = {};
var simple = options.enumerable;
var name = options.name !== undefined ? options.name : key;
if (isCallable(value)) makeBuiltIn(value, name, options);
if (options.global) {
if (simple) O[key] = value;
else defineGlobalProperty(key, value);
} else {
try {
if (!options.unsafe) delete O[key];
else if (O[key]) simple = true;
} catch (error) { /* empty */ }
if (simple) O[key] = value;
else definePropertyModule.f(O, key, {
value: value,
enumerable: false,
configurable: !options.nonConfigurable,
writable: !options.nonWritable
});
} return O;
};
/***/ }),
/***/ 49707:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineBuiltIn = __webpack_require__(20420);
module.exports = function (target, src, options) {
for (var key in src) defineBuiltIn(target, key, src[key], options);
return target;
};
/***/ }),
/***/ 1573:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
// eslint-disable-next-line es/no-object-defineproperty -- safe
var defineProperty = Object.defineProperty;
module.exports = function (key, value) {
try {
defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
} catch (error) {
globalThis[key] = value;
} return value;
};
/***/ }),
/***/ 4250:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var tryToString = __webpack_require__(8171);
var $TypeError = TypeError;
module.exports = function (O, P) {
if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));
};
/***/ }),
/***/ 73968:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(46915);
// Detect IE8's incomplete defineProperty implementation
module.exports = !fails(function () {
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
});
/***/ }),
/***/ 76403:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
var isObject = __webpack_require__(82054);
var document = globalThis.document;
// typeof document.createElement is 'object' in old IE
var EXISTS = isObject(document) && isObject(document.createElement);
module.exports = function (it) {
return EXISTS ? document.createElement(it) : {};
};
/***/ }),
/***/ 17257:
/***/ (function(module) {
"use strict";
var $TypeError = TypeError;
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
module.exports = function (it) {
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
return it;
};
/***/ }),
/***/ 96956:
/***/ (function(module) {
"use strict";
// iterable DOM collections
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
module.exports = {
CSSRuleList: 0,
CSSStyleDeclaration: 0,
CSSValueList: 0,
ClientRectList: 0,
DOMRectList: 0,
DOMStringList: 0,
DOMTokenList: 1,
DataTransferItemList: 0,
FileList: 0,
HTMLAllCollection: 0,
HTMLCollection: 0,
HTMLFormElement: 0,
HTMLSelectElement: 0,
MediaList: 0,
MimeTypeArray: 0,
NamedNodeMap: 0,
NodeList: 1,
PaintRequestList: 0,
Plugin: 0,
PluginArray: 0,
SVGLengthList: 0,
SVGNumberList: 0,
SVGPathSegList: 0,
SVGPointList: 0,
SVGStringList: 0,
SVGTransformList: 0,
SourceBufferList: 0,
StyleSheetList: 0,
TextTrackCueList: 0,
TextTrackList: 0,
TouchList: 0
};
/***/ }),
/***/ 34772:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
var documentCreateElement = __webpack_require__(76403);
var classList = documentCreateElement('span').classList;
var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;
module.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;
/***/ }),
/***/ 57651:
/***/ (function(module) {
"use strict";
// IE8- don't enum bug keys
module.exports = [
'constructor',
'hasOwnProperty',
'isPrototypeOf',
'propertyIsEnumerable',
'toLocaleString',
'toString',
'valueOf'
];
/***/ }),
/***/ 86033:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var userAgent = __webpack_require__(74843);
var firefox = userAgent.match(/firefox\/(\d+)/i);
module.exports = !!firefox && +firefox[1];
/***/ }),
/***/ 80975:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var UA = __webpack_require__(74843);
module.exports = /MSIE|Trident/.test(UA);
/***/ }),
/***/ 59293:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var userAgent = __webpack_require__(74843);
module.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';
/***/ }),
/***/ 95876:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var userAgent = __webpack_require__(74843);
// eslint-disable-next-line redos/no-vulnerable -- safe
module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);
/***/ }),
/***/ 54141:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var ENVIRONMENT = __webpack_require__(78659);
module.exports = ENVIRONMENT === 'NODE';
/***/ }),
/***/ 88008:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var userAgent = __webpack_require__(74843);
module.exports = /web0s(?!.*chrome)/i.test(userAgent);
/***/ }),
/***/ 74843:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
var navigator = globalThis.navigator;
var userAgent = navigator && navigator.userAgent;
module.exports = userAgent ? String(userAgent) : '';
/***/ }),
/***/ 46939:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
var userAgent = __webpack_require__(74843);
var process = globalThis.process;
var Deno = globalThis.Deno;
var versions = process && process.versions || Deno && Deno.version;
var v8 = versions && versions.v8;
var match, version;
if (v8) {
match = v8.split('.');
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
// but their correct versions are not interesting for us
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
}
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
// so check `userAgent` even if `.v8` exists, but 0
if (!version && userAgent) {
match = userAgent.match(/Edge\/(\d+)/);
if (!match || match[1] >= 74) {
match = userAgent.match(/Chrome\/(\d+)/);
if (match) version = +match[1];
}
}
module.exports = version;
/***/ }),
/***/ 19379:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var userAgent = __webpack_require__(74843);
var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
module.exports = !!webkit && +webkit[1];
/***/ }),
/***/ 78659:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* global Bun, Deno -- detection */
var globalThis = __webpack_require__(40452);
var userAgent = __webpack_require__(74843);
var classof = __webpack_require__(81788);
var userAgentStartsWith = function (string) {
return userAgent.slice(0, string.length) === string;
};
module.exports = (function () {
if (userAgentStartsWith('Bun/')) return 'BUN';
if (userAgentStartsWith('Cloudflare-Workers')) return 'CLOUDFLARE';
if (userAgentStartsWith('Deno/')) return 'DENO';
if (userAgentStartsWith('Node.js/')) return 'NODE';
if (globalThis.Bun && typeof Bun.version == 'string') return 'BUN';
if (globalThis.Deno && typeof Deno.version == 'object') return 'DENO';
if (classof(globalThis.process) === 'process') return 'NODE';
if (globalThis.window && globalThis.document) return 'BROWSER';
return 'REST';
})();
/***/ }),
/***/ 16922:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
var getOwnPropertyDescriptor = (__webpack_require__(35999).f);
var createNonEnumerableProperty = __webpack_require__(46975);
var defineBuiltIn = __webpack_require__(20420);
var defineGlobalProperty = __webpack_require__(1573);
var copyConstructorProperties = __webpack_require__(40696);
var isForced = __webpack_require__(96824);
/*
options.target - name of the target object
options.global - target is the global object
options.stat - export as static methods of target
options.proto - export as prototype methods of target
options.real - real prototype method for the `pure` version
options.forced - export even if the native feature is available
options.bind - bind methods to the target, required for the `pure` version
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
options.unsafe - use the simple assignment of property instead of delete + defineProperty
options.sham - add a flag to not completely full polyfills
options.enumerable - export as enumerable property
options.dontCallGetSet - prevent calling a getter on target
options.name - the .name of the function if it does not match the key
*/
module.exports = function (options, source) {
var TARGET = options.target;
var GLOBAL = options.global;
var STATIC = options.stat;
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
if (GLOBAL) {
target = globalThis;
} else if (STATIC) {
target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
} else {
target = globalThis[TARGET] && globalThis[TARGET].prototype;
}
if (target) for (key in source) {
sourceProperty = source[key];
if (options.dontCallGetSet) {
descriptor = getOwnPropertyDescriptor(target, key);
targetProperty = descriptor && descriptor.value;
} else targetProperty = target[key];
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
// contained in target
if (!FORCED && targetProperty !== undefined) {
if (typeof sourceProperty == typeof targetProperty) continue;
copyConstructorProperties(sourceProperty, targetProperty);
}
// add a flag to not completely full polyfills
if (options.sham || (targetProperty && targetProperty.sham)) {
createNonEnumerableProperty(sourceProperty, 'sham', true);
}
defineBuiltIn(target, key, sourceProperty, options);
}
};
/***/ }),
/***/ 46915:
/***/ (function(module) {
"use strict";
module.exports = function (exec) {
try {
return !!exec();
} catch (error) {
return true;
}
};
/***/ }),
/***/ 18016:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4` since it's moved to entry points
__webpack_require__(59803);
var call = __webpack_require__(62729);
var defineBuiltIn = __webpack_require__(20420);
var regexpExec = __webpack_require__(98767);
var fails = __webpack_require__(46915);
var wellKnownSymbol = __webpack_require__(20303);
var createNonEnumerableProperty = __webpack_require__(46975);
var SPECIES = wellKnownSymbol('species');
var RegExpPrototype = RegExp.prototype;
module.exports = function (KEY, exec, FORCED, SHAM) {
var SYMBOL = wellKnownSymbol(KEY);
var DELEGATES_TO_SYMBOL = !fails(function () {
// String methods call symbol-named RegExp methods
var O = {};
O[SYMBOL] = function () { return 7; };
return ''[KEY](O) !== 7;
});
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
// Symbol-named RegExp methods call .exec
var execCalled = false;
var re = /a/;
if (KEY === 'split') {
// We can't use real regex here since it causes deoptimization
// and serious performance degradation in V8
// https://github.com/zloirock/core-js/issues/306
re = {};
// RegExp[@@split] doesn't call the regex's exec method, but first creates
// a new one. We need to return the patched regex when creating the new one.
re.constructor = {};
re.constructor[SPECIES] = function () { return re; };
re.flags = '';
re[SYMBOL] = /./[SYMBOL];
}
re.exec = function () {
execCalled = true;
return null;
};
re[SYMBOL]('');
return !execCalled;
});
if (
!DELEGATES_TO_SYMBOL ||
!DELEGATES_TO_EXEC ||
FORCED
) {
var nativeRegExpMethod = /./[SYMBOL];
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
var $exec = regexp.exec;
if ($exec === regexpExec || $exec === RegExpPrototype.exec) {
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
// The native String method already delegates to @@method (this
// polyfilled function), leasing to infinite recursion.
// We avoid it by directly calling the native @@method method.
return { done: true, value: call(nativeRegExpMethod, regexp, str, arg2) };
}
return { done: true, value: call(nativeMethod, str, regexp, arg2) };
}
return { done: false };
});
defineBuiltIn(String.prototype, KEY, methods[0]);
defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
}
if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
};
/***/ }),
/***/ 38631:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isArray = __webpack_require__(86636);
var lengthOfArrayLike = __webpack_require__(78930);
var doesNotExceedSafeInteger = __webpack_require__(17257);
var bind = __webpack_require__(50908);
// `FlattenIntoArray` abstract operation
// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray
var flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {
var targetIndex = start;
var sourceIndex = 0;
var mapFn = mapper ? bind(mapper, thisArg) : false;
var element, elementLen;
while (sourceIndex < sourceLen) {
if (sourceIndex in source) {
element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
if (depth > 0 && isArray(element)) {
elementLen = lengthOfArrayLike(element);
targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1;
} else {
doesNotExceedSafeInteger(targetIndex + 1);
target[targetIndex] = element;
}
targetIndex++;
}
sourceIndex++;
}
return targetIndex;
};
module.exports = flattenIntoArray;
/***/ }),
/***/ 80444:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(46915);
module.exports = !fails(function () {
// eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing
return Object.isExtensible(Object.preventExtensions({}));
});
/***/ }),
/***/ 35013:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var NATIVE_BIND = __webpack_require__(25412);
var FunctionPrototype = Function.prototype;
var apply = FunctionPrototype.apply;
var call = FunctionPrototype.call;
// eslint-disable-next-line es/no-reflect -- safe
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
return call.apply(apply, arguments);
});
/***/ }),
/***/ 50908:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(20304);
var aCallable = __webpack_require__(58574);
var NATIVE_BIND = __webpack_require__(25412);
var bind = uncurryThis(uncurryThis.bind);
// optional / simple context binding
module.exports = function (fn, that) {
aCallable(fn);
return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
return fn.apply(that, arguments);
};
};
/***/ }),
/***/ 25412:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(46915);
module.exports = !fails(function () {
// eslint-disable-next-line es/no-function-prototype-bind -- safe
var test = (function () { /* empty */ }).bind();
// eslint-disable-next-line no-prototype-builtins -- safe
return typeof test != 'function' || test.hasOwnProperty('prototype');
});
/***/ }),
/***/ 21922:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var aCallable = __webpack_require__(58574);
var isObject = __webpack_require__(82054);
var hasOwn = __webpack_require__(34525);
var arraySlice = __webpack_require__(80108);
var NATIVE_BIND = __webpack_require__(25412);
var $Function = Function;
var concat = uncurryThis([].concat);
var join = uncurryThis([].join);
var factories = {};
var construct = function (C, argsLength, args) {
if (!hasOwn(factories, argsLength)) {
var list = [];
var i = 0;
for (; i < argsLength; i++) list[i] = 'a[' + i + ']';
factories[argsLength] = $Function('C,a', 'return new C(' + join(list, ',') + ')');
} return factories[argsLength](C, args);
};
// `Function.prototype.bind` method implementation
// https://tc39.es/ecma262/#sec-function.prototype.bind
// eslint-disable-next-line es/no-function-prototype-bind -- detection
module.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args */) {
var F = aCallable(this);
var Prototype = F.prototype;
var partArgs = arraySlice(arguments, 1);
var boundFunction = function bound(/* args... */) {
var args = concat(partArgs, arraySlice(arguments));
return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args);
};
if (isObject(Prototype)) boundFunction.prototype = Prototype;
return boundFunction;
};
/***/ }),
/***/ 62729:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var NATIVE_BIND = __webpack_require__(25412);
var call = Function.prototype.call;
module.exports = NATIVE_BIND ? call.bind(call) : function () {
return call.apply(call, arguments);
};
/***/ }),
/***/ 83298:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(73968);
var hasOwn = __webpack_require__(34525);
var FunctionPrototype = Function.prototype;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
var EXISTS = hasOwn(FunctionPrototype, 'name');
// additional protection from minified / mangled / dropped function names
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
module.exports = {
EXISTS: EXISTS,
PROPER: PROPER,
CONFIGURABLE: CONFIGURABLE
};
/***/ }),
/***/ 278:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var aCallable = __webpack_require__(58574);
module.exports = function (object, key, method) {
try {
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
} catch (error) { /* empty */ }
};
/***/ }),
/***/ 20304:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var classofRaw = __webpack_require__(81788);
var uncurryThis = __webpack_require__(7812);
module.exports = function (fn) {
// Nashorn bug:
// https://github.com/zloirock/core-js/issues/1128
// https://github.com/zloirock/core-js/issues/1130
if (classofRaw(fn) === 'Function') return uncurryThis(fn);
};
/***/ }),
/***/ 7812:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var NATIVE_BIND = __webpack_require__(25412);
var FunctionPrototype = Function.prototype;
var call = FunctionPrototype.call;
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
return function () {
return call.apply(fn, arguments);
};
};
/***/ }),
/***/ 35178:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(62729);
var AsyncFromSyncIterator = __webpack_require__(5078);
var anObject = __webpack_require__(80979);
var getIterator = __webpack_require__(87917);
var getIteratorDirect = __webpack_require__(21739);
var getMethod = __webpack_require__(2818);
var wellKnownSymbol = __webpack_require__(20303);
var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator');
module.exports = function (it, usingIterator) {
var method = arguments.length < 2 ? getMethod(it, ASYNC_ITERATOR) : usingIterator;
return method ? anObject(call(method, it)) : new AsyncFromSyncIterator(getIteratorDirect(getIterator(it)));
};
/***/ }),
/***/ 90360:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
module.exports = function (CONSTRUCTOR, METHOD) {
var Constructor = globalThis[CONSTRUCTOR];
var Prototype = Constructor && Constructor.prototype;
return Prototype && Prototype[METHOD];
};
/***/ }),
/***/ 22235:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
var isCallable = __webpack_require__(24241);
var aFunction = function (argument) {
return isCallable(argument) ? argument : undefined;
};
module.exports = function (namespace, method) {
return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
};
/***/ }),
/***/ 21739:
/***/ (function(module) {
"use strict";
// `GetIteratorDirect(obj)` abstract operation
// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
module.exports = function (obj) {
return {
iterator: obj,
next: obj.next,
done: false
};
};
/***/ }),
/***/ 62615:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var classof = __webpack_require__(97591);
var getMethod = __webpack_require__(2818);
var isNullOrUndefined = __webpack_require__(90369);
var Iterators = __webpack_require__(16817);
var wellKnownSymbol = __webpack_require__(20303);
var ITERATOR = wellKnownSymbol('iterator');
module.exports = function (it) {
if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
|| getMethod(it, '@@iterator')
|| Iterators[classof(it)];
};
/***/ }),
/***/ 87917:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(62729);
var aCallable = __webpack_require__(58574);
var anObject = __webpack_require__(80979);
var tryToString = __webpack_require__(8171);
var getIteratorMethod = __webpack_require__(62615);
var $TypeError = TypeError;
module.exports = function (argument, usingIterator) {
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
throw new $TypeError(tryToString(argument) + ' is not iterable');
};
/***/ }),
/***/ 18825:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var isArray = __webpack_require__(86636);
var isCallable = __webpack_require__(24241);
var classof = __webpack_require__(81788);
var toString = __webpack_require__(34211);
var push = uncurryThis([].push);
module.exports = function (replacer) {
if (isCallable(replacer)) return replacer;
if (!isArray(replacer)) return;
var rawLength = replacer.length;
var keys = [];
for (var i = 0; i < rawLength; i++) {
var element = replacer[i];
if (typeof element == 'string') push(keys, element);
else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));
}
var keysLength = keys.length;
var root = true;
return function (key, value) {
if (root) {
root = false;
return value;
}
if (isArray(this)) return value;
for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
};
};
/***/ }),
/***/ 2818:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var aCallable = __webpack_require__(58574);
var isNullOrUndefined = __webpack_require__(90369);
// `GetMethod` abstract operation
// https://tc39.es/ecma262/#sec-getmethod
module.exports = function (V, P) {
var func = V[P];
return isNullOrUndefined(func) ? undefined : aCallable(func);
};
/***/ }),
/***/ 29634:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var toObject = __webpack_require__(99353);
var floor = Math.floor;
var charAt = uncurryThis(''.charAt);
var replace = uncurryThis(''.replace);
var stringSlice = uncurryThis(''.slice);
// eslint-disable-next-line redos/no-vulnerable -- safe
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
// `GetSubstitution` abstract operation
// https://tc39.es/ecma262/#sec-getsubstitution
module.exports = function (matched, str, position, captures, namedCaptures, replacement) {
var tailPos = position + matched.length;
var m = captures.length;
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
if (namedCaptures !== undefined) {
namedCaptures = toObject(namedCaptures);
symbols = SUBSTITUTION_SYMBOLS;
}
return replace(replacement, symbols, function (match, ch) {
var capture;
switch (charAt(ch, 0)) {
case '$': return '$';
case '&': return matched;
case '`': return stringSlice(str, 0, position);
case "'": return stringSlice(str, tailPos);
case '<':
capture = namedCaptures[stringSlice(ch, 1, -1)];
break;
default: // \d\d?
var n = +ch;
if (n === 0) return match;
if (n > m) {
var f = floor(n / 10);
if (f === 0) return match;
if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
return match;
}
capture = captures[n - 1];
}
return capture === undefined ? '' : capture;
});
};
/***/ }),
/***/ 40452:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var check = function (it) {
return it && it.Math === Math && it;
};
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
module.exports =
// eslint-disable-next-line es/no-global-this -- safe
check(typeof globalThis == 'object' && globalThis) ||
check(typeof window == 'object' && window) ||
// eslint-disable-next-line no-restricted-globals -- safe
check(typeof self == 'object' && self) ||
check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
check(typeof this == 'object' && this) ||
// eslint-disable-next-line no-new-func -- fallback
(function () { return this; })() || Function('return this')();
/***/ }),
/***/ 34525:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var toObject = __webpack_require__(99353);
var hasOwnProperty = uncurryThis({}.hasOwnProperty);
// `HasOwnProperty` abstract operation
// https://tc39.es/ecma262/#sec-hasownproperty
// eslint-disable-next-line es/no-object-hasown -- safe
module.exports = Object.hasOwn || function hasOwn(it, key) {
return hasOwnProperty(toObject(it), key);
};
/***/ }),
/***/ 9913:
/***/ (function(module) {
"use strict";
module.exports = {};
/***/ }),
/***/ 4489:
/***/ (function(module) {
"use strict";
module.exports = function (a, b) {
try {
// eslint-disable-next-line no-console -- safe
arguments.length === 1 ? console.error(a) : console.error(a, b);
} catch (error) { /* empty */ }
};
/***/ }),
/***/ 44625:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var getBuiltIn = __webpack_require__(22235);
module.exports = getBuiltIn('document', 'documentElement');
/***/ }),
/***/ 41329:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(73968);
var fails = __webpack_require__(46915);
var createElement = __webpack_require__(76403);
// Thanks to IE8 for its funny defineProperty
module.exports = !DESCRIPTORS && !fails(function () {
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
return Object.defineProperty(createElement('div'), 'a', {
get: function () { return 7; }
}).a !== 7;
});
/***/ }),
/***/ 7267:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var fails = __webpack_require__(46915);
var classof = __webpack_require__(81788);
var $Object = Object;
var split = uncurryThis(''.split);
// fallback for non-array-like ES3 and non-enumerable old V8 strings
module.exports = fails(function () {
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
// eslint-disable-next-line no-prototype-builtins -- safe
return !$Object('z').propertyIsEnumerable(0);
}) ? function (it) {
return classof(it) === 'String' ? split(it, '') : $Object(it);
} : $Object;
/***/ }),
/***/ 50947:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isCallable = __webpack_require__(24241);
var isObject = __webpack_require__(82054);
var setPrototypeOf = __webpack_require__(96723);
// makes subclassing work correct for wrapped built-ins
module.exports = function ($this, dummy, Wrapper) {
var NewTarget, NewTargetPrototype;
if (
// it can work only with native `setPrototypeOf`
setPrototypeOf &&
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
isCallable(NewTarget = dummy.constructor) &&
NewTarget !== Wrapper &&
isObject(NewTargetPrototype = NewTarget.prototype) &&
NewTargetPrototype !== Wrapper.prototype
) setPrototypeOf($this, NewTargetPrototype);
return $this;
};
/***/ }),
/***/ 79822:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var isCallable = __webpack_require__(24241);
var store = __webpack_require__(72585);
var functionToString = uncurryThis(Function.toString);
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
if (!isCallable(store.inspectSource)) {
store.inspectSource = function (it) {
return functionToString(it);
};
}
module.exports = store.inspectSource;
/***/ }),
/***/ 64775:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(7812);
var hiddenKeys = __webpack_require__(9913);
var isObject = __webpack_require__(82054);
var hasOwn = __webpack_require__(34525);
var defineProperty = (__webpack_require__(84869).f);
var getOwnPropertyNamesModule = __webpack_require__(22828);
var getOwnPropertyNamesExternalModule = __webpack_require__(83070);
var isExtensible = __webpack_require__(80000);
var uid = __webpack_require__(53796);
var FREEZING = __webpack_require__(80444);
var REQUIRED = false;
var METADATA = uid('meta');
var id = 0;
var setMetadata = function (it) {
defineProperty(it, METADATA, { value: {
objectID: 'O' + id++, // object ID
weakData: {} // weak collections IDs
} });
};
var fastKey = function (it, create) {
// return a primitive with prefix
if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
if (!hasOwn(it, METADATA)) {
// can't set metadata to uncaught frozen object
if (!isExtensible(it)) return 'F';
// not necessary to add metadata
if (!create) return 'E';
// add missing metadata
setMetadata(it);
// return object ID
} return it[METADATA].objectID;
};
var getWeakData = function (it, create) {
if (!hasOwn(it, METADATA)) {
// can't set metadata to uncaught frozen object
if (!isExtensible(it)) return true;
// not necessary to add metadata
if (!create) return false;
// add missing metadata
setMetadata(it);
// return the store of weak collections IDs
} return it[METADATA].weakData;
};
// add metadata on freeze-family methods calling
var onFreeze = function (it) {
if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);
return it;
};
var enable = function () {
meta.enable = function () { /* empty */ };
REQUIRED = true;
var getOwnPropertyNames = getOwnPropertyNamesModule.f;
var splice = uncurryThis([].splice);
var test = {};
test[METADATA] = 1;
// prevent exposing of metadata key
if (getOwnPropertyNames(test).length) {
getOwnPropertyNamesModule.f = function (it) {
var result = getOwnPropertyNames(it);
for (var i = 0, length = result.length; i < length; i++) {
if (result[i] === METADATA) {
splice(result, i, 1);
break;
}
} return result;
};
$({ target: 'Object', stat: true, forced: true }, {
getOwnPropertyNames: getOwnPropertyNamesExternalModule.f
});
}
};
var meta = module.exports = {
enable: enable,
fastKey: fastKey,
getWeakData: getWeakData,
onFreeze: onFreeze
};
hiddenKeys[METADATA] = true;
/***/ }),
/***/ 40161:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var NATIVE_WEAK_MAP = __webpack_require__(63554);
var globalThis = __webpack_require__(40452);
var isObject = __webpack_require__(82054);
var createNonEnumerableProperty = __webpack_require__(46975);
var hasOwn = __webpack_require__(34525);
var shared = __webpack_require__(72585);
var sharedKey = __webpack_require__(35395);
var hiddenKeys = __webpack_require__(9913);
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
var TypeError = globalThis.TypeError;
var WeakMap = globalThis.WeakMap;
var set, get, has;
var enforce = function (it) {
return has(it) ? get(it) : set(it, {});
};
var getterFor = function (TYPE) {
return function (it) {
var state;
if (!isObject(it) || (state = get(it)).type !== TYPE) {
throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
} return state;
};
};
if (NATIVE_WEAK_MAP || shared.state) {
var store = shared.state || (shared.state = new WeakMap());
/* eslint-disable no-self-assign -- prototype methods protection */
store.get = store.get;
store.has = store.has;
store.set = store.set;
/* eslint-enable no-self-assign -- prototype methods protection */
set = function (it, metadata) {
if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
metadata.facade = it;
store.set(it, metadata);
return metadata;
};
get = function (it) {
return store.get(it) || {};
};
has = function (it) {
return store.has(it);
};
} else {
var STATE = sharedKey('state');
hiddenKeys[STATE] = true;
set = function (it, metadata) {
if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
metadata.facade = it;
createNonEnumerableProperty(it, STATE, metadata);
return metadata;
};
get = function (it) {
return hasOwn(it, STATE) ? it[STATE] : {};
};
has = function (it) {
return hasOwn(it, STATE);
};
}
module.exports = {
set: set,
get: get,
has: has,
enforce: enforce,
getterFor: getterFor
};
/***/ }),
/***/ 26013:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var wellKnownSymbol = __webpack_require__(20303);
var Iterators = __webpack_require__(16817);
var ITERATOR = wellKnownSymbol('iterator');
var ArrayPrototype = Array.prototype;
// check on default Array iterator
module.exports = function (it) {
return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
};
/***/ }),
/***/ 86636:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var classof = __webpack_require__(81788);
// `IsArray` abstract operation
// https://tc39.es/ecma262/#sec-isarray
// eslint-disable-next-line es/no-array-isarray -- safe
module.exports = Array.isArray || function isArray(argument) {
return classof(argument) === 'Array';
};
/***/ }),
/***/ 24241:
/***/ (function(module) {
"use strict";
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
var documentAll = typeof document == 'object' && document.all;
// `IsCallable` abstract operation
// https://tc39.es/ecma262/#sec-iscallable
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
return typeof argument == 'function' || argument === documentAll;
} : function (argument) {
return typeof argument == 'function';
};
/***/ }),
/***/ 41633:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var fails = __webpack_require__(46915);
var isCallable = __webpack_require__(24241);
var classof = __webpack_require__(97591);
var getBuiltIn = __webpack_require__(22235);
var inspectSource = __webpack_require__(79822);
var noop = function () { /* empty */ };
var construct = getBuiltIn('Reflect', 'construct');
var constructorRegExp = /^\s*(?:class|function)\b/;
var exec = uncurryThis(constructorRegExp.exec);
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
var isConstructorModern = function isConstructor(argument) {
if (!isCallable(argument)) return false;
try {
construct(noop, [], argument);
return true;
} catch (error) {
return false;
}
};
var isConstructorLegacy = function isConstructor(argument) {
if (!isCallable(argument)) return false;
switch (classof(argument)) {
case 'AsyncFunction':
case 'GeneratorFunction':
case 'AsyncGeneratorFunction': return false;
}
try {
// we can't check .prototype since constructors produced by .bind haven't it
// `Function#toString` throws on some built-it function in some legacy engines
// (for example, `DOMQuad` and similar in FF41-)
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
} catch (error) {
return true;
}
};
isConstructorLegacy.sham = true;
// `IsConstructor` abstract operation
// https://tc39.es/ecma262/#sec-isconstructor
module.exports = !construct || fails(function () {
var called;
return isConstructorModern(isConstructorModern.call)
|| !isConstructorModern(Object)
|| !isConstructorModern(function () { called = true; })
|| called;
}) ? isConstructorLegacy : isConstructorModern;
/***/ }),
/***/ 51787:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var hasOwn = __webpack_require__(34525);
module.exports = function (descriptor) {
return descriptor !== undefined && (hasOwn(descriptor, 'value') || hasOwn(descriptor, 'writable'));
};
/***/ }),
/***/ 96824:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(46915);
var isCallable = __webpack_require__(24241);
var replacement = /#|\.prototype\./;
var isForced = function (feature, detection) {
var value = data[normalize(feature)];
return value === POLYFILL ? true
: value === NATIVE ? false
: isCallable(detection) ? fails(detection)
: !!detection;
};
var normalize = isForced.normalize = function (string) {
return String(string).replace(replacement, '.').toLowerCase();
};
var data = isForced.data = {};
var NATIVE = isForced.NATIVE = 'N';
var POLYFILL = isForced.POLYFILL = 'P';
module.exports = isForced;
/***/ }),
/***/ 90369:
/***/ (function(module) {
"use strict";
// we can't use just `it == null` since of `document.all` special case
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
module.exports = function (it) {
return it === null || it === undefined;
};
/***/ }),
/***/ 82054:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isCallable = __webpack_require__(24241);
module.exports = function (it) {
return typeof it == 'object' ? it !== null : isCallable(it);
};
/***/ }),
/***/ 12393:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isObject = __webpack_require__(82054);
module.exports = function (argument) {
return isObject(argument) || argument === null;
};
/***/ }),
/***/ 40279:
/***/ (function(module) {
"use strict";
module.exports = false;
/***/ }),
/***/ 31272:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isObject = __webpack_require__(82054);
var classof = __webpack_require__(81788);
var wellKnownSymbol = __webpack_require__(20303);
var MATCH = wellKnownSymbol('match');
// `IsRegExp` abstract operation
// https://tc39.es/ecma262/#sec-isregexp
module.exports = function (it) {
var isRegExp;
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
};
/***/ }),
/***/ 16809:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var getBuiltIn = __webpack_require__(22235);
var isCallable = __webpack_require__(24241);
var isPrototypeOf = __webpack_require__(16733);
var USE_SYMBOL_AS_UID = __webpack_require__(57252);
var $Object = Object;
module.exports = USE_SYMBOL_AS_UID ? function (it) {
return typeof it == 'symbol';
} : function (it) {
var $Symbol = getBuiltIn('Symbol');
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
};
/***/ }),
/***/ 89399:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(62729);
module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
var next = record.next;
var step, result;
while (!(step = call(next, iterator)).done) {
result = fn(step.value);
if (result !== undefined) return result;
}
};
/***/ }),
/***/ 51152:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var bind = __webpack_require__(50908);
var call = __webpack_require__(62729);
var anObject = __webpack_require__(80979);
var tryToString = __webpack_require__(8171);
var isArrayIteratorMethod = __webpack_require__(26013);
var lengthOfArrayLike = __webpack_require__(78930);
var isPrototypeOf = __webpack_require__(16733);
var getIterator = __webpack_require__(87917);
var getIteratorMethod = __webpack_require__(62615);
var iteratorClose = __webpack_require__(32959);
var $TypeError = TypeError;
var Result = function (stopped, result) {
this.stopped = stopped;
this.result = result;
};
var ResultPrototype = Result.prototype;
module.exports = function (iterable, unboundFunction, options) {
var that = options && options.that;
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
var IS_RECORD = !!(options && options.IS_RECORD);
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
var INTERRUPTED = !!(options && options.INTERRUPTED);
var fn = bind(unboundFunction, that);
var iterator, iterFn, index, length, result, next, step;
var stop = function (condition) {
if (iterator) iteratorClose(iterator, 'normal', condition);
return new Result(true, condition);
};
var callFn = function (value) {
if (AS_ENTRIES) {
anObject(value);
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
} return INTERRUPTED ? fn(value, stop) : fn(value);
};
if (IS_RECORD) {
iterator = iterable.iterator;
} else if (IS_ITERATOR) {
iterator = iterable;
} else {
iterFn = getIteratorMethod(iterable);
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
// optimisation for array iterators
if (isArrayIteratorMethod(iterFn)) {
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
result = callFn(iterable[index]);
if (result && isPrototypeOf(ResultPrototype, result)) return result;
} return new Result(false);
}
iterator = getIterator(iterable, iterFn);
}
next = IS_RECORD ? iterable.next : iterator.next;
while (!(step = call(next, iterator)).done) {
try {
result = callFn(step.value);
} catch (error) {
iteratorClose(iterator, 'throw', error);
}
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
} return new Result(false);
};
/***/ }),
/***/ 32959:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(62729);
var anObject = __webpack_require__(80979);
var getMethod = __webpack_require__(2818);
module.exports = function (iterator, kind, value) {
var innerResult, innerError;
anObject(iterator);
try {
innerResult = getMethod(iterator, 'return');
if (!innerResult) {
if (kind === 'throw') throw value;
return value;
}
innerResult = call(innerResult, iterator);
} catch (error) {
innerError = true;
innerResult = error;
}
if (kind === 'throw') throw value;
if (innerError) throw innerResult;
anObject(innerResult);
return value;
};
/***/ }),
/***/ 77046:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var IteratorPrototype = (__webpack_require__(28861).IteratorPrototype);
var create = __webpack_require__(5684);
var createPropertyDescriptor = __webpack_require__(19552);
var setToStringTag = __webpack_require__(51699);
var Iterators = __webpack_require__(16817);
var returnThis = function () { return this; };
module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
var TO_STRING_TAG = NAME + ' Iterator';
IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
Iterators[TO_STRING_TAG] = returnThis;
return IteratorConstructor;
};
/***/ }),
/***/ 54612:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var call = __webpack_require__(62729);
var IS_PURE = __webpack_require__(40279);
var FunctionName = __webpack_require__(83298);
var isCallable = __webpack_require__(24241);
var createIteratorConstructor = __webpack_require__(77046);
var getPrototypeOf = __webpack_require__(65591);
var setPrototypeOf = __webpack_require__(96723);
var setToStringTag = __webpack_require__(51699);
var createNonEnumerableProperty = __webpack_require__(46975);
var defineBuiltIn = __webpack_require__(20420);
var wellKnownSymbol = __webpack_require__(20303);
var Iterators = __webpack_require__(16817);
var IteratorsCore = __webpack_require__(28861);
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
var IteratorPrototype = IteratorsCore.IteratorPrototype;
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
var ITERATOR = wellKnownSymbol('iterator');
var KEYS = 'keys';
var VALUES = 'values';
var ENTRIES = 'entries';
var returnThis = function () { return this; };
module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
createIteratorConstructor(IteratorConstructor, NAME, next);
var getIterationMethod = function (KIND) {
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
switch (KIND) {
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
}
return function () { return new IteratorConstructor(this); };
};
var TO_STRING_TAG = NAME + ' Iterator';
var INCORRECT_VALUES_NAME = false;
var IterablePrototype = Iterable.prototype;
var nativeIterator = IterablePrototype[ITERATOR]
|| IterablePrototype['@@iterator']
|| DEFAULT && IterablePrototype[DEFAULT];
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
var CurrentIteratorPrototype, methods, KEY;
// fix native
if (anyNativeIterator) {
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
if (setPrototypeOf) {
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {
defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);
}
}
// Set @@toStringTag to native iterators
setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;
}
}
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {
createNonEnumerableProperty(IterablePrototype, 'name', VALUES);
} else {
INCORRECT_VALUES_NAME = true;
defaultIterator = function values() { return call(nativeIterator, this); };
}
}
// export additional methods
if (DEFAULT) {
methods = {
values: getIterationMethod(VALUES),
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
entries: getIterationMethod(ENTRIES)
};
if (FORCED) for (KEY in methods) {
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
}
} else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
}
// define iterator
if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });
}
Iterators[NAME] = defaultIterator;
return methods;
};
/***/ }),
/***/ 28861:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(46915);
var isCallable = __webpack_require__(24241);
var isObject = __webpack_require__(82054);
var create = __webpack_require__(5684);
var getPrototypeOf = __webpack_require__(65591);
var defineBuiltIn = __webpack_require__(20420);
var wellKnownSymbol = __webpack_require__(20303);
var IS_PURE = __webpack_require__(40279);
var ITERATOR = wellKnownSymbol('iterator');
var BUGGY_SAFARI_ITERATORS = false;
// `%IteratorPrototype%` object
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
/* eslint-disable es/no-array-prototype-keys -- safe */
if ([].keys) {
arrayIterator = [].keys();
// Safari 8 has buggy iterators w/o `next`
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
else {
PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
}
}
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
var test = {};
// FF44- legacy iterators case
return IteratorPrototype[ITERATOR].call(test) !== test;
});
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
// `%IteratorPrototype%[@@iterator]()` method
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
if (!isCallable(IteratorPrototype[ITERATOR])) {
defineBuiltIn(IteratorPrototype, ITERATOR, function () {
return this;
});
}
module.exports = {
IteratorPrototype: IteratorPrototype,
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
};
/***/ }),
/***/ 16817:
/***/ (function(module) {
"use strict";
module.exports = {};
/***/ }),
/***/ 78930:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toLength = __webpack_require__(86450);
// `LengthOfArrayLike` abstract operation
// https://tc39.es/ecma262/#sec-lengthofarraylike
module.exports = function (obj) {
return toLength(obj.length);
};
/***/ }),
/***/ 19999:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var fails = __webpack_require__(46915);
var isCallable = __webpack_require__(24241);
var hasOwn = __webpack_require__(34525);
var DESCRIPTORS = __webpack_require__(73968);
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(83298).CONFIGURABLE);
var inspectSource = __webpack_require__(79822);
var InternalStateModule = __webpack_require__(40161);
var enforceInternalState = InternalStateModule.enforce;
var getInternalState = InternalStateModule.get;
var $String = String;
// eslint-disable-next-line es/no-object-defineproperty -- safe
var defineProperty = Object.defineProperty;
var stringSlice = uncurryThis(''.slice);
var replace = uncurryThis(''.replace);
var join = uncurryThis([].join);
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
});
var TEMPLATE = String(String).split('String');
var makeBuiltIn = module.exports = function (value, name, options) {
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
}
if (options && options.getter) name = 'get ' + name;
if (options && options.setter) name = 'set ' + name;
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
else value.name = name;
}
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
defineProperty(value, 'length', { value: options.arity });
}
try {
if (options && hasOwn(options, 'constructor') && options.constructor) {
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
} else if (value.prototype) value.prototype = undefined;
} catch (error) { /* empty */ }
var state = enforceInternalState(value);
if (!hasOwn(state, 'source')) {
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
} return value;
};
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
// eslint-disable-next-line no-extend-native -- required
Function.prototype.toString = makeBuiltIn(function toString() {
return isCallable(this) && getInternalState(this).source || inspectSource(this);
}, 'toString');
/***/ }),
/***/ 48980:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
// eslint-disable-next-line es/no-map -- safe
var MapPrototype = Map.prototype;
module.exports = {
// eslint-disable-next-line es/no-map -- safe
Map: Map,
set: uncurryThis(MapPrototype.set),
get: uncurryThis(MapPrototype.get),
has: uncurryThis(MapPrototype.has),
remove: uncurryThis(MapPrototype['delete']),
proto: MapPrototype
};
/***/ }),
/***/ 16195:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var iterateSimple = __webpack_require__(89399);
var MapHelpers = __webpack_require__(48980);
var Map = MapHelpers.Map;
var MapPrototype = MapHelpers.proto;
var forEach = uncurryThis(MapPrototype.forEach);
var entries = uncurryThis(MapPrototype.entries);
var next = entries(new Map()).next;
module.exports = function (map, fn, interruptible) {
return interruptible ? iterateSimple({ iterator: entries(map), next: next }, function (entry) {
return fn(entry[1], entry[0]);
}) : forEach(map, fn);
};
/***/ }),
/***/ 7361:
/***/ (function(module) {
"use strict";
var ceil = Math.ceil;
var floor = Math.floor;
// `Math.trunc` method
// https://tc39.es/ecma262/#sec-math.trunc
// eslint-disable-next-line es/no-math-trunc -- safe
module.exports = Math.trunc || function trunc(x) {
var n = +x;
return (n > 0 ? floor : ceil)(n);
};
/***/ }),
/***/ 27999:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
var safeGetBuiltIn = __webpack_require__(78129);
var bind = __webpack_require__(50908);
var macrotask = (__webpack_require__(12077).set);
var Queue = __webpack_require__(63501);
var IS_IOS = __webpack_require__(95876);
var IS_IOS_PEBBLE = __webpack_require__(59293);
var IS_WEBOS_WEBKIT = __webpack_require__(88008);
var IS_NODE = __webpack_require__(54141);
var MutationObserver = globalThis.MutationObserver || globalThis.WebKitMutationObserver;
var document = globalThis.document;
var process = globalThis.process;
var Promise = globalThis.Promise;
var microtask = safeGetBuiltIn('queueMicrotask');
var notify, toggle, node, promise, then;
// modern engines have queueMicrotask method
if (!microtask) {
var queue = new Queue();
var flush = function () {
var parent, fn;
if (IS_NODE && (parent = process.domain)) parent.exit();
while (fn = queue.get()) try {
fn();
} catch (error) {
if (queue.head) notify();
throw error;
}
if (parent) parent.enter();
};
// browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
// also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {
toggle = true;
node = document.createTextNode('');
new MutationObserver(flush).observe(node, { characterData: true });
notify = function () {
node.data = toggle = !toggle;
};
// environments with maybe non-completely correct, but existent Promise
} else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {
// Promise.resolve without an argument throws an error in LG WebOS 2
promise = Promise.resolve(undefined);
// workaround of WebKit ~ iOS Safari 10.1 bug
promise.constructor = Promise;
then = bind(promise.then, promise);
notify = function () {
then(flush);
};
// Node.js without promises
} else if (IS_NODE) {
notify = function () {
process.nextTick(flush);
};
// for other environments - macrotask based on:
// - setImmediate
// - MessageChannel
// - window.postMessage
// - onreadystatechange
// - setTimeout
} else {
// `webpack` dev server bug on IE global methods - use bind(fn, global)
macrotask = bind(macrotask, globalThis);
notify = function () {
macrotask(flush);
};
}
microtask = function (fn) {
if (!queue.head) notify();
queue.add(fn);
};
}
module.exports = microtask;
/***/ }),
/***/ 27575:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var aCallable = __webpack_require__(58574);
var $TypeError = TypeError;
var PromiseCapability = function (C) {
var resolve, reject;
this.promise = new C(function ($$resolve, $$reject) {
if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor');
resolve = $$resolve;
reject = $$reject;
});
this.resolve = aCallable(resolve);
this.reject = aCallable(reject);
};
// `NewPromiseCapability` abstract operation
// https://tc39.es/ecma262/#sec-newpromisecapability
module.exports.f = function (C) {
return new PromiseCapability(C);
};
/***/ }),
/***/ 22923:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isRegExp = __webpack_require__(31272);
var $TypeError = TypeError;
module.exports = function (it) {
if (isRegExp(it)) {
throw new $TypeError("The method doesn't accept regular expressions");
} return it;
};
/***/ }),
/***/ 41945:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(73968);
var uncurryThis = __webpack_require__(7812);
var call = __webpack_require__(62729);
var fails = __webpack_require__(46915);
var objectKeys = __webpack_require__(57580);
var getOwnPropertySymbolsModule = __webpack_require__(89889);
var propertyIsEnumerableModule = __webpack_require__(90729);
var toObject = __webpack_require__(99353);
var IndexedObject = __webpack_require__(7267);
// eslint-disable-next-line es/no-object-assign -- safe
var $assign = Object.assign;
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
var defineProperty = Object.defineProperty;
var concat = uncurryThis([].concat);
// `Object.assign` method
// https://tc39.es/ecma262/#sec-object.assign
module.exports = !$assign || fails(function () {
// should have correct order of operations (Edge bug)
if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
enumerable: true,
get: function () {
defineProperty(this, 'b', {
value: 3,
enumerable: false
});
}
}), { b: 2 })).b !== 1) return true;
// should work with symbols and should have deterministic property order (V8 bug)
var A = {};
var B = {};
// eslint-disable-next-line es/no-symbol -- safe
var symbol = Symbol('assign detection');
var alphabet = 'abcdefghijklmnopqrst';
A[symbol] = 7;
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
var T = toObject(target);
var argumentsLength = arguments.length;
var index = 1;
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
var propertyIsEnumerable = propertyIsEnumerableModule.f;
while (argumentsLength > index) {
var S = IndexedObject(arguments[index++]);
var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
var length = keys.length;
var j = 0;
var key;
while (length > j) {
key = keys[j++];
if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
}
} return T;
} : $assign;
/***/ }),
/***/ 5684:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* global ActiveXObject -- old IE, WSH */
var anObject = __webpack_require__(80979);
var definePropertiesModule = __webpack_require__(90861);
var enumBugKeys = __webpack_require__(57651);
var hiddenKeys = __webpack_require__(9913);
var html = __webpack_require__(44625);
var documentCreateElement = __webpack_require__(76403);
var sharedKey = __webpack_require__(35395);
var GT = '>';
var LT = '<';
var PROTOTYPE = 'prototype';
var SCRIPT = 'script';
var IE_PROTO = sharedKey('IE_PROTO');
var EmptyConstructor = function () { /* empty */ };
var scriptTag = function (content) {
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
};
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
var NullProtoObjectViaActiveX = function (activeXDocument) {
activeXDocument.write(scriptTag(''));
activeXDocument.close();
var temp = activeXDocument.parentWindow.Object;
// eslint-disable-next-line no-useless-assignment -- avoid memory leak
activeXDocument = null;
return temp;
};
// Create object with fake `null` prototype: use iframe Object with cleared prototype
var NullProtoObjectViaIFrame = function () {
// Thrash, waste and sodomy: IE GC bug
var iframe = documentCreateElement('iframe');
var JS = 'java' + SCRIPT + ':';
var iframeDocument;
iframe.style.display = 'none';
html.appendChild(iframe);
// https://github.com/zloirock/core-js/issues/475
iframe.src = String(JS);
iframeDocument = iframe.contentWindow.document;
iframeDocument.open();
iframeDocument.write(scriptTag('document.F=Object'));
iframeDocument.close();
return iframeDocument.F;
};
// Check for document.domain and active x support
// No need to use active x approach when document.domain is not set
// see https://github.com/es-shims/es5-shim/issues/150
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
// avoid IE GC bug
var activeXDocument;
var NullProtoObject = function () {
try {
activeXDocument = new ActiveXObject('htmlfile');
} catch (error) { /* ignore */ }
NullProtoObject = typeof document != 'undefined'
? document.domain && activeXDocument
? NullProtoObjectViaActiveX(activeXDocument) // old IE
: NullProtoObjectViaIFrame()
: NullProtoObjectViaActiveX(activeXDocument); // WSH
var length = enumBugKeys.length;
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
return NullProtoObject();
};
hiddenKeys[IE_PROTO] = true;
// `Object.create` method
// https://tc39.es/ecma262/#sec-object.create
// eslint-disable-next-line es/no-object-create -- safe
module.exports = Object.create || function create(O, Properties) {
var result;
if (O !== null) {
EmptyConstructor[PROTOTYPE] = anObject(O);
result = new EmptyConstructor();
EmptyConstructor[PROTOTYPE] = null;
// add "__proto__" for Object.getPrototypeOf polyfill
result[IE_PROTO] = O;
} else result = NullProtoObject();
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
};
/***/ }),
/***/ 90861:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(73968);
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(29538);
var definePropertyModule = __webpack_require__(84869);
var anObject = __webpack_require__(80979);
var toIndexedObject = __webpack_require__(44377);
var objectKeys = __webpack_require__(57580);
// `Object.defineProperties` method
// https://tc39.es/ecma262/#sec-object.defineproperties
// eslint-disable-next-line es/no-object-defineproperties -- safe
exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
anObject(O);
var props = toIndexedObject(Properties);
var keys = objectKeys(Properties);
var length = keys.length;
var index = 0;
var key;
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
return O;
};
/***/ }),
/***/ 84869:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(73968);
var IE8_DOM_DEFINE = __webpack_require__(41329);
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(29538);
var anObject = __webpack_require__(80979);
var toPropertyKey = __webpack_require__(81037);
var $TypeError = TypeError;
// eslint-disable-next-line es/no-object-defineproperty -- safe
var $defineProperty = Object.defineProperty;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
var ENUMERABLE = 'enumerable';
var CONFIGURABLE = 'configurable';
var WRITABLE = 'writable';
// `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
anObject(O);
P = toPropertyKey(P);
anObject(Attributes);
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
var current = $getOwnPropertyDescriptor(O, P);
if (current && current[WRITABLE]) {
O[P] = Attributes.value;
Attributes = {
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
writable: false
};
}
} return $defineProperty(O, P, Attributes);
} : $defineProperty : function defineProperty(O, P, Attributes) {
anObject(O);
P = toPropertyKey(P);
anObject(Attributes);
if (IE8_DOM_DEFINE) try {
return $defineProperty(O, P, Attributes);
} catch (error) { /* empty */ }
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
if ('value' in Attributes) O[P] = Attributes.value;
return O;
};
/***/ }),
/***/ 35999:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(73968);
var call = __webpack_require__(62729);
var propertyIsEnumerableModule = __webpack_require__(90729);
var createPropertyDescriptor = __webpack_require__(19552);
var toIndexedObject = __webpack_require__(44377);
var toPropertyKey = __webpack_require__(81037);
var hasOwn = __webpack_require__(34525);
var IE8_DOM_DEFINE = __webpack_require__(41329);
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
// `Object.getOwnPropertyDescriptor` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
O = toIndexedObject(O);
P = toPropertyKey(P);
if (IE8_DOM_DEFINE) try {
return $getOwnPropertyDescriptor(O, P);
} catch (error) { /* empty */ }
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
};
/***/ }),
/***/ 83070:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* eslint-disable es/no-object-getownpropertynames -- safe */
var classof = __webpack_require__(81788);
var toIndexedObject = __webpack_require__(44377);
var $getOwnPropertyNames = (__webpack_require__(22828).f);
var arraySlice = __webpack_require__(80108);
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
? Object.getOwnPropertyNames(window) : [];
var getWindowNames = function (it) {
try {
return $getOwnPropertyNames(it);
} catch (error) {
return arraySlice(windowNames);
}
};
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
module.exports.f = function getOwnPropertyNames(it) {
return windowNames && classof(it) === 'Window'
? getWindowNames(it)
: $getOwnPropertyNames(toIndexedObject(it));
};
/***/ }),
/***/ 22828:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
"use strict";
var internalObjectKeys = __webpack_require__(5032);
var enumBugKeys = __webpack_require__(57651);
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
// `Object.getOwnPropertyNames` method
// https://tc39.es/ecma262/#sec-object.getownpropertynames
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
return internalObjectKeys(O, hiddenKeys);
};
/***/ }),
/***/ 89889:
/***/ (function(__unused_webpack_module, exports) {
"use strict";
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
exports.f = Object.getOwnPropertySymbols;
/***/ }),
/***/ 65591:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var hasOwn = __webpack_require__(34525);
var isCallable = __webpack_require__(24241);
var toObject = __webpack_require__(99353);
var sharedKey = __webpack_require__(35395);
var CORRECT_PROTOTYPE_GETTER = __webpack_require__(28647);
var IE_PROTO = sharedKey('IE_PROTO');
var $Object = Object;
var ObjectPrototype = $Object.prototype;
// `Object.getPrototypeOf` method
// https://tc39.es/ecma262/#sec-object.getprototypeof
// eslint-disable-next-line es/no-object-getprototypeof -- safe
module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
var object = toObject(O);
if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
var constructor = object.constructor;
if (isCallable(constructor) && object instanceof constructor) {
return constructor.prototype;
} return object instanceof $Object ? ObjectPrototype : null;
};
/***/ }),
/***/ 80000:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(46915);
var isObject = __webpack_require__(82054);
var classof = __webpack_require__(81788);
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(26008);
// eslint-disable-next-line es/no-object-isextensible -- safe
var $isExtensible = Object.isExtensible;
var FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });
// `Object.isExtensible` method
// https://tc39.es/ecma262/#sec-object.isextensible
module.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {
if (!isObject(it)) return false;
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return false;
return $isExtensible ? $isExtensible(it) : true;
} : $isExtensible;
/***/ }),
/***/ 16733:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
module.exports = uncurryThis({}.isPrototypeOf);
/***/ }),
/***/ 92382:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var InternalStateModule = __webpack_require__(40161);
var createIteratorConstructor = __webpack_require__(77046);
var createIterResultObject = __webpack_require__(51677);
var hasOwn = __webpack_require__(34525);
var objectKeys = __webpack_require__(57580);
var toObject = __webpack_require__(99353);
var OBJECT_ITERATOR = 'Object Iterator';
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(OBJECT_ITERATOR);
module.exports = createIteratorConstructor(function ObjectIterator(source, mode) {
var object = toObject(source);
setInternalState(this, {
type: OBJECT_ITERATOR,
mode: mode,
object: object,
keys: objectKeys(object),
index: 0
});
}, 'Object', function next() {
var state = getInternalState(this);
var keys = state.keys;
while (true) {
if (keys === null || state.index >= keys.length) {
state.object = state.keys = null;
return createIterResultObject(undefined, true);
}
var key = keys[state.index++];
var object = state.object;
if (!hasOwn(object, key)) continue;
switch (state.mode) {
case 'keys': return createIterResultObject(key, false);
case 'values': return createIterResultObject(object[key], false);
} /* entries */ return createIterResultObject([key, object[key]], false);
}
});
/***/ }),
/***/ 5032:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var hasOwn = __webpack_require__(34525);
var toIndexedObject = __webpack_require__(44377);
var indexOf = (__webpack_require__(18941).indexOf);
var hiddenKeys = __webpack_require__(9913);
var push = uncurryThis([].push);
module.exports = function (object, names) {
var O = toIndexedObject(object);
var i = 0;
var result = [];
var key;
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
// Don't enum bug & hidden keys
while (names.length > i) if (hasOwn(O, key = names[i++])) {
~indexOf(result, key) || push(result, key);
}
return result;
};
/***/ }),
/***/ 57580:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var internalObjectKeys = __webpack_require__(5032);
var enumBugKeys = __webpack_require__(57651);
// `Object.keys` method
// https://tc39.es/ecma262/#sec-object.keys
// eslint-disable-next-line es/no-object-keys -- safe
module.exports = Object.keys || function keys(O) {
return internalObjectKeys(O, enumBugKeys);
};
/***/ }),
/***/ 90729:
/***/ (function(__unused_webpack_module, exports) {
"use strict";
var $propertyIsEnumerable = {}.propertyIsEnumerable;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
// Nashorn ~ JDK8 bug
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
// `Object.prototype.propertyIsEnumerable` method implementation
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
var descriptor = getOwnPropertyDescriptor(this, V);
return !!descriptor && descriptor.enumerable;
} : $propertyIsEnumerable;
/***/ }),
/***/ 50963:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* eslint-disable no-undef, no-useless-call, sonarjs/no-reference-error -- required for testing */
/* eslint-disable es/no-legacy-object-prototype-accessor-methods -- required for testing */
var IS_PURE = __webpack_require__(40279);
var globalThis = __webpack_require__(40452);
var fails = __webpack_require__(46915);
var WEBKIT = __webpack_require__(19379);
// Forced replacement object prototype accessors methods
module.exports = IS_PURE || !fails(function () {
// This feature detection crashes old WebKit
// https://github.com/zloirock/core-js/issues/232
if (WEBKIT && WEBKIT < 535) return;
var key = Math.random();
// In FF throws only define methods
__defineSetter__.call(null, key, function () { /* empty */ });
delete globalThis[key];
});
/***/ }),
/***/ 96723:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* eslint-disable no-proto -- safe */
var uncurryThisAccessor = __webpack_require__(278);
var isObject = __webpack_require__(82054);
var requireObjectCoercible = __webpack_require__(82066);
var aPossiblePrototype = __webpack_require__(37742);
// `Object.setPrototypeOf` method
// https://tc39.es/ecma262/#sec-object.setprototypeof
// Works with __proto__ only. Old v8 can't work with null proto objects.
// eslint-disable-next-line es/no-object-setprototypeof -- safe
module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
var CORRECT_SETTER = false;
var test = {};
var setter;
try {
setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
setter(test, []);
CORRECT_SETTER = test instanceof Array;
} catch (error) { /* empty */ }
return function setPrototypeOf(O, proto) {
requireObjectCoercible(O);
aPossiblePrototype(proto);
if (!isObject(O)) return O;
if (CORRECT_SETTER) setter(O, proto);
else O.__proto__ = proto;
return O;
};
}() : undefined);
/***/ }),
/***/ 8721:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(73968);
var fails = __webpack_require__(46915);
var uncurryThis = __webpack_require__(7812);
var objectGetPrototypeOf = __webpack_require__(65591);
var objectKeys = __webpack_require__(57580);
var toIndexedObject = __webpack_require__(44377);
var $propertyIsEnumerable = (__webpack_require__(90729).f);
var propertyIsEnumerable = uncurryThis($propertyIsEnumerable);
var push = uncurryThis([].push);
// in some IE versions, `propertyIsEnumerable` returns incorrect result on integer keys
// of `null` prototype objects
var IE_BUG = DESCRIPTORS && fails(function () {
// eslint-disable-next-line es/no-object-create -- safe
var O = Object.create(null);
O[2] = 2;
return !propertyIsEnumerable(O, 2);
});
// `Object.{ entries, values }` methods implementation
var createMethod = function (TO_ENTRIES) {
return function (it) {
var O = toIndexedObject(it);
var keys = objectKeys(O);
var IE_WORKAROUND = IE_BUG && objectGetPrototypeOf(O) === null;
var length = keys.length;
var i = 0;
var result = [];
var key;
while (length > i) {
key = keys[i++];
if (!DESCRIPTORS || (IE_WORKAROUND ? key in O : propertyIsEnumerable(O, key))) {
push(result, TO_ENTRIES ? [key, O[key]] : O[key]);
}
}
return result;
};
};
module.exports = {
// `Object.entries` method
// https://tc39.es/ecma262/#sec-object.entries
entries: createMethod(true),
// `Object.values` method
// https://tc39.es/ecma262/#sec-object.values
values: createMethod(false)
};
/***/ }),
/***/ 33447:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var TO_STRING_TAG_SUPPORT = __webpack_require__(75704);
var classof = __webpack_require__(97591);
// `Object.prototype.toString` method implementation
// https://tc39.es/ecma262/#sec-object.prototype.tostring
module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
return '[object ' + classof(this) + ']';
};
/***/ }),
/***/ 82650:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(62729);
var isCallable = __webpack_require__(24241);
var isObject = __webpack_require__(82054);
var $TypeError = TypeError;
// `OrdinaryToPrimitive` abstract operation
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
module.exports = function (input, pref) {
var fn, val;
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
throw new $TypeError("Can't convert object to primitive value");
};
/***/ }),
/***/ 9275:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var getBuiltIn = __webpack_require__(22235);
var uncurryThis = __webpack_require__(7812);
var getOwnPropertyNamesModule = __webpack_require__(22828);
var getOwnPropertySymbolsModule = __webpack_require__(89889);
var anObject = __webpack_require__(80979);
var concat = uncurryThis([].concat);
// all object keys, includes non-enumerable and symbols
module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
var keys = getOwnPropertyNamesModule.f(anObject(it));
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
};
/***/ }),
/***/ 57843:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
module.exports = globalThis;
/***/ }),
/***/ 22195:
/***/ (function(module) {
"use strict";
module.exports = function (exec) {
try {
return { error: false, value: exec() };
} catch (error) {
return { error: true, value: error };
}
};
/***/ }),
/***/ 44104:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
var NativePromiseConstructor = __webpack_require__(20842);
var isCallable = __webpack_require__(24241);
var isForced = __webpack_require__(96824);
var inspectSource = __webpack_require__(79822);
var wellKnownSymbol = __webpack_require__(20303);
var ENVIRONMENT = __webpack_require__(78659);
var IS_PURE = __webpack_require__(40279);
var V8_VERSION = __webpack_require__(46939);
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
var SPECIES = wellKnownSymbol('species');
var SUBCLASSING = false;
var NATIVE_PROMISE_REJECTION_EVENT = isCallable(globalThis.PromiseRejectionEvent);
var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);
var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);
// V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
// https://bugs.chromium.org/p/chromium/issues/detail?id=830565
// We can't detect it synchronously, so just check versions
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
// We need Promise#{ catch, finally } in the pure version for preventing prototype pollution
if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;
// We can't use @@species feature detection in V8 since it causes
// deoptimization and performance degradation
// https://github.com/zloirock/core-js/issues/679
if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
// Detect correctness of subclassing with @@species support
var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });
var FakePromise = function (exec) {
exec(function () { /* empty */ }, function () { /* empty */ });
};
var constructor = promise.constructor = {};
constructor[SPECIES] = FakePromise;
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
if (!SUBCLASSING) return true;
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
} return !GLOBAL_CORE_JS_PROMISE && (ENVIRONMENT === 'BROWSER' || ENVIRONMENT === 'DENO') && !NATIVE_PROMISE_REJECTION_EVENT;
});
module.exports = {
CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,
REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,
SUBCLASSING: SUBCLASSING
};
/***/ }),
/***/ 20842:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
module.exports = globalThis.Promise;
/***/ }),
/***/ 85050:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var anObject = __webpack_require__(80979);
var isObject = __webpack_require__(82054);
var newPromiseCapability = __webpack_require__(27575);
module.exports = function (C, x) {
anObject(C);
if (isObject(x) && x.constructor === C) return x;
var promiseCapability = newPromiseCapability.f(C);
var resolve = promiseCapability.resolve;
resolve(x);
return promiseCapability.promise;
};
/***/ }),
/***/ 35397:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var NativePromiseConstructor = __webpack_require__(20842);
var checkCorrectnessOfIteration = __webpack_require__(48216);
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(44104).CONSTRUCTOR);
module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {
NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });
});
/***/ }),
/***/ 7516:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineProperty = (__webpack_require__(84869).f);
module.exports = function (Target, Source, key) {
key in Target || defineProperty(Target, key, {
configurable: true,
get: function () { return Source[key]; },
set: function (it) { Source[key] = it; }
});
};
/***/ }),
/***/ 63501:
/***/ (function(module) {
"use strict";
var Queue = function () {
this.head = null;
this.tail = null;
};
Queue.prototype = {
add: function (item) {
var entry = { item: item, next: null };
var tail = this.tail;
if (tail) tail.next = entry;
else this.head = entry;
this.tail = entry;
},
get: function () {
var entry = this.head;
if (entry) {
var next = this.head = entry.next;
if (next === null) this.tail = null;
return entry.item;
}
}
};
module.exports = Queue;
/***/ }),
/***/ 71093:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
__webpack_require__(25869);
__webpack_require__(75832);
var getBuiltIn = __webpack_require__(22235);
var uncurryThis = __webpack_require__(7812);
var shared = __webpack_require__(1997);
var Map = getBuiltIn('Map');
var WeakMap = getBuiltIn('WeakMap');
var push = uncurryThis([].push);
var metadata = shared('metadata');
var store = metadata.store || (metadata.store = new WeakMap());
var getOrCreateMetadataMap = function (target, targetKey, create) {
var targetMetadata = store.get(target);
if (!targetMetadata) {
if (!create) return;
store.set(target, targetMetadata = new Map());
}
var keyMetadata = targetMetadata.get(targetKey);
if (!keyMetadata) {
if (!create) return;
targetMetadata.set(targetKey, keyMetadata = new Map());
} return keyMetadata;
};
var ordinaryHasOwnMetadata = function (MetadataKey, O, P) {
var metadataMap = getOrCreateMetadataMap(O, P, false);
return metadataMap === undefined ? false : metadataMap.has(MetadataKey);
};
var ordinaryGetOwnMetadata = function (MetadataKey, O, P) {
var metadataMap = getOrCreateMetadataMap(O, P, false);
return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);
};
var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) {
getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);
};
var ordinaryOwnMetadataKeys = function (target, targetKey) {
var metadataMap = getOrCreateMetadataMap(target, targetKey, false);
var keys = [];
if (metadataMap) metadataMap.forEach(function (_, key) { push(keys, key); });
return keys;
};
var toMetadataKey = function (it) {
return it === undefined || typeof it == 'symbol' ? it : String(it);
};
module.exports = {
store: store,
getMap: getOrCreateMetadataMap,
has: ordinaryHasOwnMetadata,
get: ordinaryGetOwnMetadata,
set: ordinaryDefineOwnMetadata,
keys: ordinaryOwnMetadataKeys,
toKey: toMetadataKey
};
/***/ }),
/***/ 33038:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(62729);
var anObject = __webpack_require__(80979);
var isCallable = __webpack_require__(24241);
var classof = __webpack_require__(81788);
var regexpExec = __webpack_require__(98767);
var $TypeError = TypeError;
// `RegExpExec` abstract operation
// https://tc39.es/ecma262/#sec-regexpexec
module.exports = function (R, S) {
var exec = R.exec;
if (isCallable(exec)) {
var result = call(exec, R, S);
if (result !== null) anObject(result);
return result;
}
if (classof(R) === 'RegExp') return call(regexpExec, R, S);
throw new $TypeError('RegExp#exec called on incompatible receiver');
};
/***/ }),
/***/ 98767:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
/* eslint-disable regexp/no-useless-quantifier -- testing */
var call = __webpack_require__(62729);
var uncurryThis = __webpack_require__(7812);
var toString = __webpack_require__(34211);
var regexpFlags = __webpack_require__(895);
var stickyHelpers = __webpack_require__(30425);
var shared = __webpack_require__(1997);
var create = __webpack_require__(5684);
var getInternalState = (__webpack_require__(40161).get);
var UNSUPPORTED_DOT_ALL = __webpack_require__(12703);
var UNSUPPORTED_NCG = __webpack_require__(61722);
var nativeReplace = shared('native-string-replace', String.prototype.replace);
var nativeExec = RegExp.prototype.exec;
var patchedExec = nativeExec;
var charAt = uncurryThis(''.charAt);
var indexOf = uncurryThis(''.indexOf);
var replace = uncurryThis(''.replace);
var stringSlice = uncurryThis(''.slice);
var UPDATES_LAST_INDEX_WRONG = (function () {
var re1 = /a/;
var re2 = /b*/g;
call(nativeExec, re1, 'a');
call(nativeExec, re2, 'a');
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
})();
var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
// nonparticipating capturing group, copied from es5-shim's String#split patch.
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
if (PATCH) {
patchedExec = function exec(string) {
var re = this;
var state = getInternalState(re);
var str = toString(string);
var raw = state.raw;
var result, reCopy, lastIndex, match, i, object, group;
if (raw) {
raw.lastIndex = re.lastIndex;
result = call(patchedExec, raw, str);
re.lastIndex = raw.lastIndex;
return result;
}
var groups = state.groups;
var sticky = UNSUPPORTED_Y && re.sticky;
var flags = call(regexpFlags, re);
var source = re.source;
var charsAdded = 0;
var strCopy = str;
if (sticky) {
flags = replace(flags, 'y', '');
if (indexOf(flags, 'g') === -1) {
flags += 'g';
}
strCopy = stringSlice(str, re.lastIndex);
// Support anchored sticky behavior.
if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
source = '(?: ' + source + ')';
strCopy = ' ' + strCopy;
charsAdded++;
}
// ^(? + rx + ) is needed, in combination with some str slicing, to
// simulate the 'y' flag.
reCopy = new RegExp('^(?:' + source + ')', flags);
}
if (NPCG_INCLUDED) {
reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
}
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
match = call(nativeExec, sticky ? reCopy : re, strCopy);
if (sticky) {
if (match) {
match.input = stringSlice(match.input, charsAdded);
match[0] = stringSlice(match[0], charsAdded);
match.index = re.lastIndex;
re.lastIndex += match[0].length;
} else re.lastIndex = 0;
} else if (UPDATES_LAST_INDEX_WRONG && match) {
re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
}
if (NPCG_INCLUDED && match && match.length > 1) {
// Fix browsers whose `exec` methods don't consistently return `undefined`
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
call(nativeReplace, match[0], reCopy, function () {
for (i = 1; i < arguments.length - 2; i++) {
if (arguments[i] === undefined) match[i] = undefined;
}
});
}
if (match && groups) {
match.groups = object = create(null);
for (i = 0; i < groups.length; i++) {
group = groups[i];
object[group[0]] = match[group[1]];
}
}
return match;
};
}
module.exports = patchedExec;
/***/ }),
/***/ 895:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var anObject = __webpack_require__(80979);
// `RegExp.prototype.flags` getter implementation
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
module.exports = function () {
var that = anObject(this);
var result = '';
if (that.hasIndices) result += 'd';
if (that.global) result += 'g';
if (that.ignoreCase) result += 'i';
if (that.multiline) result += 'm';
if (that.dotAll) result += 's';
if (that.unicode) result += 'u';
if (that.unicodeSets) result += 'v';
if (that.sticky) result += 'y';
return result;
};
/***/ }),
/***/ 16014:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(62729);
var hasOwn = __webpack_require__(34525);
var isPrototypeOf = __webpack_require__(16733);
var regExpFlags = __webpack_require__(895);
var RegExpPrototype = RegExp.prototype;
module.exports = function (R) {
var flags = R.flags;
return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)
? call(regExpFlags, R) : flags;
};
/***/ }),
/***/ 30425:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(46915);
var globalThis = __webpack_require__(40452);
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
var $RegExp = globalThis.RegExp;
var UNSUPPORTED_Y = fails(function () {
var re = $RegExp('a', 'y');
re.lastIndex = 2;
return re.exec('abcd') !== null;
});
// UC Browser bug
// https://github.com/zloirock/core-js/issues/1008
var MISSED_STICKY = UNSUPPORTED_Y || fails(function () {
return !$RegExp('a', 'y').sticky;
});
var BROKEN_CARET = UNSUPPORTED_Y || fails(function () {
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
var re = $RegExp('^r', 'gy');
re.lastIndex = 2;
return re.exec('str') !== null;
});
module.exports = {
BROKEN_CARET: BROKEN_CARET,
MISSED_STICKY: MISSED_STICKY,
UNSUPPORTED_Y: UNSUPPORTED_Y
};
/***/ }),
/***/ 12703:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(46915);
var globalThis = __webpack_require__(40452);
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
var $RegExp = globalThis.RegExp;
module.exports = fails(function () {
var re = $RegExp('.', 's');
return !(re.dotAll && re.test('\n') && re.flags === 's');
});
/***/ }),
/***/ 61722:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(46915);
var globalThis = __webpack_require__(40452);
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
var $RegExp = globalThis.RegExp;
module.exports = fails(function () {
var re = $RegExp('(?<a>b)', 'g');
return re.exec('b').groups.a !== 'b' ||
'b'.replace(re, '$<a>c') !== 'bc';
});
/***/ }),
/***/ 82066:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var isNullOrUndefined = __webpack_require__(90369);
var $TypeError = TypeError;
// `RequireObjectCoercible` abstract operation
// https://tc39.es/ecma262/#sec-requireobjectcoercible
module.exports = function (it) {
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
return it;
};
/***/ }),
/***/ 78129:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
var DESCRIPTORS = __webpack_require__(73968);
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
// Avoid NodeJS experimental warning
module.exports = function (name) {
if (!DESCRIPTORS) return globalThis[name];
var descriptor = getOwnPropertyDescriptor(globalThis, name);
return descriptor && descriptor.value;
};
/***/ }),
/***/ 96882:
/***/ (function(module) {
"use strict";
// `SameValue` abstract operation
// https://tc39.es/ecma262/#sec-samevalue
// eslint-disable-next-line es/no-object-is -- safe
module.exports = Object.is || function is(x, y) {
// eslint-disable-next-line no-self-compare -- NaN check
return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
};
/***/ }),
/***/ 87101:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var getBuiltIn = __webpack_require__(22235);
var defineBuiltInAccessor = __webpack_require__(98998);
var wellKnownSymbol = __webpack_require__(20303);
var DESCRIPTORS = __webpack_require__(73968);
var SPECIES = wellKnownSymbol('species');
module.exports = function (CONSTRUCTOR_NAME) {
var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {
defineBuiltInAccessor(Constructor, SPECIES, {
configurable: true,
get: function () { return this; }
});
}
};
/***/ }),
/***/ 51699:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var defineProperty = (__webpack_require__(84869).f);
var hasOwn = __webpack_require__(34525);
var wellKnownSymbol = __webpack_require__(20303);
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
module.exports = function (target, TAG, STATIC) {
if (target && !STATIC) target = target.prototype;
if (target && !hasOwn(target, TO_STRING_TAG)) {
defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
}
};
/***/ }),
/***/ 35395:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var shared = __webpack_require__(1997);
var uid = __webpack_require__(53796);
var keys = shared('keys');
module.exports = function (key) {
return keys[key] || (keys[key] = uid(key));
};
/***/ }),
/***/ 72585:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var IS_PURE = __webpack_require__(40279);
var globalThis = __webpack_require__(40452);
var defineGlobalProperty = __webpack_require__(1573);
var SHARED = '__core-js_shared__';
var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
(store.versions || (store.versions = [])).push({
version: '3.39.0',
mode: IS_PURE ? 'pure' : 'global',
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
license: 'https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
/***/ }),
/***/ 1997:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var store = __webpack_require__(72585);
module.exports = function (key, value) {
return store[key] || (store[key] = value || {});
};
/***/ }),
/***/ 61793:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var anObject = __webpack_require__(80979);
var aConstructor = __webpack_require__(35816);
var isNullOrUndefined = __webpack_require__(90369);
var wellKnownSymbol = __webpack_require__(20303);
var SPECIES = wellKnownSymbol('species');
// `SpeciesConstructor` abstract operation
// https://tc39.es/ecma262/#sec-speciesconstructor
module.exports = function (O, defaultConstructor) {
var C = anObject(O).constructor;
var S;
return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);
};
/***/ }),
/***/ 57115:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var toIndexedObject = __webpack_require__(44377);
var toString = __webpack_require__(34211);
var lengthOfArrayLike = __webpack_require__(78930);
var $TypeError = TypeError;
var push = uncurryThis([].push);
var join = uncurryThis([].join);
// `String.cooked` method
// https://tc39.es/proposal-string-cooked/
module.exports = function cooked(template /* , ...substitutions */) {
var cookedTemplate = toIndexedObject(template);
var literalSegments = lengthOfArrayLike(cookedTemplate);
if (!literalSegments) return '';
var argumentsLength = arguments.length;
var elements = [];
var i = 0;
while (true) {
var nextVal = cookedTemplate[i++];
if (nextVal === undefined) throw new $TypeError('Incorrect template');
push(elements, toString(nextVal));
if (i === literalSegments) return join(elements, '');
if (i < argumentsLength) push(elements, toString(arguments[i]));
}
};
/***/ }),
/***/ 12657:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(46915);
// check the existence of a method, lowercase
// of a tag and escaping quotes in arguments
module.exports = function (METHOD_NAME) {
return fails(function () {
var test = ''[METHOD_NAME]('"');
return test !== test.toLowerCase() || test.split('"').length > 3;
});
};
/***/ }),
/***/ 38131:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var toIntegerOrInfinity = __webpack_require__(87407);
var toString = __webpack_require__(34211);
var requireObjectCoercible = __webpack_require__(82066);
var charAt = uncurryThis(''.charAt);
var charCodeAt = uncurryThis(''.charCodeAt);
var stringSlice = uncurryThis(''.slice);
var createMethod = function (CONVERT_TO_STRING) {
return function ($this, pos) {
var S = toString(requireObjectCoercible($this));
var position = toIntegerOrInfinity(pos);
var size = S.length;
var first, second;
if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
first = charCodeAt(S, position);
return first < 0xD800 || first > 0xDBFF || position + 1 === size
|| (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
? CONVERT_TO_STRING
? charAt(S, position)
: first
: CONVERT_TO_STRING
? stringSlice(S, position, position + 2)
: (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
};
};
module.exports = {
// `String.prototype.codePointAt` method
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
codeAt: createMethod(false),
// `String.prototype.at` method
// https://github.com/mathiasbynens/String.prototype.at
charAt: createMethod(true)
};
/***/ }),
/***/ 88939:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// https://github.com/zloirock/core-js/issues/280
var userAgent = __webpack_require__(74843);
module.exports = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(userAgent);
/***/ }),
/***/ 22233:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// https://github.com/tc39/proposal-string-pad-start-end
var uncurryThis = __webpack_require__(7812);
var toLength = __webpack_require__(86450);
var toString = __webpack_require__(34211);
var $repeat = __webpack_require__(34649);
var requireObjectCoercible = __webpack_require__(82066);
var repeat = uncurryThis($repeat);
var stringSlice = uncurryThis(''.slice);
var ceil = Math.ceil;
// `String.prototype.{ padStart, padEnd }` methods implementation
var createMethod = function (IS_END) {
return function ($this, maxLength, fillString) {
var S = toString(requireObjectCoercible($this));
var intMaxLength = toLength(maxLength);
var stringLength = S.length;
var fillStr = fillString === undefined ? ' ' : toString(fillString);
var fillLen, stringFiller;
if (intMaxLength <= stringLength || fillStr === '') return S;
fillLen = intMaxLength - stringLength;
stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));
if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen);
return IS_END ? S + stringFiller : stringFiller + S;
};
};
module.exports = {
// `String.prototype.padStart` method
// https://tc39.es/ecma262/#sec-string.prototype.padstart
start: createMethod(false),
// `String.prototype.padEnd` method
// https://tc39.es/ecma262/#sec-string.prototype.padend
end: createMethod(true)
};
/***/ }),
/***/ 84735:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// adapted from https://github.com/jridgewell/string-dedent
var getBuiltIn = __webpack_require__(22235);
var uncurryThis = __webpack_require__(7812);
var fromCharCode = String.fromCharCode;
var fromCodePoint = getBuiltIn('String', 'fromCodePoint');
var charAt = uncurryThis(''.charAt);
var charCodeAt = uncurryThis(''.charCodeAt);
var stringIndexOf = uncurryThis(''.indexOf);
var stringSlice = uncurryThis(''.slice);
var ZERO_CODE = 48;
var NINE_CODE = 57;
var LOWER_A_CODE = 97;
var LOWER_F_CODE = 102;
var UPPER_A_CODE = 65;
var UPPER_F_CODE = 70;
var isDigit = function (str, index) {
var c = charCodeAt(str, index);
return c >= ZERO_CODE && c <= NINE_CODE;
};
var parseHex = function (str, index, end) {
if (end >= str.length) return -1;
var n = 0;
for (; index < end; index++) {
var c = hexToInt(charCodeAt(str, index));
if (c === -1) return -1;
n = n * 16 + c;
}
return n;
};
var hexToInt = function (c) {
if (c >= ZERO_CODE && c <= NINE_CODE) return c - ZERO_CODE;
if (c >= LOWER_A_CODE && c <= LOWER_F_CODE) return c - LOWER_A_CODE + 10;
if (c >= UPPER_A_CODE && c <= UPPER_F_CODE) return c - UPPER_A_CODE + 10;
return -1;
};
module.exports = function (raw) {
var out = '';
var start = 0;
// We need to find every backslash escape sequence, and cook the escape into a real char.
var i = 0;
var n;
while ((i = stringIndexOf(raw, '\\', i)) > -1) {
out += stringSlice(raw, start, i);
// If the backslash is the last char of the string, then it was an invalid sequence.
// This can't actually happen in a tagged template literal, but could happen if you manually
// invoked the tag with an array.
if (++i === raw.length) return;
var next = charAt(raw, i++);
switch (next) {
// Escaped control codes need to be individually processed.
case 'b':
out += '\b';
break;
case 't':
out += '\t';
break;
case 'n':
out += '\n';
break;
case 'v':
out += '\v';
break;
case 'f':
out += '\f';
break;
case 'r':
out += '\r';
break;
// Escaped line terminators just skip the char.
case '\r':
// Treat `\r\n` as a single terminator.
if (i < raw.length && charAt(raw, i) === '\n') ++i;
// break omitted
case '\n':
case '\u2028':
case '\u2029':
break;
// `\0` is a null control char, but `\0` followed by another digit is an illegal octal escape.
case '0':
if (isDigit(raw, i)) return;
out += '\0';
break;
// Hex escapes must contain 2 hex chars.
case 'x':
n = parseHex(raw, i, i + 2);
if (n === -1) return;
i += 2;
out += fromCharCode(n);
break;
// Unicode escapes contain either 4 chars, or an unlimited number between `{` and `}`.
// The hex value must not overflow 0x10FFFF.
case 'u':
if (i < raw.length && charAt(raw, i) === '{') {
var end = stringIndexOf(raw, '}', ++i);
if (end === -1) return;
n = parseHex(raw, i, end);
i = end + 1;
} else {
n = parseHex(raw, i, i + 4);
i += 4;
}
if (n === -1 || n > 0x10FFFF) return;
out += fromCodePoint(n);
break;
default:
if (isDigit(next, 0)) return;
out += next;
}
start = i;
}
return out + stringSlice(raw, start);
};
/***/ }),
/***/ 34649:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toIntegerOrInfinity = __webpack_require__(87407);
var toString = __webpack_require__(34211);
var requireObjectCoercible = __webpack_require__(82066);
var $RangeError = RangeError;
// `String.prototype.repeat` method implementation
// https://tc39.es/ecma262/#sec-string.prototype.repeat
module.exports = function repeat(count) {
var str = toString(requireObjectCoercible(this));
var result = '';
var n = toIntegerOrInfinity(count);
if (n < 0 || n === Infinity) throw new $RangeError('Wrong number of repetitions');
for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
return result;
};
/***/ }),
/***/ 56486:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $trimEnd = (__webpack_require__(31182).end);
var forcedStringTrimMethod = __webpack_require__(57574);
// `String.prototype.{ trimEnd, trimRight }` method
// https://tc39.es/ecma262/#sec-string.prototype.trimend
// https://tc39.es/ecma262/#String.prototype.trimright
module.exports = forcedStringTrimMethod('trimEnd') ? function trimEnd() {
return $trimEnd(this);
// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe
} : ''.trimEnd;
/***/ }),
/***/ 57574:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var PROPER_FUNCTION_NAME = (__webpack_require__(83298).PROPER);
var fails = __webpack_require__(46915);
var whitespaces = __webpack_require__(42064);
var non = '\u200B\u0085\u180E';
// check that a method works with the correct list
// of whitespaces and has a correct name
module.exports = function (METHOD_NAME) {
return fails(function () {
return !!whitespaces[METHOD_NAME]()
|| non[METHOD_NAME]() !== non
|| (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
});
};
/***/ }),
/***/ 87099:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $trimStart = (__webpack_require__(31182).start);
var forcedStringTrimMethod = __webpack_require__(57574);
// `String.prototype.{ trimStart, trimLeft }` method
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
// https://tc39.es/ecma262/#String.prototype.trimleft
module.exports = forcedStringTrimMethod('trimStart') ? function trimStart() {
return $trimStart(this);
// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe
} : ''.trimStart;
/***/ }),
/***/ 31182:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var requireObjectCoercible = __webpack_require__(82066);
var toString = __webpack_require__(34211);
var whitespaces = __webpack_require__(42064);
var replace = uncurryThis(''.replace);
var ltrim = RegExp('^[' + whitespaces + ']+');
var rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
var createMethod = function (TYPE) {
return function ($this) {
var string = toString(requireObjectCoercible($this));
if (TYPE & 1) string = replace(string, ltrim, '');
if (TYPE & 2) string = replace(string, rtrim, '$1');
return string;
};
};
module.exports = {
// `String.prototype.{ trimLeft, trimStart }` methods
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
start: createMethod(1),
// `String.prototype.{ trimRight, trimEnd }` methods
// https://tc39.es/ecma262/#sec-string.prototype.trimend
end: createMethod(2),
// `String.prototype.trim` method
// https://tc39.es/ecma262/#sec-string.prototype.trim
trim: createMethod(3)
};
/***/ }),
/***/ 28827:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* eslint-disable es/no-symbol -- required for testing */
var V8_VERSION = __webpack_require__(46939);
var fails = __webpack_require__(46915);
var globalThis = __webpack_require__(40452);
var $String = globalThis.String;
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
var symbol = Symbol('symbol detection');
// Chrome 38 Symbol has incorrect toString conversion
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
// of course, fail.
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
});
/***/ }),
/***/ 93158:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(62729);
var getBuiltIn = __webpack_require__(22235);
var wellKnownSymbol = __webpack_require__(20303);
var defineBuiltIn = __webpack_require__(20420);
module.exports = function () {
var Symbol = getBuiltIn('Symbol');
var SymbolPrototype = Symbol && Symbol.prototype;
var valueOf = SymbolPrototype && SymbolPrototype.valueOf;
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) {
// `Symbol.prototype[@@toPrimitive]` method
// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
// eslint-disable-next-line no-unused-vars -- required for .length
defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) {
return call(valueOf, this);
}, { arity: 1 });
}
};
/***/ }),
/***/ 34508:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var NATIVE_SYMBOL = __webpack_require__(28827);
/* eslint-disable es/no-symbol -- safe */
module.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;
/***/ }),
/***/ 12077:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
var apply = __webpack_require__(35013);
var bind = __webpack_require__(50908);
var isCallable = __webpack_require__(24241);
var hasOwn = __webpack_require__(34525);
var fails = __webpack_require__(46915);
var html = __webpack_require__(44625);
var arraySlice = __webpack_require__(80108);
var createElement = __webpack_require__(76403);
var validateArgumentsLength = __webpack_require__(62256);
var IS_IOS = __webpack_require__(95876);
var IS_NODE = __webpack_require__(54141);
var set = globalThis.setImmediate;
var clear = globalThis.clearImmediate;
var process = globalThis.process;
var Dispatch = globalThis.Dispatch;
var Function = globalThis.Function;
var MessageChannel = globalThis.MessageChannel;
var String = globalThis.String;
var counter = 0;
var queue = {};
var ONREADYSTATECHANGE = 'onreadystatechange';
var $location, defer, channel, port;
fails(function () {
// Deno throws a ReferenceError on `location` access without `--location` flag
$location = globalThis.location;
});
var run = function (id) {
if (hasOwn(queue, id)) {
var fn = queue[id];
delete queue[id];
fn();
}
};
var runner = function (id) {
return function () {
run(id);
};
};
var eventListener = function (event) {
run(event.data);
};
var globalPostMessageDefer = function (id) {
// old engines have not location.origin
globalThis.postMessage(String(id), $location.protocol + '//' + $location.host);
};
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
if (!set || !clear) {
set = function setImmediate(handler) {
validateArgumentsLength(arguments.length, 1);
var fn = isCallable(handler) ? handler : Function(handler);
var args = arraySlice(arguments, 1);
queue[++counter] = function () {
apply(fn, undefined, args);
};
defer(counter);
return counter;
};
clear = function clearImmediate(id) {
delete queue[id];
};
// Node.js 0.8-
if (IS_NODE) {
defer = function (id) {
process.nextTick(runner(id));
};
// Sphere (JS game engine) Dispatch API
} else if (Dispatch && Dispatch.now) {
defer = function (id) {
Dispatch.now(runner(id));
};
// Browsers with MessageChannel, includes WebWorkers
// except iOS - https://github.com/zloirock/core-js/issues/624
} else if (MessageChannel && !IS_IOS) {
channel = new MessageChannel();
port = channel.port2;
channel.port1.onmessage = eventListener;
defer = bind(port.postMessage, port);
// Browsers with postMessage, skip WebWorkers
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
} else if (
globalThis.addEventListener &&
isCallable(globalThis.postMessage) &&
!globalThis.importScripts &&
$location && $location.protocol !== 'file:' &&
!fails(globalPostMessageDefer)
) {
defer = globalPostMessageDefer;
globalThis.addEventListener('message', eventListener, false);
// IE8-
} else if (ONREADYSTATECHANGE in createElement('script')) {
defer = function (id) {
html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
html.removeChild(this);
run(id);
};
};
// Rest old browsers
} else {
defer = function (id) {
setTimeout(runner(id), 0);
};
}
}
module.exports = {
set: set,
clear: clear
};
/***/ }),
/***/ 36718:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toIntegerOrInfinity = __webpack_require__(87407);
var max = Math.max;
var min = Math.min;
// Helper for a popular repeating case of the spec:
// Let integer be ? ToInteger(index).
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
module.exports = function (index, length) {
var integer = toIntegerOrInfinity(index);
return integer < 0 ? max(integer + length, 0) : min(integer, length);
};
/***/ }),
/***/ 44377:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// toObject with fallback for non-array-like ES3 strings
var IndexedObject = __webpack_require__(7267);
var requireObjectCoercible = __webpack_require__(82066);
module.exports = function (it) {
return IndexedObject(requireObjectCoercible(it));
};
/***/ }),
/***/ 87407:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var trunc = __webpack_require__(7361);
// `ToIntegerOrInfinity` abstract operation
// https://tc39.es/ecma262/#sec-tointegerorinfinity
module.exports = function (argument) {
var number = +argument;
// eslint-disable-next-line no-self-compare -- NaN check
return number !== number || number === 0 ? 0 : trunc(number);
};
/***/ }),
/***/ 86450:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toIntegerOrInfinity = __webpack_require__(87407);
var min = Math.min;
// `ToLength` abstract operation
// https://tc39.es/ecma262/#sec-tolength
module.exports = function (argument) {
var len = toIntegerOrInfinity(argument);
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
};
/***/ }),
/***/ 99353:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var requireObjectCoercible = __webpack_require__(82066);
var $Object = Object;
// `ToObject` abstract operation
// https://tc39.es/ecma262/#sec-toobject
module.exports = function (argument) {
return $Object(requireObjectCoercible(argument));
};
/***/ }),
/***/ 94877:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(62729);
var isObject = __webpack_require__(82054);
var isSymbol = __webpack_require__(16809);
var getMethod = __webpack_require__(2818);
var ordinaryToPrimitive = __webpack_require__(82650);
var wellKnownSymbol = __webpack_require__(20303);
var $TypeError = TypeError;
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
// `ToPrimitive` abstract operation
// https://tc39.es/ecma262/#sec-toprimitive
module.exports = function (input, pref) {
if (!isObject(input) || isSymbol(input)) return input;
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
var result;
if (exoticToPrim) {
if (pref === undefined) pref = 'default';
result = call(exoticToPrim, input, pref);
if (!isObject(result) || isSymbol(result)) return result;
throw new $TypeError("Can't convert object to primitive value");
}
if (pref === undefined) pref = 'number';
return ordinaryToPrimitive(input, pref);
};
/***/ }),
/***/ 81037:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toPrimitive = __webpack_require__(94877);
var isSymbol = __webpack_require__(16809);
// `ToPropertyKey` abstract operation
// https://tc39.es/ecma262/#sec-topropertykey
module.exports = function (argument) {
var key = toPrimitive(argument, 'string');
return isSymbol(key) ? key : key + '';
};
/***/ }),
/***/ 75704:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var wellKnownSymbol = __webpack_require__(20303);
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var test = {};
test[TO_STRING_TAG] = 'z';
module.exports = String(test) === '[object z]';
/***/ }),
/***/ 34211:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var classof = __webpack_require__(97591);
var $String = String;
module.exports = function (argument) {
if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
return $String(argument);
};
/***/ }),
/***/ 8171:
/***/ (function(module) {
"use strict";
var $String = String;
module.exports = function (argument) {
try {
return $String(argument);
} catch (error) {
return 'Object';
}
};
/***/ }),
/***/ 53796:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
var id = 0;
var postfix = Math.random();
var toString = uncurryThis(1.0.toString);
module.exports = function (key) {
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
};
/***/ }),
/***/ 57252:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* eslint-disable es/no-symbol -- required for testing */
var NATIVE_SYMBOL = __webpack_require__(28827);
module.exports = NATIVE_SYMBOL &&
!Symbol.sham &&
typeof Symbol.iterator == 'symbol';
/***/ }),
/***/ 29538:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(73968);
var fails = __webpack_require__(46915);
// V8 ~ Chrome 36-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
module.exports = DESCRIPTORS && fails(function () {
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
value: 42,
writable: false
}).prototype !== 42;
});
/***/ }),
/***/ 62256:
/***/ (function(module) {
"use strict";
var $TypeError = TypeError;
module.exports = function (passed, required) {
if (passed < required) throw new $TypeError('Not enough arguments');
return passed;
};
/***/ }),
/***/ 63554:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
var isCallable = __webpack_require__(24241);
var WeakMap = globalThis.WeakMap;
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
/***/ }),
/***/ 34703:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(7812);
// eslint-disable-next-line es/no-weak-map -- safe
var WeakMapPrototype = WeakMap.prototype;
module.exports = {
// eslint-disable-next-line es/no-weak-map -- safe
WeakMap: WeakMap,
set: uncurryThis(WeakMapPrototype.set),
get: uncurryThis(WeakMapPrototype.get),
has: uncurryThis(WeakMapPrototype.has),
remove: uncurryThis(WeakMapPrototype['delete'])
};
/***/ }),
/***/ 6403:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var path = __webpack_require__(57843);
var hasOwn = __webpack_require__(34525);
var wrappedWellKnownSymbolModule = __webpack_require__(25803);
var defineProperty = (__webpack_require__(84869).f);
module.exports = function (NAME) {
var Symbol = path.Symbol || (path.Symbol = {});
if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {
value: wrappedWellKnownSymbolModule.f(NAME)
});
};
/***/ }),
/***/ 25803:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
"use strict";
var wellKnownSymbol = __webpack_require__(20303);
exports.f = wellKnownSymbol;
/***/ }),
/***/ 20303:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
var shared = __webpack_require__(1997);
var hasOwn = __webpack_require__(34525);
var uid = __webpack_require__(53796);
var NATIVE_SYMBOL = __webpack_require__(28827);
var USE_SYMBOL_AS_UID = __webpack_require__(57252);
var Symbol = globalThis.Symbol;
var WellKnownSymbolsStore = shared('wks');
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
module.exports = function (name) {
if (!hasOwn(WellKnownSymbolsStore, name)) {
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
? Symbol[name]
: createWellKnownSymbol('Symbol.' + name);
} return WellKnownSymbolsStore[name];
};
/***/ }),
/***/ 42064:
/***/ (function(module) {
"use strict";
// a string of all valid unicode whitespaces
module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
/***/ }),
/***/ 89687:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var toObject = __webpack_require__(99353);
var lengthOfArrayLike = __webpack_require__(78930);
var toIntegerOrInfinity = __webpack_require__(87407);
var addToUnscopables = __webpack_require__(58361);
// `Array.prototype.at` method
// https://tc39.es/ecma262/#sec-array.prototype.at
$({ target: 'Array', proto: true }, {
at: function at(index) {
var O = toObject(this);
var len = lengthOfArrayLike(O);
var relativeIndex = toIntegerOrInfinity(index);
var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
return (k < 0 || k >= len) ? undefined : O[k];
}
});
addToUnscopables('at');
/***/ }),
/***/ 174:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var fails = __webpack_require__(46915);
var isArray = __webpack_require__(86636);
var isObject = __webpack_require__(82054);
var toObject = __webpack_require__(99353);
var lengthOfArrayLike = __webpack_require__(78930);
var doesNotExceedSafeInteger = __webpack_require__(17257);
var createProperty = __webpack_require__(4236);
var arraySpeciesCreate = __webpack_require__(13233);
var arrayMethodHasSpeciesSupport = __webpack_require__(92625);
var wellKnownSymbol = __webpack_require__(20303);
var V8_VERSION = __webpack_require__(46939);
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
// We can't use this feature detection in V8 since it causes
// deoptimization and serious performance degradation
// https://github.com/zloirock/core-js/issues/679
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
var array = [];
array[IS_CONCAT_SPREADABLE] = false;
return array.concat()[0] !== array;
});
var isConcatSpreadable = function (O) {
if (!isObject(O)) return false;
var spreadable = O[IS_CONCAT_SPREADABLE];
return spreadable !== undefined ? !!spreadable : isArray(O);
};
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');
// `Array.prototype.concat` method
// https://tc39.es/ecma262/#sec-array.prototype.concat
// with adding support of @@isConcatSpreadable and @@species
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
// eslint-disable-next-line no-unused-vars -- required for `.length`
concat: function concat(arg) {
var O = toObject(this);
var A = arraySpeciesCreate(O, 0);
var n = 0;
var i, k, length, len, E;
for (i = -1, length = arguments.length; i < length; i++) {
E = i === -1 ? O : arguments[i];
if (isConcatSpreadable(E)) {
len = lengthOfArrayLike(E);
doesNotExceedSafeInteger(n + len);
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
} else {
doesNotExceedSafeInteger(n + 1);
createProperty(A, n++, E);
}
}
A.length = n;
return A;
}
});
/***/ }),
/***/ 23911:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var copyWithin = __webpack_require__(42425);
var addToUnscopables = __webpack_require__(58361);
// `Array.prototype.copyWithin` method
// https://tc39.es/ecma262/#sec-array.prototype.copywithin
$({ target: 'Array', proto: true }, {
copyWithin: copyWithin
});
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('copyWithin');
/***/ }),
/***/ 24003:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $every = (__webpack_require__(13473).every);
var arrayMethodIsStrict = __webpack_require__(69538);
var STRICT_METHOD = arrayMethodIsStrict('every');
// `Array.prototype.every` method
// https://tc39.es/ecma262/#sec-array.prototype.every
$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {
every: function every(callbackfn /* , thisArg */) {
return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ 97255:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var fill = __webpack_require__(11713);
var addToUnscopables = __webpack_require__(58361);
// `Array.prototype.fill` method
// https://tc39.es/ecma262/#sec-array.prototype.fill
$({ target: 'Array', proto: true }, {
fill: fill
});
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('fill');
/***/ }),
/***/ 50524:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $filter = (__webpack_require__(13473).filter);
var arrayMethodHasSpeciesSupport = __webpack_require__(92625);
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
// `Array.prototype.filter` method
// https://tc39.es/ecma262/#sec-array.prototype.filter
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
filter: function filter(callbackfn /* , thisArg */) {
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ 76672:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $findIndex = (__webpack_require__(13473).findIndex);
var addToUnscopables = __webpack_require__(58361);
var FIND_INDEX = 'findIndex';
var SKIPS_HOLES = true;
// Shouldn't skip holes
// eslint-disable-next-line es/no-array-prototype-findindex -- testing
if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });
// `Array.prototype.findIndex` method
// https://tc39.es/ecma262/#sec-array.prototype.findindex
$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
findIndex: function findIndex(callbackfn /* , that = undefined */) {
return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables(FIND_INDEX);
/***/ }),
/***/ 57015:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $findLastIndex = (__webpack_require__(27035).findLastIndex);
var addToUnscopables = __webpack_require__(58361);
// `Array.prototype.findLastIndex` method
// https://tc39.es/ecma262/#sec-array.prototype.findlastindex
$({ target: 'Array', proto: true }, {
findLastIndex: function findLastIndex(callbackfn /* , that = undefined */) {
return $findLastIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
addToUnscopables('findLastIndex');
/***/ }),
/***/ 16802:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $findLast = (__webpack_require__(27035).findLast);
var addToUnscopables = __webpack_require__(58361);
// `Array.prototype.findLast` method
// https://tc39.es/ecma262/#sec-array.prototype.findlast
$({ target: 'Array', proto: true }, {
findLast: function findLast(callbackfn /* , that = undefined */) {
return $findLast(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
addToUnscopables('findLast');
/***/ }),
/***/ 47949:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $find = (__webpack_require__(13473).find);
var addToUnscopables = __webpack_require__(58361);
var FIND = 'find';
var SKIPS_HOLES = true;
// Shouldn't skip holes
// eslint-disable-next-line es/no-array-prototype-find -- testing
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
// `Array.prototype.find` method
// https://tc39.es/ecma262/#sec-array.prototype.find
$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
find: function find(callbackfn /* , that = undefined */) {
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables(FIND);
/***/ }),
/***/ 82858:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var flattenIntoArray = __webpack_require__(38631);
var aCallable = __webpack_require__(58574);
var toObject = __webpack_require__(99353);
var lengthOfArrayLike = __webpack_require__(78930);
var arraySpeciesCreate = __webpack_require__(13233);
// `Array.prototype.flatMap` method
// https://tc39.es/ecma262/#sec-array.prototype.flatmap
$({ target: 'Array', proto: true }, {
flatMap: function flatMap(callbackfn /* , thisArg */) {
var O = toObject(this);
var sourceLen = lengthOfArrayLike(O);
var A;
aCallable(callbackfn);
A = arraySpeciesCreate(O, 0);
A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
return A;
}
});
/***/ }),
/***/ 75181:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var flattenIntoArray = __webpack_require__(38631);
var toObject = __webpack_require__(99353);
var lengthOfArrayLike = __webpack_require__(78930);
var toIntegerOrInfinity = __webpack_require__(87407);
var arraySpeciesCreate = __webpack_require__(13233);
// `Array.prototype.flat` method
// https://tc39.es/ecma262/#sec-array.prototype.flat
$({ target: 'Array', proto: true }, {
flat: function flat(/* depthArg = 1 */) {
var depthArg = arguments.length ? arguments[0] : undefined;
var O = toObject(this);
var sourceLen = lengthOfArrayLike(O);
var A = arraySpeciesCreate(O, 0);
A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg));
return A;
}
});
/***/ }),
/***/ 46209:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var forEach = __webpack_require__(40351);
// `Array.prototype.forEach` method
// https://tc39.es/ecma262/#sec-array.prototype.foreach
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, {
forEach: forEach
});
/***/ }),
/***/ 17350:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var from = __webpack_require__(59368);
var checkCorrectnessOfIteration = __webpack_require__(48216);
var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
// eslint-disable-next-line es/no-array-from -- required for testing
Array.from(iterable);
});
// `Array.from` method
// https://tc39.es/ecma262/#sec-array.from
$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
from: from
});
/***/ }),
/***/ 17939:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $includes = (__webpack_require__(18941).includes);
var fails = __webpack_require__(46915);
var addToUnscopables = __webpack_require__(58361);
// FF99+ bug
var BROKEN_ON_SPARSE = fails(function () {
// eslint-disable-next-line es/no-array-prototype-includes -- detection
return !Array(1).includes();
});
// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
includes: function includes(el /* , fromIndex = 0 */) {
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
}
});
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('includes');
/***/ }),
/***/ 28784:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* eslint-disable es/no-array-prototype-indexof -- required for testing */
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(20304);
var $indexOf = (__webpack_require__(18941).indexOf);
var arrayMethodIsStrict = __webpack_require__(69538);
var nativeIndexOf = uncurryThis([].indexOf);
var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;
var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');
// `Array.prototype.indexOf` method
// https://tc39.es/ecma262/#sec-array.prototype.indexof
$({ target: 'Array', proto: true, forced: FORCED }, {
indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
return NEGATIVE_ZERO
// convert -0 to +0
? nativeIndexOf(this, searchElement, fromIndex) || 0
: $indexOf(this, searchElement, fromIndex);
}
});
/***/ }),
/***/ 61126:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var isArray = __webpack_require__(86636);
// `Array.isArray` method
// https://tc39.es/ecma262/#sec-array.isarray
$({ target: 'Array', stat: true }, {
isArray: isArray
});
/***/ }),
/***/ 83076:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var toIndexedObject = __webpack_require__(44377);
var addToUnscopables = __webpack_require__(58361);
var Iterators = __webpack_require__(16817);
var InternalStateModule = __webpack_require__(40161);
var defineProperty = (__webpack_require__(84869).f);
var defineIterator = __webpack_require__(54612);
var createIterResultObject = __webpack_require__(51677);
var IS_PURE = __webpack_require__(40279);
var DESCRIPTORS = __webpack_require__(73968);
var ARRAY_ITERATOR = 'Array Iterator';
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
// `Array.prototype.entries` method
// https://tc39.es/ecma262/#sec-array.prototype.entries
// `Array.prototype.keys` method
// https://tc39.es/ecma262/#sec-array.prototype.keys
// `Array.prototype.values` method
// https://tc39.es/ecma262/#sec-array.prototype.values
// `Array.prototype[@@iterator]` method
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
// `CreateArrayIterator` internal method
// https://tc39.es/ecma262/#sec-createarrayiterator
module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
setInternalState(this, {
type: ARRAY_ITERATOR,
target: toIndexedObject(iterated), // target
index: 0, // next index
kind: kind // kind
});
// `%ArrayIteratorPrototype%.next` method
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
}, function () {
var state = getInternalState(this);
var target = state.target;
var index = state.index++;
if (!target || index >= target.length) {
state.target = null;
return createIterResultObject(undefined, true);
}
switch (state.kind) {
case 'keys': return createIterResultObject(index, false);
case 'values': return createIterResultObject(target[index], false);
} return createIterResultObject([index, target[index]], false);
}, 'values');
// argumentsList[@@iterator] is %ArrayProto_values%
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
var values = Iterators.Arguments = Iterators.Array;
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('keys');
addToUnscopables('values');
addToUnscopables('entries');
// V8 ~ Chrome 45- bug
if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {
defineProperty(values, 'name', { value: 'values' });
} catch (error) { /* empty */ }
/***/ }),
/***/ 21178:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(7812);
var IndexedObject = __webpack_require__(7267);
var toIndexedObject = __webpack_require__(44377);
var arrayMethodIsStrict = __webpack_require__(69538);
var nativeJoin = uncurryThis([].join);
var ES3_STRINGS = IndexedObject !== Object;
var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');
// `Array.prototype.join` method
// https://tc39.es/ecma262/#sec-array.prototype.join
$({ target: 'Array', proto: true, forced: FORCED }, {
join: function join(separator) {
return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator);
}
});
/***/ }),
/***/ 3837:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var lastIndexOf = __webpack_require__(69615);
// `Array.prototype.lastIndexOf` method
// https://tc39.es/ecma262/#sec-array.prototype.lastindexof
// eslint-disable-next-line es/no-array-prototype-lastindexof -- required for testing
$({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, {
lastIndexOf: lastIndexOf
});
/***/ }),
/***/ 15186:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $map = (__webpack_require__(13473).map);
var arrayMethodHasSpeciesSupport = __webpack_require__(92625);
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
// `Array.prototype.map` method
// https://tc39.es/ecma262/#sec-array.prototype.map
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
map: function map(callbackfn /* , thisArg */) {
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ 68367:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var fails = __webpack_require__(46915);
var isConstructor = __webpack_require__(41633);
var createProperty = __webpack_require__(4236);
var $Array = Array;
var ISNT_GENERIC = fails(function () {
function F() { /* empty */ }
// eslint-disable-next-line es/no-array-of -- safe
return !($Array.of.call(F) instanceof F);
});
// `Array.of` method
// https://tc39.es/ecma262/#sec-array.of
// WebKit Array.of isn't generic
$({ target: 'Array', stat: true, forced: ISNT_GENERIC }, {
of: function of(/* ...args */) {
var index = 0;
var argumentsLength = arguments.length;
var result = new (isConstructor(this) ? this : $Array)(argumentsLength);
while (argumentsLength > index) createProperty(result, index, arguments[index++]);
result.length = argumentsLength;
return result;
}
});
/***/ }),
/***/ 16206:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var toObject = __webpack_require__(99353);
var lengthOfArrayLike = __webpack_require__(78930);
var setArrayLength = __webpack_require__(44739);
var doesNotExceedSafeInteger = __webpack_require__(17257);
var fails = __webpack_require__(46915);
var INCORRECT_TO_LENGTH = fails(function () {
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
});
// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
var properErrorOnNonWritableLength = function () {
try {
// eslint-disable-next-line es/no-object-defineproperty -- safe
Object.defineProperty([], 'length', { writable: false }).push();
} catch (error) {
return error instanceof TypeError;
}
};
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
// `Array.prototype.push` method
// https://tc39.es/ecma262/#sec-array.prototype.push
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
// eslint-disable-next-line no-unused-vars -- required for `.length`
push: function push(item) {
var O = toObject(this);
var len = lengthOfArrayLike(O);
var argCount = arguments.length;
doesNotExceedSafeInteger(len + argCount);
for (var i = 0; i < argCount; i++) {
O[len] = arguments[i];
len++;
}
setArrayLength(O, len);
return len;
}
});
/***/ }),
/***/ 32091:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $reduceRight = (__webpack_require__(8178).right);
var arrayMethodIsStrict = __webpack_require__(69538);
var CHROME_VERSION = __webpack_require__(46939);
var IS_NODE = __webpack_require__(54141);
// Chrome 80-82 has a critical bug
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduceRight');
// `Array.prototype.reduceRight` method
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
$({ target: 'Array', proto: true, forced: FORCED }, {
reduceRight: function reduceRight(callbackfn /* , initialValue */) {
return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ 35868:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $reduce = (__webpack_require__(8178).left);
var arrayMethodIsStrict = __webpack_require__(69538);
var CHROME_VERSION = __webpack_require__(46939);
var IS_NODE = __webpack_require__(54141);
// Chrome 80-82 has a critical bug
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');
// `Array.prototype.reduce` method
// https://tc39.es/ecma262/#sec-array.prototype.reduce
$({ target: 'Array', proto: true, forced: FORCED }, {
reduce: function reduce(callbackfn /* , initialValue */) {
var length = arguments.length;
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ 89286:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(7812);
var isArray = __webpack_require__(86636);
var nativeReverse = uncurryThis([].reverse);
var test = [1, 2];
// `Array.prototype.reverse` method
// https://tc39.es/ecma262/#sec-array.prototype.reverse
// fix for Safari 12.0 bug
// https://bugs.webkit.org/show_bug.cgi?id=188794
$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {
reverse: function reverse() {
// eslint-disable-next-line no-self-assign -- dirty hack
if (isArray(this)) this.length = this.length;
return nativeReverse(this);
}
});
/***/ }),
/***/ 86810:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var isArray = __webpack_require__(86636);
var isConstructor = __webpack_require__(41633);
var isObject = __webpack_require__(82054);
var toAbsoluteIndex = __webpack_require__(36718);
var lengthOfArrayLike = __webpack_require__(78930);
var toIndexedObject = __webpack_require__(44377);
var createProperty = __webpack_require__(4236);
var wellKnownSymbol = __webpack_require__(20303);
var arrayMethodHasSpeciesSupport = __webpack_require__(92625);
var nativeSlice = __webpack_require__(80108);
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');
var SPECIES = wellKnownSymbol('species');
var $Array = Array;
var max = Math.max;
// `Array.prototype.slice` method
// https://tc39.es/ecma262/#sec-array.prototype.slice
// fallback for not array-like ES3 strings and DOM objects
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
slice: function slice(start, end) {
var O = toIndexedObject(this);
var length = lengthOfArrayLike(O);
var k = toAbsoluteIndex(start, length);
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
// inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
var Constructor, result, n;
if (isArray(O)) {
Constructor = O.constructor;
// cross-realm fallback
if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {
Constructor = undefined;
} else if (isObject(Constructor)) {
Constructor = Constructor[SPECIES];
if (Constructor === null) Constructor = undefined;
}
if (Constructor === $Array || Constructor === undefined) {
return nativeSlice(O, k, fin);
}
}
result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));
for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
result.length = n;
return result;
}
});
/***/ }),
/***/ 73242:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $some = (__webpack_require__(13473).some);
var arrayMethodIsStrict = __webpack_require__(69538);
var STRICT_METHOD = arrayMethodIsStrict('some');
// `Array.prototype.some` method
// https://tc39.es/ecma262/#sec-array.prototype.some
$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {
some: function some(callbackfn /* , thisArg */) {
return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ 75762:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(7812);
var aCallable = __webpack_require__(58574);
var toObject = __webpack_require__(99353);
var lengthOfArrayLike = __webpack_require__(78930);
var deletePropertyOrThrow = __webpack_require__(4250);
var toString = __webpack_require__(34211);
var fails = __webpack_require__(46915);
var internalSort = __webpack_require__(75676);
var arrayMethodIsStrict = __webpack_require__(69538);
var FF = __webpack_require__(86033);
var IE_OR_EDGE = __webpack_require__(80975);
var V8 = __webpack_require__(46939);
var WEBKIT = __webpack_require__(19379);
var test = [];
var nativeSort = uncurryThis(test.sort);
var push = uncurryThis(test.push);
// IE8-
var FAILS_ON_UNDEFINED = fails(function () {
test.sort(undefined);
});
// V8 bug
var FAILS_ON_NULL = fails(function () {
test.sort(null);
});
// Old WebKit
var STRICT_METHOD = arrayMethodIsStrict('sort');
var STABLE_SORT = !fails(function () {
// feature detection can be too slow, so check engines versions
if (V8) return V8 < 70;
if (FF && FF > 3) return;
if (IE_OR_EDGE) return true;
if (WEBKIT) return WEBKIT < 603;
var result = '';
var code, chr, value, index;
// generate an array with more 512 elements (Chakra and old V8 fails only in this case)
for (code = 65; code < 76; code++) {
chr = String.fromCharCode(code);
switch (code) {
case 66: case 69: case 70: case 72: value = 3; break;
case 68: case 71: value = 4; break;
default: value = 2;
}
for (index = 0; index < 47; index++) {
test.push({ k: chr + index, v: value });
}
}
test.sort(function (a, b) { return b.v - a.v; });
for (index = 0; index < test.length; index++) {
chr = test[index].k.charAt(0);
if (result.charAt(result.length - 1) !== chr) result += chr;
}
return result !== 'DGBEFHACIJK';
});
var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;
var getSortCompare = function (comparefn) {
return function (x, y) {
if (y === undefined) return -1;
if (x === undefined) return 1;
if (comparefn !== undefined) return +comparefn(x, y) || 0;
return toString(x) > toString(y) ? 1 : -1;
};
};
// `Array.prototype.sort` method
// https://tc39.es/ecma262/#sec-array.prototype.sort
$({ target: 'Array', proto: true, forced: FORCED }, {
sort: function sort(comparefn) {
if (comparefn !== undefined) aCallable(comparefn);
var array = toObject(this);
if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);
var items = [];
var arrayLength = lengthOfArrayLike(array);
var itemsLength, index;
for (index = 0; index < arrayLength; index++) {
if (index in array) push(items, array[index]);
}
internalSort(items, getSortCompare(comparefn));
itemsLength = lengthOfArrayLike(items);
index = 0;
while (index < itemsLength) array[index] = items[index++];
while (index < arrayLength) deletePropertyOrThrow(array, index++);
return array;
}
});
/***/ }),
/***/ 92306:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var setSpecies = __webpack_require__(87101);
// `Array[@@species]` getter
// https://tc39.es/ecma262/#sec-get-array-@@species
setSpecies('Array');
/***/ }),
/***/ 34190:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var toObject = __webpack_require__(99353);
var toAbsoluteIndex = __webpack_require__(36718);
var toIntegerOrInfinity = __webpack_require__(87407);
var lengthOfArrayLike = __webpack_require__(78930);
var setArrayLength = __webpack_require__(44739);
var doesNotExceedSafeInteger = __webpack_require__(17257);
var arraySpeciesCreate = __webpack_require__(13233);
var createProperty = __webpack_require__(4236);
var deletePropertyOrThrow = __webpack_require__(4250);
var arrayMethodHasSpeciesSupport = __webpack_require__(92625);
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');
var max = Math.max;
var min = Math.min;
// `Array.prototype.splice` method
// https://tc39.es/ecma262/#sec-array.prototype.splice
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
splice: function splice(start, deleteCount /* , ...items */) {
var O = toObject(this);
var len = lengthOfArrayLike(O);
var actualStart = toAbsoluteIndex(start, len);
var argumentsLength = arguments.length;
var insertCount, actualDeleteCount, A, k, from, to;
if (argumentsLength === 0) {
insertCount = actualDeleteCount = 0;
} else if (argumentsLength === 1) {
insertCount = 0;
actualDeleteCount = len - actualStart;
} else {
insertCount = argumentsLength - 2;
actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);
}
doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);
A = arraySpeciesCreate(O, actualDeleteCount);
for (k = 0; k < actualDeleteCount; k++) {
from = actualStart + k;
if (from in O) createProperty(A, k, O[from]);
}
A.length = actualDeleteCount;
if (insertCount < actualDeleteCount) {
for (k = actualStart; k < len - actualDeleteCount; k++) {
from = k + actualDeleteCount;
to = k + insertCount;
if (from in O) O[to] = O[from];
else deletePropertyOrThrow(O, to);
}
for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);
} else if (insertCount > actualDeleteCount) {
for (k = len - actualDeleteCount; k > actualStart; k--) {
from = k + actualDeleteCount - 1;
to = k + insertCount - 1;
if (from in O) O[to] = O[from];
else deletePropertyOrThrow(O, to);
}
}
for (k = 0; k < insertCount; k++) {
O[k + actualStart] = arguments[k + 2];
}
setArrayLength(O, len - actualDeleteCount + insertCount);
return A;
}
});
/***/ }),
/***/ 86202:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var arrayToReversed = __webpack_require__(69848);
var toIndexedObject = __webpack_require__(44377);
var addToUnscopables = __webpack_require__(58361);
var $Array = Array;
// `Array.prototype.toReversed` method
// https://tc39.es/ecma262/#sec-array.prototype.toreversed
$({ target: 'Array', proto: true }, {
toReversed: function toReversed() {
return arrayToReversed(toIndexedObject(this), $Array);
}
});
addToUnscopables('toReversed');
/***/ }),
/***/ 33213:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(7812);
var aCallable = __webpack_require__(58574);
var toIndexedObject = __webpack_require__(44377);
var arrayFromConstructorAndList = __webpack_require__(48774);
var getBuiltInPrototypeMethod = __webpack_require__(90360);
var addToUnscopables = __webpack_require__(58361);
var $Array = Array;
var sort = uncurryThis(getBuiltInPrototypeMethod('Array', 'sort'));
// `Array.prototype.toSorted` method
// https://tc39.es/ecma262/#sec-array.prototype.tosorted
$({ target: 'Array', proto: true }, {
toSorted: function toSorted(compareFn) {
if (compareFn !== undefined) aCallable(compareFn);
var O = toIndexedObject(this);
var A = arrayFromConstructorAndList($Array, O);
return sort(A, compareFn);
}
});
addToUnscopables('toSorted');
/***/ }),
/***/ 90078:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var addToUnscopables = __webpack_require__(58361);
var doesNotExceedSafeInteger = __webpack_require__(17257);
var lengthOfArrayLike = __webpack_require__(78930);
var toAbsoluteIndex = __webpack_require__(36718);
var toIndexedObject = __webpack_require__(44377);
var toIntegerOrInfinity = __webpack_require__(87407);
var $Array = Array;
var max = Math.max;
var min = Math.min;
// `Array.prototype.toSpliced` method
// https://tc39.es/ecma262/#sec-array.prototype.tospliced
$({ target: 'Array', proto: true }, {
toSpliced: function toSpliced(start, deleteCount /* , ...items */) {
var O = toIndexedObject(this);
var len = lengthOfArrayLike(O);
var actualStart = toAbsoluteIndex(start, len);
var argumentsLength = arguments.length;
var k = 0;
var insertCount, actualDeleteCount, newLen, A;
if (argumentsLength === 0) {
insertCount = actualDeleteCount = 0;
} else if (argumentsLength === 1) {
insertCount = 0;
actualDeleteCount = len - actualStart;
} else {
insertCount = argumentsLength - 2;
actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);
}
newLen = doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);
A = $Array(newLen);
for (; k < actualStart; k++) A[k] = O[k];
for (; k < actualStart + insertCount; k++) A[k] = arguments[k - actualStart + 2];
for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount];
return A;
}
});
addToUnscopables('toSpliced');
/***/ }),
/***/ 85001:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// this method was added to unscopables after implementation
// in popular engines, so it's moved to a separate module
var addToUnscopables = __webpack_require__(58361);
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('flatMap');
/***/ }),
/***/ 37462:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// this method was added to unscopables after implementation
// in popular engines, so it's moved to a separate module
var addToUnscopables = __webpack_require__(58361);
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('flat');
/***/ }),
/***/ 38469:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var toObject = __webpack_require__(99353);
var lengthOfArrayLike = __webpack_require__(78930);
var setArrayLength = __webpack_require__(44739);
var deletePropertyOrThrow = __webpack_require__(4250);
var doesNotExceedSafeInteger = __webpack_require__(17257);
// IE8-
var INCORRECT_RESULT = [].unshift(0) !== 1;
// V8 ~ Chrome < 71 and Safari <= 15.4, FF < 23 throws InternalError
var properErrorOnNonWritableLength = function () {
try {
// eslint-disable-next-line es/no-object-defineproperty -- safe
Object.defineProperty([], 'length', { writable: false }).unshift();
} catch (error) {
return error instanceof TypeError;
}
};
var FORCED = INCORRECT_RESULT || !properErrorOnNonWritableLength();
// `Array.prototype.unshift` method
// https://tc39.es/ecma262/#sec-array.prototype.unshift
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
// eslint-disable-next-line no-unused-vars -- required for `.length`
unshift: function unshift(item) {
var O = toObject(this);
var len = lengthOfArrayLike(O);
var argCount = arguments.length;
if (argCount) {
doesNotExceedSafeInteger(len + argCount);
var k = len;
while (k--) {
var to = k + argCount;
if (k in O) O[to] = O[k];
else deletePropertyOrThrow(O, to);
}
for (var j = 0; j < argCount; j++) {
O[j] = arguments[j];
}
} return setArrayLength(O, len + argCount);
}
});
/***/ }),
/***/ 99754:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var arrayWith = __webpack_require__(60908);
var toIndexedObject = __webpack_require__(44377);
var $Array = Array;
// `Array.prototype.with` method
// https://tc39.es/ecma262/#sec-array.prototype.with
$({ target: 'Array', proto: true }, {
'with': function (index, value) {
return arrayWith(toIndexedObject(this), $Array, index, value);
}
});
/***/ }),
/***/ 19773:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var globalThis = __webpack_require__(40452);
// `globalThis` object
// https://tc39.es/ecma262/#sec-globalthis
$({ global: true, forced: globalThis.globalThis !== globalThis }, {
globalThis: globalThis
});
/***/ }),
/***/ 10730:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var getBuiltIn = __webpack_require__(22235);
var apply = __webpack_require__(35013);
var call = __webpack_require__(62729);
var uncurryThis = __webpack_require__(7812);
var fails = __webpack_require__(46915);
var isCallable = __webpack_require__(24241);
var isSymbol = __webpack_require__(16809);
var arraySlice = __webpack_require__(80108);
var getReplacerFunction = __webpack_require__(18825);
var NATIVE_SYMBOL = __webpack_require__(28827);
var $String = String;
var $stringify = getBuiltIn('JSON', 'stringify');
var exec = uncurryThis(/./.exec);
var charAt = uncurryThis(''.charAt);
var charCodeAt = uncurryThis(''.charCodeAt);
var replace = uncurryThis(''.replace);
var numberToString = uncurryThis(1.0.toString);
var tester = /[\uD800-\uDFFF]/g;
var low = /^[\uD800-\uDBFF]$/;
var hi = /^[\uDC00-\uDFFF]$/;
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {
var symbol = getBuiltIn('Symbol')('stringify detection');
// MS Edge converts symbol values to JSON as {}
return $stringify([symbol]) !== '[null]'
// WebKit converts symbol values to JSON as null
|| $stringify({ a: symbol }) !== '{}'
// V8 throws on boxed symbols
|| $stringify(Object(symbol)) !== '{}';
});
// https://github.com/tc39/proposal-well-formed-stringify
var ILL_FORMED_UNICODE = fails(function () {
return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
|| $stringify('\uDEAD') !== '"\\udead"';
});
var stringifyWithSymbolsFix = function (it, replacer) {
var args = arraySlice(arguments);
var $replacer = getReplacerFunction(replacer);
if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
args[1] = function (key, value) {
// some old implementations (like WebKit) could pass numbers as keys
if (isCallable($replacer)) value = call($replacer, this, $String(key), value);
if (!isSymbol(value)) return value;
};
return apply($stringify, null, args);
};
var fixIllFormed = function (match, offset, string) {
var prev = charAt(string, offset - 1);
var next = charAt(string, offset + 1);
if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {
return '\\u' + numberToString(charCodeAt(match, 0), 16);
} return match;
};
if ($stringify) {
// `JSON.stringify` method
// https://tc39.es/ecma262/#sec-json.stringify
$({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
// eslint-disable-next-line no-unused-vars -- required for `.length`
stringify: function stringify(it, replacer, space) {
var args = arraySlice(arguments);
var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;
}
});
}
/***/ }),
/***/ 38183:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
var setToStringTag = __webpack_require__(51699);
// JSON[@@toStringTag] property
// https://tc39.es/ecma262/#sec-json-@@tostringtag
setToStringTag(globalThis.JSON, 'JSON', true);
/***/ }),
/***/ 44079:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var collection = __webpack_require__(44552);
var collectionStrong = __webpack_require__(79358);
// `Map` constructor
// https://tc39.es/ecma262/#sec-map-objects
collection('Map', function (init) {
return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };
}, collectionStrong);
/***/ }),
/***/ 25869:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove this module from `core-js@4` since it's replaced to module below
__webpack_require__(44079);
/***/ }),
/***/ 75499:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var setToStringTag = __webpack_require__(51699);
// Math[@@toStringTag] property
// https://tc39.es/ecma262/#sec-math-@@tostringtag
setToStringTag(Math, 'Math', true);
/***/ }),
/***/ 84561:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var assign = __webpack_require__(41945);
// `Object.assign` method
// https://tc39.es/ecma262/#sec-object.assign
// eslint-disable-next-line es/no-object-assign -- required for testing
$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
assign: assign
});
/***/ }),
/***/ 35948:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(16922);
var DESCRIPTORS = __webpack_require__(73968);
var create = __webpack_require__(5684);
// `Object.create` method
// https://tc39.es/ecma262/#sec-object.create
$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
create: create
});
/***/ }),
/***/ 21175:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var DESCRIPTORS = __webpack_require__(73968);
var FORCED = __webpack_require__(50963);
var aCallable = __webpack_require__(58574);
var toObject = __webpack_require__(99353);
var definePropertyModule = __webpack_require__(84869);
// `Object.prototype.__defineGetter__` method
// https://tc39.es/ecma262/#sec-object.prototype.__defineGetter__
if (DESCRIPTORS) {
$({ target: 'Object', proto: true, forced: FORCED }, {
__defineGetter__: function __defineGetter__(P, getter) {
definePropertyModule.f(toObject(this), P, { get: aCallable(getter), enumerable: true, configurable: true });
}
});
}
/***/ }),
/***/ 34469:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var DESCRIPTORS = __webpack_require__(73968);
var defineProperties = (__webpack_require__(90861).f);
// `Object.defineProperties` method
// https://tc39.es/ecma262/#sec-object.defineproperties
// eslint-disable-next-line es/no-object-defineproperties -- safe
$({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProperties, sham: !DESCRIPTORS }, {
defineProperties: defineProperties
});
/***/ }),
/***/ 83805:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var DESCRIPTORS = __webpack_require__(73968);
var defineProperty = (__webpack_require__(84869).f);
// `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
// eslint-disable-next-line es/no-object-defineproperty -- safe
$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, {
defineProperty: defineProperty
});
/***/ }),
/***/ 50995:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var DESCRIPTORS = __webpack_require__(73968);
var FORCED = __webpack_require__(50963);
var aCallable = __webpack_require__(58574);
var toObject = __webpack_require__(99353);
var definePropertyModule = __webpack_require__(84869);
// `Object.prototype.__defineSetter__` method
// https://tc39.es/ecma262/#sec-object.prototype.__defineSetter__
if (DESCRIPTORS) {
$({ target: 'Object', proto: true, forced: FORCED }, {
__defineSetter__: function __defineSetter__(P, setter) {
definePropertyModule.f(toObject(this), P, { set: aCallable(setter), enumerable: true, configurable: true });
}
});
}
/***/ }),
/***/ 58910:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $entries = (__webpack_require__(8721).entries);
// `Object.entries` method
// https://tc39.es/ecma262/#sec-object.entries
$({ target: 'Object', stat: true }, {
entries: function entries(O) {
return $entries(O);
}
});
/***/ }),
/***/ 97599:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var FREEZING = __webpack_require__(80444);
var fails = __webpack_require__(46915);
var isObject = __webpack_require__(82054);
var onFreeze = (__webpack_require__(64775).onFreeze);
// eslint-disable-next-line es/no-object-freeze -- safe
var $freeze = Object.freeze;
var FAILS_ON_PRIMITIVES = fails(function () { $freeze(1); });
// `Object.freeze` method
// https://tc39.es/ecma262/#sec-object.freeze
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {
freeze: function freeze(it) {
return $freeze && isObject(it) ? $freeze(onFreeze(it)) : it;
}
});
/***/ }),
/***/ 94133:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var iterate = __webpack_require__(51152);
var createProperty = __webpack_require__(4236);
// `Object.fromEntries` method
// https://tc39.es/ecma262/#sec-object.fromentries
$({ target: 'Object', stat: true }, {
fromEntries: function fromEntries(iterable) {
var obj = {};
iterate(iterable, function (k, v) {
createProperty(obj, k, v);
}, { AS_ENTRIES: true });
return obj;
}
});
/***/ }),
/***/ 56439:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var fails = __webpack_require__(46915);
var toIndexedObject = __webpack_require__(44377);
var nativeGetOwnPropertyDescriptor = (__webpack_require__(35999).f);
var DESCRIPTORS = __webpack_require__(73968);
var FORCED = !DESCRIPTORS || fails(function () { nativeGetOwnPropertyDescriptor(1); });
// `Object.getOwnPropertyDescriptor` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {
getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {
return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);
}
});
/***/ }),
/***/ 42242:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var DESCRIPTORS = __webpack_require__(73968);
var ownKeys = __webpack_require__(9275);
var toIndexedObject = __webpack_require__(44377);
var getOwnPropertyDescriptorModule = __webpack_require__(35999);
var createProperty = __webpack_require__(4236);
// `Object.getOwnPropertyDescriptors` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
var O = toIndexedObject(object);
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
var keys = ownKeys(O);
var result = {};
var index = 0;
var key, descriptor;
while (keys.length > index) {
descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);
if (descriptor !== undefined) createProperty(result, key, descriptor);
}
return result;
}
});
/***/ }),
/***/ 49716:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var fails = __webpack_require__(46915);
var getOwnPropertyNames = (__webpack_require__(83070).f);
// eslint-disable-next-line es/no-object-getownpropertynames -- required for testing
var FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); });
// `Object.getOwnPropertyNames` method
// https://tc39.es/ecma262/#sec-object.getownpropertynames
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
getOwnPropertyNames: getOwnPropertyNames
});
/***/ }),
/***/ 81641:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var NATIVE_SYMBOL = __webpack_require__(28827);
var fails = __webpack_require__(46915);
var getOwnPropertySymbolsModule = __webpack_require__(89889);
var toObject = __webpack_require__(99353);
// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
// https://bugs.chromium.org/p/v8/issues/detail?id=3443
var FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); });
// `Object.getOwnPropertySymbols` method
// https://tc39.es/ecma262/#sec-object.getownpropertysymbols
$({ target: 'Object', stat: true, forced: FORCED }, {
getOwnPropertySymbols: function getOwnPropertySymbols(it) {
var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];
}
});
/***/ }),
/***/ 36495:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var fails = __webpack_require__(46915);
var toObject = __webpack_require__(99353);
var nativeGetPrototypeOf = __webpack_require__(65591);
var CORRECT_PROTOTYPE_GETTER = __webpack_require__(28647);
var FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });
// `Object.getPrototypeOf` method
// https://tc39.es/ecma262/#sec-object.getprototypeof
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {
getPrototypeOf: function getPrototypeOf(it) {
return nativeGetPrototypeOf(toObject(it));
}
});
/***/ }),
/***/ 71071:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var getBuiltIn = __webpack_require__(22235);
var uncurryThis = __webpack_require__(7812);
var aCallable = __webpack_require__(58574);
var requireObjectCoercible = __webpack_require__(82066);
var toPropertyKey = __webpack_require__(81037);
var iterate = __webpack_require__(51152);
var fails = __webpack_require__(46915);
// eslint-disable-next-line es/no-object-groupby -- testing
var nativeGroupBy = Object.groupBy;
var create = getBuiltIn('Object', 'create');
var push = uncurryThis([].push);
var DOES_NOT_WORK_WITH_PRIMITIVES = !nativeGroupBy || fails(function () {
return nativeGroupBy('ab', function (it) {
return it;
}).a.length !== 1;
});
// `Object.groupBy` method
// https://tc39.es/ecma262/#sec-object.groupby
$({ target: 'Object', stat: true, forced: DOES_NOT_WORK_WITH_PRIMITIVES }, {
groupBy: function groupBy(items, callbackfn) {
requireObjectCoercible(items);
aCallable(callbackfn);
var obj = create(null);
var k = 0;
iterate(items, function (value) {
var key = toPropertyKey(callbackfn(value, k++));
// in some IE versions, `hasOwnProperty` returns incorrect result on integer keys
// but since it's a `null` prototype object, we can safely use `in`
if (key in obj) push(obj[key], value);
else obj[key] = [value];
});
return obj;
}
});
/***/ }),
/***/ 58519:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var hasOwn = __webpack_require__(34525);
// `Object.hasOwn` method
// https://tc39.es/ecma262/#sec-object.hasown
$({ target: 'Object', stat: true }, {
hasOwn: hasOwn
});
/***/ }),
/***/ 51048:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $isExtensible = __webpack_require__(80000);
// `Object.isExtensible` method
// https://tc39.es/ecma262/#sec-object.isextensible
// eslint-disable-next-line es/no-object-isextensible -- safe
$({ target: 'Object', stat: true, forced: Object.isExtensible !== $isExtensible }, {
isExtensible: $isExtensible
});
/***/ }),
/***/ 31719:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var fails = __webpack_require__(46915);
var isObject = __webpack_require__(82054);
var classof = __webpack_require__(81788);
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(26008);
// eslint-disable-next-line es/no-object-isfrozen -- safe
var $isFrozen = Object.isFrozen;
var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function () { $isFrozen(1); });
// `Object.isFrozen` method
// https://tc39.es/ecma262/#sec-object.isfrozen
$({ target: 'Object', stat: true, forced: FORCED }, {
isFrozen: function isFrozen(it) {
if (!isObject(it)) return true;
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return true;
return $isFrozen ? $isFrozen(it) : false;
}
});
/***/ }),
/***/ 16561:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var fails = __webpack_require__(46915);
var isObject = __webpack_require__(82054);
var classof = __webpack_require__(81788);
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(26008);
// eslint-disable-next-line es/no-object-issealed -- safe
var $isSealed = Object.isSealed;
var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function () { $isSealed(1); });
// `Object.isSealed` method
// https://tc39.es/ecma262/#sec-object.issealed
$({ target: 'Object', stat: true, forced: FORCED }, {
isSealed: function isSealed(it) {
if (!isObject(it)) return true;
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return true;
return $isSealed ? $isSealed(it) : false;
}
});
/***/ }),
/***/ 86792:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var is = __webpack_require__(96882);
// `Object.is` method
// https://tc39.es/ecma262/#sec-object.is
$({ target: 'Object', stat: true }, {
is: is
});
/***/ }),
/***/ 91364:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var toObject = __webpack_require__(99353);
var nativeKeys = __webpack_require__(57580);
var fails = __webpack_require__(46915);
var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
// `Object.keys` method
// https://tc39.es/ecma262/#sec-object.keys
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
keys: function keys(it) {
return nativeKeys(toObject(it));
}
});
/***/ }),
/***/ 92512:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var DESCRIPTORS = __webpack_require__(73968);
var FORCED = __webpack_require__(50963);
var toObject = __webpack_require__(99353);
var toPropertyKey = __webpack_require__(81037);
var getPrototypeOf = __webpack_require__(65591);
var getOwnPropertyDescriptor = (__webpack_require__(35999).f);
// `Object.prototype.__lookupGetter__` method
// https://tc39.es/ecma262/#sec-object.prototype.__lookupGetter__
if (DESCRIPTORS) {
$({ target: 'Object', proto: true, forced: FORCED }, {
__lookupGetter__: function __lookupGetter__(P) {
var O = toObject(this);
var key = toPropertyKey(P);
var desc;
do {
if (desc = getOwnPropertyDescriptor(O, key)) return desc.get;
} while (O = getPrototypeOf(O));
}
});
}
/***/ }),
/***/ 34871:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var DESCRIPTORS = __webpack_require__(73968);
var FORCED = __webpack_require__(50963);
var toObject = __webpack_require__(99353);
var toPropertyKey = __webpack_require__(81037);
var getPrototypeOf = __webpack_require__(65591);
var getOwnPropertyDescriptor = (__webpack_require__(35999).f);
// `Object.prototype.__lookupSetter__` method
// https://tc39.es/ecma262/#sec-object.prototype.__lookupSetter__
if (DESCRIPTORS) {
$({ target: 'Object', proto: true, forced: FORCED }, {
__lookupSetter__: function __lookupSetter__(P) {
var O = toObject(this);
var key = toPropertyKey(P);
var desc;
do {
if (desc = getOwnPropertyDescriptor(O, key)) return desc.set;
} while (O = getPrototypeOf(O));
}
});
}
/***/ }),
/***/ 55363:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var isObject = __webpack_require__(82054);
var onFreeze = (__webpack_require__(64775).onFreeze);
var FREEZING = __webpack_require__(80444);
var fails = __webpack_require__(46915);
// eslint-disable-next-line es/no-object-preventextensions -- safe
var $preventExtensions = Object.preventExtensions;
var FAILS_ON_PRIMITIVES = fails(function () { $preventExtensions(1); });
// `Object.preventExtensions` method
// https://tc39.es/ecma262/#sec-object.preventextensions
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {
preventExtensions: function preventExtensions(it) {
return $preventExtensions && isObject(it) ? $preventExtensions(onFreeze(it)) : it;
}
});
/***/ }),
/***/ 61664:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(73968);
var defineBuiltInAccessor = __webpack_require__(98998);
var isObject = __webpack_require__(82054);
var isPossiblePrototype = __webpack_require__(12393);
var toObject = __webpack_require__(99353);
var requireObjectCoercible = __webpack_require__(82066);
// eslint-disable-next-line es/no-object-getprototypeof -- safe
var getPrototypeOf = Object.getPrototypeOf;
// eslint-disable-next-line es/no-object-setprototypeof -- safe
var setPrototypeOf = Object.setPrototypeOf;
var ObjectPrototype = Object.prototype;
var PROTO = '__proto__';
// `Object.prototype.__proto__` accessor
// https://tc39.es/ecma262/#sec-object.prototype.__proto__
if (DESCRIPTORS && getPrototypeOf && setPrototypeOf && !(PROTO in ObjectPrototype)) try {
defineBuiltInAccessor(ObjectPrototype, PROTO, {
configurable: true,
get: function __proto__() {
return getPrototypeOf(toObject(this));
},
set: function __proto__(proto) {
var O = requireObjectCoercible(this);
if (isPossiblePrototype(proto) && isObject(O)) {
setPrototypeOf(O, proto);
}
}
});
} catch (error) { /* empty */ }
/***/ }),
/***/ 3465:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var isObject = __webpack_require__(82054);
var onFreeze = (__webpack_require__(64775).onFreeze);
var FREEZING = __webpack_require__(80444);
var fails = __webpack_require__(46915);
// eslint-disable-next-line es/no-object-seal -- safe
var $seal = Object.seal;
var FAILS_ON_PRIMITIVES = fails(function () { $seal(1); });
// `Object.seal` method
// https://tc39.es/ecma262/#sec-object.seal
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {
seal: function seal(it) {
return $seal && isObject(it) ? $seal(onFreeze(it)) : it;
}
});
/***/ }),
/***/ 97675:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var setPrototypeOf = __webpack_require__(96723);
// `Object.setPrototypeOf` method
// https://tc39.es/ecma262/#sec-object.setprototypeof
$({ target: 'Object', stat: true }, {
setPrototypeOf: setPrototypeOf
});
/***/ }),
/***/ 98127:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var TO_STRING_TAG_SUPPORT = __webpack_require__(75704);
var defineBuiltIn = __webpack_require__(20420);
var toString = __webpack_require__(33447);
// `Object.prototype.toString` method
// https://tc39.es/ecma262/#sec-object.prototype.tostring
if (!TO_STRING_TAG_SUPPORT) {
defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });
}
/***/ }),
/***/ 19638:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $values = (__webpack_require__(8721).values);
// `Object.values` method
// https://tc39.es/ecma262/#sec-object.values
$({ target: 'Object', stat: true }, {
values: function values(O) {
return $values(O);
}
});
/***/ }),
/***/ 8823:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var call = __webpack_require__(62729);
var aCallable = __webpack_require__(58574);
var newPromiseCapabilityModule = __webpack_require__(27575);
var perform = __webpack_require__(22195);
var iterate = __webpack_require__(51152);
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(35397);
// `Promise.all` method
// https://tc39.es/ecma262/#sec-promise.all
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
all: function all(iterable) {
var C = this;
var capability = newPromiseCapabilityModule.f(C);
var resolve = capability.resolve;
var reject = capability.reject;
var result = perform(function () {
var $promiseResolve = aCallable(C.resolve);
var values = [];
var counter = 0;
var remaining = 1;
iterate(iterable, function (promise) {
var index = counter++;
var alreadyCalled = false;
remaining++;
call($promiseResolve, C, promise).then(function (value) {
if (alreadyCalled) return;
alreadyCalled = true;
values[index] = value;
--remaining || resolve(values);
}, reject);
});
--remaining || resolve(values);
});
if (result.error) reject(result.value);
return capability.promise;
}
});
/***/ }),
/***/ 74367:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var IS_PURE = __webpack_require__(40279);
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(44104).CONSTRUCTOR);
var NativePromiseConstructor = __webpack_require__(20842);
var getBuiltIn = __webpack_require__(22235);
var isCallable = __webpack_require__(24241);
var defineBuiltIn = __webpack_require__(20420);
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
// `Promise.prototype.catch` method
// https://tc39.es/ecma262/#sec-promise.prototype.catch
$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {
'catch': function (onRejected) {
return this.then(undefined, onRejected);
}
});
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
if (!IS_PURE && isCallable(NativePromiseConstructor)) {
var method = getBuiltIn('Promise').prototype['catch'];
if (NativePromisePrototype['catch'] !== method) {
defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });
}
}
/***/ }),
/***/ 36216:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var IS_PURE = __webpack_require__(40279);
var IS_NODE = __webpack_require__(54141);
var globalThis = __webpack_require__(40452);
var call = __webpack_require__(62729);
var defineBuiltIn = __webpack_require__(20420);
var setPrototypeOf = __webpack_require__(96723);
var setToStringTag = __webpack_require__(51699);
var setSpecies = __webpack_require__(87101);
var aCallable = __webpack_require__(58574);
var isCallable = __webpack_require__(24241);
var isObject = __webpack_require__(82054);
var anInstance = __webpack_require__(75131);
var speciesConstructor = __webpack_require__(61793);
var task = (__webpack_require__(12077).set);
var microtask = __webpack_require__(27999);
var hostReportErrors = __webpack_require__(4489);
var perform = __webpack_require__(22195);
var Queue = __webpack_require__(63501);
var InternalStateModule = __webpack_require__(40161);
var NativePromiseConstructor = __webpack_require__(20842);
var PromiseConstructorDetection = __webpack_require__(44104);
var newPromiseCapabilityModule = __webpack_require__(27575);
var PROMISE = 'Promise';
var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;
var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
var setInternalState = InternalStateModule.set;
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
var PromiseConstructor = NativePromiseConstructor;
var PromisePrototype = NativePromisePrototype;
var TypeError = globalThis.TypeError;
var document = globalThis.document;
var process = globalThis.process;
var newPromiseCapability = newPromiseCapabilityModule.f;
var newGenericPromiseCapability = newPromiseCapability;
var DISPATCH_EVENT = !!(document && document.createEvent && globalThis.dispatchEvent);
var UNHANDLED_REJECTION = 'unhandledrejection';
var REJECTION_HANDLED = 'rejectionhandled';
var PENDING = 0;
var FULFILLED = 1;
var REJECTED = 2;
var HANDLED = 1;
var UNHANDLED = 2;
var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
// helpers
var isThenable = function (it) {
var then;
return isObject(it) && isCallable(then = it.then) ? then : false;
};
var callReaction = function (reaction, state) {
var value = state.value;
var ok = state.state === FULFILLED;
var handler = ok ? reaction.ok : reaction.fail;
var resolve = reaction.resolve;
var reject = reaction.reject;
var domain = reaction.domain;
var result, then, exited;
try {
if (handler) {
if (!ok) {
if (state.rejection === UNHANDLED) onHandleUnhandled(state);
state.rejection = HANDLED;
}
if (handler === true) result = value;
else {
if (domain) domain.enter();
result = handler(value); // can throw
if (domain) {
domain.exit();
exited = true;
}
}
if (result === reaction.promise) {
reject(new TypeError('Promise-chain cycle'));
} else if (then = isThenable(result)) {
call(then, result, resolve, reject);
} else resolve(result);
} else reject(value);
} catch (error) {
if (domain && !exited) domain.exit();
reject(error);
}
};
var notify = function (state, isReject) {
if (state.notified) return;
state.notified = true;
microtask(function () {
var reactions = state.reactions;
var reaction;
while (reaction = reactions.get()) {
callReaction(reaction, state);
}
state.notified = false;
if (isReject && !state.rejection) onUnhandled(state);
});
};
var dispatchEvent = function (name, promise, reason) {
var event, handler;
if (DISPATCH_EVENT) {
event = document.createEvent('Event');
event.promise = promise;
event.reason = reason;
event.initEvent(name, false, true);
globalThis.dispatchEvent(event);
} else event = { promise: promise, reason: reason };
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = globalThis['on' + name])) handler(event);
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
};
var onUnhandled = function (state) {
call(task, globalThis, function () {
var promise = state.facade;
var value = state.value;
var IS_UNHANDLED = isUnhandled(state);
var result;
if (IS_UNHANDLED) {
result = perform(function () {
if (IS_NODE) {
process.emit('unhandledRejection', value, promise);
} else dispatchEvent(UNHANDLED_REJECTION, promise, value);
});
// Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
if (result.error) throw result.value;
}
});
};
var isUnhandled = function (state) {
return state.rejection !== HANDLED && !state.parent;
};
var onHandleUnhandled = function (state) {
call(task, globalThis, function () {
var promise = state.facade;
if (IS_NODE) {
process.emit('rejectionHandled', promise);
} else dispatchEvent(REJECTION_HANDLED, promise, state.value);
});
};
var bind = function (fn, state, unwrap) {
return function (value) {
fn(state, value, unwrap);
};
};
var internalReject = function (state, value, unwrap) {
if (state.done) return;
state.done = true;
if (unwrap) state = unwrap;
state.value = value;
state.state = REJECTED;
notify(state, true);
};
var internalResolve = function (state, value, unwrap) {
if (state.done) return;
state.done = true;
if (unwrap) state = unwrap;
try {
if (state.facade === value) throw new TypeError("Promise can't be resolved itself");
var then = isThenable(value);
if (then) {
microtask(function () {
var wrapper = { done: false };
try {
call(then, value,
bind(internalResolve, wrapper, state),
bind(internalReject, wrapper, state)
);
} catch (error) {
internalReject(wrapper, error, state);
}
});
} else {
state.value = value;
state.state = FULFILLED;
notify(state, false);
}
} catch (error) {
internalReject({ done: false }, error, state);
}
};
// constructor polyfill
if (FORCED_PROMISE_CONSTRUCTOR) {
// 25.4.3.1 Promise(executor)
PromiseConstructor = function Promise(executor) {
anInstance(this, PromisePrototype);
aCallable(executor);
call(Internal, this);
var state = getInternalPromiseState(this);
try {
executor(bind(internalResolve, state), bind(internalReject, state));
} catch (error) {
internalReject(state, error);
}
};
PromisePrototype = PromiseConstructor.prototype;
// eslint-disable-next-line no-unused-vars -- required for `.length`
Internal = function Promise(executor) {
setInternalState(this, {
type: PROMISE,
done: false,
notified: false,
parent: false,
reactions: new Queue(),
rejection: false,
state: PENDING,
value: null
});
};
// `Promise.prototype.then` method
// https://tc39.es/ecma262/#sec-promise.prototype.then
Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
var state = getInternalPromiseState(this);
var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
state.parent = true;
reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
reaction.fail = isCallable(onRejected) && onRejected;
reaction.domain = IS_NODE ? process.domain : undefined;
if (state.state === PENDING) state.reactions.add(reaction);
else microtask(function () {
callReaction(reaction, state);
});
return reaction.promise;
});
OwnPromiseCapability = function () {
var promise = new Internal();
var state = getInternalPromiseState(promise);
this.promise = promise;
this.resolve = bind(internalResolve, state);
this.reject = bind(internalReject, state);
};
newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
return C === PromiseConstructor || C === PromiseWrapper
? new OwnPromiseCapability(C)
: newGenericPromiseCapability(C);
};
if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {
nativeThen = NativePromisePrototype.then;
if (!NATIVE_PROMISE_SUBCLASSING) {
// make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
var that = this;
return new PromiseConstructor(function (resolve, reject) {
call(nativeThen, that, resolve, reject);
}).then(onFulfilled, onRejected);
// https://github.com/zloirock/core-js/issues/640
}, { unsafe: true });
}
// make `.constructor === Promise` work for native promise-based APIs
try {
delete NativePromisePrototype.constructor;
} catch (error) { /* empty */ }
// make `instanceof Promise` work for native promise-based APIs
if (setPrototypeOf) {
setPrototypeOf(NativePromisePrototype, PromisePrototype);
}
}
}
// `Promise` constructor
// https://tc39.es/ecma262/#sec-promise-executor
$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
Promise: PromiseConstructor
});
setToStringTag(PromiseConstructor, PROMISE, false, true);
setSpecies(PROMISE);
/***/ }),
/***/ 13966:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove this module from `core-js@4` since it's split to modules listed below
__webpack_require__(36216);
__webpack_require__(8823);
__webpack_require__(74367);
__webpack_require__(31891);
__webpack_require__(37949);
__webpack_require__(49764);
/***/ }),
/***/ 31891:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var call = __webpack_require__(62729);
var aCallable = __webpack_require__(58574);
var newPromiseCapabilityModule = __webpack_require__(27575);
var perform = __webpack_require__(22195);
var iterate = __webpack_require__(51152);
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(35397);
// `Promise.race` method
// https://tc39.es/ecma262/#sec-promise.race
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
race: function race(iterable) {
var C = this;
var capability = newPromiseCapabilityModule.f(C);
var reject = capability.reject;
var result = perform(function () {
var $promiseResolve = aCallable(C.resolve);
iterate(iterable, function (promise) {
call($promiseResolve, C, promise).then(capability.resolve, reject);
});
});
if (result.error) reject(result.value);
return capability.promise;
}
});
/***/ }),
/***/ 37949:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var newPromiseCapabilityModule = __webpack_require__(27575);
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(44104).CONSTRUCTOR);
// `Promise.reject` method
// https://tc39.es/ecma262/#sec-promise.reject
$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
reject: function reject(r) {
var capability = newPromiseCapabilityModule.f(this);
var capabilityReject = capability.reject;
capabilityReject(r);
return capability.promise;
}
});
/***/ }),
/***/ 49764:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var getBuiltIn = __webpack_require__(22235);
var IS_PURE = __webpack_require__(40279);
var NativePromiseConstructor = __webpack_require__(20842);
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(44104).CONSTRUCTOR);
var promiseResolve = __webpack_require__(85050);
var PromiseConstructorWrapper = getBuiltIn('Promise');
var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;
// `Promise.resolve` method
// https://tc39.es/ecma262/#sec-promise.resolve
$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {
resolve: function resolve(x) {
return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);
}
});
/***/ }),
/***/ 93904:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var functionApply = __webpack_require__(35013);
var aCallable = __webpack_require__(58574);
var anObject = __webpack_require__(80979);
var fails = __webpack_require__(46915);
// MS Edge argumentsList argument is optional
var OPTIONAL_ARGUMENTS_LIST = !fails(function () {
// eslint-disable-next-line es/no-reflect -- required for testing
Reflect.apply(function () { /* empty */ });
});
// `Reflect.apply` method
// https://tc39.es/ecma262/#sec-reflect.apply
$({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, {
apply: function apply(target, thisArgument, argumentsList) {
return functionApply(aCallable(target), thisArgument, anObject(argumentsList));
}
});
/***/ }),
/***/ 70613:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var getBuiltIn = __webpack_require__(22235);
var apply = __webpack_require__(35013);
var bind = __webpack_require__(21922);
var aConstructor = __webpack_require__(35816);
var anObject = __webpack_require__(80979);
var isObject = __webpack_require__(82054);
var create = __webpack_require__(5684);
var fails = __webpack_require__(46915);
var nativeConstruct = getBuiltIn('Reflect', 'construct');
var ObjectPrototype = Object.prototype;
var push = [].push;
// `Reflect.construct` method
// https://tc39.es/ecma262/#sec-reflect.construct
// MS Edge supports only 2 arguments and argumentsList argument is optional
// FF Nightly sets third argument as `new.target`, but does not create `this` from it
var NEW_TARGET_BUG = fails(function () {
function F() { /* empty */ }
return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);
});
var ARGS_BUG = !fails(function () {
nativeConstruct(function () { /* empty */ });
});
var FORCED = NEW_TARGET_BUG || ARGS_BUG;
$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {
construct: function construct(Target, args /* , newTarget */) {
aConstructor(Target);
anObject(args);
var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);
if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);
if (Target === newTarget) {
// w/o altered newTarget, optimization for 0-4 arguments
switch (args.length) {
case 0: return new Target();
case 1: return new Target(args[0]);
case 2: return new Target(args[0], args[1]);
case 3: return new Target(args[0], args[1], args[2]);
case 4: return new Target(args[0], args[1], args[2], args[3]);
}
// w/o altered newTarget, lot of arguments case
var $args = [null];
apply(push, $args, args);
return new (apply(bind, Target, $args))();
}
// with altered newTarget, not support built-in constructors
var proto = newTarget.prototype;
var instance = create(isObject(proto) ? proto : ObjectPrototype);
var result = apply(Target, instance, args);
return isObject(result) ? result : instance;
}
});
/***/ }),
/***/ 34383:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var DESCRIPTORS = __webpack_require__(73968);
var anObject = __webpack_require__(80979);
var toPropertyKey = __webpack_require__(81037);
var definePropertyModule = __webpack_require__(84869);
var fails = __webpack_require__(46915);
// MS Edge has broken Reflect.defineProperty - throwing instead of returning false
var ERROR_INSTEAD_OF_FALSE = fails(function () {
// eslint-disable-next-line es/no-reflect -- required for testing
Reflect.defineProperty(definePropertyModule.f({}, 1, { value: 1 }), 1, { value: 2 });
});
// `Reflect.defineProperty` method
// https://tc39.es/ecma262/#sec-reflect.defineproperty
$({ target: 'Reflect', stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRIPTORS }, {
defineProperty: function defineProperty(target, propertyKey, attributes) {
anObject(target);
var key = toPropertyKey(propertyKey);
anObject(attributes);
try {
definePropertyModule.f(target, key, attributes);
return true;
} catch (error) {
return false;
}
}
});
/***/ }),
/***/ 8623:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var anObject = __webpack_require__(80979);
var getOwnPropertyDescriptor = (__webpack_require__(35999).f);
// `Reflect.deleteProperty` method
// https://tc39.es/ecma262/#sec-reflect.deleteproperty
$({ target: 'Reflect', stat: true }, {
deleteProperty: function deleteProperty(target, propertyKey) {
var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey);
return descriptor && !descriptor.configurable ? false : delete target[propertyKey];
}
});
/***/ }),
/***/ 49101:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var DESCRIPTORS = __webpack_require__(73968);
var anObject = __webpack_require__(80979);
var getOwnPropertyDescriptorModule = __webpack_require__(35999);
// `Reflect.getOwnPropertyDescriptor` method
// https://tc39.es/ecma262/#sec-reflect.getownpropertydescriptor
$({ target: 'Reflect', stat: true, sham: !DESCRIPTORS }, {
getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {
return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);
}
});
/***/ }),
/***/ 47681:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var anObject = __webpack_require__(80979);
var objectGetPrototypeOf = __webpack_require__(65591);
var CORRECT_PROTOTYPE_GETTER = __webpack_require__(28647);
// `Reflect.getPrototypeOf` method
// https://tc39.es/ecma262/#sec-reflect.getprototypeof
$({ target: 'Reflect', stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, {
getPrototypeOf: function getPrototypeOf(target) {
return objectGetPrototypeOf(anObject(target));
}
});
/***/ }),
/***/ 12116:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var call = __webpack_require__(62729);
var isObject = __webpack_require__(82054);
var anObject = __webpack_require__(80979);
var isDataDescriptor = __webpack_require__(51787);
var getOwnPropertyDescriptorModule = __webpack_require__(35999);
var getPrototypeOf = __webpack_require__(65591);
// `Reflect.get` method
// https://tc39.es/ecma262/#sec-reflect.get
function get(target, propertyKey /* , receiver */) {
var receiver = arguments.length < 3 ? target : arguments[2];
var descriptor, prototype;
if (anObject(target) === receiver) return target[propertyKey];
descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey);
if (descriptor) return isDataDescriptor(descriptor)
? descriptor.value
: descriptor.get === undefined ? undefined : call(descriptor.get, receiver);
if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver);
}
$({ target: 'Reflect', stat: true }, {
get: get
});
/***/ }),
/***/ 8800:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
// `Reflect.has` method
// https://tc39.es/ecma262/#sec-reflect.has
$({ target: 'Reflect', stat: true }, {
has: function has(target, propertyKey) {
return propertyKey in target;
}
});
/***/ }),
/***/ 84790:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var anObject = __webpack_require__(80979);
var $isExtensible = __webpack_require__(80000);
// `Reflect.isExtensible` method
// https://tc39.es/ecma262/#sec-reflect.isextensible
$({ target: 'Reflect', stat: true }, {
isExtensible: function isExtensible(target) {
anObject(target);
return $isExtensible(target);
}
});
/***/ }),
/***/ 88501:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var ownKeys = __webpack_require__(9275);
// `Reflect.ownKeys` method
// https://tc39.es/ecma262/#sec-reflect.ownkeys
$({ target: 'Reflect', stat: true }, {
ownKeys: ownKeys
});
/***/ }),
/***/ 83477:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var getBuiltIn = __webpack_require__(22235);
var anObject = __webpack_require__(80979);
var FREEZING = __webpack_require__(80444);
// `Reflect.preventExtensions` method
// https://tc39.es/ecma262/#sec-reflect.preventextensions
$({ target: 'Reflect', stat: true, sham: !FREEZING }, {
preventExtensions: function preventExtensions(target) {
anObject(target);
try {
var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions');
if (objectPreventExtensions) objectPreventExtensions(target);
return true;
} catch (error) {
return false;
}
}
});
/***/ }),
/***/ 69165:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var anObject = __webpack_require__(80979);
var aPossiblePrototype = __webpack_require__(37742);
var objectSetPrototypeOf = __webpack_require__(96723);
// `Reflect.setPrototypeOf` method
// https://tc39.es/ecma262/#sec-reflect.setprototypeof
if (objectSetPrototypeOf) $({ target: 'Reflect', stat: true }, {
setPrototypeOf: function setPrototypeOf(target, proto) {
anObject(target);
aPossiblePrototype(proto);
try {
objectSetPrototypeOf(target, proto);
return true;
} catch (error) {
return false;
}
}
});
/***/ }),
/***/ 74768:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var call = __webpack_require__(62729);
var anObject = __webpack_require__(80979);
var isObject = __webpack_require__(82054);
var isDataDescriptor = __webpack_require__(51787);
var fails = __webpack_require__(46915);
var definePropertyModule = __webpack_require__(84869);
var getOwnPropertyDescriptorModule = __webpack_require__(35999);
var getPrototypeOf = __webpack_require__(65591);
var createPropertyDescriptor = __webpack_require__(19552);
// `Reflect.set` method
// https://tc39.es/ecma262/#sec-reflect.set
function set(target, propertyKey, V /* , receiver */) {
var receiver = arguments.length < 4 ? target : arguments[3];
var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);
var existingDescriptor, prototype, setter;
if (!ownDescriptor) {
if (isObject(prototype = getPrototypeOf(target))) {
return set(prototype, propertyKey, V, receiver);
}
ownDescriptor = createPropertyDescriptor(0);
}
if (isDataDescriptor(ownDescriptor)) {
if (ownDescriptor.writable === false || !isObject(receiver)) return false;
if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) {
if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;
existingDescriptor.value = V;
definePropertyModule.f(receiver, propertyKey, existingDescriptor);
} else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V));
} else {
setter = ownDescriptor.set;
if (setter === undefined) return false;
call(setter, receiver, V);
} return true;
}
// MS Edge 17-18 Reflect.set allows setting the property to object
// with non-writable property on the prototype
var MS_EDGE_BUG = fails(function () {
var Constructor = function () { /* empty */ };
var object = definePropertyModule.f(new Constructor(), 'a', { configurable: true });
// eslint-disable-next-line es/no-reflect -- required for testing
return Reflect.set(Constructor.prototype, 'a', 1, object) !== false;
});
$({ target: 'Reflect', stat: true, forced: MS_EDGE_BUG }, {
set: set
});
/***/ }),
/***/ 94236:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var globalThis = __webpack_require__(40452);
var setToStringTag = __webpack_require__(51699);
$({ global: true }, { Reflect: {} });
// Reflect[@@toStringTag] property
// https://tc39.es/ecma262/#sec-reflect-@@tostringtag
setToStringTag(globalThis.Reflect, 'Reflect', true);
/***/ }),
/***/ 37260:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(73968);
var globalThis = __webpack_require__(40452);
var uncurryThis = __webpack_require__(7812);
var isForced = __webpack_require__(96824);
var inheritIfRequired = __webpack_require__(50947);
var createNonEnumerableProperty = __webpack_require__(46975);
var create = __webpack_require__(5684);
var getOwnPropertyNames = (__webpack_require__(22828).f);
var isPrototypeOf = __webpack_require__(16733);
var isRegExp = __webpack_require__(31272);
var toString = __webpack_require__(34211);
var getRegExpFlags = __webpack_require__(16014);
var stickyHelpers = __webpack_require__(30425);
var proxyAccessor = __webpack_require__(7516);
var defineBuiltIn = __webpack_require__(20420);
var fails = __webpack_require__(46915);
var hasOwn = __webpack_require__(34525);
var enforceInternalState = (__webpack_require__(40161).enforce);
var setSpecies = __webpack_require__(87101);
var wellKnownSymbol = __webpack_require__(20303);
var UNSUPPORTED_DOT_ALL = __webpack_require__(12703);
var UNSUPPORTED_NCG = __webpack_require__(61722);
var MATCH = wellKnownSymbol('match');
var NativeRegExp = globalThis.RegExp;
var RegExpPrototype = NativeRegExp.prototype;
var SyntaxError = globalThis.SyntaxError;
var exec = uncurryThis(RegExpPrototype.exec);
var charAt = uncurryThis(''.charAt);
var replace = uncurryThis(''.replace);
var stringIndexOf = uncurryThis(''.indexOf);
var stringSlice = uncurryThis(''.slice);
// TODO: Use only proper RegExpIdentifierName
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
var re1 = /a/g;
var re2 = /a/g;
// "new" should create a new object, old webkit bug
var CORRECT_NEW = new NativeRegExp(re1) !== re1;
var MISSED_STICKY = stickyHelpers.MISSED_STICKY;
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
var BASE_FORCED = DESCRIPTORS &&
(!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {
re2[MATCH] = false;
// RegExp constructor can alter flags and IsRegExp works correct with @@match
// eslint-disable-next-line sonarjs/inconsistent-function-call -- required for testing
return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i';
}));
var handleDotAll = function (string) {
var length = string.length;
var index = 0;
var result = '';
var brackets = false;
var chr;
for (; index <= length; index++) {
chr = charAt(string, index);
if (chr === '\\') {
result += chr + charAt(string, ++index);
continue;
}
if (!brackets && chr === '.') {
result += '[\\s\\S]';
} else {
if (chr === '[') {
brackets = true;
} else if (chr === ']') {
brackets = false;
} result += chr;
}
} return result;
};
var handleNCG = function (string) {
var length = string.length;
var index = 0;
var result = '';
var named = [];
var names = create(null);
var brackets = false;
var ncg = false;
var groupid = 0;
var groupname = '';
var chr;
for (; index <= length; index++) {
chr = charAt(string, index);
if (chr === '\\') {
chr += charAt(string, ++index);
} else if (chr === ']') {
brackets = false;
} else if (!brackets) switch (true) {
case chr === '[':
brackets = true;
break;
case chr === '(':
result += chr;
// ignore non-capturing groups
if (stringSlice(string, index + 1, index + 3) === '?:') {
continue;
}
if (exec(IS_NCG, stringSlice(string, index + 1))) {
index += 2;
ncg = true;
}
groupid++;
continue;
case chr === '>' && ncg:
if (groupname === '' || hasOwn(names, groupname)) {
throw new SyntaxError('Invalid capture group name');
}
names[groupname] = true;
named[named.length] = [groupname, groupid];
ncg = false;
groupname = '';
continue;
}
if (ncg) groupname += chr;
else result += chr;
} return [result, named];
};
// `RegExp` constructor
// https://tc39.es/ecma262/#sec-regexp-constructor
if (isForced('RegExp', BASE_FORCED)) {
var RegExpWrapper = function RegExp(pattern, flags) {
var thisIsRegExp = isPrototypeOf(RegExpPrototype, this);
var patternIsRegExp = isRegExp(pattern);
var flagsAreUndefined = flags === undefined;
var groups = [];
var rawPattern = pattern;
var rawFlags, dotAll, sticky, handled, result, state;
if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {
return pattern;
}
if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) {
pattern = pattern.source;
if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);
}
pattern = pattern === undefined ? '' : toString(pattern);
flags = flags === undefined ? '' : toString(flags);
rawPattern = pattern;
if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {
dotAll = !!flags && stringIndexOf(flags, 's') > -1;
if (dotAll) flags = replace(flags, /s/g, '');
}
rawFlags = flags;
if (MISSED_STICKY && 'sticky' in re1) {
sticky = !!flags && stringIndexOf(flags, 'y') > -1;
if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, '');
}
if (UNSUPPORTED_NCG) {
handled = handleNCG(pattern);
pattern = handled[0];
groups = handled[1];
}
result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);
if (dotAll || sticky || groups.length) {
state = enforceInternalState(result);
if (dotAll) {
state.dotAll = true;
state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags);
}
if (sticky) state.sticky = true;
if (groups.length) state.groups = groups;
}
if (pattern !== rawPattern) try {
// fails in old engines, but we have no alternatives for unsupported regex syntax
createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);
} catch (error) { /* empty */ }
return result;
};
for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {
proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]);
}
RegExpPrototype.constructor = RegExpWrapper;
RegExpWrapper.prototype = RegExpPrototype;
defineBuiltIn(globalThis, 'RegExp', RegExpWrapper, { constructor: true });
}
// https://tc39.es/ecma262/#sec-get-regexp-@@species
setSpecies('RegExp');
/***/ }),
/***/ 14133:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(73968);
var UNSUPPORTED_DOT_ALL = __webpack_require__(12703);
var classof = __webpack_require__(81788);
var defineBuiltInAccessor = __webpack_require__(98998);
var getInternalState = (__webpack_require__(40161).get);
var RegExpPrototype = RegExp.prototype;
var $TypeError = TypeError;
// `RegExp.prototype.dotAll` getter
// https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall
if (DESCRIPTORS && UNSUPPORTED_DOT_ALL) {
defineBuiltInAccessor(RegExpPrototype, 'dotAll', {
configurable: true,
get: function dotAll() {
if (this === RegExpPrototype) return;
// We can't use InternalStateModule.getterFor because
// we don't add metadata for regexps created by a literal.
if (classof(this) === 'RegExp') {
return !!getInternalState(this).dotAll;
}
throw new $TypeError('Incompatible receiver, RegExp required');
}
});
}
/***/ }),
/***/ 59803:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var exec = __webpack_require__(98767);
// `RegExp.prototype.exec` method
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
exec: exec
});
/***/ }),
/***/ 65563:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
var DESCRIPTORS = __webpack_require__(73968);
var defineBuiltInAccessor = __webpack_require__(98998);
var regExpFlags = __webpack_require__(895);
var fails = __webpack_require__(46915);
// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError
var RegExp = globalThis.RegExp;
var RegExpPrototype = RegExp.prototype;
var FORCED = DESCRIPTORS && fails(function () {
var INDICES_SUPPORT = true;
try {
RegExp('.', 'd');
} catch (error) {
INDICES_SUPPORT = false;
}
var O = {};
// modern V8 bug
var calls = '';
var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy';
var addGetter = function (key, chr) {
// eslint-disable-next-line es/no-object-defineproperty -- safe
Object.defineProperty(O, key, { get: function () {
calls += chr;
return true;
} });
};
var pairs = {
dotAll: 's',
global: 'g',
ignoreCase: 'i',
multiline: 'm',
sticky: 'y'
};
if (INDICES_SUPPORT) pairs.hasIndices = 'd';
for (var key in pairs) addGetter(key, pairs[key]);
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var result = Object.getOwnPropertyDescriptor(RegExpPrototype, 'flags').get.call(O);
return result !== expected || calls !== expected;
});
// `RegExp.prototype.flags` getter
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
if (FORCED) defineBuiltInAccessor(RegExpPrototype, 'flags', {
configurable: true,
get: regExpFlags
});
/***/ }),
/***/ 27197:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(73968);
var MISSED_STICKY = (__webpack_require__(30425).MISSED_STICKY);
var classof = __webpack_require__(81788);
var defineBuiltInAccessor = __webpack_require__(98998);
var getInternalState = (__webpack_require__(40161).get);
var RegExpPrototype = RegExp.prototype;
var $TypeError = TypeError;
// `RegExp.prototype.sticky` getter
// https://tc39.es/ecma262/#sec-get-regexp.prototype.sticky
if (DESCRIPTORS && MISSED_STICKY) {
defineBuiltInAccessor(RegExpPrototype, 'sticky', {
configurable: true,
get: function sticky() {
if (this === RegExpPrototype) return;
// We can't use InternalStateModule.getterFor because
// we don't add metadata for regexps created by a literal.
if (classof(this) === 'RegExp') {
return !!getInternalState(this).sticky;
}
throw new $TypeError('Incompatible receiver, RegExp required');
}
});
}
/***/ }),
/***/ 99782:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4` since it's moved to entry points
__webpack_require__(59803);
var $ = __webpack_require__(16922);
var call = __webpack_require__(62729);
var isCallable = __webpack_require__(24241);
var anObject = __webpack_require__(80979);
var toString = __webpack_require__(34211);
var DELEGATES_TO_EXEC = function () {
var execCalled = false;
var re = /[ac]/;
re.exec = function () {
execCalled = true;
return /./.exec.apply(this, arguments);
};
return re.test('abc') === true && execCalled;
}();
var nativeTest = /./.test;
// `RegExp.prototype.test` method
// https://tc39.es/ecma262/#sec-regexp.prototype.test
$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
test: function (S) {
var R = anObject(this);
var string = toString(S);
var exec = R.exec;
if (!isCallable(exec)) return call(nativeTest, R, string);
var result = call(exec, R, string);
if (result === null) return false;
anObject(result);
return true;
}
});
/***/ }),
/***/ 9801:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var PROPER_FUNCTION_NAME = (__webpack_require__(83298).PROPER);
var defineBuiltIn = __webpack_require__(20420);
var anObject = __webpack_require__(80979);
var $toString = __webpack_require__(34211);
var fails = __webpack_require__(46915);
var getRegExpFlags = __webpack_require__(16014);
var TO_STRING = 'toString';
var RegExpPrototype = RegExp.prototype;
var nativeToString = RegExpPrototype[TO_STRING];
var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
// FF44- RegExp#toString has a wrong name
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
// `RegExp.prototype.toString` method
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
if (NOT_GENERIC || INCORRECT_NAME) {
defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {
var R = anObject(this);
var pattern = $toString(R.source);
var flags = $toString(getRegExpFlags(R));
return '/' + pattern + '/' + flags;
}, { unsafe: true });
}
/***/ }),
/***/ 69159:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var createHTML = __webpack_require__(92996);
var forcedStringHTMLMethod = __webpack_require__(12657);
// `String.prototype.anchor` method
// https://tc39.es/ecma262/#sec-string.prototype.anchor
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, {
anchor: function anchor(name) {
return createHTML(this, 'a', 'name', name);
}
});
/***/ }),
/***/ 74281:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(7812);
var requireObjectCoercible = __webpack_require__(82066);
var toIntegerOrInfinity = __webpack_require__(87407);
var toString = __webpack_require__(34211);
var fails = __webpack_require__(46915);
var charAt = uncurryThis(''.charAt);
var FORCED = fails(function () {
// eslint-disable-next-line es/no-string-prototype-at -- safe
return '𠮷'.at(-2) !== '\uD842';
});
// `String.prototype.at` method
// https://tc39.es/ecma262/#sec-string.prototype.at
$({ target: 'String', proto: true, forced: FORCED }, {
at: function at(index) {
var S = toString(requireObjectCoercible(this));
var len = S.length;
var relativeIndex = toIntegerOrInfinity(index);
var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
return (k < 0 || k >= len) ? undefined : charAt(S, k);
}
});
/***/ }),
/***/ 10814:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var createHTML = __webpack_require__(92996);
var forcedStringHTMLMethod = __webpack_require__(12657);
// `String.prototype.big` method
// https://tc39.es/ecma262/#sec-string.prototype.big
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('big') }, {
big: function big() {
return createHTML(this, 'big', '', '');
}
});
/***/ }),
/***/ 35246:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var createHTML = __webpack_require__(92996);
var forcedStringHTMLMethod = __webpack_require__(12657);
// `String.prototype.blink` method
// https://tc39.es/ecma262/#sec-string.prototype.blink
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('blink') }, {
blink: function blink() {
return createHTML(this, 'blink', '', '');
}
});
/***/ }),
/***/ 37869:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var createHTML = __webpack_require__(92996);
var forcedStringHTMLMethod = __webpack_require__(12657);
// `String.prototype.bold` method
// https://tc39.es/ecma262/#sec-string.prototype.bold
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('bold') }, {
bold: function bold() {
return createHTML(this, 'b', '', '');
}
});
/***/ }),
/***/ 25896:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var codeAt = (__webpack_require__(38131).codeAt);
// `String.prototype.codePointAt` method
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
$({ target: 'String', proto: true }, {
codePointAt: function codePointAt(pos) {
return codeAt(this, pos);
}
});
/***/ }),
/***/ 11621:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(20304);
var getOwnPropertyDescriptor = (__webpack_require__(35999).f);
var toLength = __webpack_require__(86450);
var toString = __webpack_require__(34211);
var notARegExp = __webpack_require__(22923);
var requireObjectCoercible = __webpack_require__(82066);
var correctIsRegExpLogic = __webpack_require__(13328);
var IS_PURE = __webpack_require__(40279);
var slice = uncurryThis(''.slice);
var min = Math.min;
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');
// https://github.com/zloirock/core-js/pull/702
var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');
return descriptor && !descriptor.writable;
}();
// `String.prototype.endsWith` method
// https://tc39.es/ecma262/#sec-string.prototype.endswith
$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
endsWith: function endsWith(searchString /* , endPosition = @length */) {
var that = toString(requireObjectCoercible(this));
notARegExp(searchString);
var endPosition = arguments.length > 1 ? arguments[1] : undefined;
var len = that.length;
var end = endPosition === undefined ? len : min(toLength(endPosition), len);
var search = toString(searchString);
return slice(that, end - search.length, end) === search;
}
});
/***/ }),
/***/ 22462:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var createHTML = __webpack_require__(92996);
var forcedStringHTMLMethod = __webpack_require__(12657);
// `String.prototype.fixed` method
// https://tc39.es/ecma262/#sec-string.prototype.fixed
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, {
fixed: function fixed() {
return createHTML(this, 'tt', '', '');
}
});
/***/ }),
/***/ 60464:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var createHTML = __webpack_require__(92996);
var forcedStringHTMLMethod = __webpack_require__(12657);
// `String.prototype.fontcolor` method
// https://tc39.es/ecma262/#sec-string.prototype.fontcolor
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontcolor') }, {
fontcolor: function fontcolor(color) {
return createHTML(this, 'font', 'color', color);
}
});
/***/ }),
/***/ 64806:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var createHTML = __webpack_require__(92996);
var forcedStringHTMLMethod = __webpack_require__(12657);
// `String.prototype.fontsize` method
// https://tc39.es/ecma262/#sec-string.prototype.fontsize
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontsize') }, {
fontsize: function fontsize(size) {
return createHTML(this, 'font', 'size', size);
}
});
/***/ }),
/***/ 41037:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(7812);
var toAbsoluteIndex = __webpack_require__(36718);
var $RangeError = RangeError;
var fromCharCode = String.fromCharCode;
// eslint-disable-next-line es/no-string-fromcodepoint -- required for testing
var $fromCodePoint = String.fromCodePoint;
var join = uncurryThis([].join);
// length should be 1, old FF problem
var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length !== 1;
// `String.fromCodePoint` method
// https://tc39.es/ecma262/#sec-string.fromcodepoint
$({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, {
// eslint-disable-next-line no-unused-vars -- required for `.length`
fromCodePoint: function fromCodePoint(x) {
var elements = [];
var length = arguments.length;
var i = 0;
var code;
while (length > i) {
code = +arguments[i++];
if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw new $RangeError(code + ' is not a valid code point');
elements[i] = code < 0x10000
? fromCharCode(code)
: fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00);
} return join(elements, '');
}
});
/***/ }),
/***/ 97167:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(7812);
var notARegExp = __webpack_require__(22923);
var requireObjectCoercible = __webpack_require__(82066);
var toString = __webpack_require__(34211);
var correctIsRegExpLogic = __webpack_require__(13328);
var stringIndexOf = uncurryThis(''.indexOf);
// `String.prototype.includes` method
// https://tc39.es/ecma262/#sec-string.prototype.includes
$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
includes: function includes(searchString /* , position = 0 */) {
return !!~stringIndexOf(
toString(requireObjectCoercible(this)),
toString(notARegExp(searchString)),
arguments.length > 1 ? arguments[1] : undefined
);
}
});
/***/ }),
/***/ 71367:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(7812);
var requireObjectCoercible = __webpack_require__(82066);
var toString = __webpack_require__(34211);
var charCodeAt = uncurryThis(''.charCodeAt);
// `String.prototype.isWellFormed` method
// https://tc39.es/ecma262/#sec-string.prototype.iswellformed
$({ target: 'String', proto: true }, {
isWellFormed: function isWellFormed() {
var S = toString(requireObjectCoercible(this));
var length = S.length;
for (var i = 0; i < length; i++) {
var charCode = charCodeAt(S, i);
// single UTF-16 code unit
if ((charCode & 0xF800) !== 0xD800) continue;
// unpaired surrogate
if (charCode >= 0xDC00 || ++i >= length || (charCodeAt(S, i) & 0xFC00) !== 0xDC00) return false;
} return true;
}
});
/***/ }),
/***/ 14729:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var createHTML = __webpack_require__(92996);
var forcedStringHTMLMethod = __webpack_require__(12657);
// `String.prototype.italics` method
// https://tc39.es/ecma262/#sec-string.prototype.italics
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('italics') }, {
italics: function italics() {
return createHTML(this, 'i', '', '');
}
});
/***/ }),
/***/ 824:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var charAt = (__webpack_require__(38131).charAt);
var toString = __webpack_require__(34211);
var InternalStateModule = __webpack_require__(40161);
var defineIterator = __webpack_require__(54612);
var createIterResultObject = __webpack_require__(51677);
var STRING_ITERATOR = 'String Iterator';
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
// `String.prototype[@@iterator]` method
// https://tc39.es/ecma262/#sec-string.prototype-@@iterator
defineIterator(String, 'String', function (iterated) {
setInternalState(this, {
type: STRING_ITERATOR,
string: toString(iterated),
index: 0
});
// `%StringIteratorPrototype%.next` method
// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
}, function next() {
var state = getInternalState(this);
var string = state.string;
var index = state.index;
var point;
if (index >= string.length) return createIterResultObject(undefined, true);
point = charAt(string, index);
state.index += point.length;
return createIterResultObject(point, false);
});
/***/ }),
/***/ 46510:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var createHTML = __webpack_require__(92996);
var forcedStringHTMLMethod = __webpack_require__(12657);
// `String.prototype.link` method
// https://tc39.es/ecma262/#sec-string.prototype.link
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {
link: function link(url) {
return createHTML(this, 'a', 'href', url);
}
});
/***/ }),
/***/ 29427:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
/* eslint-disable es/no-string-prototype-matchall -- safe */
var $ = __webpack_require__(16922);
var call = __webpack_require__(62729);
var uncurryThis = __webpack_require__(20304);
var createIteratorConstructor = __webpack_require__(77046);
var createIterResultObject = __webpack_require__(51677);
var requireObjectCoercible = __webpack_require__(82066);
var toLength = __webpack_require__(86450);
var toString = __webpack_require__(34211);
var anObject = __webpack_require__(80979);
var isNullOrUndefined = __webpack_require__(90369);
var classof = __webpack_require__(81788);
var isRegExp = __webpack_require__(31272);
var getRegExpFlags = __webpack_require__(16014);
var getMethod = __webpack_require__(2818);
var defineBuiltIn = __webpack_require__(20420);
var fails = __webpack_require__(46915);
var wellKnownSymbol = __webpack_require__(20303);
var speciesConstructor = __webpack_require__(61793);
var advanceStringIndex = __webpack_require__(86193);
var regExpExec = __webpack_require__(33038);
var InternalStateModule = __webpack_require__(40161);
var IS_PURE = __webpack_require__(40279);
var MATCH_ALL = wellKnownSymbol('matchAll');
var REGEXP_STRING = 'RegExp String';
var REGEXP_STRING_ITERATOR = REGEXP_STRING + ' Iterator';
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR);
var RegExpPrototype = RegExp.prototype;
var $TypeError = TypeError;
var stringIndexOf = uncurryThis(''.indexOf);
var nativeMatchAll = uncurryThis(''.matchAll);
var WORKS_WITH_NON_GLOBAL_REGEX = !!nativeMatchAll && !fails(function () {
nativeMatchAll('a', /./);
});
var $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string, $global, fullUnicode) {
setInternalState(this, {
type: REGEXP_STRING_ITERATOR,
regexp: regexp,
string: string,
global: $global,
unicode: fullUnicode,
done: false
});
}, REGEXP_STRING, function next() {
var state = getInternalState(this);
if (state.done) return createIterResultObject(undefined, true);
var R = state.regexp;
var S = state.string;
var match = regExpExec(R, S);
if (match === null) {
state.done = true;
return createIterResultObject(undefined, true);
}
if (state.global) {
if (toString(match[0]) === '') R.lastIndex = advanceStringIndex(S, toLength(R.lastIndex), state.unicode);
return createIterResultObject(match, false);
}
state.done = true;
return createIterResultObject(match, false);
});
var $matchAll = function (string) {
var R = anObject(this);
var S = toString(string);
var C = speciesConstructor(R, RegExp);
var flags = toString(getRegExpFlags(R));
var matcher, $global, fullUnicode;
matcher = new C(C === RegExp ? R.source : R, flags);
$global = !!~stringIndexOf(flags, 'g');
fullUnicode = !!~stringIndexOf(flags, 'u');
matcher.lastIndex = toLength(R.lastIndex);
return new $RegExpStringIterator(matcher, S, $global, fullUnicode);
};
// `String.prototype.matchAll` method
// https://tc39.es/ecma262/#sec-string.prototype.matchall
$({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, {
matchAll: function matchAll(regexp) {
var O = requireObjectCoercible(this);
var flags, S, matcher, rx;
if (!isNullOrUndefined(regexp)) {
if (isRegExp(regexp)) {
flags = toString(requireObjectCoercible(getRegExpFlags(regexp)));
if (!~stringIndexOf(flags, 'g')) throw new $TypeError('`.matchAll` does not allow non-global regexes');
}
if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp);
matcher = getMethod(regexp, MATCH_ALL);
if (matcher === undefined && IS_PURE && classof(regexp) === 'RegExp') matcher = $matchAll;
if (matcher) return call(matcher, regexp, O);
} else if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp);
S = toString(O);
rx = new RegExp(regexp, 'g');
return IS_PURE ? call($matchAll, rx, S) : rx[MATCH_ALL](S);
}
});
IS_PURE || MATCH_ALL in RegExpPrototype || defineBuiltIn(RegExpPrototype, MATCH_ALL, $matchAll);
/***/ }),
/***/ 74861:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(62729);
var fixRegExpWellKnownSymbolLogic = __webpack_require__(18016);
var anObject = __webpack_require__(80979);
var isNullOrUndefined = __webpack_require__(90369);
var toLength = __webpack_require__(86450);
var toString = __webpack_require__(34211);
var requireObjectCoercible = __webpack_require__(82066);
var getMethod = __webpack_require__(2818);
var advanceStringIndex = __webpack_require__(86193);
var regExpExec = __webpack_require__(33038);
// @@match logic
fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {
return [
// `String.prototype.match` method
// https://tc39.es/ecma262/#sec-string.prototype.match
function match(regexp) {
var O = requireObjectCoercible(this);
var matcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, MATCH);
return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));
},
// `RegExp.prototype[@@match]` method
// https://tc39.es/ecma262/#sec-regexp.prototype-@@match
function (string) {
var rx = anObject(this);
var S = toString(string);
var res = maybeCallNative(nativeMatch, rx, S);
if (res.done) return res.value;
if (!rx.global) return regExpExec(rx, S);
var fullUnicode = rx.unicode;
rx.lastIndex = 0;
var A = [];
var n = 0;
var result;
while ((result = regExpExec(rx, S)) !== null) {
var matchStr = toString(result[0]);
A[n] = matchStr;
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
n++;
}
return n === 0 ? null : A;
}
];
});
/***/ }),
/***/ 1305:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $padEnd = (__webpack_require__(22233).end);
var WEBKIT_BUG = __webpack_require__(88939);
// `String.prototype.padEnd` method
// https://tc39.es/ecma262/#sec-string.prototype.padend
$({ target: 'String', proto: true, forced: WEBKIT_BUG }, {
padEnd: function padEnd(maxLength /* , fillString = ' ' */) {
return $padEnd(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ 3528:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $padStart = (__webpack_require__(22233).start);
var WEBKIT_BUG = __webpack_require__(88939);
// `String.prototype.padStart` method
// https://tc39.es/ecma262/#sec-string.prototype.padstart
$({ target: 'String', proto: true, forced: WEBKIT_BUG }, {
padStart: function padStart(maxLength /* , fillString = ' ' */) {
return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ 48214:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(7812);
var toIndexedObject = __webpack_require__(44377);
var toObject = __webpack_require__(99353);
var toString = __webpack_require__(34211);
var lengthOfArrayLike = __webpack_require__(78930);
var push = uncurryThis([].push);
var join = uncurryThis([].join);
// `String.raw` method
// https://tc39.es/ecma262/#sec-string.raw
$({ target: 'String', stat: true }, {
raw: function raw(template) {
var rawTemplate = toIndexedObject(toObject(template).raw);
var literalSegments = lengthOfArrayLike(rawTemplate);
if (!literalSegments) return '';
var argumentsLength = arguments.length;
var elements = [];
var i = 0;
while (true) {
push(elements, toString(rawTemplate[i++]));
if (i === literalSegments) return join(elements, '');
if (i < argumentsLength) push(elements, toString(arguments[i]));
}
}
});
/***/ }),
/***/ 50073:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var repeat = __webpack_require__(34649);
// `String.prototype.repeat` method
// https://tc39.es/ecma262/#sec-string.prototype.repeat
$({ target: 'String', proto: true }, {
repeat: repeat
});
/***/ }),
/***/ 54742:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var call = __webpack_require__(62729);
var uncurryThis = __webpack_require__(7812);
var requireObjectCoercible = __webpack_require__(82066);
var isCallable = __webpack_require__(24241);
var isNullOrUndefined = __webpack_require__(90369);
var isRegExp = __webpack_require__(31272);
var toString = __webpack_require__(34211);
var getMethod = __webpack_require__(2818);
var getRegExpFlags = __webpack_require__(16014);
var getSubstitution = __webpack_require__(29634);
var wellKnownSymbol = __webpack_require__(20303);
var IS_PURE = __webpack_require__(40279);
var REPLACE = wellKnownSymbol('replace');
var $TypeError = TypeError;
var indexOf = uncurryThis(''.indexOf);
var replace = uncurryThis(''.replace);
var stringSlice = uncurryThis(''.slice);
var max = Math.max;
// `String.prototype.replaceAll` method
// https://tc39.es/ecma262/#sec-string.prototype.replaceall
$({ target: 'String', proto: true }, {
replaceAll: function replaceAll(searchValue, replaceValue) {
var O = requireObjectCoercible(this);
var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, position, replacement;
var endOfLastMatch = 0;
var result = '';
if (!isNullOrUndefined(searchValue)) {
IS_REG_EXP = isRegExp(searchValue);
if (IS_REG_EXP) {
flags = toString(requireObjectCoercible(getRegExpFlags(searchValue)));
if (!~indexOf(flags, 'g')) throw new $TypeError('`.replaceAll` does not allow non-global regexes');
}
replacer = getMethod(searchValue, REPLACE);
if (replacer) return call(replacer, searchValue, O, replaceValue);
if (IS_PURE && IS_REG_EXP) return replace(toString(O), searchValue, replaceValue);
}
string = toString(O);
searchString = toString(searchValue);
functionalReplace = isCallable(replaceValue);
if (!functionalReplace) replaceValue = toString(replaceValue);
searchLength = searchString.length;
advanceBy = max(1, searchLength);
position = indexOf(string, searchString);
while (position !== -1) {
replacement = functionalReplace
? toString(replaceValue(searchString, position, string))
: getSubstitution(searchString, string, position, [], undefined, replaceValue);
result += stringSlice(string, endOfLastMatch, position) + replacement;
endOfLastMatch = position + searchLength;
position = position + advanceBy > string.length ? -1 : indexOf(string, searchString, position + advanceBy);
}
if (endOfLastMatch < string.length) {
result += stringSlice(string, endOfLastMatch);
}
return result;
}
});
/***/ }),
/***/ 35684:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var apply = __webpack_require__(35013);
var call = __webpack_require__(62729);
var uncurryThis = __webpack_require__(7812);
var fixRegExpWellKnownSymbolLogic = __webpack_require__(18016);
var fails = __webpack_require__(46915);
var anObject = __webpack_require__(80979);
var isCallable = __webpack_require__(24241);
var isNullOrUndefined = __webpack_require__(90369);
var toIntegerOrInfinity = __webpack_require__(87407);
var toLength = __webpack_require__(86450);
var toString = __webpack_require__(34211);
var requireObjectCoercible = __webpack_require__(82066);
var advanceStringIndex = __webpack_require__(86193);
var getMethod = __webpack_require__(2818);
var getSubstitution = __webpack_require__(29634);
var regExpExec = __webpack_require__(33038);
var wellKnownSymbol = __webpack_require__(20303);
var REPLACE = wellKnownSymbol('replace');
var max = Math.max;
var min = Math.min;
var concat = uncurryThis([].concat);
var push = uncurryThis([].push);
var stringIndexOf = uncurryThis(''.indexOf);
var stringSlice = uncurryThis(''.slice);
var maybeToString = function (it) {
return it === undefined ? it : String(it);
};
// IE <= 11 replaces $0 with the whole match, as if it was $&
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
var REPLACE_KEEPS_$0 = (function () {
// eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
return 'a'.replace(/./, '$0') === '$0';
})();
// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
if (/./[REPLACE]) {
return /./[REPLACE]('a', '$0') === '';
}
return false;
})();
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
var re = /./;
re.exec = function () {
var result = [];
result.groups = { a: '7' };
return result;
};
// eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
return ''.replace(re, '$<a>') !== '7';
});
// @@replace logic
fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
return [
// `String.prototype.replace` method
// https://tc39.es/ecma262/#sec-string.prototype.replace
function replace(searchValue, replaceValue) {
var O = requireObjectCoercible(this);
var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);
return replacer
? call(replacer, searchValue, O, replaceValue)
: call(nativeReplace, toString(O), searchValue, replaceValue);
},
// `RegExp.prototype[@@replace]` method
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
function (string, replaceValue) {
var rx = anObject(this);
var S = toString(string);
if (
typeof replaceValue == 'string' &&
stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
stringIndexOf(replaceValue, '$<') === -1
) {
var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
if (res.done) return res.value;
}
var functionalReplace = isCallable(replaceValue);
if (!functionalReplace) replaceValue = toString(replaceValue);
var global = rx.global;
var fullUnicode;
if (global) {
fullUnicode = rx.unicode;
rx.lastIndex = 0;
}
var results = [];
var result;
while (true) {
result = regExpExec(rx, S);
if (result === null) break;
push(results, result);
if (!global) break;
var matchStr = toString(result[0]);
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
}
var accumulatedResult = '';
var nextSourcePosition = 0;
for (var i = 0; i < results.length; i++) {
result = results[i];
var matched = toString(result[0]);
var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
var captures = [];
var replacement;
// NOTE: This is equivalent to
// captures = result.slice(1).map(maybeToString)
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
var namedCaptures = result.groups;
if (functionalReplace) {
var replacerArgs = concat([matched], captures, position, S);
if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
replacement = toString(apply(replaceValue, undefined, replacerArgs));
} else {
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
}
if (position >= nextSourcePosition) {
accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
nextSourcePosition = position + matched.length;
}
}
return accumulatedResult + stringSlice(S, nextSourcePosition);
}
];
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
/***/ }),
/***/ 40462:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(62729);
var fixRegExpWellKnownSymbolLogic = __webpack_require__(18016);
var anObject = __webpack_require__(80979);
var isNullOrUndefined = __webpack_require__(90369);
var requireObjectCoercible = __webpack_require__(82066);
var sameValue = __webpack_require__(96882);
var toString = __webpack_require__(34211);
var getMethod = __webpack_require__(2818);
var regExpExec = __webpack_require__(33038);
// @@search logic
fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
return [
// `String.prototype.search` method
// https://tc39.es/ecma262/#sec-string.prototype.search
function search(regexp) {
var O = requireObjectCoercible(this);
var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);
return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
},
// `RegExp.prototype[@@search]` method
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search
function (string) {
var rx = anObject(this);
var S = toString(string);
var res = maybeCallNative(nativeSearch, rx, S);
if (res.done) return res.value;
var previousLastIndex = rx.lastIndex;
if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
var result = regExpExec(rx, S);
if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
return result === null ? -1 : result.index;
}
];
});
/***/ }),
/***/ 799:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var createHTML = __webpack_require__(92996);
var forcedStringHTMLMethod = __webpack_require__(12657);
// `String.prototype.small` method
// https://tc39.es/ecma262/#sec-string.prototype.small
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('small') }, {
small: function small() {
return createHTML(this, 'small', '', '');
}
});
/***/ }),
/***/ 40900:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(62729);
var uncurryThis = __webpack_require__(7812);
var fixRegExpWellKnownSymbolLogic = __webpack_require__(18016);
var anObject = __webpack_require__(80979);
var isNullOrUndefined = __webpack_require__(90369);
var requireObjectCoercible = __webpack_require__(82066);
var speciesConstructor = __webpack_require__(61793);
var advanceStringIndex = __webpack_require__(86193);
var toLength = __webpack_require__(86450);
var toString = __webpack_require__(34211);
var getMethod = __webpack_require__(2818);
var regExpExec = __webpack_require__(33038);
var stickyHelpers = __webpack_require__(30425);
var fails = __webpack_require__(46915);
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
var MAX_UINT32 = 0xFFFFFFFF;
var min = Math.min;
var push = uncurryThis([].push);
var stringSlice = uncurryThis(''.slice);
// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
// Weex JS has frozen built-in prototypes, so use try / catch wrapper
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
// eslint-disable-next-line regexp/no-empty-group -- required for testing
var re = /(?:)/;
var originalExec = re.exec;
re.exec = function () { return originalExec.apply(this, arguments); };
var result = 'ab'.split(re);
return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
});
var BUGGY = 'abbc'.split(/(b)*/)[1] === 'c' ||
// eslint-disable-next-line regexp/no-empty-group -- required for testing
'test'.split(/(?:)/, -1).length !== 4 ||
'ab'.split(/(?:ab)*/).length !== 2 ||
'.'.split(/(.?)(.?)/).length !== 4 ||
// eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
'.'.split(/()()/).length > 1 ||
''.split(/.?/).length;
// @@split logic
fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {
var internalSplit = '0'.split(undefined, 0).length ? function (separator, limit) {
return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);
} : nativeSplit;
return [
// `String.prototype.split` method
// https://tc39.es/ecma262/#sec-string.prototype.split
function split(separator, limit) {
var O = requireObjectCoercible(this);
var splitter = isNullOrUndefined(separator) ? undefined : getMethod(separator, SPLIT);
return splitter
? call(splitter, separator, O, limit)
: call(internalSplit, toString(O), separator, limit);
},
// `RegExp.prototype[@@split]` method
// https://tc39.es/ecma262/#sec-regexp.prototype-@@split
//
// NOTE: This cannot be properly polyfilled in engines that don't support
// the 'y' flag.
function (string, limit) {
var rx = anObject(this);
var S = toString(string);
if (!BUGGY) {
var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
if (res.done) return res.value;
}
var C = speciesConstructor(rx, RegExp);
var unicodeMatching = rx.unicode;
var flags = (rx.ignoreCase ? 'i' : '') +
(rx.multiline ? 'm' : '') +
(rx.unicode ? 'u' : '') +
(UNSUPPORTED_Y ? 'g' : 'y');
// ^(? + rx + ) is needed, in combination with some S slicing, to
// simulate the 'y' flag.
var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
if (lim === 0) return [];
if (S.length === 0) return regExpExec(splitter, S) === null ? [S] : [];
var p = 0;
var q = 0;
var A = [];
while (q < S.length) {
splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;
var z = regExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);
var e;
if (
z === null ||
(e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p
) {
q = advanceStringIndex(S, q, unicodeMatching);
} else {
push(A, stringSlice(S, p, q));
if (A.length === lim) return A;
for (var i = 1; i <= z.length - 1; i++) {
push(A, z[i]);
if (A.length === lim) return A;
}
q = p = e;
}
}
push(A, stringSlice(S, p));
return A;
}
];
}, BUGGY || !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
/***/ }),
/***/ 43988:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(20304);
var getOwnPropertyDescriptor = (__webpack_require__(35999).f);
var toLength = __webpack_require__(86450);
var toString = __webpack_require__(34211);
var notARegExp = __webpack_require__(22923);
var requireObjectCoercible = __webpack_require__(82066);
var correctIsRegExpLogic = __webpack_require__(13328);
var IS_PURE = __webpack_require__(40279);
var stringSlice = uncurryThis(''.slice);
var min = Math.min;
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
// https://github.com/zloirock/core-js/pull/702
var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');
return descriptor && !descriptor.writable;
}();
// `String.prototype.startsWith` method
// https://tc39.es/ecma262/#sec-string.prototype.startswith
$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
startsWith: function startsWith(searchString /* , position = 0 */) {
var that = toString(requireObjectCoercible(this));
notARegExp(searchString);
var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));
var search = toString(searchString);
return stringSlice(that, index, index + search.length) === search;
}
});
/***/ }),
/***/ 21592:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var createHTML = __webpack_require__(92996);
var forcedStringHTMLMethod = __webpack_require__(12657);
// `String.prototype.strike` method
// https://tc39.es/ecma262/#sec-string.prototype.strike
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('strike') }, {
strike: function strike() {
return createHTML(this, 'strike', '', '');
}
});
/***/ }),
/***/ 56578:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var createHTML = __webpack_require__(92996);
var forcedStringHTMLMethod = __webpack_require__(12657);
// `String.prototype.sub` method
// https://tc39.es/ecma262/#sec-string.prototype.sub
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sub') }, {
sub: function sub() {
return createHTML(this, 'sub', '', '');
}
});
/***/ }),
/***/ 24699:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(7812);
var requireObjectCoercible = __webpack_require__(82066);
var toIntegerOrInfinity = __webpack_require__(87407);
var toString = __webpack_require__(34211);
var stringSlice = uncurryThis(''.slice);
var max = Math.max;
var min = Math.min;
// eslint-disable-next-line unicorn/prefer-string-slice -- required for testing
var FORCED = !''.substr || 'ab'.substr(-1) !== 'b';
// `String.prototype.substr` method
// https://tc39.es/ecma262/#sec-string.prototype.substr
$({ target: 'String', proto: true, forced: FORCED }, {
substr: function substr(start, length) {
var that = toString(requireObjectCoercible(this));
var size = that.length;
var intStart = toIntegerOrInfinity(start);
var intLength, intEnd;
if (intStart === Infinity) intStart = 0;
if (intStart < 0) intStart = max(size + intStart, 0);
intLength = length === undefined ? size : toIntegerOrInfinity(length);
if (intLength <= 0 || intLength === Infinity) return '';
intEnd = min(intStart + intLength, size);
return intStart >= intEnd ? '' : stringSlice(that, intStart, intEnd);
}
});
/***/ }),
/***/ 98536:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var createHTML = __webpack_require__(92996);
var forcedStringHTMLMethod = __webpack_require__(12657);
// `String.prototype.sup` method
// https://tc39.es/ecma262/#sec-string.prototype.sup
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sup') }, {
sup: function sup() {
return createHTML(this, 'sup', '', '');
}
});
/***/ }),
/***/ 28442:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var call = __webpack_require__(62729);
var uncurryThis = __webpack_require__(7812);
var requireObjectCoercible = __webpack_require__(82066);
var toString = __webpack_require__(34211);
var fails = __webpack_require__(46915);
var $Array = Array;
var charAt = uncurryThis(''.charAt);
var charCodeAt = uncurryThis(''.charCodeAt);
var join = uncurryThis([].join);
// eslint-disable-next-line es/no-string-prototype-towellformed -- safe
var $toWellFormed = ''.toWellFormed;
var REPLACEMENT_CHARACTER = '\uFFFD';
// Safari bug
var TO_STRING_CONVERSION_BUG = $toWellFormed && fails(function () {
return call($toWellFormed, 1) !== '1';
});
// `String.prototype.toWellFormed` method
// https://tc39.es/ecma262/#sec-string.prototype.towellformed
$({ target: 'String', proto: true, forced: TO_STRING_CONVERSION_BUG }, {
toWellFormed: function toWellFormed() {
var S = toString(requireObjectCoercible(this));
if (TO_STRING_CONVERSION_BUG) return call($toWellFormed, S);
var length = S.length;
var result = $Array(length);
for (var i = 0; i < length; i++) {
var charCode = charCodeAt(S, i);
// single UTF-16 code unit
if ((charCode & 0xF800) !== 0xD800) result[i] = charAt(S, i);
// unpaired surrogate
else if (charCode >= 0xDC00 || i + 1 >= length || (charCodeAt(S, i + 1) & 0xFC00) !== 0xDC00) result[i] = REPLACEMENT_CHARACTER;
// surrogate pair
else {
result[i] = charAt(S, i);
result[++i] = charAt(S, i);
}
} return join(result, '');
}
});
/***/ }),
/***/ 94374:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove this line from `core-js@4`
__webpack_require__(18701);
var $ = __webpack_require__(16922);
var trimEnd = __webpack_require__(56486);
// `String.prototype.trimEnd` method
// https://tc39.es/ecma262/#sec-string.prototype.trimend
// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe
$({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimEnd !== trimEnd }, {
trimEnd: trimEnd
});
/***/ }),
/***/ 75498:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var trimStart = __webpack_require__(87099);
// `String.prototype.trimLeft` method
// https://tc39.es/ecma262/#sec-string.prototype.trimleft
// eslint-disable-next-line es/no-string-prototype-trimleft-trimright -- safe
$({ target: 'String', proto: true, name: 'trimStart', forced: ''.trimLeft !== trimStart }, {
trimLeft: trimStart
});
/***/ }),
/***/ 18701:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var trimEnd = __webpack_require__(56486);
// `String.prototype.trimRight` method
// https://tc39.es/ecma262/#sec-string.prototype.trimend
// eslint-disable-next-line es/no-string-prototype-trimleft-trimright -- safe
$({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimRight !== trimEnd }, {
trimRight: trimEnd
});
/***/ }),
/***/ 92219:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove this line from `core-js@4`
__webpack_require__(75498);
var $ = __webpack_require__(16922);
var trimStart = __webpack_require__(87099);
// `String.prototype.trimStart` method
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe
$({ target: 'String', proto: true, name: 'trimStart', forced: ''.trimStart !== trimStart }, {
trimStart: trimStart
});
/***/ }),
/***/ 2926:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $trim = (__webpack_require__(31182).trim);
var forcedStringTrimMethod = __webpack_require__(57574);
// `String.prototype.trim` method
// https://tc39.es/ecma262/#sec-string.prototype.trim
$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
trim: function trim() {
return $trim(this);
}
});
/***/ }),
/***/ 73669:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var globalThis = __webpack_require__(40452);
var call = __webpack_require__(62729);
var uncurryThis = __webpack_require__(7812);
var IS_PURE = __webpack_require__(40279);
var DESCRIPTORS = __webpack_require__(73968);
var NATIVE_SYMBOL = __webpack_require__(28827);
var fails = __webpack_require__(46915);
var hasOwn = __webpack_require__(34525);
var isPrototypeOf = __webpack_require__(16733);
var anObject = __webpack_require__(80979);
var toIndexedObject = __webpack_require__(44377);
var toPropertyKey = __webpack_require__(81037);
var $toString = __webpack_require__(34211);
var createPropertyDescriptor = __webpack_require__(19552);
var nativeObjectCreate = __webpack_require__(5684);
var objectKeys = __webpack_require__(57580);
var getOwnPropertyNamesModule = __webpack_require__(22828);
var getOwnPropertyNamesExternal = __webpack_require__(83070);
var getOwnPropertySymbolsModule = __webpack_require__(89889);
var getOwnPropertyDescriptorModule = __webpack_require__(35999);
var definePropertyModule = __webpack_require__(84869);
var definePropertiesModule = __webpack_require__(90861);
var propertyIsEnumerableModule = __webpack_require__(90729);
var defineBuiltIn = __webpack_require__(20420);
var defineBuiltInAccessor = __webpack_require__(98998);
var shared = __webpack_require__(1997);
var sharedKey = __webpack_require__(35395);
var hiddenKeys = __webpack_require__(9913);
var uid = __webpack_require__(53796);
var wellKnownSymbol = __webpack_require__(20303);
var wrappedWellKnownSymbolModule = __webpack_require__(25803);
var defineWellKnownSymbol = __webpack_require__(6403);
var defineSymbolToPrimitive = __webpack_require__(93158);
var setToStringTag = __webpack_require__(51699);
var InternalStateModule = __webpack_require__(40161);
var $forEach = (__webpack_require__(13473).forEach);
var HIDDEN = sharedKey('hidden');
var SYMBOL = 'Symbol';
var PROTOTYPE = 'prototype';
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(SYMBOL);
var ObjectPrototype = Object[PROTOTYPE];
var $Symbol = globalThis.Symbol;
var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];
var RangeError = globalThis.RangeError;
var TypeError = globalThis.TypeError;
var QObject = globalThis.QObject;
var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
var nativeDefineProperty = definePropertyModule.f;
var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;
var push = uncurryThis([].push);
var AllSymbols = shared('symbols');
var ObjectPrototypeSymbols = shared('op-symbols');
var WellKnownSymbolsStore = shared('wks');
// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
var fallbackDefineProperty = function (O, P, Attributes) {
var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);
if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];
nativeDefineProperty(O, P, Attributes);
if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {
nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);
}
};
var setSymbolDescriptor = DESCRIPTORS && fails(function () {
return nativeObjectCreate(nativeDefineProperty({}, 'a', {
get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
})).a !== 7;
}) ? fallbackDefineProperty : nativeDefineProperty;
var wrap = function (tag, description) {
var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);
setInternalState(symbol, {
type: SYMBOL,
tag: tag,
description: description
});
if (!DESCRIPTORS) symbol.description = description;
return symbol;
};
var $defineProperty = function defineProperty(O, P, Attributes) {
if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
anObject(O);
var key = toPropertyKey(P);
anObject(Attributes);
if (hasOwn(AllSymbols, key)) {
if (!Attributes.enumerable) {
if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, nativeObjectCreate(null)));
O[HIDDEN][key] = true;
} else {
if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });
} return setSymbolDescriptor(O, key, Attributes);
} return nativeDefineProperty(O, key, Attributes);
};
var $defineProperties = function defineProperties(O, Properties) {
anObject(O);
var properties = toIndexedObject(Properties);
var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));
$forEach(keys, function (key) {
if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);
});
return O;
};
var $create = function create(O, Properties) {
return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
};
var $propertyIsEnumerable = function propertyIsEnumerable(V) {
var P = toPropertyKey(V);
var enumerable = call(nativePropertyIsEnumerable, this, P);
if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;
return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]
? enumerable : true;
};
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
var it = toIndexedObject(O);
var key = toPropertyKey(P);
if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;
var descriptor = nativeGetOwnPropertyDescriptor(it, key);
if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {
descriptor.enumerable = true;
}
return descriptor;
};
var $getOwnPropertyNames = function getOwnPropertyNames(O) {
var names = nativeGetOwnPropertyNames(toIndexedObject(O));
var result = [];
$forEach(names, function (key) {
if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);
});
return result;
};
var $getOwnPropertySymbols = function (O) {
var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;
var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));
var result = [];
$forEach(names, function (key) {
if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {
push(result, AllSymbols[key]);
}
});
return result;
};
// `Symbol` constructor
// https://tc39.es/ecma262/#sec-symbol-constructor
if (!NATIVE_SYMBOL) {
$Symbol = function Symbol() {
if (isPrototypeOf(SymbolPrototype, this)) throw new TypeError('Symbol is not a constructor');
var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);
var tag = uid(description);
var setter = function (value) {
var $this = this === undefined ? globalThis : this;
if ($this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);
if (hasOwn($this, HIDDEN) && hasOwn($this[HIDDEN], tag)) $this[HIDDEN][tag] = false;
var descriptor = createPropertyDescriptor(1, value);
try {
setSymbolDescriptor($this, tag, descriptor);
} catch (error) {
if (!(error instanceof RangeError)) throw error;
fallbackDefineProperty($this, tag, descriptor);
}
};
if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });
return wrap(tag, description);
};
SymbolPrototype = $Symbol[PROTOTYPE];
defineBuiltIn(SymbolPrototype, 'toString', function toString() {
return getInternalState(this).tag;
});
defineBuiltIn($Symbol, 'withoutSetter', function (description) {
return wrap(uid(description), description);
});
propertyIsEnumerableModule.f = $propertyIsEnumerable;
definePropertyModule.f = $defineProperty;
definePropertiesModule.f = $defineProperties;
getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;
getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;
wrappedWellKnownSymbolModule.f = function (name) {
return wrap(wellKnownSymbol(name), name);
};
if (DESCRIPTORS) {
// https://github.com/tc39/proposal-Symbol-description
defineBuiltInAccessor(SymbolPrototype, 'description', {
configurable: true,
get: function description() {
return getInternalState(this).description;
}
});
if (!IS_PURE) {
defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
}
}
}
$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {
Symbol: $Symbol
});
$forEach(objectKeys(WellKnownSymbolsStore), function (name) {
defineWellKnownSymbol(name);
});
$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
useSetter: function () { USE_SETTER = true; },
useSimple: function () { USE_SETTER = false; }
});
$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {
// `Object.create` method
// https://tc39.es/ecma262/#sec-object.create
create: $create,
// `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
defineProperty: $defineProperty,
// `Object.defineProperties` method
// https://tc39.es/ecma262/#sec-object.defineproperties
defineProperties: $defineProperties,
// `Object.getOwnPropertyDescriptor` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
getOwnPropertyDescriptor: $getOwnPropertyDescriptor
});
$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
// `Object.getOwnPropertyNames` method
// https://tc39.es/ecma262/#sec-object.getownpropertynames
getOwnPropertyNames: $getOwnPropertyNames
});
// `Symbol.prototype[@@toPrimitive]` method
// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
defineSymbolToPrimitive();
// `Symbol.prototype[@@toStringTag]` property
// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag
setToStringTag($Symbol, SYMBOL);
hiddenKeys[HIDDEN] = true;
/***/ }),
/***/ 77234:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var getBuiltIn = __webpack_require__(22235);
var hasOwn = __webpack_require__(34525);
var toString = __webpack_require__(34211);
var shared = __webpack_require__(1997);
var NATIVE_SYMBOL_REGISTRY = __webpack_require__(34508);
var StringToSymbolRegistry = shared('string-to-symbol-registry');
var SymbolToStringRegistry = shared('symbol-to-string-registry');
// `Symbol.for` method
// https://tc39.es/ecma262/#sec-symbol.for
$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {
'for': function (key) {
var string = toString(key);
if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
var symbol = getBuiltIn('Symbol')(string);
StringToSymbolRegistry[string] = symbol;
SymbolToStringRegistry[symbol] = string;
return symbol;
}
});
/***/ }),
/***/ 56359:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove this module from `core-js@4` since it's split to modules listed below
__webpack_require__(73669);
__webpack_require__(77234);
__webpack_require__(81728);
__webpack_require__(10730);
__webpack_require__(81641);
/***/ }),
/***/ 81728:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var hasOwn = __webpack_require__(34525);
var isSymbol = __webpack_require__(16809);
var tryToString = __webpack_require__(8171);
var shared = __webpack_require__(1997);
var NATIVE_SYMBOL_REGISTRY = __webpack_require__(34508);
var SymbolToStringRegistry = shared('symbol-to-string-registry');
// `Symbol.keyFor` method
// https://tc39.es/ecma262/#sec-symbol.keyfor
$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {
keyFor: function keyFor(sym) {
if (!isSymbol(sym)) throw new TypeError(tryToString(sym) + ' is not a symbol');
if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
}
});
/***/ }),
/***/ 98054:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var FREEZING = __webpack_require__(80444);
var globalThis = __webpack_require__(40452);
var uncurryThis = __webpack_require__(7812);
var defineBuiltIns = __webpack_require__(49707);
var InternalMetadataModule = __webpack_require__(64775);
var collection = __webpack_require__(44552);
var collectionWeak = __webpack_require__(45005);
var isObject = __webpack_require__(82054);
var enforceInternalState = (__webpack_require__(40161).enforce);
var fails = __webpack_require__(46915);
var NATIVE_WEAK_MAP = __webpack_require__(63554);
var $Object = Object;
// eslint-disable-next-line es/no-array-isarray -- safe
var isArray = Array.isArray;
// eslint-disable-next-line es/no-object-isextensible -- safe
var isExtensible = $Object.isExtensible;
// eslint-disable-next-line es/no-object-isfrozen -- safe
var isFrozen = $Object.isFrozen;
// eslint-disable-next-line es/no-object-issealed -- safe
var isSealed = $Object.isSealed;
// eslint-disable-next-line es/no-object-freeze -- safe
var freeze = $Object.freeze;
// eslint-disable-next-line es/no-object-seal -- safe
var seal = $Object.seal;
var IS_IE11 = !globalThis.ActiveXObject && 'ActiveXObject' in globalThis;
var InternalWeakMap;
var wrapper = function (init) {
return function WeakMap() {
return init(this, arguments.length ? arguments[0] : undefined);
};
};
// `WeakMap` constructor
// https://tc39.es/ecma262/#sec-weakmap-constructor
var $WeakMap = collection('WeakMap', wrapper, collectionWeak);
var WeakMapPrototype = $WeakMap.prototype;
var nativeSet = uncurryThis(WeakMapPrototype.set);
// Chakra Edge bug: adding frozen arrays to WeakMap unfreeze them
var hasMSEdgeFreezingBug = function () {
return FREEZING && fails(function () {
var frozenArray = freeze([]);
nativeSet(new $WeakMap(), frozenArray, 1);
return !isFrozen(frozenArray);
});
};
// IE11 WeakMap frozen keys fix
// We can't use feature detection because it crash some old IE builds
// https://github.com/zloirock/core-js/issues/485
if (NATIVE_WEAK_MAP) if (IS_IE11) {
InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);
InternalMetadataModule.enable();
var nativeDelete = uncurryThis(WeakMapPrototype['delete']);
var nativeHas = uncurryThis(WeakMapPrototype.has);
var nativeGet = uncurryThis(WeakMapPrototype.get);
defineBuiltIns(WeakMapPrototype, {
'delete': function (key) {
if (isObject(key) && !isExtensible(key)) {
var state = enforceInternalState(this);
if (!state.frozen) state.frozen = new InternalWeakMap();
return nativeDelete(this, key) || state.frozen['delete'](key);
} return nativeDelete(this, key);
},
has: function has(key) {
if (isObject(key) && !isExtensible(key)) {
var state = enforceInternalState(this);
if (!state.frozen) state.frozen = new InternalWeakMap();
return nativeHas(this, key) || state.frozen.has(key);
} return nativeHas(this, key);
},
get: function get(key) {
if (isObject(key) && !isExtensible(key)) {
var state = enforceInternalState(this);
if (!state.frozen) state.frozen = new InternalWeakMap();
return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key);
} return nativeGet(this, key);
},
set: function set(key, value) {
if (isObject(key) && !isExtensible(key)) {
var state = enforceInternalState(this);
if (!state.frozen) state.frozen = new InternalWeakMap();
nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value);
} else nativeSet(this, key, value);
return this;
}
});
// Chakra Edge frozen keys fix
} else if (hasMSEdgeFreezingBug()) {
defineBuiltIns(WeakMapPrototype, {
set: function set(key, value) {
var arrayIntegrityLevel;
if (isArray(key)) {
if (isFrozen(key)) arrayIntegrityLevel = freeze;
else if (isSealed(key)) arrayIntegrityLevel = seal;
}
nativeSet(this, key, value);
if (arrayIntegrityLevel) arrayIntegrityLevel(key);
return this;
}
});
}
/***/ }),
/***/ 75832:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove this module from `core-js@4` since it's replaced to module below
__webpack_require__(98054);
/***/ }),
/***/ 91532:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(89687);
/***/ }),
/***/ 99670:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: remove from `core-js@4`
var $ = __webpack_require__(16922);
var $filterReject = (__webpack_require__(13473).filterReject);
var addToUnscopables = __webpack_require__(58361);
// `Array.prototype.filterOut` method
// https://github.com/tc39/proposal-array-filtering
$({ target: 'Array', proto: true, forced: true }, {
filterOut: function filterOut(callbackfn /* , thisArg */) {
return $filterReject(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
addToUnscopables('filterOut');
/***/ }),
/***/ 38415:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $filterReject = (__webpack_require__(13473).filterReject);
var addToUnscopables = __webpack_require__(58361);
// `Array.prototype.filterReject` method
// https://github.com/tc39/proposal-array-filtering
$({ target: 'Array', proto: true, forced: true }, {
filterReject: function filterReject(callbackfn /* , thisArg */) {
return $filterReject(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
addToUnscopables('filterReject');
/***/ }),
/***/ 46366:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(57015);
/***/ }),
/***/ 83919:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(16802);
/***/ }),
/***/ 41240:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var fromAsync = __webpack_require__(54969);
var fails = __webpack_require__(46915);
var nativeFromAsync = Array.fromAsync;
// https://bugs.webkit.org/show_bug.cgi?id=271703
var INCORRECT_CONSTRUCTURING = !nativeFromAsync || fails(function () {
var counter = 0;
nativeFromAsync.call(function () {
counter++;
return [];
}, { length: 0 });
return counter !== 1;
});
// `Array.fromAsync` method
// https://github.com/tc39/proposal-array-from-async
$({ target: 'Array', stat: true, forced: INCORRECT_CONSTRUCTURING }, {
fromAsync: fromAsync
});
/***/ }),
/***/ 47197:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(16922);
var arrayMethodIsStrict = __webpack_require__(69538);
var addToUnscopables = __webpack_require__(58361);
var $groupToMap = __webpack_require__(87276);
var IS_PURE = __webpack_require__(40279);
// `Array.prototype.groupByToMap` method
// https://github.com/tc39/proposal-array-grouping
// https://bugs.webkit.org/show_bug.cgi?id=236541
$({ target: 'Array', proto: true, name: 'groupToMap', forced: IS_PURE || !arrayMethodIsStrict('groupByToMap') }, {
groupByToMap: $groupToMap
});
addToUnscopables('groupByToMap');
/***/ }),
/***/ 10454:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(16922);
var $group = __webpack_require__(19689);
var arrayMethodIsStrict = __webpack_require__(69538);
var addToUnscopables = __webpack_require__(58361);
// `Array.prototype.groupBy` method
// https://github.com/tc39/proposal-array-grouping
// https://bugs.webkit.org/show_bug.cgi?id=236541
$({ target: 'Array', proto: true, forced: !arrayMethodIsStrict('groupBy') }, {
groupBy: function groupBy(callbackfn /* , thisArg */) {
var thisArg = arguments.length > 1 ? arguments[1] : undefined;
return $group(this, callbackfn, thisArg);
}
});
addToUnscopables('groupBy');
/***/ }),
/***/ 23437:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var addToUnscopables = __webpack_require__(58361);
var $groupToMap = __webpack_require__(87276);
var IS_PURE = __webpack_require__(40279);
// `Array.prototype.groupToMap` method
// https://github.com/tc39/proposal-array-grouping
$({ target: 'Array', proto: true, forced: IS_PURE }, {
groupToMap: $groupToMap
});
addToUnscopables('groupToMap');
/***/ }),
/***/ 99974:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var $group = __webpack_require__(19689);
var addToUnscopables = __webpack_require__(58361);
// `Array.prototype.group` method
// https://github.com/tc39/proposal-array-grouping
$({ target: 'Array', proto: true }, {
group: function group(callbackfn /* , thisArg */) {
var thisArg = arguments.length > 1 ? arguments[1] : undefined;
return $group(this, callbackfn, thisArg);
}
});
addToUnscopables('group');
/***/ }),
/***/ 5830:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var isArray = __webpack_require__(86636);
// eslint-disable-next-line es/no-object-isfrozen -- safe
var isFrozen = Object.isFrozen;
var isFrozenStringArray = function (array, allowUndefined) {
if (!isFrozen || !isArray(array) || !isFrozen(array)) return false;
var index = 0;
var length = array.length;
var element;
while (index < length) {
element = array[index++];
if (!(typeof element == 'string' || (allowUndefined && element === undefined))) {
return false;
}
} return length !== 0;
};
// `Array.isTemplateObject` method
// https://github.com/tc39/proposal-array-is-template-object
$({ target: 'Array', stat: true, sham: true, forced: true }, {
isTemplateObject: function isTemplateObject(value) {
if (!isFrozenStringArray(value, true)) return false;
var raw = value.raw;
return raw.length === value.length && isFrozenStringArray(raw, false);
}
});
/***/ }),
/***/ 34212:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var DESCRIPTORS = __webpack_require__(73968);
var addToUnscopables = __webpack_require__(58361);
var toObject = __webpack_require__(99353);
var lengthOfArrayLike = __webpack_require__(78930);
var defineBuiltInAccessor = __webpack_require__(98998);
// `Array.prototype.lastIndex` getter
// https://github.com/keithamus/proposal-array-last
if (DESCRIPTORS) {
defineBuiltInAccessor(Array.prototype, 'lastIndex', {
configurable: true,
get: function lastIndex() {
var O = toObject(this);
var len = lengthOfArrayLike(O);
return len === 0 ? 0 : len - 1;
}
});
addToUnscopables('lastIndex');
}
/***/ }),
/***/ 4085:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var DESCRIPTORS = __webpack_require__(73968);
var addToUnscopables = __webpack_require__(58361);
var toObject = __webpack_require__(99353);
var lengthOfArrayLike = __webpack_require__(78930);
var defineBuiltInAccessor = __webpack_require__(98998);
// `Array.prototype.lastIndex` accessor
// https://github.com/keithamus/proposal-array-last
if (DESCRIPTORS) {
defineBuiltInAccessor(Array.prototype, 'lastItem', {
configurable: true,
get: function lastItem() {
var O = toObject(this);
var len = lengthOfArrayLike(O);
return len === 0 ? undefined : O[len - 1];
},
set: function lastItem(value) {
var O = toObject(this);
var len = lengthOfArrayLike(O);
return O[len === 0 ? 0 : len - 1] = value;
}
});
addToUnscopables('lastItem');
}
/***/ }),
/***/ 3483:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(86202);
/***/ }),
/***/ 90364:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(33213);
/***/ }),
/***/ 22185:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(90078);
/***/ }),
/***/ 52574:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var addToUnscopables = __webpack_require__(58361);
var uniqueBy = __webpack_require__(16881);
// `Array.prototype.uniqueBy` method
// https://github.com/tc39/proposal-array-unique
$({ target: 'Array', proto: true, forced: true }, {
uniqueBy: uniqueBy
});
addToUnscopables('uniqueBy');
/***/ }),
/***/ 54041:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(99754);
/***/ }),
/***/ 27596:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(19773);
/***/ }),
/***/ 52054:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(71071);
/***/ }),
/***/ 98356:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(58519);
/***/ }),
/***/ 7610:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(16922);
var ObjectIterator = __webpack_require__(92382);
// `Object.iterateEntries` method
// https://github.com/tc39/proposal-object-iteration
$({ target: 'Object', stat: true, forced: true }, {
iterateEntries: function iterateEntries(object) {
return new ObjectIterator(object, 'entries');
}
});
/***/ }),
/***/ 74352:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(16922);
var ObjectIterator = __webpack_require__(92382);
// `Object.iterateKeys` method
// https://github.com/tc39/proposal-object-iteration
$({ target: 'Object', stat: true, forced: true }, {
iterateKeys: function iterateKeys(object) {
return new ObjectIterator(object, 'keys');
}
});
/***/ }),
/***/ 78234:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(16922);
var ObjectIterator = __webpack_require__(92382);
// `Object.iterateValues` method
// https://github.com/tc39/proposal-object-iteration
$({ target: 'Object', stat: true, forced: true }, {
iterateValues: function iterateValues(object) {
return new ObjectIterator(object, 'values');
}
});
/***/ }),
/***/ 88726:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(16922);
var ReflectMetadataModule = __webpack_require__(71093);
var anObject = __webpack_require__(80979);
var toMetadataKey = ReflectMetadataModule.toKey;
var ordinaryDefineOwnMetadata = ReflectMetadataModule.set;
// `Reflect.defineMetadata` method
// https://github.com/rbuckton/reflect-metadata
$({ target: 'Reflect', stat: true }, {
defineMetadata: function defineMetadata(metadataKey, metadataValue, target /* , targetKey */) {
var targetKey = arguments.length < 4 ? undefined : toMetadataKey(arguments[3]);
ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), targetKey);
}
});
/***/ }),
/***/ 18558:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var ReflectMetadataModule = __webpack_require__(71093);
var anObject = __webpack_require__(80979);
var toMetadataKey = ReflectMetadataModule.toKey;
var getOrCreateMetadataMap = ReflectMetadataModule.getMap;
var store = ReflectMetadataModule.store;
// `Reflect.deleteMetadata` method
// https://github.com/rbuckton/reflect-metadata
$({ target: 'Reflect', stat: true }, {
deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) {
var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);
var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);
if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false;
if (metadataMap.size) return true;
var targetMetadata = store.get(target);
targetMetadata['delete'](targetKey);
return !!targetMetadata.size || store['delete'](target);
}
});
/***/ }),
/***/ 60352:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(7812);
var ReflectMetadataModule = __webpack_require__(71093);
var anObject = __webpack_require__(80979);
var getPrototypeOf = __webpack_require__(65591);
var $arrayUniqueBy = __webpack_require__(16881);
var arrayUniqueBy = uncurryThis($arrayUniqueBy);
var concat = uncurryThis([].concat);
var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;
var toMetadataKey = ReflectMetadataModule.toKey;
var ordinaryMetadataKeys = function (O, P) {
var oKeys = ordinaryOwnMetadataKeys(O, P);
var parent = getPrototypeOf(O);
if (parent === null) return oKeys;
var pKeys = ordinaryMetadataKeys(parent, P);
return pKeys.length ? oKeys.length ? arrayUniqueBy(concat(oKeys, pKeys)) : pKeys : oKeys;
};
// `Reflect.getMetadataKeys` method
// https://github.com/rbuckton/reflect-metadata
$({ target: 'Reflect', stat: true }, {
getMetadataKeys: function getMetadataKeys(target /* , targetKey */) {
var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);
return ordinaryMetadataKeys(anObject(target), targetKey);
}
});
/***/ }),
/***/ 14155:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(16922);
var ReflectMetadataModule = __webpack_require__(71093);
var anObject = __webpack_require__(80979);
var getPrototypeOf = __webpack_require__(65591);
var ordinaryHasOwnMetadata = ReflectMetadataModule.has;
var ordinaryGetOwnMetadata = ReflectMetadataModule.get;
var toMetadataKey = ReflectMetadataModule.toKey;
var ordinaryGetMetadata = function (MetadataKey, O, P) {
var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);
if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P);
var parent = getPrototypeOf(O);
return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;
};
// `Reflect.getMetadata` method
// https://github.com/rbuckton/reflect-metadata
$({ target: 'Reflect', stat: true }, {
getMetadata: function getMetadata(metadataKey, target /* , targetKey */) {
var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);
return ordinaryGetMetadata(metadataKey, anObject(target), targetKey);
}
});
/***/ }),
/***/ 71405:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(16922);
var ReflectMetadataModule = __webpack_require__(71093);
var anObject = __webpack_require__(80979);
var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;
var toMetadataKey = ReflectMetadataModule.toKey;
// `Reflect.getOwnMetadataKeys` method
// https://github.com/rbuckton/reflect-metadata
$({ target: 'Reflect', stat: true }, {
getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {
var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);
return ordinaryOwnMetadataKeys(anObject(target), targetKey);
}
});
/***/ }),
/***/ 80740:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(16922);
var ReflectMetadataModule = __webpack_require__(71093);
var anObject = __webpack_require__(80979);
var ordinaryGetOwnMetadata = ReflectMetadataModule.get;
var toMetadataKey = ReflectMetadataModule.toKey;
// `Reflect.getOwnMetadata` method
// https://github.com/rbuckton/reflect-metadata
$({ target: 'Reflect', stat: true }, {
getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) {
var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);
return ordinaryGetOwnMetadata(metadataKey, anObject(target), targetKey);
}
});
/***/ }),
/***/ 91855:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(16922);
var ReflectMetadataModule = __webpack_require__(71093);
var anObject = __webpack_require__(80979);
var getPrototypeOf = __webpack_require__(65591);
var ordinaryHasOwnMetadata = ReflectMetadataModule.has;
var toMetadataKey = ReflectMetadataModule.toKey;
var ordinaryHasMetadata = function (MetadataKey, O, P) {
var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);
if (hasOwn) return true;
var parent = getPrototypeOf(O);
return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;
};
// `Reflect.hasMetadata` method
// https://github.com/rbuckton/reflect-metadata
$({ target: 'Reflect', stat: true }, {
hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) {
var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);
return ordinaryHasMetadata(metadataKey, anObject(target), targetKey);
}
});
/***/ }),
/***/ 50824:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(16922);
var ReflectMetadataModule = __webpack_require__(71093);
var anObject = __webpack_require__(80979);
var ordinaryHasOwnMetadata = ReflectMetadataModule.has;
var toMetadataKey = ReflectMetadataModule.toKey;
// `Reflect.hasOwnMetadata` method
// https://github.com/rbuckton/reflect-metadata
$({ target: 'Reflect', stat: true }, {
hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) {
var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);
return ordinaryHasOwnMetadata(metadataKey, anObject(target), targetKey);
}
});
/***/ }),
/***/ 64156:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var ReflectMetadataModule = __webpack_require__(71093);
var anObject = __webpack_require__(80979);
var toMetadataKey = ReflectMetadataModule.toKey;
var ordinaryDefineOwnMetadata = ReflectMetadataModule.set;
// `Reflect.metadata` method
// https://github.com/rbuckton/reflect-metadata
$({ target: 'Reflect', stat: true }, {
metadata: function metadata(metadataKey, metadataValue) {
return function decorator(target, key) {
ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetadataKey(key));
};
}
});
/***/ }),
/***/ 22160:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var uncurryThis = __webpack_require__(7812);
var aString = __webpack_require__(46467);
var hasOwn = __webpack_require__(34525);
var padStart = (__webpack_require__(22233).start);
var WHITESPACES = __webpack_require__(42064);
var $Array = Array;
var $escape = RegExp.escape;
var charAt = uncurryThis(''.charAt);
var charCodeAt = uncurryThis(''.charCodeAt);
var numberToString = uncurryThis(1.1.toString);
var join = uncurryThis([].join);
var FIRST_DIGIT_OR_ASCII = /^[0-9a-z]/i;
var SYNTAX_SOLIDUS = /^[$()*+./?[\\\]^{|}]/;
var OTHER_PUNCTUATORS_AND_WHITESPACES = RegExp('^[!"#%&\',\\-:;<=>@`~' + WHITESPACES + ']');
var exec = uncurryThis(FIRST_DIGIT_OR_ASCII.exec);
var ControlEscape = {
'\u0009': 't',
'\u000A': 'n',
'\u000B': 'v',
'\u000C': 'f',
'\u000D': 'r'
};
var escapeChar = function (chr) {
var hex = numberToString(charCodeAt(chr, 0), 16);
return hex.length < 3 ? '\\x' + padStart(hex, 2, '0') : '\\u' + padStart(hex, 4, '0');
};
// Avoiding the use of polyfills of the previous iteration of this proposal
var FORCED = !$escape || $escape('ab') !== '\\x61b';
// `RegExp.escape` method
// https://github.com/tc39/proposal-regex-escaping
$({ target: 'RegExp', stat: true, forced: FORCED }, {
escape: function escape(S) {
aString(S);
var length = S.length;
var result = $Array(length);
for (var i = 0; i < length; i++) {
var chr = charAt(S, i);
if (i === 0 && exec(FIRST_DIGIT_OR_ASCII, chr)) {
result[i] = escapeChar(chr);
} else if (hasOwn(ControlEscape, chr)) {
result[i] = '\\' + ControlEscape[chr];
} else if (exec(SYNTAX_SOLIDUS, chr)) {
result[i] = '\\' + chr;
} else if (exec(OTHER_PUNCTUATORS_AND_WHITESPACES, chr)) {
result[i] = escapeChar(chr);
} else {
var charCode = charCodeAt(chr, 0);
// single UTF-16 code unit
if ((charCode & 0xF800) !== 0xD800) result[i] = chr;
// unpaired surrogate
else if (charCode >= 0xDC00 || i + 1 >= length || (charCodeAt(S, i + 1) & 0xFC00) !== 0xDC00) result[i] = escapeChar(chr);
// surrogate pair
else {
result[i] = chr;
result[++i] = charAt(S, i);
}
}
}
return join(result, '');
}
});
/***/ }),
/***/ 72502:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
var $ = __webpack_require__(16922);
var charAt = (__webpack_require__(38131).charAt);
var requireObjectCoercible = __webpack_require__(82066);
var toIntegerOrInfinity = __webpack_require__(87407);
var toString = __webpack_require__(34211);
// `String.prototype.at` method
// https://github.com/mathiasbynens/String.prototype.at
$({ target: 'String', proto: true, forced: true }, {
at: function at(index) {
var S = toString(requireObjectCoercible(this));
var len = S.length;
var relativeIndex = toIntegerOrInfinity(index);
var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
return (k < 0 || k >= len) ? undefined : charAt(S, k);
}
});
/***/ }),
/***/ 49820:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var createIteratorConstructor = __webpack_require__(77046);
var createIterResultObject = __webpack_require__(51677);
var requireObjectCoercible = __webpack_require__(82066);
var toString = __webpack_require__(34211);
var InternalStateModule = __webpack_require__(40161);
var StringMultibyteModule = __webpack_require__(38131);
var codeAt = StringMultibyteModule.codeAt;
var charAt = StringMultibyteModule.charAt;
var STRING_ITERATOR = 'String Iterator';
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
// TODO: unify with String#@@iterator
var $StringIterator = createIteratorConstructor(function StringIterator(string) {
setInternalState(this, {
type: STRING_ITERATOR,
string: string,
index: 0
});
}, 'String', function next() {
var state = getInternalState(this);
var string = state.string;
var index = state.index;
var point;
if (index >= string.length) return createIterResultObject(undefined, true);
point = charAt(string, index);
state.index += point.length;
return createIterResultObject({ codePoint: codeAt(point, 0), position: index }, false);
});
// `String.prototype.codePoints` method
// https://github.com/tc39/proposal-string-prototype-codepoints
$({ target: 'String', proto: true, forced: true }, {
codePoints: function codePoints() {
return new $StringIterator(toString(requireObjectCoercible(this)));
}
});
/***/ }),
/***/ 86942:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(16922);
var cooked = __webpack_require__(57115);
// `String.cooked` method
// https://github.com/tc39/proposal-string-cooked
$({ target: 'String', stat: true, forced: true }, {
cooked: cooked
});
/***/ }),
/***/ 61709:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var FREEZING = __webpack_require__(80444);
var $ = __webpack_require__(16922);
var makeBuiltIn = __webpack_require__(19999);
var uncurryThis = __webpack_require__(7812);
var apply = __webpack_require__(35013);
var anObject = __webpack_require__(80979);
var toObject = __webpack_require__(99353);
var isCallable = __webpack_require__(24241);
var lengthOfArrayLike = __webpack_require__(78930);
var defineProperty = (__webpack_require__(84869).f);
var createArrayFromList = __webpack_require__(80108);
var WeakMapHelpers = __webpack_require__(34703);
var cooked = __webpack_require__(57115);
var parse = __webpack_require__(84735);
var whitespaces = __webpack_require__(42064);
var DedentMap = new WeakMapHelpers.WeakMap();
var weakMapGet = WeakMapHelpers.get;
var weakMapHas = WeakMapHelpers.has;
var weakMapSet = WeakMapHelpers.set;
var $Array = Array;
var $TypeError = TypeError;
// eslint-disable-next-line es/no-object-freeze -- safe
var freeze = Object.freeze || Object;
// eslint-disable-next-line es/no-object-isfrozen -- safe
var isFrozen = Object.isFrozen;
var min = Math.min;
var charAt = uncurryThis(''.charAt);
var stringSlice = uncurryThis(''.slice);
var split = uncurryThis(''.split);
var exec = uncurryThis(/./.exec);
var NEW_LINE = /([\n\u2028\u2029]|\r\n?)/g;
var LEADING_WHITESPACE = RegExp('^[' + whitespaces + ']*');
var NON_WHITESPACE = RegExp('[^' + whitespaces + ']');
var INVALID_TAG = 'Invalid tag';
var INVALID_OPENING_LINE = 'Invalid opening line';
var INVALID_CLOSING_LINE = 'Invalid closing line';
var dedentTemplateStringsArray = function (template) {
var rawInput = template.raw;
// https://github.com/tc39/proposal-string-dedent/issues/75
if (FREEZING && !isFrozen(rawInput)) throw new $TypeError('Raw template should be frozen');
if (weakMapHas(DedentMap, rawInput)) return weakMapGet(DedentMap, rawInput);
var raw = dedentStringsArray(rawInput);
var cookedArr = cookStrings(raw);
defineProperty(cookedArr, 'raw', {
value: freeze(raw)
});
freeze(cookedArr);
weakMapSet(DedentMap, rawInput, cookedArr);
return cookedArr;
};
var dedentStringsArray = function (template) {
var t = toObject(template);
var length = lengthOfArrayLike(t);
var blocks = $Array(length);
var dedented = $Array(length);
var i = 0;
var lines, common, quasi, k;
if (!length) throw new $TypeError(INVALID_TAG);
for (; i < length; i++) {
var element = t[i];
if (typeof element == 'string') blocks[i] = split(element, NEW_LINE);
else throw new $TypeError(INVALID_TAG);
}
for (i = 0; i < length; i++) {
var lastSplit = i + 1 === length;
lines = blocks[i];
if (i === 0) {
if (lines.length === 1 || lines[0].length > 0) {
throw new $TypeError(INVALID_OPENING_LINE);
}
lines[1] = '';
}
if (lastSplit) {
if (lines.length === 1 || exec(NON_WHITESPACE, lines[lines.length - 1])) {
throw new $TypeError(INVALID_CLOSING_LINE);
}
lines[lines.length - 2] = '';
lines[lines.length - 1] = '';
}
// eslint-disable-next-line sonarjs/no-redundant-assignments -- false positive, https://github.com/SonarSource/SonarJS/issues/4767
for (var j = 2; j < lines.length; j += 2) {
var text = lines[j];
var lineContainsTemplateExpression = j + 1 === lines.length && !lastSplit;
var leading = exec(LEADING_WHITESPACE, text)[0];
if (!lineContainsTemplateExpression && leading.length === text.length) {
lines[j] = '';
continue;
}
common = commonLeadingIndentation(leading, common);
}
}
var count = common ? common.length : 0;
for (i = 0; i < length; i++) {
lines = blocks[i];
quasi = lines[0];
k = 1;
for (; k < lines.length; k += 2) {
quasi += lines[k] + stringSlice(lines[k + 1], count);
}
dedented[i] = quasi;
}
return dedented;
};
var commonLeadingIndentation = function (a, b) {
if (b === undefined || a === b) return a;
var i = 0;
for (var len = min(a.length, b.length); i < len; i++) {
if (charAt(a, i) !== charAt(b, i)) break;
}
return stringSlice(a, 0, i);
};
var cookStrings = function (raw) {
var i = 0;
var length = raw.length;
var result = $Array(length);
for (; i < length; i++) {
result[i] = parse(raw[i]);
} return result;
};
var makeDedentTag = function (tag) {
return makeBuiltIn(function (template /* , ...substitutions */) {
var args = createArrayFromList(arguments);
args[0] = dedentTemplateStringsArray(anObject(template));
return apply(tag, this, args);
}, '');
};
var cookedDedentTag = makeDedentTag(cooked);
// `String.dedent` method
// https://github.com/tc39/proposal-string-dedent
$({ target: 'String', stat: true, forced: true }, {
dedent: function dedent(templateOrFn /* , ...substitutions */) {
anObject(templateOrFn);
if (isCallable(templateOrFn)) return makeDedentTag(templateOrFn);
return apply(cookedDedentTag, this, arguments);
}
});
/***/ }),
/***/ 27842:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(71367);
/***/ }),
/***/ 53828:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(29427);
/***/ }),
/***/ 59821:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(54742);
/***/ }),
/***/ 15743:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4`
__webpack_require__(28442);
/***/ }),
/***/ 56389:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var globalThis = __webpack_require__(40452);
var DOMIterables = __webpack_require__(96956);
var DOMTokenListPrototype = __webpack_require__(34772);
var ArrayIteratorMethods = __webpack_require__(83076);
var createNonEnumerableProperty = __webpack_require__(46975);
var setToStringTag = __webpack_require__(51699);
var wellKnownSymbol = __webpack_require__(20303);
var ITERATOR = wellKnownSymbol('iterator');
var ArrayValues = ArrayIteratorMethods.values;
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
if (CollectionPrototype) {
// some Chrome versions have non-configurable methods on DOMTokenList
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
} catch (error) {
CollectionPrototype[ITERATOR] = ArrayValues;
}
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
// some Chrome versions have non-configurable methods on DOMTokenList
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
} catch (error) {
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
}
}
}
};
for (var COLLECTION_NAME in DOMIterables) {
handlePrototype(globalThis[COLLECTION_NAME] && globalThis[COLLECTION_NAME].prototype, COLLECTION_NAME);
}
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
/***/ }),
/***/ 9081:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(12398);
module.exports = parent;
/***/ }),
/***/ 84429:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(6898);
module.exports = parent;
/***/ }),
/***/ 31687:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(72298);
__webpack_require__(56389);
module.exports = parent;
/***/ }),
/***/ 44049:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(52410);
module.exports = parent;
/***/ }),
/***/ 79257:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(87892);
module.exports = parent;
/***/ }),
/***/ 17357:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var parent = __webpack_require__(36100);
module.exports = parent;
/***/ })
/******/ });
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ id: moduleId,
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = __webpack_modules__;
/******/
/************************************************************************/
/******/ /* webpack/runtime/compat get default export */
/******/ !function() {
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function() { return module['default']; } :
/******/ function() { return module; };
/******/ __webpack_require__.d(getter, { a: getter });
/******/ return getter;
/******/ };
/******/ }();
/******/
/******/ /* webpack/runtime/define property getters */
/******/ !function() {
/******/ // define getter functions for harmony exports
/******/ __webpack_require__.d = function(exports, definition) {
/******/ for(var key in definition) {
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ }
/******/ }
/******/ };
/******/ }();
/******/
/******/ /* webpack/runtime/global */
/******/ !function() {
/******/ __webpack_require__.g = (function() {
/******/ if (typeof globalThis === 'object') return globalThis;
/******/ try {
/******/ return this || new Function('return this')();
/******/ } catch (e) {
/******/ if (typeof window === 'object') return window;
/******/ }
/******/ })();
/******/ }();
/******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */
/******/ !function() {
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
/******/ }();
/******/
/******/ /* webpack/runtime/jsonp chunk loading */
/******/ !function() {
/******/ __webpack_require__.b = document.baseURI || self.location.href;
/******/
/******/ // object to store loaded and loading chunks
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
/******/ var installedChunks = {
/******/ 792: 0
/******/ };
/******/
/******/ // no chunk on demand loading
/******/
/******/ // no prefetching
/******/
/******/ // no preloaded
/******/
/******/ // no HMR
/******/
/******/ // no HMR manifest
/******/
/******/ // no on chunks loaded
/******/
/******/ // no jsonp function
/******/ }();
/******/
/******/ /* webpack/runtime/nonce */
/******/ !function() {
/******/ __webpack_require__.nc = undefined;
/******/ }();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
!function() {
"use strict";
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.39.0/node_modules/core-js/features/global-this.js
var global_this = __webpack_require__(51329);
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.39.0/node_modules/core-js/features/array/index.js
var array = __webpack_require__(83773);
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.39.0/node_modules/core-js/features/object/index.js
var object = __webpack_require__(14683);
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.39.0/node_modules/core-js/features/string/index.js
var string = __webpack_require__(47809);
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.39.0/node_modules/core-js/features/regexp/index.js
var regexp = __webpack_require__(31453);
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.39.0/node_modules/core-js/features/reflect/index.js
var reflect = __webpack_require__(71533);
;// ./src/polyfills.ts
// 引入 promise 的 polyfills 会导致 waterfox classic 出错,按需引入
;// ./src/user-script/polyfills.ts
}();
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
!function() {
"use strict";
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js
var define_property = __webpack_require__(16188);
var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js
var find = __webpack_require__(61596);
var find_default = /*#__PURE__*/__webpack_require__.n(find);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/for-each.js
var for_each = __webpack_require__(1756);
var for_each_default = /*#__PURE__*/__webpack_require__.n(for_each);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js
var splice = __webpack_require__(90827);
var splice_default = /*#__PURE__*/__webpack_require__.n(splice);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js
var index_of = __webpack_require__(49149);
var index_of_default = /*#__PURE__*/__webpack_require__.n(index_of);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/object/assign.js
var object_assign = __webpack_require__(89298);
var assign_default = /*#__PURE__*/__webpack_require__.n(object_assign);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js
var map = __webpack_require__(72397);
var map_default = /*#__PURE__*/__webpack_require__.n(map);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/array/is-array.js
var is_array = __webpack_require__(31385);
var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js
var filter = __webpack_require__(22465);
var filter_default = /*#__PURE__*/__webpack_require__.n(filter);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/bind.js
var bind = __webpack_require__(77056);
var bind_default = /*#__PURE__*/__webpack_require__.n(bind);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/object/get-prototype-of.js
var get_prototype_of = __webpack_require__(86900);
var get_prototype_of_default = /*#__PURE__*/__webpack_require__.n(get_prototype_of);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js
var includes = __webpack_require__(9362);
var includes_default = /*#__PURE__*/__webpack_require__.n(includes);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/object/set-prototype-of.js
var set_prototype_of = __webpack_require__(21768);
var set_prototype_of_default = /*#__PURE__*/__webpack_require__.n(set_prototype_of);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/object/create.js
var create = __webpack_require__(92011);
var create_default = /*#__PURE__*/__webpack_require__.n(create);
;// ./node_modules/.pnpm/typedi@0.10.0/node_modules/typedi/esm5/token.class.js
/**
* Used to create unique typed service identifier.
* Useful when service has only interface, but don't have a class.
*/
var Token = /** @class */function () {
/**
* @param name Token name, optional and only used for debugging purposes.
*/
function Token(name) {
this.name = name;
}
return Token;
}();
;// ./node_modules/.pnpm/typedi@0.10.0/node_modules/typedi/esm5/error/service-not-found.error.js
var __extends = undefined && undefined.__extends || function () {
var _extendStatics = function extendStatics(d, b) {
_extendStatics = (set_prototype_of_default()) || {
__proto__: []
} instanceof Array && function (d, b) {
d.__proto__ = b;
} || function (d, b) {
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
};
return _extendStatics(d, b);
};
return function (d, b) {
_extendStatics(d, b);
function __() {
this.constructor = d;
}
d.prototype = b === null ? create_default()(b) : (__.prototype = b.prototype, new __());
};
}();
/**
* Thrown when requested service was not found.
*/
var ServiceNotFoundError = /** @class */function (_super) {
__extends(ServiceNotFoundError, _super);
function ServiceNotFoundError(identifier) {
var _a, _b;
var _this = _super.call(this) || this;
_this.name = 'ServiceNotFoundError';
/** Normalized identifier name used in the error message. */
_this.normalizedIdentifier = '<UNKNOWN_IDENTIFIER>';
if (typeof identifier === 'string') {
_this.normalizedIdentifier = identifier;
} else if (identifier instanceof Token) {
_this.normalizedIdentifier = "Token<" + (identifier.name || 'UNSET_NAME') + ">";
} else if (identifier && (identifier.name || ((_a = identifier.prototype) === null || _a === void 0 ? void 0 : _a.name))) {
_this.normalizedIdentifier = "MaybeConstructable<" + identifier.name + ">" || 0;
}
return _this;
}
define_property_default()(ServiceNotFoundError.prototype, "message", {
get: function get() {
return "Service with \"" + this.normalizedIdentifier + "\" identifier was not found in the container. " + "Register it before usage via explicitly calling the \"Container.set\" function or using the \"@Service()\" decorator.";
},
enumerable: false,
configurable: true
});
return ServiceNotFoundError;
}(Error);
;// ./node_modules/.pnpm/typedi@0.10.0/node_modules/typedi/esm5/error/cannot-instantiate-value.error.js
var cannot_instantiate_value_error_extends = undefined && undefined.__extends || function () {
var _extendStatics = function extendStatics(d, b) {
_extendStatics = (set_prototype_of_default()) || {
__proto__: []
} instanceof Array && function (d, b) {
d.__proto__ = b;
} || function (d, b) {
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
};
return _extendStatics(d, b);
};
return function (d, b) {
_extendStatics(d, b);
function __() {
this.constructor = d;
}
d.prototype = b === null ? create_default()(b) : (__.prototype = b.prototype, new __());
};
}();
/**
* Thrown when DI cannot inject value into property decorated by @Inject decorator.
*/
var CannotInstantiateValueError = /** @class */function (_super) {
cannot_instantiate_value_error_extends(CannotInstantiateValueError, _super);
function CannotInstantiateValueError(identifier) {
var _a, _b;
var _this = _super.call(this) || this;
_this.name = 'CannotInstantiateValueError';
/** Normalized identifier name used in the error message. */
_this.normalizedIdentifier = '<UNKNOWN_IDENTIFIER>';
// TODO: Extract this to a helper function and share between this and NotFoundError.
if (typeof identifier === 'string') {
_this.normalizedIdentifier = identifier;
} else if (identifier instanceof Token) {
_this.normalizedIdentifier = "Token<" + (identifier.name || 'UNSET_NAME') + ">";
} else if (identifier && (identifier.name || ((_a = identifier.prototype) === null || _a === void 0 ? void 0 : _a.name))) {
_this.normalizedIdentifier = "MaybeConstructable<" + identifier.name + ">" || 0;
}
return _this;
}
define_property_default()(CannotInstantiateValueError.prototype, "message", {
get: function get() {
return "Cannot instantiate the requested value for the \"" + this.normalizedIdentifier + "\" identifier. " + "The related metadata doesn't contain a factory or a type to instantiate.";
},
enumerable: false,
configurable: true
});
return CannotInstantiateValueError;
}(Error);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/symbol.js
var symbol = __webpack_require__(46475);
var symbol_default = /*#__PURE__*/__webpack_require__.n(symbol);
;// ./node_modules/.pnpm/typedi@0.10.0/node_modules/typedi/esm5/empty.const.js
var EMPTY_VALUE = symbol_default()('EMPTY_VALUE');
;// ./node_modules/.pnpm/typedi@0.10.0/node_modules/typedi/esm5/container-instance.class.js
var __assign = undefined && undefined.__assign || function () {
__assign = (assign_default()) || function (t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __spreadArrays = undefined && undefined.__spreadArrays || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j];
return r;
};
/**
* TypeDI can have multiple containers.
* One container is ContainerInstance.
*/
var ContainerInstance = /** @class */function () {
function ContainerInstance(id) {
/** All registered services in the container. */
this.services = [];
this.id = id;
}
ContainerInstance.prototype.has = function (identifier) {
return !!this.findService(identifier);
};
ContainerInstance.prototype.get = function (identifier) {
var globalContainer = Container.of(undefined);
var globalService = globalContainer.findService(identifier);
var scopedService = this.findService(identifier);
if (globalService && globalService.global === true) return this.getServiceValue(globalService);
if (scopedService) return this.getServiceValue(scopedService);
/** If it's the first time requested in the child container we load it from parent and set it. */
if (globalService && this !== globalContainer) {
var clonedService = __assign({}, globalService);
clonedService.value = EMPTY_VALUE;
/**
* We need to immediately set the empty value from the root container
* to prevent infinite lookup in cyclic dependencies.
*/
this.set(clonedService);
var value = this.getServiceValue(clonedService);
this.set(__assign(__assign({}, clonedService), {
value: value
}));
return value;
}
if (globalService) return this.getServiceValue(globalService);
throw new ServiceNotFoundError(identifier);
};
ContainerInstance.prototype.getMany = function (identifier) {
var _context;
var _this = this;
return map_default()(_context = this.findAllServices(identifier)).call(_context, function (service) {
return _this.getServiceValue(service);
});
};
ContainerInstance.prototype.set = function (identifierOrServiceMetadata, value) {
var _this = this;
if (identifierOrServiceMetadata instanceof Array) {
for_each_default()(identifierOrServiceMetadata).call(identifierOrServiceMetadata, function (data) {
return _this.set(data);
});
return this;
}
if (typeof identifierOrServiceMetadata === 'string' || identifierOrServiceMetadata instanceof Token) {
return this.set({
id: identifierOrServiceMetadata,
type: null,
value: value,
factory: undefined,
global: false,
multiple: false,
eager: false,
"transient": false
});
}
if (typeof identifierOrServiceMetadata === 'function') {
return this.set({
id: identifierOrServiceMetadata,
// TODO: remove explicit casting
type: identifierOrServiceMetadata,
value: value,
factory: undefined,
global: false,
multiple: false,
eager: false,
"transient": false
});
}
var newService = __assign({
id: new Token('UNREACHABLE'),
type: null,
factory: undefined,
value: EMPTY_VALUE,
global: false,
multiple: false,
eager: false,
"transient": false
}, identifierOrServiceMetadata);
var service = this.findService(newService.id);
if (service && service.multiple !== true) {
assign_default()(service, newService);
} else {
this.services.push(newService);
}
if (newService.eager) {
this.get(newService.id);
}
return this;
};
/**
* Removes services with a given service identifiers.
*/
ContainerInstance.prototype.remove = function (identifierOrIdentifierArray) {
var _this = this;
if (is_array_default()(identifierOrIdentifierArray)) {
for_each_default()(identifierOrIdentifierArray).call(identifierOrIdentifierArray, function (id) {
return _this.remove(id);
});
} else {
var _context2;
this.services = filter_default()(_context2 = this.services).call(_context2, function (service) {
if (service.id === identifierOrIdentifierArray) {
_this.destroyServiceInstance(service);
return false;
}
return true;
});
}
return this;
};
/**
* Completely resets the container by removing all previously registered services from it.
*/
ContainerInstance.prototype.reset = function (options) {
var _context3, _context4;
var _this = this;
if (options === void 0) {
options = {
strategy: 'resetValue'
};
}
switch (options.strategy) {
case 'resetValue':
for_each_default()(_context3 = this.services).call(_context3, function (service) {
return _this.destroyServiceInstance(service);
});
break;
case 'resetServices':
for_each_default()(_context4 = this.services).call(_context4, function (service) {
return _this.destroyServiceInstance(service);
});
this.services = [];
break;
default:
throw new Error('Received invalid reset strategy.');
}
return this;
};
/**
* Returns all services registered with the given identifier.
*/
ContainerInstance.prototype.findAllServices = function (identifier) {
var _context5;
return filter_default()(_context5 = this.services).call(_context5, function (service) {
return service.id === identifier;
});
};
/**
* Finds registered service in the with a given service identifier.
*/
ContainerInstance.prototype.findService = function (identifier) {
var _context6;
return find_default()(_context6 = this.services).call(_context6, function (service) {
return service.id === identifier;
});
};
/**
* Gets the value belonging to `serviceMetadata.id`.
*
* - if `serviceMetadata.value` is already set it is immediately returned
* - otherwise the requested type is resolved to the value saved to `serviceMetadata.value` and returned
*/
ContainerInstance.prototype.getServiceValue = function (serviceMetadata) {
var _a;
var value = EMPTY_VALUE;
/**
* If the service value has been set to anything prior to this call we return that value.
* NOTE: This part builds on the assumption that transient dependencies has no value set ever.
*/
if (serviceMetadata.value !== EMPTY_VALUE) {
return serviceMetadata.value;
}
/** If both factory and type is missing, we cannot resolve the requested ID. */
if (!serviceMetadata.factory && !serviceMetadata.type) {
throw new CannotInstantiateValueError(serviceMetadata.id);
}
/**
* If a factory is defined it takes priority over creating an instance via `new`.
* The return value of the factory is not checked, we believe by design that the user knows what he/she is doing.
*/
if (serviceMetadata.factory) {
/**
* If we received the factory in the [Constructable<Factory>, "functionName"] format, we need to create the
* factory first and then call the specified function on it.
*/
if (serviceMetadata.factory instanceof Array) {
var factoryInstance = void 0;
try {
/** Try to get the factory from TypeDI first, if failed, fall back to simply initiating the class. */
factoryInstance = this.get(serviceMetadata.factory[0]);
} catch (error) {
if (error instanceof ServiceNotFoundError) {
factoryInstance = new serviceMetadata.factory[0]();
} else {
throw error;
}
}
value = factoryInstance[serviceMetadata.factory[1]](this, serviceMetadata.id);
} else {
/** If only a simple function was provided we simply call it. */
value = serviceMetadata.factory(this, serviceMetadata.id);
}
}
/**
* If no factory was provided and only then, we create the instance from the type if it was set.
*/
if (!serviceMetadata.factory && serviceMetadata.type) {
var constructableTargetType = serviceMetadata.type;
// setup constructor parameters for a newly initialized service
var paramTypes = ((_a = Reflect) === null || _a === void 0 ? void 0 : _a.getMetadata('design:paramtypes', constructableTargetType)) || [];
var params = this.initializeParams(constructableTargetType, paramTypes);
// "extra feature" - always pass container instance as the last argument to the service function
// this allows us to support javascript where we don't have decorators and emitted metadata about dependencies
// need to be injected, and user can use provided container to get instances he needs
params.push(this);
value = new (bind_default()(constructableTargetType).apply(constructableTargetType, __spreadArrays([void 0], params)))();
// TODO: Calling this here, leads to infinite loop, because @Inject decorator registerds a handler
// TODO: which calls Container.get, which will check if the requested type has a value set and if not
// TODO: it will start the instantiation process over. So this is currently called outside of the if branch
// TODO: after the current value has been assigned to the serviceMetadata.
// this.applyPropertyHandlers(constructableTargetType, value as Constructable<unknown>);
}
/** If this is not a transient service, and we resolved something, then we set it as the value. */
if (!serviceMetadata["transient"] && value !== EMPTY_VALUE) {
serviceMetadata.value = value;
}
if (value === EMPTY_VALUE) {
/** This branch should never execute, but better to be safe than sorry. */
throw new CannotInstantiateValueError(serviceMetadata.id);
}
if (serviceMetadata.type) {
this.applyPropertyHandlers(serviceMetadata.type, value);
}
return value;
};
/**
* Initializes all parameter types for a given target service class.
*/
ContainerInstance.prototype.initializeParams = function (target, paramTypes) {
var _this = this;
return map_default()(paramTypes).call(paramTypes, function (paramType, index) {
var _context7;
var paramHandler = find_default()(_context7 = Container.handlers).call(_context7, function (handler) {
/**
* @Inject()-ed values are stored as parameter handlers and they reference their target
* when created. So when a class is extended the @Inject()-ed values are not inherited
* because the handler still points to the old object only.
*
* As a quick fix a single level parent lookup is added via `Object.getPrototypeOf(target)`,
* however this should be updated to a more robust solution.
*
* TODO: Add proper inheritance handling: either copy the handlers when a class is registered what
* TODO: has it's parent already registered as dependency or make the lookup search up to the base Object.
*/
return (handler.object === target || handler.object === get_prototype_of_default()(target)) && handler.index === index;
});
if (paramHandler) return paramHandler.value(_this);
if (paramType && paramType.name && !_this.isPrimitiveParamType(paramType.name)) {
return _this.get(paramType);
}
return undefined;
});
};
/**
* Checks if given parameter type is primitive type or not.
*/
ContainerInstance.prototype.isPrimitiveParamType = function (paramTypeName) {
var _context8;
return includes_default()(_context8 = ['string', 'boolean', 'number', 'object']).call(_context8, paramTypeName.toLowerCase());
};
/**
* Applies all registered handlers on a given target class.
*/
ContainerInstance.prototype.applyPropertyHandlers = function (target, instance) {
var _context9;
var _this = this;
for_each_default()(_context9 = Container.handlers).call(_context9, function (handler) {
if (typeof handler.index === 'number') return;
if (handler.object.constructor !== target && !(target.prototype instanceof handler.object.constructor)) return;
if (handler.propertyName) {
instance[handler.propertyName] = handler.value(_this);
}
});
};
/**
* Checks if the given service metadata contains a destroyable service instance and destroys it in place. If the service
* contains a callable function named `destroy` it is called but not awaited and the return value is ignored..
*
* @param serviceMetadata the service metadata containing the instance to destroy
* @param force when true the service will be always destroyed even if it's cannot be re-created
*/
ContainerInstance.prototype.destroyServiceInstance = function (serviceMetadata, force) {
if (force === void 0) {
force = false;
}
/** We reset value only if we can re-create it (aka type or factory exists). */
var shouldResetValue = force || !!serviceMetadata.type || !!serviceMetadata.factory;
if (shouldResetValue) {
/** If we wound a function named destroy we call it without any params. */
if (typeof (serviceMetadata === null || serviceMetadata === void 0 ? void 0 : serviceMetadata.value)['destroy'] === 'function') {
try {
serviceMetadata.value.destroy();
} catch (error) {
/** We simply ignore the errors from the destroy function. */
}
}
serviceMetadata.value = EMPTY_VALUE;
}
};
return ContainerInstance;
}();
;// ./node_modules/.pnpm/typedi@0.10.0/node_modules/typedi/esm5/container.class.js
/**
* Service container.
*/
var Container = /** @class */function () {
function Container() {}
/**
* Gets a separate container instance for the given instance id.
*/
Container.of = function (containerId) {
var _context;
if (containerId === void 0) {
containerId = 'default';
}
if (containerId === 'default') return this.globalInstance;
var container = find_default()(_context = this.instances).call(_context, function (instance) {
return instance.id === containerId;
});
if (!container) {
container = new ContainerInstance(containerId);
this.instances.push(container);
// TODO: Why we are not reseting here? Let's reset here. (I have added the commented code.)
// container.reset();
}
return container;
};
Container.has = function (identifier) {
return this.globalInstance.has(identifier);
};
Container.get = function (identifier) {
return this.globalInstance.get(identifier);
};
Container.getMany = function (id) {
return this.globalInstance.getMany(id);
};
Container.set = function (identifierOrServiceMetadata, value) {
this.globalInstance.set(identifierOrServiceMetadata, value);
return this;
};
/**
* Removes services with a given service identifiers.
*/
Container.remove = function (identifierOrIdentifierArray) {
this.globalInstance.remove(identifierOrIdentifierArray);
return this;
};
/**
* Completely resets the container by removing all previously registered services and handlers from it.
*/
Container.reset = function (containerId) {
if (containerId === void 0) {
containerId = 'default';
}
if (containerId == 'default') {
var _context2;
this.globalInstance.reset();
for_each_default()(_context2 = this.instances).call(_context2, function (instance) {
return instance.reset();
});
} else {
var _context3;
var instance = find_default()(_context3 = this.instances).call(_context3, function (instance) {
return instance.id === containerId;
});
if (instance) {
var _context4, _context5;
instance.reset();
splice_default()(_context4 = this.instances).call(_context4, index_of_default()(_context5 = this.instances).call(_context5, instance), 1);
}
}
return this;
};
/**
* Registers a new handler.
*/
Container.registerHandler = function (handler) {
this.handlers.push(handler);
return this;
};
/**
* Helper method that imports given services.
*/
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
Container["import"] = function (services) {
return this;
};
/**
* All registered handlers. The @Inject() decorator uses handlers internally to mark a property for injection.
**/
Container.handlers = [];
/** Global container instance. */
Container.globalInstance = new ContainerInstance('default');
/** Other containers created using Container.of method. */
Container.instances = [];
return Container;
}();
;// ./node_modules/.pnpm/typedi@0.10.0/node_modules/typedi/esm5/decorators/service.decorator.js
function Service(optionsOrServiceIdentifier) {
return function (targetConstructor) {
var serviceMetadata = {
id: targetConstructor,
// TODO: Let's investigate why we receive Function type instead of a constructable.
type: targetConstructor,
factory: undefined,
multiple: false,
global: false,
eager: false,
"transient": false,
value: EMPTY_VALUE
};
if (optionsOrServiceIdentifier instanceof Token || typeof optionsOrServiceIdentifier === 'string') {
/** We received a Token or string ID. */
serviceMetadata.id = optionsOrServiceIdentifier;
} else if (optionsOrServiceIdentifier) {
/** We received a ServiceOptions object. */
serviceMetadata.id = optionsOrServiceIdentifier.id || targetConstructor;
serviceMetadata.factory = optionsOrServiceIdentifier.factory || undefined;
serviceMetadata.multiple = optionsOrServiceIdentifier.multiple || false;
serviceMetadata.global = optionsOrServiceIdentifier.global || false;
serviceMetadata.eager = optionsOrServiceIdentifier.eager || false;
serviceMetadata["transient"] = optionsOrServiceIdentifier["transient"] || false;
}
Container.set(serviceMetadata);
};
}
;// ./src/services/index.ts
var services_Container = Container.of('default');
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/ends-with.js
var ends_with = __webpack_require__(77894);
var ends_with_default = /*#__PURE__*/__webpack_require__.n(ends_with);
;// ./src/utils/hosts.ts
function isDomain(hostname, domain) {
return hostname === domain || ends_with_default()(hostname).call(hostname, ".".concat(domain));
}
function isEh(hostname) {
if (hostname === FORUM) return false;
if (hostname === REPO) return false;
return isDomain(hostname, EH);
}
function isUnion(hostname) {
return isDomain(hostname, EXU);
}
function isEhGt(hostname) {
return isDomain(hostname, EHGT);
}
function isEx(hostname) {
return isDomain(hostname, EX) || isUnion(hostname);
}
function isRepo(hostname) {
return isDomain(hostname, REPO);
}
function isHathNetwork(hostname) {
return isDomain(hostname, HATH);
}
function isValidHost(hostname) {
if (!hostname) return false;
return isEh(hostname) || isEx(hostname) || isHathNetwork(hostname) || isRepo(hostname);
}
var EX = 'exhentai.org';
var EH = 'e-hentai.org';
var EXU = 'exhentai55ld2wyap5juskbm67czulomrouspdacjamjeloj7ugjbsad.onion';
var EHGT = 'ehgt.org';
var REPO = 'repo.e-hentai.org';
var HATH = 'hath.network';
var FORUM = 'forums.e-hentai.org';
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/promise.js
var promise = __webpack_require__(56586);
var promise_default = /*#__PURE__*/__webpack_require__.n(promise);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/set-timeout.js
var set_timeout = __webpack_require__(55621);
var set_timeout_default = /*#__PURE__*/__webpack_require__.n(set_timeout);
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/object/define-property.js
var object_define_property = __webpack_require__(7708);
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/symbol/index.js
var full_symbol = __webpack_require__(10164);
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/symbol/iterator.js
var iterator = __webpack_require__(68832);
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js
function _typeof(o) {
"@babel/helpers - typeof";
return _typeof = "function" == typeof full_symbol && "symbol" == typeof iterator ? function (o) {
return typeof o;
} : function (o) {
return o && "function" == typeof full_symbol && o.constructor === full_symbol && o !== full_symbol.prototype ? "symbol" : typeof o;
}, _typeof(o);
}
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/symbol/to-primitive.js
var to_primitive = __webpack_require__(94187);
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/toPrimitive.js
function toPrimitive(t, r) {
if ("object" != _typeof(t) || !t) return t;
var e = t[to_primitive];
if (void 0 !== e) {
var i = e.call(t, r || "default");
if ("object" != _typeof(i)) return i;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === r ? String : Number)(t);
}
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/toPropertyKey.js
function toPropertyKey(t) {
var i = toPrimitive(t, "string");
return "symbol" == _typeof(i) ? i : i + "";
}
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/createClass.js
function _defineProperties(e, r) {
for (var t = 0; t < r.length; t++) {
var o = r[t];
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), object_define_property(e, toPropertyKey(o.key), o);
}
}
function _createClass(e, r, t) {
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), object_define_property(e, "prototype", {
writable: !1
}), e;
}
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/classCallCheck.js
function _classCallCheck(a, n) {
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
}
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js
var concat = __webpack_require__(82179);
var concat_default = /*#__PURE__*/__webpack_require__.n(concat);
;// ./node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
/******************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
function tslib_es6_extends(d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}
var tslib_es6_assign = function() {
tslib_es6_assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
}
return tslib_es6_assign.apply(this, arguments);
}
function __rest(s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
}
function __decorate(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
}
function __param(paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); }
}
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
var _, done = false;
for (var i = decorators.length - 1; i >= 0; i--) {
var context = {};
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
if (kind === "accessor") {
if (result === void 0) continue;
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
if (_ = accept(result.get)) descriptor.get = _;
if (_ = accept(result.set)) descriptor.set = _;
if (_ = accept(result.init)) initializers.unshift(_);
}
else if (_ = accept(result)) {
if (kind === "field") initializers.unshift(_);
else descriptor[key] = _;
}
}
if (target) Object.defineProperty(target, contextIn.name, descriptor);
done = true;
};
function __runInitializers(thisArg, initializers, value) {
var useValue = arguments.length > 2;
for (var i = 0; i < initializers.length; i++) {
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
}
return useValue ? value : void 0;
};
function __propKey(x) {
return typeof x === "symbol" ? x : "".concat(x);
};
function __setFunctionName(f, name, prefix) {
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
};
function __metadata(metadataKey, metadataValue) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
}
function __awaiter(thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}
function __generator(thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
}
var __createBinding = Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
});
function __exportStar(m, o) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
}
function __values(o) {
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
if (m) return m.call(o);
if (o && typeof o.length === "number") return {
next: function () {
if (o && i >= o.length) o = void 0;
return { value: o && o[i++], done: !o };
}
};
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
}
function __read(o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
}
/** @deprecated */
function __spread() {
for (var ar = [], i = 0; i < arguments.length; i++)
ar = ar.concat(__read(arguments[i]));
return ar;
}
/** @deprecated */
function tslib_es6_spreadArrays() {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
}
function __spreadArray(to, from, pack) {
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
if (ar || !(i in from)) {
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
ar[i] = from[i];
}
}
return to.concat(ar || Array.prototype.slice.call(from));
}
function __await(v) {
return this instanceof __await ? (this.v = v, this) : new __await(v);
}
function __asyncGenerator(thisArg, _arguments, generator) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var g = generator.apply(thisArg, _arguments || []), i, q = [];
return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
function fulfill(value) { resume("next", value); }
function reject(value) { resume("throw", value); }
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
}
function __asyncDelegator(o) {
var i, p;
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
}
function __asyncValues(o) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var m = o[Symbol.asyncIterator], i;
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
}
function __makeTemplateObject(cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
var __setModuleDefault = Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
};
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
function __importStar(mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
}
function __importDefault(mod) {
return (mod && mod.__esModule) ? mod : { default: mod };
}
function __classPrivateFieldGet(receiver, state, kind, f) {
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
}
function __classPrivateFieldSet(receiver, state, value, kind, f) {
if (kind === "m") throw new TypeError("Private method is not writable");
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
}
function __classPrivateFieldIn(state, receiver) {
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
return typeof state === "function" ? receiver === state : state.has(receiver);
}
function __addDisposableResource(env, value, async) {
if (value !== null && value !== void 0) {
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
var dispose, inner;
if (async) {
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
dispose = value[Symbol.asyncDispose];
}
if (dispose === void 0) {
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
dispose = value[Symbol.dispose];
if (async) inner = dispose;
}
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };
env.stack.push({ value: value, dispose: dispose, async: async });
}
else if (async) {
env.stack.push({ async: true });
}
return value;
}
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
};
function __disposeResources(env) {
function fail(e) {
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
env.hasError = true;
}
var r, s = 0;
function next() {
while (r = env.stack.pop()) {
try {
if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
if (r.dispose) {
var result = r.dispose.call(r.value);
if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
}
else s |= 1;
}
catch (e) {
fail(e);
}
}
if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
if (env.hasError) throw env.error;
}
return next();
}
function __rewriteRelativeImportExtension(path, preserveJsx) {
if (typeof path === "string" && /^\.\.?\//.test(path)) {
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
});
}
return path;
}
/* harmony default export */ var tslib_es6 = ({
__extends: tslib_es6_extends,
__assign: tslib_es6_assign,
__rest,
__decorate,
__param,
__esDecorate,
__runInitializers,
__propKey,
__setFunctionName,
__metadata,
__awaiter,
__generator,
__createBinding,
__exportStar,
__values,
__read,
__spread,
__spreadArrays: tslib_es6_spreadArrays,
__spreadArray,
__await,
__asyncGenerator,
__asyncDelegator,
__asyncValues,
__makeTemplateObject,
__importStar,
__importDefault,
__classPrivateFieldGet,
__classPrivateFieldSet,
__classPrivateFieldIn,
__addDisposableResource,
__disposeResources,
__rewriteRelativeImportExtension,
});
;// ./src/services/logger.ts
var Logger = /*#__PURE__*/_createClass(function Logger() {
var _context,
_context2,
_context3,
_context4,
_context5,
_this = this;
_classCallCheck(this, Logger);
this.prefix = true ? '💉 脚本 ' : 0;
this.log = bind_default()(_context = console.log).call(_context, console, this.prefix);
this.info = bind_default()(_context2 = console.info).call(_context2, console, this.prefix);
this.warn = bind_default()(_context3 = console.warn).call(_context3, console, this.prefix);
this.error = bind_default()(_context4 = console.error).call(_context4, console, this.prefix);
this.debug = bind_default()(_context5 = console.debug).call(_context5, console, this.prefix);
this.time = function (label) {
var _context6, _context7, _context8;
var pLabel = concat_default()(_context6 = "".concat(_this.prefix, " ")).call(_context6, label);
console.time(pLabel);
return {
label: label,
log: bind_default()(_context7 = console.timeLog || console.log).call(_context7, console, pLabel),
end: bind_default()(_context8 = console.timeEnd).call(_context8, console, pLabel)
};
};
});
Logger = __decorate([Service()], Logger);
;// ./src/utils/dom.ts
/** 网页加载后调用 */
function ready(callback) {
var onError = function onError(ex) {
var logger = Container.get(Logger);
logger.error('执行文档加载回调失败', ex);
};
var f = function f() {
try {
promise_default().resolve(callback())["catch"](onError);
} catch (ex) {
onError(ex);
}
};
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', f, {
passive: true,
once: true
});
} else {
set_timeout_default()(f);
}
}
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/promise/index.js
var full_promise = __webpack_require__(14761);
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/asyncToGenerator.js
function asyncGeneratorStep(n, t, e, r, o, a, c) {
try {
var i = n[a](c),
u = i.value;
} catch (n) {
return void e(n);
}
i.done ? t(u) : full_promise.resolve(u).then(r, o);
}
function _asyncToGenerator(n) {
return function () {
var t = this,
e = arguments;
return new full_promise(function (r, o) {
var a = n.apply(t, e);
function _next(n) {
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
}
function _throw(n) {
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
}
_next(void 0);
});
};
}
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/starts-with.js
var starts_with = __webpack_require__(54211);
var starts_with_default = /*#__PURE__*/__webpack_require__.n(starts_with);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/regenerator/index.js
var regenerator = __webpack_require__(66342);
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js
var slice = __webpack_require__(33777);
var slice_default = /*#__PURE__*/__webpack_require__.n(slice);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js
var from = __webpack_require__(11949);
var from_default = /*#__PURE__*/__webpack_require__.n(from);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js/get-iterator-method.js
var get_iterator_method = __webpack_require__(49380);
var get_iterator_method_default = /*#__PURE__*/__webpack_require__.n(get_iterator_method);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js/global-this.js
var global_this = __webpack_require__(81291);
var global_this_default = /*#__PURE__*/__webpack_require__.n(global_this);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/keys.js
var instance_keys = __webpack_require__(64279);
var keys_default = /*#__PURE__*/__webpack_require__.n(instance_keys);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js
var object_keys = __webpack_require__(60747);
var object_keys_default = /*#__PURE__*/__webpack_require__.n(object_keys);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/reflect/construct.js
var construct = __webpack_require__(48412);
var construct_default = /*#__PURE__*/__webpack_require__.n(construct);
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/assertThisInitialized.js
function _assertThisInitialized(e) {
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return e;
}
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/possibleConstructorReturn.js
function _possibleConstructorReturn(t, e) {
if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
return _assertThisInitialized(t);
}
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/object/set-prototype-of.js
var object_set_prototype_of = __webpack_require__(61800);
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/instance/bind.js
var instance_bind = __webpack_require__(2656);
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/object/get-prototype-of.js
var object_get_prototype_of = __webpack_require__(53396);
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/getPrototypeOf.js
function _getPrototypeOf(t) {
var _context;
return _getPrototypeOf = object_set_prototype_of ? instance_bind(_context = object_get_prototype_of).call(_context) : function (t) {
return t.__proto__ || object_get_prototype_of(t);
}, _getPrototypeOf(t);
}
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/object/create.js
var object_create = __webpack_require__(92427);
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/setPrototypeOf.js
function _setPrototypeOf(t, e) {
var _context;
return _setPrototypeOf = object_set_prototype_of ? instance_bind(_context = object_set_prototype_of).call(_context) : function (t, e) {
return t.__proto__ = e, t;
}, _setPrototypeOf(t, e);
}
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/inherits.js
function _inherits(t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = object_create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), object_define_property(t, "prototype", {
writable: !1
}), e && _setPrototypeOf(t, e);
}
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/map.js
var core_js_stable_map = __webpack_require__(88009);
var core_js_stable_map_default = /*#__PURE__*/__webpack_require__.n(core_js_stable_map);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/values.js
var instance_values = __webpack_require__(45501);
var values_default = /*#__PURE__*/__webpack_require__.n(instance_values);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/json/stringify.js
var stringify = __webpack_require__(85467);
var stringify_default = /*#__PURE__*/__webpack_require__.n(stringify);
;// ./node_modules/.pnpm/idb-keyval@6.2.1/node_modules/idb-keyval/dist/index.js
function promisifyRequest(request) {
return new promise(function (resolve, reject) {
// @ts-ignore - file size hacks
request.oncomplete = request.onsuccess = function () {
return resolve(request.result);
};
// @ts-ignore - file size hacks
request.onabort = request.onerror = function () {
return reject(request.error);
};
});
}
function createStore(dbName, storeName) {
var request = indexedDB.open(dbName);
request.onupgradeneeded = function () {
return request.result.createObjectStore(storeName);
};
var dbp = promisifyRequest(request);
return function (txMode, callback) {
return dbp.then(function (db) {
return callback(db.transaction(storeName, txMode).objectStore(storeName));
});
};
}
var defaultGetStoreFunc;
function defaultGetStore() {
if (!defaultGetStoreFunc) {
defaultGetStoreFunc = createStore('keyval-store', 'keyval');
}
return defaultGetStoreFunc;
}
/**
* Get a value by its key.
*
* @param key
* @param customStore Method to get a custom store. Use with caution (see the docs).
*/
function dist_get(key) {
var customStore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultGetStore();
return customStore('readonly', function (store) {
return promisifyRequest(store.get(key));
});
}
/**
* Set a value with a key.
*
* @param key
* @param value
* @param customStore Method to get a custom store. Use with caution (see the docs).
*/
function dist_set(key, value) {
var customStore = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultGetStore();
return customStore('readwrite', function (store) {
store.put(value, key);
return promisifyRequest(store.transaction);
});
}
/**
* Set multiple values at once. This is faster than calling set() multiple times.
* It's also atomic – if one of the pairs can't be added, none will be added.
*
* @param entries Array of entries, where each entry is an array of `[key, value]`.
* @param customStore Method to get a custom store. Use with caution (see the docs).
*/
function setMany(entries) {
var customStore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultGetStore();
return customStore('readwrite', function (store) {
_forEachInstanceProperty(entries).call(entries, function (entry) {
return store.put(entry[1], entry[0]);
});
return promisifyRequest(store.transaction);
});
}
/**
* Get multiple values by their keys
*
* @param keys
* @param customStore Method to get a custom store. Use with caution (see the docs).
*/
function getMany(keys) {
var customStore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultGetStore();
return customStore('readonly', function (store) {
return _Promise.all(_mapInstanceProperty(keys).call(keys, function (key) {
return promisifyRequest(store.get(key));
}));
});
}
/**
* Update a value. This lets you see the old value and update it as an atomic operation.
*
* @param key
* @param updater A callback that takes the old value and returns a new value.
* @param customStore Method to get a custom store. Use with caution (see the docs).
*/
function update(key, updater) {
var customStore = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultGetStore();
return customStore('readwrite', function (store) {
return (
// Need to create the promise manually.
// If I try to chain promises, the transaction closes in browsers
// that use a promise polyfill (IE10/11).
new _Promise(function (resolve, reject) {
store.get(key).onsuccess = function () {
try {
store.put(updater(this.result), key);
resolve(promisifyRequest(store.transaction));
} catch (err) {
reject(err);
}
};
})
);
});
}
/**
* Delete a particular key from the store.
*
* @param key
* @param customStore Method to get a custom store. Use with caution (see the docs).
*/
function del(key) {
var customStore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultGetStore();
return customStore('readwrite', function (store) {
store["delete"](key);
return promisifyRequest(store.transaction);
});
}
/**
* Delete multiple keys at once.
*
* @param keys List of keys to delete.
* @param customStore Method to get a custom store. Use with caution (see the docs).
*/
function delMany(keys) {
var customStore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultGetStore();
return customStore('readwrite', function (store) {
_forEachInstanceProperty(keys).call(keys, function (key) {
return store["delete"](key);
});
return promisifyRequest(store.transaction);
});
}
/**
* Clear all values in the store.
*
* @param customStore Method to get a custom store. Use with caution (see the docs).
*/
function clear() {
var customStore = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultGetStore();
return customStore('readwrite', function (store) {
store.clear();
return promisifyRequest(store.transaction);
});
}
function eachCursor(store, callback) {
store.openCursor().onsuccess = function () {
if (!this.result) return;
callback(this.result);
this.result["continue"]();
};
return promisifyRequest(store.transaction);
}
/**
* Get all keys in the store.
*
* @param customStore Method to get a custom store. Use with caution (see the docs).
*/
function dist_keys() {
var customStore = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultGetStore();
return customStore('readonly', function (store) {
// Fast path for modern browsers
if (store.getAllKeys) {
return promisifyRequest(store.getAllKeys());
}
var items = [];
return eachCursor(store, function (cursor) {
return items.push(cursor.key);
}).then(function () {
return items;
});
});
}
/**
* Get all values in the store.
*
* @param customStore Method to get a custom store. Use with caution (see the docs).
*/
function values() {
var customStore = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultGetStore();
return customStore('readonly', function (store) {
// Fast path for modern browsers
if (store.getAll) {
return promisifyRequest(store.getAll());
}
var items = [];
return eachCursor(store, function (cursor) {
return items.push(cursor.value);
}).then(function () {
return items;
});
});
}
/**
* Get all entries in the store. Each entry is an array of `[key, value]`.
*
* @param customStore Method to get a custom store. Use with caution (see the docs).
*/
function entries() {
var customStore = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultGetStore();
return customStore('readonly', function (store) {
// Fast path for modern browsers
// (although, hopefully we'll get a simpler path some day)
if (store.getAll && store.getAllKeys) {
return _Promise.all([promisifyRequest(store.getAllKeys()), promisifyRequest(store.getAll())]).then(function (_ref) {
var _ref2 = _slicedToArray(_ref, 2),
keys = _ref2[0],
values = _ref2[1];
return _mapInstanceProperty(keys).call(keys, function (key, i) {
return [key, values[i]];
});
});
}
var items = [];
return customStore('readonly', function (store) {
return eachCursor(store, function (cursor) {
return items.push([cursor.key, cursor.value]);
}).then(function () {
return items;
});
});
});
}
;// ./src/providers/user-script/storage.ts
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? construct_default()(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(construct_default()(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof (symbol_default()) && get_iterator_method_default()(r) || r["@@iterator"]; if (!t) { if (is_array_default()(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, 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 o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
function _unsupportedIterableToArray(r, a) { if (r) { var _context10; if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = slice_default()(_context10 = {}.toString.call(r)).call(_context10, 8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? from_default()(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
var syncMark = '__sync__';
var AsyncPolyfill = /*#__PURE__*/function () {
function AsyncPolyfill() {
_classCallCheck(this, AsyncPolyfill);
this.listenerId = 1;
this.listeners = new (core_js_stable_map_default())();
this.store = createStore('EhSyringe', 'keyval');
}
return _createClass(AsyncPolyfill, [{
key: "onAllStorageChange",
value: function () {
var _onAllStorageChange = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee() {
var _context, _context2;
var values, _iterator, _step, name, _iterator2, _step2, _step2$value, _name, listener;
return regenerator_default().wrap(function _callee$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
values = new (core_js_stable_map_default())();
_iterator = _createForOfIteratorHelper(values_default()(_context = this.listeners).call(_context));
_context3.prev = 2;
_iterator.s();
case 4:
if ((_step = _iterator.n()).done) {
_context3.next = 15;
break;
}
name = _step.value.name;
if (values.has(name)) {
_context3.next = 13;
break;
}
_context3.t0 = values;
_context3.t1 = name;
_context3.next = 11;
return this.get(name);
case 11:
_context3.t2 = _context3.sent;
_context3.t0.set.call(_context3.t0, _context3.t1, _context3.t2);
case 13:
_context3.next = 4;
break;
case 15:
_context3.next = 20;
break;
case 17:
_context3.prev = 17;
_context3.t3 = _context3["catch"](2);
_iterator.e(_context3.t3);
case 20:
_context3.prev = 20;
_iterator.f();
return _context3.finish(20);
case 23:
_iterator2 = _createForOfIteratorHelper(values_default()(_context2 = this.listeners).call(_context2));
try {
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
_step2$value = _step2.value, _name = _step2$value.name, listener = _step2$value.listener;
listener(_name, undefined, values.get(_name), false);
}
} catch (err) {
_iterator2.e(err);
} finally {
_iterator2.f();
}
case 25:
case "end":
return _context3.stop();
}
}, _callee, this, [[2, 17, 20, 23]]);
}));
function onAllStorageChange() {
return _onAllStorageChange.apply(this, arguments);
}
return onAllStorageChange;
}()
}, {
key: "onStorageChange",
value: function onStorageChange(key, oldValue, value) {
var _context4;
if (!key) {
void this.onAllStorageChange();
return;
}
var _iterator3 = _createForOfIteratorHelper(values_default()(_context4 = this.listeners).call(_context4)),
_step3;
try {
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
var _step3$value = _step3.value,
name = _step3$value.name,
listener = _step3$value.listener;
if (name !== key) continue;
listener(name, oldValue, value, false);
}
} catch (err) {
_iterator3.e(err);
} finally {
_iterator3.f();
}
}
}, {
key: "get",
value: function get(key) {
return dist_get(key, this.store);
}
}, {
key: "set",
value: function () {
var _set2 = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee2(key, value) {
var oldValue;
return regenerator_default().wrap(function _callee2$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
_context5.next = 2;
return this.get(key);
case 2:
oldValue = _context5.sent;
_context5.next = 5;
return dist_set(key, value, this.store);
case 5:
this.onStorageChange(key, oldValue, value);
case 6:
case "end":
return _context5.stop();
}
}, _callee2, this);
}));
function set(_x, _x2) {
return _set2.apply(this, arguments);
}
return set;
}()
}, {
key: "delete",
value: function () {
var _delete2 = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee3(key) {
var oldValue;
return regenerator_default().wrap(function _callee3$(_context6) {
while (1) switch (_context6.prev = _context6.next) {
case 0:
_context6.next = 2;
return this.get(key);
case 2:
oldValue = _context6.sent;
_context6.next = 5;
return del(key, this.store);
case 5:
this.onStorageChange(key, oldValue, undefined);
case 6:
case "end":
return _context6.stop();
}
}, _callee3, this);
}));
function _delete(_x3) {
return _delete2.apply(this, arguments);
}
return _delete;
}()
}, {
key: "keys",
value: function () {
var _keys2 = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee4() {
var ks;
return regenerator_default().wrap(function _callee4$(_context7) {
while (1) switch (_context7.prev = _context7.next) {
case 0:
_context7.next = 2;
return dist_keys(this.store);
case 2:
ks = _context7.sent;
return _context7.abrupt("return", filter_default()(ks).call(ks, function (k) {
return typeof k == 'string';
}));
case 4:
case "end":
return _context7.stop();
}
}, _callee4, this);
}));
function keys() {
return _keys2.apply(this, arguments);
}
return keys;
}()
}, {
key: "on",
value: function on(key, listener) {
var id = this.listenerId++;
this.listeners.set(id, {
name: key,
listener: listener
});
return id;
}
}, {
key: "off",
value: function off(key, id) {
this.listeners["delete"](id);
}
}]);
}();
var GmAsyncStorage = /*#__PURE__*/function () {
function GmAsyncStorage() {
_classCallCheck(this, GmAsyncStorage);
}
return _createClass(GmAsyncStorage, [{
key: "get",
value: function get(key) {
return promise_default().resolve(GM_getValue(key));
}
}, {
key: "set",
value: function set(key, value) {
return promise_default().resolve(GM_setValue(key, value));
}
}, {
key: "delete",
value: function _delete(key) {
return promise_default().resolve(GM_deleteValue(key));
}
}, {
key: "keys",
value: function keys() {
var _context8;
return promise_default().resolve(filter_default()(_context8 = GM_listValues()).call(_context8, function (k) {
return !starts_with_default()(k).call(k, syncMark);
}));
}
}, {
key: "on",
value: function on(key, listener) {
return GM_addValueChangeListener(key, listener);
}
}, {
key: "off",
value: function off(key, id) {
GM_removeValueChangeListener(id);
}
}]);
}();
var GM_ALL_DEFINED = typeof GM_getValue == 'function' && typeof GM_setValue == 'function' && typeof GM_deleteValue == 'function' && typeof GM_listValues == 'function' && typeof GM_addValueChangeListener == 'function' && typeof GM_removeValueChangeListener == 'function';
var storage = GM_ALL_DEFINED ? new GmAsyncStorage() : new AsyncPolyfill();
var SyncStorageBase = /*#__PURE__*/function () {
function SyncStorageBase() {
_classCallCheck(this, SyncStorageBase);
}
return _createClass(SyncStorageBase, [{
key: "keys",
value: function keys() {
var names = [];
var prefix = this.KEY_PREFIX;
var _iterator4 = _createForOfIteratorHelper(this.list()),
_step4;
try {
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
var key = _step4.value;
if (!key) break;
if (starts_with_default()(key).call(key, prefix)) {
names.push(slice_default()(key).call(key, prefix.length));
}
}
} catch (err) {
_iterator4.e(err);
} finally {
_iterator4.f();
}
return names;
}
}, {
key: "key",
value: function key(_key) {
return this.KEY_PREFIX + _key;
}
}]);
}();
var SyncPolyfill = /*#__PURE__*/function (_SyncStorageBase) {
function SyncPolyfill() {
var _this;
_classCallCheck(this, SyncPolyfill);
_this = _callSuper(this, SyncPolyfill, arguments);
_this.KEY_PREFIX = 'EH_SYNC_POLYFILL_';
return _this;
}
_inherits(SyncPolyfill, _SyncStorageBase);
return _createClass(SyncPolyfill, [{
key: "parse",
value: function parse(value, defaultValue) {
if (!value) return defaultValue;
try {
return JSON.parse(value);
} catch (_unused) {
return defaultValue;
}
}
}, {
key: "get",
value: function get(key) {
var value = localStorage.getItem(this.key(key));
return this.parse(value);
}
}, {
key: "set",
value: function set(key, value) {
if (value === undefined) {
return this["delete"](key);
}
var jValue = stringify_default()(value);
localStorage.setItem(this.key(key), jValue);
}
}, {
key: "delete",
value: function _delete(key) {
localStorage.removeItem(this.key(key));
}
}, {
key: "list",
value: /*#__PURE__*/regenerator_default().mark(function list() {
var i, key;
return regenerator_default().wrap(function list$(_context9) {
while (1) switch (_context9.prev = _context9.next) {
case 0:
i = 0;
case 1:
if (!(i < localStorage.length)) {
_context9.next = 9;
break;
}
key = localStorage.key(i);
if (!key) {
_context9.next = 6;
break;
}
_context9.next = 6;
return key;
case 6:
i++;
_context9.next = 1;
break;
case 9:
case "end":
return _context9.stop();
}
}, list);
})
}]);
}(SyncStorageBase);
var GMSyncStorage = /*#__PURE__*/function (_SyncStorageBase2) {
function GMSyncStorage() {
var _this2;
_classCallCheck(this, GMSyncStorage);
_this2 = _callSuper(this, GMSyncStorage, arguments);
_this2.KEY_PREFIX = syncMark;
return _this2;
}
_inherits(GMSyncStorage, _SyncStorageBase2);
return _createClass(GMSyncStorage, [{
key: "get",
value: function get(key) {
return GM_getValue(this.key(key));
}
}, {
key: "set",
value: function set(key, value) {
GM_setValue(this.key(key), value);
}
}, {
key: "delete",
value: function _delete(key) {
GM_deleteValue(this.key(key));
}
}, {
key: "list",
value: function list() {
return GM_listValues();
}
}]);
}(SyncStorageBase);
var GM_ALL_SYNC_DEFINED = typeof GM_getValue == 'function' && typeof GM_setValue == 'function' && typeof GM_deleteValue == 'function' && typeof GM_listValues == 'function';
var syncStorage = GM_ALL_SYNC_DEFINED ? new GMSyncStorage() : new SyncPolyfill();
;// ./src/services/storage.ts
function storage_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof (symbol_default()) && get_iterator_method_default()(r) || r["@@iterator"]; if (!t) { if (is_array_default()(r) || (t = storage_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, 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 o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
function storage_unsupportedIterableToArray(r, a) { if (r) { var _context8; if ("string" == typeof r) return storage_arrayLikeToArray(r, a); var t = slice_default()(_context8 = {}.toString.call(r)).call(_context8, 8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? from_default()(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? storage_arrayLikeToArray(r, a) : void 0; } }
function storage_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
var ImageLevel;
(function (ImageLevel) {
ImageLevel[ImageLevel["hide"] = 0] = "hide";
ImageLevel[ImageLevel["nonH"] = 1] = "nonH";
ImageLevel[ImageLevel["r18"] = 2] = "r18";
ImageLevel[ImageLevel["r18g"] = 3] = "r18g";
})(ImageLevel || (ImageLevel = {}));
var Storage = /*#__PURE__*/function () {
function Storage(logger) {
var _this = this;
_classCallCheck(this, Storage);
this.logger = logger;
this.defaults = {
extensionCheck: 0,
config: {
translateUi: true,
translateTag: true,
translateTimestamp: true,
showIntroduce: true,
showIcon: true,
introduceImageLevel: ImageLevel.r18g,
autoUpdate: true,
tagTip: true
},
database: undefined,
databaseInfo: undefined,
release: undefined,
origin: 'https://e-hentai.org'
};
define_property_default()((global_this_default()), '__eh_storage__', {
value: function value() {
_asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee() {
var keys, _iterator, _step, key;
return regenerator_default().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return keys_default()(_this).call(_this);
case 2:
keys = _context.sent;
_iterator = storage_createForOfIteratorHelper(keys);
_context.prev = 4;
_iterator.s();
case 6:
if ((_step = _iterator.n()).done) {
_context.next = 16;
break;
}
key = _step.value;
_context.t0 = console;
_context.t1 = key;
_context.next = 12;
return _this.get(key);
case 12:
_context.t2 = _context.sent;
_context.t0.log.call(_context.t0, _context.t1, _context.t2);
case 14:
_context.next = 6;
break;
case 16:
_context.next = 21;
break;
case 18:
_context.prev = 18;
_context.t3 = _context["catch"](4);
_iterator.e(_context.t3);
case 21:
_context.prev = 21;
_iterator.f();
return _context.finish(21);
case 24:
case "end":
return _context.stop();
}
}, _callee, null, [[4, 18, 21, 24]]);
}))()["catch"](logger.error);
}
});
this.migrate()["catch"](logger.error);
}
return _createClass(Storage, [{
key: "get",
value: function () {
var _get = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee2(key) {
var value;
return regenerator_default().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
return storage.get(key);
case 2:
value = _context2.sent;
if (!(value == null)) {
_context2.next = 5;
break;
}
return _context2.abrupt("return", this.defaults[key]);
case 5:
return _context2.abrupt("return", value);
case 6:
case "end":
return _context2.stop();
}
}, _callee2, this);
}));
function get(_x) {
return _get.apply(this, arguments);
}
return get;
}()
}, {
key: "set",
value: function () {
var _set = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee3(key, value) {
return regenerator_default().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
if (!(value == null)) {
_context3.next = 2;
break;
}
return _context3.abrupt("return", this["delete"](key));
case 2:
return _context3.abrupt("return", storage.set(key, value));
case 3:
case "end":
return _context3.stop();
}
}, _callee3, this);
}));
function set(_x2, _x3) {
return _set.apply(this, arguments);
}
return set;
}()
}, {
key: "delete",
value: function () {
var _delete2 = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee4(key) {
return regenerator_default().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
_context4.next = 2;
return storage["delete"](key);
case 2:
return _context4.abrupt("return", _context4.sent);
case 3:
case "end":
return _context4.stop();
}
}, _callee4);
}));
function _delete(_x4) {
return _delete2.apply(this, arguments);
}
return _delete;
}()
}, {
key: "keys",
value: function () {
var _keys = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee5() {
return regenerator_default().wrap(function _callee5$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
_context5.next = 2;
return keys_default()(storage).call(storage);
case 2:
return _context5.abrupt("return", _context5.sent);
case 3:
case "end":
return _context5.stop();
}
}, _callee5);
}));
function keys() {
return _keys.apply(this, arguments);
}
return keys;
}()
}, {
key: "on",
value: function on(key, listener) {
return storage.on(key, listener);
}
}, {
key: "off",
value: function off(key, listener) {
return storage.off(key, listener);
}
}, {
key: "migrate",
value: function () {
var _migrate = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee6() {
var _context6;
var keys, keysInCurrentVersion, deletes, _iterator2, _step2, key;
return regenerator_default().wrap(function _callee6$(_context7) {
while (1) switch (_context7.prev = _context7.next) {
case 0:
_context7.next = 2;
return keys_default()(_context6 = this).call(_context6);
case 2:
keys = _context7.sent;
keysInCurrentVersion = object_keys_default()(this.defaults);
deletes = filter_default()(keys).call(keys, function (k) {
return !includes_default()(keysInCurrentVersion).call(keysInCurrentVersion, k);
});
if (!(deletes.length === 0)) {
_context7.next = 7;
break;
}
return _context7.abrupt("return");
case 7:
this.logger.log("\u8FC1\u79FB\u5B58\u50A8\u7248\u672C\uFF0C\u5220\u9664 ", deletes);
_iterator2 = storage_createForOfIteratorHelper(deletes);
_context7.prev = 9;
_iterator2.s();
case 11:
if ((_step2 = _iterator2.n()).done) {
_context7.next = 17;
break;
}
key = _step2.value;
_context7.next = 15;
return this["delete"](key);
case 15:
_context7.next = 11;
break;
case 17:
_context7.next = 22;
break;
case 19:
_context7.prev = 19;
_context7.t0 = _context7["catch"](9);
_iterator2.e(_context7.t0);
case 22:
_context7.prev = 22;
_iterator2.f();
return _context7.finish(22);
case 25:
case "end":
return _context7.stop();
}
}, _callee6, this, [[9, 19, 22, 25]]);
}));
function migrate() {
return _migrate.apply(this, arguments);
}
return migrate;
}()
}]);
}();
Storage = __decorate([Service(), __metadata("design:paramtypes", [Logger])], Storage);
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/array/is-array.js
var array_is_array = __webpack_require__(12377);
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/arrayLikeToArray.js
function arrayLikeToArray_arrayLikeToArray(r, a) {
(null == a || a > r.length) && (a = r.length);
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
return n;
}
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/arrayWithoutHoles.js
function _arrayWithoutHoles(r) {
if (array_is_array(r)) return arrayLikeToArray_arrayLikeToArray(r);
}
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/get-iterator-method.js
var full_get_iterator_method = __webpack_require__(99878);
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/array/from.js
var array_from = __webpack_require__(71277);
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArray.js
function _iterableToArray(r) {
if ("undefined" != typeof full_symbol && null != full_get_iterator_method(r) || null != r["@@iterator"]) return array_from(r);
}
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/instance/slice.js
var instance_slice = __webpack_require__(52369);
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/unsupportedIterableToArray.js
function unsupportedIterableToArray_unsupportedIterableToArray(r, a) {
if (r) {
var _context;
if ("string" == typeof r) return arrayLikeToArray_arrayLikeToArray(r, a);
var t = instance_slice(_context = {}.toString.call(r)).call(_context, 8, -1);
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? array_from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray_arrayLikeToArray(r, a) : void 0;
}
}
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableSpread.js
function _nonIterableSpread() {
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js
function _toConsumableArray(r) {
return _arrayWithoutHoles(r) || _iterableToArray(r) || unsupportedIterableToArray_unsupportedIterableToArray(r) || _nonIterableSpread();
}
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/set.js
var set = __webpack_require__(79599);
var set_default = /*#__PURE__*/__webpack_require__.n(set);
;// ./src/providers/common/messaging.ts
var Multicast = /*#__PURE__*/function () {
function Multicast(key) {
_classCallCheck(this, Multicast);
this.key = key;
this.listeners = new (set_default())();
}
return _createClass(Multicast, [{
key: "size",
get: function get() {
return this.listeners.size;
}
}, {
key: "add",
value: function add(listener) {
this.listeners.add(listener);
}
}, {
key: "remove",
value: function remove(listener) {
return this.listeners["delete"](listener);
}
}, {
key: "handle",
value: function () {
var _handle = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee(request) {
var _context, _context2;
var promises, first, all;
return regenerator_default().wrap(function _callee$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
promises = map_default()(_context = _toConsumableArray(keys_default()(_context2 = this.listeners).call(_context2))).call(_context, function (listener) {
return promise_default().resolve(listener(request));
});
_context3.prev = 1;
_context3.next = 4;
return promise_default().race(promises);
case 4:
first = _context3.sent;
_context3.next = 7;
return promise_default().all(promises);
case 7:
all = _context3.sent;
return _context3.abrupt("return", first);
case 11:
_context3.prev = 11;
_context3.t0 = _context3["catch"](1);
define_property_default()(_context3.t0, 'request', {
value: request,
enumerable: true
});
if (first) define_property_default()(_context3.t0, 'firstReply', {
value: first,
enumerable: true
});
if (all) define_property_default()(_context3.t0, 'replies', {
value: all,
enumerable: true
});
throw _context3.t0;
case 17:
case "end":
return _context3.stop();
}
}, _callee, this, [[1, 11]]);
}));
function handle(_x) {
return _handle.apply(this, arguments);
}
return handle;
}()
}]);
}();
var Messaging = /*#__PURE__*/function () {
function Messaging() {
_classCallCheck(this, Messaging);
this.handlers = new (core_js_stable_map_default())();
}
return _createClass(Messaging, [{
key: "on",
value: function on(key, listener) {
var handler = this.handlers.get(key);
if (!handler) {
handler = new Multicast(key);
this.handlers.set(key, handler);
}
handler.add(listener);
return {
key: key,
value: listener
};
}
}, {
key: "off",
value: function off(listener) {
var handler = this.handlers.get(listener.key);
if (!handler) return false;
return handler.remove(listener.value);
}
}, {
key: "emit",
value: function () {
var _emit = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee2(key, args) {
var broadcast,
handler,
handles,
_args2 = arguments;
return regenerator_default().wrap(function _callee2$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
broadcast = _args2.length > 2 && _args2[2] !== undefined ? _args2[2] : false;
handler = this.handlers.get(key);
if (!(!handler || handler.size === 0)) {
_context4.next = 6;
break;
}
if (!broadcast) {
_context4.next = 5;
break;
}
return _context4.abrupt("return", promise_default().resolve(undefined));
case 5:
return _context4.abrupt("return", promise_default().reject(new Error("\u6D88\u606F ".concat(key, " \u8FD8\u672A\u6CE8\u518C\u8FC7\u5904\u7406\u7A0B\u5E8F"))));
case 6:
handles = handler.handle(args);
if (!broadcast) {
_context4.next = 18;
break;
}
_context4.prev = 8;
_context4.next = 11;
return handles;
case 11:
return _context4.abrupt("return", _context4.sent);
case 14:
_context4.prev = 14;
_context4.t0 = _context4["catch"](8);
console.error(_context4.t0);
return _context4.abrupt("return", undefined);
case 18:
return _context4.abrupt("return", handles);
case 19:
case "end":
return _context4.stop();
}
}, _callee2, this, [[8, 14]]);
}));
function emit(_x2, _x3) {
return _emit.apply(this, arguments);
}
return emit;
}()
}]);
}();
var messaging = new Messaging();
;// ./src/providers/user-script/messaging.ts
var messaging_messaging = new Messaging();
;// ./src/services/messaging.ts
var messaging_Messaging = /*#__PURE__*/function () {
function Messaging(logger) {
_classCallCheck(this, Messaging);
this.logger = logger;
}
return _createClass(Messaging, [{
key: "on",
value: function on(key, listener) {
this.logger.log("\u76D1\u542C\u4E8B\u4EF6", key);
return messaging_messaging.on(key, listener);
}
}, {
key: "off",
value: function off(listener) {
return messaging_messaging.off(listener);
}
}, {
key: "emit",
value: function emit(key, args) {
var broadcast = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
return messaging_messaging.emit(key, args, broadcast);
}
}]);
}();
messaging_Messaging = __decorate([Service(), __metadata("design:paramtypes", [Logger])], messaging_Messaging);
// EXTERNAL MODULE: ./node_modules/.pnpm/style-loader@4.0.0_webpack@5.96.1/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
var injectStylesIntoStyleTag = __webpack_require__(6726);
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
// EXTERNAL MODULE: ./node_modules/.pnpm/style-loader@4.0.0_webpack@5.96.1/node_modules/style-loader/dist/runtime/styleDomAPI.js
var styleDomAPI = __webpack_require__(2175);
var styleDomAPI_default = /*#__PURE__*/__webpack_require__.n(styleDomAPI);
// EXTERNAL MODULE: ./node_modules/.pnpm/style-loader@4.0.0_webpack@5.96.1/node_modules/style-loader/dist/runtime/insertBySelector.js
var insertBySelector = __webpack_require__(26005);
var insertBySelector_default = /*#__PURE__*/__webpack_require__.n(insertBySelector);
// EXTERNAL MODULE: ./node_modules/.pnpm/style-loader@4.0.0_webpack@5.96.1/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js
var setAttributesWithoutAttributes = __webpack_require__(62246);
var setAttributesWithoutAttributes_default = /*#__PURE__*/__webpack_require__.n(setAttributesWithoutAttributes);
// EXTERNAL MODULE: ./node_modules/.pnpm/style-loader@4.0.0_webpack@5.96.1/node_modules/style-loader/dist/runtime/insertStyleElement.js
var insertStyleElement = __webpack_require__(3842);
var insertStyleElement_default = /*#__PURE__*/__webpack_require__.n(insertStyleElement);
// EXTERNAL MODULE: ./node_modules/.pnpm/style-loader@4.0.0_webpack@5.96.1/node_modules/style-loader/dist/runtime/styleTagTransform.js
var styleTagTransform = __webpack_require__(74199);
var styleTagTransform_default = /*#__PURE__*/__webpack_require__.n(styleTagTransform);
// EXTERNAL MODULE: ./node_modules/.pnpm/css-loader@7.1.2_webpack@5.96.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.6.3_webpack@5.96.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/.pnpm/less-loader@12.2.0_less@4.2.0_webpack@5.96.1/node_modules/less-loader/dist/cjs.js!./src/plugin/introduce/index.less
var introduce = __webpack_require__(13740);
;// ./src/plugin/introduce/index.less
var options = {};
options.styleTagTransform = (styleTagTransform_default());
options.setAttributes = (setAttributesWithoutAttributes_default());
options.insert = insertBySelector_default().bind(null, ":root");
options.domAPI = (styleDomAPI_default());
options.insertStyleElement = (insertStyleElement_default());
var introduce_update = injectStylesIntoStyleTag_default()(introduce/* default */.A, options);
/* harmony default export */ var plugin_introduce = (introduce/* default */.A && introduce/* default */.A.locals ? introduce/* default */.A.locals : undefined);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.js
var trim = __webpack_require__(73679);
var trim_default = /*#__PURE__*/__webpack_require__.n(trim);
// EXTERNAL MODULE: ./node_modules/.pnpm/escape-html@1.0.3/node_modules/escape-html/index.js
var escape_html = __webpack_require__(11519);
var escape_html_default = /*#__PURE__*/__webpack_require__.n(escape_html);
;// ./node_modules/.pnpm/emoji-regex@10.4.0/node_modules/emoji-regex/index.mjs
/* harmony default export */ var emoji_regex = (() => {
// https://mths.be/emoji
return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
});
;// ./src/services/tagging.ts
var emojiReg = emoji_regex();
var nsDic = {
r: 'reclass',
reclass: 'reclass',
l: 'language',
language: 'language',
lang: 'language',
o: 'other',
other: 'other',
p: 'parody',
parody: 'parody',
series: 'parody',
c: 'character',
"char": 'character',
character: 'character',
cos: 'cosplayer',
coser: 'cosplayer',
cosplayer: 'cosplayer',
g: 'group',
group: 'group',
creator: 'group',
circle: 'group',
a: 'artist',
artist: 'artist',
m: 'male',
male: 'male',
f: 'female',
female: 'female',
x: 'mixed',
mixed: 'mixed'
};
var shortNsDic = {
rows: '',
reclass: 'r',
language: 'l',
parody: 'p',
character: 'c',
group: 'g',
artist: 'a',
cosplayer: 'cos',
male: 'm',
female: 'f',
mixed: 'x',
other: 'o',
temp: ''
};
var Tagging = /*#__PURE__*/function () {
function Tagging() {
_classCallCheck(this, Tagging);
this.suggestUrl = 'https://forums.e-hentai.org/index.php?showtopic=246656';
this.namespaceTranslate = {
rows: '行名',
artist: '艺术家',
cosplayer: 'Coser',
parody: '原作',
character: '角色',
group: '团队',
language: '语言',
other: '其他',
female: '女',
male: '男',
mixed: '混',
reclass: '重新分类',
temp: '临时'
};
}
return _createClass(Tagging, [{
key: "namespace",
value: function namespace(ns) {
if (!ns) return 'temp';
if (ns in nsDic) return nsDic[ns];
ns = ns.toLowerCase();
if (ns in nsDic) return nsDic[ns];
ns = trim_default()(ns).call(ns);
if (ns in nsDic) return nsDic[ns];
ns = ns[0];
if (ns in nsDic) return nsDic[ns];
return 'temp';
}
}, {
key: "ns",
value: function ns(_ns) {
var fns = this.namespace(_ns);
return shortNsDic[fns];
}
}, {
key: "removePara",
value: function removePara(name) {
var _context;
return trim_default()(_context = name.replace(/^<p>(.+?)<\/p>$/, '$1')).call(_context);
}
}, {
key: "markImagesAndEmoji",
value: function markImagesAndEmoji(text) {
return text.replace(emojiReg, "<span ehs-emoji>$&</span>").replace(/<img(.*?)>/gi, "<img onerror=\"this.style.display='none'\" ehs-icon $1>");
}
}, {
key: "removeImagesAndEmoji",
value: function removeImagesAndEmoji(text) {
var _context2;
return trim_default()(_context2 = text.replace(emojiReg, '').replace(/<img.*?>/gi, '')).call(_context2);
}
}, {
key: "removeHtmlTags",
value: function removeHtmlTags(text) {
var _context3;
return trim_default()(_context3 = text.replace(/<abbr title="(\w+:)?([^"]+)" ns="(\w+)">/gi, '($3:$2)').replace(/<(img|a).*?>/gi, '').replace(/<(p|strong|em|abbr)>/gi, '').replace(/<\/(a|p|strong|em|abbr)>/gi, '')).call(_context3);
}
}, {
key: "fullKey",
value: function fullKey(tag) {
var _context4;
var ns = 'namespace' in tag ? this.ns(tag.namespace) : tag.ns;
var key = tag.key.toLowerCase();
return ns ? concat_default()(_context4 = "".concat(ns, ":")).call(_context4, key) : key;
}
}, {
key: "searchTerm",
value: function searchTerm(tag) {
var ns = 'namespace' in tag ? this.ns(tag.namespace) : tag.ns;
var key = tag.key.toLowerCase();
var nsP = ns ? "".concat(ns, ":") : '';
var search = includes_default()(key).call(key, ' ') ? "\"".concat(key, "$\"") : "".concat(key, "$");
return nsP + search;
}
}, {
key: "editorUrl",
value: function editorUrl(tag) {
var _context5;
var namespace = 'namespace' in tag ? this.namespace(tag.namespace) : this.namespace(tag.ns);
var key = tag.key.toLowerCase();
return concat_default()(_context5 = "https://ehtt.vercel.app/edit/".concat(namespace, "/")).call(_context5, encodeURIComponent(key));
}
}, {
key: "makeTagMatchHtml",
value: function makeTagMatchHtml(suggestion) {
var markTag = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'mark';
var tag = suggestion.tag;
var cnNamespace = this.namespaceTranslate[this.namespace(tag.ns)];
var cnNameHtml = '';
var enNameHtml;
if (tag.ns) {
cnNameHtml += escape_html_default()(cnNamespace) + ':';
}
if (suggestion.match.cn) {
var _context6, _context7, _context8, _context9, _context10, _context11, _context12;
var range = suggestion.match.cn;
cnNameHtml += concat_default()(_context6 = concat_default()(_context7 = concat_default()(_context8 = concat_default()(_context9 = "".concat(escape_html_default()(slice_default()(_context10 = tag.cn).call(_context10, 0, range.start)), "<")).call(_context9, markTag, ">")).call(_context8, escape_html_default()(slice_default()(_context11 = tag.cn).call(_context11, range.start, range.end)), "</")).call(_context7, markTag, ">")).call(_context6, escape_html_default()(slice_default()(_context12 = tag.cn).call(_context12, range.end)));
} else {
cnNameHtml += escape_html_default()(tag.cn);
}
if (suggestion.match.key) {
var _context13, _context14, _context15, _context16, _context17, _context18, _context19;
var _range = suggestion.match.key;
enNameHtml = concat_default()(_context13 = concat_default()(_context14 = concat_default()(_context15 = concat_default()(_context16 = "".concat(escape_html_default()(slice_default()(_context17 = tag.key).call(_context17, 0, _range.start)), "<")).call(_context16, markTag, ">")).call(_context15, escape_html_default()(slice_default()(_context18 = tag.key).call(_context18, _range.start, _range.end)), "</")).call(_context14, markTag, ">")).call(_context13, escape_html_default()(slice_default()(_context19 = tag.key).call(_context19, _range.end)));
} else {
enNameHtml = escape_html_default()(tag.key);
}
return {
cn: cnNameHtml,
en: enNameHtml
};
}
}]);
}();
Tagging = __decorate([Service()], Tagging);
;// ./src/plugin/introduce/index.ts
var Introduce = /*#__PURE__*/function () {
function Introduce(logger, storage, messaging, tagging) {
var _this = this;
_classCallCheck(this, Introduce);
this.logger = logger;
this.storage = storage;
this.messaging = messaging;
this.tagging = tagging;
this.target = null;
this.onclick = function (e) {
var _target$getAttribute;
var target = _this.findTarget(e.target);
if (!target) {
return;
}
_this.target = target;
var isOpen = !!target.style.color;
if (!isOpen) {
_this.closeIntroduceBox();
return;
}
var m = /'(.*)'/gi.exec((_target$getAttribute = target.getAttribute('onclick')) !== null && _target$getAttribute !== void 0 ? _target$getAttribute : '');
if (!(m !== null && m !== void 0 && m[1])) return;
var m2 = m[1].split(':');
var namespace = 'temp';
var tag = '';
if (m2.length === 1) {
tag = m2[0];
} else {
namespace = m2.shift();
tag = m2.join(':');
}
_this.openIntroduceBox(namespace, tag, function () {
return _this.target !== target;
})["catch"](_this.logger.error);
};
this.init()["catch"](logger.error);
}
return _createClass(Introduce, [{
key: "init",
value: function () {
var _init = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee() {
var conf, tagList, gridRight;
return regenerator_default().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return this.storage.get('config');
case 2:
conf = _context.sent;
if (conf.showIntroduce) {
_context.next = 5;
break;
}
return _context.abrupt("return");
case 5:
tagList = document.querySelector('#taglist');
this.tagList = tagList;
gridRight = document.querySelector('#gd5');
if (tagList && gridRight) {
_context.next = 10;
break;
}
return _context.abrupt("return");
case 10:
this.logger.log('标签介绍');
this.initIntroduceBox();
gridRight.insertBefore(this.introduceBox, null);
tagList.addEventListener('click', this.onclick);
case 14:
case "end":
return _context.stop();
}
}, _callee, this);
}));
function init() {
return _init.apply(this, arguments);
}
return init;
}()
}, {
key: "initIntroduceBox",
value: function initIntroduceBox() {
var _this2 = this;
this.introduceBox = document.createElement('div');
this.introduceBox.id = 'ehs-introduce-box';
this.introduceBox.addEventListener('click', function (ev) {
var target = ev.target;
if (target instanceof HTMLElement && target.classList.contains('ehs-close')) {
var selectedTag = _this2.tagList.querySelector('[style*="color"]');
if (selectedTag) {
selectedTag.click();
} else {
_this2.closeIntroduceBox();
}
return;
}
while (target) {
if (target.nodeName === 'A' && 'href' in target) break;
target = target.parentNode;
}
if (target) {
var a = target;
ev.preventDefault();
window.open(a.href, '_BLANK');
}
});
}
}, {
key: "findTarget",
value: function findTarget(node) {
var isTarget = function isTarget(n) {
var _context2;
return n.nodeType === Node.ELEMENT_NODE && n.nodeName === 'A' && starts_with_default()(_context2 = n.id).call(_context2, 'ta_') && n.parentElement != null && (n.parentElement.classList.contains('gt') || n.parentElement.classList.contains('gtl') || n.parentElement.classList.contains('gtw'));
};
while (node) {
if (isTarget(node)) return node;
node = node.parentNode;
}
return null;
}
}, {
key: "onImageError",
value: function onImageError(ev) {
var target = ev.target;
// eslint-disable-next-line @typescript-eslint/unbound-method
target.removeEventListener('error', this.onImageError);
target.referrerPolicy = '';
}
}, {
key: "openIntroduceBox",
value: function () {
var _openIntroduceBox = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee2(namespace, key, canceled) {
var _context12,
_this3 = this;
var timer, tagData, editorUrl, _context3, _context4, _context5, _context6, _context7, _tagData$links, tagEn, _context8, _context9, _context10, _context11;
return regenerator_default().wrap(function _callee2$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
case 0:
timer = this.logger.time('获取标签介绍');
_context13.next = 3;
return this.messaging.emit('get-tag', this.tagging.fullKey({
namespace: namespace,
key: key
}));
case 3:
tagData = _context13.sent;
timer.log(tagData);
timer.end();
if (!canceled()) {
_context13.next = 8;
break;
}
return _context13.abrupt("return");
case 8:
editorUrl = this.tagging.editorUrl({
namespace: namespace,
key: key
});
if (tagData) {
tagEn = concat_default()(_context3 = "".concat(this.tagging.namespace(tagData.ns), ":")).call(_context3, tagData.key); // language=HTML
this.introduceBox.innerHTML = concat_default()(_context4 = concat_default()(_context5 = concat_default()(_context6 = "\n <div class=\"ehs-title\">\n <div title=\"".concat(concat_default()(_context7 = "".concat(this.tagging.removeImagesAndEmoji(tagData.name), "\n")).call(_context7, tagEn), "\">\n <div class=\"ehs-cn\">", this.tagging.markImagesAndEmoji(tagData.name), "</div>\n <div class=\"ehs-en\">")).call(_context6, tagEn, "</div>\n </div>\n <span class=\"ehs-close\"></span>\n </div>\n <div class=\"ehs-content\">\n ")).call(_context5, tagData.intro ? tagData.intro : "\n <div class=\"ehs-no-intro\">\n <h3>\u65E0\u4ECB\u7ECD</h3>\n <center><a href=\"".concat(editorUrl, "\" target=\"_blank\">\u63D0\u4F9B\u4ECB\u7ECD</a></center>\n </div> "), "\n </div>\n <div class=\"ehs-href\">")).call(_context4, (_tagData$links = tagData.links) !== null && _tagData$links !== void 0 ? _tagData$links : '', "</div>");
} else {
// language=HTML
this.introduceBox.innerHTML = concat_default()(_context8 = concat_default()(_context9 = concat_default()(_context10 = concat_default()(_context11 = "\n <div class=\"ehs-title\">\n <div title=\"".concat(namespace, ":")).call(_context11, key, "\">\n <div class=\"ehs-cn\">")).call(_context10, namespace, ":")).call(_context9, key, "</div>\n <div class=\"ehs-en\">\u8BE5\u6807\u7B7E\u5C1A\u672A\u7FFB\u8BD1</div>\n </div>\n <span class=\"ehs-close\"></span>\n </div>\n <div class=\"ehs-content\">\n <div class=\"ehs-no-translation\">\n <h3>\u8BE5\u6807\u7B7E\u5C1A\u672A\u7FFB\u8BD1</h3>\n ")).call(_context8, namespace === 'temp' ? "\n <p>\n \u8BE5\u6807\u7B7E\u5C1A\u672A\u6B63\u5F0F\u6DFB\u52A0\u81F3 EH \u6807\u7B7E\u7CFB\u7EDF\u3002\u5728\u63D0\u4F9B\u7FFB\u8BD1\u524D\uFF0C\u9700\u8981\u5728 <a href=\"".concat(this.tagging.suggestUrl, "\" target=\"_blank\">EH \u8BBA\u575B</a>\u53D1\u5E16\u5C06\u8BE5\u6807\u7B7E\u79FB\u52A8\u5230\u5408\u9002\u7684\u547D\u540D\u7A7A\u95F4\u3002\n </p>") : "\n <center>\n <a href=\"".concat(editorUrl, "\" target=\"_blank\">\u63D0\u4F9B\u7FFB\u8BD1</a>\n </center>"), "\n </div>\n </div>");
}
for_each_default()(_context12 = this.introduceBox.querySelectorAll('img')).call(_context12, function (img) {
img.referrerPolicy = 'no-referrer';
// eslint-disable-next-line @typescript-eslint/unbound-method
img.addEventListener('error', _this3.onImageError);
});
case 11:
case "end":
return _context13.stop();
}
}, _callee2, this);
}));
function openIntroduceBox(_x, _x2, _x3) {
return _openIntroduceBox.apply(this, arguments);
}
return openIntroduceBox;
}()
}, {
key: "closeIntroduceBox",
value: function closeIntroduceBox() {
this.introduceBox.innerHTML = '';
}
}]);
}();
Introduce = __decorate([Service(), __metadata("design:paramtypes", [Logger, Storage, messaging_Messaging, Tagging])], Introduce);
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isArrayLike.js
var isArrayLike = function isArrayLike(x) {
return x && typeof x.length === 'number' && typeof x !== 'function';
};
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isFunction.js
function isFunction(value) {
return typeof value === 'function';
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isPromise.js
function isPromise(value) {
return isFunction(value === null || value === void 0 ? void 0 : value.then);
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js
function createErrorClass(createImpl) {
var _super = function _super(instance) {
Error.call(instance);
instance.stack = new Error().stack;
};
var ctorFunc = createImpl(_super);
ctorFunc.prototype = create_default()(Error.prototype);
ctorFunc.prototype.constructor = ctorFunc;
return ctorFunc;
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js
var UnsubscriptionError = createErrorClass(function (_super) {
return function UnsubscriptionErrorImpl(errors) {
_super(this);
this.message = errors ? errors.length + " errors occurred during unsubscription:\n" + map_default()(errors).call(errors, function (err, i) {
return i + 1 + ") " + err.toString();
}).join('\n ') : '';
this.name = 'UnsubscriptionError';
this.errors = errors;
};
});
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js
function arrRemove(arr, item) {
if (arr) {
var index = index_of_default()(arr).call(arr, item);
0 <= index && splice_default()(arr).call(arr, index, 1);
}
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subscription.js
var Subscription = function () {
function Subscription(initialTeardown) {
this.initialTeardown = initialTeardown;
this.closed = false;
this._parentage = null;
this._finalizers = null;
}
Subscription.prototype.unsubscribe = function () {
var e_1, _a, e_2, _b;
var errors;
if (!this.closed) {
this.closed = true;
var _parentage = this._parentage;
if (_parentage) {
this._parentage = null;
if (is_array_default()(_parentage)) {
try {
for (var _parentage_1 = __values(_parentage), _parentage_1_1 = _parentage_1.next(); !_parentage_1_1.done; _parentage_1_1 = _parentage_1.next()) {
var parent_1 = _parentage_1_1.value;
parent_1.remove(this);
}
} catch (e_1_1) {
e_1 = {
error: e_1_1
};
} finally {
try {
if (_parentage_1_1 && !_parentage_1_1.done && (_a = _parentage_1["return"])) _a.call(_parentage_1);
} finally {
if (e_1) throw e_1.error;
}
}
} else {
_parentage.remove(this);
}
}
var initialFinalizer = this.initialTeardown;
if (isFunction(initialFinalizer)) {
try {
initialFinalizer();
} catch (e) {
errors = e instanceof UnsubscriptionError ? e.errors : [e];
}
}
var _finalizers = this._finalizers;
if (_finalizers) {
this._finalizers = null;
try {
for (var _finalizers_1 = __values(_finalizers), _finalizers_1_1 = _finalizers_1.next(); !_finalizers_1_1.done; _finalizers_1_1 = _finalizers_1.next()) {
var finalizer = _finalizers_1_1.value;
try {
execFinalizer(finalizer);
} catch (err) {
errors = errors !== null && errors !== void 0 ? errors : [];
if (err instanceof UnsubscriptionError) {
errors = __spreadArray(__spreadArray([], __read(errors)), __read(err.errors));
} else {
errors.push(err);
}
}
}
} catch (e_2_1) {
e_2 = {
error: e_2_1
};
} finally {
try {
if (_finalizers_1_1 && !_finalizers_1_1.done && (_b = _finalizers_1["return"])) _b.call(_finalizers_1);
} finally {
if (e_2) throw e_2.error;
}
}
}
if (errors) {
throw new UnsubscriptionError(errors);
}
}
};
Subscription.prototype.add = function (teardown) {
var _a;
if (teardown && teardown !== this) {
if (this.closed) {
execFinalizer(teardown);
} else {
if (teardown instanceof Subscription) {
if (teardown.closed || teardown._hasParent(this)) {
return;
}
teardown._addParent(this);
}
(this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);
}
}
};
Subscription.prototype._hasParent = function (parent) {
var _parentage = this._parentage;
return _parentage === parent || is_array_default()(_parentage) && includes_default()(_parentage).call(_parentage, parent);
};
Subscription.prototype._addParent = function (parent) {
var _parentage = this._parentage;
this._parentage = is_array_default()(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;
};
Subscription.prototype._removeParent = function (parent) {
var _parentage = this._parentage;
if (_parentage === parent) {
this._parentage = null;
} else if (is_array_default()(_parentage)) {
arrRemove(_parentage, parent);
}
};
Subscription.prototype.remove = function (teardown) {
var _finalizers = this._finalizers;
_finalizers && arrRemove(_finalizers, teardown);
if (teardown instanceof Subscription) {
teardown._removeParent(this);
}
};
Subscription.EMPTY = function () {
var empty = new Subscription();
empty.closed = true;
return empty;
}();
return Subscription;
}();
var EMPTY_SUBSCRIPTION = Subscription.EMPTY;
function isSubscription(value) {
return value instanceof Subscription || value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe);
}
function execFinalizer(finalizer) {
if (isFunction(finalizer)) {
finalizer();
} else {
finalizer.unsubscribe();
}
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/config.js
var config = {
onUnhandledError: null,
onStoppedNotification: null,
Promise: undefined,
useDeprecatedSynchronousErrorHandling: false,
useDeprecatedNextContext: false
};
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js
var timeoutProvider = {
setTimeout: function (_setTimeout) {
function setTimeout(_x, _x2) {
return _setTimeout.apply(this, arguments);
}
setTimeout.toString = function () {
return _setTimeout.toString();
};
return setTimeout;
}(function (handler, timeout) {
var args = [];
for (var _i = 2; _i < arguments.length; _i++) {
args[_i - 2] = arguments[_i];
}
var delegate = timeoutProvider.delegate;
if (delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) {
return delegate.setTimeout.apply(delegate, __spreadArray([handler, timeout], __read(args)));
}
return set_timeout_default().apply(void 0, __spreadArray([handler, timeout], __read(args)));
}),
clearTimeout: function (_clearTimeout) {
function clearTimeout(_x3) {
return _clearTimeout.apply(this, arguments);
}
clearTimeout.toString = function () {
return _clearTimeout.toString();
};
return clearTimeout;
}(function (handle) {
var delegate = timeoutProvider.delegate;
return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);
}),
delegate: undefined
};
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js
function reportUnhandledError(err) {
timeoutProvider.setTimeout(function () {
var onUnhandledError = config.onUnhandledError;
if (onUnhandledError) {
onUnhandledError(err);
} else {
throw err;
}
});
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/noop.js
function noop() {}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js
var COMPLETE_NOTIFICATION = function () {
return createNotification('C', undefined, undefined);
}();
function errorNotification(error) {
return createNotification('E', undefined, error);
}
function nextNotification(value) {
return createNotification('N', value, undefined);
}
function createNotification(kind, value, error) {
return {
kind: kind,
value: value,
error: error
};
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/errorContext.js
var context = null;
function errorContext(cb) {
if (config.useDeprecatedSynchronousErrorHandling) {
var isRoot = !context;
if (isRoot) {
context = {
errorThrown: false,
error: null
};
}
cb();
if (isRoot) {
var _a = context,
errorThrown = _a.errorThrown,
error = _a.error;
context = null;
if (errorThrown) {
throw error;
}
}
} else {
cb();
}
}
function captureError(err) {
if (config.useDeprecatedSynchronousErrorHandling && context) {
context.errorThrown = true;
context.error = err;
}
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subscriber.js
var Subscriber = function (_super) {
tslib_es6_extends(Subscriber, _super);
function Subscriber(destination) {
var _this = _super.call(this) || this;
_this.isStopped = false;
if (destination) {
_this.destination = destination;
if (isSubscription(destination)) {
destination.add(_this);
}
} else {
_this.destination = EMPTY_OBSERVER;
}
return _this;
}
Subscriber.create = function (next, error, complete) {
return new SafeSubscriber(next, error, complete);
};
Subscriber.prototype.next = function (value) {
if (this.isStopped) {
handleStoppedNotification(nextNotification(value), this);
} else {
this._next(value);
}
};
Subscriber.prototype.error = function (err) {
if (this.isStopped) {
handleStoppedNotification(errorNotification(err), this);
} else {
this.isStopped = true;
this._error(err);
}
};
Subscriber.prototype.complete = function () {
if (this.isStopped) {
handleStoppedNotification(COMPLETE_NOTIFICATION, this);
} else {
this.isStopped = true;
this._complete();
}
};
Subscriber.prototype.unsubscribe = function () {
if (!this.closed) {
this.isStopped = true;
_super.prototype.unsubscribe.call(this);
this.destination = null;
}
};
Subscriber.prototype._next = function (value) {
this.destination.next(value);
};
Subscriber.prototype._error = function (err) {
try {
this.destination.error(err);
} finally {
this.unsubscribe();
}
};
Subscriber.prototype._complete = function () {
try {
this.destination.complete();
} finally {
this.unsubscribe();
}
};
return Subscriber;
}(Subscription);
var _bind = bind_default()(Function.prototype);
function Subscriber_bind(fn, thisArg) {
return _bind.call(fn, thisArg);
}
var ConsumerObserver = function () {
function ConsumerObserver(partialObserver) {
this.partialObserver = partialObserver;
}
ConsumerObserver.prototype.next = function (value) {
var partialObserver = this.partialObserver;
if (partialObserver.next) {
try {
partialObserver.next(value);
} catch (error) {
handleUnhandledError(error);
}
}
};
ConsumerObserver.prototype.error = function (err) {
var partialObserver = this.partialObserver;
if (partialObserver.error) {
try {
partialObserver.error(err);
} catch (error) {
handleUnhandledError(error);
}
} else {
handleUnhandledError(err);
}
};
ConsumerObserver.prototype.complete = function () {
var partialObserver = this.partialObserver;
if (partialObserver.complete) {
try {
partialObserver.complete();
} catch (error) {
handleUnhandledError(error);
}
}
};
return ConsumerObserver;
}();
var SafeSubscriber = function (_super) {
tslib_es6_extends(SafeSubscriber, _super);
function SafeSubscriber(observerOrNext, error, complete) {
var _this = _super.call(this) || this;
var partialObserver;
if (isFunction(observerOrNext) || !observerOrNext) {
partialObserver = {
next: observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : undefined,
error: error !== null && error !== void 0 ? error : undefined,
complete: complete !== null && complete !== void 0 ? complete : undefined
};
} else {
var context_1;
if (_this && config.useDeprecatedNextContext) {
context_1 = create_default()(observerOrNext);
context_1.unsubscribe = function () {
return _this.unsubscribe();
};
partialObserver = {
next: observerOrNext.next && Subscriber_bind(observerOrNext.next, context_1),
error: observerOrNext.error && Subscriber_bind(observerOrNext.error, context_1),
complete: observerOrNext.complete && Subscriber_bind(observerOrNext.complete, context_1)
};
} else {
partialObserver = observerOrNext;
}
}
_this.destination = new ConsumerObserver(partialObserver);
return _this;
}
return SafeSubscriber;
}(Subscriber);
function handleUnhandledError(error) {
if (config.useDeprecatedSynchronousErrorHandling) {
captureError(error);
} else {
reportUnhandledError(error);
}
}
function defaultErrorHandler(err) {
throw err;
}
function handleStoppedNotification(notification, subscriber) {
var onStoppedNotification = config.onStoppedNotification;
onStoppedNotification && timeoutProvider.setTimeout(function () {
return onStoppedNotification(notification, subscriber);
});
}
var EMPTY_OBSERVER = {
closed: true,
next: noop,
error: defaultErrorHandler,
complete: noop
};
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/symbol/observable.js
var observable = function () {
return typeof (symbol_default()) === 'function' && (symbol_default()).observable || '@@observable';
}();
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/reduce.js
var reduce = __webpack_require__(68133);
var reduce_default = /*#__PURE__*/__webpack_require__.n(reduce);
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/identity.js
function identity(x) {
return x;
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/pipe.js
function pipe() {
var fns = [];
for (var _i = 0; _i < arguments.length; _i++) {
fns[_i] = arguments[_i];
}
return pipeFromArray(fns);
}
function pipeFromArray(fns) {
if (fns.length === 0) {
return identity;
}
if (fns.length === 1) {
return fns[0];
}
return function piped(input) {
return reduce_default()(fns).call(fns, function (prev, fn) {
return fn(prev);
}, input);
};
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Observable.js
var Observable = function () {
function Observable(subscribe) {
if (subscribe) {
this._subscribe = subscribe;
}
}
Observable.prototype.lift = function (operator) {
var observable = new Observable();
observable.source = this;
observable.operator = operator;
return observable;
};
Observable.prototype.subscribe = function (observerOrNext, error, complete) {
var _this = this;
var subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);
errorContext(function () {
var _a = _this,
operator = _a.operator,
source = _a.source;
subscriber.add(operator ? operator.call(subscriber, source) : source ? _this._subscribe(subscriber) : _this._trySubscribe(subscriber));
});
return subscriber;
};
Observable.prototype._trySubscribe = function (sink) {
try {
return this._subscribe(sink);
} catch (err) {
sink.error(err);
}
};
Observable.prototype.forEach = function (_next, promiseCtor) {
var _this = this;
promiseCtor = getPromiseCtor(promiseCtor);
return new promiseCtor(function (resolve, reject) {
var subscriber = new SafeSubscriber({
next: function next(value) {
try {
_next(value);
} catch (err) {
reject(err);
subscriber.unsubscribe();
}
},
error: reject,
complete: resolve
});
_this.subscribe(subscriber);
});
};
Observable.prototype._subscribe = function (subscriber) {
var _a;
return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber);
};
Observable.prototype[observable] = function () {
return this;
};
Observable.prototype.pipe = function () {
var operations = [];
for (var _i = 0; _i < arguments.length; _i++) {
operations[_i] = arguments[_i];
}
return pipeFromArray(operations)(this);
};
Observable.prototype.toPromise = function (promiseCtor) {
var _this = this;
promiseCtor = getPromiseCtor(promiseCtor);
return new promiseCtor(function (resolve, reject) {
var value;
_this.subscribe(function (x) {
return value = x;
}, function (err) {
return reject(err);
}, function () {
return resolve(value);
});
});
};
Observable.create = function (subscribe) {
return new Observable(subscribe);
};
return Observable;
}();
function getPromiseCtor(promiseCtor) {
var _a;
return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a !== void 0 ? _a : (promise_default());
}
function isObserver(value) {
return value && isFunction(value.next) && isFunction(value.error) && isFunction(value.complete);
}
function isSubscriber(value) {
return value && value instanceof Subscriber || isObserver(value) && isSubscription(value);
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isInteropObservable.js
function isInteropObservable(input) {
return isFunction(input[observable]);
}
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/symbol/async-iterator.js
var async_iterator = __webpack_require__(13767);
var async_iterator_default = /*#__PURE__*/__webpack_require__.n(async_iterator);
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isAsyncIterable.js
function isAsyncIterable(obj) {
return (async_iterator_default()) && isFunction(obj === null || obj === void 0 ? void 0 : obj[(async_iterator_default())]);
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/throwUnobservableError.js
function createInvalidObservableTypeError(input) {
return new TypeError("You provided " + (input !== null && _typeof(input) === 'object' ? 'an invalid object' : "'" + input + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
}
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/symbol/iterator.js
var symbol_iterator = __webpack_require__(61920);
var symbol_iterator_default = /*#__PURE__*/__webpack_require__.n(symbol_iterator);
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/symbol/iterator.js
function getSymbolIterator() {
if (typeof (symbol_default()) !== 'function' || !(symbol_iterator_default())) {
return '@@iterator';
}
return (symbol_iterator_default());
}
var iterator_iterator = getSymbolIterator();
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isIterable.js
function isIterable(input) {
return isFunction(input === null || input === void 0 ? void 0 : input[iterator_iterator]);
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isReadableStreamLike.js
function readableStreamLikeToAsyncGenerator(readableStream) {
return __asyncGenerator(this, arguments, function readableStreamLikeToAsyncGenerator_1() {
var reader, _a, value, done;
return __generator(this, function (_b) {
switch (_b.label) {
case 0:
reader = readableStream.getReader();
_b.label = 1;
case 1:
_b.trys.push([1,, 9, 10]);
_b.label = 2;
case 2:
if (false) {}
return [4, __await(reader.read())];
case 3:
_a = _b.sent(), value = _a.value, done = _a.done;
if (!done) return [3, 5];
return [4, __await(void 0)];
case 4:
return [2, _b.sent()];
case 5:
return [4, __await(value)];
case 6:
return [4, _b.sent()];
case 7:
_b.sent();
return [3, 2];
case 8:
return [3, 10];
case 9:
reader.releaseLock();
return [7];
case 10:
return [2];
}
});
});
}
function isReadableStreamLike(obj) {
return isFunction(obj === null || obj === void 0 ? void 0 : obj.getReader);
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/innerFrom.js
function innerFrom(input) {
if (input instanceof Observable) {
return input;
}
if (input != null) {
if (isInteropObservable(input)) {
return fromInteropObservable(input);
}
if (isArrayLike(input)) {
return fromArrayLike(input);
}
if (isPromise(input)) {
return fromPromise(input);
}
if (isAsyncIterable(input)) {
return fromAsyncIterable(input);
}
if (isIterable(input)) {
return fromIterable(input);
}
if (isReadableStreamLike(input)) {
return fromReadableStreamLike(input);
}
}
throw createInvalidObservableTypeError(input);
}
function fromInteropObservable(obj) {
return new Observable(function (subscriber) {
var obs = obj[observable]();
if (isFunction(obs.subscribe)) {
return obs.subscribe(subscriber);
}
throw new TypeError('Provided object does not correctly implement Symbol.observable');
});
}
function fromArrayLike(array) {
return new Observable(function (subscriber) {
for (var i = 0; i < array.length && !subscriber.closed; i++) {
subscriber.next(array[i]);
}
subscriber.complete();
});
}
function fromPromise(promise) {
return new Observable(function (subscriber) {
promise.then(function (value) {
if (!subscriber.closed) {
subscriber.next(value);
subscriber.complete();
}
}, function (err) {
return subscriber.error(err);
}).then(null, reportUnhandledError);
});
}
function fromIterable(iterable) {
return new Observable(function (subscriber) {
var e_1, _a;
try {
for (var iterable_1 = __values(iterable), iterable_1_1 = iterable_1.next(); !iterable_1_1.done; iterable_1_1 = iterable_1.next()) {
var value = iterable_1_1.value;
subscriber.next(value);
if (subscriber.closed) {
return;
}
}
} catch (e_1_1) {
e_1 = {
error: e_1_1
};
} finally {
try {
if (iterable_1_1 && !iterable_1_1.done && (_a = iterable_1["return"])) _a.call(iterable_1);
} finally {
if (e_1) throw e_1.error;
}
}
subscriber.complete();
});
}
function fromAsyncIterable(asyncIterable) {
return new Observable(function (subscriber) {
process(asyncIterable, subscriber)["catch"](function (err) {
return subscriber.error(err);
});
});
}
function fromReadableStreamLike(readableStream) {
return fromAsyncIterable(readableStreamLikeToAsyncGenerator(readableStream));
}
function process(asyncIterable, subscriber) {
var asyncIterable_1, asyncIterable_1_1;
var e_2, _a;
return __awaiter(this, void 0, void 0, function () {
var value, e_2_1;
return __generator(this, function (_b) {
switch (_b.label) {
case 0:
_b.trys.push([0, 5, 6, 11]);
asyncIterable_1 = __asyncValues(asyncIterable);
_b.label = 1;
case 1:
return [4, asyncIterable_1.next()];
case 2:
if (!(asyncIterable_1_1 = _b.sent(), !asyncIterable_1_1.done)) return [3, 4];
value = asyncIterable_1_1.value;
subscriber.next(value);
if (subscriber.closed) {
return [2];
}
_b.label = 3;
case 3:
return [3, 1];
case 4:
return [3, 11];
case 5:
e_2_1 = _b.sent();
e_2 = {
error: e_2_1
};
return [3, 11];
case 6:
_b.trys.push([6,, 9, 10]);
if (!(asyncIterable_1_1 && !asyncIterable_1_1.done && (_a = asyncIterable_1["return"]))) return [3, 8];
return [4, _a.call(asyncIterable_1)];
case 7:
_b.sent();
_b.label = 8;
case 8:
return [3, 10];
case 9:
if (e_2) throw e_2.error;
return [7];
case 10:
return [7];
case 11:
subscriber.complete();
return [2];
}
});
});
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/lift.js
function hasLift(source) {
return isFunction(source === null || source === void 0 ? void 0 : source.lift);
}
function operate(init) {
return function (source) {
if (hasLift(source)) {
return source.lift(function (liftedSource) {
try {
return init(liftedSource, this);
} catch (err) {
this.error(err);
}
});
}
throw new TypeError('Unable to lift unknown Observable type');
};
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js
function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {
return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);
}
var OperatorSubscriber = function (_super) {
tslib_es6_extends(OperatorSubscriber, _super);
function OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {
var _this = _super.call(this, destination) || this;
_this.onFinalize = onFinalize;
_this.shouldUnsubscribe = shouldUnsubscribe;
_this._next = onNext ? function (value) {
try {
onNext(value);
} catch (err) {
destination.error(err);
}
} : _super.prototype._next;
_this._error = onError ? function (err) {
try {
onError(err);
} catch (err) {
destination.error(err);
} finally {
this.unsubscribe();
}
} : _super.prototype._error;
_this._complete = onComplete ? function () {
try {
onComplete();
} catch (err) {
destination.error(err);
} finally {
this.unsubscribe();
}
} : _super.prototype._complete;
return _this;
}
OperatorSubscriber.prototype.unsubscribe = function () {
var _a;
if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
var closed_1 = this.closed;
_super.prototype.unsubscribe.call(this);
!closed_1 && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));
}
};
return OperatorSubscriber;
}(Subscriber);
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/map.js
function map_map(project, thisArg) {
return operate(function (source, subscriber) {
var index = 0;
source.subscribe(createOperatorSubscriber(subscriber, function (value) {
subscriber.next(project.call(thisArg, value, index++));
}));
});
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js
function executeSchedule(parentSubscription, scheduler, work, delay, repeat) {
if (delay === void 0) {
delay = 0;
}
if (repeat === void 0) {
repeat = false;
}
var scheduleSubscription = scheduler.schedule(function () {
work();
if (repeat) {
parentSubscription.add(this.schedule(null, delay));
} else {
this.unsubscribe();
}
}, delay);
parentSubscription.add(scheduleSubscription);
if (!repeat) {
return scheduleSubscription;
}
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/mergeInternals.js
function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {
var buffer = [];
var active = 0;
var index = 0;
var isComplete = false;
var checkComplete = function checkComplete() {
if (isComplete && !buffer.length && !active) {
subscriber.complete();
}
};
var outerNext = function outerNext(value) {
return active < concurrent ? _doInnerSub(value) : buffer.push(value);
};
var _doInnerSub = function doInnerSub(value) {
expand && subscriber.next(value);
active++;
var innerComplete = false;
innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, function (innerValue) {
onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);
if (expand) {
outerNext(innerValue);
} else {
subscriber.next(innerValue);
}
}, function () {
innerComplete = true;
}, undefined, function () {
if (innerComplete) {
try {
active--;
var _loop_1 = function _loop_1() {
var bufferedValue = buffer.shift();
if (innerSubScheduler) {
executeSchedule(subscriber, innerSubScheduler, function () {
return _doInnerSub(bufferedValue);
});
} else {
_doInnerSub(bufferedValue);
}
};
while (buffer.length && active < concurrent) {
_loop_1();
}
checkComplete();
} catch (err) {
subscriber.error(err);
}
}
}));
};
source.subscribe(createOperatorSubscriber(subscriber, outerNext, function () {
isComplete = true;
checkComplete();
}));
return function () {
additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();
};
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js
function mergeMap(project, resultSelector, concurrent) {
if (concurrent === void 0) {
concurrent = Infinity;
}
if (isFunction(resultSelector)) {
return mergeMap(function (a, i) {
return map_map(function (b, ii) {
return resultSelector(a, b, i, ii);
})(innerFrom(project(a, i)));
}, concurrent);
} else if (typeof resultSelector === 'number') {
concurrent = resultSelector;
}
return operate(function (source, subscriber) {
return mergeInternals(source, subscriber, project, concurrent);
});
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/mapOneOrManyArgs.js
var isArray = (is_array_default());
function callOrApply(fn, args) {
return isArray(args) ? fn.apply(void 0, __spreadArray([], __read(args))) : fn(args);
}
function mapOneOrManyArgs(fn) {
return map_map(function (args) {
return callOrApply(fn, args);
});
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/fromEvent.js
var nodeEventEmitterMethods = ['addListener', 'removeListener'];
var eventTargetMethods = ['addEventListener', 'removeEventListener'];
var jqueryMethods = ['on', 'off'];
function fromEvent(target, eventName, options, resultSelector) {
if (isFunction(options)) {
resultSelector = options;
options = undefined;
}
if (resultSelector) {
return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));
}
var _a = __read(isEventTarget(target) ? map_default()(eventTargetMethods).call(eventTargetMethods, function (methodName) {
return function (handler) {
return target[methodName](eventName, handler, options);
};
}) : isNodeStyleEventEmitter(target) ? map_default()(nodeEventEmitterMethods).call(nodeEventEmitterMethods, toCommonHandlerRegistry(target, eventName)) : isJQueryStyleEventEmitter(target) ? map_default()(jqueryMethods).call(jqueryMethods, toCommonHandlerRegistry(target, eventName)) : [], 2),
add = _a[0],
remove = _a[1];
if (!add) {
if (isArrayLike(target)) {
return mergeMap(function (subTarget) {
return fromEvent(subTarget, eventName, options);
})(innerFrom(target));
}
}
if (!add) {
throw new TypeError('Invalid event target');
}
return new Observable(function (subscriber) {
var handler = function handler() {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
return subscriber.next(1 < args.length ? args : args[0]);
};
add(handler);
return function () {
return remove(handler);
};
});
}
function toCommonHandlerRegistry(target, eventName) {
return function (methodName) {
return function (handler) {
return target[methodName](eventName, handler);
};
};
}
function isNodeStyleEventEmitter(target) {
return isFunction(target.addListener) && isFunction(target.removeListener);
}
function isJQueryStyleEventEmitter(target) {
return isFunction(target.on) && isFunction(target.off);
}
function isEventTarget(target) {
return isFunction(target.addEventListener) && isFunction(target.removeEventListener);
}
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/filter.js
function filter_filter(predicate, thisArg) {
return operate(function (source, subscriber) {
var index = 0;
source.subscribe(createOperatorSubscriber(subscriber, function (value) {
return predicate.call(thisArg, value, index++) && subscriber.next(value);
}));
});
}
// EXTERNAL MODULE: ./node_modules/.pnpm/css-loader@7.1.2_webpack@5.96.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.6.3_webpack@5.96.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/.pnpm/less-loader@12.2.0_less@4.2.0_webpack@5.96.1/node_modules/less-loader/dist/cjs.js!./src/plugin/tag-tip/index.less
var tag_tip = __webpack_require__(25181);
;// ./src/plugin/tag-tip/index.less
var tag_tip_options = {};
tag_tip_options.styleTagTransform = (styleTagTransform_default());
tag_tip_options.setAttributes = (setAttributesWithoutAttributes_default());
tag_tip_options.insert = insertBySelector_default().bind(null, ":root");
tag_tip_options.domAPI = (styleDomAPI_default());
tag_tip_options.insertStyleElement = (insertStyleElement_default());
var tag_tip_update = injectStylesIntoStyleTag_default()(tag_tip/* default */.A, tag_tip_options);
/* harmony default export */ var plugin_tag_tip = (tag_tip/* default */.A && tag_tip/* default */.A.locals ? tag_tip/* default */.A.locals : undefined);
;// ./src/plugin/tag-tip/index.ts
var TagTip = /*#__PURE__*/function () {
function TagTip(storage, logger, messaging, tagging) {
_classCallCheck(this, TagTip);
this.storage = storage;
this.logger = logger;
this.messaging = messaging;
this.tagging = tagging;
this.selectedIndex = 0;
this.delimiter = ' ';
this.ctrlKey = false;
this.disableExclusionMode = false;
this.init()["catch"](logger.error);
}
return _createClass(TagTip, [{
key: "init",
value: function () {
var _init = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee() {
var _context,
_this = this;
var conf, searchInput;
return regenerator_default().wrap(function _callee$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
return this.storage.get('config');
case 2:
conf = _context2.sent;
if (conf.tagTip) {
_context2.next = 5;
break;
}
return _context2.abrupt("return");
case 5:
this.logger.log('标签提示');
searchInput = document.querySelector('#f_search, #newtagfield, [name=f_search]');
if (searchInput) {
_context2.next = 9;
break;
}
return _context2.abrupt("return");
case 9:
this.disableExclusionMode = searchInput.id === 'newtagfield';
this.delimiter = starts_with_default()(_context = location.pathname).call(_context, '/g/') ? ',' : ' ';
this.inputElement = searchInput;
this.inputElement.autocomplete = 'off';
this.autoCompleteList = document.createElement('div');
this.autoCompleteList.className = 'eh-syringe-lite-auto-complete-list';
fromEvent(this.inputElement, 'keyup').pipe(filter_filter(function (e) {
return !new (set_default())(['ArrowUp', 'ArrowDown', 'Enter', 'Meta', 'Control', 'Alt']).has(e.key);
}), map_map(function () {
return _this.inputElement.value;
})).subscribe(function (s) {
_this.search(s)["catch"](_this.logger.error);
});
fromEvent(this.inputElement, 'keydown').subscribe(function (e) {
return _this.keydown(e);
});
fromEvent(this.inputElement, 'keyup').subscribe(function (e) {
return _this.checkCtrl(e);
});
fromEvent(this.autoCompleteList, 'click').subscribe(function (e) {
_this.inputElement.focus();
e.preventDefault();
e.stopPropagation();
});
fromEvent(this.inputElement, 'focus').subscribe(function () {
return _this.setListPosition();
});
fromEvent(window, 'resize').subscribe(function () {
return _this.setListPosition();
});
fromEvent(window, 'scroll').subscribe(function () {
return _this.setListPosition();
});
fromEvent(document, 'click').subscribe(function () {
_this.autoCompleteList.innerHTML = '';
});
document.body.insertBefore(this.autoCompleteList, null);
case 24:
case "end":
return _context2.stop();
}
}, _callee, this);
}));
function init() {
return _init.apply(this, arguments);
}
return init;
}()
}, {
key: "search",
value: function () {
var _search = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee3(value) {
var _value$match,
_this2 = this,
_context4;
var values, result, used;
return regenerator_default().wrap(function _callee3$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
value = this.inputElement.value = value.replace(/ +/gm, ' ');
// [^\s,] 空白字符和逗号以外的字符 (用于支持逗号)
// (?:"|$) 非捕获分组, 引号或文本结束 (用于匹配不完整的引号)
// [^\s,]+:".+?(?:"|$) NS:"ab cd" NS:"ab c...
// ".+?(?:"|$)] "ab cd" "ab c...
// [^\s,]+:[^\s,]+ NS:abcd
// [^\s,]+ abcd
values = (_value$match = value.match(/([^\s,]+:".+?(?:"|$)|".+?(?:"|$)]|[^\s,]+:[^\s,]+|[^\s,]+)/gim)) !== null && _value$match !== void 0 ? _value$match : [];
result = [];
used = new (set_default())();
_context5.next = 6;
return promise_default().all(map_default()(values).call(values, /*#__PURE__*/function () {
var _ref = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee2(v, i) {
var sv, svs, suggestions;
return regenerator_default().wrap(function _callee2$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
sv = slice_default()(values).call(values, i);
if (!sv.length) {
_context3.next = 9;
break;
}
svs = sv.join(_this2.delimiter);
if (!(!svs || svs.replace(/\s+/, '').length === 0)) {
_context3.next = 5;
break;
}
return _context3.abrupt("return");
case 5:
_context3.next = 7;
return _this2.messaging.emit('suggest-tag', {
term: svs,
limit: 50
});
case 7:
suggestions = _context3.sent;
for_each_default()(suggestions).call(suggestions, function (suggestion) {
var tag = suggestion.tag;
if (used.has(_this2.tagging.fullKey(tag))) return;
used.add(_this2.tagging.fullKey(tag));
result.push(suggestion);
});
case 9:
case "end":
return _context3.stop();
}
}, _callee2);
}));
return function (_x2, _x3) {
return _ref.apply(this, arguments);
};
}()));
case 6:
this.autoCompleteList.innerHTML = '';
for_each_default()(_context4 = slice_default()(result).call(result, 0, 50)).call(_context4, function (tag) {
_this2.autoCompleteList.insertBefore(_this2.tagElementItem(tag), null);
});
this.selectedIndex = -1;
this.scrollList();
case 10:
case "end":
return _context5.stop();
}
}, _callee3, this);
}));
function search(_x) {
return _search.apply(this, arguments);
}
return search;
}()
}, {
key: "checkCtrl",
value: function checkCtrl(e) {
if (this.disableExclusionMode) return;
this.ctrlKey = e.ctrlKey || e.metaKey;
if (this.ctrlKey) {
this.autoCompleteList.classList.add('exclude');
} else {
this.autoCompleteList.classList.remove('exclude');
}
}
}, {
key: "keydown",
value: function keydown(e) {
this.checkCtrl(e);
if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {
if (e.key === 'ArrowUp') {
this.selectedIndex--;
if (this.selectedIndex < 0) {
this.selectedIndex = this.autoCompleteList.children.length - 1;
}
} else {
this.selectedIndex++;
if (this.selectedIndex >= this.autoCompleteList.children.length) {
this.selectedIndex = 0;
}
}
var children = from_default()(this.autoCompleteList.children);
for_each_default()(children).call(children, function (element) {
element.classList.remove('selected');
});
if (this.selectedIndex >= 0 && children[this.selectedIndex]) {
children[this.selectedIndex].classList.add('selected');
}
e.preventDefault();
e.stopPropagation();
this.scrollList();
} else if (e.key === 'Enter') {
var _children = from_default()(this.autoCompleteList.children);
if (this.selectedIndex >= 0 && _children[this.selectedIndex]) {
_children[this.selectedIndex].click();
e.preventDefault();
e.stopPropagation();
}
}
}
}, {
key: "scrollList",
value: function scrollList() {
if (this.selectedIndex < 0) {
this.autoCompleteList.scrollTop = 0;
return;
}
var current = this.autoCompleteList.children[this.selectedIndex];
if (!current) return;
current.scrollIntoView({
block: 'nearest',
behavior: 'instant'
});
}
}, {
key: "setListPosition",
value: function setListPosition() {
var rect = this.inputElement.getBoundingClientRect();
this.autoCompleteList.style.left = "".concat(rect.left, "px");
this.autoCompleteList.style.top = "".concat(rect.bottom, "px");
this.autoCompleteList.style.minWidth = "".concat(rect.width, "px");
}
}, {
key: "tagElementItem",
value: function tagElementItem(suggestion) {
var _this3 = this;
var tag = suggestion.tag;
var item = document.createElement('div');
var cnName = document.createElement('span');
cnName.className = 'auto-complete-text cn-name';
var enName = document.createElement('span');
enName.className = 'auto-complete-text en-name';
var html = this.tagging.makeTagMatchHtml(suggestion, 'mark');
cnName.innerHTML = html.cn;
enName.innerHTML = html.en;
item.insertBefore(cnName, null);
item.insertBefore(enName, null);
item.className = 'auto-complete-item';
item.onclick = function () {
var _context6, _context7, _context8, _context9, _context10;
var length = suggestion.term.length;
if (ends_with_default()(_context6 = _this3.inputElement.value).call(_context6, _this3.delimiter)) {
length++;
}
var exclude = _this3.ctrlKey ? '-' : '';
_this3.inputElement.value = concat_default()(_context7 = concat_default()(_context8 = concat_default()(_context9 = "".concat(slice_default()(_context10 = _this3.inputElement.value).call(_context10, 0, 0 - length))).call(_context9, exclude)).call(_context8, _this3.tagging.searchTerm(tag))).call(_context7, _this3.delimiter);
_this3.autoCompleteList.innerHTML = '';
};
return item;
}
}]);
}();
TagTip = __decorate([Service(), __metadata("design:paramtypes", [Storage, Logger, messaging_Messaging, Tagging])], TagTip);
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/arrayWithHoles.js
function _arrayWithHoles(r) {
if (array_is_array(r)) return r;
}
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/instance/push.js
var push = __webpack_require__(68311);
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArrayLimit.js
function _iterableToArrayLimit(r, l) {
var t = null == r ? null : "undefined" != typeof full_symbol && full_get_iterator_method(r) || r["@@iterator"];
if (null != t) {
var e,
n,
i,
u,
a = [],
f = !0,
o = !1;
try {
if (i = (t = t.call(r)).next, 0 === l) {
if (Object(t) !== t) return;
f = !1;
} else for (; !(f = (e = i.call(t)).done) && (push(a).call(a, e.value), a.length !== l); f = !0);
} catch (r) {
o = !0, n = r;
} finally {
try {
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
} finally {
if (o) throw n;
}
}
return a;
}
}
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableRest.js
function _nonIterableRest() {
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js
function slicedToArray_slicedToArray(r, e) {
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || unsupportedIterableToArray_unsupportedIterableToArray(r, e) || _nonIterableRest();
}
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/url.js
var core_js_stable_url = __webpack_require__(99386);
var url_default = /*#__PURE__*/__webpack_require__.n(core_js_stable_url);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js
var sort = __webpack_require__(2287);
var sort_default = /*#__PURE__*/__webpack_require__.n(sort);
;// ./src/services/ui-translation/helper.ts
function helper_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof (symbol_default()) && get_iterator_method_default()(r) || r["@@iterator"]; if (!t) { if (is_array_default()(r) || (t = helper_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, 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 o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
function helper_unsupportedIterableToArray(r, a) { if (r) { var _context2; if ("string" == typeof r) return helper_arrayLikeToArray(r, a); var t = slice_default()(_context2 = {}.toString.call(r)).call(_context2, 8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? from_default()(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? helper_arrayLikeToArray(r, a) : void 0; } }
function helper_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
var dataMaps = [];
function merge(regex, host, plainReplacements, regexReplacements) {
var _context;
var hosts = host ? sort_default()(_context = _toConsumableArray(new (set_default())(is_array_default()(host) ? host : [host]))).call(_context) : undefined;
var map = find_default()(dataMaps).call(dataMaps, function (d) {
return stringify_default()(d.hosts) === stringify_default()(hosts) && d.regex.source === regex.source;
});
if (!map) {
map = {
regex: regex,
hosts: hosts,
plainReplacements: new (core_js_stable_map_default())(),
regexReplacements: new (core_js_stable_map_default())()
};
dataMaps.push(map);
}
for (var key in plainReplacements) {
var element = plainReplacements[key];
map.plainReplacements.set(key, element);
}
if (regexReplacements) {
var _iterator = helper_createForOfIteratorHelper(regexReplacements),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var _step$value = slicedToArray_slicedToArray(_step.value, 2),
k = _step$value[0],
v = _step$value[1];
map.regexReplacements.set(k, v);
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
}
}
;// ./src/services/ui-translation/data/archiver.ts
merge(/^\/archiver\.php/, undefined, {
'Current Funds:': '现有资金',
'Estimated Size: \xA0 ': '预计大小:',
'Download Cost: \xA0 ': '下载费用:',
'Free!': '免费!',
'Insufficient Funds': '余额不足',
'Download Original Archive': '下载原始档案',
'Download Resample Archive': '下载重采样档案',
original: '原始',
resample: '重采样',
' download of this archive on ': '档案下载,时间:',
cancel: '取消',
'Locating archive server and preparing file for download...': '定位归档服务器并准备下载文件...',
'(this can take several minutes)': '(这可能需要几分钟时间)',
'Please wait...': '请稍候...',
Close: '取消',
'H@H Downloader': 'H@H 下载器',
'N/A': '不适用',
Original: '原图',
Free: '免费',
'You must have a H@H client assigned to your account to use this feature.': '您必须拥有 H@H 客户端才能使用此功能',
'Your H@H client appears to be offline.': '您的 H@H 客户端处于离线状态',
'Turn it on, then try again.': '请启动 H@H 客户端后重试',
'Downloads should start processing within a couple of minutes.': '下载会在几分钟内开始'
}, [[/^You unlocked an? $/, '已解锁'], [/^An original resolution/, '原始分辨率'], [/^A (\d+x) resolution/, '$1 分辨率'], [/ download has been queued for client $/, '的下载请求已添加到下载队列,目标客户端 ']]);
merge(/^\/archive\//, '*.hath.network', {
'The file was successfully prepared, and is ready for download.': '文件已准备就绪,可供下载',
'Click Here To Start Downloading': '点击此处开始下载',
'You can also copy this link to a download manager.': '您也可以将链接复制到下载软件中',
'The file is already being processed. I will now wait for this file to finish. Please contact staff if this does not resolve itself within a few minutes.': '该文件已在处理中。我将等待该文件完成。如果几分钟后问题未解决,请联系工作人员。',
'Click here if your browser does not continue automatically': '如果您的浏览器没有自动继续,请点击此处'
});
;// ./src/services/ui-translation/data/bitcoin.ts
merge(/^\/bitcoin\.php/, undefined, {
'Bitcoin Donation': '比特币捐赠',
'\n\t\tBitcoin (BTC) and Bitcoin Cash (BCH) are decentralized virtual currencies. This page allows you to donate these coins from an exchange service or a local wallet, track the confirmation process of the transaction, and apply the donated coins as a USD donation or Adopt-a-Server slots. This is not a custodial service; all coins sent to these addresses are considered donated to this site and cannot be withdrawn. ': '\n\t\t比特币 (BTC) 和比特币现金 (BCH) 是去中心化的虚拟货币。本页面允许您从交易所或本地钱包捐赠并跟踪交易过程,并能够将捐赠的虚拟货币作为美元捐赠或领养服务器。这不是一个保管服务,所有发送到这些地址的虚拟货币都被认为是捐赠给本网站的,无法撤回。',
'Read this thread for more information about donating and how to buy coins': '阅读此帖子以了解更多关于捐赠和如何购买虚拟货币的信息',
'Bitcoin (BTC) transaction fees can be high and unpredictable at times. It is currently ': '比特币 (BTC) 的交易手续费有时会很高且不可预测。当前',
estimated: '预估',
'This is the lowest viable feerate currently required for a transaction to be mined, which is estimated by sampling the minimum feerate of transactions that would have been included in a block in the last hour, assuming an average distribution of blocks.': '这是当前交易被挖掘所需的最低可行费率,通过采样最近一小时内可能被包含在区块中的交易的最低费率来估算,假设区块的分布是平均的。',
'average-sized': '常规金额',
'An average one-input two-output native segwit (P2WPKH) transaction is around 140 vB. Batched transactions from exchanges could have a lower fee. Legacy transactions and transactions spending more than one input could have a higher fee.': '一个常规的单输入双输出原生隔离见证 (P2WPKH) 交易约为 140 vB。来自交易所的批量交易可能会有更低的费用。传统交易和消耗多个输入的交易可能会有更高的费用。',
' transaction. We recommend using Bitcoin Cash (BCH) whenever possible, especially for smaller amounts, since it is essentially free.': '交易。我们建议尽可能使用比特币现金 (BCH),尤其是较小金额的交易,因为它的手续费基本上可忽略不计。',
' Bitcoin (BTC)': ' 比特币 (BTC)',
' Bitcoin Cash (BCH)': ' 比特币现金 (BCH)',
'Generate an address first...': '请先生成地址',
'Not Created Yet - Click To Generate': '未创建 - 点击生成',
'Your Bitcoin (BTC) Donation Wallet Address': '您的比特币 (BTC) 捐赠钱包地址',
'IMPORTANT: ONLY USE THIS ADDRESS FOR BITCOIN (BTC)': '重要提示:只能将此地址用于比特币 (BTC)',
'ANY OTHER COINS SENT TO THIS ADDRESS WILL BE LOST': '发送到此地址的其他类型加密货币都将丢失',
'Your Bitcoin Cash (BCH) Donation Wallet Address': '您的比特币现金 (BCH) 捐赠钱包地址',
'If your wallet cannot send to this address, ': '如果您的钱包无法发送到此地址,请',
'create a legacy address': '创建传统地址',
'We automatically ': '当旧地址被使用时,我们会自动',
'generate a new address': '生成一个新地址',
' when the old one is used. You will still be credited if you reuse recent addresses, but please use the currently displayed address whenever possible.': '。如果您重复使用最近的地址,仍然会被计入,但请尽可能使用当前显示的地址。',
'You can only manually create a new address once every 24 hours.': '每 24 小时,您只能手动创建一次新地址。',
'Send a Bitcoin (BTC) Wallet Address PM': '私信发送比特币 (BTC) 钱包地址',
'Send a Bitcoin Cash (BCH) Wallet Address PM': '私信发送比特币现金 (BCH) 钱包地址',
'You can use this form to send a private message from the gallery system with your wallet address. This guarantees that a given wallet address belongs to you and that it exists in the E-Hentai system.': '您可以通过此表单以图库系统 (Gallery System) 的名义发送一条包含钱包地址的私信。这样能够保证此钱包地址属于您,并存在于 E-Hentai 系统中。',
'Member name: ': '收件人:',
Send: '发送',
'You already sent a wallet message to that member.': '您已经向此用户发送了包含钱包地址的私信。',
'Member not found.': '未找到此用户。',
'Recent Bitcoin (BTC) Donations': '最近的比特币 (BTC) 捐赠',
'Recent Bitcoin Cash (BCH) Donations': '最近的比特币现金 (BCH) 捐赠',
'New donations will typically show up here in less than two minutes. It will show as ': '新的捐赠通常会在两分钟内显示在这里,但在被纳入一个区块并达到两个确认之前会处于',
' until it is included in a block and reaches two confirmations. This usually takes less than an hour, but can take longer in some cases. When it has been marked as ': '状态。此状态一般不会超过一个小时,但在某些情况下可能会花费更长时间。只有当状态变更为',
', you still have to apply it below to make it take effect.': '时才能通过下方按钮完成捐赠。',
'No transactions in the past year.': '在过去一年内没有交易',
Pending: '待定',
Confirmed: '已确认',
'Refresh List': '刷新列表',
'Unspent: ': '未使用:',
'Total All-Time Donations: ': '捐赠总额:',
'Total Adopt-a-Server Days: ': '领养服务器天数:',
'Current Conversion Rate: ': '当前汇率:',
'Apply BTC as Donation': '使用 BTC 捐赠',
'Apply BCH as Donation': '使用 BCH 捐赠',
'use max': '最大',
'Apply Donation': '我要捐赠',
'Apply BCH as Adopt-a-Server': '使用 BCH 领养服务器',
'Apply BTC as Adopt-a-Server': '使用 BTC 领养服务器',
'Select slot duration..': '选择时长..',
'1 Month @ $10/month $10': '1 个月 @ $10/月 $10',
'3 Month @ $9/month $27': '3 个月 @ $9/月 $27',
'6 Month @ $8/month $48': '6 个月 @ $8/月 $48',
'1 Year @ $7/month $84': '1 年 @ $7/月 $84',
'2 Year @ $6/month $144': '2 年 @ $6/月 $144',
'3 Year @ $5/month $180': '3 年 @ $5/月 $180',
'Purchase Slots': '我要领养',
'Donated coins are applied as their equivalent USD value at a time of your choosing, using the site rate which is calculated from recent exchange market value.': '捐赠的虚拟货币在您使用时会以最近的交易所市场价格作为网站的汇率转换为美元。',
'The site rate will never drop sharply; it adjusts slowly over time if the exchange market value is higher than the site rate, or less than 90% of the site rate.': '网站的汇率永远不会急剧下降,只有当实际交易所价格高于网站汇率,或低于网站汇率的 90% 时,才会随着时间推移缓慢调整。',
'The conversion rates right now are ': '当前汇率:',
' for Bitcoin, and ': ' (比特币) \xA0 ',
' for Bitcoin Cash.': ' (比特币现金)',
'Donation Tier': '捐赠等级',
'EXP Bonus': '经验加成',
'Daily Bonus': '每日奖励',
'Daily Hath': '每日 Hath',
'Free Archives': '免费档案配额',
'EXP Bonus: ': '经验加成:',
' \xA0 Free Archives: ': ' \xA0 免费档案配额:',
'Daily Bonus: ': '每日奖励:',
'You did not donate anything yet, but we still love you.': '您还没有捐赠,但我们仍然爱您。',
'Bronze Star': '铜星',
'Silver Star': '银星',
'Gold Star': '金星',
'Tri Star': '三星',
'Quint Star': '五星',
'Septua Star': '七星',
'Honorary Catgirl': '荣誉猫娘',
'Recent Spending History': '近期消费记录',
'No coins have been applied recently': '近期没有使用此类虚拟货币',
'Active + Recent Adopt-a-Server Slots': '近期服务器领养记录',
'No slots have been adopted recently': '近期没有领养服务器'
}, [[/^Refunded (.*?) Hath/, '已退还 $1 Hath'], [/^(\$.*?) Donation$/, '捐赠 $1'], [/^A wallet address PM was sent to user (.+?) \(uid=(\d+)\)$/, '您的钱包地址已私信发送给 $1 (UID $2)。'], [/^Awarded for a total donation of (\$\d+).$/, '授予的捐赠总额为 $1。'], [/^(\d+) GB \/ week$/, '$1 GB / 周'], [/^Catgirl Lv.(\d)$/, '猫娘 Lv.$1'], [/^Insufficient (BCH|BTC) available.\s?/, '$1 余额不足。'], [/You have ([\d.]+) (BCH|BTC) pending, but these need to be confirmed first.$/, '您有 $1 $2 待确认,请等到确认完成后再操作。'], [/^ to at least ([\d.]+) sats\/vB, which is about \$([\d.]+) for an $/, '至少为 $1 sats/vB,约为 $$$2 每笔']]);
;// ./src/services/ui-translation/data/bounty.ts
merge(/^\/bounty(_post)?\.php/, undefined, {
'Bounty List': '悬赏列表',
'Most Wanted Standard Bounties': '热门标准悬赏',
'Most Wanted Translation Bounties': '热门翻译悬赏',
'Most Wanted Editing Bounties': '热门编辑悬赏',
'Post New Bounty': '发布新悬赏',
'Search Bounties': '搜索悬赏',
'Bounty Type: ': '悬赏类型:',
All: '全部',
Standard: '标准',
Translation: '翻译',
Editing: '编辑',
' \xA0 Bounty Status: ': ' \xA0 悬赏状态:',
'Last Updated': '最后更新',
'Bounty Headline': '悬赏标题',
'Bounty Type': '悬赏类型',
'Bounty Status': '悬赏状态',
'Total Bounty': '总赏金',
'Posted By': '发布者',
'Open/New': '开放/新创建',
'Open/Accepted': '开放/已接受',
'Closed/Reserved': '关闭/已保留',
'Closed/Claimed': '关闭/已认领',
'Closed/Completed': '关闭/已完成',
'You are currently an Unranked Bounty Hunter.': '您当前是未评级赏金猎人。',
'Bounty Poster:': '发布者:',
'Posted Date:': '发布日期:',
'Bounty Status:': '悬赏状态:',
'Min Hunter Rank:': '最低等级要求:',
Unranked: '未评级',
'Current Reward:': '当前赏金:',
'< Prev 10': '< 上一页',
'Next 10 >': '下一页 >',
'Bounty Headline:': '悬赏标题:',
'A short one-liner consistently describing the bounty.': '一句话描述悬赏内容。',
'This will appear on the Bounty Overview screen.': '它会显示在悬赏概览页面。',
'Detailed Bounty Description:': '悬赏详情:',
'Remember to be specific. Bounties like "Requesting ': '请注意要具体。悬赏如 “请求 ',
' Hentai" is not very specific, and any bounty claim featuring anything that matches would be accepted; bounties like "Any ': ' Hentai” 不是很具体,包含匹配内容的悬赏认领都可以被接受;悬赏如 “任何我没有的 ',
' Hentai I don\'t have" would require an actual list; and so on. If you have any minimum quality/resolution demands, make sure to include this as well.': ' Hentai” 需要一个确切的列表;以此类推。如果您有任何最低质量/分辨率要求,请务必包含在内。',
'The more precise you can define your bounty, the higher the chance you will be satisfied with its result. Keep in mind that if your bounty is vague and someone technically fulfills it (as determined by a Bounty Moderator), your posted reward is forfeit.': '您的悬赏内容定义的越精确,您对其结果的满意度就会越高。请记住,如果您的悬赏内容含糊不清,而某人在技术上满足了它 (由悬赏版主裁定),您发布的奖励会被没收。',
'Wanted Poster:': '悬赏海报:',
'You can optionally upload a thumbnail, cover page, an image from an incomplete collection, or any other relevant image to further specify the bounty. (JPG/PNG)': '您可以选择上传缩略图、封面、不完整合集的图像或任何其他相关的图像,以进一步指定悬赏。(JPG/PNG)',
'Offered Reward:': '悬赏金额:',
'The reward you offer for this bounty, in Credits and/or Hath. The minimum allowed is 25000 Credits or 5 Hath.': '您为此悬赏提供的赏金,以 Credits 和/或 Hath 计。最低要求 25000 Credits 或 5 Hath。',
'Bounty Type:': '悬赏类型:',
'If this bounty is for a translation or editing job, select the corresponding type and provide a link to the source material.': '如果此悬赏为翻译或编辑工作,请选择相应的类型并提供源材料的链接。',
'Otherwise, select Standard.': '否则,请选择标准。',
'Minimum Hunter Rank:': '最低等级要求:',
'The minimum rank a Bounty Hunter needs to accept or claim this bounty.': '赏金猎人能够接受或认领此悬赏所需的最低等级。',
'Accepted Delivery:': '交付方式:',
'These are the delivery methods you accept for this bounty. If you only want galleries posted to E-Hentai Galleries, you do not need to change this.': '请选择您接受的交付方式。如果您只是希望将图库发布到 E-Hentai,则无需更改此设置。',
'Posted to the E-Hentai Galleries System': '发布到 E-Hentai 图库系统',
'Archive download at a file locker service': '通过文件保管服务下载归档文件',
'BitTorrent download at a public tracker': '通过使用公共 tracker 的 BT 下载',
'Other; specify in bounty description': '其他,请在悬赏描述中指定',
'Please verify that the information is correct before you submit this bounty.': '在提交此悬赏之前,请确认信息正确。',
'Post Bounty': '发布悬赏',
'Bounty Posted By:': '发布者:',
'Contact Poster': '联系发布者',
Updated: '更新于',
'Bounties that are ': '状态为 ',
' are open to be accepted and claimed. If you intent to fulfill a bounty within a reasonable amount of time, you can optionally ': ' 的悬赏可以被接受和认领。如果您打算在合理的时间内完成悬赏,可以先 ',
accept: '接受',
' the bounty first. These expire after a month.': ' 悬赏,此状态会在一个月后过期。',
'After a bounty has been ': '若悬赏被 ',
claimed: '认领',
', the original poster of the bounty has seven days to accept or dispute it. If there is a dispute or the acceptance period expires, a Bounty Moderator will decide the outcome of the bounty.': ',悬赏发布者有七天时间来选择接受认领或提出质疑。如果出现争议或接受期限过期,将由悬赏版主裁定悬赏的结果。',
'A rejected claim cannot be resubmitted, and will affect your rank.': '被拒绝的认领不能重新提交,并且会影响您的等级。',
'You have not yet accepted or claimed this bounty.': '您尚未接受或认领此悬赏。',
'You have accepted this bounty.': '您已接受此悬赏。',
'You cannot post a blank accept/claim, or you do not have sufficient funds to claim the bounty.': '您不能发布空的接受/认领请求,或者您没有足够的资金来认领悬赏。',
'Your rank (Unranked) is insufficient to accept this bounty.': '您的等级 (未评级) 不足以接受此悬赏。',
'For accepting a bounty, you can enter a short comment here. For claiming a bounty, you must enter all the necessary details for where the bounty can be found.': '接受悬赏时,您可以在此处输入简短的评论。认领悬赏时,则必须提供悬赏所需的所有详细信息。',
'If you intend to claim this bounty, make sure that all necessary URLs entered above are correct, and that they match the accepted delivery methods of this bounty. Do not, for instance, submit a link to a torrent file if that delivery method is not accepted. All information required to determine the validity of a claim MUST be posted in the claim itself.': '如果您准备认领此悬赏,请确保上方提供的所有必要 URL 都是正确的,并且与此悬赏的指定交付方式相匹配。例如,请不要在发布者不接受 BT 下载的情况下提供一个指向种子文件的链接。为保证认领的有效性,必须在认领请求中包含所有必要的信息。',
'In order to claim a bounty, you have to post a deposit of 1000 credits. This is returned to you if the claim is accepted, but if the claim is found to be invalid, it will be forfeit.': '要认领悬赏,您必须支付 1000 Credits 的保证金。如果认领被接受,保证金将退还给您,但如果认领被判定无效,则会被没收。',
'Accept Bounty': '接受悬赏',
'Claim Bounty': '认领悬赏',
'Withdraw Accept/Claim': '撤回接受/认领',
'You can add additional rewards as long as the bounty has not been accepted or claimed. Rewards lock in after 15 minutes and can then only be rescinded after a month or if the bounty is cancelled. You will have no saying in whether a claim is accepted or not.': '只要悬赏未被认领,您就可以增加额外赏金。赏金会在 15 分钟后被锁定,只能在一个月后或悬赏被取消时才能撤回。您无权决定是否接受认领。',
'You have ': '您拥有 ',
'. Minimum is ': '。最低要求 ',
' or ': ' 或 ',
'.': '。',
'Submit Additional Reward': '提交额外赏金',
'You must enter a minimum additional reward of 5000 C or 1 Hath.': '您必须输入最低额外赏金 (5000 C 或 1 Hath)。',
'You can no longer add rewards for this bounty.\n\n\t\t': '您无法再为此悬赏增加赏金。',
'Grant Date': '授予日期',
Amount: '赏金',
'Added By': '添加者',
'Original Bounty': '初始赏金',
'Claim Date': '认领日期',
Status: '状态',
'Bounty Hunter': '赏金猎人',
Rating: '等级',
'This bounty has not been accepted or claimed by anyone.': '此悬赏尚未被任何人接受或认领。',
'Bounty Accepted': '悬赏接受',
'Bounty Reserved': '悬赏保留',
'Claim Pending': '认领待定',
'Claim Disputed': '认领争议',
'Claim Accepted': '认领接受',
'\n\tn/t\n\t\n\t': '',
// E-Hentai's bug
'Comments from Bounty Poster:': '悬赏发布者评论:',
'(No comment was given.)': '(未提供评论)',
'This claim has been accepted, and the bounty has been closed.\n\t': '此认领已被接受,悬赏已关闭。',
'This claim has been disputed, and is pending ruling by a Bounty Moderator.\n\t': '此认领存在争议,正在等待悬赏版主裁决。'
}, [[/^Showing /, '正在显示'], [/All Open Bounties$/, '所有未完成悬赏'], [/All Reserved Bounties$/, '所有已保留悬赏'], [/All Claimed Bounties$/, '所有已认领悬赏'], [/All Completed Bounties$/, '所有已完成悬赏'], [/Bounties Posted By Me$/, '我发布的悬赏'], [/Bounties Boosted By Me$/, '我加价的悬赏'], [/Bounties Accepted By Me$/, '我接受的悬赏'], [/Bounties Reserved For Me$/, '我保留的悬赏'], [/Bounties Claimed By Me$/, '我认领的悬赏'], [/Bounties Completed By Me$/, '我完成的悬赏'], [/^Rank ([A-Z])$/, '$1 级'], [/^Remaining Claim Dispute Time: /, '剩余认领争议时间:'], [/(\d+) days and (\d+) hours/, '$1 天 $2 小时']]);
;// ./src/services/ui-translation/data/common.ts
merge(/.*/, undefined, {
'Front Page': '首页',
Watched: '订阅',
Popular: '热门',
Torrents: '种子',
Favorites: '收藏',
'My ': '我的',
Home: '主页',
Uploads: '上传',
Toplists: '排行',
Bounties: '悬赏',
News: '新闻',
Forums: '论坛',
Wiki: '维基',
Overview: '概况',
'My Stats': '我的统计',
'My Settings': '我的设置',
'My Tags': '我的标签',
Stats: '统计',
Settings: '设置',
Tags: '标签',
Donations: '捐赠',
'Hath Exchange': 'Hath 交易',
'GP Exchange': 'GP 交易',
'Credit Log': 'Credit 记录',
'Karma Log': 'Karma 记录',
Front: '首页',
LoFi: '低保真版',
'Terms of Service': '服务条款',
ToS: '服务条款',
Advertise: '广告',
Onion: '洋葱网址',
'E-Hentai Galleries: The Free Hentai Doujinshi, Manga and Image Gallery System': 'E-Hentai: 一个免费的绅士同人志、漫画和图像的图库系统',
'Now With Layers': '有了洋葱网址',
Doujinshi: '同人志',
Manga: '漫画',
'Artist CG': '画师CG',
'Game CG': '游戏CG',
Western: '西方',
'Non-H': '无H',
'Image Set': '图集',
'Asian Porn': '亚洲色情',
Misc: '杂项',
Private: '私有',
'Search Keywords': '搜索关键词',
Search: '搜索',
Clear: '清除',
'Show Advanced Options': '显示高级选项',
'Hide Advanced Options': '隐藏高级选项',
' Browse Expunged Galleries': '只显示已删除的图库',
' Require Gallery Torrent': '只显示有种子的图库',
'Between ': '介于 ',
' and ': ' 和 ',
' pages': ' 页',
'Minimum Rating: ': '最低评分:',
'Any Rating': '无限制',
'2 Stars': '2 星',
'3 Stars': '3 星',
'4 Stars': '4 星',
'5 Stars': '5 星',
'Disable custom filters for:': '禁用自定义过滤器:',
' Language': ' 语言',
' Uploader': ' 上传者',
' Tags': ' 标签',
'Show File Search': '显示文件搜索',
'Hide File Search': '隐藏文件搜索',
'Select a file to upload, then hit File Search. All public galleries containing this exact file will be displayed.': '请选择要搜索的图像文件后点击“文件搜索”。将列出包含此文件的所有公开图库。',
'File Search': '文件搜索',
'For color images, the system can also perform a similarity lookup to find resampled images.': '对于彩色图像,系统还可以执行相似性查询以找到重采样过的图像。',
' Use Similarity Scan': ' 使用相似性查询',
' Only Search Covers': ' 仅搜索封面',
'The keyword ': '关键词 ',
' is short and will be searched as an exact tag only.': ' 太短,因此只会搜索精确匹配的标签。',
'Some terms use unsupported syntax, are too short, or are otherwise not valid.': '某些关键词使用了不支持的语法、太短或无效。',
'The provided date is invalid or outside the range of posted galleries.': '提供的日期无效或超出已发布图库的日期范围。',
'The page range minimum cannot be above 1000.': '页数最小值至多为 1000。',
'The page range maximum cannot be below 10.': '页数最大值至少为 10。',
'Your page range filter is too narrow.': '页数范围差至少为 20,范围比至多为 0.8。',
'You provided too many keywords. Use fewer keywords, or combine keywords with quotes.': '使用的关键词过多。请减少关键词或使用引号组合关键词。',
'You provided too many keywords. Use fewer keywords, or combine keywords with quotes. (Ignored ': '使用的关键词过多。请减少关键词或使用引号组合关键词。(已忽略 ',
'No hits found': '什么也没有',
'No unfiltered results found.': '没有未过滤的结果',
'No unfiltered results in this page range. Use less aggressive filters.': '在此页数范围内没有未过滤的结果。请使用更宽松的过滤器。',
'Disable Filters': '禁用过滤器',
'<< First': '<< 首页',
'< Prev': '< 上一页',
'< Jump': '< 跳页',
'< Seek': '< 搜寻',
'Jump/Seek': '跳页/搜寻',
'Seek >': '搜寻 >',
'Jump >': '跳页 >',
'Next >': '下一页 >',
'Last >>': '末页 >>',
'date or offset': '日期或偏移量',
'Enter a year or date in YYYY, (YY)YY-MM or (YY)YY-MM-DD format to seek to, or the number of days to jump backwards or forwards, or a number followed by w, m and y to jump weeks, months or years respectively.': '请输入要跳转的年份或日期,格式为 YYYY,(YY)YY-MM 或 (YY)YY-MM-DD;\n或者输入要向前或向后跳转的天数,输入数字后可以加 w,m,y 分别跳转周,月,年',
'Set the date to seek from or to.': '设置要跳转的日期',
'Use Date Selector': '日期选择器',
Minimal: '最小化',
'Minimal+': '最小化 + 关注标签',
Compact: '紧凑 + 标签',
Extended: '扩展',
Thumbnail: '缩略图',
Published: '发布时间',
Title: '标题',
Uploader: '上传者',
'reclass:': '重新分类:',
'language:': '语言:',
'parody:': '原作:',
'character:': '角色:',
'group:': '社团:',
'artist:': '艺术家:',
'cosplayer:': 'Coser:',
'female:': '女性:',
'male:': '男性:',
'mixed:': '混合:',
'other:': '其他:',
'temp:': '临时:',
'(Disowned)': '(已放弃)',
'No torrents available': '无可用种子',
'Show torrents': '查看种子',
'It is the dawn of a new day!': '新的一天开始了!',
'Reflecting on your journey so far, you find that you are a little wiser.': '回想一下你迄今为止的旅程,你发现你更聪明了。',
'You gain ': '你获得了 ',
' EXP, ': ' 经验,',
' Credits, ': ' Credits,',
' Credits!': ' Credits!',
' Credits and ': ' Credits 和 ',
' GP!': ' GP!',
' GP and ': ' GP 和 ',
' Hath!': ' Hath!',
'You have encountered a monster!': '你遇到了怪物!',
'Click here to fight in the HentaiVerse.': '点击此处进入 HentaiVerse 战斗',
'Favorites 0': '收藏夹 0',
'Favorites 1': '收藏夹 1',
'Favorites 2': '收藏夹 2',
'Favorites 3': '收藏夹 3',
'Favorites 4': '收藏夹 4',
'Favorites 5': '收藏夹 5',
'Favorites 6': '收藏夹 6',
'Favorites 7': '收藏夹 7',
'Favorites 8': '收藏夹 8',
'Favorites 9': '收藏夹 9',
'Create New': '新建',
Rename: '重命名',
Cancel: '取消',
Close: '关闭',
Confirm: '确定',
Delete: '删除',
Save: '保存',
None: '无',
Yes: '是',
No: '否',
'No (Private)': '否 (私有)',
'No (Expunged)': '否 (已删除)',
'No (Deleted)': '否 (已移除)',
'No (Replaced)': '否 (已替换)',
'The site is currently in Read Only/Failover Mode. Some functionality will not be available. Details may be available on ': '网站当前处于只读/故障转移模式,部分功能会不可用。详情请关注 ',
'The site is currently in Read Only Mode. This page is therefore not available.': '网站当前处于只读模式,因此本页面不可用。',
'This content is not available in Russia.RU': '此内容在俄罗斯 (RU) 不可用',
// 洋葱网址登录页
'user:': '用户:',
'pass:': '密码:',
'code:': '代码:',
username: '用户名',
password: '密码',
CPTCA: '验证码',
'Fuck Off': '刷新',
'Log In': '登录',
'You have to complete every field': '您必须填完每个字段',
'Please try again': '请再试一次'
}, [[/^(\d+) pages?$/, '$1 页'], [/^Found about ([\d,]+) results?./, '找到约 $1 个结果。'], [/^Found ([\d,]+\+?) results?./, '找到 $1 个结果。'], [/^Found hundreds of results./, '找到数百结果。'], [/^Found thousands of results./, '找到数千结果。'], [/^Found many results./, '找到许多结果。'], [/\s?Filtered ([\d,]+) galler(ies|y) from this page.\s?/, '已从此页面过滤 $1 个结果。'], [/\s?Excluded ([\d,]+) galler(ies|y) from this page.\s?/, '已从此页面排除 $1 个结果。'], [/\s?Excluded ([\d,]+) galler(ies|y) and filtered ([\d,]+) galler(ies|y) from this page.\s?/, '已从此页面排除 $1 个结果,过滤 $3 个结果。']]);
;// ./src/services/ui-translation/data/exchange.ts
merge(/^\/exchange\.php\?/, undefined, {
'The Hath Exchange': 'Hath 交易',
'The GP Exchange': 'GP 交易',
'Last 8 Hours (per kGP)': '最近 8 小时 (每 kGP)',
'Last 24 Hours (per kGP)': '最近 24 小时 (每 kGP)',
'Last 8 Hours (per Hath)': '最近 8 小时 (每 Hath)',
'Last 24 Hours (per Hath)': '最近 24 小时 (每 Hath)',
'Buy Hath': '买进 Hath',
'Sell Hath': '卖出 Hath',
'Buy GP': '买进 GP',
'Sell GP': '卖出 GP',
'Update Bid!': '更新买单',
'Update Ask!': '更新卖单',
'Insufficient credits': 'Credits 不足',
'Insufficient Hath': 'Hath 不足',
'Insufficient GP': 'GP 不足',
'\n\t\t\t\tCount: ': '数量:',
' Hath \xA0\n\t\t\t\tBid Price/Hath: ': ' Hath \xA0 买入单价:',
' Hath \xA0\n\t\t\t\tAsk Price/Hath: ': ' Hath \xA0 卖出单价:',
'Buy Hath!': '买进 Hath',
'Sell Hath!': '卖出 Hath',
' kGP \xA0\n\t\t\t\tBid Price/kGP: ': ' kGP \xA0 买入单价:',
' kGP \xA0\n\t\t\t\tAsk Price/kGP: ': ' kGP \xA0 卖出单价:',
'Buy GP!': '买进 GP',
'Sell GP!': '卖出 GP',
'Active Orders': '当前挂单',
'Recent Transactions': '最近成交',
'Bid (Buyers)': '买单',
'Ask (Sellers)': '卖单',
Time: '时间',
Seller: '卖家',
Buyer: '买家',
Volume: '成交量',
'Unit Cost': '单价',
High: '最高',
Low: '最低',
Avg: '平均',
Vol: '成交'
}, [[/^Available: ([\d,]+) (\w+)$/, '可用:$1 $2']]);
;// ./src/services/ui-translation/data/favorites.ts
merge(/^\/favorites\.php/, undefined, {
'Show All Favorites': '显示所有收藏夹',
'Order: ': '排序:',
'Published Time': '发布时间',
'Favorited Time': '收藏时间',
Favorited: '收藏时间',
'Favorited:': '收藏于:',
'Delete Selected': '删除选中收藏',
'Change Category': '移动到'
}, [[/^Note: /, '备注:']]);
;// ./src/services/ui-translation/data/gallery.ts
merge(/^\/g\//, undefined, {
'Contact Uploader': '联系上传者',
'Posted:': '发布于:',
'Parent:': '父级:',
'Visible:': '显示:',
'Language:': '语言:',
'Japanese \xA0': '日语 \xA0',
'English \xA0': '英语 \xA0',
'Chinese \xA0': '汉语 \xA0',
'Dutch \xA0': '荷兰语 \xA0',
'French \xA0': '法语 \xA0',
'German \xA0': '德语 \xA0',
'Hungarian \xA0': '匈牙利语 \xA0',
'Italian \xA0': '意大利语 \xA0',
'Korean \xA0': '韩语 \xA0',
'Polish \xA0': '波兰语 \xA0',
'Portuguese \xA0': '葡萄牙语 \xA0',
'Russian \xA0': '俄语 \xA0',
'Spanish \xA0': '西班牙语 \xA0',
'Thai \xA0': '泰语 \xA0',
'Vietnamese \xA0': '越南语 \xA0',
'This gallery has been translated from the original language text.': '此图库已从原始语言翻译',
'This gallery is a rewrite, which means that a new text has been made up based on the visual content, but with little regard to the original language text.': '此图库存在内容改写,这意味着根据视觉内容创作了新的文本,与原始文本关联不大',
'File Size:': '文件大小:',
'Length:': '页数:',
'Favorited:': '收藏:',
Never: '从未',
Once: '1 次',
'Rating:': '评分:',
'Not Yet Rated': '还没有评分',
'Thanks for rating!': '感谢评分!',
'Rating failed.': '评分失败。',
' Add to Favorites': ' 添加到收藏夹',
'A Quick Note About Tagging': '关于标签系统的简单说明',
'While tagging is relatively straight-forward, there are a number of established guidelines that determine when adding a particular tag is proper and when it is not. Before you put any significant amount of effort into it, we therefore ask that you skim through the ': '虽然打标签相对简单,但有许多既定准则可以确定何时添加特定标签是正确的。因此,在您投入其中之前,我们要求您阅读',
'Basic Tagging Guidelines': '基本标签指南',
' and ': '和',
'Fetish Listing': '恋物标签列表',
'. This will likely save both you and the tagging moderators from doing unnecessary work. In particular, you should note the following:': '。这能有效避免您和标签版主进行不必要的工作。特别需要注意以下几点:',
'- These are galleries, not individual images. ': '● 这些是「图库」而非单张图像,',
'Do not tag stuff that is only featured in a few images.': '请勿标记仅出现在少量图像中的内容。',
'- If a tag is ambiguous or frequently misused, you may have to specify a ': '● 如果某个标签不明确或经常被误用,则可能需要指定',
namespace: '命名空间',
'; ': ',',
'see the Wiki': '参见 Wiki',
'.': '。',
'- The ': '● 您对标签的影响',
power: '权重',
' with which you can affect tagging is determined by a number of factors, such as your account age and whether or not you are active on the ': '取决于多种因素,例如您的账户资历、您是否活跃于',
forums: '论坛等',
'- The forums is also where ': '● 论坛也是',
'everything about tagging is discussed': '讨论标签相关内容',
'. If you have any comments, suggestions or questions about tagging, this is where you should take it.': '的地方。如果您对标签有任何意见、建议或问题,可以在这里讨论。',
'Alright Already': '好的',
'Vote Up': '顶',
'Vote Down': '踩',
'Withdraw Vote': '撤销投票',
'Show Tagged Galleries': '含有此标签的图库',
'Show Tag Definition': '显示标签定义',
'Add New Tag': '添加新标签',
'Enter new tags, separated with comma': '输入新标签,使用半角逗号分隔',
Tag: '打标签',
'No tags have been added for this gallery yet.': '当前图库还没有标签。',
'This gallery has been replaced; tags can no longer be added on this version.': '当前图库已被替换,不允许在此版本添加新的标签。',
'Report Gallery': '举报图库',
'Archive Download': '归档下载',
'Petition to Expunge': '申请删除',
'Expunge Petition Sent': '已发送删除申请',
'Show Expunge Log': '显示删除日志',
'Petition to Rename': '申请重命名',
'Rename Petition Sent': '已发送重命名申请',
'Show Gallery Stats': '查看统计',
'Multi-Page Viewer': '多页查看器',
'There are newer versions of this gallery available:': '此图库有更新的版本可用:',
'Back to Gallery': '返回图库',
'Contact Poster': '联系评论者',
'Uploader Comment': '上传者评论',
'Score ': '分数 ',
'Vote+': '顶',
'Vote-': '踩',
'Last edited on ': '最后编辑于 ',
'click to show all': '显示全部',
'Post New Comment': '发送新评论',
'Enter your comments here, then hit Post Comment. If the last comment posted is yours, this will be appended to that post.': '在此处输入您的评论,然后点击发表评论。如果最后一条评论是您的,则新评论会被附加到最后一条评论下。',
'Post Comment': '发表评论',
'Your comment is too short.': '您的评论太短了。',
Edit: '编辑',
'Edit Comment': '编辑评论',
'Gallery not found. If you just added this gallery, you may have to wait a short while before it becomes available.': '没有找到图库。如果您刚刚添加了此图库,可能需要等待一段时间后才能变得可用。',
'This gallery has been removed or is unavailable.': '此图库已被删除或无法使用。',
'You will be redirected to the front page momentarily.': '您将在几秒后返回首页。',
'(Click here to continue)': '(点此继续)',
'Please wait...': '请稍候...',
'Sorry about that.': '非常抱歉。',
'Content Warning': '内容警告',
'This gallery has been flagged as ': '此图库已被标记为',
'Offensive For Everyone': '“对所有人具有攻击性”',
'. Due to its content, it should not be viewed by anyone.': '。基于其内容,任何人都不应观看。',
'(And if you choose to ignore this warning, you lose all rights to complain about it.)': '(如果您选择无视这一警告,您就失去了所有投诉的权利)',
'View Gallery': '浏览图库',
'Get Me Outta Here': '带我离开这里',
'Never Warn Me Again': '不再提醒'
}, [[/^(\d+) times$/, '$1 次'], [/^Average: ([\d.]+)$/, '平均值:$1'], [/^Rate as ([\d.]+) stars?$/, '$1 星'], [/^Torrent Download \((\d+)\)$/, '种子下载 ($1)'], [/^, added (\d\d\d\d-\d\d-\d\d \d\d:\d\d)$/, ',更新于 $1'], [/^Showing ([\d,]+) - ([\d,]+) of ([\d,]+) images?$/, '$1 - $2,共 $3 张图像'], [/^Page (\d+): /, '第 $1 页:'], [/^Page (\d+)$/, '第 $1 页'], [/^Posted on (\d\d \w+ \d\d\d\d, \d\d:\d\d) by:\s*$/, '评论时间:$1 \xA0作者:'], [/^Posted on (\d\d \w+ \d\d\d\d, \d\d:\d\d)\s*/, '评论时间:$1'], [/^There (is|are) ([\d,]+) more comments? below the viewing threshold - $/, '还有 $2 条评论尚未显示 - '], [/^This gallery is unavailable due to a copyright claim by (.*)\.$/, '由于 $1 提出的版权要求,此图库无法使用']]);
merge(/^\/g\/\w+\/\w+\/.*act=expunge/, undefined, {
'Submit New Expunge Petition': '提交新的删除申请',
'Specify a valid objective reason why this gallery should be expunged.': '请说明申请删除此图库的客观原因。',
' This gallery is a duplicate of equal or lower quality of an earlier posted gallery.': '此图库是之前发布的图库的质量相同或较低的副本。',
' A newer higher-quality and clearly marked copy of this gallery has been uploaded.': '此图库的更高质量和标记清楚的副本已上传。',
' This gallery contains either illicit content like child porn or anything else forbidden by the ': '此图库包含非法内容,如儿童色情或其他列于',
', or otherwise falls under the ': '的禁止内容,或列于',
'Expunge Guidelines': '删除指南',
' (specify below).': '的内容 (在下方详细描述)。',
' This gallery contains either illicit content like child porn or anything else that has been banned.': '此图库包含非法内容,如儿童色情或其他已被禁止的内容。',
' Content has been defaced by adding content-obstructing scanmarks, censorship or advertisements beyond what is present in the original artist release, or has been intentionally degraded to the point where legibility is an issue.': '图库内容被污损,添加了与内容无关的扫描水印、审查或广告,超出了原作者发布的内容或被故意降低画质,以至于影响了易读性。',
'Enter a reason for this expunge here. Note that submitting petitions with subjective reasons along the line of "I hate this content/artist/uploader/etc" are NOT valid and can cause account penalties/restrictions.': '在此处输入删除的详细原因。请注意,“我讨厌此内容/艺术家/上传者”等主观理由是无效的,并且可能导致账户处罚/限制。',
'Enter the URL of the conflicting gallery, if applicable.': '如有必要,在此处输入冲突图库的 URL。',
'Create New Petition': '提交新申请',
'Cancel Expunge Petition': '撤回删除申请',
'You must specify a valid expunge type to start new expunge petition.': '您必须选择一个删除类型才能提交新的删除申请。',
'You must provide a reason to start a new expunge petition.': '您必须提供一个理由才能提交新的删除申请。',
'You must provide a link to the conflicting gallery to start a new expunge petition of this type.': '您必须提供冲突图库的链接才能提交此类型的删除申请。',
'Pending Expunge Petition': '待处理的删除申请',
'Active Expunge Petition': '完成的删除申请',
'Rejected Expunge Petition': '否决的删除申请',
'Active Expunge Petition (Pending Appeal)': '完成的删除申请 (申诉中)',
'Revoked Expunge Petition': '撤销的删除申请',
'Submitted:': '提交于:',
'Expunge Type:': '删除类型:',
Duplicate: '重复',
Replaced: '已替换',
Forbidden: '违规内容',
Defaced: '污损',
'Expunge Reason:': '删除原因:',
'Conflict Gallery:': '冲突图库:',
'Appeal Reason:': '申诉原因:',
', who added:': ',并评论',
'Add a comment with this vote (optional)': '为投票添加一个评论 (可选)',
'Vote +': '支持',
'Vote -': '反对',
'You have already voted ': '您已为此申请投出',
FOR: '支持',
AGAINST: '反对',
' this expunge petition.': '票',
' this appeal.': '票',
'This petition will be ': '此申请将被',
'This appeal will take effect in approximately ': '此申请将被撤销,除非在 ',
ACTIVATED: '激活',
REJECTED: '否决',
REVOKED: '撤销',
' in approximately ': ',除非在 ',
' unless sufficiently upvoted.': ' 内有足够的支持票',
' unless sufficiently downvoted.': ' 内有足够的反对票',
'This petition was ': '此申请已被',
'This expunge petition is active and prevents the gallery from being listed by default.': '此删除申请已激活,图库已在列表中默认隐藏。',
'If you have an objective reason for why this gallery should not have been expunged, you can initiate an appeal below.': '如果您有客观原因说明不应该删除此图库,可以在下方提出申诉。',
'Appeals must not be submitted if the gallery should be expunged but the wrong expunge type was used.': '如果图库应该被删除但使用了错误的删除类型,则不得提交申诉。',
'Note that submitting invalid appeals can lead to account restrictions/penalities.': '请注意,提交无效申诉可能会导致账户受到限制/处罚。',
'Enter a valid reason for why this expunge petition should be revoked here.': '请在此处输入应撤销此删除申请的正当理由。',
'Create New Appeal': '提交新申诉',
'An appeal has been submitted for this expunge petition.': '已针对此删除申请提出申诉。',
'You cannot currently start an expunge for this gallery.': '您目前无法为此图库提交删除申请。',
'You cannot start additional expunges on this gallery.': '您无法为此图库提交更多删除申请。',
'This petition is being processed and can no longer be voted on.': '此申请正在处理,无法继续投票。',
'New expunges for this gallery can currently only be started by trusted users.': '目前只有可信用户能为此图库提交新的删除申请。',
'If you believe that the gallery should be expunged, please make a post in the ': '如果您认为此图库应当被删除,请在 ',
'Expunging, Appealing and Reverting Assistance': '删除、申诉和恢复帮助',
' thread.': ' 主题中发表帖子。'
}, [[/^(\d\d\d\d-\d\d-\d\d \d\d:\d\d) by (.*)$/, '$1 由 $2'], [/^on (\d\d\d\d-\d\d-\d\d \d\d:\d\d) by (.*)$/, '投票于 $1 由 $2'], [/^(\d+) minutes?$/, '$1 分钟'], [/^ on (\d\d\d\d-\d\d-\d\d \d\d:\d\d)$/, ',于 $1']]);
merge(/^\/g\/\w+\/\w+\/.*report=/, undefined, {
'Report Type': '举报类型',
'[Select a complaint type...]': '[请选择一个举报类型...]',
Content: '内容',
'DMCA/Copyright Infringement': 'DMCA / 侵犯版权',
'Child Pornography': '儿童色情',
'Other Illicit Content': '其他非法内容',
Technical: '技术',
'Excessive Updates': '频繁更新',
'Reversion/Split/Undisown Request': '回退/拆分/恢复所有权请求',
'If you log on with an account, we will remember your provided contact details.': '如果您使用账户登录,我们将记住您提供的联系信息。',
'We remember and automatically fill in any previous contact details you have entered.': '我们会记住并自动填充您曾经输入的联系信息。',
'Your email address': '您的电子邮件地址',
'Please provide a working email address.': '请提供有效的电子邮件地址。',
'Your full legal name': '您的全名',
'Aliases and pseudonyms cannot be used.': '不能使用别名和假名。',
"Copyright holder's full name": '版权所有者的全名',
'Enter if you are not the copyright holder. You must be an authorized agent.': '如果您不是版权所有者,请输入。您必须是授权代理。',
'Company Name': '公司名称',
Optional: '可选',
'Phone Number': '电话号码',
Address: '地址',
'Your residential home address': '您的住宅地址',
City: '城市',
'Your city of residence': '您居住的城市',
'State / Province': '州 / 省',
'Your state or province of residence, if applicable': '您居住的州或省,如果适用',
Country: '国家',
'Your country of residence': '您居住的国家',
'Describe the nature of the infringement': '描述侵权性质',
'Elaborate on why this gallery is infringing on your copyrighted work. Include links to where the original work can be purchased, or evidence of source material.': '详细说明为何此图库侵犯了您的版权。包括原作购买链接或源材料证据。',
'Please elaborate on why this gallery infringes on your copyright. If this work is for sale, provide links to where it can be legally purchased.': '请详细说明为何此图库侵犯了您的版权。如果此作品正在出售,请提供可以合法购买的链接。',
'Digital signature': '数字签名',
'Enter your name to sign this submission': '输入您的姓名以签署此提交',
Acknowledgement: '确认',
"By submitting this form, you attest, under penalty of perjury, that you have a good faith belief that use of the material in this report is not authorized by the copyright owner, its agent, or the law; AND you are authorized to act on behalf of the copyright owner; AND you understand that you may be liable for any damages, including costs and attorneys' fees, if you knowingly materially misrepresent reported material.": '通过提交此表单,您声明,根据伪证处罚,您有充分的信心相信本报告中的材料未经版权所有者、其代理人或法律授权;并且您有权代表版权所有者行使权利;并且您了解,如果您故意提供错误的材料,您的利益可能会因此受到损害,包括支出和律师费。',
'Send Report': '发送报告',
'Report Details': '报告详情',
'Please describe the illicit content of this gallery. Include the specific pages where the content in question can be found.': '请描述此图库的非法内容。包括可以找到有问题内容的特定页面。',
'Details of illicit content and what pages you found it on. Using this form for copyright-related requests or anything else that is not actual illicit content can get you blocked from using this site.': '非法内容的详细信息以及发现位置。如果使用此表单进行与版权相关的请求或其他任何与实际非法内容无关的请求,可能会导致您无法继续使用本网站。',
'Provide any relevant details. If the gallery has excessive updates that are not allowed under the community guidelines, it will be locked for further updates.': '提供任何相关细节。图库频繁更新不符合社区指南,会被锁定以防止继续更新。',
'Please provide additional details.': '请提供详细信息。',
'Provide any relevant details. If valid content has been removed from the gallery, it will be reverted. If valid content has been replaced with other valid content, it will be split into two separate galleries.': '提供任何相关细节。如果图库中的有效内容被删除,则会被恢复。如果有效内容被其他有效内容替换,将被拆分成两个单独的图库。'
}, []);
;// ./src/services/ui-translation/data/gallerypopups.ts
merge(/^\/gallerypopups\.php\?.*act=rename/, undefined, {
'Uploader:': '上传者:',
'Roman Script': '罗马音',
'Japanese Script': '日文',
'Not Set': '未设置',
'Blank Vote': '空投票',
' New': ' 新',
Submit: '提交'
});
merge(/^\/gallerypopups\.php\?.*act=addfav/, undefined, {
'Choose a favorite category to save this gallery under. You can also add a note to it if you wish.': '请选择一个分类保存您的收藏,您也可以添加一些备注。',
'Favorite Note (Max 200 Characters)': '收藏备注 (最多 200 字符)',
'Add to Favorites': '添加到收藏',
'Remove from Favorites': '从收藏中移除',
'Apply Changes': '应用更改'
}, [[/(\d+) \/ (\d+) favorite note slots? used./, '已使用 $1 个备注,共 $2 个。']]);
;// ./src/services/ui-translation/data/hathperks.ts
merge(/^\/hathperks\.php/, undefined, {
'By running the Hentai@Home client, you will over time gain special bonus points known as ': '通过运行 Hentai@Home 客户端,您会随着时间的推移获得特殊的奖励积分,即 ',
'. These are rewards for people who help keeping this site free, fast and responsive by donating bandwidth and computer resources, and can be exchanged here for ': '。这是给予捐献带宽和计算机资源,帮助网站保持自由与快速的人的奖励,可以在本页面兑换 ',
', which grant beneficial effects on E-Hentai Galleries and in the HentaiVerse.': ',以提升 E-Hentai 和 HentaiVerse 体验。',
'If running H@H is not an option, you can exchange Credits for Hath at the ': '如果您无法运行 H@H,可以在这里使用 Credits 交换 Hath:',
'While the Hath Perks for the HentaiVerse cannot be obtained in any other way, most of the ones that are specific for Galleries will also get unlocked by making a donation on the ': '虽然用于 HentaiVerse 的 Hath Perks 不能通过其他方法获取,但关于图库的大部分 Hath Perks 还可以通过',
'Donation Screen': '捐赠',
'. These will be refunded if you buy them for Hath, and later make a qualifying donation. There is also an option to "adopt" H@H clients that will grant you Hath over time as if you were running it yourself.': '获取。如果您已经使用 Hath 购买,在达成符合条件的捐赠后将获得退款。此外还有一个“领养” H@H 客户端的选项,它会随着时间的推移而授予您 Hath,就好像自己运行它一样。',
'You currently have ': '您现在拥有 ',
' Hath.': ' Hath。',
' Activated!': ' 已激活!',
Description: '描述',
Obtained: '已获得',
Purchase: '购买',
'Free with a $20 donation.': '捐赠 $20 免费解锁',
'Free with a $50 donation.': '捐赠 $50 免费解锁',
'Free with a $100 donation.': '捐赠 $100 免费解锁',
'Ads-Be-Gone': '广告不见了',
'Makes ads be gone.': '让广告消失。',
'Source Nexus': '原始之力',
'Unlocks the Original Images functionality on E-Hentai Galleries. This allows you to browse most files with the original, non-resampled version.': '解锁 E-Hentai 图库的原始图像功能,这允许您直接浏览大部分图像的原始非重采样版本。',
'Multi-Page Viewer': '多页查看器',
'Unlocks the Multi-Page Viewer function on E-Hentai Galleries. This allows you to view all images from a gallery on one page. (': '解锁 E-Hentai 图库的多页查看器功能,这允许您在单个页面上查看图库中的所有图像。(',
demo: '演示',
'More Thumbs': '更多缩略图',
'Doubles the maximum number of thumbnail rows.': '将最大缩略图行数增加到 8。',
'Thumbs Up': '超多缩略图',
'Further increases the maximum number of thumbnail rows to 20.': '将最大缩略图行数增加到 20。',
'All Thumbs': '全部缩略图',
'Further increases the maximum number of thumbnail rows to 40.': '将最大缩略图行数增加到 40。',
'More Pages': '更多页面',
'Increases all limits on how many pages you can view by a factor of two.': '将图像限制变为原来的 2 倍。',
'Lots of Pages': '超多页面',
'Increases all limits on how many pages you can view by a factor of five.': '将图像限制变为原来的 5 倍。',
'Too Many Pages': '全部页面',
'Increases all limits on how many pages you can view by a factor of ten.': '将图像限制变为原来的 10 倍。',
'More Favorite Notes I': '更多收藏备注 I',
'Increases the number of favorite note slots to 10000.': '将收藏备注限制增加到 10000。',
'More Favorite Notes II': '更多收藏备注 II',
'Increases the number of favorite note slots to 25000.': '将收藏备注限制增加到 25000。',
'Paging Enlargement I': '页面扩大 I',
'Increases the number of results you can show per page on the index, search and torrent pages to 50.': '将索引、搜索和种子页面的结果数量变为 50。',
'Paging Enlargement II': '页面扩大 II',
'Increases the number of results you can show per page on the index, search and torrent pages to 100.': '将索引、搜索和种子页面的结果数量变为 100。',
// https://ehwiki.org/wiki/Hath_Perks/Chinese
'Postage Paid': '邮费已付',
'You no longer have to pay postage or CoD fees on messages sent through MoogleMail.': '您使用莫古利邮局可免收邮费和货到付款手续费。',
'Vigorous Vitality': '生机勃勃',
'Increases your base health by 10%.': '增加您的基础生命值 10%。',
'Effluent Ether': '溢流以太',
'Increases your base mana by 10%.': '增加您的基础魔力值 10%。',
'Suffusive Spirit': '心灵坚强',
'Increases your base spirit by 10%.': '增加您的基础灵力值 10%。',
'Resplendent Regeneration': '辉煌再起',
'Increases your in-combat regeneration by 50%.': '增强您战斗中的再生能力 50%。',
'Enigma Energizer': '谜之劲量',
'Doubles the bonus from the riddlemaster, and increases duration to 50 turns.': '加倍御谜士的奖励,持续回合数增加至 50 回合。',
'Yakety Sax': '叶克蒂·萨克斯',
'Monsters will never catch you when fleeing.': '您逃跑时不会被怪物抓到。',
'Soul Catcher': '灵魂捕手',
'Get ten free soul fragments per day.': '每天可得到十片免费的灵魂碎片。',
'These are added automatically if you have opened HV at some point during the past 30 days.': '如果您最近 30 天内还有开启游戏将会自动增加。',
'Extra Strength Formula': '特强配方',
'Happy Pills are twice as effective at improving monster morale.': '快乐药丸会加倍恢复怪物的士气值。',
"That's Good Eatin'": '这倒是挺好吃的!',
'Increases monster food recovery amount by 20%.': '增加怪物食物的饱足感 20%。',
'Coupon Clipper': '食利者',
'10% discount on all purchases at the Item Shop.': '在道具店的所有购物享 10% 折扣。',
'Long Gone Before Daylight': '黎明之前',
'The first energy drink used in a day gives twice the normal amount of stamina.': '每天的第一瓶能量饮料恢复量加倍。',
'Dark Descent': '黑暗后裔',
"Halve the required number of amnesia shards for reseting an item's potential.": '重置装备潜能的重铸碎片所需数量减半。',
'Eminent Elementalist': '元素大师',
'Increases effective Elemental Magic Proficiency by 10% of your natural base proficiency.': '您自身的基础元素魔法熟练度的 10% 会增加到有效熟练度里。',
'Divine Warmage': '圣战法师',
'Increases effective Divine Magic Proficiency by 10% of your natural base proficiency.': '您自身的基础神圣魔法熟练度的 10% 会增加到有效熟练度里。',
'Death and Decay': '死亡凋零',
'Increases effective Forbidden Magic Proficiency by 10% of your natural base proficiency.': '您自身的基础黑暗魔法熟练度的 10% 会增加到有效熟练度里。',
'Evil Enchantress': '邪恶的女巫',
'Increases effective Deprecating Magic Proficiency by 10% of your natural base proficiency.': '您自身的基础减益魔法熟练度的 10% 会增加到有效熟练度里。',
'Force of Nature': '大自然的力量',
'Increases effective Supportive Magic Proficiency by 10% of your natural base proficiency.': '您自身的基础增益魔法熟练度的 10% 会增加到有效熟练度里。',
'Manehattan Project': '曼哈顿计划',
'Significantly boosts the damage output of the Orbital Friendship Cannon.': '大幅提升「友情小马炮」的杀伤力。',
'Follower of Snowflake': '雪花的信徒',
'Displays your unyielding devotion to Snowflake, the Goddess of Loot and Harvest.': '雪花 ─ 专司战利品与收获的女神。宣示您对她不屈不挠的奉献精神。',
'Thinking Cap': '深思',
'Increases EXP gain by 25%. For calculation purposes, this bonus is added to the HentaiVerse training bonus.': '所有取得的经验值提升 25%。为计算方便,此奖励被合并到 HentaiVerse 训练奖励。',
Mentats: '晶算师',
'Increases this EXP bonus to 50%.': '提升经验值奖励至 50%。',
'Learning Chip': '学习晶片',
'Increases this EXP bonus to 75%.': '提升经验值奖励至 75%。',
'Cybernetic Implants': '神经植入物',
'Increases this EXP bonus to 100%.': '提升经验值奖励至 100%。',
'Innate Arcana I': '天赋奥术 I',
'Applies a 10% upkeep discount on autocast spells.': '维持自动施法所需魔力减少10%。',
'Innate Arcana II': '天赋奥术 II',
'Increases the upkeep discount on autocast spells to 20%.': '维持自动施法所需魔力减少20%。',
'Innate Arcana III': '天赋奥术 III',
'Increases the upkeep discount on autocast spells to 30%.': '维持自动施法所需魔力减少30%。',
'Innate Arcana IV': '天赋奥术 IV',
'Increases the upkeep discount on autocast spells to 40%.': '维持自动施法所需魔力减少40%。',
'Innate Arcana V': '天赋奥术 V',
'Increases the upkeep discount on autocast spells to 50%.': '维持自动施法所需魔力减少50%。',
'Crystarium I': '水晶矿脉 I',
'Whenever a monster drops a crystal in the HentaiVerse, you will receive an additional bonus crystal.': '在 HentaiVerse 里每当一只怪物掉落一颗水晶时,您将会再获得一颗水晶作为追加奖励。',
'Crystarium II': '水晶矿脉 II',
'Further increases the number of crystals received per drop to three.': '进一步提高水晶掉落数量至三倍。',
'Crystarium III': '水晶矿脉 III',
'Further increases the number of crystals received per drop to five.': '进一步提高水晶掉落数量至五倍。',
'Crystarium IV': '水晶矿脉 IV',
'Further increases the number of crystals received per drop to seven.': '进一步提高水晶掉落数量至七倍。',
'Crystarium V': '水晶矿脉 V',
'Further increases the number of crystals received per drop to ten.': '进一步提高水晶掉落数量至十倍。',
'Tokenizer I': '令牌技师 I',
'Doubles the chance of random mob token drops.': '打怪的令牌掉落率变成双倍。',
'Tokenizer II': '令牌技师 II',
'Triples the chance of random mob token drops.': '打怪的令牌掉落率变成三倍。',
'Tokenizer III': '令牌技师 III',
'Quadruples the chance of random mob token drops.': '打怪的令牌掉落率变成四倍。',
'Hoarder I': '囤积者 I',
'The first 200 equips placed in storage do not count towards your equipment limit.': '放置于仓库的前 200 件装备不计入您的装备数量限制。',
'Hoarder II': '囤积者 II',
'Increases the equipment storage allowance to 400 equips.': '将装备数量限制增加到 400。',
'Hoarder III': '囤积者 III',
'Increases the equipment storage allowance to 600 equips.': '将装备数量限制增加到 600。',
'Hoarder IV': '囤积者 IV',
'Increases the equipment storage allowance to 800 equips.': '将装备数量限制增加到 800。',
'Hoarder V': '囤积者 V',
'Increases the equipment storage allowance to 1000 equips.': '将装备数量限制增加到 1000。',
'Repair Bear Mk.1': '修理熊 Mk.1',
'The latest invention from Moogle Dynamics, the Repair Bear will follow you around and help you keep your equipment in good shape at all times. This reduces effective equipment wear by half.': '莫古利动力学的最新发明,修理熊会随侍在侧帮助您的装备随时保持良好状态。有效装备耗损程度将减少一半。',
'Repair Bear Mk.2': '修理熊 Mk.2',
'Further hones the skills of your Repair Bear, making it better at maintaining your equipment. Effective equipment wear is reduced to 25% of normal.': '进一步磨练您的修理熊的技巧,使它精于维护您的装备。有效装备耗损程度减少为正常值的 25%。',
'Repair Bear Mk.3': '修理熊 Mk.3',
'Trains your Repair Bear to the penultimate level, making those pesky forge visits (almost) a distant memory. Effective equipment wear is reduced to 10% of normal.': '将您的修理熊培训至完全体,让那些烦人的锻造次数 (几乎) 成为遥远的记忆。有效装备耗损程度减少为正常值的 10%。',
'Repair Bear Mk.4': '修理熊 Mk.4',
'The pinnacle of Repair Bear Technology, providing the ultimate in-the-field preventive equipment maintenance. Equipment wear is fully eliminated, and defeat durability loss is cut by half.': '修理熊科技的顶尖之作,提供这门领域最高端的预防性装备维护技术。装备耗损完全消除,被击倒时的耐久度损耗减半。',
'Dæmon Duality I': '双重守护精灵 I',
'Increases attack damage and magic damage by 10%.': '提升攻击伤害和魔法伤害各 10%。',
'Dæmon Duality II': '双重守护精灵 II',
'Increases attack damage and magic damage by 15%.': '提升攻击伤害和魔法伤害各 15%。',
'Dæmon Duality III': '双重守护精灵 III',
'Increases attack damage and magic damage by 20%.': '提升攻击伤害和魔法伤害各 20%。',
'Dæmon Duality IV': '双重守护精灵 IV',
'Increases attack damage and magic damage by 25%.': '提升攻击伤害和魔法伤害各 25%。',
'Dæmon Duality V': '双重守护精灵 V',
'Increases attack damage and magic damage by 30%.': '提升攻击伤害和魔法伤害各 30%。',
'Dæmon Duality VI': '双重守护精灵 VI',
'Increases attack damage and magic damage by 35%.': '提升攻击伤害和魔法伤害各 35%。',
'Dæmon Duality VII': '双重守护精灵 VII',
'Increases attack damage and magic damage by 40%.': '提升攻击伤害和魔法伤害各 40%。',
'Dæmon Duality VIII': '双重守护精灵 VIII',
'Increases attack damage and magic damage by 45%.': '提升攻击伤害和魔法伤害各 45%。',
'Dæmon Duality IX': '双重守护精灵 IX',
'Increases attack damage and magic damage by 50%.': '提升攻击伤害和魔法伤害各 50%。'
});
;// ./src/services/ui-translation/data/hentaiathome.ts
merge(/^\/hentaiathome\.php\??$/, undefined, {
'Hentai@Home Clients': 'Hentai@Home 客户端',
'H@H Region': 'H@H 地区',
'Current Network Load': '当前网络负载',
'Hits/sec': '命中/秒',
Coverage: '覆盖率',
'Hits/GB': '命中/GB',
Quality: '质量',
'North and South America': '北美洲和南美洲',
'Europe and Africa': '欧洲和非洲',
'Asia and Oceania': '亚洲和大洋洲',
'Chinese Dominion': '中国大陆',
Global: '全球',
'\n\tNetwork Load shows how much bandwidth is currently being used. This includes requests served by H@H and the image servers.': '当前网络负载 显示当前使用的带宽量,这包括 H@H 服务的请求以及来自图像服务器的直接请求。',
'\n\tCoverage shows the average number of times a file range is found within a region, indicating the total available storage capacity.': '覆盖率 表示此区域内一组文件的平均存在次数,代表着总可用存储量。',
'\n\tHits/GB shows the average number of hits per minute per gigabyte of allocated disk space for all online clients in the region.': '命中/GB 表示此区域所有在线客户端分配的每 GB 磁盘空间每分钟的平均命中次数。',
'Your Active Clients': '您的活动客户端',
'To add more clients, ': '要添加更多客户端,请',
'PM Tenboro': '联系 Tenboro',
'. Make sure to read the requirements first to make sure that you qualify. Include the system specifications and location the client will run at in the message, and specify whether it is a home connection or a VPS/Dedicated. Each client requires its own unique public IPv4 address to run, and must either be reachable directly from the internet, or have a port forwarded. These are technical requirements, and it is not possible to make any exceptions.': '。请务必先阅读要求以确保您符合资格。在消息中包含客户端的配置和地理位置,并说明它是家庭连接还是 VPS/独立服务器。每个客户端都需要拥有唯一的公共 IPv4 地址才能运行,并且必须可以直接从 Internet 访问,或者使用端口转发。这些都是技术要求,不可能有任何例外。',
Client: '客户端',
Status: '状态',
Created: '创建于',
'Last Seen': '最后在线于',
'Files Served': '提供的文件',
'Client IP': '客户端 IP',
Port: '端口',
Version: '版本',
'Max Speed': '最大速度',
Trust: '信任',
Hitrate: '命中率',
Hathrate: 'Hath 产出率',
Country: '国家/地区',
Online: '在线',
Offline: '离线',
'Not available when offline': '离线状态下不可用',
'Apply for H@H participation': '参与申请 H@H',
'For information on how to participate in the Hentai@Home Project, refer to the ': '有关如何参与 Hentai@Home 项目的信息,请参阅 ',
'Hentai@Home Project FAQ': 'Hentai@Home 项目常见问题解答 (英文)',
'. Read and understand the requirements BEFORE you submit an application. Your system and network speed must meet some minimum requirements to run H@H, and the client cannot be regularly shut down.': '。在提交申请之前,请确保您已阅读并理解要求。您的系统和网络速度必须满足一些最低要求才能运行 H@H,并且客户端不能经常关闭。',
'If you have a headless server that cannot use the normal speedtest, use ': '如果您有一台无法使用寻常 SpeedTest 的无头服务器,请使用 ',
' instead.': ' 代替。',
'Max Outgoing Speed': '最大出站速率',
'The maximum outgoing speed you want to use for this client.': '此客户端允许的最大出站 (上传) 速度。',
'This should be less than or equal to your connection speed.': '此速度应当小于等于您的连接速度。',
'Disk Cache Size': '磁盘缓存大小',
'The maximum allowed disk space for the image cache.': '允许缓存占用的最大磁盘空间。',
'The allocated space must be reserved for H@H.': '分配的空间必须为 H@H 保留。',
'Speed Test': '速度测试结果',
'Go to ': '前往 ',
' and run a test against your closest server.': ' 并使用距离最近的服务器进行测试。',
'After the test completes, paste the result URL here.': '测试完成后,将结果 URL 粘贴在此处。',
'The resulting speedtest MUST show at least 80 Mbps upload ': '要求:至少 80 Mbps 上传速度 ',
AND: '和',
' 80 Mbps download! Old tests will be rejected.': ' 80 Mbps 下载速度,使用旧的测试结果会被拒绝。',
'The client MUST normally be running at all times. Clients with frequent/extensive downtime will be revoked.': '正常情况下客户端必须一直运行,经常/长时间离线的客户端会被吊销。',
'BOTH measurements in my test above are at least 80 Mbps': '我的测速两个值均大于 80 Mbps',
'This client will be hosted on a system that is usually running 24/7': '此客户端将托管在一台正常情况下 24 小时运行的系统上',
'Submit Application': '提交申请',
'Your application is pending. You can still make changes below if necessary.': '您的申请正在等待处理。如有必要,您仍可以在下方修改申请。',
'If the auto-detected country is wrong, contact Tenboro to have an override applied. Include the correct country, client ID and IP address in your message, and ': '如果自动检测的国家/地区错误,请联系 Tenboro 以进行更改。在消息中包含正确的国家/地区、客户端 ID 和 IP 地址,并',
'make sure to keep your client running': '确保您的客户端保持运行',
'. Having the client set to the wrong country will make it perform worse than it would otherwise do. If the country is shown in ': '。位于错误的国家/地区的客户端的性能表现将不如预期。如果国家/地区显示为 ',
red: '红色',
' that means it appears to be located outside of its home region, and ': ',则意味着它似乎位于其所在地区之外,',
'will not be assigned new ranges nor gain any hath': '不会再被分配新的范围,也不会获得 Hath',
'. Contact Tenboro if you need to change the home region.': '。如果您需要更改所在地区,请联系 Tenboro。',
'Free Archive Quota: ': '免费的存档配额:',
', measured in a 168-hour sliding window. Clients must be ': ',按照最近 168 小时的在线时间进行计算。客户端必须保持',
healthy: '健康',
' and must have been running for more than 24 hours straight to qualify.': '并运行超过 24 小时才能获得资格。',
'Client Download': '客户端下载',
File: '文件',
Size: '大小',
'Source Code': '源代码',
'You can find the current release notes ': '您可以在 ',
here: '此处',
'. You should verify that the size and cryptographic hash correspond to the files you download. Hentai@Home is an Open Source project released under the GNU General Public Licence v3. The source code and build scripts for Windows and Linux-like systems can be found above.': ' 找到当前版本的发行说明 (英文)。请验证您下载的文件的大小和哈希值与上方给出的数值相对应。Hentai@Home 是在 GNU 通用公共许可证 v3 下发布的开源项目。Windows 和类 Linux 系统的源代码和构建脚本可以在上面找到。',
'Unfortunately, we cannot accept clients with less than 80 Mbit/s outgoing speed.': '抱歉,我们无法接受出站速率低于 80 Mbps 的客户端。',
'Unfortunately, we cannot accept clients that are frequently offline.': '抱歉,我们无法接受经常离线的客户端。'
}, [[/^([\d.]+) \/ min$/, '$1 / 分钟'], [/^([\d.]+) \/ day$/, '$1 / 天'], [/^([\d.]+) ([KMGTP]B)\/hour$/, '$1 $2/小时'], [/^([\d.]+) ([KMGTP]B) per week$/, '每周 $1 $2'], [/^Must be at least ([\d.]+) ([KMGTP]B)\/s, which must be reserved for H@H.$/, '不小于 $1 $2/s,必须为 H@H 保留。'], [/^ Must be at least ([\d.]+) ([KMGTP]iB) but more is always better.$/, '至少为 $1 $2,但越多越好。'], [/^Max Burst Speed must be at least ([\d.]+) ([KMGTP]B)\/s.$/, '最大出站速率必须至少为 $1 $2/s。'], [/^Disk Space must be at least ([\d.]+) ([KMGTP]B).$/, '磁盘空间必须至少为 $1 $2。']]);
merge(/^\/hentaiathome\.php\?.*act=settings/, undefined, {
'Client ID:': '客户端 ID:',
'Client Key:': '客户端 Key:',
'Current Value: ': '现值:',
'New Value: ': '新值:',
'Port for Incoming Connections': '监听端口',
'Can be 443 (recommended) or most numbers between 1024 and 65534. This port must be opened in your firewall, and forwarded from any NAT-based cable/xDSL modems or routers you connect to the internet through.': '可以使用 443 (推荐) 或 1024~65534 的大部分端口。此端口必须在您的防火墙中打开,并经由您连接到 Internet 的任何基于 NAT 的电缆/xDSL 调制解调器或路由器转发。',
'Note: The port cannot be changed while the client is running.': '注意:客户端运行时不能更改端口。',
'Client Name': '客户端名称',
'You can set a custom name for this client here. This will be used in the various listings this client appears in.': '您可以在这里为此客户端设置自定义名称。它会用于此客户端出现的各种列表中。',
'Maximum Upload Rate': '最大上传速率',
'Turning on the client-side speed limit makes the client enforce this as the maximum speed, which reduces the burstiness of the load. This will increase CPU usage and can reduce the performance of the client. You should only enable this if H@H noticeably affects your home network performance.': '打开客户端侧速度限制会使客户端以设置的最大速度运行,从而减少负载的突发性。但这会增加 CPU 使用率,降低客户端的性能。仅当 H@H 明显影响您的家庭网络性能时才应启用此功能。',
'Static Range allocation is limited to 1 per 5 KB/s. Clients cannot be assigned high-capacity ranges if set below 10 MB/s.': '每 1 组静态范围至少 5 KB/s。如果设置低于 10 MB/s,则不会被分配到大容量范围。',
' KBytes/s': ' KB/s',
' Enable Client-Side Speed Limit (recommended only for home networks)': ' 启用客户端侧的速度限制 (仅建议家庭网络开启)',
' Confirm removing all assigned high-capacity ranges from this client if set below 10 MB/s': ' 如果低于10 MB/s,确认删除客户端中所有大容量范围',
'Note: 1 KB/s or KBps (Kilo': '注意:1 KB/s 或 KBps (千',
bytes: '字节',
' per Second) is equivalent to 8 Kb/s or Kbps (Kilo': '每秒) 相当于 8 Kb/s 或 Kbps (千',
bits: '比特',
' per Second). Internet speeds are typically advertised as the latter (Mbps or Mbit/s), and this is also what Speedtest uses, so make sure you use the right one. Do not set this higher than the upload bandwidth of your internet connection.': '每秒)。Internet 速度通常被宣传为后者 (Mbps 或 Mbit/s),Speedtest 也使用这种表示方式,因此请确保使用正确的速度。您不应将此设置为高于 Internet 连接的上行带宽。',
'To reduce the upload rate for this client below this level, you must first shut it down, then check the "Remove static ranges if necessary" option.': '降低该客户端的上传速率需要先关闭客户端,然后勾选“必要时移除静态范围”选项。',
'Maximum Disk Cache Size': '最大磁盘缓存大小',
'How much disk space to reserve for this client. Must be at least 10 GiB, but the more you assign the better your client will perform. The reserved space must always be available.': '希望为此客户端保留多少磁盘空间。最少 10 GiB,但是保留的越多,客户端表现的越好。保留空间必须始终可用。',
'Static Range allocation is limited to 1 per 250 MiB.': '静态范围分配限制为每 250 MiB 磁盘空间 1 组。',
' Verify cache integrity on next startup': ' 下次启动时验证缓存完整性',
'To reduce the disk space for this client below this level, you must first shut it down, then check the "Remove static ranges if necessary" option.': '降低该客户端所需的磁盘空间需要先关闭客户端,然后勾选“必要时移除静态范围”选项。',
'Advanced Settings': '高级设置',
'The settings below are optional advanced settings.': '以下设置项为可选的高级设置',
'Reset Client Key': '重置客户端 Key',
'If you believe your client key has been compromised, you can reset the key by checking this box. You will have to re-enter the key the next time the client starts.': '如果您认为您的客户端 Key 已泄露,可以通过选中复选框来重置密钥。下次客户端启动时,您必须重新输入密钥。',
' Reset Client Key': ' 重置客户端 Key',
'Monthly Data Transfer Target': '每月数据流量限制',
Unlimited: '无限',
' GB per month': ' GB 每月',
'If you have a monthly data cap, you can provide it here. If the system detects that you are likely to exceed this target, it will reduce the priority of ranges on your client to reduce the load, but it is not guaranteed to stay below this value. Leave at 0 to limit with max speed alone. Must be at least 1000 GB if set.': '如果你有每月数据限额,请在此设置。如果系统检测到你可能超过此限额,它将会降低客户端上的静态范围的优先度,以降低网络负载,但并不能保证低于设定值。保留为 0 表示仅限制最大速度。最低限制为 1000 GB。',
'Static Range allocation is limited to 1 per 5 GB. Clients cannot be assigned high-capacity ranges if set below 5 TB/month.': '每 1 组静态范围至少 5 GB。如果设置低于 5 TB/月,则不会被分配到大容量范围。',
'To reduce the monthly data transfer target for this client below this level, you must first shut it down, then check the "Remove static ranges if necessary" option.': '降低该客户端的每月数据流量限制需要先关闭客户端,然后勾选“必要时移除静态范围”选项。',
' Confirm removing all assigned high-capacity ranges from this client if set below 5 TB/month': ' 如果低于5 TB/月,确认删除客户端中所有大容量范围',
'Minimum Free Disk Space': '磁盘最小剩余空间',
'Use Default': '默认',
'If this value is set, the client will stop running if the free space on the disk decreases below this value. The client will exit if free space drops below 1 GiB even if this is not set.': '如果设置了此值,则当磁盘上的可用空间低于此值时,客户端会停止运行。即使未设置,当可用空间低于 1 GiB 时,客户端也会退出。',
'Reset Static Ranges': '重置静态范围',
'Your client will be assigned ranges of files to cache and serve. This toggle clears these ranges. ': '您的客户端会被分配到一段文件范围用于缓存和提供服务。此复选框用于重置这些范围。',
'DO NOT DO THIS UNLESS YOU LOST YOUR CACHE. IT WILL NOT FIX OTHER CLIENT ISSUES. DOING THIS REGULARLY WILL REVOKE YOUR CLIENT.': '除非您丢失了缓存,否则不要执行此操作。它不会修复客户端的其他任何问题。定期执行此操作将吊销您的客户端。',
'This client currently has ': '此客户端当前被分配了 ',
' static range(s) assigned.': ' 组静态范围。',
' Reset Static Ranges': ' 重置静态范围',
'Warning: You should ': '警告:',
never: '不要',
' reset your static ranges ': '重置您的静态范围,',
unless: '除非',
' the cache has been deleted or is otherwise lost. It should ': '缓存已被删除或以其他方式丢失。如果缓存因任何原因被清除,则',
always: '必须',
' be reset if the cache has been cleared for whatever reason, or the client will encounter serious trust issues.': '重置静态范围,否则客户端将遇到严重的信任问题。',
'Miscellaneous Toggles': '杂项开关',
'Various toggles to optimize client behavior.': '用于优化客户端行为的各种开关。',
' Disable logging to disk. This will reduce disk activity by a small amount. Errors are still logged.': ' 停止向磁盘写入日志。启用后能轻微减少磁盘活动。错误仍会被记录。',
' Run in low-memory mode. This will somewhat reduce memory requirements, but will lead to increased disk activity.': ' 以低内存模式运行。启用后能在一定程度上减少内存占用,但会导致磁盘活动增加。',
' Use this client as your designated H@H Downloader. Only necessary if you have multiple clients.': ' 将此客户端用作指定的 H@H 下载器。仅当您有多个客户端时才需要。',
'Changes will be applied within roughly two minutes. If you decrease the disk cache space, it will not take effect until next restart.': '更改将在大约两分钟内生效。如果减少了磁盘缓存空间,则需要重新启动才会生效。',
' Allow removing static ranges if necessary (client must be shut down)': '必要时允许移除静态范围 (需要重启客户端)',
'Apply Settings': '应用设置',
'Back to Overview': '返回总览'
}, [[/^This is the maximum speed the client can use to serve files, measured in kilobytes per second. Must be at least ([\d.]+) ([KMGTP]B)\/s. Actual utilization will be at most 80% of this over time.$/, '这是客户端可以用来提供文件的最大速度,以每秒千字节为单位。必须至少为 $1 $2/s。随着时间的推移,利用率最多会达到此值的 80%。'], [/^This client currently has ([\d.]+) static ranges assigned. Each requires at least 250 MiB of disk space, so you cannot reduce it below ([\d.]+) GiB without removing ranges.$/, '此客户端已分配 $1 组静态范围。每组需要至少 250 MiB 磁盘空间,所以您无法减少至低于 $2 GiB,除非移除静态范围。'], [/^This client currently has ([\d.]+) static ranges assigned. Each requires at least 5 KB\/s of upload rate, so you cannot reduce it below ([\d.]+) KB\/s without removing ranges.$/, '此客户端已分配 $1 组静态范围。每组需要至少 5 KB/s 上传速率,所以您无法减少至低于 $2 KB/s,除非移除静态范围。'], [/^This client currently has ([\d.]+) static ranges assigned. Each requires at least 5 GB of monthly data transfer, so you cannot reduce it below ([\d.]+) GB without removing ranges.$/, '此客户端已分配 $1 组静态范围。每组需要至少 5 GB 的每月数据流量,所以您无法减少至低于 $2 GB,除非移除静态范围。'], [/^ static range\(s\) assigned: P(\d+) = $/, ' 组静态范围:P$1 = '], [/^([\d.]+) ([KMGTP]B)\/hour$/, '$1 $2/小时'], [/^([\d.]+) ([KMGTP]B)\/s$/, '$1 $2/s']]);
;// ./src/services/ui-translation/data/home.ts
merge(/^\/home\.php/, undefined, {
'Image Limits': '图像配额',
'Due to widespread usage of bulk downloaders, high-resolution images can be limited.': '由于批量下载器的滥用,高分辨率图像可能会受到限制。',
'You are currently at ': '当前:',
' towards your account limit of ': ',账户限制为 ',
'.': '。',
'You can reset your image quota by spending ': '重置配额花费:',
' GP.': ' GP。',
'Reset Quota': '重置配额',
'You are currently using IP-based limits. No restrictions are currently in effect.': '您当前使用的是基于 IP 的限制,目前没有任何限制生效。',
'Due to a high request rate, your IP is currently restricted to lower-resolution images.': '由于请求频率过高,您的 IP 目前只能查看低分辨率图像。',
'You can get a Bronze Star or the More Pages hathperk to tie image limits to your account.': '您可以通过捐赠铜星或解锁 Hath Perk:「更多页面」将图像配额绑定到您的账户。',
'Alternatively, you can unlock a high-resolution quota for 24 hours by spending ': '或者,您可以花费 GP 来解锁 24 小时的高分辨率配额:',
'Note that for the latter, clearing your cookies will revert you to IP-based limits.': '请注意:对于后者,清除 Cookie 将使您恢复到基于 IP 的限制。',
'Unlock Quota': '解锁配额',
EHTracker: 'EH 种子服务器',
' uploaded': '上传量',
downloaded: '下载量',
'up/down ratio': '分享率',
'torrent completes': '完成种子',
'gallery completes': '完成图库',
seedmins: '做种时长',
'Show My Torrents': '显示我的种子',
'If you misplace any of your personalized torrents, hit the button below to reset your key.': '如果您错误地分发了私有种子,请点击下面的按钮重置您的 Key。',
'This will immediately invalidate all of your personalized torrents in play.': '这会立即注销您全部的私有种子。',
'Your current key is: ': '您当前的 Key 是:',
'Reset Torrent Key': '重置种子 Key',
'Total GP Gained': '获得的总 GP',
'GP from gallery visits': 'GP 来自图库浏览',
'GP from torrent completions': 'GP 来自种子完成',
'GP from archive downloads': 'GP 来自存档下载',
'GP from Hentai@Home': 'GP 来自 Hentai@Home',
'\n\t\t\tYou are currently not featured on any toplists...\n\t\t': '您当前没有上榜...',
'You are currently: ': '您现在是:',
'on the ': ' (在',
' toplist': '榜)',
'Moderation Power': '愿力',
'Current Moderation Power': '当前愿力',
Base: '基础',
Awards: '奖励',
Tagging: '打标签',
Level: '等级',
'Forum Activity': '论坛活跃',
'Uploads/H@H': '上传 / H@H',
'Account Age': '账户资历',
'(capped to 25)': '(不超过 25)'
});
;// ./src/services/ui-translation/data/image.ts
merge(/^\/(s|mpv)\//, undefined, {
'Show all galleries with this file': '显示所有包含此图像的图库',
'Get forum image link': '生成用于论坛的图像链接',
'Click here if the image fails loading': '重新加载图像',
'Close Image Viewer': '关闭图像查看器',
'Go Fullscreen - F11 or ESC to cancel': '全屏 - F11 或 ESC 退出',
'Align Left, Scale Down Only': '左对齐,仅当图像大于浏览器宽度时缩放',
'Align Center, Scale Down Only': '居中对齐,仅当图像大于浏览器宽度时缩放',
'Align Center, Scale To Fit': '居中对齐,始终缩放图像以适应浏览器宽度',
'Show Thumbnail Pane': '显示缩略图侧栏',
'Hide Thumbnail Pane': '隐藏缩略图侧栏',
'Reload broken image': '重新加载图像',
'Open image in normal viewer': '在普通查看器中打开图像',
'Show galleries with this image': '显示所有包含此图像的图库',
'Get forum link to image': '生成用于论坛的图像链接'
}, [[/^Page (\d+) - /, '第 $1 页 - '], [/^Download original (.*?) source$/, '下载原图 ($1)'], [/^Download original (.*?)B$/, '下载原图 $1B']]);
;// ./src/services/ui-translation/data/karma.ts
merge(/^\/karma\.php/, undefined, {
'\n\tYou are about to imbue ': '您将要赋予 ',
' with ': ' ',
' karma.': ' karma。',
'\n\tIf you wish, you can leave a short message below.\n': '\n\t如果您愿意,可以在下方简短留言。\n',
Imbue: '赋予',
'\nYou cannot imbue yourself with Karma!\n': '您不能赋予自己 Karma!',
'Please wait longer between karma imbue attempts.': '请在赋予 Karma 之间等待更长时间。',
'You have imbued ': '你向 ',
'Your Karma Influence Power has been drained, and is now ': '您的 Karma 影响力已消耗,现在为 ',
'\nYou have imbued this member with karma too recently.': '您最近赋予过此用户 Karma。',
'Time remaining before you can imbue this member again:': '距离下次可赋予此用户的时间为:'
}, [[/^ with ([\d.]+) points? of karma.$/, '赋予了 $1 点 Karma。'], [/^([\d.]+) days and ([\d.]+) hours$/, '$1 天 $2 小时'], [/^([\d.]+) hours and ([\d.]+) minutes$/, '$1 小时 $2 分钟'], [/^([\d.]+) days$/, '$1 天'], [/^([\d.]+) hours$/, '$1 小时'], [/^([\d.]+) minutes$/, '$1 分钟']]);
;// ./src/services/ui-translation/data/lofi.ts
merge(/^\/lofi\//, undefined, {
'< Prev Page': '< 上一页',
'Next Page >': '下一页 >',
'E-Hentai Lo-Fi Galleries: The Mobile Hentai Experience': 'E-Hentai 低保真图库:移动 Hentai 体验',
'Posted:': '发布:',
'Category:': '类别:',
'Tags:': '标签:',
'Rating:': '评分:',
'Go To First Page': '前往第一页',
'\n\tImage Resolution: \xA0 ': '图像分辨率:',
'Back to Gallery Page': '返回图库页',
'Back to Front Page': '返回首页'
}, [[/^(\d\d\d\d-\d\d-\d\d \d\d:\d\d) by (.*)$/, '$1 \xA0 上传者:$2']]);
;// ./src/services/ui-translation/data/login.ts
merge(/^\/bounce_login\.php/, undefined, {
'This page requires you to log on.': '此页面需要登录才能访问',
'Login!': '登录',
'\xA0or\xA0': ' 或 ',
Register: '注册'
});
;// ./src/services/ui-translation/data/logs.ts
merge(/^\/logs\.php/, undefined, {
Date: '日期',
Amount: '金额',
Information: '信息',
'Total Karma: ': '总 Karma:',
From: '来自',
Topic: '主题',
Comment: '附言',
'Show Older >': '下一页 >'
});
;// ./src/services/ui-translation/data/mytags.ts
merge(/^\/mytags/, undefined, {
'New Tagset': '新建标签集',
' Enable': ' 启用',
'#default': '#默认',
'Enter a single tag to flag, watch or hide': '输入要标记、关注或隐藏的标签',
' Watched': ' 关注',
' Hidden': ' 隐藏',
'Action:': '操作:',
'Delete Selected': '删除选中项',
'Change Tagset:': '改变标签集:',
'Confirm Delete': '确认删除',
'Confirm Move': '确认移动',
'Select All': '全选',
'Enable flagging and watching for tags in this set': '启用此标签集中标签的标记和关注',
'Watch galleries with this tag': '关注带有此标签的图库',
'Hide galleries with this tag': '隐藏带有此标签的图库',
'Default tag color for this tagset. Tags in this set that do not have a set flag color will use this color. A default color will be used if neither is set.': '此标签集的默认标签颜色。如果此标签集中的标签没有设置颜色,则使用此颜色。如果两者都没有设置,则使用默认颜色。',
'(optional) The weight of this tag. This is used to order flagged tags if several are present, as well as calculating the contribution of this tag towards the soft tag filter and watching threshold.': '(可选) 此标签的权重。如果存在多个标签,则用于对标记的标签进行排序,同时也用于计算此标签对于软标签过滤器和订阅的权重。'
});
;// ./src/services/ui-translation/data/news.ts
merge(/^\/news\.php/, undefined, {
'Site Status': '网站状态',
'Lately we have been seeing a surge of old accounts with weak/compromised passwords being taken over by spammers, causing them to get banned.': '最近我们看到了大量旧账户被垃圾邮件发送者接管,这些账户的密码较弱或已被泄露,导致它们被封禁。',
'If you still use a weak password or a password you ever used anywhere else, you need to change it as soon as possible.': '如果你仍在使用较弱的密码或曾在其他地方使用过的密码,你需要尽快更改它。',
'We will ': '如果你忽略了这个警告并且发生了这种情况,我们将',
not: '不',
' manually restore access to your account if you ignore this warning and it happens to you.': '会手动恢复你的账户访问权限。',
'Scheduled Downtime & Maintenance': '计划停机和维护',
'No maintenance is currently ongoing or scheduled.': '目前没有正在进行或计划中的维护。',
'Automated Monitoring Status': '自动监控状态',
'No server issues have been detected by the monitoring system.': '监控系统未检测到服务器问题。',
'Site Changelog': '网站更新日志',
'Changelogs: \xA0 ': '更新日志:',
'Show Older News': '显示更早的新闻'
}, [[/^Last Monitoring Update: (\d\d\d\d-\d\d-\d\d \d\d:\d\d) UTC$/, '最后监控更新:$1 UTC'], [/^Show (\d+) comment(s)?$/, '显示 $1 条评论'], [/^Posted (.+?) UTC$/, '发布于 $1 UTC']]);
;// ./src/services/ui-translation/data/popular.ts
merge(/^\/popular/, undefined, {
'Currently Popular Recent Galleries': '当下流行的新图库'
});
;// ./src/services/ui-translation/data/search.ts
merge(/^\/\?.*f_shash=.*$/, undefined, {
'Showing galleries with file: ': '正在显示包含此文件的图库:',
'Similarity Scan was disabled for this search. You must start a new search to alter this.': '在本次搜索中,相似性查询已禁用。要更改相似性查询设置,您必须重新搜索。',
'Similarity Scan was enabled for this search. You must start a new search to alter this.': '在本次搜索中,相似性查询已启用。要更改相似性查询设置,您必须重新搜索。',
'No file was uploaded, or the uploaded file was invalid.': '没有上传文件,或上传的文件无效',
'The uploaded file was detected as monotone. Only exact file matches are displayed.': '上传的文件被检测为单色图,仅显示完全匹配的文件'
}, []);
;// ./src/services/ui-translation/data/stats.ts
merge(/^\/stats\.php/, undefined, {
'Visitor Statistics': '访客统计',
'Your galleries have had a total of ': '你的图库共计有 ',
'This gallery has had a total of ': '此图库共计有 ',
' visit.': ' 名访客。',
' visits.': ' 名访客。',
Ranking: '名次',
Score: '分数',
' All-Time': '所有时间',
' Past Year': '年排行',
' Past Month': '月排行',
' Yesterday': '日排行',
'Not in Top 1000': '1000 名以外',
'Yearly Stats': '年度统计',
Visits: '访问',
Hits: '点击',
'Last 12 Months': '最近 12 个月',
Jan: '1 月',
Feb: '2 月',
Mar: '3 月',
Apr: '4 月',
May: '5 月',
Jun: '6 月',
Jul: '7 月',
Aug: '8 月',
Sep: '9 月',
Oct: '10 月',
Nov: '11 月',
Dec: '12 月',
'Daily Stats': '每日统计',
'1st': '1 日',
'2nd': '2 日',
'3rd': '3 日',
'4th': '4 日',
'5th': '5 日',
'6th': '6 日',
'7th': '7 日',
'8th': '8 日',
'9th': '9 日',
'10th': '10 日',
'11th': '11 日',
'12th': '12 日',
'13th': '13 日',
'14th': '14 日',
'15th': '15 日',
'16th': '16 日',
'17th': '17 日',
'18th': '18 日',
'19th': '19 日',
'20th': '20 日',
'21st': '21 日',
'22nd': '22 日',
'23rd': '23 日',
'24th': '24 日',
'25th': '25 日',
'26th': '26 日',
'27th': '27 日',
'28th': '28 日',
'29th': '29 日',
'30th': '30 日',
'31st': '31 日',
'The number of total visits on your galleries.': '图库总访问次数',
'The number of total image accesses on your galleries.': '图库中图像访问次数',
'Back to Gallery': '返回图库'
});
;// ./src/services/ui-translation/data/tagjustification.ts
merge(/^\/tagjustification\.php/, undefined, {
'\nYou have no tags pending approval.\n\n': '您没有待审核的标签。',
'New Tag Justification': '新建标签申请',
'Make sure to provide a source for each requested tag whenever possible. ': '请尽可能地为每个申请的标签提供来源。',
'Read this article on how to provide a good source.': '请阅读本文以了解如何提供良好的来源。',
'If a source cannot be found, elaborate why you still think the tag should be added in the sources field.': '如果找不到来源,请在来源一栏中说明您认为应该添加此标签的理由。',
'If you leave this page without providing the requested information, these tags will be deleted.': '如果您没有提供所需的信息就离开了页面,则添加的标签会被删除。',
'You have provided justification for all of the added tags. You can now ': '您已经为所有添加的标签提供了理由。现在您可以 ',
'return to the gallery': '返回图库',
' or close this page.': ' 或关闭此页面。',
'My Pending Tag Requests': '我的待审核标签申请',
'Gallery:': '图库:',
'Tag Name:': '标签:',
'Namespace:': '命名空间:',
'Sources:': '来源:',
'Describe the nature of this tag, and provide link(s) to parody/character reference, official artist/group/cosplayer profile, or anything else you may think is useful to help validate this tag.': '请描述此标签的性质,并提供原作/角色的参考来源、官方艺术家/社团/Coser 的主页地址,或其他任何您认为有助于验证此标签的链接。',
'Comment:': '评论:',
'Let us know what you changed with this update, or explain why you did not change anything.': '请告知您在此次更新中做了哪些修改,或者为什么没有做任何修改。',
'Save Changes': '保存更改',
'Tag Name': '标签',
Namespace: '命名空间',
Sources: '来源',
'Last Updated': '最后更新',
MISSING: '缺失',
OK: '已提供'
}, [[/^You still need to provide sources for (\d+) tag. If you created it by mistake, write "created by mistake" in the sources field.$/, '您还需要为 $1 个标签提供来源。如果您是误添加的标签,请在来源一栏中填写 "created by mistake"。']]);
;// ./src/services/ui-translation/data/tools.ts
merge(/^\/tools\/track_expunge/, 'repo.e-hentai.org', {
'Expunge Tracker': '删除追踪器',
'State: \xA0 [': '状态: [',
All: '全部',
Expunged: '已删除',
'Revoked/Rejected': '已撤销/已拒绝',
'Pending All': '待处理',
'Pending Expunge': '待删除',
'Pending Appeal': '待申诉',
'Type: \xA0 ': '类型: ',
' Forbidden': ' 违规内容',
' Duplicate': ' 重复',
' Replaced': ' 已替换',
' Defaced': ' 污损',
' \xA0 Involving UID: ': ' \xA0 包含 UID:',
Go: '查询',
'< Prev Page': '< 上一页',
'Next Page >': '下一页 >',
'There are no recent expunges matching this filter.': '没有符合条件的最近删除记录。',
Active: '已生效',
Rejected: '已拒绝',
Revoked: '已撤销',
'Pending Expunge (Activating)': '待删除 (生效中)',
'Pending Expunge (Rejecting)': '待删除 (拒绝中)',
'Pending Appeal (Activating)': '待申诉 (生效中)',
'Pending Appeal (Rejecting)': '待申诉 (拒绝中)',
'Expunge Submitted:': '删除提交时间:',
'Appeal Submitted:': '申诉提交时间:',
'Expunge Type:': '删除类型:',
'Conflict Gallery:': '冲突图库:',
'Expunge Activated:': '删除生效时间:',
'Expunge Rejected:': '删除拒绝时间:',
'Expunge Revoked:': '删除撤销时间:'
}, [[/^Forbidden \(([\d+-]+)\)$/, '违规内容 ($1)'], [/^Duplicate \(([\d+-]+)\)$/, '重复 ($1)'], [/^Replaced \(([\d+-]+)\)$/, '已替换 ($1)'], [/^Defaced \(([\d+-]+)\)$/, '污损 ($1)']]);
merge(/^\/tools\/track_rename/, 'repo.e-hentai.org', {
'Rename Tracker': '重命名追踪器',
'\nFilter: \xA0\n[': '状态: [',
All: '全部',
Renamed: '已重命名',
Pending: '待处理',
'] \xA0\nInvolving UID:\n': '] \xA0 包含 UID:',
Go: '查询',
'< Prev Page': '< 上一页',
'Next Page >': '下一页 >',
'No results found': '没有符合条件的记录。',
'OrgE:': '原始英文标题:',
'CurE:': '当前英文标题:',
'OrgJ:': '原始日文标题:',
'CurJ:': '当前日文标题:',
'(blank)': '(空)',
' for ': ' 支持 ',
'by ': '由 '
}, []);
merge(/^\/tools\/tagtrack/, 'repo.e-hentai.org', {
'Tag Tracker': '标签追踪器',
' downed': ' 已清除',
' weak': ' 弱小',
' active': ' 活跃',
' solid': ' 确定',
' aged galleries': ' 老旧图库',
'Only show galleries posted more than three days ago': '只显示三天前发布的图库',
' revived tags': ' 重生标签',
'Only show revived tags': '只显示重生 (之前被清除但是再次出现) 的标签',
' exclude expunged': ' 排除已删除图库',
'Exclude tags on expunged galleries': '排除已删除图库上的标签',
' exclude autotags': ' 排除自动标签',
'Exclude tags placed by autotagger': '排除由系统自动标记的标签',
'Tag/NS: ': '标签/命名空间:',
'tag, tagid, or special:namespace': '标签、标签 ID 或 special:命名空间',
Go: '查询',
'Show Older >': '显示更早的 >',
'There are no tags matching this filter.': '没有符合条件的标签。',
'(Doujinshi) \xA0': '(同人志) \xA0',
'(Manga) \xA0': '(漫画) \xA0',
'(Artist CG) \xA0': '(画师CG) \xA0',
'(Game CG) \xA0': '(游戏CG) \xA0',
'(Western) \xA0': '(西方) \xA0',
'(Non-H) \xA0': '(无H) \xA0',
'(Image Set) \xA0': '(图集) \xA0',
'(Misc) \xA0': '(杂项) \xA0',
downed: '已清除',
weak: '弱小',
active: '活跃',
SOLID: '确定'
}, []);
merge(/^\/tools\/taglist/, 'repo.e-hentai.org', {
'Tagging data for user ': '',
' (uid=': ' 的标签数据 (UID = ',
Started: '发起',
Voted: '投票',
January: '一月',
February: '二月',
March: '三月',
April: '四月',
May: '五月',
June: '六月',
July: '七月',
August: '八月',
September: '九月',
October: '十月',
November: '十一月',
December: '十二月',
Year: '年度',
Total: '总计',
'Show Older >': '显示更早的 >',
'User has no recent tags on public galleries.': '用户最近没有在公开图库上标记过标签。',
'Filter galleries with assessed bad tagvotes': '筛选具有不良标签投票的图库',
'There are no recent tag votes assessed as bad.': '最近没有被评定为不良的标签投票。',
'You have to provide a gid or uid': '您必须提供一个 gid 或 uid',
'You do not have access to this function.': '您没有权限访问此功能'
}, [[/^User has (\d+) recent tags? on (\d+) public galler(ies|y).$/, '用户最近在 $2 个公开图库上标记了 $1 个标签。'], [/^Last bad tagvote assessed: /, '最近一次不良标签投票的时间:']]);
merge(/^\/tools\/tagapprove/, 'repo.e-hentai.org', {
'Pending Tags': '待审核标签',
'Approved Tags': '已批准标签',
'Rejected Tags': '已拒绝标签',
'There are no tags of this type': '没有此类标签',
namespace: '命名空间',
gallery: '图库',
creator: '创建者',
'time created': '创建时间',
'time updated': '更新时间',
'time approved': '批准时间',
'time rejected': '拒绝时间',
'(missing)': '(缺失)',
'Show Older >': '显示更早的 >',
'Tag Name:': '标签名称:',
'Namespace:': '命名空间:',
'Tag Group:': '标签组:',
'Created:': '创建时间:',
'revision requested': '需要修改',
'Updated:': '更新时间:',
'First Tag:': '首次标记:',
'Tagged On:': '标记次数:',
'Sources:': '来源:',
'Pending Moderator Approval': '待 MOD 审核',
REJECTED: '已拒绝',
APPROVED: '已批准',
' by ': ' 由 ',
Comments: '评论',
'There are currently no comments for this request': '当前没有评论',
'If you have any (useful) information about this tag, you can submit it here.': '如果您有任何 (有用的) 关于此标签的信息,可以在此提交。',
'Submit Comment': '提交评论',
'Back to list': '返回列表',
'(flagged for revision)': '(标记为需要修改)'
}, [[/^Tag Request #(\d+)$/, '标签申请 #$1'], [/ \(exists in $/, ' (已存在于 '], [/^(\d+) public galler(y|ies)$/, '$1 个公开图库'], [/^ on (\d\d\d\d-\d\d-\d\d \d\d:\d\d)$/, ' 于 $1'], [/^(\d\d\d\d-\d\d-\d\d \d\d:\d\d) by $/, '$1 由 ']]);
;// ./src/services/ui-translation/data/toplist.ts
merge(/^\/(toplist|home)\.php/, undefined, {
'Galleries All-Time': '图库总排行',
'Galleries Past Year': '图库年排行',
'Galleries Past Month': '图库月排行',
'Galleries Yesterday': '图库日排行',
'Uploader All-Time': '上传总排行',
'Uploader Past Year': '上传年排行',
'Uploader Past Month': '上传月排行',
'Uploader Yesterday': '上传日排行',
'Tagging All-Time': '标签总排行',
'Tagging Past Year': '标签年排行',
'Tagging Past Month': '标签月排行',
'Tagging Yesterday': '标签日排行',
'Hentai@Home All-Time': 'Hentai@Home 总排行',
'Hentai@Home Past Year': 'Hentai@Home 年排行',
'Hentai@Home Past Month': 'Hentai@Home 月排行',
'Hentai@Home Yesterday': 'Hentai@Home 日排行',
'EHTracker All-Time': '做种总排行',
'EHTracker Past Year': '做种年排行',
'EHTracker Past Month': '做种月排行',
'EHTracker Yesterday': '做种日排行',
'Cleanup All-Time': '清理总排行',
'Cleanup Past Year': '清理年排行',
'Cleanup Past Month': '清理月排行',
'Cleanup Yesterday': '清理日排行',
'Rating & Reviewing All-Time': '评分 & 评论总排行',
'Rating & Reviewing Past Year': '评分 & 评论年排行',
'Rating & Reviewing Past Month': '评分 & 评论月排行',
'Rating & Reviewing Yesterday': '评分 & 评论日排行'
});
merge(/^\/toplist\.php/, undefined, {
'EHG Toplists': 'EHG 排行榜',
'Gallery Toplists': '图库排行',
'Uploader Toplists': '上传排行',
'Tagging Toplists': '标签排行',
'Hentai@Home Toplists': 'Hentai@Home 排行',
'EHTracker Toplists': '做种排行',
'Cleanup Toplists': '清理排行',
'Rating & Reviewing Toplists': '评分 & 评论排行',
'Error: Non-existing toplist.': '错误:排行榜不存在。'
});
merge(/^\/toplist\.php\?tl=1/, undefined, {
Name: '标题'
});
merge(/^\/toplist\.php\?tl=[2-7]/, undefined, {
Rank: '排名',
Score: '得分',
Name: '用户名'
});
;// ./src/services/ui-translation/data/torrents.ts
merge(/^\/(gallery)?torrents\.php/, undefined, {
'Status: ': '状态:',
All: '全部',
Seeded: '有种',
Unseeded: '无种',
' \xA0 \xA0 \xA0 \xA0 Show: ': ' | 显示:',
'All Torrents': '全部种子',
'Only My Torrents': '我的种子',
'Search Torrents': '搜索种子',
Added: '添加于',
'Torrent Name': '种子名',
Gallery: '图库 ID',
Size: '文件大小',
Seeds: '做种',
Peers: '下载',
DLs: '完成',
'You cannot add torrents directly to this page. To upload torrents to this system, visit the torrent screen for a gallery.': '您无法直接将种子文件添加到此页面。要将种子文件上传到此系统,请在相应图库的种子页面上传。',
'Posted:': '发布于:',
'Size:': '文件大小:',
'Seeds:': '做种:',
'Peers:': '下载:',
'Downloads:': '完成:',
'Uploader:': '上传者:',
Information: '信息',
Expunged: '已删除',
'There are no torrents for this gallery.': '当前图库还没有种子',
'There are no up-to-date torrents for this gallery.': '当前图库没有最新的种子',
'Outdated Torrents:': '过时种子:',
'New Torrents:': '新种子:',
'\n\t\tYou can add a torrent for this gallery by uploading it here. The maximum torrent file size is 10 MB.': '您可以在这里上传来为此图库添加种子。最大 Torrent 文件大小为 10 MB。',
'\n\t\tIf you are creating the torrent yourself, set this as announce tracker: ': '如果您自己创建 Torrent,请将此地址设置为 Announce Tracker:',
'\n\t\tNote that you have to download the finished torrent from this site after uploading for stats to be recorded.\n\t': '请注意,您必须在上传后从此站点下载已完成的种子,以便记录统计信息。',
'Upload Torrent': '上传种子',
'Close Window': '关闭窗口',
Posted: '发布于',
DLers: '下载',
Completes: '完成',
'Personalized Torrent': '私有种子',
'(Just For You - this makes sure to record your stats)\n': '(只属于您 - 确保记录您的下载统计信息)',
'Redistributable Torrent': '可再分发种子',
'(use if you want a file you can post or give to others)': '(如果您想再发布或提供给其他人使用)',
'No comments were given for this torrent.': '此种子没有评论',
'Vote to Expunge': '投票删除',
'Back to Index': '返回'
}, [[/^Showing ([\d,]+)-([\d,]+) of ([\d,]+)$/, '$1 - $2,共 $3 个结果'], [/^([\d,]+) torrents? (was|were) found for this gallery.$/, '找到了 $1 个种子。']]);
;// ./src/services/ui-translation/data/uconfig.ts
merge(/^\/uconfig\.php/, undefined, {
'Selected Profile:': '当前配置:',
'Delete Profile': '删除配置',
'Set as Default': '设为默认',
'Image Load Settings': '图像加载设置',
'Do you wish to load images through the Hentai@Home Network, if available?': '如果可用,是否希望通过 Hentai@Home 网络加载图像?',
' Any client (Recommended)': ' 任意客户端 (推荐)',
' Default port clients only (Can be slower. Enable if behind firewall/proxy that blocks outgoing non-standard ports.)': ' 仅使用默认端口的客户端 (可能稍慢,当防火墙或代理阻止非标准端口的流量时启用此项)',
' No [Modern/HTTPS] (Donator only. You will not be able to browse as many pages. Recommended only if having severe problems.)': ' 否 [现代/HTTPS] (仅限捐赠者,配额消耗会加快,只有出现严重的问题时才启用)',
' No [Legacy/HTTP] (Donator only. May not work by default in modern browsers. Recommended for legacy/outdated browsers only.)': ' 否 [传统/HTTP] (仅限捐赠者,可能无法在现代浏览器中使用,只推荐在过时的浏览器中启用)',
'You appear to be browsing the site from ': '看起来您正在 ',
' or use a VPN or proxy in this country, which means the site will try to load images from H@H clients in this general geographic region. If this is incorrect, or if you want to use a different region for any reason (like if you are using a split tunneling VPN), you can select a different country below.': ' 浏览此网页,或者使用了此处的 VPN/代理,这意味着网站会尝试通过此区域的 H@H 客户端加载图像。如果此结果不正确,或者您希望通过其他地区的 H@H 客户端加载图像 (例如您正在使用分割隧道 VPN),可以在下方选择一个不同的区域。',
'\n\t\tBrowsing Country: ': '浏览区域:',
'Auto-Detect': '自动检测',
Afghanistan: 'Afghanistan (阿富汗)',
'Aland Islands': 'Aland Islands (奥兰群岛)',
Albania: 'Albania (阿尔巴尼亚)',
Algeria: 'Algeria (阿尔及利亚)',
'American Samoa': 'American Samoa (美属萨摩亚)',
Andorra: 'Andorra (安道尔)',
Angola: 'Angola (安哥拉)',
Anguilla: 'Anguilla (安圭拉)',
Antarctica: 'Antarctica (南极洲)',
'Antigua and Barbuda': 'Antigua and Barbuda (安提瓜和巴布达)',
Argentina: 'Argentina (阿根廷)',
Armenia: 'Armenia (亚美尼亚)',
Aruba: 'Aruba (阿鲁巴)',
'Asia/Pacific Region': 'Asia/Pacific Region (亚太地区)',
Australia: 'Australia (澳大利亚)',
Austria: 'Austria (奥地利)',
Azerbaijan: 'Azerbaijan (阿塞拜疆)',
Bahamas: 'Bahamas (巴哈马)',
Bahrain: 'Bahrain (巴林)',
Bangladesh: 'Bangladesh (孟加拉国)',
Barbados: 'Barbados (巴巴多斯)',
Belarus: 'Belarus (白俄罗斯)',
Belgium: 'Belgium (比利时)',
Belize: 'Belize (伯利兹)',
Benin: 'Benin (贝宁)',
Bermuda: 'Bermuda (百慕大)',
Bhutan: 'Bhutan (不丹)',
Bolivia: 'Bolivia (玻利维亚)',
'Bonaire Saint Eustatius and Saba': 'Bonaire Saint Eustatius and Saba (博内尔、圣尤斯特歇斯和萨巴)',
'Bosnia and Herzegovina': 'Bosnia and Herzegovina (波斯尼亚和黑塞哥维那)',
Botswana: 'Botswana (博茨瓦纳)',
'Bouvet Island': 'Bouvet Island (布维岛)',
Brazil: 'Brazil (巴西)',
'British Indian Ocean Territory': 'British Indian Ocean Territory (英属印度洋领地)',
'Brunei Darussalam': 'Brunei Darussalam (文莱)',
Bulgaria: 'Bulgaria (保加利亚)',
'Burkina Faso': 'Burkina Faso (布基纳法索)',
Burundi: 'Burundi (布隆迪)',
Cambodia: 'Cambodia (柬埔寨)',
Cameroon: 'Cameroon (喀麦隆)',
Canada: 'Canada (加拿大)',
'Cape Verde': 'Cape Verde (佛得角)',
'Cayman Islands': 'Cayman Islands (开曼群岛)',
'Central African Republic': 'Central African Republic (中非共和国)',
Chad: 'Chad (乍得)',
Chile: 'Chile (智利)',
China: 'China (中国大陆)',
'Christmas Island': 'Christmas Island (圣诞岛)',
'Cocos Islands': 'Cocos Islands (科科斯群岛)',
Colombia: 'Colombia (哥伦比亚)',
Comoros: 'Comoros (科摩罗)',
Congo: 'Congo (刚果)',
'Congo The Democratic Republic of the': 'Congo The Democratic Republic of the (刚果民主共和国)',
'Cook Islands': 'Cook Islands (库克群岛)',
'Costa Rica': 'Costa Rica (哥斯达黎加)',
"Cote D'Ivoire": "Cote D'Ivoire (科特迪瓦)",
Croatia: 'Croatia (克罗地亚)',
Cuba: 'Cuba (古巴)',
Curacao: 'Curacao (库拉索)',
Cyprus: 'Cyprus (塞浦路斯)',
'Czech Republic': 'Czech Republic (捷克共和国)',
Denmark: 'Denmark (丹麦)',
Djibouti: 'Djibouti (吉布提)',
Dominica: 'Dominica (多米尼加)',
'Dominican Republic': 'Dominican Republic (多米尼加共和国)',
Ecuador: 'Ecuador (厄瓜多尔)',
Egypt: 'Egypt (埃及)',
'El Salvador': 'El Salvador (萨尔瓦多)',
'Equatorial Guinea': 'Equatorial Guinea (赤道几内亚)',
Eritrea: 'Eritrea (厄立特里亚)',
Estonia: 'Estonia (爱沙尼亚)',
Ethiopia: 'Ethiopia (埃塞俄比亚)',
Europe: 'Europe (欧洲)',
'Falkland Islands': 'Falkland Islands (马尔维纳斯群岛)',
'Faroe Islands': 'Faroe Islands (法罗群岛)',
Fiji: 'Fiji (斐济)',
Finland: 'Finland (芬兰)',
France: 'France (法国)',
'French Guiana': 'French Guiana (法属圭亚那)',
'French Polynesia': 'French Polynesia (法属波利尼西亚)',
'French Southern Territories': 'French Southern Territories (法属南部领地)',
Gabon: 'Gabon (加蓬)',
Gambia: 'Gambia (冈比亚)',
Georgia: 'Georgia (格鲁吉亚)',
Germany: 'Germany (德国)',
Ghana: 'Ghana (加纳)',
Gibraltar: 'Gibraltar (直布罗陀)',
Greece: 'Greece (希腊)',
Greenland: 'Greenland (格陵兰)',
Grenada: 'Grenada (格林纳达)',
Guadeloupe: 'Guadeloupe (瓜德罗普)',
Guam: 'Guam (关岛)',
Guatemala: 'Guatemala (危地马拉)',
Guernsey: 'Guernsey (根西岛)',
Guinea: 'Guinea (几内亚)',
'Guinea-Bissau': 'Guinea-Bissau (几内亚比绍)',
Guyana: 'Guyana (圭亚那)',
Haiti: 'Haiti (海地)',
'Heard Island and McDonald Islands': 'Heard Island and McDonald Islands (赫德岛和麦克唐纳群岛)',
'Holy See (Vatican City State)': 'Holy See (Vatican City State) (梵蒂冈)',
Honduras: 'Honduras (洪都拉斯)',
'Hong Kong': 'Hong Kong (香港特别行政区)',
Hungary: 'Hungary (匈牙利)',
Iceland: 'Iceland (冰岛)',
India: 'India (印度)',
Indonesia: 'Indonesia (印度尼西亚)',
Iran: 'Iran (伊朗)',
Iraq: 'Iraq (伊拉克)',
Ireland: 'Ireland (爱尔兰)',
'Isle of Man': 'Isle of Man (马恩岛)',
Israel: 'Israel (以色列)',
Italy: 'Italy (意大利)',
Jamaica: 'Jamaica (牙买加)',
Japan: 'Japan (日本)',
Jersey: 'Jersey (泽西岛)',
Jordan: 'Jordan (约旦)',
Kazakhstan: 'Kazakhstan (哈萨克斯坦)',
Kenya: 'Kenya (肯尼亚)',
Kiribati: 'Kiribati (基里巴斯)',
Kuwait: 'Kuwait (科威特)',
Kyrgyzstan: 'Kyrgyzstan (吉尔吉斯斯坦)',
"Lao People's Democratic Republic": "Lao People's Democratic Republic (老挝)",
Latvia: 'Latvia (拉脱维亚)',
Lebanon: 'Lebanon (黎巴嫩)',
Lesotho: 'Lesotho (莱索托)',
Liberia: 'Liberia (利比里亚)',
Libya: 'Libya (利比亚)',
Liechtenstein: 'Liechtenstein (列支敦士登)',
Lithuania: 'Lithuania (立陶宛)',
Luxembourg: 'Luxembourg (卢森堡)',
Macau: 'Macau (澳门特别行政区)',
Macedonia: 'Macedonia (马其顿)',
Madagascar: 'Madagascar (马达加斯加)',
Malawi: 'Malawi (马拉维)',
Malaysia: 'Malaysia (马来西亚)',
Maldives: 'Maldives (马尔代夫)',
Mali: 'Mali (马里)',
Malta: 'Malta (马耳他)',
'Marshall Islands': 'Marshall Islands (马绍尔群岛)',
Martinique: 'Martinique (马提尼克)',
Mauritania: 'Mauritania (毛里塔尼亚)',
Mauritius: 'Mauritius (毛里求斯)',
Mayotte: 'Mayotte (马约特)',
Mexico: 'Mexico (墨西哥)',
Micronesia: 'Micronesia (密克罗尼西亚)',
Moldova: 'Moldova (摩尔多瓦)',
Monaco: 'Monaco (摩纳哥)',
Mongolia: 'Mongolia (蒙古)',
Montenegro: 'Montenegro (黑山)',
Montserrat: 'Montserrat (蒙特塞拉特)',
Morocco: 'Morocco (摩洛哥)',
Mozambique: 'Mozambique (莫桑比克)',
Myanmar: 'Myanmar (缅甸)',
Namibia: 'Namibia (纳米比亚)',
Nauru: 'Nauru (瑙鲁)',
Nepal: 'Nepal (尼泊尔)',
Netherlands: 'Netherlands (荷兰)',
'New Caledonia': 'New Caledonia (新喀里多尼亚)',
'New Zealand': 'New Zealand (新西兰)',
Nicaragua: 'Nicaragua (尼加拉瓜)',
Niger: 'Niger (尼日尔)',
Nigeria: 'Nigeria (尼日利亚)',
Niue: 'Niue (纽埃)',
'Norfolk Island': 'Norfolk Island (诺福克岛)',
'North Korea': 'North Korea (朝鲜)',
'Northern Mariana Islands': 'Northern Mariana Islands (北马里亚纳群岛)',
Norway: 'Norway (挪威)',
Oman: 'Oman (阿曼)',
Pakistan: 'Pakistan (巴基斯坦)',
Palau: 'Palau (帕劳)',
'Palestinian Territory': 'Palestinian Territory (巴勒斯坦)',
Panama: 'Panama (巴拿马)',
'Papua New Guinea': 'Papua New Guinea (巴布亚新几内亚)',
Paraguay: 'Paraguay (巴拉圭)',
Peru: 'Peru (秘鲁)',
Philippines: 'Philippines (菲律宾)',
'Pitcairn Islands': 'Pitcairn Islands (皮特凯恩群岛)',
Poland: 'Poland (波兰)',
Portugal: 'Portugal (葡萄牙)',
'Puerto Rico': 'Puerto Rico (波多黎各)',
Qatar: 'Qatar (卡塔尔)',
Reunion: 'Reunion (留尼汪)',
Romania: 'Romania (罗马尼亚)',
'Russian Federation': 'Russian Federation (俄罗斯)',
Rwanda: 'Rwanda (卢旺达)',
'Saint Barthelemy': 'Saint Barthelemy (圣巴泰勒米)',
'Saint Helena': 'Saint Helena (圣赫勒拿)',
'Saint Kitts and Nevis': 'Saint Kitts and Nevis (圣基茨和尼维斯)',
'Saint Lucia': 'Saint Lucia (圣卢西亚)',
'Saint Martin': 'Saint Martin (圣马丁)',
'Saint Pierre and Miquelon': 'Saint Pierre and Miquelon (圣皮埃尔和密克隆)',
'Saint Vincent and the Grenadines': 'Saint Vincent and the Grenadines (圣文森特和格林纳丁斯)',
Samoa: 'Samoa (萨摩亚)',
'San Marino': 'San Marino (圣马力诺)',
'Sao Tome and Principe': 'Sao Tome and Principe (圣多美和普林西比)',
'Saudi Arabia': 'Saudi Arabia (沙特阿拉伯)',
Senegal: 'Senegal (塞内加尔)',
Serbia: 'Serbia (塞尔维亚)',
Seychelles: 'Seychelles (塞舌尔)',
'Sierra Leone': 'Sierra Leone (塞拉利昂)',
Singapore: 'Singapore (新加坡)',
'Sint Maarten': 'Sint Maarten (荷属圣马丁)',
Slovakia: 'Slovakia (斯洛伐克)',
Slovenia: 'Slovenia (斯洛文尼亚)',
'Solomon Islands': 'Solomon Islands (所罗门群岛)',
Somalia: 'Somalia (索马里)',
'South Africa': 'South Africa (南非)',
'South Georgia and the South Sandwich Islands': 'South Georgia and the South Sandwich Islands (南乔治亚岛和南桑威奇群岛)',
'South Korea': 'South Korea (韩国)',
'South Sudan': 'South Sudan (南苏丹)',
Spain: 'Spain (西班牙)',
'Sri Lanka': 'Sri Lanka (斯里兰卡)',
Sudan: 'Sudan (苏丹)',
Suriname: 'Suriname (苏里南)',
'Svalbard and Jan Mayen': 'Svalbard and Jan Mayen (斯瓦尔巴和扬马延)',
Swaziland: 'Swaziland (斯威士兰)',
Sweden: 'Sweden (瑞典)',
Switzerland: 'Switzerland (瑞士)',
'Syrian Arab Republic': 'Syrian Arab Republic (叙利亚)',
Taiwan: 'Taiwan (中国台湾)',
Tajikistan: 'Tajikistan (塔吉克斯坦)',
Tanzania: 'Tanzania (坦桑尼亚)',
Thailand: 'Thailand (泰国)',
'Timor-Leste': 'Timor-Leste (东帝汶)',
Togo: 'Togo (多哥)',
Tokelau: 'Tokelau (托克劳)',
Tonga: 'Tonga (汤加)',
'Trinidad and Tobago': 'Trinidad and Tobago (特立尼达和多巴哥)',
Tunisia: 'Tunisia (突尼斯)',
Turkey: 'Turkey (土耳其)',
Turkmenistan: 'Turkmenistan (土库曼斯坦)',
'Turks and Caicos Islands': 'Turks and Caicos Islands (特克斯和凯科斯群岛)',
Tuvalu: 'Tuvalu (图瓦卢)',
Uganda: 'Uganda (乌干达)',
Ukraine: 'Ukraine (乌克兰)',
'United Arab Emirates': 'United Arab Emirates (阿拉伯联合酋长国)',
'United Kingdom': 'United Kingdom (英国)',
'United States': 'United States (美国)',
'United States Minor Outlying Islands': 'United States Minor Outlying Islands (美国本土外小岛屿)',
Uruguay: 'Uruguay (乌拉圭)',
Uzbekistan: 'Uzbekistan (乌兹别克斯坦)',
Vanuatu: 'Vanuatu (瓦努阿图)',
Venezuela: 'Venezuela (委内瑞拉)',
Vietnam: 'Vietnam (越南)',
'Virgin Islands British': 'Virgin Islands British (英属维尔京群岛)',
'Virgin Islands U.S.': 'Virgin Islands U.S. (美属维尔京群岛)',
'Wallis and Futuna': 'Wallis and Futuna (瓦利斯和富图纳)',
'Western Sahara': 'Western Sahara (西撒哈拉)',
Yemen: 'Yemen (也门)',
Zambia: 'Zambia (赞比亚)',
Zimbabwe: 'Zimbabwe (津巴布韦)',
'Image Size Settings': '图像大小设置',
'Images are normally resampled to 1280 pixels (desktop) or 800 pixels (mobile) horizontal resolution for online viewing. You can select one of the following alternative resolutions. Note that legacy images will have horizontal resolutions of 780x / 1280x / 1600x / 2400x instead. (Resolutions above 1280x are restricted to accounts with any hath perk, a bronze star, or an UID below 3,000,000.)': '通常情况下,图像会被重采样到 1280 像素 (桌面端) 或 800 像素 (移动端) 宽度用于在线浏览,您也可以手动指定重采样分辨率。注意,旧图库的水平分辨率为 780x / 1280x / 1600x / 2400x。 (高于 1280 像素只提供给解锁过任意 Hath Perk、铜星或 UID 小于 3,000,000 的用户)',
'Images are normally resampled to 1280 pixels (desktop) or 800 pixels (mobile) horizontal resolution for online viewing. You can select one of the following alternative resolutions. Note that legacy images will have horizontal resolutions of 780x / 1280x / 1600x / 2400x instead.': '通常情况下,图像会被重采样到 1280 像素 (桌面端) 或 800 像素 (移动端) 宽度用于在线浏览,您也可以手动指定重采样分辨率。注意,旧图库的水平分辨率为 780x / 1280x / 1600x / 2400x。',
' Auto': ' 自动',
'Use original images instead of the resampled versions? Resampled images will still be used if you select a horizontal resolution different than "Auto" above and the image in question is wider, or if the original image is larger than 10 MiB (or 4 MiB for galleries older than one year).': '在阅读时优先加载原图而非重采样版本?当选择了“自动”以外的分辨率且原图宽度大于设定值,或原图大于 10 MiB (一年前发布的图库 4 MiB) 时,仍会加载重采样版本。',
' Prefer resampled images': ' 优先加载重采样版本',
' Prefer original images (requires the Source Nexus perk or a silver star)': ' 优先加载原图 (需要 Hath Perk:「原始之力」或银星)',
' Prefer original images': ' 优先加载原图',
'While the site will automatically scale down images to fit your screen width, you can also manually restrict the maximum display size of an image. Like the automatic scaling, this does not resample the image, as the resizing is done browser-side. (0 = no limit)': '虽然图像会自动根据窗口缩小,您也可以手动指定最大显示大小。图像仅在浏览器端缩放,并没有被重新采样。(0 为不限制)',
'Horizontal:': '宽/横向',
'Vertical:': '高/纵向',
' pixels': ' px',
'Gallery Name Display': '图库显示名称',
'Many galleries have both an English/Romanized title and a title in Japanese script. Which gallery name would you like as default?': '许多图库都同时拥有英文/罗马音标题和日文标题,您希望默认显示哪一个?',
' Default Title': ' 默认标题 (英文/罗马音)',
' Japanese Title (if available)': ' 日文标题 (如果有)',
'Archiver Settings': '归档设置',
'The default behavior for the Archiver is to confirm the cost and selection for original or resampled archive, then present a link that can be clicked or copied elsewhere. You can change this behavior here.': '默认归档下载方式为手动选择原始或重采样画质,然后手动点击或复制下载链接。您可以在这里修改归档下载方式。',
' Manual Select, Manual Start (Default)': ' 手动选择,手动下载 (默认)',
' Manual Select, Auto Start': ' 手动选择,自动下载',
' Auto Select Original, Manual Start': ' 自动选择原始画质,手动下载',
' Auto Select Original, Auto Start': ' 自动选择原始画质,自动下载',
' Auto Select Resample, Manual Start': ' 自动选择重采样画质,手动下载',
' Auto Select Resample, Auto Start': ' 自动选择重采样画质,自动下载',
'Front Page / Search Settings': '首页 / 搜索设置',
'What categories would you like to show by default on the front page and in searches?': '您希望首页和搜索页面默认显示哪些类别?',
'Which display mode would you like to use on the front and search pages?': '您希望首页和搜索页面使用哪种显示模式?',
' Minimal': ' 最小化',
' Minimal+': ' 最小化 + 关注标签',
' Compact': ' 紧凑 + 标签',
' Extended': ' 扩展',
' Thumbnail': ' 缩略图',
'Which display style would you like for the search range indicator?': '您希望搜索范围指示器采用哪种显示样式?',
' Normal': ' 普通',
' Disabled': ' 禁用',
'Optional UI Elements': '可选 UI 元素',
'Some historic UI elements are now disabled by default. You can enable those here.': '一些历史 UI 元素现在默认禁用,您可以在这里重新启用它们。',
' Enable thumbnail selector on gallery screen': ' 在图库详情页启用缩略图选择器',
'Here you can choose and rename your favorite categories.': '您可以在这里重命名您的收藏夹。',
'Default sort order for galleries on your favorites page:': '收藏页面的默认排序方式?',
' By last gallery update time': ' 以图库最近更新时间排序',
' By favorited time': ' 以收藏时间排序',
'Search Result Count': '搜索结果数',
'How many results would you like per page for the index/search page and torrent search pages? (Hath Perk: Paging Enlargement Required)': '索引和搜索页面每页显示多少条数据? (需要 Hath Perk:「页面扩大」)',
' 25 results': ' 25 个',
' 50 results': ' 50 个',
' 100 results': ' 100 个',
'Thumbnail Settings': '缩略图设置',
'How would you like the mouse-over thumbnails on the front page to load when using Minimal or Compact display mode?': '在最小化和紧凑列表模式下,您希望鼠标悬停缩略图何时加载?',
' On mouse-over (pages load faster, but there may be a slight delay before a thumb appears)': ' 鼠标悬停时 (页面加载快,缩略图加载有延迟)',
' On page load (pages take longer to load, but there is no delay for loading a thumb after the page has loaded)': ' 页面加载时 (页面加载时间更长,但是显示的时候无需等待)',
'You can set a default thumbnail configuration for all galleries you visit.': '图库详情页缩略图设置。',
'Size: ': '大小:',
' Small': ' 小图',
'Rows:': '行数:',
'Cover Scaling': '封面缩放',
'%': ' %',
'The cover size in gallery list views can be scaled to between 75% and 150% when using the Thumbnail or Extended display modes.': '在缩略图和扩展列表模式下,图库封面大小可以缩放为 75% 到 150% 之间的自定义值。',
Ratings: '评分',
'By default, galleries that you have rated will appear with red stars for ratings of 2 stars and below, green for ratings between 2.5 and 4 stars, and blue for ratings of 4.5 or 5 stars. You can customize this by entering your desired color combination below.': '默认情况下,您评为 2 星及以下的图库会显示为红星,2.5 ~ 4 星显示为绿星,4.5 ~ 5 星显示为蓝星。您可以将其设定为其他颜色组合。',
'Each letter represents one star. The default RRGGB means R(ed) for the first and second star, G(reen) for the third and fourth, and B(lue) for the fifth. You can also use (Y)ellow for the normal stars. Any five-letter R/G/B/Y combo works.': '每个字母代表一颗星, 默认的 RRGGB 表示第一第二颗星显示为红色 R(ed),第三第四颗星显示为绿色 G(reen),第五颗星显示为蓝色 B(lue)。您也可以使用黄色 (Y)ellow。R/G/B/Y 中任何的五个字母组合都是有效的。',
'Tag Watching Threshold': '标签订阅阈值',
'Recently uploaded galleries will be included on the watched screen if it has at least one watched tag with positive weight, and the sum of weights on its watched tags add up to this value or higher. This threshold can be set between 0 and 9999.': '您可以将标签加入「我的标签」并设置一个正权重来关注它们。如果一个最近上传的图库所有已关注标签的权重之和大于等于设定值,则它会出现在「订阅」里。此值可以设定为 0 ~ 9999。',
'Tag Filtering Threshold': '标签过滤阈值',
'You can soft filter tags by adding them to ': '您可以将标签加入「',
' with a negative weight. If a gallery has tags that add up to weight below this value, it is filtered from view. This threshold can be set between 0 and -9999.': '」并设置一个负权重来软过滤它们。如果一个图库所有标签的权重之和小于设定值,则它会被过滤。此值可以设定为 0 ~ -9999。',
'Show Filtered Removal Count': '显示过滤数量',
'Show the "Your custom filters removed XX galleries from this page" readout?': '显示“您的过滤器已从此页面移除 XX 个结果”的消息?',
' Yes': ' 是',
' No': ' 否',
'Excluded Languages': '排除语言',
'If you wish to hide galleries in certain languages from the gallery list and searches, select them from the list below.': '如果您希望在图库列表和搜索结果中隐藏某些语言的图库,请从下面的列表中选择它们。',
'Note that matching galleries will never appear regardless of your search query.': '请注意,无论搜索查询如何,匹配的图库都不会出现。',
Original: '原始',
Translated: '翻译',
Rewrite: '改写',
All: '所有',
Japanese: '日语',
English: '英语',
Chinese: '汉语',
Dutch: '荷兰语',
French: '法语',
German: '德语',
Hungarian: '匈牙利语',
Italian: '意大利语',
Korean: '韩语',
Polish: '波兰语',
Portuguese: '葡萄牙语',
Russian: '俄语',
Spanish: '西班牙语',
Thai: '泰语',
Vietnamese: '越南语',
'N/A': '无语言',
Other: '其他',
'Excluded Uploaders': '排除上传者',
'If you wish to hide galleries from certain uploaders from the gallery list and searches, add them below. Put one username per line.': '如果您希望在图库列表和搜索结果中隐藏某些上传者上传的图库,请把他们的用户名填写在下方,每行一个。',
'Note that galleries from these uploaders will never appear regardless of your search query.': '请注意,无论搜索查询如何,这些上传者上传的图库都不会出现。',
'You are currently using ': '已使用 ',
' of ': '/',
' exclusion slots.\n': '。',
'Viewport Override': '移动端虚拟宽度',
px: ' px',
'Allows you to override the virtual width of the site for mobile devices. This is normally determined automatically by your device based on its DPI. Sensible values at 100% thumbnail scale are between 640 and 1400.': '允许您覆盖移动设备的虚拟宽度,默认是根据 DPI 自动计算的,100% 缩略图比例下的合理值在 640 到 1400 之间。',
'Gallery Comments': '图库评论',
'Sort order for gallery comments:': '评论排序方式:',
' Oldest comments first': ' 最早的评论',
' Recent comments first': ' 最近的评论',
' By highest score': ' 分数最高',
'Show gallery comment votes:': '显示评论投票数:',
' On score hover or click': ' 悬停或点击时',
' Always': ' 总是',
'Gallery Tags': '图库标签',
'Sort order for gallery tags:': '图库标签排序方式:',
' Alphabetical': ' 按字母排序',
' By tag power': ' 按标签权重',
'Gallery Page Thumbnail Labeling': '图库缩略图标签',
'Show label below gallery thumbnails:\n\t': '在图库详情页缩略图下方显示标签:',
' None': ' 无',
' Page Number Only': ' 仅页码',
' Page Number + Name': ' 页码 + 名称',
'Multi-Page Viewer': '多页查看器',
'Always use the Multi-Page Viewer? There will still be a link to manually start it if this is left disabled.': '总是使用多页查看器?禁用此选项时,仍可以手动启动多页查看器。',
' Nope': ' 否',
' Yup': ' 是',
'Multi-Page Viewer Display Style:': '显示样式:',
' Align left; Only scale if image is larger than browser width': ' 左对齐;仅当图像大于浏览器宽度时缩放',
' Align center; Only scale if image is larger than browser width': ' 居中对齐;仅当图像大于浏览器宽度时缩放',
' Align center; Always scale images to fit browser width': ' 居中对齐;始终缩放图像以适应浏览器宽度',
'Multi-Page Viewer Thumbnail Pane:': '显示缩略图侧栏:',
' Show': ' 显示',
' Hide': ' 隐藏',
Apply: '应用',
'Settings were updated': '设置更新完毕'
}, [[/ \(Default\)$/, ' (默认)']]);
;// ./src/services/ui-translation/data/upload.ts
var data = {
'Gallery List': '图库列表',
'Manage Folders': '管理文件夹',
'Create Gallery': '创建图库',
'Create New Gallery': '创建新图库',
'Unpublished Galleries': '未发布图库',
'Published Galleries': '已发布图库',
'Empty Galleries': '空图库',
'Gallery Name ': '图库名称',
'Date Added ': '添加时间 ',
Files: '文件数',
'Public Category': '发布类别',
'Available Actions': '操作',
Expunged: '已删除',
View: '查看',
Manage: '管理',
Publish: '发布',
Disown: '脱离关系',
'Manage Replacement': '管理新版本',
'Collapse Open Folders': '折叠文件夹',
'+ All': '+ 全选',
'- All': '- 全不选',
'Loading folder, please wait...': '正在加载文件夹,请稍候...',
'Set public category for selected galleries: ': '设置选中的发布分类: ',
'Move selected galleries to folder: ': '移动到文件夹: ',
Go: '执行',
'Folder Name': '文件夹名称',
'(No folders have been added yet.)': '(尚未创建文件夹)',
'Display Order': '显示顺序',
'New folder name': '新文件夹名称',
'Create Folder': '创建文件夹',
'Save and Auto-Reorder': '保存并自动排序',
'Save Changes': '保存更改',
'Saving...': '保存中...',
'New Gallery': '新图库',
'Main Gallery Title': '主标题',
'The main english or romanized title for this gallery.': '图库的主标题 (英文或罗马音)。',
'Main gallery title (English Script)': '主标题 (英语)',
'Japanese Script Title': '日文标题',
'The original title in Japanese script, if applicable.': '原始的日文标题 (如果有)。',
'Original gallery title (Japanese Script) (Optional)': '原始标题 (日语) (可选)',
'Gallery Category': '图库分类',
'The publicly listed category for this gallery.': '图库在公开列表中所属的分类。',
'(Private / Unlisted)': '(私有 / 不公开)',
'Gallery Language': '图库语言',
'The primary language for this gallery. Can only be changed here for new unpublished galleries; set with tags for published/updated galleries.': '图库的主要语言。仅新建立且未发布的图库可更改此选项,已发布/已更新的图库需要通过标签系统更改。',
Common: '常用',
'Japanese / No Text': '日语 / 无字',
Chinese: '汉语',
English: '英语',
French: '法语',
Korean: '韩语',
Portuguese: '葡萄牙语',
Russian: '俄语',
Spanish: '西班牙语',
Textless: '无字',
Speechless: '无言',
'Text Cleaned': '文字清除',
Others: '其他',
Albanian: '阿尔巴尼亚语',
Arabic: '阿拉伯语',
Burmese: '缅甸语',
Bulgarian: '保加利亚语',
Catalan: '加泰罗尼亚语',
Cebuano: '宿务语',
Croatian: '克罗地亚语',
Czech: '捷克语',
Danish: '丹麦语',
Dutch: '荷兰语',
Esperanto: '世界语',
Finnish: '芬兰语',
German: '德语',
Greek: '希腊语',
Hindi: '印地语',
Hungarian: '匈牙利语',
Indonesian: '印尼语',
Italian: '意大利语',
Javanese: '爪哇语',
Latin: '拉丁语',
Norwegian: '挪威语',
Persian: '波斯语',
Polish: '波兰语',
Romanian: '罗马尼亚语',
Serbian: '塞尔维亚语',
Slovak: '斯洛伐克语',
Swedish: '瑞典语',
Tagalog: '他加禄语',
Thai: '泰国语',
Turkish: '土耳其语',
Ukrainian: '乌克兰语',
Vietnamese: '越南语',
'Official / Textless': '官方 / 无字',
'This was officially published in this language, or the gallery has no text.': '官方发布于此语言,或者图库无字',
Translated: '翻译',
'This is a fan translation based on the original text.': '基于原始文字翻译',
'By a proficient human translator (not machine translated)': '由熟练的译者翻译 (非机器翻译)',
Rewrite: '改写',
'This is a fan rewrite with new made-up text.': '使用新的文字改写',
'Gallery Folder': '图库文件夹',
'The folder this gallery will be displayed under in the uploader gallery list. This is only used to help you organize your gallery uploads.': '图库文件夹仅在上传者的图库列表中显示,仅用于帮助整理上传的图库。',
Unsorted: '未分类',
'or new folder: ': '或新建文件夹:',
'Uploader Comment': '上传者评论',
'Any comments or additional relevant information for this gallery. This will always show up as the topmost comment, and cannot be voted down.': '关于此图库的任何评论或其他相关信息。将始终显示在评论的最顶部,并且不能投票。',
'You can write an optional uploader comment here.': '您可以在此处添加上传者评论。(可选)',
'Date Added:': '添加时间:',
'Not created yet': '尚未创建',
'Date Posted:': '发布时间:',
'Not published yet': '尚未发布',
'Uploaded Files:': '上传文件数:',
'Total Filesize:': '总文件大小:',
'(empty)': '(空白)',
'Parent Gallery:': '父级图库:',
'Child Gallery:': '子图库:',
'Expunged:': '删除:',
'Visible:': '可见:',
'No (Unpublished)': '否 (未发布)',
'Show Public Gallery': '查看图库',
'Show Gallery Stats': '查看统计',
'Delete Gallery': '删除图库',
'Disown Gallery': '脱离与图库的关系',
'I have read and agree with the ': '我已阅读并同意',
'Publish Gallery': '发布图库',
'Upload Files': '上传文件',
'Accepted Images: JPG and WebP < 20 MB, PNG < 50 MB, GIF < 10 MB. Accepted Archive Formats: ZIP. Max Resolution: 20000 x 20000.': '图像:JPG 和 WebP < 20 MB, PNG < 50 MB, GIF < 10 MB;归档:ZIP。最大分辨率:20000 x 20000。',
'Max 2,000 files and 10 GB per gallery. Do not upload more than 500MB at a time, less if you have a slow connection.': '每个图库最多包含 2000 张图像或 10 GB。一次上传的大小不应超过 500 MB,如果连接速度较慢,可以尝试以更小归档上传。',
'Start Upload': '开始上传',
'Select one or more image or archive files and click Start Upload to add files to this gallery.': '选择一个或多个图像或归档文件,然后点击“开始上传”,以添加文件到此图库。',
'Uploading...': '上传中...',
'Starting upload...': '开始上传...',
'Finished processing ': '已处理 ',
' of ': ' / ',
'Processing...': '正在处理...',
'Processing ': '正在处理 ',
'Finishing backend sync...': '正在完成后端同步...',
'\n\t\tNo files have been added yet\n\t\t': '尚未添加任何文件',
'Added ': '已添加 ',
'Revert Changes': '撤销更改',
'Apply Changes': '应用更改',
'Automatic Resorting': '自动排序',
'Select a sorting method...': '选择排序方式...',
'Remove Exact Duplicates': '删除完全重复的图像',
'Natural Sort': '自然排序',
'Lexical Sort': '字典排序',
'Time Added (Recent First), then Natural Sort': '按添加时间 (最近的在前),然后按自然排序',
'Time Added (Recent Last), then Natural Sort': '按添加时间 (最近的在后),然后按自然排序',
'Time Added (Recent First), then Lexical Sort': '按添加时间 (最近的在前),然后按字典排序',
'Time Added (Recent Last), then Lexical Sort': '按添加时间 (最近的在后),然后按字典排序',
'Time Added (Recent First), then Current Order': '按添加时间 (最近的在前),然后按当前顺序',
'Time Added (Recent Last), then Current Order': '按添加时间 (最近的在后),然后按当前顺序',
'Perform Auto-Sort': '执行自动排序',
'Natural Sort will sort filenames with numbers in natural ascending order (8, 9, 10, 11, 12) regardless of padding. This is the recommended auto-sorting method.': '自然排序将按数字递增顺序 (8, 9, 10, 11, 12) 排序此图库中的图像。这是推荐的自动排序方式。',
'Lexical Sort will sort filenames with numbers in strict lexicographic order (1, 10, 11, 12, 2). Unless numbers are zero-padded, this can lead to unexpected results.': '字典排序将按字典顺序 (1, 10, 11, 12, 2) 排序此图库中的图像。若数字不包含前导 0,使用此方式会导致错误的结果。',
'Time Added Sort will sort the pages based on the creation time of the gallery to which they were first added. For example, sorting by Time Added (Recent First) will sort any files that were added to the current gallery first, followed by the files first added to the previous version of the gallery, and so on.': '按添加时间排序将按照图像第一次添加到图库的时间进行排序。例如,按添加时间 (最近的在前) 排序将按照图像第一次添加到当前图库的时间进行排序,然后按照图像第一次添加到上一个版本图库的时间进行排序,以此类推。',
'Note that you can always delete the updated gallery and start over if you make a mistake.': '请注意,如果您犯了错误,可以随时删除更新后的图库并重新开始。',
'Please confirm that you wish to publish the gallery:': '请确认您希望发布图库:',
'Doing so will lock it for new file additions and modifications. If you wish to add or replace files in this gallery later, a copy will be created for this purpose. Published galleries can no longer be deleted, but you can disown them after a week.': '发布后将锁定图库,不再允许添加或修改图像。如果您希望在发布后继续添加或替换图像,则需要创建一个图库的新副本。发布后的图库无法删除,但您可以在一周后与其脱离关系。',
'The gallery was successfully published. It will take a few minutes before it becomes publicly listed.': '图库已成功发布,将在几分钟后被列入公共图库列表。',
'You will be returned to the Management Interface momentarily.': '您将在几秒后返回管理界面。',
'(Click here to continue)': '(点此继续)',
'Please wait...': '请稍候...',
'This gallery has been published, and images can therefore no longer be added, deleted or rearranged.': '此图库已经发布,因此不能再添加、删除或重新排序图像。',
'You can create an editable copy of this gallery by clicking the button below. This new version will be linked in': '您可以通过点击下方的按钮来创建一个此图库的可编辑副本。新的副本',
'as a child gallery of the currently published one, and will also link back to the old gallery as its parent.\n': '将作为子图库关联到当前图库,同时新图库也会将当前图库关联为父图库。',
'The old gallery will remain until the new one is published. Updates that remove valid content will be reverted.': '旧图库将保留到新图库发布。恶意删除有效内容的更改会被还原。',
'Create New Version': '创建新版本',
'A new version of the gallery was successfully created. The previous version will remain publicly listed while you make updates to this version.': '新版本的图库已成功创建。旧版本将保留到新版本发布。',
'To cancel and keep the previous version, simply delete this gallery.': '要取消并保留旧版本,只需删除此图库。',
'You cannot unlock galleries this old. Please make a new one, then request to have this one expunged.': '您无法解锁如此老旧的图库。请创建一个新图库,然后请求删除此图库。',
'Please confirm that you wish to delete this unpublished gallery.': '请确认您希望删除此未发布的图库。',
'This action cannot be undone.': '此操作无法撤销。',
'The gallery was successfully deleted.': '图库已成功删除。',
'Please confirm that you wish to disown this gallery. You will no longer be publicly listed as the uploader unless the gallery was published in the last week, and you will not be able to make further changes to it.': '请确认您希望与此图库脱离关系。在一周后,您将不再被公开列为上传者。并且您将不能再对其进行修改。',
'Gallery not found.': '图库未找到。',
'Rate limitation for new posters is in effect. You have to wait a while before you can post more galleries.': '针对新上传者的图库发布速率限制已生效,您必须等待一段时间才能继续发布图库。',
'You have exceeded your rate limit for posting galleries, and have to wait a while before you can post any more.': '您已超过了发布图库的速率限制,需要等待一段时间才能继续发布。',
'This action cannot be done right now since another operation has locked this gallery. Please wait for this operation to finish.': '由于另一个操作已锁定此图库,此操作暂时无法执行。请等待操作完成。',
'You cannot publish an empty gallery.': '您不能发布一个空图库',
'You must agree with the Terms of Service to continue.': '您必须同意服务条款才能继续',
'You must give the gallery a title to continue.': '您必须给图库命名才能继续',
'Apply or revert the active reorder before continuing.': '您必须应用或还原当前的排序才能继续',
Continue: '继续',
'Some errors were encountered while adding files to the gallery.': '添加文件到图库时发生了一些错误。',
'Please review the error log above.': '请查看上方的错误日志。'
};
var regexData = [[/^Uploading: (\d+)%$/, '上传中:$1%'], [/^ images? so far\.$/, ' 张图像。'], [/^ images? so far$/, ' 张图像'], [/^ new images? to the gallery. /, ' 张新图像。'], [/^ uploaded files?, added $/, ' 个文件,已添加 '], [/You have added a total of $/, '您目前总共添加了 '], [/^Category of (.*?) can no longer be changed.$/, '无法更改 $1 的分类。'], [/^The file (.*?) is corrupt, incomplete, too large, or not an accepted image file.$/, '文件 $1 损坏 / 不完整 / 过大或是不支持的图像文件。'], [/^Failed to add the file (.*?) to the gallery. This probably means an identical file with the same filename already exists.$/, '无法将文件 $1 添加到图库。这可能意味着具有相同文件名的相同文件已经存在。'], [/^The file (.*?) was generated by this system and has been replaced with the original copy.$/, '文件 $1 由本系统生成,已替换为原始副本。'], [/^The file (.*?) is too low resolution.$/, '文件 $1 分辨率过低。']];
merge(/^\/upld\//, undefined, data, regexData);
merge(/^\//, 'upld.e-hentai.org', data, regexData);
merge(/^\//, 'upload.e-hentai.org', data, regexData);
;// ./src/services/ui-translation/data/watched.ts
merge(/^\/watched/, undefined, {
'Watched Tag Galleries': '关注的标签',
'You do not have any watched tags. You can change your watched tags from ': '您还没有关注任何标签。可在此处修改关注的标签:'
}, [[/^Showing results for ([\d,]+) watched tags?$/, '关注的 $1 个标签的结果']]);
;// ./src/services/ui-translation/data/thirdparty.ts
// E-Hentai Downloader
merge(/^\/g\//, undefined, {
'E-Hentai Downloader ': 'E-Hentai 下载器 ',
'Image Limits: ': '图像配额:',
'! Account Suspended !': '! 账户已被封禁 !',
'Download Archive': '下载档案 ',
' Number Images': ' 图像编号',
'Pages Range ': '页面范围 ',
'File Name ': '文件名 ',
'Path Name ': '文件夹名 ',
Basic: '基本',
Advanced: '高级',
Feedback: '反馈',
'Download ': '同时下载 ',
' images at the same time (≤ 5 is recommended)': ' 张图像 (建议 ≤5 张)',
'Abort downloading current image after ': '无响应 ',
' second(s) (0 is never abort)': ' 秒后终止当前图像下载 (0 为永不终止)',
' Abort downloading current image if speed is less than ': ' 当速度低于 ',
' KB/s in ': ' KB/s,持续 ',
' second(s)': ' 秒后终止当前图像下载',
'Skip current image after retried ': '重试 ',
' time(s)': ' 次后跳过当前图像',
'Delay ': '延迟 ',
' second(s) before requesting next image': ' 秒后请求下一张图像',
' Number images (001:01.jpg, 002:01_theme.jpg, 003:02.jpg...) (Separator ': ' 使用数字编号图像 (如 001:01.jpg, 002:01_theme.jpg, 003:02.jpg...) (分隔符 ',
' Number images with original page number if pages range is set': ' 如果设置了页面范围,则使用原始页码对图像进行编号',
' Retry automatically when images download failed': ' 图像下载失败后自动重试',
' Get downloaded images automatically when canceled downloading': ' 取消下载时自动获取已下载完成的图像',
'Set folder name as ': '将文件夹名称设置为 ',
' (if you don\'t want to create folder, use "': ' (如果不想创建文件夹请使用 "',
'Set Zip file name as ': '将 Zip 文件名设置为 ',
' Show inputs to recheck file name and folder name before downloading': ' 显示文件名和文件夹名的输入框以供确认',
' Never show notification if torrents are available': ' 不显示有种子可用的提示',
// Never: '从不', // 与页面中收藏 Never 从未 冲突。有好的冲突解决的方案时再修改。
'When current tab is not focused': '当前标签页失去焦点时',
Always: '总是',
' show download progress in title': ' 在标题栏中显示下载进度',
' Disable requesting and showing image limits': ' 不显示图像配额',
' Disable pre-calculating image limits cost': ' 不显示预计成本',
' Pin download actions box at the top of the page': ' 将下载操作框固定在页面顶部',
'\t\t\t\t\t\t\t* Available templates: \t\t\t\t\t\t\t': ' * 可用模板: ',
' Gallery GID | \t\t\t\t\t\t\t': ' 图库 GID | ',
' Gallery token | \t\t\t\t\t\t\t': ' 图库 token | ',
' Gallery title': '图库标题',
' Gallery sub-title': '图库副标题',
' Gallery category': '图库分类',
' Gallery uploader': '图库上传者',
'Set compression level as ': '压缩级别 ',
' (0 ~ 9, 0 is only store) ': ' (0 ~ 9, 0 为仅存储)',
' Stream files and create Zip with file descriptors ': ' 流式传输文件并使用文件描述符创建 Zip ',
' Force download resized image (never download original image) ': ' 强制下载重采样图像 (从不下载原图) ',
' Never get new image URL when failed to download image ': ' 图像下载失败时,不要获取新的图像地址 ',
' Never send "nl" GET parameter when getting new image URL ': ' 获取新图像地址时,不带 "nl" 参数 ',
' Never show warning if image limits will probably used out on starting download': ' 开始下载时不显示图像配额可能不足的警告',
" Never show warning when it's in peak hours now ": ' 在高峰时段下载时不显示警告 ',
' Never show warning when downloading a large gallery (>= 300 MB) ': ' 下载大型图库时不显示警告 (≥ 300 MB) ',
' Use File System to handle large Zip file': ' 使用文件系统处理大型 Zip 文件,',
'when gallery is larger than ': '如果图库大于 ',
' MB (0 is always)': ' MB (0 为总是使用) ',
' Play silent music during the process to avoid downloading freeze ': ' 在下载过程中播放无声音频,避免下载冻结 ',
'Record and save gallery info as ': '将图库信息记录并保存为 ',
'File info.txt': '文件 info.txt',
'Zip comment': '压缩文件注释',
'...which includes ': '...包括 ',
'Title & Gallery Link': '标题和图库链接',
Metadatas: '元数据',
'Page Links': '页面链接',
' Replace forbidden characters with full-width characters instead of dash (-)': ' 使用全角字符替换禁用字符,而不是使用破折号 (-)',
' Force drop downloaded images data when pausing download': ' 暂停下载时强制中断并删除未下载完的图像',
' Save as CBZ (Comic book archive) file': ' 以 CBZ (漫画归档) 文件格式保存 ',
' Pass cookies manually when downloading images ': ' 下载图像时手动传递 cookie ',
'Download original images from ': '下载原图,通过 ',
'current origin': '当前站点',
"\t\t\t\t\t\t\t(1) Higher compression level can get smaller file without lossing any data, but may takes more time. If you have a decent CPU you can set it higher, and if you're using macOS set it to at least 1.\t\t\t\t\t\t": ' (1) 更高的压缩级别可以获得更小的文件,但可能需要更长时间。如果您的 CPU 性能较好,可以将其设置得更高;如果您使用的是 macOS,请至少设置为 1。',
'\t\t\t\t\t\t\t(2) This may reduce memory usage but some decompress softwares may not support the Zip file. See ': ' (2) 开启后可以减少内存占用,但部分解压软件可能不支持。查看 ',
' for more info.\t\t\t\t\t\t': ' 获取更多信息。',
'\t\t\t\t\t\t\t(3) Enable these option will never let you to load from regular image server (or say force loaded from H@H). This may save your image viewing limits ': ' (3) 开启这些选项可能会阻止您从源图像服务器加载图像 (即强制从 H@H 加载),可能可以节约您的图像配额 ',
'(See wiki)': '(请看 wiki)',
', but may also cause some download problems, especially if your network cannot connect to specific H@H node.\t\t\t\t\t\t': ',但是可能也会导致一些下载问题,尤其是在您的网络无法连接到特定的 H@H 节点时。',
'\t\t\t\t\t\t\t(4) If enabled you can save larger Zip files (probably ~1GB).\t\t\t\t\t\t': ' (4) 开启后可以保存更大的 Zip 文件 (约 ~1GB)',
'\t\t\t\t\t\t\t(5) If enabled the script will play slient music to avoid downloading freeze when page is in background ': ' (5) 开启后脚本会播放无声音频以避免页面在后台时下载被冻结 ',
'(See issue)': '(请看这里)',
'. Only needed if you have the problem, because the audio-playing icon maybe annoying.\t\t\t\t\t\t': '。只有当您遇到相关问题时才需开启,因为音乐播放图标可能会很烦人。',
'Comic book archive': '漫画归档 (CBZ)',
' is a file type to archive comic images, you can open it with some comic viewer like CDisplay/CDisplayEX, or just extract it as a Zip file. To keep the order of images, you can also enable numbering images.\t\t\t\t\t\t': ' 是一种归档漫画图像的文件类型,您可以使用 CDisplay/CDisplayEX 等漫画查看器打开它,或者直接将其视为 Zip 文件解压。为了保持图像的顺序,您还可以启用对图像进行编号。',
"\t\t\t\t\t\t\t(7) If you cannot original images, but you've already logged in and your account is not blocked or used up your limits, it may caused by your cookies is not sent to the server. This feature may helps you to pass your current cookies to the download request, but please enable it ONLY if you cannot download any original images.\t\t\t\t\t\t": ' (7) 如果您无法下载原图,但是您已经登录并且您的账户没有被阻止或用完您的限制,这可能是因为您的 cookie 没有被发送到服务器。此功能可以帮助您将当前的 cookie 传递给下载请求,但只有当您无法下载任何原图时才应该启用它。',
"\t\t\t\t\t\t\t(8) If you have already logged in, but the script detects that you're not logged in, you can enable this to skip login check. Please note that if you are not logged in actually, the script will not work as expect.\t\t\t\t\t\t": ' (8) 如果您已经登录,但脚本检测到您没有登录,您可以启用此功能以跳过登录检查。请注意,如果您实际没有登录,则脚本不会按预期工作。',
'\t\t\t\t\t\t\t(9) If you have problem to download on the same site, like account session is misleading, you can force redirect original download link to another domain. Pass cookies manually may be needed.\t\t\t\t\t\t': ' (9) 如果您无法通过当前站点下载原图,例如账户会话异常,您可以强制将原始下载链接重定向到另一个域。可能需要同时开启手动传递 cookie。',
"Peak Hours: It's in peak hours now, during peak hours, downloading original images of 90 days ago cost GPs": '高峰时段:现在是高峰时段,下载 90 天前的原图需要消耗 GP',
'Ancient Gallery: Downloading original images of 1 year ago cost GPs': '久远图库:下载 1 年前的原图需要消耗 GP',
'eg. -10,!8,12,14-20,!15-17,30-40/2,50-60/3,70-': '例如 -10,!8,12,14-20,!15-17,50-60/3,70-',
'Download ranges of pages, split each range with comma (,)\rRanges prefixed with ! means negative range, pages in these range will be excluded\rExample: \r -10: Download from page 1 to 10\r !8: Exclude page 8\r 12: Download page 12\r 14-20: Download from page 14 to 20\r 15-17: Exclude page 15 to 17\r 30-40/2: Download each 2 pages in 30-40 (30, 32, 34, 36, 38, 40)\r 50-60/3: Download each 3 pages in 50-60 (50, 53, 56, 59)\r 70-: Download from page 70 to the last page\rPages range follows your order, a negative range can drop previous selected pages, the latter positive range can add it back\rExample: \r !10-20: Download every page except page 10 to 20\r 1-10,!1-8/2,!4,5: Download page 1 to 10 but remove 1, 3, 5, 7 and 4, then add 5 back (2, 5, 6, 8, 9, 10)': '需要下载的页面范围,使用半角逗号 ( , ) 分隔\r在范围前添加半角叹号 ( ! ) 表示排除此范围不下载\r例如:\r -10: 下载 1-10 页\r !8: 排除第 8 页\r 12: 下载第 12 页\r 14-20: 下载 14-20 页\r !15-17: 排除 15-17 页\r 50-60/3: 在 50-60 范围内每隔 3 页下载 (50, 53, 56, 59)\r 70-: 下载 70-最后一页\r页面范围遵循输入的顺序,排除范围可以删除前面选定的页面,后面的范围也可以将其添加回来\r例如:\r !10-20: 下载除了 10-20 页外的所有页面\r 1-10,!1-8/2,!4,5: 下载 1-10 页,但排除 1, 3, 5, 7 和 4,然后将 5 添加回来 (2, 5, 6, 8, 9, 10)',
'You can find GID and token at the address bar like this: exhentai.org/g/[GID]/[Token]/': '您可以在地址栏中找到 GID 和 token,如 exhentai.org/g/[GID]/[Token]/',
'This title is the English title or Latin transliteration, you can find it as the first line of the title.': '此标题是英文标题或拉丁文音译,它是页面中第一行标题。',
'This title is the original language title, you can find it as the second line of the title.': '此标题是原始标题,它是页面中第二行标题。',
'This tag means the sort name of the gallery, and its output string is upper.': '此标记代表图库的分类名称,且输出的字符串为大写',
'You can find it at the left of the gallery page.': '您可以在图库左侧找到它',
'Pause (Downloading images will keep downloading)': '暂停 (下载中的图像会继续下载)',
'Pause (Downloading images will be aborted)': '暂停 (下载中的图像会中断下载)',
Resume: '继续',
'Not download? Click here to download': '还未下载?点此开始',
"If an error occured and script doesn't work, click ": '如果出现错误导致脚本无法工作,请点击 ',
here: '此处',
' to force get your downloaded images.': ' 强制获取已下载的图像。',
'Pages URL is MPV link': '页面 URL 是 MPV 链接',
'MPV is available, use MPV to fetch all pages.': 'MPV 可用,通过 MPV 获取所有页面。',
'Fetching Gallery Pages URL From MPV...': '从 MPV 获取图库页面 URL...',
'Pending...': '等待中...',
'Downloading...': '下载中...',
'Succeed!': '成功!',
'Auto Paused': '自动暂停',
'Force Paused': '强制暂停',
'Force Abort': '强制中止',
'Fetch images failed.': '获取图像失败。',
'Generating Zip file...': '生成 Zip 文件...',
'Generating Blob object...': '生成 Blob 对象...',
'Tags:': '标签:',
'Uploader Comment:': '上传者评论:',
'You have exceeded your image viewing limits, or you need GP to download.': '您已超出图像配额,或者需要 GP 才能下载。',
'Reset Limits': '重置配额',
'Continue Download': '继续下载',
'Cancel Download': '取消下载'
}, [[/^Image Limits: (\d+)\/(\d+)$/, '图像配额:$1/$2'], [/^Estimated Costs: (\?\?\?|\d+|\d+ \+ \d+ GP)$/, '预计成本:$1'], [/^...or (\d+) \+ (\d+) GP if you don't have enough viewing limits.\n/, '...或者 $1 + $2 GP (如果您没有足够的图像配额)\n'], [/1 point per 0.1 MB since August 2019, less than 0.1 MB will also be counted.\nDuring peak hours, downloading original images will cost GPs.\nFor gallery uploaded 1 year ago, downloading original images will cost GPs since July 2023.\nThe GP cost is the same as resetting viewing limits.\nEstimated GP cost is a bit more than using offical archive download, in case the sum of each images will be larger than the packed.$/, '自 2019 年 8 月起,每 0.1 MB 消耗一点配额,不足 0.1 MB 也计算在内。\n高峰期下载原图将消耗 GP,自 2023 年 7 月起,下载 1 年前上传的图库\n原图也需要消耗 GP,数量与重置图像限制所需的相同。\nGP 成本预计会比直接使用官方归档下载略高,因为每张图像的体积总和比压缩包大。'], [/^ Force as logged in \(actual login state: (\w+?), uid: (-?\d+)\) $/, ' 强制登录 (实际登录状态: $1,uid: $2) '], [/^Total: (\d+) \| Downloading: (\d+) \| Succeed: (\d+) \| Failed: (\d+)$/, '总计:$1 | 下载中:$2 | 成功:$3 | 失败:$4'], [/^Start downloading at /, '下载开始于 '], [/^Finish downloading at /, '下载完成于 '], [/^Fetching Gallery Pages URL /, '获取图库页面 URL '], [/^Retrying /, '重试中 '], [/^Failed! /, '失败!'], [/^Category: /, '分类:'], [/^Uploader: /, '上传者:'], [/^Rating: /, '评分:']]);
;// ./src/services/ui-translation/data.ts
;// ./src/services/ui-translation/index.ts
function ui_translation_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof (symbol_default()) && get_iterator_method_default()(r) || r["@@iterator"]; if (!t) { if (is_array_default()(r) || (t = ui_translation_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, 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 o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
function ui_translation_unsupportedIterableToArray(r, a) { if (r) { var _context2; if ("string" == typeof r) return ui_translation_arrayLikeToArray(r, a); var t = slice_default()(_context2 = {}.toString.call(r)).call(_context2, 8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? from_default()(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? ui_translation_arrayLikeToArray(r, a) : void 0; } }
function ui_translation_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
function hostMatches(hostname, hosts) {
if (hosts == null) return true;
var _iterator = ui_translation_createForOfIteratorHelper(hosts),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var candidate = _step.value;
if (hostname === candidate) return true;
if (includes_default()(candidate).call(candidate, '*')) {
var reg = new RegExp("^".concat(candidate.replace(/\\/g, '\\\\').replace(/\./g, '\\.').replace(/\*/g, '.*'), "$"));
if (reg.test(hostname)) return true;
}
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
return false;
}
var UiTranslation = /*#__PURE__*/function () {
function UiTranslation(logger) {
_classCallCheck(this, UiTranslation);
this.logger = logger;
}
return _createClass(UiTranslation, [{
key: "get",
value: function get() {
var _context;
var url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : location;
var results = {
plainReplacements: new (core_js_stable_map_default())(),
regexReplacements: new (core_js_stable_map_default())()
};
if (!url || !isValidHost(url.hostname)) {
return results;
}
var path = url.pathname + url.search;
this.logger.log('获取 UI 翻译:', path);
for_each_default()(_context = filter_default()(dataMaps).call(dataMaps, function (d) {
return d.regex.test(path) && hostMatches(location.hostname, d.hosts);
})).call(_context, function (d) {
var _iterator2 = ui_translation_createForOfIteratorHelper(d.plainReplacements),
_step2;
try {
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
var _step2$value = slicedToArray_slicedToArray(_step2.value, 2),
k = _step2$value[0],
v = _step2$value[1];
results.plainReplacements.set(k, v);
}
} catch (err) {
_iterator2.e(err);
} finally {
_iterator2.f();
}
var _iterator3 = ui_translation_createForOfIteratorHelper(d.regexReplacements),
_step3;
try {
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
var _step3$value = slicedToArray_slicedToArray(_step3.value, 2),
_k = _step3$value[0],
_v = _step3$value[1];
results.regexReplacements.set(_k, _v);
}
} catch (err) {
_iterator3.e(err);
} finally {
_iterator3.f();
}
});
return results;
}
}]);
}();
UiTranslation = __decorate([Service(), __metadata("design:paramtypes", [Logger])], UiTranslation);
;// ./package.json
var package_namespaceObject = /*#__PURE__*/JSON.parse('{"name":"ehsyringe","displayName":"EhSyringe","version":"3.0.15","description":"E 站注射器,将中文翻译注入到 E 站体内。","author":"EhTagTranslation","repository":{"type":"git","url":"git+https://github.com/EhTagTranslation/EhSyringe.git"},"engines":{"node":"^20.17.0 || ^22.11.0"},"packageManager":"pnpm@9.12.3","license":"MIT","bugs":"https://github.com/EhTagTranslation/EhSyringe/issues","homepage":"https://github.com/EhTagTranslation/EhSyringe","type":"module","scripts":{"start:monkey":"webpack serve --mode=development --env type=user-script","start:ext":"webpack --mode=development --watch --env type=web-ext","start:chrome":"pnpm run start:ext --env vendor=chrome","start:firefox":"pnpm run start:ext --env vendor=firefox","build":"webpack --mode=production","build:monkey":"pnpm run build --env type=user-script","build:ext":"pnpm run build --env type=web-ext","build:chrome":"pnpm run build:ext --env vendor=chrome && web-ext build -s dist -a releases -n ehsyringe.chrome.zip -o","build:firefox":"pnpm run build:ext --env vendor=firefox && web-ext build -s dist -a releases -n ehsyringe.firefox.xpi -o","lint":"eslint","format":"prettier --ignore-path .gitignore --write .","clean":"rimraf dist releases"},"devDependencies":{"@babel/core":"^7.26.0","@babel/plugin-transform-runtime":"^7.25.9","@babel/preset-env":"^7.26.0","@babel/runtime-corejs3":"^7.26.0","@eslint/js":"^9.14.0","@types/chrome":"^0.0.280","@types/escape-html":"^1.0.4","@types/node":"^22.9.0","@types/tampermonkey":"^5.0.3","@types/webextension-polyfill":"^0.12.1","@webextension-toolbox/webpack-webextension-plugin":"^3.3.1","babel-loader":"^9.2.1","copy-webpack-plugin":"^12.0.2","css-loader":"^7.1.2","cssnano":"^7.0.6","eslint":"^9.14.0","eslint-config-prettier":"^9.1.0","execa":"^9.5.1","glob":"^11.0.0","html-webpack-plugin":"^5.6.3","less":"^4.2.0","less-loader":"^12.2.0","postcss":"^8.4.49","postcss-import":"^16.1.0","postcss-loader":"^8.1.1","postcss-preset-env":"^10.1.0","prettier":"^3.3.3","rimraf":"^6.0.1","semver":"^7.6.3","style-loader":"^4.0.0","ts-loader":"^9.5.1","tsconfig-paths-webpack-plugin":"^4.1.0","type-fest":"^4.26.1","typescript":"^5.6.3","typescript-eslint":"^8.14.0","web-ext":"^8.3.0","webpack":"^5.96.1","webpack-bundle-analyzer":"^4.10.2","webpack-cli":"^5.1.4","webpack-dev-server":"^5.1.0","webpack-userscript":"^2.5.8"},"dependencies":{"core-js":"^3.39.0","emoji-regex":"^10.4.0","escape-html":"^1.0.3","idb-keyval":"^6.2.1","lit-html":"^3.2.1","rxjs":"^7.8.1","tslib":"^2.8.1","typedi":"^0.10.0","webextension-polyfill":"^0.12.0"}}');
;// ./src/info.ts
var packageJson = package_namespaceObject;
;// ./src/services/sync-storage.ts
function sync_storage_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof (symbol_default()) && get_iterator_method_default()(r) || r["@@iterator"]; if (!t) { if (is_array_default()(r) || (t = sync_storage_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, 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 o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
function sync_storage_unsupportedIterableToArray(r, a) { if (r) { var _context2; if ("string" == typeof r) return sync_storage_arrayLikeToArray(r, a); var t = slice_default()(_context2 = {}.toString.call(r)).call(_context2, 8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? from_default()(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? sync_storage_arrayLikeToArray(r, a) : void 0; } }
function sync_storage_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
var SyncStorage = /*#__PURE__*/function () {
function SyncStorage(logger, async) {
_classCallCheck(this, SyncStorage);
this.logger = logger;
this.async = async;
this.defaults = {
version: packageJson.version,
databaseMap: undefined,
databaseSha: undefined,
config: this.async.defaults.config
};
var oldVer = this.get('version');
if (packageJson.version !== oldVer) {
this.migrate();
this.set('version', packageJson.version);
}
}
return _createClass(SyncStorage, [{
key: "get",
value: function get(key) {
var value = syncStorage.get(key);
if (value == null) return this.defaults[key];
return value;
}
}, {
key: "set",
value: function set(key, value) {
if (value == null) return this["delete"](key);
return syncStorage.set(key, value);
}
}, {
key: "delete",
value: function _delete(key) {
return syncStorage["delete"](key);
}
}, {
key: "keys",
value: function keys() {
return keys_default()(syncStorage).call(syncStorage);
}
}, {
key: "migrate",
value: function migrate() {
var _context;
var keys = keys_default()(_context = this).call(_context);
if (keys.length === 0) return;
this.logger.log("\u8FC1\u79FB\u540C\u6B65\u5B58\u50A8\u7248\u672C\uFF0C\u5220\u9664 ", keys);
var _iterator = sync_storage_createForOfIteratorHelper(keys),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var key = _step.value;
this["delete"](key);
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
}
}]);
}();
SyncStorage = __decorate([Service(), __metadata("design:paramtypes", [Logger, Storage])], SyncStorage);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js
var get_own_property_symbols = __webpack_require__(41394);
var get_own_property_symbols_default = /*#__PURE__*/__webpack_require__.n(get_own_property_symbols);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js
var get_own_property_descriptor = __webpack_require__(70886);
var get_own_property_descriptor_default = /*#__PURE__*/__webpack_require__.n(get_own_property_descriptor);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js
var get_own_property_descriptors = __webpack_require__(27405);
var get_own_property_descriptors_default = /*#__PURE__*/__webpack_require__.n(get_own_property_descriptors);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/object/define-properties.js
var define_properties = __webpack_require__(89276);
var define_properties_default = /*#__PURE__*/__webpack_require__.n(define_properties);
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js
function _defineProperty(e, r, t) {
return (r = toPropertyKey(r)) in e ? object_define_property(e, r, {
value: t,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[r] = t, e;
}
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/date/now.js
var date_now = __webpack_require__(82264);
var now_default = /*#__PURE__*/__webpack_require__.n(date_now);
;// ./src/services/date-time.ts
function date_time_ownKeys(e, r) { var t = object_keys_default()(e); if ((get_own_property_symbols_default())) { var o = get_own_property_symbols_default()(e); r && (o = filter_default()(o).call(o, function (r) { return get_own_property_descriptor_default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? for_each_default()(_context = date_time_ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : (get_own_property_descriptors_default()) ? define_properties_default()(e, get_own_property_descriptors_default()(t)) : for_each_default()(_context2 = date_time_ownKeys(Object(t))).call(_context2, function (r) { define_property_default()(e, r, get_own_property_descriptor_default()(t, r)); }); } return e; }
var DateTime_1;
var base = {
hourCycle: 'h23'
};
var timeFormatter = new Intl.DateTimeFormat(undefined, _objectSpread({
hour: 'numeric',
minute: 'numeric'
}, base));
var timeWithSecondFormatter = new Intl.DateTimeFormat(undefined, _objectSpread({
hour: 'numeric',
minute: 'numeric',
second: 'numeric'
}, base));
var dateTimeFormatter = new Intl.DateTimeFormat(undefined, _objectSpread({
year: 'numeric',
month: 'numeric',
day: 'numeric',
hour: 'numeric',
minute: 'numeric'
}, base));
var dateTimeWithSecondFormatter = new Intl.DateTimeFormat(undefined, _objectSpread({
year: 'numeric',
month: 'numeric',
day: 'numeric',
hour: 'numeric',
minute: 'numeric',
second: 'numeric'
}, base));
var noYearDateTimeFormatter = new Intl.DateTimeFormat(undefined, _objectSpread({
month: 'numeric',
day: 'numeric',
hour: 'numeric',
minute: 'numeric'
}, base));
var noYearDateTimeWithSecondFormatter = new Intl.DateTimeFormat(undefined, _objectSpread({
month: 'numeric',
day: 'numeric',
hour: 'numeric',
minute: 'numeric',
second: 'numeric'
}, base));
var DateTime = DateTime_1 = /*#__PURE__*/function () {
function DateTime() {
_classCallCheck(this, DateTime);
}
return _createClass(DateTime, [{
key: "absolute",
value: function absolute(hisTime) {
var withSecond = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
var nowTime = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : now_default()();
var his = new Date(hisTime);
var now = new Date(nowTime);
if (his.getFullYear() === now.getFullYear()) {
if (his.getMonth() === now.getMonth() && his.getDate() === now.getDate()) {
return "\u4ECA\u5929 ".concat((withSecond ? timeWithSecondFormatter : timeFormatter).format(his));
}
return (withSecond ? noYearDateTimeWithSecondFormatter : noYearDateTimeFormatter).format(his);
}
return (withSecond ? dateTimeWithSecondFormatter : dateTimeFormatter).format(his);
}
}, {
key: "relative",
value: function relative(diffTime) {
var nYear = diffTime / DateTime_1.year;
var nMonth = diffTime / DateTime_1.month;
var nDay = diffTime / DateTime_1.day;
var nHour = diffTime / DateTime_1.hour;
var nMin = diffTime / DateTime_1.minute;
// Note: 一天前 不是 昨天,一年前 也不是 去年
if (nYear >= 1) return "".concat(Math.floor(nYear), " \u5E74\u524D");else if (nMonth >= 1) return "".concat(Math.floor(nMonth), " \u4E2A\u6708\u524D");else if (nDay >= 1) return "".concat(Math.floor(nDay), " \u5929\u524D");else if (nHour >= 1) return "".concat(Math.floor(nHour), " \u5C0F\u65F6\u524D");else if (nMin >= 1) return "".concat(Math.floor(nMin), " \u5206\u949F\u524D");else if (nMin >= 0) return '刚刚';else if (nMin > -1) return '马上';else if (nHour > -1) return "".concat(Math.floor(-nMin), " \u5206\u949F\u540E");else if (nDay > -1) return "".concat(Math.floor(-nHour), " \u5C0F\u65F6\u540E");else if (nMonth > -1) return "".concat(Math.floor(-nDay), " \u5929\u540E");else if (nYear > -1) return "".concat(Math.floor(-nMonth), " \u4E2A\u6708\u540E");else return "".concat(Math.floor(-nYear), " \u5E74\u540E");
}
}, {
key: "diff",
value: function diff() {
var hisTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
var withSecond = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
var maxRelativeDiff = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : DateTime_1.day * 7;
var nowTime = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : now_default()();
hisTime = typeof hisTime === 'number' ? hisTime : hisTime.getTime();
nowTime = typeof nowTime === 'number' ? nowTime : nowTime.getTime();
if (!hisTime) return 'N/A';
var diffTime = nowTime - hisTime;
if (diffTime >= maxRelativeDiff) {
return this.absolute(hisTime, withSecond, nowTime);
} else {
return this.relative(diffTime);
}
}
}]);
}();
DateTime.second = 1000;
DateTime.minute = DateTime_1.second * 60;
DateTime.hour = DateTime_1.minute * 60;
DateTime.day = DateTime_1.hour * 24;
DateTime.month = DateTime_1.day * (365.25 / 12);
DateTime.year = DateTime_1.month * 12;
DateTime = DateTime_1 = __decorate([Service()], DateTime);
// EXTERNAL MODULE: ./node_modules/.pnpm/css-loader@7.1.2_webpack@5.96.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.6.3_webpack@5.96.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/.pnpm/less-loader@12.2.0_less@4.2.0_webpack@5.96.1/node_modules/less-loader/dist/cjs.js!./src/plugin/syringe/index.less
var syringe = __webpack_require__(21252);
;// ./src/plugin/syringe/index.less
var syringe_options = {};
syringe_options.styleTagTransform = (styleTagTransform_default());
syringe_options.setAttributes = (setAttributesWithoutAttributes_default());
syringe_options.insert = insertBySelector_default().bind(null, ":root");
syringe_options.domAPI = (styleDomAPI_default());
syringe_options.insertStyleElement = (insertStyleElement_default());
var syringe_update = injectStylesIntoStyleTag_default()(syringe/* default */.A, syringe_options);
/* harmony default export */ var plugin_syringe = (syringe/* default */.A && syringe/* default */.A.locals ? syringe/* default */.A.locals : undefined);
;// ./src/plugin/syringe/index.ts
var _context;
function syringe_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof (symbol_default()) && get_iterator_method_default()(r) || r["@@iterator"]; if (!t) { if (is_array_default()(r) || (t = syringe_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, 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 o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
function syringe_unsupportedIterableToArray(r, a) { if (r) { var _context16; if ("string" == typeof r) return syringe_arrayLikeToArray(r, a); var t = slice_default()(_context16 = {}.toString.call(r)).call(_context16, 8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? from_default()(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? syringe_arrayLikeToArray(r, a) : void 0; } }
function syringe_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
function isElement(node, nodeName) {
return node instanceof HTMLElement && (nodeName == null || node.localName === nodeName);
}
function isText(node) {
return node != null && node.nodeType === Node.TEXT_NODE;
}
function childNodes(node) {
var iterator = document.createNodeIterator(node);
var nodes = [];
var childNode = iterator.nextNode();
while (childNode) {
nodes.push(childNode);
childNode = iterator.nextNode();
}
return nodes;
}
var skipNodeName = new (set_default())(['TITLE', 'LINK', 'META', 'HEAD', 'SCRIPT', 'BR', 'HR', 'STYLE', 'MARK']);
var ignoreClassName = "eh-syringe-ignore";
var skipElementMatcher = concat_default()(_context = ".".concat(ignoreClassName, ", .")).call(_context, ignoreClassName, " *");
// 该方案同时在 V2、V3 和 UserScript 生效
// 注意 actualCode 是在事件回调内部运行的,要挂载变量需要显式写 `window.varName = xxx`
function _codePatch(window) {
window.toggle_advsearch_pane = function toggle_advsearch_pane(b) {
if (document.getElementById('advdiv').style.display === 'none') {
window.show_advsearch_pane(b);
} else {
window.hide_advsearch_pane(b);
}
};
window.toggle_filesearch_pane = function toggle_filesearch_pane(b) {
if (document.getElementById('fsdiv').style.display === 'none') {
window.show_filesearch_pane(b);
} else {
window.hide_filesearch_pane(b);
}
};
}
var TagNodeRef = /*#__PURE__*/function () {
function TagNodeRef(node, fullKey, original, service) {
_classCallCheck(this, TagNodeRef);
this.node = node;
this.fullKey = fullKey;
this.original = original;
this.service = service;
node.setAttribute(TagNodeRef.ATTR, this.original);
node.setAttribute('lang', 'en');
define_property_default()(node, 'ehs', {
value: this
});
if (!node.hasAttribute('title')) {
node.title = this.fullKey;
}
}
return _createClass(TagNodeRef, [{
key: "alive",
get: function get() {
return !!this.node.parentElement;
}
}, {
key: "translate",
value: function translate(tagMap) {
var _context2;
if (!this.alive) return true;
if (!this.service.config.translateTag) {
this.node.textContent = this.original;
this.node.setAttribute('lang', 'en');
return true;
}
if (!tagMap) {
return false;
}
var value = tagMap[this.fullKey];
if (!value) {
return false;
}
value = this.service.tagging.markImagesAndEmoji(value);
if (includes_default()(_context2 = this.original).call(_context2, ':')) {
var _context3;
var originalNs = this.original.split(':')[0];
if (!originalNs) value = ":".concat(value);else value = concat_default()(_context3 = "".concat(this.service.tagging.ns(originalNs), ":")).call(_context3, value);
}
this.node.innerHTML = value;
this.node.setAttribute('lang', 'cmn-Hans');
return true;
}
}], [{
key: "attached",
value: function attached(node) {
var parentElement = isText(node) ? node.parentElement : node;
if (!parentElement) return false;
return parentElement.hasAttribute(this.ATTR);
}
}, {
key: "create",
value: function create(node, service) {
var _node$textContent;
var parentElement = isText(node) ? node.parentElement : node;
if (!parentElement || parentElement.hasAttribute(this.ATTR)) {
return true;
}
var aId = parentElement.id;
var aTitle = parentElement.title;
var fullKeyCandidate;
if (aTitle) {
var _ref = includes_default()(aTitle).call(aTitle, ':') ? aTitle.split(':') : ['', aTitle],
_ref2 = slicedToArray_slicedToArray(_ref, 2),
namespace = _ref2[0],
key = _ref2[1];
fullKeyCandidate = service.tagging.fullKey({
namespace: namespace,
key: key
});
} else if (aId) {
var id = aId;
if (starts_with_default()(id).call(id, 'ta_')) id = slice_default()(id).call(id, 3);
var _id$replace$split = id.replace(/_/gi, ' ').split(':'),
_id$replace$split2 = slicedToArray_slicedToArray(_id$replace$split, 2),
_namespace = _id$replace$split2[0],
_key = _id$replace$split2[1];
fullKeyCandidate = _key ? service.tagging.fullKey({
namespace: _namespace,
key: _key
}) : service.tagging.fullKey({
namespace: '',
key: _namespace
});
}
if (!fullKeyCandidate) return false;
var fullKey = fullKeyCandidate;
var text = (_node$textContent = node.textContent) !== null && _node$textContent !== void 0 ? _node$textContent : '';
return new TagNodeRef(parentElement, fullKey, text, service);
}
}]);
}();
TagNodeRef.ATTR = 'ehs-tag';
var Syringe = /*#__PURE__*/function () {
function Syringe(storage, uiTranslation, logger, messaging, tagging, time) {
var _this = this;
_classCallCheck(this, Syringe);
this.storage = storage;
this.uiTranslation = uiTranslation;
this.logger = logger;
this.messaging = messaging;
this.tagging = tagging;
this.time = time;
this.tags = [];
this.documentEnd = false;
this.config = this.getAndInitConfig();
this.uiData = this.uiTranslation.get();
storage.async.on('config', function (k, ov, nv) {
if (nv) _this.updateConfig(nv);
});
this.init();
}
return _createClass(Syringe, [{
key: "translateTags",
value: function translateTags(tagMap) {
var _context4, _tagMap, _tagMap2;
var tags = filter_default()(_context4 = this.tags).call(_context4, function (t) {
return t.alive;
});
this.tags = tags;
(_tagMap = tagMap) !== null && _tagMap !== void 0 ? _tagMap : tagMap = this.tagMap;
(_tagMap2 = tagMap) !== null && _tagMap2 !== void 0 ? _tagMap2 : tagMap = this.storage.get('databaseMap');
this.tagMap = tagMap;
for_each_default()(tags).call(tags, function (t) {
return t.translate(tagMap);
});
}
}, {
key: "updateConfig",
value: function updateConfig(config) {
this.config = config;
this.storage.set('config', config);
this.setRootAttrs();
this.translateTags();
}
}, {
key: "getAndInitConfig",
value: function getAndInitConfig() {
var _this2 = this;
this.storage.async.get('config').then(function (conf) {
_this2.updateConfig(conf);
})["catch"](this.logger.error);
return this.storage.get('config');
}
}, {
key: "codePatch",
value: function codePatch() {
var _document = document,
documentElement = _document.documentElement;
documentElement.setAttribute('onreset', ";(".concat(_codePatch.toString(), ")(window); return false;"));
documentElement.dispatchEvent(new Event('reset'));
documentElement.removeAttribute('onreset');
}
}, {
key: "onObserved",
value: function onObserved(mutations) {
var _iterator = syringe_createForOfIteratorHelper(mutations),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var mutation = _step.value;
if (mutation.type === 'attributes') {
this.translateNode(mutation.target);
continue;
}
var _iterator2 = syringe_createForOfIteratorHelper(mutation.addedNodes),
_step2;
try {
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
var node = _step2.value;
this.translateNode(node);
if (this.documentEnd) {
var nodes = childNodes(node);
var _iterator3 = syringe_createForOfIteratorHelper(nodes),
_step3;
try {
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
var childNode = _step3.value;
this.translateNode(childNode);
}
} catch (err) {
_iterator3.e(err);
} finally {
_iterator3.f();
}
}
}
} catch (err) {
_iterator2.e(err);
} finally {
_iterator2.f();
}
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
}
}, {
key: "init",
value: function init() {
var _this3 = this;
ready(function () {
var _this3$observer$takeR, _this3$observer;
_this3.onObserved((_this3$observer$takeR = (_this3$observer = _this3.observer) === null || _this3$observer === void 0 ? void 0 : _this3$observer.takeRecords()) !== null && _this3$observer$takeR !== void 0 ? _this3$observer$takeR : []);
_this3.codePatch();
_this3.documentEnd = true;
});
this.setRootAttrs();
var _document2 = document,
body = _document2.body;
if (body) {
var nodes = childNodes(body);
this.logger.warn("\u6709 ".concat(nodes.length, " \u4E2A\u8282\u70B9\u5728\u6CE8\u5165\u524D\u52A0\u8F7D"), nodes);
var _iterator4 = syringe_createForOfIteratorHelper(nodes),
_step4;
try {
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
var node = _step4.value;
this.translateNode(node);
}
} catch (err) {
_iterator4.e(err);
} finally {
_iterator4.f();
}
} else {
this.logger.debug("\u6CA1\u6709\u8282\u70B9\u5728\u6CE8\u5165\u524D\u52A0\u8F7D");
}
this.observer = new MutationObserver(function (mutations) {
return _this3.onObserved(mutations);
});
this.observer.observe(document.documentElement, {
attributeFilter: ['title', 'placeholder', 'label', 'value'],
childList: true,
subtree: true
});
this.updateTagMap();
this.messaging.on('tag-updated', function () {
return _this3.updateTagMap();
});
}
}, {
key: "updateTagMap",
value: function updateTagMap() {
var _this4 = this;
if (this.updatingTagMap) return;
var updatingTagMap;
updatingTagMap = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee() {
var timer, currentSha, data, tagMap, key;
return regenerator_default().wrap(function _callee$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
timer = _this4.logger.time('获取替换数据');
_context5.prev = 1;
currentSha = _this4.storage.get('databaseSha');
_context5.next = 5;
return _this4.messaging.emit('get-tag-map', {
ifNotMatch: currentSha
});
case 5:
data = _context5.sent;
if (map_default()(data)) {
tagMap = {};
for (key in map_default()(data)) {
tagMap[key] = map_default()(data)[key].name;
}
_this4.translateTags(tagMap);
_this4.storage.set('databaseMap', tagMap);
_this4.storage.set('databaseSha', data.sha);
_this4.logger.log('替换数据已更新', data.sha);
} else {
_this4.logger.log('替换数据已经最新', data.sha);
}
_context5.next = 12;
break;
case 9:
_context5.prev = 9;
_context5.t0 = _context5["catch"](1);
_this4.logger.error(_context5.t0);
case 12:
_context5.prev = 12;
timer.end();
if (_this4.updatingTagMap === updatingTagMap) {
_this4.updatingTagMap = undefined;
updatingTagMap = undefined;
}
return _context5.finish(12);
case 16:
case "end":
return _context5.stop();
}
}, _callee, null, [[1, 9, 12, 16]]);
}))();
this.updatingTagMap = updatingTagMap;
}
}, {
key: "setRootAttrs",
value: function setRootAttrs() {
var _node$classList, _context6, _context7;
var node = document.documentElement;
if (!node) return;
(_node$classList = node.classList).remove.apply(_node$classList, _toConsumableArray(filter_default()(_context6 = _toConsumableArray(values_default()(_context7 = node.classList).call(_context7))).call(_context6, function (k) {
return starts_with_default()(k).call(k, 'ehs');
})));
node.classList.add('ehs-injected');
if (isEx(location.hostname)) {
node.classList.add('ehs-ex');
} else if (isEh(location.hostname)) {
node.classList.add('ehs-eh');
} else if (isRepo(location.hostname)) {
node.classList.add('ehs-repo');
} else if ('matchMedia' in window) {
var matchesDarkTheme = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (matchesDarkTheme) {
node.classList.add('ehs-ex');
} else {
node.classList.add('ehs-eh');
}
}
if (!this.config.showIcon) {
node.classList.add('ehs-hide-icon');
}
if (this.config.translateTag) {
node.classList.add('ehs-translate-tag');
}
if (this.config.translateUi) {
node.setAttribute('lang', 'cmn-Hans');
} else {
node.setAttribute('lang', 'en');
}
node.classList.add("ehs-image-level-".concat(this.config.introduceImageLevel));
}
}, {
key: "translateNode",
value: function translateNode(node) {
var _node$parentElement;
var nodeName = node.nodeName;
if (!nodeName || skipNodeName.has(nodeName)) return;
if (node.parentNode && skipNodeName.has(node.parentNode.nodeName)) return;
if (isElement(node) ? node.matches(skipElementMatcher) : (_node$parentElement = node.parentElement) === null || _node$parentElement === void 0 ? void 0 : _node$parentElement.matches(skipElementMatcher)) {
return;
}
var handled = this.translateTag(node);
/* tag 处理过的ui不再处理*/
if (!handled && this.config.translateUi) {
this.translateUi(node);
}
}
}, {
key: "isTagContainer",
value: function isTagContainer(node) {
var _context8;
if (!node) {
return false;
}
if (isElement(node, 'a') && starts_with_default()(_context8 = node.href).call(_context8, 'https://e-hentai.org/tag/')) {
var url = new (url_default())(node.href);
var urlTag = decodeURIComponent(url.pathname.split('/').pop()).replace(/_/g, ' ').replace(/\+/g, ' ');
if (urlTag === node.textContent) {
var _node$textContent2;
node.title = (_node$textContent2 = node.textContent) !== null && _node$textContent2 !== void 0 ? _node$textContent2 : '';
return true;
}
return false;
}
return node.classList.contains('gt') || node.classList.contains('gtl') || node.classList.contains('gtw');
}
}, {
key: "translateTag",
value: function translateTag(node) {
var parentElement = node.parentElement;
var ref;
if ((parentElement === null || parentElement === void 0 ? void 0 : parentElement.id) === 'tagname_newtagcomplete-list' && isElement(node)) {
// 翻译我的标签提示
if (node.querySelector('.ehs-new-tag-complete-translate')) return false;
var elTrans = document.createElement('span');
var tag = node.getAttribute('data-value');
if (!tag) return false;
elTrans.id = tag;
elTrans.classList.add('ehs-new-tag-complete-translate');
node.appendChild(elTrans);
ref = TagNodeRef.create(elTrans, this);
} else if (!isText(node) || !parentElement) {
return false;
} else if (TagNodeRef.attached(node)) {
return true;
} else if (parentElement.nodeName === 'MARK' || parentElement.classList.contains('auto-complete-text')) {
// 不翻译搜索提示的内容
return true;
} else if (!this.isTagContainer(parentElement) && !this.isTagContainer(parentElement === null || parentElement === void 0 ? void 0 : parentElement.parentElement)) {
// 标签只翻译已知的位置
return false;
} else {
ref = TagNodeRef.create(node, this);
}
if (typeof ref == 'boolean') return ref;
ref.translate(this.tagMap);
this.tags.push(ref);
return true;
}
}, {
key: "translateUiText",
value: function translateUiText(text) {
var _this5 = this;
var plain = this.uiData.plainReplacements.get(text);
if (plain != null) return plain;
var repText = text;
var _iterator5 = syringe_createForOfIteratorHelper(this.uiData.regexReplacements),
_step5;
try {
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
var _step5$value = slicedToArray_slicedToArray(_step5.value, 2),
k = _step5$value[0],
v = _step5$value[1];
// eslint-disable-next-line @typescript-eslint/no-explicit-any
repText = repText.replace(k, v);
}
} catch (err) {
_iterator5.e(err);
} finally {
_iterator5.f();
}
if (this.config.translateTimestamp !== false &&
// 快速判断是否有可能包含时间戳
includes_default()(repText).call(repText, ':')) {
repText = repText.replace(/(\d\d\d\d-[0-1][0-9]-[0-3][0-9] [0-2][0-9]:[0-5][0-9](:[0-5][0-9])?)( UTC)?/g, function ($, t, seconds) {
var date = Date.parse(t + 'Z');
if (!date) return $;
if (seconds) return _this5.time.absolute(date, true);
return _this5.time.diff(date, undefined, DateTime.hour);
});
repText = repText.replace(/([0-3][0-9]|[1-9]) (January|February|March|April|May|June|July|August|September|October|November|December) (\d\d\d\d), ([0-2][0-9]:[0-5][0-9])( UTC)?/gi, function ($, d, m, y, t) {
var _context9, _context10, _context11;
var date = Date.parse(concat_default()(_context9 = concat_default()(_context10 = concat_default()(_context11 = "".concat(d, " ")).call(_context11, m, " ")).call(_context10, y, ", ")).call(_context9, t, " UTC"));
if (!date) return $;
return _this5.time.diff(date, undefined, DateTime.hour);
});
repText = repText.replace(/(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), ([0-3][0-9]|[1-9])(st|nd|rd|th) of (January|February|March|April|May|June|July|August|September|October|November|December) (\d\d\d\d), ([0-2][0-9]:[0-5][0-9])( UTC)?/gi, function ($, _w, d, _do, m, y, t) {
var _context12, _context13, _context14;
var date = Date.parse(concat_default()(_context12 = concat_default()(_context13 = concat_default()(_context14 = "".concat(d, " ")).call(_context14, m, " ")).call(_context13, y, ", ")).call(_context12, t, " UTC"));
if (!date) return $;
return _this5.time.diff(date, undefined, DateTime.hour);
});
}
if (repText !== text) return repText;
return undefined;
}
}, {
key: "translateUi",
value: function translateUi(node) {
var _node$parentElement2;
if (isElement(node) && node.title) {
var translation = this.translateUiText(node.title);
if (translation != null) {
node.title = translation;
}
}
if (isText(node)) {
var _node$textContent3;
var text = (_node$textContent3 = node.textContent) !== null && _node$textContent3 !== void 0 ? _node$textContent3 : '';
var _translation = this.translateUiText(text);
if (_translation != null) {
node.textContent = _translation;
}
return;
}
if (isElement(node, 'input') && (node.type === 'submit' || node.type === 'button' || node.type === 'reset')) {
// 将 input[type=submit] 等按钮替换为 button[ehs-input],避免 value 属性被翻译导致提交内容错误
var _translation2 = this.translateUiText(node.value);
if (_translation2 != null) {
var button = document.createElement('button');
var _iterator6 = syringe_createForOfIteratorHelper(node.attributes),
_step6;
try {
for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
var attr = _step6.value;
button.setAttribute(attr.name, attr.value);
}
} catch (err) {
_iterator6.e(err);
} finally {
_iterator6.f();
}
button.setAttribute('ehs-input', '');
button.textContent = _translation2;
node.replaceWith(button);
}
return;
}
if (isElement(node, 'button') && node.hasAttribute('ehs-input')) {
// 响应 button[ehs-input] 的 value 变更
var _translation3 = this.translateUiText(node.value);
node.textContent = _translation3 !== null && _translation3 !== void 0 ? _translation3 : node.value;
return;
}
if ((isElement(node, 'input') || isElement(node, 'textarea')) && node.placeholder) {
var _translation4 = this.translateUiText(node.placeholder);
if (_translation4 != null) {
node.placeholder = _translation4;
}
return;
}
if (isElement(node, 'optgroup')) {
var _translation5 = this.translateUiText(node.label);
if (_translation5 != null) {
node.label = _translation5;
}
return;
}
// 导航链接,一体化处理,不再处理文本节点(原文使用子元素和媒体查询实现页面宽度改变时文本自动更改为缩写)
if (isElement(node, 'a') && (node === null || node === void 0 || (_node$parentElement2 = node.parentElement) === null || _node$parentElement2 === void 0 || (_node$parentElement2 = _node$parentElement2.parentElement) === null || _node$parentElement2 === void 0 ? void 0 : _node$parentElement2.id) === 'nb') {
var _node$textContent4;
var _translation6 = this.translateUiText((_node$textContent4 = node.textContent) !== null && _node$textContent4 !== void 0 ? _node$textContent4 : '');
if (_translation6 != null) {
node.textContent = _translation6;
}
}
if (isElement(node, 'p') && node.classList.contains('gpc')) {
/* 兼容熊猫书签,单独处理页码,保留原页码Element,防止熊猫书签取不到报错 */
this.cloneAndPrependElement(node);
}
if (isElement(node, 'div') && node.id === 'gdd') {
/* E-Hentai-Downloader 兼容处理 */
this.cloneAndPrependElement(node.firstElementChild);
}
}
}, {
key: "cloneAndPrependElement",
value: function cloneAndPrependElement(el, cloneNode) {
var _context15;
var clone = cloneNode ? cloneNode(el) : el.cloneNode(true);
clone.classList.add(ignoreClassName);
clone.setAttribute('hidden', '');
if (clone.id) clone.id = "ehs-clone-".concat(clone.id);
for_each_default()(_context15 = clone.querySelectorAll('[id]')).call(_context15, function (node) {
node.id = "ehs-clone-".concat(node.id);
});
el.before(clone);
return clone;
}
}]);
}();
Syringe = __decorate([Service(), __metadata("design:paramtypes", [SyncStorage, UiTranslation, Logger, messaging_Messaging, Tagging, DateTime])], Syringe);
;// ./src/plugin/auto-update.ts
var AutoUpdate = /*#__PURE__*/function () {
function AutoUpdate(logger, storage, messaging) {
_classCallCheck(this, AutoUpdate);
this.logger = logger;
this.storage = storage;
this.messaging = messaging;
this.init()["catch"](logger.error);
}
return _createClass(AutoUpdate, [{
key: "init",
value: function () {
var _init = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee() {
var conf;
return regenerator_default().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
this.messaging.emit('check-extension', undefined, true)["catch"](this.logger.error);
_context.next = 3;
return this.storage.get('config');
case 3:
conf = _context.sent;
if (conf.autoUpdate) {
_context.next = 6;
break;
}
return _context.abrupt("return");
case 6:
this.messaging.emit('update-database', {
force: false
})["catch"](this.logger.error);
case 7:
case "end":
return _context.stop();
}
}, _callee, this);
}));
function init() {
return _init.apply(this, arguments);
}
return init;
}()
}]);
}();
AutoUpdate = __decorate([Service(), __metadata("design:paramtypes", [Logger, Storage, messaging_Messaging])], AutoUpdate);
;// ./src/providers/user-script/menu.ts
var menu_context;
var MenuProvider = /*#__PURE__*/function () {
function MenuProvider(logger) {
_classCallCheck(this, MenuProvider);
this.logger = logger;
logger.warn("\u4E0D\u652F\u6301\u53F3\u952E\u83DC\u5355");
}
return _createClass(MenuProvider, [{
key: "createMenu",
value: function createMenu(_info) {
return;
}
}]);
}();
MenuProvider = __decorate([Service(), __metadata("design:paramtypes", [Logger])], MenuProvider);
var provider = services_Container.get(MenuProvider);
var createMenu = bind_default()(menu_context = provider.createMenu).call(menu_context, provider);
;// ./src/providers/user-script/utils.ts
var _notification = typeof GM_notification == 'function' ? GM_notification : function (detailsOrText, ondoneOrTitle, image, onclick) {
var _context, _notification$title, _notification$text, _notification$onclick, _notification$ondone;
var notification = _typeof(detailsOrText) == 'object' ? detailsOrText : {
text: String(detailsOrText),
image: image,
onclick: onclick,
highlight: false
};
notification.id = "".concat(Math.random() * 1000000000);
if (typeof ondoneOrTitle == 'function') {
notification.ondone = ondoneOrTitle;
} else if (ondoneOrTitle) {
notification.title = ondoneOrTitle;
}
alert(concat_default()(_context = "".concat((_notification$title = notification.title) !== null && _notification$title !== void 0 ? _notification$title : '', "\n\n")).call(_context, (_notification$text = notification.text) !== null && _notification$text !== void 0 ? _notification$text : ''));
(_notification$onclick = notification.onclick) === null || _notification$onclick === void 0 || _notification$onclick.call(notification);
(_notification$ondone = notification.ondone) === null || _notification$ondone === void 0 || _notification$ondone.call(notification, true);
};
var _openInTab = typeof GM_openInTab == 'function' ? GM_openInTab : function (url) {
var opened = window.open(url);
return {
close: function close() {
var _this$onclose;
opened === null || opened === void 0 || opened.close();
(_this$onclose = this.onclose) === null || _this$onclose === void 0 || _this$onclose.call(this);
this.closed = true;
},
closed: false
};
};
function openInTab(url) {
_openInTab(url, {
active: true,
insert: true,
setParent: true
});
}
function sendNotification(info) {
_notification({
text: info.message,
title: info.title,
onclick: info.action
});
}
function setBadge(info) {
var badge = document.getElementById('eh-syringe-popup-badge');
if (badge) {
if (info.text != null) {
badge.innerText = info.text;
badge.style.visibility = info.text ? 'visible' : 'hidden';
}
if (info.background != null) {
badge.style.background = info.background;
}
}
}
;// ./src/plugin/tag-context-menu.ts
var TagContextMenu = /*#__PURE__*/function () {
function TagContextMenu(tagging) {
var _this = this;
_classCallCheck(this, TagContextMenu);
this.tagging = tagging;
this.documentUrlPatterns = ['*://exhentai.org/*', '*://exhentai55ld2wyap5juskbm67czulomrouspdacjamjeloj7ugjbsad.onion/*', '*://e-hentai.org/*', '*://*.exhentai.org/*', '*://*.exhentai55ld2wyap5juskbm67czulomrouspdacjamjeloj7ugjbsad.onion/*', '*://*.e-hentai.org/*'];
this.title = '提交标签翻译';
this.targetUrlPatterns = ['*://exhentai.org/tag/*', '*://exhentai55ld2wyap5juskbm67czulomrouspdacjamjeloj7ugjbsad.onion/tag/*', '*://e-hentai.org/tag/*', '*://*.exhentai.org/tag/*', '*://*.exhentai55ld2wyap5juskbm67czulomrouspdacjamjeloj7ugjbsad.onion/tag/*', '*://*.e-hentai.org/tag/*'];
this.contexts = ['link'];
this.onclick = function (info) {
var _info$url, _info$url$split$pop$r, _info$url$split$pop, _seg$pop;
if (!((_info$url = info.url) !== null && _info$url !== void 0 && includes_default()(_info$url).call(_info$url, '/tag/'))) {
return;
}
var seg = (_info$url$split$pop$r = (_info$url$split$pop = info.url.split('/').pop()) === null || _info$url$split$pop === void 0 ? void 0 : _info$url$split$pop.replace(/\+/g, ' ').split(':')) !== null && _info$url$split$pop$r !== void 0 ? _info$url$split$pop$r : [];
var namespace = seg.length <= 1 ? 'temp' : seg[0];
var key = (_seg$pop = seg.pop()) !== null && _seg$pop !== void 0 ? _seg$pop : '';
openInTab(_this.tagging.editorUrl({
namespace: namespace,
key: key
}));
};
this.init();
}
return _createClass(TagContextMenu, [{
key: "init",
value: function init() {
createMenu(this);
}
}]);
}();
TagContextMenu = __decorate([Service(), __metadata("design:paramtypes", [Tagging])], TagContextMenu);
;// ./src/services/http.ts
var Http = /*#__PURE__*/function () {
function Http() {
_classCallCheck(this, Http);
}
return _createClass(Http, [{
key: "json",
value: function () {
var _json = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee(url) {
var method,
res,
_args = arguments;
return regenerator_default().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
method = _args.length > 1 && _args[1] !== undefined ? _args[1] : 'GET';
_context.next = 3;
return fetch(url, {
method: method
});
case 3:
res = _context.sent;
_context.next = 6;
return res.json();
case 6:
return _context.abrupt("return", _context.sent);
case 7:
case "end":
return _context.stop();
}
}, _callee);
}));
function json(_x) {
return _json.apply(this, arguments);
}
return json;
}()
}, {
key: "download",
value: function () {
var _download = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee2(url) {
var method,
progress,
responseType,
res,
_context2,
_context3,
_context4,
dataCache,
receivedSize,
reader,
_data,
data,
pos,
_i,
_dataCache,
piece,
_args2 = arguments;
return regenerator_default().wrap(function _callee2$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
method = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : 'GET';
progress = _args2.length > 2 ? _args2[2] : undefined;
responseType = _args2.length > 3 && _args2[3] !== undefined ? _args2[3] : 'arraybuffer';
_context5.next = 5;
return fetch(url, {
method: method,
redirect: 'follow',
cache: 'no-cache'
});
case 5:
res = _context5.sent;
if (!(res.status >= 300 || !res.body)) {
_context5.next = 8;
break;
}
throw new Error(concat_default()(_context2 = concat_default()(_context3 = concat_default()(_context4 = "".concat(method, " ")).call(_context4, url, " ")).call(_context3, res.statusText, " (")).call(_context2, res.status, ")"));
case 8:
dataCache = [];
receivedSize = 0;
reader = res.body.getReader();
case 11:
_context5.next = 13;
return reader.read();
case 13:
_data = _context5.sent;
if (!_data.done) {
_context5.next = 16;
break;
}
return _context5.abrupt("break", 21);
case 16:
dataCache.push(_data.value);
receivedSize += _data.value.byteLength;
progress === null || progress === void 0 || progress(receivedSize);
case 19:
_context5.next = 11;
break;
case 21:
data = new Uint8Array(receivedSize);
pos = 0;
for (_i = 0, _dataCache = dataCache; _i < _dataCache.length; _i++) {
piece = _dataCache[_i];
data.set(piece, pos);
pos += piece.byteLength;
}
if (!(responseType === 'arraybuffer')) {
_context5.next = 26;
break;
}
return _context5.abrupt("return", data.buffer);
case 26:
return _context5.abrupt("return", JSON.parse(new TextDecoder().decode(data)));
case 27:
case "end":
return _context5.stop();
}
}, _callee2);
}));
function download(_x2) {
return _download.apply(this, arguments);
}
return download;
}()
}]);
}();
Http = __decorate([Service()], Http);
;// ./src/services/database.ts
function database_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof (symbol_default()) && get_iterator_method_default()(r) || r["@@iterator"]; if (!t) { if (is_array_default()(r) || (t = database_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, 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 o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
function database_unsupportedIterableToArray(r, a) { if (r) { var _context5; if ("string" == typeof r) return database_arrayLikeToArray(r, a); var t = slice_default()(_context5 = {}.toString.call(r)).call(_context5, 8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? from_default()(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? database_arrayLikeToArray(r, a) : void 0; } }
function database_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
var Database = /*#__PURE__*/function () {
function Database(http, logger) {
_classCallCheck(this, Database);
this.http = http;
this.logger = logger;
}
return _createClass(Database, [{
key: "getLatestVersion",
value: function () {
var _getLatestVersion = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee() {
var githubDownloadUrl, info, _context;
return regenerator_default().wrap(function _callee$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
githubDownloadUrl = 'https://ehtt.fly.dev/octokit/release'; //'https://api.github.com/repos/ehtagtranslation/Database/releases/latest';
_context2.next = 3;
return this.http.json(githubDownloadUrl);
case 3:
info = _context2.sent;
if ('target_commitish' in info) {
_context2.next = 10;
break;
}
if (!(typeof info.message != 'string')) {
_context2.next = 7;
break;
}
throw new Error('响应有误');
case 7:
if (!starts_with_default()(_context = info.message).call(_context, 'API rate limit exceeded')) {
_context2.next = 9;
break;
}
throw new Error('GitHub API 调用次数超过限制,请稍后再试');
case 9:
throw new Error(info.message);
case 10:
return _context2.abrupt("return", info);
case 11:
case "end":
return _context2.stop();
}
}, _callee, this);
}));
function getLatestVersion() {
return _getLatestVersion.apply(this, arguments);
}
return getLatestVersion;
}()
}, {
key: "dataUrls",
value: function dataUrls(version) {
var dataJson = /<!--([^]+?)-->/gi.exec(version.body);
if (!dataJson) throw new Error("GitHub \u53D1\u5E03\u6570\u636E\u65E0\u6CD5\u89E3\u6790\uFF0C\u53EF\u80FD\u9700\u8981\u66F4\u65B0\u63D2\u4EF6\u7248\u672C");
try {
var data = JSON.parse(dataJson[1]);
var sha = data.mirror;
if (typeof sha != 'string') throw new Error();
return ["https://fastly.jsdelivr.net/gh/EhTagTranslation/DatabaseReleases@".concat(sha, "/db.html.json"), "https://gcore.jsdelivr.net/gh/EhTagTranslation/DatabaseReleases@".concat(sha, "/db.html.json"), "https://cdn.jsdelivr.net/gh/EhTagTranslation/DatabaseReleases@".concat(sha, "/db.html.json"), "https://testingcf.jsdelivr.net/gh/EhTagTranslation/DatabaseReleases@".concat(sha, "/db.html.json"), "https://test1.jsdelivr.net/gh/EhTagTranslation/DatabaseReleases@".concat(sha, "/db.html.json"), "https://originfastly.jsdelivr.net/gh/EhTagTranslation/DatabaseReleases@".concat(sha, "/db.html.json"), "https://cdn.statically.io/gh/EhTagTranslation/DatabaseReleases/".concat(sha, "/db.html.json"), "https://rawcdn.githack.com/EhTagTranslation/DatabaseReleases/".concat(sha, "/db.html.json")];
} catch (_unused) {
throw new Error("GitHub \u53D1\u5E03\u6570\u636E\u65E0\u6CD5\u89E3\u6790\uFF0C\u53EF\u80FD\u9700\u8981\u66F4\u65B0\u63D2\u4EF6\u7248\u672C");
}
}
}, {
key: "getData",
value: function () {
var _getData = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee2(version, progress) {
var _context3;
var urls, asset, errors, _iterator, _step, url, _result$head, result, e;
return regenerator_default().wrap(function _callee2$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
urls = this.dataUrls(version);
asset = find_default()(_context3 = version.assets).call(_context3, function (asset) {
return asset.name === 'db.html.json';
});
errors = [];
_iterator = database_createForOfIteratorHelper(urls);
_context4.prev = 4;
_iterator.s();
case 6:
if ((_step = _iterator.n()).done) {
_context4.next = 23;
break;
}
url = _step.value;
_context4.prev = 8;
_context4.next = 11;
return this.http.download(url, 'GET', function (loaded) {
var total = asset != null ? asset.size : 0;
if (total > 0) progress === null || progress === void 0 || progress(loaded / total);else progress === null || progress === void 0 || progress(0);
}, 'json');
case 11:
result = _context4.sent;
if (!((result === null || result === void 0 || (_result$head = result.head) === null || _result$head === void 0 ? void 0 : _result$head.sha) === version.target_commitish && result !== null && result !== void 0 && result.data)) {
_context4.next = 15;
break;
}
this.logger.log("\u4ECE ".concat(url, " \u4E0B\u8F7D\u6210\u529F"));
return _context4.abrupt("return", result);
case 15:
_context4.next = 21;
break;
case 17:
_context4.prev = 17;
_context4.t0 = _context4["catch"](8);
errors.push(_context4.t0);
this.logger.warn("\u5C1D\u8BD5\u4ECE ".concat(url, " \u4E0B\u8F7D\u5931\u8D25"), _context4.t0);
case 21:
_context4.next = 6;
break;
case 23:
_context4.next = 28;
break;
case 25:
_context4.prev = 25;
_context4.t1 = _context4["catch"](4);
_iterator.e(_context4.t1);
case 28:
_context4.prev = 28;
_iterator.f();
return _context4.finish(28);
case 31:
if (!(errors.length === 0)) {
_context4.next = 33;
break;
}
throw new Error('没有获取到有效的文件');
case 33:
e = errors[errors.length - 1];
define_property_default()(e, 'errors', {
value: errors,
enumerable: true
});
throw e;
case 36:
case "end":
return _context4.stop();
}
}, _callee2, this, [[4, 25, 28, 31], [8, 17]]);
}));
function getData(_x, _x2) {
return _getData.apply(this, arguments);
}
return getData;
}()
}]);
}();
Database = __decorate([Service(), __metadata("design:paramtypes", [Http, Logger])], Database);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/set-interval.js
var set_interval = __webpack_require__(20857);
var set_interval_default = /*#__PURE__*/__webpack_require__.n(set_interval);
;// ./src/services/badge-loading.ts
var BadgeLoading = /*#__PURE__*/function () {
function BadgeLoading(logger) {
_classCallCheck(this, BadgeLoading);
this.logger = logger;
this.loadingStrArr = [[''], ['⢎⠀', '⢆⡀', '⢄⡠', '⢀⡰', '⠀⡱', '⠈⠱', '⠊⠑', '⠎⠁'], [' ', '· ', ' · ', ' · ', ' ·']];
this.frame = 0;
this.index = 0;
this.interval = undefined;
this.text = '';
this.loadingString = [''];
this.color = '';
this.extname = 'EhSyringe';
}
return _createClass(BadgeLoading, [{
key: "setColor",
value: function setColor() {
var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '#4A90E2';
setBadge({
background: color
});
}
}, {
key: "setText",
value: function setText(text) {
setBadge({
text: text
});
}
}, {
key: "set",
value: function set(text, color) {
var _this = this;
var loading = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
if (this.index !== loading) {
this.index = loading;
this.loadingString = this.loadingStrArr[this.index] || [''];
this.frame = 0;
}
this.text = text;
this.setColor(color);
if (loading) {
if (!this.interval) {
this.interval = set_interval_default()(function () {
var _context;
_this.setText(concat_default()(_context = "".concat(_this.text)).call(_context, _this.loadingString[_this.frame] || ''));
_this.frame++;
if (!_this.loadingString[_this.frame]) {
_this.frame = 0;
}
}, 100);
}
} else {
this.frame = 0;
if (this.interval) {
clearInterval(this.interval);
this.interval = undefined;
}
this.setText(this.text);
}
}
}]);
}();
BadgeLoading = __decorate([Service(), __metadata("design:paramtypes", [Logger])], BadgeLoading);
;// ./src/utils/promise.ts
function sleep(ms) {
return new (promise_default())(function (resolve) {
return set_timeout_default()(resolve, ms);
});
}
;// ./src/utils/index.ts
;// ./src/plugin/database-updater.ts
function database_updater_ownKeys(e, r) { var t = object_keys_default()(e); if ((get_own_property_symbols_default())) { var o = get_own_property_symbols_default()(e); r && (o = filter_default()(o).call(o, function (r) { return get_own_property_descriptor_default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function database_updater_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context7, _context8; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? for_each_default()(_context7 = database_updater_ownKeys(Object(t), !0)).call(_context7, function (r) { _defineProperty(e, r, t[r]); }) : (get_own_property_descriptors_default()) ? define_properties_default()(e, get_own_property_descriptors_default()(t)) : for_each_default()(_context8 = database_updater_ownKeys(Object(t))).call(_context8, function (r) { define_property_default()(e, r, get_own_property_descriptor_default()(t, r)); }); } return e; }
var database_updater_defaultStatus = {
run: false,
progress: 0,
info: '',
complete: false,
error: false
};
var DatabaseUpdater = /*#__PURE__*/function () {
function DatabaseUpdater(logger, messaging, storage, database, badge) {
var _this = this;
_classCallCheck(this, DatabaseUpdater);
this.logger = logger;
this.messaging = messaging;
this.storage = storage;
this.database = database;
this.badge = badge;
this._lastCheckData = {
sha: '',
check: 0,
githubRelease: null
};
this.downloadStatus = database_updater_objectSpread({}, database_updater_defaultStatus);
this.checked = false;
this.messaging.on('update-database', /*#__PURE__*/function () {
var _ref2 = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee(_ref) {
var force, recheck, version, updating, success;
return regenerator_default().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
force = _ref.force, recheck = _ref.recheck;
if (!(_this.checked && !force)) {
_context.next = 4;
break;
}
_this.logger.log('跳过');
return _context.abrupt("return", undefined);
case 4:
_context.next = 6;
return _this.checkVersion(recheck);
case 6:
version = _context.sent;
_context.t0 = version !== null && version !== void 0 && version.sha;
if (!_context.t0) {
_context.next = 17;
break;
}
_context.t1 = !!force;
if (_context.t1) {
_context.next = 16;
break;
}
_context.t2 = version.sha;
_context.next = 14;
return _this.messaging.emit('get-tag-sha', undefined);
case 14:
_context.t3 = _context.sent;
_context.t1 = _context.t2 !== _context.t3;
case 16:
_context.t0 = _context.t1;
case 17:
if (!_context.t0) {
_context.next = 33;
break;
}
_context.next = 20;
return _this.updating;
case 20:
updating = _this.update();
_this.updating = updating;
_context.next = 24;
return updating;
case 24:
success = _context.sent;
_this.updating = undefined;
if (!success) {
_context.next = 31;
break;
}
_this.logger.log('有新版本并更新', version);
return _context.abrupt("return", version);
case 31:
_this.logger.log('更新新版本失败', version);
return _context.abrupt("return", undefined);
case 33:
_this.logger.log('没有新版本');
return _context.abrupt("return", undefined);
case 35:
case "end":
return _context.stop();
}
}, _callee);
}));
return function (_x) {
return _ref2.apply(this, arguments);
};
}());
this.messaging.on('check-database', /*#__PURE__*/function () {
var _ref4 = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee2(_ref3) {
var force;
return regenerator_default().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
force = _ref3.force;
_context2.next = 3;
return _this.checkVersion(force);
case 3:
return _context2.abrupt("return", _context2.sent);
case 4:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return function (_x2) {
return _ref4.apply(this, arguments);
};
}());
this.init()["catch"](logger.error);
}
return _createClass(DatabaseUpdater, [{
key: "init",
value: function () {
var _init = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee3() {
var storage;
return regenerator_default().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
_context3.next = 2;
return this.storage.get('release');
case 2:
storage = _context3.sent;
if (storage && storage.check > this._lastCheckData.check) {
assign_default()(this._lastCheckData, storage);
}
case 4:
case "end":
return _context3.stop();
}
}, _callee3, this);
}));
function init() {
return _init.apply(this, arguments);
}
return init;
}()
}, {
key: "lastCheckData",
get: function get() {
return this._lastCheckData;
},
set: function set(value) {
if (value && value.check > this.lastCheckData.check) {
assign_default()(this._lastCheckData, value);
this.storage.set('release', this._lastCheckData)["catch"](this.logger.error);
}
}
}, {
key: "update",
value: function () {
var _update = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee4() {
var _this2 = this;
var data, e;
return regenerator_default().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
// 重置下载状态
this.initDownloadStatus();
_context4.prev = 1;
_context4.next = 4;
return this.download();
case 4:
data = _context4.sent;
_context4.next = 7;
return this.messaging.emit('update-tag', data.data);
case 7:
this.badge.set('OK', '#00C801');
this.pushDownloadStatus({
run: true,
info: '更新完成',
progress: 100,
complete: true
});
void sleep(2500).then(function () {
if (_this2.downloadStatus.complete) {
_this2.badge.set('', '#4A90E2');
_this2.initDownloadStatus();
}
});
return _context4.abrupt("return", true);
case 13:
_context4.prev = 13;
_context4.t0 = _context4["catch"](1);
e = _context4.t0;
this.logger.error(e);
this.badge.set('ERR', '#C80000');
this.pushDownloadStatus({
run: false,
error: true,
info: e !== null && e !== void 0 && e.message ? e.message : '更新失败'
});
return _context4.abrupt("return", false);
case 20:
case "end":
return _context4.stop();
}
}, _callee4, this, [[1, 13]]);
}));
function update() {
return _update.apply(this, arguments);
}
return update;
}()
}, {
key: "initDownloadStatus",
value: function initDownloadStatus() {
this.downloadStatus = database_updater_objectSpread({}, database_updater_defaultStatus);
void this.messaging.emit('updating-database', this.downloadStatus, true);
}
}, {
key: "pushDownloadStatus",
value: function pushDownloadStatus() {
var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
this.downloadStatus = database_updater_objectSpread(database_updater_objectSpread({}, this.downloadStatus), data);
void this.messaging.emit('updating-database', this.downloadStatus, true);
}
}, {
key: "checkVersion",
value: function () {
var _checkVersion = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee5() {
var force,
time,
lastCheckData,
info,
_args5 = arguments;
return regenerator_default().wrap(function _callee5$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
force = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : false;
if (force) {
_context5.next = 6;
break;
}
// 限制每 5 分钟最多请求 1 次
time = new Date().getTime();
lastCheckData = this.lastCheckData;
if (!(time - lastCheckData.check <= 1000 * 60 * 5 && lastCheckData.githubRelease)) {
_context5.next = 6;
break;
}
return _context5.abrupt("return", lastCheckData);
case 6:
_context5.next = 8;
return this.database.getLatestVersion();
case 8:
info = _context5.sent;
this.lastCheckData = {
sha: info.target_commitish,
githubRelease: info,
check: now_default()()
};
this.checked = true;
return _context5.abrupt("return", this.lastCheckData);
case 12:
case "end":
return _context5.stop();
}
}, _callee5, this);
}));
function checkVersion() {
return _checkVersion.apply(this, arguments);
}
return checkVersion;
}()
}, {
key: "download",
value: function () {
var _download = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee6() {
var _checkData$githubRele,
_this3 = this;
var checkData, info, timer, data;
return regenerator_default().wrap(function _callee6$(_context6) {
while (1) switch (_context6.prev = _context6.next) {
case 0:
this.badge.set('', '#4A90E2', 2);
this.pushDownloadStatus({
run: true,
info: '加载中'
});
_context6.next = 4;
return this.checkVersion();
case 4:
checkData = _context6.sent;
if (checkData !== null && checkData !== void 0 && (_checkData$githubRele = checkData.githubRelease) !== null && _checkData$githubRele !== void 0 && _checkData$githubRele.target_commitish) {
_context6.next = 8;
break;
}
this.logger.debug('checkData', checkData);
throw new Error('无法获取版本信息');
case 8:
info = checkData.githubRelease;
timer = this.logger.time("\u5F00\u59CB\u4E0B\u8F7D");
_context6.prev = 10;
this.pushDownloadStatus({
info: '0%',
progress: 0
});
this.badge.set('0', '#4A90E2', 1);
_context6.next = 15;
return this.database.getData(info, function (progress) {
var percent = Math.floor(progress * 100);
_this3.pushDownloadStatus({
info: "".concat(percent, "%"),
progress: percent
});
_this3.badge.set(percent.toFixed(0), '#4A90E2', 1);
});
case 15:
data = _context6.sent;
this.pushDownloadStatus({
info: '下载完成',
progress: 100
});
this.badge.set('100', '#4A90E2', 1);
return _context6.abrupt("return", {
release: info,
data: data
});
case 19:
_context6.prev = 19;
timer.end();
return _context6.finish(19);
case 22:
case "end":
return _context6.stop();
}
}, _callee6, this, [[10,, 19, 22]]);
}));
function download() {
return _download.apply(this, arguments);
}
return download;
}()
}]);
}();
DatabaseUpdater = __decorate([Service(), __metadata("design:paramtypes", [Logger, messaging_Messaging, Storage, Database, BadgeLoading])], DatabaseUpdater);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/object/values.js
var object_values = __webpack_require__(83353);
var object_values_default = /*#__PURE__*/__webpack_require__.n(object_values);
;// ./src/plugin/suggest.ts
function suggest_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof (symbol_default()) && get_iterator_method_default()(r) || r["@@iterator"]; if (!t) { if (is_array_default()(r) || (t = suggest_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, 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 o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
function suggest_unsupportedIterableToArray(r, a) { if (r) { var _context4; if ("string" == typeof r) return suggest_arrayLikeToArray(r, a); var t = slice_default()(_context4 = {}.toString.call(r)).call(_context4, 8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? from_default()(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? suggest_arrayLikeToArray(r, a) : void 0; } }
function suggest_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
var Suggest = /*#__PURE__*/function () {
function Suggest(logger, messaging, tagging) {
var _this = this;
_classCallCheck(this, Suggest);
this.logger = logger;
this.messaging = messaging;
this.tagging = tagging;
this.nsScore = {
other: 10,
female: 9,
male: 8.5,
mixed: 8,
language: 2,
artist: 2.5,
cosplayer: 2.4,
group: 2.2,
parody: 3.3,
character: 2.8,
reclass: 1,
rows: 0,
temp: 0.1
};
this.tagList = [];
this.sha = '';
messaging.on('suggest-tag', function (args) {
return _this.getSuggests(args.term, args.limit);
});
this.update()["catch"](logger.error);
}
return _createClass(Suggest, [{
key: "update",
value: function () {
var _update = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee() {
var v;
return regenerator_default().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return this.messaging.emit('get-tag-map', {
ifNotMatch: this.sha
});
case 2:
v = _context.sent;
if (map_default()(v)) this.tagList = object_values_default()(map_default()(v));
this.sha = v.sha;
case 5:
case "end":
return _context.stop();
}
}, _callee, this);
}));
function update() {
return _update.apply(this, arguments);
}
return update;
}()
}, {
key: "markTag",
value: function markTag(tag, search, term) {
var _context2;
var score = 0;
var ns = this.tagging.namespace(tag.ns);
var match = {};
var key = tag.key;
var keyIdx = index_of_default()(_context2 = tag.key).call(_context2, search);
if (keyIdx >= 0) {
score += this.nsScore[ns] * (search.length + 1) / key.length * (keyIdx === 0 ? 2 : 1);
match.key = {
start: keyIdx,
end: keyIdx + search.length
};
}
var name = tag.cn.toLowerCase();
var nameIdx = index_of_default()(name).call(name, search);
if (nameIdx >= 0) {
score += this.nsScore[ns] * (search.length + 1) / name.length * (nameIdx === 0 ? 2 : 1);
match.cn = {
start: nameIdx,
end: nameIdx + search.length
};
}
if (tag.introSearch) {
var intro = tag.introSearch;
var introIdx = index_of_default()(intro).call(intro, search);
if (introIdx >= 0) {
score += this.nsScore[ns] * (search.length + 1) / intro.length * 0.5;
}
}
return {
tag: tag,
term: term,
match: match,
score: score
};
}
}, {
key: "getSuggests",
value: function () {
var _getSuggests = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee2(term) {
var limit,
timer,
sTerm,
col,
tagList,
ns,
suggestions,
_iterator,
_step,
tag,
st,
_args2 = arguments;
return regenerator_default().wrap(function _callee2$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
limit = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : -1;
if (term) {
_context3.next = 3;
break;
}
return _context3.abrupt("return", []);
case 3:
_context3.next = 5;
return this.update();
case 5:
if (this.tagList.length) {
_context3.next = 7;
break;
}
return _context3.abrupt("return", []);
case 7:
timer = this.logger.time("\u641C\u7D22\uFF1A".concat(term));
sTerm = term.toLowerCase().normalize();
col = index_of_default()(sTerm).call(sTerm, ':');
tagList = this.tagList;
if (col >= 1) {
ns = this.tagging.ns(slice_default()(sTerm).call(sTerm, 0, col));
if (ns) {
sTerm = slice_default()(sTerm).call(sTerm, col + 1);
tagList = filter_default()(tagList).call(tagList, function (tag) {
return tag.ns === ns;
});
}
}
if (starts_with_default()(sTerm).call(sTerm, '"')) {
sTerm = slice_default()(sTerm).call(sTerm, 1);
}
suggestions = [];
_iterator = suggest_createForOfIteratorHelper(tagList);
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
tag = _step.value;
st = this.markTag(tag, sTerm, term);
if (st.score > 0) suggestions.push(st);
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
sort_default()(suggestions).call(suggestions, function (st1, st2) {
return st2.score - st1.score;
});
if (limit > 0) {
suggestions = slice_default()(suggestions).call(suggestions, 0, limit);
}
this.logger.debug("\u641C\u7D22\uFF1A".concat(term), suggestions);
timer.end();
return _context3.abrupt("return", suggestions);
case 21:
case "end":
return _context3.stop();
}
}, _callee2, this);
}));
function getSuggests(_x) {
return _getSuggests.apply(this, arguments);
}
return getSuggests;
}()
}]);
}();
Suggest = __decorate([Service(), __metadata("design:paramtypes", [Logger, messaging_Messaging, Tagging])], Suggest);
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js
var ObjectUnsubscribedError = createErrorClass(function (_super) {
return function ObjectUnsubscribedErrorImpl() {
_super(this);
this.name = 'ObjectUnsubscribedError';
this.message = 'object unsubscribed';
};
});
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subject.js
var Subject = function (_super) {
tslib_es6_extends(Subject, _super);
function Subject() {
var _this = _super.call(this) || this;
_this.closed = false;
_this.currentObservers = null;
_this.observers = [];
_this.isStopped = false;
_this.hasError = false;
_this.thrownError = null;
return _this;
}
Subject.prototype.lift = function (operator) {
var subject = new AnonymousSubject(this, this);
subject.operator = operator;
return subject;
};
Subject.prototype._throwIfClosed = function () {
if (this.closed) {
throw new ObjectUnsubscribedError();
}
};
Subject.prototype.next = function (value) {
var _this = this;
errorContext(function () {
var e_1, _a;
_this._throwIfClosed();
if (!_this.isStopped) {
if (!_this.currentObservers) {
_this.currentObservers = from_default()(_this.observers);
}
try {
for (var _b = __values(_this.currentObservers), _c = _b.next(); !_c.done; _c = _b.next()) {
var observer = _c.value;
observer.next(value);
}
} catch (e_1_1) {
e_1 = {
error: e_1_1
};
} finally {
try {
if (_c && !_c.done && (_a = _b["return"])) _a.call(_b);
} finally {
if (e_1) throw e_1.error;
}
}
}
});
};
Subject.prototype.error = function (err) {
var _this = this;
errorContext(function () {
_this._throwIfClosed();
if (!_this.isStopped) {
_this.hasError = _this.isStopped = true;
_this.thrownError = err;
var observers = _this.observers;
while (observers.length) {
observers.shift().error(err);
}
}
});
};
Subject.prototype.complete = function () {
var _this = this;
errorContext(function () {
_this._throwIfClosed();
if (!_this.isStopped) {
_this.isStopped = true;
var observers = _this.observers;
while (observers.length) {
observers.shift().complete();
}
}
});
};
Subject.prototype.unsubscribe = function () {
this.isStopped = this.closed = true;
this.observers = this.currentObservers = null;
};
define_property_default()(Subject.prototype, "observed", {
get: function get() {
var _a;
return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;
},
enumerable: false,
configurable: true
});
Subject.prototype._trySubscribe = function (subscriber) {
this._throwIfClosed();
return _super.prototype._trySubscribe.call(this, subscriber);
};
Subject.prototype._subscribe = function (subscriber) {
this._throwIfClosed();
this._checkFinalizedStatuses(subscriber);
return this._innerSubscribe(subscriber);
};
Subject.prototype._innerSubscribe = function (subscriber) {
var _this = this;
var _a = this,
hasError = _a.hasError,
isStopped = _a.isStopped,
observers = _a.observers;
if (hasError || isStopped) {
return EMPTY_SUBSCRIPTION;
}
this.currentObservers = null;
observers.push(subscriber);
return new Subscription(function () {
_this.currentObservers = null;
arrRemove(observers, subscriber);
});
};
Subject.prototype._checkFinalizedStatuses = function (subscriber) {
var _a = this,
hasError = _a.hasError,
thrownError = _a.thrownError,
isStopped = _a.isStopped;
if (hasError) {
subscriber.error(thrownError);
} else if (isStopped) {
subscriber.complete();
}
};
Subject.prototype.asObservable = function () {
var observable = new Observable();
observable.source = this;
return observable;
};
Subject.create = function (destination, source) {
return new AnonymousSubject(destination, source);
};
return Subject;
}(Observable);
var AnonymousSubject = function (_super) {
tslib_es6_extends(AnonymousSubject, _super);
function AnonymousSubject(destination, source) {
var _this = _super.call(this) || this;
_this.destination = destination;
_this.source = source;
return _this;
}
AnonymousSubject.prototype.next = function (value) {
var _a, _b;
(_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);
};
AnonymousSubject.prototype.error = function (err) {
var _a, _b;
(_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);
};
AnonymousSubject.prototype.complete = function () {
var _a, _b;
(_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);
};
AnonymousSubject.prototype._subscribe = function (subscriber) {
var _a, _b;
return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;
};
return AnonymousSubject;
}(Subject);
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/BehaviorSubject.js
var BehaviorSubject = function (_super) {
tslib_es6_extends(BehaviorSubject, _super);
function BehaviorSubject(_value) {
var _this = _super.call(this) || this;
_this._value = _value;
return _this;
}
define_property_default()(BehaviorSubject.prototype, "value", {
get: function get() {
return this.getValue();
},
enumerable: false,
configurable: true
});
BehaviorSubject.prototype._subscribe = function (subscriber) {
var subscription = _super.prototype._subscribe.call(this, subscriber);
!subscription.closed && subscriber.next(this._value);
return subscription;
};
BehaviorSubject.prototype.getValue = function () {
var _a = this,
hasError = _a.hasError,
thrownError = _a.thrownError,
_value = _a._value;
if (hasError) {
throw thrownError;
}
this._throwIfClosed();
return _value;
};
BehaviorSubject.prototype.next = function (value) {
_super.prototype.next.call(this, this._value = value);
};
return BehaviorSubject;
}(Subject);
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/EmptyError.js
var EmptyError = createErrorClass(function (_super) {
return function EmptyErrorImpl() {
_super(this);
this.name = 'EmptyError';
this.message = 'no elements in sequence';
};
});
;// ./node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/firstValueFrom.js
function firstValueFrom(source, config) {
var hasConfig = _typeof(config) === 'object';
return new (promise_default())(function (resolve, reject) {
var subscriber = new SafeSubscriber({
next: function next(value) {
resolve(value);
subscriber.unsubscribe();
},
error: reject,
complete: function complete() {
if (hasConfig) {
resolve(config.defaultValue);
} else {
reject(new EmptyError());
}
}
});
source.subscribe(subscriber);
});
}
;// ./src/plugin/tag-database.ts
function tag_database_ownKeys(e, r) { var t = object_keys_default()(e); if ((get_own_property_symbols_default())) { var o = get_own_property_symbols_default()(e); r && (o = filter_default()(o).call(o, function (r) { return get_own_property_descriptor_default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function tag_database_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? for_each_default()(_context3 = tag_database_ownKeys(Object(t), !0)).call(_context3, function (r) { _defineProperty(e, r, t[r]); }) : (get_own_property_descriptors_default()) ? define_properties_default()(e, get_own_property_descriptors_default()(t)) : for_each_default()(_context4 = tag_database_ownKeys(Object(t))).call(_context4, function (r) { define_property_default()(e, r, get_own_property_descriptor_default()(t, r)); }); } return e; }
/* 数据存储结构版本, 如果不同 系统会自动执行 storageTagData 重新构建数据*/
/* 注意这是本地数据结构, 主要用于 storageTagData内解析方法发生变化, 重新加载数据的, 与线上无关*/
var DATA_STRUCTURE_VERSION = 12;
var TagDatabase = /*#__PURE__*/function () {
function TagDatabase(storage, logger, messaging, tagging) {
var _this = this;
_classCallCheck(this, TagDatabase);
this.storage = storage;
this.logger = logger;
this.messaging = messaging;
this.tagging = tagging;
this.tagMap = new BehaviorSubject(undefined);
messaging.on('get-tag', function (key) {
return firstValueFrom(_this.mapView.pipe(map_map(function (v) {
return map_default()(v)[key];
})));
});
messaging.on('get-tag-map', function (_ref) {
var ifNotMatch = _ref.ifNotMatch;
return firstValueFrom(_this.mapView.pipe(map_map(function (v) {
if (ifNotMatch === v.sha) return {
sha: v.sha,
map: undefined
};
return {
sha: v.sha,
map: map_default()(v)
};
})));
});
messaging.on('get-tag-sha', function () {
return firstValueFrom(_this.mapView.pipe(map_map(function (v) {
return v.sha;
})));
});
this.init()["catch"](logger.error);
}
return _createClass(TagDatabase, [{
key: "mapView",
get: function get() {
return this.tagMap.pipe(filter_filter(function (v) {
return v != null;
}));
}
}, {
key: "init",
value: function () {
var _init = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee() {
var _this2 = this;
var data, dataMap, timer;
return regenerator_default().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return this.storage.get('databaseInfo');
case 2:
data = _context.sent;
_context.next = 5;
return this.storage.get('database');
case 5:
dataMap = _context.sent;
this.messaging.on('update-tag', function (data) {
return _this2.update(data);
});
if (!(!data || data.version !== DATA_STRUCTURE_VERSION || !dataMap || !data.sha)) {
_context.next = 17;
break;
}
this.tagMap.next({
sha: '',
map: {}
});
timer = this.logger.time('数据结构变化, 重新构建数据');
_context.next = 12;
return this.storage.migrate();
case 12:
_context.next = 14;
return this.messaging.emit('update-database', {
force: true
});
case 14:
timer.end();
_context.next = 18;
break;
case 17:
this.tagMap.next(tag_database_objectSpread(tag_database_objectSpread({}, data), {}, {
map: dataMap
}));
case 18:
this.logger.log('标签数据库初始化完成');
this.tagMap.subscribe({
next: function next() {
void _this2.messaging.emit('tag-updated', undefined, true);
}
});
case 20:
case "end":
return _context.stop();
}
}, _callee, this);
}));
function init() {
return _init.apply(this, arguments);
}
return init;
}()
}, {
key: "update",
value: function update(tagDB) {
var _context2,
_this3 = this;
var timer = this.logger.time('构建数据');
var sha = tagDB.head.sha;
var map = {};
var check = now_default()();
for_each_default()(_context2 = tagDB.data).call(_context2, function (nsData) {
var namespace = nsData.namespace;
if (namespace === 'rows') return;
for (var key in nsData.data) {
var t = nsData.data[key];
var fullKey = _this3.tagging.fullKey({
namespace: namespace,
key: key
});
var name = _this3.tagging.removePara(t.name);
var ehTag = {
ns: _this3.tagging.ns(namespace),
key: key,
name: name,
cn: _this3.tagging.removeImagesAndEmoji(name),
introSearch: ''
};
if (t.intro) {
ehTag.intro = t.intro;
ehTag.introSearch += '\0' + _this3.tagging.removeHtmlTags(t.intro).toLowerCase();
}
if (t.links) {
ehTag.links = t.links;
ehTag.introSearch += '\0' + _this3.tagging.removeHtmlTags(t.links).toLowerCase();
}
map[fullKey] = ehTag;
}
});
this.tagMap.next({
map: map,
sha: sha
});
// 后台继续处理,直接返回
this.storage.set('databaseInfo', {
sha: sha,
check: check,
version: DATA_STRUCTURE_VERSION
})["catch"](this.logger.error);
this.storage.set('database', map)["catch"](this.logger.error);
timer.end();
}
}]);
}();
TagDatabase = __decorate([Service(), __metadata("design:paramtypes", [Storage, Logger, messaging_Messaging, Tagging])], TagDatabase);
;// ./src/plugin/image-context-menu.ts
var ImageContextMenu = /*#__PURE__*/function () {
function ImageContextMenu() {
_classCallCheck(this, ImageContextMenu);
this.documentUrlPatterns = ["*://".concat(EX, "/*"), "*://".concat(EXU, "/*"), "*://".concat(EH, "/*"), "*://*.".concat(EX, "/*"), "*://*.".concat(EXU, "/*"), "*://*.".concat(EH, "/*")];
this.title = "\u663E\u793A\u6240\u6709\u5305\u542B\u6B64\u56FE\u50CF\u7684\u56FE\u5E93";
this.targetUrlPatterns = ["*://".concat(EX, "/t/*.jpg"), "*://".concat(EXU, "/t/*.jpg"), "*://s.".concat(EX, "/t/*.jpg"), "*://s.".concat(EXU, "/t/*.jpg"), "*://".concat(EHGT, "/*.jpg"), "*://ul.".concat(EHGT, "/*.jpg"), "*://*.".concat(HATH, ":*/h/*"), "*://*.".concat(HATH, "/h/*")];
this.contexts = ['image', 'link'];
this.onclick = function (info) {
var _context;
if (!info.url) return;
var url = new (url_default())(info.url);
var match = /[a-f0-9]{40}/i.exec(url.pathname);
if (!match) return;
var base = "https://".concat(EX);
if (isEhGt(url.hostname)) base = "https://".concat(EH);else if (isUnion(url.hostname)) base = "http://".concat(EXU);
openInTab(concat_default()(_context = "".concat(base, "/?f_shash=")).call(_context, match[0]));
};
this.init();
}
return _createClass(ImageContextMenu, [{
key: "init",
value: function init() {
createMenu(this);
}
}]);
}();
ImageContextMenu = __decorate([Service(), __metadata("design:paramtypes", [])], ImageContextMenu);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/number/parse-float.js
var parse_float = __webpack_require__(92013);
var parse_float_default = /*#__PURE__*/__webpack_require__.n(parse_float);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/number/is-nan.js
var is_nan = __webpack_require__(89121);
var is_nan_default = /*#__PURE__*/__webpack_require__.n(is_nan);
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/object/freeze.js
var freeze = __webpack_require__(33416);
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js-pure@3.39.0/node_modules/core-js-pure/full/object/define-properties.js
var object_define_properties = __webpack_require__(12188);
;// ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/helpers/esm/taggedTemplateLiteral.js
function _taggedTemplateLiteral(e, t) {
return t || (t = instance_slice(e).call(e, 0)), freeze(object_define_properties(e, {
raw: {
value: freeze(t)
}
}));
}
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/some.js
var some = __webpack_require__(44691);
var some_default = /*#__PURE__*/__webpack_require__.n(some);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/parse-int.js
var parse_int = __webpack_require__(36228);
var parse_int_default = /*#__PURE__*/__webpack_require__.n(parse_int);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/reflect/set.js
var reflect_set = __webpack_require__(20321);
var reflect_set_default = /*#__PURE__*/__webpack_require__.n(reflect_set);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/symbol/for.js
var symbol_for = __webpack_require__(85523);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js
var weak_map = __webpack_require__(92196);
// EXTERNAL MODULE: ./node_modules/.pnpm/@babel+runtime-corejs3@7.26.0/node_modules/@babel/runtime-corejs3/core-js-stable/instance/fill.js
var fill = __webpack_require__(31142);
;// ./node_modules/.pnpm/lit-html@3.2.1/node_modules/lit-html/lit-html.js
var lit_html_context, _context2, _context3, _t$litHtmlVersions;
function lit_html_callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, lit_html_isNativeReflectConstruct() ? construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
function lit_html_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(construct(Boolean, [], function () {})); } catch (t) {} return (lit_html_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
function lit_html_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof symbol && get_iterator_method(r) || r["@@iterator"]; if (!t) { if (is_array(r) || (t = lit_html_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n2 = 0, F = function F() {}; return { s: F, n: function n() { return _n2 >= r.length ? { done: !0 } : { done: !1, value: r[_n2++] }; }, e: function e(r) { throw r; }, 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 o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
function lit_html_unsupportedIterableToArray(r, a) { if (r) { var _context7; if ("string" == typeof r) return lit_html_arrayLikeToArray(r, a); var t = slice(_context7 = {}.toString.call(r)).call(_context7, 8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? lit_html_arrayLikeToArray(r, a) : void 0; } }
function lit_html_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
var t = global_this,
i = t.trustedTypes,
s = i ? i.createPolicy("lit-html", {
createHTML: function createHTML(t) {
return t;
}
}) : void 0,
e = "$lit$",
h = "lit$".concat(slice(lit_html_context = Math.random().toFixed(9)).call(lit_html_context, 2), "$"),
o = "?" + h,
n = "<".concat(o, ">"),
r = document,
l = function l() {
return r.createComment("");
},
c = function c(t) {
return null === t || "object" != _typeof(t) && "function" != typeof t;
},
a = is_array,
u = function u(t) {
return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : get_iterator_method(t));
},
d = "[ \t\n\f\r]",
f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
v = /-->/g,
_ = />/g,
m = RegExp(concat(_context2 = concat(_context3 = ">|".concat(d, "(?:([^\\s\"'>=/]+)(")).call(_context3, d, "*=")).call(_context2, d, "*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"), "g"),
p = /'/g,
g = /"/g,
$ = /^(?:script|style|textarea|title)$/i,
y = function y(t) {
return function (i) {
for (var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
s[_key - 1] = arguments[_key];
}
return {
_$litType$: t,
strings: i,
values: s
};
};
},
x = y(1),
b = y(2),
w = y(3),
T = symbol_for("lit-noChange"),
E = symbol_for("lit-nothing"),
A = new weak_map(),
C = r.createTreeWalker(r, 129);
function P(t, i) {
if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
return void 0 !== s ? s.createHTML(i) : i;
}
var V = function V(t, i) {
var s = t.length - 1,
o = [];
var r,
l = 2 === i ? "<svg>" : 3 === i ? "<math>" : "",
c = f;
for (var _i = 0; _i < s; _i++) {
var _context4;
var _s = t[_i];
var _a = void 0,
_u = void 0,
_d = -1,
_y = 0;
for (; _y < _s.length && (c.lastIndex = _y, _u = c.exec(_s), null !== _u);) {
var _r;
_y = c.lastIndex, c === f ? "!--" === _u[1] ? c = v : void 0 !== _u[1] ? c = _ : void 0 !== _u[2] ? ($.test(_u[2]) && (r = RegExp("</" + _u[2], "g")), c = m) : void 0 !== _u[3] && (c = m) : c === m ? ">" === _u[0] ? (c = (_r = r) !== null && _r !== void 0 ? _r : f, _d = -1) : void 0 === _u[1] ? _d = -2 : (_d = c.lastIndex - _u[2].length, _a = _u[1], c = void 0 === _u[3] ? m : '"' === _u[3] ? g : p) : c === g || c === p ? c = m : c === v || c === _ ? c = f : (c = m, r = void 0);
}
var _x = c === m && starts_with(_context4 = t[_i + 1]).call(_context4, "/>") ? " " : "";
l += c === f ? _s + n : _d >= 0 ? (o.push(_a), slice(_s).call(_s, 0, _d) + e + slice(_s).call(_s, _d) + h + _x) : _s + h + (-2 === _d ? _i : _x);
}
return [P(t, l + (t[s] || "<?>") + (2 === i ? "</svg>" : 3 === i ? "</math>" : "")), o];
};
var N = /*#__PURE__*/function () {
function N(_ref, n) {
var t = _ref.strings,
s = _ref._$litType$;
_classCallCheck(this, N);
var r;
this.parts = [];
var c = 0,
a = 0;
var u = t.length - 1,
d = this.parts,
_V = V(t, s),
_V2 = slicedToArray_slicedToArray(_V, 2),
f = _V2[0],
v = _V2[1];
if (this.el = N.createElement(f, n), C.currentNode = this.el.content, 2 === s || 3 === s) {
var _t = this.el.content.firstChild;
_t.replaceWith.apply(_t, _toConsumableArray(_t.childNodes));
}
for (; null !== (r = C.nextNode()) && d.length < u;) {
if (1 === r.nodeType) {
if (r.hasAttributes()) {
var _iterator = lit_html_createForOfIteratorHelper(r.getAttributeNames()),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var _t2 = _step.value;
if (ends_with(_t2).call(_t2, e)) {
var _i2 = v[a++],
_s2 = r.getAttribute(_t2).split(h),
_e = /([.?@])?(.*)/.exec(_i2);
d.push({
type: 1,
index: c,
name: _e[2],
strings: _s2,
ctor: "." === _e[1] ? H : "?" === _e[1] ? I : "@" === _e[1] ? L : k
}), r.removeAttribute(_t2);
} else starts_with(_t2).call(_t2, h) && (d.push({
type: 6,
index: c
}), r.removeAttribute(_t2));
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
}
if ($.test(r.tagName)) {
var _t3 = r.textContent.split(h),
_s3 = _t3.length - 1;
if (_s3 > 0) {
r.textContent = i ? i.emptyScript : "";
for (var _i3 = 0; _i3 < _s3; _i3++) r.append(_t3[_i3], l()), C.nextNode(), d.push({
type: 2,
index: ++c
});
r.append(_t3[_s3], l());
}
}
} else if (8 === r.nodeType) if (r.data === o) d.push({
type: 2,
index: c
});else {
var _t4 = -1;
for (; -1 !== (_t4 = index_of(_context5 = r.data).call(_context5, h, _t4 + 1));) {
var _context5;
d.push({
type: 7,
index: c
}), _t4 += h.length - 1;
}
}
c++;
}
}
return _createClass(N, null, [{
key: "createElement",
value: function createElement(t, i) {
var s = r.createElement("template");
return s.innerHTML = t, s;
}
}]);
}();
function S(t, i) {
var _s$_$Co, _h, _h2, _h2$_$AO, _s$_$Co2;
var s = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : t;
var e = arguments.length > 3 ? arguments[3] : undefined;
if (i === T) return i;
var h = void 0 !== e ? (_s$_$Co = s._$Co) === null || _s$_$Co === void 0 ? void 0 : _s$_$Co[e] : s._$Cl;
var o = c(i) ? void 0 : i._$litDirective$;
return ((_h = h) === null || _h === void 0 ? void 0 : _h.constructor) !== o && ((_h2 = h) !== null && _h2 !== void 0 && (_h2$_$AO = _h2._$AO) !== null && _h2$_$AO !== void 0 && _h2$_$AO.call(_h2, !1), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? ((_s$_$Co2 = s._$Co) !== null && _s$_$Co2 !== void 0 ? _s$_$Co2 : s._$Co = [])[e] = h : s._$Cl = h), void 0 !== h && (i = S(t, h._$AS(t, instance_values(i)), h, e)), i;
}
var M = /*#__PURE__*/function () {
function M(t, i) {
_classCallCheck(this, M);
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
}
return _createClass(M, [{
key: "parentNode",
get: function get() {
return this._$AM.parentNode;
}
}, {
key: "_$AU",
get: function get() {
return this._$AM._$AU;
}
}, {
key: "u",
value: function u(t) {
var _t$creationScope;
var _this$_$AD = this._$AD,
i = _this$_$AD.el.content,
s = _this$_$AD.parts,
e = ((_t$creationScope = t === null || t === void 0 ? void 0 : t.creationScope) !== null && _t$creationScope !== void 0 ? _t$creationScope : r).importNode(i, !0);
C.currentNode = e;
var h = C.nextNode(),
o = 0,
n = 0,
l = s[0];
for (; void 0 !== l;) {
var _l;
if (o === l.index) {
var _i4 = void 0;
2 === l.type ? _i4 = new R(h, h.nextSibling, this, t) : 1 === l.type ? _i4 = new l.ctor(h, l.name, l.strings, this, t) : 6 === l.type && (_i4 = new z(h, this, t)), this._$AV.push(_i4), l = s[++n];
}
o !== ((_l = l) === null || _l === void 0 ? void 0 : _l.index) && (h = C.nextNode(), o++);
}
return C.currentNode = r, e;
}
}, {
key: "p",
value: function p(t) {
var i = 0;
var _iterator2 = lit_html_createForOfIteratorHelper(this._$AV),
_step2;
try {
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
var _s4 = _step2.value;
void 0 !== _s4 && (void 0 !== _s4.strings ? (_s4._$AI(t, _s4, i), i += _s4.strings.length - 2) : _s4._$AI(t[i])), i++;
}
} catch (err) {
_iterator2.e(err);
} finally {
_iterator2.f();
}
}
}]);
}();
var R = /*#__PURE__*/function () {
function R(t, i, s, e) {
var _e$isConnected;
_classCallCheck(this, R);
this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = (_e$isConnected = e === null || e === void 0 ? void 0 : e.isConnected) !== null && _e$isConnected !== void 0 ? _e$isConnected : !0;
}
return _createClass(R, [{
key: "_$AU",
get: function get() {
var _this$_$AM$_$AU, _this$_$AM;
return (_this$_$AM$_$AU = (_this$_$AM = this._$AM) === null || _this$_$AM === void 0 ? void 0 : _this$_$AM._$AU) !== null && _this$_$AM$_$AU !== void 0 ? _this$_$AM$_$AU : this._$Cv;
}
}, {
key: "parentNode",
get: function get() {
var _t5;
var t = this._$AA.parentNode;
var i = this._$AM;
return void 0 !== i && 11 === ((_t5 = t) === null || _t5 === void 0 ? void 0 : _t5.nodeType) && (t = i.parentNode), t;
}
}, {
key: "startNode",
get: function get() {
return this._$AA;
}
}, {
key: "endNode",
get: function get() {
return this._$AB;
}
}, {
key: "_$AI",
value: function _$AI(t) {
var i = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this;
t = S(this, t, i), c(t) ? t === E || null == t || "" === t ? (this._$AH !== E && this._$AR(), this._$AH = E) : t !== this._$AH && t !== T && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : u(t) ? this.k(t) : this._(t);
}
}, {
key: "O",
value: function O(t) {
return this._$AA.parentNode.insertBefore(t, this._$AB);
}
}, {
key: "T",
value: function T(t) {
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
}
}, {
key: "_",
value: function _(t) {
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r.createTextNode(t)), this._$AH = t;
}
}, {
key: "$",
value: function $(t) {
var _this$_$AH;
var i = instance_values(t),
s = t._$litType$,
e = "number" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = N.createElement(P(s.h, s.h[0]), this.options)), s);
if (((_this$_$AH = this._$AH) === null || _this$_$AH === void 0 ? void 0 : _this$_$AH._$AD) === e) this._$AH.p(i);else {
var _t6 = new M(e, this),
_s5 = _t6.u(this.options);
_t6.p(i), this.T(_s5), this._$AH = _t6;
}
}
}, {
key: "_$AC",
value: function _$AC(t) {
var i = A.get(t.strings);
return void 0 === i && A.set(t.strings, i = new N(t)), i;
}
}, {
key: "k",
value: function k(t) {
a(this._$AH) || (this._$AH = [], this._$AR());
var i = this._$AH;
var s,
e = 0;
var _iterator3 = lit_html_createForOfIteratorHelper(t),
_step3;
try {
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
var _h3 = _step3.value;
e === i.length ? i.push(s = new R(this.O(l()), this.O(l()), this, this.options)) : s = i[e], s._$AI(_h3), e++;
}
} catch (err) {
_iterator3.e(err);
} finally {
_iterator3.f();
}
e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
}
}, {
key: "_$AR",
value: function _$AR() {
var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this._$AA.nextSibling;
var i = arguments.length > 1 ? arguments[1] : undefined;
for ((_this$_$AP = this._$AP) === null || _this$_$AP === void 0 ? void 0 : _this$_$AP.call(this, !1, !0, i); t && t !== this._$AB;) {
var _this$_$AP;
var _i5 = t.nextSibling;
t.remove(), t = _i5;
}
}
}, {
key: "setConnected",
value: function setConnected(t) {
var _this$_$AP2;
void 0 === this._$AM && (this._$Cv = t, (_this$_$AP2 = this._$AP) === null || _this$_$AP2 === void 0 ? void 0 : _this$_$AP2.call(this, t));
}
}]);
}();
var k = /*#__PURE__*/function () {
function k(t, i, s, e, h) {
var _context6;
_classCallCheck(this, k);
this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = fill(_context6 = Array(s.length - 1)).call(_context6, new String()), this.strings = s) : this._$AH = E;
}
return _createClass(k, [{
key: "tagName",
get: function get() {
return this.element.tagName;
}
}, {
key: "_$AU",
get: function get() {
return this._$AM._$AU;
}
}, {
key: "_$AI",
value: function _$AI(t) {
var i = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this;
var s = arguments.length > 2 ? arguments[2] : undefined;
var e = arguments.length > 3 ? arguments[3] : undefined;
var h = this.strings;
var o = !1;
if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);else {
var _e2 = t;
var _n, _r2;
for (t = h[0], _n = 0; _n < h.length - 1; _n++) {
var _r3;
_r2 = S(this, _e2[s + _n], i, _n), _r2 === T && (_r2 = this._$AH[_n]), o || (o = !c(_r2) || _r2 !== this._$AH[_n]), _r2 === E ? t = E : t !== E && (t += ((_r3 = _r2) !== null && _r3 !== void 0 ? _r3 : "") + h[_n + 1]), this._$AH[_n] = _r2;
}
}
o && !e && this.j(t);
}
}, {
key: "j",
value: function j(t) {
t === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t !== null && t !== void 0 ? t : "");
}
}]);
}();
var H = /*#__PURE__*/function (_k) {
function H() {
var _this;
_classCallCheck(this, H);
_this = lit_html_callSuper(this, H, arguments), _this.type = 3;
return _this;
}
_inherits(H, _k);
return _createClass(H, [{
key: "j",
value: function j(t) {
this.element[this.name] = t === E ? void 0 : t;
}
}]);
}(k);
var I = /*#__PURE__*/function (_k2) {
function I() {
var _this2;
_classCallCheck(this, I);
_this2 = lit_html_callSuper(this, I, arguments), _this2.type = 4;
return _this2;
}
_inherits(I, _k2);
return _createClass(I, [{
key: "j",
value: function j(t) {
this.element.toggleAttribute(this.name, !!t && t !== E);
}
}]);
}(k);
var L = /*#__PURE__*/function (_k3) {
function L(t, i, s, e, h) {
var _this3;
_classCallCheck(this, L);
_this3 = lit_html_callSuper(this, L, [t, i, s, e, h]), _this3.type = 5;
return _this3;
}
_inherits(L, _k3);
return _createClass(L, [{
key: "_$AI",
value: function _$AI(t) {
var _S;
var i = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this;
if ((t = (_S = S(this, t, i, 0)) !== null && _S !== void 0 ? _S : E) === T) return;
var s = this._$AH,
e = t === E && s !== E || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive,
h = t !== E && (s === E || e);
e && this.element.removeEventListener(this.name, this, s), h && this.element.addEventListener(this.name, this, t), this._$AH = t;
}
}, {
key: "handleEvent",
value: function handleEvent(t) {
var _this$options$host, _this$options;
"function" == typeof this._$AH ? this._$AH.call((_this$options$host = (_this$options = this.options) === null || _this$options === void 0 ? void 0 : _this$options.host) !== null && _this$options$host !== void 0 ? _this$options$host : this.element, t) : this._$AH.handleEvent(t);
}
}]);
}(k);
var z = /*#__PURE__*/function () {
function z(t, i, s) {
_classCallCheck(this, z);
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
}
return _createClass(z, [{
key: "_$AU",
get: function get() {
return this._$AM._$AU;
}
}, {
key: "_$AI",
value: function _$AI(t) {
S(this, t);
}
}]);
}();
var Z = {
M: e,
P: h,
A: o,
C: 1,
L: V,
R: M,
D: u,
V: S,
I: R,
H: k,
N: I,
U: L,
B: H,
F: z
},
j = t.litHtmlPolyfillSupport;
j !== null && j !== void 0 && j(N, R), ((_t$litHtmlVersions = t.litHtmlVersions) !== null && _t$litHtmlVersions !== void 0 ? _t$litHtmlVersions : t.litHtmlVersions = []).push("3.2.1");
var B = function B(t, i, s) {
var _s$renderBefore;
var e = (_s$renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s$renderBefore !== void 0 ? _s$renderBefore : i;
var h = e._$litPart$;
if (void 0 === h) {
var _s$renderBefore2;
var _t7 = (_s$renderBefore2 = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s$renderBefore2 !== void 0 ? _s$renderBefore2 : null;
e._$litPart$ = h = new R(i.insertBefore(l(), _t7), _t7, void 0, s !== null && s !== void 0 ? s : {});
}
return h._$AI(t), h;
};
// EXTERNAL MODULE: ./node_modules/.pnpm/css-loader@7.1.2_webpack@5.96.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.6.3_webpack@5.96.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/.pnpm/less-loader@12.2.0_less@4.2.0_webpack@5.96.1/node_modules/less-loader/dist/cjs.js!./src/plugin/popup/index.less
var popup = __webpack_require__(94203);
;// ./src/plugin/popup/index.less
var popup_options = {};
popup_options.styleTagTransform = (styleTagTransform_default());
popup_options.setAttributes = (setAttributesWithoutAttributes_default());
popup_options.insert = insertBySelector_default().bind(null, ":root");
popup_options.domAPI = (styleDomAPI_default());
popup_options.insertStyleElement = (insertStyleElement_default());
var popup_update = injectStylesIntoStyleTag_default()(popup/* default */.A, popup_options);
/* harmony default export */ var plugin_popup = (popup/* default */.A && popup/* default */.A.locals ? popup/* default */.A.locals : undefined);
;// ./src/plugin/popup/index.ts
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
function popup_ownKeys(e, r) { var t = object_keys_default()(e); if ((get_own_property_symbols_default())) { var o = get_own_property_symbols_default()(e); r && (o = filter_default()(o).call(o, function (r) { return get_own_property_descriptor_default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function popup_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context10, _context11; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? for_each_default()(_context10 = popup_ownKeys(Object(t), !0)).call(_context10, function (r) { _defineProperty(e, r, t[r]); }) : (get_own_property_descriptors_default()) ? define_properties_default()(e, get_own_property_descriptors_default()(t)) : for_each_default()(_context11 = popup_ownKeys(Object(t))).call(_context11, function (r) { define_property_default()(e, r, get_own_property_descriptor_default()(t, r)); }); } return e; }
var Popup = /*#__PURE__*/function () {
function Popup(logger, messaging, storage, time) {
var _this = this;
_classCallCheck(this, Popup);
this.logger = logger;
this.messaging = messaging;
this.storage = storage;
this.time = time;
this.defaults = function () {
return {
sha: '',
info: '',
updateTime: '',
updateTimeFull: '',
newSha: '',
versionInfo: '',
updateAvailable: false,
updateButtonDisabled: false,
showSettingPanel: false,
progress: 0,
animationState: 0,
configValue: popup_objectSpread({}, _this.configOriginal)
};
};
this.testAnimationIndex = 0;
this.testAnimationList = [[1, 0], [1, 10], [1, 30], [1, 80], [1, 100], [2, 100], [2, 5], [1, 5], [0, 0]];
this.openLink = function (ev) {
if (ev.target instanceof HTMLAnchorElement) {
var href = ev.target.href;
if (href && !starts_with_default()(href).call(href, document.location.origin + document.location.pathname)) {
ev.preventDefault();
openInTab(href);
_this.provider.close();
}
}
};
this.downloadStatus = /*#__PURE__*/function () {
var _ref = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee(data) {
return regenerator_default().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_this.state.updateButtonDisabled = data.run;
_this.state.animationState = data.run ? 1 : 0;
_this.state.info = data.info;
_this.state.progress = data.progress || 0;
if (!data.complete) {
_context.next = 18;
break;
}
_context.next = 7;
return sleep(1000);
case 7:
_this.state.progress = 100;
_this.state.animationState = 2;
_this.state.updateButtonDisabled = false;
_context.next = 12;
return _this.checkVersion();
case 12:
_context.next = 14;
return sleep(500);
case 14:
_this.state.progress = 5;
_context.next = 17;
return sleep(500);
case 17:
_this.state.animationState = 1;
case 18:
case "end":
return _context.stop();
}
}, _callee);
}));
return function (_x) {
return _ref.apply(this, arguments);
};
}();
}
return _createClass(Popup, [{
key: "loadConfig",
value: function () {
var _loadConfig = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee2() {
return regenerator_default().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.t0 = popup_objectSpread;
_context2.t1 = popup_objectSpread({}, this.storage.defaults.config);
_context2.next = 4;
return this.storage.get('config');
case 4:
_context2.t2 = _context2.sent;
this.configOriginal = (0, _context2.t0)(_context2.t1, _context2.t2);
this.state.configValue = popup_objectSpread({}, this.configOriginal);
case 7:
case "end":
return _context2.stop();
}
}, _callee2, this);
}));
function loadConfig() {
return _loadConfig.apply(this, arguments);
}
return loadConfig;
}()
}, {
key: "testAnimation",
value: function testAnimation() {
var a = this.testAnimationList[this.testAnimationIndex];
this.testAnimationIndex++;
if (!this.testAnimationList[this.testAnimationIndex]) {
this.testAnimationIndex = 0;
}
this.state.animationState = a[0];
this.state.progress = a[1];
}
}, {
key: "checkVersion",
value: function () {
var _checkVersion = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee3() {
var _yield$this$storage$g;
var currentSha, updateTime, data, hasNewData, _context3, message;
return regenerator_default().wrap(function _callee3$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
this.state.versionInfo = '检查中...';
_context4.next = 3;
return this.messaging.emit('get-tag-sha', undefined);
case 3:
currentSha = _context4.sent;
_context4.next = 6;
return this.storage.get('databaseInfo');
case 6:
_context4.t1 = _yield$this$storage$g = _context4.sent;
_context4.t0 = _context4.t1 === null;
if (_context4.t0) {
_context4.next = 10;
break;
}
_context4.t0 = _yield$this$storage$g === void 0;
case 10:
if (!_context4.t0) {
_context4.next = 14;
break;
}
_context4.t2 = void 0;
_context4.next = 15;
break;
case 14:
_context4.t2 = _yield$this$storage$g.check;
case 15:
updateTime = _context4.t2;
this.state.sha = currentSha ? slice_default()(currentSha).call(currentSha, 0, 7) : 'N/A';
this.state.updateTime = updateTime ? this.time.diff(updateTime) : 'N/A';
this.state.updateTimeFull = updateTime ? new Date(updateTime).toLocaleString() : 'N/A';
_context4.prev = 19;
_context4.next = 22;
return this.messaging.emit('check-database', {
force: true
});
case 22:
data = _context4.sent;
this.logger.log('Release Data', data);
hasNewData = this.state.updateAvailable = data.sha !== currentSha;
if (hasNewData) {
this.state.newSha = slice_default()(_context3 = data.sha).call(_context3, 0, 7);
this.state.versionInfo = "\u6709\u66F4\u65B0\uFF01";
} else {
this.state.versionInfo = '已是最新版本';
}
_context4.next = 33;
break;
case 28:
_context4.prev = 28;
_context4.t3 = _context4["catch"](19);
this.logger.error('获取失败', _context4.t3);
message = (_context4.t3 instanceof Error ? _context4.t3.message : '未知错误') || '未知错误';
this.state.versionInfo = "\u83B7\u53D6\u5931\u8D25\uFF1A".concat(message);
case 33:
case "end":
return _context4.stop();
}
}, _callee3, this, [[19, 28]]);
}));
function checkVersion() {
return _checkVersion.apply(this, arguments);
}
return checkVersion;
}()
}, {
key: "updateButtonClick",
value: function () {
var _updateButtonClick = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee4() {
return regenerator_default().wrap(function _callee4$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
this.state.updateButtonDisabled = true;
_context5.next = 3;
return this.messaging.emit('update-database', {
force: true,
recheck: false
});
case 3:
case "end":
return _context5.stop();
}
}, _callee4, this);
}));
function updateButtonClick() {
return _updateButtonClick.apply(this, arguments);
}
return updateButtonClick;
}()
}, {
key: "logoTemplate",
value: function logoTemplate() {
var progress = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
var PushRodStyle = "transform: translate(".concat(progress / 400 * 70, "px, 0)");
var EnemaStyle = "transform: scaleX(".concat(progress / 100, ")");
return b(_templateObject || (_templateObject = _taggedTemplateLiteral(["<svg width=\"160\" height=\"160\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\">\n <defs>\n <clipPath id=\"clip\">\n <rect width=\"200\" height=\"200\" />\n </clipPath>\n </defs>\n <g id=\"Syringe\" clip-path=\"url(#clip)\">\n <g id=\"PushRod\" style=\"", "\">\n <g transform=\"translate(-39 -312)\">\n <g transform=\"translate(131 403)\" fill-bg stroke-accent stroke-width=\"6\">\n <rect width=\"78\" height=\"18\" rx=\"6\" stroke=\"none\" />\n <rect x=\"3\" y=\"3\" width=\"72\" height=\"12\" rx=\"3\" fill=\"none\" />\n </g>\n <g transform=\"translate(203 391)\" fill-bg stroke-accent stroke-width=\"6\">\n <rect width=\"18\" height=\"43\" rx=\"9\" stroke=\"none\" />\n <rect x=\"3\" y=\"3\" width=\"12\" height=\"37\" rx=\"6\" fill=\"none\" />\n </g>\n </g>\n </g>\n <g transform=\"translate(56 85)\" fill-bg stroke-accent stroke-width=\"6\">\n <rect width=\"83\" height=\"30\" rx=\"6\" stroke=\"none\" />\n <rect x=\"3\" y=\"3\" width=\"77\" height=\"24\" rx=\"3\" fill=\"none\" />\n </g>\n <g id=\"Enema\" style=\"", "\">\n <rect width=\"70\" height=\"27\" transform=\"translate(61 86)\" fill-sa />\n </g>\n <path\n id=\"Enema2\"\n d=\"M27.426,86.36s5.65.007,13.6.006S57.64,83.357,57.64,83.357L38.015,102.982,24.409,89.377l3.015-3.015Z\"\n transform=\"translate(107.906 10.036) rotate(45)\"\n fill-sa\n />\n <g transform=\"translate(-39 -312)\">\n <g transform=\"translate(95 397)\" fill=\"none\" stroke-accent stroke-width=\"6\">\n <rect width=\"83\" height=\"30\" rx=\"6\" stroke=\"none\" />\n <rect x=\"3\" y=\"3\" width=\"77\" height=\"24\" rx=\"3\" fill=\"none\" />\n </g>\n <g transform=\"translate(82 403)\" fill-sa stroke-accent stroke-width=\"6\">\n <rect width=\"19\" height=\"18\" rx=\"6\" stroke=\"none\" />\n <rect x=\"3\" y=\"3\" width=\"13\" height=\"12\" rx=\"3\" fill=\"none\" />\n </g>\n <rect width=\"29\" height=\"6\" rx=\"3\" transform=\"translate(58 409)\" fill-accent />\n <g transform=\"translate(172 381)\" fill-bg stroke-accent stroke-width=\"6\">\n <rect width=\"18\" height=\"62\" rx=\"9\" stroke=\"none\" />\n <rect x=\"3\" y=\"3\" width=\"12\" height=\"56\" rx=\"6\" fill=\"none\" />\n </g>\n <g transform=\"translate(119 398)\" fill-bg stroke-accent stroke-width=\"3\">\n <rect width=\"4\" height=\"11\" rx=\"2\" stroke=\"none\" />\n <rect x=\"1.5\" y=\"1.5\" width=\"1\" height=\"8\" rx=\"0.5\" fill=\"none\" />\n </g>\n <g transform=\"translate(131 398)\" fill-bg stroke-accent stroke-width=\"3\">\n <rect width=\"4\" height=\"11\" rx=\"2\" stroke=\"none\" />\n <rect x=\"1.5\" y=\"1.5\" width=\"1\" height=\"8\" rx=\"0.5\" fill=\"none\" />\n </g>\n <g transform=\"translate(144 398)\" fill-bg stroke-accent stroke-width=\"3\">\n <rect width=\"4\" height=\"11\" rx=\"2\" stroke=\"none\" />\n <rect x=\"1.5\" y=\"1.5\" width=\"1\" height=\"8\" rx=\"0.5\" fill=\"none\" />\n </g>\n <g transform=\"translate(156 398)\" fill-bg stroke-accent stroke-width=\"3\">\n <rect width=\"4\" height=\"11\" rx=\"2\" stroke=\"none\" />\n <rect x=\"1.5\" y=\"1.5\" width=\"1\" height=\"8\" rx=\"0.5\" fill=\"none\" />\n </g>\n </g>\n </g>\n </svg>"])), PushRodStyle, EnemaStyle);
}
}, {
key: "changeConfigValue",
value: function changeConfigValue(key, value) {
this.state.configValue = popup_objectSpread(popup_objectSpread({}, this.state.configValue), {}, _defineProperty({}, key, value));
}
}, {
key: "changeConfigUnsaved",
value: function changeConfigUnsaved() {
var _context6,
_this2 = this;
if (!this.configOriginal) return false;
var keys = concat_default()(_context6 = []).call(_context6, _toConsumableArray(object_keys_default()(this.configOriginal)), _toConsumableArray(object_keys_default()(this.state.configValue)));
return some_default()(keys).call(keys, function (key) {
return _this2.configOriginal[key] !== _this2.state.configValue[key];
});
}
}, {
key: "saveConfig",
value: function () {
var _saveConfig = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee5() {
return regenerator_default().wrap(function _callee5$(_context7) {
while (1) switch (_context7.prev = _context7.next) {
case 0:
_context7.next = 2;
return this.storage.set('config', this.state.configValue);
case 2:
_context7.next = 4;
return this.loadConfig();
case 4:
_context7.next = 6;
return sleep(200);
case 6:
this.provider.close();
case 7:
case "end":
return _context7.stop();
}
}, _callee5, this);
}));
function saveConfig() {
return _saveConfig.apply(this, arguments);
}
return saveConfig;
}()
}, {
key: "settingPanelTemplate",
value: function settingPanelTemplate() {
var _this3 = this;
var state = this.state;
var checkboxList = [{
key: 'translateUi',
name: '翻译界面'
}, {
key: 'translateTag',
name: '翻译标签'
}, {
key: 'translateTimestamp',
name: '翻译时间戳'
}, {
key: 'showIntroduce',
name: '标签介绍'
}, {
key: 'showIcon',
name: '显示标签图标'
}, {
key: 'tagTip',
name: '搜索提示'
}, {
key: 'autoUpdate',
name: '自动更新'
}];
return x(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n <div id=\"ehs-setting-panel\" class=\"ehs-panel ", "\">\n <div class=\"header\">\n <div>\u8BBE\u7F6E</div>\n <div class=\"cushion\"></div>\n <div>\n <a\n href=\"#\"\n @click=\"", "\"\n >\u2715</a\n >\n </div>\n </div>\n <form id=\"settingForm\" class=\"content\">\n ", "\n <div class=\"image-level\">\n <p class=\"range-title\">\n \u4ECB\u7ECD\u56FE\u7247:\n <span\n >", "</span\n >\n </p>\n <div class=\"range-box\">\n <input\n type=\"range\"\n min=\"0\"\n max=\"300\"\n @change=", "\n .value=\"", "\"\n />\n </div>\n <div class=\"range-label\" @click=\"", "\">\n <a href=\"#\" @click=\"", "\"\n >\u7981\u7528</a\n >\n <a href=\"#\" @click=\"", "\"\n >\u975EH</a\n >\n <a href=\"#\" @click=\"", "\"\n >R18</a\n >\n <a href=\"#\" @click=\"", "\"\n >R18G</a\n >\n </div>\n </div>\n </form>\n <button\n @click=\"", "\"\n class=\"action ", "\"\n >\n \u4FDD\u5B58\n </button>\n </div>\n "])), state.showSettingPanel ? 'ehs-show' : '', function (ev) {
state.showSettingPanel = false;
ev.preventDefault();
}, map_default()(checkboxList).call(checkboxList, function (item) {
return x(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n <div class=\"checkbox-item\">\n <label>\n <input\n type=\"checkbox\"\n @change=", "\n ?checked=\"", "\"\n />\n ", "\n <svg\n class=\"", "\"\n viewBox=\"0 0 100 100\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M 10 10 L 90 90\"></path>\n <path d=\"M 90 10 L 10 90\"></path>\n </svg>\n </label>\n </div>\n "])), function (e) {
return _this3.changeConfigValue(item.key, e.target.checked);
}, _this3.state.configValue[item.key], item.name, _this3.state.configValue[item.key] ? 'checked' : '');
}), ['隐藏全部', '隐藏色情图片', '隐藏引起不适的图片', '全部显示'][state.configValue.introduceImageLevel], function (e) {
var value = Math.round(parse_int_default()(e.target.value, 10) / 100);
_this3.changeConfigValue('introduceImageLevel', value + 1);
_this3.changeConfigValue('introduceImageLevel', value);
}, String(state.configValue.introduceImageLevel * 100), function (ev) {
return ev.preventDefault();
}, function () {
return _this3.changeConfigValue('introduceImageLevel', ImageLevel.hide);
}, function () {
return _this3.changeConfigValue('introduceImageLevel', ImageLevel.nonH);
}, function () {
return _this3.changeConfigValue('introduceImageLevel', ImageLevel.r18);
}, function () {
return _this3.changeConfigValue('introduceImageLevel', ImageLevel.r18g);
}, /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee6() {
return regenerator_default().wrap(function _callee6$(_context8) {
while (1) switch (_context8.prev = _context8.next) {
case 0:
_context8.next = 2;
return _this3.saveConfig();
case 2:
case "end":
return _context8.stop();
}
}, _callee6);
})), this.changeConfigUnsaved() ? 'primary' : '');
}
}, {
key: "mainPanelTemplate",
value: function mainPanelTemplate() {
var _this4 = this;
var state = this.state;
return x(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["<div id=\"ehs-main-panel\" class=\"ehs-panel ", "\">\n <div class=\"header\">\n <div>\n <a href=\"", "\" class=\"monospace minor\">v", "</a>\n </div>\n <div class=\"cushion\"></div>\n <div>\n <a\n id=\"settingSwitch\"\n href=\"#\"\n @click=\"", "\"\n >\u8BBE\u7F6E</a\n >\n </div>\n </div>\n <div class=\"content\">\n <div class=\"logo-box\" style=\"height: 205px;\">\n <div\n class=\"logo ", "\"\n @click=\"", "\"\n >\n ", "\n </div>\n <div id=\"info\">", "</div>\n </div>\n <table>\n <tr>\n <th>TAG\u7248\u672C\uFF1A</th>\n <td>\n <a href=\"https://github.com/EhTagTranslation/Database/tree/", "\" class=\"monospace\"\n >", "</a\n >\n </td>\n </tr>\n <tr>\n <th>\u4E0A\u6B21\u66F4\u65B0\uFF1A</th>\n <td>\n <span>", "</span>\n </td>\n </tr>\n <tr>\n <th>\u66F4\u65B0\u68C0\u67E5\uFF1A</th>\n <td>\n <span class=\"", "\">\n ", "\n <a\n class=\"monospace ", "\"\n href=\"https://github.com/EhTagTranslation/Database/tree/", "\"\n >\n ", "\n </a>\n </span>\n </td>\n </tr>\n </table>\n </div>\n <button\n @click=\"", "\"\n ?disabled=", "\n class=\"action ", "\"\n id=\"updateButton\"\n >\n \u66F4\u65B0\n </button>\n </div>"])), state.showSettingPanel ? 'ehs-hide' : '', packageJson.homepage, packageJson.version, function (ev) {
state.showSettingPanel = true;
ev.preventDefault();
}, ['', 'prominent', 'prominent injection'][state.animationState] || '', function () {
_this4.testAnimation();
}, this.logoTemplate(state.progress), state.info, state.sha, state.sha || ' --- ', state.updateTime || ' --- ', state.updateAvailable ? 'hasNew' : '', state.versionInfo, state.updateAvailable ? '' : 'hidden', state.newSha, state.newSha || '', function () {
return _this4.updateButtonClick();
}, state.updateButtonDisabled, state.updateAvailable ? 'primary' : '');
}
}, {
key: "template",
value: function template() {
var state = this.state;
return x(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral([" <div id=\"eh-syringe-popup-root\">\n ", " ", "\n </div>"])), this.mainPanelTemplate(), state.configValue ? this.settingPanelTemplate() : E);
}
}, {
key: "mount",
value: function mount(el, provider) {
var _this5 = this;
if (this.el != null) throw new Error('Injected twice');
this.el = el;
this.provider = provider;
this.resetState();
this.updateView();
provider.onopen(function () {
return _this5.onopen()["catch"](_this5.logger.error);
});
provider.onclose(function () {
return _this5.onclose();
});
}
}, {
key: "resetState",
value: function resetState() {
var _this6 = this;
this.state = new Proxy(this.defaults(), {
set: function set(target, key, value, receiver) {
var r = reflect_set_default()(target, key, value, receiver);
_this6.updateView();
return r;
}
});
}
}, {
key: "onopen",
value: function () {
var _onopen = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee7() {
return regenerator_default().wrap(function _callee7$(_context9) {
while (1) switch (_context9.prev = _context9.next) {
case 0:
this.resetState();
_context9.next = 3;
return this.loadConfig();
case 3:
this.updateView();
_context9.next = 6;
return sleep(0);
case 6:
_context9.next = 8;
return this.checkVersion();
case 8:
if (!this.downloadStatusSub) {
this.downloadStatusSub = this.messaging.on('updating-database', this.downloadStatus);
}
this.el.addEventListener('click', this.openLink);
case 10:
case "end":
return _context9.stop();
}
}, _callee7, this);
}));
function onopen() {
return _onopen.apply(this, arguments);
}
return onopen;
}()
}, {
key: "onclose",
value: function onclose() {
if (this.downloadStatusSub) {
this.messaging.off(this.downloadStatusSub);
this.downloadStatusSub = undefined;
}
this.el.removeEventListener('click', this.openLink);
this.state.showSettingPanel = false;
}
}, {
key: "updateView",
value: function updateView() {
B(this.template(), this.el);
}
}]);
}();
Popup = __decorate([Service(), __metadata("design:paramtypes", [Logger, messaging_Messaging, Storage, DateTime])], Popup);
// EXTERNAL MODULE: ./node_modules/.pnpm/css-loader@7.1.2_webpack@5.96.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.6.3_webpack@5.96.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/.pnpm/less-loader@12.2.0_less@4.2.0_webpack@5.96.1/node_modules/less-loader/dist/cjs.js!./src/user-script/popup-host.less
var popup_host = __webpack_require__(11459);
;// ./src/user-script/popup-host.less
var popup_host_options = {};
popup_host_options.styleTagTransform = (styleTagTransform_default());
popup_host_options.setAttributes = (setAttributesWithoutAttributes_default());
popup_host_options.insert = insertBySelector_default().bind(null, ":root");
popup_host_options.domAPI = (styleDomAPI_default());
popup_host_options.insertStyleElement = (insertStyleElement_default());
var popup_host_update = injectStylesIntoStyleTag_default()(popup_host/* default */.A, popup_host_options);
/* harmony default export */ var user_script_popup_host = (popup_host/* default */.A && popup_host/* default */.A.locals ? popup_host/* default */.A.locals : undefined);
;// ./src/user-script/popup-host.ts
function getNumber(key, defaultValue) {
var value = localStorage.getItem(key);
if (!value) return defaultValue;
var parsed = parse_float_default()(value);
if (is_nan_default()(parsed)) return defaultValue;
return parsed;
}
function clamp(value, min, max) {
if (value < min) value = min;else if (value > max) value = max;
return value;
}
var clampX = function clampX(value) {
return clamp(value, 4, document.documentElement.clientWidth - 44);
};
var clampY = function clampY(value) {
return clamp(value, 4, document.documentElement.clientHeight - 44);
};
function dragButton(el, click) {
var initX = clampX(getNumber("eh-popup-button-x", 0.02) * document.documentElement.clientWidth);
var initY = clampY(getNumber("eh-popup-button-y", 0.02) * document.documentElement.clientHeight);
// set the element's init position:
el.style.bottom = "".concat(initY, "px");
el.style.right = "".concat(initX, "px");
var mouseX = 0,
mouseY = 0,
startX = 0,
startY = 0;
el.addEventListener('pointerdown', dragMouseDown, {
passive: false
});
el.addEventListener('click', elementClick, {
passive: false
});
var moved = false;
function dragMouseDown(e) {
e.preventDefault();
// get the mouse cursor position at startup:
startX = mouseX = e.clientX;
startY = mouseY = e.clientY;
moved = false;
document.addEventListener('pointerup', closeDragElement, {
passive: false
});
document.addEventListener('pointermove', elementDrag, {
passive: false
});
}
function elementDrag(e) {
e.preventDefault();
var currentX = parse_float_default()(el.style.right);
var currentY = parse_float_default()(el.style.bottom);
// calculate the new cursor position:
var diffX = mouseX - e.clientX;
var diffY = mouseY - e.clientY;
mouseX = e.clientX;
mouseY = e.clientY;
var nextX = clampX(currentX + diffX);
var nextY = clampY(currentY + diffY);
// set the element's new position:
el.style.right = "".concat(nextX, "px");
el.style.bottom = "".concat(nextY, "px");
if (Math.abs(mouseX - startX) + Math.abs(mouseY - startY) > 10) {
moved = true;
}
}
function closeDragElement(e) {
e.preventDefault();
// stop moving when mouse button is released:
document.removeEventListener('pointerup', closeDragElement);
document.removeEventListener('pointermove', elementDrag);
var finalX = clampX(parse_float_default()(el.style.right));
var finalY = clampY(parse_float_default()(el.style.bottom));
el.style.right = "".concat(finalX, "px");
el.style.bottom = "".concat(finalY, "px");
localStorage.setItem("eh-popup-button-x", String(finalX / document.documentElement.clientWidth));
localStorage.setItem("eh-popup-button-y", String(finalY / document.documentElement.clientHeight));
}
function elementClick(e) {
if (moved) {
moved = false;
return;
}
click(e);
}
}
function shouldShowPopup() {
if (isHathNetwork(location.hostname)) return false;
if (/^\/mpv\//i.test(location.pathname) || location.pathname === '/archiver.php' || location.pathname === '/gallerytorrents.php' || location.pathname === '/gallerypopups.php') return false;
return true;
}
function createPopup() {
if (!shouldShowPopup()) {
return;
}
var button = document.body.appendChild(document.createElement('div'));
button.id = 'eh-syringe-popup-button';
button.title = packageJson.displayName;
var badge = button.appendChild(document.createElement('div'));
badge.id = 'eh-syringe-popup-badge';
setBadge({
text: ''
});
var popupBack = document.body.appendChild(document.createElement('div'));
popupBack.id = 'eh-syringe-popup-back';
popupBack.lang = 'cmn-Hans';
var popup = popupBack.appendChild(document.createElement('div'));
popup.id = 'eh-syringe-popup';
var closeListeners = [];
var openListeners = [];
popupBack.classList.add('close');
popupBack.ontransitionend = function (ev) {
if (ev.target !== popupBack) return;
if (popupBack.classList.contains('opening')) {
popupBack.classList.remove('opening', 'close');
popupBack.classList.add('open');
}
if (popupBack.classList.contains('closing')) {
popupBack.classList.remove('closing', 'open');
popupBack.classList.add('close');
for_each_default()(closeListeners).call(closeListeners, function (l) {
return l();
});
}
};
var open = function open() {
for_each_default()(openListeners).call(openListeners, function (l) {
return l();
});
popupBack.classList.add('opening');
};
var close = function close() {
popupBack.classList.add('closing');
};
services_Container.get(Popup).mount(popup, {
close: close,
onopen: function onopen(listener) {
openListeners.push(listener);
},
onclose: function onclose(listener) {
closeListeners.push(listener);
}
});
popupBack.addEventListener('click', function (ev) {
if (ev.target === popupBack && popupBack.classList.contains('open')) close();
});
dragButton(button, function () {
if (popupBack.classList.contains('close')) open();
});
}
;// ./src/user-script/index.ts
function main() {
services_Container.get(DatabaseUpdater);
services_Container.get(TagDatabase);
services_Container.get(Syringe);
function start() {
services_Container.get(TagContextMenu);
services_Container.get(ImageContextMenu);
services_Container.get(Suggest);
services_Container.get(AutoUpdate);
services_Container.get(TagTip);
services_Container.get(Introduce);
createPopup();
}
ready(start);
}
// 为轻型用户脚本实现添加简单过滤
var LOADED_KEY = "EhTagTranslation:EhSyringeLoaded";
if (!(LOADED_KEY in window)) {
define_property_default()(window, LOADED_KEY, {
value: true
});
if (isValidHost(location.hostname)) {
main();
}
}
}();
/******/ })()
;
//# sourceMappingURL=ehsyringe.user.js.map